diff --git a/assets/index.5bb7755e.js b/assets/index.5bb7755e.js deleted file mode 100644 index 85df05f..0000000 --- a/assets/index.5bb7755e.js +++ /dev/null @@ -1,1019 +0,0 @@ -var iW=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var rPe=iW((uPe,o2)=>{function lW(e,t){for(var r=0;rn[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerpolicy&&(i.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?i.credentials="include":a.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(a){if(a.ep)return;a.ep=!0;const i=r(a);fetch(a.href,i)}})();var Ka=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Db(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function LN(e){var t=e.default;if(typeof t=="function"){var r=function(){return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var Ke={exports:{}},kr={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Ih=Symbol.for("react.element"),oW=Symbol.for("react.portal"),uW=Symbol.for("react.fragment"),mW=Symbol.for("react.strict_mode"),cW=Symbol.for("react.profiler"),fW=Symbol.for("react.provider"),pW=Symbol.for("react.context"),dW=Symbol.for("react.forward_ref"),hW=Symbol.for("react.suspense"),_W=Symbol.for("react.memo"),gW=Symbol.for("react.lazy"),sA=Symbol.iterator;function SW(e){return e===null||typeof e!="object"?null:(e=sA&&e[sA]||e["@@iterator"],typeof e=="function"?e:null)}var bN={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},CN=Object.assign,EN={};function up(e,t,r){this.props=e,this.context=t,this.refs=EN,this.updater=r||bN}up.prototype.isReactComponent={};up.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};up.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function TN(){}TN.prototype=up.prototype;function Ib(e,t,r){this.props=e,this.context=t,this.refs=EN,this.updater=r||bN}var Ob=Ib.prototype=new TN;Ob.constructor=Ib;CN(Ob,up.prototype);Ob.isPureReactComponent=!0;var nA=Array.isArray,AN=Object.prototype.hasOwnProperty,Lb={current:null},kN={key:!0,ref:!0,__self:!0,__source:!0};function PN(e,t,r){var n,a={},i=null,s=null;if(t!=null)for(n in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)AN.call(t,n)&&!kN.hasOwnProperty(n)&&(a[n]=t[n]);var l=arguments.length-2;if(l===1)a.children=r;else if(1>>1,R=pe[J];if(0>>1;Ja(Z,ce))Rea(Je,Z)?(pe[J]=Je,pe[Re]=ce,J=Re):(pe[J]=Z,pe[Y]=ce,J=Y);else if(Rea(Je,ce))pe[J]=Je,pe[Re]=ce,J=Re;else break e}}return W}function a(pe,W){var ce=pe.sortIndex-W.sortIndex;return ce!==0?ce:pe.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var o=[],u=[],m=1,c=null,f=3,p=!1,h=!1,d=!1,_=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(pe){for(var W=r(u);W!==null;){if(W.callback===null)n(u);else if(W.startTime<=pe)n(u),W.sortIndex=W.expirationTime,t(o,W);else break;W=r(u)}}function v(pe){if(d=!1,S(pe),!h)if(r(o)!==null)h=!0,ie(M);else{var W=r(u);W!==null&&G(v,W.startTime-pe)}}function M(pe,W){h=!1,d&&(d=!1,y(k),k=-1),p=!0;var ce=f;try{for(S(W),c=r(o);c!==null&&(!(c.expirationTime>W)||pe&&!B());){var J=c.callback;if(typeof J=="function"){c.callback=null,f=c.priorityLevel;var R=J(c.expirationTime<=W);W=e.unstable_now(),typeof R=="function"?c.callback=R:c===r(o)&&n(o),S(W)}else n(o);c=r(o)}if(c!==null)var V=!0;else{var Y=r(u);Y!==null&&G(v,Y.startTime-W),V=!1}return V}finally{c=null,f=ce,p=!1}}var I=!1,D=null,k=-1,E=5,z=-1;function B(){return!(e.unstable_now()-zpe||125J?(pe.sortIndex=ce,t(u,pe),r(o)===null&&pe===r(u)&&(d?(y(k),k=-1):d=!0,G(v,ce-J))):(pe.sortIndex=R,t(o,pe),h||p||(h=!0,ie(M))),pe},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(pe){var W=f;return function(){var ce=f;f=W;try{return pe.apply(this,arguments)}finally{f=ce}}}})(NN);(function(e){e.exports=NN})(UN);/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var wN=Ke.exports,Ii=UN.exports;function At(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),JI=Object.prototype.hasOwnProperty,IW=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,iA={},lA={};function OW(e){return JI.call(lA,e)?!0:JI.call(iA,e)?!1:IW.test(e)?lA[e]=!0:(iA[e]=!0,!1)}function LW(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function bW(e,t,r,n){if(t===null||typeof t>"u"||LW(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function wa(e,t,r,n,a,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var ia={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ia[e]=new wa(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ia[t]=new wa(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ia[e]=new wa(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ia[e]=new wa(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ia[e]=new wa(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ia[e]=new wa(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ia[e]=new wa(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ia[e]=new wa(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ia[e]=new wa(e,5,!1,e.toLowerCase(),null,!1,!1)});var Cb=/[\-:]([a-z])/g;function Eb(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Cb,Eb);ia[t]=new wa(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Cb,Eb);ia[t]=new wa(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Cb,Eb);ia[t]=new wa(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ia[e]=new wa(e,1,!1,e.toLowerCase(),null,!1,!1)});ia.xlinkHref=new wa("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ia[e]=new wa(e,1,!1,e.toLowerCase(),null,!0,!0)});function Tb(e,t,r,n){var a=ia.hasOwnProperty(t)?ia[t]:null;(a!==null?a.type!==0:n||!(2l||a[s]!==i[l]){var o=` -`+a[s].replace(" at new "," at ");return e.displayName&&o.includes("")&&(o=o.replace("",e.displayName)),o}while(1<=s&&0<=l);break}}}finally{eD=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?hd(e):""}function CW(e){switch(e.tag){case 5:return hd(e.type);case 16:return hd("Lazy");case 13:return hd("Suspense");case 19:return hd("SuspenseList");case 0:case 2:case 15:return e=tD(e.type,!1),e;case 11:return e=tD(e.type.render,!1),e;case 1:return e=tD(e.type,!0),e;default:return""}}function rO(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case qc:return"Fragment";case Kc:return"Portal";case QI:return"Profiler";case Ab:return"StrictMode";case eO:return"Suspense";case tO:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case RN:return(e.displayName||"Context")+".Consumer";case VN:return(e._context.displayName||"Context")+".Provider";case kb:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Pb:return t=e.displayName||null,t!==null?t:rO(e.type)||"Memo";case Uu:t=e._payload,e=e._init;try{return rO(e(t))}catch{}}return null}function EW(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return rO(t);case 8:return t===Ab?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function _m(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function BN(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function TW(e){var t=BN(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(s){n=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(s){n=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function E_(e){e._valueTracker||(e._valueTracker=TW(e))}function HN(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=BN(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function u2(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function sO(e,t){var r=t.checked;return Qs({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function uA(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=_m(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function $N(e,t){t=t.checked,t!=null&&Tb(e,"checked",t,!1)}function nO(e,t){$N(e,t);var r=_m(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?aO(e,t.type,r):t.hasOwnProperty("defaultValue")&&aO(e,t.type,_m(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function mA(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function aO(e,t,r){(t!=="number"||u2(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var _d=Array.isArray;function ff(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=T_.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function S1(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Td={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},AW=["Webkit","ms","Moz","O"];Object.keys(Td).forEach(function(e){AW.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Td[t]=Td[e]})});function zN(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Td.hasOwnProperty(e)&&Td[e]?(""+t).trim():t+"px"}function KN(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,a=zN(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}var kW=Qs({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function oO(e,t){if(t){if(kW[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(At(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(At(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(At(61))}if(t.style!=null&&typeof t.style!="object")throw Error(At(62))}}function uO(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var mO=null;function Ub(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var cO=null,pf=null,df=null;function pA(e){if(e=bh(e)){if(typeof cO!="function")throw Error(At(280));var t=e.stateNode;t&&(t=iv(t),cO(e.stateNode,e.type,t))}}function qN(e){pf?df?df.push(e):df=[e]:pf=e}function ZN(){if(pf){var e=pf,t=df;if(df=pf=null,pA(e),t)for(e=0;e>>=0,e===0?32:31-($W(e)/jW|0)|0}var A_=64,k_=4194304;function gd(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function p2(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,i=e.pingedLanes,s=r&268435455;if(s!==0){var l=s&~a;l!==0?n=gd(l):(i&=s,i!==0&&(n=gd(i)))}else s=r&~a,s!==0?n=gd(s):i!==0&&(n=gd(i));if(n===0)return 0;if(t!==0&&t!==n&&(t&a)===0&&(a=n&-n,i=t&-t,a>=i||a===16&&(i&4194240)!==0))return t;if((n&4)!==0&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function Oh(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-bl(t),e[t]=r}function KW(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=kd),DA=String.fromCharCode(32),IA=!1;function hw(e,t){switch(e){case"keyup":return Mz.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _w(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zc=!1;function Iz(e,t){switch(e){case"compositionend":return _w(t);case"keypress":return t.which!==32?null:(IA=!0,DA);case"textInput":return e=t.data,e===DA&&IA?null:e;default:return null}}function Oz(e,t){if(Zc)return e==="compositionend"||!Hb&&hw(e,t)?(e=pw(),bg=Rb=qu=null,Zc=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=CA(r)}}function yw(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Mw(){for(var e=window,t=u2();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=u2(e.document)}return t}function $b(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Uz(e){var t=Mw(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&yw(r.ownerDocument.documentElement,r)){if(n!==null&&$b(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=r.textContent.length,i=Math.min(n.start,a);n=n.end===void 0?i:Math.min(n.end,a),!e.extend&&i>n&&(a=n,n=i,i=a),a=EA(r,i);var s=EA(r,n);a&&s&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Yc=null,gO=null,Ud=null,SO=!1;function TA(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;SO||Yc==null||Yc!==u2(n)||(n=Yc,"selectionStart"in n&&$b(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Ud&&O1(Ud,n)||(Ud=n,n=_2(gO,"onSelect"),0Qc||(e.current=OO[Qc],OO[Qc]=null,Qc--)}function bs(e,t){Qc++,OO[Qc]=e.current,e.current=t}var gm={},va=Tm(gm),Xa=Tm(!1),V0=gm;function wf(e,t){var r=e.type.contextTypes;if(!r)return gm;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},i;for(i in r)a[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ja(e){return e=e.childContextTypes,e!=null}function S2(){Fs(Xa),Fs(va)}function xA(e,t,r){if(va.current!==gm)throw Error(At(168));bs(va,t),bs(Xa,r)}function Aw(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in t))throw Error(At(108,EW(e)||"Unknown",a));return Qs({},r,n)}function v2(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gm,V0=va.current,bs(va,e),bs(Xa,Xa.current),!0}function VA(e,t,r){var n=e.stateNode;if(!n)throw Error(At(169));r?(e=Aw(e,t,V0),n.__reactInternalMemoizedMergedChildContext=e,Fs(Xa),Fs(va),bs(va,e)):Fs(Xa),bs(Xa,r)}var Bo=null,lv=!1,hD=!1;function kw(e){Bo===null?Bo=[e]:Bo.push(e)}function Wz(e){lv=!0,kw(e)}function Am(){if(!hD&&Bo!==null){hD=!0;var e=0,t=ps;try{var r=Bo;for(ps=1;e>=s,a-=s,Go=1<<32-bl(t)+a|r<k?(E=D,D=null):E=D.sibling;var z=f(y,D,S[k],v);if(z===null){D===null&&(D=E);break}e&&D&&z.alternate===null&&t(y,D),g=i(z,g,k),I===null?M=z:I.sibling=z,I=z,D=E}if(k===S.length)return r(y,D),Ks&&Jm(y,k),M;if(D===null){for(;kk?(E=D,D=null):E=D.sibling;var B=f(y,D,z.value,v);if(B===null){D===null&&(D=E);break}e&&D&&B.alternate===null&&t(y,D),g=i(B,g,k),I===null?M=B:I.sibling=B,I=B,D=E}if(z.done)return r(y,D),Ks&&Jm(y,k),M;if(D===null){for(;!z.done;k++,z=S.next())z=c(y,z.value,v),z!==null&&(g=i(z,g,k),I===null?M=z:I.sibling=z,I=z);return Ks&&Jm(y,k),M}for(D=n(y,D);!z.done;k++,z=S.next())z=p(D,y,k,z.value,v),z!==null&&(e&&z.alternate!==null&&D.delete(z.key===null?k:z.key),g=i(z,g,k),I===null?M=z:I.sibling=z,I=z);return e&&D.forEach(function(P){return t(y,P)}),Ks&&Jm(y,k),M}function _(y,g,S,v){if(typeof S=="object"&&S!==null&&S.type===qc&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case C_:e:{for(var M=S.key,I=g;I!==null;){if(I.key===M){if(M=S.type,M===qc){if(I.tag===7){r(y,I.sibling),g=a(I,S.props.children),g.return=y,y=g;break e}}else if(I.elementType===M||typeof M=="object"&&M!==null&&M.$$typeof===Uu&&GA(M)===I.type){r(y,I.sibling),g=a(I,S.props),g.ref=jp(y,I,S),g.return=y,y=g;break e}r(y,I);break}else t(y,I);I=I.sibling}S.type===qc?(g=b0(S.props.children,y.mode,v,S.key),g.return=y,y=g):(v=Ng(S.type,S.key,S.props,null,y.mode,v),v.ref=jp(y,g,S),v.return=y,y=v)}return s(y);case Kc:e:{for(I=S.key;g!==null;){if(g.key===I)if(g.tag===4&&g.stateNode.containerInfo===S.containerInfo&&g.stateNode.implementation===S.implementation){r(y,g.sibling),g=a(g,S.children||[]),g.return=y,y=g;break e}else{r(y,g);break}else t(y,g);g=g.sibling}g=ID(S,y.mode,v),g.return=y,y=g}return s(y);case Uu:return I=S._init,_(y,g,I(S._payload),v)}if(_d(S))return h(y,g,S,v);if(Rp(S))return d(y,g,S,v);R_(y,S)}return typeof S=="string"&&S!==""||typeof S=="number"?(S=""+S,g!==null&&g.tag===6?(r(y,g.sibling),g=a(g,S),g.return=y,y=g):(r(y,g),g=DD(S,y.mode,v),g.return=y,y=g),s(y)):r(y,g)}return _}var Vf=Fw(!0),Bw=Fw(!1),Ch={},uo=Tm(Ch),E1=Tm(Ch),T1=Tm(Ch);function g0(e){if(e===Ch)throw Error(At(174));return e}function Xb(e,t){switch(bs(T1,t),bs(E1,e),bs(uo,Ch),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:lO(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=lO(t,e)}Fs(uo),bs(uo,t)}function Rf(){Fs(uo),Fs(E1),Fs(T1)}function Hw(e){g0(T1.current);var t=g0(uo.current),r=lO(t,e.type);t!==r&&(bs(E1,e),bs(uo,r))}function Jb(e){E1.current===e&&(Fs(uo),Fs(E1))}var Zs=Tm(0);function L2(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var _D=[];function Qb(){for(var e=0;e<_D.length;e++)_D[e]._workInProgressVersionPrimary=null;_D.length=0}var Tg=pu.ReactCurrentDispatcher,gD=pu.ReactCurrentBatchConfig,F0=0,Js=null,Tn=null,Fn=null,b2=!1,Nd=!1,A1=0,Kz=0;function la(){throw Error(At(321))}function eC(e,t){if(t===null)return!1;for(var r=0;rr?r:4,e(!0);var n=gD.transition;gD.transition={};try{e(!1),t()}finally{ps=r,gD.transition=n}}function sx(){return nl().memoizedState}function Zz(e,t,r){var n=cm(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},nx(e))ax(t,r);else if(r=ww(e,t,r,n),r!==null){var a=Pa();Cl(r,e,n,a),ix(r,t,n)}}function Yz(e,t,r){var n=cm(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(nx(e))ax(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,r);if(a.hasEagerState=!0,a.eagerState=l,Pl(l,s)){var o=t.interleaved;o===null?(a.next=a,Zb(t)):(a.next=o.next,o.next=a),t.interleaved=a;return}}catch{}finally{}r=ww(e,t,a,n),r!==null&&(a=Pa(),Cl(r,e,n,a),ix(r,t,n))}}function nx(e){var t=e.alternate;return e===Js||t!==null&&t===Js}function ax(e,t){Nd=b2=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function ix(e,t,r){if((r&4194240)!==0){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,wb(e,r)}}var C2={readContext:sl,useCallback:la,useContext:la,useEffect:la,useImperativeHandle:la,useInsertionEffect:la,useLayoutEffect:la,useMemo:la,useReducer:la,useRef:la,useState:la,useDebugValue:la,useDeferredValue:la,useTransition:la,useMutableSource:la,useSyncExternalStore:la,useId:la,unstable_isNewReconciler:!1},Xz={readContext:sl,useCallback:function(e,t){return Gl().memoizedState=[e,t===void 0?null:t],e},useContext:sl,useEffect:zA,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Ag(4194308,4,Jw.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Ag(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ag(4,2,e,t)},useMemo:function(e,t){var r=Gl();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Gl();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=Zz.bind(null,Js,e),[n.memoizedState,e]},useRef:function(e){var t=Gl();return e={current:e},t.memoizedState=e},useState:WA,useDebugValue:nC,useDeferredValue:function(e){return Gl().memoizedState=e},useTransition:function(){var e=WA(!1),t=e[0];return e=qz.bind(null,e[1]),Gl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Js,a=Gl();if(Ks){if(r===void 0)throw Error(At(407));r=r()}else{if(r=t(),jn===null)throw Error(At(349));(F0&30)!==0||Gw(n,t,r)}a.memoizedState=r;var i={value:r,getSnapshot:t};return a.queue=i,zA(zw.bind(null,n,i,e),[e]),n.flags|=2048,P1(9,Ww.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=Gl(),t=jn.identifierPrefix;if(Ks){var r=Wo,n=Go;r=(n&~(1<<32-bl(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=A1++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=s.createElement(r,{is:n.is}):(e=s.createElement(r),r==="select"&&(s=e,n.multiple?s.multiple=!0:n.size&&(s.size=n.size))):e=s.createElementNS(e,r),e[Jl]=t,e[C1]=n,hx(e,t,!1,!1),t.stateNode=e;e:{switch(s=uO(r,n),r){case"dialog":Ts("cancel",e),Ts("close",e),a=n;break;case"iframe":case"object":case"embed":Ts("load",e),a=n;break;case"video":case"audio":for(a=0;aBf&&(t.flags|=128,n=!0,Gp(i,!1),t.lanes=4194304)}else{if(!n)if(e=L2(s),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Gp(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Ks)return oa(t),null}else 2*pn()-i.renderingStartTime>Bf&&r!==1073741824&&(t.flags|=128,n=!0,Gp(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(r=i.last,r!==null?r.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=pn(),t.sibling=null,r=Zs.current,bs(Zs,n?r&1|2:r&1),t):(oa(t),null);case 22:case 23:return mC(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&(t.mode&1)!==0?(li&1073741824)!==0&&(oa(t),t.subtreeFlags&6&&(t.flags|=8192)):oa(t),null;case 24:return null;case 25:return null}throw Error(At(156,t.tag))}function aK(e,t){switch(Gb(t),t.tag){case 1:return Ja(t.type)&&S2(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Rf(),Fs(Xa),Fs(va),Qb(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Jb(t),null;case 13:if(Fs(Zs),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(At(340));xf()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Fs(Zs),null;case 4:return Rf(),null;case 10:return qb(t.type._context),null;case 22:case 23:return mC(),null;case 24:return null;default:return null}}var B_=!1,pa=!1,iK=typeof WeakSet=="function"?WeakSet:Set,Wt=null;function sf(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){nn(e,t,n)}else r.current=null}function xO(e,t,r){try{r()}catch(n){nn(e,t,n)}}var t5=!1;function lK(e,t){if(vO=d2,e=Mw(),$b(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var a=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var s=0,l=-1,o=-1,u=0,m=0,c=e,f=null;t:for(;;){for(var p;c!==r||a!==0&&c.nodeType!==3||(l=s+a),c!==i||n!==0&&c.nodeType!==3||(o=s+n),c.nodeType===3&&(s+=c.nodeValue.length),(p=c.firstChild)!==null;)f=c,c=p;for(;;){if(c===e)break t;if(f===r&&++u===a&&(l=s),f===i&&++m===n&&(o=s),(p=c.nextSibling)!==null)break;c=f,f=c.parentNode}c=p}r=l===-1||o===-1?null:{start:l,end:o}}else r=null}r=r||{start:0,end:0}}else r=null;for(yO={focusedElem:e,selectionRange:r},d2=!1,Wt=t;Wt!==null;)if(t=Wt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Wt=e;else for(;Wt!==null;){t=Wt;try{var h=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var d=h.memoizedProps,_=h.memoizedState,y=t.stateNode,g=y.getSnapshotBeforeUpdate(t.elementType===t.type?d:gl(t.type,d),_);y.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var S=t.stateNode.containerInfo;S.nodeType===1?S.textContent="":S.nodeType===9&&S.documentElement&&S.removeChild(S.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(At(163))}}catch(v){nn(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,Wt=e;break}Wt=t.return}return h=t5,t5=!1,h}function wd(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var a=n=n.next;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,i!==void 0&&xO(t,r,i)}a=a.next}while(a!==n)}}function mv(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function VO(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function Sx(e){var t=e.alternate;t!==null&&(e.alternate=null,Sx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Jl],delete t[C1],delete t[IO],delete t[jz],delete t[Gz])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function vx(e){return e.tag===5||e.tag===3||e.tag===4}function r5(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vx(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function RO(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=g2));else if(n!==4&&(e=e.child,e!==null))for(RO(e,t,r),e=e.sibling;e!==null;)RO(e,t,r),e=e.sibling}function FO(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(FO(e,t,r),e=e.sibling;e!==null;)FO(e,t,r),e=e.sibling}var ta=null,Sl=!1;function Tu(e,t,r){for(r=r.child;r!==null;)yx(e,t,r),r=r.sibling}function yx(e,t,r){if(oo&&typeof oo.onCommitFiberUnmount=="function")try{oo.onCommitFiberUnmount(rv,r)}catch{}switch(r.tag){case 5:pa||sf(r,t);case 6:var n=ta,a=Sl;ta=null,Tu(e,t,r),ta=n,Sl=a,ta!==null&&(Sl?(e=ta,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):ta.removeChild(r.stateNode));break;case 18:ta!==null&&(Sl?(e=ta,r=r.stateNode,e.nodeType===8?dD(e.parentNode,r):e.nodeType===1&&dD(e,r),D1(e)):dD(ta,r.stateNode));break;case 4:n=ta,a=Sl,ta=r.stateNode.containerInfo,Sl=!0,Tu(e,t,r),ta=n,Sl=a;break;case 0:case 11:case 14:case 15:if(!pa&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){a=n=n.next;do{var i=a,s=i.destroy;i=i.tag,s!==void 0&&((i&2)!==0||(i&4)!==0)&&xO(r,t,s),a=a.next}while(a!==n)}Tu(e,t,r);break;case 1:if(!pa&&(sf(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(l){nn(r,t,l)}Tu(e,t,r);break;case 21:Tu(e,t,r);break;case 22:r.mode&1?(pa=(n=pa)||r.memoizedState!==null,Tu(e,t,r),pa=n):Tu(e,t,r);break;default:Tu(e,t,r)}}function s5(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new iK),t.forEach(function(n){var a=_K.bind(null,e,n);r.has(n)||(r.add(n),n.then(a,a))})}}function dl(e,t){var r=t.deletions;if(r!==null)for(var n=0;na&&(a=s),n&=~i}if(n=a,n=pn()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*uK(n/1960))-n,10e?16:e,Zu===null)var n=!1;else{if(e=Zu,Zu=null,A2=0,(Br&6)!==0)throw Error(At(331));var a=Br;for(Br|=4,Wt=e.current;Wt!==null;){var i=Wt,s=i.child;if((Wt.flags&16)!==0){var l=i.deletions;if(l!==null){for(var o=0;opn()-oC?L0(e,0):lC|=r),Qa(e,t)}function Ex(e,t){t===0&&((e.mode&1)===0?t=1:(t=k_,k_<<=1,(k_&130023424)===0&&(k_=4194304)));var r=Pa();e=lu(e,t),e!==null&&(Oh(e,t,r),Qa(e,r))}function hK(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Ex(e,r)}function _K(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(r=a.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(At(314))}n!==null&&n.delete(t),Ex(e,r)}var Tx;Tx=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Xa.current)Ya=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return Ya=!1,sK(e,t,r);Ya=(e.flags&131072)!==0}else Ya=!1,Ks&&(t.flags&1048576)!==0&&Pw(t,M2,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;kg(e,t),e=t.pendingProps;var a=wf(t,va.current);_f(t,r),a=tC(null,t,n,e,a,r);var i=rC();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ja(n)?(i=!0,v2(t)):i=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,Yb(t),a.updater=ov,t.stateNode=a,a._reactInternals=t,TO(t,n,e,r),t=PO(null,t,n,!0,i,r)):(t.tag=0,Ks&&i&&jb(t),Ta(null,t,a,r),t=t.child),t;case 16:n=t.elementType;e:{switch(kg(e,t),e=t.pendingProps,a=n._init,n=a(n._payload),t.type=n,a=t.tag=SK(n),e=gl(n,e),a){case 0:t=kO(null,t,n,e,r);break e;case 1:t=JA(null,t,n,e,r);break e;case 11:t=YA(null,t,n,e,r);break e;case 14:t=XA(null,t,n,gl(n.type,e),r);break e}throw Error(At(306,n,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:gl(n,a),kO(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:gl(n,a),JA(e,t,n,a,r);case 3:e:{if(fx(t),e===null)throw Error(At(387));n=t.pendingProps,i=t.memoizedState,a=i.element,xw(e,t),O2(t,n,null,r);var s=t.memoizedState;if(n=s.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){a=Ff(Error(At(423)),t),t=QA(e,t,n,r,a);break e}else if(n!==a){a=Ff(Error(At(424)),t),t=QA(e,t,n,r,a);break e}else for(gi=om(t.stateNode.containerInfo.firstChild),yi=t,Ks=!0,yl=null,r=Bw(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(xf(),n===a){t=ou(e,t,r);break e}Ta(e,t,n,r)}t=t.child}return t;case 5:return Hw(t),e===null&&bO(t),n=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,s=a.children,MO(n,a)?s=null:i!==null&&MO(n,i)&&(t.flags|=32),cx(e,t),Ta(e,t,s,r),t.child;case 6:return e===null&&bO(t),null;case 13:return px(e,t,r);case 4:return Xb(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Vf(t,null,n,r):Ta(e,t,n,r),t.child;case 11:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:gl(n,a),YA(e,t,n,a,r);case 7:return Ta(e,t,t.pendingProps,r),t.child;case 8:return Ta(e,t,t.pendingProps.children,r),t.child;case 12:return Ta(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,a=t.pendingProps,i=t.memoizedProps,s=a.value,bs(D2,n._currentValue),n._currentValue=s,i!==null)if(Pl(i.value,s)){if(i.children===a.children&&!Xa.current){t=ou(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var o=l.firstContext;o!==null;){if(o.context===n){if(i.tag===1){o=Xo(-1,r&-r),o.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var m=u.pending;m===null?o.next=o:(o.next=m.next,m.next=o),u.pending=o}}i.lanes|=r,o=i.alternate,o!==null&&(o.lanes|=r),CO(i.return,r,t),l.lanes|=r;break}o=o.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(At(341));s.lanes|=r,l=s.alternate,l!==null&&(l.lanes|=r),CO(s,r,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ta(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,n=t.pendingProps.children,_f(t,r),a=sl(a),n=n(a),t.flags|=1,Ta(e,t,n,r),t.child;case 14:return n=t.type,a=gl(n,t.pendingProps),a=gl(n.type,a),XA(e,t,n,a,r);case 15:return ux(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:gl(n,a),kg(e,t),t.tag=1,Ja(n)?(e=!0,v2(t)):e=!1,_f(t,r),Rw(t,n,a),TO(t,n,a,r),PO(null,t,n,!0,e,r);case 19:return dx(e,t,r);case 22:return mx(e,t,r)}throw Error(At(156,t.tag))};function Ax(e,t){return rw(e,t)}function gK(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xi(e,t,r,n){return new gK(e,t,r,n)}function fC(e){return e=e.prototype,!(!e||!e.isReactComponent)}function SK(e){if(typeof e=="function")return fC(e)?1:0;if(e!=null){if(e=e.$$typeof,e===kb)return 11;if(e===Pb)return 14}return 2}function fm(e,t){var r=e.alternate;return r===null?(r=Xi(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Ng(e,t,r,n,a,i){var s=2;if(n=e,typeof e=="function")fC(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case qc:return b0(r.children,a,i,t);case Ab:s=8,a|=8;break;case QI:return e=Xi(12,r,t,a|2),e.elementType=QI,e.lanes=i,e;case eO:return e=Xi(13,r,t,a),e.elementType=eO,e.lanes=i,e;case tO:return e=Xi(19,r,t,a),e.elementType=tO,e.lanes=i,e;case FN:return fv(r,a,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case VN:s=10;break e;case RN:s=9;break e;case kb:s=11;break e;case Pb:s=14;break e;case Uu:s=16,n=null;break e}throw Error(At(130,e==null?e:typeof e,""))}return t=Xi(s,r,t,a),t.elementType=e,t.type=n,t.lanes=i,t}function b0(e,t,r,n){return e=Xi(7,e,n,t),e.lanes=r,e}function fv(e,t,r,n){return e=Xi(22,e,n,t),e.elementType=FN,e.lanes=r,e.stateNode={isHidden:!1},e}function DD(e,t,r){return e=Xi(6,e,null,t),e.lanes=r,e}function ID(e,t,r){return t=Xi(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function vK(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=sD(0),this.expirationTimes=sD(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sD(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function pC(e,t,r,n,a,i,s,l,o){return e=new vK(e,t,r,l,o),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Xi(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yb(i),e}function yK(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}t(),e.exports=bi})(mp);const j_=Db(mp.exports);var c5=mp.exports;XI.createRoot=c5.createRoot,XI.hydrateRoot=c5.hydrateRoot;function Hr(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;ne.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kK(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function PK(e){var t=kK(e,"string");return typeof t=="symbol"?t:String(t)}var ao=Symbol("mobx-stored-annotations");function co(e){function t(r,n){Th(r,n,e)}return Object.assign(t,e)}function Th(e,t,r){Jo(e,ao)||vv(e,ao,Hf({},e[ao])),HK(r)||(e[ao][t]=r)}function UK(e){return Jo(e,ao)||vv(e,ao,Hf({},e[ao])),e[ao]}var dr=Symbol("mobx administration"),Ah=function(){function e(r){r===void 0&&(r="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Qr.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=r}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(n){return n()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(n){return n()})},t.reportObserved=function(){return u6(this)},t.reportChanged=function(){Si(),m6(this),vi()},t.toString=function(){return this.name_},e}(),vC=ic("Atom",Ah);function jx(e,t,r){t===void 0&&(t=af),r===void 0&&(r=af);var n=new Ah(e);return t!==af&&Fq(n,t),r!==af&&S6(n,r),n}function NK(e,t){return e===t}function wK(e,t){return LC(e,t)}function xK(e,t){return LC(e,t,1)}function VK(e,t){return Object.is?Object.is(e,t):e===t?e!==0||1/e===1/t:e!==e&&t!==t}var N2={identity:NK,structural:wK,default:VK,shallow:xK};function $f(e,t,r){return D6(e)?e:Array.isArray(e)?Bn.array(e,{name:r}):Sm(e)?Bn.object(e,void 0,{name:r}):pp(e)?Bn.map(e,{name:r}):Eh(e)?Bn.set(e,{name:r}):typeof e=="function"&&!DC(e)&&!R2(e)?Rx(e)?V1(e):x1(r,e):e}function RK(e,t,r){if(e==null||R1(e)||Lv(e)||lc(e)||hp(e))return e;if(Array.isArray(e))return Bn.array(e,{name:r,deep:!1});if(Sm(e))return Bn.object(e,void 0,{name:r,deep:!1});if(pp(e))return Bn.map(e,{name:r,deep:!1});if(Eh(e))return Bn.set(e,{name:r,deep:!1})}function Mv(e){return e}function FK(e,t){return LC(e,t)?t:e}var BK="override";function HK(e){return e.annotationType_===BK}function kh(e,t){return{annotationType_:e,options_:t,make_:$K,extend_:jK}}function $K(e,t,r,n){var a;if((a=this.options_)!=null&&a.bound)return this.extend_(e,t,r,!1)===null?0:1;if(n===e.target_)return this.extend_(e,t,r,!1)===null?0:2;if(DC(r.value))return 1;var i=Gx(e,this,t,r,!1);return mo(n,t,i),2}function jK(e,t,r,n){var a=Gx(e,this,t,r);return e.defineProperty_(t,a,n)}function GK(e,t,r,n){t.annotationType_,n.value}function Gx(e,t,r,n,a){var i,s,l,o,u,m,c;a===void 0&&(a=Rt.safeDescriptors),GK(e,t,r,n);var f=n.value;if((i=t.options_)!=null&&i.bound){var p;f=f.bind((p=e.proxy_)!=null?p:e.target_)}return{value:jf((s=(l=t.options_)==null?void 0:l.name)!=null?s:r.toString(),f,(o=(u=t.options_)==null?void 0:u.autoAction)!=null?o:!1,(m=t.options_)!=null&&m.bound?(c=e.proxy_)!=null?c:e.target_:void 0),configurable:a?e.isPlainObject_:!0,enumerable:!1,writable:!a}}function Wx(e,t){return{annotationType_:e,options_:t,make_:WK,extend_:zK}}function WK(e,t,r,n){var a;if(n===e.target_)return this.extend_(e,t,r,!1)===null?0:2;if((a=this.options_)!=null&&a.bound&&(!Jo(e.target_,t)||!R2(e.target_[t]))&&this.extend_(e,t,r,!1)===null)return 0;if(R2(r.value))return 1;var i=zx(e,this,t,r,!1,!1);return mo(n,t,i),2}function zK(e,t,r,n){var a,i=zx(e,this,t,r,(a=this.options_)==null?void 0:a.bound);return e.defineProperty_(t,i,n)}function KK(e,t,r,n){t.annotationType_,n.value}function zx(e,t,r,n,a,i){i===void 0&&(i=Rt.safeDescriptors),KK(e,t,r,n);var s=n.value;if(R2(s)||(s=V1(s)),a){var l;s=s.bind((l=e.proxy_)!=null?l:e.target_),s.isMobXFlow=!0}return{value:s,configurable:i?e.isPlainObject_:!0,enumerable:!1,writable:!i}}function yC(e,t){return{annotationType_:e,options_:t,make_:qK,extend_:ZK}}function qK(e,t,r){return this.extend_(e,t,r,!1)===null?0:1}function ZK(e,t,r,n){return YK(e,this,t,r),e.defineComputedProperty_(t,Hf({},this.options_,{get:r.get,set:r.set}),n)}function YK(e,t,r,n){t.annotationType_,n.get}function Dv(e,t){return{annotationType_:e,options_:t,make_:XK,extend_:JK}}function XK(e,t,r){return this.extend_(e,t,r,!1)===null?0:1}function JK(e,t,r,n){var a,i;return QK(e,this),e.defineObservableProperty_(t,r.value,(a=(i=this.options_)==null?void 0:i.enhancer)!=null?a:$f,n)}function QK(e,t,r,n){t.annotationType_}var eq="true",tq=Kx();function Kx(e){return{annotationType_:eq,options_:e,make_:rq,extend_:sq}}function rq(e,t,r,n){var a,i;if(r.get)return Iv.make_(e,t,r,n);if(r.set){var s=jf(t.toString(),r.set);return n===e.target_?e.defineProperty_(t,{configurable:Rt.safeDescriptors?e.isPlainObject_:!0,set:s})===null?0:2:(mo(n,t,{configurable:!0,set:s}),2)}if(n!==e.target_&&typeof r.value=="function"){var l;if(Rx(r.value)){var o,u=(o=this.options_)!=null&&o.autoBind?V1.bound:V1;return u.make_(e,t,r,n)}var m=(l=this.options_)!=null&&l.autoBind?x1.bound:x1;return m.make_(e,t,r,n)}var c=((a=this.options_)==null?void 0:a.deep)===!1?Bn.ref:Bn;if(typeof r.value=="function"&&(i=this.options_)!=null&&i.autoBind){var f;r.value=r.value.bind((f=e.proxy_)!=null?f:e.target_)}return c.make_(e,t,r,n)}function sq(e,t,r,n){var a,i;if(r.get)return Iv.extend_(e,t,r,n);if(r.set)return e.defineProperty_(t,{configurable:Rt.safeDescriptors?e.isPlainObject_:!0,set:jf(t.toString(),r.set)},n);if(typeof r.value=="function"&&(a=this.options_)!=null&&a.autoBind){var s;r.value=r.value.bind((s=e.proxy_)!=null?s:e.target_)}var l=((i=this.options_)==null?void 0:i.deep)===!1?Bn.ref:Bn;return l.extend_(e,t,r,n)}var nq="observable",aq="observable.ref",iq="observable.shallow",lq="observable.struct",qx={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(qx);function G_(e){return e||qx}var Zx=Dv(nq),oq=Dv(aq,{enhancer:Mv}),uq=Dv(iq,{enhancer:RK}),mq=Dv(lq,{enhancer:FK}),Yx=co(Zx);function W_(e){return e.deep===!0?$f:e.deep===!1?Mv:fq(e.defaultDecorator)}function cq(e){var t;return e?(t=e.defaultDecorator)!=null?t:Kx(e):void 0}function fq(e){var t,r;return e&&(t=(r=e.options_)==null?void 0:r.enhancer)!=null?t:$f}function Xx(e,t,r){if($0(t)){Th(e,t,Zx);return}return D6(e)?e:Sm(e)?Bn.object(e,t,r):Array.isArray(e)?Bn.array(e,t):pp(e)?Bn.map(e,t):Eh(e)?Bn.set(e,t):typeof e=="object"&&e!==null?e:Bn.box(e,t)}Nx(Xx,Yx);var pq={box:function(t,r){var n=G_(r);return new Sf(t,W_(n),n.name,!0,n.equals)},array:function(t,r){var n=G_(r);return(Rt.useProxies===!1||n.proxy===!1?cZ:rZ)(t,W_(n),n.name)},map:function(t,r){var n=G_(r);return new b6(t,W_(n),n.name)},set:function(t,r){var n=G_(r);return new T6(t,W_(n),n.name)},object:function(t,r,n){return jq(Rt.useProxies===!1||n?.proxy===!1?bv({},n):Jq({},n),t,r)},ref:co(oq),shallow:co(uq),deep:Yx,struct:co(mq)},Bn=Nx(Xx,pq),Jx="computed",dq="computed.struct",Qx=yC(Jx),hq=yC(dq,{equals:N2.structural}),Iv=function(t,r){if($0(r))return Th(t,r,Qx);if(Sm(t))return co(yC(Jx,t));var n=Sm(r)?r:{};return n.get=t,n.name||(n.name=t.name||""),new N1(n)};Object.assign(Iv,Qx);Iv.struct=co(hq);var d5,h5,w2=0,_q=1,gq=(d5=(h5=U2(function(){},"name"))==null?void 0:h5.configurable)!=null?d5:!1,_5={value:"action",configurable:!0,writable:!1,enumerable:!1};function jf(e,t,r,n){r===void 0&&(r=!1);function a(){return e6(e,r,t,n||this,arguments)}return a.isMobxAction=!0,gq&&(_5.value=e,mo(a,"name",_5)),a}function e6(e,t,r,n,a){var i=Sq(e,t);try{return r.apply(n,a)}catch(s){throw i.error_=s,s}finally{vq(i)}}function Sq(e,t,r,n){var a=!1,i=0,s=Rt.trackingDerivation,l=!t||!s;Si();var o=Rt.allowStateChanges;l&&(dp(),o=Ph(!0));var u=MC(!0),m={runAsAction_:l,prevDerivation_:s,prevAllowStateChanges_:o,prevAllowStateReads_:u,notifySpy_:a,startTime_:i,actionId_:_q++,parentActionId_:w2};return w2=m.actionId_,m}function vq(e){w2!==e.actionId_&&Hr(30),w2=e.parentActionId_,e.error_!==void 0&&(Rt.suppressReactionErrors=!0),Uh(e.prevAllowStateChanges_),Rd(e.prevAllowStateReads_),vi(),e.runAsAction_&&pm(e.prevDerivation_),Rt.suppressReactionErrors=!1}function yq(e,t){var r=Ph(e);try{return t()}finally{Uh(r)}}function Ph(e){var t=Rt.allowStateChanges;return Rt.allowStateChanges=e,t}function Uh(e){Rt.allowStateChanges=e}var t6;t6=Symbol.toPrimitive;var Sf=function(e){$x(t,e);function t(n,a,i,s,l){var o;return i===void 0&&(i="ObservableValue"),l===void 0&&(l=N2.default),o=e.call(this,i)||this,o.enhancer=void 0,o.name_=void 0,o.equals=void 0,o.hasUnreportedChange_=!1,o.interceptors_=void 0,o.changeListeners_=void 0,o.value_=void 0,o.dehancer=void 0,o.enhancer=a,o.name_=i,o.equals=l,o.value_=a(n,void 0,i),o}var r=t.prototype;return r.dehanceValue=function(a){return this.dehancer!==void 0?this.dehancer(a):a},r.set=function(a){this.value_,a=this.prepareNewValue_(a),a!==Rt.UNCHANGED&&this.setNewValue_(a)},r.prepareNewValue_=function(a){if(Zi(this)){var i=Yi(this,{object:this,type:fo,newValue:a});if(!i)return Rt.UNCHANGED;a=i.newValue}return a=this.enhancer(a,this.value_,this.name_),this.equals(this.value_,a)?Rt.UNCHANGED:a},r.setNewValue_=function(a){var i=this.value_;this.value_=a,this.reportChanged(),El(this)&&Tl(this,{type:fo,object:this,newValue:a,oldValue:i})},r.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},r.intercept_=function(a){return Nh(this,a)},r.observe_=function(a,i){return i&&a({observableKind:"value",debugObjectName:this.name_,object:this,type:fo,newValue:this.value_,oldValue:void 0}),wh(this,a)},r.raw=function(){return this.value_},r.toJSON=function(){return this.get()},r.toString=function(){return this.name_+"["+this.value_+"]"},r.valueOf=function(){return Hx(this.get())},r[t6]=function(){return this.valueOf()},t}(Ah),r6;r6=Symbol.toPrimitive;var N1=function(){function e(r){this.dependenciesState_=Qr.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Qr.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new x2(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=C0.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,r.get||Hr(31),this.derivation=r.get,this.name_=r.name||"ComputedValue",r.set&&(this.setter_=jf("ComputedValue-setter",r.set)),this.equals_=r.equals||(r.compareStructural||r.struct?N2.structural:N2.default),this.scope_=r.context,this.requiresReaction_=r.requiresReaction,this.keepAlive_=!!r.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){Lq(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(n){return n()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(n){return n()})},t.get=function(){if(this.isComputing_&&Hr(32,this.name_,this.derivation),Rt.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)zO(this)&&(this.warnAboutUntrackedRead_(),Si(),this.value_=this.computeValue_(!1),vi());else if(u6(this),zO(this)){var n=Rt.trackingContext;this.keepAlive_&&!n&&(Rt.trackingContext=this),this.trackAndCompute()&&Oq(this),Rt.trackingContext=n}var a=this.value_;if(wg(a))throw a.cause;return a},t.set=function(n){if(this.setter_){this.isRunningSetter_&&Hr(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,n)}finally{this.isRunningSetter_=!1}}else Hr(34,this.name_)},t.trackAndCompute=function(){var n=this.value_,a=this.dependenciesState_===Qr.NOT_TRACKING_,i=this.computeValue_(!0),s=a||wg(n)||wg(i)||!this.equals_(n,i);return s&&(this.value_=i),s},t.computeValue_=function(n){this.isComputing_=!0;var a=Ph(!1),i;if(n)i=s6(this,this.derivation,this.scope_);else if(Rt.disableErrorBoundaries===!0)i=this.derivation.call(this.scope_);else try{i=this.derivation.call(this.scope_)}catch(s){i=new x2(s)}return Uh(a),this.isComputing_=!1,i},t.suspend_=function(){this.keepAlive_||(KO(this),this.value_=void 0)},t.observe_=function(n,a){var i=this,s=!0,l=void 0;return Nq(function(){var o=i.get();if(!s||a){var u=dp();n({observableKind:"computed",debugObjectName:i.name_,type:fo,object:i,newValue:o,oldValue:l}),pm(u)}s=!1,l=o})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return Hx(this.get())},t[r6]=function(){return this.valueOf()},e}(),Ov=ic("ComputedValue",N1),Qr;(function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"})(Qr||(Qr={}));var C0;(function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"})(C0||(C0={}));var x2=function(t){this.cause=void 0,this.cause=t};function wg(e){return e instanceof x2}function zO(e){switch(e.dependenciesState_){case Qr.UP_TO_DATE_:return!1;case Qr.NOT_TRACKING_:case Qr.STALE_:return!0;case Qr.POSSIBLY_STALE_:{for(var t=MC(!0),r=dp(),n=e.observing_,a=n.length,i=0;in&&(n=l.dependenciesState_)}for(r.length=a,e.newObserving_=null,i=t.length;i--;){var o=t[i];o.diffValue_===0&&l6(o,e),o.diffValue_=0}for(;a--;){var u=r[a];u.diffValue_===1&&(u.diffValue_=0,Iq(u,e))}n!==Qr.UP_TO_DATE_&&(e.dependenciesState_=n,e.onBecomeStale_())}function KO(e){var t=e.observing_;e.observing_=[];for(var r=t.length;r--;)l6(t[r],e);e.dependenciesState_=Qr.NOT_TRACKING_}function n6(e){var t=dp();try{return e()}finally{pm(t)}}function dp(){var e=Rt.trackingDerivation;return Rt.trackingDerivation=null,e}function pm(e){Rt.trackingDerivation=e}function MC(e){var t=Rt.allowStateReads;return Rt.allowStateReads=e,t}function Rd(e){Rt.allowStateReads=e}function a6(e){if(e.dependenciesState_!==Qr.UP_TO_DATE_){e.dependenciesState_=Qr.UP_TO_DATE_;for(var t=e.observing_,r=t.length;r--;)t[r].lowestObserverState_=Qr.UP_TO_DATE_}}var xg=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},Vg=!0,i6=!1,Rt=function(){var e=gC();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Vg=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==new xg().version&&(Vg=!1),Vg?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new xg):(setTimeout(function(){i6||Hr(35)},1),new xg)}();function Dq(){if((Rt.pendingReactions.length||Rt.inBatch||Rt.isRunningReactions)&&Hr(36),i6=!0,Vg){var e=gC();--e.__mobxInstanceCount===0&&(e.__mobxGlobals=void 0),Rt=new xg}}function Iq(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function l6(e,t){e.observers_.delete(t),e.observers_.size===0&&o6(e)}function o6(e){e.isPendingUnobservation_===!1&&(e.isPendingUnobservation_=!0,Rt.pendingUnobservations.push(e))}function Si(){Rt.inBatch++}function vi(){if(--Rt.inBatch===0){c6();for(var e=Rt.pendingUnobservations,t=0;t0&&o6(e),!1)}function m6(e){e.lowestObserverState_!==Qr.STALE_&&(e.lowestObserverState_=Qr.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===Qr.UP_TO_DATE_&&t.onBecomeStale_(),t.dependenciesState_=Qr.STALE_}))}function Oq(e){e.lowestObserverState_!==Qr.STALE_&&(e.lowestObserverState_=Qr.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===Qr.POSSIBLY_STALE_?t.dependenciesState_=Qr.STALE_:t.dependenciesState_===Qr.UP_TO_DATE_&&(e.lowestObserverState_=Qr.UP_TO_DATE_)}))}function Lq(e){e.lowestObserverState_===Qr.UP_TO_DATE_&&(e.lowestObserverState_=Qr.POSSIBLY_STALE_,e.observers_.forEach(function(t){t.dependenciesState_===Qr.UP_TO_DATE_&&(t.dependenciesState_=Qr.POSSIBLY_STALE_,t.onBecomeStale_())}))}var w1=function(){function e(r,n,a,i){r===void 0&&(r="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Qr.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=C0.NONE,this.name_=r,this.onInvalidate_=n,this.errorHandler_=a,this.requiresObservable_=i}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,Rt.pendingReactions.push(this),c6())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){Si(),this.isScheduled_=!1;var n=Rt.trackingContext;if(Rt.trackingContext=this,zO(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(a){this.reportExceptionInDerivation_(a)}}Rt.trackingContext=n,vi()}},t.track=function(n){if(!this.isDisposed_){Si(),this.isRunning_=!0;var a=Rt.trackingContext;Rt.trackingContext=this;var i=s6(this,n,void 0);Rt.trackingContext=a,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&KO(this),wg(i)&&this.reportExceptionInDerivation_(i.cause),vi()}},t.reportExceptionInDerivation_=function(n){var a=this;if(this.errorHandler_){this.errorHandler_(n,this);return}if(Rt.disableErrorBoundaries)throw n;var i="[mobx] uncaught error in '"+this+"'";Rt.suppressReactionErrors||console.error(i,n),Rt.globalReactionErrorHandlers.forEach(function(s){return s(n,a)})},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(Si(),KO(this),vi()))},t.getDisposer_=function(){var n=this.dispose.bind(this);return n[dr]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(n){n===void 0&&(n=!1),Zq(this,n)},e}(),bq=100,qO=function(t){return t()};function c6(){Rt.inBatch>0||Rt.isRunningReactions||qO(Cq)}function Cq(){Rt.isRunningReactions=!0;for(var e=Rt.pendingReactions,t=0;e.length>0;){++t===bq&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var r=e.splice(0),n=0,a=r.length;n0&&(t.dependencies=Wq(e.observing_).map(y6)),t}function Wq(e){return Array.from(new Set(e))}var zq=0;function M6(){this.message="FLOW_CANCELLED"}M6.prototype=Object.create(Error.prototype);var g5=Wx("flow"),Kq=Wx("flow.bound",{bound:!0}),V1=Object.assign(function(t,r){if($0(r))return Th(t,r,g5);var n=t,a=n.name||"",i=function(){var l=this,o=arguments,u=++zq,m=Ar(a+" - runid: "+u+" - init",n).apply(l,o),c,f=void 0,p=new Promise(function(h,d){var _=0;c=d;function y(v){f=void 0;var M;try{M=Ar(a+" - runid: "+u+" - yield "+_++,m.next).call(m,v)}catch(I){return d(I)}S(M)}function g(v){f=void 0;var M;try{M=Ar(a+" - runid: "+u+" - yield "+_++,m.throw).call(m,v)}catch(I){return d(I)}S(M)}function S(v){if(Ul(v?.then)){v.then(S,d);return}return v.done?h(v.value):(f=Promise.resolve(v.value),f.then(y,g))}y(void 0)});return p.cancel=Ar(a+" - runid: "+u+" - cancel",function(){try{f&&S5(f);var h=m.return(void 0),d=Promise.resolve(h.value);d.then(af,af),S5(d),c(new M6)}catch(_){c(_)}}),p};return i.isMobXFlow=!0,i},g5);V1.bound=co(Kq);function S5(e){Ul(e.cancel)&&e.cancel()}function R2(e){return e?.isMobXFlow===!0}function qq(e,t){return e?t!==void 0?R1(e)?e[dr].values_.has(t):!1:R1(e)||!!e[dr]||vC(e)||V2(e)||Ov(e):!1}function D6(e){return qq(e)}function Zq(){Hr("trace() is not available in production builds");for(var e=!1,t=arguments.length,r=new Array(t),n=0;n0}function Nh(e,t){var r=e.interceptors_||(e.interceptors_=[]);return r.push(t),Vx(function(){var n=r.indexOf(t);n!==-1&&r.splice(n,1)})}function Yi(e,t){var r=dp();try{for(var n=[].concat(e.interceptors_||[]),a=0,i=n.length;a0}function wh(e,t){var r=e.changeListeners_||(e.changeListeners_=[]);return r.push(t),Vx(function(){var n=r.indexOf(t);n!==-1&&r.splice(n,1)})}function Tl(e,t){var r=dp(),n=e.changeListeners_;if(!!n){n=n.slice();for(var a=0,i=n.length;a0?n.map(this.dehancer):n},t.intercept_=function(n){return Nh(this,n)},t.observe_=function(n,a){return a===void 0&&(a=!1),a&&n({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),wh(this,n)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(n){(typeof n!="number"||isNaN(n)||n<0)&&Hr("Out of range: "+n);var a=this.values_.length;if(n!==a)if(n>a){for(var i=new Array(n-a),s=0;s0&&U6(n+a+1)},t.spliceWithArray_=function(n,a,i){var s=this;this.atom_;var l=this.values_.length;if(n===void 0?n=0:n>l?n=l:n<0&&(n=Math.max(0,l+n)),arguments.length===1?a=l-n:a==null?a=0:a=Math.max(0,Math.min(a,l-n)),i===void 0&&(i=GO),Zi(this)){var o=Yi(this,{object:this.proxy_,type:v5,index:n,removedCount:a,added:i});if(!o)return GO;a=o.removedCount,i=o.added}if(i=i.length===0?i:i.map(function(c){return s.enhancer_(c,void 0)}),this.legacyMode_){var u=i.length-a;this.updateArrayLength_(l,u)}var m=this.spliceItemsIntoValues_(n,a,i);return(a!==0||i.length!==0)&&this.notifyArraySplice_(n,i,m),this.dehanceValues_(m)},t.spliceItemsIntoValues_=function(n,a,i){if(i.length=this.values_.length){console.warn("[mobx] Out of bounds read: "+n);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[n])},t.set_=function(n,a){var i=this.values_;if(this.legacyMode_&&n>i.length&&Hr(17,n,i.length),n2?n-2:0),i=2;i-1?(this.splice(n,1),!0):!1}};Vn("concat",du);Vn("flat",du);Vn("includes",du);Vn("indexOf",du);Vn("join",du);Vn("lastIndexOf",du);Vn("slice",du);Vn("toString",du);Vn("toLocaleString",du);Vn("every",km);Vn("filter",km);Vn("find",km);Vn("findIndex",km);Vn("flatMap",km);Vn("forEach",km);Vn("map",km);Vn("some",km);Vn("reduce",I6);Vn("reduceRight",I6);function Vn(e,t){typeof Array.prototype[e]=="function"&&(F2[e]=t(e))}function du(e){return function(){var t=this[dr];t.atom_.reportObserved();var r=t.dehanceValues_(t.values_);return r[e].apply(r,arguments)}}function km(e){return function(t,r){var n=this,a=this[dr];a.atom_.reportObserved();var i=a.dehanceValues_(a.values_);return i[e](function(s,l){return t.call(r,s,l,n)})}}function I6(e){return function(){var t=this,r=this[dr];r.atom_.reportObserved();var n=r.dehanceValues_(r.values_),a=arguments[0];return arguments[0]=function(i,s,l){return a(i,s,l,t)},n[e].apply(n,arguments)}}var sZ=ic("ObservableArrayAdministration",IC);function Lv(e){return Sv(e)&&sZ(e[dr])}var O6,L6,nZ={},Yu="add",B2="delete";O6=Symbol.iterator;L6=Symbol.toStringTag;var b6=function(){function e(r,n,a){var i=this;n===void 0&&(n=$f),a===void 0&&(a="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[dr]=nZ,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=n,this.name_=a,Ul(Map)||Hr(18),this.keysAtom_=jx("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,yq(!0,function(){i.merge(r)})}var t=e.prototype;return t.has_=function(n){return this.data_.has(n)},t.has=function(n){var a=this;if(!Rt.trackingDerivation)return this.has_(n);var i=this.hasMap_.get(n);if(!i){var s=i=new Sf(this.has_(n),Mv,"ObservableMap.key?",!1);this.hasMap_.set(n,s),S6(s,function(){return a.hasMap_.delete(n)})}return i.get()},t.set=function(n,a){var i=this.has_(n);if(Zi(this)){var s=Yi(this,{type:i?fo:Yu,object:this,newValue:a,name:n});if(!s)return this;a=s.newValue}return i?this.updateValue_(n,a):this.addValue_(n,a),this},t.delete=function(n){var a=this;if(this.keysAtom_,Zi(this)){var i=Yi(this,{type:B2,object:this,name:n});if(!i)return!1}if(this.has_(n)){var s=Fd(),l=El(this),o=l||s?{observableKind:"map",debugObjectName:this.name_,type:B2,object:this,oldValue:this.data_.get(n).value_,name:n}:null;return $o(function(){var u;a.keysAtom_.reportChanged(),(u=a.hasMap_.get(n))==null||u.setNewValue_(!1);var m=a.data_.get(n);m.setNewValue_(void 0),a.data_.delete(n)}),l&&Tl(this,o),!0}return!1},t.updateValue_=function(n,a){var i=this.data_.get(n);if(a=i.prepareNewValue_(a),a!==Rt.UNCHANGED){var s=Fd(),l=El(this),o=l||s?{observableKind:"map",debugObjectName:this.name_,type:fo,object:this,oldValue:i.value_,name:n,newValue:a}:null;i.setNewValue_(a),l&&Tl(this,o)}},t.addValue_=function(n,a){var i=this;this.keysAtom_,$o(function(){var u,m=new Sf(a,i.enhancer_,"ObservableMap.key",!1);i.data_.set(n,m),a=m.value_,(u=i.hasMap_.get(n))==null||u.setNewValue_(!0),i.keysAtom_.reportChanged()});var s=Fd(),l=El(this),o=l||s?{observableKind:"map",debugObjectName:this.name_,type:Yu,object:this,name:n,newValue:a}:null;l&&Tl(this,o)},t.get=function(n){return this.has(n)?this.dehanceValue_(this.data_.get(n).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(n){return this.dehancer!==void 0?this.dehancer(n):n},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var n=this,a=this.keys();return F1({next:function(){var s=a.next(),l=s.done,o=s.value;return{done:l,value:l?void 0:n.get(o)}}})},t.entries=function(){var n=this,a=this.keys();return F1({next:function(){var s=a.next(),l=s.done,o=s.value;return{done:l,value:l?void 0:[o,n.get(o)]}}})},t[O6]=function(){return this.entries()},t.forEach=function(n,a){for(var i=lf(this),s;!(s=i()).done;){var l=s.value,o=l[0],u=l[1];n.call(a,u,o,this)}},t.merge=function(n){var a=this;return lc(n)&&(n=new Map(n)),$o(function(){Sm(n)?EK(n).forEach(function(i){return a.set(i,n[i])}):Array.isArray(n)?n.forEach(function(i){var s=i[0],l=i[1];return a.set(s,l)}):pp(n)?(n.constructor!==Map&&Hr(19,n),n.forEach(function(i,s){return a.set(s,i)})):n!=null&&Hr(20,n)}),this},t.clear=function(){var n=this;$o(function(){n6(function(){for(var a=lf(n.keys()),i;!(i=a()).done;){var s=i.value;n.delete(s)}})})},t.replace=function(n){var a=this;return $o(function(){for(var i=aZ(n),s=new Map,l=!1,o=lf(a.data_.keys()),u;!(u=o()).done;){var m=u.value;if(!i.has(m)){var c=a.delete(m);if(c)l=!0;else{var f=a.data_.get(m);s.set(m,f)}}}for(var p=lf(i.entries()),h;!(h=p()).done;){var d=h.value,_=d[0],y=d[1],g=a.data_.has(_);if(a.set(_,y),a.data_.has(_)){var S=a.data_.get(_);s.set(_,S),g||(l=!0)}}if(!l)if(a.data_.size!==s.size)a.keysAtom_.reportChanged();else for(var v=a.data_.keys(),M=s.keys(),I=v.next(),D=M.next();!I.done;){if(I.value!==D.value){a.keysAtom_.reportChanged();break}I=v.next(),D=M.next()}a.data_=s}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(n,a){return wh(this,n)},t.intercept_=function(n){return Nh(this,n)},SC(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:L6,get:function(){return"Map"}}]),e}(),lc=ic("ObservableMap",b6);function aZ(e){if(pp(e)||lc(e))return e;if(Array.isArray(e))return new Map(e);if(Sm(e)){var t=new Map;for(var r in e)t.set(r,e[r]);return t}else return Hr(21,e)}var C6,E6,iZ={};C6=Symbol.iterator;E6=Symbol.toStringTag;var T6=function(){function e(r,n,a){n===void 0&&(n=$f),a===void 0&&(a="ObservableSet"),this.name_=void 0,this[dr]=iZ,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=a,Ul(Set)||Hr(22),this.atom_=jx(this.name_),this.enhancer_=function(i,s){return n(i,s,a)},r&&this.replace(r)}var t=e.prototype;return t.dehanceValue_=function(n){return this.dehancer!==void 0?this.dehancer(n):n},t.clear=function(){var n=this;$o(function(){n6(function(){for(var a=lf(n.data_.values()),i;!(i=a()).done;){var s=i.value;n.delete(s)}})})},t.forEach=function(n,a){for(var i=lf(this),s;!(s=i()).done;){var l=s.value;n.call(a,l,l,this)}},t.add=function(n){var a=this;if(this.atom_,Zi(this)){var i=Yi(this,{type:Yu,object:this,newValue:n});if(!i)return this}if(!this.has(n)){$o(function(){a.data_.add(a.enhancer_(n,void 0)),a.atom_.reportChanged()});var s=!1,l=El(this),o=l||s?{observableKind:"set",debugObjectName:this.name_,type:Yu,object:this,newValue:n}:null;l&&Tl(this,o)}return this},t.delete=function(n){var a=this;if(Zi(this)){var i=Yi(this,{type:B2,object:this,oldValue:n});if(!i)return!1}if(this.has(n)){var s=!1,l=El(this),o=l||s?{observableKind:"set",debugObjectName:this.name_,type:B2,object:this,oldValue:n}:null;return $o(function(){a.atom_.reportChanged(),a.data_.delete(n)}),l&&Tl(this,o),!0}return!1},t.has=function(n){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(n))},t.entries=function(){var n=0,a=Array.from(this.keys()),i=Array.from(this.values());return F1({next:function(){var l=n;return n+=1,lLD){for(var t=LD;t=0&&r++;break}e=L5(e),t=L5(t);var l=s==="[object Array]";if(!l){if(typeof e!="object"||typeof t!="object")return!1;var o=e.constructor,u=t.constructor;if(o!==u&&!(Ul(o)&&o instanceof o&&Ul(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(r===0)return!1;r<0&&(r=-1),n=n||[],a=a||[];for(var m=n.length;m--;)if(n[m]===e)return a[m]===t;if(n.push(e),a.push(t),l){if(m=e.length,m!==t.length)return!1;for(;m--;)if(!YO(e[m],t[m],r-1,n,a))return!1}else{var c=Object.keys(e),f;if(m=c.length,Object.keys(t).length!==m)return!1;for(;m--;)if(f=c[m],!(Jo(t,f)&&YO(e[f],t[f],r-1,n,a)))return!1}return n.pop(),a.pop(),!0}function L5(e){return Lv(e)?e.slice():pp(e)||lc(e)||Eh(e)||hp(e)?Array.from(e.entries()):e}function F1(e){return e[Symbol.iterator]=fZ,e}function fZ(){return this}["Symbol","Map","Set"].forEach(function(e){var t=gC();typeof t[e]>"u"&&Hr("MobX requires global '"+e+"' to be available or polyfilled")});typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__=="object"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Tq,extras:{getDebugName:ZO},$mobx:dr});var XO={exports:{}},bD,b5;function w6(){if(b5)return bD;b5=1;var e=1e3,t=e*60,r=t*60,n=r*24,a=n*7,i=n*365.25;bD=function(m,c){c=c||{};var f=typeof m;if(f==="string"&&m.length>0)return s(m);if(f==="number"&&isFinite(m))return c.long?o(m):l(m);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(m))};function s(m){if(m=String(m),!(m.length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(m);if(!!c){var f=parseFloat(c[1]),p=(c[2]||"ms").toLowerCase();switch(p){case"years":case"year":case"yrs":case"yr":case"y":return f*i;case"weeks":case"week":case"w":return f*a;case"days":case"day":case"d":return f*n;case"hours":case"hour":case"hrs":case"hr":case"h":return f*r;case"minutes":case"minute":case"mins":case"min":case"m":return f*t;case"seconds":case"second":case"secs":case"sec":case"s":return f*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return f;default:return}}}}function l(m){var c=Math.abs(m);return c>=n?Math.round(m/n)+"d":c>=r?Math.round(m/r)+"h":c>=t?Math.round(m/t)+"m":c>=e?Math.round(m/e)+"s":m+"ms"}function o(m){var c=Math.abs(m);return c>=n?u(m,c,n,"day"):c>=r?u(m,c,r,"hour"):c>=t?u(m,c,t,"minute"):c>=e?u(m,c,e,"second"):m+" ms"}function u(m,c,f,p){var h=c>=f*1.5;return Math.round(m/f)+" "+p+(h?"s":"")}return bD}function pZ(e){r.debug=r,r.default=r,r.coerce=o,r.disable=i,r.enable=a,r.enabled=s,r.humanize=w6(),r.destroy=u,Object.keys(e).forEach(m=>{r[m]=e[m]}),r.names=[],r.skips=[],r.formatters={};function t(m){let c=0;for(let f=0;f{if(I==="%%")return"%";v++;const k=r.formatters[D];if(typeof k=="function"){const E=_[v];I=k.call(y,E),_.splice(v,1),v--}return I}),r.formatArgs.call(y,_),(y.log||r.log).apply(y,_)}return d.namespace=m,d.useColors=r.useColors(),d.color=r.selectColor(m),d.extend=n,d.destroy=r.destroy,Object.defineProperty(d,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(p!==r.namespaces&&(p=r.namespaces,h=r.enabled(m)),h),set:_=>{f=_}}),typeof r.init=="function"&&r.init(d),d}function n(m,c){const f=r(this.namespace+(typeof c>"u"?":":c)+m);return f.log=this.log,f}function a(m){r.save(m),r.namespaces=m,r.names=[],r.skips=[];let c;const f=(typeof m=="string"?m:"").split(/[\s,]+/),p=f.length;for(c=0;c"-"+c)].join(",");return r.enable(""),m}function s(m){if(m[m.length-1]==="*")return!0;let c,f;for(c=0,f=r.skips.length;c{let o=!1;return()=>{o||(o=!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`."))}})(),t.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"];function r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(o){if(o[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+o[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;o.splice(1,0,u,"color: inherit");let m=0,c=0;o[0].replace(/%[a-zA-Z%]/g,f=>{f!=="%%"&&(m++,f==="%c"&&(c=m))}),o.splice(c,0,u)}t.log=console.debug||console.log||(()=>{});function a(o){try{o?t.storage.setItem("debug",o):t.storage.removeItem("debug")}catch{}}function i(){let o;try{o=t.storage.getItem("debug")}catch{}return!o&&typeof process<"u"&&"env"in process&&(o={}.DEBUG),o}function s(){try{return localStorage}catch{}}e.exports=dZ(t);const{formatters:l}=e.exports;l.j=function(o){try{return JSON.stringify(o)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(XO,XO.exports);const er=XO.exports;var x6={exports:{}},CD,C5;function hZ(){return C5||(C5=1,CD={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),CD}var ED,E5;function V6(){if(E5)return ED;E5=1;const e=hZ(),t={};for(const a of Object.keys(e))t[e[a]]=a;const r={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};ED=r;for(const a of Object.keys(r)){if(!("channels"in r[a]))throw new Error("missing channels property: "+a);if(!("labels"in r[a]))throw new Error("missing channel labels property: "+a);if(r[a].labels.length!==r[a].channels)throw new Error("channel and label counts mismatch: "+a);const{channels:i,labels:s}=r[a];delete r[a].channels,delete r[a].labels,Object.defineProperty(r[a],"channels",{value:i}),Object.defineProperty(r[a],"labels",{value:s})}r.rgb.hsl=function(a){const i=a[0]/255,s=a[1]/255,l=a[2]/255,o=Math.min(i,s,l),u=Math.max(i,s,l),m=u-o;let c,f;u===o?c=0:i===u?c=(s-l)/m:s===u?c=2+(l-i)/m:l===u&&(c=4+(i-s)/m),c=Math.min(c*60,360),c<0&&(c+=360);const p=(o+u)/2;return u===o?f=0:p<=.5?f=m/(u+o):f=m/(2-u-o),[c,f*100,p*100]},r.rgb.hsv=function(a){let i,s,l,o,u;const m=a[0]/255,c=a[1]/255,f=a[2]/255,p=Math.max(m,c,f),h=p-Math.min(m,c,f),d=function(_){return(p-_)/6/h+1/2};return h===0?(o=0,u=0):(u=h/p,i=d(m),s=d(c),l=d(f),m===p?o=l-s:c===p?o=1/3+i-l:f===p&&(o=2/3+s-i),o<0?o+=1:o>1&&(o-=1)),[o*360,u*100,p*100]},r.rgb.hwb=function(a){const i=a[0],s=a[1];let l=a[2];const o=r.rgb.hsl(a)[0],u=1/255*Math.min(i,Math.min(s,l));return l=1-1/255*Math.max(i,Math.max(s,l)),[o,u*100,l*100]},r.rgb.cmyk=function(a){const i=a[0]/255,s=a[1]/255,l=a[2]/255,o=Math.min(1-i,1-s,1-l),u=(1-i-o)/(1-o)||0,m=(1-s-o)/(1-o)||0,c=(1-l-o)/(1-o)||0;return[u*100,m*100,c*100,o*100]};function n(a,i){return(a[0]-i[0])**2+(a[1]-i[1])**2+(a[2]-i[2])**2}return r.rgb.keyword=function(a){const i=t[a];if(i)return i;let s=1/0,l;for(const o of Object.keys(e)){const u=e[o],m=n(a,u);m.04045?((i+.055)/1.055)**2.4:i/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92;const o=i*.4124+s*.3576+l*.1805,u=i*.2126+s*.7152+l*.0722,m=i*.0193+s*.1192+l*.9505;return[o*100,u*100,m*100]},r.rgb.lab=function(a){const i=r.rgb.xyz(a);let s=i[0],l=i[1],o=i[2];s/=95.047,l/=100,o/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const u=116*l-16,m=500*(s-l),c=200*(l-o);return[u,m,c]},r.hsl.rgb=function(a){const i=a[0]/360,s=a[1]/100,l=a[2]/100;let o,u,m;if(s===0)return m=l*255,[m,m,m];l<.5?o=l*(1+s):o=l+s-l*s;const c=2*l-o,f=[0,0,0];for(let p=0;p<3;p++)u=i+1/3*-(p-1),u<0&&u++,u>1&&u--,6*u<1?m=c+(o-c)*6*u:2*u<1?m=o:3*u<2?m=c+(o-c)*(2/3-u)*6:m=c,f[p]=m*255;return f},r.hsl.hsv=function(a){const i=a[0];let s=a[1]/100,l=a[2]/100,o=s;const u=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,o*=u<=1?u:2-u;const m=(l+s)/2,c=l===0?2*o/(u+o):2*s/(l+s);return[i,c*100,m*100]},r.hsv.rgb=function(a){const i=a[0]/60,s=a[1]/100;let l=a[2]/100;const o=Math.floor(i)%6,u=i-Math.floor(i),m=255*l*(1-s),c=255*l*(1-s*u),f=255*l*(1-s*(1-u));switch(l*=255,o){case 0:return[l,f,m];case 1:return[c,l,m];case 2:return[m,l,f];case 3:return[m,c,l];case 4:return[f,m,l];case 5:return[l,m,c]}},r.hsv.hsl=function(a){const i=a[0],s=a[1]/100,l=a[2]/100,o=Math.max(l,.01);let u,m;m=(2-s)*l;const c=(2-s)*o;return u=s*o,u/=c<=1?c:2-c,u=u||0,m/=2,[i,u*100,m*100]},r.hwb.rgb=function(a){const i=a[0]/360;let s=a[1]/100,l=a[2]/100;const o=s+l;let u;o>1&&(s/=o,l/=o);const m=Math.floor(6*i),c=1-l;u=6*i-m,(m&1)!==0&&(u=1-u);const f=s+u*(c-s);let p,h,d;switch(m){default:case 6:case 0:p=c,h=f,d=s;break;case 1:p=f,h=c,d=s;break;case 2:p=s,h=c,d=f;break;case 3:p=s,h=f,d=c;break;case 4:p=f,h=s,d=c;break;case 5:p=c,h=s,d=f;break}return[p*255,h*255,d*255]},r.cmyk.rgb=function(a){const i=a[0]/100,s=a[1]/100,l=a[2]/100,o=a[3]/100,u=1-Math.min(1,i*(1-o)+o),m=1-Math.min(1,s*(1-o)+o),c=1-Math.min(1,l*(1-o)+o);return[u*255,m*255,c*255]},r.xyz.rgb=function(a){const i=a[0]/100,s=a[1]/100,l=a[2]/100;let o,u,m;return o=i*3.2406+s*-1.5372+l*-.4986,u=i*-.9689+s*1.8758+l*.0415,m=i*.0557+s*-.204+l*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,m=m>.0031308?1.055*m**(1/2.4)-.055:m*12.92,o=Math.min(Math.max(0,o),1),u=Math.min(Math.max(0,u),1),m=Math.min(Math.max(0,m),1),[o*255,u*255,m*255]},r.xyz.lab=function(a){let i=a[0],s=a[1],l=a[2];i/=95.047,s/=100,l/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,l=l>.008856?l**(1/3):7.787*l+16/116;const o=116*s-16,u=500*(i-s),m=200*(s-l);return[o,u,m]},r.lab.xyz=function(a){const i=a[0],s=a[1],l=a[2];let o,u,m;u=(i+16)/116,o=s/500+u,m=u-l/200;const c=u**3,f=o**3,p=m**3;return u=c>.008856?c:(u-16/116)/7.787,o=f>.008856?f:(o-16/116)/7.787,m=p>.008856?p:(m-16/116)/7.787,o*=95.047,u*=100,m*=108.883,[o,u,m]},r.lab.lch=function(a){const i=a[0],s=a[1],l=a[2];let o;o=Math.atan2(l,s)*360/2/Math.PI,o<0&&(o+=360);const m=Math.sqrt(s*s+l*l);return[i,m,o]},r.lch.lab=function(a){const i=a[0],s=a[1],o=a[2]/360*2*Math.PI,u=s*Math.cos(o),m=s*Math.sin(o);return[i,u,m]},r.rgb.ansi16=function(a,i=null){const[s,l,o]=a;let u=i===null?r.rgb.hsv(a)[2]:i;if(u=Math.round(u/50),u===0)return 30;let m=30+(Math.round(o/255)<<2|Math.round(l/255)<<1|Math.round(s/255));return u===2&&(m+=60),m},r.hsv.ansi16=function(a){return r.rgb.ansi16(r.hsv.rgb(a),a[2])},r.rgb.ansi256=function(a){const i=a[0],s=a[1],l=a[2];return i===s&&s===l?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(s/255*5)+Math.round(l/255*5)},r.ansi16.rgb=function(a){let i=a%10;if(i===0||i===7)return a>50&&(i+=3.5),i=i/10.5*255,[i,i,i];const s=(~~(a>50)+1)*.5,l=(i&1)*s*255,o=(i>>1&1)*s*255,u=(i>>2&1)*s*255;return[l,o,u]},r.ansi256.rgb=function(a){if(a>=232){const u=(a-232)*10+8;return[u,u,u]}a-=16;let i;const s=Math.floor(a/36)/5*255,l=Math.floor((i=a%36)/6)/5*255,o=i%6/5*255;return[s,l,o]},r.rgb.hex=function(a){const s=(((Math.round(a[0])&255)<<16)+((Math.round(a[1])&255)<<8)+(Math.round(a[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},r.hex.rgb=function(a){const i=a.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!i)return[0,0,0];let s=i[0];i[0].length===3&&(s=s.split("").map(c=>c+c).join(""));const l=parseInt(s,16),o=l>>16&255,u=l>>8&255,m=l&255;return[o,u,m]},r.rgb.hcg=function(a){const i=a[0]/255,s=a[1]/255,l=a[2]/255,o=Math.max(Math.max(i,s),l),u=Math.min(Math.min(i,s),l),m=o-u;let c,f;return m<1?c=u/(1-m):c=0,m<=0?f=0:o===i?f=(s-l)/m%6:o===s?f=2+(l-i)/m:f=4+(i-s)/m,f/=6,f%=1,[f*360,m*100,c*100]},r.hsl.hcg=function(a){const i=a[1]/100,s=a[2]/100,l=s<.5?2*i*s:2*i*(1-s);let o=0;return l<1&&(o=(s-.5*l)/(1-l)),[a[0],l*100,o*100]},r.hsv.hcg=function(a){const i=a[1]/100,s=a[2]/100,l=i*s;let o=0;return l<1&&(o=(s-l)/(1-l)),[a[0],l*100,o*100]},r.hcg.rgb=function(a){const i=a[0]/360,s=a[1]/100,l=a[2]/100;if(s===0)return[l*255,l*255,l*255];const o=[0,0,0],u=i%1*6,m=u%1,c=1-m;let f=0;switch(Math.floor(u)){case 0:o[0]=1,o[1]=m,o[2]=0;break;case 1:o[0]=c,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=m;break;case 3:o[0]=0,o[1]=c,o[2]=1;break;case 4:o[0]=m,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=c}return f=(1-s)*l,[(s*o[0]+f)*255,(s*o[1]+f)*255,(s*o[2]+f)*255]},r.hcg.hsv=function(a){const i=a[1]/100,s=a[2]/100,l=i+s*(1-i);let o=0;return l>0&&(o=i/l),[a[0],o*100,l*100]},r.hcg.hsl=function(a){const i=a[1]/100,l=a[2]/100*(1-i)+.5*i;let o=0;return l>0&&l<.5?o=i/(2*l):l>=.5&&l<1&&(o=i/(2*(1-l))),[a[0],o*100,l*100]},r.hcg.hwb=function(a){const i=a[1]/100,s=a[2]/100,l=i+s*(1-i);return[a[0],(l-i)*100,(1-l)*100]},r.hwb.hcg=function(a){const i=a[1]/100,l=1-a[2]/100,o=l-i;let u=0;return o<1&&(u=(l-o)/(1-o)),[a[0],o*100,u*100]},r.apple.rgb=function(a){return[a[0]/65535*255,a[1]/65535*255,a[2]/65535*255]},r.rgb.apple=function(a){return[a[0]/255*65535,a[1]/255*65535,a[2]/255*65535]},r.gray.rgb=function(a){return[a[0]/100*255,a[0]/100*255,a[0]/100*255]},r.gray.hsl=function(a){return[0,0,a[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(a){return[0,100,a[0]]},r.gray.cmyk=function(a){return[0,0,0,a[0]]},r.gray.lab=function(a){return[a[0],0,0]},r.gray.hex=function(a){const i=Math.round(a[0]/100*255)&255,l=((i<<16)+(i<<8)+i).toString(16).toUpperCase();return"000000".substring(l.length)+l},r.rgb.gray=function(a){return[(a[0]+a[1]+a[2])/3/255*100]},ED}var TD,T5;function _Z(){if(T5)return TD;T5=1;const e=V6();function t(){const i={},s=Object.keys(e);for(let l=s.length,o=0;o1&&(o=u),s(o))};return"conversion"in s&&(l.conversion=s.conversion),l}function i(s){const l=function(...o){const u=o[0];if(u==null)return u;u.length>1&&(o=u);const m=s(o);if(typeof m=="object")for(let c=m.length,f=0;f{r[s]={},Object.defineProperty(r[s],"channels",{value:e[s].channels}),Object.defineProperty(r[s],"labels",{value:e[s].labels});const l=t(s);Object.keys(l).forEach(u=>{const m=l[u];r[s][u]=i(m),r[s][u].raw=a(m)})}),AD=r,AD}(function(e){const t=(m,c)=>(...f)=>`\x1B[${m(...f)+c}m`,r=(m,c)=>(...f)=>{const p=m(...f);return`\x1B[${38+c};5;${p}m`},n=(m,c)=>(...f)=>{const p=m(...f);return`\x1B[${38+c};2;${p[0]};${p[1]};${p[2]}m`},a=m=>m,i=(m,c,f)=>[m,c,f],s=(m,c,f)=>{Object.defineProperty(m,c,{get:()=>{const p=f();return Object.defineProperty(m,c,{value:p,enumerable:!0,configurable:!0}),p},enumerable:!0,configurable:!0})};let l;const o=(m,c,f,p)=>{l===void 0&&(l=gZ());const h=p?10:0,d={};for(const[_,y]of Object.entries(l)){const g=_==="ansi16"?"ansi":_;_===c?d[g]=m(f,h):typeof y=="object"&&(d[g]=m(y[c],h))}return d};function u(){const m=new Map,c={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};c.color.gray=c.color.blackBright,c.bgColor.bgGray=c.bgColor.bgBlackBright,c.color.grey=c.color.blackBright,c.bgColor.bgGrey=c.bgColor.bgBlackBright;for(const[f,p]of Object.entries(c)){for(const[h,d]of Object.entries(p))c[h]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},p[h]=c[h],m.set(d[0],d[1]);Object.defineProperty(c,f,{value:p,enumerable:!1})}return Object.defineProperty(c,"codes",{value:m,enumerable:!1}),c.color.close="\x1B[39m",c.bgColor.close="\x1B[49m",s(c.color,"ansi",()=>o(t,"ansi16",a,!1)),s(c.color,"ansi256",()=>o(r,"ansi256",a,!1)),s(c.color,"ansi16m",()=>o(n,"rgb",i,!1)),s(c.bgColor,"ansi",()=>o(t,"ansi16",a,!0)),s(c.bgColor,"ansi256",()=>o(r,"ansi256",a,!0)),s(c.bgColor,"ansi16m",()=>o(n,"rgb",i,!0)),c}Object.defineProperty(e,"exports",{enumerable:!0,get:u})})(x6);var SZ={stdout:!1,stderr:!1};const vZ=(e,t,r)=>{let n=e.indexOf(t);if(n===-1)return e;const a=t.length;let i=0,s="";do s+=e.substr(i,n-i)+t+r,i=n+a,n=e.indexOf(t,i);while(n!==-1);return s+=e.substr(i),s},yZ=(e,t,r,n)=>{let a=0,i="";do{const s=e[n-1]==="\r";i+=e.substr(a,(s?n-1:n)-a)+t+(s?`\r -`:` -`)+r,a=n+1,n=e.indexOf(` -`,a)}while(n!==-1);return i+=e.substr(a),i};var MZ={stringReplaceAll:vZ,stringEncaseCRLFWithFirstIndex:yZ},kD,k5;function DZ(){if(k5)return kD;k5=1;const e=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,t=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,r=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,n=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,a=new Map([["n",` -`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function i(u){const m=u[0]==="u",c=u[1]==="{";return m&&!c&&u.length===5||u[0]==="x"&&u.length===3?String.fromCharCode(parseInt(u.slice(1),16)):m&&c?String.fromCodePoint(parseInt(u.slice(2,-1),16)):a.get(u)||u}function s(u,m){const c=[],f=m.trim().split(/\s*,\s*/g);let p;for(const h of f){const d=Number(h);if(!Number.isNaN(d))c.push(d);else if(p=h.match(r))c.push(p[2].replace(n,(_,y,g)=>y?i(y):g));else throw new Error(`Invalid Chalk template style argument: ${h} (in style '${u}')`)}return c}function l(u){t.lastIndex=0;const m=[];let c;for(;(c=t.exec(u))!==null;){const f=c[1];if(c[2]){const p=s(f,c[2]);m.push([f].concat(p))}else m.push([f])}return m}function o(u,m){const c={};for(const p of m)for(const h of p.styles)c[h[0]]=p.inverse?null:h.slice(1);let f=u;for(const[p,h]of Object.entries(c))if(!!Array.isArray(h)){if(!(p in f))throw new Error(`Unknown Chalk style: ${p}`);f=h.length>0?f[p](...h):f[p]}return f}return kD=(u,m)=>{const c=[],f=[];let p=[];if(m.replace(e,(h,d,_,y,g,S)=>{if(d)p.push(i(d));else if(y){const v=p.join("");p=[],f.push(c.length===0?v:o(u,c)(v)),c.push({inverse:_,styles:l(y)})}else if(g){if(c.length===0)throw new Error("Found extraneous } in Chalk template literal");f.push(o(u,c)(p.join(""))),p=[],c.pop()}else p.push(S)}),f.push(p.join("")),c.length>0){const h=`Chalk template literal is missing ${c.length} closing bracket${c.length===1?"":"s"} (\`}\`)`;throw new Error(h)}return f.join("")},kD}const B1=x6.exports,{stdout:JO,stderr:QO}=SZ,{stringReplaceAll:IZ,stringEncaseCRLFWithFirstIndex:OZ}=MZ,{isArray:H2}=Array,R6=["ansi","ansi","ansi256","ansi16m"],_p=Object.create(null),LZ=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=JO?JO.level:0;e.level=t.level===void 0?r:t.level};class bZ{constructor(t){return F6(t)}}const F6=e=>{const t={};return LZ(t,e),t.template=(...r)=>H6(t.template,...r),Object.setPrototypeOf(t,Cv.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=bZ,t.template};function Cv(e){return F6(e)}for(const[e,t]of Object.entries(B1))_p[e]={get(){const r=Ev(this,bC(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};_p.visible={get(){const e=Ev(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const B6=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of B6)_p[e]={get(){const{level:t}=this;return function(...r){const n=bC(B1.color[R6[t]][e](...r),B1.color.close,this._styler);return Ev(this,n,this._isEmpty)}}};for(const e of B6){const t="bg"+e[0].toUpperCase()+e.slice(1);_p[t]={get(){const{level:r}=this;return function(...n){const a=bC(B1.bgColor[R6[r]][e](...n),B1.bgColor.close,this._styler);return Ev(this,a,this._isEmpty)}}}}const CZ=Object.defineProperties(()=>{},{..._p,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),bC=(e,t,r)=>{let n,a;return r===void 0?(n=e,a=t):(n=r.openAll+e,a=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:a,parent:r}},Ev=(e,t,r)=>{const n=(...a)=>H2(a[0])&&H2(a[0].raw)?P5(n,H6(n,...a)):P5(n,a.length===1?""+a[0]:a.join(" "));return Object.setPrototypeOf(n,CZ),n._generator=e,n._styler=t,n._isEmpty=r,n},P5=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(r===void 0)return t;const{openAll:n,closeAll:a}=r;if(t.indexOf("\x1B")!==-1)for(;r!==void 0;)t=IZ(t,r.close,r.open),r=r.parent;const i=t.indexOf(` -`);return i!==-1&&(t=OZ(t,a,n,i)),n+t+a};let PD;const H6=(e,...t)=>{const[r]=t;if(!H2(r)||!H2(r.raw))return t.join(" ");const n=t.slice(1),a=[r.raw[0]];for(let i=1;i0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class BZ extends TC{constructor(){super(...arguments),this.type=Ms.CDATA}get nodeType(){return 4}}class G6 extends TC{constructor(){super(...arguments),this.type=Ms.Root}get nodeType(){return 9}}class HZ extends TC{constructor(t,r,n=[],a=t==="script"?Ms.Script:t==="style"?Ms.Style:Ms.Tag){super(n),this.name=t,this.attribs=r,this.type=a}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var r,n;return{name:t,value:this.attribs[t],namespace:(r=this["x-attribsNamespace"])===null||r===void 0?void 0:r[t],prefix:(n=this["x-attribsPrefix"])===null||n===void 0?void 0:n[t]}})}}function cr(e){return EZ(e)}function Tv(e){return e.type===Ms.CDATA}function G0(e){return e.type===Ms.Text}function AC(e){return e.type===Ms.Comment}function $Z(e){return e.type===Ms.Directive}function xh(e){return e.type===Ms.Root}function Gn(e){return Object.prototype.hasOwnProperty.call(e,"children")}function $2(e,t=!1){let r;if(G0(e))r=new j6(e.data);else if(AC(e))r=new RZ(e.data);else if(cr(e)){const n=t?UD(e.children):[],a=new HZ(e.name,{...e.attribs},n);n.forEach(i=>i.parent=a),e.namespace!=null&&(a.namespace=e.namespace),e["x-attribsNamespace"]&&(a["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(a["x-attribsPrefix"]={...e["x-attribsPrefix"]}),r=a}else if(Tv(e)){const n=t?UD(e.children):[],a=new BZ(n);n.forEach(i=>i.parent=a),r=a}else if(xh(e)){const n=t?UD(e.children):[],a=new G6(n);n.forEach(i=>i.parent=a),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),r=a}else if($Z(e)){const n=new FZ(e.name,e.data);e["x-name"]!=null&&(n["x-name"]=e["x-name"],n["x-publicId"]=e["x-publicId"],n["x-systemId"]=e["x-systemId"]),r=n}else throw new Error(`Not implemented yet: ${e.type}`);return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function UD(e){const t=e.map(r=>$2(r,!0));for(let r=1;r$\x80-\uFFFF]/g,jZ=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),GZ=String.prototype.codePointAt!=null?(e,t)=>e.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function W6(e){let t="",r=0,n;for(;(n=U5.exec(e))!==null;){const a=n.index,i=e.charCodeAt(a),s=jZ.get(i);s!==void 0?(t+=e.substring(r,a)+s,r=a+1):(t+=`${e.substring(r,a)}&#x${GZ(e,a).toString(16)};`,r=U5.lastIndex+=Number((i&64512)===55296))}return t+e.substr(r)}function z6(e,t){return function(n){let a,i=0,s="";for(;a=e.exec(n);)i!==a.index&&(s+=n.substring(i,a.index)),s+=t.get(a[0].charCodeAt(0)),i=a.index+1;return s+n.substring(i)}}const WZ=z6(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),zZ=z6(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),KZ=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),qZ=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),ZZ=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function YZ(e){return e.replace(/"/g,""")}function XZ(e,t){var r;if(!e)return;const n=((r=t.encodeEntities)!==null&&r!==void 0?r:t.decodeEntities)===!1?YZ:t.xmlMode||t.encodeEntities!=="utf8"?W6:WZ;return Object.keys(e).map(a=>{var i,s;const l=(i=e[a])!==null&&i!==void 0?i:"";return t.xmlMode==="foreign"&&(a=(s=qZ.get(a))!==null&&s!==void 0?s:a),!t.emptyAttrs&&!t.xmlMode&&l===""?a:`${a}="${n(l)}"`}).join(" ")}const N5=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function kC(e,t={}){const r="length"in e?e:[e];let n="";for(let a=0;a0&&(n+=kC(e.children,t)),(t.xmlMode||!N5.has(e.name))&&(n+=``)),n}function rY(e){return`<${e.data}>`}function sY(e,t){var r;let n=e.data||"";return((r=t.encodeEntities)!==null&&r!==void 0?r:t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&ZZ.has(e.parent.name))&&(n=t.xmlMode||t.encodeEntities!=="utf8"?W6(n):zZ(n)),n}function nY(e){return``}function aY(e){return``}function K6(e,t){return kC(e,t)}function iY(e,t){return Gn(e)?e.children.map(r=>K6(r,t)).join(""):""}function Rg(e){return Array.isArray(e)?e.map(Rg).join(""):cr(e)?e.name==="br"?` -`:Rg(e.children):Tv(e)?Rg(e.children):G0(e)?e.data:""}function Gf(e){return Array.isArray(e)?e.map(Gf).join(""):Gn(e)&&!AC(e)?Gf(e.children):G0(e)?e.data:""}function j2(e){return Array.isArray(e)?e.map(j2).join(""):Gn(e)&&(e.type===Ms.Tag||Tv(e))?j2(e.children):G0(e)?e.data:""}function Av(e){return Gn(e)?e.children:[]}function q6(e){return e.parent||null}function Z6(e){const t=q6(e);if(t!=null)return Av(t);const r=[e];let{prev:n,next:a}=e;for(;n!=null;)r.unshift(n),{prev:n}=n;for(;a!=null;)r.push(a),{next:a}=a;return r}function lY(e,t){var r;return(r=e.attribs)===null||r===void 0?void 0:r[t]}function oY(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}function uY(e){return e.name}function PC(e){let{next:t}=e;for(;t!==null&&!cr(t);)({next:t}=t);return t}function UC(e){let{prev:t}=e;for(;t!==null&&!cr(t);)({prev:t}=t);return t}function oc(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}function mY(e,t){const r=t.prev=e.prev;r&&(r.next=t);const n=t.next=e.next;n&&(n.prev=t);const a=t.parent=e.parent;if(a){const i=a.children;i[i.lastIndexOf(e)]=t,e.parent=null}}function cY(e,t){if(oc(t),t.next=null,t.parent=e,e.children.push(t)>1){const r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null}function fY(e,t){oc(t);const{parent:r}=e,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){const a=r.children;a.splice(a.lastIndexOf(n),0,t)}}else r&&r.children.push(t)}function pY(e,t){if(oc(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){const r=e.children[1];r.prev=t,t.next=r}else t.next=null}function dY(e,t){oc(t);const{parent:r}=e;if(r){const n=r.children;n.splice(n.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}function kv(e,t,r=!0,n=1/0){return Array.isArray(t)||(t=[t]),Pv(e,t,r,n)}function Pv(e,t,r,n){const a=[];for(const i of t){if(e(i)&&(a.push(i),--n<=0))break;if(r&&Gn(i)&&i.children.length>0){const s=Pv(e,i.children,r,n);if(a.push(...s),n-=s.length,n<=0)break}}return a}function hY(e,t){return t.find(e)}function NC(e,t,r=!0){let n=null;for(let a=0;a0&&(n=NC(e,i.children,!0));else continue}return n}function Y6(e,t){return t.some(r=>cr(r)&&(e(r)||r.children.length>0&&Y6(e,r.children)))}function _Y(e,t){var r;const n=[],a=t.filter(cr);let i;for(;i=a.shift();){const s=(r=i.children)===null||r===void 0?void 0:r.filter(cr);s&&s.length>0&&a.unshift(...s),e(i)&&n.push(i)}return n}const G2={tag_name(e){return typeof e=="function"?t=>cr(t)&&e(t.name):e==="*"?cr:t=>cr(t)&&t.name===e},tag_type(e){return typeof e=="function"?t=>e(t.type):t=>t.type===e},tag_contains(e){return typeof e=="function"?t=>G0(t)&&e(t.data):t=>G0(t)&&t.data===e}};function X6(e,t){return typeof t=="function"?r=>cr(r)&&t(r.attribs[e]):r=>cr(r)&&r.attribs[e]===t}function gY(e,t){return r=>e(r)||t(r)}function J6(e){const t=Object.keys(e).map(r=>{const n=e[r];return Object.prototype.hasOwnProperty.call(G2,r)?G2[r](n):X6(r,n)});return t.length===0?null:t.reduce(gY)}function SY(e,t){const r=J6(e);return r?r(t):!0}function vY(e,t,r,n=1/0){const a=J6(e);return a?kv(a,t,r,n):[]}function yY(e,t,r=!0){return Array.isArray(t)||(t=[t]),NC(X6("id",e),t,r)}function gp(e,t,r=!0,n=1/0){return kv(G2.tag_name(e),t,r,n)}function MY(e,t,r=!0,n=1/0){return kv(G2.tag_type(e),t,r,n)}function DY(e){let t=e.length;for(;--t>=0;){const r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0){e.splice(t,1);continue}for(let n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e}var $i;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})($i||($i={}));function Q6(e,t){const r=[],n=[];if(e===t)return 0;let a=Gn(e)?e:e.parent;for(;a;)r.unshift(a),a=a.parent;for(a=Gn(t)?t:t.parent;a;)n.unshift(a),a=a.parent;const i=Math.min(r.length,n.length);let s=0;for(;so.indexOf(m)?l===t?$i.FOLLOWING|$i.CONTAINED_BY:$i.FOLLOWING:l===e?$i.PRECEDING|$i.CONTAINS:$i.PRECEDING}function Sp(e){return e=e.filter((t,r,n)=>!n.includes(t,r+1)),e.sort((t,r)=>{const n=Q6(t,r);return n&$i.PRECEDING?-1:n&$i.FOLLOWING?1:0}),e}function IY(e){const t=W2(EY,e);return t?t.name==="feed"?OY(t):LY(t):null}function OY(e){var t;const r=e.children,n={type:"atom",items:gp("entry",r).map(s=>{var l;const{children:o}=s,u={media:e9(o)};Ga(u,"id","id",o),Ga(u,"title","title",o);const m=(l=W2("link",o))===null||l===void 0?void 0:l.attribs.href;m&&(u.link=m);const c=S0("summary",o)||S0("content",o);c&&(u.description=c);const f=S0("updated",o);return f&&(u.pubDate=new Date(f)),u})};Ga(n,"id","id",r),Ga(n,"title","title",r);const a=(t=W2("link",r))===null||t===void 0?void 0:t.attribs.href;a&&(n.link=a),Ga(n,"description","subtitle",r);const i=S0("updated",r);return i&&(n.updated=new Date(i)),Ga(n,"author","email",r,!0),n}function LY(e){var t,r;const n=(r=(t=W2("channel",e.children))===null||t===void 0?void 0:t.children)!==null&&r!==void 0?r:[],a={type:e.name.substr(0,3),id:"",items:gp("item",e.children).map(s=>{const{children:l}=s,o={media:e9(l)};Ga(o,"id","guid",l),Ga(o,"title","title",l),Ga(o,"link","link",l),Ga(o,"description","description",l);const u=S0("pubDate",l);return u&&(o.pubDate=new Date(u)),o})};Ga(a,"title","title",n),Ga(a,"link","link",n),Ga(a,"description","description",n);const i=S0("lastBuildDate",n);return i&&(a.updated=new Date(i)),Ga(a,"author","managingEditor",n,!0),a}const bY=["url","type","lang"],CY=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function e9(e){return gp("media:content",e).map(t=>{const{attribs:r}=t,n={medium:r.medium,isDefault:!!r.isDefault};for(const a of bY)r[a]&&(n[a]=r[a]);for(const a of CY)r[a]&&(n[a]=parseInt(r[a],10));return r.expression&&(n.expression=r.expression),n})}function W2(e,t){return gp(e,t,!0,1)[0]}function S0(e,t,r=!1){return Gf(gp(e,t,r,1)).trim()}function Ga(e,t,r,n,a=!1){const i=S0(r,n,a);i&&(e[t]=i)}function EY(e){return e==="rss"||e==="feed"||e==="rdf:RDF"}const Uv=Object.freeze(Object.defineProperty({__proto__:null,isTag:cr,isCDATA:Tv,isText:G0,isComment:AC,isDocument:xh,hasChildren:Gn,getOuterHTML:K6,getInnerHTML:iY,getText:Rg,textContent:Gf,innerText:j2,getChildren:Av,getParent:q6,getSiblings:Z6,getAttributeValue:lY,hasAttrib:oY,getName:uY,nextElementSibling:PC,prevElementSibling:UC,removeElement:oc,replaceElement:mY,appendChild:cY,append:fY,prependChild:pY,prepend:dY,filter:kv,find:Pv,findOneChild:hY,findOne:NC,existsOne:Y6,findAll:_Y,testElement:SY,getElements:vY,getElementById:yY,getElementsByTagName:gp,getElementsByTagType:MY,removeSubsets:DY,get DocumentPosition(){return $i},compareDocumentPosition:Q6,uniqueSort:Sp,getFeed:IY},Symbol.toStringTag,{value:"Module"}));function z2(e){const t=e||(this?this.root():[]);let r="";for(let n=0;nr.toUpperCase())}function kY(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()}function en(e,t){const r=e.length;for(let n=0;n$2(n,!0)):[$2(e,!0)],r=new G6(t);return t.forEach(n=>{n.parent=r}),t}var u0;(function(e){e[e.LowerA=97]="LowerA",e[e.LowerZ=122]="LowerZ",e[e.UpperA=65]="UpperA",e[e.UpperZ=90]="UpperZ",e[e.Exclamation=33]="Exclamation"})(u0||(u0={}));function PY(e){const t=e.indexOf("<");if(t<0||t>e.length-3)return!1;const r=e.charCodeAt(t+1);return(r>=u0.LowerA&&r<=u0.LowerZ||r>=u0.UpperA&&r<=u0.UpperZ||r===u0.Exclamation)&&e.includes(">",t+2)}const vf=Object.prototype.hasOwnProperty,H1=/\s+/,ND="data-",w5={null:null,true:!0,false:!1},wC=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,UY=/^{[^]*}$|^\[[^]*]$/;function K2(e,t,r){var n;if(!(!e||!cr(e))){if((n=e.attribs)!==null&&n!==void 0||(e.attribs={}),!t)return e.attribs;if(vf.call(e.attribs,t))return!r&&wC.test(t)?t:e.attribs[t];if(e.name==="option"&&t==="value")return z2(e.children);if(e.name==="input"&&(e.attribs.type==="radio"||e.attribs.type==="checkbox")&&t==="value")return"on"}}function yf(e,t,r){r===null?t9(e,t):e.attribs[t]=`${r}`}function NY(e,t){if(typeof e=="object"||t!==void 0){if(typeof t=="function"){if(typeof e!="string")throw new Error("Bad combination of arguments.");return en(this,(r,n)=>{cr(r)&&yf(r,e,t.call(r,n,r.attribs[e]))})}return en(this,r=>{!cr(r)||(typeof e=="object"?Object.keys(e).forEach(n=>{const a=e[n];yf(r,n,a)}):yf(r,e,t))})}return arguments.length>1?this:K2(this[0],e,this.options.xmlMode)}function x5(e,t,r){return t in e?e[t]:!r&&wC.test(t)?K2(e,t,!1)!==void 0:K2(e,t,r)}function wD(e,t,r,n){t in e?e[t]=r:yf(e,t,!n&&wC.test(t)?r?"":null:`${r}`)}function wY(e,t){var r;if(typeof e=="string"&&t===void 0){const n=this[0];if(!n||!cr(n))return;switch(e){case"style":{const a=this.css(),i=Object.keys(a);return i.forEach((s,l)=>{a[l]=s}),a.length=i.length,a}case"tagName":case"nodeName":return n.name.toUpperCase();case"href":case"src":{const a=(r=n.attribs)===null||r===void 0?void 0:r[e];return typeof URL<"u"&&(e==="href"&&(n.tagName==="a"||n.name==="link")||e==="src"&&(n.tagName==="img"||n.tagName==="iframe"||n.tagName==="audio"||n.tagName==="video"||n.tagName==="source"))&&a!==void 0&&this.options.baseURI?new URL(a,this.options.baseURI).href:a}case"innerText":return j2(n);case"textContent":return Gf(n);case"outerHTML":return this.clone().wrap("").parent().html();case"innerHTML":return this.html();default:return x5(n,e,this.options.xmlMode)}}if(typeof e=="object"||t!==void 0){if(typeof t=="function"){if(typeof e=="object")throw new Error("Bad combination of arguments.");return en(this,(n,a)=>{cr(n)&&wD(n,e,t.call(n,a,x5(n,e,this.options.xmlMode)),this.options.xmlMode)})}return en(this,n=>{!cr(n)||(typeof e=="object"?Object.keys(e).forEach(a=>{const i=e[a];wD(n,a,i,this.options.xmlMode)}):wD(n,e,t,this.options.xmlMode))})}}function V5(e,t,r){var n;const a=e;(n=a.data)!==null&&n!==void 0||(a.data={}),typeof t=="object"?Object.assign(a.data,t):typeof t=="string"&&r!==void 0&&(a.data[t]=r)}function R5(e,t){let r,n,a;t==null?(r=Object.keys(e.attribs).filter(i=>i.startsWith(ND)),n=r.map(i=>AY(i.slice(ND.length)))):(r=[ND+kY(t)],n=[t]);for(let i=0;i{cr(i)&&(typeof e=="object"?V5(i,e):V5(i,e,t))}),this):vf.call(a.data,e)?a.data[e]:R5(a,e):R5(a)}function VY(e){const t=arguments.length===0,r=this[0];if(!r||!cr(r))return t?void 0:this;switch(r.name){case"textarea":return this.text(e);case"select":{const n=this.find("option:selected");if(!t){if(this.attr("multiple")==null&&typeof e=="object")return this;this.find("option").removeAttr("selected");const a=typeof e!="object"?[e]:e;for(let i=0;iz2(a.children)):n.attr("value")}case"input":case"option":return t?this.attr("value"):this.attr("value",e)}}function t9(e,t){!e.attribs||!vf.call(e.attribs,t)||delete e.attribs[t]}function q2(e){return e?e.trim().split(H1):[]}function RY(e){const t=q2(e);for(let r=0;r{cr(n)&&t9(n,t[r])});return this}function FY(e){return this.toArray().some(t=>{const r=cr(t)&&t.attribs.class;let n=-1;if(r&&e.length)for(;(n=r.indexOf(e,n+1))>-1;){const a=n+e.length;if((n===0||H1.test(r[n-1]))&&(a===r.length||H1.test(r[a])))return!0}return!1})}function r9(e){if(typeof e=="function")return en(this,(n,a)=>{if(cr(n)){const i=n.attribs.class||"";r9.call([n],e.call(n,a,i))}});if(!e||typeof e!="string")return this;const t=e.split(H1),r=this.length;for(let n=0;n{cr(a)&&s9.call([a],e.call(a,i,a.attribs.class||""))});const t=q2(e),r=t.length,n=arguments.length===0;return en(this,a=>{if(!!cr(a))if(n)a.attribs.class="";else{const i=q2(a.attribs.class);let s=!1;for(let l=0;l=0&&(i.splice(o,1),s=!0,l--)}s&&(a.attribs.class=i.join(" "))}})}function n9(e,t){if(typeof e=="function")return en(this,(s,l)=>{cr(s)&&n9.call([s],e.call(s,l,s.attribs.class||"",t),t)});if(!e||typeof e!="string")return this;const r=e.split(H1),n=r.length,a=typeof t=="boolean"?t?1:-1:0,i=this.length;for(let s=0;s=0&&m<0?o.push(r[u]):a<=0&&m>=0&&o.splice(m,1)}l.attribs.class=o.join(" ")}return this}const BY=Object.freeze(Object.defineProperty({__proto__:null,attr:NY,prop:wY,data:xY,val:VY,removeAttr:RY,hasClass:FY,addClass:r9,removeClass:s9,toggleClass:n9},Symbol.toStringTag,{value:"Module"}));var rr;(function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"})(rr||(rr={}));var An;(function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"})(An||(An={}));const F5=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,HY=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,$Y=new Map([[126,An.Element],[94,An.Start],[36,An.End],[42,An.Any],[33,An.Not],[124,An.Hyphen]]),jY=new Set(["has","not","matches","is","where","host","host-context"]);function Bd(e){switch(e.type){case rr.Adjacent:case rr.Child:case rr.Descendant:case rr.Parent:case rr.Sibling:case rr.ColumnCombinator:return!0;default:return!1}}const GY=new Set(["contains","icontains"]);function WY(e,t,r){const n=parseInt(t,16)-65536;return n!==n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320)}function zp(e){return e.replace(HY,WY)}function xD(e){return e===39||e===34}function B5(e){return e===32||e===9||e===10||e===12||e===13}function Nv(e){const t=[],r=a9(t,`${e}`,0);if(r0&&r0&&Bd(n[n.length-1]))throw new Error("Did not expect successive traversals.")}function u(f){if(n.length>0&&n[n.length-1].type===rr.Descendant){n[n.length-1].type=f;return}o(),n.push({type:f})}function m(f,p){n.push({type:rr.Attribute,name:f,action:p,value:a(1),namespace:null,ignoreCase:"quirks"})}function c(){if(n.length&&n[n.length-1].type===rr.Descendant&&n.pop(),n.length===0)throw new Error("Empty sub-selector");e.push(n)}if(i(0),t.length===r)return r;e:for(;r=0&&n>=1)):e.type===rr.Pseudo&&(e.data?e.name==="has"||e.name==="contains"?n=0:Array.isArray(e.data)?(n=Math.min(...e.data.map(a=>Math.min(...a.map(l9)))),n<0&&(n=0)):n=2:n=3),n}const qY=/[-[\]{}()*+?.,\\^$|#\s]/g;function H5(e){return e.replace(qY,"\\$&")}const ZY=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function jm(e,t){return typeof e.ignoreCase=="boolean"?e.ignoreCase:e.ignoreCase==="quirks"?!!t.quirksMode:!t.xmlMode&&ZY.has(e.name)}const YY={equals(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;return jm(t,r)?(i=i.toLowerCase(),s=>{const l=n.getAttributeValue(s,a);return l!=null&&l.length===i.length&&l.toLowerCase()===i&&e(s)}):s=>n.getAttributeValue(s,a)===i&&e(s)},hyphen(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;const s=i.length;return jm(t,r)?(i=i.toLowerCase(),function(o){const u=n.getAttributeValue(o,a);return u!=null&&(u.length===s||u.charAt(s)==="-")&&u.substr(0,s).toLowerCase()===i&&e(o)}):function(o){const u=n.getAttributeValue(o,a);return u!=null&&(u.length===s||u.charAt(s)==="-")&&u.substr(0,s)===i&&e(o)}},element(e,t,r){const{adapter:n}=r,{name:a,value:i}=t;if(/\s/.test(i))return gr.falseFunc;const s=new RegExp(`(?:^|\\s)${H5(i)}(?:$|\\s)`,jm(t,r)?"i":"");return function(o){const u=n.getAttributeValue(o,a);return u!=null&&u.length>=i.length&&s.test(u)&&e(o)}},exists(e,{name:t},{adapter:r}){return n=>r.hasAttrib(n,t)&&e(n)},start(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;const s=i.length;return s===0?gr.falseFunc:jm(t,r)?(i=i.toLowerCase(),l=>{const o=n.getAttributeValue(l,a);return o!=null&&o.length>=s&&o.substr(0,s).toLowerCase()===i&&e(l)}):l=>{var o;return!!(!((o=n.getAttributeValue(l,a))===null||o===void 0)&&o.startsWith(i))&&e(l)}},end(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;const s=-i.length;return s===0?gr.falseFunc:jm(t,r)?(i=i.toLowerCase(),l=>{var o;return((o=n.getAttributeValue(l,a))===null||o===void 0?void 0:o.substr(s).toLowerCase())===i&&e(l)}):l=>{var o;return!!(!((o=n.getAttributeValue(l,a))===null||o===void 0)&&o.endsWith(i))&&e(l)}},any(e,t,r){const{adapter:n}=r,{name:a,value:i}=t;if(i==="")return gr.falseFunc;if(jm(t,r)){const s=new RegExp(H5(i),"i");return function(o){const u=n.getAttributeValue(o,a);return u!=null&&u.length>=i.length&&s.test(u)&&e(o)}}return s=>{var l;return!!(!((l=n.getAttributeValue(s,a))===null||l===void 0)&&l.includes(i))&&e(s)}},not(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;return i===""?s=>!!n.getAttributeValue(s,a)&&e(s):jm(t,r)?(i=i.toLowerCase(),s=>{const l=n.getAttributeValue(s,a);return(l==null||l.length!==i.length||l.toLowerCase()!==i)&&e(s)}):s=>n.getAttributeValue(s,a)!==i&&e(s)}},XY=new Set([9,10,12,13,32]),$5="0".charCodeAt(0),JY="9".charCodeAt(0);function QY(e){if(e=e.trim().toLowerCase(),e==="even")return[2,0];if(e==="odd")return[2,1];let t=0,r=0,n=i(),a=s();if(t=$5&&e.charCodeAt(t)<=JY;)u=u*10+(e.charCodeAt(t)-$5),t++;return t===o?null:u}function l(){for(;ti<=r;if(t===0)return i=>i===r;if(t===1)return r<0?gr.trueFunc:i=>i>=r;const n=Math.abs(t),a=(r%n+n)%n;return t>1?i=>i>=r&&i%n===a:i=>i<=r&&i%n===a}function K_(e){return eX(QY(e))}function q_(e,t){return r=>{const n=t.getParent(r);return n!=null&&t.isTag(n)&&e(r)}}const tL={contains(e,t,{adapter:r}){return function(a){return e(a)&&r.getText(a).includes(t)}},icontains(e,t,{adapter:r}){const n=t.toLowerCase();return function(i){return e(i)&&r.getText(i).toLowerCase().includes(n)}},"nth-child"(e,t,{adapter:r,equals:n}){const a=K_(t);return a===gr.falseFunc?gr.falseFunc:a===gr.trueFunc?q_(e,r):function(s){const l=r.getSiblings(s);let o=0;for(let u=0;u=0&&!n(s,l[u]);u--)r.isTag(l[u])&&o++;return a(o)&&e(s)}},"nth-of-type"(e,t,{adapter:r,equals:n}){const a=K_(t);return a===gr.falseFunc?gr.falseFunc:a===gr.trueFunc?q_(e,r):function(s){const l=r.getSiblings(s);let o=0;for(let u=0;u=0;u--){const m=l[u];if(n(s,m))break;r.isTag(m)&&r.getName(m)===r.getName(s)&&o++}return a(o)&&e(s)}},root(e,t,{adapter:r}){return n=>{const a=r.getParent(n);return(a==null||!r.isTag(a))&&e(n)}},scope(e,t,r,n){const{equals:a}=r;return!n||n.length===0?tL.root(e,t,r):n.length===1?i=>a(n[0],i)&&e(i):i=>n.includes(i)&&e(i)},hover:VD("isHovered"),visited:VD("isVisited"),active:VD("isActive")};function VD(e){return function(r,n,{adapter:a}){const i=a[e];return typeof i!="function"?gr.falseFunc:function(l){return i(l)&&r(l)}}}const j5={empty(e,{adapter:t}){return!t.getChildren(e).some(r=>t.isTag(r)||t.getText(r)!=="")},"first-child"(e,{adapter:t,equals:r}){if(t.prevElementSibling)return t.prevElementSibling(e)==null;const n=t.getSiblings(e).find(a=>t.isTag(a));return n!=null&&r(e,n)},"last-child"(e,{adapter:t,equals:r}){const n=t.getSiblings(e);for(let a=n.length-1;a>=0;a--){if(r(e,n[a]))return!0;if(t.isTag(n[a]))break}return!1},"first-of-type"(e,{adapter:t,equals:r}){const n=t.getSiblings(e),a=t.getName(e);for(let i=0;i=0;i--){const s=n[i];if(r(e,s))return!0;if(t.isTag(s)&&t.getName(s)===a)break}return!1},"only-of-type"(e,{adapter:t,equals:r}){const n=t.getName(e);return t.getSiblings(e).every(a=>r(e,a)||!t.isTag(a)||t.getName(a)!==n)},"only-child"(e,{adapter:t,equals:r}){return t.getSiblings(e).every(n=>r(e,n)||!t.isTag(n))}};function G5(e,t,r,n){if(r===null){if(e.length>n)throw new Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===n)throw new Error(`Pseudo-class :${t} doesn't have any arguments`)}const tX={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is( - :is(button, input, select, textarea, optgroup, option)[disabled], - optgroup[disabled] > option, - fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) - )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},o9={};function rX(e,t){return e===gr.falseFunc?gr.falseFunc:r=>t.isTag(r)&&e(r)}function u9(e,t){const r=t.getSiblings(e);if(r.length<=1)return[];const n=r.indexOf(e);return n<0||n===r.length-1?[]:r.slice(n+1).filter(t.isTag)}function rL(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}const RD=(e,t,r,n,a)=>{const i=a(t,rL(r),n);return i===gr.trueFunc?e:i===gr.falseFunc?gr.falseFunc:s=>i(s)&&e(s)},FD={is:RD,matches:RD,where:RD,not(e,t,r,n,a){const i=a(t,rL(r),n);return i===gr.falseFunc?e:i===gr.trueFunc?gr.falseFunc:s=>!i(s)&&e(s)},has(e,t,r,n,a){const{adapter:i}=r,s=rL(r);s.relativeSelector=!0;const l=t.some(m=>m.some(xC))?[o9]:void 0,o=a(t,s,l);if(o===gr.falseFunc)return gr.falseFunc;const u=rX(o,i);if(l&&o!==gr.trueFunc){const{shouldTestNextSiblings:m=!1}=o;return c=>{if(!e(c))return!1;l[0]=c;const f=i.getChildren(c),p=m?[...f,...u9(c,i)]:f;return i.existsOne(u,p)}}return m=>e(m)&&i.existsOne(u,i.getChildren(m))}};function sX(e,t,r,n,a){var i;const{name:s,data:l}=t;if(Array.isArray(l)){if(!(s in FD))throw new Error(`Unknown pseudo-class :${s}(${l})`);return FD[s](e,l,r,n,a)}const o=(i=r.pseudos)===null||i===void 0?void 0:i[s],u=typeof o=="string"?o:tX[s];if(typeof u=="string"){if(l!=null)throw new Error(`Pseudo ${s} doesn't have any arguments`);const m=Nv(u);return FD.is(e,m,r,n,a)}if(typeof o=="function")return G5(o,s,l,1),m=>o(m,l)&&e(m);if(s in tL)return tL[s](e,l,r,n);if(s in j5){const m=j5[s];return G5(m,s,l,2),c=>m(c,r,l)&&e(c)}throw new Error(`Unknown pseudo-class :${s}`)}function BD(e,t){const r=t.getParent(e);return r&&t.isTag(r)?r:null}function nX(e,t,r,n,a){const{adapter:i,equals:s}=r;switch(t.type){case rr.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case rr.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case rr.Attribute:{if(t.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!r.xmlMode||r.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),YY[t.action](e,t,r)}case rr.Pseudo:return sX(e,t,r,n,a);case rr.Tag:{if(t.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:l}=t;return(!r.xmlMode||r.lowerCaseTags)&&(l=l.toLowerCase()),function(u){return i.getName(u)===l&&e(u)}}case rr.Descendant:{if(r.cacheResults===!1||typeof WeakSet>"u")return function(u){let m=u;for(;m=BD(m,i);)if(e(m))return!0;return!1};const l=new WeakSet;return function(u){let m=u;for(;m=BD(m,i);)if(!l.has(m)){if(i.isTag(m)&&e(m))return!0;l.add(m)}return!1}}case"_flexibleDescendant":return function(o){let u=o;do if(e(u))return!0;while(u=BD(u,i));return!1};case rr.Parent:return function(o){return i.getChildren(o).some(u=>i.isTag(u)&&e(u))};case rr.Child:return function(o){const u=i.getParent(o);return u!=null&&i.isTag(u)&&e(u)};case rr.Sibling:return function(o){const u=i.getSiblings(o);for(let m=0;mt.some(m9)))}const aX={type:rr.Descendant},iX={type:"_flexibleDescendant"},lX={type:rr.Pseudo,name:"scope",data:null};function oX(e,{adapter:t},r){const n=!!r?.every(a=>{const i=t.isTag(a)&&t.getParent(a);return a===o9||i&&t.isTag(i)});for(const a of e){if(!(a.length>0&&xC(a[0])&&a[0].type!==rr.Descendant))if(n&&!a.some(m9))a.unshift(aX);else continue;a.unshift(lX)}}function c9(e,t,r){var n;e.forEach(KY),r=(n=t.context)!==null&&n!==void 0?n:r;const a=Array.isArray(r),i=r&&(Array.isArray(r)?r:[r]);if(t.relativeSelector!==!1)oX(e,t,i);else if(e.some(o=>o.length>0&&xC(o[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let s=!1;const l=e.map(o=>{if(o.length>=2){const[u,m]=o;u.type!==rr.Pseudo||u.name!=="scope"||(a&&m.type===rr.Descendant?o[1]=iX:(m.type===rr.Adjacent||m.type===rr.Sibling)&&(s=!0))}return uX(o,t,i)}).reduce(mX,gr.falseFunc);return l.shouldTestNextSiblings=s,l}function uX(e,t,r){var n;return e.reduce((a,i)=>a===gr.falseFunc?gr.falseFunc:nX(a,i,t,r,c9),(n=t.rootFunc)!==null&&n!==void 0?n:gr.trueFunc)}function mX(e,t){return t===gr.falseFunc||e===gr.trueFunc?e:e===gr.falseFunc||t===gr.trueFunc?t:function(n){return e(n)||t(n)}}const f9=(e,t)=>e===t,cX={adapter:Uv,equals:f9};function fX(e){var t,r,n,a;const i=e??cX;return(t=i.adapter)!==null&&t!==void 0||(i.adapter=Uv),(r=i.equals)!==null&&r!==void 0||(i.equals=(a=(n=i.adapter)===null||n===void 0?void 0:n.equals)!==null&&a!==void 0?a:f9),i}function pX(e){return function(r,n,a){const i=fX(n);return e(r,i,a)}}const VC=pX(c9);function p9(e,t,r=!1){return r&&(e=dX(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}function dX(e,t){const r=Array.isArray(e)?e.slice(0):[e],n=r.length;for(let a=0;at.some(Z2)):!1}function _X(e,t,r){const n=t!=null?parseInt(t,10):NaN;switch(e){case"first":return 1;case"nth":case"eq":return isFinite(n)?n>=0?n+1:1/0:0;case"lt":return isFinite(n)?n>=0?Math.min(n,r):1/0:0;case"gt":return isFinite(n)?1/0:0;case"odd":return 2*r;case"even":return 2*r-1;case"last":case"not":return 1/0}}function gX(e){for(;e.parent;)e=e.parent;return e}function RC(e){const t=[],r=[];for(const n of e)n.some(Z2)?t.push(n):r.push(n);return[r,t]}const SX={type:rr.Universal,namespace:null},vX={type:rr.Pseudo,name:"scope",data:null};function d9(e,t,r={}){return h9([e],t,r)}function h9(e,t,r={}){if(typeof t=="function")return e.some(t);const[n,a]=RC(Nv(t));return n.length>0&&e.some(VC(n,r))||a.some(i=>S9(i,e,r).length>0)}function yX(e,t,r,n){const a=typeof r=="string"?parseInt(r,10):NaN;switch(e){case"first":case"lt":return t;case"last":return t.length>0?[t[t.length-1]]:t;case"nth":case"eq":return isFinite(a)&&Math.abs(a)s%2===0);case"odd":return t.filter((i,s)=>s%2===1);case"not":{const i=new Set(g9(r,t,n));return t.filter(s=>!i.has(s))}}}function _9(e,t,r={}){return g9(Nv(e),t,r)}function g9(e,t,r){if(t.length===0)return[];const[n,a]=RC(e);let i;if(n.length){const s=nL(t,n,r);if(a.length===0)return s;s.length&&(i=new Set(s))}for(let s=0;scr(m)&&!i.has(m)):t).length===0)break;const u=S9(l,t,r);if(u.length)if(i)u.forEach(m=>i.add(m));else{if(s===a.length-1)return u;i=new Set(u)}}return typeof i<"u"?i.size===t.length?t:t.filter(s=>i.has(s)):[]}function S9(e,t,r){var n;if(e.some(Bd)){const a=(n=r.root)!==null&&n!==void 0?n:gX(t[0]),i={...r,context:t,relativeSelector:!1};return e.push(vX),Y2(a,e,i,!0,t.length)}return Y2(t,e,r,!1,t.length)}function MX(e,t,r={},n=1/0){if(typeof e=="function")return v9(t,e);const[a,i]=RC(Nv(e)),s=i.map(l=>Y2(t,l,r,!0,n));return a.length&&s.push(sL(t,a,r,n)),s.length===0?[]:s.length===1?s[0]:Sp(s.reduce((l,o)=>[...l,...o]))}function Y2(e,t,r,n,a){const i=t.findIndex(Z2),s=t.slice(0,i),l=t[i],o=t.length-1===i?a:1/0,u=_X(l.name,l.data,o);if(u===0)return[];const c=(s.length===0&&!Array.isArray(e)?Av(e).filter(cr):s.length===0?(Array.isArray(e)?e:[e]).filter(cr):n||s.some(Bd)?sL(e,[s],r,u):nL(e,[s],r)).slice(0,u);let f=yX(l.name,c,l.data,r);if(f.length===0||t.length===i+1)return f;const p=t.slice(i+1),h=p.some(Bd);if(h){if(Bd(p[0])){const{type:d}=p[0];(d===rr.Sibling||d===rr.Adjacent)&&(f=p9(f,Uv,!0)),p.unshift(SX)}r={...r,relativeSelector:!1,rootFunc:d=>f.includes(d)}}else r.rootFunc&&r.rootFunc!==gr.trueFunc&&(r={...r,rootFunc:gr.trueFunc});return p.some(Z2)?Y2(f,p,r,!1,a):h?sL(f,[p],r,a):nL(f,[p],r)}function sL(e,t,r,n){const a=VC(t,r,e);return v9(e,a,n)}function v9(e,t,r=1/0){const n=p9(e,Uv,t.shouldTestNextSiblings);return Pv(a=>cr(a)&&t(a),n,!0,r)}function nL(e,t,r){const n=(Array.isArray(e)?e:[e]).filter(cr);if(n.length===0)return n;const a=VC(t,r);return a===gr.trueFunc?n:n.filter(a)}const DX=/^\s*[~+]/;function IX(e){var t;if(!e)return this._make([]);const r=this.toArray();if(typeof e!="string"){const i=uc(e)?e.toArray():[e];return this._make(i.filter(s=>r.some(l=>TY(l,s))))}const n=DX.test(e)?r:this.children().toArray(),a={context:r,root:(t=this._root)===null||t===void 0?void 0:t[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(MX(e,n,a))}function FC(e){return function(t,...r){return function(n){var a;let i=e(t,this);return n&&(i=$C(i,n,this.options.xmlMode,(a=this._root)===null||a===void 0?void 0:a[0])),this._make(this.length>1&&i.length>1?r.reduce((s,l)=>l(s),i):i)}}}const Vh=FC((e,t)=>{const r=[];for(let n=0;n{const r=[];for(let n=0;n{const s=[];return en(i,l=>{for(let o;(o=a(l))&&!r?.(o,s.length);l=o)s.push(o)}),s})(e,...t);return function(a,i){r=typeof a=="string"?l=>d9(l,a,this.options):a?Rh(a):null;const s=n.call(this,i);return r=null,s}}function vp(e){return Array.from(new Set(e))}const OX=BC(({parent:e})=>e&&!xh(e)?e:null,vp),LX=Vh(e=>{const t=[];for(;e.parent&&!xh(e.parent);)t.push(e.parent),e=e.parent;return t},Sp,e=>e.reverse()),bX=HC(({parent:e})=>e&&!xh(e)?e:null,Sp,e=>e.reverse());function CX(e){var t;const r=[];if(!e)return this._make(r);const n={xmlMode:this.options.xmlMode,root:(t=this._root)===null||t===void 0?void 0:t[0]},a=typeof e=="string"?i=>d9(i,e,n):Rh(e);return en(this,i=>{for(;i&&cr(i);){if(a(i,0)){r.includes(i)||r.push(i);break}i=i.parent}}),this._make(r)}const EX=BC(e=>PC(e)),TX=Vh(e=>{const t=[];for(;e.next;)e=e.next,cr(e)&&t.push(e);return t},vp),AX=HC(e=>PC(e),vp),kX=BC(e=>UC(e)),PX=Vh(e=>{const t=[];for(;e.prev;)e=e.prev,cr(e)&&t.push(e);return t},vp),UX=HC(e=>UC(e),vp),NX=Vh(e=>Z6(e).filter(t=>cr(t)&&t!==e),Sp),wX=Vh(e=>Av(e).filter(cr),vp);function xX(){const e=this.toArray().reduce((t,r)=>Gn(r)?t.concat(r.children):t,[]);return this._make(e)}function VX(e){let t=0;const r=this.length;for(;te.call(t,r,t):uc(e)?t=>Array.prototype.includes.call(e,t):function(t){return e===t}}function FX(e){var t;return this._make($C(this.toArray(),e,this.options.xmlMode,(t=this._root)===null||t===void 0?void 0:t[0]))}function $C(e,t,r,n){return typeof t=="string"?_9(t,e,{xmlMode:r,root:n}):e.filter(Rh(t))}function BX(e){const t=this.toArray();return typeof e=="string"?h9(t.filter(cr),e,this.options):e?t.some(Rh(e)):!1}function HX(e){let t=this.toArray();if(typeof e=="string"){const r=new Set(_9(e,t,this.options));t=t.filter(n=>!r.has(n))}else{const r=Rh(e);t=t.filter((n,a)=>!r(n,a))}return this._make(t)}function $X(e){return this.filter(typeof e=="string"?`:has(${e})`:(t,r)=>this._make(r).find(e).length>0)}function jX(){return this.length>1?this._make(this[0]):this}function GX(){return this.length>0?this._make(this[this.length-1]):this}function WX(e){var t;return e=+e,e===0&&this.length<=1?this:(e<0&&(e=this.length+e),this._make((t=this[e])!==null&&t!==void 0?t:[]))}function zX(e){return e==null?this.toArray():this[e<0?this.length+e:e]}function KX(){return Array.prototype.slice.call(this)}function qX(e){let t,r;return e==null?(t=this.parent().children(),r=this[0]):typeof e=="string"?(t=this._make(e),r=this[0]):(t=this,r=uc(e)?e[0]:e),Array.prototype.indexOf.call(t,r)}function ZX(e,t){return this._make(Array.prototype.slice.call(this,e,t))}function YX(){var e;return(e=this.prevObject)!==null&&e!==void 0?e:this._make([])}function XX(e,t){const r=this._make(e,t),n=Sp([...this.get(),...r.get()]);return this._make(n)}function JX(e){return this.prevObject?this.add(e?this.prevObject.filter(e):this.prevObject):this}const QX=Object.freeze(Object.defineProperty({__proto__:null,find:IX,parent:OX,parents:LX,parentsUntil:bX,closest:CX,next:EX,nextAll:TX,nextUntil:AX,prev:kX,prevAll:PX,prevUntil:UX,siblings:NX,children:wX,contents:xX,each:VX,map:RX,filter:FX,filterArray:$C,is:BX,not:HX,has:$X,first:jX,last:GX,eq:WX,get:zX,toArray:KX,index:qX,slice:ZX,end:YX,add:XX,addBack:JX},Symbol.toStringTag,{value:"Module"}));function Wf(e,t){const r=Array.isArray(e)?e:[e];t?t.children=r:t=null;for(let n=0;nr.concat(this._makeDomArray(n,t)),[]):typeof e=="string"?this._parse(e,this.options,!1,null).children:t?eL([e]):[e]}function y9(e){return function(...t){const r=this.length-1;return en(this,(n,a)=>{if(!Gn(n))return;const i=typeof t[0]=="function"?t[0].call(n,a,this._render(n.children)):t,s=this._makeDomArray(i,a=e.length?null:e[t+r];for(let m=0;m-1&&(f.children.splice(h,1),a===f&&t>h&&l[0]--)}c.parent=a,c.prev&&(c.prev.next=(i=c.next)!==null&&i!==void 0?i:null),c.next&&(c.next.prev=(s=c.prev)!==null&&s!==void 0?s:null),c.prev=m===0?o:n[m-1],c.next=m===n.length-1?u:n[m+1]}return o&&(o.next=n[0]),u&&(u.prev=n[n.length-1]),e.splice(...l)}function tJ(e){return(uc(e)?e:this._make(e)).append(this),this}function rJ(e){return(uc(e)?e:this._make(e)).prepend(this),this}const sJ=y9((e,t,r)=>{Pm(t,t.length,0,e,r)}),nJ=y9((e,t,r)=>{Pm(t,0,0,e,r)});function M9(e){return function(t){const r=this.length-1,n=this.parents().last();for(let a=0;a{const{parent:n}=e;if(!n)return;const a=n.children,i=a.indexOf(e);Wf([e],t),Pm(a,i,0,r,n)}),iJ=M9((e,t,r)=>{!Gn(e)||(Wf(e.children,t),Wf(r,e))});function lJ(e){return this.parent(e).not("body").each((t,r)=>{this._make(r).replaceWith(r.children)}),this}function oJ(e){const t=this[0];if(t){const r=this._make(typeof e=="function"?e.call(t,0,t):e).insertBefore(t);let n;for(let i=0;i{const{parent:a}=r;if(!Gn(r)||!a)return;const i=a.children,s=i.indexOf(r);if(s<0)return;const l=typeof e[0]=="function"?e[0].call(r,n,this._render(r.children)):e,o=this._makeDomArray(l,n{const n=this.clone().toArray(),{parent:a}=r;if(!a)return;const i=a.children,s=i.indexOf(r);s<0||(Pm(i,s+1,0,n,a),t.push(...n))}),this._make(t)}function cJ(...e){const t=this.length-1;return en(this,(r,n)=>{const{parent:a}=r;if(!Gn(r)||!a)return;const i=a.children,s=i.indexOf(r);if(s<0)return;const l=typeof e[0]=="function"?e[0].call(r,n,this._render(r.children)):e,o=this._makeDomArray(l,n{const a=this.clone().toArray(),{parent:i}=n;if(!i)return;const s=i.children,l=s.indexOf(n);l<0||(Pm(s,l,0,a,i),r.push(...a))}),this._make(r)}function pJ(e){const t=e?this.filter(e):this;return en(t,r=>{oc(r),r.prev=r.next=r.parent=null}),this}function dJ(e){return en(this,(t,r)=>{const{parent:n}=t;if(!n)return;const a=n.children,i=typeof e=="function"?e.call(t,r,t):e,s=this._makeDomArray(i);Wf(s,null);const l=a.indexOf(t);Pm(a,l,1,s,n),s.includes(t)||(t.parent=t.prev=t.next=null)})}function hJ(){return en(this,e=>{!Gn(e)||(e.children.forEach(t=>{t.next=t.prev=t.parent=null}),e.children.length=0)})}function _J(e){if(e===void 0){const t=this[0];return!t||!Gn(t)?null:this._render(t.children)}return en(this,t=>{if(!Gn(t))return;t.children.forEach(n=>{n.next=n.prev=n.parent=null});const r=uc(e)?e.toArray():this._parse(`${e}`,this.options,!1,t).children;Wf(r,t)})}function gJ(){return this._render(this)}function SJ(e){return e===void 0?z2(this):typeof e=="function"?en(this,(t,r)=>this._make(t).text(e.call(t,r,z2([t])))):en(this,t=>{if(!Gn(t))return;t.children.forEach(n=>{n.next=n.prev=n.parent=null});const r=new j6(`${e}`);Wf(r,t)})}function vJ(){return this._make(eL(this.get()))}const yJ=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:eJ,appendTo:tJ,prependTo:rJ,append:sJ,prepend:nJ,wrap:aJ,wrapInner:iJ,unwrap:lJ,wrapAll:oJ,after:uJ,insertAfter:mJ,before:cJ,insertBefore:fJ,remove:pJ,replaceWith:dJ,empty:hJ,html:_J,toString:gJ,text:SJ,clone:vJ},Symbol.toStringTag,{value:"Module"}));function MJ(e,t){if(e!=null&&t!=null||typeof e=="object"&&!Array.isArray(e))return en(this,(r,n)=>{cr(r)&&D9(r,e,t,n)});if(this.length!==0)return I9(this[0],e)}function D9(e,t,r,n){if(typeof t=="string"){const a=I9(e),i=typeof r=="function"?r.call(e,n,a[t]):r;i===""?delete a[t]:i!=null&&(a[t]=i),e.attribs.style=DJ(a)}else typeof t=="object"&&Object.keys(t).forEach((a,i)=>{D9(e,a,t[a],i)})}function I9(e,t){if(!e||!cr(e))return;const r=IJ(e.attribs.style);if(typeof t=="string")return r[t];if(Array.isArray(t)){const n={};return t.forEach(a=>{r[a]!=null&&(n[a]=r[a])}),n}return r}function DJ(e){return Object.keys(e).reduce((t,r)=>`${t}${t?" ":""}${r}: ${e[r]};`,"")}function IJ(e){if(e=(e||"").trim(),!e)return{};const t={};let r;for(const n of e.split(";")){const a=n.indexOf(":");if(a<1||a===n.length-1){const i=n.trimEnd();i.length>0&&r!==void 0&&(t[r]+=`;${i}`)}else r=n.slice(0,a).trim(),t[r]=n.slice(a+1).trim()}return t}const OJ=Object.freeze(Object.defineProperty({__proto__:null,css:MJ},Symbol.toStringTag,{value:"Module"})),W5="input,select,textarea,keygen",LJ=/%20/g,z5=/\r?\n/g;function bJ(){return this.serializeArray().map(r=>`${encodeURIComponent(r.name)}=${encodeURIComponent(r.value)}`).join("&").replace(LJ,"+")}function CJ(){return this.map((e,t)=>{const r=this._make(t);return cr(t)&&t.name==="form"?r.find(W5).toArray():r.filter(W5).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((e,t)=>{var r;const n=this._make(t),a=n.attr("name"),i=(r=n.val())!==null&&r!==void 0?r:"";return Array.isArray(i)?i.map(s=>({name:a,value:s.replace(z5,`\r -`)})):{name:a,value:i.replace(z5,`\r -`)}}).toArray()}const EJ=Object.freeze(Object.defineProperty({__proto__:null,serialize:bJ,serializeArray:CJ},Symbol.toStringTag,{value:"Module"}));class wv{constructor(t,r,n){if(this.length=0,this.options=n,this._root=r,t){for(let a=0;a=v0.maxTags&&(a._oErrorTags[1]===K5?a._oErrorTags.splice(2,1):a._oErrorTags[1]=K5),a._oErrorTags.push(i),t}static getFullInfo(t){const r={};if(!t)return r;const n=t;if(n.cause&&Object.assign(r,v0.getFullInfo(n.cause)),typeof n.info=="object"&&Object.assign(r,n.info),n._oErrorTags)for(const a of n._oErrorTags)Object.assign(r,a.info);return r}static getFullStack(t){if(!t)return"";const r=t;let n=r.stack||"(no stack)";Array.isArray(r._oErrorTags)&&r._oErrorTags.length&&(n+=` -${r._oErrorTags.map(i=>i.stack).join(` -`)}`);const a=r.cause&&v0.getFullStack(r.cause);return a&&(n+=` -caused by: -`+AJ(a)),n}}v0.maxTags=100;class TJ extends v0{}const K5={name:"TaggedError",message:"... dropped tags",stack:"TaggedError: ... dropped tags"};function AJ(e){return e.replace(/^/gm," ")}const kJ={"A&L Great Lakes Laboratory - Fort Wayne, IN":{Soil:{name:"A&L Great Lakes Laboratory - Fort Wayne, IN",type:"Soil",analytes:{Clay:{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003"},Sand:{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003"},Silt:{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003"},HCO3_P:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Sodium Bicarbonate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_045",CsvHeader:"HCO3_P"},CA_PCT:{Element:"Base Saturation - Ca",ValueUnit:"%",ExtractionMethod:"EPA 3050 Digestion Acid Recoverable",MeasurementMethod:"Calculated",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",CsvHeader:"CA_PCT"},MG_PCT:{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"MG_PCT"},K_PCT:{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"K_PCT"},NA_PCT:{Element:"Base Saturation - H",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",CsvHeader:"NA_PCT"},B:{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017",CsvHeader:"B"},BUFFER_PH:{Element:"Buffer pH",ValueUnit:"standard pH unit",ExtractionMethod:"SMP",MeasurementMethod:"H+ ISE",ModusTestID:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_009",CsvHeader:"BUFFER_PH"},CA:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:'"ICP, AAS"',UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-NH4AC.05",CsvHeader:"CA"},"Cation Exchange Capacity":{Element:"Cation Exchange Capacity",ValueUnit:"cmol/kg",ExtractionMethod:"Potassium",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_009"},CL:{Element:"Chloride",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"Titration",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CL.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_016",CsvHeader:"CL"},CU:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Hydrochloric Acid",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_CU_010",CsvHeader:"CU"},"Exchangeable Potassium Percentage":{Element:"Exchangeable Potassium Percentage",ValueUnit:"%",ExtractionMethod:"1.0 M KCl",MeasurementMethod:"Calculation",UCUM_ValueUnit:"%",ModusTestID:"S-EKP.19",ModusTestIDv2:"L_MODV2_SOIL_XKP_001"},FE:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"Hydrochloric Acid",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_FE_011",CsvHeader:"FE"},MG:{Element:"Magnesium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_MG_030",CsvHeader:"MG"},MN:{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Hydrochloric Acid",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_MN_009",CsvHeader:"MN"},OM:{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_003",CsvHeader:"OM"},P2:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 2",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_006",CsvHeader:"P2"},P1:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",CsvHeader:"P1"},K:{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:'"ICP, AAS"',UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-NH4AC.05",CsvHeader:"K"},NA:{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_NA_001",CsvHeader:"NA"},NH4:{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4-KCL.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_005",CsvHeader:"NH4"},NO4_N:{Element:"NO4_N",CsvHeader:"NO4_N"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},SO4_S:{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-S-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_S_002",CsvHeader:"SO4_S"},S:{Element:"S",CsvHeader:"S"},ZN:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"Hydrochloric Acid",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_009",CsvHeader:"ZN"}}}},"A&L Western Agricultural Labs - Modesto, CA":{Soil:{name:"A&L Western Agricultural Labs - Modesto, CA",type:"Soil",analytes:{Moisture:{Element:"Moisture",ValueUnit:"%"},"Calcium Carbonate":{Element:"Calcium Carbonate"},AL:{Element:"Aluminum",ValueUnit:"ppm",CsvHeader:"AL"},Moisture2:{Element:"Moisture",ValueUnit:"%"},B:{Element:"Boron",ValueUnit:"ppm",CsvHeader:"B"},B_SAT:{Element:"Base Saturation - B",ValueUnit:"meq/100 g",CsvHeader:"B_SAT"},BUFFER_PH:{Element:"Buffer pH",ValueUnit:"standard pH unit",ExtractionMethod:"Sikora 1",MeasurementMethod:"H+ ISE",ModusTestID:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_007",CsvHeader:"BUFFER_PH"},"C:N Ratio":{Element:"C:N Ratio",ValueUnit:"none"},CA:{Element:"Calcium",ValueUnit:"%",CsvHeader:"CA"},CA_PCT:{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"CA_PCT"},CA_SAT:{Element:"Base Saturation - Mg",ValueUnit:"meq/100 g",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"CA_SAT"},CEC:{Element:"Cation Exchange Capacity",ValueUnit:"meq/100 g",CsvHeader:"CEC"},CL:{Element:"Chloride",ValueUnit:"%",CsvHeader:"CL"},CO3:{Element:"Carbonate",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_004",CsvHeader:"CO3"},CU:{Element:"Copper",ValueUnit:"ppm",CsvHeader:"CU"},EC:{Element:"Electrical Conductivity",CsvHeader:"EC"},ENR:{Element:"Estimated Nitrogen Release",ValueUnit:"lb/ac",ExtractionMethod:"Calculation",MeasurementMethod:"Calculation",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-ENR.19",ModusTestIDv2:"L_MODV2_SOIL_ENR_001",CsvHeader:"ENR"},ESP:{Element:"Exchangeable Sodium Percentage",ValueUnit:"%",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Calculation",UCUM_ValueUnit:"%",ModusTestID:"S-ESP.19",ModusTestIDv2:"L_MODV2_SOIL_XNAP_001",CsvHeader:"ESP"},FE:{Element:"Iron",ValueUnit:"ppm",CsvHeader:"FE"},H:{Element:"Hydrogen",ValueUnit:"meq/100 g",CsvHeader:"H"},H_PCT:{Element:"Base Saturation - H",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",CsvHeader:"H_PCT"},HCO3:{Element:"Bicarbonate",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"meq/L",ModusTestID:"S-HCO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_HCO3_001",CsvHeader:"HCO3"},K:{Element:"Potassium",ValueUnit:"%",CsvHeader:"K"},K_PCT:{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"K_PCT"},EX__LIME:{Element:"Lime Recommendation",ValueUnit:"none",ExtractionMethod:"SMP",MeasurementMethod:"Calculation",UCUM_ValueUnit:"[ston_av]/[acr_us]",ModusTestID:"S-LR-SMP",ModusTestIDv2:"L_MODV2_SOIL_LREC_007",CsvHeader:"EX__LIME"},MG:{Element:"Magnesium",ValueUnit:"%",CsvHeader:"MG"},MG_PCT:{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"MG_PCT"},MG_SAT:{Element:"Base Saturation - Mg",ValueUnit:"meq/100 g",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"MG_SAT"},MN:{Element:"Manganese",ValueUnit:"ppm",CsvHeader:"MN"},MO:{Element:"Molybdenum",ValueUnit:"ppm",CsvHeader:"MO"},NA:{Element:"Sodium",ValueUnit:"%",CsvHeader:"NA"},NA_PCT:{Element:"Base Saturation - Na",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",CsvHeader:"NA_PCT"},NA_SAT:{Element:"Base Saturation - Na",ValueUnit:"meq/100 g",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",CsvHeader:"NA_SAT"},NH4:{Element:"Ammonium-Nitrogen",ValueUnit:"ppm",CsvHeader:"NH4"},NO3_N:{Element:"Nitrate-Nitrogen",ValueUnit:"ppm",CsvHeader:"NO3_N"},OM:{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"OM"},"Organic Carbon":{Element:"Organic Carbon"},Sand:{Element:"Sand",ValueUnit:"%"},SAT_PCT:{Element:"Saturation Paste %",ValueUnit:"%",ExtractionMethod:"Balance",MeasurementMethod:"Calculated",UCUM_ValueUnit:"%",ModusTestID:"S-SP%.19",ModusTestIDv2:"L_MODV2_SOIL_SS",CsvHeader:"SAT_PCT"},P1:{Element:"Phosphorus",ValueUnit:"ppm",ExtractionMethod:"Bray 1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",CsvHeader:"P1"},P2:{Element:"Phosphorus",ValueUnit:"ppm",CsvHeader:"P2"},HCO3_P:{Element:"Phosphorus",ValueUnit:"ppm",CsvHeader:"HCO3_P"},S:{Element:"Sulfur",ValueUnit:"%",CsvHeader:"S"},SAR:{Element:"Sodium Adsorption Ratio",ValueUnit:"Ratio",CsvHeader:"SAR"},"Silt+Clay":{Element:"Silt+Clay",ValueUnit:"%"},SO4_S:{Element:"Sulfate-Sulfur",ValueUnit:"ppm",CsvHeader:"SO4_S"},PH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Saturated Paste",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-SP.02",ModusTestIDv2:"L_MODV2_SOIL_PH_013",CsvHeader:"PH"},S__SALTS:{Element:"Soluble Salts",ValueUnit:"mmhos/cm",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001",CsvHeader:"S__SALTS"},TN:{Element:'"Nitrogen, Total"',CsvHeader:"TN"},ZN:{Element:"Zinc",ValueUnit:"ppm",CsvHeader:"ZN"},K_EXT:{Element:"K_EXT",ValueUnit:"ppm",CsvHeader:"K_EXT"},N:{Element:"Nitrogen",ValueUnit:"%",CsvHeader:"N"},P:{Element:"Phosphorus",ValueUnit:"%",CsvHeader:"P"},PO4_P:{Element:"Phosphate",ValueUnit:"ppm",CsvHeader:"PO4_P"}}}},"Ag Test LLC - Kittitas, WA":{Soil:{name:"Ag Test LLC - Kittitas, WA",type:"Soil",analytes:{Iron:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003"},"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"}}}},"AGQ Labs USA - Oxnard, CA":{Soil:{name:"AGQ Labs USA - Oxnard, CA",type:"Soil",analytes:{Copper:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_002"},"Electrical Conductivity":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:5.03",ModusTestIDv2:"L_MODV2_SOIL_EC_003"},Iron:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003"},Manganese:{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_002"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:2.5.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_007"},Zinc:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_002"}}}},"AgroLab, Inc. - Harrington, DE":{Soil:{name:"AgroLab, Inc. - Harrington, DE",type:"Soil",analytes:{pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"}}}},"AGVISE Laboratories - Benson, MN & Northwood, ND":{Soil:{name:"AGVISE Laboratories - Benson, MN & Northwood, ND",type:"Soil",analytes:{"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"},"Permanganate-Oxidizable Carbon (POXC)":{Element:"Permanganate-Oxidizable Carbon (POXC)",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Permanganate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-AC-KMNO4.01",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_001"},"ACE nitrogen (soil protein index)":{Element:"ACE nitrogen (soil protein index)",ValueUnit:"g/kg",ExtractionMethod:"Soil Protein",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/g",ModusTestID:"S-SP-ACE-OT",ModusTestIDv2:"L_MODV2_SOIL_ACEN_001"},"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Calcium Chloride",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_002"},pH2:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_010"},pH3:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},"Aggregate Stability":{Element:"Aggregate Stability",ValueUnit:"%",ExtractionMethod:"Incubation",MeasurementMethod:"Visual",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_002"},"Electrical Conductivity":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001"}}}},"American Agricultural Lab - Olsen's Agricultural Lab, McCook, NE":{Soil:{name:"American Agricultural Lab - Olsen's Agricultural Lab, McCook, NE",type:"Soil",analytes:{"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"},"Electrical Conductivity":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001"}}}},"BI labs":{Soil:{name:"BI labs",type:"Soil",analytes:{"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:2.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_006"},"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"},"Organic Carbon":{Element:"Organic Carbon",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)"},Antioxidants:{Element:"Antioxidants",ValueUnit:"FRAP units per 100 g Fresh weight",ExtractionMethod:"FRAP",MeasurementMethod:"Reflectance"},Brix:{Element:"Brix",MeasurementMethod:"Refraction"},Calcium:{Element:"Calcium",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"},Potassium:{Element:"Potassium",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"},Magnesium:{Element:"Magnesium",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"},Phosphorus:{Element:"Phosphorus",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"},"Polyphenols (total)":{Element:"Polyphenols (total)",ValueUnit:"mg GAE per 100 g Fresh Weight",ExtractionMethod:"Folin Ciocalteau Method",MeasurementMethod:"Reflectance"},"Protein (total)":{Element:"Protein (total)",ValueUnit:"%",ExtractionMethod:"Lowry Method",MeasurementMethod:"Reflectance"},Sulfur:{Element:"Sulfur",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"}}}},"Brookside Laboratories, Inc. - New Bremen, OH":{Soil:{name:"Brookside Laboratories, Inc. - New Bremen, OH",type:"Soil",analytes:{"Estimated Nitrogen Release":{Element:"Estimated Nitrogen Release",ValueUnit:"lb/ac",ExtractionMethod:"Calculation",MeasurementMethod:"Calculation",UCUM_ValueUnit:"[lb_av]/[acr_us]",ModusTestIDv2:"L_MODV2_SOIL_ENR_001"},"Organic Matter":{Element:"Organic Matter",CsvHeader:"Organic Matter"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestIDv2:"L_MODV2_SOIL_PH_005",CsvHeader:"pH"},"SMP Buffer":{Element:"Buffer pH",ValueUnit:"standard pH unit",ExtractionMethod:"SMP",MeasurementMethod:"H+ ISE",ModusTestIDv2:"L_MODV2_SOIL_BPH_009",CsvHeader:"SMP Buffer"},"Ca H3A":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CA_014",CsvHeader:"Ca H3A"},"Mg H3A":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_MG_015",CsvHeader:"Mg H3A"},"K H3A":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_K_019",CsvHeader:"K H3A"},"Na H3A":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_NA_009",CsvHeader:"Na H3A"},"S H3A":{Element:"Sulfur",CsvHeader:"S H3A"},"B H3A":{Element:"Boron",CsvHeader:"B H3A"},"Fe H3A":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_FE_010",CsvHeader:"Fe H3A"},"Mn H3A":{Element:"Manganese",CsvHeader:"Mn H3A"},"Cu H3A":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CU_009",CsvHeader:"Cu H3A"},"Zn H3A":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",CsvHeader:"Zn H3A"},"Al H3A":{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_AL_010",CsvHeader:"Al H3A"},"P H3A":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_P_020",CsvHeader:"P H3A"},"Soluble Salts":{Element:"Soluble Salts",CsvHeader:"Soluble Salts"},"NO3 H3A":{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",CsvHeader:"NO3 H3A"},"PO4 H3A":{Element:"Phosphate",CsvHeader:"PO4 H3A"},"one day C":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001",CsvHeader:"one day C"},WEOC:{Element:"Water Extractable Organic Carbon (WEOC)",ValueUnit:"g",ExtractionMethod:"Slurry",MeasurementMethod:"TOC Analyzer",ModusTestIDv2:"L_MODV2_SOIL_WEOC_001",CsvHeader:"WEOC"},WEN:{Element:"Water Extractable Nitrogen (WEN)",ValueUnit:"mg/kg",ExtractionMethod:"Water / Reciprocating Shaker / Centrifuge",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_WEN_001",CsvHeader:"WEN"},"NH4 H3A":{Element:"Ammonium",CsvHeader:"NH4 H3A"}}}},"Cornell Soil Health Lab":{Soil:{name:"Cornell Soil Health Lab",type:"Soil",analytes:{"Active Carbon":{Element:"Potential Oxidizable Carbon",ValueUnit:"mg/kg",ExtractionMethod:'"Permanganate, Oxidizable Carbon"',MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-POXC.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTOXC_001",CsvHeader:"Active Carbon"},"Moisture Content, Moisture Content":{Element:"Moisture Content, Moisture Content",ValueUnit:"%",ExtractionMethod:"15 Bar Moisture Tension, Oven",MeasurementMethod:"Gravimetric, Gravimetric",UCUM_ValueUnit:"%, %",ModusTestIDv2:"L_MODV2_SOIL_GWC_15BAR_001,L_MODV2_SOIL_GWC_001"},"Bulk Density":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Core Extraction",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestIDv2:"L_MODV2_SOIL_BD_003"},"Calcium Carbonate":{Element:"Calcium Carbonate",ValueUnit:"%",ExtractionMethod:"Pressure Calcimeter",MeasurementMethod:"CO2 Displacement",UCUM_ValueUnit:"%",ModusTestID:"S-CACO3.14",ModusTestIDv2:"L_MODV2_SOIL_CACO3_003"},"4-day respiration":{Element:"Electrical Conductivity",ValueUnit:"mg/g",ExtractionMethod:"CO2 Respiration",MeasurementMethod:"Conductivity",UCUM_ValueUnit:"mg/g",ModusTestIDv2:"L_MODV2_SOIL_RESP_4DAY_C_NAOH_OT",CsvHeader:"4-day respiration"},"Soluble Salts":{Element:"Soluble Salts",ValueUnit:"mmho/cm",ExtractionMethod:"5:1 Water Extraction",MeasurementMethod:"Calculated",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-SS.19"},"ACE Soil Protein Index,protein":{Element:"ACE nitrogen (soil protein index)",ValueUnit:"g/kg",ExtractionMethod:"Soil Protein",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/g",ModusTestID:"S-SP-ACE-OT",ModusTestIDv2:"L_MODV2_SOIL_ACEN_001",CsvHeader:"ACE Soil Protein Index,protein"},Aluminum:{Element:"Al (Mod Morgan)",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-Al-MMOR-OT",ModusTestIDv2:"L_MOD2_SOIL_MMOR_AL_OT",CsvHeader:"Aluminum"},Boron:{Element:"B (Mod Morgan)",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-MMOR-OT",ModusTestIDv2:"L_MOD2_SOIL_MMOR_B_OT",CsvHeader:"Boron"},Calcium:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_024",CsvHeader:"Calcium"},Copper:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-Cu-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_CU_017",CsvHeader:"Copper"},Iron:{Element:"Fe (Mod Morgan)",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-Fe-MMOR-OT",ModusTestIDv2:"L_MOD2_SOIL_MMOR_FE_OT",CsvHeader:"Iron"},"Extractable Potassium,Potassium":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_K_034",CsvHeader:"Extractable Potassium,Potassium"},Magnesium:{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_024",CsvHeader:"Magnesium"},"Minor Elements,Additional nutrients score":{Element:'"Plant nutrient suite- Mg, Fe,Mn,Z, Al,Ca,Cu,S,B", Unnamed record',ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",CsvHeader:"Minor Elements,Additional nutrients score"},Manganese:{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_MN_017",CsvHeader:"Manganese"},"Extractable Phosphorus,Phosphorus":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_036",CsvHeader:"Extractable Phosphorus,Phosphorus"},Sulfer:{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-S-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_S_028",CsvHeader:"Sulfer"},Zinc:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_ZN_018",CsvHeader:"Zinc"},"soil moisture 15bar":{Element:"Moisture Content",ValueUnit:"%",ExtractionMethod:"15 Bar Moisture Tension",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-15BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_15BAR_001",CsvHeader:"soil moisture 15bar"},"soil moisture 0.1bar":{Element:"Moisture",ValueUnit:"%",ExtractionMethod:"0.1 Bar Moisture Tension",MeasurementMethod:"Pressure Plate",UCUM_ValueUnit:"%",ModusTestID:"S-MOIST-0.1BMT-PP-OT",ModusTestIDv2:"L_MOD2_SOIL_MOIST_0.1_PP_OT",CsvHeader:"soil moisture 0.1bar"},"Organic Matter,Loss on Ignition %":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"Organic Matter,Loss on Ignition %"},"Permanganate-Oxidizable Carbon (POXC)":{Element:"Permanganate-Oxidizable Carbon (POXC)",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Permanganate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-AC-KMNO4.01",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_002"},"modeling of collected data":{Element:"modeling of collected data",ValueUnit:"g/kg",ExtractionMethod:"modeling of collected data to predict ACE protein",MeasurementMethod:"prediction of ACE protein"},"Available Water Capacity,AWC 0.1-15":{Element:"modeling of collected data",ValueUnit:"grams of water per grams of soil",ExtractionMethod:"modeling of collected data to predict AWC",MeasurementMethod:"prediction of Available Water Capacity",CsvHeader:"Available Water Capacity,AWC 0.1-15"},"Soil Organic Carbon":{Element:"Soil Organic Carbon",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-OM-CORNELL-OT",ModusTestIDv2:"L_MOD2_SOIL_OC_OT",CsvHeader:"Soil Organic Carbon"},"Soil pH":{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:2.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_006",CsvHeader:"Soil pH"},"Soil Respiration":{Element:"CO2 Respiration",ValueUnit:"mg CO2 / g dry weight soil/ 4 days",ExtractionMethod:"CO2 Respiration",MeasurementMethod:"Conductivity",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_RESP_4DAY_C_KOH_OT",CsvHeader:"Soil Respiration"},"Measured Soil Textural Class,texture":{Element:"Textural Classification",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"Gravimetric",ModusTestID:"S-TEXTURE-SS-TA-USDA-OT",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_001",CsvHeader:"Measured Soil Textural Class,texture"},"Clay.clay%":{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.11",ModusTestIDv2:"L_MODV2_SOIL_CLAY_004",CsvHeader:"Clay.clay%"},"Sand,sand%":{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SAND_001",CsvHeader:"Sand,sand%"},"Silt,silt%":{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SILT_004",CsvHeader:"Silt,silt%"},"Subsurface Hardness":{Element:"Sub-surface hardness",ValueUnit:"pounds per square inch (psi)",ExtractionMethod:"Compression pressure",MeasurementMethod:"Steady insertion in field soil",ModusTestID:"S-SSH-CORNELL-OT",CsvHeader:"Subsurface Hardness"},"Surface Hardness":{Element:"Surface Hardness",ValueUnit:"pounds per square inch (psi)",ExtractionMethod:"resistance",MeasurementMethod:"soil compaction tester (penetrometer)",CsvHeader:"Surface Hardness"},"Total C":{Element:'"Carbon, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-TC-COMB.15",ModusTestIDv2:"L_MODV2_SOIL_TC_001",CsvHeader:"Total C"},"Total Carbon:Total Nitrogen":{Element:"Total Carbon:Total Nitrogen",ValueUnit:"%",ExtractionMethod:"Dry Combustion",MeasurementMethod:"Calculation",ModusTestID:"S-TC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TCTN_001"},"Total N":{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002",CsvHeader:"Total N"},"Aggregate Stability,wet aggregate stability":{Element:"Aggregate Stability",ValueUnit:"%",ExtractionMethod:"Slaking",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-AS-S-DW-G-OT",ModusTestIDv2:"L_MOD2_SOIL_DW_G_OT",CsvHeader:"Aggregate Stability,wet aggregate stability"}}}},"Cquester Analytics":{Soil:{name:"Cquester Analytics",type:"Soil",analytes:{"Bulk density (corrected for coarse material)":{Element:"Bulk Density",ValueUnit:"g/cm3",CsvHeader:"Bulk density (corrected for coarse material)"},"Inorganic carbon":{Element:"Inorganic carbon",ValueUnit:"%",CsvHeader:"Inorganic carbon"},"Organic carbon":{Element:"Organic Carbon",ValueUnit:"%",CsvHeader:"Organic carbon"},"Total nitrogen":{Element:'"Nitrogen, Total"',ValueUnit:"%",CsvHeader:"Total nitrogen"},pH:{Element:"pH",ValueUnit:"standard pH unit",CsvHeader:"pH"},"Sand content":{Element:"Sand",ValueUnit:"%",CsvHeader:"Sand content"},"Silt content":{Element:"Silt",ValueUnit:"%",CsvHeader:"Silt content"},"Clay content":{Element:"Clay",ValueUnit:"%",CsvHeader:"Clay content"},"Dissolved organic matter mass":{Element:"Dissolved organic matter mass",ValueUnit:"%",CsvHeader:"Dissolved organic matter mass"},"Dissolved organic matter carbon":{Element:"Dissolved organic matter carbon",ValueUnit:"%",CsvHeader:"Dissolved organic matter carbon"},"Light particulate organic matter mass":{Element:"Light particulate organic matter mass",ValueUnit:"%",CsvHeader:"Light particulate organic matter mass"},"Light particulate organic matter carbon":{Element:"Light particulate organic matter carbon",ValueUnit:"%",CsvHeader:"Light particulate organic matter carbon"},"Heavy particulate organic matter mass":{Element:"Heavy particulate organic matter mass",ValueUnit:"%",CsvHeader:"Heavy particulate organic matter mass"},"Heavy particulate organic matter carbon":{Element:"Heavy particulate organic matter carbon",ValueUnit:"%",CsvHeader:"Heavy particulate organic matter carbon"},"Mineral associated organic matter mass":{Element:"Mineral associated organic matter mass",ValueUnit:"%",CsvHeader:"Mineral associated organic matter mass"},"Mineral associated organic matter carbon":{Element:"Mineral associated organic matter carbon",ValueUnit:"%",CsvHeader:"Mineral associated organic matter carbon"}}}},"Demo Lab":{Soil:{name:"Demo Lab",type:"Soil",analytes:{pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Calcium Chloride",MeasurementMethod:"H+ ISE",ModusTestIDv2:"L_MODV2_SOIL_PH_004",CsvHeader:"pH"},"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"mg/kg",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"}}}},"Kuo Testing Laboratories":{Soil:{name:"Kuo Testing Laboratories",type:"Soil",analytes:{Al_DTPA:{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"DTPA-Sorbitol",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_AL_006",CsvHeader:"Al_DTPA"},AlMeh:{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_AL_012",CsvHeader:"AlMeh"},AlSatPas:{Element:"Aluminum",ValueUnit:"mg/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/L",ModusTestIDv2:"L_MODV2_SOIL_AL_022",CsvHeader:"AlSatPas"},As_DTPA:{Element:"Arsenic",CsvHeader:"As_DTPA"},B:{Element:"Boron",CsvHeader:"B"},Ba_DTPA:{Element:"Barium",CsvHeader:"Ba_DTPA"},Be_DTPA:{Element:"Be_DTPA",CsvHeader:"Be_DTPA"},BH3A:{Element:"Boron",CsvHeader:"BH3A"},Bicarb:{Element:"Bicarbonate",CsvHeader:"Bicarb"},Biomass:{Element:"Biomass",CsvHeader:"Biomass"},BMeh:{Element:"Boron",CsvHeader:"BMeh"},BSatPas:{Element:"Boron",CsvHeader:"BSatPas"},Ca:{Element:"Calcium",CsvHeader:"Ca"},Ca_SAR:{Element:"Ca_SAR",CsvHeader:"Ca_SAR"},CaH3A:{Element:"CaH3A",CsvHeader:"CaH3A"},CaMeh:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CA_014",CsvHeader:"CaMeh"},CaSatPas:{Element:"Calcium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestIDv2:"L_MODV2_SOIL_CA_031",CsvHeader:"CaSatPas"},CCE:{Element:"CCE",CsvHeader:"CCE"},Cd_DTPA:{Element:"Cadmium",CsvHeader:"Cd_DTPA"},CEC:{Element:"Cation Exchange Capacity",CsvHeader:"CEC"},Cl:{Element:"Chloride",CsvHeader:"Cl"},Clay:{Element:"Clay",CsvHeader:"Clay"},Co_DTPA:{Element:"Cobalt",CsvHeader:"Co_DTPA"},CO2:{Element:"CO2 Respiration",CsvHeader:"CO2"},Cr_DTPA:{Element:"Chromium",CsvHeader:"Cr_DTPA"},Cu:{Element:"Copper",CsvHeader:"Cu"},CuH3A:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CU_009",CsvHeader:"CuH3A"},CuMeh:{Element:"Copper",CsvHeader:"CuMeh"},CuSatPas:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CU_022",CsvHeader:"CuSatPas"},Density:{Element:"Bulk Density",CsvHeader:"Density"},ECE:{Element:"ECE",CsvHeader:"ECE"},ecSP:{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestIDv2:"L_MODV2_SOIL_EC_004",CsvHeader:"ecSP"},Eff:{Element:"Eff",CsvHeader:"Eff"},ESP:{Element:"Exchangeable Sodium Percentage",ValueUnit:"%",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Calculation",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_XNAP_001",CsvHeader:"ESP"},Fe:{Element:"Iron",CsvHeader:"Fe"},FeH3A:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_FE_010",CsvHeader:"FeH3A"},FeMeh:{Element:"Iron",CsvHeader:"FeMeh"},FeSatPas:{Element:"Iron",ValueUnit:"mg/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/L",ModusTestIDv2:"L_MODV2_SOIL_FE_021",CsvHeader:"FeSatPas"},H2O_Na:{Element:"H2O_Na",CsvHeader:"H2O_Na"},K:{Element:"Potassium",CsvHeader:"K"},KH3A:{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_K_019",CsvHeader:"KH3A"},KMeh:{Element:"KMeh",CsvHeader:"KMeh"},KSatPas:{Element:"Potassium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestIDv2:"L_MODV2_SOIL_K_042",CsvHeader:"KSatPas"},LOI:{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"LOI"},Mg:{Element:"Magnesium",CsvHeader:"Mg"},Mg_SAR:{Element:"Magnesium",CsvHeader:"Mg_SAR"},MgH3A:{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_MG_015",CsvHeader:"MgH3A"},MgMeh:{Element:"Magnesium",CsvHeader:"MgMeh"},MgSatPas:{Element:"Magnesium",CsvHeader:"MgSatPas"},MinN:{Element:"MinN",CsvHeader:"MinN"},Mn:{Element:"Manganese",CsvHeader:"Mn"},MnH3A:{Element:"Manganese",CsvHeader:"MnH3A"},MnMeh:{Element:"Manganese",CsvHeader:"MnMeh"},MnSatPas:{Element:"Manganese",CsvHeader:"MnSatPas"},Mo_DTPA:{Element:"Molybdenum",CsvHeader:"Mo_DTPA"},Moisture:{Element:"Moisture",CsvHeader:"Moisture"},Na:{Element:"Sodium",CsvHeader:"Na"},Na_SAR:{Element:"Sodium",CsvHeader:"Na_SAR"},NaH3A:{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_NA_009",CsvHeader:"NaH3A"},NaMeh:{Element:"Sodium",CsvHeader:"NaMeh"},NaSatPas:{Element:"Sodium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestIDv2:"L_MODV2_SOIL_NA_019",CsvHeader:"NaSatPas"},NH4:{Element:"Ammonium",CsvHeader:"NH4"},Ni_DTPA:{Element:"Nickel",CsvHeader:"Ni_DTPA"},NO2:{Element:"Nitrite-Nitrogen",CsvHeader:"NO2"},NO3:{Element:"Nitrate",CsvHeader:"NO3"},OM:{Element:"Organic Matter",CsvHeader:"OM"},P_Morgan:{Element:"Phosphorus",CsvHeader:"P_Morgan"},Pb_DTPA:{Element:"Lead",CsvHeader:"Pb_DTPA"},PBic:{Element:"PBic",CsvHeader:"PBic"},PBray:{Element:"Phosphorus",CsvHeader:"PBray"},PBrayP2:{Element:"Phosphorus",CsvHeader:"PBrayP2"},pH:{Element:"pH",CsvHeader:"pH"},PH3A:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_P_020",CsvHeader:"PH3A"},phSP:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Saturated Paste",MeasurementMethod:"H+ ISE",ModusTestIDv2:"L_MODV2_SOIL_PH_013",CsvHeader:"phSP"},PMeh:{Element:"Phosphorus",CsvHeader:"PMeh"},PMN:{Element:"PMN",CsvHeader:"PMN"},PSatPas:{Element:"Phosphorus",CsvHeader:"PSatPas"},S_DTPA:{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"DTPA-Sorbitol",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_S_015",CsvHeader:"S_DTPA"},Sand:{Element:"Sand",CsvHeader:"Sand"},SAR:{Element:"Sodium Adsorption Ratio",CsvHeader:"SAR"},Sb_DTPA:{Element:"Antimony",CsvHeader:"Sb_DTPA"},Se_DTPA:{Element:"Selenium",CsvHeader:"Se_DTPA"},SH3A:{Element:"Sulfur",CsvHeader:"SH3A"},Si_DTPA:{Element:"Silicon",CsvHeader:"Si_DTPA"},Silt:{Element:"Silt",CsvHeader:"Silt"},SMeh:{Element:"Sulfur",CsvHeader:"SMeh"},SMP_Qtr:{Element:"SMP_Qtr",CsvHeader:"SMP_Qtr"},SMPBuffer:{Element:"SMPBuffer",CsvHeader:"SMPBuffer"},SO4:{Element:"Sulfate-Sulfur",CsvHeader:"SO4"},Sr_DTPA:{Element:"Strontium",CsvHeader:"Sr_DTPA"},SS:{Element:"Soluble Salts",CsvHeader:"SS"},SSatPas:{Element:"Sulfur",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"meq/L",ModusTestIDv2:"L_MODV2_SOIL_S_036",CsvHeader:"SSatPas"},Ti_DTPA:{Element:"Ti_DTPA",CsvHeader:"Ti_DTPA"},TICarb:{Element:"TICarb",CsvHeader:"TICarb"},TKN:{Element:"TKN",CsvHeader:"TKN"},TOCarb:{Element:'"Organic Carbon, Total"',CsvHeader:"TOCarb"},TotalAl:{Element:'"Aluminum, Total"',CsvHeader:"TotalAl"},TotalB:{Element:"TotalB",CsvHeader:"TotalB"},TotalC:{Element:'"Carbon, Total"',CsvHeader:"TotalC"},TotalCa:{Element:"TotalCa",CsvHeader:"TotalCa"},TotalCu:{Element:"TotalCu",CsvHeader:"TotalCu"},TotalFe:{Element:"TotalFe",CsvHeader:"TotalFe"},TotalK:{Element:'"Potassium, Total"',CsvHeader:"TotalK"},TotalMg:{Element:"TotalMg",CsvHeader:"TotalMg"},TotalMn:{Element:"TotalMn",CsvHeader:"TotalMn"},TotalMo:{Element:"TotalMo",CsvHeader:"TotalMo"},TotalNa:{Element:"TotalNa",CsvHeader:"TotalNa"},TotalP:{Element:'"Phosphorus, Total "',CsvHeader:"TotalP"},TotalS:{Element:'"Sulfur, Total"',CsvHeader:"TotalS"},TotalZn:{Element:"TotalZn",CsvHeader:"TotalZn"},TVS:{Element:"TVS",CsvHeader:"TVS"},V_DTPA:{Element:"V_DTPA",CsvHeader:"V_DTPA"},WHC:{Element:"WHC",CsvHeader:"WHC"},Zn:{Element:"Zinc",CsvHeader:"Zn"},ZnH3A:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",CsvHeader:"ZnH3A"},ZnMeh:{Element:"Zinc",CsvHeader:"ZnMeh"},ZnSatPas:{Element:"Zinc",ValueUnit:"mg/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/L",ModusTestIDv2:"L_MODV2_SOIL_ZN_024",CsvHeader:"ZnSatPas"},MNaasi:{Element:"MNaasi",CsvHeader:"MNaasi"},MNaasi_Dead:{Element:"MNaasi_Dead",CsvHeader:"MNaasi_Dead"},MHapla:{Element:"MHapla",CsvHeader:"MHapla"},MHapla_Dead:{Element:"MHapla_Dead",CsvHeader:"MHapla_Dead"},MChit:{Element:"MChit",CsvHeader:"MChit"},MChit_Dead:{Element:"MChit_Dead",CsvHeader:"MChit_Dead"},RootLesion:{Element:"RootLesion",CsvHeader:"RootLesion"},RootLesion_Dead:{Element:"RootLesion_Dead",CsvHeader:"RootLesion_Dead"},StubbyRoot:{Element:"StubbyRoot",CsvHeader:"StubbyRoot"},StubbyRoot_Dead:{Element:"StubbyRoot_Dead",CsvHeader:"StubbyRoot_Dead"},Stunt:{Element:"Stunt",CsvHeader:"Stunt"},Pin:{Element:"Pin",CsvHeader:"Pin"},Spiral:{Element:"Spiral",CsvHeader:"Spiral"},Stem:{Element:"Stem",CsvHeader:"Stem"},Ring:{Element:"Ring",CsvHeader:"Ring"},Dagger:{Element:"Dagger",CsvHeader:"Dagger"},Sheath:{Element:"Sheath",CsvHeader:"Sheath"},LarvalCyst:{Element:"LarvalCyst",CsvHeader:"LarvalCyst"},Activity:{Element:"Activity",CsvHeader:"Activity"},Total:{Element:"Total",CsvHeader:"Total"},Sikora:{Element:"Sikora",CsvHeader:"Sikora"}}}},"Logan Labs":{Soil:{name:"Logan Labs",type:"Soil",analytes:{"Base Saturation - Ca":{Element:"Base Saturation - Ca",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CABS_001"},"Base Saturation - K":{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001"},"Base Saturation - Mg":{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001"},"Base Saturation - Na":{Element:"Base Saturation - Na",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001"},Clay:{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003"},Sand:{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003"},Silt:{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003"},Aluminum:{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-AL-M3.05",ModusTestIDv2:"L_MODV2_SOIL_AL_012"},Bicarbonate:{Element:"Bicarbonate",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-HCO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_002"},Boron:{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017"},Calcium:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021"},Carbonate:{Element:"Carbonate",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_004"},Chloride:{Element:"Chloride",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Ion Selective Electrode",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CL-SP.02",ModusTestIDv2:"L_MODV2_SOIL_CL_014"},"Electrical Conductivity":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:2.03",ModusTestIDv2:"L_MODV2_SOIL_EC_002"},Copper:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CU_014"},Iron:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-M3.05",ModusTestIDv2:"L_MODV2_SOIL_FE_015"},Magnesium:{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022"},Manganese:{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015"},"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},Phosphorus:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-M3.04",ModusTestIDv2:"L_MODV2_SOIL_P_033"},Potassium:{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-M3.05",ModusTestIDv2:"L_MODV2_SOIL_K_031"},Sodium:{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_NA_013"},"Sodium Adsorption Ratio":{Element:"Sodium Adsorption Ratio",ValueUnit:"Ratio",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Calculation",ModusTestID:"S-SAR-SP.00",ModusTestIDv2:"L_MODV2_SOIL_SAR_003"},"Soluble Salts":{Element:"Soluble Salts",ValueUnit:"mg/kg",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001"},Sulfur:{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-S-M3.05",ModusTestIDv2:"L_MODV2_SOIL_S_026"},"Cation Exchange Capacity":{Element:"Cation Exchange Capacity",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_001"},Zinc:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_015"}}}},"MSU - Rabin's Methods":{Soil:{name:"MSU - Rabin's Methods",type:"Soil",analytes:{Phosphorus:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004"},"Bulk Density":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Core Extraction",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Core.00",ModusTestIDv2:"L_MODV2_SOIL_BD_003"},Calcium:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021"},"Cation Exchange Capacity":{Element:"Cation Exchange Capacity",ValueUnit:"cmol/kg",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008"},Clay:{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.11",ModusTestIDv2:"L_MODV2_SOIL_CLAY_004"},"Ammonium-Nitrogen":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4N-2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_008"},Potassium:{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-M3.05",ModusTestIDv2:"L_MODV2_SOIL_K_031"},Magnesium:{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022"},"Potential Mineralizable Nitrogen, Potentially Mineralizable Nitrogen (PMN)":{Element:"Potential Mineralizable Nitrogen, Potentially Mineralizable Nitrogen (PMN)",ValueUnit:"mg/kg",ExtractionMethod:"Permanganate Mineralizable Nitrogen, Potassium Chloride",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-PMN.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTMN_001"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},"Potential Oxidizable Carbon":{Element:"Potential Oxidizable Carbon",ValueUnit:"mg/kg",ExtractionMethod:'"Permanganate, Oxidizable Carbon"',MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-POXC.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTOXC_001"},Sand:{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SAND_004"},Silt:{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SILT_004"},"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Walkley-Black",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-WB.01.09",ModusTestIDv2:"L_MODV2_SOIL_OM_005"},'"Nitrogen, Total"':{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002"}}}},"RegenAg Labs":{Soil:{name:"RegenAg Labs",type:"Soil",analytes:{"% Clay":{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003",CsvHeader:"% Clay"},"% Sand":{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003",CsvHeader:"% Sand"},"% Silt":{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003",CsvHeader:"% Silt"},"1:1 Electrical Conductivity, mmho/cm":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001",CsvHeader:"1:1 Electrical Conductivity, mmho/cm"},"1N KCl-Ammonium,1N KCl-NH4":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4-KCL.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_005",CsvHeader:"1N KCl-Ammonium,1N KCl-NH4"},"1N KCl-Nitrate,1N KCl-NO3":{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"Cd Red/Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NO3-KCL.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_013",CsvHeader:"1N KCl-Nitrate,1N KCl-NO3"},"Gram(+):Gram(-),Gram+:Gram-":{Element:"Gram(+):Gram(-),Gram+:Gram-",CsvHeader:"Gram(+):Gram(-),Gram+:Gram-"},"Base Saturation":{Element:"Base Saturation",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001",CsvHeader:"Base Saturation"},"Bray1-Phosphate,Bray P1":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",CsvHeader:"Bray1-Phosphate,Bray P1"},"Bray2-Phosphate,Bray P2":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 2",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_006",CsvHeader:"Bray2-Phosphate,Bray P2"},"Bulk Density":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Core Extraction",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Core.00",ModusTestIDv2:"L_MODV2_SOIL_BD_003",CsvHeader:"Bulk Density"},"Bulk Density Coarse":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Coarse",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Coarse.15",ModusTestIDv2:"L_MODV2_SOIL_BD_002",CsvHeader:"Bulk Density Coarse"},"Bulk Density Fine":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Fine",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Fine.15",ModusTestIDv2:"L_MODV2_SOIL_BD_004",CsvHeader:"Bulk Density Fine"},"Bulk Density Total Dry Weight":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Scoop",MeasurementMethod:"Weight",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Scoop.00",ModusTestIDv2:"L_MODV2_SOIL_BD_005",CsvHeader:"Bulk Density Total Dry Weight"},"Calcium,% Ca Sat":{Element:"Base Saturation - Ca",ValueUnit:"%",ExtractionMethod:"EPA 3050 Digestion Acid Recoverable",MeasurementMethod:"Calculated",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",CsvHeader:"Calcium,% Ca Sat"},"Calcium,M3-% Ca Sat":{Element:"Base Saturation - Ca",ValueUnit:"%",ExtractionMethod:"EPA 3050 Digestion Acid Recoverable",MeasurementMethod:"Calculated",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",CsvHeader:"Calcium,M3-% Ca Sat"},"CaNO3-Chloride,CaNO3-Cl":{Element:"Chloride",ValueUnit:"ppm",ExtractionMethod:"Calcium Nitrate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-CL-HG.01",ModusTestIDv2:"L_MODV2_SOIL_CL_004",CsvHeader:"CaNO3-Chloride,CaNO3-Cl"},CEC:{Element:"Cation Exchange Capacity",ValueUnit:"cmol/kg",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008",CsvHeader:"CEC"},"DTPA-Cobalt,DTPA-Co":{Element:"Cobalt",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CO-DTPA.04",ModusTestIDv2:"L_MODV2_SOIL_CO_003",CsvHeader:"DTPA-Cobalt,DTPA-Co"},"DTPA-Copper,DTPA-Cu":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_002",CsvHeader:"DTPA-Copper,DTPA-Cu"},"DTPA-Iron,DTPA-Fe":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003",CsvHeader:"DTPA-Iron,DTPA-Fe"},"DTPA-Manganese,DTPA-Mn":{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_002",CsvHeader:"DTPA-Manganese,DTPA-Mn"},"DTPA-Zinc,DTPA-Zn":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_002",CsvHeader:"DTPA-Zinc,DTPA-Zn"},"Excess Lime":{Element:"Calcium Carbonate",ValueUnit:"none",ExtractionMethod:"1.0 N HCl",MeasurementMethod:"Observation",ModusTestID:"S-CACO3-1NHCL.24",CsvHeader:"Excess Lime"},"Fungi:Bacteria":{Element:"Fungi:Bacteria",CsvHeader:"Fungi:Bacteria"},"H2O-Boron,Hot H2O-B":{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Slurry",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-HW.05",ModusTestIDv2:"L_MODV2_SOIL_B_004",CsvHeader:"H2O-Boron,Hot H2O-B"},"H2O-Molybdenum,Hot H2O-Moly":{Element:"Molybdenum",ValueUnit:"mg/kg",ExtractionMethod:"Slurry",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MO-HOTH2O.04",ModusTestIDv2:"L_MODV2_SOIL_MO_022",CsvHeader:"H2O-Molybdenum,Hot H2O-Moly"},"H3A ICAP Aluminum,H3A Aluminum, ppm Al":{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-AL-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_AL_010",CsvHeader:"H3A ICAP Aluminum,H3A Aluminum, ppm Al"},"H3A Ammonium, ppm NH4-N":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_003",CsvHeader:"H3A Ammonium, ppm NH4-N"},"H3A ICAP Calcium,H3A Calcium, ppm Ca":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CA_014",CsvHeader:"H3A ICAP Calcium,H3A Calcium, ppm Ca"},"H3A ICAP Copper,H3A Copper, ppm Cu":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CU_009",CsvHeader:"H3A ICAP Copper,H3A Copper, ppm Cu"},"H3A ICAP Iron,H3A Iron, ppm Fe":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-FE-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_FE_010",CsvHeader:"H3A ICAP Iron,H3A Iron, ppm Fe"},"H3A ICAP Magnesium,H3A Magnessium, ppm Mg":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_MG_015",CsvHeader:"H3A ICAP Magnesium,H3A Magnessium, ppm Mg"},"H3A ICAP Manganese,H3A Manganese, ppm Mn":{Element:"H3A ICAP Manganese,H3A Manganese, ppm Mn",CsvHeader:"H3A ICAP Manganese,H3A Manganese, ppm Mn"},"H3A Nitrate,H3A Nitrate, ppm NO3-N":{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NO3-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",CsvHeader:"H3A Nitrate,H3A Nitrate, ppm NO3-N"},"H3A ICAP Potassium,H3A Potassium, ppm K":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_K_019",CsvHeader:"H3A ICAP Potassium,H3A Potassium, ppm K"},"H3A ICAP Sodium,H3A Sodium, ppm Na":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_NA_009",CsvHeader:"H3A ICAP Sodium,H3A Sodium, ppm Na"},"H3A ICAP Sulfur,H3A Sulfur, ppm S":{Element:"Sulfur, Sulfur",ValueUnit:"kg/ha",ExtractionMethod:"H3A-1, H3A-1",MeasurementMethod:"ICP-OES, ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_020,L_MODV2_SOIL_S_021",CsvHeader:"H3A ICAP Sulfur,H3A Sulfur, ppm S"},"H3A ICAP Zinc,H3A Zinc, ppm Zn":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",CsvHeader:"H3A ICAP Zinc,H3A Zinc, ppm Zn"},"H3A Inorganic Phosphorus,H3A Inorganic Phosphorus, ppm PO4-P":{Element:"H3A Inorganic Phosphorus,H3A Inorganic Phosphorus, ppm PO4-P",CsvHeader:"H3A Inorganic Phosphorus,H3A Inorganic Phosphorus, ppm PO4-P"},"H3A Organic Phosphorus,H3A Organic Phosphorus, ppm P":{Element:"H3A Organic Phosphorus,H3A Organic Phosphorus, ppm P",CsvHeader:"H3A Organic Phosphorus,H3A Organic Phosphorus, ppm P"},"H3A Total Phosphorus,H3A Total Phosphorus, ppm P":{Element:"H3A Total Phosphorus,H3A Total Phosphorus, ppm P",CsvHeader:"H3A Total Phosphorus,H3A Total Phosphorus, ppm P"},Hydrogen:{Element:"Base Saturation - H",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",CsvHeader:"Hydrogen"},"Hydrogen,M3-% H Sat":{Element:"Base Saturation - H",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",CsvHeader:"Hydrogen,M3-% H Sat"},"M3-Aluminum,M3-Al":{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-AL-M3.05",ModusTestIDv2:"L_MODV2_SOIL_AL_012",CsvHeader:"M3-Aluminum,M3-Al"},"M3-Base Saturation,M3-% Base Sat":{Element:"Base Saturation",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001",CsvHeader:"M3-Base Saturation,M3-% Base Sat"},"M3-Boron,M3-B":{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017",CsvHeader:"M3-Boron,M3-B"},"M3-Calcium,M3-Ca":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021",CsvHeader:"M3-Calcium,M3-Ca"},"M3-CEC,M3-CEC":{Element:"Cation Exchange Capacity",ValueUnit:"cmol/kg",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008",CsvHeader:"M3-CEC,M3-CEC"},"M3-Cobalt,M3-Co":{Element:"Cobalt",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CO-M3.04",ModusTestIDv2:"L_MODV2_SOIL_CO_006",CsvHeader:"M3-Cobalt,M3-Co"},"M3-Copper,M3-Cu":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CU_014",CsvHeader:"M3-Copper,M3-Cu"},"M3-Iron,M3-Fe":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-M3.05",ModusTestIDv2:"L_MODV2_SOIL_FE_015",CsvHeader:"M3-Iron,M3-Fe"},"M3-Magnesium,M3-Mg":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022",CsvHeader:"M3-Magnesium,M3-Mg"},"M3-Manganese,M3-Mn":{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015",CsvHeader:"M3-Manganese,M3-Mn"},"M3-Molybdenum,M3-Moly":{Element:"Molybdenum",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MO-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MO_014",CsvHeader:"M3-Molybdenum,M3-Moly"},"M3-Phosphate,M3-PO4":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_032",CsvHeader:"M3-Phosphate,M3-PO4"},"M3-Phosphorus,M3-P":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-M3.04",ModusTestIDv2:"L_MODV2_SOIL_P_033",CsvHeader:"M3-Phosphorus,M3-P"},"M3-Potassium,M3-K":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3 ICP",MeasurementMethod:"AES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-M3.06",CsvHeader:"M3-Potassium,M3-K"},"M3-Sodium,M3-Na":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_NA_013",CsvHeader:"M3-Sodium,M3-Na"},"M3-Sulfur,M3-S":{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-S-M3.05",ModusTestIDv2:"L_MODV2_SOIL_S_026",CsvHeader:"M3-Sulfur,M3-S"},"M3-Zinc,M3-Zn":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_015",CsvHeader:"M3-Zinc,M3-Zn"},"Magnesium,% Mg Sat":{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"Magnesium,% Mg Sat"},"Magnesium,M3-% Mg Sat":{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"Magnesium,M3-% Mg Sat"},Moisture:{Element:"Moisture",ValueUnit:"%",ExtractionMethod:"Gravimetric (As-received)",MeasurementMethod:"Mass Change",UCUM_ValueUnit:"%",ModusTestID:"S-MOIST-GRAVAR.15",CsvHeader:"Moisture"},"NH4OAc-Calcium,NH4OAc-Ca":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_CA_003",CsvHeader:"NH4OAc-Calcium,NH4OAc-Ca"},"NH4OAc-Magnesium,NH4OAc-Mg":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_MG_002",CsvHeader:"NH4OAc-Magnesium,NH4OAc-Mg"},"NH4OAc-Potassium,NH4OAc-K":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:'"ICP, AAS"',UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-NH4AC.05",CsvHeader:"NH4OAc-Potassium,NH4OAc-K"},"NH4OAc-Sodium,NH4OAc-Na":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_NA_001",CsvHeader:"NH4OAc-Sodium,NH4OAc-Na"},"Olsen-Phosphate,Olsen P":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Sodium Bicarbonate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_045",CsvHeader:"Olsen-Phosphate,Olsen P"},"Organic Matter, % LOI":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"Organic Matter, % LOI"},"1:1 Soil pH,Soil pH 1:1":{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005",CsvHeader:"1:1 Soil pH,Soil pH 1:1"},"Potassium,% K Sat":{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"Potassium,% K Sat"},"Potassium,M3-% K Sat":{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"Potassium,M3-% K Sat"},"Protozoa Biomass":{Element:"Protozoa Biomass",CsvHeader:"Protozoa Biomass"},"Soil Health Calculation":{Element:"Soil Health Calculation",CsvHeader:"Soil Health Calculation"},"SAR Bicarbonate,SAR-Bicarb":{Element:"Bicarbonate",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-HCO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_002",CsvHeader:"SAR Bicarbonate,SAR-Bicarb"},"SAR Calcium,SAR-Ca":{Element:"Calcium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_CA_031",CsvHeader:"SAR Calcium,SAR-Ca"},"SAR Chloride,SAR-Cl":{Element:"Chloride",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CL-SP.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_010",CsvHeader:"SAR Chloride,SAR-Cl"},"SAR Electrical Conductivity,SAR-EC":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-SP.03",ModusTestIDv2:"L_MODV2_SOIL_EC_004",CsvHeader:"SAR Electrical Conductivity,SAR-EC"},"SAR Magnesium,SAR-Mg":{Element:"Magnesium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestID:"S-MG-SP.05",ModusTestIDv2:"L_MODV2_SOIL_MG_030",CsvHeader:"SAR Magnesium,SAR-Mg"},"SAR pH,SAR-pH":{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Saturated Paste",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-SP.02",ModusTestIDv2:"L_MODV2_SOIL_PH_013",CsvHeader:"SAR pH,SAR-pH"},"SAR Sodium,SAR-Na":{Element:"Sodium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestID:"S-NA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_NA_019",CsvHeader:"SAR Sodium,SAR-Na"},"SAR Sulfur,SAR-S":{Element:"Sulfur",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"meq/L",ModusTestID:"S-SO4-SP.04",ModusTestIDv2:"L_MODV2_SOIL_S_036",CsvHeader:"SAR Sulfur,SAR-S"},"Saturated Paste Moisture,SAR-Moisture":{Element:"Moisture Content",ValueUnit:"%",ExtractionMethod:"Saturated paste moisture",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-MOIST-SP.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_002",CsvHeader:"Saturated Paste Moisture,SAR-Moisture"},"Sikora BpH,Sikora BpH":{Element:"Buffer pH",ValueUnit:"standard pH unit",ExtractionMethod:"Sikora 1",MeasurementMethod:"H+ ISE",ModusTestID:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_007",CsvHeader:"Sikora BpH,Sikora BpH"},"Sodium,M3-% Na Sat":{Element:"Base Saturation - Na",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",CsvHeader:"Sodium,M3-% Na Sat"},"Sodium Absorption Ratio,SAR":{Element:"Sodium Adsorption Ratio",ValueUnit:"Ratio",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Calculation",ModusTestID:"S-SAR-SP.00",ModusTestIDv2:"L_MODV2_SOIL_SAR_003",CsvHeader:"Sodium Absorption Ratio,SAR"},"Soil Respiration, ppm CO2-C":{Element:"Soil Respiration, ppm CO2-C",CsvHeader:"Soil Respiration, ppm CO2-C"},"1:1 Soluble Salt":{Element:"1:1 Soluble Salt",CsvHeader:"1:1 Soluble Salt"},"TC:TN Ratio,LECO Tot. C : Tot. N":{Element:"Total Carbon:Total Nitrogen",ValueUnit:"none",ExtractionMethod:"Dry Combustion",MeasurementMethod:"Calculation",ModusTestID:"S-TC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TCTN_001",CsvHeader:"TC:TN Ratio,LECO Tot. C : Tot. N"},"Texture Class,Texture":{Element:"Textural Classification",ValueUnit:"Texture Classification",ExtractionMethod:"Calculation",MeasurementMethod:"Gravimetric",ModusTestID:"S-TEXTURE.19",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_001",CsvHeader:"Texture Class,Texture"},"TOC:TN Ratio,LECO Org. C : Tot. N":{Element:"Total Organic Carbon: Total Nitrogen",ValueUnit:"none",ExtractionMethod:"Dry Combustion",MeasurementMethod:"Calculation",ModusTestID:"S-TOC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TOCTN_001",CsvHeader:"TOC:TN Ratio,LECO Org. C : Tot. N"},"Total Aluminum,Tot. Al":{Element:"Aluminum",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-AL-NA.04",ModusTestIDv2:"L_MODV2_SOIL_AL_014",CsvHeader:"Total Aluminum,Tot. Al"},"Boron, ppm B,Total Boron":{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-B-NA.04",ModusTestIDv2:"L_MODV2_SOIL_B_019",CsvHeader:"Boron, ppm B,Total Boron"},"Calcium, % Ca,Total Calcium":{Element:"Calcium",ValueUnit:"%",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"%",ModusTestID:"S-CA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CA_025",CsvHeader:"Calcium, % Ca,Total Calcium"},"Total Carbon,LECO Tot. C":{Element:'"Carbon, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-TC-COMB.15",ModusTestIDv2:"L_MODV2_SOIL_TC_001",CsvHeader:"Total Carbon,LECO Tot. C"},"Copper, ppm Cu,Total Copper":{Element:"Copper",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-CU-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CU_018",CsvHeader:"Copper, ppm Cu,Total Copper"},"Iron, ppm Fe,Total Iron":{Element:"Iron",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-FE-NA.04",ModusTestIDv2:"L_MODV2_SOIL_FE_017",CsvHeader:"Iron, ppm Fe,Total Iron"},"Magnesium, % Mg,Total Magnesium":{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-MG-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"Magnesium, % Mg,Total Magnesium"},"Manganese, ppm Mn,Total Manganese":{Element:"Manganese",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-MN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MN_018",CsvHeader:"Manganese, ppm Mn,Total Manganese"},"Molybdenum, ppm Mo,Total Molybdenum":{Element:"Molybdenum",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-MO-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_015",CsvHeader:"Molybdenum, ppm Mo,Total Molybdenum"},"Total Nitrogen,LECO Tot. N":{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002",CsvHeader:"Total Nitrogen,LECO Tot. N"},"Phosphorus, % P,Total Phosphorus":{Element:"Phosphorus",ValueUnit:"%",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"%",ModusTestID:"S-P-NA.04",ModusTestIDv2:"L_MODV2_SOIL_P_038",CsvHeader:"Phosphorus, % P,Total Phosphorus"},"Potassium, % K,Total Postassium":{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-K-NA.04",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"Potassium, % K,Total Postassium"},"Sodium, % Na,Total Sodium":{Element:"Sodium",ValueUnit:"%",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"%",ModusTestID:"S-NA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_NA_015",CsvHeader:"Sodium, % Na,Total Sodium"},"Sulfur, % S,Total Sulfur":{Element:"Sulfur",ValueUnit:"%",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"%",ModusTestID:"S-S-NA.04",ModusTestIDv2:"L_MODV2_SOIL_S_030",CsvHeader:"Sulfur, % S,Total Sulfur"},"Zinc, ppm Zn,Total Zinc":{Element:"Zinc",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-ZN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_019",CsvHeader:"Zinc, ppm Zn,Total Zinc"},"H2O Total Organic C,H2O Total Org. C, ppm C":{Element:"Organic Carbon",ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TOC.16",ModusTestIDv2:"L_MODV2_SOIL_OC_001",CsvHeader:"H2O Total Organic C,H2O Total Org. C, ppm C"},"H2O Organic N,H2O Org. N, ppm N":{Element:"H2O Organic N,H2O Org. N, ppm N",CsvHeader:"H2O Organic N,H2O Org. N, ppm N"},"H2O Total N,H2O Total N, ppm N":{Element:"H2O Total N,H2O Total N, ppm N",CsvHeader:"H2O Total N,H2O Total N, ppm N"}}}},"Soil Health Institute":{Soil:{name:"Soil Health Institute",type:"Soil",analytes:{"Organic Carbon":{Element:"Organic Carbon",ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_OC_001"},'"Nitrogen, Total"':{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_TN_002"}}}},"Soiltest Farm Consultants, Inc. - Moses Lake, WA":{Soil:{name:"Soiltest Farm Consultants, Inc. - Moses Lake, WA",type:"Soil",analytes:{"1:1 pH":{Element:"pH",CsvHeader:"1:1 pH"},B:{Element:"Boron",CsvHeader:"B"},"B REC":{Element:"B REC",CsvHeader:"B REC"},"Bray P":{Element:"Phosphorus",CsvHeader:"Bray P"},CA:{Element:"Calcium",CsvHeader:"CA"},"CaCl2 pH":{Element:"pH",CsvHeader:"CaCl2 pH"},CEC:{Element:"Cation Exchange Capacity",CsvHeader:"CEC"},Cl:{Element:"Chloride",CsvHeader:"Cl"},"Cl REC":{Element:"Cl REC",CsvHeader:"Cl REC"},CU:{Element:"Copper",CsvHeader:"CU"},"CU REC":{Element:"CU REC",CsvHeader:"CU REC"},EFF:{Element:"EFF",CsvHeader:"EFF"},"ELEMS REC":{Element:"ELEMS REC",CsvHeader:"ELEMS REC"},ENR:{Element:"Estimated Nitrogen Release",CsvHeader:"ENR"},FE:{Element:"Iron",CsvHeader:"FE"},"FE REC":{Element:"FE REC",CsvHeader:"FE REC"},gypsum:{Element:"Gypsum Recommendation",CsvHeader:"gypsum"},HYD:{Element:"Hydrogen",CsvHeader:"HYD"},K:{Element:"Potassium",CsvHeader:"K"},"K2O5 REC":{Element:"K2O5 REC",CsvHeader:"K2O5 REC"},"KCL ext Al":{Element:"KCL ext Al",CsvHeader:"KCL ext Al"},LIME:{Element:"Lime Index",CsvHeader:"LIME"},"LIME 6:5":{Element:"Lime Index",CsvHeader:"LIME 6:5"},Manure:{Element:"Manure",CsvHeader:"Manure"},MG:{Element:"Magnesium",CsvHeader:"MG"},"MG REC":{Element:"MG REC",CsvHeader:"MG REC"},MN:{Element:"Manganese",CsvHeader:"MN"},"MN REC":{Element:"MN REC",CsvHeader:"MN REC"},Moisture:{Element:"Moisture",CsvHeader:"Moisture"},"N REC":{Element:"N REC",CsvHeader:"N REC"},NA:{Element:"Sodium",CsvHeader:"NA"},"NH4-N":{Element:"Ammonium",CsvHeader:"NH4-N"},NO31:{Element:"Nitrate",CsvHeader:"NO31"},NO32:{Element:"Nitrate",CsvHeader:"NO32"},"Olsen P":{Element:"Phosphorus",CsvHeader:"Olsen P"},OM:{Element:"Organic Matter",CsvHeader:"OM"},"OTHER P":{Element:"OTHER P",CsvHeader:"OTHER P"},"P2O5 REC":{Element:"P2O5 REC",CsvHeader:"P2O5 REC"},PERCA:{Element:"Base Saturation - Ca",CsvHeader:"PERCA"},PERH:{Element:"Base Saturation - H",CsvHeader:"PERH"},PERK:{Element:"Base Saturation - K",CsvHeader:"PERK"},PERMG:{Element:"Base Saturation - Mg",CsvHeader:"PERMG"},PERNA:{Element:"Base Saturation - Na",CsvHeader:"PERNA"},S:{Element:"Sulfur",CsvHeader:"S"},"S REC":{Element:"S REC",CsvHeader:"S REC"},"SMP/A&E":{Element:"SMP/A&E",CsvHeader:"SMP/A&E"},SOLSALT:{Element:"Soluble Salts",CsvHeader:"SOLSALT"},"Yield Goal Units":{Element:"Yield Goal Units",CsvHeader:"Yield Goal Units"},ZN:{Element:"Zinc",CsvHeader:"ZN"},"ZN REC":{Element:"ZN REC",CsvHeader:"ZN REC"}}}},"University of Georgia Extension Ag & Environmental Services Labs - Athens, GA":{Soil:{name:"University of Georgia Extension Ag & Environmental Services Labs - Athens, GA",type:"Soil",analytes:{"Al aluminum":{Element:"Al aluminum",CsvHeader:"Al aluminum"},"As arsenic":{Element:"As arsenic",CsvHeader:"As arsenic"},"B boron":{Element:"B boron",CsvHeader:"B boron"},Ca:{Element:"Ca",CsvHeader:"Ca"},"Ca calcium":{Element:"Ca calcium",CsvHeader:"Ca calcium"},"Cd cadmium":{Element:"Cd cadmium",CsvHeader:"Cd cadmium"},"Cr chromium":{Element:"Cr chromium",CsvHeader:"Cr chromium"},"Cu copper":{Element:"Cu copper",CsvHeader:"Cu copper"},"Fe iron":{Element:"Fe iron",CsvHeader:"Fe iron"},K:{Element:"K",CsvHeader:"K"},"K potassium":{Element:"K potassium",CsvHeader:"K potassium"},LBC:{Element:"LBC",CsvHeader:"LBC"},LBCeq:{Element:"LBCeq",CsvHeader:"LBCeq"},Mg:{Element:"Mg",CsvHeader:"Mg"},"Mg magnesium":{Element:"Mg magnesium",CsvHeader:"Mg magnesium"},Mn:{Element:"Mn",CsvHeader:"Mn"},"Mn manganese":{Element:"Mn manganese",CsvHeader:"Mn manganese"},"Mo molybdenum":{Element:"Mo molybdenum",CsvHeader:"Mo molybdenum"},"Na sodium":{Element:"Na sodium",CsvHeader:"Na sodium"},"Ni nickel":{Element:"Ni nickel",CsvHeader:"Ni nickel"},OM:{Element:"OM",CsvHeader:"OM"},P:{Element:"P",CsvHeader:"P"},"P phosphorus":{Element:"P phosphorus",CsvHeader:"P phosphorus"},"Pb lead":{Element:"Pb lead",CsvHeader:"Pb lead"},pH:{Element:"pH",CsvHeader:"pH"},"S sulfur":{Element:"S sulfur",CsvHeader:"S sulfur"},Zn:{Element:"Zn",CsvHeader:"Zn"},"Zn zinc":{Element:"Zn zinc",CsvHeader:"Zn zinc"}}}},"Ward Laboratories, Inc. - Kearney, NE":{Soil:{name:"Ward Laboratories, Inc. - Kearney, NE",type:"Soil",analytes:{"Aluminum ppm Al":{Element:"Aluminum ppm Al",CsvHeader:"Aluminum ppm Al"},"Base Saturation":{Element:"Base Saturation",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001"},"Boron ppm B":{Element:"Boron ppm B",CsvHeader:"Boron ppm B"},"Bray P-1 ppm P":{Element:"Bray P-1 ppm P",CsvHeader:"Bray P-1 ppm P"},"Bray P-2 ppm P":{Element:"Bray P-2 ppm P",CsvHeader:"Bray P-2 ppm P"},"WDRF Buffer pH":{Element:"WDRF Buffer pH",CsvHeader:"WDRF Buffer pH"},"Calcium ppm Ca":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021",CsvHeader:"Calcium ppm Ca"},"Chloride ppm Cl":{Element:"Chloride ppm Cl",CsvHeader:"Chloride ppm Cl"},"Copper ppm Cu":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CU_009",CsvHeader:"Copper ppm Cu"},"Excess Lime":{Element:"Excess Lime",CsvHeader:"Excess Lime"},"Ammonium-Nitrogen":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_003"},'"Nitrogen, Total"':{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002"},"Ammonium-Nitrogen2":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Slurry",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4N-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_002"},"Nitrate-Nitrogen":{Element:"Nitrate-Nitrogen",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"Cd Red/Spectrophotometric",UCUM_ValueUnit:"meq/L",ModusTestID:"S-NO3-W1:1.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_005"},'"Nitrogen, Total"2':{Element:'"Nitrogen, Total"',ValueUnit:"ppm",ExtractionMethod:"Slurry",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-TN-W.01",ModusTestIDv2:"L_MODV2_SOIL_TN_003"},"Organic Carbon":{Element:"Organic Carbon",ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TOC.16",ModusTestIDv2:"L_MODV2_SOIL_OC_001"},"Iron ppm Fe":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-FE-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_FE_010",CsvHeader:"Iron ppm Fe"},"Magnesium ppm Mg":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_MG_015",CsvHeader:"Magnesium ppm Mg"},"Manganese ppm Mn":{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015",CsvHeader:"Manganese ppm Mn"},"Nitrate-N ppm N":{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NO3-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",CsvHeader:"Nitrate-N ppm N"},"2N KCl NO3-N ppm N":{Element:"2N KCl NO3-N ppm N",CsvHeader:"2N KCl NO3-N ppm N"},"Organic Matter LOI %":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"Organic Matter LOI %"},"1:1 Soil pH":{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005",CsvHeader:"1:1 Soil pH"},Phosphorus:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_P_020"},"Potassium ppm K":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_K_019",CsvHeader:"Potassium ppm K"},"Olsen P ppm P":{Element:"Olsen P ppm P",CsvHeader:"Olsen P ppm P"},"Sodium ppm Na":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_NA_009",CsvHeader:"Sodium ppm Na"},"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"},"1:1 S Salts mmho/cm":{Element:"Soluble Salts",ValueUnit:"mg/kg",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001",CsvHeader:"1:1 S Salts mmho/cm"},"Sulfate-S ppm S":{Element:"Sulfur",ValueUnit:"kg/ha",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_020",CsvHeader:"Sulfate-S ppm S"},"CEC/Sum of Cations me/100g":{Element:"CEC/Sum of Cations me/100g",CsvHeader:"CEC/Sum of Cations me/100g"},"Zinc ppm Zn":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",CsvHeader:"Zinc ppm Zn"},"Total Carbon %":{Element:"Total Carbon",ValueUnit:"%",UCUM_ValueUnit:"%",CsvHeader:"Total Carbon %"},"lbs N/A":{Element:"lbs N/A",CsvHeader:"lbs N/A"},"Texture No":{Element:"Texture No",CsvHeader:"Texture No"},"%H Sat":{Element:"%H Sat",CsvHeader:"%H Sat"},"%K Sat":{Element:"%K Sat",CsvHeader:"%K Sat"},"%Ca Sat":{Element:"%Ca Sat",CsvHeader:"%Ca Sat"},"%Mg Sat":{Element:"%Mg Sat",CsvHeader:"%Mg Sat"},"%Na Sat":{Element:"%Na Sat",CsvHeader:"%Na Sat"},"KCl NH4-N ppm":{Element:"KCl NH4-N ppm",CsvHeader:"KCl NH4-N ppm"},"Mehlich P-II ppm P":{Element:"Mehlich P-II ppm P",CsvHeader:"Mehlich P-II ppm P"},"Mehlich P-III ppm P":{Element:"Mehlich P-III ppm P",CsvHeader:"Mehlich P-III ppm P"},"Salt pH":{Element:"Salt pH",CsvHeader:"Salt pH"},"Salt Buffer pH":{Element:"Salt Buffer pH",CsvHeader:"Salt Buffer pH"},"WB OM %":{Element:"WB OM %",CsvHeader:"WB OM %"},"Total N ppm":{Element:"Total N ppm",CsvHeader:"Total N ppm"},"Soil Moisture %":{Element:"Soil Moisture %",CsvHeader:"Soil Moisture %"},"Total P ppm":{Element:"Total P ppm",CsvHeader:"Total P ppm"},"Total Zn ppm":{Element:"Total Zn ppm",CsvHeader:"Total Zn ppm"},"Nitrite-N ppm":{Element:"Nitrite-N ppm",CsvHeader:"Nitrite-N ppm"},"% Sand":{Element:"% Sand",CsvHeader:"% Sand"},"% Silt":{Element:"% Silt",CsvHeader:"% Silt"},"% Clay":{Element:"% Clay",CsvHeader:"% Clay"},Texture:{Element:"Texture",CsvHeader:"Texture"},"Paste % Sat":{Element:"Paste % Sat",CsvHeader:"Paste % Sat"},"Paste pH":{Element:"Paste pH",CsvHeader:"Paste pH"},"Paste EC mmho/cm":{Element:"Paste EC mmho/cm",CsvHeader:"Paste EC mmho/cm"},"Paste HCO3 ppm":{Element:"Paste HCO3 ppm",CsvHeader:"Paste HCO3 ppm"},"Paste Cl ppm":{Element:"Paste Cl ppm",CsvHeader:"Paste Cl ppm"},"Paste Ca ppm":{Element:"Paste Ca ppm",CsvHeader:"Paste Ca ppm"},"Paste Mg ppm":{Element:"Paste Mg ppm",CsvHeader:"Paste Mg ppm"},"Paste Na ppm":{Element:"Paste Na ppm",CsvHeader:"Paste Na ppm"},"Paste S ppm":{Element:"Paste S ppm",CsvHeader:"Paste S ppm"},"Paste SAR":{Element:"Paste SAR",CsvHeader:"Paste SAR"},"Crop 1":{Element:"Crop 1",CsvHeader:"Crop 1"},"YG 1":{Element:"YG 1",CsvHeader:"YG 1"},"Nitrogen Rec":{Element:"Nitrogen Rec",CsvHeader:"Nitrogen Rec"},"P2O5 Rec":{Element:"P2O5 Rec",CsvHeader:"P2O5 Rec"},"K2O Rec":{Element:"K2O Rec",CsvHeader:"K2O Rec"},"Sulfur Rec":{Element:"Sulfur Rec",CsvHeader:"Sulfur Rec"},"Zinc Rec":{Element:"Zinc Rec",CsvHeader:"Zinc Rec"},"Magnesium Rec":{Element:"Magnesium Rec",CsvHeader:"Magnesium Rec"},"Iron Rec":{Element:"Iron Rec",CsvHeader:"Iron Rec"},"Manganese Rec":{Element:"Manganese Rec",CsvHeader:"Manganese Rec"},"Copper Rec":{Element:"Copper Rec",CsvHeader:"Copper Rec"},"Boron Rec":{Element:"Boron Rec",CsvHeader:"Boron Rec"},"Lime Rec":{Element:"Lime Rec",CsvHeader:"Lime Rec"},"Crop 2":{Element:"Crop 2",CsvHeader:"Crop 2"},"YG 2":{Element:"YG 2",CsvHeader:"YG 2"},"Crop 3":{Element:"Crop 3",CsvHeader:"Crop 3"},"YG 3":{Element:"YG 3",CsvHeader:"YG 3"},"Organic Carbon %":{Element:"Organic Carbon %",CsvHeader:"Organic Carbon %"},"Water Soluble K":{Element:"Water Soluble K",CsvHeader:"Water Soluble K"},"H2O NO3-N":{Element:"H2O NO3-N",CsvHeader:"H2O NO3-N"},"Total Dry Weight":{Element:"Total Dry Weight",CsvHeader:"Total Dry Weight"},"Total S":{Element:"Total S",CsvHeader:"Total S"},"PSNT N/A":{Element:"PSNT N/A",CsvHeader:"PSNT N/A"},"H2O Ca":{Element:"H2O Ca",CsvHeader:"H2O Ca"},"Paste CO3 ppm":{Element:"Paste CO3 ppm",CsvHeader:"Paste CO3 ppm"},"Phosphorus M3 ICAP ppm P":{Element:"Phosphorus M3 ICAP ppm P",CsvHeader:"Phosphorus M3 ICAP ppm P"},"Potassium M3 ICAP ppm K":{Element:"Potassium M3 ICAP ppm K",CsvHeader:"Potassium M3 ICAP ppm K"},"Sulfur M3 ICAP ppm S":{Element:"Sulfur M3 ICAP ppm S",CsvHeader:"Sulfur M3 ICAP ppm S"},"Zinc M3 ICAP ppm Zn":{Element:"Zinc M3 ICAP ppm Zn",CsvHeader:"Zinc M3 ICAP ppm Zn"},"Iron M3 ICAP ppm Fe":{Element:"Iron M3 ICAP ppm Fe",CsvHeader:"Iron M3 ICAP ppm Fe"},"Manganese M3 ICAP ppm Mn":{Element:"Manganese M3 ICAP ppm Mn",CsvHeader:"Manganese M3 ICAP ppm Mn"},"Copper M3 ICAP ppm Cu":{Element:"Copper M3 ICAP ppm Cu",CsvHeader:"Copper M3 ICAP ppm Cu"},"Calcium M3 ICAP ppm Ca":{Element:"Calcium M3 ICAP ppm Ca",CsvHeader:"Calcium M3 ICAP ppm Ca"},"Magnesium M3 ICAP ppm Mg":{Element:"Magnesium M3 ICAP ppm Mg",CsvHeader:"Magnesium M3 ICAP ppm Mg"},"Sodium M3 ICAP ppm Na":{Element:"Sodium M3 ICAP ppm Na",CsvHeader:"Sodium M3 ICAP ppm Na"},"Boron M3 ICAP ppm B":{Element:"Boron M3 ICAP ppm B",CsvHeader:"Boron M3 ICAP ppm B"},"1N KCl NO3-N ppm N":{Element:"1N KCl NO3-N ppm N",CsvHeader:"1N KCl NO3-N ppm N"},"KCl NH4-N ppm (Old)":{Element:"KCl NH4-N ppm (Old)",CsvHeader:"KCl NH4-N ppm (Old)"},"2N KCl NO3-N ppm N (Old)":{Element:"2N KCl NO3-N ppm N (Old)",CsvHeader:"2N KCl NO3-N ppm N (Old)"},"2N KCL NO3 Lbs-Acre":{Element:"2N KCL NO3 Lbs-Acre",CsvHeader:"2N KCL NO3 Lbs-Acre"},"Ammonium Lbs-Acre":{Element:"Ammonium Lbs-Acre",CsvHeader:"Ammonium Lbs-Acre"},"Aluminium M3 ICAP ppm Al":{Element:"Aluminium M3 ICAP ppm Al",CsvHeader:"Aluminium M3 ICAP ppm Al"},"Organic C H2O ppm":{Element:"Organic C H2O ppm",CsvHeader:"Organic C H2O ppm"},"Organic N H2O ppm":{Element:"Organic N H2O ppm",CsvHeader:"Organic N H2O ppm"},"Organic C:N H2O":{Element:"Organic C:N H2O",CsvHeader:"Organic C:N H2O"},"PSNT ppm N":{Element:"PSNT ppm N",CsvHeader:"PSNT ppm N"},"Sikora pH":{Element:"Sikora pH",CsvHeader:"Sikora pH"},"Sikora Buffer":{Element:"Sikora Buffer",CsvHeader:"Sikora Buffer"},"Bulk Density":{Element:"Bulk Density",CsvHeader:"Bulk Density"},"2:1 Soil pH":{Element:"2:1 Soil pH",CsvHeader:"2:1 Soil pH"},"2:1 Soluble Salts":{Element:"2:1 Soluble Salts",CsvHeader:"2:1 Soluble Salts"},"POX-C ppm C":{Element:"POX-C ppm C",CsvHeader:"POX-C ppm C"},"Aggregate Stability 1-2mm %":{Element:"Aggregate Stability 1-2mm %",CsvHeader:"Aggregate Stability 1-2mm %"},"Aggregate Stability 1-2mm in bulk soil %":{Element:"Aggregate Stability 1-2mm in bulk soil %",CsvHeader:"Aggregate Stability 1-2mm in bulk soil %"},"Available Water g H2O g-1 soil":{Element:"Available Water g H2O g-1 soil",CsvHeader:"Available Water g H2O g-1 soil"},"Available Water inch H2O inch-1 of soil":{Element:"Available Water inch H2O inch-1 of soil",CsvHeader:"Available Water inch H2O inch-1 of soil"},"Total Available Water inches H2O sample-1":{Element:"Total Available Water inches H2O sample-1",CsvHeader:"Total Available Water inches H2O sample-1"},"Field Capacity % (wt.)":{Element:"Field Capacity % (wt.)",CsvHeader:"Field Capacity % (wt.)"},"Permanent Wilting Point % (wt.":{Element:"Permanent Wilting Point % (wt.",CsvHeader:"Permanent Wilting Point % (wt."},"Total K ppm K":{Element:"Total K ppm K",CsvHeader:"Total K ppm K"},"Total C Concentration %":{Element:"Total C Concentration %",CsvHeader:"Total C Concentration %"},"Total C lbs/Acre":{Element:"Total C lbs/Acre",CsvHeader:"Total C lbs/Acre"},"Total N Concentration %":{Element:"Total N Concentration %",CsvHeader:"Total N Concentration %"},"Total N lbs/Acre":{Element:"Total N lbs/Acre",CsvHeader:"Total N lbs/Acre"},"Total C:N lbs/Acre Ratio":{Element:"Total C:N lbs/Acre Ratio",CsvHeader:"Total C:N lbs/Acre Ratio"},"Total P Concentration %":{Element:"Total P Concentration %",CsvHeader:"Total P Concentration %"},"Total P lbs/Acre":{Element:"Total P lbs/Acre",CsvHeader:"Total P lbs/Acre"},"Total P2O5 Concentration %":{Element:"Total P2O5 Concentration %",CsvHeader:"Total P2O5 Concentration %"},"Total P2O5 lbs/Acre":{Element:"Total P2O5 lbs/Acre",CsvHeader:"Total P2O5 lbs/Acre"},"Total K Concentration %":{Element:"Total K Concentration %",CsvHeader:"Total K Concentration %"},"Total K lbs/Acre":{Element:"Total K lbs/Acre",CsvHeader:"Total K lbs/Acre"},"Total K2O Concentration %":{Element:"Total K2O Concentration %",CsvHeader:"Total K2O Concentration %"},"Total K2O lbs/Acre":{Element:"Total K2O lbs/Acre",CsvHeader:"Total K2O lbs/Acre"},"Total Ca Concentration %":{Element:"Total Ca Concentration %",CsvHeader:"Total Ca Concentration %"},"Total Ca lbs/Acre":{Element:"Total Ca lbs/Acre",CsvHeader:"Total Ca lbs/Acre"},"Total Mg Concentration %":{Element:"Total Mg Concentration %",CsvHeader:"Total Mg Concentration %"},"Total Mg lbs/Acre":{Element:"Total Mg lbs/Acre",CsvHeader:"Total Mg lbs/Acre"},"Total S Concentration %":{Element:"Total S Concentration %",CsvHeader:"Total S Concentration %"},"Total S lbs/Acre":{Element:"Total S lbs/Acre",CsvHeader:"Total S lbs/Acre"},"Total Zn Concentration ppm":{Element:"Total Zn Concentration ppm",CsvHeader:"Total Zn Concentration ppm"},"Total Zn lbs/Acre":{Element:"Total Zn lbs/Acre",CsvHeader:"Total Zn lbs/Acre"},"Total Fe Concentration ppm":{Element:"Total Fe Concentration ppm",CsvHeader:"Total Fe Concentration ppm"},"Total Fe lbs/Acre":{Element:"Total Fe lbs/Acre",CsvHeader:"Total Fe lbs/Acre"},"Total Mn Concentration ppm":{Element:"Total Mn Concentration ppm",CsvHeader:"Total Mn Concentration ppm"},"Total Mn lbs/Acre":{Element:"Total Mn lbs/Acre",CsvHeader:"Total Mn lbs/Acre"},"Total Cu Concentration ppm":{Element:"Total Cu Concentration ppm",CsvHeader:"Total Cu Concentration ppm"},"Total Cu lbs/Acre":{Element:"Total Cu lbs/Acre",CsvHeader:"Total Cu lbs/Acre"},"Total B Concentration ppm":{Element:"Total B Concentration ppm",CsvHeader:"Total B Concentration ppm"},"Total B lbs/Acre":{Element:"Total B lbs/Acre",CsvHeader:"Total B lbs/Acre"},"Total Mo Concentration ppm":{Element:"Total Mo Concentration ppm",CsvHeader:"Total Mo Concentration ppm"},"Total Mo lbs/Acre":{Element:"Total Mo lbs/Acre",CsvHeader:"Total Mo lbs/Acre"},"Total Ni ppm Ni":{Element:"Total Ni ppm Ni",CsvHeader:"Total Ni ppm Ni"},"Total As ppm As":{Element:"Total As ppm As",CsvHeader:"Total As ppm As"},"Total Cd ppm Cd":{Element:"Total Cd ppm Cd",CsvHeader:"Total Cd ppm Cd"},"Total Pb ppm Pb":{Element:"Total Pb ppm Pb",CsvHeader:"Total Pb ppm Pb"},"Rocks grams":{Element:"Rocks grams",CsvHeader:"Rocks grams"},"Roots grams":{Element:"Roots grams",CsvHeader:"Roots grams"},"Total Cr ppm Cr":{Element:"Total Cr ppm Cr",CsvHeader:"Total Cr ppm Cr"},"Total Co ppm Co":{Element:"Total Co ppm Co",CsvHeader:"Total Co ppm Co"},"Total Se ppm Se":{Element:"Total Se ppm Se",CsvHeader:"Total Se ppm Se"},"Total Mo ppm Mo":{Element:"Total Mo ppm Mo",CsvHeader:"Total Mo ppm Mo"},"H2O NH4-N":{Element:"H2O NH4-N",CsvHeader:"H2O NH4-N"},"Sample Density g/cc":{Element:"Sample Density g/cc",CsvHeader:"Sample Density g/cc"},"Molybdenum Hot Water ppm Mo":{Element:"Molybdenum Hot Water ppm Mo",CsvHeader:"Molybdenum Hot Water ppm Mo"},"H2O P":{Element:"H2O P",CsvHeader:"H2O P"},"Texture By Feel":{Element:"Texture By Feel",CsvHeader:"Texture By Feel"},"Comprehensive Bulk Density":{Element:"Comprehensive Bulk Density",CsvHeader:"Comprehensive Bulk Density"},"H3A K":{Element:"H3A K",CsvHeader:"H3A K"},"CO2 Soil Respiration":{Element:"CO2 Soil Respiration",CsvHeader:"CO2 Soil Respiration"},"Rock Volume cm3":{Element:"Rock Volume cm3",CsvHeader:"Rock Volume cm3"},"Rock Density g/cm3":{Element:"Rock Density g/cm3",CsvHeader:"Rock Density g/cm3"},"Ace Protein g/Kg":{Element:"Ace Protein g/Kg",CsvHeader:"Ace Protein g/Kg"}}}}},PJ={"S-Acidity.19":{Element:"Acidity",ModusTestIDv1:"S-Acidity.19",ModusTestIDv2:"L_MODV2_SOIL_ACIDT_002",Units:["mg/kg",null]},"S-SARJ-SP.00":{Element:"water soluble carbon",ModusTestIDv1:"S-SARJ-SP.00",ModusTestIDv2:"L_MODV2_SOIL_WSC_001",Units:["mg/kg","ppm"]},"S-AL-BACL2.23":{Element:"Aluminum",ModusTestIDv1:"S-AL-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_AL_001",Units:["cmol/kg","meq/100g"]},"S-AL-OX.23":{Element:"Aluminum",ModusTestIDv1:"S-AL-OX.23",ModusTestIDv2:"L_MODV2_SOIL_AL_002",Units:["mg/kg","ppm"]},"S-TAL-RAR.23":{Element:"Aluminum",ModusTestIDv1:"S-TAL-RAR.23",ModusTestIDv2:"L_MODV2_SOIL_AL_003",Units:["%",null]},"S-AL-CACL2.23":{Element:"Aluminum",ModusTestIDv1:"S-AL-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_AL_004",Units:["mg/kg","ppm"]},"S-AL.19":{Element:"Aluminum",ModusTestIDv1:"S-AL.19",ModusTestIDv2:"L_MODV2_SOIL_AL_005",Units:["%",null]},"S-AL-DTPA-SORB.05":{Element:"Aluminum",ModusTestIDv1:"S-AL-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_AL_006",Units:["mg/kg","ppm"]},"S-AL-H3A.04":{Element:"Aluminum",ModusTestIDv1:"S-AL-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_AL_010",Units:["mg/kg","ppm"]},"S-AL-RES.04":{Element:"Aluminum",ModusTestIDv1:"S-AL-RES.04",ModusTestIDv2:"L_MODV2_SOIL_AL_011",Units:["mg/kg","ppm"]},"S-AL-M3.05":{Element:"Aluminum",ModusTestIDv1:"S-AL-M3.05",ModusTestIDv2:"L_MODV2_SOIL_AL_012",Units:["mg/kg","ppm"]},"S-AL-NA.04":{Element:"Aluminum",ModusTestIDv1:"S-AL-NA.04",ModusTestIDv2:"L_MODV2_SOIL_AL_014",Units:["ppm",null]},"S-AL-1KCL.23":{Element:"Aluminum",ModusTestIDv1:"S-AL-1KCL.23",ModusTestIDv2:"L_MODV2_SOIL_AL_018",Units:["mg/kg","ppm"]},"S-Al-KCL.12":{Element:"Aluminum",ModusTestIDv1:"S-Al-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_AL_020",Units:["mg/kg","ppm"]},"S-AL-SP.04":{Element:"Aluminum",ModusTestIDv1:"S-AL-SP.04",ModusTestIDv2:"L_MODV2_SOIL_AL_022",Units:["mg/L",null]},"S-AN-12.00":{Element:"Amino Nitrogen",ModusTestIDv1:"S-AN-12.00",ModusTestIDv2:"L_MODV2_SOIL_AMINON_001",Units:[null,null]},"S-NH4N-W1:1.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_002",Units:["mg/kg","ppm"]},"S-NH4-H3A1.01.05":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_003",Units:["mg/kg","ppm"]},"S-NH4-RES.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-RES.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_004",Units:["mg/kg","ppm"]},"S-NH4-KCL.01.05":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-KCL.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_005",Units:["mg/kg","ppm"]},"S-NH4-KCL.09":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-KCL.09",ModusTestIDv2:"L_MODV2_SOIL_NH4N_006",Units:["mg/kg","ppm"]},"S-NH4N-05KCL.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-05KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_007",Units:["mg/kg","ppm"]},"S-NH4N-2KCL.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_008",Units:["mg/kg","ppm"]},"S-NH4N-SP.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-SP.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_009",Units:["mg/L",null]},"S-SB-EPA3050.04":{Element:"Antimony",ModusTestIDv1:"S-SB-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SB_001",Units:["mg/kg","ppm"]},"S-AS-AR.07":{Element:"Arsenic",ModusTestIDv1:"S-AS-AR.07",ModusTestIDv2:"L_MODV2_SOIL_AS_001",Units:["ug/kg","ppb"]},"S-AS-EPA6010B.00":{Element:"Arsenic",ModusTestIDv1:"S-AS-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_AS_002",Units:["mg/kg","ppm"]},"S-AS-EPA3050.04":{Element:"Arsenic",ModusTestIDv1:"S-AS-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_AS_003",Units:["mg/kg","ppm"]},"S-BA-EPA3050.04":{Element:"Barium",ModusTestIDv1:"S-BA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_BA_001",Units:["mg/kg","ppm"]},"S-BS.19":{Element:"Base Saturation",ModusTestIDv1:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001",Units:["%",null]},"S-BS-H.19":{Element:"Base Saturation - H",ModusTestIDv1:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",Units:["%",null]},"S-BS-K.19":{Element:"Base Saturation - K",ModusTestIDv1:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",Units:["%",null]},"S-BS-MG.19":{Element:"Base Saturation - Mg",ModusTestIDv1:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",Units:["%",null]},"S-BS-NA.19":{Element:"Base Saturation - Na",ModusTestIDv1:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",Units:["%",null]},"S-HCO3-SP.19":{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_HCO3_001",Units:["meq/L",null]},"S-HCO3-W1:1.12":{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-W1:1.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_004",Units:["meq/L",null]},"S-HCO3-ALK.01":{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-ALK.01",ModusTestIDv2:"L_MODV2_SOIL_HCO3_005",Units:["meq/L",null]},"S-B-CACL2.23":{Element:"Boron",ModusTestIDv1:"S-B-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_B_001",Units:["mg/kg","ppm"]},"S-B-HW.01.10":{Element:"Boron",ModusTestIDv1:"S-B-HW.01.10",ModusTestIDv2:"L_MODV2_SOIL_B_003",Units:["mg/kg","ppm"]},"S-B-HW.05":{Element:"Boron",ModusTestIDv1:"S-B-HW.05",ModusTestIDv2:"L_MODV2_SOIL_B_004",Units:["mg/kg","ppm"]},"S-B-W1:1.04":{Element:"Boron",ModusTestIDv1:"S-B-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_B_005",Units:["mg/kg","ppm"]},"S-B-W1:2.01":{Element:"Boron",ModusTestIDv1:"S-B-W1:2.01",ModusTestIDv2:"L_MODV2_SOIL_B_006",Units:["mg/kg","ppm"]},"S-B-W1:5.01":{Element:"Boron",ModusTestIDv1:"S-B-W1:5.01",ModusTestIDv2:"L_MODV2_SOIL_B_007",Units:["mg/kg","ppm"]},"S-B-W1:5.23":{Element:"Boron",ModusTestIDv1:"S-B-W1:5.23",ModusTestIDv2:"L_MODV2_SOIL_B_008",Units:["mg/kg","ppm"]},"S-B-W20:1.04":{Element:"Boron",ModusTestIDv1:"S-B-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_B_009",Units:["mg/kg","ppm"]},"S-B-SP.04":{Element:"Boron",ModusTestIDv1:"S-B-SP.04",ModusTestIDv2:"L_MODV2_SOIL_B_010",Units:["meq/L",null]},"S-B-DTPA-SORB.05":{Element:"Boron",ModusTestIDv1:"S-B-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_B_011",Units:["mg/kg","ppm"]},"S-B-EPA3050.04":{Element:"Boron",ModusTestIDv1:"S-B-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_B_012",Units:["mg/kg","ppm"]},"S-B-RES.04":{Element:"Boron",ModusTestIDv1:"S-B-RES.04",ModusTestIDv2:"L_MODV2_SOIL_B_015",Units:["mg/kg","ppm"]},"S-B-M1.04":{Element:"Boron",ModusTestIDv1:"S-B-M1.04",ModusTestIDv2:"L_MODV2_SOIL_B_016",Units:["mg/kg","ppm"]},"S-B-M3.04":{Element:"Boron",ModusTestIDv1:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017",Units:["mg/kg","ppm"]},"S-B-NA.04":{Element:"Boron",ModusTestIDv1:"S-B-NA.04",ModusTestIDv2:"L_MODV2_SOIL_B_019",Units:["mg/kg","ppm"]},"S-BPH-AEB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-AEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_001",Units:["standard pH unit",null]},"S-BPH-MAEB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MAEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_002",Units:["standard pH unit",null]},"S-BPH.19":{Element:"Buffer pH",ModusTestIDv1:"S-BPH.19",ModusTestIDv2:"L_MODV2_SOIL_BPH_003",Units:["standard pH unit",null]},"S-BPH-MEB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_004",Units:["standard pH unit",null]},"S-BPH-SIK1.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_007",Units:["standard pH unit",null]},"S-BPH-SIK2.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SIK2.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_008",Units:["standard pH unit",null]},"S-BPH-SMPB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SMPB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_009",Units:["standard pH unit",null]},"S-BPH-WB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-WB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_010",Units:["standard pH unit",null]},"S-BPH-MWB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MWB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_011",Units:["standard pH unit",null]},"S-BD-Clod.00":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Clod.00",ModusTestIDv2:"L_MODV2_SOIL_BD_001",Units:["g/cm3",null]},"S-BD-Coarse.15":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Coarse.15",ModusTestIDv2:"L_MODV2_SOIL_BD_002",Units:["g/cm3",null]},"S-BD-Core.00":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Core.00",ModusTestIDv2:"L_MODV2_SOIL_BD_003",Units:["g/cm3",null]},"S-BD-Fine.15":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Fine.15",ModusTestIDv2:"L_MODV2_SOIL_BD_004",Units:["g/cm3",null]},"S-BD-Scoop.00":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Scoop.00",ModusTestIDv2:"L_MODV2_SOIL_BD_005",Units:["g/cm3",null]},"S-BD.19":{Element:"Bulk Density",ModusTestIDv1:"S-BD.19",ModusTestIDv2:"L_MODV2_SOIL_BD_006",Units:["g/cm3",null]},"S-C:N.16":{Element:"C:N Ratio",ModusTestIDv1:"S-C:N.16",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_002",Units:["Ratio",null]},"S-C:N.19":{Element:"C:N Ratio",ModusTestIDv1:"S-C:N.19",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_003",Units:["Ratio",null]},"S-C:N-Haney.19":{Element:"C:N Ratio",ModusTestIDv1:"S-C:N-Haney.19",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_004",Units:["Ratio",null]},"S-CAEMG-M1.19":{Element:"Ca + exchangable Mg",ModusTestIDv1:"S-CAEMG-M1.19",ModusTestIDv2:"L_MODV2_SOIL_CAEMGP_001",Units:[null,null]},"S-CA:KM1.19":{Element:"Ca:K ratio",ModusTestIDv1:"S-CA:KM1.19",ModusTestIDv2:"L_MODV2_SOIL_CAKRATIO_001",Units:[null,null]},"S-CA:MG.19":{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_001",Units:[null,null]},"S-CA:MG-AA.19":{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-AA.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_002",Units:[null,null]},"S-CA:MG-BACL2.19":{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_003",Units:[null,null]},"S-CA:MG-PWAA.19":{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_004",Units:[null,null]},"S-CA:NO3.19":{Element:"Ca:NO3 ratio",ModusTestIDv1:"S-CA:NO3.19",ModusTestIDv2:"L_MODV2_SOIL_CANO3RATIO_001",Units:[null,null]},"S-CAMG:KM1.19":{Element:"Ca+Mg:K ratio",ModusTestIDv1:"S-CAMG:KM1.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGKRATIO_001",Units:[null,null]},"S-CD-AR.07":{Element:"Cadmium",ModusTestIDv1:"S-CD-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CD_001",Units:["ug/kg","ppb"]},"S-CD-EPA3050.04":{Element:"Cadmium",ModusTestIDv1:"S-CD-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CD_002",Units:["mg/kg","ppm"]},"S-CD-EPA6010B.00":{Element:"Cadmium",ModusTestIDv1:"S-CD-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CD_005",Units:[null,null]},"S-CA-PWAA.23":{Element:"Calcium",ModusTestIDv1:"S-CA-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_CA_001",Units:["cmol/kg","%"]},"S-CA-AA.23":{Element:"Calcium",ModusTestIDv1:"S-CA-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CA_002",Units:["mg/kg","ppm"]},"S-CA-NH4AC.05":{Element:"Calcium",ModusTestIDv1:"S-CA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_CA_003",Units:["mg/kg","ppm"]},"S-CA-NH4CL.23":{Element:"Calcium",ModusTestIDv1:"S-CA-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_CA_005",Units:["cmol/kg","meq/100g"]},"S-CA-PNA4CL.23":{Element:"Calcium",ModusTestIDv1:"S-CA-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_CA_006",Units:["cmol/kg","meq/100g"]},"S-CA-BACL2.23":{Element:"Calcium",ModusTestIDv1:"S-CA-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_CA_007",Units:["cmol/kg","meq/100g"]},"S-CA-INDX.19":{Element:"Calcium",ModusTestIDv1:"S-CA-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_CA_008",Units:["none",null]},"S-CA-M3AA.19":{Element:"Calcium",ModusTestIDv1:"S-CA-M3AA.19",ModusTestIDv2:"L_MODV2_SOIL_CA_009",Units:["mg/kg","ppm"]},"S-CA-W1:1.05":{Element:"Calcium",ModusTestIDv1:"S-CA-W1:1.05",ModusTestIDv2:"L_MODV2_SOIL_CA_010",Units:["meq/L",null]},"S-CA-W20:1.04":{Element:"Calcium",ModusTestIDv1:"S-CA-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_CA_011",Units:["mg/kg","ppm"]},"S-CA-W5:1.04":{Element:"Calcium",ModusTestIDv1:"S-CA-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_CA_012",Units:["mg/kg","ppm"]},"S-CA-EPA3050.04":{Element:"Calcium",ModusTestIDv1:"S-CA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CA_013",Units:["mg/kg","ppm"]},"S-CA-H3A1.01.04":{Element:"Calcium",ModusTestIDv1:"S-CA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CA_014",Units:["mg/kg","ppm"]},"S-CA-RES.04":{Element:"Calcium",ModusTestIDv1:"S-CA-RES.04",ModusTestIDv2:"L_MODV2_SOIL_CA_016",Units:["mg/kg","ppm"]},"S-CA-LANC.04":{Element:"Calcium",ModusTestIDv1:"S-CA-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_CA_017",Units:["mg/kg","ppm"]},"S-CA-M1.05":{Element:"Calcium",ModusTestIDv1:"S-CA-M1.05",ModusTestIDv2:"L_MODV2_SOIL_CA_018",Units:["mg/kg","ppm"]},"S-CA-M2.05":{Element:"Calcium",ModusTestIDv1:"S-CA-M2.05",ModusTestIDv2:"L_MODV2_SOIL_CA_019",Units:["mg/kg","ppm"]},"S-CA.19":{Element:"Calcium",ModusTestIDv1:"S-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CA_020",Units:["mg/kg","ppm"]},"S-CA-M3.05":{Element:"Calcium",ModusTestIDv1:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021",Units:["mg/kg","ppm"]},"S-CA-MOR.05":{Element:"Calcium",ModusTestIDv1:"S-CA-MOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_023",Units:["mg/kg","ppm"]},"S-CA-MMOR.05":{Element:"Calcium",ModusTestIDv1:"S-CA-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_024",Units:["mg/kg","ppm"]},"S-CA-NA.04":{Element:"Calcium",ModusTestIDv1:"S-CA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CA_025",Units:["%",null]},"S-CA-PRS.04":{Element:"Calcium",ModusTestIDv1:"S-CA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_CA_027",Units:["mg/kg","ppm"]},"S-CA-KCL-01.05":{Element:"Calcium",ModusTestIDv1:"S-CA-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_CA_030",Units:["mg/kg","ppm"]},"S-CA-SP.05":{Element:"Calcium",ModusTestIDv1:"S-CA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_CA_031",Units:["meq/L",null]},"S-CA-TRG.06":{Element:"Calcium",ModusTestIDv1:"S-CA-TRG.06",ModusTestIDv2:"L_MODV2_SOIL_CA_032",Units:["mg/kg","ppm"]},"S-CACO3-AA.02":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3-AA.02",ModusTestIDv2:"L_MODV2_SOIL_CACO3_001",Units:["%",null]},"S-CACO3-OxA.12":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3-OxA.12",ModusTestIDv2:"L_MODV2_SOIL_CACO3_002",Units:["%",null]},"S-CACO3.14":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.14",ModusTestIDv2:"L_MODV2_SOIL_CACO3_003",Units:["%",null]},"S-CACO3.12":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.12",ModusTestIDv2:"L_MODV2_SOIL_CACO3_004",Units:["%",null]},"S-CACO3.15":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.15",ModusTestIDv2:"L_MODV2_SOIL_CACO3_005",Units:["%",null]},"S-C-W-04":{Element:"Carbon",ModusTestIDv1:"S-C-W-04",ModusTestIDv2:"L_MODV2_SOIL_C_001",Units:["mg/kg","ppm"]},"S-TC-COMB.15":{Element:'"carbon, total"',ModusTestIDv1:"S-TC-COMB.15",ModusTestIDv2:"L_MODV2_SOIL_TC_001",Units:["%",null]},"S-CO3-AA.02":{Element:"Carbonate",ModusTestIDv1:"S-CO3-AA.02",ModusTestIDv2:"L_MODV2_SOIL_CO3_001",Units:["%",null]},"S-CO3-W1:1.12":{Element:"Carbonate",ModusTestIDv1:"S-CO3-W1:1.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_002",Units:["meq/L",null]},"S-CO3-SP.19":{Element:"Carbonate",ModusTestIDv1:"S-CO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_CO3_003",Units:["meq/L",null]},"S-CO3-SP.12":{Element:"Carbonate",ModusTestIDv1:"S-CO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_004",Units:["meq/L",null]},"S-CACO3.11":{Element:'"carbonates, qualitative"',ModusTestIDv1:"S-CACO3.11",ModusTestIDv2:"L_MODV2_SOIL_CO3QUAL_001",Units:["none",null]},"S-CEC-AA.23":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_001",Units:["mg/kg","ppm"]},"S-CEC-NH4N.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-NH4N.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_002",Units:["mg/kg","ppm"]},"S-CEC-PWAA.23":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_003",Units:["mg/kg","ppm"]},"S-CEC-BACL2.23":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_005",Units:["cmol/kg","meq/100g"]},"S-CEC-BACLAA.23":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-BACLAA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_006",Units:["cmol/kg","meq/100g"]},"S-CEC-CA.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-CA.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_007",Units:["cmol/kg","meq/100g"]},"S-CEC.19":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008",Units:["cmol/kg","meq/100g"]},"S-CEC-K.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-K.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_009",Units:["cmol/kg","meq/100g"]},"S-CEC-AG-THU.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-AG-THU.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_010",Units:["cmol/kg","meq/100g"]},"S-CEC-NA.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-NA.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_011",Units:["cmol/kg","meq/100g"]},"S-CROSS-W5:1.19":{Element:"cation ratio of structural stability",ModusTestIDv1:"S-CROSS-W5:1.19",ModusTestIDv2:"L_MODV2_SOIL_CROSS_001",Units:["none",null]},"S-C:A.19":{Element:"Cation:Anion Ratio",ModusTestIDv1:"S-C:A.19",ModusTestIDv2:"L_MODV2_SOIL_CATANRATIO_001",Units:[null,null]},"S-CL-HG.01":{Element:"Chloride",ModusTestIDv1:"S-CL-HG.01",ModusTestIDv2:"L_MODV2_SOIL_CL_004",Units:["ppm","mg/kg"]},"S-CL-W1:1.01":{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_CL_005",Units:["mg/kg","ppm"]},"S-CL-W1:1.01.04":{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_006",Units:["meq/L",null]},"S-CL-W1:1.08":{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.08",ModusTestIDv2:"L_MODV2_SOIL_CL_007",Units:["meq/L",null]},"S-CL-W1:1.17":{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.17",ModusTestIDv2:"L_MODV2_SOIL_CL_008",Units:["meq/L",null]},"S-CL-EPA3000.00":{Element:"Chloride",ModusTestIDv1:"S-CL-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_CL_009",Units:["mg/L",null]},"S-CL-SP.01.04":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_010",Units:["meq/L",null]},"S-CL-SP.12.06":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.12.06",ModusTestIDv2:"L_MODV2_SOIL_CL_011",Units:["meq/L",null]},"S-CL-SP.17":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.17",ModusTestIDv2:"L_MODV2_SOIL_CL_012",Units:["meq/L",null]},"S-CL-SP.01":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.01",ModusTestIDv2:"L_MODV2_SOIL_CL_013",Units:["mg/L",null]},"S-CL-SP.02":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.02",ModusTestIDv2:"L_MODV2_SOIL_CL_014",Units:["meq/L",null]},"S-CL-SP.08":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.08",ModusTestIDv2:"L_MODV2_SOIL_CL_015",Units:["meq/L",null]},"S-CL.01.04":{Element:"Chloride",ModusTestIDv1:"S-CL.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_016",Units:["meq/L",null]},"S-CL.12.06":{Element:"Chloride",ModusTestIDv1:"S-CL.12.06",ModusTestIDv2:"L_MODV2_SOIL_CL_017",Units:["meq/L",null]},"S-CL-1:5.02":{Element:"Chloride",ModusTestIDv1:"S-CL-1:5.02",ModusTestIDv2:"L_MODV2_SOIL_CL_018",Units:["meq/L",null]},"S-CL-1:5.17":{Element:"Chloride",ModusTestIDv1:"S-CL-1:5.17",ModusTestIDv2:"L_MODV2_SOIL_CL_019",Units:["meq/L",null]},"S-CL-1:5H2O.01":{Element:"Chloride",ModusTestIDv1:"S-CL-1:5H2O.01",ModusTestIDv2:"L_MODV2_SOIL_CL_020",Units:["meq/L",null]},"S-CR-AR.07":{Element:"Chromium",ModusTestIDv1:"S-CR-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CR_001",Units:["ug/kg","ppb"]},"S-CR-EPA3050.04":{Element:"Chromium",ModusTestIDv1:"S-CR-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CR_002",Units:["mg/kg","ppm"]},"S-CR-EPA6010B.00":{Element:"Chromium",ModusTestIDv1:"S-CR-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CR_005",Units:["mg/kg","ppm"]},"S-CLAY-SV.19":{Element:"Clay",ModusTestIDv1:"S-CLAY-SV.19",ModusTestIDv2:"L_MODV2_SOIL_CLAY_001",Units:["%",null]},"S-CLAY.22":{Element:"Clay",ModusTestIDv1:"S-CLAY.22",ModusTestIDv2:"L_MODV2_SOIL_CLAY_002",Units:["%",null]},"S-CLAY-SED.10":{Element:"Clay",ModusTestIDv1:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003",Units:["%",null]},"S-CLAY-SED.11,S-CLAY-ST-OT":{Element:"Clay",ModusTestIDv1:"S-CLAY-SED.11,S-CLAY-ST-OT",ModusTestIDv2:"L_MODV2_SOIL_CLAY_004",Units:["%",null]},"S-CO2-RESP.01":{Element:"CO2 Respiration",ModusTestIDv1:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001",Units:["%",null]},"S-CO-AR.07":{Element:"Cobalt",ModusTestIDv1:"S-CO-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CO_001",Units:["ug/kg","ppb"]},"S-CO-DTPA.04":{Element:"Cobalt",ModusTestIDv1:"S-CO-DTPA.04",ModusTestIDv2:"L_MODV2_SOIL_CO_003",Units:["mg/kg","ppm"]},"S-CO-EPA2007.00":{Element:"Cobalt",ModusTestIDv1:"S-CO-EPA2007.00",ModusTestIDv2:"L_MODV2_SOIL_CO_004",Units:["mg/L",null]},"S-CO-EPA3050.04":{Element:"Cobalt",ModusTestIDv1:"S-CO-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CO_005",Units:["mg/kg","ppm"]},"S-CO-M3.04":{Element:"Cobalt",ModusTestIDv1:"S-CO-M3.04",ModusTestIDv2:"L_MODV2_SOIL_CO_006",Units:["mg/kg","ppm"]},"S-Color.24":{Element:"Color",ModusTestIDv1:"S-Color.24",ModusTestIDv2:"L_MODV2_SOIL_COLOR_001",Units:["none",null]},"S-CU-DTPA.05":{Element:"Copper",ModusTestIDv1:"S-CU-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_002",Units:["mg/kg","ppm"]},"S-CU-DTPA-SORB.05":{Element:"Copper",ModusTestIDv1:"S-CU-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_CU_003",Units:["mg/kg","ppm"]},"S-CU-EDTA.05":{Element:"Copper",ModusTestIDv1:"S-CU-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_004",Units:["mg/kg","ppm"]},"S-CU-EPA3050.04":{Element:"Copper",ModusTestIDv1:"S-CU-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CU_005",Units:["mg/kg","ppm"]},"S-CU-EPA6010B.00":{Element:"Copper",ModusTestIDv1:"S-CU-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CU_008",Units:["mg/kg",null]},"S-CU-H3A1.01.04":{Element:"Copper",ModusTestIDv1:"S-CU-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CU_009",Units:["mg/kg","ppm"]},"S-CU-HCL.05":{Element:"Copper",ModusTestIDv1:"S-CU-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_CU_010",Units:["mg/kg","ppm"]},"S-CU-RES.04":{Element:"Copper",ModusTestIDv1:"S-CU-RES.04",ModusTestIDv2:"L_MODV2_SOIL_CU_011",Units:["mg/kg","ppm"]},"S-CU-M1.05":{Element:"Copper",ModusTestIDv1:"S-CU-M1.05",ModusTestIDv2:"L_MODV2_SOIL_CU_012",Units:["mg/kg","ppm"]},"S-CU-M2.05":{Element:"Copper",ModusTestIDv1:"S-CU-M2.05",ModusTestIDv2:"L_MODV2_SOIL_CU_013",Units:["mg/kg","ppm"]},"S-CU-M3.05":{Element:"Copper",ModusTestIDv1:"S-CU-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CU_014",Units:["mg/kg","ppm"]},"S-CU-NA.04":{Element:"Copper",ModusTestIDv1:"S-CU-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CU_018",Units:["ppm",null]},"S-CU-SP.04":{Element:"Copper",ModusTestIDv1:"S-CU-SP.04",ModusTestIDv2:"L_MODV2_SOIL_CU_022",Units:["mg/kg","ppm"]},"S-CU-NCINDX":{Element:"Copper Index",ModusTestIDv1:"S-CU-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_CUINDEX_001",Units:["none",null]},"S-DM.15":{Element:"Deleterious material",ModusTestIDv1:"S-DM.15",ModusTestIDv2:"L_MODV2_SOIL_DM_001",Units:["%",null]},"S-DI.24":{Element:"Dispersion Index",ModusTestIDv1:"S-DI.24",ModusTestIDv2:"L_MODV2_SOIL_DINDEX_001",Units:["none",null]},"S-EC-1:1.03":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001",Units:["dS/m","mmho/cm"]},"S-EC-1:2.03":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:2.03",ModusTestIDv2:"L_MODV2_SOIL_EC_002",Units:["dS/m","mmho/cm"]},"S-EC-1:5.03":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:5.03",ModusTestIDv2:"L_MODV2_SOIL_EC_003",Units:["dS/m","mmho/cm"]},"S-EC-SP.03":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-SP.03",ModusTestIDv2:"L_MODV2_SOIL_EC_004",Units:["dS/m","mmho/cm"]},"S-EC.CALC.19":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC.CALC.19",ModusTestIDv2:"L_MODV2_SOIL_EC_005",Units:["dS/m",null]},"S-ESI.19":{Element:"Electrochemical Stability Index",ModusTestIDv1:"S-ESI.19",ModusTestIDv2:"L_MODV2_SOIL_ESI_001",Units:["none",null]},"S-EMERSON.19":{Element:"Emerson Class",ModusTestIDv1:"S-EMERSON.19",ModusTestIDv2:"L_MODV2_SOIL_EMERSON_001",Units:["none",null]},"S-ENR.19":{Element:"Estimated Nitrogen Release",ModusTestIDv1:"S-ENR.19",ModusTestIDv2:"L_MODV2_SOIL_ENR_001",Units:["lb/ac","kg/ha"]},"S-AC-KCL.12":{Element:"Exchangeable Acidity",ModusTestIDv1:"S-AC-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_XACIDT_001",Units:["cmol/kg","meq/100 g"]},"S-EAL-KCL.19":{Element:"Exchangeable Aluminum",ModusTestIDv1:"S-EAL-KCL.19",ModusTestIDv2:"L_MODV2_SOIL_XAL_001",Units:["%",null]},"S-ECAP.19":{Element:"Exchangeable Calcium Percentage",ModusTestIDv1:"S-ECAP.19",ModusTestIDv2:"L_MODV2_SOIL_XCAP_001",Units:["%",null]},"S-EH-KCL.12":{Element:"Exchangeable Hydrogen",ModusTestIDv1:"S-EH-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_XH_001",Units:["meq/100 g","cmol/kg"]},"S-EHP.19":{Element:"Exchangeable Hydrogen Percentage",ModusTestIDv1:"S-EHP.19",ModusTestIDv2:"L_MODV2_SOIL_XHP_001",Units:["%",null]},"S-EMGP.19":{Element:"Exchangeable Magnesium Percentage",ModusTestIDv1:"S-EMGP.19",ModusTestIDv2:"L_MODV2_SOIL_XMGP_001",Units:["%",null]},"S-EKP.19":{Element:"Exchangeable Potassium Percentage",ModusTestIDv1:"S-EKP.19",ModusTestIDv2:"L_MODV2_SOIL_XKP_001",Units:["%",null]},"S-ESP.19":{Element:"Exchangeable Sodium Percentage",ModusTestIDv1:"S-ESP.19",ModusTestIDv2:"L_MODV2_SOIL_XNAP_001",Units:["%",null]},"S-F-EPA3000.00":{Element:"Fluoride",ModusTestIDv1:"S-F-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_F_001",Units:["mg/L",null]},"S-GTRI-PWAA.19":{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_001",Units:["none",null]},"S-GTRI-AA.19":{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-AA.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_002",Units:["none",null]},"S-GTRI-BACL2.19":{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_003",Units:["none",null]},"S-GRAVEL.19":{Element:"Gravel",ModusTestIDv1:"S-GRAVEL.19",ModusTestIDv2:"L_MODV2_SOIL_GRAVEL_001",Units:["%",null]},"S-GYPR.19":{Element:"Gypsum Recommendation",ModusTestIDv1:"S-GYPR.19",ModusTestIDv2:"L_MODV2_SOIL_GYPREC_001",Units:["tons/ac",null]},"S-HEAL-SMP.19":{Element:"H+EAlP",ModusTestIDv1:"S-HEAL-SMP.19",ModusTestIDv2:"L_MODV2_SOIL_HEAL_001",Units:["none",null]},"S-HA-FSPA.01":{Element:"Humic Matter",ModusTestIDv1:"S-HA-FSPA.01",ModusTestIDv2:"L_MODV2_SOIL_HM_001",Units:["%",null]},"S.HM-NaOH":{Element:"Humic Matter",ModusTestIDv1:"S.HM-NaOH",ModusTestIDv2:"L_MODV2_SOIL_HM_002",Units:["%",null]},"S-H+AL-SMP.02":{Element:"Hydrogen+Aluminum",ModusTestIDv1:"S-H+AL-SMP.02",ModusTestIDv2:"L_MODV2_SOIL_HAL_001",Units:["meq/100 g",null]},"S-OH-SM2320B18.12":{Element:"Hydroxide",ModusTestIDv1:"S-OH-SM2320B18.12",ModusTestIDv2:"L_MODV2_SOIL_OH_001",Units:["mg/L",null]},"S-FE-OX.23":{Element:"Iron",ModusTestIDv1:"S-FE-OX.23",ModusTestIDv2:"L_MODV2_SOIL_FE_001",Units:["mg/kg","ppm"]},"S-FE-DTPA.05":{Element:"Iron",ModusTestIDv1:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003",Units:["mg/kg","ppm"]},"S-FE-DTPA-SORB.05":{Element:"Iron",ModusTestIDv1:"S-FE-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_FE_004",Units:["mg/kg","ppm"]},"S-FE-EDTA.05":{Element:"Iron",ModusTestIDv1:"S-FE-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_005",Units:["mg/kg","ppm"]},"S-FE-EPA6010B.00":{Element:"Iron",ModusTestIDv1:"S-FE-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_FE_006",Units:["mg/kg","ppm"]},"S-FE-EPA3050.04":{Element:"Iron",ModusTestIDv1:"S-FE-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_FE_007",Units:["mg/kg","ppm"]},"S-FE-H3A.04":{Element:"Iron",ModusTestIDv1:"S-FE-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_FE_010",Units:["mg/kg","ppm"]},"S-FE-HCL.05":{Element:"Iron",ModusTestIDv1:"S-FE-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_FE_011",Units:["mg/kg","ppm"]},"S-FE-RES.04":{Element:"Iron",ModusTestIDv1:"S-FE-RES.04",ModusTestIDv2:"L_MODV2_SOIL_FE_012",Units:["mg/kg","ppm"]},"S-FE-M1.05":{Element:"Iron",ModusTestIDv1:"S-FE-M1.05",ModusTestIDv2:"L_MODV2_SOIL_FE_013",Units:["mg/kg","ppm"]},"S-FE-M2.05":{Element:"Iron",ModusTestIDv1:"S-FE-M2.05",ModusTestIDv2:"L_MODV2_SOIL_FE_014",Units:["mg/kg","ppm"]},"S-FE-M3.05":{Element:"Iron",ModusTestIDv1:"S-FE-M3.05",ModusTestIDv2:"L_MODV2_SOIL_FE_015",Units:["mg/kg","ppm"]},"S-FE-NA.04":{Element:"Iron",ModusTestIDv1:"S-FE-NA.04",ModusTestIDv2:"L_MODV2_SOIL_FE_017",Units:["ppm",null]},"S-FE-SP.04":{Element:"Iron",ModusTestIDv1:"S-FE-SP.04",ModusTestIDv2:"L_MODV2_SOIL_FE_021",Units:["mg/L",null]},"S-K:B.19":{Element:"K:B ratio",ModusTestIDv1:"S-K:B.19",ModusTestIDv2:"L_MODV2_SOIL_KBRATIO_001",Units:["none","ppm"]},"S-K:B-M3.19":{Element:"K:B ratio",ModusTestIDv1:"S-K:B-M3.19",ModusTestIDv2:"L_MODV2_SOIL_KBRATIO_002",Units:["none",null]},"S-K:MG-PWAA.19":{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_001",Units:["none",null]},"S-K:MG-AA.19":{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-AA.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_002",Units:["none",null]},"S-K:MG-BACL2.19":{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_003",Units:["none",null]},"S-K:MG.19":{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_004",Units:["none",null]},"S-K:Na-M3.19":{Element:"K:Na ratio",ModusTestIDv1:"S-K:Na-M3.19",ModusTestIDv2:"L_MODV2_SOIL_KNARATIO_001",Units:["none",null]},"S-K:Na.19":{Element:"K:Na ratio",ModusTestIDv1:"S-K:Na.19",ModusTestIDv2:"L_MODV2_SOIL_KNARATIO_002",Units:["none","ppm"]},"S-PB-AR.07":{Element:"Lead",ModusTestIDv1:"S-PB-AR.07",ModusTestIDv2:"L_MODV2_SOIL_PB_001",Units:["ug/kg","ppb"]},"S-PB-EPA6010B.00":{Element:"Lead",ModusTestIDv1:"S-PB-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_PB_002",Units:["mg/kg","ppm"]},"S-PB-EPA3050.04":{Element:"Lead",ModusTestIDv1:"S-PB-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_PB_003",Units:["mg/kg","ppm"]},"S-LIME-INDX.19":{Element:"Lime Index",ModusTestIDv1:"S-LIME-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_LINDEX_001",Units:["none",null]},"S-LR-AEB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-AEB",ModusTestIDv2:"L_MODV2_SOIL_LREC_001",Units:["tons/ac","kg/ha"]},"S-LR-MAEB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MAEB",ModusTestIDv2:"L_MODV2_SOIL_LREC_002",Units:["tons/ac","kg/ha"]},"S-LR-MB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MB",ModusTestIDv2:"L_MODV2_SOIL_LREC_003",Units:["tons/ac","kg/ha"]},"S-LR-MWB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MWB",ModusTestIDv2:"L_MODV2_SOIL_LREC_004",Units:["tons/ac","kg/ha"]},"S-LR-SIK1":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SIK1",ModusTestIDv2:"L_MODV2_SOIL_LREC_005",Units:["tons/ac","kg/ha"]},"S-LR-SIK2":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SIK2",ModusTestIDv2:"L_MODV2_SOIL_LREC_006",Units:["tons/ac","kg/ha"]},"S-LR-SMP":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SMP",ModusTestIDv2:"L_MODV2_SOIL_LREC_007",Units:["tons/ac","kg/ha"]},"S-LR-TA":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-TA",ModusTestIDv2:"L_MODV2_SOIL_LREC_008",Units:["tons/ac","kg/ha"]},"S-LR-WB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-WB",ModusTestIDv2:"L_MODV2_SOIL_LREC_009",Units:["tons/ac","kg/ha"]},"S-LI-EPA3050.04":{Element:"Lithium",ModusTestIDv1:"S-LI-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_LI_001",Units:["mg/kg","ppm"]},"S-MG-PWAA.23":{Element:"Magnesium",ModusTestIDv1:"S-MG-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_MG_001",Units:["cmol/kg","%"]},"S-MG-NH4AC.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_MG_002",Units:["mg/kg","ppm"]},"S-MG-NH4CL.23":{Element:"Magnesium",ModusTestIDv1:"S-MG-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_MG_003",Units:["cmol/kg","meq/100g"]},"S-MG-PNA4CL.23":{Element:"Magnesium",ModusTestIDv1:"S-MG-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_MG_004",Units:["cmol/kg","meq/100g"]},"S-MG-BACL2.23":{Element:"Magnesium",ModusTestIDv1:"S-MG-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_MG_005",Units:["cmol/kg","meq/100g"]},"S-MG.19":{Element:"Magnesium",ModusTestIDv1:"S-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MG_007",Units:["mg/kg","ppm"]},"S-MG-W1:1.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-W1:1.05",ModusTestIDv2:"L_MODV2_SOIL_MG_008",Units:["meq/L",null]},"S-MG-W20:1.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_MG_009",Units:["mg/kg","ppm"]},"S-MG-W5:1.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_MG_010",Units:["mg/kg","ppm"]},"S-MG-EPA6010B.00":{Element:"Magnesium",ModusTestIDv1:"S-MG-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_MG_011",Units:["mg/kg","ppm"]},"S-MG-EPA3050.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_MG_012",Units:["mg/kg","ppm"]},"S-MG-H3A1.01.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_MG_015",Units:["mg/kg","ppm"]},"S-MG-RES.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MG_017",Units:["mg/kg","ppm"]},"S-MG-LANC.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_MG_018",Units:["mg/kg","ppm"]},"S-MG-M1.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MG_019",Units:["mg/kg","ppm"]},"S-MG-M2.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MG_020",Units:["mg/kg","ppm"]},"S-MG-M3.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022",Units:["mg/kg","ppm"]},"S-MG-MOR.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-MOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_023",Units:["mg/kg","ppm"]},"S-MG-MMOR.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_024",Units:["mg/kg","ppm"]},"S-MG-NA.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MG_025",Units:["%",null]},"S-MG-PRS.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MG_028",Units:["mg/kg","ppm"]},"S-MG-KCL-01.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_MG_029",Units:["mg/kg","ppm"]},"S-MG-SP.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-SP.05",ModusTestIDv2:"L_MODV2_SOIL_MG_030",Units:["meq/L",null]},"S-MG-TRG.06":{Element:"Magnesium",ModusTestIDv1:"S-MG-TRG.06",ModusTestIDv2:"L_MODV2_SOIL_MG_031",Units:["mg/kg","ppm"]},"S-MG-INDX.19":{Element:"Magnesium Index",ModusTestIDv1:"S-MG-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_MGINDEX_001",Units:["none",null]},"S-MN-DTPA.05":{Element:"Manganese",ModusTestIDv1:"S-MN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_002",Units:["mg/kg","ppm"]},"S-MN-DTPA-SORB.05":{Element:"Manganese",ModusTestIDv1:"S-MN-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_MN_003",Units:["mg/kg","ppm"]},"S-MN-EDTA.05":{Element:"Manganese",ModusTestIDv1:"S-MN-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_004",Units:["mg/kg","ppm"]},"S-MN-EPA6010B.00":{Element:"Manganese",ModusTestIDv1:"S-MN-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_MN_005",Units:["mg/kg","ppm"]},"S-MN-HCL.05":{Element:"Manganese",ModusTestIDv1:"S-MN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_MN_009",Units:["mg/kg","ppm"]},"S-MN-RES.04":{Element:"Manganese",ModusTestIDv1:"S-MN-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MN_010",Units:["mg/kg","ppm"]},"S-MN-LANC.04":{Element:"Manganese",ModusTestIDv1:"S-MN-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_MN_011",Units:["mg/kg","ppm"]},"S-MN-M1.05":{Element:"Manganese",ModusTestIDv1:"S-MN-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MN_012",Units:["mg/kg","ppm"]},"S-MN-M2.05":{Element:"Manganese",ModusTestIDv1:"S-MN-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MN_013",Units:["mg/kg","ppm"]},"S-MN-M3.05":{Element:"Manganese",ModusTestIDv1:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015",Units:["mg/kg","ppm"]},"S-MN-NA.04":{Element:"Manganese",ModusTestIDv1:"S-MN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MN_018",Units:["ppm",null]},"S-MN-PHOS.05":{Element:"Manganese",ModusTestIDv1:"S-MN-PHOS.05",ModusTestIDv2:"L_MODV2_SOIL_MN_019",Units:["mg/kg","ppm"]},"S-MN-SP.04":{Element:"Manganese",ModusTestIDv1:"S-MN-SP.04",ModusTestIDv2:"L_MODV2_SOIL_MN_024",Units:["mg/L",null]},"S-MN-NCINDX":{Element:"Manganese Index",ModusTestIDv1:"S-MN-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_MNINDEX_001",Units:["none",null]},"S-HG-EPA3050.04":{Element:"Mercury",ModusTestIDv1:"S-HG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_HG_001",Units:["mg/kg","ppm"]},"S-MG:K.19":{Element:"Mg:K ratio",ModusTestIDv1:"S-MG:K.19",ModusTestIDv2:"L_MODV2_SOIL_MGKRATIO_001",Units:["none",null]},"S-Mn:Cu-M3.19":{Element:"Mn:Cu ratio",ModusTestIDv1:"S-Mn:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_MNCURATIO_001",Units:["none",null]},"S-Mn:Cu.19":{Element:"Mn:Cu ratio",ModusTestIDv1:"S-Mn:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_MNCURATIO_002",Units:["none","ppm"]},"S-Mn:Zn-M3.19":{Element:"Mn:Zn ratio",ModusTestIDv1:"S-Mn:Zn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_MNZNRATIO_001",Units:["none",null]},"S-Mn:Zn.19":{Element:"Mn:Zn ratio",ModusTestIDv1:"S-Mn:Zn.19",ModusTestIDv2:"L_MODV2_SOIL_MNZNRATIO_002",Units:["none","ppm"]},"S-AW.14":{Element:"moisture content",ModusTestIDv1:"S-AW.14",ModusTestIDv2:"L_MODV2_SOIL_GAWC_001",Units:["%","in/ft"]},"S-MOIST-GRAV.00":{Element:"moisture content",ModusTestIDv1:"S-MOIST-GRAV.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_001",Units:["%",null]},"S-MOIST-SP.00":{Element:"moisture content",ModusTestIDv1:"S-MOIST-SP.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_002",Units:["%",null]},"S-0.3BAR.14":{Element:"moisture content",ModusTestIDv1:"S-0.3BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_03BAR_001",Units:["%","in/ft"]},"S-15BAR.14":{Element:"moisture content",ModusTestIDv1:"S-15BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_15BAR_001",Units:["%","in/ft"]},"S-MO-OA.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-OA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_002",Units:["mg/kg","ppm"]},"S-MO-AR.07":{Element:"Molybdenum",ModusTestIDv1:"S-MO-AR.07",ModusTestIDv2:"L_MODV2_SOIL_MO_003",Units:["ug/kg","ppb"]},"S-MO-CACL2.23":{Element:"Molybdenum",ModusTestIDv1:"S-MO-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_MO_005",Units:["mg/kg","ppm"]},"S-MO-EPA3050.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_MO_006",Units:["mg/kg","ppm"]},"S-MO-RES.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MO_010",Units:["mg/kg","ppm"]},"S-MO-M1.05":{Element:"Molybdenum",ModusTestIDv1:"S-MO-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MO_011",Units:["mg/kg","ppm"]},"S-MO-M2.05":{Element:"Molybdenum",ModusTestIDv1:"S-MO-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MO_012",Units:["mg/kg","ppm"]},"S-MO-M3.05":{Element:"Molybdenum",ModusTestIDv1:"S-MO-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MO_014",Units:["mg/kg","ppm"]},"S-MO-NA.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_015",Units:["ppm",null]},"S-MO-PRS.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MO_020",Units:["mg/kg","ppm"]},"S-MO-SP.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-SP.04",ModusTestIDv2:"L_MODV2_SOIL_MO_021",Units:["mg/L",null]},"S-MO-HOTH2O.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-HOTH2O.04",ModusTestIDv2:"L_MODV2_SOIL_MO_022",Units:["mg/kg","ppm"]},"S-NI-EPA6010B.00":{Element:"Nickel",ModusTestIDv1:"S-NI-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_NI_001",Units:["mg/kg","ppm"]},"S-NI-EPA3050.04":{Element:"Nickel",ModusTestIDv1:"S-NI-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_NI_002",Units:["mg/kg","ppm"]},"S-NO3N-ALSO4B.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-ALSO4B.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_001",Units:["mg/kg","ppm"]},"S-NO3-CTA.01.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-CTA.01.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_004",Units:["mg/kg","ppm"]},"S-NO3-W1:1.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-W1:1.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_005",Units:["meq/L",null]},"S-NO3N-EPA3000.00":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_NO3N_006",Units:["mg/L",null]},"S-NO3N-EPA3532.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-EPA3532.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_007",Units:["mg/kg",null]},"S-NO3-H3A1.01.05":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",Units:["mg/kg","ppm"]},"S-NO3-RES.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-RES.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_009",Units:["mg/kg","ppm"]},"S-NO3-1:5.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_010",Units:["mg/kg","ppm"]},"S-NO3-1:5.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_011",Units:["mg/kg","ppm"]},"S-NO3-1:5.09":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.09",ModusTestIDv2:"L_MODV2_SOIL_NO3N_012",Units:["mg/kg","ppm"]},"S-NO3-KCL.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-KCL.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_013",Units:["mg/kg","ppm"]},"S-NO3N.2KCL.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N.2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_014",Units:["mg/kg","ppm"]},"S-NO3N-05KCL.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-05KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_015",Units:["mg/kg","ppm"]},"S-NO3-5K2SO4.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-5K2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_016",Units:["mg/kg","ppm"]},"S-NO3N-SP.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-SP.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_017",Units:["mg/kg","ppm"]},"S-NO3-SP.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_018",Units:["meq/L",null]},"S-NO3-SP.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_019",Units:["meq/L",null]},"S-NO3-SP.02.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.02.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_020",Units:["meq/L",null]},"S-NO3-BIC.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-BIC.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_021",Units:["mg/kg","ppm"]},"S-NO2-KCL.01":{Element:"Nitrite-Nitrogen",ModusTestIDv1:"S-NO2-KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO2N_001",Units:["mg/kg","ppm"]},"S-TKN.01":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.01",ModusTestIDv2:"L_MODV2_SOIL_TKN_001",Units:["%",null]},"S-TKN.01.05":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.01.05",ModusTestIDv2:"L_MODV2_SOIL_TKN_002",Units:["%",null]},"S-TKN.09":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.09",ModusTestIDv2:"L_MODV2_SOIL_TKN_003",Units:["%",null]},"S-TKN.18":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.18",ModusTestIDv2:"L_MODV2_SOIL_TKN_004",Units:["%",null]},"S-TN.01.05":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.01.05",ModusTestIDv2:"L_MODV2_SOIL_TKN_005",Units:["%",null]},"S-TN.09":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.09",ModusTestIDv2:"L_MODV2_SOIL_TKN_006",Units:["%",null]},"S-TN.18":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.18",ModusTestIDv2:"L_MODV2_SOIL_TKN_007",Units:["%",null]},"S-TKN.19":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.19",ModusTestIDv2:"L_MODV2_SOIL_TN_001",Units:["%",null]},"S-TN.16":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002",Units:["%",null]},"S-TN-W.01":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN-W.01",ModusTestIDv2:"L_MODV2_SOIL_TN_003",Units:[null,null]},"S-TN-RES.01":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN-RES.01",ModusTestIDv2:"L_MODV2_SOIL_TN_004",Units:["lb/ac/day","kg/ha/day"]},"S-TIN.19":{Element:'"Nitrogen, Total Inorganic"',ModusTestIDv1:"S-TIN.19",ModusTestIDv2:"L_MODV2_SOIL_TIN_001",Units:["mg/kg","ppm"]},"S-XX.00":{Element:"Null",ModusTestIDv1:"S-XX.00",ModusTestIDv2:"L_MODV2_SOIL_NULL_001",Units:["none",null]},"S-TOC.16":{Element:"Organic Carbon",ModusTestIDv1:"S-TOC.16",ModusTestIDv2:"L_MODV2_SOIL_OC_001",Units:["%",null]},"S-OC-WB.01":{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.01",ModusTestIDv2:"L_MODV2_SOIL_OC_003",Units:["%",null]},"S-OC-WB.12":{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.12",ModusTestIDv2:"L_MODV2_SOIL_OC_004",Units:["%",null]},"S-TOC-W1:10.16":{Element:"Organic Carbon",ModusTestIDv1:"S-TOC-W1:10.16",ModusTestIDv2:"L_MODV2_SOIL_OC_005",Units:["mg/kg","ppm"]},"S-TOC.12.09":{Element:'"Organic Carbon, Total"',ModusTestIDv1:"S-TOC.12.09",ModusTestIDv2:"L_MODV2_SOIL_TOC_001",Units:["%","g/kg"]},"S-OM.19":{Element:"Organic Matter",ModusTestIDv1:"S-OM.19",ModusTestIDv2:"L_MODV2_SOIL_OM_001",Units:["%",null]},"S-SOM-Color.19":{Element:"Organic Matter",ModusTestIDv1:"S-SOM-Color.19",ModusTestIDv2:"L_MODV2_SOIL_OM_002",Units:["%",null]},"S-OM-DUMAS.16":{Element:"Organic Matter",ModusTestIDv1:"S-OM-DUMAS.16",ModusTestIDv2:"L_MODV2_SOIL_OM_003",Units:["%",null]},"S-SOM-LOI.15":{Element:"Organic Matter",ModusTestIDv1:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",Units:["%",null]},"S-SOM-WB.01.09":{Element:"Organic Matter",ModusTestIDv1:"S-SOM-WB.01.09",ModusTestIDv2:"L_MODV2_SOIL_OM_005",Units:["%",null]},"S-SOM-WB.12.09":{Element:"Organic Matter",ModusTestIDv1:"S-SOM-WB.12.09",ModusTestIDv2:"L_MODV2_SOIL_OM_006",Units:["%",null]},"S-ON.19":{Element:"Organic Nitrogen",ModusTestIDv1:"S-ON.19",ModusTestIDv2:"L_MODV2_SOIL_ON_001",Units:["mg/L",null]},"S-OTHER.19":{Element:"Other",ModusTestIDv1:"S-OTHER.19",ModusTestIDv2:"L_MODV2_SOIL_OTHER_001",Units:["none",null]},"S-P:Cu-M3.19":{Element:"P:Cu ratio",ModusTestIDv1:"S-P:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PCURATIO_001",Units:["none",null]},"S-P:Cu.19":{Element:"P:Cu ratio",ModusTestIDv1:"S-P:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_PCURATIO_002",Units:["none","ppm"]},"S-P:Mn-M3.19":{Element:"P:Mn ratio",ModusTestIDv1:"S-P:Mn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PMNRATIO_001",Units:["none",null]},"S-P:Mn.19":{Element:"P:Mn ratio",ModusTestIDv1:"S-P:Mn.19",ModusTestIDv2:"L_MODV2_SOIL_PMNRATIO_002",Units:["none","ppm"]},"S-P:S-M3.19":{Element:"P:S ratio",ModusTestIDv1:"S-P:S-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PSRATIO_001",Units:["none",null]},"S-P:S.19":{Element:"P:S ratio",ModusTestIDv1:"S-P:S.19",ModusTestIDv2:"L_MODV2_SOIL_PSRATIO_002",Units:["none","ppm"]},"S-P:Zn-M3.19":{Element:"P:Zn ratio",ModusTestIDv1:"S-P:Zn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PZNRATIO_001",Units:["none",null]},"S-P:Zn.19":{Element:"P:Zn ratio",ModusTestIDv1:"S-P:Zn.19",ModusTestIDv2:"L_MODV2_SOIL_PZNRATIO_002",Units:["none","ppm"]},"S-AC-KMNO4.01":{Element:"permanganate-oxidizable carbon (POXC)",ModusTestIDv1:"S-AC-KMNO4.01",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_001",Units:["mg/kg","ppm"]},"S-PH-1:1.02.08":{Element:"pH",ModusTestIDv1:"S-PH-1:1.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_002",Units:["standard pH unit",null]},"S-PH-1:2.02.08":{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_004",Units:["standard pH unit",null]},"S-PH-1:1.02.07":{Element:"pH",ModusTestIDv1:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005",Units:["standard pH unit",null]},"S-PH-1:2.02.07":{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_006",Units:["standard pH unit",null]},"S-PH-1:2.5.02.07":{Element:"pH",ModusTestIDv1:"S-PH-1:2.5.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_007",Units:["standard pH unit",null]},"S-pH-1:5H2O.02":{Element:"pH",ModusTestIDv1:"S-pH-1:5H2O.02",ModusTestIDv2:"L_MODV2_SOIL_PH_008",Units:["standard pH unit",null]},"S-PH-1:1KCL.02":{Element:"pH",ModusTestIDv1:"S-PH-1:1KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_010",Units:["standard pH unit",null]},"S-PH-1:5.02.08":{Element:"pH",ModusTestIDv1:"S-PH-1:5.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_011",Units:["standard pH unit",null]},"S-pH-1:5KCL.02":{Element:"pH",ModusTestIDv1:"S-pH-1:5KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_012",Units:["standard pH unit",null]},"S-PH-SP.02":{Element:"pH",ModusTestIDv1:"S-PH-SP.02",ModusTestIDv2:"L_MODV2_SOIL_PH_013",Units:["standard pH unit",null]},"S-P-AA-NH4AC.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-AA-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_P_001",Units:["mg/kg","ppm"]},"S-P-AR.23":{Element:"Phosphorus",ModusTestIDv1:"S-P-AR.23",ModusTestIDv2:"L_MODV2_SOIL_P_003",Units:["mg/kg","ppm"]},"S-P-B1-1:10.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",Units:["mg/kg","ppm"]},"S-P-B1-1:7.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-B1-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_005",Units:["mg/kg","ppm"]},"S-P-B2-1:10.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_006",Units:["mg/kg","ppm"]},"S-P-B2-1:7.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-B2-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_007",Units:["mg/kg","ppm"]},"S-P-BK.23":{Element:"Phosphorus",ModusTestIDv1:"S-P-BK.23",ModusTestIDv2:"L_MODV2_SOIL_P_008",Units:["mg/kg","ppm"]},"S-P-LACTATE.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-LACTATE.01",ModusTestIDv2:"L_MODV2_SOIL_P_009",Units:["mg/kg","ppm"]},"S-P-CACL2.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_P_010",Units:["mg/kg","ppm"]},"S-P-M3BRAYP1.19":{Element:"Phosphorus",ModusTestIDv1:"S-P-M3BRAYP1.19",ModusTestIDv2:"L_MODV2_SOIL_P_011",Units:["mg/kg","ppm"]},"S-P-CALD.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-CALD.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_013",Units:["mg/kg","ppm"]},"S-P-W1:1.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_P_014",Units:["mg/kg","ppm"]},"S-P-W1:5.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-W1:5.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_015",Units:["mg/kg","ppm"]},"S-P-W10:1.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-W10:1.04",ModusTestIDv2:"L_MODV2_SOIL_P_016",Units:["mg/kg","ppm"]},"S-P-W20:1.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_P_017",Units:["mg/kg","ppm"]},"S-P-DGT.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-DGT.01",ModusTestIDv2:"L_MODV2_SOIL_P_018",Units:["mg/kg","ppm"]},"S-P-EPA3050.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_P_019",Units:["mg/kg","ppm"]},"S-P-H3A1.01.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_P_020",Units:["mg/kg","ppm"]},"S-P-RES.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-RES.01",ModusTestIDv2:"L_MODV2_SOIL_P_021",Units:["mg/kg","ppm"]},"S-P-RES.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-RES.04",ModusTestIDv2:"L_MODV2_SOIL_P_022",Units:["mg/kg","ppm"]},"S-P-KEL.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-KEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_023",Units:["mg/kg","ppm"]},"S-P-MKEL.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-MKEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_024",Units:["mg/kg","ppm"]},"S-P-LANC.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_P_025",Units:["mg/kg","ppm"]},"S-P-M1.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-M1.04",ModusTestIDv2:"L_MODV2_SOIL_P_027",Units:["mg/kg","ppm"]},"S-P-M2.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-M2.04",ModusTestIDv2:"L_MODV2_SOIL_P_029",Units:["mg/kg","ppm"]},"S-P-M3.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_032",Units:["mg/kg","ppm"]},"S-P-M3.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-M3.04",ModusTestIDv2:"L_MODV2_SOIL_P_033",Units:["mg/kg","ppm"]},"S-P-MOR.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-MOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_035",Units:["mg/kg","ppm"]},"S-P-MMOR.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_037",Units:["mg/kg","ppm"]},"S-P-NA.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-NA.04",ModusTestIDv2:"L_MODV2_SOIL_P_038",Units:["%",null]},"S-P-PRS.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_P_042",Units:["mg/m2",null]},"S-P-SP.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-SP.04",ModusTestIDv2:"L_MODV2_SOIL_P_044",Units:["mg/L",null]},"S-P-BIC.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_045",Units:["mg/kg","ppm"]},"S-P-H2SO4.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_P_046",Units:["mg/kg","ppm"]},"S-P-TRG.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-TRG.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_047",Units:["mg/kg","ppm"]},"S-PBI.19":{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_001",Units:["mg/kg","ppm"]},"S-PBI-BIC.19":{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-BIC.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_002",Units:["mg/kg","ppm"]},"S-PBI-COL.19":{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-COL.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_003",Units:["mg/kg","ppm"]},"S-PBI-CACL2.01":{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_004",Units:["mg/kg","ppm"]},"S-PERI.19":{Element:"Phosphorus Environmental Risk Index",ModusTestIDv1:"S-PERI.19",ModusTestIDv2:"L_MODV2_SOIL_PERINDEX_001",Units:["mg/kg","ppm"]},"S-PFF-M3.04":{Element:"Phosphorus Fixation Factor",ModusTestIDv1:"S-PFF-M3.04",ModusTestIDv2:"L_MODV2_SOIL_PFF_001",Units:["mg/kg","ppm"]},"S-P-INDX":{Element:"Phosphorus Index",ModusTestIDv1:"S-P-INDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_001",Units:["mg/kg","ppm"]},"S-P-INDX.19":{Element:"Phosphorus Index",ModusTestIDv1:"S-P-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_002",Units:["mg/kg","ppm"]},"S-P-NCINDX":{Element:"Phosphorus Index",ModusTestIDv1:"S-P-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_003",Units:["mg/kg","ppm"]},"S-PR-M3.23":{Element:"Phosphorus Ratio",ModusTestIDv1:"S-PR-M3.23",ModusTestIDv2:"L_MODV2_SOIL_PRATIO_001",Units:["none",null]},"S-PRI-KCL.01":{Element:"Phosphorus Retention Index",ModusTestIDv1:"S-PRI-KCL.01",ModusTestIDv2:"L_MODV2_SOIL_PRI_001",Units:["mg/kg","ppm"]},"S-PSI.M3.19":{Element:"Phosphorus Saturation Index",ModusTestIDv1:"S-PSI.M3.19",ModusTestIDv2:"L_MODV2_SOIL_PSINDEX_001",Units:["mg/kg","ppm"]},"S-PSI.M3O.19":{Element:"Phosphorus Saturation Index",ModusTestIDv1:"S-PSI.M3O.19",ModusTestIDv2:"L_MODV2_SOIL_PSINDEX_002",Units:["mg/kg","ppm"]},"S-TP-H2SO4.01":{Element:'"phosphorus, total\xA0"',ModusTestIDv1:"S-TP-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_TP_001",Units:["mg/kg","ppm"]},"S-TP-NA.04":{Element:'"phosphorus, total\xA0"',ModusTestIDv1:"S-TP-NA.04",ModusTestIDv2:"L_MODV2_SOIL_TP_002",Units:["mg/kg","ppm"]},"S-K-PWAA.23":{Element:"Potassium",ModusTestIDv1:"S-K-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_K_001",Units:["cmol/kg","%"]},"S-K-NH4CL.23":{Element:"Potassium",ModusTestIDv1:"S-K-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_K_004",Units:["meq/100 g",null]},"S-K-PNA4CL.23":{Element:"Potassium",ModusTestIDv1:"S-K-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_K_005",Units:["meq/100 g",null]},"S-K-BACL2.23":{Element:"Potassium",ModusTestIDv1:"S-K-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_K_006",Units:["cmol/kg","%"]},"S-K-W20:1.04":{Element:"Potassium",ModusTestIDv1:"S-K-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_017",Units:["mg/kg","ppm"]},"S-K-H3A1.01.04":{Element:"Potassium",ModusTestIDv1:"S-K-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_K_019",Units:["mg/kg","ppm"]},"S-K-HCL.05":{Element:"Potassium",ModusTestIDv1:"S-K-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_K_020",Units:["mg/kg","ppm"]},"S-K-HCL.23":{Element:"Potassium",ModusTestIDv1:"S-K-HCL.23",ModusTestIDv2:"L_MODV2_SOIL_K_021",Units:["mg/kg","ppm"]},"S-K-RES.04":{Element:"Potassium",ModusTestIDv1:"S-K-RES.04",ModusTestIDv2:"L_MODV2_SOIL_K_023",Units:["mg/kg","ppm"]},"S-K-LANC.04":{Element:"Potassium",ModusTestIDv1:"S-K-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_K_027",Units:["mg/kg","ppm"]},"S-K-M3.20":{Element:"Potassium",ModusTestIDv1:"S-K-M3.20",ModusTestIDv2:"L_MODV2_SOIL_K_028",Units:["ppm",null]},"S-K-HNO3.07":{Element:"Potassium",ModusTestIDv1:"S-K-HNO3.07",ModusTestIDv2:"L_MODV2_SOIL_K_035",Units:["mg/kg","ppm"]},"S-K-HNO3.23":{Element:"Potassium",ModusTestIDv1:"S-K-HNO3.23",ModusTestIDv2:"L_MODV2_SOIL_K_036",Units:["mg/kg","ppm"]},"S-K-NA.04":{Element:"Potassium",ModusTestIDv1:"S-K-NA.04",ModusTestIDv2:"L_MODV2_SOIL_K_037",Units:["%",null]},"S-K-PRS.04":{Element:"Potassium",ModusTestIDv1:"S-K-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_K_039",Units:["mg/m2",null]},"S-K-SP.05":{Element:"Potassium",ModusTestIDv1:"S-K-SP.05",ModusTestIDv2:"L_MODV2_SOIL_K_042",Units:["meq/L",null]},"S-K-W5:1.04":{Element:"Potassium",ModusTestIDv1:"S-K-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_047",Units:["mg/kg",null]},"S-K.19":{Element:"Potassium",ModusTestIDv1:"S-K.19",ModusTestIDv2:"L_MODV2_SOIL_K_048",Units:["mg/kg","ppm"]},"S-K-EPA3050.04":{Element:"potassium\xA0",ModusTestIDv1:"S-K-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_K_050",Units:["mg/kg","ppm"]},"S-KFF-M3.04":{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.04",ModusTestIDv2:"L_MODV2_SOIL_KFF_001",Units:["%",null]},"S-K-INDX.19":{Element:"Potassium Index",ModusTestIDv1:"S-K-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_001",Units:["none",null]},"S-K-NCINDX":{Element:"Potassium Index",ModusTestIDv1:"S-K-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_002",Units:["none",null]},"S-TKP.01":{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TKP.01",ModusTestIDv2:"L_MODV2_SOIL_TK_002",Units:["mg/kg","ppm"]},"S-PMN.01.0":{Element:"Potential Mineralizable Nitrogen",ModusTestIDv1:"S-PMN.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTMN_001",Units:["mg/kg","ppm"]},"S-POXC.01.0":{Element:"Potential Oxidizable Carbon",ModusTestIDv1:"S-POXC.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTOXC_001",Units:["mg/kg","ppm"]},"S-RZM.00":{Element:"Rootzone Moisture",ModusTestIDv1:"S-RZM.00",ModusTestIDv2:"L_MODV2_SOIL_RZM_001",Units:["%",null]},"S-SAND-SV.19":{Element:"Sand",ModusTestIDv1:"S-SAND-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SAND_001",Units:["%",null]},"S-SAND.22":{Element:"Sand",ModusTestIDv1:"S-SAND.22",ModusTestIDv2:"L_MODV2_SOIL_SAND_002",Units:["%",null]},"S-SAND-SED.10":{Element:"Sand",ModusTestIDv1:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003",Units:["%",null]},"S-SAND-SED.11":{Element:"Sand",ModusTestIDv1:"S-SAND-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SAND_004",Units:["%",null]},"S-SANDC.BAL.19":{Element:"sand - coarse",ModusTestIDv1:"S-SANDC.BAL.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_001",Units:["%",null]},"S-SANDC.HYDRO.19":{Element:"sand - coarse",ModusTestIDv1:"S-SANDC.HYDRO.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_002",Units:["%",null]},"S-SANDC-SV.19":{Element:"sand - coarse",ModusTestIDv1:"S-SANDC-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_003",Units:["%",null]},"S-SANDF.DAL.19":{Element:"sand - fine",ModusTestIDv1:"S-SANDF.DAL.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_001",Units:["%",null]},"S-SANDF-HYDRO.19":{Element:"sand - fine",ModusTestIDv1:"S-SANDF-HYDRO.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_002",Units:["%",null]},"S-SANDF-SV.19":{Element:"sand - fine",ModusTestIDv1:"S-SANDF-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_003",Units:["%",null]},"S-SP%.19":{Element:"Saturation Paste %",ModusTestIDv1:"S-SP%.19",ModusTestIDv2:"L_MODV2_SOIL_SS",Units:["%",null]},"S-SE-AR.07":{Element:"Selenium",ModusTestIDv1:"S-SE-AR.07",ModusTestIDv2:"L_MODV2_SOIL_SE_001",Units:["ug/kg","ppb"]},"S-SE-EPA3050.04":{Element:"Selenium",ModusTestIDv1:"S-SE-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SE_003",Units:["mg/kg","ppm"]},"S-SI-AA.04":{Element:"Silicon",ModusTestIDv1:"S-SI-AA.04",ModusTestIDv2:"L_MODV2_SOIL_SI_001",Units:["mg/kg","ppm"]},"S-SI-CACL2.01":{Element:"Silicon",ModusTestIDv1:"S-SI-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_SI_003",Units:["mg/kg","ppm"]},"S-SI-KCL.04":{Element:"Silicon",ModusTestIDv1:"S-SI-KCL.04",ModusTestIDv2:"L_MODV2_SOIL_SI_004",Units:["mg/kg","ppm"]},"S-SI-SP.04":{Element:"Silicon",ModusTestIDv1:"S-SI-SP.04",ModusTestIDv2:"L_MODV2_SOIL_SI_005",Units:["mg/L",null]},"S-SI-H2SO4.01":{Element:"Silicon",ModusTestIDv1:"S-SI-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_SI_006",Units:["mg/kg","ppm"]},"S-SILT-SV.19":{Element:"Silt",ModusTestIDv1:"S-SILT-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SILT_001",Units:["%",null]},"S-SILT.22":{Element:"Silt",ModusTestIDv1:"S-SILT.22",ModusTestIDv2:"L_MODV2_SOIL_SILT_002",Units:["%",null]},"S-SILT-SED.10":{Element:"Silt",ModusTestIDv1:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003",Units:["%",null]},"S-SILT-SED.11,S-SILT-ST-OT":{Element:"Silt",ModusTestIDv1:"S-SILT-SED.11,S-SILT-ST-OT",ModusTestIDv2:"L_MODV2_SOIL_SILT_004",Units:["%",null]},"S-SI+C-SV":{Element:"Silt+Clay",ModusTestIDv1:"S-SI+C-SV",ModusTestIDv2:"L_MODV2_SOIL_SILTCLAY_001",Units:["%",null]},"S-AG-EPA3050.04":{Element:"Silver",ModusTestIDv1:"S-AG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_AG_001",Units:["mg/kg","ppm"]},"S-Slaking.24":{Element:"Slaking",ModusTestIDv1:"S-Slaking.24",ModusTestIDv2:"L_MODV2_SOIL_SLAKING_001",Units:["none",null]},"S-NA-NH4AC.05":{Element:"Sodium",ModusTestIDv1:"S-NA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_NA_001",Units:["mg/kg","ppm"]},"S-NA-NH4CL.23":{Element:"Sodium",ModusTestIDv1:"S-NA-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_NA_002",Units:["meq/100 g",null]},"S-NA-PNA4CL.23":{Element:"Sodium",ModusTestIDv1:"S-NA-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_NA_003",Units:["meq/100 g",null]},"S-NA-BACL2.23":{Element:"Sodium",ModusTestIDv1:"S-NA-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_NA_004",Units:["cmol/kg","%"]},"S-NA-EPA3050.04":{Element:"Sodium",ModusTestIDv1:"S-NA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_NA_006",Units:["mg/kg","ppm"]},"S-NA-EPA6010B.00":{Element:"Sodium",ModusTestIDv1:"S-NA-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_NA_008",Units:["mg/kg","ppm"]},"S-NA-H3A1.01.04":{Element:"Sodium",ModusTestIDv1:"S-NA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_NA_009",Units:["mg/kg","ppm"]},"S-NA-LANC.04":{Element:"Sodium",ModusTestIDv1:"S-NA-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_NA_010",Units:["lb/ac","ppm"]},"S-NA-M1.05":{Element:"Sodium",ModusTestIDv1:"S-NA-M1.05",ModusTestIDv2:"L_MODV2_SOIL_NA_011",Units:["mg/kg","ppm"]},"S-NA-M2.05":{Element:"Sodium",ModusTestIDv1:"S-NA-M2.05",ModusTestIDv2:"L_MODV2_SOIL_NA_012",Units:["mg/kg","ppm"]},"S-NA-M3.05":{Element:"Sodium",ModusTestIDv1:"S-NA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_NA_013",Units:["mg/kg","ppm"]},"S-NA-NA.04":{Element:"Sodium",ModusTestIDv1:"S-NA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_NA_015",Units:["%",null]},"S-NA-PRS.04":{Element:"Sodium",ModusTestIDv1:"S-NA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_NA_016",Units:["mg/kg","ppm"]},"S-NA-KCL-01.05":{Element:"Sodium",ModusTestIDv1:"S-NA-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_NA_017",Units:["mg/kg","ppm"]},"S-NA-RES.04":{Element:"Sodium",ModusTestIDv1:"S-NA-RES.04",ModusTestIDv2:"L_MODV2_SOIL_NA_018",Units:["mg/kg","ppm"]},"S-NA-SP.05":{Element:"Sodium",ModusTestIDv1:"S-NA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_NA_019",Units:["meq/L",null]},"S-NA-W:1:1.05":{Element:"Sodium",ModusTestIDv1:"S-NA-W:1:1.05",ModusTestIDv2:"L_MODV2_SOIL_NA_020",Units:["meq/L",null]},"S-NA-W20:1.04":{Element:"Sodium",ModusTestIDv1:"S-NA-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_NA_021",Units:["mg/kg",null]},"S-NA-W5:1.12":{Element:"Sodium",ModusTestIDv1:"S-NA-W5:1.12",ModusTestIDv2:"L_MODV2_SOIL_NA_022",Units:["mg/kg",null]},"S-NA-W5:1.23":{Element:"Sodium",ModusTestIDv1:"S-NA-W5:1.23",ModusTestIDv2:"L_MODV2_SOIL_NA_023",Units:["mg/kg","mg/L"]},"S-NA.19":{Element:"Sodium",ModusTestIDv1:"S-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NA_024",Units:["mg/kg","ppm"]},"S-SAR-AA.19":{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-AA.19",ModusTestIDv2:"L_MODV2_SOIL_SAR_001",Units:["ratio",null]},"S-SAR-W5:1.19":{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-W5:1.19",ModusTestIDv2:"L_MODV2_SOIL_SAR_002",Units:["none",null]},"S-SAR-SP.00":{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-SP.00",ModusTestIDv2:"L_MODV2_SOIL_SAR_003",Units:["Ratio",null]},"S-SOLIDS.19":{Element:'"solids, total"',ModusTestIDv1:"S-SOLIDS.19",ModusTestIDv2:"L_MODV2_SOIL_SOLIDS_001",Units:["%",null]},"S-SS.19":{Element:"Soluble Salts",ModusTestIDv1:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001",Units:["mg/kg","ppm"]},"S-SS-NCINDX.19":{Element:"Soluble Salts Index",ModusTestIDv1:"S-SS-NCINDX.19",ModusTestIDv2:"L_MODV2_SOIL_SSINDEX_001",Units:["none",null]},"S-SR-EPA3050.04":{Element:"Strontium",ModusTestIDv1:"S-SR-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SR_001",Units:["mg/kg","ppm"]},"S-SO4-1:5.13":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-1:5.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_001",Units:["mg/kg","ppm"]},"S-S-W5:1.04":{Element:"Sulfur",ModusTestIDv1:"S-S-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_014",Units:["mg/kg","ppm"]},"S-SO4-W1:1.13":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-W1:1.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_004",Units:["meq/L",null]},"S-SO4-EPA300.04":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-EPA300.04",ModusTestIDv2:"L_MODV2_SOIL_SO4S_005",Units:["mg/L",null]},"S-SO4-SP.08":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-SP.08",ModusTestIDv2:"L_MODV2_SOIL_SO4S_006",Units:["meq/L",null]},"S-SO4-SP.13":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-SP.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_007",Units:["meq/L",null]},"S-S-NH4AC.04":{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_S_001",Units:["mg/kg","ppm"]},"S-S-NH4AC.05":{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_S_002",Units:["mg/kg","ppm"]},"S-S-NH4AC.23":{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.23",ModusTestIDv2:"L_MODV2_SOIL_S_003",Units:["mg/kg","ppm"]},"S-S-CACL.05":{Element:"Sulfur",ModusTestIDv1:"S-S-CACL.05",ModusTestIDv2:"L_MODV2_SOIL_S_004",Units:["mg/kg","ppm"]},"S-SO4-CaCl.04.08":{Element:"Sulfur",ModusTestIDv1:"S-SO4-CaCl.04.08",ModusTestIDv2:"L_MODV2_SOIL_S_005",Units:["mg/kg","ppm"]},"S-SO4-1:5.05":{Element:"Sulfur",ModusTestIDv1:"S-SO4-1:5.05",ModusTestIDv2:"L_MODV2_SOIL_S_007",Units:["mg/kg","ppm"]},"S-S.16":{Element:"Sulfur",ModusTestIDv1:"S-S.16",ModusTestIDv2:"L_MODV2_SOIL_S_009",Units:["%",null]},"S-SO4-1:5H2O.23":{Element:"Sulfur",ModusTestIDv1:"S-SO4-1:5H2O.23",ModusTestIDv2:"L_MODV2_SOIL_S_010",Units:["mg/kg","ppm"]},"S-SO4-W1:1.04":{Element:"Sulfur",ModusTestIDv1:"S-SO4-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_011",Units:["meq/L",null]},"S-S-W1:1.04":{Element:"Sulfur",ModusTestIDv1:"S-S-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_012",Units:["mg/kg","ppm"]},"S-S-W20:1.04":{Element:"Sulfur",ModusTestIDv1:"S-S-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_013",Units:["mg/kg","ppm"]},"S-S-DTPA-SORB.05":{Element:"Sulfur",ModusTestIDv1:"S-S-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_S_015",Units:["mg/kg","ppm"]},"S-S-EPA6010B.00":{Element:"Sulfur",ModusTestIDv1:"S-S-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_S_016",Units:["mg/kg","ppm"]},"S-S-EPA3050.04":{Element:"Sulfur",ModusTestIDv1:"S-S-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_S_017",Units:["mg/kg","ppm"]},"S-S-H3A.04":{Element:"Sulfur",ModusTestIDv1:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_021",Units:["mg/kg","ppm"]},"S-SO4-RES.04":{Element:"Sulfur",ModusTestIDv1:"S-SO4-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_023",Units:["mg/kg","ppm"]},"S-S-RES.04":{Element:"Sulfur",ModusTestIDv1:"S-S-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_024",Units:["mg/kg","ppm"]},"S-S-LANC.04":{Element:"Sulfur",ModusTestIDv1:"S-S-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_S_025",Units:["kg/ha","lb/ac"]},"S-S-M3.05":{Element:"Sulfur",ModusTestIDv1:"S-S-M3.05",ModusTestIDv2:"L_MODV2_SOIL_S_026",Units:["mg/kg","ppm"]},"S-S-MMOR.05":{Element:"Sulfur",ModusTestIDv1:"S-S-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_S_029",Units:["mg/kg","ppm"]},"S-S-NA.04":{Element:"Sulfur",ModusTestIDv1:"S-S-NA.04",ModusTestIDv2:"L_MODV2_SOIL_S_030",Units:["%",null]},"S-SO4-PRS.04":{Element:"Sulfur",ModusTestIDv1:"S-SO4-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_S_031",Units:["mg/m2",null]},"S-S-0.25MKCL.23":{Element:"Sulfur",ModusTestIDv1:"S-S-0.25MKCL.23",ModusTestIDv2:"L_MODV2_SOIL_S_034",Units:["kg/ha","lb/ac"]},"S-S-KCL.05":{Element:"Sulfur",ModusTestIDv1:"S-S-KCL.05",ModusTestIDv2:"L_MODV2_SOIL_S_035",Units:["mg/kg","ppm"]},"S-SO4-SP.04":{Element:"Sulfur",ModusTestIDv1:"S-SO4-SP.04",ModusTestIDv2:"L_MODV2_SOIL_S_036",Units:["meq/L",null]},"S-S-NCINDX":{Element:"Sulfur Index",ModusTestIDv1:"S-S-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_SINDEX_001",Units:["none",null]},"S-TEXTURE.19":{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.19",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_001",Units:["Texture Classification",null]},"S-TEXTURE.01":{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.01",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_002",Units:["none",null]},"S-TEXTURE.22":{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.22",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_003",Units:["Texture Classification",null]},"S-SN-EPA3050.04":{Element:"Tin",ModusTestIDv1:"S-SN-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SN_001",Units:["mg/kg","ppm"]},"S-H-MEAS.12":{Element:"Titratable Acidity",ModusTestIDv1:"S-H-MEAS.12",ModusTestIDv2:"L_MODV2_SOIL_TITACIDT_001",Units:["cmol/kg","meq/100 g"]},"S-TC:TN.19":{Element:"Total Carbon:Total Nitrogen",ModusTestIDv1:"S-TC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TCTN_001",Units:["none",null]},"S-TOC:TN.19":{Element:"Total Organic Carbon: Total Nitrogen",ModusTestIDv1:"S-TOC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TOCTN_001",Units:["none",null]},"S-UNKNOWN.00":{Element:"Unknown",ModusTestIDv1:"S-UNKNOWN.00",ModusTestIDv2:"L_MODV2_SOIL_UNKNOWN_001",Units:["none",null]},"S-UREA-NH4.01":{Element:"Urea",ModusTestIDv1:"S-UREA-NH4.01",ModusTestIDv2:"L_MODV2_SOIL_UREA_001",Units:["mg/kg","ppm"]},"S-ZN-DTPA.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_002",Units:["mg/kg","ppm"]},"S-ZN-DTPA-SORB.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_003",Units:["mg/kg","ppm"]},"S-ZN-EDTA.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_004",Units:["mg/kg","ppm"]},"S-ZN-EPA3050.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_005",Units:["mg/kg","ppm"]},"S-ZN-H3A1.01.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",Units:["mg/kg","ppm"]},"S-ZN-HCL.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_009",Units:["mg/kg","ppm"]},"S-ZN-RES.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-RES.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_010",Units:["mg/kg","ppm"]},"S-ZN-LANC.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_011",Units:["mg/kg","ppm"]},"S-ZN-M1.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-M1.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_012",Units:["mg/kg","ppm"]},"S-ZN-M2.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-M2.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_013",Units:["mg/kg","ppm"]},"S-ZN-M3DTPA.19":{Element:"Zinc",ModusTestIDv1:"S-ZN-M3DTPA.19",ModusTestIDv2:"L_MODV2_SOIL_ZN_014",Units:["mg/kg","ppm"]},"S-ZN-M3.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_015",Units:["mg/kg","ppm"]},"S-ZN-NA.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_019",Units:["ppm",null]},"S-ZN-PRS.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_021",Units:["mg/m2",null]},"S-ZN-SP.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-SP.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_024",Units:["mg/L",null]},"S-ZN-NCINDX":{Element:"Zinc index",ModusTestIDv1:"S-ZN-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_ZINDEX_001",Units:["none",null]},"S-Zn:Cu-M3.19":{Element:"Zn:Cu ratio",ModusTestIDv1:"S-Zn:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_ZNCURATIO_001",Units:["none",null]},"S-Zn:Cu.19":{Element:"Zn:Cu ratio",ModusTestIDv1:"S-Zn:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_ZNCURATIO_002",Units:["none","ppm"]},"S-SP-ACE-OT":{Element:"ACE nitrogen (soil protein index)",ModusTestIDv1:"S-SP-ACE-OT",ModusTestIDv2:"L_MODV2_SOIL_ACEN_001",Units:["g/kg",null]},"S-BS-CA.19":{Element:"Base Saturation - Ca",ModusTestIDv1:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CABS_001",Units:["%",null]},"S-HCO3-SP.12":{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_002",Units:["meq/L",null]},"S-Cu-MMOR-OT":{Element:"Copper",ModusTestIDv1:"S-Cu-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_CU_017",Units:["mg/kg","ppm"]},"S-MN-EPA3050.05":{Element:"Manganese",ModusTestIDv1:"S-MN-EPA3050.05",ModusTestIDv2:"L_MODV2_SOIL_MN_006",Units:["mg/kg","ppm"]},"S-Mn-MMOR-OT":{Element:"Manganese",ModusTestIDv1:"S-Mn-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_MN_017",Units:["mg/kg","ppm"]},"S-MD-BS-C-OT":{Element:"phospholipid fatty acid (PLFA)",ModusTestIDv1:"S-MD-BS-C-OT",ModusTestIDv2:"L_MODV2_SOIL_PLFA_001",Units:["ng/g",null]},"S-K-AA-NH4AC.04":{Element:"Potassium",ModusTestIDv1:"S-K-AA-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_K_002",Units:["mg/kg","ppm"]},"S-K-B1-1:10.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_007",Units:["mg/kg","ppm"]},"S-K-B1-1:7.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-B1-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_008",Units:["mg/kg","ppm"]},"S-K-B2-1:10.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_009",Units:["mg/kg","ppm"]},"S-K-LACTATE.01":{Element:"Potassium",ModusTestIDv1:"S-K-LACTATE.01",ModusTestIDv2:"L_MODV2_SOIL_K_010",Units:["mg/kg","ppm"]},"S-K-CACL2.01":{Element:"Potassium",ModusTestIDv1:"S-K-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_K_011",Units:["mg/kg","ppm"]},"S-K-M3BRAYP1.19":{Element:"Potassium",ModusTestIDv1:"S-K-M3BRAYP1.19",ModusTestIDv2:"L_MODV2_SOIL_K_012",Units:["mg/kg","ppm"]},"S-K-CALD.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-CALD.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_014",Units:["mg/kg","ppm"]},"S-K-W1:5.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-W1:5.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_015",Units:["mg/kg","ppm"]},"S-K-W10:1.04":{Element:"Potassium",ModusTestIDv1:"S-K-W10:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_016",Units:["mg/kg","ppm"]},"S-K-DGT.01":{Element:"Potassium",ModusTestIDv1:"S-K-DGT.01",ModusTestIDv2:"L_MODV2_SOIL_K_018",Units:["mg/kg","ppm"]},"S-K-RES.01":{Element:"Potassium",ModusTestIDv1:"S-K-RES.01",ModusTestIDv2:"L_MODV2_SOIL_K_022",Units:["mg/kg","ppm"]},"S-K-KEL.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-KEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_024",Units:["mg/kg","ppm"]},"S-K-MKEL.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-MKEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_026",Units:["mg/kg","ppm"]},"S-K-M1.04":{Element:"Potassium",ModusTestIDv1:"S-K-M1.04",ModusTestIDv2:"L_MODV2_SOIL_K_029",Units:["mg/kg","ppm"]},"S-K-M2.04":{Element:"Potassium",ModusTestIDv1:"S-K-M2.04",ModusTestIDv2:"L_MODV2_SOIL_K_030",Units:["mg/kg","ppm"]},"S-K-M3.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_031",Units:["mg/kg","ppm"]},"S-K-MOR.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-MOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_033",Units:["mg/kg","ppm"]},"S-K-MMOR.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_034",Units:["mg/kg","ppm"]},"S-K-BIC.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_043",Units:["mg/kg","ppm"]},"S-K-H2SO4.01":{Element:"Potassium",ModusTestIDv1:"S-K-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_K_044",Units:["mg/kg","ppm"]},"S-K-TRG.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-TRG.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_045",Units:["mg/kg","ppm"]},"S-K-AR.23":{Element:"potassium\xA0",ModusTestIDv1:"S-K-AR.23",ModusTestIDv2:"L_MODV2_SOIL_K_049",Units:["mg/kg","ppm"]},"S-KFF-M3.05":{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.05",ModusTestIDv2:"L_MODV2_SOIL_KFF_002",Units:["%",null]},"S-KFF-M3.06":{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.06",ModusTestIDv2:"L_MODV2_SOIL_KFF_003",Units:["%",null]},"S-TK-H2SO4.01":{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TK-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_TK_001",Units:["mg/kg","ppm"]},"S-TK-NA.04":{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TK-NA.04",ModusTestIDv2:"L_MODV2_SOIL_TK_003",Units:["mg/kg","ppm"]},"S-Zn-MMOR-OT":{Element:"Zinc",ModusTestIDv1:"S-Zn-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_ZN_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ACIDT_002:{Element:"Acidity",ModusTestIDv1:"S-Acidity.19",ModusTestIDv2:"L_MODV2_SOIL_ACIDT_002",Units:["mg/kg",null]},L_MODV2_SOIL_ASAR_001:{Element:"adjusted sodium adsorption ratio",ModusTestIDv1:"S-SARJ-SP.00",ModusTestIDv2:"L_MODV2_SOIL_ASAR_001",Units:["Ratio",null]},L_MODV2_SOIL_AL_001:{Element:"Aluminum",ModusTestIDv1:"S-AL-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_AL_001",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_AL_002:{Element:"Aluminum",ModusTestIDv1:"S-AL-OX.23",ModusTestIDv2:"L_MODV2_SOIL_AL_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_003:{Element:"Aluminum",ModusTestIDv1:"S-TAL-RAR.23",ModusTestIDv2:"L_MODV2_SOIL_AL_003",Units:["%",null]},L_MODV2_SOIL_AL_004:{Element:"Aluminum",ModusTestIDv1:"S-AL-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_AL_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_005:{Element:"Aluminum",ModusTestIDv1:"S-AL.19",ModusTestIDv2:"L_MODV2_SOIL_AL_005",Units:["%",null]},L_MODV2_SOIL_AL_006:{Element:"Aluminum",ModusTestIDv1:"S-AL-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_AL_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_010:{Element:"Aluminum",ModusTestIDv1:"S-AL-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_AL_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_011:{Element:"Aluminum",ModusTestIDv1:"S-AL-RES.04",ModusTestIDv2:"L_MODV2_SOIL_AL_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_012:{Element:"Aluminum",ModusTestIDv1:"S-AL-M3.05",ModusTestIDv2:"L_MODV2_SOIL_AL_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_014:{Element:"Aluminum",ModusTestIDv1:"S-AL-NA.04",ModusTestIDv2:"L_MODV2_SOIL_AL_014",Units:["ppm",null]},L_MODV2_SOIL_AL_018:{Element:"Aluminum",ModusTestIDv1:"S-AL-1KCL.23",ModusTestIDv2:"L_MODV2_SOIL_AL_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_020:{Element:"Aluminum",ModusTestIDv1:"S-Al-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_AL_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_022:{Element:"Aluminum",ModusTestIDv1:"S-AL-SP.04",ModusTestIDv2:"L_MODV2_SOIL_AL_022",Units:["mg/L",null]},L_MODV2_SOIL_AMINON_001:{Element:"Amino Nitrogen",ModusTestIDv1:"S-AN-12.00",ModusTestIDv2:"L_MODV2_SOIL_AMINON_001",Units:[null,null]},L_MODV2_SOIL_NH4N_002:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_003:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_004:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-RES.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_005:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-KCL.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_006:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-KCL.09",ModusTestIDv2:"L_MODV2_SOIL_NH4N_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_007:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-05KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_008:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_009:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-SP.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_009",Units:["mg/L",null]},L_MODV2_SOIL_SB_001:{Element:"Antimony",ModusTestIDv1:"S-SB-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SB_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AS_001:{Element:"Arsenic",ModusTestIDv1:"S-AS-AR.07",ModusTestIDv2:"L_MODV2_SOIL_AS_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_AS_002:{Element:"Arsenic",ModusTestIDv1:"S-AS-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_AS_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AS_003:{Element:"Arsenic",ModusTestIDv1:"S-AS-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_AS_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BA_001:{Element:"Barium",ModusTestIDv1:"S-BA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_BA_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BS_001:{Element:"Base Saturation",ModusTestIDv1:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001",Units:["%",null]},L_MODV2_SOIL_HBS_001:{Element:"Base Saturation - H",ModusTestIDv1:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",Units:["%",null]},L_MODV2_SOIL_KBS_001:{Element:"Base Saturation - K",ModusTestIDv1:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",Units:["%",null]},L_MODV2_SOIL_MGBS_001:{Element:"Base Saturation - Mg",ModusTestIDv1:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",Units:["%",null]},L_MODV2_SOIL_NABS_001:{Element:"Base Saturation - Na",ModusTestIDv1:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",Units:["%",null]},L_MODV2_SOIL_HCO3_001:{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_HCO3_001",Units:["meq/L",null]},L_MODV2_SOIL_HCO3_004:{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-W1:1.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_004",Units:["meq/L",null]},L_MODV2_SOIL_HCO3_005:{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-ALK.01",ModusTestIDv2:"L_MODV2_SOIL_HCO3_005",Units:["meq/L",null]},L_MODV2_SOIL_B_001:{Element:"Boron",ModusTestIDv1:"S-B-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_B_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_003:{Element:"Boron",ModusTestIDv1:"S-B-HW.01.10",ModusTestIDv2:"L_MODV2_SOIL_B_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_004:{Element:"Boron",ModusTestIDv1:"S-B-HW.05",ModusTestIDv2:"L_MODV2_SOIL_B_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_005:{Element:"Boron",ModusTestIDv1:"S-B-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_B_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_006:{Element:"Boron",ModusTestIDv1:"S-B-W1:2.01",ModusTestIDv2:"L_MODV2_SOIL_B_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_007:{Element:"Boron",ModusTestIDv1:"S-B-W1:5.01",ModusTestIDv2:"L_MODV2_SOIL_B_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_008:{Element:"Boron",ModusTestIDv1:"S-B-W1:5.23",ModusTestIDv2:"L_MODV2_SOIL_B_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_009:{Element:"Boron",ModusTestIDv1:"S-B-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_B_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_010:{Element:"Boron",ModusTestIDv1:"S-B-SP.04",ModusTestIDv2:"L_MODV2_SOIL_B_010",Units:["meq/L",null]},L_MODV2_SOIL_B_011:{Element:"Boron",ModusTestIDv1:"S-B-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_B_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_012:{Element:"Boron",ModusTestIDv1:"S-B-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_B_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_015:{Element:"Boron",ModusTestIDv1:"S-B-RES.04",ModusTestIDv2:"L_MODV2_SOIL_B_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_016:{Element:"Boron",ModusTestIDv1:"S-B-M1.04",ModusTestIDv2:"L_MODV2_SOIL_B_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_017:{Element:"Boron",ModusTestIDv1:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_019:{Element:"Boron",ModusTestIDv1:"S-B-NA.04",ModusTestIDv2:"L_MODV2_SOIL_B_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BPH_001:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-AEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_001",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_002:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MAEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_002",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_003:{Element:"Buffer pH",ModusTestIDv1:"S-BPH.19",ModusTestIDv2:"L_MODV2_SOIL_BPH_003",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_004:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_004",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_007:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_007",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_008:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SIK2.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_008",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_009:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SMPB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_009",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_010:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-WB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_010",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_011:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MWB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_011",Units:["standard pH unit",null]},L_MODV2_SOIL_BD_001:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Clod.00",ModusTestIDv2:"L_MODV2_SOIL_BD_001",Units:["g/cm3",null]},L_MODV2_SOIL_BD_002:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Coarse.15",ModusTestIDv2:"L_MODV2_SOIL_BD_002",Units:["g/cm3",null]},L_MODV2_SOIL_BD_003:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Core.00",ModusTestIDv2:"L_MODV2_SOIL_BD_003",Units:["g/cm3",null]},L_MODV2_SOIL_BD_004:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Fine.15",ModusTestIDv2:"L_MODV2_SOIL_BD_004",Units:["g/cm3",null]},L_MODV2_SOIL_BD_005:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Scoop.00",ModusTestIDv2:"L_MODV2_SOIL_BD_005",Units:["g/cm3",null]},L_MODV2_SOIL_BD_006:{Element:"Bulk Density",ModusTestIDv1:"S-BD.19",ModusTestIDv2:"L_MODV2_SOIL_BD_006",Units:["g/cm3",null]},L_MODV2_SOIL_CNRATIO_002:{Element:"C:N Ratio",ModusTestIDv1:"S-C:N.16",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_002",Units:["Ratio",null]},L_MODV2_SOIL_CNRATIO_003:{Element:"C:N Ratio",ModusTestIDv1:"S-C:N.19",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_003",Units:["Ratio",null]},L_MODV2_SOIL_CNRATIO_004:{Element:"C:N Ratio",ModusTestIDv1:"S-C:N-Haney.19",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_004",Units:["Ratio",null]},L_MODV2_SOIL_CAEMGP_001:{Element:"Ca + exchangable Mg",ModusTestIDv1:"S-CAEMG-M1.19",ModusTestIDv2:"L_MODV2_SOIL_CAEMGP_001",Units:[null,null]},L_MODV2_SOIL_CAKRATIO_001:{Element:"Ca:K ratio",ModusTestIDv1:"S-CA:KM1.19",ModusTestIDv2:"L_MODV2_SOIL_CAKRATIO_001",Units:[null,null]},L_MODV2_SOIL_CAMGRATIO_001:{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_001",Units:[null,null]},L_MODV2_SOIL_CAMGRATIO_002:{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-AA.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_002",Units:[null,null]},L_MODV2_SOIL_CAMGRATIO_003:{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_003",Units:[null,null]},L_MODV2_SOIL_CAMGRATIO_004:{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_004",Units:[null,null]},L_MODV2_SOIL_CANO3RATIO_001:{Element:"Ca:NO3 ratio",ModusTestIDv1:"S-CA:NO3.19",ModusTestIDv2:"L_MODV2_SOIL_CANO3RATIO_001",Units:[null,null]},L_MODV2_SOIL_CAMGKRATIO_001:{Element:"Ca+Mg:K ratio",ModusTestIDv1:"S-CAMG:KM1.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGKRATIO_001",Units:[null,null]},L_MODV2_SOIL_CD_001:{Element:"Cadmium",ModusTestIDv1:"S-CD-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CD_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_CD_002:{Element:"Cadmium",ModusTestIDv1:"S-CD-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CD_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CD_005:{Element:"Cadmium",ModusTestIDv1:"S-CD-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CD_005",Units:[null,null]},L_MODV2_SOIL_CA_001:{Element:"Calcium",ModusTestIDv1:"S-CA-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_CA_001",Units:["cmol/kg","%"]},L_MODV2_SOIL_CA_002:{Element:"Calcium",ModusTestIDv1:"S-CA-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CA_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_003:{Element:"Calcium",ModusTestIDv1:"S-CA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_CA_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_005:{Element:"Calcium",ModusTestIDv1:"S-CA-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_CA_005",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CA_006:{Element:"Calcium",ModusTestIDv1:"S-CA-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_CA_006",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CA_007:{Element:"Calcium",ModusTestIDv1:"S-CA-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_CA_007",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CA_008:{Element:"Calcium",ModusTestIDv1:"S-CA-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_CA_008",Units:["none",null]},L_MODV2_SOIL_CA_009:{Element:"Calcium",ModusTestIDv1:"S-CA-M3AA.19",ModusTestIDv2:"L_MODV2_SOIL_CA_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_010:{Element:"Calcium",ModusTestIDv1:"S-CA-W1:1.05",ModusTestIDv2:"L_MODV2_SOIL_CA_010",Units:["meq/L",null]},L_MODV2_SOIL_CA_011:{Element:"Calcium",ModusTestIDv1:"S-CA-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_CA_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_012:{Element:"Calcium",ModusTestIDv1:"S-CA-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_CA_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_013:{Element:"Calcium",ModusTestIDv1:"S-CA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CA_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_014:{Element:"Calcium",ModusTestIDv1:"S-CA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CA_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_016:{Element:"Calcium",ModusTestIDv1:"S-CA-RES.04",ModusTestIDv2:"L_MODV2_SOIL_CA_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_017:{Element:"Calcium",ModusTestIDv1:"S-CA-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_CA_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_018:{Element:"Calcium",ModusTestIDv1:"S-CA-M1.05",ModusTestIDv2:"L_MODV2_SOIL_CA_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_019:{Element:"Calcium",ModusTestIDv1:"S-CA-M2.05",ModusTestIDv2:"L_MODV2_SOIL_CA_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_020:{Element:"Calcium",ModusTestIDv1:"S-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CA_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_021:{Element:"Calcium",ModusTestIDv1:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_023:{Element:"Calcium",ModusTestIDv1:"S-CA-MOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_024:{Element:"Calcium",ModusTestIDv1:"S-CA-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_025:{Element:"Calcium",ModusTestIDv1:"S-CA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CA_025",Units:["%",null]},L_MODV2_SOIL_CA_026:{Element:"Calcium",ModusTestIDv1:"S-CA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_CA_026",Units:["mg/m2",null]},L_MODV2_SOIL_CA_027:{Element:"Calcium",ModusTestIDv1:"S-CA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_CA_027",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_030:{Element:"Calcium",ModusTestIDv1:"S-CA-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_CA_030",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_031:{Element:"Calcium",ModusTestIDv1:"S-CA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_CA_031",Units:["meq/L",null]},L_MODV2_SOIL_CA_032:{Element:"Calcium",ModusTestIDv1:"S-CA-TRG.06",ModusTestIDv2:"L_MODV2_SOIL_CA_032",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CACO3_001:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3-AA.02",ModusTestIDv2:"L_MODV2_SOIL_CACO3_001",Units:["%",null]},L_MODV2_SOIL_CACO3_002:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3-OxA.12",ModusTestIDv2:"L_MODV2_SOIL_CACO3_002",Units:["%",null]},L_MODV2_SOIL_CACO3_003:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.14",ModusTestIDv2:"L_MODV2_SOIL_CACO3_003",Units:["%",null]},L_MODV2_SOIL_CACO3_004:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.12",ModusTestIDv2:"L_MODV2_SOIL_CACO3_004",Units:["%",null]},L_MODV2_SOIL_CACO3_005:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.15",ModusTestIDv2:"L_MODV2_SOIL_CACO3_005",Units:["%",null]},L_MODV2_SOIL_C_001:{Element:"Carbon",ModusTestIDv1:"S-C-W-04",ModusTestIDv2:"L_MODV2_SOIL_C_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TC_001:{Element:'"carbon, total"',ModusTestIDv1:"S-TC-COMB.15",ModusTestIDv2:"L_MODV2_SOIL_TC_001",Units:["%",null]},L_MODV2_SOIL_CO3_001:{Element:"Carbonate",ModusTestIDv1:"S-CO3-AA.02",ModusTestIDv2:"L_MODV2_SOIL_CO3_001",Units:["%",null]},L_MODV2_SOIL_CO3_002:{Element:"Carbonate",ModusTestIDv1:"S-CO3-W1:1.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_002",Units:["meq/L",null]},L_MODV2_SOIL_CO3_003:{Element:"Carbonate",ModusTestIDv1:"S-CO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_CO3_003",Units:["meq/L",null]},L_MODV2_SOIL_CO3_004:{Element:"Carbonate",ModusTestIDv1:"S-CO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_004",Units:["meq/L",null]},L_MODV2_SOIL_CO3QUAL_001:{Element:'"carbonates, qualitative"',ModusTestIDv1:"S-CACO3.11",ModusTestIDv2:"L_MODV2_SOIL_CO3QUAL_001",Units:["none",null]},L_MODV2_SOIL_CEC_001:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CEC_002:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-NH4N.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CEC_003:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CEC_005:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_005",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_006:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-BACLAA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_006",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_007:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-CA.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_007",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_008:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_009:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-K.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_009",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_010:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-AG-THU.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_010",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_011:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-NA.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_011",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CROSS_001:{Element:"cation ratio of structural stability",ModusTestIDv1:"S-CROSS-W5:1.19",ModusTestIDv2:"L_MODV2_SOIL_CROSS_001",Units:["none",null]},L_MODV2_SOIL_CATANRATIO_001:{Element:"Cation:Anion Ratio",ModusTestIDv1:"S-C:A.19",ModusTestIDv2:"L_MODV2_SOIL_CATANRATIO_001",Units:[null,null]},L_MODV2_SOIL_CL_004:{Element:"Chloride",ModusTestIDv1:"S-CL-HG.01",ModusTestIDv2:"L_MODV2_SOIL_CL_004",Units:["ppm","mg/kg"]},L_MODV2_SOIL_CL_005:{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_CL_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CL_006:{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_006",Units:["meq/L",null]},L_MODV2_SOIL_CL_007:{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.08",ModusTestIDv2:"L_MODV2_SOIL_CL_007",Units:["meq/L",null]},L_MODV2_SOIL_CL_008:{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.17",ModusTestIDv2:"L_MODV2_SOIL_CL_008",Units:["meq/L",null]},L_MODV2_SOIL_CL_009:{Element:"Chloride",ModusTestIDv1:"S-CL-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_CL_009",Units:["mg/L",null]},L_MODV2_SOIL_CL_010:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_010",Units:["meq/L",null]},L_MODV2_SOIL_CL_011:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.12.06",ModusTestIDv2:"L_MODV2_SOIL_CL_011",Units:["meq/L",null]},L_MODV2_SOIL_CL_012:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.17",ModusTestIDv2:"L_MODV2_SOIL_CL_012",Units:["meq/L",null]},L_MODV2_SOIL_CL_013:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.01",ModusTestIDv2:"L_MODV2_SOIL_CL_013",Units:["mg/L",null]},L_MODV2_SOIL_CL_014:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.02",ModusTestIDv2:"L_MODV2_SOIL_CL_014",Units:["meq/L",null]},L_MODV2_SOIL_CL_015:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.08",ModusTestIDv2:"L_MODV2_SOIL_CL_015",Units:["meq/L",null]},L_MODV2_SOIL_CL_016:{Element:"Chloride",ModusTestIDv1:"S-CL.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_016",Units:["meq/L",null]},L_MODV2_SOIL_CL_017:{Element:"Chloride",ModusTestIDv1:"S-CL.12.06",ModusTestIDv2:"L_MODV2_SOIL_CL_017",Units:["meq/L",null]},L_MODV2_SOIL_CL_018:{Element:"Chloride",ModusTestIDv1:"S-CL-1:5.02",ModusTestIDv2:"L_MODV2_SOIL_CL_018",Units:["meq/L",null]},L_MODV2_SOIL_CL_019:{Element:"Chloride",ModusTestIDv1:"S-CL-1:5.17",ModusTestIDv2:"L_MODV2_SOIL_CL_019",Units:["meq/L",null]},L_MODV2_SOIL_CL_020:{Element:"Chloride",ModusTestIDv1:"S-CL-1:5H2O.01",ModusTestIDv2:"L_MODV2_SOIL_CL_020",Units:["meq/L",null]},L_MODV2_SOIL_CR_001:{Element:"Chromium",ModusTestIDv1:"S-CR-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CR_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_CR_002:{Element:"Chromium",ModusTestIDv1:"S-CR-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CR_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CR_005:{Element:"Chromium",ModusTestIDv1:"S-CR-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CR_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CLAY_001:{Element:"Clay",ModusTestIDv1:"S-CLAY-SV.19",ModusTestIDv2:"L_MODV2_SOIL_CLAY_001",Units:["%",null]},L_MODV2_SOIL_CLAY_002:{Element:"Clay",ModusTestIDv1:"S-CLAY.22",ModusTestIDv2:"L_MODV2_SOIL_CLAY_002",Units:["%",null]},L_MODV2_SOIL_CLAY_003:{Element:"Clay",ModusTestIDv1:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003",Units:["%",null]},L_MODV2_SOIL_CLAY_004:{Element:"Clay",ModusTestIDv1:"S-CLAY-SED.11,S-CLAY-ST-OT",ModusTestIDv2:"L_MODV2_SOIL_CLAY_004",Units:["%",null]},L_MODV2_SOIL_CO2RESP_001:{Element:"CO2 Respiration",ModusTestIDv1:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001",Units:["%",null]},L_MODV2_SOIL_CO_001:{Element:"Cobalt",ModusTestIDv1:"S-CO-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CO_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_CO_003:{Element:"Cobalt",ModusTestIDv1:"S-CO-DTPA.04",ModusTestIDv2:"L_MODV2_SOIL_CO_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_004:{Element:"Cobalt",ModusTestIDv1:"S-CO-EPA2007.00",ModusTestIDv2:"L_MODV2_SOIL_CO_004",Units:["mg/L",null]},L_MODV2_SOIL_CO_005:{Element:"Cobalt",ModusTestIDv1:"S-CO-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CO_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_006:{Element:"Cobalt",ModusTestIDv1:"S-CO-M3.04",ModusTestIDv2:"L_MODV2_SOIL_CO_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_COLOR_001:{Element:"Color",ModusTestIDv1:"S-Color.24",ModusTestIDv2:"L_MODV2_SOIL_COLOR_001",Units:["none",null]},L_MODV2_SOIL_CU_002:{Element:"Copper",ModusTestIDv1:"S-CU-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_003:{Element:"Copper",ModusTestIDv1:"S-CU-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_CU_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_004:{Element:"Copper",ModusTestIDv1:"S-CU-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_005:{Element:"Copper",ModusTestIDv1:"S-CU-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CU_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_008:{Element:"Copper",ModusTestIDv1:"S-CU-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CU_008",Units:["mg/kg",null]},L_MODV2_SOIL_CU_009:{Element:"Copper",ModusTestIDv1:"S-CU-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CU_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_010:{Element:"Copper",ModusTestIDv1:"S-CU-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_CU_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_011:{Element:"Copper",ModusTestIDv1:"S-CU-RES.04",ModusTestIDv2:"L_MODV2_SOIL_CU_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_012:{Element:"Copper",ModusTestIDv1:"S-CU-M1.05",ModusTestIDv2:"L_MODV2_SOIL_CU_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_013:{Element:"Copper",ModusTestIDv1:"S-CU-M2.05",ModusTestIDv2:"L_MODV2_SOIL_CU_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_014:{Element:"Copper",ModusTestIDv1:"S-CU-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CU_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_018:{Element:"Copper",ModusTestIDv1:"S-CU-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CU_018",Units:["ppm",null]},L_MODV2_SOIL_CU_022:{Element:"Copper",ModusTestIDv1:"S-CU-SP.04",ModusTestIDv2:"L_MODV2_SOIL_CU_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CUINDEX_001:{Element:"Copper Index",ModusTestIDv1:"S-CU-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_CUINDEX_001",Units:["none",null]},L_MODV2_SOIL_DM_001:{Element:"Deleterious material",ModusTestIDv1:"S-DM.15",ModusTestIDv2:"L_MODV2_SOIL_DM_001",Units:["%",null]},L_MODV2_SOIL_DINDEX_001:{Element:"Dispersion Index",ModusTestIDv1:"S-DI.24",ModusTestIDv2:"L_MODV2_SOIL_DINDEX_001",Units:["none",null]},L_MODV2_SOIL_EC_001:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001",Units:["dS/m","mmho/cm"]},L_MODV2_SOIL_EC_002:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:2.03",ModusTestIDv2:"L_MODV2_SOIL_EC_002",Units:["dS/m","mmho/cm"]},L_MODV2_SOIL_EC_003:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:5.03",ModusTestIDv2:"L_MODV2_SOIL_EC_003",Units:["dS/m","mmho/cm"]},L_MODV2_SOIL_EC_004:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-SP.03",ModusTestIDv2:"L_MODV2_SOIL_EC_004",Units:["dS/m","mmho/cm"]},L_MODV2_SOIL_EC_005:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC.CALC.19",ModusTestIDv2:"L_MODV2_SOIL_EC_005",Units:["dS/m",null]},L_MODV2_SOIL_ESI_001:{Element:"Electrochemical Stability Index",ModusTestIDv1:"S-ESI.19",ModusTestIDv2:"L_MODV2_SOIL_ESI_001",Units:["none",null]},L_MODV2_SOIL_EMERSON_001:{Element:"Emerson Class",ModusTestIDv1:"S-EMERSON.19",ModusTestIDv2:"L_MODV2_SOIL_EMERSON_001",Units:["none",null]},L_MODV2_SOIL_ENR_001:{Element:"Estimated Nitrogen Release",ModusTestIDv1:"S-ENR.19",ModusTestIDv2:"L_MODV2_SOIL_ENR_001",Units:["lb/ac","kg/ha"]},L_MODV2_SOIL_XACIDT_001:{Element:"Exchangeable Acidity",ModusTestIDv1:"S-AC-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_XACIDT_001",Units:["cmol/kg","meq/100 g"]},L_MODV2_SOIL_XAL_001:{Element:"Exchangeable Aluminum",ModusTestIDv1:"S-EAL-KCL.19",ModusTestIDv2:"L_MODV2_SOIL_XAL_001",Units:["%",null]},L_MODV2_SOIL_XCAP_001:{Element:"Exchangeable Calcium Percentage",ModusTestIDv1:"S-ECAP.19",ModusTestIDv2:"L_MODV2_SOIL_XCAP_001",Units:["%",null]},L_MODV2_SOIL_XH_001:{Element:"Exchangeable Hydrogen",ModusTestIDv1:"S-EH-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_XH_001",Units:["meq/100 g","cmol/kg"]},L_MODV2_SOIL_XHP_001:{Element:"Exchangeable Hydrogen Percentage",ModusTestIDv1:"S-EHP.19",ModusTestIDv2:"L_MODV2_SOIL_XHP_001",Units:["%",null]},L_MODV2_SOIL_XMGP_001:{Element:"Exchangeable Magnesium Percentage",ModusTestIDv1:"S-EMGP.19",ModusTestIDv2:"L_MODV2_SOIL_XMGP_001",Units:["%",null]},L_MODV2_SOIL_XKP_001:{Element:"Exchangeable Potassium Percentage",ModusTestIDv1:"S-EKP.19",ModusTestIDv2:"L_MODV2_SOIL_XKP_001",Units:["%",null]},L_MODV2_SOIL_XNAP_001:{Element:"Exchangeable Sodium Percentage",ModusTestIDv1:"S-ESP.19",ModusTestIDv2:"L_MODV2_SOIL_XNAP_001",Units:["%",null]},L_MODV2_SOIL_F_001:{Element:"Fluoride",ModusTestIDv1:"S-F-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_F_001",Units:["mg/L",null]},L_MODV2_SOIL_GTRI_001:{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_001",Units:["none",null]},L_MODV2_SOIL_GTRI_002:{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-AA.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_002",Units:["none",null]},L_MODV2_SOIL_GTRI_003:{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_003",Units:["none",null]},L_MODV2_SOIL_GRAVEL_001:{Element:"Gravel",ModusTestIDv1:"S-GRAVEL.19",ModusTestIDv2:"L_MODV2_SOIL_GRAVEL_001",Units:["%",null]},L_MODV2_SOIL_GYPREC_001:{Element:"Gypsum Recommendation",ModusTestIDv1:"S-GYPR.19",ModusTestIDv2:"L_MODV2_SOIL_GYPREC_001",Units:["tons/ac",null]},L_MODV2_SOIL_HEAL_001:{Element:"H+EAlP",ModusTestIDv1:"S-HEAL-SMP.19",ModusTestIDv2:"L_MODV2_SOIL_HEAL_001",Units:["none",null]},L_MODV2_SOIL_HM_001:{Element:"Humic Matter",ModusTestIDv1:"S-HA-FSPA.01",ModusTestIDv2:"L_MODV2_SOIL_HM_001",Units:["%",null]},L_MODV2_SOIL_HM_002:{Element:"Humic Matter",ModusTestIDv1:"S.HM-NaOH",ModusTestIDv2:"L_MODV2_SOIL_HM_002",Units:["%",null]},L_MODV2_SOIL_HAL_001:{Element:"Hydrogen+Aluminum",ModusTestIDv1:"S-H+AL-SMP.02",ModusTestIDv2:"L_MODV2_SOIL_HAL_001",Units:["meq/100 g",null]},L_MODV2_SOIL_OH_001:{Element:"Hydroxide",ModusTestIDv1:"S-OH-SM2320B18.12",ModusTestIDv2:"L_MODV2_SOIL_OH_001",Units:["mg/L",null]},L_MODV2_SOIL_FE_001:{Element:"Iron",ModusTestIDv1:"S-FE-OX.23",ModusTestIDv2:"L_MODV2_SOIL_FE_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_003:{Element:"Iron",ModusTestIDv1:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_004:{Element:"Iron",ModusTestIDv1:"S-FE-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_FE_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_005:{Element:"Iron",ModusTestIDv1:"S-FE-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_006:{Element:"Iron",ModusTestIDv1:"S-FE-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_FE_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_007:{Element:"Iron",ModusTestIDv1:"S-FE-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_FE_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_010:{Element:"Iron",ModusTestIDv1:"S-FE-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_FE_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_011:{Element:"Iron",ModusTestIDv1:"S-FE-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_FE_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_012:{Element:"Iron",ModusTestIDv1:"S-FE-RES.04",ModusTestIDv2:"L_MODV2_SOIL_FE_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_013:{Element:"Iron",ModusTestIDv1:"S-FE-M1.05",ModusTestIDv2:"L_MODV2_SOIL_FE_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_014:{Element:"Iron",ModusTestIDv1:"S-FE-M2.05",ModusTestIDv2:"L_MODV2_SOIL_FE_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_015:{Element:"Iron",ModusTestIDv1:"S-FE-M3.05",ModusTestIDv2:"L_MODV2_SOIL_FE_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_017:{Element:"Iron",ModusTestIDv1:"S-FE-NA.04",ModusTestIDv2:"L_MODV2_SOIL_FE_017",Units:["ppm",null]},L_MODV2_SOIL_FE_021:{Element:"Iron",ModusTestIDv1:"S-FE-SP.04",ModusTestIDv2:"L_MODV2_SOIL_FE_021",Units:["mg/L",null]},L_MODV2_SOIL_KBRATIO_001:{Element:"K:B ratio",ModusTestIDv1:"S-K:B.19",ModusTestIDv2:"L_MODV2_SOIL_KBRATIO_001",Units:["none","ppm"]},L_MODV2_SOIL_KBRATIO_002:{Element:"K:B ratio",ModusTestIDv1:"S-K:B-M3.19",ModusTestIDv2:"L_MODV2_SOIL_KBRATIO_002",Units:["none",null]},L_MODV2_SOIL_KMGRATIO_001:{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_001",Units:["none",null]},L_MODV2_SOIL_KMGRATIO_002:{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-AA.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_002",Units:["none",null]},L_MODV2_SOIL_KMGRATIO_003:{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_003",Units:["none",null]},L_MODV2_SOIL_KMGRATIO_004:{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_004",Units:["none",null]},L_MODV2_SOIL_KNARATIO_001:{Element:"K:Na ratio",ModusTestIDv1:"S-K:Na-M3.19",ModusTestIDv2:"L_MODV2_SOIL_KNARATIO_001",Units:["none",null]},L_MODV2_SOIL_KNARATIO_002:{Element:"K:Na ratio",ModusTestIDv1:"S-K:Na.19",ModusTestIDv2:"L_MODV2_SOIL_KNARATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_PB_001:{Element:"Lead",ModusTestIDv1:"S-PB-AR.07",ModusTestIDv2:"L_MODV2_SOIL_PB_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_PB_002:{Element:"Lead",ModusTestIDv1:"S-PB-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_PB_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PB_003:{Element:"Lead",ModusTestIDv1:"S-PB-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_PB_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_LINDEX_001:{Element:"Lime Index",ModusTestIDv1:"S-LIME-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_LINDEX_001",Units:["none",null]},L_MODV2_SOIL_LREC_001:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-AEB",ModusTestIDv2:"L_MODV2_SOIL_LREC_001",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_002:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MAEB",ModusTestIDv2:"L_MODV2_SOIL_LREC_002",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_003:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MB",ModusTestIDv2:"L_MODV2_SOIL_LREC_003",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_004:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MWB",ModusTestIDv2:"L_MODV2_SOIL_LREC_004",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_005:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SIK1",ModusTestIDv2:"L_MODV2_SOIL_LREC_005",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_006:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SIK2",ModusTestIDv2:"L_MODV2_SOIL_LREC_006",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_007:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SMP",ModusTestIDv2:"L_MODV2_SOIL_LREC_007",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_008:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-TA",ModusTestIDv2:"L_MODV2_SOIL_LREC_008",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_009:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-WB",ModusTestIDv2:"L_MODV2_SOIL_LREC_009",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LI_001:{Element:"Lithium",ModusTestIDv1:"S-LI-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_LI_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_001:{Element:"Magnesium",ModusTestIDv1:"S-MG-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_MG_001",Units:["cmol/kg","%"]},L_MODV2_SOIL_MG_002:{Element:"Magnesium",ModusTestIDv1:"S-MG-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_MG_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_003:{Element:"Magnesium",ModusTestIDv1:"S-MG-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_MG_003",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_MG_004:{Element:"Magnesium",ModusTestIDv1:"S-MG-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_MG_004",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_MG_005:{Element:"Magnesium",ModusTestIDv1:"S-MG-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_MG_005",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_MG_007:{Element:"Magnesium",ModusTestIDv1:"S-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MG_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_008:{Element:"Magnesium",ModusTestIDv1:"S-MG-W1:1.05",ModusTestIDv2:"L_MODV2_SOIL_MG_008",Units:["meq/L",null]},L_MODV2_SOIL_MG_009:{Element:"Magnesium",ModusTestIDv1:"S-MG-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_MG_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_010:{Element:"Magnesium",ModusTestIDv1:"S-MG-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_MG_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_011:{Element:"Magnesium",ModusTestIDv1:"S-MG-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_MG_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_012:{Element:"Magnesium",ModusTestIDv1:"S-MG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_MG_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_015:{Element:"Magnesium",ModusTestIDv1:"S-MG-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_MG_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_017:{Element:"Magnesium",ModusTestIDv1:"S-MG-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MG_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_018:{Element:"Magnesium",ModusTestIDv1:"S-MG-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_MG_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_019:{Element:"Magnesium",ModusTestIDv1:"S-MG-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MG_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_020:{Element:"Magnesium",ModusTestIDv1:"S-MG-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MG_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_022:{Element:"Magnesium",ModusTestIDv1:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_023:{Element:"Magnesium",ModusTestIDv1:"S-MG-MOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_024:{Element:"Magnesium",ModusTestIDv1:"S-MG-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_025:{Element:"Magnesium",ModusTestIDv1:"S-MG-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MG_025",Units:["%",null]},L_MODV2_SOIL_MG_027:{Element:"Magnesium",ModusTestIDv1:"S-MG-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MG_027",Units:["mg/m2",null]},L_MODV2_SOIL_MG_028:{Element:"Magnesium",ModusTestIDv1:"S-MG-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MG_028",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_029:{Element:"Magnesium",ModusTestIDv1:"S-MG-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_MG_029",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_030:{Element:"Magnesium",ModusTestIDv1:"S-MG-SP.05",ModusTestIDv2:"L_MODV2_SOIL_MG_030",Units:["meq/L",null]},L_MODV2_SOIL_MG_031:{Element:"Magnesium",ModusTestIDv1:"S-MG-TRG.06",ModusTestIDv2:"L_MODV2_SOIL_MG_031",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MGINDEX_001:{Element:"Magnesium Index",ModusTestIDv1:"S-MG-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_MGINDEX_001",Units:["none",null]},L_MODV2_SOIL_MN_002:{Element:"Manganese",ModusTestIDv1:"S-MN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_003:{Element:"Manganese",ModusTestIDv1:"S-MN-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_MN_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_004:{Element:"Manganese",ModusTestIDv1:"S-MN-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_005:{Element:"Manganese",ModusTestIDv1:"S-MN-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_MN_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_009:{Element:"Manganese",ModusTestIDv1:"S-MN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_MN_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_010:{Element:"Manganese",ModusTestIDv1:"S-MN-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MN_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_011:{Element:"Manganese",ModusTestIDv1:"S-MN-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_MN_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_012:{Element:"Manganese",ModusTestIDv1:"S-MN-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MN_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_013:{Element:"Manganese",ModusTestIDv1:"S-MN-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MN_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_015:{Element:"Manganese",ModusTestIDv1:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_018:{Element:"Manganese",ModusTestIDv1:"S-MN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MN_018",Units:["ppm",null]},L_MODV2_SOIL_MN_019:{Element:"Manganese",ModusTestIDv1:"S-MN-PHOS.05",ModusTestIDv2:"L_MODV2_SOIL_MN_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_024:{Element:"Manganese",ModusTestIDv1:"S-MN-SP.04",ModusTestIDv2:"L_MODV2_SOIL_MN_024",Units:["mg/L",null]},L_MODV2_SOIL_MNINDEX_001:{Element:"Manganese Index",ModusTestIDv1:"S-MN-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_MNINDEX_001",Units:["none",null]},L_MODV2_SOIL_HG_001:{Element:"Mercury",ModusTestIDv1:"S-HG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_HG_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MGKRATIO_001:{Element:"Mg:K ratio",ModusTestIDv1:"S-MG:K.19",ModusTestIDv2:"L_MODV2_SOIL_MGKRATIO_001",Units:["none",null]},L_MODV2_SOIL_MNCURATIO_001:{Element:"Mn:Cu ratio",ModusTestIDv1:"S-Mn:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_MNCURATIO_001",Units:["none",null]},L_MODV2_SOIL_MNCURATIO_002:{Element:"Mn:Cu ratio",ModusTestIDv1:"S-Mn:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_MNCURATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_MNZNRATIO_001:{Element:"Mn:Zn ratio",ModusTestIDv1:"S-Mn:Zn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_MNZNRATIO_001",Units:["none",null]},L_MODV2_SOIL_MNZNRATIO_002:{Element:"Mn:Zn ratio",ModusTestIDv1:"S-Mn:Zn.19",ModusTestIDv2:"L_MODV2_SOIL_MNZNRATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_GAWC_001:{Element:"moisture content",ModusTestIDv1:"S-AW.14",ModusTestIDv2:"L_MODV2_SOIL_GAWC_001",Units:["%","in/ft"]},L_MODV2_SOIL_GWC_001:{Element:"moisture content",ModusTestIDv1:"S-MOIST-GRAV.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_001",Units:["%",null]},L_MODV2_SOIL_GWC_002:{Element:"moisture content",ModusTestIDv1:"S-MOIST-SP.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_002",Units:["%",null]},L_MODV2_SOIL_GWC_03BAR_001:{Element:"moisture content",ModusTestIDv1:"S-0.3BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_03BAR_001",Units:["%","in/ft"]},L_MODV2_SOIL_GWC_15BAR_001:{Element:"moisture content",ModusTestIDv1:"S-15BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_15BAR_001",Units:["%","in/ft"]},L_MODV2_SOIL_MO_001:{Element:"Molybdenum",ModusTestIDv1:"S-MO-OA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_002:{Element:"Molybdenum",ModusTestIDv1:"S-MO-OA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_003:{Element:"Molybdenum",ModusTestIDv1:"S-MO-AR.07",ModusTestIDv2:"L_MODV2_SOIL_MO_003",Units:["ug/kg","ppb"]},L_MODV2_SOIL_MO_005:{Element:"Molybdenum",ModusTestIDv1:"S-MO-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_MO_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_006:{Element:"Molybdenum",ModusTestIDv1:"S-MO-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_MO_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_009:{Element:"Molybdenum",ModusTestIDv1:"S-MO-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MO_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_010:{Element:"Molybdenum",ModusTestIDv1:"S-MO-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MO_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_011:{Element:"Molybdenum",ModusTestIDv1:"S-MO-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MO_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_012:{Element:"Molybdenum",ModusTestIDv1:"S-MO-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MO_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_014:{Element:"Molybdenum",ModusTestIDv1:"S-MO-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MO_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_015:{Element:"Molybdenum",ModusTestIDv1:"S-MO-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_015",Units:["ppm",null]},L_MODV2_SOIL_MO_018:{Element:"Molybdenum",ModusTestIDv1:"S-MO-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MO_018",Units:["ug/10cm2",null]},L_MODV2_SOIL_MO_019:{Element:"Molybdenum",ModusTestIDv1:"S-MO-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MO_019",Units:["mg/m2",null]},L_MODV2_SOIL_MO_020:{Element:"Molybdenum",ModusTestIDv1:"S-MO-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MO_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_021:{Element:"Molybdenum",ModusTestIDv1:"S-MO-SP.04",ModusTestIDv2:"L_MODV2_SOIL_MO_021",Units:["mg/L",null]},L_MODV2_SOIL_MO_022:{Element:"Molybdenum",ModusTestIDv1:"S-MO-HOTH2O.04",ModusTestIDv2:"L_MODV2_SOIL_MO_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NI_001:{Element:"Nickel",ModusTestIDv1:"S-NI-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_NI_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NI_002:{Element:"Nickel",ModusTestIDv1:"S-NI-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_NI_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_001:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-ALSO4B.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_004:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-CTA.01.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_005:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-W1:1.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_005",Units:["meq/L",null]},L_MODV2_SOIL_NO3N_006:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_NO3N_006",Units:["mg/L",null]},L_MODV2_SOIL_NO3N_007:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-EPA3532.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_007",Units:["mg/kg",null]},L_MODV2_SOIL_NO3N_008:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_009:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-RES.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_010:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_011:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_012:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.09",ModusTestIDv2:"L_MODV2_SOIL_NO3N_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_013:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-KCL.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_014:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N.2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_015:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-05KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_016:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-5K2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_017:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-SP.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_018:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_018",Units:["meq/L",null]},L_MODV2_SOIL_NO3N_019:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_019",Units:["meq/L",null]},L_MODV2_SOIL_NO3N_020:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.02.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_020",Units:["meq/L",null]},L_MODV2_SOIL_NO3N_021:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-BIC.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO2N_001:{Element:"Nitrite-Nitrogen",ModusTestIDv1:"S-NO2-KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO2N_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TKN_001:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.01",ModusTestIDv2:"L_MODV2_SOIL_TKN_001",Units:["%",null]},L_MODV2_SOIL_TKN_002:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.01.05",ModusTestIDv2:"L_MODV2_SOIL_TKN_002",Units:["%",null]},L_MODV2_SOIL_TKN_003:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.09",ModusTestIDv2:"L_MODV2_SOIL_TKN_003",Units:["%",null]},L_MODV2_SOIL_TKN_004:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.18",ModusTestIDv2:"L_MODV2_SOIL_TKN_004",Units:["%",null]},L_MODV2_SOIL_TKN_005:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.01.05",ModusTestIDv2:"L_MODV2_SOIL_TKN_005",Units:["%",null]},L_MODV2_SOIL_TKN_006:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.09",ModusTestIDv2:"L_MODV2_SOIL_TKN_006",Units:["%",null]},L_MODV2_SOIL_TKN_007:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.18",ModusTestIDv2:"L_MODV2_SOIL_TKN_007",Units:["%",null]},L_MODV2_SOIL_TN_001:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.19",ModusTestIDv2:"L_MODV2_SOIL_TN_001",Units:["%",null]},L_MODV2_SOIL_TN_002:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002",Units:["%",null]},L_MODV2_SOIL_TN_003:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN-W.01",ModusTestIDv2:"L_MODV2_SOIL_TN_003",Units:[null,null]},L_MODV2_SOIL_TN_004:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN-RES.01",ModusTestIDv2:"L_MODV2_SOIL_TN_004",Units:["lb/ac/day","kg/ha/day"]},L_MODV2_SOIL_TIN_001:{Element:'"Nitrogen, Total Inorganic"',ModusTestIDv1:"S-TIN.19",ModusTestIDv2:"L_MODV2_SOIL_TIN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NULL_001:{Element:"Null",ModusTestIDv1:"S-XX.00",ModusTestIDv2:"L_MODV2_SOIL_NULL_001",Units:["none",null]},L_MODV2_SOIL_OC_001:{Element:"Organic Carbon",ModusTestIDv1:"S-TOC.16",ModusTestIDv2:"L_MODV2_SOIL_OC_001",Units:["%",null]},L_MODV2_SOIL_OC_002:{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.01",ModusTestIDv2:"L_MODV2_SOIL_OC_002",Units:["%",null]},L_MODV2_SOIL_OC_003:{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.01",ModusTestIDv2:"L_MODV2_SOIL_OC_003",Units:["%",null]},L_MODV2_SOIL_OC_004:{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.12",ModusTestIDv2:"L_MODV2_SOIL_OC_004",Units:["%",null]},L_MODV2_SOIL_OC_005:{Element:"Organic Carbon",ModusTestIDv1:"S-TOC-W1:10.16",ModusTestIDv2:"L_MODV2_SOIL_OC_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TOC_001:{Element:'"Organic Carbon, Total"',ModusTestIDv1:"S-TOC.12.09",ModusTestIDv2:"L_MODV2_SOIL_TOC_001",Units:["%","g/kg"]},L_MODV2_SOIL_OM_001:{Element:"Organic Matter",ModusTestIDv1:"S-OM.19",ModusTestIDv2:"L_MODV2_SOIL_OM_001",Units:["%",null]},L_MODV2_SOIL_OM_002:{Element:"Organic Matter",ModusTestIDv1:"S-SOM-Color.19",ModusTestIDv2:"L_MODV2_SOIL_OM_002",Units:["%",null]},L_MODV2_SOIL_OM_003:{Element:"Organic Matter",ModusTestIDv1:"S-OM-DUMAS.16",ModusTestIDv2:"L_MODV2_SOIL_OM_003",Units:["%",null]},L_MODV2_SOIL_OM_004:{Element:"Organic Matter",ModusTestIDv1:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",Units:["%",null]},L_MODV2_SOIL_OM_005:{Element:"Organic Matter",ModusTestIDv1:"S-SOM-WB.01.09",ModusTestIDv2:"L_MODV2_SOIL_OM_005",Units:["%",null]},L_MODV2_SOIL_OM_006:{Element:"Organic Matter",ModusTestIDv1:"S-SOM-WB.12.09",ModusTestIDv2:"L_MODV2_SOIL_OM_006",Units:["%",null]},L_MODV2_SOIL_ON_001:{Element:"Organic Nitrogen",ModusTestIDv1:"S-ON.19",ModusTestIDv2:"L_MODV2_SOIL_ON_001",Units:["mg/L",null]},L_MODV2_SOIL_OTHER_001:{Element:"Other",ModusTestIDv1:"S-OTHER.19",ModusTestIDv2:"L_MODV2_SOIL_OTHER_001",Units:["none",null]},L_MODV2_SOIL_PCURATIO_001:{Element:"P:Cu ratio",ModusTestIDv1:"S-P:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PCURATIO_001",Units:["none",null]},L_MODV2_SOIL_PCURATIO_002:{Element:"P:Cu ratio",ModusTestIDv1:"S-P:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_PCURATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_PMNRATIO_001:{Element:"P:Mn ratio",ModusTestIDv1:"S-P:Mn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PMNRATIO_001",Units:["none",null]},L_MODV2_SOIL_PMNRATIO_002:{Element:"P:Mn ratio",ModusTestIDv1:"S-P:Mn.19",ModusTestIDv2:"L_MODV2_SOIL_PMNRATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_PSRATIO_001:{Element:"P:S ratio",ModusTestIDv1:"S-P:S-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PSRATIO_001",Units:["none",null]},L_MODV2_SOIL_PSRATIO_002:{Element:"P:S ratio",ModusTestIDv1:"S-P:S.19",ModusTestIDv2:"L_MODV2_SOIL_PSRATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_PZNRATIO_001:{Element:"P:Zn ratio",ModusTestIDv1:"S-P:Zn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PZNRATIO_001",Units:["none",null]},L_MODV2_SOIL_PZNRATIO_002:{Element:"P:Zn ratio",ModusTestIDv1:"S-P:Zn.19",ModusTestIDv2:"L_MODV2_SOIL_PZNRATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_MNO4OXC_001:{Element:"permanganate-oxidizable carbon (POXC)",ModusTestIDv1:"S-AC-KMNO4.01",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PH_002:{Element:"pH",ModusTestIDv1:"S-PH-1:1.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_002",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_003:{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_003",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_004:{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_004",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_005:{Element:"pH",ModusTestIDv1:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_006:{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_006",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_007:{Element:"pH",ModusTestIDv1:"S-PH-1:2.5.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_007",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_008:{Element:"pH",ModusTestIDv1:"S-pH-1:5H2O.02",ModusTestIDv2:"L_MODV2_SOIL_PH_008",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_010:{Element:"pH",ModusTestIDv1:"S-PH-1:1KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_010",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_011:{Element:"pH",ModusTestIDv1:"S-PH-1:5.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_011",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_012:{Element:"pH",ModusTestIDv1:"S-pH-1:5KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_012",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_013:{Element:"pH",ModusTestIDv1:"S-PH-SP.02",ModusTestIDv2:"L_MODV2_SOIL_PH_013",Units:["standard pH unit",null]},L_MODV2_SOIL_P_001:{Element:"Phosphorus",ModusTestIDv1:"S-P-AA-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_P_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_003:{Element:"Phosphorus",ModusTestIDv1:"S-P-AR.23",ModusTestIDv2:"L_MODV2_SOIL_P_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_004:{Element:"Phosphorus",ModusTestIDv1:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_005:{Element:"Phosphorus",ModusTestIDv1:"S-P-B1-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_006:{Element:"Phosphorus",ModusTestIDv1:"S-P-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_007:{Element:"Phosphorus",ModusTestIDv1:"S-P-B2-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_008:{Element:"Phosphorus",ModusTestIDv1:"S-P-BK.23",ModusTestIDv2:"L_MODV2_SOIL_P_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_009:{Element:"Phosphorus",ModusTestIDv1:"S-P-LACTATE.01",ModusTestIDv2:"L_MODV2_SOIL_P_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_010:{Element:"Phosphorus",ModusTestIDv1:"S-P-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_P_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_011:{Element:"Phosphorus",ModusTestIDv1:"S-P-M3BRAYP1.19",ModusTestIDv2:"L_MODV2_SOIL_P_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_013:{Element:"Phosphorus",ModusTestIDv1:"S-P-CALD.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_014:{Element:"Phosphorus",ModusTestIDv1:"S-P-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_P_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_015:{Element:"Phosphorus",ModusTestIDv1:"S-P-W1:5.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_016:{Element:"Phosphorus",ModusTestIDv1:"S-P-W10:1.04",ModusTestIDv2:"L_MODV2_SOIL_P_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_017:{Element:"Phosphorus",ModusTestIDv1:"S-P-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_P_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_018:{Element:"Phosphorus",ModusTestIDv1:"S-P-DGT.01",ModusTestIDv2:"L_MODV2_SOIL_P_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_019:{Element:"Phosphorus",ModusTestIDv1:"S-P-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_P_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_020:{Element:"Phosphorus",ModusTestIDv1:"S-P-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_P_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_021:{Element:"Phosphorus",ModusTestIDv1:"S-P-RES.01",ModusTestIDv2:"L_MODV2_SOIL_P_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_022:{Element:"Phosphorus",ModusTestIDv1:"S-P-RES.04",ModusTestIDv2:"L_MODV2_SOIL_P_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_023:{Element:"Phosphorus",ModusTestIDv1:"S-P-KEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_024:{Element:"Phosphorus",ModusTestIDv1:"S-P-MKEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_025:{Element:"Phosphorus",ModusTestIDv1:"S-P-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_P_025",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_026:{Element:"Phosphorus",ModusTestIDv1:"S-P-M1.04",ModusTestIDv2:"L_MODV2_SOIL_P_026",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_027:{Element:"Phosphorus",ModusTestIDv1:"S-P-M1.04",ModusTestIDv2:"L_MODV2_SOIL_P_027",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_029:{Element:"Phosphorus",ModusTestIDv1:"S-P-M2.04",ModusTestIDv2:"L_MODV2_SOIL_P_029",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_032:{Element:"Phosphorus",ModusTestIDv1:"S-P-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_032",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_033:{Element:"Phosphorus",ModusTestIDv1:"S-P-M3.04",ModusTestIDv2:"L_MODV2_SOIL_P_033",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_035:{Element:"Phosphorus",ModusTestIDv1:"S-P-MOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_035",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_036:{Element:"Phosphorus",ModusTestIDv1:"S-P-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_036",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_037:{Element:"Phosphorus",ModusTestIDv1:"S-P-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_037",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_038:{Element:"Phosphorus",ModusTestIDv1:"S-P-NA.04",ModusTestIDv2:"L_MODV2_SOIL_P_038",Units:["%",null]},L_MODV2_SOIL_P_039:{Element:"Phosphorus",ModusTestIDv1:"S-P-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_P_039",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_042:{Element:"Phosphorus",ModusTestIDv1:"S-P-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_P_042",Units:["mg/m2",null]},L_MODV2_SOIL_P_044:{Element:"Phosphorus",ModusTestIDv1:"S-P-SP.04",ModusTestIDv2:"L_MODV2_SOIL_P_044",Units:["mg/L",null]},L_MODV2_SOIL_P_045:{Element:"Phosphorus",ModusTestIDv1:"S-P-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_045",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_046:{Element:"Phosphorus",ModusTestIDv1:"S-P-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_P_046",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_047:{Element:"Phosphorus",ModusTestIDv1:"S-P-TRG.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_047",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PBUFINDEX_001:{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PBUFINDEX_002:{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-BIC.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PBUFINDEX_003:{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-COL.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PBUFINDEX_004:{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PERINDEX_001:{Element:"Phosphorus Environmental Risk Index",ModusTestIDv1:"S-PERI.19",ModusTestIDv2:"L_MODV2_SOIL_PERINDEX_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PFF_001:{Element:"Phosphorus Fixation Factor",ModusTestIDv1:"S-PFF-M3.04",ModusTestIDv2:"L_MODV2_SOIL_PFF_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PINDEX_001:{Element:"Potassium Index",ModusTestIDv1:"S-K-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_001",Units:["none",null]},L_MODV2_SOIL_PINDEX_002:{Element:"Potassium Index",ModusTestIDv1:"S-K-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_002",Units:["none",null]},L_MODV2_SOIL_PINDEX_003:{Element:"Phosphorus Index",ModusTestIDv1:"S-P-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PRATIO_001:{Element:"Phosphorus Ratio",ModusTestIDv1:"S-PR-M3.23",ModusTestIDv2:"L_MODV2_SOIL_PRATIO_001",Units:["none",null]},L_MODV2_SOIL_PRI_001:{Element:"Phosphorus Retention Index",ModusTestIDv1:"S-PRI-KCL.01",ModusTestIDv2:"L_MODV2_SOIL_PRI_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PSINDEX_001:{Element:"Phosphorus Saturation Index",ModusTestIDv1:"S-PSI.M3.19",ModusTestIDv2:"L_MODV2_SOIL_PSINDEX_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PSINDEX_002:{Element:"Phosphorus Saturation Index",ModusTestIDv1:"S-PSI.M3O.19",ModusTestIDv2:"L_MODV2_SOIL_PSINDEX_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TP_001:{Element:'"phosphorus, total\xA0"',ModusTestIDv1:"S-TP-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_TP_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TP_002:{Element:'"phosphorus, total\xA0"',ModusTestIDv1:"S-TP-NA.04",ModusTestIDv2:"L_MODV2_SOIL_TP_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_001:{Element:"Potassium",ModusTestIDv1:"S-K-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_K_001",Units:["cmol/kg","%"]},L_MODV2_SOIL_K_004:{Element:"Potassium",ModusTestIDv1:"S-K-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_K_004",Units:["meq/100 g",null]},L_MODV2_SOIL_K_005:{Element:"Potassium",ModusTestIDv1:"S-K-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_K_005",Units:["meq/100 g",null]},L_MODV2_SOIL_K_006:{Element:"Potassium",ModusTestIDv1:"S-K-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_K_006",Units:["cmol/kg","%"]},L_MODV2_SOIL_K_017:{Element:"Potassium",ModusTestIDv1:"S-K-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_019:{Element:"Potassium",ModusTestIDv1:"S-K-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_K_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_020:{Element:"Potassium",ModusTestIDv1:"S-K-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_K_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_021:{Element:"Potassium",ModusTestIDv1:"S-K-HCL.23",ModusTestIDv2:"L_MODV2_SOIL_K_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_023:{Element:"Potassium",ModusTestIDv1:"S-K-RES.04",ModusTestIDv2:"L_MODV2_SOIL_K_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_027:{Element:"Potassium",ModusTestIDv1:"S-K-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_K_027",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_028:{Element:"Potassium",ModusTestIDv1:"S-K-M3.20",ModusTestIDv2:"L_MODV2_SOIL_K_028",Units:["ppm",null]},L_MODV2_SOIL_K_035:{Element:"Potassium",ModusTestIDv1:"S-K-HNO3.07",ModusTestIDv2:"L_MODV2_SOIL_K_035",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_036:{Element:"Potassium",ModusTestIDv1:"S-K-HNO3.23",ModusTestIDv2:"L_MODV2_SOIL_K_036",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_037:{Element:"Potassium",ModusTestIDv1:"S-K-NA.04",ModusTestIDv2:"L_MODV2_SOIL_K_037",Units:["%",null]},L_MODV2_SOIL_K_038:{Element:"Potassium",ModusTestIDv1:"S-K-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_K_038",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_039:{Element:"Potassium",ModusTestIDv1:"S-K-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_K_039",Units:["mg/m2",null]},L_MODV2_SOIL_K_042:{Element:"Potassium",ModusTestIDv1:"S-K-SP.05",ModusTestIDv2:"L_MODV2_SOIL_K_042",Units:["meq/L",null]},L_MODV2_SOIL_K_047:{Element:"Potassium",ModusTestIDv1:"S-K-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_047",Units:["mg/kg",null]},L_MODV2_SOIL_K_048:{Element:"Potassium",ModusTestIDv1:"S-K.19",ModusTestIDv2:"L_MODV2_SOIL_K_048",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_050:{Element:"potassium\xA0",ModusTestIDv1:"S-K-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_K_050",Units:["mg/kg","ppm"]},L_MODV2_SOIL_KFF_001:{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.04",ModusTestIDv2:"L_MODV2_SOIL_KFF_001",Units:["%",null]},L_MODV2_SOIL_TK_002:{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TKP.01",ModusTestIDv2:"L_MODV2_SOIL_TK_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_POTMN_001:{Element:"potentially mineralizable nitrogen (PMN)",ModusTestIDv2:"L_MODV2_SOIL_POTMN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_POTOXC_001:{Element:"Potential Oxidizable Carbon",ModusTestIDv1:"S-POXC.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTOXC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_RZM_001:{Element:"Rootzone Moisture",ModusTestIDv1:"S-RZM.00",ModusTestIDv2:"L_MODV2_SOIL_RZM_001",Units:["%",null]},L_MODV2_SOIL_SAND_001:{Element:"Sand",ModusTestIDv1:"S-SAND-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SAND_001",Units:["%",null]},L_MODV2_SOIL_SAND_002:{Element:"Sand",ModusTestIDv1:"S-SAND.22",ModusTestIDv2:"L_MODV2_SOIL_SAND_002",Units:["%",null]},L_MODV2_SOIL_SAND_003:{Element:"Sand",ModusTestIDv1:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003",Units:["%",null]},L_MODV2_SOIL_SAND_004:{Element:"Sand",ModusTestIDv1:"S-SAND-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SAND_004",Units:["%",null]},L_MODV2_SOIL_SANDC_001:{Element:"sand - coarse",ModusTestIDv1:"S-SANDC.BAL.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_001",Units:["%",null]},L_MODV2_SOIL_SANDC_002:{Element:"sand - coarse",ModusTestIDv1:"S-SANDC.HYDRO.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_002",Units:["%",null]},L_MODV2_SOIL_SANDC_003:{Element:"sand - coarse",ModusTestIDv1:"S-SANDC-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_003",Units:["%",null]},L_MODV2_SOIL_SANDF_001:{Element:"sand - fine",ModusTestIDv1:"S-SANDF.DAL.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_001",Units:["%",null]},L_MODV2_SOIL_SANDF_002:{Element:"sand - fine",ModusTestIDv1:"S-SANDF-HYDRO.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_002",Units:["%",null]},L_MODV2_SOIL_SANDF_003:{Element:"sand - fine",ModusTestIDv1:"S-SANDF-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_003",Units:["%",null]},L_MODV2_SOIL_SS:{Element:"Saturation Paste %",ModusTestIDv1:"S-SP%.19",ModusTestIDv2:"L_MODV2_SOIL_SS",Units:["%",null]},L_MODV2_SOIL_SE_001:{Element:"Selenium",ModusTestIDv1:"S-SE-AR.07",ModusTestIDv2:"L_MODV2_SOIL_SE_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_SE_003:{Element:"Selenium",ModusTestIDv1:"S-SE-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SE_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SI_001:{Element:"Silicon",ModusTestIDv1:"S-SI-AA.04",ModusTestIDv2:"L_MODV2_SOIL_SI_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SI_003:{Element:"Silicon",ModusTestIDv1:"S-SI-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_SI_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SI_004:{Element:"Silicon",ModusTestIDv1:"S-SI-KCL.04",ModusTestIDv2:"L_MODV2_SOIL_SI_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SI_005:{Element:"Silicon",ModusTestIDv1:"S-SI-SP.04",ModusTestIDv2:"L_MODV2_SOIL_SI_005",Units:["mg/L",null]},L_MODV2_SOIL_SI_006:{Element:"Silicon",ModusTestIDv1:"S-SI-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_SI_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SILT_001:{Element:"Silt",ModusTestIDv1:"S-SILT-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SILT_001",Units:["%",null]},L_MODV2_SOIL_SILT_002:{Element:"Silt",ModusTestIDv1:"S-SILT.22",ModusTestIDv2:"L_MODV2_SOIL_SILT_002",Units:["%",null]},L_MODV2_SOIL_SILT_003:{Element:"Silt",ModusTestIDv1:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003",Units:["%",null]},L_MODV2_SOIL_SILT_004:{Element:"Silt",ModusTestIDv1:"S-SILT-SED.11,S-SILT-ST-OT",ModusTestIDv2:"L_MODV2_SOIL_SILT_004",Units:["%",null]},L_MODV2_SOIL_SILTCLAY_001:{Element:"Silt+Clay",ModusTestIDv1:"S-SI+C-SV",ModusTestIDv2:"L_MODV2_SOIL_SILTCLAY_001",Units:["%",null]},L_MODV2_SOIL_AG_001:{Element:"Silver",ModusTestIDv1:"S-AG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_AG_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SLAKING_001:{Element:"Slaking",ModusTestIDv1:"S-Slaking.24",ModusTestIDv2:"L_MODV2_SOIL_SLAKING_001",Units:["none",null]},L_MODV2_SOIL_NA_001:{Element:"Sodium",ModusTestIDv1:"S-NA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_NA_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_002:{Element:"Sodium",ModusTestIDv1:"S-NA-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_NA_002",Units:["meq/100 g",null]},L_MODV2_SOIL_NA_003:{Element:"Sodium",ModusTestIDv1:"S-NA-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_NA_003",Units:["meq/100 g",null]},L_MODV2_SOIL_NA_004:{Element:"Sodium",ModusTestIDv1:"S-NA-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_NA_004",Units:["cmol/kg","%"]},L_MODV2_SOIL_NA_006:{Element:"Sodium",ModusTestIDv1:"S-NA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_NA_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_008:{Element:"Sodium",ModusTestIDv1:"S-NA-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_NA_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_009:{Element:"Sodium",ModusTestIDv1:"S-NA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_NA_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_010:{Element:"Sodium",ModusTestIDv1:"S-NA-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_NA_010",Units:["lb/ac","ppm"]},L_MODV2_SOIL_NA_011:{Element:"Sodium",ModusTestIDv1:"S-NA-M1.05",ModusTestIDv2:"L_MODV2_SOIL_NA_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_012:{Element:"Sodium",ModusTestIDv1:"S-NA-M2.05",ModusTestIDv2:"L_MODV2_SOIL_NA_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_013:{Element:"Sodium",ModusTestIDv1:"S-NA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_NA_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_015:{Element:"Sodium",ModusTestIDv1:"S-NA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_NA_015",Units:["%",null]},L_MODV2_SOIL_NA_016:{Element:"Sodium",ModusTestIDv1:"S-NA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_NA_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_017:{Element:"Sodium",ModusTestIDv1:"S-NA-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_NA_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_018:{Element:"Sodium",ModusTestIDv1:"S-NA-RES.04",ModusTestIDv2:"L_MODV2_SOIL_NA_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_019:{Element:"Sodium",ModusTestIDv1:"S-NA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_NA_019",Units:["meq/L",null]},L_MODV2_SOIL_NA_020:{Element:"Sodium",ModusTestIDv1:"S-NA-W:1:1.05",ModusTestIDv2:"L_MODV2_SOIL_NA_020",Units:["meq/L",null]},L_MODV2_SOIL_NA_021:{Element:"Sodium",ModusTestIDv1:"S-NA-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_NA_021",Units:["mg/kg",null]},L_MODV2_SOIL_NA_022:{Element:"Sodium",ModusTestIDv1:"S-NA-W5:1.12",ModusTestIDv2:"L_MODV2_SOIL_NA_022",Units:["mg/kg",null]},L_MODV2_SOIL_NA_023:{Element:"Sodium",ModusTestIDv1:"S-NA-W5:1.23",ModusTestIDv2:"L_MODV2_SOIL_NA_023",Units:["mg/kg","mg/L"]},L_MODV2_SOIL_NA_024:{Element:"Sodium",ModusTestIDv1:"S-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NA_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SAR_001:{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-AA.19",ModusTestIDv2:"L_MODV2_SOIL_SAR_001",Units:["ratio",null]},L_MODV2_SOIL_SAR_002:{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-W5:1.19",ModusTestIDv2:"L_MODV2_SOIL_SAR_002",Units:["none",null]},L_MODV2_SOIL_SAR_003:{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-SP.00",ModusTestIDv2:"L_MODV2_SOIL_SAR_003",Units:["Ratio",null]},L_MODV2_SOIL_SOLIDS_001:{Element:'"solids, total"',ModusTestIDv1:"S-SOLIDS.19",ModusTestIDv2:"L_MODV2_SOIL_SOLIDS_001",Units:["%",null]},L_MODV2_SOIL_SS_001:{Element:"Soluble Salts",ModusTestIDv1:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SSINDEX_001:{Element:"Soluble Salts Index",ModusTestIDv1:"S-SS-NCINDX.19",ModusTestIDv2:"L_MODV2_SOIL_SSINDEX_001",Units:["none",null]},L_MODV2_SOIL_SR_001:{Element:"Strontium",ModusTestIDv1:"S-SR-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SR_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SO4S_001:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-1:5.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SO4S_003:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-S-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_SO4S_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SO4S_004:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-W1:1.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_004",Units:["meq/L",null]},L_MODV2_SOIL_SO4S_005:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-EPA300.04",ModusTestIDv2:"L_MODV2_SOIL_SO4S_005",Units:["mg/L",null]},L_MODV2_SOIL_SO4S_006:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-SP.08",ModusTestIDv2:"L_MODV2_SOIL_SO4S_006",Units:["meq/L",null]},L_MODV2_SOIL_SO4S_007:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-SP.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_007",Units:["meq/L",null]},L_MODV2_SOIL_S_001:{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_S_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_002:{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_S_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_003:{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.23",ModusTestIDv2:"L_MODV2_SOIL_S_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_004:{Element:"Sulfur",ModusTestIDv1:"S-S-CACL.05",ModusTestIDv2:"L_MODV2_SOIL_S_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_005:{Element:"Sulfur",ModusTestIDv1:"S-SO4-CaCl.04.08",ModusTestIDv2:"L_MODV2_SOIL_S_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_007:{Element:"Sulfur",ModusTestIDv1:"S-SO4-1:5.05",ModusTestIDv2:"L_MODV2_SOIL_S_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_009:{Element:"Sulfur",ModusTestIDv1:"S-S.16",ModusTestIDv2:"L_MODV2_SOIL_S_009",Units:["%",null]},L_MODV2_SOIL_S_010:{Element:"Sulfur",ModusTestIDv1:"S-SO4-1:5H2O.23",ModusTestIDv2:"L_MODV2_SOIL_S_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_011:{Element:"Sulfur",ModusTestIDv1:"S-SO4-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_011",Units:["meq/L",null]},L_MODV2_SOIL_S_012:{Element:"Sulfur",ModusTestIDv1:"S-S-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_013:{Element:"Sulfur",ModusTestIDv1:"S-S-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_014:{Element:"Sulfur",ModusTestIDv1:"S-S-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_015:{Element:"Sulfur",ModusTestIDv1:"S-S-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_S_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_016:{Element:"Sulfur",ModusTestIDv1:"S-S-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_S_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_017:{Element:"Sulfur",ModusTestIDv1:"S-S-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_S_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_020:{Element:"Sulfur",ModusTestIDv1:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_020",Units:["kg/ha","lb/ac"]},L_MODV2_SOIL_S_021:{Element:"Sulfur",ModusTestIDv1:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_022:{Element:"Sulfur",ModusTestIDv1:"S-SO4-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_023:{Element:"Sulfur",ModusTestIDv1:"S-SO4-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_024:{Element:"Sulfur",ModusTestIDv1:"S-S-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_025:{Element:"Sulfur",ModusTestIDv1:"S-S-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_S_025",Units:["kg/ha","lb/ac"]},L_MODV2_SOIL_S_026:{Element:"Sulfur",ModusTestIDv1:"S-S-M3.05",ModusTestIDv2:"L_MODV2_SOIL_S_026",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_028:{Element:"Sulfur",ModusTestIDv1:"S-S-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_S_028",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_029:{Element:"Sulfur",ModusTestIDv1:"S-S-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_S_029",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_030:{Element:"Sulfur",ModusTestIDv1:"S-S-NA.04",ModusTestIDv2:"L_MODV2_SOIL_S_030",Units:["%",null]},L_MODV2_SOIL_S_031:{Element:"Sulfur",ModusTestIDv1:"S-SO4-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_S_031",Units:["mg/m2",null]},L_MODV2_SOIL_S_034:{Element:"Sulfur",ModusTestIDv1:"S-S-0.25MKCL.23",ModusTestIDv2:"L_MODV2_SOIL_S_034",Units:["kg/ha","lb/ac"]},L_MODV2_SOIL_S_035:{Element:"Sulfur",ModusTestIDv1:"S-S-KCL.05",ModusTestIDv2:"L_MODV2_SOIL_S_035",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_036:{Element:"Sulfur",ModusTestIDv1:"S-SO4-SP.04",ModusTestIDv2:"L_MODV2_SOIL_S_036",Units:["meq/L",null]},L_MODV2_SOIL_SINDEX_001:{Element:"Sulfur Index",ModusTestIDv1:"S-S-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_SINDEX_001",Units:["none",null]},L_MODV2_SOIL_TEXTURE_001:{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.19",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_001",Units:["Texture Classification",null]},L_MODV2_SOIL_TEXTURE_002:{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.01",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_002",Units:["none",null]},L_MODV2_SOIL_TEXTURE_003:{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.22",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_003",Units:["Texture Classification",null]},L_MODV2_SOIL_SN_001:{Element:"Tin",ModusTestIDv1:"S-SN-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TITACIDT_001:{Element:"Titratable Acidity",ModusTestIDv1:"S-H-MEAS.12",ModusTestIDv2:"L_MODV2_SOIL_TITACIDT_001",Units:["cmol/kg","meq/100 g"]},L_MODV2_SOIL_TCTN_001:{Element:"Total Carbon:Total Nitrogen",ModusTestIDv1:"S-TC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TCTN_001",Units:["none",null]},L_MODV2_SOIL_TOCTN_001:{Element:"Total Organic Carbon: Total Nitrogen",ModusTestIDv1:"S-TOC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TOCTN_001",Units:["none",null]},L_MODV2_SOIL_UNKNOWN_001:{Element:"Unknown",ModusTestIDv1:"S-UNKNOWN.00",ModusTestIDv2:"L_MODV2_SOIL_UNKNOWN_001",Units:["none",null]},L_MODV2_SOIL_UREA_001:{Element:"Urea",ModusTestIDv1:"S-UREA-NH4.01",ModusTestIDv2:"L_MODV2_SOIL_UREA_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_WSC_001:{Element:"water soluble carbon",ModusTestIDv1:"S-SARJ-SP.00",ModusTestIDv2:"L_MODV2_SOIL_WSC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_002:{Element:"Zinc",ModusTestIDv1:"S-ZN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_003:{Element:"Zinc",ModusTestIDv1:"S-ZN-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_004:{Element:"Zinc",ModusTestIDv1:"S-ZN-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_005:{Element:"Zinc",ModusTestIDv1:"S-ZN-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_008:{Element:"Zinc",ModusTestIDv1:"S-ZN-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_009:{Element:"Zinc",ModusTestIDv1:"S-ZN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_010:{Element:"Zinc",ModusTestIDv1:"S-ZN-RES.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_011:{Element:"Zinc",ModusTestIDv1:"S-ZN-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_012:{Element:"Zinc",ModusTestIDv1:"S-ZN-M1.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_013:{Element:"Zinc",ModusTestIDv1:"S-ZN-M2.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_014:{Element:"Zinc",ModusTestIDv1:"S-ZN-M3DTPA.19",ModusTestIDv2:"L_MODV2_SOIL_ZN_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_015:{Element:"Zinc",ModusTestIDv1:"S-ZN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_019:{Element:"Zinc",ModusTestIDv1:"S-ZN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_019",Units:["ppm",null]},L_MODV2_SOIL_ZN_020:{Element:"Zinc",ModusTestIDv1:"S-ZN-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_020",Units:["ug/10cm2",null]},L_MODV2_SOIL_ZN_021:{Element:"Zinc",ModusTestIDv1:"S-ZN-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_021",Units:["mg/m2",null]},L_MODV2_SOIL_ZN_024:{Element:"Zinc",ModusTestIDv1:"S-ZN-SP.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_024",Units:["mg/L",null]},L_MODV2_SOIL_ZINDEX_001:{Element:"Zinc index",ModusTestIDv1:"S-ZN-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_ZINDEX_001",Units:["none",null]},L_MODV2_SOIL_ZNCURATIO_001:{Element:"Zn:Cu ratio",ModusTestIDv1:"S-Zn:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_ZNCURATIO_001",Units:["none",null]},L_MODV2_SOIL_ZNCURATIO_002:{Element:"Zn:Cu ratio",ModusTestIDv1:"S-Zn:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_ZNCURATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_ACEN_001:{Element:"ACE nitrogen (soil protein index)",ModusTestIDv1:"S-SP-ACE-OT",ModusTestIDv2:"L_MODV2_SOIL_ACEN_001",Units:["g/kg",null]},L_MODV2_SOIL_ACIDT_001:{Element:"Acidity",ModusTestIDv2:"L_MODV2_SOIL_ACIDT_001",Units:["meq/cmol",null]},L_MODV2_SOIL_ASTAB_00:{Element:"Aggregate Stability",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_00",Units:["%",null]},L_MODV2_SOIL_ASTAB_001:{Element:"Aggregate Stability",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_001",Units:["%",null]},L_MODV2_SOIL_ASTAB_002:{Element:"Aggregate Stability",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_002",Units:["%",null]},L_MODV2_SOIL_ASTAB_003:{Element:"Aggregate Stability",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_003",Units:["%",null]},L_MODV2_SOIL_AL_007:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_008:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_009:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_013:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_013",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_AL_015:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_015",Units:["mg/m2",null]},L_MODV2_SOIL_AL_016:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_016",Units:["mg/m2",null]},L_MODV2_SOIL_AL_017:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_017",Units:["mg/m2",null]},L_MODV2_SOIL_AL_019:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_021:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_023:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4_001:{Element:"ammonium",ModusTestIDv2:"L_MODV2_SOIL_NH4_001",Units:["mg/m2",null]},L_MODV2_SOIL_NH4_002:{Element:"ammonium",ModusTestIDv2:"L_MODV2_SOIL_NH4_002",Units:["mg/m2",null]},L_MODV2_SOIL_NH4_003:{Element:"ammonium",ModusTestIDv2:"L_MODV2_SOIL_NH4_003",Units:["mg/m2",null]},L_MODV2_SOIL_NH4N_001:{Element:"Ammonium-Nitrogen",ModusTestIDv2:"L_MODV2_SOIL_NH4N_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AS_004:{Element:"Arsenic",ModusTestIDv2:"L_MODV2_SOIL_AS_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AS_005:{Element:"Arsenic",ModusTestIDv2:"L_MODV2_SOIL_AS_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ARYLS_001:{Element:"arylsulfatase",ModusTestIDv2:"L_MODV2_SOIL_ARYLS_001",Units:["nmol/h/mg",null]},L_MODV2_SOIL_AWHC_001:{Element:"available water holding capacity",ModusTestIDv2:"L_MODV2_SOIL_AWHC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BA_002:{Element:"Barium",ModusTestIDv2:"L_MODV2_SOIL_BA_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BA_003:{Element:"Barium",ModusTestIDv2:"L_MODV2_SOIL_BA_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BA_004:{Element:"Barium",ModusTestIDv2:"L_MODV2_SOIL_BA_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CABS_001:{Element:"Base Saturation - Ca",ModusTestIDv1:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CABS_001",Units:["%",null]},L_MODV2_SOIL_BGLUCO_001:{Element:"beta-glucosidase",ModusTestIDv2:"L_MODV2_SOIL_BGLUCO_001",Units:["U/mg",null]},L_MODV2_SOIL_HCO3_002:{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_002",Units:["meq/L",null]},L_MODV2_SOIL_HCO3_003:{Element:"Bicarbonate",ModusTestIDv2:"L_MODV2_SOIL_HCO3_003",Units:["meq/L",null]},L_MODV2_SOIL_B_002:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_013:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_014:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_018:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_018",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_B_020:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_020",Units:["mg/m2",null]},L_MODV2_SOIL_B_021:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_021",Units:["mg/m2",null]},L_MODV2_SOIL_B_022:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BPH_005:{Element:"Buffer pH",ModusTestIDv2:"L_MODV2_SOIL_BPH_005",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_006:{Element:"Buffer pH",ModusTestIDv2:"L_MODV2_SOIL_BPH_006",Units:["standard pH unit",null]},L_MODV2_SOIL_CNRATIO_001:{Element:"C:N Ratio",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_001",Units:["Ratio",null]},L_MODV2_SOIL_CD_003:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CD_004:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CD_006:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_006",Units:["mg/m2",null]},L_MODV2_SOIL_CD_007:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_007",Units:["mg/m2",null]},L_MODV2_SOIL_CD_008:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_008",Units:["mg/m2",null]},L_MODV2_SOIL_CD_009:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CD_010:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_004:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_015:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_022:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_022",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_CA_028:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_028",Units:["mg/m2",null]},L_MODV2_SOIL_CA_029:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_029",Units:["mg/m2",null]},L_MODV2_SOIL_CO3_005:{Element:"Carbonate",ModusTestIDv2:"L_MODV2_SOIL_CO3_005",Units:["meq/L",null]},L_MODV2_SOIL_CEC_004:{Element:"Cation Exchange Capacity",ModusTestIDv2:"L_MODV2_SOIL_CEC_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CL_001:{Element:"Chloride",ModusTestIDv2:"L_MODV2_SOIL_CL_001",Units:["meq/L",null]},L_MODV2_SOIL_CL_002:{Element:"Chloride",ModusTestIDv2:"L_MODV2_SOIL_CL_002",Units:["meq/L",null]},L_MODV2_SOIL_CL_003:{Element:"Chloride",ModusTestIDv2:"L_MODV2_SOIL_CL_003",Units:["meq/L",null]},L_MODV2_SOIL_CR_003:{Element:"Chromium",ModusTestIDv2:"L_MODV2_SOIL_CR_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CR_004:{Element:"Chromium",ModusTestIDv2:"L_MODV2_SOIL_CR_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CR_006:{Element:"Chromium",ModusTestIDv2:"L_MODV2_SOIL_CR_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_002:{Element:"Cobalt",ModusTestIDv2:"L_MODV2_SOIL_CO_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_007:{Element:"Cobalt",ModusTestIDv2:"L_MODV2_SOIL_CO_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_008:{Element:"Cobalt",ModusTestIDv2:"L_MODV2_SOIL_CO_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_009:{Element:"Cobalt",ModusTestIDv2:"L_MODV2_SOIL_CO_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_001:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_006:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_007:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_015:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_015",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_CU_016:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_017:{Element:"Copper",ModusTestIDv1:"S-Cu-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_CU_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_019:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_019",Units:["mg/m2",null]},L_MODV2_SOIL_CU_020:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_020",Units:["mg/m2",null]},L_MODV2_SOIL_CU_021:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_021",Units:["mg/m2",null]},L_MODV2_SOIL_DON_001:{Element:"dissolved organic nitrogen (DON)",ModusTestIDv2:"L_MODV2_SOIL_DON_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_GENOM_001:{Element:"genomics",ModusTestIDv2:"L_MODV2_SOIL_GENOM_001",Units:[null,null]},L_MODV2_SOIL_FE_002:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_008:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_009:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_016:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_016",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_FE_018:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_018",Units:["mg/m2",null]},L_MODV2_SOIL_FE_019:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_019",Units:["mg/m2",null]},L_MODV2_SOIL_FE_020:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_020",Units:["mg/m2",null]},L_MODV2_SOIL_PB_004:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PB_005:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PB_006:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_006",Units:["mg/m2",null]},L_MODV2_SOIL_PB_007:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_007",Units:["mg/m2",null]},L_MODV2_SOIL_PB_008:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_008",Units:["mg/m2",null]},L_MODV2_SOIL_PB_009:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_006:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_013:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_014:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_016:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_021:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_021",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_MG_026:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_026",Units:["mg/m2",null]},L_MODV2_SOIL_MN_001:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_006:{Element:"Manganese",ModusTestIDv1:"S-MN-EPA3050.05",ModusTestIDv2:"L_MODV2_SOIL_MN_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_007:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_008:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_014:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_014",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_MN_016:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_017:{Element:"Manganese",ModusTestIDv1:"S-Mn-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_MN_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_020:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_020",Units:["mg/m2",null]},L_MODV2_SOIL_MN_021:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_021",Units:["mg/m2",null]},L_MODV2_SOIL_MN_022:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_022",Units:["mg/m2",null]},L_MODV2_SOIL_MN_023:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_HG_002:{Element:"Mercury",ModusTestIDv2:"L_MODV2_SOIL_HG_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_HG_003:{Element:"Mercury",ModusTestIDv2:"L_MODV2_SOIL_HG_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_004:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_007:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_008:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_013:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_013",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_MO_016:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_016",Units:["mg/m2",null]},L_MODV2_SOIL_MO_017:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_017",Units:["mg/m2",null]},L_MODV2_SOIL_NI_003:{Element:"Nickel",ModusTestIDv2:"L_MODV2_SOIL_NI_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NI_004:{Element:"Nickel",ModusTestIDv2:"L_MODV2_SOIL_NI_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NI_005:{Element:"Nickel",ModusTestIDv2:"L_MODV2_SOIL_NI_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3_001:{Element:"nitrate",ModusTestIDv2:"L_MODV2_SOIL_NO3_001",Units:["mg/m2",null]},L_MODV2_SOIL_NO3_002:{Element:"nitrate",ModusTestIDv2:"L_MODV2_SOIL_NO3_002",Units:["mg/m2",null]},L_MODV2_SOIL_NO3N_002:{Element:"Nitrate-Nitrogen",ModusTestIDv2:"L_MODV2_SOIL_NO3N_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_003:{Element:"Nitrate-Nitrogen",ModusTestIDv2:"L_MODV2_SOIL_NO3N_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NMR_001:{Element:"nitrogen mineralization rate",ModusTestIDv2:"L_MODV2_SOIL_NMR_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PARTDENS_001:{Element:"particle density",ModusTestIDv2:"L_MODV2_SOIL_PARTDENS_001",Units:["g/cm3",null]},L_MODV2_SOIL_POM_001:{Element:"particulate organic matter 53-2000 um",ModusTestIDv2:"L_MODV2_SOIL_POM_001",Units:["g/kg",null]},L_MODV2_SOIL_MNO4OXC_002:{Element:"permanganate-oxidizable carbon (POXC)",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PH_001:{Element:"pH",ModusTestIDv2:"L_MODV2_SOIL_PH_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PH_009:{Element:"pH",ModusTestIDv2:"L_MODV2_SOIL_PH_009",Units:["standard pH unit",null]},L_MODV2_SOIL_PO4_001:{Element:"phosphate",ModusTestIDv2:"L_MODV2_SOIL_PO4_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PLFA_001:{Element:"phospholipid fatty acid (PLFA)",ModusTestIDv1:"S-MD-BS-C-OT",ModusTestIDv2:"L_MODV2_SOIL_PLFA_001",Units:["ng/g",null]},L_MODV2_SOIL_PMONOEST_001:{Element:"phosphomonoesterase",ModusTestIDv2:"L_MODV2_SOIL_PMONOEST_001",Units:["ug/g","mg/kg,ppm"]},L_MODV2_SOIL_P_002:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_012:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_028:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_028",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_030:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_030",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_P_031:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_031",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_P_034:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_034",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_040:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_040",Units:["mg/m2",null]},L_MODV2_SOIL_P_041:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_041",Units:["mg/m2",null]},L_MODV2_SOIL_P_043:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_043",Units:["mg/L",null]},L_MODV2_SOIL_P_048:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_048",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_002:{Element:"Potassium",ModusTestIDv1:"S-K-AA-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_K_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_003:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_007:{Element:"Potassium",ModusTestIDv1:"S-K-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_008:{Element:"Potassium",ModusTestIDv1:"S-K-B1-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_009:{Element:"Potassium",ModusTestIDv1:"S-K-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_010:{Element:"Potassium",ModusTestIDv1:"S-K-LACTATE.01",ModusTestIDv2:"L_MODV2_SOIL_K_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_011:{Element:"Potassium",ModusTestIDv1:"S-K-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_K_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_012:{Element:"Potassium",ModusTestIDv1:"S-K-M3BRAYP1.19",ModusTestIDv2:"L_MODV2_SOIL_K_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_013:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_014:{Element:"Potassium",ModusTestIDv1:"S-K-CALD.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_015:{Element:"Potassium",ModusTestIDv1:"S-K-W1:5.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_016:{Element:"Potassium",ModusTestIDv1:"S-K-W10:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_018:{Element:"Potassium",ModusTestIDv1:"S-K-DGT.01",ModusTestIDv2:"L_MODV2_SOIL_K_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_022:{Element:"Potassium",ModusTestIDv1:"S-K-RES.01",ModusTestIDv2:"L_MODV2_SOIL_K_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_024:{Element:"Potassium",ModusTestIDv1:"S-K-KEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_025:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_025",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_026:{Element:"Potassium",ModusTestIDv1:"S-K-MKEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_026",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_029:{Element:"Potassium",ModusTestIDv1:"S-K-M1.04",ModusTestIDv2:"L_MODV2_SOIL_K_029",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_030:{Element:"Potassium",ModusTestIDv1:"S-K-M2.04",ModusTestIDv2:"L_MODV2_SOIL_K_030",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_031:{Element:"Potassium",ModusTestIDv1:"S-K-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_031",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_032:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_032",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_K_033:{Element:"Potassium",ModusTestIDv1:"S-K-MOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_033",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_034:{Element:"Potassium",ModusTestIDv1:"S-K-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_034",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_040:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_040",Units:["mg/m2",null]},L_MODV2_SOIL_K_041:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_041",Units:["mg/m2",null]},L_MODV2_SOIL_K_043:{Element:"Potassium",ModusTestIDv1:"S-K-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_043",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_044:{Element:"Potassium",ModusTestIDv1:"S-K-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_K_044",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_045:{Element:"Potassium",ModusTestIDv1:"S-K-TRG.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_045",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_046:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_046",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_049:{Element:"potassium\xA0",ModusTestIDv1:"S-K-AR.23",ModusTestIDv2:"L_MODV2_SOIL_K_049",Units:["mg/kg","ppm"]},L_MODV2_SOIL_KFF_002:{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.05",ModusTestIDv2:"L_MODV2_SOIL_KFF_002",Units:["%",null]},L_MODV2_SOIL_KFF_003:{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.06",ModusTestIDv2:"L_MODV2_SOIL_KFF_003",Units:["%",null]},L_MODV2_SOIL_TK_001:{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TK-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_TK_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TK_003:{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TK-NA.04",ModusTestIDv2:"L_MODV2_SOIL_TK_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SREF_001:{Element:"reflectance",ModusTestIDv2:"L_MODV2_SOIL_SREF_001",Units:["Reflectance percentage (R%)",null]},L_MODV2_SOIL_SANDC_004:{Element:"sand - coarse",ModusTestIDv2:"L_MODV2_SOIL_SANDC_004",Units:["%",null]},L_MODV2_SOIL_SANDF_004:{Element:"sand - fine",ModusTestIDv2:"L_MODV2_SOIL_SANDF_004",Units:["%",null]},L_MODV2_SOIL_SANDM_001:{Element:"sand - medium",ModusTestIDv2:"L_MODV2_SOIL_SANDM_001",Units:["%",null]},L_MODV2_SOIL_SANDVC_001:{Element:"sand - very coarse",ModusTestIDv2:"L_MODV2_SOIL_SANDVC_001",Units:["%",null]},L_MODV2_SOIL_SANDVF_001:{Element:"sand - very fine",ModusTestIDv2:"L_MODV2_SOIL_SANDVF_001",Units:["%",null]},L_MODV2_SOIL_SHC_001:{Element:"saturated hydraulic conductivity",ModusTestIDv2:"L_MODV2_SOIL_SHC_001",Units:["in/hr","cm3/hr"]},L_MODV2_SOIL_SE_002:{Element:"Selenium",ModusTestIDv2:"L_MODV2_SOIL_SE_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SE_004:{Element:"Selenium",ModusTestIDv2:"L_MODV2_SOIL_SE_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SE_005:{Element:"Selenium",ModusTestIDv2:"L_MODV2_SOIL_SE_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SE_006:{Element:"Selenium",ModusTestIDv2:"L_MODV2_SOIL_SE_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_STCM_001:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_001",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_002:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_002",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_003:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_003",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_004:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_004",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_005:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_005",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_006:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_006",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_007:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_007",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_008:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_008",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_009:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_009",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_010:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_010",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_011:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_011",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_012:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_012",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_013:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_013",Units:["mg/kg",null]},L_MODV2_SOIL_SI_002:{Element:"Silicon",ModusTestIDv2:"L_MODV2_SOIL_SI_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_005:{Element:"Sodium",ModusTestIDv2:"L_MODV2_SOIL_NA_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_007:{Element:"Sodium",ModusTestIDv2:"L_MODV2_SOIL_NA_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_014:{Element:"Sodium",ModusTestIDv2:"L_MODV2_SOIL_NA_014",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_SR_002:{Element:"Strontium",ModusTestIDv2:"L_MODV2_SOIL_SR_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SO4S_002:{Element:"Sulfate-Sulfur",ModusTestIDv2:"L_MODV2_SOIL_SO4S_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_006:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_008:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_018:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_019:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_027:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_027",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_S_032:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_032",Units:["mg/m2",null]},L_MODV2_SOIL_S_033:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_033",Units:["mg/m2",null]},L_MODV2_SOIL_SN_002:{Element:"Tin",ModusTestIDv2:"L_MODV2_SOIL_SN_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SN_003:{Element:"Tin",ModusTestIDv2:"L_MODV2_SOIL_SN_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_WEN_001:{Element:"water extractable nitrogen (WEN)",ModusTestIDv2:"L_MODV2_SOIL_WEN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_WEOC_001:{Element:"water extractable organic carbon (WEOC)",ModusTestIDv2:"L_MODV2_SOIL_WEOC_001",Units:["g",null]},L_MODV2_SOIL_TDN_001:{Element:"water extractable organic nitrogen (TDN)",ModusTestIDv2:"L_MODV2_SOIL_TDN_001",Units:["mg/g",null]},L_MODV2_SOIL_WEON_001:{Element:"water extractable organic nitrogen (WEON)",ModusTestIDv2:"L_MODV2_SOIL_WEON_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_WSCN_001:{Element:"water soluble C:N ratio",ModusTestIDv2:"L_MODV2_SOIL_WSCN_001",Units:["ratio",null]},L_MODV2_SOIL_WSOC_001:{Element:"water-soluble organic carbon (WSOC)",ModusTestIDv2:"L_MODV2_SOIL_WSOC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_001:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_006:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_007:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_016:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_016",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_ZN_017:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_018:{Element:"Zinc",ModusTestIDv1:"S-Zn-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_ZN_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_022:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_022",Units:["mg/m2",null]},L_MODV2_SOIL_ZN_023:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_023",Units:["mg/m2",null]}};var E0={},hu={};Object.defineProperty(hu,"__esModule",{value:!0});hu.Ucum=void 0;var UJ={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:'',closeEmphHTML_:"",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles? The molecular weight of the substance represented by the units is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}};hu.Ucum=UJ;var xv={},zf={},Vv={};Object.defineProperty(Vv,"__esModule",{value:!0});Vv.Prefix=void 0;class NJ{constructor(t){if(t.code_===void 0||t.code_===null||t.name_===void 0||t.name_===null||t.value_===void 0||t.value_===null||t.exp_===void 0)throw new Error("Prefix constructor called missing one or more parameters. Prefix codes (cs or ci), name, value and exponent must all be specified and all but the exponent must not be null.");this.code_=t.code_,this.ciCode_=t.ciCode_,this.name_=t.name_,this.printSymbol_=t.printSymbol_,typeof t.value_=="string"?this.value_=parseFloat(t.value_):this.value_=t.value_,this.exp_=t.exp_}getValue(){return this.value_}getCode(){return this.code_}getCiCode(){return this.ciCode_}getName(){return this.name_}getPrintSymbol(){return this.printSymbol_}getExp(){return this.exp_}equals(t){return this.code_===t.code_&&this.ciCode_===t.ciCode_&&this.name_===t.name_&&this.printSymbol_===t.printSymbol_&&this.value_===t.value_&&this.exp_===t.exp_}}Vv.Prefix=NJ;var W0={};Object.defineProperty(W0,"__esModule",{value:!0});W0.PrefixTables=W0.PrefixTablesFactory=void 0;class O9{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let t="",r=Object.keys(this.byValue_),n=r.length;for(let a=0;a=1&&(n=t.substr(r+Z_.codeSep_.length),t=t.substr(0,r));let a=this.unitNames_[t];if(a){let i=a.length;if(n&&i>1){let s=0;for(;a[s].csCode_!==n&&s0&&(n+=r),t[c]==="dim_")m.dim_!==null&&m.dim_!==void 0&&m.dim_.dimVec_ instanceof Array?n+="["+m.dim_.dimVec_.join(",")+"]":n+="";else{let f=m[t[c]];typeof f=="string"?n+=f.replace(/[\n\r]/g," "):n+=f}n+=`\r -`}}return n}printUnits(t,r){t===void 0&&(t=!1),r===void 0&&(r="|");let n="",a=this.codeOrder_.length,i="csCode"+r;t&&(i+="ciCode"+r),i+="name"+r,t&&(i+="isBase"+r),i+="magnitude"+r+"dimension"+r+"from unit(s)"+r+"value"+r+"function"+r,t&&(i+="property"+r+"printSymbol"+r+"synonyms"+r+"source"+r+"class"+r+"isMetric"+r+"variable"+r+"isSpecial"+r+"isAbitrary"+r),i+="comment",n=i+` -`;for(let s=0;s=Va.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[t]=1}}setElementAt(t,r){if(!Y_(t)||t<0||t>=Va.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${t})`);this.dimVec_||this.assignZero(),r==null&&(r=1),this.dimVec_[t]=r}getElementAt(t){if(!Y_(t)||t<0||t>=Va.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${t})`);let r=null;return this.dimVec_&&(r=this.dimVec_[t]),r}getProperty(t){let r=t.charAt(t.length-1)==="_"?t:t+"_";return this[r]}toString(){let t=null;return this.dimVec_&&(t="["+this.dimVec_.join(", ")+"]"),t}add(t){if(!t instanceof m0)throw new Error(`Dimension.add called with an invalid parameter - ${typeof t} instead of a Dimension object`);if(this.dimVec_&&t.dimVec_)for(let r=0;r{r==="dim_"?this.dim_?t.dim_=this.dim_.clone():t.dim_=null:t[r]=this[r]}),t}assign(t){Object.getOwnPropertyNames(t).forEach(r=>{r==="dim_"?t.dim_?this.dim_=t.dim_.clone():this.dim_=null:this[r]=t[r]})}equals(t){return this.magnitude_===t.magnitude_&&this.cnv_===t.cnv_&&this.cnvPfx_===t.cnvPfx_&&(this.dim_===null&&t.dim_===null||this.dim_.equals(t.dim_))}fullEquals(t){let r=Object.keys(this).sort(),n=Object.keys(t).sort(),a=r.length,i=a===n.length;for(let s=0;s0){let r=t.replace("/","!").replace(".","/").replace("!",".");switch(r.charAt(0)){case".":t=r.substr(1);break;case"/":t=r;break;default:t="/"+r}}return t}_concatStrs(t,r,n,a,i){return this._buildOneString(t,a,i)+r+this._buildOneString(n,a,i)}_buildOneString(t,r,n){let a="";return qJ.isNumericString(t)||t.charAt(0)==="("&&t.endsWith(")")||t.charAt(0)==="["&&t.endsWith("]")?a=t:/[./* ]/.test(t)?a=r+t+n:a=t,a}power(t){if(this.cnv_!=null)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let n=this.csCode_.match(/([./]|[^./]+)/g),a=n.length;for(let i=0;i=0;u--){let m=parseInt(s[u]);if(!$D(m)){if((s[u]==="-"||s[u]==="+")&&u--,u(QJ(e[r])?JJ.apply(t,GC(e[r]).map(n=>[r,...[].concat(n)])):t.push(r),t),[])}function WC(e){return e.map(t=>Array.isArray(t)?t:[t])}function eQ(e,t){if(e.join()!==WC(GC(t)).join())throw new Error("Object of unusual structure");return e.map(r=>{let n=t;return r.forEach(a=>{if(n=n[a],n===void 0)throw new Error("Object of unusual structure")}),n})}function tQ(e,t){let r={};return e.forEach((n,a)=>{let i=r;for(let s=0;sg","iso1000",!1,null,null,1,!1,!1,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",.9,!1],[!1,"arc minute","'","'","plane angle",.0002908882086657216,[0,0,0,1,0,0,0],"'","iso1000",!1,null,null,1,!1,!1,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,!1],[!1,"arc second","''","''","plane angle",484813681109536e-20,[0,0,0,1,0,0,0],"''","iso1000",!1,null,null,1,!1,!1,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","'/60","'/60","1",1,!1],[!1,"Liters","l","L","volume",.001,[3,0,0,0,0,0,0],"l","iso1000",!0,null,null,1,!1,!1,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical",'Because lower case "l" can be read as the number "1", though this is a valid UCUM units. UCUM strongly reccomends using "L"',"dm3","DM3","1",1,!1],[!1,"Liters","L","L","volume",.001,[3,0,0,0,0,0,0],"L","iso1000",!0,null,null,1,!1,!1,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical",'Because lower case "l" can be read as the number "1", though this is a valid UCUM units. UCUM strongly reccomends using "L"',"l",null,"1",1,!1],[!1,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",!0,null,null,1,!1,!1,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,!1],[!1,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",!1,null,null,1,!1,!1,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,!1],[!1,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",!1,null,null,1,!1,!1,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,!1],[!1,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",!1,null,null,1,!1,!1,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,!1],[!1,"tropical year","a_t","ANN_T","time",31556925216e-3,[0,1,0,0,0,0,0],"at","iso1000",!1,null,null,1,!1,!1,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,!1],[!1,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"aj","iso1000",!1,null,null,1,!1,!1,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,!1],[!1,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"ag","iso1000",!1,null,null,1,!1,!1,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,!1],[!1,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",!1,null,null,1,!1,!1,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,!1],[!1,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",!1,null,null,1,!1,!1,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,!1],[!1,"synodal month","mo_s","MO_S","time",2551442976e-3,[0,1,0,0,0,0,0],"mos","iso1000",!1,null,null,1,!1,!1,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,!1],[!1,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"moj","iso1000",!1,null,null,1,!1,!1,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,!1],[!1,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mog","iso1000",!1,null,null,1,!1,!1,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,!1],[!1,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",!1,null,null,1,!1,!1,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,!1],[!1,"metric ton","t","TNE","mass",1e6,[0,0,1,0,0,0,0],"t","iso1000",!0,null,null,1,!1,!1,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1e3,!1],[!1,"bar","bar","BAR","pressure",1e8,[-1,-2,1,0,0,0,0],"bar","iso1000",!0,null,null,1,!1,!1,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",1e5,!1],[!1,"unified atomic mass unit","u","AMU","mass",16605402e-31,[0,0,1,0,0,0,0],"u","iso1000",!0,null,null,1,!1,!1,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",16605402e-31,!1],[!1,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",!1,null,null,1,!1,!1,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,!1],[!1,"parsec","pc","PRS","length",3085678e10,[1,0,0,0,0,0,0],"pc","iso1000",!0,null,null,1,!1,!1,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, nad used to measure large distances to objects outside our Solar System","m","M","3.085678e16",3085678e10,!1],[!1,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"c","const",!0,null,null,1,!1,!1,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,!1],[!1,"Planck constant","[h]","[H]","action",66260755e-38,[2,-1,1,0,0,0,0],"h","const",!0,null,null,1,!1,!1,0,"Planck's constant","UCUM","","Constant","constant = 6.62607004 \xD7 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",66260755e-41,!1],[!1,"Boltzmann constant","[k]","[K]","(unclassified)",1380658e-26,[2,-2,1,0,-1,0,0],"k","const",!0,null,null,1,!1,!1,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 \xD710^\u221223 J/K","J/K","J/K","1.380658e-23",1380658e-29,!1],[!1,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8854187817000001e-30,[-3,2,-1,0,0,2,0],"\u03B50","const",!0,null,null,1,!1,!1,0,"\u03B50; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854\u2009\xD7 10^\u221212 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8854187817e-21,!1],[!1,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",.0012566370614359172,[1,0,1,0,0,-2,0],"\u03BC0","const",!0,null,null,1,!1,!1,0,"\u03BC0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4\u03C0\xD710^\u22127 N/A2 (Newtons per square ampere) \u2248 1.2566\xD710^\u22126 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",12566370614359173e-22,!1],[!1,"elementary charge","[e]","[E]","electric charge",160217733e-27,[0,0,0,0,0,1,0],"e","const",!0,null,null,1,!1,!1,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton \u2248 1.60217\xD710^-19 Coulombs","C","C","1.60217733e-19",160217733e-27,!1],[!1,"electronvolt","eV","EV","energy",160217733e-24,[2,-2,1,0,0,0,0],"eV","iso1000",!0,null,null,1,!1,!1,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602\xD710^\u221219 C = 1.6\xD710\u221219 Joules","[e].V","[E].V","1",1,!1],[!1,"electron mass","[m_e]","[M_E]","mass",91093897e-35,[0,0,1,0,0,0,0],"me","const",!0,null,null,1,!1,!1,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 \xD7 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",91093897e-35,!1],[!1,"proton mass","[m_p]","[M_P]","mass",16726231e-31,[0,0,1,0,0,0,0],"mp","const",!0,null,null,1,!1,!1,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622\xD710\u221227 kg","g","g","1.6726231e-24",16726231e-31,!1],[!1,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",667259e-19,[3,-2,-1,0,0,0,0],"G","const",!0,null,null,1,!1,!1,0,"G; gravitational constant; Newton's constant","UCUM","","Constant","gravitational constant = 6.674\xD710\u221211 N\u22C5m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",667259e-16,!1],[!1,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"gn","const",!0,null,null,1,!1,!1,0,"standard gravity; g; \u02610; \u0261n","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,!1],[!1,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",!1,null,null,1,!1,!1,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,!1],[!1,"standard atmosphere","atm","ATM","pressure",101325e3,[-1,-2,1,0,0,0,0],"atm","const",!1,null,null,1,!1,!1,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,!1],[!1,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",!0,null,null,1,!1,!1,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88\xD710^12 mi","[c].a_j","[C].ANN_J","1",1,!1],[!1,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",!0,null,null,1,!1,!1,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,!1],[!1,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",!0,null,null,1,!1,!1,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,!1],[!1,"Gal","Gal","GL","acceleration",.01,[1,-2,0,0,0,0,0],"Gal","cgs",!0,null,null,1,!1,!1,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,!1],[!1,"dyne","dyn","DYN","force",.01,[1,-2,1,0,0,0,0],"dyn","cgs",!0,null,null,1,!1,!1,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,!1],[!1,"erg","erg","ERG","energy",1e-4,[2,-2,1,0,0,0,0],"erg","cgs",!0,null,null,1,!1,!1,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,!1],[!1,"Poise","P","P","dynamic viscosity",100,[-1,-1,1,0,0,0,0],"P","cgs",!0,null,null,1,!1,!1,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,!1],[!1,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",!0,null,null,1,!1,!1,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,!1],[!1,"Stokes","St","ST","kinematic viscosity",1e-4,[2,-1,0,0,0,0,0],"St","cgs",!0,null,null,1,!1,!1,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,!1],[!1,"Maxwell","Mx","MX","flux of magnetic induction",1e-5,[2,-1,1,0,0,-1,0],"Mx","cgs",!0,null,null,1,!1,!1,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,!1],[!1,"Gauss","G","GS","magnetic flux density",.1,[0,-1,1,0,0,-1,0],"Gs","cgs",!0,null,null,1,!1,!1,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",1e-4,!1],[!1,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",!0,null,null,1,!1,!1,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4\u03C0 amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,!1],[!1,"Gilbert","Gb","GB","magnetic tension",.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",!0,null,null,1,!1,!1,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,!1],[!1,"stilb","sb","SB","lum. intensity density",1e4,[-2,0,0,0,0,0,1],"sb","cgs",!0,null,null,1,!1,!1,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,!1],[!1,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",!0,null,null,1,!1,!1,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ \u03C0 candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,!1],[!1,"phot","ph","PHT","illuminance",1e-4,[-2,0,0,2,0,0,1],"ph","cgs",!0,null,null,1,!1,!1,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",1e-4,!1],[!1,"Curie","Ci","CI","radioactivity",37e9,[0,-1,0,0,0,0,0],"Ci","cgs",!0,null,null,1,!1,!1,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37e9,!1],[!1,"Roentgen","R","ROE","ion dose",258e-9,[0,0,-1,0,0,1,0],"R","cgs",!0,null,null,1,!1,!1,0,"r\xF6ntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",258e-6,!1],[!1,"radiation absorbed dose","RAD","[RAD]","energy dose",.01,[2,-2,0,0,0,0,0],"RAD","cgs",!0,null,null,1,!1,!1,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,!1],[!1,"radiation equivalent man","REM","[REM]","dose equivalent",.01,[2,-2,0,0,0,0,0],"REM","cgs",!0,null,null,1,!1,!1,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,!1],[!1,"inch","[in_i]","[IN_I]","length",.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",!1,null,null,1,!1,!1,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,!1],[!1,"foot","[ft_i]","[FT_I]","length",.3048,[1,0,0,0,0,0,0],"ft","intcust",!1,null,null,1,!1,!1,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,!1],[!1,"yard","[yd_i]","[YD_I]","length",.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",!1,null,null,1,!1,!1,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,!1],[!1,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",!1,null,null,1,!1,!1,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,!1],[!1,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",!1,null,null,1,!1,!1,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,!1],[!1,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",!1,null,null,1,!1,!1,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,!1],[!1,"knot","[kn_i]","[KN_I]","velocity",.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",!1,null,null,1,!1,!1,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,!1],[!1,"square inch","[sin_i]","[SIN_I]","area",.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,!1],[!1,"square foot","[sft_i]","[SFT_I]","area",.09290304,[2,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,!1],[!1,"square yard","[syd_i]","[SYD_I]","area",.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,!1],[!1,"cubic inch","[cin_i]","[CIN_I]","volume",16387064000000003e-21,[3,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,!1],[!1,"cubic foot","[cft_i]","[CFT_I]","volume",.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,!1],[!1,"cubic yard","[cyd_i]","[CYD_I]","volume",.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",!1,null,null,1,!1,!1,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,!1],[!1,"board foot","[bf_i]","[BF_I]","volume",.002359737216,[3,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,!1],[!1,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,!1],[!1,"mil","[mil_i]","[MIL_I]","length",25400000000000004e-21,[1,0,0,0,0,0,0],"mil","intcust",!1,null,null,1,!1,!1,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",.001,!1],[!1,"circular mil","[cml_i]","[CML_I]","area",5067074790974979e-25,[2,0,0,0,0,0,0],"circ.mil","intcust",!1,null,null,1,!1,!1,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,!1],[!1,"hand","[hd_i]","[HD_I]","height of horses",.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",!1,null,null,1,!1,!1,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,!1],[!1,"foot - US","[ft_us]","[FT_US]","length",.3048006096012192,[1,0,0,0,0,0,0],"ftus","us-lengths",!1,null,null,1,!1,!1,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US; [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,!1],[!1,"yard - US","[yd_us]","[YD_US]","length",.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,!1],[!1,"inch - US","[in_us]","[IN_US]","length",.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,!1],[!1,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,!1],[!1,"Gunter's chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"surveyor's chain; Surveyor's chain USA; Gunter\u2019s measurement; surveyor\u2019s measurement; Gunter's Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,!1],[!1,"link for Gunter's chain - US","[lk_us]","[LK_US]","length",.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"Links for Gunter's Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,!1],[!1,"Ramden's chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"Ramsden's chain; engineer's chains","UCUM","Len","Obsolete","distance measuring device used for\xA0land survey","[ft_us]","[FT_US]","100",100,!1],[!1,"link for Ramden's chain - US","[rlk_us]","[RLK_US]","length",.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"links for Ramsden's chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,!1],[!1,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,!1],[!1,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,!1],[!1,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,!1],[!1,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,!1],[!1,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,!1],[!1,"square mile - US","[smi_us]","[SMI_US]","area",2589998470319521e-9,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,!1],[!1,"section","[sct]","[SCT]","area",2589998470319521e-9,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,!1],[!1,"township","[twp]","[TWP]","area",9323994493150276e-8,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,!1],[!1,"mil - US","[mil_us]","[MIL_US]","length",254000508001016e-19,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",.001,!1],[!1,"inch - British","[in_br]","[IN_BR]","length",.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,!1],[!1,"foot - British","[ft_br]","[FT_BR]","length",.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,!1],[!1,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,!1],[!1,"Gunter's chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"Gunter's Chain British; Gunters Chain British; Surveyor's Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,!1],[!1,"link for Gunter's chain - British","[lk_br]","[LK_BR]","length",.2011678416,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"Links for Gunter's Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,!1],[!1,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,!1],[!1,"pace - British","[pc_br]","[PC_BR]","length",.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,!1],[!1,"yard - British","[yd_br]","[YD_BR]","length",.91439928,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,!1],[!1,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,!1],[!1,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,!1],[!1,"knot - British","[kn_br]","[KN_BR]","velocity",.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,!1],[!1,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,!1],[!1,"gallon - US","[gal_us]","[GAL_US]","fluid volume",.0037854117840000006,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US gallons; US liquid gallon; gal us; Queen Anne's wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,!1],[!1,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",.158987294928,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,!1],[!1,"quart - US","[qt_us]","[QT_US]","fluid volume",.0009463529460000001,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,!1],[!1,"pint - US","[pt_us]","[PT_US]","fluid volume",.00047317647300000007,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,!1],[!1,"gill - US","[gil_us]","[GIL_US]","fluid volume",.00011829411825000002,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,!1],[!1,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",29573529562500005e-21,[3,0,0,0,0,0,0],"oz fl","us-volumes",!1,null,null,1,!1,!1,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,!1],[!1,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",36966911953125006e-22,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,!1],[!1,"minim - US","[min_us]","[MIN_US]","fluid volume",61611519921875e-21,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"min US; US min; \u264F US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,!1],[!1,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,!1],[!1,"bushel - US","[bu_us]","[BU_US]","dry volume",.03523907016688001,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,!1],[!1,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",.004404883770860001,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,!1],[!1,"peck - US","[pk_us]","[PK_US]","dry volume",.008809767541720002,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,!1],[!1,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",.0011012209427150002,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,!1],[!1,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",.0005506104713575001,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,!1],[!1,"tablespoon - US","[tbs_us]","[TBS_US]","volume",14786764781250002e-21,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,!1],[!1,"teaspoon - US","[tsp_us]","[TSP_US]","volume",49289215937500005e-22,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,!1],[!1,"cup - US customary","[cup_us]","[CUP_US]","volume",.00023658823650000004,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons \u2248 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,!1],[!1,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",29999999999999997e-21,[3,0,0,0,0,0,0],"oz fl","us-volumes",!1,null,null,1,!1,!1,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,!1],[!1,"cup - US legal","[cup_m]","[CUP_M]","volume",.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,!1],[!1,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",49999999999999996e-22,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,!1],[!1,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",14999999999999999e-21,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,!1],[!1,"gallon- British","[gal_br]","[GAL_BR]","volume",.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,!1],[!1,"peck - British","[pk_br]","[PK_BR]","volume",.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,!1],[!1,"bushel - British","[bu_br]","[BU_BR]","volume",.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,!1],[!1,"quart - British","[qt_br]","[QT_BR]","volume",.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,!1],[!1,"pint - British","[pt_br]","[PT_BR]","volume",.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,!1],[!1,"gill - British","[gil_br]","[GIL_BR]","volume",.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,!1],[!1,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",28413062500000005e-21,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,!1],[!1,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",35516328125000006e-22,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,!1],[!1,"minim - British","[min_br]","[MIN_BR]","volume",5919388020833334e-23,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"min br; br min; \u264F br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,!1],[!1,"grain","[gr]","[GR]","mass",.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,!1],[!1,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",!1,null,null,1,!1,!1,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7e3,!1],[!1,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",!1,null,null,1,!1,!1,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,!1],[!1,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",!1,null,null,1,!1,!1,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,!1],[!1,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,!1],[!1,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,!1],[!1,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,!1],[!1,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,!1],[!1,"long ton - British","[lton_av]","[LTON_AV]","mass",1.0160469088000001e6,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,!1],[!1,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,!1],[!1,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",!1,null,null,1,!1,!1,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,!1],[!1,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",!1,null,null,1,!1,!1,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,!1],[!1,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",!1,null,null,1,!1,!1,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,!1],[!1,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,!1],[!1,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"\u0292; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,!1],[!1,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,!1],[!1,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,!1],[!1,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries' system of mass units which is used in some US pharmacies. ","g","g","28",28,!1],[!1,"line","[lne]","[LNE]","length",.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,!1],[!1,"point (typography)","[pnt]","[PNT]","length",.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter's length","[lne]/6","[LNE]/6","1",1,!1],[!1,"pica (typography)","[pca]","[PCA]","length",.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter's length","[pnt]","[PNT]","12",12,!1],[!1,"Printer's point (typography)","[pnt_pr]","[PNT_PR]","length",.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter's length","[in_i]","[IN_I]","0.013837",.013837,!1],[!1,"Printer's pica (typography)","[pca_pr]","[PCA_PR]","length",.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"pca pr; Printer's picas","UCUM","Len","Nonclinical","typography unit for typesetter's length","[pnt_pr]","[PNT_PR]","12",12,!1],[!1,"pied","[pied]","[PIED]","length",.3248,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,!1],[!1,"pouce","[pouce]","[POUCE]","length",.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,!1],[!1,"ligne","[ligne]","[LIGNE]","length",.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,!1],[!1,"didot","[didot]","[DIDOT]","length",.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter's length","[ligne]/6","[LIGNE]/6","1",1,!1],[!1,"cicero","[cicero]","[CICERO]","length",.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"Didot's pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter's length","[didot]","[DIDOT]","12",12,!1],[!1,"degrees Fahrenheit","[degF]","[DEGF]","temperature",.5555555555555556,[0,0,0,0,1,0,0],"\xB0F","heat",!1,null,"degF",1,!0,!1,0,"\xB0F; deg F","UCUM","Temp","Clinical","","K",null,null,.5555555555555556,!1],[!1,"degrees Rankine","[degR]","[degR]","temperature",.5555555555555556,[0,0,0,0,1,0,0],"\xB0R","heat",!1,null,null,1,!1,!1,0,"\xB0R; \xB0Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,!1],[!1,"degrees R\xE9aumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"\xB0R\xE9","heat",!1,null,"degRe",1,!0,!1,0,"\xB0R\xE9, \xB0Re, \xB0r; R\xE9aumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,!1],[!1,"calorie at 15\xB0C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal15\xB0C","heat",!0,null,null,1,!1,!1,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,!1],[!1,"calorie at 20\xB0C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal20\xB0C","heat",!0,null,null,1,!1,!1,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190 joules. ","J","J","4.18190",4.1819,!1],[!1,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"calm","heat",!0,null,null,1,!1,!1,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,!1],[!1,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"calIT","heat",!0,null,null,1,!1,!1,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,!1],[!1,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"calth","heat",!0,null,null,1,!1,!1,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,!1],[!1,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",!0,null,null,1,!1,!1,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,!1],[!1,"nutrition label Calories","[Cal]","[CAL]","energy",4184e3,[2,-2,1,0,0,0,0],"Cal","heat",!1,null,null,1,!1,!1,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,!1],[!1,"British thermal unit at 39\xB0F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu39\xB0F","heat",!1,null,null,1,!1,!1,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,!1],[!1,"British thermal unit at 59\xB0F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu59\xB0F","heat",!1,null,null,1,!1,!1,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,!1],[!1,"British thermal unit at 60\xB0F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu60\xB0F","heat",!1,null,null,1,!1,!1,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,!1],[!1,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btum","heat",!1,null,null,1,!1,!1,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,!1],[!1,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",105505585262e-5,[2,-2,1,0,0,0,0],"BtuIT","heat",!1,null,null,1,!1,!1,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,!1],[!1,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btuth","heat",!1,null,null,1,!1,!1,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,!1],[!1,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",!1,null,null,1,!1,!1,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,!1],[!1,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",!1,null,null,1,!1,!1,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,!1],[!1,"tex","tex","TEX","linear mass density (of textile thread)",.001,[-1,0,1,0,0,0,0],"tex","heat",!0,null,null,1,!1,!1,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,!1],[!1,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",!1,null,null,1,!1,!1,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,!1],[!1,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m\xA0HO2","clinical",!0,null,null,1,!1,!1,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,!1],[!1,"meter of mercury column","m[Hg]","M[HG]","pressure",133322e3,[-1,-2,1,0,0,0,0],"m\xA0Hg","clinical",!0,null,null,1,!1,!1,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,!1],[!1,"inch of water column","[in_i'H2O]","[IN_I'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in\xA0HO2","clinical",!1,null,null,1,!1,!1,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,!1],[!1,"inch of mercury column","[in_i'Hg]","[IN_I'HG]","pressure",3.3863788000000003e6,[-1,-2,1,0,0,0,0],"in\xA0Hg","clinical",!1,null,null,1,!1,!1,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,!1],[!1,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322e6,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",!1,null,null,1,!1,!1,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa\xB7min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,!1],[!1,"Wood unit","[wood'U]","[WOOD'U]","fluid resistance",799932e4,[-4,-1,1,0,0,0,0],"Wood U.","clinical",!1,null,null,1,!1,!1,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,!1],[!1,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",!1,null,"inv",1,!1,!1,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,!1],[!1,"prism diopter (magnifying power)","[p'diop]","[P'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",!1,null,"tanTimes100",1,!0,!1,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; \u0394; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,!1],[!1,"percent of slope","%[slope]","%[SLOPE]","slope",.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",!1,null,"100tan",1,!0,!1,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,!1],[!1,"mesh","[mesh_i]","[MESH_I]","lineic number",.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",!1,null,"inv",1,!1,!1,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,!1],[!1,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",!1,null,null,1,!1,!1,0,"Charri\xE8res, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,!1],[!1,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",!1,null,null,1,!1,!1,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,!1],[!1,"Hounsfield unit","[hnsf'U]","[HNSF'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",!1,null,null,1,!1,!1,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,!1],[!1,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5833333333333334e-26,[3,-1,-1,0,0,0,0],"MET","clinical",!1,null,null,1,!1,!1,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,!1],[!1,"homeopathic potency of decimal series (retired)","[hp'_X]","[HP'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",!1,null,"hpX",1,!0,!1,0,null,"UCUM",null,null,null,"1",null,null,1,!1],[!1,"homeopathic potency of centesimal series (retired)","[hp'_C]","[HP'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",!1,null,"hpC",1,!0,!1,0,null,"UCUM",null,null,null,"1",null,null,1,!1],[!1,"homeopathic potency of millesimal series (retired)","[hp'_M]","[HP'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",!1,null,"hpM",1,!0,!1,0,null,"UCUM",null,null,null,"1",null,null,1,!1],[!1,"homeopathic potency of quintamillesimal series (retired)","[hp'_Q]","[HP'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",!1,null,"hpQ",1,!0,!1,0,null,"UCUM",null,null,null,"1",null,null,1,!1],[!1,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"equivalent","eq","EQ","amount of substance",60221367e16,[0,0,0,0,0,0,0],"eq","chemical",!0,null,null,1,!1,!1,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"osmole","osm","OSM","amount of substance (dissolved particles)",60221367e16,[0,0,0,0,0,0,0],"osm","chemical",!0,null,null,1,!1,!1,1,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,!1],[!1,"pH","[pH]","[PH]","acidity",60221366999999994e10,[-3,0,0,0,0,0,0],"pH","chemical",!1,null,"pH",1,!0,!1,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,!1],[!1,"gram percent","g%","G%","mass concentration",1e4,[-3,0,1,0,0,0,0],"g%","chemical",!0,null,null,1,!1,!1,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,!1],[!1,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",!1,null,null,1,!1,!1,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle's sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,!1],[!1,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",!1,null,null,1,!1,!1,0,"HPF","UCUM","Area","Clinical",`area visible under the maximum magnification power of the objective in microscopy (usually 400x) -`,"1","1","1",1,!1],[!1,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",!1,null,null,1,!1,!1,0,"LPF; fields","UCUM","Area","Clinical",`area visible under the low magnification of the objective in microscopy (usually 100 x) -`,"1","1","100",100,!1],[!1,"katal","kat","KAT","catalytic activity",60221367e16,[0,-1,0,0,0,0,0],"kat","chemical",!0,null,null,1,!1,!1,1,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"enzyme unit","U","U","catalytic activity",100368945e8,[0,-1,0,0,0,0,0],"U","chemical",!0,null,null,1,!1,!1,1,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",!0,null,null,1,!1,!0,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","1",1,!1],[!1,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",!0,null,null,1,!1,!0,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"arbitary unit","[arb'U]","[ARB'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",!1,null,null,1,!1,!0,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,!1],[!1,"United States Pharmacopeia unit","[USP'U]","[USP'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",!1,null,null,1,!1,!0,0,"USP U; USP'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,!1],[!1,"GPL unit","[GPL'U]","[GPL'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,!1],[!1,"MPL unit","[MPL'U]","[MPL'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"MPL units; MPL U; MPL'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,!1],[!1,"APL unit","[APL'U]","[APL'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,!1],[!1,"Bethesda unit","[beth'U]","[BETH'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,!1],[!1,"anti factor Xa unit","[anti'Xa'U]","[ANTI'XA'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"units","UCUM","ACnc","Clinical","[anti'Xa'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,!1],[!1,"Todd unit","[todd'U]","[TODD'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,!1],[!1,"Dye unit","[dye'U]","[DYE'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,!1],[!1,"Somogyi unit","[smgy'U]","[SMGY'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,!1],[!1,"Bodansky unit","[bdsk'U]","[BDSK'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,!1],[!1,"King-Armstrong unit","[ka'U]","[KA'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,!1],[!1,"Kunkel unit","[knk'U]","[KNK'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"Mac Lagan unit","[mclg'U]","[MCLG'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,!1],[!1,"tuberculin unit","[tb'U]","[TB'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,!1],[!1,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID50","chemical",!1,null,null,1,!1,!0,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,!1],[!1,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID50","chemical",!1,null,null,1,!1,!0,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,!1],[!1,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID50","chemical",!1,null,null,1,!1,!0,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,!1],[!1,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",!1,null,null,1,!1,!0,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,!1],[!1,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",!1,null,null,1,!1,!0,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,!1],[!1,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",!1,null,null,1,!1,!0,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,!1],[!1,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes\xAE method.",1,[0,0,0,0,0,0,0],"IR","chemical",!1,null,null,1,!1,!0,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,!1],[!1,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",!1,null,null,1,!1,!0,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,!1],[!1,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",!1,null,null,1,!1,!0,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,!1],[!1,"allergen unit for Ambrosia artemisiifolia","[Amb'a'1'U]","[AMB'A'1'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",!1,null,null,1,!1,!0,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,!1],[!1,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",!1,null,null,1,!1,!0,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,!1],[!1,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",!1,null,null,1,!1,!0,0,"Lf doses","UCUM","Arb","Clinical","the antigen content forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,!1],[!1,"D-antigen unit (polio)","[D'ag'U]","[D'AG'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,!1],[!1,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,!1],[!1,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,!1],[!1,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,!1],[!1,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",!0,null,"ln",1,!0,!1,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,!1],[!1,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",!0,null,"lg",1,!0,!1,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,!1],[!1,"bel sound pressure","B[SPL]","B[SPL]","pressure level",.02,[-1,-2,1,0,0,0,0],"B(SPL)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,2e-5,!1],[!1,"bel volt","B[V]","B[V]","electric potential level",1e3,[2,-2,1,0,0,-1,0],"B(V)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,!1],[!1,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,!1],[!1,"bel microvolt","B[uV]","B[UV]","electric potential level",.001,[2,-2,1,0,0,-1,0],"B(\u03BCV)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,!1],[!1,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",10000000000000003e-21,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,!1],[!1,"bel watt","B[W]","B[W]","power level",1e3,[2,-3,1,0,0,0,0],"B(W)","levels",!0,null,"lg",1,!0,!1,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,!1],[!1,"bel kilowatt","B[kW]","B[KW]","power level",1e6,[2,-3,1,0,0,0,0],"B(kW)","levels",!0,null,"lg",1,!0,!1,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,!1],[!1,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",!0,null,null,1,!1,!1,0,"st\xE8re; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewoord","m3","M3","1",1,!1],[!1,"\xC5ngstr\xF6m","Ao","AO","length",10000000000000002e-26,[1,0,0,0,0,0,0],"\xC5","misc",!1,null,null,1,!1,!1,0,"\xC5; Angstroms; Ao; \xC5ngstr\xF6ms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",.1,!1],[!1,"barn","b","BRN","action area",9999999999999999e-44,[2,0,0,0,0,0,0],"b","misc",!1,null,null,1,!1,!1,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,!1],[!1,"technical atmosphere","att","ATT","pressure",9806649999999999e-8,[-1,-2,1,0,0,0,0],"at","misc",!1,null,null,1,!1,!1,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,!1],[!1,"mho","mho","MHO","electric conductance",.001,[-2,1,-1,0,0,2,0],"mho","misc",!0,null,null,1,!1,!1,0,"siemens; ohm reciprocals; \u03A9^\u22121; \u03A9-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,!1],[!1,"pound per square inch","[psi]","[PSI]","pressure",6894757293168359e-9,[-1,-2,1,0,0,0,0],"psi","misc",!1,null,null,1,!1,!1,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,!1],[!1,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",!1,null,null,1,!1,!1,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,!1],[!1,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",!1,null,null,1,!1,!1,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4\u03C0sr (sr = steradian) ","[pi].sr","[PI].SR","4",4,!1],[!1,"metric carat","[car_m]","[CAR_M]","mass",.2,[0,0,1,0,0,0,0],"ctm","misc",!1,null,null,1,!1,!1,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",.2,!1],[!1,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",.041666666666666664,[0,0,0,0,0,0,0],"ctAu","misc",!1,null,null,1,!1,!1,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,!1],[!1,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",!1,null,null,1,!1,!1,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,!1],[!1,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",!1,null,"sqrt",1,!0,!1,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant",`measures amplitude spectral density, and is equal to the square root of power spectral density - `,"m2/s4/Hz",null,null,1,!1],[!1,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bits","infotech",!1,null,"ld",1,!0,!1,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical",`defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits - -In information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)`,"1",null,null,1,!1],[!1,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",!0,null,null,1,!1,!1,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,!1],[!1,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",!0,null,null,1,!1,!1,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,!1],[!1,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",!0,null,"inv",1,!1,!1,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,!1],[!1,"per twelve hour","/(12.h)","/HR","",23148148148148147e-21,[0,-1,0,0,0,0,0],"/h",null,!1,null,null,1,!1,!1,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,!1],[!1,"per arbitrary unit","/[arb'U]","/[ARB'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,!1,null,null,1,!1,!0,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,!1],[!1,"per high power field","/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,!1,null,null,1,!1,!1,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"per international unit","/[IU]","/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,!1,null,null,1,!1,!0,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)",null,null,null,null,!1],[!1,"per low power field","/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,!1,null,null,1,!1,!1,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"per 10 billion ","/10*10","/10*10","",1e-10,[0,0,0,0,0,0,0],"/1010<.sup>",null,!1,null,null,1,!1,!1,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per trillion ","/10*12","/10*12","",1e-12,[0,0,0,0,0,0,0],"/1012<.sup>",null,!1,null,null,1,!1,!1,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per thousand","/10*3","/10*3","",.001,[0,0,0,0,0,0,0],"/103<.sup>",null,!1,null,null,1,!1,!1,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per million","/10*6","/10*6","",1e-6,[0,0,0,0,0,0,0],"/106<.sup>",null,!1,null,null,1,!1,!1,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per billion","/10*9","/10*9","",1e-9,[0,0,0,0,0,0,0],"/109<.sup>",null,!1,null,null,1,!1,!1,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per 100","/100","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per 100 cells","/100{cells}","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,!1],[!1,"per 100 neutrophils","/100{neutrophils}","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,!1],[!1,"per 100 spermatozoa","/100{spermatozoa}","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,!1],[!1,"per 100 white blood cells","/100{WBCs}","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,!1],[!1,"per year","/a","/ANN","",3168808781402895e-23,[0,-1,0,0,0,0,0],"/a",null,!1,null,null,1,!1,!1,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per centimeter of water","/cm[H2O]","/CM[H2O]","",10197162129779282e-21,[1,2,-1,0,0,0,0],"/cm\xA0HO2<.r>",null,!1,null,null,1,!1,!1,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,!1],[!1,"per day","/d","/D","",11574074074074073e-21,[0,-1,0,0,0,0,0],"/d",null,!1,null,null,1,!1,!1,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per deciliter","/dL","/DL","",1e4,[-3,0,0,0,0,0,0],"/dL",null,!1,null,null,1,!1,!1,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,!1],[!1,"per gram","/g","/G","",1,[0,0,-1,0,0,0,0],"/g",null,!1,null,null,1,!1,!1,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,!1],[!1,"per hour","/h","/HR","",.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,!1,null,null,1,!1,!1,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per kilogram","/kg","/KG","",.001,[0,0,-1,0,0,0,0],"/kg",null,!1,null,null,1,!1,!1,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,!1],[!1,"per liter","/L","/L","",1e3,[-3,0,0,0,0,0,0],"/L",null,!1,null,null,1,!1,!1,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,!1],[!1,"per square meter","/m2","/M2","",1,[-2,0,0,0,0,0,0],"/m2<.sup>",null,!1,null,null,1,!1,!1,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"per cubic meter","/m3","/M3","",1,[-3,0,0,0,0,0,0],"/m3<.sup>",null,!1,null,null,1,!1,!1,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,!1],[!1,"per milligram","/mg","/MG","",1e3,[0,0,-1,0,0,0,0],"/mg",null,!1,null,null,1,!1,!1,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,!1],[!1,"per minute","/min","/MIN","",.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,!1,null,null,1,!1,!1,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per milliliter","/mL","/ML","",1e6,[-3,0,0,0,0,0,0],"/mL",null,!1,null,null,1,!1,!1,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,!1],[!1,"per millimeter","/mm","/MM","",1e3,[-1,0,0,0,0,0,0],"/mm",null,!1,null,null,1,!1,!1,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,!1],[!1,"per month","/mo","/MO","",3802570537683474e-22,[0,-1,0,0,0,0,0],"/mo",null,!1,null,null,1,!1,!1,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per second","/s","/S","",1,[0,-1,0,0,0,0,0],"/s",null,!1,null,null,1,!1,!1,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per enzyme unit","/U","/U","",9963241120049633e-32,[0,1,0,0,0,0,0],"/U",null,!1,null,null,1,!1,!1,-1,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,!1],[!1,"per microliter","/uL","/UL","",9999999999999999e-7,[-3,0,0,0,0,0,0],"/\u03BCL",null,!1,null,null,1,!1,!1,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,!1],[!1,"per week","/wk","/WK","",16534391534391535e-22,[0,-1,0,0,0,0,0],"/wk",null,!1,null,null,1,!1,!1,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"APL unit per milliliter","[APL'U]/mL","[APL'U]/ML","biologic activity of anticardiolipin IgA",1e6,[-3,0,0,0,0,0,0],"/mL","chemical",!1,null,null,1,!1,!0,0,"APL/mL; APL'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,!1],[!1,"arbitrary unit per milliliter","[arb'U]/mL","[ARB'U]/ML","arbitrary",1e6,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",!1,null,null,1,!1,!0,0,"arb'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,!1],[!1,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1e3,[-3,0,0,0,0,0,0],"CFU/L","chemical",!1,null,null,1,!1,!0,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,!1],[!1,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1e6,[-3,0,0,0,0,0,0],"CFU/mL","chemical",!1,null,null,1,!1,!0,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,!1],[!1,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ftus)/(ftus)","us-lengths",!1,null,null,1,!1,!1,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,!1],[!1,"GPL unit per milliliter","[GPL'U]/mL","[GPL'U]/ML","biologic activity of anticardiolipin IgG",1e6,[-3,0,0,0,0,0,0],"/mL","chemical",!1,null,null,1,!1,!0,0,"GPL U/mL; GPL'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,!1],[!1,"international unit per 2 hour","[IU]/(2.h)","[IU]/HR","arbitrary",.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",!0,null,null,1,!1,!0,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per 24 hour","[IU]/(24.h)","[IU]/HR","arbitrary",11574074074074073e-21,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",!0,null,null,1,!1,!0,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per day","[IU]/d","[IU]/D","arbitrary",11574074074074073e-21,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",!0,null,null,1,!1,!0,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",1e4,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",!0,null,null,1,!1,!0,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",!0,null,null,1,!1,!0,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",!0,null,null,1,!1,!0,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",!0,null,null,1,!1,!0,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per kilogram per day","[IU]/kg/d","[IU]/KG/D","arbitrary",11574074074074074e-24,[0,-1,-1,0,0,0,0],"(i.U.)/kg/d","chemical",!0,null,null,1,!1,!0,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1e3,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",!0,null,null,1,!1,!0,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",!0,null,null,1,!1,!0,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1e6,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",!0,null,null,1,!1,!0,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"MPL unit per milliliter","[MPL'U]/mL","[MPL'U]/ML","biologic activity of anticardiolipin IgM",1e6,[-3,0,0,0,0,0,0],"/mL","chemical",!1,null,null,1,!1,!0,0,"MPL/mL; MPL U/mL; MPL'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical",`units for antiphospholipid test -`,"1","1","1",1,!1],[!1,"number per high power field","{#}/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,!1,null,null,1,!1,!1,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"number per low power field","{#}/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,!1,null,null,1,!1,!1,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"IgA antiphosphatidylserine unit ","{APS'U}","","",1,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,!1],[!1,"EIA index","{EIA_index}","","",1,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,!1],[!1,"kaolin clotting time","{KCT'U}","","",1,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"KCT","LOINC","Time","Clinical","sensitive\xA0test to detect\xA0lupus anticoagulants; measured in seconds",null,null,null,null,!1],[!1,"IgM antiphosphatidylserine unit","{MPS'U}","","",1,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,!1],[!1,"trillion per liter","10*12/L","(10*12)/L","number",1e15,[-3,0,0,0,0,0,0],"(1012)/L","dimless",!1,null,null,1,!1,!1,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10^3 (used for cell count)","10*3","10*3","number",1e3,[0,0,0,0,0,0,0],"103","dimless",!1,null,null,1,!1,!1,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,!1],[!1,"thousand per liter","10*3/L","(10*3)/L","number",1e6,[-3,0,0,0,0,0,0],"(103)/L","dimless",!1,null,null,1,!1,!1,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1e9,[-3,0,0,0,0,0,0],"(103)/mL","dimless",!1,null,null,1,!1,!1,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"thousand per microliter","10*3/uL","(10*3)/UL","number",9999999999999999e-4,[-3,0,0,0,0,0,0],"(103)/\u03BCL","dimless",!1,null,null,1,!1,!1,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",1e13,[-3,0,0,0,0,0,0],"(104)/\u03BCL","dimless",!1,null,null,1,!1,!1,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10^5 ","10*5","10*5","number",1e5,[0,0,0,0,0,0,0],"105","dimless",!1,null,null,1,!1,!1,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,!1],[!1,"10^6","10*6","10*6","number",1e6,[0,0,0,0,0,0,0],"106","dimless",!1,null,null,1,!1,!1,0,"","LOINC","Num","Clinical","","1","1","10",10,!1],[!1,"million colony forming unit per liter","10*6.[CFU]/L","(10*6).[CFU]/L","number",1e9,[-3,0,0,0,0,0,0],"(106).CFU/L","dimless",!1,null,null,1,!1,!0,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,!1],[!1,"million international unit","10*6.[IU]","(10*6).[IU]","number",1e6,[0,0,0,0,0,0,0],"(106).(i.U.)","dimless",!1,null,null,1,!1,!0,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","10",10,!1],[!1,"million per 24 hour","10*6/(24.h)","(10*6)/HR","number",11.574074074074074,[0,-1,0,0,0,0,0],"(106)/h","dimless",!1,null,null,1,!1,!1,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,!1],[!1,"million per kilogram","10*6/kg","(10*6)/KG","number",1e3,[0,0,-1,0,0,0,0],"(106)/kg","dimless",!1,null,null,1,!1,!1,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,!1],[!1,"million per liter","10*6/L","(10*6)/L","number",1e9,[-3,0,0,0,0,0,0],"(106)/L","dimless",!1,null,null,1,!1,!1,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"million per milliliter","10*6/mL","(10*6)/ML","number",1e12,[-3,0,0,0,0,0,0],"(106)/mL","dimless",!1,null,null,1,!1,!1,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"million per microliter","10*6/uL","(10*6)/UL","number",1e15,[-3,0,0,0,0,0,0],"(106)/\u03BCL","dimless",!1,null,null,1,!1,!1,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10^8","10*8","10*8","number",1e8,[0,0,0,0,0,0,0],"108","dimless",!1,null,null,1,!1,!1,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,!1],[!1,"billion per liter","10*9/L","(10*9)/L","number",1e12,[-3,0,0,0,0,0,0],"(109)/L","dimless",!1,null,null,1,!1,!1,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"billion per milliliter","10*9/mL","(10*9)/ML","number",1e15,[-3,0,0,0,0,0,0],"(109)/mL","dimless",!1,null,null,1,!1,!1,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"billion per microliter","10*9/uL","(10*9)/UL","number",1e18,[-3,0,0,0,0,0,0],"(109)/\u03BCL","dimless",!1,null,null,1,!1,!1,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10 liter per minute per square meter","10.L/(min.m2)","L/(MIN.M2)","",.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m2))",null,!1,null,null,1,!1,!1,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,!1],[!1,"10 liter per minute","10.L/min","L/MIN","",.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,!1,null,null,1,!1,!1,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,!1],[!1,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","(UN.S)/(CM5.M2)","",1e8,[-6,-1,1,0,0,0,0],"(\u03BCN.s)/(cm5).(m2)",null,!1,null,null,1,!1,!1,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,!1],[!1,"24 hour","24.h","HR","",86400,[0,1,0,0,0,0,0],"h",null,!1,null,null,1,!1,!1,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",!0,null,null,1,!1,!1,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,!1],[!0,"centigram","cg","CG","mass",.01,[0,0,1,0,0,0,0],"cg",null,!1,"M",null,1,!1,!1,0,"centigrams; cg; cgm","LOINC","Mass","Clinical","",null,null,null,null,!1],[!1,"centiliter","cL","CL","volume",1e-5,[3,0,0,0,0,0,0],"cL","iso1000",!0,null,null,1,!1,!1,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!0,"centimeter","cm","CM","length",.01,[1,0,0,0,0,0,0],"cm",null,!1,"L",null,1,!1,!1,0,"centimeters; centimetres","LOINC","Len","Clinical","",null,null,null,null,!1],[!1,"centimeter of water","cm[H2O]","CM[H2O]","pressure",98066.5,[-1,-2,1,0,0,0,0],"cm\xA0HO2","clinical",!0,null,null,1,!1,!1,0,"cm H2O; cmH2O; centimetres; pressure","LOINC","Pres","Clinical","unit of pressure mostly applies to blood pressure","kPa","KPAL","980665e-5",9.80665,!1],[!1,"centimeter of water per liter per second","cm[H2O]/L/s","(CM[H2O]/L)/S","pressure",98066500,[-4,-3,1,0,0,0,0],"(cm\xA0HO2)/L/s","clinical",!0,null,null,1,!1,!1,0,"cm[H2O]/(L/s); cm[H2O].s/L; cm H2O/L/sec; cmH2O/L/sec; cmH2O/Liter; cmH2O per L per secs; centimeters of water per liters per second; centimetres; litres; cm[H2O]/(L/s)","LOINC","PresRat","Clinical","unit used to measure mean pulmonary resistance","kPa","KPAL","980665e-5",9.80665,!1],[!1,"centimeter of water per second per meter","cm[H2O]/s/m","(CM[H2O]/S)/M","pressure",98066.5,[-2,-3,1,0,0,0,0],"(cm\xA0HO2)/s/m","clinical",!0,null,null,1,!1,!1,0,"cm[H2O]/(s.m); cm H2O/s/m; cmH2O; cmH2O/sec/m; cmH2O per secs per meters; centimeters of water per seconds per meter; centimetres; metre","LOINC","PresRat","Clinical","unit used to measure pulmonary pressure time product","kPa","KPAL","980665e-5",9.80665,!1],[!1,"centimeter of mercury","cm[Hg]","CM[HG]","pressure",1333220,[-1,-2,1,0,0,0,0],"cm\xA0Hg","clinical",!0,null,null,1,!1,!1,0,"centimeters of mercury; centimetres; cmHg; cm Hg","LOINC","Pres","Clinical","unit of pressure where 1 cmHg = 10 torr","kPa","KPAL","133.3220",133.322,!1],[!0,"square centimeter","cm2","CM2","length",1e-4,[2,0,0,0,0,0,0],"cm2",null,!1,"L",null,1,!1,!1,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,!1],[!0,"square centimeter per second","cm2/s","CM2/S","length",1e-4,[2,-1,0,0,0,0,0],"(cm2)/s",null,!1,"L",null,1,!1,!1,0,"cm^2/sec; square centimeters per second; sq cm per sec; cm2; centimeters squared; centimetres","LOINC","AreaRat","Clinical","",null,null,null,null,!1],[!1,"centipoise","cP","CP","dynamic viscosity",1,[-1,-1,1,0,0,0,0],"cP","cgs",!0,null,null,1,!1,!1,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^\u22123 Pa.s = 1 mPa\xB7.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,!1],[!1,"centistoke","cSt","CST","kinematic viscosity",10000000000000002e-22,[2,-1,0,0,0,0,0],"cSt","cgs",!0,null,null,1,!1,!1,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,!1],[!1,"dekaliter per minute","daL/min","DAL/MIN","volume",.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",!0,null,null,1,!1,!1,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m2)","iso1000",!0,null,null,1,!1,!1,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient's size","l",null,"1",1,!1],[!1,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",!0,null,"lg",.1,!0,!1,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,!1],[!1,"degree per second","deg/s","DEG/S","plane angle",.017453292519943295,[0,-1,0,1,0,0,0],"\xB0/s","iso1000",!1,null,null,1,!1,!1,0,"deg/sec; deg per sec; \xB0/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,!1],[!0,"decigram","dg","DG","mass",.1,[0,0,1,0,0,0,0],"dg",null,!1,"M",null,1,!1,!1,0,"decigrams; dgm; 0.1 grams; 1/10 gm","LOINC","Mass","Clinical","equal to 1/10 gram",null,null,null,null,!1],[!1,"deciliter","dL","DL","volume",1e-4,[3,0,0,0,0,0,0],"dL","iso1000",!0,null,null,1,!1,!1,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,!1],[!0,"decimeter","dm","DM","length",.1,[1,0,0,0,0,0,0],"dm",null,!1,"L",null,1,!1,!1,0,"decimeters; decimetres; 0.1 meters; 1/10 m; 10 cm; centimeters","LOINC","Len","Clinical","equal to 1/10 meter or 10 centimeters",null,null,null,null,!1],[!0,"square decimeter per square second","dm2/s2","DM2/S2","length",.010000000000000002,[2,-2,0,0,0,0,0],"(dm2)/(s2)",null,!1,"L",null,1,!1,!1,0,"dm2 per s2; dm^2/s^2; decimeters squared per second squared; sq dm; sq sec","LOINC","EngMass (massic energy)","Clinical","units for energy per unit mass or Joules per kilogram (J/kg = kg.m2/s2/kg = m2/s2) ",null,null,null,null,!1],[!1,"dyne second per centimeter per square meter","dyn.s/(cm.m2)","(DYN.S)/(CM.M2)","force",1,[-2,-1,1,0,0,0,0],"(dyn.s)/(cm.(m2))","cgs",!0,null,null,1,!1,!1,0,"(dyn*s)/(cm*m2); (dyn*s)/(cm*m^2); dyn s per cm per m2; m^2; dyne seconds per centimeters per square meter; centimetres; sq. meter; squared","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,!1],[!1,"dyne second per centimeter","dyn.s/cm","(DYN.S)/CM","force",1,[0,-1,1,0,0,0,0],"(dyn.s)/cm","cgs",!0,null,null,1,!1,!1,0,"(dyn*s)/cm; dyn sec per cm; seconds; centimetre; dyne seconds","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,!1],[!1,"equivalent per liter","eq/L","EQ/L","amount of substance",60221366999999994e10,[-3,0,0,0,0,0,0],"eq/L","chemical",!0,null,null,1,!1,!1,1,"eq/liter; eq/litre; eqs; equivalents per liter; litre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"equivalent per milliliter","eq/mL","EQ/ML","amount of substance",60221367e22,[-3,0,0,0,0,0,0],"eq/mL","chemical",!0,null,null,1,!1,!1,1,"equivalent/milliliter; equivalents per milliliter; eq per mL; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"equivalent per millimole","eq/mmol","EQ/MMOL","amount of substance",1e3,[0,0,0,0,0,0,0],"eq/mmol","chemical",!0,null,null,1,!1,!1,0,"equivalent/millimole; equivalents per millimole; eq per mmol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"equivalent per micromole","eq/umol","EQ/UMOL","amount of substance",1e6,[0,0,0,0,0,0,0],"eq/\u03BCmol","chemical",!0,null,null,1,!1,!1,0,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!0,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,!1,"M",null,1,!1,!1,0,"fg; fgm; femtograms; weight","LOINC","Mass","Clinical","equal to 10^-15 grams",null,null,null,null,!1],[!1,"femtoliter","fL","FL","volume",1e-18,[3,0,0,0,0,0,0],"fL","iso1000",!0,null,null,1,!1,!1,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,!1],[!0,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,!1,"L",null,1,!1,!1,0,"femtometres; femtometers","LOINC","Len","Clinical","equal to 10^-15 meters",null,null,null,null,!1],[!1,"femtomole","fmol","FMOL","amount of substance",602213670,[0,0,0,0,0,0,0],"fmol","si",!0,null,null,1,!1,!1,1,"femtomoles","LOINC","EntSub","Clinical","equal to 10^-15 moles","10*23","10*23","6.0221367",6.0221367,!1],[!1,"femtomole per gram","fmol/g","FMOL/G","amount of substance",602213670,[0,0,-1,0,0,0,0],"fmol/g","si",!0,null,null,1,!1,!1,1,"femtomoles; fmol/gm; fmol per gm","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"femtomole per liter","fmol/L","FMOL/L","amount of substance",60221367e4,[-3,0,0,0,0,0,0],"fmol/L","si",!0,null,null,1,!1,!1,1,"femtomoles; fmol per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"femtomole per milligram","fmol/mg","FMOL/MG","amount of substance",60221367e4,[0,0,-1,0,0,0,0],"fmol/mg","si",!0,null,null,1,!1,!1,1,"fmol per mg; femtomoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"femtomole per milliliter","fmol/mL","FMOL/ML","amount of substance",60221367e7,[-3,0,0,0,0,0,0],"fmol/mL","si",!0,null,null,1,!1,!1,1,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!0,"gram meter","g.m","G.M","mass",1,[1,0,1,0,0,0,0],"g.m",null,!1,"M",null,1,!1,!1,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,!1],[!0,"gram per 100 gram","g/(100.g)","G/G","mass",.01,[0,0,0,0,0,0,0],"g/g",null,!1,"M",null,1,!1,!1,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"gram per 12 hour","g/(12.h)","G/HR","mass",23148148148148147e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 24 hour","g/(24.h)","G/HR","mass",11574074074074073e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; gm/dy; gm per dy; grams per day","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 3 days","g/(3.d)","G/D","mass",3858024691358025e-21,[0,-1,1,0,0,0,0],"g/d",null,!1,"M",null,1,!1,!1,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 4 hour","g/(4.h)","G/HR","mass",6944444444444444e-20,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 48 hour","g/(48.h)","G/HR","mass",5787037037037037e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 5 hour","g/(5.h)","G/HR","mass",5555555555555556e-20,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 6 hour","g/(6.h)","G/HR","mass",46296296296296294e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 72 hour","g/(72.h)","G/HR","mass",3858024691358025e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per cubic centimeter","g/cm3","G/CM3","mass",999999.9999999999,[-3,0,1,0,0,0,0],"g/(cm3)",null,!1,"M",null,1,!1,!1,0,"g/cm^3; gm per cm3; g per cm^3; grams per centimeter cubed; cu. cm; centimetre; g/mL; gram per milliliter; millilitre","LOINC","MCnc","Clinical","g/cm3 = g/mL",null,null,null,null,!1],[!0,"gram per day","g/d","G/D","mass",11574074074074073e-21,[0,-1,1,0,0,0,0],"g/d",null,!1,"M",null,1,!1,!1,0,"gm/dy; gm per dy; grams per day; gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; serving","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per deciliter","g/dL","G/DL","mass",1e4,[-3,0,1,0,0,0,0],"g/dL",null,!1,"M",null,1,!1,!1,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"gram per gram","g/g","G/G","mass",1,[0,0,0,0,0,0,0],"g/g",null,!1,"M",null,1,!1,!1,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,!1],[!0,"gram per hour","g/h","G/HR","mass",.0002777777777777778,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per hour per square meter","g/h/m2","(G/HR)/M2","mass",.0002777777777777778,[-2,-1,1,0,0,0,0],"(g/h)/(m2)",null,!1,"M",null,1,!1,!1,0,"gm/hr/m2; gm/h/m2; /m^2; sq. m; g per hr per m2; grams per hours per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,!1],[!0,"gram per kilogram","g/kg ","G/KG","mass",.001,[0,0,0,0,0,0,0],"g/kg",null,!1,"M",null,1,!1,!1,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/HR","mass",3472222222222222e-23,[0,-1,0,0,0,0,0],"(g/kg)/h",null,!1,"M",null,1,!1,!1,0,"g/(8.kg.h); gm/kg/8hrs; 8 hrs; g per kg per 8 hrs; 8hrs; grams per kilograms per 8 hours; shift","LOINC","MCntRat; RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a 8 hours, divided by the subject's body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,!1],[!0,"gram per kilogram per day","g/kg/d","(G/KG)/D","mass",11574074074074074e-24,[0,-1,0,0,0,0,0],"(g/kg)/d",null,!1,"M",null,1,!1,!1,0,"g/(kg.d); gm/kg/dy; gm per kg per dy; grams per kilograms per day","LOINC","RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a day, divided by the subject's body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,!1],[!0,"gram per kilogram per hour","g/kg/h","(G/KG)/HR","mass",27777777777777776e-23,[0,-1,0,0,0,0,0],"(g/kg)/h",null,!1,"M",null,1,!1,!1,0,"g/(kg.h); g/kg/hr; g per kg per hrs; grams per kilograms per hour","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,!1],[!0,"gram per kilogram per minute","g/kg/min","(G/KG)/MIN","mass",16666666666666667e-21,[0,-1,0,0,0,0,0],"(g/kg)/min",null,!1,"M",null,1,!1,!1,0,"g/(kg.min); g/kg/min; g per kg per min; grams per kilograms per minute","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,!1],[!0,"gram per liter","g/L","G/L","mass",1e3,[-3,0,1,0,0,0,0],"g/L",null,!1,"M",null,1,!1,!1,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"gram per square meter","g/m2","G/M2","mass",1,[-2,0,1,0,0,0,0],"g/(m2)",null,!1,"M",null,1,!1,!1,0,"g/m^2; gram/square meter; g/sq m; g per m2; g per m^2; grams per square meter; meters squared; metre","LOINC","ArMass","Clinical","Tests measure myocardial mass (heart ventricle system) per body surface area; unit used to measure mass dose per body surface area",null,null,null,null,!1],[!0,"gram per milligram","g/mg","G/MG","mass",1e3,[0,0,0,0,0,0,0],"g/mg",null,!1,"M",null,1,!1,!1,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,!1],[!0,"gram per minute","g/min","G/MIN","mass",.016666666666666666,[0,-1,1,0,0,0,0],"g/min",null,!1,"M",null,1,!1,!1,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per milliliter","g/mL","G/ML","mass",1e6,[-3,0,1,0,0,0,0],"g/mL",null,!1,"M",null,1,!1,!1,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"gram per millimole","g/mmol","G/MMOL","mass",16605401866749388e-37,[0,0,1,0,0,0,0],"g/mmol",null,!1,"M",null,1,!1,!1,-1,"grams per millimole; g per mmol","LOINC","Ratio","Clinical","",null,null,null,null,!1],[!1,"joule per liter","J/L","J/L","energy",1e6,[-1,-2,1,0,0,0,0],"J/L","si",!0,null,null,1,!1,!1,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,!1],[!0,"degree Kelvin per Watt","K/W","K/W","temperature",.001,[-2,3,-1,0,1,0,0],"K/W",null,!1,"C",null,1,!1,!1,0,"degree Kelvin/Watt; K per W; thermal ohm; thermal resistance; degrees","LOINC","TempEngRat","Clinical","unit for absolute thermal resistance equal to the reciprocal of thermal conductance. Unit used for tests to measure work of breathing",null,null,null,null,!1],[!1,"kilo international unit per liter","k[IU]/L","K[IU]/L","arbitrary",1e6,[-3,0,0,0,0,0,0],"(ki.U.)/L","chemical",!0,null,null,1,!1,!0,0,"kIU/L; kIU per L; kIU per liter; kilo international units; litre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/L","[iU]","[IU]","1",1,!1],[!1,"kilo international unit per milliliter","k[IU]/mL","K[IU]/ML","arbitrary",1e9,[-3,0,0,0,0,0,0],"(ki.U.)/mL","chemical",!0,null,null,1,!1,!0,0,"kIU/mL; kIU per mL; kIU per milliliter; kilo international units; millilitre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/mL","[iU]","[IU]","1",1,!1],[!1,"katal per kilogram","kat/kg","KAT/KG","catalytic activity",60221367e13,[0,-1,-1,0,0,0,0],"kat/kg","chemical",!0,null,null,1,!1,!1,1,"kat per kg; katals per kilogram; mol/s/kg; moles per seconds per kilogram","LOINC","CCnt","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"katal per liter","kat/L","KAT/L","catalytic activity",60221366999999994e10,[-3,-1,0,0,0,0,0],"kat/L","chemical",!0,null,null,1,!1,!1,1,"kat per L; katals per liter; litre; mol/s/L; moles per seconds per liter","LOINC","CCnc","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"kilocalorie","kcal","KCAL","energy",4184e3,[2,-2,1,0,0,0,0],"kcal","heat",!0,null,null,1,!1,!1,0,"kilogram calories; large calories; food calories; kcals","LOINC","EngRat","Clinical","It is equal to 1000 calories (equal to 4.184 kJ). But in practical usage, kcal refers to food calories which excludes caloric content in fiber and other constitutes that is not digestible by humans. Also see nutrition label Calories ([Cal])","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per 24 hour","kcal/(24.h)","KCAL/HR","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",!0,null,null,1,!1,!1,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",!0,null,null,1,!1,!1,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",!0,null,null,1,!1,!1,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",!0,null,null,1,!1,!1,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/HR","energy",.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",!0,null,null,1,!1,!1,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject's body weight in kilograms","cal_th","CAL_TH","1",1,!1],[!0,"kilogram","kg","KG","mass",1e3,[0,0,1,0,0,0,0],"kg",null,!1,"M",null,1,!1,!1,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,!1],[!0,"kilogram meter per second","kg.m/s","(KG.M)/S","mass",1e3,[1,-1,1,0,0,0,0],"(kg.m)/s",null,!1,"M",null,1,!1,!1,0,"kg*m/s; kg.m per sec; kg*m per sec; p; momentum","LOINC","","Clinical","unit for momentum = mass times velocity",null,null,null,null,!1],[!0,"kilogram per second per square meter","kg/(s.m2)","KG/(S.M2)","mass",1e3,[-2,-1,1,0,0,0,0],"kg/(s.(m2))",null,!1,"M",null,1,!1,!1,0,"kg/(s*m2); kg/(s*m^2); kg per s per m2; per sec; per m^2; kilograms per seconds per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,!1],[!0,"kilogram per hour","kg/h","KG/HR","mass",.2777777777777778,[0,-1,1,0,0,0,0],"kg/h",null,!1,"M",null,1,!1,!1,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"kilogram per liter","kg/L","KG/L","mass",1e6,[-3,0,1,0,0,0,0],"kg/L",null,!1,"M",null,1,!1,!1,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"kilogram per square meter","kg/m2","KG/M2","mass",1e3,[-2,0,1,0,0,0,0],"kg/(m2)",null,!1,"M",null,1,!1,!1,0,"kg/m^2; kg/sq. m; kg per m2; per m^2; per sq. m; kilograms; meter squared; metre; BMI","LOINC","Ratio","Clinical","units for body mass index (BMI)",null,null,null,null,!1],[!0,"kilogram per cubic meter","kg/m3","KG/M3","mass",1e3,[-3,0,1,0,0,0,0],"kg/(m3)",null,!1,"M",null,1,!1,!1,0,"kg/m^3; kg/cu. m; kg per m3; per m^3; per cu. m; kilograms; meters cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"kilogram per minute","kg/min","KG/MIN","mass",16.666666666666668,[0,-1,1,0,0,0,0],"kg/min",null,!1,"M",null,1,!1,!1,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"kilogram per mole","kg/mol","KG/MOL","mass",16605401866749388e-37,[0,0,1,0,0,0,0],"kg/mol",null,!1,"M",null,1,!1,!1,-1,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,!1],[!0,"kilogram per second","kg/s","KG/S","mass",1e3,[0,-1,1,0,0,0,0],"kg/s",null,!1,"M",null,1,!1,!1,0,"kg/sec; kilogram/second; kg per sec; kilograms; second","LOINC","MRat","Clinical","",null,null,null,null,!1],[!1,"kiloliter","kL","KL","volume",1,[3,0,0,0,0,0,0],"kL","iso1000",!0,null,null,1,!1,!1,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!0,"kilometer","km","KM","length",1e3,[1,0,0,0,0,0,0],"km",null,!1,"L",null,1,!1,!1,0,"kilometers; kilometres; distance","LOINC","Len","Clinical","",null,null,null,null,!1],[!1,"kilopascal","kPa","KPAL","pressure",1e6,[-1,-2,1,0,0,0,0],"kPa","si",!0,null,null,1,!1,!1,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,!1],[!0,"kilosecond","ks","KS","time",1e3,[0,1,0,0,0,0,0],"ks",null,!1,"T",null,1,!1,!1,0,"kiloseconds; ksec","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"kilo enzyme unit","kU","KU","catalytic activity",100368945e11,[0,-1,0,0,0,0,0],"kU","chemical",!0,null,null,1,!1,!1,1,"units; mmol/min; millimoles per minute","LOINC","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"kilo enzyme unit per gram","kU/g","KU/G","catalytic activity",100368945e11,[0,-1,-1,0,0,0,0],"kU/g","chemical",!0,null,null,1,!1,!1,1,"units per grams; kU per gm","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"kilo enzyme unit per liter","kU/L","KU/L","catalytic activity",100368945e14,[-3,-1,0,0,0,0,0],"kU/L","chemical",!0,null,null,1,!1,!1,1,"units per liter; litre; enzymatic activity; enzyme activity per volume; activities","LOINC","ACnc; CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"kilo enzyme unit per milliliter","kU/mL","KU/ML","catalytic activity",100368945e17,[-3,-1,0,0,0,0,0],"kU/mL","chemical",!0,null,null,1,!1,!1,1,"kU per mL; units per milliliter; millilitre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"Liters per 24 hour","L/(24.h)","L/HR","volume",11574074074074074e-24,[3,-1,0,0,0,0,0],"L/h","iso1000",!0,null,null,1,!1,!1,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per 8 hour","L/(8.h)","L/HR","volume",3472222222222222e-23,[3,-1,0,0,0,0,0],"L/h","iso1000",!0,null,null,1,!1,!1,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",16666666666666667e-21,[1,-1,0,0,0,0,0],"L/(min.(m2))","iso1000",!0,null,null,1,!1,!1,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,!1],[!1,"Liters per day","L/d","L/D","volume",11574074074074074e-24,[3,-1,0,0,0,0,0],"L/d","iso1000",!0,null,null,1,!1,!1,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per hour","L/h","L/HR","volume",27777777777777776e-23,[3,-1,0,0,0,0,0],"L/h","iso1000",!0,null,null,1,!1,!1,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per kilogram","L/kg","L/KG","volume",1e-6,[3,0,-1,0,0,0,0],"L/kg","iso1000",!0,null,null,1,!1,!1,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,!1],[!1,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",!0,null,null,1,!1,!1,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,!1],[!1,"Liters per minute","L/min","L/MIN","volume",16666666666666667e-21,[3,-1,0,0,0,0,0],"L/min","iso1000",!0,null,null,1,!1,!1,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",16666666666666667e-21,[1,-1,0,0,0,0,0],"(L/min)/(m2)","iso1000",!0,null,null,1,!1,!1,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,!1],[!1,"Liters per second","L/s","L/S","volume",.001,[3,-1,0,0,0,0,0],"L/s","iso1000",!0,null,null,1,!1,!1,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,!1],[!1,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",.001,[3,-3,0,0,0,0,0],"(L/s)/(s2)","iso1000",!0,null,null,1,!1,!1,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,!1],[!1,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m2)","si",!0,null,null,1,!1,!1,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,!1],[!0,"meter per second","m/s","M/S","length",1,[1,-1,0,0,0,0,0],"m/s",null,!1,"L",null,1,!1,!1,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,!1],[!0,"meter per square second","m/s2","M/S2","length",1,[1,-2,0,0,0,0,0],"m/(s2)",null,!1,"L",null,1,!1,!1,0,"m/s^2; m/sq. sec; m per s2; per s^2; meters per square second; second squared; sq second; metres; acceleration","LOINC","Accel","Clinical","unit of acceleration",null,null,null,null,!1],[!1,"milli international unit per liter","m[IU]/L","M[IU]/L","arbitrary",1,[-3,0,0,0,0,0,0],"(mi.U.)/L","chemical",!0,null,null,1,!1,!0,0,"mIU/L; m IU/L; mIU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"milli international unit per milliliter","m[IU]/mL","M[IU]/ML","arbitrary",1000.0000000000001,[-3,0,0,0,0,0,0],"(mi.U.)/mL","chemical",!0,null,null,1,!1,!0,0,"mIU/mL; m IU/mL; mIU per mL; milli international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!0,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m2",null,!1,"L",null,1,!1,!1,0,"m^2; sq m; square meters; meters squared; metres","LOINC","Area","Clinical","unit often used to represent body surface area",null,null,null,null,!1],[!0,"square meter per second","m2/s","M2/S","length",1,[2,-1,0,0,0,0,0],"(m2)/s",null,!1,"L",null,1,!1,!1,0,"m^2/sec; m2 per sec; m^2 per sec; sq m/sec; meters squared/seconds; sq m per sec; meters squared; metres","LOINC","ArRat","Clinical","",null,null,null,null,!1],[!0,"cubic meter per second","m3/s","M3/S","length",1,[3,-1,0,0,0,0,0],"(m3)/s",null,!1,"L",null,1,!1,!1,0,"m^3/sec; m3 per sec; m^3 per sec; cu m/sec; cubic meters per seconds; meters cubed; metres","LOINC","VRat","Clinical","",null,null,null,null,!1],[!1,"milliampere","mA","MA","electric current",.001,[0,-1,0,0,0,1,0],"mA","si",!0,null,null,1,!1,!1,0,"mamp; milliamperes","LOINC","ElpotRat","Clinical","unit of electric current","C/s","C/S","1",1,!1],[!1,"millibar","mbar","MBAR","pressure",1e5,[-1,-2,1,0,0,0,0],"mbar","iso1000",!0,null,null,1,!1,!1,0,"millibars","LOINC","Pres","Clinical","unit of pressure","Pa","PAL","1e5",1e5,!1],[!1,"millibar second per liter","mbar.s/L","(MBAR.S)/L","pressure",1e8,[-4,-1,1,0,0,0,0],"(mbar.s)/L","iso1000",!0,null,null,1,!1,!1,0,"mbar*s/L; mbar.s per L; mbar*s per L; millibar seconds per liter; millibar second per litre","LOINC","","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",1e5,!1],[!1,"millibar per liter per second","mbar/L/s","(MBAR/L)/S","pressure",1e8,[-4,-3,1,0,0,0,0],"(mbar/L)/s","iso1000",!0,null,null,1,!1,!1,0,"mbar/(L.s); mbar/L/sec; mbar/liter/second; mbar per L per sec; mbar per liter per second; millibars per liters per seconds; litres","LOINC","PresCncRat","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",1e5,!1],[!1,"milliequivalent","meq","MEQ","amount of substance",60221367e13,[0,0,0,0,0,0,0],"meq","chemical",!0,null,null,1,!1,!1,1,"milliequivalents; meqs","LOINC","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per 2 hour","meq/(2.h)","MEQ/HR","amount of substance",836407875e8,[0,-1,0,0,0,0,0],"meq/h","chemical",!0,null,null,1,!1,!1,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per 24 hour","meq/(24.h)","MEQ/HR","amount of substance",6970065625e6,[0,-1,0,0,0,0,0],"meq/h","chemical",!0,null,null,1,!1,!1,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per 8 hour","meq/(8.h)","MEQ/HR","amount of substance",20910196875e6,[0,-1,0,0,0,0,0],"meq/h","chemical",!0,null,null,1,!1,!1,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625e6,[0,-1,0,0,0,0,0],"meq/d","chemical",!0,null,null,1,!1,!1,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6022136699999999e9,[-3,0,0,0,0,0,0],"meq/dL","chemical",!0,null,null,1,!1,!1,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",60221367e13,[0,0,-1,0,0,0,0],"meq/g","chemical",!0,null,null,1,!1,!1,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575e9,[0,-1,0,0,0,0,0],"meq/h","chemical",!0,null,null,1,!1,!1,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"meq/kg","chemical",!0,null,null,1,!1,!1,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,!1],[!1,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575e6,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",!0,null,null,1,!1,!1,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,!1],[!1,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",60221367e16,[-3,0,0,0,0,0,0],"meq/L","chemical",!0,null,null,1,!1,!1,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",60221367e13,[-2,0,0,0,0,0,0],"meq/(m2)","chemical",!0,null,null,1,!1,!1,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,!1],[!1,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",100368945e11,[0,-1,0,0,0,0,0],"meq/min","chemical",!0,null,null,1,!1,!1,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",60221367e19,[-3,0,0,0,0,0,0],"meq/mL","chemical",!0,null,null,1,!1,!1,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!0,"milligram","mg","MG","mass",.001,[0,0,1,0,0,0,0],"mg",null,!1,"M",null,1,!1,!1,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,!1],[!0,"milligram per 10 hour","mg/(10.h)","MG/HR","mass",27777777777777777e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per 12 hour","mg/(12.h)","MG/HR","mass",23148148148148148e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/12hrs; mg/12 hrs; per 12 hrs; 12hrs; milligrams per 12 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,!1],[!0,"milligram per 2 hour","mg/(2.h)","MG/HR","mass",13888888888888888e-23,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/2hrs; mg/2 hrs; mg per 2 hrs; 2hrs; milligrams per 2 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,!1],[!0,"milligram per 24 hour","mg/(24.h)","MG/HR","mass",11574074074074074e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/kg/dy; mg per kg per day; milligrams per kilograms per days","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per 6 hour","mg/(6.h)","MG/HR","mass",46296296296296295e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per 72 hour","mg/(72.h)","MG/HR","mass",3858024691358025e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per 8 hour","mg/(8.h)","MG/HR","mass",3472222222222222e-23,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per day","mg/d","MG/D","mass",11574074074074074e-24,[0,-1,1,0,0,0,0],"mg/d",null,!1,"M",null,1,!1,!1,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per deciliter","mg/dL","MG/DL","mass",10,[-3,0,1,0,0,0,0],"mg/dL",null,!1,"M",null,1,!1,!1,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"milligram per gram","mg/g","MG/G","mass",.001,[0,0,0,0,0,0,0],"mg/g",null,!1,"M",null,1,!1,!1,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,!1],[!0,"milligram per hour","mg/h","MG/HR","mass",27777777777777776e-23,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per kilogram","mg/kg","MG/KG","mass",1e-6,[0,0,0,0,0,0,0],"mg/kg",null,!1,"M",null,1,!1,!1,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/HR","mass",3472222222222222e-26,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,!1,"M",null,1,!1,!1,0,"mg/(8.h.kg); mg/kg/8hrs; mg/kg/8 hrs; mg per kg per 8hrs; 8 hrs; milligrams per kilograms per 8 hours; shift","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"milligram per kilogram per day","mg/kg/d","(MG/KG)/D","mass",11574074074074074e-27,[0,-1,0,0,0,0,0],"(mg/kg)/d",null,!1,"M",null,1,!1,!1,0,"mg/(kg.d); mg/(kg.24.h)mg/kg/dy; mg per kg per day; milligrams per kilograms per days; mg/kg/(24.h); mg/kg/24hrs; 24 hrs; 24 hours","LOINC","RelMRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"milligram per kilogram per hour","mg/kg/h","(MG/KG)/HR","mass",27777777777777777e-26,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,!1,"M",null,1,!1,!1,0,"mg/(kg.h); mg/kg/hr; mg per kg per hr; milligrams per kilograms per hour","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"milligram per kilogram per minute","mg/kg/min","(MG/KG)/MIN","mass",16666666666666667e-24,[0,-1,0,0,0,0,0],"(mg/kg)/min",null,!1,"M",null,1,!1,!1,0,"mg/(kg.min); mg per kg per min; milligrams per kilograms per minute","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"milligram per liter","mg/L","MG/L","mass",1,[-3,0,1,0,0,0,0],"mg/L",null,!1,"M",null,1,!1,!1,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"milligram per square meter","mg/m2","MG/M2","mass",.001,[-2,0,1,0,0,0,0],"mg/(m2)",null,!1,"M",null,1,!1,!1,0,"mg/m^2; mg/sq. m; mg per m2; mg per m^2; mg per sq. milligrams; meter squared; metre","LOINC","ArMass","Clinical","",null,null,null,null,!1],[!0,"milligram per cubic meter","mg/m3","MG/M3","mass",.001,[-3,0,1,0,0,0,0],"mg/(m3)",null,!1,"M",null,1,!1,!1,0,"mg/m^3; mg/cu. m; mg per m3; milligrams per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"milligram per milligram","mg/mg","MG/MG","mass",1,[0,0,0,0,0,0,0],"mg/mg",null,!1,"M",null,1,!1,!1,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,!1],[!0,"milligram per minute","mg/min","MG/MIN","mass",16666666666666667e-21,[0,-1,1,0,0,0,0],"mg/min",null,!1,"M",null,1,!1,!1,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per milliliter","mg/mL","MG/ML","mass",1000.0000000000001,[-3,0,1,0,0,0,0],"mg/mL",null,!1,"M",null,1,!1,!1,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"milligram per millimole","mg/mmol","MG/MMOL","mass",1660540186674939e-39,[0,0,1,0,0,0,0],"mg/mmol",null,!1,"M",null,1,!1,!1,-1,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,!1],[!0,"milligram per week","mg/wk","MG/WK","mass",16534391534391535e-25,[0,-1,1,0,0,0,0],"mg/wk",null,!1,"M",null,1,!1,!1,0,"mg/week; mg per wk; milligrams per weeks; milligram/week","LOINC","Mrat","Clinical","",null,null,null,null,!1],[!1,"milliliter","mL","ML","volume",1e-6,[3,0,0,0,0,0,0],"mL","iso1000",!0,null,null,1,!1,!1,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 10 hour","mL/(10.h)","ML/HR","volume",27777777777777777e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 12 hour","mL/(12.h)","ML/HR","volume",23148148148148147e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 2 hour","mL/(2.h)","ML/HR","volume",13888888888888888e-26,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 24 hour","mL/(24.h)","ML/HR","volume",11574074074074074e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 4 hour","mL/(4.h)","ML/HR","volume",6944444444444444e-26,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 5 hour","mL/(5.h)","ML/HR","volume",55555555555555553e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 6 hour","mL/(6.h)","ML/HR","volume",46296296296296294e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 72 hour","mL/(72.h)","ML/HR","volume",38580246913580245e-28,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 8 hour","mL/(8.h)","ML/HR","volume",3472222222222222e-26,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/HR)/KG","volume",3472222222222222e-29,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",!0,null,null,1,!1,!1,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,!1],[!1,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",!0,null,null,1,!1,!1,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,!1],[!1,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",10197162129779282e-27,[4,2,-1,0,0,0,0],"mL/(cm\xA0HO2)","iso1000",!0,null,null,1,!1,!1,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,!1],[!1,"milliliter per day","mL/d","ML/D","volume",11574074074074074e-27,[3,-1,0,0,0,0,0],"mL/d","iso1000",!0,null,null,1,!1,!1,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,!1],[!1,"milliliter per deciliter","mL/dL","ML/DL","volume",.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",!0,null,null,1,!1,!1,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,!1],[!1,"milliliter per hour","mL/h","ML/HR","volume",27777777777777777e-26,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per kilogram","mL/kg","ML/KG","volume",9999999999999999e-25,[3,0,-1,0,0,0,0],"mL/kg","iso1000",!0,null,null,1,!1,!1,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,!1],[!1,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/HR","volume",3472222222222222e-29,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",!0,null,null,1,!1,!1,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,!1],[!1,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",11574074074074072e-30,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",!0,null,null,1,!1,!1,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,!1],[!1,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",27777777777777774e-29,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",!0,null,null,1,!1,!1,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,!1],[!1,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",16666666666666664e-27,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",!0,null,null,1,!1,!1,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,!1],[!1,"milliliter per square meter","mL/m2","ML/M2","volume",1e-6,[1,0,0,0,0,0,0],"mL/(m2)","iso1000",!0,null,null,1,!1,!1,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,!1],[!1,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",!0,null,null,1,!1,!1,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,!1],[!1,"milliliter per minute","mL/min","ML/MIN","volume",16666666666666667e-24,[3,-1,0,0,0,0,0],"mL/min","iso1000",!0,null,null,1,!1,!1,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",16666666666666667e-24,[1,-1,0,0,0,0,0],"(mL/min)/(m2)","iso1000",!0,null,null,1,!1,!1,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,!1],[!1,"milliliter per millimeter","mL/mm","ML/MM","volume",.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",!0,null,null,1,!1,!1,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,!1],[!1,"milliliter per second","mL/s","ML/S","volume",1e-6,[3,-1,0,0,0,0,0],"mL/s","iso1000",!0,null,null,1,!1,!1,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,!1],[!0,"millimeter","mm","MM","length",.001,[1,0,0,0,0,0,0],"mm",null,!1,"L",null,1,!1,!1,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,!1],[!0,"millimeter per hour","mm/h","MM/HR","length",27777777777777776e-23,[1,-1,0,0,0,0,0],"mm/h",null,!1,"L",null,1,!1,!1,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,!1],[!0,"millimeter per minute","mm/min","MM/MIN","length",16666666666666667e-21,[1,-1,0,0,0,0,0],"mm/min",null,!1,"L",null,1,!1,!1,0,"mm per min; millimeters per minute; millimetres","LOINC","Vel","Clinical","",null,null,null,null,!1],[!1,"millimeter of water","mm[H2O]","MM[H2O]","pressure",9806.65,[-1,-2,1,0,0,0,0],"mm\xA0HO2","clinical",!0,null,null,1,!1,!1,0,"mmH2O; mm H2O; millimeters of water; millimetres","LOINC","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,!1],[!1,"millimeter of mercury","mm[Hg]","MM[HG]","pressure",133322,[-1,-2,1,0,0,0,0],"mm\xA0Hg","clinical",!0,null,null,1,!1,!1,0,"mmHg; mm Hg; millimeters of mercury; millimetres","LOINC","Pres; PPres; Ratio","Clinical","1 mm[Hg] = 1 torr; unit to measure blood pressure","kPa","KPAL","133.3220",133.322,!1],[!0,"square millimeter","mm2","MM2","length",1e-6,[2,0,0,0,0,0,0],"mm2",null,!1,"L",null,1,!1,!1,0,"mm^2; sq. mm.; sq. millimeters; millimeters squared; millimetres","LOINC","Area","Clinical","",null,null,null,null,!1],[!1,"millimole","mmol","MMOL","amount of substance",60221367e13,[0,0,0,0,0,0,0],"mmol","si",!0,null,null,1,!1,!1,1,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 12 hour","mmol/(12.h)","MMOL/HR","amount of substance",1394013125e7,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 2 hour","mmol/(2.h)","MMOL/HR","amount of substance",836407875e8,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 24 hour","mmol/(24.h)","MMOL/HR","amount of substance",6970065625e6,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 5 hour","mmol/(5.h)","MMOL/HR","amount of substance",33456315e9,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 6 hour","mmol/(6.h)","MMOL/HR","amount of substance",278802625e8,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 8 hour","mmol/(8.h)","MMOL/HR","amount of substance",20910196875e6,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625e6,[0,-1,0,0,0,0,0],"mmol/d","si",!0,null,null,1,!1,!1,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6022136699999999e9,[-3,0,0,0,0,0,0],"mmol/dL","si",!0,null,null,1,!1,!1,1,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per gram","mmol/g","MMOL/G","amount of substance",60221367e13,[0,0,-1,0,0,0,0],"mmol/g","si",!0,null,null,1,!1,!1,1,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575e9,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"mmol/kg","si",!0,null,null,1,!1,!1,1,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/HR","amount of substance",20910196875e3,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",!0,null,null,1,!1,!1,1,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625e3,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",!0,null,null,1,!1,!1,1,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575e6,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",!0,null,null,1,!1,!1,1,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",100368945e8,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",!0,null,null,1,!1,!1,1,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per liter","mmol/L","MMOL/L","amount of substance",60221367e16,[-3,0,0,0,0,0,0],"mmol/L","si",!0,null,null,1,!1,!1,1,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",60221367e13,[-2,0,0,0,0,0,0],"mmol/(m2)","si",!0,null,null,1,!1,!1,1,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",100368945e11,[0,-1,0,0,0,0,0],"mmol/min","si",!0,null,null,1,!1,!1,1,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",!0,null,null,1,!1,!1,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",.001,[0,0,0,0,0,0,0],"mmol/mol","si",!0,null,null,1,!1,!1,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",60221367e16,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",!0,null,null,1,!1,!1,1,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per kilogram","mol/kg","MOL/KG","amount of substance",60221367e13,[0,0,-1,0,0,0,0],"mol/kg","si",!0,null,null,1,!1,!1,1,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",60221367e13,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",!0,null,null,1,!1,!1,1,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per liter","mol/L","MOL/L","amount of substance",60221366999999994e10,[-3,0,0,0,0,0,0],"mol/L","si",!0,null,null,1,!1,!1,1,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",60221367e16,[-3,0,0,0,0,0,0],"mol/(m3)","si",!0,null,null,1,!1,!1,1,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per milliliter","mol/mL","MOL/ML","amount of substance",60221367e22,[-3,0,0,0,0,0,0],"mol/mL","si",!0,null,null,1,!1,!1,1,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",!0,null,null,1,!1,!1,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per second","mol/s","MOL/S","amount of substance",60221367e16,[0,-1,0,0,0,0,0],"mol/s","si",!0,null,null,1,!1,!1,1,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",60221367e13,[0,0,0,0,0,0,0],"mosm","chemical",!0,null,null,1,!1,!1,1,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,!1],[!1,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",60221367e10,[0,0,-1,0,0,0,0],"mosm/kg","chemical",!0,null,null,1,!1,!1,1,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,!1],[!1,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",60221367e16,[-3,0,0,0,0,0,0],"mosm/L","chemical",!0,null,null,1,!1,!1,1,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,!1],[!1,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",!0,null,null,1,!1,!1,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,!1],[!1,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",!0,null,null,1,!1,!1,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,!1],[!0,"megasecond","Ms","MAS","time",1e6,[0,1,0,0,0,0,0],"Ms",null,!1,"T",null,1,!1,!1,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,!1],[!0,"millisecond","ms","MS","time",.001,[0,1,0,0,0,0,0],"ms",null,!1,"T",null,1,!1,!1,0,"milliseconds; duration","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"milli enzyme unit per gram","mU/g","MU/G","catalytic activity",100368945e5,[0,-1,-1,0,0,0,0],"mU/g","chemical",!0,null,null,1,!1,!1,1,"mU per gm; milli enzyme units per gram; enzyme activity; enzymatic activity per mass","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"milli enzyme unit per liter","mU/L","MU/L","catalytic activity",100368945e8,[-3,-1,0,0,0,0,0],"mU/L","chemical",!0,null,null,1,!1,!1,1,"mU per liter; litre; milli enzyme units enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"milli enzyme unit per milligram","mU/mg","MU/MG","catalytic activity",100368945e8,[0,-1,-1,0,0,0,0],"mU/mg","chemical",!0,null,null,1,!1,!1,1,"mU per mg; milli enzyme units per milligram","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"milli enzyme unit per milliliter","mU/mL","MU/ML","catalytic activity",100368945e11,[-3,-1,0,0,0,0,0],"mU/mL","chemical",!0,null,null,1,!1,!1,1,"mU per mL; milli enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"milli enzyme unit per milliliter per minute","mU/mL/min","(MU/ML)/MIN","catalytic activity",167281575e9,[-3,-2,0,0,0,0,0],"(mU/mL)/min","chemical",!0,null,null,1,!1,!1,1,"mU per mL per min; mU per milliliters per minute; millilitres; milli enzyme units; enzymatic activity; enzyme activity","LOINC","CCncRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"millivolt","mV","MV","electric potential",1,[2,-2,1,0,0,-1,0],"mV","si",!0,null,null,1,!1,!1,0,"millivolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,!1],[!1,"Newton centimeter","N.cm","N.CM","force",10,[2,-2,1,0,0,0,0],"N.cm","si",!0,null,null,1,!1,!1,0,"N*cm; Ncm; N cm; Newton*centimeters; Newton* centimetres; torque; work","LOINC","","Clinical",`as a measurement of work, N.cm = 1/100 Joules; -note that N.m is the standard unit of measurement for torque (although dimensionally equivalent to Joule), and N.cm can also be thought of as a torqe unit`,"kg.m/s2","KG.M/S2","1",1,!1],[!1,"Newton second","N.s","N.S","force",1e3,[1,-1,1,0,0,0,0],"N.s","si",!0,null,null,1,!1,!1,0,"Newton*seconds; N*s; N s; Ns; impulse; imp","LOINC","","Clinical","standard unit of impulse","kg.m/s2","KG.M/S2","1",1,!1],[!0,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,!1,"M",null,1,!1,!1,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,!1],[!0,"nanogram per 24 hour","ng/(24.h)","NG/HR","mass",11574074074074075e-30,[0,-1,1,0,0,0,0],"ng/h",null,!1,"M",null,1,!1,!1,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per 8 hour","ng/(8.h)","NG/HR","mass",34722222222222224e-30,[0,-1,1,0,0,0,0],"ng/h",null,!1,"M",null,1,!1,!1,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per million","ng/10*6","NG/(10*6)","mass",1e-15,[0,0,1,0,0,0,0],"ng/(106)",null,!1,"M",null,1,!1,!1,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,!1],[!0,"nanogram per day","ng/d","NG/D","mass",11574074074074075e-30,[0,-1,1,0,0,0,0],"ng/d",null,!1,"M",null,1,!1,!1,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per deciliter","ng/dL","NG/DL","mass",1e-5,[-3,0,1,0,0,0,0],"ng/dL",null,!1,"M",null,1,!1,!1,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"nanogram per gram","ng/g","NG/G","mass",1e-9,[0,0,0,0,0,0,0],"ng/g",null,!1,"M",null,1,!1,!1,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"nanogram per hour","ng/h","NG/HR","mass",2777777777777778e-28,[0,-1,1,0,0,0,0],"ng/h",null,!1,"M",null,1,!1,!1,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per kilogram","ng/kg","NG/KG","mass",1e-12,[0,0,0,0,0,0,0],"ng/kg",null,!1,"M",null,1,!1,!1,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/HR","mass",3472222222222222e-32,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,!1,"M",null,1,!1,!1,0,"ng/(8.h.kg); ng/kg/8hrs; ng/kg/8 hrs; ng per kg per 8hrs; 8 hrs; nanograms per kilograms per 8 hours; shift","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"nanogram per kilogram per hour","ng/kg/h","(NG/KG)/HR","mass",27777777777777775e-32,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,!1,"M",null,1,!1,!1,0,"ng/(kg.h); ng/kg/hr; ng per kg per hr; nanograms per kilograms per hour","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"nanogram per kilogram per minute","ng/kg/min","(NG/KG)/MIN","mass",16666666666666667e-30,[0,-1,0,0,0,0,0],"(ng/kg)/min",null,!1,"M",null,1,!1,!1,0,"ng/(kg.min); ng per kg per min; nanograms per kilograms per minute","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"nanogram per liter","ng/L","NG/L","mass",1e-6,[-3,0,1,0,0,0,0],"ng/L",null,!1,"M",null,1,!1,!1,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"nanogram per square meter","ng/m2","NG/M2","mass",1e-9,[-2,0,1,0,0,0,0],"ng/(m2)",null,!1,"M",null,1,!1,!1,0,"ng/m^2; ng/sq. m; ng per m2; m^2; sq. meter; nanograms; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,!1],[!0,"nanogram per milligram","ng/mg","NG/MG","mass",1e-6,[0,0,0,0,0,0,0],"ng/mg",null,!1,"M",null,1,!1,!1,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"nanogram per milligram per hour","ng/mg/h","(NG/MG)/HR","mass",27777777777777777e-26,[0,-1,0,0,0,0,0],"(ng/mg)/h",null,!1,"M",null,1,!1,!1,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,!1],[!0,"nanogram per minute","ng/min","NG/MIN","mass",16666666666666667e-27,[0,-1,1,0,0,0,0],"ng/min",null,!1,"M",null,1,!1,!1,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per millliiter","ng/mL","NG/ML","mass",.001,[-3,0,1,0,0,0,0],"ng/mL",null,!1,"M",null,1,!1,!1,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"nanogram per milliliter per hour","ng/mL/h","(NG/ML)/HR","mass",27777777777777776e-23,[-3,-1,1,0,0,0,0],"(ng/mL)/h",null,!1,"M",null,1,!1,!1,0,"ng/mL/hr; ng per mL per mL; nanograms per milliliter per hour; nanogram per millilitre per hour; nanograms per millilitre per hour; enzymatic activity per volume; enzyme activity per milliliters","LOINC","CCnc","Clinical","tests that measure enzymatic activity",null,null,null,null,!1],[!0,"nanogram per second","ng/s","NG/S","mass",1e-9,[0,-1,1,0,0,0,0],"ng/s",null,!1,"M",null,1,!1,!1,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per enzyme unit","ng/U","NG/U","mass",9963241120049634e-41,[0,1,1,0,0,0,0],"ng/U",null,!1,"M",null,1,!1,!1,-1,"ng per U; nanograms per enzyme unit","LOINC","CMass","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,!1],[!1,"nanokatal","nkat","NKAT","catalytic activity",60221367e7,[0,-1,0,0,0,0,0],"nkat","chemical",!0,null,null,1,!1,!1,1,"nanokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"nanoliter","nL","NL","volume",10000000000000002e-28,[3,0,0,0,0,0,0],"nL","iso1000",!0,null,null,1,!1,!1,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!0,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,!1,"L",null,1,!1,!1,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,!1],[!0,"nanometer per second per liter","nm/s/L","(NM/S)/L","length",1e-6,[-2,-1,0,0,0,0,0],"(nm/s)/L",null,!1,"L",null,1,!1,!1,0,"nm/sec/liter; nm/sec/litre; nm per s per l; nm per sec per l; nanometers per second per liter; nanometre per second per litre; nanometres per second per litre","LOINC","VelCnc","Clinical","",null,null,null,null,!1],[!1,"nanomole","nmol","NMOL","amount of substance",60221367e7,[0,0,0,0,0,0,0],"nmol","si",!0,null,null,1,!1,!1,1,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per 24 hour","nmol/(24.h)","NMOL/HR","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",!0,null,null,1,!1,!1,1,"nmol/24hr; nmol/24 hr; nanomoles per 24 hours; nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per day","nmol/d","NMOL/D","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/d","si",!0,null,null,1,!1,!1,1,"nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day; nmol/24hr; nmol/24 hr; nanomoles per 24 hours; ","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per deciliter","nmol/dL","NMOL/DL","amount of substance",60221367e11,[-3,0,0,0,0,0,0],"nmol/dL","si",!0,null,null,1,!1,!1,1,"nmol per dL; nanomoles per deciliter; nanomole per decilitre; nanomoles per decilitre; nanomole/deciliter; nanomole/decilitre; nanomol/deciliter; nanomol/decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per gram","nmol/g","NMOL/G","amount of substance",60221367e7,[0,0,-1,0,0,0,0],"nmol/g","si",!0,null,null,1,!1,!1,1,"nmol per gram; nanomoles per gram; nanomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per hour per liter","nmol/h/L","(NMOL/HR)/L","amount of substance",167281575e6,[-3,-1,0,0,0,0,0],"(nmol/h)/L","si",!0,null,null,1,!1,!1,1,"nmol/hrs/L; nmol per hrs per L; nanomoles per hours per liter; litre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per liter","nmol/L","NMOL/L","amount of substance",60221367e10,[-3,0,0,0,0,0,0],"nmol/L","si",!0,null,null,1,!1,!1,1,"nmol per L; nanomoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milligram","nmol/mg","NMOL/MG","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"nmol/mg","si",!0,null,null,1,!1,!1,1,"nmol per mg; nanomoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milligram per hour","nmol/mg/h","(NMOL/MG)/HR","amount of substance",167281575e6,[0,-1,-1,0,0,0,0],"(nmol/mg)/h","si",!0,null,null,1,!1,!1,1,"nmol/mg/hr; nmol per mg per hr; nanomoles per milligrams per hour","LOINC","SCntRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milligram of protein","nmol/mg{prot}","NMOL/MG","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"nmol/mg","si",!0,null,null,1,!1,!1,1,"nanomoles; nmol/mg prot; nmol per mg prot","LOINC","Ratio; CCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per minute","nmol/min","NMOL/MIN","amount of substance",100368945e5,[0,-1,0,0,0,0,0],"nmol/min","si",!0,null,null,1,!1,!1,1,"nmol per min; nanomoles per minute; milli enzyme units; enzyme activity per volume; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/min = mU (milli enzyme unit)","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per minute per milliliter","nmol/min/mL","(NMOL/MIN)/ML","amount of substance",100368945e11,[-3,-1,0,0,0,0,0],"(nmol/min)/mL","si",!0,null,null,1,!1,!1,1,"nmol per min per mL; nanomoles per minutes per milliliter; millilitre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milliliter","nmol/mL","NMOL/ML","amount of substance",60221367e13,[-3,0,0,0,0,0,0],"nmol/mL","si",!0,null,null,1,!1,!1,1,"nmol per mL; nanomoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milliliter per hour","nmol/mL/h","(NMOL/ML)/HR","amount of substance",167281575e9,[-3,-1,0,0,0,0,0],"(nmol/mL)/h","si",!0,null,null,1,!1,!1,1,"nmol/mL/hr; nmol per mL per hr; nanomoles per milliliters per hour; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milliliter per minute","nmol/mL/min","(NMOL/ML)/MIN","amount of substance",100368945e11,[-3,-1,0,0,0,0,0],"(nmol/mL)/min","si",!0,null,null,1,!1,!1,1,"nmol per mL per min; nanomoles per milliliters per min; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per millimole","nmol/mmol","NMOL/MMOL","amount of substance",1e-6,[0,0,0,0,0,0,0],"nmol/mmol","si",!0,null,null,1,!1,!1,0,"nmol per mmol; nanomoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per millimole of creatinine","nmol/mmol{creat}","NMOL/MMOL","amount of substance",1e-6,[0,0,0,0,0,0,0],"nmol/mmol","si",!0,null,null,1,!1,!1,0,"nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per mole","nmol/mol","NMOL/MOL","amount of substance",1e-9,[0,0,0,0,0,0,0],"nmol/mol","si",!0,null,null,1,!1,!1,0,"nmol per mole; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per nanomole","nmol/nmol","NMOL/NMOL","amount of substance",1,[0,0,0,0,0,0,0],"nmol/nmol","si",!0,null,null,1,!1,!1,0,"nmol per nmol; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per second","nmol/s","NMOL/S","amount of substance",60221367e7,[0,-1,0,0,0,0,0],"nmol/s","si",!0,null,null,1,!1,!1,1,"nmol/sec; nmol per sec; nanomoles per sercond; milli enzyme units; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per second per liter","nmol/s/L","(NMOL/S)/L","amount of substance",60221367e10,[-3,-1,0,0,0,0,0],"(nmol/s)/L","si",!0,null,null,1,!1,!1,1,"nmol/sec/L; nmol per s per L; nmol per sec per L; nanomoles per seconds per liter; litre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,!1],[!0,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,!1,"T",null,1,!1,!1,0,"nanoseconds","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"nanoenzyme unit per milliliter","nU/mL","NU/ML","catalytic activity",100368945e5,[-3,-1,0,0,0,0,0],"nU/mL","chemical",!0,null,null,1,!1,!1,1,"nU per mL; nanoenzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 fU = pmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"Ohm meter","Ohm.m","OHM.M","electric resistance",1e3,[3,-1,1,0,0,-2,0],"\u03A9.m","si",!0,null,null,1,!1,!1,0,"electric resistivity; meters; metres","LOINC","","Clinical","unit of electric resistivity","V/A","V/A","1",1,!1],[!1,"osmole per kilogram","osm/kg","OSM/KG","amount of substance (dissolved particles)",60221367e13,[0,0,-1,0,0,0,0],"osm/kg","chemical",!0,null,null,1,!1,!1,1,"osm per kg; osmoles per kilogram; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,!1],[!1,"osmole per liter","osm/L","OSM/L","amount of substance (dissolved particles)",60221366999999994e10,[-3,0,0,0,0,0,0],"osm/L","chemical",!0,null,null,1,!1,!1,1,"osm per L; osmoles per liter; litre; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,!1],[!1,"picoampere","pA","PA","electric current",1e-12,[0,-1,0,0,0,1,0],"pA","si",!0,null,null,1,!1,!1,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,!1],[!0,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,!1,"M",null,1,!1,!1,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,!1],[!0,"picogram per deciliter","pg/dL","PG/DL","mass",9999999999999999e-24,[-3,0,1,0,0,0,0],"pg/dL",null,!1,"M",null,1,!1,!1,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"picogram per liter","pg/L","PG/L","mass",1e-9,[-3,0,1,0,0,0,0],"pg/L",null,!1,"M",null,1,!1,!1,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"picogram per milligram","pg/mg","PG/MG","mass",1e-9,[0,0,0,0,0,0,0],"pg/mg",null,!1,"M",null,1,!1,!1,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"picogram per milliliter","pg/mL","PG/ML","mass",1e-6,[-3,0,1,0,0,0,0],"pg/mL",null,!1,"M",null,1,!1,!1,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"picogram per millimeter","pg/mm","PG/MM","mass",1e-9,[-1,0,1,0,0,0,0],"pg/mm",null,!1,"M",null,1,!1,!1,0,"pg per mm; picogram/millimeter; picogram/millimetre; picograms per millimeter; millimetre","LOINC","Lineic Mass","Clinical","",null,null,null,null,!1],[!1,"picokatal","pkat","PKAT","catalytic activity",60221367e4,[0,-1,0,0,0,0,0],"pkat","chemical",!0,null,null,1,!1,!1,1,"pkats; picokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"picoliter","pL","PL","volume",1e-15,[3,0,0,0,0,0,0],"pL","iso1000",!0,null,null,1,!1,!1,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!0,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,!1,"L",null,1,!1,!1,0,"picometers; picometres","LOINC","Len","Clinical","",null,null,null,null,!1],[!1,"picomole","pmol","PMOL","amount of substance",60221367e4,[0,0,0,0,0,0,0],"pmol","si",!0,null,null,1,!1,!1,1,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per 24 hour","pmol/(24.h)","PMOL/HR","amount of substance",6970065625e-3,[0,-1,0,0,0,0,0],"pmol/h","si",!0,null,null,1,!1,!1,1,"pmol/24hrs; pmol/24 hrs; pmol per 24 hrs; 24hrs; days; dy; picomoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per day","pmol/d","PMOL/D","amount of substance",6970065625e-3,[0,-1,0,0,0,0,0],"pmol/d","si",!0,null,null,1,!1,!1,1,"pmol/dy; pmol per day; 24 hours; 24hrs; 24 hrs; picomoles","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per deciliter","pmol/dL","PMOL/DL","amount of substance",60221367e8,[-3,0,0,0,0,0,0],"pmol/dL","si",!0,null,null,1,!1,!1,1,"pmol per dL; picomoles per deciliter; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per gram","pmol/g","PMOL/G","amount of substance",60221367e4,[0,0,-1,0,0,0,0],"pmol/g","si",!0,null,null,1,!1,!1,1,"pmol per gm; picomoles per gram; picomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per hour per milliliter ","pmol/h/mL","(PMOL/HR)/ML","amount of substance",167281575e6,[-3,-1,0,0,0,0,0],"(pmol/h)/mL","si",!0,null,null,1,!1,!1,1,"pmol/hrs/mL; pmol per hrs per mL; picomoles per hour per milliliter; millilitre; micro enzyme units per volume; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. ","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per liter","pmol/L","PMOL/L","amount of substance",60221367e7,[-3,0,0,0,0,0,0],"pmol/L","si",!0,null,null,1,!1,!1,1,"picomole/liter; pmol per L; picomoles; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per minute","pmol/min","PMOL/MIN","amount of substance",10036894500,[0,-1,0,0,0,0,0],"pmol/min","si",!0,null,null,1,!1,!1,1,"picomole/minute; pmol per min; picomoles per minute; micro enzyme units; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. pmol/min = uU (micro enzyme unit)","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per milliliter","pmol/mL","PMOL/ML","amount of substance",60221367e10,[-3,0,0,0,0,0,0],"pmol/mL","si",!0,null,null,1,!1,!1,1,"picomole/milliliter; picomole/millilitre; pmol per mL; picomoles; millilitre; picomols; pmols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per micromole","pmol/umol","PMOL/UMOL","amount of substance",1e-6,[0,0,0,0,0,0,0],"pmol/\u03BCmol","si",!0,null,null,1,!1,!1,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!0,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,!1,"T",null,1,!1,!1,0,"picoseconds; psec","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"picotesla","pT","PT","magnetic flux density",1e-9,[0,-1,1,0,0,-1,0],"pT","si",!0,null,null,1,!1,!1,0,"picoteslas","LOINC","","Clinical","SI unit of magnetic field strength for magnetic field B","Wb/m2","WB/M2","1",1,!1],[!1,"enzyme unit per 12 hour","U/(12.h)","U/HR","catalytic activity",23233552083333334e-5,[0,-2,0,0,0,0,0],"U/h","chemical",!0,null,null,1,!1,!1,1,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per 2 hour","U/(2.h)","U/HR","catalytic activity",1394013125e3,[0,-2,0,0,0,0,0],"U/h","chemical",!0,null,null,1,!1,!1,1,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per 24 hour","U/(24.h)","U/HR","catalytic activity",11616776041666667e-5,[0,-2,0,0,0,0,0],"U/h","chemical",!0,null,null,1,!1,!1,1,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per 10","U/10","U","catalytic activity",100368945e7,[0,-1,0,0,0,0,0],"U","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",100368945e-2,[0,-1,0,0,0,0,0],"U/(1010)","chemical",!0,null,null,1,!1,!1,1,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(1012)","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(106)","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",100368945e-1,[0,-1,0,0,0,0,0],"U/(109)","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per day","U/d","U/D","catalytic activity",11616776041666667e-5,[0,-2,0,0,0,0,0],"U/d","chemical",!0,null,null,1,!1,!1,1,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945e12,[-3,-1,0,0,0,0,0],"U/dL","chemical",!0,null,null,1,!1,!1,1,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per gram","U/g","U/G","catalytic activity",100368945e8,[0,-1,-1,0,0,0,0],"U/g","chemical",!0,null,null,1,!1,!1,1,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per hour","U/h","U/HR","catalytic activity",278802625e4,[0,-2,0,0,0,0,0],"U/h","chemical",!0,null,null,1,!1,!1,1,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per liter","U/L","U/L","catalytic activity",100368945e11,[-3,-1,0,0,0,0,0],"U/L","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575e6,[0,-2,0,0,0,0,0],"U/min","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",100368945e14,[-3,-1,0,0,0,0,0],"U/mL","chemical",!0,null,null,1,!1,!1,1,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per second","U/s","U/S","catalytic activity",100368945e8,[0,-2,0,0,0,0,0],"U/s","chemical",!0,null,null,1,!1,!1,1,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"micro international unit","u[IU]","U[IU]","arbitrary",1e-6,[0,0,0,0,0,0,0],"\u03BCi.U.","chemical",!0,null,null,1,!1,!0,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",.001,[-3,0,0,0,0,0,0],"(\u03BCi.U.)/L","chemical",!0,null,null,1,!1,!0,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(\u03BCi.U.)/mL","chemical",!0,null,null,1,!1,!0,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"microequivalent","ueq","UEQ","amount of substance",60221367e10,[0,0,0,0,0,0,0],"\u03BCeq","chemical",!0,null,null,1,!1,!1,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,!1],[!1,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",60221367e13,[-3,0,0,0,0,0,0],"\u03BCeq/L","chemical",!0,null,null,1,!1,!1,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,!1],[!1,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",60221367000000003e7,[-3,0,0,0,0,0,0],"\u03BCeq/mL","chemical",!0,null,null,1,!1,!1,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,!1],[!0,"microgram","ug","UG","mass",1e-6,[0,0,1,0,0,0,0],"\u03BCg",null,!1,"M",null,1,!1,!1,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,!1],[!0,"microgram per 100 gram","ug/(100.g)","UG/G","mass",1e-8,[0,0,0,0,0,0,0],"\u03BCg/g",null,!1,"M",null,1,!1,!1,0,"ug/100gm; ug/100 gm; mcg; ug per 100g; 100 gm; mcg per 100g; micrograms per 100 grams","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"microgram per 24 hour","ug/(24.h)","UG/HR","mass",11574074074074074e-27,[0,-1,1,0,0,0,0],"\u03BCg/h",null,!1,"M",null,1,!1,!1,0,"ug/24hrs; ug/24 hrs; mcg/24hrs; ug per 24hrs; mcg per 24hrs; 24 hrs; micrograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per 8 hour","ug/(8.h)","UG/HR","mass",3472222222222222e-26,[0,-1,1,0,0,0,0],"\u03BCg/h",null,!1,"M",null,1,!1,!1,0,"ug/8hrs; ug/8 hrs; mcg/8hrs; ug per 8hrs; mcg per 8hrs; 8 hrs; micrograms per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per square foot (international)","ug/[sft_i]","UG/[SFT_I]","mass",10763910416709721e-21,[-2,0,1,0,0,0,0],"\u03BCg",null,!1,"M",null,1,!1,!1,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,!1],[!0,"microgram per day","ug/d","UG/D","mass",11574074074074074e-27,[0,-1,1,0,0,0,0],"\u03BCg/d",null,!1,"M",null,1,!1,!1,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per deciliter","ug/dL","UG/DL","mass",.009999999999999998,[-3,0,1,0,0,0,0],"\u03BCg/dL",null,!1,"M",null,1,!1,!1,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"microgram per gram","ug/g","UG/G","mass",1e-6,[0,0,0,0,0,0,0],"\u03BCg/g",null,!1,"M",null,1,!1,!1,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"microgram per hour","ug/h","UG/HR","mass",27777777777777777e-26,[0,-1,1,0,0,0,0],"\u03BCg/h",null,!1,"M",null,1,!1,!1,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per kilogram","ug/kg","UG/KG","mass",9999999999999999e-25,[0,0,0,0,0,0,0],"\u03BCg/kg",null,!1,"M",null,1,!1,!1,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/HR","mass",3472222222222222e-29,[0,-1,0,0,0,0,0],"(\u03BCg/kg)/h",null,!1,"M",null,1,!1,!1,0,"ug/kg/8hrs; mcg/kg/8hrs; ug/kg/8 hrs; mcg/kg/8 hrs; ug per kg per 8hrs; 8 hrs; mcg per kg per 8hrs; micrograms per kilograms per 8 hours; shift","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per kilogram per day","ug/kg/d","(UG/KG)/D","mass",11574074074074072e-30,[0,-1,0,0,0,0,0],"(\u03BCg/kg)/d",null,!1,"M",null,1,!1,!1,0,"ug/(kg.d); ug/kg/dy; mcg/kg/day; ug per kg per dy; 24 hours; 24hrs; mcg; kilograms; microgram per kilogram and day","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per kilogram per hour","ug/kg/h","(UG/KG)/HR","mass",27777777777777774e-29,[0,-1,0,0,0,0,0],"(\u03BCg/kg)/h",null,!1,"M",null,1,!1,!1,0,"ug/(kg.h); ug/kg/hr; mcg/kg/hr; ug per kg per hr; mcg per kg per hr; kilograms","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per kilogram per minute","ug/kg/min","(UG/KG)/MIN","mass",16666666666666664e-27,[0,-1,0,0,0,0,0],"(\u03BCg/kg)/min",null,!1,"M",null,1,!1,!1,0,"ug/kg/min; ug/kg/min; mcg/kg/min; ug per kg per min; mcg; micrograms per kilograms per minute ","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per liter","ug/L","UG/L","mass",.001,[-3,0,1,0,0,0,0],"\u03BCg/L",null,!1,"M",null,1,!1,!1,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/HR","mass",11574074074074074e-24,[-3,-1,1,0,0,0,0],"(\u03BCg/L)/h",null,!1,"M",null,1,!1,!1,0,"ug/L/24hrs; ug/L/24 hrs; mcg/L/24hrs; ug per L per 24hrs; 24 hrs; day; dy mcg; micrograms per liters per 24 hours; litres","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per square meter","ug/m2","UG/M2","mass",1e-6,[-2,0,1,0,0,0,0],"\u03BCg/(m2)",null,!1,"M",null,1,!1,!1,0,"ug/m^2; ug/sq. m; mcg/m2; mcg/m^2; mcg/sq. m; ug per m2; m^2; sq. meter; mcg; micrograms per square meter; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,!1],[!0,"microgram per cubic meter","ug/m3","UG/M3","mass",1e-6,[-3,0,1,0,0,0,0],"\u03BCg/(m3)",null,!1,"M",null,1,!1,!1,0,"ug/m^3; ug/cu. m; mcg/m3; mcg/m^3; mcg/cu. m; ug per m3; ug per m^3; ug per cu. m; mcg; micrograms per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"microgram per milligram","ug/mg","UG/MG","mass",.001,[0,0,0,0,0,0,0],"\u03BCg/mg",null,!1,"M",null,1,!1,!1,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"microgram per minute","ug/min","UG/MIN","mass",16666666666666667e-24,[0,-1,1,0,0,0,0],"\u03BCg/min",null,!1,"M",null,1,!1,!1,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per milliliter","ug/mL","UG/ML","mass",1,[-3,0,1,0,0,0,0],"\u03BCg/mL",null,!1,"M",null,1,!1,!1,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"microgram per millimole","ug/mmol","UG/MMOL","mass",1660540186674939e-42,[0,0,1,0,0,0,0],"\u03BCg/mmol",null,!1,"M",null,1,!1,!1,-1,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,!1],[!0,"microgram per nanogram","ug/ng","UG/NG","mass",999.9999999999999,[0,0,0,0,0,0,0],"\u03BCg/ng",null,!1,"M",null,1,!1,!1,0,"ug per ng; mcg/ng; mcg per ng; micrograms per nanogram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!1,"microkatal","ukat","UKAT","catalytic activity",60221367e10,[0,-1,0,0,0,0,0],"\u03BCkat","chemical",!0,null,null,1,!1,!1,1,"microkatals; ukats","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"microliter","uL","UL","volume",1e-9,[3,0,0,0,0,0,0],"\u03BCL","iso1000",!0,null,null,1,!1,!1,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!1,"microliter per 2 hour","uL/(2.h)","UL/HR","volume",1388888888888889e-28,[3,-1,0,0,0,0,0],"\u03BCL/h","iso1000",!0,null,null,1,!1,!1,0,"uL/2hrs; uL/2 hrs; mcg/2hr; mcg per 2hr; uL per 2hr; uL per 2 hrs; microliters per 2 hours; microlitres ","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"microliter per hour","uL/h","UL/HR","volume",2777777777777778e-28,[3,-1,0,0,0,0,0],"\u03BCL/h","iso1000",!0,null,null,1,!1,!1,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!0,"micrometer","um","UM","length",1e-6,[1,0,0,0,0,0,0],"\u03BCm",null,!1,"L",null,1,!1,!1,0,"micrometers; micrometres; \u03BCm; microns","LOINC","Len","Clinical","Unit of length that is usually used in tests related to the eye",null,null,null,null,!1],[!0,"microns per second","um/s","UM/S","length",1e-6,[1,-1,0,0,0,0,0],"\u03BCm/s",null,!1,"L",null,1,!1,!1,0,"um/sec; micron/second; microns/second; um per sec; micrometers per second; micrometres","LOINC","Vel","Clinical","",null,null,null,null,!1],[!1,"micromole","umol","UMOL","amount of substance",60221367e10,[0,0,0,0,0,0,0],"\u03BCmol","si",!0,null,null,1,!1,!1,1,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per 2 hour","umol/(2.h)","UMOL/HR","amount of substance",836407875e5,[0,-1,0,0,0,0,0],"\u03BCmol/h","si",!0,null,null,1,!1,!1,1,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per 24 hour","umol/(24.h)","UMOL/HR","amount of substance",6970065625e3,[0,-1,0,0,0,0,0],"\u03BCmol/h","si",!0,null,null,1,!1,!1,1,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per 8 hour","umol/(8.h)","UMOL/HR","amount of substance",20910196875e3,[0,-1,0,0,0,0,0],"\u03BCmol/h","si",!0,null,null,1,!1,!1,1,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625e3,[0,-1,0,0,0,0,0],"\u03BCmol/d","si",!0,null,null,1,!1,!1,1,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",60221367e14,[-3,0,0,0,0,0,0],"\u03BCmol/dL","si",!0,null,null,1,!1,!1,1,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per gram","umol/g","UMOL/G","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"\u03BCmol/g","si",!0,null,null,1,!1,!1,1,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575e6,[0,-1,0,0,0,0,0],"\u03BCmol/h","si",!0,null,null,1,!1,!1,1,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",60221367e7,[0,0,-1,0,0,0,0],"\u03BCmol/kg","si",!0,null,null,1,!1,!1,1,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per liter","umol/L","UMOL/L","amount of substance",60221367e13,[-3,0,0,0,0,0,0],"\u03BCmol/L","si",!0,null,null,1,!1,!1,1,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575e9,[-3,-1,0,0,0,0,0],"(\u03BCmol/L)/h","si",!0,null,null,1,!1,!1,1,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",60221367e13,[0,0,-1,0,0,0,0],"\u03BCmol/mg","si",!0,null,null,1,!1,!1,1,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per minute","umol/min","UMOL/MIN","amount of substance",100368945e8,[0,-1,0,0,0,0,0],"\u03BCmol/min","si",!0,null,null,1,!1,!1,1,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",100368945e8,[0,-1,-1,0,0,0,0],"(\u03BCmol/min)/g","si",!0,null,null,1,!1,!1,1,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",100368945e11,[-3,-1,0,0,0,0,0],"(\u03BCmol/min)/L","si",!0,null,null,1,!1,!1,1,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",60221367000000003e7,[-3,0,0,0,0,0,0],"\u03BCmol/mL","si",!0,null,null,1,!1,!1,1,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",100368945e14,[-3,-1,0,0,0,0,0],"(\u03BCmol/mL)/min","si",!0,null,null,1,!1,!1,1,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",.001,[0,0,0,0,0,0,0],"\u03BCmol/mmol","si",!0,null,null,1,!1,!1,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",1e-6,[0,0,0,0,0,0,0],"\u03BCmol/mol","si",!0,null,null,1,!1,!1,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"\u03BCmol/\u03BCmol","si",!0,null,null,1,!1,!1,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"microOhm","uOhm","UOHM","electric resistance",.001,[2,-1,1,0,0,-2,0],"\u03BC\u03A9","si",!0,null,null,1,!1,!1,0,"microOhms; \xB5\u03A9","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,!1],[!0,"microsecond","us","US","time",1e-6,[0,1,0,0,0,0,0],"\u03BCs",null,!1,"T",null,1,!1,!1,0,"microseconds","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"micro enzyme unit per gram","uU/g","UU/G","catalytic activity",10036894500,[0,-1,-1,0,0,0,0],"\u03BCU/g","chemical",!0,null,null,1,!1,!1,1,"uU per gm; micro enzyme units per gram; micro enzymatic activity per mass; enzyme activity","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"micro enzyme unit per liter","uU/L","UU/L","catalytic activity",100368945e5,[-3,-1,0,0,0,0,0],"\u03BCU/L","chemical",!0,null,null,1,!1,!1,1,"uU per L; micro enzyme units per liter; litre; enzymatic activity per volume; enzyme activity ","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"micro enzyme unit per milliliter","uU/mL","UU/ML","catalytic activity",100368945e8,[-3,-1,0,0,0,0,0],"\u03BCU/mL","chemical",!0,null,null,1,!1,!1,1,"uU per mL; micro enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"microvolt","uV","UV","electric potential",.001,[2,-2,1,0,0,-1,0],"\u03BCV","si",!0,null,null,1,!1,!1,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,!1]]},lQ={license:nQ,prefixes:aQ,units:iQ};Object.defineProperty(zf,"__esModule",{value:!0});zf.ucumJsonDefs=zf.UcumJsonDefs=void 0;var oQ=Vv,uQ=W0,mQ=Fh,Z5=_u,Y5=Bv.unpackArray;class C9{loadJsonDefs(){const t=lQ;if(t.prefixes=Y5(t.prefixes),t.units=Y5(t.units),Z5.UnitTables.getInstance().unitsCount()===0){let r=uQ.PrefixTables.getInstance(),n=t.prefixes,a=n.length;for(let o=0;o0)i[0]=null,i[1]=null;else{this.retMsg_.length>0;let s=null;for(s in Kn.specUnits_)for(;t.indexOf(s)!==-1;)t=t.replace(s,Kn.specUnits_[s]);if(t.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");i=this._parseTheString(t,a);let l=i[0];(La.isIntegerUnit(l)||typeof l=="number")&&(l=new Kp({csCode_:a,magnitude_:l,name_:a}),i[0]=l)}return i[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(i[3]=this.suggestions_),i}_parseTheString(t,r){let n=null,a=this.retMsg_.length>0,i=this._processParens(t,r);a=i[2];let s=[];if(!a){t=i[0],r=i[1];let l=this._makeUnitsArray(t,r);if(a=l[2],!a){s=l[0],r=l[1];let o=s.length;for(let u=0;u=0){let c=this._getParensUnit(m,r);a||(a=c[1]),a||(s[u].un=c[0])}else{let c=this._makeUnit(m,r);c[0]===null?a=!0:(s[u].un=c[0],r=c[1])}}}}return a||(s[0]===null||s[0]===" "||s[0].un===void 0||s[0].un===null)&&this.retMsg_.length===0&&(this.retMsg_.push(`Unit string (${r}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),a=!0),a||(n=this._performUnitArithmetic(s,r)),[n,r]}_getAnnotations(t){let r=t.indexOf("{");for(;r>=0;){let a=t.indexOf("}");if(a<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+t.substr(r)+this.closeEmph_),r=-1;else{let i=t.substring(r,a+1),s=this.annotations_.length.toString();t=t.replace(i,this.braceFlag_+s+this.braceFlag_),this.annotations_.push(i),r=t.indexOf("{")}}let n=t.indexOf("}");return n>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+t.substring(0,n+1)+this.closeEmph_),t}_processParens(t,r){let n=[],a=0,i=!1,s=this.parensUnits_.length,l=0;for(;t!==""&&!i;){let o=0,u=0,m=t.indexOf("(");if(m<0){let c=t.indexOf(")");if(c>=0){let f=`Missing open parenthesis for close parenthesis at ${t.substring(0,c+l)}${this.openEmph_}${t.substr(c,1)}${this.closeEmph_}`;c0&&(n[a++]=t.substr(0,m));let f=0,p=m+1;for(;p0&&(s=t.substr(0,i-1));let l=t.lastIndexOf(this.parensFlag_),o=null;l+this.pFlagLen_=0){let m=this._getAnnoText(s,r);if(m[1]||m[2])throw new Error(`Text found before the parentheses (${s}) included an annotation along with other text for parenthetical unit ${a.csCode_}`);t+=m[0],this.retMsg_.push(`The annotation ${m[0]} before the unit code is invalid. -`+this.vcMsgStart_+t+this.vcMsgEnd_)}else this.suggestions_?n=this._getSuggestions(s)!=="succeeded":(this.retMsg_.push(`${s} preceding the unit code ${t} is invalid. Unable to make a substitution.`),n=!0);if(o)if(o.indexOf(this.braceFlag_)>=0){let m=this._getAnnoText(o,r);if(m[1]||m[2])throw new Error(`Text found after the parentheses (${o}) included an annotation along with other text for parenthetical unit ${a.csCode_}`);t+=m[0]}else La.isNumericString(o)?(t+=o,a=a.power(Number(o)),this.retMsg_.push(`An exponent (${o}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification. - `+this.vcMsgStart_+t+this.vcMsgEnd_)):this.suggestions_?n=this._getSuggestions(s)!=="succeeded":(this.retMsg_.push(`Text ${o} following the unit code ${t} is invalid. Unable to make a substitution.`),n=!0);return n||(a?La.isIntegerUnit(a)?a=new Kp({csCode_:a,magnitude_:a,name_:a}):a.csCode_=t:a=new Kp({csCode_:t,magnitude_:1,name_:t})),[a,n]}_getAnnoText(t,r){let n=t.indexOf(this.braceFlag_),a=n>0?t.substring(0,n):null;n!==0&&(t=t.substr(n));let i=t.indexOf(this.braceFlag_,1),s=i+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${l} found in ${t} that was created from ${r}`);return t=this.annotations_[o],[t,a,s]}_getSuggestions(t){let r=La.getSynonyms(t);if(r.status==="succeeded"){let n={};n.msg=`${t} is not a valid UCUM code. We found possible units that might be what was meant:`,n.invalidUnit=t;let a=r.units.length;n.units=[];for(let i=0;i=0){let a=this._getUnitWithAnnotation(t,r);n=a[0],n&&(r=a[1])}else{if(t.indexOf("^")>-1){let a=t.replace("^","*");n=this.utabs_.getUnitByCode(a),n&&(n=n.clone(),n.csCode_=n.csCode_.replace("*","^"),n.ciCode_=n.ciCode_.replace("*","^"))}if(!n){let a="["+t+"]";n=this.utabs_.getUnitByCode(a),n&&(n=n.clone(),r=r.replace(t,a),this.retMsg_.push(`${t} is not a valid unit expression, but ${a} is. -`+this.vcMsgStart_+`${a} (${n.name_})${this.vcMsgEnd_}`))}if(!n){let a=this.utabs_.getUnitByName(t);if(a&&a.length>0){n=a[0].clone();let i="The UCUM code for "+t+" is "+n.csCode_+`. -`+this.vcMsgStart_+n.csCode_+this.vcMsgEnd_,s=!1;for(let u=0;u"+g+"",csCode_:y+g,ciCode_:d+g,printSymbol_:_+""+g+""})}}}}return[n,r]}_getUnitWithAnnotation(t,r){let n=null,a=this._getAnnoText(t,r),i=a[0],s=a[1],l=a[2];this.bracesMsg_&&this.retMsg_.indexOf(this.bracesMsg_)===-1&&this.retMsg_.push(this.bracesMsg_);let o=this.retMsg_.length;if(!s&&!l){let u="["+i.substring(1,i.length-1)+"]",m=this._makeUnit(u,r);m[0]?(n=m[0],r=r.replace(i,u),this.retMsg_.push(`${i} is not a valid unit expression, but ${u} is. -`+this.vcMsgStart_+`${u} (${n.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>o&&this.retMsg_.pop(),t=1,n=1)}else if(s&&!l)if(La.isIntegerUnit(s))n=s;else{let u=this._makeUnit(s,r);u[0]?(n=u[0],n.csCode_+=i,r=u[1]):this.retMsg_.push(`Unable to find a unit for ${s} that precedes the annotation ${i}.`)}else if(!s&&l)if(La.isIntegerUnit(l))n=l+i,this.retMsg_.push(`The annotation ${i} before the ``${l} is invalid.\n`+this.vcMsgStart_+n+this.vcMsgEnd_);else{let u=this._makeUnit(l,r);u[0]?(n=u[0],n.csCode_+=i,r=n.csCode_,this.retMsg_.push(`The annotation ${i} before the unit code is invalid. -`+this.vcMsgStart_+n.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${s} that follows the annotation ${i}.`)}else this.retMsg_.push(`Unable to find a unit for ${s}${i}${l}. -We are not sure how to interpret text both before and after the annotation. Sorry`);return[n,r]}_performUnitArithmetic(t,r){let n=t[0].un;La.isIntegerUnit(n)&&(n=new Kp({csCode_:n,magnitude_:Number(n),name_:n}));let a=t.length,i=!1;for(let s=1;s mole conversion cannot be executed for two mole-based units. No conversion was attempted.");if(l.moleExp_===0&&u.moleExp_===0)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed when neither unit is mole-based. No conversion was attempted.");if(!l.isMoleMassCommensurable(u))throw new Error(`Sorry. ${t} cannot be converted to ${n}.`);l.moleExp_!==0?s.toVal=l.convertMolToMass(r,u,i):s.toVal=l.convertMassToMol(r,u,i)}s.status="succeeded",s.fromUnit=l,s.toUnit=u}catch(m){s.status="failed",s.msg.push(m.message)}}catch(l){l.message==gQ.needMoleWeightMsg_?s.status="failed":s.status="error",s.msg.push(l.message)}return s}checkSynonyms(t){let r={};return t==null?(r.status="error",r.msg="No term specified for synonym search."):r=X5.getSynonyms(t),r}getSpecifiedUnit(t,r,n){n===void 0&&(n=!1);let a={};if(a.retMsg=[],!t)a.retMsg.push("No unit string specified.");else{let i=jD.getInstance();t=t.trim();let s=i.getUnitByCode(t);if(s)a.unit=s,a.origString=t;else try{let l=this.uStrParser_.parseString(t,r,n);a.unit=l[0],a.origString=l[1],l[2]&&(a.retMsg=l[2]),a.suggestions=l[3]}catch(l){console.log(`Unit requested for unit string ${t}.request unsuccessful; error thrown = `+l.message),a.retMsg.unshift(`${t} is not a valid unit. ${l.message}`)}}return a}commensurablesList(t){let r=[],n=null,a=this.getSpecifiedUnit(t,"validate",!1),i=a.unit;if(a.retMsg.length>0&&(r=a.retMsg),!i)r.push(`Could not find unit ${t}.`);else{let s=null,l=i.getProperty("dim_");if(!l)r.push("No commensurable units were found for "+t);else{try{s=l.getProperty("dimVec_")}catch(o){r.push(o.message),o.message==="Dimension does not have requested property(dimVec_)"&&(s=null)}s&&(n=jD.getInstance().getUnitsByDimension(s))}}return[n,r]}}xv.UcumLhcUtils=iL;iL.getInstance=function(){return new iL};Object.defineProperty(E0,"__esModule",{value:!0});E0.UnitTables=E0.UcumLhcUtils=E0.Ucum=void 0;var vQ=hu.Ucum;E0.Ucum=vQ;var yQ=xv.UcumLhcUtils;E0.UcumLhcUtils=yQ;var MQ=_u.UnitTables;E0.UnitTables=MQ;er("@modusjs/units:error");er("@modusjs/units:warn");er("@modusjs/units:info");er("@modusjs/units:trace");function Xu(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var DQ={exports:{}};/*! - -JSZip v3.10.1 - A JavaScript class for generating and reading zip files - - -(c) 2009-2016 Stuart Knightley -Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. - -JSZip uses the library pako released under the MIT license : -https://github.com/nodeca/pako/blob/main/LICENSE -*/(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,a,i){function s(u,m){if(!a[u]){if(!n[u]){var c=typeof Xu=="function"&&Xu;if(!m&&c)return c(u,!0);if(l)return l(u,!0);var f=new Error("Cannot find module '"+u+"'");throw f.code="MODULE_NOT_FOUND",f}var p=a[u]={exports:{}};n[u][0].call(p.exports,function(h){var d=n[u][1][h];return s(d||h)},p,p.exports,r,n,a,i)}return a[u].exports}for(var l=typeof Xu=="function"&&Xu,o=0;o>2,p=(3&u)<<4|m>>4,h=1>6:64,d=2>4,m=(15&f)<<4|(p=l.indexOf(o.charAt(d++)))>>2,c=(3&p)<<6|(h=l.indexOf(o.charAt(d++))),g[_++]=u,p!==64&&(g[_++]=m),h!==64&&(g[_++]=c);return g}},{"./support":30,"./utils":32}],2:[function(r,n,a){var i=r("./external"),s=r("./stream/DataWorker"),l=r("./stream/Crc32Probe"),o=r("./stream/DataLengthProbe");function u(m,c,f,p,h){this.compressedSize=m,this.uncompressedSize=c,this.crc32=f,this.compression=p,this.compressedContent=h}u.prototype={getContentWorker:function(){var m=new s(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),c=this;return m.on("end",function(){if(this.streamInfo.data_length!==c.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),m},getCompressedWorker:function(){return new s(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(m,c,f){return m.pipe(new l).pipe(new o("uncompressedSize")).pipe(c.compressWorker(f)).pipe(new o("compressedSize")).withStreamInfo("compression",c)},n.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(r,n,a){var i=r("./stream/GenericWorker");a.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},a.DEFLATE=r("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(r,n,a){var i=r("./utils"),s=function(){for(var l,o=[],u=0;u<256;u++){l=u;for(var m=0;m<8;m++)l=1&l?3988292384^l>>>1:l>>>1;o[u]=l}return o}();n.exports=function(l,o){return l!==void 0&&l.length?i.getTypeOf(l)!=="string"?function(u,m,c,f){var p=s,h=f+c;u^=-1;for(var d=f;d>>8^p[255&(u^m[d])];return-1^u}(0|o,l,l.length,0):function(u,m,c,f){var p=s,h=f+c;u^=-1;for(var d=f;d>>8^p[255&(u^m.charCodeAt(d))];return-1^u}(0|o,l,l.length,0):0}},{"./utils":32}],5:[function(r,n,a){a.base64=!1,a.binary=!1,a.dir=!1,a.createFolders=!0,a.date=null,a.compression=null,a.compressionOptions=null,a.comment=null,a.unixPermissions=null,a.dosPermissions=null},{}],6:[function(r,n,a){var i=null;i=typeof Promise<"u"?Promise:r("lie"),n.exports={Promise:i}},{lie:37}],7:[function(r,n,a){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=r("pako"),l=r("./utils"),o=r("./stream/GenericWorker"),u=i?"uint8array":"array";function m(c,f){o.call(this,"FlateWorker/"+c),this._pako=null,this._pakoAction=c,this._pakoOptions=f,this.meta={}}a.magic="\b\0",l.inherits(m,o),m.prototype.processChunk=function(c){this.meta=c.meta,this._pako===null&&this._createPako(),this._pako.push(l.transformTo(u,c.data),!1)},m.prototype.flush=function(){o.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},m.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},m.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var c=this;this._pako.onData=function(f){c.push({data:f,meta:c.meta})}},a.compressWorker=function(c){return new m("Deflate",c)},a.uncompressWorker=function(){return new m("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(r,n,a){function i(p,h){var d,_="";for(d=0;d>>=8;return _}function s(p,h,d,_,y,g){var S,v,M=p.file,I=p.compression,D=g!==u.utf8encode,k=l.transformTo("string",g(M.name)),E=l.transformTo("string",u.utf8encode(M.name)),z=M.comment,B=l.transformTo("string",g(z)),P=l.transformTo("string",u.utf8encode(z)),F=E.length!==M.name.length,L=P.length!==z.length,H="",ie="",G="",pe=M.dir,W=M.date,ce={crc32:0,compressedSize:0,uncompressedSize:0};h&&!d||(ce.crc32=p.crc32,ce.compressedSize=p.compressedSize,ce.uncompressedSize=p.uncompressedSize);var J=0;h&&(J|=8),D||!F&&!L||(J|=2048);var R=0,V=0;pe&&(R|=16),y==="UNIX"?(V=798,R|=function(Z,Re){var Je=Z;return Z||(Je=Re?16893:33204),(65535&Je)<<16}(M.unixPermissions,pe)):(V=20,R|=function(Z){return 63&(Z||0)}(M.dosPermissions)),S=W.getUTCHours(),S<<=6,S|=W.getUTCMinutes(),S<<=5,S|=W.getUTCSeconds()/2,v=W.getUTCFullYear()-1980,v<<=4,v|=W.getUTCMonth()+1,v<<=5,v|=W.getUTCDate(),F&&(ie=i(1,1)+i(m(k),4)+E,H+="up"+i(ie.length,2)+ie),L&&(G=i(1,1)+i(m(B),4)+P,H+="uc"+i(G.length,2)+G);var Y="";return Y+=` -\0`,Y+=i(J,2),Y+=I.magic,Y+=i(S,2),Y+=i(v,2),Y+=i(ce.crc32,4),Y+=i(ce.compressedSize,4),Y+=i(ce.uncompressedSize,4),Y+=i(k.length,2),Y+=i(H.length,2),{fileRecord:c.LOCAL_FILE_HEADER+Y+k+H,dirRecord:c.CENTRAL_FILE_HEADER+i(V,2)+Y+i(B.length,2)+"\0\0\0\0"+i(R,4)+i(_,4)+k+H+B}}var l=r("../utils"),o=r("../stream/GenericWorker"),u=r("../utf8"),m=r("../crc32"),c=r("../signature");function f(p,h,d,_){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=h,this.zipPlatform=d,this.encodeFileName=_,this.streamFiles=p,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}l.inherits(f,o),f.prototype.push=function(p){var h=p.meta.percent||0,d=this.entriesCount,_=this._sources.length;this.accumulate?this.contentBuffer.push(p):(this.bytesWritten+=p.data.length,o.prototype.push.call(this,{data:p.data,meta:{currentFile:this.currentFile,percent:d?(h+100*(d-_-1))/d:100}}))},f.prototype.openedSource=function(p){this.currentSourceOffset=this.bytesWritten,this.currentFile=p.file.name;var h=this.streamFiles&&!p.file.dir;if(h){var d=s(p,h,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:d.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(p){this.accumulate=!1;var h=this.streamFiles&&!p.file.dir,d=s(p,h,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(d.dirRecord),h)this.push({data:function(_){return c.DATA_DESCRIPTOR+i(_.crc32,4)+i(_.compressedSize,4)+i(_.uncompressedSize,4)}(p),meta:{percent:100}});else for(this.push({data:d.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var p=this.bytesWritten,h=0;h=this.index;o--)u=(u<<8)+this.byteAt(o);return this.index+=l,u},readString:function(l){return i.transformTo("string",this.readData(l))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var l=this.readInt(4);return new Date(Date.UTC(1980+(l>>25&127),(l>>21&15)-1,l>>16&31,l>>11&31,l>>5&63,(31&l)<<1))}},n.exports=s},{"../utils":32}],19:[function(r,n,a){var i=r("./Uint8ArrayReader");function s(l){i.call(this,l)}r("../utils").inherits(s,i),s.prototype.readData=function(l){this.checkOffset(l);var o=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,o},n.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(r,n,a){var i=r("./DataReader");function s(l){i.call(this,l)}r("../utils").inherits(s,i),s.prototype.byteAt=function(l){return this.data.charCodeAt(this.zero+l)},s.prototype.lastIndexOfSignature=function(l){return this.data.lastIndexOf(l)-this.zero},s.prototype.readAndCheckSignature=function(l){return l===this.readData(4)},s.prototype.readData=function(l){this.checkOffset(l);var o=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,o},n.exports=s},{"../utils":32,"./DataReader":18}],21:[function(r,n,a){var i=r("./ArrayReader");function s(l){i.call(this,l)}r("../utils").inherits(s,i),s.prototype.readData=function(l){if(this.checkOffset(l),l===0)return new Uint8Array(0);var o=this.data.subarray(this.zero+this.index,this.zero+this.index+l);return this.index+=l,o},n.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(r,n,a){var i=r("../utils"),s=r("../support"),l=r("./ArrayReader"),o=r("./StringReader"),u=r("./NodeBufferReader"),m=r("./Uint8ArrayReader");n.exports=function(c){var f=i.getTypeOf(c);return i.checkSupport(f),f!=="string"||s.uint8array?f==="nodebuffer"?new u(c):s.uint8array?new m(i.transformTo("uint8array",c)):new l(i.transformTo("array",c)):new o(c)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(r,n,a){a.LOCAL_FILE_HEADER="PK",a.CENTRAL_FILE_HEADER="PK",a.CENTRAL_DIRECTORY_END="PK",a.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",a.ZIP64_CENTRAL_DIRECTORY_END="PK",a.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(r,n,a){var i=r("./GenericWorker"),s=r("../utils");function l(o){i.call(this,"ConvertWorker to "+o),this.destType=o}s.inherits(l,i),l.prototype.processChunk=function(o){this.push({data:s.transformTo(this.destType,o.data),meta:o.meta})},n.exports=l},{"../utils":32,"./GenericWorker":28}],25:[function(r,n,a){var i=r("./GenericWorker"),s=r("../crc32");function l(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}r("../utils").inherits(l,i),l.prototype.processChunk=function(o){this.streamInfo.crc32=s(o.data,this.streamInfo.crc32||0),this.push(o)},n.exports=l},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(r,n,a){var i=r("../utils"),s=r("./GenericWorker");function l(o){s.call(this,"DataLengthProbe for "+o),this.propName=o,this.withStreamInfo(o,0)}i.inherits(l,s),l.prototype.processChunk=function(o){if(o){var u=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=u+o.data.length}s.prototype.processChunk.call(this,o)},n.exports=l},{"../utils":32,"./GenericWorker":28}],27:[function(r,n,a){var i=r("../utils"),s=r("./GenericWorker");function l(o){s.call(this,"DataWorker");var u=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,o.then(function(m){u.dataIsReady=!0,u.data=m,u.max=m&&m.length||0,u.type=i.getTypeOf(m),u.isPaused||u._tickAndRepeat()},function(m){u.error(m)})}i.inherits(l,s),l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},l.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},l.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},l.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var o=null,u=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":o=this.data.substring(this.index,u);break;case"uint8array":o=this.data.subarray(this.index,u);break;case"array":case"nodebuffer":o=this.data.slice(this.index,u)}return this.index=u,this.push({data:o,meta:{percent:this.max?this.index/this.max*100:0}})},n.exports=l},{"../utils":32,"./GenericWorker":28}],28:[function(r,n,a){function i(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,l){return this._listeners[s].push(l),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,l){if(this._listeners[s])for(var o=0;o "+s:s}},n.exports=i},{}],29:[function(r,n,a){var i=r("../utils"),s=r("./ConvertWorker"),l=r("./GenericWorker"),o=r("../base64"),u=r("../support"),m=r("../external"),c=null;if(u.nodestream)try{c=r("../nodejs/NodejsStreamOutputAdapter")}catch{}function f(h,d){return new m.Promise(function(_,y){var g=[],S=h._internalType,v=h._outputType,M=h._mimeType;h.on("data",function(I,D){g.push(I),d&&d(D)}).on("error",function(I){g=[],y(I)}).on("end",function(){try{var I=function(D,k,E){switch(D){case"blob":return i.newBlob(i.transformTo("arraybuffer",k),E);case"base64":return o.encode(k);default:return i.transformTo(D,k)}}(v,function(D,k){var E,z=0,B=null,P=0;for(E=0;E"u")a.blob=!1;else{var i=new ArrayBuffer(0);try{a.blob=new Blob([i],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(i),a.blob=s.getBlob("application/zip").size===0}catch{a.blob=!1}}}try{a.nodestream=!!r("readable-stream").Readable}catch{a.nodestream=!1}},{"readable-stream":16}],31:[function(r,n,a){for(var i=r("./utils"),s=r("./support"),l=r("./nodejsUtils"),o=r("./stream/GenericWorker"),u=new Array(256),m=0;m<256;m++)u[m]=252<=m?6:248<=m?5:240<=m?4:224<=m?3:192<=m?2:1;u[254]=u[254]=1;function c(){o.call(this,"utf-8 decode"),this.leftOver=null}function f(){o.call(this,"utf-8 encode")}a.utf8encode=function(p){return s.nodebuffer?l.newBufferFrom(p,"utf-8"):function(h){var d,_,y,g,S,v=h.length,M=0;for(g=0;g>>6:(_<65536?d[S++]=224|_>>>12:(d[S++]=240|_>>>18,d[S++]=128|_>>>12&63),d[S++]=128|_>>>6&63),d[S++]=128|63&_);return d}(p)},a.utf8decode=function(p){return s.nodebuffer?i.transformTo("nodebuffer",p).toString("utf-8"):function(h){var d,_,y,g,S=h.length,v=new Array(2*S);for(d=_=0;d>10&1023,v[_++]=56320|1023&y)}return v.length!==_&&(v.subarray?v=v.subarray(0,_):v.length=_),i.applyFromCharCode(v)}(p=i.transformTo(s.uint8array?"uint8array":"array",p))},i.inherits(c,o),c.prototype.processChunk=function(p){var h=i.transformTo(s.uint8array?"uint8array":"array",p.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var d=h;(h=new Uint8Array(d.length+this.leftOver.length)).set(this.leftOver,0),h.set(d,this.leftOver.length)}else h=this.leftOver.concat(h);this.leftOver=null}var _=function(g,S){var v;for((S=S||g.length)>g.length&&(S=g.length),v=S-1;0<=v&&(192&g[v])==128;)v--;return v<0||v===0?S:v+u[g[v]]>S?v:S}(h),y=h;_!==h.length&&(s.uint8array?(y=h.subarray(0,_),this.leftOver=h.subarray(_,h.length)):(y=h.slice(0,_),this.leftOver=h.slice(_,h.length))),this.push({data:a.utf8decode(y),meta:p.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:a.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},a.Utf8DecodeWorker=c,i.inherits(f,o),f.prototype.processChunk=function(p){this.push({data:a.utf8encode(p.data),meta:p.meta})},a.Utf8EncodeWorker=f},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(r,n,a){var i=r("./support"),s=r("./base64"),l=r("./nodejsUtils"),o=r("./external");function u(d){return d}function m(d,_){for(var y=0;y>8;this.dir=!!(16&this.externalFileAttributes),p==0&&(this.dosPermissions=63&this.externalFileAttributes),p==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var p=i(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=p.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=p.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=p.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=p.readInt(4))}},readExtraFields:function(p){var h,d,_,y=p.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});p.index+4>>6:(p<65536?f[_++]=224|p>>>12:(f[_++]=240|p>>>18,f[_++]=128|p>>>12&63),f[_++]=128|p>>>6&63),f[_++]=128|63&p);return f},a.buf2binstring=function(c){return m(c,c.length)},a.binstring2buf=function(c){for(var f=new i.Buf8(c.length),p=0,h=f.length;p>10&1023,g[h++]=56320|1023&d)}return m(g,h)},a.utf8border=function(c,f){var p;for((f=f||c.length)>c.length&&(f=c.length),p=f-1;0<=p&&(192&c[p])==128;)p--;return p<0||p===0?f:p+o[c[p]]>f?p:f}},{"./common":41}],43:[function(r,n,a){n.exports=function(i,s,l,o){for(var u=65535&i|0,m=i>>>16&65535|0,c=0;l!==0;){for(l-=c=2e3>>1:s>>>1;l[o]=s}return l}();n.exports=function(s,l,o,u){var m=i,c=u+o;s^=-1;for(var f=u;f>>8^m[255&(s^l[f])];return-1^s}},{}],46:[function(r,n,a){var i,s=r("../utils/common"),l=r("./trees"),o=r("./adler32"),u=r("./crc32"),m=r("./messages"),c=0,f=4,p=0,h=-2,d=-1,_=4,y=2,g=8,S=9,v=286,M=30,I=19,D=2*v+1,k=15,E=3,z=258,B=z+E+1,P=42,F=113,L=1,H=2,ie=3,G=4;function pe(T,we){return T.msg=m[we],we}function W(T){return(T<<1)-(4T.avail_out&&(Ue=T.avail_out),Ue!==0&&(s.arraySet(T.output,we.pending_buf,we.pending_out,Ue,T.next_out),T.next_out+=Ue,we.pending_out+=Ue,T.total_out+=Ue,T.avail_out-=Ue,we.pending-=Ue,we.pending===0&&(we.pending_out=0))}function R(T,we){l._tr_flush_block(T,0<=T.block_start?T.block_start:-1,T.strstart-T.block_start,we),T.block_start=T.strstart,J(T.strm)}function V(T,we){T.pending_buf[T.pending++]=we}function Y(T,we){T.pending_buf[T.pending++]=we>>>8&255,T.pending_buf[T.pending++]=255&we}function Z(T,we){var Ue,K,q=T.max_chain_length,ge=T.strstart,Be=T.prev_length,$e=T.nice_match,C=T.strstart>T.w_size-B?T.strstart-(T.w_size-B):0,Ce=T.window,mt=T.w_mask,tt=T.prev,qe=T.strstart+z,se=Ce[ge+Be-1],x=Ce[ge+Be];T.prev_length>=T.good_match&&(q>>=2),$e>T.lookahead&&($e=T.lookahead);do if(Ce[(Ue=we)+Be]===x&&Ce[Ue+Be-1]===se&&Ce[Ue]===Ce[ge]&&Ce[++Ue]===Ce[ge+1]){ge+=2,Ue++;do;while(Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&geC&&--q!=0);return Be<=T.lookahead?Be:T.lookahead}function Re(T){var we,Ue,K,q,ge,Be,$e,C,Ce,mt,tt=T.w_size;do{if(q=T.window_size-T.lookahead-T.strstart,T.strstart>=tt+(tt-B)){for(s.arraySet(T.window,T.window,tt,tt,0),T.match_start-=tt,T.strstart-=tt,T.block_start-=tt,we=Ue=T.hash_size;K=T.head[--we],T.head[we]=tt<=K?K-tt:0,--Ue;);for(we=Ue=tt;K=T.prev[--we],T.prev[we]=tt<=K?K-tt:0,--Ue;);q+=tt}if(T.strm.avail_in===0)break;if(Be=T.strm,$e=T.window,C=T.strstart+T.lookahead,Ce=q,mt=void 0,mt=Be.avail_in,Ce=E)for(ge=T.strstart-T.insert,T.ins_h=T.window[ge],T.ins_h=(T.ins_h<=E&&(T.ins_h=(T.ins_h<=E)if(K=l._tr_tally(T,T.strstart-T.match_start,T.match_length-E),T.lookahead-=T.match_length,T.match_length<=T.max_lazy_match&&T.lookahead>=E){for(T.match_length--;T.strstart++,T.ins_h=(T.ins_h<=E&&(T.ins_h=(T.ins_h<=E&&T.match_length<=T.prev_length){for(q=T.strstart+T.lookahead-E,K=l._tr_tally(T,T.strstart-1-T.prev_match,T.prev_length-E),T.lookahead-=T.prev_length-1,T.prev_length-=2;++T.strstart<=q&&(T.ins_h=(T.ins_h<T.pending_buf_size-5&&(Ue=T.pending_buf_size-5);;){if(T.lookahead<=1){if(Re(T),T.lookahead===0&&we===c)return L;if(T.lookahead===0)break}T.strstart+=T.lookahead,T.lookahead=0;var K=T.block_start+Ue;if((T.strstart===0||T.strstart>=K)&&(T.lookahead=T.strstart-K,T.strstart=K,R(T,!1),T.strm.avail_out===0)||T.strstart-T.block_start>=T.w_size-B&&(R(T,!1),T.strm.avail_out===0))return L}return T.insert=0,we===f?(R(T,!0),T.strm.avail_out===0?ie:G):(T.strstart>T.block_start&&(R(T,!1),T.strm.avail_out),L)}),new be(4,4,8,4,Je),new be(4,5,16,8,Je),new be(4,6,32,32,Je),new be(4,4,16,16,xe),new be(8,16,32,32,xe),new be(8,16,128,128,xe),new be(8,32,128,256,xe),new be(32,128,258,1024,xe),new be(32,258,258,4096,xe)],a.deflateInit=function(T,we){return vt(T,we,g,15,8,0)},a.deflateInit2=vt,a.deflateReset=Ne,a.deflateResetKeep=Pe,a.deflateSetHeader=function(T,we){return T&&T.state?T.state.wrap!==2?h:(T.state.gzhead=we,p):h},a.deflate=function(T,we){var Ue,K,q,ge;if(!T||!T.state||5>8&255),V(K,K.gzhead.time>>16&255),V(K,K.gzhead.time>>24&255),V(K,K.level===9?2:2<=K.strategy||K.level<2?4:0),V(K,255&K.gzhead.os),K.gzhead.extra&&K.gzhead.extra.length&&(V(K,255&K.gzhead.extra.length),V(K,K.gzhead.extra.length>>8&255)),K.gzhead.hcrc&&(T.adler=u(T.adler,K.pending_buf,K.pending,0)),K.gzindex=0,K.status=69):(V(K,0),V(K,0),V(K,0),V(K,0),V(K,0),V(K,K.level===9?2:2<=K.strategy||K.level<2?4:0),V(K,3),K.status=F);else{var Be=g+(K.w_bits-8<<4)<<8;Be|=(2<=K.strategy||K.level<2?0:K.level<6?1:K.level===6?2:3)<<6,K.strstart!==0&&(Be|=32),Be+=31-Be%31,K.status=F,Y(K,Be),K.strstart!==0&&(Y(K,T.adler>>>16),Y(K,65535&T.adler)),T.adler=1}if(K.status===69)if(K.gzhead.extra){for(q=K.pending;K.gzindex<(65535&K.gzhead.extra.length)&&(K.pending!==K.pending_buf_size||(K.gzhead.hcrc&&K.pending>q&&(T.adler=u(T.adler,K.pending_buf,K.pending-q,q)),J(T),q=K.pending,K.pending!==K.pending_buf_size));)V(K,255&K.gzhead.extra[K.gzindex]),K.gzindex++;K.gzhead.hcrc&&K.pending>q&&(T.adler=u(T.adler,K.pending_buf,K.pending-q,q)),K.gzindex===K.gzhead.extra.length&&(K.gzindex=0,K.status=73)}else K.status=73;if(K.status===73)if(K.gzhead.name){q=K.pending;do{if(K.pending===K.pending_buf_size&&(K.gzhead.hcrc&&K.pending>q&&(T.adler=u(T.adler,K.pending_buf,K.pending-q,q)),J(T),q=K.pending,K.pending===K.pending_buf_size)){ge=1;break}ge=K.gzindexq&&(T.adler=u(T.adler,K.pending_buf,K.pending-q,q)),ge===0&&(K.gzindex=0,K.status=91)}else K.status=91;if(K.status===91)if(K.gzhead.comment){q=K.pending;do{if(K.pending===K.pending_buf_size&&(K.gzhead.hcrc&&K.pending>q&&(T.adler=u(T.adler,K.pending_buf,K.pending-q,q)),J(T),q=K.pending,K.pending===K.pending_buf_size)){ge=1;break}ge=K.gzindexq&&(T.adler=u(T.adler,K.pending_buf,K.pending-q,q)),ge===0&&(K.status=103)}else K.status=103;if(K.status===103&&(K.gzhead.hcrc?(K.pending+2>K.pending_buf_size&&J(T),K.pending+2<=K.pending_buf_size&&(V(K,255&T.adler),V(K,T.adler>>8&255),T.adler=0,K.status=F)):K.status=F),K.pending!==0){if(J(T),T.avail_out===0)return K.last_flush=-1,p}else if(T.avail_in===0&&W(we)<=W(Ue)&&we!==f)return pe(T,-5);if(K.status===666&&T.avail_in!==0)return pe(T,-5);if(T.avail_in!==0||K.lookahead!==0||we!==c&&K.status!==666){var $e=K.strategy===2?function(C,Ce){for(var mt;;){if(C.lookahead===0&&(Re(C),C.lookahead===0)){if(Ce===c)return L;break}if(C.match_length=0,mt=l._tr_tally(C,0,C.window[C.strstart]),C.lookahead--,C.strstart++,mt&&(R(C,!1),C.strm.avail_out===0))return L}return C.insert=0,Ce===f?(R(C,!0),C.strm.avail_out===0?ie:G):C.last_lit&&(R(C,!1),C.strm.avail_out===0)?L:H}(K,we):K.strategy===3?function(C,Ce){for(var mt,tt,qe,se,x=C.window;;){if(C.lookahead<=z){if(Re(C),C.lookahead<=z&&Ce===c)return L;if(C.lookahead===0)break}if(C.match_length=0,C.lookahead>=E&&0C.lookahead&&(C.match_length=C.lookahead)}if(C.match_length>=E?(mt=l._tr_tally(C,1,C.match_length-E),C.lookahead-=C.match_length,C.strstart+=C.match_length,C.match_length=0):(mt=l._tr_tally(C,0,C.window[C.strstart]),C.lookahead--,C.strstart++),mt&&(R(C,!1),C.strm.avail_out===0))return L}return C.insert=0,Ce===f?(R(C,!0),C.strm.avail_out===0?ie:G):C.last_lit&&(R(C,!1),C.strm.avail_out===0)?L:H}(K,we):i[K.level].func(K,we);if($e!==ie&&$e!==G||(K.status=666),$e===L||$e===ie)return T.avail_out===0&&(K.last_flush=-1),p;if($e===H&&(we===1?l._tr_align(K):we!==5&&(l._tr_stored_block(K,0,0,!1),we===3&&(ce(K.head),K.lookahead===0&&(K.strstart=0,K.block_start=0,K.insert=0))),J(T),T.avail_out===0))return K.last_flush=-1,p}return we!==f?p:K.wrap<=0?1:(K.wrap===2?(V(K,255&T.adler),V(K,T.adler>>8&255),V(K,T.adler>>16&255),V(K,T.adler>>24&255),V(K,255&T.total_in),V(K,T.total_in>>8&255),V(K,T.total_in>>16&255),V(K,T.total_in>>24&255)):(Y(K,T.adler>>>16),Y(K,65535&T.adler)),J(T),0=Ue.w_size&&(ge===0&&(ce(Ue.head),Ue.strstart=0,Ue.block_start=0,Ue.insert=0),Ce=new s.Buf8(Ue.w_size),s.arraySet(Ce,we,mt-Ue.w_size,Ue.w_size,0),we=Ce,mt=Ue.w_size),Be=T.avail_in,$e=T.next_in,C=T.input,T.avail_in=mt,T.next_in=0,T.input=we,Re(Ue);Ue.lookahead>=E;){for(K=Ue.strstart,q=Ue.lookahead-(E-1);Ue.ins_h=(Ue.ins_h<>>=E=k>>>24,S-=E,(E=k>>>16&255)===0)H[m++]=65535&k;else{if(!(16&E)){if((64&E)==0){k=v[(65535&k)+(g&(1<>>=E,S-=E),S<15&&(g+=L[o++]<>>=E=k>>>24,S-=E,!(16&(E=k>>>16&255))){if((64&E)==0){k=M[(65535&k)+(g&(1<>>=E,S-=E,(E=m-c)>3,g&=(1<<(S-=z<<3))-1,i.next_in=o,i.next_out=m,i.avail_in=o>>24&255)+(P>>>8&65280)+((65280&P)<<8)+((255&P)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function S(P){var F;return P&&P.state?(F=P.state,P.total_in=P.total_out=F.total=0,P.msg="",F.wrap&&(P.adler=1&F.wrap),F.mode=h,F.last=0,F.havedict=0,F.dmax=32768,F.head=null,F.hold=0,F.bits=0,F.lencode=F.lendyn=new i.Buf32(d),F.distcode=F.distdyn=new i.Buf32(_),F.sane=1,F.back=-1,f):p}function v(P){var F;return P&&P.state?((F=P.state).wsize=0,F.whave=0,F.wnext=0,S(P)):p}function M(P,F){var L,H;return P&&P.state?(H=P.state,F<0?(L=0,F=-F):(L=1+(F>>4),F<48&&(F&=15)),F&&(F<8||15=G.wsize?(i.arraySet(G.window,F,L-G.wsize,G.wsize,0),G.wnext=0,G.whave=G.wsize):(H<(ie=G.wsize-G.wnext)&&(ie=H),i.arraySet(G.window,F,L-H,ie,G.wnext),(H-=ie)?(i.arraySet(G.window,F,L-H,H,0),G.wnext=H,G.whave=G.wsize):(G.wnext+=ie,G.wnext===G.wsize&&(G.wnext=0),G.whave>>8&255,L.check=l(L.check,ge,2,0),R=J=0,L.mode=2;break}if(L.flags=0,L.head&&(L.head.done=!1),!(1&L.wrap)||(((255&J)<<8)+(J>>8))%31){P.msg="incorrect header check",L.mode=30;break}if((15&J)!=8){P.msg="unknown compression method",L.mode=30;break}if(R-=4,T=8+(15&(J>>>=4)),L.wbits===0)L.wbits=T;else if(T>L.wbits){P.msg="invalid window size",L.mode=30;break}L.dmax=1<>8&1),512&L.flags&&(ge[0]=255&J,ge[1]=J>>>8&255,L.check=l(L.check,ge,2,0)),R=J=0,L.mode=3;case 3:for(;R<32;){if(W===0)break e;W--,J+=H[G++]<>>8&255,ge[2]=J>>>16&255,ge[3]=J>>>24&255,L.check=l(L.check,ge,4,0)),R=J=0,L.mode=4;case 4:for(;R<16;){if(W===0)break e;W--,J+=H[G++]<>8),512&L.flags&&(ge[0]=255&J,ge[1]=J>>>8&255,L.check=l(L.check,ge,2,0)),R=J=0,L.mode=5;case 5:if(1024&L.flags){for(;R<16;){if(W===0)break e;W--,J+=H[G++]<>>8&255,L.check=l(L.check,ge,2,0)),R=J=0}else L.head&&(L.head.extra=null);L.mode=6;case 6:if(1024&L.flags&&(W<(Z=L.length)&&(Z=W),Z&&(L.head&&(T=L.head.extra_len-L.length,L.head.extra||(L.head.extra=new Array(L.head.extra_len)),i.arraySet(L.head.extra,H,G,Z,T)),512&L.flags&&(L.check=l(L.check,H,Z,G)),W-=Z,G+=Z,L.length-=Z),L.length))break e;L.length=0,L.mode=7;case 7:if(2048&L.flags){if(W===0)break e;for(Z=0;T=H[G+Z++],L.head&&T&&L.length<65536&&(L.head.name+=String.fromCharCode(T)),T&&Z>9&1,L.head.done=!0),P.adler=L.check=0,L.mode=12;break;case 10:for(;R<32;){if(W===0)break e;W--,J+=H[G++]<>>=7&R,R-=7&R,L.mode=27;break}for(;R<3;){if(W===0)break e;W--,J+=H[G++]<>>=1)){case 0:L.mode=14;break;case 1:if(z(L),L.mode=20,F!==6)break;J>>>=2,R-=2;break e;case 2:L.mode=17;break;case 3:P.msg="invalid block type",L.mode=30}J>>>=2,R-=2;break;case 14:for(J>>>=7&R,R-=7&R;R<32;){if(W===0)break e;W--,J+=H[G++]<>>16^65535)){P.msg="invalid stored block lengths",L.mode=30;break}if(L.length=65535&J,R=J=0,L.mode=15,F===6)break e;case 15:L.mode=16;case 16:if(Z=L.length){if(W>>=5,R-=5,L.ndist=1+(31&J),J>>>=5,R-=5,L.ncode=4+(15&J),J>>>=4,R-=4,286>>=3,R-=3}for(;L.have<19;)L.lens[Be[L.have++]]=0;if(L.lencode=L.lendyn,L.lenbits=7,Ue={bits:L.lenbits},we=u(0,L.lens,0,19,L.lencode,0,L.work,Ue),L.lenbits=Ue.bits,we){P.msg="invalid code lengths set",L.mode=30;break}L.have=0,L.mode=19;case 19:for(;L.have>>16&255,et=65535&q,!((xe=q>>>24)<=R);){if(W===0)break e;W--,J+=H[G++]<>>=xe,R-=xe,L.lens[L.have++]=et;else{if(et===16){for(K=xe+2;R>>=xe,R-=xe,L.have===0){P.msg="invalid bit length repeat",L.mode=30;break}T=L.lens[L.have-1],Z=3+(3&J),J>>>=2,R-=2}else if(et===17){for(K=xe+3;R>>=xe)),J>>>=3,R-=3}else{for(K=xe+7;R>>=xe)),J>>>=7,R-=7}if(L.have+Z>L.nlen+L.ndist){P.msg="invalid bit length repeat",L.mode=30;break}for(;Z--;)L.lens[L.have++]=T}}if(L.mode===30)break;if(L.lens[256]===0){P.msg="invalid code -- missing end-of-block",L.mode=30;break}if(L.lenbits=9,Ue={bits:L.lenbits},we=u(m,L.lens,0,L.nlen,L.lencode,0,L.work,Ue),L.lenbits=Ue.bits,we){P.msg="invalid literal/lengths set",L.mode=30;break}if(L.distbits=6,L.distcode=L.distdyn,Ue={bits:L.distbits},we=u(c,L.lens,L.nlen,L.ndist,L.distcode,0,L.work,Ue),L.distbits=Ue.bits,we){P.msg="invalid distances set",L.mode=30;break}if(L.mode=20,F===6)break e;case 20:L.mode=21;case 21:if(6<=W&&258<=ce){P.next_out=pe,P.avail_out=ce,P.next_in=G,P.avail_in=W,L.hold=J,L.bits=R,o(P,Y),pe=P.next_out,ie=P.output,ce=P.avail_out,G=P.next_in,H=P.input,W=P.avail_in,J=L.hold,R=L.bits,L.mode===12&&(L.back=-1);break}for(L.back=0;be=(q=L.lencode[J&(1<>>16&255,et=65535&q,!((xe=q>>>24)<=R);){if(W===0)break e;W--,J+=H[G++]<>Pe)])>>>16&255,et=65535&q,!(Pe+(xe=q>>>24)<=R);){if(W===0)break e;W--,J+=H[G++]<>>=Pe,R-=Pe,L.back+=Pe}if(J>>>=xe,R-=xe,L.back+=xe,L.length=et,be===0){L.mode=26;break}if(32&be){L.back=-1,L.mode=12;break}if(64&be){P.msg="invalid literal/length code",L.mode=30;break}L.extra=15&be,L.mode=22;case 22:if(L.extra){for(K=L.extra;R>>=L.extra,R-=L.extra,L.back+=L.extra}L.was=L.length,L.mode=23;case 23:for(;be=(q=L.distcode[J&(1<>>16&255,et=65535&q,!((xe=q>>>24)<=R);){if(W===0)break e;W--,J+=H[G++]<>Pe)])>>>16&255,et=65535&q,!(Pe+(xe=q>>>24)<=R);){if(W===0)break e;W--,J+=H[G++]<>>=Pe,R-=Pe,L.back+=Pe}if(J>>>=xe,R-=xe,L.back+=xe,64&be){P.msg="invalid distance code",L.mode=30;break}L.offset=et,L.extra=15&be,L.mode=24;case 24:if(L.extra){for(K=L.extra;R>>=L.extra,R-=L.extra,L.back+=L.extra}if(L.offset>L.dmax){P.msg="invalid distance too far back",L.mode=30;break}L.mode=25;case 25:if(ce===0)break e;if(Z=Y-ce,L.offset>Z){if((Z=L.offset-Z)>L.whave&&L.sane){P.msg="invalid distance too far back",L.mode=30;break}Re=Z>L.wnext?(Z-=L.wnext,L.wsize-Z):L.wnext-Z,Z>L.length&&(Z=L.length),Je=L.window}else Je=ie,Re=pe-L.offset,Z=L.length;for(ceD?(E=Re[Je+_[F]],R[V+_[F]]):(E=96,0),g=1<>pe)+(S-=g)]=k<<24|E<<16|z|0,S!==0;);for(g=1<>=1;if(g!==0?(J&=g-1,J+=g):J=0,F++,--Y[P]==0){if(P===H)break;P=c[f+_[F]]}if(ie>>7)]}function V(q,ge){q.pending_buf[q.pending++]=255&ge,q.pending_buf[q.pending++]=ge>>>8&255}function Y(q,ge,Be){q.bi_valid>y-Be?(q.bi_buf|=ge<>y-q.bi_valid,q.bi_valid+=Be-y):(q.bi_buf|=ge<>>=1,Be<<=1,0<--ge;);return Be>>>1}function Je(q,ge,Be){var $e,C,Ce=new Array(_+1),mt=0;for($e=1;$e<=_;$e++)Ce[$e]=mt=mt+Be[$e-1]<<1;for(C=0;C<=ge;C++){var tt=q[2*C+1];tt!==0&&(q[2*C]=Re(Ce[tt]++,tt))}}function xe(q){var ge;for(ge=0;ge>1;1<=Be;Be--)Pe(q,Ce,Be);for(C=qe;Be=q.heap[1],q.heap[1]=q.heap[q.heap_len--],Pe(q,Ce,1),$e=q.heap[1],q.heap[--q.heap_max]=Be,q.heap[--q.heap_max]=$e,Ce[2*C]=Ce[2*Be]+Ce[2*$e],q.depth[C]=(q.depth[Be]>=q.depth[$e]?q.depth[Be]:q.depth[$e])+1,Ce[2*Be+1]=Ce[2*$e+1]=C,q.heap[1]=C++,Pe(q,Ce,1),2<=q.heap_len;);q.heap[--q.heap_max]=q.heap[1],function(x,U){var te,Se,de,He,It,Q,ee=U.dyn_tree,Ye=U.max_code,Et=U.stat_desc.static_tree,De=U.stat_desc.has_stree,me=U.stat_desc.extra_bits,nt=U.stat_desc.extra_base,A=U.stat_desc.max_length,ne=0;for(He=0;He<=_;He++)x.bl_count[He]=0;for(ee[2*x.heap[x.heap_max]+1]=0,te=x.heap_max+1;te>=7;C>>=1)if(1&se&&tt.dyn_ltree[2*qe]!==0)return s;if(tt.dyn_ltree[18]!==0||tt.dyn_ltree[20]!==0||tt.dyn_ltree[26]!==0)return l;for(qe=32;qe>>3,(Ce=q.static_len+3+7>>>3)<=C&&(C=Ce)):C=Ce=Be+5,Be+4<=C&&ge!==-1?K(q,ge,Be,$e):q.strategy===4||Ce===C?(Y(q,2+($e?1:0),3),Ne(q,B,P)):(Y(q,4+($e?1:0),3),function(tt,qe,se,x){var U;for(Y(tt,qe-257,5),Y(tt,se-1,5),Y(tt,x-4,4),U=0;U>>8&255,q.pending_buf[q.d_buf+2*q.last_lit+1]=255&ge,q.pending_buf[q.l_buf+q.last_lit]=255&Be,q.last_lit++,ge===0?q.dyn_ltree[2*Be]++:(q.matches++,ge--,q.dyn_ltree[2*(L[Be]+c+1)]++,q.dyn_dtree[2*R(ge)]++),q.last_lit===q.lit_bufsize-1},a._tr_align=function(q){Y(q,2,3),Z(q,S,B),function(ge){ge.bi_valid===16?(V(ge,ge.bi_buf),ge.bi_buf=0,ge.bi_valid=0):8<=ge.bi_valid&&(ge.pending_buf[ge.pending++]=255&ge.bi_buf,ge.bi_buf>>=8,ge.bi_valid-=8)}(q)}},{"../utils/common":41}],53:[function(r,n,a){n.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(r,n,a){(function(i){(function(s,l){if(!s.setImmediate){var o,u,m,c,f=1,p={},h=!1,d=s.document,_=Object.getPrototypeOf&&Object.getPrototypeOf(s);_=_&&_.setTimeout?_:s,o={}.toString.call(s.process)==="[object process]"?function(v){process.nextTick(function(){g(v)})}:function(){if(s.postMessage&&!s.importScripts){var v=!0,M=s.onmessage;return s.onmessage=function(){v=!1},s.postMessage("","*"),s.onmessage=M,v}}()?(c="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",S,!1):s.attachEvent("onmessage",S),function(v){s.postMessage(c+v,"*")}):s.MessageChannel?((m=new MessageChannel).port1.onmessage=function(v){g(v.data)},function(v){m.port2.postMessage(v)}):d&&"onreadystatechange"in d.createElement("script")?(u=d.documentElement,function(v){var M=d.createElement("script");M.onreadystatechange=function(){g(v),M.onreadystatechange=null,u.removeChild(M),M=null},u.appendChild(M)}):function(v){setTimeout(g,0,v)},_.setImmediate=function(v){typeof v!="function"&&(v=new Function(""+v));for(var M=new Array(arguments.length-1),I=0;I"u"?i===void 0?this:i:self)}).call(this,typeof Ka<"u"?Ka:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(DQ);var A9={exports:{}},Um={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(E,z){return{validate:E,compare:z}}e.fullFormats={date:t(i,s),time:t(o,u),"date-time":t(c,f),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:d,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:k,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:y,int32:{type:"number",validate:v},int64:{type:"number",validate:M},float:{type:"number",validate:I},double:{type:"number",validate:I},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,s),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,u),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,f),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function r(E){return E%4===0&&(E%100!==0||E%400===0)}const n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,a=[0,31,28,31,30,31,30,31,31,30,31,30,31];function i(E){const z=n.exec(E);if(!z)return!1;const B=+z[1],P=+z[2],F=+z[3];return P>=1&&P<=12&&F>=1&&F<=(P===2&&r(B)?29:a[P])}function s(E,z){if(!!(E&&z))return E>z?1:Ez?1:E=g}function M(E){return Number.isInteger(E)}function I(){return!0}const D=/[^\\]\\Z/;function k(E){if(D.test(E))return!1;try{return new RegExp(E),!0}catch{return!1}}})(Um);A9.exports=Or;A9.exports.default=Or;const IQ={$id:"https://formats.openag.io/modus/slim/v1/0.schema.json",$schema:"http://json-schema.org/draft-07/schema#",$comment:"A Flatter version of modus v1",description:` - This schema is expected to handle both the original "submission" and "result" schemas - in Modus. In this schema, a "submission" is simply a "result" with some things not - filled out (like the results, obviously). - - The general structure of this schema is one of a global "default" which can be overridden - in particular samples with the same schema, just specifying the keys that differ from - the default. i.e. the "lab" key at the top level can specify things about the lab that - are common across all samples, but then the "lab" key under any given sample would specify - things that the lab needs to record that are specific to the sample. - `,$defs:{id:{type:"string",description:"A sufficiently unique string to identify things, in any form."},aliasid:{type:"string",description:"A reference to an id that can be found physically on a sample such as a bar code or QR code"},sourcedId:{type:"object",properties:{source:{enum:["local"],description:` - A string representing the place that assigned this id. If the id does not come - from any official list, use "local". The value of this id should be considered - unique within the source list. If "local" is used, in order to ensure global - uniqueness, a random (or at least sufficiently unique) string should be generated. - For example, the id "ABCLabs_RoanokeVA" is sufficiently unique to represent an ID - for that particular lab, and preferred to simply a UUID. A given "local" should - use the same unique string to represent the same thing in subsequent documents. - `},value:{type:"string",description:"The actual sufficiently-unique string that is the id from this souce."}}},person:{type:"object",description:"Used for contacts at the lab and the source",properties:{name:{type:"string"},phone:{type:"string"},address:{type:"string"},email:{type:"string",format:"email"}}},client:{type:"object",description:"A description of the client of either the lab or the source.",properties:{accountNumber:{type:"string"},name:{type:"string"},address:{type:"string"},contact:{$ref:"#/$defs/person",description:"Who to contact at the client about this report."}}},report:{type:"object",description:` - This represents information about this document as seen by either the lab or th source, - depending on which key this report is under (lab or source). - i.e. this Modus document is a "report". This is different than how Modus v1.0 used the word - report, which was to represent PDF files separate from the Modus file. This schema places - those things under the files key.`,properties:{id:{$ref:"#/$defs/id",description:` - The id of this document at the lab or source, depending on which key it is under, - (lab or source). If the lab creates this document first, - then it should use this id also as the top-level id on the document, unless - it is not sufficiently random to avoid conflict with other labs' documents. - In that case, the lab should assign a UUID to the top level and use its own - internal id here. - `},date:{type:"string",format:"date",description:"Date the results were added to this report by the lab."}}},files:{description:` - Some labs include either a URI or a base64-encoded PDF in their Modus v1 files. - This files object is simply an unordered set of files, keyed by random string - identifiers. If the file is to be referened in the samples, the file must have an - id and the id must be the same as the key in this files object. There can be multiple - associdate files (PDF, XLSX, CSV, etc.). The file type should be inferrable from the - name on each file object. - `,additionalProperties:{type:"object",description:` - If you want to include the actual file, base64 encode it and put it in the base64 key. - Otheriwse, it can be at a URI. The file type should be inferred from the extension on - the name (i.e. something.pdf). - `,properties:{id:{type:"string",description:` - An ID for the file. If you want to refer to the file in the any given samples, - you need this id in order to refer to it with fileid. - `},name:{type:"string",description:"The filename of the file."},description:{type:"string"},uri:{type:"string",format:"uri"},base64:{type:"string",description:"The base64-encoded bytes of the file."}}}},depth:{type:"object",properties:{name:{type:"string",description:` - A human-readable version of this depth. Entirely optional and here primarily for - backwards compatibility. If an older file or spreadsheet uses a string for the depth - that is not easily parsable, it can be put as the name for posterity. If you know the - starting/ending depths, just put those in their resepective places instead. - `},top:{type:"number",description:"The top of the depth range being sampled. Should be less than the bottom."},bottom:{type:"number",description:"The bottom of the depth range being sampled. Should be greater than top."},units:{type:"string",description:'Any valid UCUM string representing a length, such as "in" or "cm".'}}},geolocation:{type:"object",description:` - Represents where a sample was taken. This can be global for all samples (i.e. a field boundary), - or, more ideally, a lat/lon for each point. If you just have a lat/lon point in the WGS84 datum, - just put the lat/lon in this object. For all other geometries, use geojson. If both lat/lon and - geojson are present for a geolocation, lat/lon takes precedence. - `,properties:{lat:{type:"number",description:"Latitude in the WGS84 datum"},lon:{type:"number",description:"Longitude in the WGS84 datum"},geojson:{type:"object",description:"GeoJSON representation of this location."}}},lab:{type:"object",description:` - This represents information about and for the lab that is producing the results. - It exists at the top-level of the document for any items that apply to all samples - and results in the document, and then it can also exist within samples or results - to specify things specific to that sample or result. Each sample or result's lab - object should be considered a "deep merge" of the top-level lab object and the - more specific lab object within the sample. Any keys present in both the top-level - lab object AND the sample-level object should be considered to be overridden in the - sample-level object (i.e. they replace the top-level key in the merge). - `,properties:{id:{$ref:"#/$defs/sourcedId"},name:{type:"string"},contact:{type:"object",description:"Information about how to contact the lab",properties:{name:{type:"string"},phone:{type:"string"},address:{type:"string"},email:{type:"string",format:"email"}}},client:{$ref:"#/$defs/client",description:"Info on the lab's client, as seen by the lab."},dateReceived:{type:"string",format:"date-time",description:"Day and time the lab received the samples. Could be overriden per-sample if needed."},dateProcessed:{type:"string",format:"date-time",description:"Day and time the lab processed the samples. Could be overriden per-sample if needed."},report:{$ref:"#/$defs/report",description:` - Information about this Modus document (id, date, etc.) as seen from the lab's - perspective. Refer to the $def for more informaiton. - `},files:{$ref:"#/$defs/files",description:` - Information representing other files associated with this Modus document at the lab. - Refer to the $defs for more information. - `},sampleid:{type:"string",description:` - ID of the sample assigned by the lab. This is not likely to be meaningful at the top-level, - and should therefore only appear in the sample's version of the lab key. - `},aliasid:{$ref:"#/$defs/aliasid",description:` - An id for a sample that can be found physically on it such as a bar code or QR code, as seen by the lab. - `},fileids:{type:"array",description:` - An array of fileid's in the list of files which are associated with this sample. Like sampleid, - this is not likely meaningful at the top level and should only really appear in the sample-specific - lab keys. - `,items:{type:"string",description:"Refers to a file in the list of files which is associated with this sample."}}}},source:{type:"object",description:` - This object represents information about the "source" of the samples. It is generally - about whomever sent the samples to the lab, and may original at the source, or be added - by the lab if known. It's purpose is primarily to identify this document and relate it - to other data at the source, such as a field where the samples were taken. The lab should - passthru anything found here when adding results if the source originated the document. - `,properties:{id:{$ref:"#/$defs/sourcedId",description:` - An identifier for the source. If self-assigned, use the "local" source. Please - refer to the id for the lab above: this follows the same rules and conventions. - `},date:{type:"string",format:"date",description:` - Date samples were collected at the source. If known, this should be the date used - as the top-level date for the document. This can be overridden per-sample under the - source key in each sample, so different samples can have different dates representing - different dates of collection. - `},contact:{$ref:"#/$defs/person",description:"Who to contact at the source for this document."},client:{$ref:"#/$defs/person",description:"If the source is submitting on behalf of their own client, put that info here."},report:{$ref:"#/$defs/report",description:` - Information about this Modus document (id, date, etc.) as seen from the source's - perspective. Refer to the $def for more informaiton. - `},files:{$ref:"#/$defs/files",description:` - Information representing other files associated with this Modus document at the source. - Refer to the $defs for more information. - `},grower:{type:"object",properties:{id:{$ref:"#/$defs/id"},name:{type:"string"}}},farm:{type:"object",properties:{id:{$ref:"#/$defs/id"},name:{type:"string"}}},field:{type:"object",properties:{id:{$ref:"#/$defs/id"},name:{type:"string"}}},subfield:{type:"object",properties:{id:{$ref:"#/$defs/id"},name:{type:"string"}}},sampleid:{type:"string",description:` - ID of the sample assigned by the source. This is not likely to be meaningful - at the top-level and therefore should only be used within the source key in - each sample. - `},aliasid:{$ref:"#/$defs/aliasid",description:` - An id for a sample that can be found physically on it such as a bar code or QR code, as seen by the source. - `},fileids:{type:"array",description:` - An array of fileid's in the list of files which are associated with this sample. Like sampleid, - this is not likely meaningful at the top level and should only really appear in the sample-specific - lab keys. - `,items:{type:"string",description:"Refers to a file in the list of files which is associated with this sample."}}}}},type:"object",properties:{_type:{const:"application/vnd.modus.slim.v1.0+json",description:"Content type for API responses. Must also be present on the document."},id:{$ref:"#/$defs/id",description:` - The "id" on the overall document is set by the original creator and should not be modified. - Both the lab and source have the option to set their own internal ID's in their respective - areas. It is expected (but not required) that if the lab originally creates the document, - the id on the document will be the same as the id under the lab key, and similar for the - source. Any two documents with the same top-level id should be considered the same. - `},date:{type:"string",format:"date",description:` - This is intended as the most significant, known date at the time of document creation. - It will be used as the primary "date" that systems can use to index this document. - Ideally, it is the date that the samples were collected in the field. However, in the - event that date is not known, for example if the lab is the first creator of the document - and the lab does not know the date the samples were collected, then the lab should assign - the date as the earliest date of significance, i.e. the date the lab received the samples. - Should a better date be determined later (i.e. the source receives the document from the - lab and can put in the actual sample collection date), the date should be changed to the - more significant date. - `},name:{type:"string",description:` - An optional short string that the source may use as a human-readable means of identifying - the group of samples in this document. - `},description:{type:"string",description:` - If the name is not long enough, more information can be put here about this group of - samples. - `},type:{enum:["soil","plant-tissue","nematode","water","residue"],description:` - This represents the type of samples and results to be found in this document. Mixing-and-matching - samples and types is not allowed: create multiple documents if you need to do that. "type" here - is top-level: i.e. it applies to all samples and results in this document. - `},depth:{$ref:"#/$defs/depth",description:` - If all or most of the samples in this document were taken at the same depth, you can place the depth - here globally and then override any sample-specific depths within the individual samples. - `},geolocation:{$ref:"#/$defs/geolocation",description:` - Any geolocation information that relates to all samples globally should go here. For example, - a boundary containing all the points that were sampled. If you have point-specific location - information, it should go in the sample-specific geolocation key under each sample. - `},crop:{},lab:{$ref:"#/$defs/lab",description:` - See description in the $defs. This represents global information about and for the lab - which applies docuent-wide (i.e. all samples and all results). - `},source:{$ref:"#/$defs/source",description:` - See description in the $defs. This represents global information about and for the source - which applies document-wide (i.e. all samples and all results). - `},samples:{description:` - The list of samples, keyed by their respective id's. - `,additionalProperties:{type:"object",properties:{id:{$ref:"#/$defs/id",description:` - An ID for this sample, assigned by whomever first creates this document containing this sample. It must - be the same as the key in the samples object (i.e. where this sample resides in the list). It must - be unique at least within this document. If you want a globally unique sampleid, prefix this id with the - id at the top-level of this document. - - If the lab creates this document first, this should be the same as the lab.sampleid. If the source - creates this sample first, it should be the same as the source.sampleid. However, it can also just - be assigned as something other than both, so this is just a recommendation. - `},lab:{$ref:"#/$defs/lab",description:` - Sample-specific overrides for anything in the top-level lab key. - `},source:{$ref:"#/$defs/source",description:` - Sample-specific overrides for anything in the top-level source key. - `},depth:{$ref:"#/$defs/depth",description:"The depth that this sample was taken. Overrides the top-level depth for this sample."},geolocation:{$ref:"#/$defs/geolocation",description:` - Geolocation where this sample was taken. Can be lat/lon (preferred) or geojson. - Refer to the $ref for more information. - `},results:{type:"object",description:` - A list of all the lab results associated with this sample, keyed by a sufficiently-unique string. - Note that since some analytes could be present multiple times, this should just be a random string. - `,additionalProperties:{type:"object",properties:{analyte:{type:"string",description:` - This should be the part of the Modus 2.0 test ID that is between the third and - fourth underscores: L_MODV2_SOIL_B_016 -> analyte: B. Refer to the Modus 2.0 spreadsheet - for the complete list of known analytes. - `},value:{description:` - The value of this lab result for this analyte. If it is numeric in nature, the type - should be number. If it cannot be reprented as a number, then it should be a string. - `,oneOf:[{type:"number"},{type:"string"}]},units:{type:"string",description:"The units for this value. Any UCUM-compliant string should be valid."},modusTestID:{type:"string",description:` - The Modus v2.0 (preferred) ID for the test that produced this result, or the Modus v1.0 - test ID. If neither is known, do not include this key. It is recommended to always - include the Modus v2.0 test ID if it is known. - `}}}}}}}},required:["id","date","type"],examples:[{_type:"application/vnd.modus.slim.v1.0+json",id:"ece3a2a8-4340-48b1-ae1f-d48d1f1e1692",date:"2021-09-24",name:"Samples taken last sunday",type:"soil",lab:{id:{source:"local",value:"1"},name:"A & L Great Lakes Laboratories",contact:{name:"A & L Great Lakes Laboratories",phone:"260.483.4759",address:`3505 Conestoga Dr. -Fort Wayne, IN 46808`},dateReceived:"2021-09-24T00:00:00.000",dateProcessed:"2021-09-28T00:00:00.000",clientAccount:{accountNumber:"30039",company:"THE ANDERSONS FARM CTR - GPS",city:"N MANCHESTER",state:"IN"},report:{id:"F21271-0035",date:"2021-09-25"}},source:{report:{id:"02iojfkeldjsldfssdf"},grower:{id:"dfj20foekdlf",name:"CARL AULT"},farm:{id:"kdjf02ijfoeklew",name:"ENYART"},field:{id:"idkjf20fijoed",name:"EAST50"}},samples:{"0djfi2iekldsfj02i":{lab:{sampleid:"28_051"},source:{sampleid:"ABC-1"},results:{kfj290ji:{analyte:"PH",value:7,units:"none",modusTestID:"S-PH-1:1.02.07"},"2fj290ji":{analyte:"OM",value:2.4,units:"%",modusTestID:"S-SOM-LOI.15"},"3fj290ji":{analyte:"P",value:34,units:"ppm",modusTestID:"S-P-B1-1:10.01.03"},"4fj290ji":{analyte:"K",value:161,units:"ppm",modusTestID:"S-K-NH4AC.05"},"5fj290ji":{analyte:"CA",value:1150,units:"ppm",modusTestID:"S-CA-NH4AC.05"},"6fj290ji":{analyte:"Mg",value:240,units:"ppm",modusTestID:"S-MG-NH4AC.05"},"7fj290ji":{analyte:"CEC",value:8.2,units:"meq/100g",modusTestID:"S-CEC.19"},"8fj290ji":{analyte:"CABS",value:70.4,units:"%",modusTestID:"S-BS-CA.19"},"9fj290ji":{analyte:"MGBS",value:24.5,units:"%",modusTestID:"S-BS-MG.19"},"0fj290ji":{analyte:"KBS",value:5.1,units:"%",modusTestID:"S-BS-K.19"},"11j290ji":{analyte:"SO4S",value:7,units:"ppm",modusTestID:"S-S-NH4AC.05"},"12j290ji":{analyte:"ZN",value:3.3,units:"ppm",modusTestID:"S-ZN-HCL.05"},"13j290ji":{analyte:"MN",value:46,units:"ppm",modusTestID:"S-MN-HCL.05"},"14j290ji":{analyte:"B",value:.7,units:"ppm",modusTestID:"S-B-M3.04"}}}}}]},zC=Um.fullFormats.date,k9={type:"object",properties:{source:{enum:["local"],description:` - A string representing the place that assigned this id. If the id does not come - from any official list, use "local". The value of this id should be considered - unique within the source list. If "local" is used, in order to ensure global - uniqueness, a random (or at least sufficiently unique) string should be generated. - For example, the id "ABCLabs_RoanokeVA" is sufficiently unique to represent an ID - for that particular lab, and preferred to simply a UUID. A given "local" should - use the same unique string to represent the same thing in subsequent documents. - `},value:{type:"string",description:"The actual sufficiently-unique string that is the id from this souce."}}},X2=/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,J5=Um.fullFormats["date-time"],P9=Um.fullFormats.uri;function Ba(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.accountNumber!==void 0){const u=s;if(typeof e.accountNumber!="string")return Ba.errors=[{instancePath:t+"/accountNumber",schemaPath:"#/properties/accountNumber/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=u===s}else var l=!0;if(l){if(e.name!==void 0){const u=s;if(typeof e.name!="string")return Ba.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=u===s}else var l=!0;if(l){if(e.address!==void 0){const u=s;if(typeof e.address!="string")return Ba.errors=[{instancePath:t+"/address",schemaPath:"#/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=u===s}else var l=!0;if(l)if(e.contact!==void 0){let u=e.contact;const m=s;if(u&&typeof u=="object"&&!Array.isArray(u)){if(u.name!==void 0){const f=s;if(typeof u.name!="string")return Ba.errors=[{instancePath:t+"/contact/name",schemaPath:"#/$defs/person/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=f===s}else var o=!0;if(o){if(u.phone!==void 0){const f=s;if(typeof u.phone!="string")return Ba.errors=[{instancePath:t+"/contact/phone",schemaPath:"#/$defs/person/properties/phone/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=f===s}else var o=!0;if(o){if(u.address!==void 0){const f=s;if(typeof u.address!="string")return Ba.errors=[{instancePath:t+"/contact/address",schemaPath:"#/$defs/person/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=f===s}else var o=!0;if(o)if(u.email!==void 0){let f=u.email;const p=s;if(typeof f=="string"){if(!X2.test(f))return Ba.errors=[{instancePath:t+"/contact/email",schemaPath:"#/$defs/person/properties/email/format",keyword:"format",params:{format:"email"},message:'must match format "email"'}],!1}else return Ba.errors=[{instancePath:t+"/contact/email",schemaPath:"#/$defs/person/properties/email/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=p===s}else var o=!0}}}else return Ba.errors=[{instancePath:t+"/contact",schemaPath:"#/$defs/person/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=m===s}else var l=!0}}}else return Ba.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ba.errors=i,s===0}function Ml(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.id!==void 0){const o=s;if(typeof e.id!="string")return Ml.errors=[{instancePath:t+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=o===s}else var l=!0;if(l)if(e.date!==void 0){let o=e.date;const u=s;if(typeof o=="string"){if(!zC.validate(o))return Ml.errors=[{instancePath:t+"/date",schemaPath:"#/properties/date/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return Ml.errors=[{instancePath:t+"/date",schemaPath:"#/properties/date/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=u===s}else var l=!0}else return Ml.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ml.errors=i,s===0}function Rr(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.id!==void 0){let p=e.id;const h=s;if(s===s)if(p&&typeof p=="object"&&!Array.isArray(p)){if(p.source!==void 0){const _=s;if(p.source!=="local")return Rr.errors=[{instancePath:t+"/id/source",schemaPath:"#/$defs/sourcedId/properties/source/enum",keyword:"enum",params:{allowedValues:k9.properties.source.enum},message:"must be equal to one of the allowed values"}],!1;var l=_===s}else var l=!0;if(l)if(p.value!==void 0){const _=s;if(typeof p.value!="string")return Rr.errors=[{instancePath:t+"/id/value",schemaPath:"#/$defs/sourcedId/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=_===s}else var l=!0}else return Rr.errors=[{instancePath:t+"/id",schemaPath:"#/$defs/sourcedId/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=h===s}else var o=!0;if(o){if(e.name!==void 0){const p=s;if(typeof e.name!="string")return Rr.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=p===s}else var o=!0;if(o){if(e.contact!==void 0){let p=e.contact;const h=s;if(s===h)if(p&&typeof p=="object"&&!Array.isArray(p)){if(p.name!==void 0){const _=s;if(typeof p.name!="string")return Rr.errors=[{instancePath:t+"/contact/name",schemaPath:"#/properties/contact/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=_===s}else var u=!0;if(u){if(p.phone!==void 0){const _=s;if(typeof p.phone!="string")return Rr.errors=[{instancePath:t+"/contact/phone",schemaPath:"#/properties/contact/properties/phone/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=_===s}else var u=!0;if(u){if(p.address!==void 0){const _=s;if(typeof p.address!="string")return Rr.errors=[{instancePath:t+"/contact/address",schemaPath:"#/properties/contact/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=_===s}else var u=!0;if(u)if(p.email!==void 0){let _=p.email;const y=s;if(s===y&&s===y)if(typeof _=="string"){if(!X2.test(_))return Rr.errors=[{instancePath:t+"/contact/email",schemaPath:"#/properties/contact/properties/email/format",keyword:"format",params:{format:"email"},message:'must match format "email"'}],!1}else return Rr.errors=[{instancePath:t+"/contact/email",schemaPath:"#/properties/contact/properties/email/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=y===s}else var u=!0}}}else return Rr.errors=[{instancePath:t+"/contact",schemaPath:"#/properties/contact/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=h===s}else var o=!0;if(o){if(e.client!==void 0){const p=s;Ba(e.client,{instancePath:t+"/client",parentData:e,parentDataProperty:"client",rootData:a})||(i=i===null?Ba.errors:i.concat(Ba.errors),s=i.length);var o=p===s}else var o=!0;if(o){if(e.dateReceived!==void 0){let p=e.dateReceived;const h=s;if(s===h&&s===h)if(typeof p=="string"){if(!J5.validate(p))return Rr.errors=[{instancePath:t+"/dateReceived",schemaPath:"#/properties/dateReceived/format",keyword:"format",params:{format:"date-time"},message:'must match format "date-time"'}],!1}else return Rr.errors=[{instancePath:t+"/dateReceived",schemaPath:"#/properties/dateReceived/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=h===s}else var o=!0;if(o){if(e.dateProcessed!==void 0){let p=e.dateProcessed;const h=s;if(s===h&&s===h)if(typeof p=="string"){if(!J5.validate(p))return Rr.errors=[{instancePath:t+"/dateProcessed",schemaPath:"#/properties/dateProcessed/format",keyword:"format",params:{format:"date-time"},message:'must match format "date-time"'}],!1}else return Rr.errors=[{instancePath:t+"/dateProcessed",schemaPath:"#/properties/dateProcessed/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=h===s}else var o=!0;if(o){if(e.report!==void 0){const p=s;Ml(e.report,{instancePath:t+"/report",parentData:e,parentDataProperty:"report",rootData:a})||(i=i===null?Ml.errors:i.concat(Ml.errors),s=i.length);var o=p===s}else var o=!0;if(o){if(e.files!==void 0){let p=e.files;const h=s;if(p&&typeof p=="object"&&!Array.isArray(p))for(const _ in p){let y=p[_];const g=s;if(s===g)if(y&&typeof y=="object"&&!Array.isArray(y)){if(y.id!==void 0){const S=s;if(typeof y.id!="string")return Rr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/id",schemaPath:"#/$defs/files/additionalProperties/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=S===s}else var m=!0;if(m){if(y.name!==void 0){const S=s;if(typeof y.name!="string")return Rr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/name",schemaPath:"#/$defs/files/additionalProperties/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=S===s}else var m=!0;if(m){if(y.description!==void 0){const S=s;if(typeof y.description!="string")return Rr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/description",schemaPath:"#/$defs/files/additionalProperties/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=S===s}else var m=!0;if(m){if(y.uri!==void 0){let S=y.uri;const v=s;if(s===v&&s===v)if(typeof S=="string"){if(!P9(S))return Rr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/uri",schemaPath:"#/$defs/files/additionalProperties/properties/uri/format",keyword:"format",params:{format:"uri"},message:'must match format "uri"'}],!1}else return Rr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/uri",schemaPath:"#/$defs/files/additionalProperties/properties/uri/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=v===s}else var m=!0;if(m)if(y.base64!==void 0){const S=s;if(typeof y.base64!="string")return Rr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/base64",schemaPath:"#/$defs/files/additionalProperties/properties/base64/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=S===s}else var m=!0}}}}else return Rr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1"),schemaPath:"#/$defs/files/additionalProperties/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var c=g===s;if(!c)break}var o=h===s}else var o=!0;if(o){if(e.sampleid!==void 0){const p=s;if(typeof e.sampleid!="string")return Rr.errors=[{instancePath:t+"/sampleid",schemaPath:"#/properties/sampleid/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=p===s}else var o=!0;if(o){if(e.aliasid!==void 0){const p=s;if(typeof e.aliasid!="string")return Rr.errors=[{instancePath:t+"/aliasid",schemaPath:"#/$defs/aliasid/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=p===s}else var o=!0;if(o)if(e.fileids!==void 0){let p=e.fileids;const h=s;if(s===h)if(Array.isArray(p)){var f=!0;const _=p.length;for(let y=0;y<_;y++){const g=s;if(typeof p[y]!="string")return Rr.errors=[{instancePath:t+"/fileids/"+y,schemaPath:"#/properties/fileids/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=g===s;if(!f)break}}else return Rr.errors=[{instancePath:t+"/fileids",schemaPath:"#/properties/fileids/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var o=h===s}else var o=!0}}}}}}}}}}else return Rr.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Rr.errors=i,s===0}function lr(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.id!==void 0){let g=e.id;const S=s;if(s===s)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.source!==void 0){const M=s;if(g.source!=="local")return lr.errors=[{instancePath:t+"/id/source",schemaPath:"#/$defs/sourcedId/properties/source/enum",keyword:"enum",params:{allowedValues:k9.properties.source.enum},message:"must be equal to one of the allowed values"}],!1;var l=M===s}else var l=!0;if(l)if(g.value!==void 0){const M=s;if(typeof g.value!="string")return lr.errors=[{instancePath:t+"/id/value",schemaPath:"#/$defs/sourcedId/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=M===s}else var l=!0}else return lr.errors=[{instancePath:t+"/id",schemaPath:"#/$defs/sourcedId/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.date!==void 0){let g=e.date;const S=s;if(s===S&&s===S)if(typeof g=="string"){if(!zC.validate(g))return lr.errors=[{instancePath:t+"/date",schemaPath:"#/properties/date/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return lr.errors=[{instancePath:t+"/date",schemaPath:"#/properties/date/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=S===s}else var o=!0;if(o){if(e.contact!==void 0){let g=e.contact;const S=s;if(s===s)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.name!==void 0){const I=s;if(typeof g.name!="string")return lr.errors=[{instancePath:t+"/contact/name",schemaPath:"#/$defs/person/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=I===s}else var u=!0;if(u){if(g.phone!==void 0){const I=s;if(typeof g.phone!="string")return lr.errors=[{instancePath:t+"/contact/phone",schemaPath:"#/$defs/person/properties/phone/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=I===s}else var u=!0;if(u){if(g.address!==void 0){const I=s;if(typeof g.address!="string")return lr.errors=[{instancePath:t+"/contact/address",schemaPath:"#/$defs/person/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=I===s}else var u=!0;if(u)if(g.email!==void 0){let I=g.email;const D=s;if(s===D&&s===D)if(typeof I=="string"){if(!X2.test(I))return lr.errors=[{instancePath:t+"/contact/email",schemaPath:"#/$defs/person/properties/email/format",keyword:"format",params:{format:"email"},message:'must match format "email"'}],!1}else return lr.errors=[{instancePath:t+"/contact/email",schemaPath:"#/$defs/person/properties/email/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=D===s}else var u=!0}}}else return lr.errors=[{instancePath:t+"/contact",schemaPath:"#/$defs/person/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.client!==void 0){let g=e.client;const S=s;if(s===s)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.name!==void 0){const I=s;if(typeof g.name!="string")return lr.errors=[{instancePath:t+"/client/name",schemaPath:"#/$defs/person/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=I===s}else var m=!0;if(m){if(g.phone!==void 0){const I=s;if(typeof g.phone!="string")return lr.errors=[{instancePath:t+"/client/phone",schemaPath:"#/$defs/person/properties/phone/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=I===s}else var m=!0;if(m){if(g.address!==void 0){const I=s;if(typeof g.address!="string")return lr.errors=[{instancePath:t+"/client/address",schemaPath:"#/$defs/person/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=I===s}else var m=!0;if(m)if(g.email!==void 0){let I=g.email;const D=s;if(s===D&&s===D)if(typeof I=="string"){if(!X2.test(I))return lr.errors=[{instancePath:t+"/client/email",schemaPath:"#/$defs/person/properties/email/format",keyword:"format",params:{format:"email"},message:'must match format "email"'}],!1}else return lr.errors=[{instancePath:t+"/client/email",schemaPath:"#/$defs/person/properties/email/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=D===s}else var m=!0}}}else return lr.errors=[{instancePath:t+"/client",schemaPath:"#/$defs/person/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.report!==void 0){const g=s;Ml(e.report,{instancePath:t+"/report",parentData:e,parentDataProperty:"report",rootData:a})||(i=i===null?Ml.errors:i.concat(Ml.errors),s=i.length);var o=g===s}else var o=!0;if(o){if(e.files!==void 0){let g=e.files;const S=s;if(g&&typeof g=="object"&&!Array.isArray(g))for(const M in g){let I=g[M];const D=s;if(s===D)if(I&&typeof I=="object"&&!Array.isArray(I)){if(I.id!==void 0){const k=s;if(typeof I.id!="string")return lr.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/id",schemaPath:"#/$defs/files/additionalProperties/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=k===s}else var c=!0;if(c){if(I.name!==void 0){const k=s;if(typeof I.name!="string")return lr.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/name",schemaPath:"#/$defs/files/additionalProperties/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=k===s}else var c=!0;if(c){if(I.description!==void 0){const k=s;if(typeof I.description!="string")return lr.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/description",schemaPath:"#/$defs/files/additionalProperties/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=k===s}else var c=!0;if(c){if(I.uri!==void 0){let k=I.uri;const E=s;if(s===E&&s===E)if(typeof k=="string"){if(!P9(k))return lr.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/uri",schemaPath:"#/$defs/files/additionalProperties/properties/uri/format",keyword:"format",params:{format:"uri"},message:'must match format "uri"'}],!1}else return lr.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/uri",schemaPath:"#/$defs/files/additionalProperties/properties/uri/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=E===s}else var c=!0;if(c)if(I.base64!==void 0){const k=s;if(typeof I.base64!="string")return lr.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/base64",schemaPath:"#/$defs/files/additionalProperties/properties/base64/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=k===s}else var c=!0}}}}else return lr.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1"),schemaPath:"#/$defs/files/additionalProperties/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=D===s;if(!f)break}var o=S===s}else var o=!0;if(o){if(e.grower!==void 0){let g=e.grower;const S=s;if(s===S)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.id!==void 0){const M=s;if(typeof g.id!="string")return lr.errors=[{instancePath:t+"/grower/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var p=M===s}else var p=!0;if(p)if(g.name!==void 0){const M=s;if(typeof g.name!="string")return lr.errors=[{instancePath:t+"/grower/name",schemaPath:"#/properties/grower/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var p=M===s}else var p=!0}else return lr.errors=[{instancePath:t+"/grower",schemaPath:"#/properties/grower/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.farm!==void 0){let g=e.farm;const S=s;if(s===S)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.id!==void 0){const M=s;if(typeof g.id!="string")return lr.errors=[{instancePath:t+"/farm/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var h=M===s}else var h=!0;if(h)if(g.name!==void 0){const M=s;if(typeof g.name!="string")return lr.errors=[{instancePath:t+"/farm/name",schemaPath:"#/properties/farm/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var h=M===s}else var h=!0}else return lr.errors=[{instancePath:t+"/farm",schemaPath:"#/properties/farm/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.field!==void 0){let g=e.field;const S=s;if(s===S)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.id!==void 0){const M=s;if(typeof g.id!="string")return lr.errors=[{instancePath:t+"/field/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var d=M===s}else var d=!0;if(d)if(g.name!==void 0){const M=s;if(typeof g.name!="string")return lr.errors=[{instancePath:t+"/field/name",schemaPath:"#/properties/field/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var d=M===s}else var d=!0}else return lr.errors=[{instancePath:t+"/field",schemaPath:"#/properties/field/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.subfield!==void 0){let g=e.subfield;const S=s;if(s===S)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.id!==void 0){const M=s;if(typeof g.id!="string")return lr.errors=[{instancePath:t+"/subfield/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var _=M===s}else var _=!0;if(_)if(g.name!==void 0){const M=s;if(typeof g.name!="string")return lr.errors=[{instancePath:t+"/subfield/name",schemaPath:"#/properties/subfield/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var _=M===s}else var _=!0}else return lr.errors=[{instancePath:t+"/subfield",schemaPath:"#/properties/subfield/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.sampleid!==void 0){const g=s;if(typeof e.sampleid!="string")return lr.errors=[{instancePath:t+"/sampleid",schemaPath:"#/properties/sampleid/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=g===s}else var o=!0;if(o){if(e.aliasid!==void 0){const g=s;if(typeof e.aliasid!="string")return lr.errors=[{instancePath:t+"/aliasid",schemaPath:"#/$defs/aliasid/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=g===s}else var o=!0;if(o)if(e.fileids!==void 0){let g=e.fileids;const S=s;if(s===S)if(Array.isArray(g)){var y=!0;const M=g.length;for(let I=0;I=55296&&a<=56319&&n=",limit:1},message:"must be >= 1"}],!1;var l=f===s}else var l=!0;if(l){if(e.ExpirationDate!==void 0){let c=e.ExpirationDate;const f=s;if(typeof c=="string"){if(!ym.validate(c))return Ss.errors=[{instancePath:t+"/ExpirationDate",schemaPath:"#/properties/ExpirationDate/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return Ss.errors=[{instancePath:t+"/ExpirationDate",schemaPath:"#/properties/ExpirationDate/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=f===s}else var l=!0;if(l)if(e.RecID!==void 0){let c=e.RecID;const f=s;if(!(typeof c=="number"&&!(c%1)&&!isNaN(c)))return Ss.errors=[{instancePath:t+"/RecID",schemaPath:"#/properties/RecID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(typeof c=="number"&&(c<1||isNaN(c)))return Ss.errors=[{instancePath:t+"/RecID",schemaPath:"#/properties/RecID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var l=f===s}else var l=!0}}}}}else return Ss.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ss.errors=i,s===0}function xu(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(Array.isArray(e)){var l=!0;const o=e.length;for(let u=0;u=",limit:0},message:"must be >= 0"}],!1;var c=nt===s}else var c=!0;if(c){if(ee.EndingDepth!==void 0){let me=ee.EndingDepth;const nt=s;if(!(typeof me=="number"&&!(me%1)&&!isNaN(me)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof me=="number"&&(me<0||isNaN(me)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var c=nt===s}else var c=!0;if(c){if(ee.ColumnDepth!==void 0){let me=ee.ColumnDepth;const nt=s;if(!(typeof me=="number"&&!(me%1)&&!isNaN(me)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof me=="number"&&(me<0||isNaN(me)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var c=nt===s}else var c=!0;if(c){if(ee.DepthUnit!==void 0){const me=s;if(typeof ee.DepthUnit!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=me===s}else var c=!0;if(c)if(ee.DepthID!==void 0){let me=ee.DepthID;const nt=s;if(!(typeof me=="number"&&!(me%1)&&!isNaN(me)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof me=="number"&&(me<1||isNaN(me)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var c=nt===s}else var c=!0}}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=Ye===s;if(!m)break}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var f=de===s}else var f=!0;if(f){if(U.RecommendationRefs!==void 0){const Se=s;Vu(U.RecommendationRefs,{instancePath:t+"/Events/"+C+"/EventSamples/Soil/RecommendationRefs",parentData:U,parentDataProperty:"RecommendationRefs",rootData:a})||(i=i===null?Vu.errors:i.concat(Vu.errors),s=i.length);var f=Se===s}else var f=!0;if(f)if(U.SoilSamples!==void 0){let Se=U.SoilSamples;const de=s;if(s===de)if(Array.isArray(Se)){var p=!0;const It=Se.length;for(let Q=0;Q=",limit:0},message:"must be >= 0"}],!1;var _=lt===s}else var _=!0;if(_){if(ye.SubSampleID!==void 0){const We=s;if(typeof ye.SubSampleID!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var _=We===s}else var _=!0;if(_)if(ye.Geometry!==void 0){let We=ye.Geometry;const lt=s;if(s===lt)if(We&&typeof We=="object"&&!Array.isArray(We)){if(We.epsg!==void 0){let gt=We.epsg;if(!(typeof gt=="number"&&!(gt%1)&&!isNaN(gt)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=lt===s}else var _=!0}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var d=fe===s;if(!d)break}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var h=ne===s}else var h=!0;if(h)if(De.TestPackages!==void 0){let A=De.TestPackages;const ne=s;if(s===ne)if(Array.isArray(A)){var y=!0;const Ge=A.length;for(let ue=0;ue1){const fe={};for(;ue--;){let Qe=A[ue];if(typeof Qe=="string"){if(typeof fe[Qe]=="number")return ye=fe[Qe],ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ue,j:ye},message:"must NOT have duplicate items (items ## "+ye+" and "+ue+" are identical)"}],!1;fe[Qe]=ue}}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var h=ne===s}else var h=!0}}}}}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var g=me===s}else var g=!0;if(g){if(ee.Depths!==void 0){let De=ee.Depths;const me=s;if(s===me)if(Array.isArray(De)){var S=!0;const A=De.length;for(let ne=0;ne=",limit:0},message:"must be >= 0"}],!1;var E=yt===s}else var E=!0;if(E){if(fe.SubSampleID!==void 0){const lt=s;if(typeof fe.SubSampleID!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var E=lt===s}else var E=!0;if(E)if(fe.Geometry!==void 0){let lt=fe.Geometry;const yt=s;if(s===yt)if(lt&&typeof lt=="object"&&!Array.isArray(lt)){if(lt.epsg!==void 0){let Ht=lt.epsg;if(!(typeof Ht=="number"&&!(Ht%1)&&!isNaN(Ht)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var E=yt===s}else var E=!0}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var k=Qe===s;if(!k)break}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=je===s}else var D=!0;if(D)if(me.TestPackages!==void 0){let ne=me.TestPackages;const je=s;if(s===je)if(Array.isArray(ne)){var z=!0;const ue=ne.length;for(let ye=0;ye1){const Qe={};for(;ye--;){let We=ne[ye];if(typeof We=="string"){if(typeof Qe[We]=="number")return fe=Qe[We],ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ye,j:fe},message:"must NOT have duplicate items (items ## "+fe+" and "+ye+" are identical)"}],!1;Qe[We]=ye}}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=je===s}else var D=!0}}}}}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var B=nt===s}else var B=!0;if(B)if(Ye.Comments!==void 0){const me=s;if(typeof Ye.Comments!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var B=me===s}else var B=!0}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/properties/PlantSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var I=Et===s;if(!I)break}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/properties/PlantSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var M=He===s}else var M=!0}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=te===s}else var v=!0;if(v){if(qe.Nematode!==void 0){let U=qe.Nematode;const te=s;if(s===te)if(U&&typeof U=="object"&&!Array.isArray(U)){if(U.DepthRefs!==void 0){let de=U.DepthRefs;const He=s;if(s===s)if(Array.isArray(de)){var P=!0;const Q=de.length;for(let ee=0;ee=",limit:0},message:"must be >= 0"}],!1;var F=A===s}else var F=!0;if(F){if(Ye.EndingDepth!==void 0){let nt=Ye.EndingDepth;const A=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===A&&typeof nt=="number"&&(nt<0||isNaN(nt)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var F=A===s}else var F=!0;if(F){if(Ye.ColumnDepth!==void 0){let nt=Ye.ColumnDepth;const A=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===A&&typeof nt=="number"&&(nt<0||isNaN(nt)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var F=A===s}else var F=!0;if(F){if(Ye.DepthUnit!==void 0){const nt=s;if(typeof Ye.DepthUnit!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var F=nt===s}else var F=!0;if(F)if(Ye.DepthID!==void 0){let nt=Ye.DepthID;const A=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===A&&typeof nt=="number"&&(nt<1||isNaN(nt)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var F=A===s}else var F=!0}}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var P=Et===s;if(!P)break}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var L=He===s}else var L=!0;if(L)if(U.NematodeSamples!==void 0){let de=U.NematodeSamples;const He=s;if(s===He)if(Array.isArray(de)){var H=!0;const Q=de.length;for(let ee=0;ee=",limit:0},message:"must be >= 0"}],!1;var pe=yt===s}else var pe=!0;if(pe){if(fe.SubSampleID!==void 0){const lt=s;if(typeof fe.SubSampleID!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var pe=lt===s}else var pe=!0;if(pe)if(fe.Geometry!==void 0){let lt=fe.Geometry;const yt=s;if(s===yt)if(lt&&typeof lt=="object"&&!Array.isArray(lt)){if(lt.epsg!==void 0){let Ht=lt.epsg;if(!(typeof Ht=="number"&&!(Ht%1)&&!isNaN(Ht)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var pe=yt===s}else var pe=!0}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var G=Qe===s;if(!G)break}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ie=je===s}else var ie=!0;if(ie)if(me.TestPackages!==void 0){let ne=me.TestPackages;const je=s;if(s===je)if(Array.isArray(ne)){var W=!0;const ue=ne.length;for(let ye=0;ye1){const Qe={};for(;ye--;){let We=ne[ye];if(typeof We=="string"){if(typeof Qe[We]=="number")return fe=Qe[We],ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ye,j:fe},message:"must NOT have duplicate items (items ## "+fe+" and "+ye+" are identical)"}],!1;Qe[We]=ye}}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ie=je===s}else var ie=!0}}}}}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ce=nt===s}else var ce=!0;if(ce){if(Ye.Depths!==void 0){let me=Ye.Depths;const nt=s;if(s===nt)if(Array.isArray(me)){var J=!0;const ne=me.length;for(let je=0;je=",limit:1},message:"must be >= 1"}],!1}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/Depths/"+je,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var J=ue===s;if(!J)break}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/Depths",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ce=nt===s}else var ce=!0;if(ce)if(Ye.Comments!==void 0){const me=s;if(typeof Ye.Comments!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var ce=me===s}else var ce=!0}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var H=Et===s;if(!H)break}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var L=He===s}else var L=!0}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=te===s}else var v=!0;if(v){if(qe.Water!==void 0){let U=qe.Water;const te=s;if(s===te)if(U&&typeof U=="object"&&!Array.isArray(U)){if(U.WaterSamples!==void 0){let de=U.WaterSamples;if(s===s)if(Array.isArray(de)){var R=!0;const It=de.length;for(let Q=0;Q=",limit:0},message:"must be >= 0"}],!1;var Z=lt===s}else var Z=!0;if(Z){if(ye.SubSampleID!==void 0){const We=s;if(typeof ye.SubSampleID!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Z=We===s}else var Z=!0;if(Z)if(ye.Geometry!==void 0){let We=ye.Geometry;const lt=s;if(s===lt)if(We&&typeof We=="object"&&!Array.isArray(We)){if(We.epsg!==void 0){let gt=We.epsg;if(!(typeof gt=="number"&&!(gt%1)&&!isNaN(gt)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Z=lt===s}else var Z=!0}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Y=fe===s;if(!Y)break}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var V=ne===s}else var V=!0;if(V)if(De.TestPackages!==void 0){let A=De.TestPackages;const ne=s;if(s===ne)if(Array.isArray(A)){var Re=!0;const Ge=A.length;for(let ue=0;ue1){const fe={};for(;ue--;){let Qe=A[ue];if(typeof Qe=="string"){if(typeof fe[Qe]=="number")return ye=fe[Qe],ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ue,j:ye},message:"must NOT have duplicate items (items ## "+ye+" and "+ue+" are identical)"}],!1;fe[Qe]=ue}}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var V=ne===s}else var V=!0}}}}}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Je=me===s}else var Je=!0;if(Je){if(ee.Source!==void 0){const De=s;if(typeof ee.Source!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/Source",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/items/properties/Source/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Je=De===s}else var Je=!0;if(Je){if(ee.NutrientResults!==void 0){let De=ee.NutrientResults;const me=s;if(s===s)if(Array.isArray(De)){var xe=!0;const ne=De.length;for(let je=0;je=",limit:0},message:"must be >= 0"}],!1;var vt=lt===s}else var vt=!0;if(vt){if(ye.SubSampleID!==void 0){const We=s;if(typeof ye.SubSampleID!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var vt=We===s}else var vt=!0;if(vt)if(ye.Geometry!==void 0){let We=ye.Geometry;const lt=s;if(s===lt)if(We&&typeof We=="object"&&!Array.isArray(We)){if(We.epsg!==void 0){let gt=We.epsg;if(!(typeof gt=="number"&&!(gt%1)&&!isNaN(gt)))return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var vt=lt===s}else var vt=!0}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ne=fe===s;if(!Ne)break}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Pe=ne===s}else var Pe=!0;if(Pe)if(De.TestPackages!==void 0){let A=De.TestPackages;const ne=s;if(s===ne)if(Array.isArray(A)){var T=!0;const Ge=A.length;for(let ue=0;ue1){const fe={};for(;ue--;){let Qe=A[ue];if(typeof Qe=="string"){if(typeof fe[Qe]=="number")return ye=fe[Qe],ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ue,j:ye},message:"must NOT have duplicate items (items ## "+ye+" and "+ue+" are identical)"}],!1;fe[Qe]=ue}}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Pe=ne===s}else var Pe=!0}}}}}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var we=me===s}else var we=!0;if(we){if(ee.ResidueResults!==void 0){let De=ee.ResidueResults;const me=s;if(s===s)if(Array.isArray(De)){var Ue=!0;const ne=De.length;for(let je=0;je50)return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/maxLength",keyword:"maxLength",params:{limit:50},message:"must NOT have more than 50 characters"}],!1;if(eS(fe)<1)return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters"}],!1}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=Qe===s}else var K=!0;if(K){if(Ge.Value!==void 0){const fe=s;if(typeof Ge.Value!="number")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/Value",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/Value/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var K=fe===s}else var K=!0;if(K){if(Ge.ValueUnit!==void 0){const fe=s;if(typeof Ge.ValueUnit!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/ValueUnit",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=fe===s}else var K=!0;if(K){if(Ge.ValueType!==void 0){const fe=s;if(typeof Ge.ValueType!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/ValueType",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=fe===s}else var K=!0;if(K)if(Ge.ValueDesc!==void 0){const fe=s;if(typeof Ge.ValueDesc!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueDesc/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=fe===s}else var K=!0}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je,schemaPath:"./global.schema.json#/$defs/ResidueResults/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ue=ue===s;if(!Ue)break}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults",schemaPath:"./global.schema.json#/$defs/ResidueResults/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var we=me===s}else var we=!0;if(we)if(ee.Comments!==void 0){const De=s;if(typeof ee.Comments!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var we=De===s}else var we=!0}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var et=Ye===s;if(!et)break}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=te===s}else var v=!0}}}}else return ft.errors=[{instancePath:t+"/Events/"+C+"/EventSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=se===s}else var u=!0;if(u){if(Ce.Comments!==void 0){const qe=s;if(typeof Ce.Comments!="string")return ft.errors=[{instancePath:t+"/Events/"+C+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=qe===s}else var u=!0;if(u)if(Ce.ModusSubmit!==void 0){const qe=s;ft(Ce.ModusSubmit,{instancePath:t+"/Events/"+C+"/ModusSubmit",parentData:Ce,parentDataProperty:"ModusSubmit",rootData:a})||(i=i===null?ft.errors:i.concat(ft.errors),s=i.length);var u=qe===s}else var u=!0}}}}}}else return ft.errors=[{instancePath:t+"/Events/"+C,schemaPath:"#/properties/Events/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=mt===s;if(!o)break}}else return ft.errors=[{instancePath:t+"/Events",schemaPath:"#/properties/Events/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var l=ge===s}else var l=!0;if(l)if(e.Version!==void 0){const q=s;if(typeof e.Version!="string")return ft.errors=[{instancePath:t+"/Version",schemaPath:"#/properties/Version/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=q===s}else var l=!0}}else return ft.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ft.errors=i,s===0}function rt(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){if(e._type!==void 0){const Et=s;if(e._type!=="application/vnd.modus.v1.modus-result+json")return rt.errors=[{instancePath:t+"/_type",schemaPath:"#/properties/_type/const",keyword:"const",params:{allowedValue:"application/vnd.modus.v1.modus-result+json"},message:"must be equal to constant"}],!1;var l=Et===s}else var l=!0;if(l){if(e.Events!==void 0){let Et=e.Events;const De=s;if(s===De)if(Array.isArray(Et)){var o=!0;const nt=Et.length;for(let A=0;A=",limit:0},message:"must be >= 0"}],!1;var f=ve===s}else var f=!0;if(f){if(j.EndingDepth!==void 0){let ae=j.EndingDepth;const ve=s;if(!(typeof ae=="number"&&!(ae%1)&&!isNaN(ae)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===ve&&typeof ae=="number"&&(ae<0||isNaN(ae)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var f=ve===s}else var f=!0;if(f){if(j.ColumnDepth!==void 0){let ae=j.ColumnDepth;const ve=s;if(!(typeof ae=="number"&&!(ae%1)&&!isNaN(ae)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===ve&&typeof ae=="number"&&(ae<0||isNaN(ae)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var f=ve===s}else var f=!0;if(f){if(j.DepthUnit!==void 0){const ae=s;if(typeof j.DepthUnit!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=ae===s}else var f=!0;if(f)if(j.DepthID!==void 0){let ae=j.DepthID;const ve=s;if(!(typeof ae=="number"&&!(ae%1)&&!isNaN(ae)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===ve&&typeof ae=="number"&&(ae<1||isNaN(ae)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var f=ve===s}else var f=!0}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var c=he===s;if(!c)break}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var p=yt===s}else var p=!0;if(p){if(Qe.RecommendationRefs!==void 0){const lt=s;xu(Qe.RecommendationRefs,{instancePath:t+"/Events/"+A+"/EventSamples/Soil/RecommendationRefs",parentData:Qe,parentDataProperty:"RecommendationRefs",rootData:a})||(i=i===null?xu.errors:i.concat(xu.errors),s=i.length);var p=lt===s}else var p=!0;if(p)if(Qe.SoilSamples!==void 0){let lt=Qe.SoilSamples;const yt=s;if(s===yt)if(Array.isArray(lt)){var h=!0;const Ht=lt.length;for(let Fe=0;Fe=",limit:0},message:"must be >= 0"}],!1;var y=Ze===s}else var y=!0;if(y){if(Ee.SubSampleID!==void 0){const ze=s;if(typeof Ee.SubSampleID!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var y=ze===s}else var y=!0;if(y)if(Ee.Geometry!==void 0){let ze=Ee.Geometry;const Ze=s;if(s===Ze)if(ze&&typeof ze=="object"&&!Array.isArray(ze)){if(ze.epsg!==void 0){let St=ze.epsg;if(!(typeof St=="number"&&!(St%1)&&!isNaN(St)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var y=Ze===s}else var y=!0}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=Ve===s;if(!_)break}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var d=_e===s}else var d=!0;if(d)if(le.TestPackages!==void 0){let Me=le.TestPackages;const _e=s;if(s===_e)if(Array.isArray(Me)){var g=!0;const ke=Me.length;for(let Ie=0;Ie1){const Ve={};for(;Ie--;){let it=Me[Ie];if(typeof it=="string"){if(typeof Ve[it]=="number")return Ee=Ve[it],rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ie,j:Ee},message:"must NOT have duplicate items (items ## "+Ee+" and "+Ie+" are identical)"}],!1;Ve[it]=Ie}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var d=_e===s}else var d=!0}}}}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var S=ae===s}else var S=!0;if(S){if(j.Depths!==void 0){let le=j.Depths;const ae=s;if(s===ae)if(Array.isArray(le)){var v=!0;const Me=le.length;for(let _e=0;_e=",limit:0},message:"must be >= 0"}],!1;var W=ct===s}else var W=!0;if(W){if(Ve.SubSampleID!==void 0){const Ze=s;if(typeof Ve.SubSampleID!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/SubSamples/"+Ee+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var W=Ze===s}else var W=!0;if(W)if(Ve.Geometry!==void 0){let Ze=Ve.Geometry;const ct=s;if(s===ct)if(Ze&&typeof Ze=="object"&&!Array.isArray(Ze)){if(Ze.epsg!==void 0){let xt=Ze.epsg;if(!(typeof xt=="number"&&!(xt%1)&&!isNaN(xt)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/SubSamples/"+Ee+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/SubSamples/"+Ee+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var W=ct===s}else var W=!0}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/SubSamples/"+Ee,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var pe=it===s;if(!pe)break}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var G=Oe===s}else var G=!0;if(G)if(ae.TestPackages!==void 0){let _e=ae.TestPackages;const Oe=s;if(s===Oe)if(Array.isArray(_e)){var ce=!0;const Ie=_e.length;for(let Ee=0;Ee1){const it={};for(;Ee--;){let ze=_e[Ee];if(typeof ze=="string"){if(typeof it[ze]=="number")return Ve=it[ze],rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ee,j:Ve},message:"must NOT have duplicate items (items ## "+Ve+" and "+Ee+" are identical)"}],!1;it[ze]=Ee}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var G=Oe===s}else var G=!0}}}}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var J=ve===s}else var J=!0;if(J){if(he.NutrientResults!==void 0){let ae=he.NutrientResults;const ve=s;if(s===s)if(Array.isArray(ae)){var R=!0;const Oe=ae.length;for(let ke=0;ke=",limit:0},message:"must be >= 0"}],!1;var xe=Me===s}else var xe=!0;if(xe){if(he.EndingDepth!==void 0){let ve=he.EndingDepth;const Me=s;if(!(typeof ve=="number"&&!(ve%1)&&!isNaN(ve)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===Me&&typeof ve=="number"&&(ve<0||isNaN(ve)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var xe=Me===s}else var xe=!0;if(xe){if(he.ColumnDepth!==void 0){let ve=he.ColumnDepth;const Me=s;if(!(typeof ve=="number"&&!(ve%1)&&!isNaN(ve)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===Me&&typeof ve=="number"&&(ve<0||isNaN(ve)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var xe=Me===s}else var xe=!0;if(xe){if(he.DepthUnit!==void 0){const ve=s;if(typeof he.DepthUnit!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var xe=ve===s}else var xe=!0;if(xe)if(he.DepthID!==void 0){let ve=he.DepthID;const Me=s;if(!(typeof ve=="number"&&!(ve%1)&&!isNaN(ve)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===Me&&typeof ve=="number"&&(ve<1||isNaN(ve)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var xe=Me===s}else var xe=!0}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Je=Ae===s;if(!Je)break}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var be=gt===s}else var be=!0;if(be)if(Qe.NematodeSamples!==void 0){let yt=Qe.NematodeSamples;const gt=s;if(s===gt)if(Array.isArray(yt)){var et=!0;const Fe=yt.length;for(let j=0;j=",limit:0},message:"must be >= 0"}],!1;var vt=ct===s}else var vt=!0;if(vt){if(Ve.SubSampleID!==void 0){const Ze=s;if(typeof Ve.SubSampleID!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/SubSamples/"+Ee+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var vt=Ze===s}else var vt=!0;if(vt)if(Ve.Geometry!==void 0){let Ze=Ve.Geometry;const ct=s;if(s===ct)if(Ze&&typeof Ze=="object"&&!Array.isArray(Ze)){if(Ze.epsg!==void 0){let xt=Ze.epsg;if(!(typeof xt=="number"&&!(xt%1)&&!isNaN(xt)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/SubSamples/"+Ee+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/SubSamples/"+Ee+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var vt=ct===s}else var vt=!0}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/SubSamples/"+Ee,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ne=it===s;if(!Ne)break}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Pe=Oe===s}else var Pe=!0;if(Pe)if(ae.TestPackages!==void 0){let _e=ae.TestPackages;const Oe=s;if(s===Oe)if(Array.isArray(_e)){var T=!0;const Ie=_e.length;for(let Ee=0;Ee1){const it={};for(;Ee--;){let ze=_e[Ee];if(typeof ze=="string"){if(typeof it[ze]=="number")return Ve=it[ze],rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ee,j:Ve},message:"must NOT have duplicate items (items ## "+Ve+" and "+Ee+" are identical)"}],!1;it[ze]=Ee}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Pe=Oe===s}else var Pe=!0}}}}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var we=ve===s}else var we=!0;if(we){if(he.Depths!==void 0){let ae=he.Depths;const ve=s;if(s===ve)if(Array.isArray(ae)){var Ue=!0;const _e=ae.length;for(let Oe=0;Oe<_e;Oe++){let ke=ae[Oe];const Ie=s;if(s===Ie)if(ke&&typeof ke=="object"&&!Array.isArray(ke)){if(ke.NematodeResults!==void 0){let Ve=ke.NematodeResults;const it=s;if(s===s)if(Array.isArray(Ve)){var K=!0;const Ze=Ve.length;for(let ct=0;ct=",limit:1},message:"must be >= 1"}],!1;var $e=it===s}else var $e=!0}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/Depths/"+Oe,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ue=Ie===s;if(!Ue)break}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/Depths",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var we=ve===s}else var we=!0;if(we)if(he.Comments!==void 0){const ae=s;if(typeof he.Comments!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var we=ae===s}else var we=!0}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var et=Ae===s;if(!et)break}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var be=gt===s}else var be=!0}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var L=We===s}else var L=!0;if(L){if(ue.Water!==void 0){let Qe=ue.Water;const We=s;if(s===We)if(Qe&&typeof Qe=="object"&&!Array.isArray(Qe)){if(Qe.WaterSamples!==void 0){let yt=Qe.WaterSamples;if(s===s)if(Array.isArray(yt)){var C=!0;const Ht=yt.length;for(let Fe=0;Fe=",limit:0},message:"must be >= 0"}],!1;var tt=Ze===s}else var tt=!0;if(tt){if(Ee.SubSampleID!==void 0){const ze=s;if(typeof Ee.SubSampleID!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var tt=ze===s}else var tt=!0;if(tt)if(Ee.Geometry!==void 0){let ze=Ee.Geometry;const Ze=s;if(s===Ze)if(ze&&typeof ze=="object"&&!Array.isArray(ze)){if(ze.epsg!==void 0){let St=ze.epsg;if(!(typeof St=="number"&&!(St%1)&&!isNaN(St)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var tt=Ze===s}else var tt=!0}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var mt=Ve===s;if(!mt)break}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Ce=_e===s}else var Ce=!0;if(Ce)if(le.TestPackages!==void 0){let Me=le.TestPackages;const _e=s;if(s===_e)if(Array.isArray(Me)){var qe=!0;const ke=Me.length;for(let Ie=0;Ie1){const Ve={};for(;Ie--;){let it=Me[Ie];if(typeof it=="string"){if(typeof Ve[it]=="number")return Ee=Ve[it],rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ie,j:Ee},message:"must NOT have duplicate items (items ## "+Ee+" and "+Ie+" are identical)"}],!1;Ve[it]=Ie}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Ce=_e===s}else var Ce=!0}}}}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var se=ae===s}else var se=!0;if(se){if(j.Source!==void 0){const le=s;if(typeof j.Source!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/Source",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/items/properties/Source/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var se=le===s}else var se=!0;if(se){if(j.NutrientResults!==void 0){let le=j.NutrientResults;const ae=s;if(s===s)if(Array.isArray(le)){var x=!0;const _e=le.length;for(let Oe=0;Oe<_e;Oe++){let ke=le[Oe];const Ie=s;if(s===Ie)if(ke&&typeof ke=="object"&&!Array.isArray(ke)){if(ke.Element!==void 0){const Ve=s;if(typeof ke.Element!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/Element",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/Element/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var U=Ve===s}else var U=!0;if(U){if(ke.Value!==void 0){const Ve=s;if(typeof ke.Value!="number")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/Value",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/Value/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var U=Ve===s}else var U=!0;if(U){if(ke.ValueUnit!==void 0){const Ve=s;if(typeof ke.ValueUnit!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/ValueUnit",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var U=Ve===s}else var U=!0;if(U){if(ke.ModusTestID!==void 0){const Ve=s;if(typeof ke.ModusTestID!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/ModusTestID",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ModusTestID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var U=Ve===s}else var U=!0;if(U){if(ke.ValueType!==void 0){let Ve=ke.ValueType;const it=s;if(typeof Ve!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/ValueType",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(Ve==="Measured"||Ve==="Percent"||Ve==="Calculated"||Ve==="Index"))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/ValueType",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueType/enum",keyword:"enum",params:{allowedValues:wu.items.properties.ValueType.enum},message:"must be equal to one of the allowed values"}],!1;var U=it===s}else var U=!0;if(U)if(ke.ValueDesc!==void 0){let Ve=ke.ValueDesc;const it=s;if(typeof Ve!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueDesc/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(Ve==="Very Low"||Ve==="Low"||Ve==="Medium"||Ve==="Optimum"||Ve==="Very High"||Ve==="VL"||Ve==="L"||Ve==="M"||Ve==="O"||Ve==="VH"||Ve==="High"||Ve==="H"))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueDesc/enum",keyword:"enum",params:{allowedValues:wu.items.properties.ValueDesc.enum},message:"must be equal to one of the allowed values"}],!1;var U=it===s}else var U=!0}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe,schemaPath:"./global.schema.json#/$defs/NutrientResults/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var x=Ie===s;if(!x)break}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults",schemaPath:"./global.schema.json#/$defs/NutrientResults/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var se=ae===s}else var se=!0;if(se)if(j.Comments!==void 0){const le=s;if(typeof j.Comments!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var se=le===s}else var se=!0}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var C=he===s;if(!C)break}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var L=We===s}else var L=!0;if(L)if(ue.Residue!==void 0){let Qe=ue.Residue;const We=s;if(s===We)if(Qe&&typeof Qe=="object"&&!Array.isArray(Qe)){if(Qe.ResidueSamples!==void 0){let yt=Qe.ResidueSamples;if(s===s)if(Array.isArray(yt)){var te=!0;const Ht=yt.length;for(let Fe=0;Fe=",limit:0},message:"must be >= 0"}],!1;var He=Ze===s}else var He=!0;if(He){if(Ee.SubSampleID!==void 0){const ze=s;if(typeof Ee.SubSampleID!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var He=ze===s}else var He=!0;if(He)if(Ee.Geometry!==void 0){let ze=Ee.Geometry;const Ze=s;if(s===Ze)if(ze&&typeof ze=="object"&&!Array.isArray(ze)){if(ze.epsg!==void 0){let St=ze.epsg;if(!(typeof St=="number"&&!(St%1)&&!isNaN(St)))return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var He=Ze===s}else var He=!0}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var de=Ve===s;if(!de)break}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Se=_e===s}else var Se=!0;if(Se)if(le.TestPackages!==void 0){let Me=le.TestPackages;const _e=s;if(s===_e)if(Array.isArray(Me)){var It=!0;const ke=Me.length;for(let Ie=0;Ie1){const Ve={};for(;Ie--;){let it=Me[Ie];if(typeof it=="string"){if(typeof Ve[it]=="number")return Ee=Ve[it],rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ie,j:Ee},message:"must NOT have duplicate items (items ## "+Ee+" and "+Ie+" are identical)"}],!1;Ve[it]=Ie}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Se=_e===s}else var Se=!0}}}}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Q=ae===s}else var Q=!0;if(Q){if(j.ResidueResults!==void 0){let le=j.ResidueResults;const ae=s;if(s===s)if(Array.isArray(le)){var ee=!0;const _e=le.length;for(let Oe=0;Oe<_e;Oe++){let ke=le[Oe];const Ie=s;if(s===Ie)if(ke&&typeof ke=="object"&&!Array.isArray(ke)){if(ke.CASRN!==void 0){let Ve=ke.CASRN;const it=s;if(s===it)if(typeof Ve=="string"){if(eS(Ve)>50)return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/maxLength",keyword:"maxLength",params:{limit:50},message:"must NOT have more than 50 characters"}],!1;if(eS(Ve)<1)return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters"}],!1}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ye=it===s}else var Ye=!0;if(Ye){if(ke.Value!==void 0){const Ve=s;if(typeof ke.Value!="number")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/Value",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/Value/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var Ye=Ve===s}else var Ye=!0;if(Ye){if(ke.ValueUnit!==void 0){const Ve=s;if(typeof ke.ValueUnit!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/ValueUnit",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ye=Ve===s}else var Ye=!0;if(Ye){if(ke.ValueType!==void 0){const Ve=s;if(typeof ke.ValueType!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/ValueType",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ye=Ve===s}else var Ye=!0;if(Ye)if(ke.ValueDesc!==void 0){const Ve=s;if(typeof ke.ValueDesc!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueDesc/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ye=Ve===s}else var Ye=!0}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe,schemaPath:"./global.schema.json#/$defs/ResidueResults/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ee=Ie===s;if(!ee)break}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults",schemaPath:"./global.schema.json#/$defs/ResidueResults/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Q=ae===s}else var Q=!0;if(Q)if(j.Comments!==void 0){const le=s;if(typeof j.Comments!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Q=le===s}else var Q=!0}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var te=he===s;if(!te)break}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var L=We===s}else var L=!0}}}}else return rt.errors=[{instancePath:t+"/Events/"+A+"/EventSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=ye===s}else var m=!0;if(m){if(ne.Comments!==void 0){const ue=s;if(typeof ne.Comments!="string")return rt.errors=[{instancePath:t+"/Events/"+A+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=ue===s}else var m=!0;if(m)if(ne.ModusSubmit!==void 0){const ue=s;ft(ne.ModusSubmit,{instancePath:t+"/Events/"+A+"/ModusSubmit",parentData:ne,parentDataProperty:"ModusSubmit",rootData:a})||(i=i===null?ft.errors:i.concat(ft.errors),s=i.length);var m=ue===s}else var m=!0}}}}}else return rt.errors=[{instancePath:t+"/Events/"+A,schemaPath:"#/properties/Events/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=je===s;if(!o)break}}else return rt.errors=[{instancePath:t+"/Events",schemaPath:"#/properties/Events/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var l=De===s}else var l=!0;if(l)if(e.Version!==void 0){const Et=s;if(typeof e.Version!="string")return rt.errors=[{instancePath:t+"/Version",schemaPath:"#/properties/Version/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=Et===s}else var l=!0}}else return rt.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return rt.errors=i,s===0}//! moment.js -//! version : 2.29.4 -//! authors : Tim Wood, Iskren Chernev, Moment.js contributors -//! license : MIT -//! momentjs.com -var x9;function Bt(){return x9.apply(null,arguments)}function LQ(e){x9=e}function Nl(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function T0(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function es(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function KC(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(es(e,t))return!1;return!0}function Ha(e){return e===void 0}function uu(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Bh(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function V9(e,t){var r=[],n,a=e.length;for(n=0;n>>0,n;for(n=0;n0)for(r=0;r=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var XC=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,X_=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,WD={},Mf={};function tr(e,t,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),e&&(Mf[e]=a),t&&(Mf[t[0]]=function(){return go(a.apply(this,arguments),t[1],t[2])}),r&&(Mf[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function AQ(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function kQ(e){var t=e.match(XC),r,n;for(r=0,n=t.length;r=0&&X_.test(e);)e=e.replace(X_,n),X_.lastIndex=0,r-=1;return e}var PQ={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function UQ(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(XC).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var NQ="Invalid date";function wQ(){return this._invalidDate}var xQ="%d",VQ=/\d{1,2}/;function RQ(e){return this._ordinal.replace("%d",e)}var FQ={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function BQ(e,t,r,n){var a=this._relativeTime[r];return Mo(a)?a(e,t,r,n):a.replace(/%d/i,e)}function HQ(e,t){var r=this._relativeTime[e>0?"future":"past"];return Mo(r)?r(t):r.replace(/%s/i,t)}var $d={};function Ma(e,t){var r=e.toLowerCase();$d[r]=$d[r+"s"]=$d[t]=e}function ul(e){return typeof e=="string"?$d[e]||$d[e.toLowerCase()]:void 0}function JC(e){var t={},r,n;for(n in e)es(e,n)&&(r=ul(n),r&&(t[r]=e[n]));return t}var H9={};function Da(e,t){H9[e]=t}function $Q(e){var t=[],r;for(r in e)es(e,r)&&t.push({unit:r,priority:H9[r]});return t.sort(function(n,a){return n.priority-a.priority}),t}function Gv(e){return e%4===0&&e%100!==0||e%400===0}function Ki(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Cr(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=Ki(t)),r}function yp(e,t){return function(r){return r!=null?($9(this,e,r),Bt.updateOffset(this,t),this):tS(this,e)}}function tS(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function $9(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Gv(e.year())&&e.month()===1&&e.date()===29?(r=Cr(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Yv(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function jQ(e){return e=ul(e),Mo(this[e])?this[e]():this}function GQ(e,t){if(typeof e=="object"){e=JC(e);var r=$Q(e),n,a=r.length;for(n=0;n68?1900:2e3)};var J9=yp("FullYear",!0);function uee(){return Gv(this.year())}function mee(e,t,r,n,a,i,s){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,n,a,i,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,n,a,i,s),l}function $1(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function sS(e,t,r){var n=7+t-r,a=(7+$1(e,0,n).getUTCDay()-t)%7;return-a+n-1}function Q9(e,t,r,n,a){var i=(7+r-n)%7,s=sS(e,n,a),l=1+7*(t-1)+i+s,o,u;return l<=0?(o=e-1,u=jd(o)+l):l>jd(e)?(o=e+1,u=l-jd(e)):(o=e,u=l),{year:o,dayOfYear:u}}function j1(e,t,r){var n=sS(e.year(),t,r),a=Math.floor((e.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=e.year()-1,i=a+Qo(s,t,r)):a>Qo(e.year(),t,r)?(i=a-Qo(e.year(),t,r),s=e.year()+1):(s=e.year(),i=a),{week:i,year:s}}function Qo(e,t,r){var n=sS(e,t,r),a=sS(e+1,t,r);return(jd(e)-n+a)/7}tr("w",["ww",2],"wo","week");tr("W",["WW",2],"Wo","isoWeek");Ma("week","w");Ma("isoWeek","W");Da("week",5);Da("isoWeek",5);jt("w",js);jt("ww",js,Ei);jt("W",js);jt("WW",js,Ei);jh(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=Cr(e)});function cee(e){return j1(e,this._week.dow,this._week.doy).week}var fee={dow:0,doy:6};function pee(){return this._week.dow}function dee(){return this._week.doy}function hee(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function _ee(e){var t=j1(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}tr("d",0,"do","day");tr("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});tr("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});tr("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});tr("e",0,0,"weekday");tr("E",0,0,"isoWeekday");Ma("day","d");Ma("weekday","e");Ma("isoWeekday","E");Da("day",11);Da("weekday",11);Da("isoWeekday",11);jt("d",js);jt("e",js);jt("E",js);jt("dd",function(e,t){return t.weekdaysMinRegex(e)});jt("ddd",function(e,t){return t.weekdaysShortRegex(e)});jt("dddd",function(e,t){return t.weekdaysRegex(e)});jh(["dd","ddd","dddd"],function(e,t,r,n){var a=r._locale.weekdaysParse(e,n,r._strict);a!=null?t.d=a:Sr(r).invalidWeekday=e});jh(["d","e","E"],function(e,t,r,n){t[n]=Cr(e)});function gee(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function See(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function tE(e,t){return e.slice(t,7).concat(e.slice(0,t))}var vee="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),eV="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),yee="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Mee=$h,Dee=$h,Iee=$h;function Oee(e,t){var r=Nl(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?tE(r,this._week.dow):e?r[e.day()]:r}function Lee(e){return e===!0?tE(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function bee(e){return e===!0?tE(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Cee(e,t,r){var n,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=yo([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=cn.call(this._weekdaysParse,s),a!==-1?a:null):t==="ddd"?(a=cn.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=cn.call(this._minWeekdaysParse,s),a!==-1?a:null):t==="dddd"?(a=cn.call(this._weekdaysParse,s),a!==-1||(a=cn.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=cn.call(this._minWeekdaysParse,s),a!==-1?a:null)):t==="ddd"?(a=cn.call(this._shortWeekdaysParse,s),a!==-1||(a=cn.call(this._weekdaysParse,s),a!==-1)?a:(a=cn.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=cn.call(this._minWeekdaysParse,s),a!==-1||(a=cn.call(this._weekdaysParse,s),a!==-1)?a:(a=cn.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function Eee(e,t,r){var n,a,i;if(this._weekdaysParseExact)return Cee.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=yo([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function Tee(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=gee(e,this.localeData()),this.add(e-t,"d")):t}function Aee(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function kee(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=See(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Pee(e){return this._weekdaysParseExact?(es(this,"_weekdaysRegex")||rE.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(es(this,"_weekdaysRegex")||(this._weekdaysRegex=Mee),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Uee(e){return this._weekdaysParseExact?(es(this,"_weekdaysRegex")||rE.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(es(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Dee),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Nee(e){return this._weekdaysParseExact?(es(this,"_weekdaysRegex")||rE.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(es(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Iee),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function rE(){function e(m,c){return c.length-m.length}var t=[],r=[],n=[],a=[],i,s,l,o,u;for(i=0;i<7;i++)s=yo([2e3,1]).day(i),l=ci(this.weekdaysMin(s,"")),o=ci(this.weekdaysShort(s,"")),u=ci(this.weekdays(s,"")),t.push(l),r.push(o),n.push(u),a.push(l),a.push(o),a.push(u);t.sort(e),r.sort(e),n.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function sE(){return this.hours()%12||12}function wee(){return this.hours()||24}tr("H",["HH",2],0,"hour");tr("h",["hh",2],0,sE);tr("k",["kk",2],0,wee);tr("hmm",0,0,function(){return""+sE.apply(this)+go(this.minutes(),2)});tr("hmmss",0,0,function(){return""+sE.apply(this)+go(this.minutes(),2)+go(this.seconds(),2)});tr("Hmm",0,0,function(){return""+this.hours()+go(this.minutes(),2)});tr("Hmmss",0,0,function(){return""+this.hours()+go(this.minutes(),2)+go(this.seconds(),2)});function tV(e,t){tr(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}tV("a",!0);tV("A",!1);Ma("hour","h");Da("hour",13);function rV(e,t){return t._meridiemParse}jt("a",rV);jt("A",rV);jt("H",js);jt("h",js);jt("k",js);jt("HH",js,Ei);jt("hh",js,Ei);jt("kk",js,Ei);jt("hmm",W9);jt("hmmss",z9);jt("Hmm",W9);jt("Hmmss",z9);Ds(["H","HH"],Nn);Ds(["k","kk"],function(e,t,r){var n=Cr(e);t[Nn]=n===24?0:n});Ds(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});Ds(["h","hh"],function(e,t,r){t[Nn]=Cr(e),Sr(r).bigHour=!0});Ds("hmm",function(e,t,r){var n=e.length-2;t[Nn]=Cr(e.substr(0,n)),t[Il]=Cr(e.substr(n)),Sr(r).bigHour=!0});Ds("hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[Nn]=Cr(e.substr(0,n)),t[Il]=Cr(e.substr(n,2)),t[Ko]=Cr(e.substr(a)),Sr(r).bigHour=!0});Ds("Hmm",function(e,t,r){var n=e.length-2;t[Nn]=Cr(e.substr(0,n)),t[Il]=Cr(e.substr(n))});Ds("Hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[Nn]=Cr(e.substr(0,n)),t[Il]=Cr(e.substr(n,2)),t[Ko]=Cr(e.substr(a))});function xee(e){return(e+"").toLowerCase().charAt(0)==="p"}var Vee=/[ap]\.?m?\.?/i,Ree=yp("Hours",!0);function Fee(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var sV={calendar:EQ,longDateFormat:PQ,invalidDate:NQ,ordinal:xQ,dayOfMonthOrdinalParse:VQ,relativeTime:FQ,months:QQ,monthsShort:K9,week:fee,weekdays:vee,weekdaysMin:yee,weekdaysShort:eV,meridiemParse:Vee},zs={},Zp={},G1;function Bee(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r0;){if(a=Xv(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&Bee(i,n)>=r-1)break;r--}t++}return G1}function $ee(e){return e.match("^[^/\\\\]*$")!=null}function Xv(e){var t=null,r;if(zs[e]===void 0&&typeof o2<"u"&&o2&&o2.exports&&$ee(e))try{t=G1._abbr,r=require,r("./locale/"+e),dm(t)}catch{zs[e]=null}return zs[e]}function dm(e,t){var r;return e&&(Ha(t)?r=gu(e):r=nE(e,t),r?G1=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),G1._abbr}function nE(e,t){if(t!==null){var r,n=sV;if(t.abbr=e,zs[e]!=null)F9("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=zs[e]._config;else if(t.parentLocale!=null)if(zs[t.parentLocale]!=null)n=zs[t.parentLocale]._config;else if(r=Xv(t.parentLocale),r!=null)n=r._config;else return Zp[t.parentLocale]||(Zp[t.parentLocale]=[]),Zp[t.parentLocale].push({name:e,config:t}),null;return zs[e]=new YC(oL(n,t)),Zp[e]&&Zp[e].forEach(function(a){nE(a.name,a.config)}),dm(e),zs[e]}else return delete zs[e],null}function jee(e,t){if(t!=null){var r,n,a=sV;zs[e]!=null&&zs[e].parentLocale!=null?zs[e].set(oL(zs[e]._config,t)):(n=Xv(e),n!=null&&(a=n._config),t=oL(a,t),n==null&&(t.abbr=e),r=new YC(t),r.parentLocale=zs[e],zs[e]=r),dm(e)}else zs[e]!=null&&(zs[e].parentLocale!=null?(zs[e]=zs[e].parentLocale,e===dm()&&dm(e)):zs[e]!=null&&delete zs[e]);return zs[e]}function gu(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return G1;if(!Nl(e)){if(t=Xv(e),t)return t;e=[e]}return Hee(e)}function Gee(){return uL(zs)}function aE(e){var t,r=e._a;return r&&Sr(e).overflow===-2&&(t=r[zo]<0||r[zo]>11?zo:r[eo]<1||r[eo]>Yv(r[_a],r[zo])?eo:r[Nn]<0||r[Nn]>24||r[Nn]===24&&(r[Il]!==0||r[Ko]!==0||r[y0]!==0)?Nn:r[Il]<0||r[Il]>59?Il:r[Ko]<0||r[Ko]>59?Ko:r[y0]<0||r[y0]>999?y0:-1,Sr(e)._overflowDayOfYear&&(t<_a||t>eo)&&(t=eo),Sr(e)._overflowWeeks&&t===-1&&(t=YQ),Sr(e)._overflowWeekday&&t===-1&&(t=XQ),Sr(e).overflow=t),e}var Wee=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,zee=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Kee=/Z|[+-]\d\d(?::?\d\d)?/,J_=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],zD=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],qee=/^\/?Date\((-?\d+)/i,Zee=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Yee={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function nV(e){var t,r,n=e._i,a=Wee.exec(n)||zee.exec(n),i,s,l,o,u=J_.length,m=zD.length;if(a){for(Sr(e).iso=!0,t=0,r=u;tjd(s)||e._dayOfYear===0)&&(Sr(e)._overflowDayOfYear=!0),r=$1(s,0,e._dayOfYear),e._a[zo]=r.getUTCMonth(),e._a[eo]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=a[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Nn]===24&&e._a[Il]===0&&e._a[Ko]===0&&e._a[y0]===0&&(e._nextDay=!0,e._a[Nn]=0),e._d=(e._useUTC?$1:mee).apply(null,n),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Nn]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(Sr(e).weekdayMismatch=!0)}}function nte(e){var t,r,n,a,i,s,l,o,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,s=4,r=Hc(t.GG,e._a[_a],j1($s(),1,4).year),n=Hc(t.W,1),a=Hc(t.E,1),(a<1||a>7)&&(o=!0)):(i=e._locale._week.dow,s=e._locale._week.doy,u=j1($s(),i,s),r=Hc(t.gg,e._a[_a],u.year),n=Hc(t.w,u.week),t.d!=null?(a=t.d,(a<0||a>6)&&(o=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(o=!0)):a=i),n<1||n>Qo(r,i,s)?Sr(e)._overflowWeeks=!0:o!=null?Sr(e)._overflowWeekday=!0:(l=Q9(r,n,a,i,s),e._a[_a]=l.year,e._dayOfYear=l.dayOfYear)}Bt.ISO_8601=function(){};Bt.RFC_2822=function(){};function lE(e){if(e._f===Bt.ISO_8601){nV(e);return}if(e._f===Bt.RFC_2822){aV(e);return}e._a=[],Sr(e).empty=!0;var t=""+e._i,r,n,a,i,s,l=t.length,o=0,u,m;for(a=B9(e._f,e._locale).match(XC)||[],m=a.length,r=0;r0&&Sr(e).unusedInput.push(s),t=t.slice(t.indexOf(n)+n.length),o+=n.length),Mf[i]?(n?Sr(e).empty=!1:Sr(e).unusedTokens.push(i),ZQ(i,n,e)):e._strict&&!n&&Sr(e).unusedTokens.push(i);Sr(e).charsLeftOver=l-o,t.length>0&&Sr(e).unusedInput.push(t),e._a[Nn]<=12&&Sr(e).bigHour===!0&&e._a[Nn]>0&&(Sr(e).bigHour=void 0),Sr(e).parsedDateParts=e._a.slice(0),Sr(e).meridiem=e._meridiem,e._a[Nn]=ate(e._locale,e._a[Nn],e._meridiem),u=Sr(e).era,u!==null&&(e._a[_a]=e._locale.erasConvertYear(u,e._a[_a])),iE(e),aE(e)}function ate(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function ite(e){var t,r,n,a,i,s,l=!1,o=e._f.length;if(o===0){Sr(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;athis?this:e:jv()});function oV(e,t){var r,n;if(t.length===1&&Nl(t[0])&&(t=t[0]),!t.length)return $s();for(r=t[0],n=1;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Cte(){if(!Ha(this._isDSTShifted))return this._isDSTShifted;var e={},t;return ZC(e,this),e=iV(e),e._a?(t=e._isUTC?yo(e._a):$s(e._a),this._isDSTShifted=this.isValid()&&Ste(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ete(){return this.isValid()?!this._isUTC:!1}function Tte(){return this.isValid()?this._isUTC:!1}function mV(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ate=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,kte=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function xl(e,t){var r=e,n=null,a,i,s;return Bg(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:uu(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=Ate.exec(e))?(a=n[1]==="-"?-1:1,r={y:0,d:Cr(n[eo])*a,h:Cr(n[Nn])*a,m:Cr(n[Il])*a,s:Cr(n[Ko])*a,ms:Cr(cL(n[y0]*1e3))*a}):(n=kte.exec(e))?(a=n[1]==="-"?-1:1,r={y:Gm(n[2],a),M:Gm(n[3],a),w:Gm(n[4],a),d:Gm(n[5],a),h:Gm(n[6],a),m:Gm(n[7],a),s:Gm(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=Pte($s(r.from),$s(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new Jv(r),Bg(e)&&es(e,"_locale")&&(i._locale=e._locale),Bg(e)&&es(e,"_isValid")&&(i._isValid=e._isValid),i}xl.fn=Jv.prototype;xl.invalid=gte;function Gm(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function r4(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Pte(e,t){var r;return e.isValid()&&t.isValid()?(t=uE(t,e),e.isBefore(t)?r=r4(e,t):(r=r4(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function cV(e,t){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(F9(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=xl(r,n),fV(this,a,e),this}}function fV(e,t,r,n){var a=t._milliseconds,i=cL(t._days),s=cL(t._months);!e.isValid()||(n=n??!0,s&&Z9(e,tS(e,"Month")+s*r),i&&$9(e,"Date",tS(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),n&&Bt.updateOffset(e,i||s))}var Ute=cV(1,"add"),Nte=cV(-1,"subtract");function pV(e){return typeof e=="string"||e instanceof String}function wte(e){return wl(e)||Bh(e)||pV(e)||uu(e)||Vte(e)||xte(e)||e===null||e===void 0}function xte(e){var t=T0(e)&&!KC(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=n.length;for(a=0;ar.valueOf():r.valueOf()9999?Fg(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Mo(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Fg(r,"Z")):Fg(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Xte(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+n+a+i)}function Jte(e){e||(e=this.isUtc()?Bt.defaultFormatUtc:Bt.defaultFormat);var t=Fg(this,e);return this.localeData().postformat(t)}function Qte(e,t){return this.isValid()&&(wl(e)&&e.isValid()||$s(e).isValid())?xl({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ere(e){return this.from($s(),e)}function tre(e,t){return this.isValid()&&(wl(e)&&e.isValid()||$s(e).isValid())?xl({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rre(e){return this.to($s(),e)}function dV(e){var t;return e===void 0?this._locale._abbr:(t=gu(e),t!=null&&(this._locale=t),this)}var hV=ol("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function _V(){return this._locale}var nS=1e3,Df=60*nS,aS=60*Df,gV=(365*400+97)*24*aS;function If(e,t){return(e%t+t)%t}function SV(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-gV:new Date(e,t,r).valueOf()}function vV(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-gV:Date.UTC(e,t,r)}function sre(e){var t,r;if(e=ul(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?vV:SV,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=If(t+(this._isUTC?0:this.utcOffset()*Df),aS);break;case"minute":t=this._d.valueOf(),t-=If(t,Df);break;case"second":t=this._d.valueOf(),t-=If(t,nS);break}return this._d.setTime(t),Bt.updateOffset(this,!0),this}function nre(e){var t,r;if(e=ul(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?vV:SV,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=aS-If(t+(this._isUTC?0:this.utcOffset()*Df),aS)-1;break;case"minute":t=this._d.valueOf(),t+=Df-If(t,Df)-1;break;case"second":t=this._d.valueOf(),t+=nS-If(t,nS)-1;break}return this._d.setTime(t),Bt.updateOffset(this,!0),this}function are(){return this._d.valueOf()-(this._offset||0)*6e4}function ire(){return Math.floor(this.valueOf()/1e3)}function lre(){return new Date(this.valueOf())}function ore(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ure(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function mre(){return this.isValid()?this.toISOString():null}function cre(){return qC(this)}function fre(){return Ju({},Sr(this))}function pre(){return Sr(this).overflow}function dre(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}tr("N",0,0,"eraAbbr");tr("NN",0,0,"eraAbbr");tr("NNN",0,0,"eraAbbr");tr("NNNN",0,0,"eraName");tr("NNNNN",0,0,"eraNarrow");tr("y",["y",1],"yo","eraYear");tr("y",["yy",2],0,"eraYear");tr("y",["yyy",3],0,"eraYear");tr("y",["yyyy",4],0,"eraYear");jt("N",mE);jt("NN",mE);jt("NNN",mE);jt("NNNN",Lre);jt("NNNNN",bre);Ds(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var a=r._locale.erasParse(e,n,r._strict);a?Sr(r).era=a:Sr(r).invalidEra=e});jt("y",Mp);jt("yy",Mp);jt("yyy",Mp);jt("yyyy",Mp);jt("yo",Cre);Ds(["y","yy","yyy","yyyy"],_a);Ds(["yo"],function(e,t,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[_a]=r._locale.eraYearOrdinalParse(e,a):t[_a]=parseInt(e,10)});function hre(e,t){var r,n,a,i=this._eras||gu("en")._eras;for(r=0,n=i.length;r=0)return i[n]}function gre(e,t){var r=e.since<=e.until?1:-1;return t===void 0?Bt(e.since).year():Bt(e.since).year()+(t-e.offset)*r}function Sre(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;ei&&(t=i),Nre.call(this,e,t,r,n,a))}function Nre(e,t,r,n,a){var i=Q9(e,t,r,n,a),s=$1(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}tr("Q",0,"Qo","quarter");Ma("quarter","Q");Da("quarter",7);jt("Q",j9);Ds("Q",function(e,t){t[zo]=(Cr(e)-1)*3});function wre(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}tr("D",["DD",2],"Do","date");Ma("date","D");Da("date",9);jt("D",js);jt("DD",js,Ei);jt("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});Ds(["D","DD"],eo);Ds("Do",function(e,t){t[eo]=Cr(e.match(js)[0])});var MV=yp("Date",!0);tr("DDD",["DDDD",3],"DDDo","dayOfYear");Ma("dayOfYear","DDD");Da("dayOfYear",4);jt("DDD",zv);jt("DDDD",G9);Ds(["DDD","DDDD"],function(e,t,r){r._dayOfYear=Cr(e)});function xre(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}tr("m",["mm",2],0,"minute");Ma("minute","m");Da("minute",14);jt("m",js);jt("mm",js,Ei);Ds(["m","mm"],Il);var Vre=yp("Minutes",!1);tr("s",["ss",2],0,"second");Ma("second","s");Da("second",15);jt("s",js);jt("ss",js,Ei);Ds(["s","ss"],Ko);var Rre=yp("Seconds",!1);tr("S",0,0,function(){return~~(this.millisecond()/100)});tr(0,["SS",2],0,function(){return~~(this.millisecond()/10)});tr(0,["SSS",3],0,"millisecond");tr(0,["SSSS",4],0,function(){return this.millisecond()*10});tr(0,["SSSSS",5],0,function(){return this.millisecond()*100});tr(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});tr(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});tr(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});tr(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});Ma("millisecond","ms");Da("millisecond",16);jt("S",zv,j9);jt("SS",zv,Ei);jt("SSS",zv,G9);var Qu,DV;for(Qu="SSSS";Qu.length<=9;Qu+="S")jt(Qu,Mp);function Fre(e,t){t[y0]=Cr(("0."+e)*1e3)}for(Qu="S";Qu.length<=9;Qu+="S")Ds(Qu,Fre);DV=yp("Milliseconds",!1);tr("z",0,0,"zoneAbbr");tr("zz",0,0,"zoneName");function Bre(){return this._isUTC?"UTC":""}function Hre(){return this._isUTC?"Coordinated Universal Time":""}var Pt=Hh.prototype;Pt.add=Ute;Pt.calendar=Bte;Pt.clone=Hte;Pt.diff=qte;Pt.endOf=nre;Pt.format=Jte;Pt.from=Qte;Pt.fromNow=ere;Pt.to=tre;Pt.toNow=rre;Pt.get=jQ;Pt.invalidAt=pre;Pt.isAfter=$te;Pt.isBefore=jte;Pt.isBetween=Gte;Pt.isSame=Wte;Pt.isSameOrAfter=zte;Pt.isSameOrBefore=Kte;Pt.isValid=cre;Pt.lang=hV;Pt.locale=dV;Pt.localeData=_V;Pt.max=cte;Pt.min=mte;Pt.parsingFlags=fre;Pt.set=GQ;Pt.startOf=sre;Pt.subtract=Nte;Pt.toArray=ore;Pt.toObject=ure;Pt.toDate=lre;Pt.toISOString=Yte;Pt.inspect=Xte;typeof Symbol<"u"&&Symbol.for!=null&&(Pt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});Pt.toJSON=mre;Pt.toString=Zte;Pt.unix=ire;Pt.valueOf=are;Pt.creationData=dre;Pt.eraName=Sre;Pt.eraNarrow=vre;Pt.eraAbbr=yre;Pt.eraYear=Mre;Pt.year=J9;Pt.isLeapYear=uee;Pt.weekYear=Ere;Pt.isoWeekYear=Tre;Pt.quarter=Pt.quarters=wre;Pt.month=Y9;Pt.daysInMonth=iee;Pt.week=Pt.weeks=hee;Pt.isoWeek=Pt.isoWeeks=_ee;Pt.weeksInYear=Pre;Pt.weeksInWeekYear=Ure;Pt.isoWeeksInYear=Are;Pt.isoWeeksInISOWeekYear=kre;Pt.date=MV;Pt.day=Pt.days=Tee;Pt.weekday=Aee;Pt.isoWeekday=kee;Pt.dayOfYear=xre;Pt.hour=Pt.hours=Ree;Pt.minute=Pt.minutes=Vre;Pt.second=Pt.seconds=Rre;Pt.millisecond=Pt.milliseconds=DV;Pt.utcOffset=yte;Pt.utc=Dte;Pt.local=Ite;Pt.parseZone=Ote;Pt.hasAlignedHourOffset=Lte;Pt.isDST=bte;Pt.isLocal=Ete;Pt.isUtcOffset=Tte;Pt.isUtc=mV;Pt.isUTC=mV;Pt.zoneAbbr=Bre;Pt.zoneName=Hre;Pt.dates=ol("dates accessor is deprecated. Use date instead.",MV);Pt.months=ol("months accessor is deprecated. Use month instead",Y9);Pt.years=ol("years accessor is deprecated. Use year instead",J9);Pt.zone=ol("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Mte);Pt.isDSTShifted=ol("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Cte);function $re(e){return $s(e*1e3)}function jre(){return $s.apply(null,arguments).parseZone()}function IV(e){return e}var ts=YC.prototype;ts.calendar=TQ;ts.longDateFormat=UQ;ts.invalidDate=wQ;ts.ordinal=RQ;ts.preparse=IV;ts.postformat=IV;ts.relativeTime=BQ;ts.pastFuture=HQ;ts.set=CQ;ts.eras=hre;ts.erasParse=_re;ts.erasConvertYear=gre;ts.erasAbbrRegex=Ire;ts.erasNameRegex=Dre;ts.erasNarrowRegex=Ore;ts.months=ree;ts.monthsShort=see;ts.monthsParse=aee;ts.monthsRegex=oee;ts.monthsShortRegex=lee;ts.week=cee;ts.firstDayOfYear=dee;ts.firstDayOfWeek=pee;ts.weekdays=Oee;ts.weekdaysMin=bee;ts.weekdaysShort=Lee;ts.weekdaysParse=Eee;ts.weekdaysRegex=Pee;ts.weekdaysShortRegex=Uee;ts.weekdaysMinRegex=Nee;ts.isPM=xee;ts.meridiem=Fee;function iS(e,t,r,n){var a=gu(),i=yo().set(n,t);return a[r](i,e)}function OV(e,t,r){if(uu(e)&&(t=e,e=void 0),e=e||"",t!=null)return iS(e,t,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=iS(e,n,r,"month");return a}function fE(e,t,r,n){typeof e=="boolean"?(uu(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,uu(t)&&(r=t,t=void 0),t=t||"");var a=gu(),i=e?a._week.dow:0,s,l=[];if(r!=null)return iS(t,(r+i)%7,n,"day");for(s=0;s<7;s++)l[s]=iS(t,(s+i)%7,n,"day");return l}function Gre(e,t){return OV(e,t,"months")}function Wre(e,t){return OV(e,t,"monthsShort")}function zre(e,t,r){return fE(e,t,r,"weekdays")}function Kre(e,t,r){return fE(e,t,r,"weekdaysShort")}function qre(e,t,r){return fE(e,t,r,"weekdaysMin")}dm("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=Cr(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});Bt.lang=ol("moment.lang is deprecated. Use moment.locale instead.",dm);Bt.langData=ol("moment.langData is deprecated. Use moment.localeData instead.",gu);var No=Math.abs;function Zre(){var e=this._data;return this._milliseconds=No(this._milliseconds),this._days=No(this._days),this._months=No(this._months),e.milliseconds=No(e.milliseconds),e.seconds=No(e.seconds),e.minutes=No(e.minutes),e.hours=No(e.hours),e.months=No(e.months),e.years=No(e.years),this}function LV(e,t,r,n){var a=xl(t,r);return e._milliseconds+=n*a._milliseconds,e._days+=n*a._days,e._months+=n*a._months,e._bubble()}function Yre(e,t){return LV(this,e,t,1)}function Xre(e,t){return LV(this,e,t,-1)}function s4(e){return e<0?Math.floor(e):Math.ceil(e)}function Jre(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,a,i,s,l,o;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=s4(pL(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,a=Ki(e/1e3),n.seconds=a%60,i=Ki(a/60),n.minutes=i%60,s=Ki(i/60),n.hours=s%24,t+=Ki(s/24),o=Ki(bV(t)),r+=o,t-=s4(pL(o)),l=Ki(r/12),r%=12,n.days=t,n.months=r,n.years=l,this}function bV(e){return e*4800/146097}function pL(e){return e*146097/4800}function Qre(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=ul(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+bV(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(pL(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function ese(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+Cr(this._months/12)*31536e6:NaN}function Su(e){return function(){return this.as(e)}}var tse=Su("ms"),rse=Su("s"),sse=Su("m"),nse=Su("h"),ase=Su("d"),ise=Su("w"),lse=Su("M"),ose=Su("Q"),use=Su("y");function mse(){return xl(this)}function cse(e){return e=ul(e),this.isValid()?this[e+"s"]():NaN}function cc(e){return function(){return this.isValid()?this._data[e]:NaN}}var fse=cc("milliseconds"),pse=cc("seconds"),dse=cc("minutes"),hse=cc("hours"),_se=cc("days"),gse=cc("months"),Sse=cc("years");function vse(){return Ki(this.days()/7)}var Fo=Math.round,of={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function yse(e,t,r,n,a){return a.relativeTime(t||1,!!r,e,n)}function Mse(e,t,r,n){var a=xl(e).abs(),i=Fo(a.as("s")),s=Fo(a.as("m")),l=Fo(a.as("h")),o=Fo(a.as("d")),u=Fo(a.as("M")),m=Fo(a.as("w")),c=Fo(a.as("y")),f=i<=r.ss&&["s",i]||i0,f[4]=n,yse.apply(null,f)}function Dse(e){return e===void 0?Fo:typeof e=="function"?(Fo=e,!0):!1}function Ise(e,t){return of[e]===void 0?!1:t===void 0?of[e]:(of[e]=t,e==="s"&&(of.ss=t-1),!0)}function Ose(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=of,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},of,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),a=this.localeData(),i=Mse(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var KD=Math.abs;function Tc(e){return(e>0)-(e<0)||+e}function ey(){if(!this.isValid())return this.localeData().invalidDate();var e=KD(this._milliseconds)/1e3,t=KD(this._days),r=KD(this._months),n,a,i,s,l=this.asSeconds(),o,u,m,c;return l?(n=Ki(e/60),a=Ki(n/60),e%=60,n%=60,i=Ki(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",o=l<0?"-":"",u=Tc(this._months)!==Tc(l)?"-":"",m=Tc(this._days)!==Tc(l)?"-":"",c=Tc(this._milliseconds)!==Tc(l)?"-":"",o+"P"+(i?u+i+"Y":"")+(r?u+r+"M":"")+(t?m+t+"D":"")+(a||n||e?"T":"")+(a?c+a+"H":"")+(n?c+n+"M":"")+(e?c+s+"S":"")):"P0D"}var xr=Jv.prototype;xr.isValid=_te;xr.abs=Zre;xr.add=Yre;xr.subtract=Xre;xr.as=Qre;xr.asMilliseconds=tse;xr.asSeconds=rse;xr.asMinutes=sse;xr.asHours=nse;xr.asDays=ase;xr.asWeeks=ise;xr.asMonths=lse;xr.asQuarters=ose;xr.asYears=use;xr.valueOf=ese;xr._bubble=Jre;xr.clone=mse;xr.get=cse;xr.milliseconds=fse;xr.seconds=pse;xr.minutes=dse;xr.hours=hse;xr.days=_se;xr.weeks=vse;xr.months=gse;xr.years=Sse;xr.humanize=Ose;xr.toISOString=ey;xr.toString=ey;xr.toJSON=ey;xr.locale=dV;xr.localeData=_V;xr.toIsoString=ol("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ey);xr.lang=hV;tr("X",0,0,"unix");tr("x",0,0,"valueOf");jt("x",qv);jt("X",zQ);Ds("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});Ds("x",function(e,t,r){r._d=new Date(Cr(e))});//! moment.js -Bt.version="2.29.4";LQ($s);Bt.fn=Pt;Bt.min=fte;Bt.max=pte;Bt.now=dte;Bt.utc=yo;Bt.unix=$re;Bt.months=Gre;Bt.isDate=Bh;Bt.locale=dm;Bt.invalid=jv;Bt.duration=xl;Bt.isMoment=wl;Bt.weekdays=zre;Bt.parseZone=jre;Bt.localeData=gu;Bt.isDuration=Bg;Bt.monthsShort=Wre;Bt.weekdaysMin=qre;Bt.defineLocale=nE;Bt.updateLocale=jee;Bt.locales=Gee;Bt.weekdaysShort=Kre;Bt.normalizeUnits=ul;Bt.relativeTimeRounding=Dse;Bt.relativeTimeThreshold=Ise;Bt.calendarFormat=Fte;Bt.prototype=Pt;Bt.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var Lse={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Ka,function(){var r=1e3,n=6e4,a=36e5,i="millisecond",s="second",l="minute",o="hour",u="day",m="week",c="month",f="quarter",p="year",h="date",d="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},S=function(F,L,H){var ie=String(F);return!ie||ie.length>=L?F:""+Array(L+1-ie.length).join(H)+F},v={s:S,z:function(F){var L=-F.utcOffset(),H=Math.abs(L),ie=Math.floor(H/60),G=H%60;return(L<=0?"+":"-")+S(ie,2,"0")+":"+S(G,2,"0")},m:function F(L,H){if(L.date()1)return F(W[0])}else{var ce=L.name;I[ce]=L,G=ce}return!ie&&G&&(M=G),G||!ie&&M},E=function(F,L){if(D(F))return F.clone();var H=typeof L=="object"?L:{};return H.date=F,H.args=arguments,new B(H)},z=v;z.l=k,z.i=D,z.w=function(F,L){return E(F,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var B=function(){function F(H){this.$L=k(H.locale,null,!0),this.parse(H)}var L=F.prototype;return L.parse=function(H){this.$d=function(ie){var G=ie.date,pe=ie.utc;if(G===null)return new Date(NaN);if(z.u(G))return new Date;if(G instanceof Date)return new Date(G);if(typeof G=="string"&&!/Z$/i.test(G)){var W=G.match(_);if(W){var ce=W[2]-1||0,J=(W[7]||"0").substring(0,3);return pe?new Date(Date.UTC(W[1],ce,W[3]||1,W[4]||0,W[5]||0,W[6]||0,J)):new Date(W[1],ce,W[3]||1,W[4]||0,W[5]||0,W[6]||0,J)}}return new Date(G)}(H),this.$x=H.x||{},this.init()},L.init=function(){var H=this.$d;this.$y=H.getFullYear(),this.$M=H.getMonth(),this.$D=H.getDate(),this.$W=H.getDay(),this.$H=H.getHours(),this.$m=H.getMinutes(),this.$s=H.getSeconds(),this.$ms=H.getMilliseconds()},L.$utils=function(){return z},L.isValid=function(){return this.$d.toString()!==d},L.isSame=function(H,ie){var G=E(H);return this.startOf(ie)<=G&&G<=this.endOf(ie)},L.isAfter=function(H,ie){return E(H)",l[s.Identifier]="Identifier",l[s.Keyword]="Keyword",l[s.NullLiteral]="Null",l[s.NumericLiteral]="Numeric",l[s.Punctuator]="Punctuator",l[s.StringLiteral]="String",l[s.RegularExpression]="RegularExpression",o=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],u={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},m={Data:1,Get:2,Set:4},c={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]")};function k(O,N){if(!O)throw new Error("ASSERT: "+N)}function E(O){return O>=48&&O<=57}function z(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function B(O){return"01234567".indexOf(O)>=0}function P(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function F(O){return O===10||O===13||O===8232||O===8233}function L(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function H(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function ie(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function G(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function pe(O){return O==="eval"||O==="arguments"}function W(O){if(d&&G(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function ce(O,N,re,Le,at){var _t;k(typeof re=="number","Comment must have valid position"),!(I.lastCommentStart>=re)&&(I.lastCommentStart=re,_t={type:O,value:N},D.range&&(_t.range=[re,Le]),D.loc&&(_t.loc=at),D.comments.push(_t),D.attachComment&&(D.leadingComments.push(_t),D.trailingComments.push(_t)))}function J(O){var N,re,Le,at;for(N=_-O,re={start:{line:y,column:_-g-O}};_=S&&se({},c.UnexpectedToken,"ILLEGAL");else if(re===42){if(h.charCodeAt(_+1)===47){++_,++_,D.comments&&(Le=h.slice(O+2,_-2),N.end={line:y,column:_-g},ce("Block",Le,O,_,N));return}++_}else++_;se({},c.UnexpectedToken,"ILLEGAL")}function V(){var O,N;for(N=_===0;_>>=")return _+=4,{type:s.Punctuator,value:Vt,lineNumber:y,lineStart:g,start:O,end:_};if(_t=Vt.substr(0,3),_t===">>>"||_t==="<<="||_t===">>=")return _+=3,{type:s.Punctuator,value:_t,lineNumber:y,lineStart:g,start:O,end:_};if(at=_t.substr(0,2),Le===at[1]&&"+-<>&|".indexOf(Le)>=0||at==="=>")return _+=2,{type:s.Punctuator,value:at,lineNumber:y,lineStart:g,start:O,end:_};if("<>=!+-*%&|^/".indexOf(Le)>=0)return++_,{type:s.Punctuator,value:Le,lineNumber:y,lineStart:g,start:O,end:_};se({},c.UnexpectedToken,"ILLEGAL")}function be(O){for(var N="";_=0&&_0&&(Le=D.tokens[D.tokens.length-1],Le.range[0]===O&&Le.type==="Punctuator"&&(Le.value==="/"||Le.value==="/=")&&D.tokens.pop()),D.tokens.push({type:"RegularExpression",value:re.literal,range:[O,_],loc:N})),re}function q(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function ge(){var O,N;if(O=D.tokens[D.tokens.length-1],!O)return K();if(O.type==="Punctuator"){if(O.value==="]")return xe();if(O.value===")")return N=D.tokens[D.openParenToken-1],N&&N.type==="Keyword"&&(N.value==="if"||N.value==="while"||N.value==="for"||N.value==="with")?K():xe();if(O.value==="}"){if(D.tokens[D.openCurlyToken-3]&&D.tokens[D.openCurlyToken-3].type==="Keyword"){if(N=D.tokens[D.openCurlyToken-4],!N)return xe()}else if(D.tokens[D.openCurlyToken-4]&&D.tokens[D.openCurlyToken-4].type==="Keyword"){if(N=D.tokens[D.openCurlyToken-5],!N)return K()}else return xe();return o.indexOf(N.value)>=0?xe():K()}return K()}return O.type==="Keyword"?K():xe()}function Be(){var O;return V(),_>=S?{type:s.EOF,lineNumber:y,lineStart:g,start:_,end:_}:(O=h.charCodeAt(_),L(O)?Je():O===40||O===41||O===59?xe():O===39||O===34?Ne():O===46?E(h.charCodeAt(_+1))?Pe():xe():E(O)?Pe():D.tokenize&&O===47?ge():xe())}function $e(){var O,N,re;return V(),O={start:{line:y,column:_-g}},N=Be(),O.end={line:y,column:_-g},N.type!==s.EOF&&(re=h.slice(N.start,N.end),D.tokens.push({type:l[N.type],value:re,range:[N.start,N.end],loc:O})),N}function C(){var O;return O=M,_=O.end,y=O.lineNumber,g=O.lineStart,M=typeof D.tokens<"u"?$e():Be(),_=O.end,y=O.lineNumber,g=O.lineStart,O}function Ce(){var O,N,re;O=_,N=y,re=g,M=typeof D.tokens<"u"?$e():Be(),_=O,y=N,g=re}function mt(O,N){this.line=O,this.column=N}function tt(O,N,re,Le){this.start=new mt(O,N),this.end=new mt(re,Le)}p={name:"SyntaxTree",processComment:function(O){var N,re;if(!(O.type===u.Program&&O.body.length>0)){for(D.trailingComments.length>0?D.trailingComments[0].range[0]>=O.range[1]?(re=D.trailingComments,D.trailingComments=[]):D.trailingComments.length=0:D.bottomRightStack.length>0&&D.bottomRightStack[D.bottomRightStack.length-1].trailingComments&&D.bottomRightStack[D.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(re=D.bottomRightStack[D.bottomRightStack.length-1].trailingComments,delete D.bottomRightStack[D.bottomRightStack.length-1].trailingComments);D.bottomRightStack.length>0&&D.bottomRightStack[D.bottomRightStack.length-1].range[0]>=O.range[0];)N=D.bottomRightStack.pop();N?N.leadingComments&&N.leadingComments[N.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=N.leadingComments,delete N.leadingComments):D.leadingComments.length>0&&D.leadingComments[D.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=D.leadingComments,D.leadingComments=[]),re&&(O.trailingComments=re),D.bottomRightStack.push(O)}},markEnd:function(O,N){return D.range&&(O.range=[N.start,_]),D.loc&&(O.loc=new tt(N.startLineNumber===void 0?N.lineNumber:N.startLineNumber,N.start-(N.startLineStart===void 0?N.lineStart:N.startLineStart),y,_-g),this.postProcess(O)),D.attachComment&&this.processComment(O),O},postProcess:function(O){return D.source&&(O.loc.source=D.source),O},createArrayExpression:function(O){return{type:u.ArrayExpression,elements:O}},createAssignmentExpression:function(O,N,re){return{type:u.AssignmentExpression,operator:O,left:N,right:re}},createBinaryExpression:function(O,N,re){var Le=O==="||"||O==="&&"?u.LogicalExpression:u.BinaryExpression;return{type:Le,operator:O,left:N,right:re}},createBlockStatement:function(O){return{type:u.BlockStatement,body:O}},createBreakStatement:function(O){return{type:u.BreakStatement,label:O}},createCallExpression:function(O,N){return{type:u.CallExpression,callee:O,arguments:N}},createCatchClause:function(O,N){return{type:u.CatchClause,param:O,body:N}},createConditionalExpression:function(O,N,re){return{type:u.ConditionalExpression,test:O,consequent:N,alternate:re}},createContinueStatement:function(O){return{type:u.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:u.DebuggerStatement}},createDoWhileStatement:function(O,N){return{type:u.DoWhileStatement,body:O,test:N}},createEmptyStatement:function(){return{type:u.EmptyStatement}},createExpressionStatement:function(O){return{type:u.ExpressionStatement,expression:O}},createForStatement:function(O,N,re,Le){return{type:u.ForStatement,init:O,test:N,update:re,body:Le}},createForInStatement:function(O,N,re){return{type:u.ForInStatement,left:O,right:N,body:re,each:!1}},createFunctionDeclaration:function(O,N,re,Le){return{type:u.FunctionDeclaration,id:O,params:N,defaults:re,body:Le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,N,re,Le){return{type:u.FunctionExpression,id:O,params:N,defaults:re,body:Le,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:u.Identifier,name:O}},createIfStatement:function(O,N,re){return{type:u.IfStatement,test:O,consequent:N,alternate:re}},createLabeledStatement:function(O,N){return{type:u.LabeledStatement,label:O,body:N}},createLiteral:function(O){return{type:u.Literal,value:O.value,raw:h.slice(O.start,O.end)}},createMemberExpression:function(O,N,re){return{type:u.MemberExpression,computed:O==="[",object:N,property:re}},createNewExpression:function(O,N){return{type:u.NewExpression,callee:O,arguments:N}},createObjectExpression:function(O){return{type:u.ObjectExpression,properties:O}},createPostfixExpression:function(O,N){return{type:u.UpdateExpression,operator:O,argument:N,prefix:!1}},createProgram:function(O){return{type:u.Program,body:O}},createProperty:function(O,N,re){return{type:u.Property,key:N,value:re,kind:O}},createReturnStatement:function(O){return{type:u.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:u.SequenceExpression,expressions:O}},createSwitchCase:function(O,N){return{type:u.SwitchCase,test:O,consequent:N}},createSwitchStatement:function(O,N){return{type:u.SwitchStatement,discriminant:O,cases:N}},createThisExpression:function(){return{type:u.ThisExpression}},createThrowStatement:function(O){return{type:u.ThrowStatement,argument:O}},createTryStatement:function(O,N,re,Le){return{type:u.TryStatement,block:O,guardedHandlers:N,handlers:re,finalizer:Le}},createUnaryExpression:function(O,N){return O==="++"||O==="--"?{type:u.UpdateExpression,operator:O,argument:N,prefix:!0}:{type:u.UnaryExpression,operator:O,argument:N,prefix:!0}},createVariableDeclaration:function(O,N){return{type:u.VariableDeclaration,declarations:O,kind:N}},createVariableDeclarator:function(O,N){return{type:u.VariableDeclarator,id:O,init:N}},createWhileStatement:function(O,N){return{type:u.WhileStatement,test:O,body:N}},createWithStatement:function(O,N){return{type:u.WithStatement,object:O,body:N}}};function qe(){var O,N,re,Le;return O=_,N=y,re=g,V(),Le=y!==N,_=O,y=N,g=re,Le}function se(O,N){var re,Le=Array.prototype.slice.call(arguments,2),at=N.replace(/%(\d)/g,function(_t,Vt){return k(Vt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function Q(){var O;if(h.charCodeAt(_)===59||de(";")){C();return}O=y,V(),y===O&&M.type!==s.EOF&&!de("}")&&U(M)}function ee(O){return O.type===u.Identifier||O.type===u.MemberExpression}function Ye(){var O=[],N;for(N=M,te("[");!de("]");)de(",")?(C(),O.push(null)):(O.push(j()),de("]")||te(","));return C(),v.markEnd(v.createArrayExpression(O),N)}function Et(O,N){var re,Le,at;return re=d,at=M,Le=Fl(),N&&d&&pe(O[0].name)&&x(N,c.StrictParamName),d=re,v.markEnd(v.createFunctionExpression(null,O,[],Le),at)}function De(){var O,N;return N=M,O=C(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(d&&O.octal&&x(O,c.StrictOctalLiteral),v.markEnd(v.createLiteral(O),N)):v.markEnd(v.createIdentifier(O.value),N)}function me(){var O,N,re,Le,at,_t;if(O=M,_t=M,O.type===s.Identifier)return re=De(),O.value==="get"&&!de(":")?(N=De(),te("("),te(")"),Le=Et([]),v.markEnd(v.createProperty("get",N,Le),_t)):O.value==="set"&&!de(":")?(N=De(),te("("),O=M,O.type!==s.Identifier?(te(")"),x(O,c.UnexpectedToken,O.value),Le=Et([])):(at=[ae()],te(")"),Le=Et(at,O)),v.markEnd(v.createProperty("set",N,Le),_t)):(te(":"),Le=j(),v.markEnd(v.createProperty("init",re,Le),_t));if(O.type===s.EOF||O.type===s.Punctuator)U(O);else return N=De(),te(":"),Le=j(),v.markEnd(v.createProperty("init",N,Le),_t)}function nt(){var O=[],N,re,Le,at,_t={},Vt=String,qt;for(qt=M,te("{");!de("}");)N=me(),N.key.type===u.Identifier?re=N.key.name:re=Vt(N.key.value),at=N.kind==="init"?m.Data:N.kind==="get"?m.Get:m.Set,Le="$"+re,Object.prototype.hasOwnProperty.call(_t,Le)?(_t[Le]===m.Data?d&&at===m.Data?x({},c.StrictDuplicateProperty):at!==m.Data&&x({},c.AccessorDataProperty):at===m.Data?x({},c.AccessorDataProperty):_t[Le]&at&&x({},c.AccessorGetSet),_t[Le]|=at):_t[Le]=at,O.push(N),de("}")||te(",");return te("}"),v.markEnd(v.createObjectExpression(O),qt)}function A(){var O;return te("("),O=he(),te(")"),O}function ne(){var O,N,re,Le;if(de("("))return A();if(de("["))return Ye();if(de("{"))return nt();if(O=M.type,Le=M,O===s.Identifier)re=v.createIdentifier(C().value);else if(O===s.StringLiteral||O===s.NumericLiteral)d&&M.octal&&x(M,c.StrictOctalLiteral),re=v.createLiteral(C());else if(O===s.Keyword){if(He("function"))return Up();He("this")?(C(),re=v.createThisExpression()):U(C())}else O===s.BooleanLiteral?(N=C(),N.value=N.value==="true",re=v.createLiteral(N)):O===s.NullLiteral?(N=C(),N.value=null,re=v.createLiteral(N)):de("/")||de("/=")?(typeof D.tokens<"u"?re=v.createLiteral(K()):re=v.createLiteral(Ue()),Ce()):U(C());return v.markEnd(re,Le)}function je(){var O=[];if(te("("),!de(")"))for(;_":case"<=":case">=":case"instanceof":re=7;break;case"in":re=N?7:0;break;case"<<":case">>":case">>>":re=8;break;case"+":case"-":re=9;break;case"*":case"/":case"%":re=11;break}return re}function Ht(){var O,N,re,Le,at,_t,Vt,qt,Er,Dr;if(O=M,Er=yt(),Le=M,at=gt(Le,I.allowIn),at===0)return Er;for(Le.prec=at,C(),N=[O,M],Vt=yt(),_t=[Er,Le,Vt];(at=gt(M,I.allowIn))>0;){for(;_t.length>2&&at<=_t[_t.length-2].prec;)Vt=_t.pop(),qt=_t.pop().value,Er=_t.pop(),re=v.createBinaryExpression(qt,Er,Vt),N.pop(),O=N[N.length-1],v.markEnd(re,O),_t.push(re);Le=C(),Le.prec=at,_t.push(Le),N.push(M),re=yt(),_t.push(re)}for(Dr=_t.length-1,re=_t[Dr],N.pop();Dr>1;)re=v.createBinaryExpression(_t[Dr-1].value,_t[Dr-2],re),Dr-=2,O=N.pop(),v.markEnd(re,O);return re}function Fe(){var O,N,re,Le,at;return at=M,O=Ht(),de("?")&&(C(),N=I.allowIn,I.allowIn=!0,re=j(),I.allowIn=N,te(":"),Le=j(),O=v.createConditionalExpression(O,re,Le),v.markEnd(O,at)),O}function j(){var O,N,re,Le,at;return O=M,at=M,Le=N=Fe(),It()&&(ee(N)||x({},c.InvalidLHSInAssignment),d&&N.type===u.Identifier&&pe(N.name)&&x(O,c.StrictLHSAssignment),O=C(),re=j(),Le=v.markEnd(v.createAssignmentExpression(O.value,N,re),at)),Le}function he(){var O,N=M;if(O=j(),de(",")){for(O=v.createSequenceExpression([O]);_"u"));)O.push(N);return O}function le(){var O,N;return N=M,te("{"),O=Ae(),te("}"),v.markEnd(v.createBlockStatement(O),N)}function ae(){var O,N;return N=M,O=C(),O.type!==s.Identifier&&U(O),v.markEnd(v.createIdentifier(O.value),N)}function ve(O){var N=null,re,Le;return Le=M,re=ae(),d&&pe(re.name)&&x({},c.StrictVarName),O==="const"?(te("="),N=j()):de("=")&&(C(),N=j()),v.markEnd(v.createVariableDeclarator(re,N),Le)}function Me(O){var N=[];do{if(N.push(ve(O)),!de(","))break;C()}while(_"u"&&te(";")),typeof Le>"u"&&(de(";")||(N=he()),te(";"),de(")")||(re=he())),te(")"),Vt=I.inIteration,I.inIteration=!0,_t=is(),I.inIteration=Vt,typeof Le>"u"?v.createForStatement(O,N,re,_t):v.createForInStatement(Le,at,_t)}function ct(){var O=null,N;return Se("continue"),h.charCodeAt(_)===59?(C(),I.inIteration||se({},c.IllegalContinue),v.createContinueStatement(null)):qe()?(I.inIteration||se({},c.IllegalContinue),v.createContinueStatement(null)):(M.type===s.Identifier&&(O=ae(),N="$"+O.name,Object.prototype.hasOwnProperty.call(I.labelSet,N)||se({},c.UnknownLabel,O.name)),Q(),O===null&&!I.inIteration&&se({},c.IllegalContinue),v.createContinueStatement(O))}function St(){var O=null,N;return Se("break"),h.charCodeAt(_)===59?(C(),I.inIteration||I.inSwitch||se({},c.IllegalBreak),v.createBreakStatement(null)):qe()?(I.inIteration||I.inSwitch||se({},c.IllegalBreak),v.createBreakStatement(null)):(M.type===s.Identifier&&(O=ae(),N="$"+O.name,Object.prototype.hasOwnProperty.call(I.labelSet,N)||se({},c.UnknownLabel,O.name)),Q(),O===null&&!(I.inIteration||I.inSwitch)&&se({},c.IllegalBreak),v.createBreakStatement(O))}function xt(){var O=null;return Se("return"),I.inFunctionBody||x({},c.IllegalReturn),h.charCodeAt(_)===32&&L(h.charCodeAt(_+1))?(O=he(),Q(),v.createReturnStatement(O)):qe()?v.createReturnStatement(null):(de(";")||!de("}")&&M.type!==s.EOF&&(O=he()),Q(),v.createReturnStatement(O))}function Ut(){var O,N;return d&&(V(),x({},c.StrictModeWith)),Se("with"),te("("),O=he(),te(")"),N=is(),v.createWithStatement(O,N)}function Lt(){var O,N=[],re,Le;for(Le=M,He("default")?(C(),O=null):(Se("case"),O=he()),te(":");_"u"));)N.push(O);return te("}"),I.labelSet=_t,I.inIteration=Vt,I.inSwitch=qt,I.inFunctionBody=Er,v.markEnd(v.createBlockStatement(N),Dr)}function zt(O){var N,re=[],Le,at,_t,Vt,qt;if(te("("),!de(")"))for(_t={};_"u"));)N.push(O);return N}function Mc(){var O,N;return V(),Ce(),N=M,d=!1,O=bo(),v.markEnd(v.createProgram(O),N)}function Bm(){var O,N,re,Le=[];for(O=0;O0?1:0,g=0,S=h.length,M=null,I={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},D={},N=N||{},N.tokens=!0,D.tokens=[],D.tokenize=!0,D.openParenToken=-1,D.openCurlyToken=-1,D.range=typeof N.range=="boolean"&&N.range,D.loc=typeof N.loc=="boolean"&&N.loc,typeof N.comment=="boolean"&&N.comment&&(D.comments=[]),typeof N.tolerant=="boolean"&&N.tolerant&&(D.errors=[]);try{if(Ce(),M.type===s.EOF)return D.tokens;for(Le=C();M.type!==s.EOF;)try{Le=C()}catch(_t){if(Le=M,D.errors){D.errors.push(_t);break}else throw _t}Bm(),at=D.tokens,typeof D.comments<"u"&&(at.comments=D.comments),typeof D.errors<"u"&&(at.errors=D.errors)}catch(_t){throw _t}finally{D={}}return at}function Co(O,N){var re,Le;Le=String,typeof O!="string"&&!(O instanceof String)&&(O=Le(O)),v=p,h=O,_=0,y=h.length>0?1:0,g=0,S=h.length,M=null,I={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},D={},typeof N<"u"&&(D.range=typeof N.range=="boolean"&&N.range,D.loc=typeof N.loc=="boolean"&&N.loc,D.attachComment=typeof N.attachComment=="boolean"&&N.attachComment,D.loc&&N.source!==null&&N.source!==void 0&&(D.source=Le(N.source)),typeof N.tokens=="boolean"&&N.tokens&&(D.tokens=[]),typeof N.comment=="boolean"&&N.comment&&(D.comments=[]),typeof N.tolerant=="boolean"&&N.tolerant&&(D.errors=[]),D.attachComment&&(D.range=!0,D.comments=[],D.bottomRightStack=[],D.trailingComments=[],D.leadingComments=[]));try{re=Mc(),typeof D.comments<"u"&&(re.comments=D.comments),typeof D.tokens<"u"&&(Bm(),re.tokens=D.tokens),typeof D.errors<"u"&&(re.errors=D.errors)}catch(at){throw at}finally{D={}}return re}i.version="1.2.2",i.tokenize=Np,i.parse=Co,i.Syntax=function(){var O,N={};typeof Object.create=="function"&&(N=Object.create(null));for(O in u)u.hasOwnProperty(O)&&(N[O]=u[O]);return typeof Object.freeze=="function"&&Object.freeze(N),N}()})},{}],1:[function(r,n,a){(function(i){var s=function(){var l={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,p,h,d,_,y,g){d.ast||(d.ast=o,o.initialize());var S=y.length-1;switch(_){case 1:return d.ast.set({expression:{type:"root",value:y[S]}}),d.ast.unshift(),d.ast.yield();case 2:return d.ast.set({expression:{type:"root",value:y[S-1]}}),d.ast.unshift(),d.ast.yield();case 3:return d.ast.unshift(),d.ast.yield();case 4:return d.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:y[S-1]}}),d.ast.unshift(),d.ast.yield();case 5:break;case 6:break;case 7:d.ast.set({operation:"member"}),d.ast.push();break;case 8:d.ast.set({operation:"subscript"}),d.ast.push();break;case 9:d.ast.set({scope:"child"});break;case 10:d.ast.set({scope:"descendant"});break;case 11:break;case 12:d.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:d.ast.set({expression:{type:"wildcard",value:y[S]}});break;case 15:d.ast.set({expression:{type:"identifier",value:y[S]}});break;case 16:d.ast.set({expression:{type:"script_expression",value:y[S]}});break;case 17:d.ast.set({expression:{type:"numeric_literal",value:parseInt(y[S])}});break;case 18:break;case 19:d.ast.set({scope:"child"});break;case 20:d.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:y[S].length>1?d.ast.set({expression:{type:"union",value:y[S]}}):this.$=y[S];break;case 25:this.$=[y[S]];break;case 26:this.$=y[S-2].concat(y[S]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(y[S])}},d.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:y[S]}},d.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:y[S]}},d.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:y[S]}},d.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:y[S]}},d.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:y[S]}},d.ast.set(this.$);break;case 33:this.$=y[S];break;case 34:this.$=y[S];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,p){if(p.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var p=this,h=[0],d=[null],_=[],y=this.table,g="",S=0,v=0,M=2,I=1,D=_.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var k=this.lexer.yylloc;_.push(k);var E=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function z(){var J;return J=p.lexer.lex()||I,typeof J!="number"&&(J=p.symbols_[J]||J),J}for(var B,P,F,L,H={},ie,G,pe,W;;){if(P=h[h.length-1],this.defaultActions[P]?F=this.defaultActions[P]:((B===null||typeof B>"u")&&(B=z()),F=y[P]&&y[P][B]),typeof F>"u"||!F.length||!F[0]){var ce="";W=[];for(ie in y[P])this.terminals_[ie]&&ie>M&&W.push("'"+this.terminals_[ie]+"'");this.lexer.showPosition?ce="Parse error on line "+(S+1)+`: -`+this.lexer.showPosition()+` -Expecting `+W.join(", ")+", got '"+(this.terminals_[B]||B)+"'":ce="Parse error on line "+(S+1)+": Unexpected "+(B==I?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(ce,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:k,expected:W})}if(F[0]instanceof Array&&F.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+B);switch(F[0]){case 1:h.push(B),d.push(this.lexer.yytext),_.push(this.lexer.yylloc),h.push(F[1]),B=null,v=this.lexer.yyleng,g=this.lexer.yytext,S=this.lexer.yylineno,k=this.lexer.yylloc;break;case 2:if(G=this.productions_[F[1]][1],H.$=d[d.length-G],H._$={first_line:_[_.length-(G||1)].first_line,last_line:_[_.length-1].last_line,first_column:_[_.length-(G||1)].first_column,last_column:_[_.length-1].last_column},E&&(H._$.range=[_[_.length-(G||1)].range[0],_[_.length-1].range[1]]),L=this.performAction.apply(H,[g,v,S,this.yy,F[1],d,_].concat(D)),typeof L<"u")return L;G&&(h=h.slice(0,-1*G*2),d=d.slice(0,-1*G),_=_.slice(0,-1*G)),h.push(this.productions_[F[1]][0]),d.push(H.$),_.push(H._$),pe=y[h[h.length-2]][h[h.length-1]],h.push(pe);break;case 3:return!0}}return!0}},o={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(c){for(var f in c)this._node[f]=c[f];return this._node},node:function(c){return arguments.length&&(this._node=c),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var c=this._nodes;return this.initialize(),c}},u=function(){var c={EOF:1,parseError:function(p,h){if(this.yy.parser)this.yy.parser.parseError(p,h);else throw new Error(p)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var p=f.match(/(?:\r\n?|\n).*/g);return p?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var p=f.length,h=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-p-1),this.offset-=p;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1&&(this.yylineno-=h.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===d.length?this.yylloc.first_column:0)+d[d.length-h.length].length-h[0].length:this.yylloc.first_column-p},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-p]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),p=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+p+"^"},test_match:function(f,p){var h,d,_;if(this.options.backtrack_lexer&&(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(_.yylloc.range=this.yylloc.range.slice(0))),d=f[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],h=this.performAction.call(this,this.yy,this,p,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var y in _)this[y]=_[y];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,p,h,d;this._more||(this.yytext="",this.match="");for(var _=this._currentRules(),y=0;y<_.length;y++)if(h=this._input.match(this.rules[_[y]]),h&&(!p||h[0].length>p[0].length)){if(p=h,d=y,this.options.backtrack_lexer){if(f=this.test_match(h,_[y]),f!==!1)return f;if(this._backtrack){p=!1;continue}else return!1}else if(!this.options.flex)break}return p?(f=this.test_match(p,_[d]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var p=this.next();return p||this.lex()},begin:function(p){this.conditionStack.push(p)},popState:function(){var p=this.conditionStack.length-1;return p>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(p){return p=this.conditionStack.length-1-Math.abs(p||0),p>=0?this.conditionStack[p]:"INITIAL"},pushState:function(p){this.begin(p)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(p,h,d,_){switch(d){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return h.yytext=h.yytext.substr(1,h.yyleng-2),32;case 11:return h.yytext=h.yytext.substr(1,h.yyleng-2),33;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return c}();l.lexer=u;function m(){this.yy={}}return m.prototype=l,l.Parser=m,new m}();typeof r<"u"&&typeof a<"u"&&(a.parser=s,a.Parser=s.Parser,a.parse=function(){return s.parse.apply(s,arguments)},a.main=function(o){o[1]||(console.log("Usage: "+o[0]+" FILE"),i.exit(1));var u=r("fs").readFileSync(r("path").normalize(o[1]),"utf8");return a.parser.parse(u)},typeof n<"u"&&r.main===n&&a.main(i.argv.slice(1)))}).call(this,r("_process"))},{_process:14,fs:12,path:13}],2:[function(r,n,a){n.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(r,n,a){var i=r("./dict"),s=r("fs"),l={lex:{macros:{esc:"\\\\",int:i.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[i.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[i.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[i.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(l.moduleInclude=s.readFileSync(r.resolve("../include/module.js")),l.actionInclude=s.readFileSync(r.resolve("../include/action.js"))),n.exports=l},{"./dict":2,fs:12}],4:[function(r,n,a){var i=r("./aesprim"),s=r("./slice"),l=r("static-eval"),o=r("underscore").uniq,u=function(){return this.initialize.apply(this,arguments)};u.prototype.initialize=function(){this.traverse=p(!0),this.descend=p()},u.prototype.keys=Object.keys,u.prototype.resolve=function(S){var v=[S.operation,S.scope,S.expression.type].join("-"),M=this._fns[v];if(!M)throw new Error("couldn't resolve key: "+v);return M.bind(this)},u.prototype.register=function(S,v){if(!v instanceof Function)throw new Error("handler must be a function");this._fns[S]=v},u.prototype._fns={"member-child-identifier":function(S,v){var M=S.expression.value,I=v.value;if(I instanceof Object&&M in I)return[{value:I[M],path:v.path.concat(M)}]},"member-descendant-identifier":d(function(S,v,M){return S==M}),"subscript-child-numeric_literal":h(function(S,v,M){return S===M}),"member-child-numeric_literal":h(function(S,v,M){return String(S)===String(M)}),"subscript-descendant-numeric_literal":d(function(S,v,M){return S===M}),"member-child-wildcard":h(function(){return!0}),"member-descendant-wildcard":d(function(){return!0}),"subscript-descendant-wildcard":d(function(){return!0}),"subscript-child-wildcard":h(function(){return!0}),"subscript-child-slice":function(S,v){if(c(v.value)){var M=S.expression.value.split(":").map(g),I=v.value.map(function(D,k){return{value:D,path:v.path.concat(k)}});return s.apply(null,[I].concat(M))}},"subscript-child-union":function(S,v){var M=[];return S.expression.value.forEach(function(I){var D={operation:"subscript",scope:"child",expression:I.expression},k=this.resolve(D),E=k(D,v);E&&(M=M.concat(E))},this),y(M)},"subscript-descendant-union":function(S,v,M){var I=r(".."),D=this,k=[],E=I.nodes(v,"$..*").slice(1);return E.forEach(function(z){k.length>=M||S.expression.value.forEach(function(B){var P={operation:"subscript",scope:"child",expression:B.expression},F=D.resolve(P),L=F(P,z);k=k.concat(L)})}),y(k)},"subscript-child-filter_expression":function(S,v,M){var I=S.expression.value.slice(2,-1),D=i.parse(I).body[0].expression,k=function(E,z){return _(D,{"@":z})};return this.descend(v,null,k,M)},"subscript-descendant-filter_expression":function(S,v,M){var I=S.expression.value.slice(2,-1),D=i.parse(I).body[0].expression,k=function(E,z){return _(D,{"@":z})};return this.traverse(v,null,k,M)},"subscript-child-script_expression":function(S,v){var M=S.expression.value.slice(1,-1);return m(v,M,"$[{{value}}]")},"member-child-script_expression":function(S,v){var M=S.expression.value.slice(1,-1);return m(v,M,"$.{{value}}")},"member-descendant-script_expression":function(S,v){var M=S.expression.value.slice(1,-1);return m(v,M,"$..value")}},u.prototype._fns["subscript-child-string_literal"]=u.prototype._fns["member-child-identifier"],u.prototype._fns["member-descendant-numeric_literal"]=u.prototype._fns["subscript-descendant-string_literal"]=u.prototype._fns["member-descendant-identifier"];function m(S,v,M){var I=r("./index"),D=i.parse(v).body[0].expression,k=_(D,{"@":S.value}),E=M.replace(/\{\{\s*value\s*\}\}/g,k),z=I.nodes(S.value,E);return z.forEach(function(B){B.path=S.path.concat(B.path.slice(1))}),z}function c(S){return Array.isArray(S)}function f(S){return S&&!(S instanceof Array)&&S instanceof Object}function p(S){return function(v,M,I,D){var k=v.value,E=v.path,z=[],B=function(P,F){c(P)?(P.forEach(function(L,H){z.length>=D||I(H,L,M)&&z.push({path:F.concat(H),value:L})}),P.forEach(function(L,H){z.length>=D||S&&B(L,F.concat(H))})):f(P)&&(this.keys(P).forEach(function(L){z.length>=D||I(L,P[L],M)&&z.push({path:F.concat(L),value:P[L]})}),this.keys(P).forEach(function(L){z.length>=D||S&&B(P[L],F.concat(L))}))}.bind(this);return B(k,E),z}}function h(S){return function(v,M,I){return this.descend(M,v.expression.value,S,I)}}function d(S){return function(v,M,I){return this.traverse(M,v.expression.value,S,I)}}function _(){try{return l.apply(this,arguments)}catch{}}function y(S){return S=S.filter(function(v){return v}),o(S,function(v){return v.path.map(function(M){return String(M).replace("-","--")}).join("-")})}function g(S){var v=String(S);return v.match(/^-?[0-9]+$/)?parseInt(v):null}n.exports=u},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(r,n,a){var i=r("assert"),s=r("./dict"),l=r("./parser"),o=r("./handlers"),u=function(){this.initialize.apply(this,arguments)};u.prototype.initialize=function(){this.parser=new l,this.handlers=new o},u.prototype.parse=function(f){return i.ok(m(f),"we need a path"),this.parser.parse(f)},u.prototype.parent=function(f,p){i.ok(f instanceof Object,"obj needs to be an object"),i.ok(p,"we need a path");var h=this.nodes(f,p)[0];return h.path.pop(),this.value(f,h.path)},u.prototype.apply=function(f,p,h){i.ok(f instanceof Object,"obj needs to be an object"),i.ok(p,"we need a path"),i.equal(typeof h,"function","fn needs to be function");var d=this.nodes(f,p).sort(function(_,y){return y.path.length-_.path.length});return d.forEach(function(_){var y=_.path.pop(),g=this.value(f,this.stringify(_.path)),S=_.value=h.call(f,g[y]);g[y]=S},this),d},u.prototype.value=function(f,p,h){if(i.ok(f instanceof Object,"obj needs to be an object"),i.ok(p,"we need a path"),arguments.length>=3){var d=this.nodes(f,p).shift();if(!d)return this._vivify(f,p,h);var _=d.path.slice(-1).shift(),y=this.parent(f,this.stringify(d.path));y[_]=h}return this.query(f,this.stringify(p),1).shift()},u.prototype._vivify=function(f,p,h){var d=this;i.ok(f instanceof Object,"obj needs to be an object"),i.ok(p,"we need a path");var _=this.parser.parse(p).map(function(g){return g.expression.value}),y=function(g,S){var v=g.pop(),M=d.value(f,g);M||(y(g.concat(),typeof v=="string"?{}:[]),M=d.value(f,g)),M[v]=S};return y(_,h),this.query(f,p)[0]},u.prototype.query=function(f,p,h){i.ok(f instanceof Object,"obj needs to be an object"),i.ok(m(p),"we need a path");var d=this.nodes(f,p,h).map(function(_){return _.value});return d},u.prototype.paths=function(f,p,h){i.ok(f instanceof Object,"obj needs to be an object"),i.ok(p,"we need a path");var d=this.nodes(f,p,h).map(function(_){return _.path});return d},u.prototype.nodes=function(f,p,h){if(i.ok(f instanceof Object,"obj needs to be an object"),i.ok(p,"we need a path"),h===0)return[];var d=this.parser.parse(p),_=this.handlers,y=[{path:["$"],value:f}],g=[];return d.length&&d[0].expression.type=="root"&&d.shift(),d.length?(d.forEach(function(S,v){if(!(g.length>=h)){var M=_.resolve(S),I=[];y.forEach(function(D){if(!(g.length>=h)){var k=M(S,D,h);v==d.length-1?g=g.concat(k||[]):I=I.concat(k||[])}}),y=I}}),h?g.slice(0,h):g):y},u.prototype.stringify=function(f){i.ok(f,"we need a path");var p="$",h={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(d){if(d.expression.type!="root"){var _=[d.scope,d.operation].join("-"),y=h[_],g;if(d.expression.type=="string_literal"?g=JSON.stringify(d.expression.value):g=d.expression.value,!y)throw new Error("couldn't find template "+_);p+=y.replace(/{{value}}/,g)}}),p},u.prototype._normalize=function(f){if(i.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var p=[{expression:{type:"root",value:"$"}}];return f.forEach(function(h,d){if(!(h=="$"&&d===0))if(typeof h=="string"&&h.match("^"+s.identifier+"$"))p.push({operation:"member",scope:"child",expression:{value:h,type:"identifier"}});else{var _=typeof h=="number"?"numeric_literal":"string_literal";p.push({operation:"subscript",scope:"child",expression:{value:h,type:_}})}}),p}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function m(f){return Object.prototype.toString.call(f)=="[object String]"}u.Handlers=o,u.Parser=l;var c=new u;c.JSONPath=u,n.exports=c},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(r,n,a){var i=r("./grammar"),s=r("../generated/parser"),l=function(){var o=new s.Parser,u=o.parseError;return o.yy.parseError=function(){o.yy.ast&&o.yy.ast.initialize(),u.apply(o,arguments)},o};l.grammar=i,n.exports=l},{"../generated/parser":1,"./grammar":3}],7:[function(r,n,a){n.exports=function(s,l,o,u){if(typeof l=="string")throw new Error("start cannot be a string");if(typeof o=="string")throw new Error("end cannot be a string");if(typeof u=="string")throw new Error("step cannot be a string");var m=s.length;if(u===0)throw new Error("step cannot be zero");if(u=u?i(u):1,l=l<0?m+l:l,o=o<0?m+o:o,l=i(l===0?0:l||(u>0?0:m-1)),o=i(o===0?0:o||(u>0?m:-1)),l=u>0?Math.max(0,l):Math.min(m,l),o=u>0?Math.min(o,m):Math.max(-1,o),u>0&&o<=l)return[];if(u<0&&l<=o)return[];for(var c=[],f=l;f!=o&&!(u<0&&f<=o||u>0&&f>=o);f+=u)c.push(s[f]);return c};function i(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(r,n,a){var i=r("util/"),s=Array.prototype.slice,l=Object.prototype.hasOwnProperty,o=n.exports=p;o.AssertionError=function(M){this.name="AssertionError",this.actual=M.actual,this.expected=M.expected,this.operator=M.operator,M.message?(this.message=M.message,this.generatedMessage=!1):(this.message=c(this),this.generatedMessage=!0);var I=M.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,I);else{var D=new Error;if(D.stack){var k=D.stack,E=I.name,z=k.indexOf(` -`+E);if(z>=0){var B=k.indexOf(` -`,z+1);k=k.substring(B+1)}this.stack=k}}},i.inherits(o.AssertionError,Error);function u(v,M){return i.isUndefined(M)?""+M:i.isNumber(M)&&!isFinite(M)||i.isFunction(M)||i.isRegExp(M)?M.toString():M}function m(v,M){return i.isString(v)?v.length=0;B--)if(k[B]!=E[B])return!1;for(B=k.length-1;B>=0;B--)if(z=k[B],!h(v[z],M[z]))return!1;return!0}o.notDeepEqual=function(M,I,D){h(M,I)&&f(M,I,D,"notDeepEqual",o.notDeepEqual)},o.strictEqual=function(M,I,D){M!==I&&f(M,I,D,"===",o.strictEqual)},o.notStrictEqual=function(M,I,D){M===I&&f(M,I,D,"!==",o.notStrictEqual)};function y(v,M){return!v||!M?!1:Object.prototype.toString.call(M)=="[object RegExp]"?M.test(v):v instanceof M?!0:M.call({},v)===!0}function g(v,M,I,D){var k;i.isString(I)&&(D=I,I=null);try{M()}catch(E){k=E}if(D=(I&&I.name?" ("+I.name+").":".")+(D?" "+D:"."),v&&!k&&f(k,I,"Missing expected exception"+D),!v&&y(k,I)&&f(k,I,"Got unwanted exception"+D),v&&k&&I&&!y(k,I)||!v&&k)throw k}o.throws=function(v,M,I){g.apply(this,[!0].concat(s.call(arguments)))},o.doesNotThrow=function(v,M){g.apply(this,[!1].concat(s.call(arguments)))},o.ifError=function(v){if(v)throw v};var S=Object.keys||function(v){var M=[];for(var I in v)l.call(v,I)&&M.push(I);return M}},{"util/":11}],9:[function(r,n,a){typeof Object.create=="function"?n.exports=function(s,l){s.super_=l,s.prototype=Object.create(l.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:n.exports=function(s,l){s.super_=l;var o=function(){};o.prototype=l.prototype,s.prototype=new o,s.prototype.constructor=s}},{}],10:[function(r,n,a){n.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(r,n,a){(function(i,s){var l=/%[sdj%]/g;a.format=function(V){if(!E(V)){for(var Y=[],Z=0;Z=Je)return et;switch(et){case"%s":return String(Re[Z++]);case"%d":return Number(Re[Z++]);case"%j":try{return JSON.stringify(Re[Z++])}catch{return"[Circular]"}default:return et}}),be=Re[Z];Z=3&&(Z.depth=arguments[2]),arguments.length>=4&&(Z.colors=arguments[3]),M(Y)?Z.showHidden=Y:Y&&a._extend(Z,Y),B(Z.showHidden)&&(Z.showHidden=!1),B(Z.depth)&&(Z.depth=2),B(Z.colors)&&(Z.colors=!1),B(Z.customInspect)&&(Z.customInspect=!0),Z.colors&&(Z.stylize=c),h(Z,V,Z.depth)}a.inspect=m,m.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},m.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function c(V,Y){var Z=m.styles[Y];return Z?"\x1B["+m.colors[Z][0]+"m"+V+"\x1B["+m.colors[Z][1]+"m":V}function f(V,Y){return V}function p(V){var Y={};return V.forEach(function(Z,Re){Y[Z]=!0}),Y}function h(V,Y,Z){if(V.customInspect&&Y&&ie(Y.inspect)&&Y.inspect!==a.inspect&&!(Y.constructor&&Y.constructor.prototype===Y)){var Re=Y.inspect(Z,V);return E(Re)||(Re=h(V,Re,Z)),Re}var Je=d(V,Y);if(Je)return Je;var xe=Object.keys(Y),be=p(xe);if(V.showHidden&&(xe=Object.getOwnPropertyNames(Y)),H(Y)&&(xe.indexOf("message")>=0||xe.indexOf("description")>=0))return _(Y);if(xe.length===0){if(ie(Y)){var et=Y.name?": "+Y.name:"";return V.stylize("[Function"+et+"]","special")}if(P(Y))return V.stylize(RegExp.prototype.toString.call(Y),"regexp");if(L(Y))return V.stylize(Date.prototype.toString.call(Y),"date");if(H(Y))return _(Y)}var Pe="",Ne=!1,vt=["{","}"];if(v(Y)&&(Ne=!0,vt=["[","]"]),ie(Y)){var T=Y.name?": "+Y.name:"";Pe=" [Function"+T+"]"}if(P(Y)&&(Pe=" "+RegExp.prototype.toString.call(Y)),L(Y)&&(Pe=" "+Date.prototype.toUTCString.call(Y)),H(Y)&&(Pe=" "+_(Y)),xe.length===0&&(!Ne||Y.length==0))return vt[0]+Pe+vt[1];if(Z<0)return P(Y)?V.stylize(RegExp.prototype.toString.call(Y),"regexp"):V.stylize("[Object]","special");V.seen.push(Y);var we;return Ne?we=y(V,Y,Z,be,xe):we=xe.map(function(Ue){return g(V,Y,Z,be,Ue,Ne)}),V.seen.pop(),S(we,Pe,vt)}function d(V,Y){if(B(Y))return V.stylize("undefined","undefined");if(E(Y)){var Z="'"+JSON.stringify(Y).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return V.stylize(Z,"string")}if(k(Y))return V.stylize(""+Y,"number");if(M(Y))return V.stylize(""+Y,"boolean");if(I(Y))return V.stylize("null","null")}function _(V){return"["+Error.prototype.toString.call(V)+"]"}function y(V,Y,Z,Re,Je){for(var xe=[],be=0,et=Y.length;be-1&&(xe?et=et.split(` -`).map(function(Ne){return" "+Ne}).join(` -`).substr(2):et=` -`+et.split(` -`).map(function(Ne){return" "+Ne}).join(` -`))):et=V.stylize("[Circular]","special")),B(be)){if(xe&&Je.match(/^\d+$/))return et;be=JSON.stringify(""+Je),be.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(be=be.substr(1,be.length-2),be=V.stylize(be,"name")):(be=be.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),be=V.stylize(be,"string"))}return be+": "+et}function S(V,Y,Z){var Re=V.reduce(function(Je,xe){return xe.indexOf(` -`)>=0,Je+xe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Re>60?Z[0]+(Y===""?"":Y+` - `)+" "+V.join(`, - `)+" "+Z[1]:Z[0]+Y+" "+V.join(", ")+" "+Z[1]}function v(V){return Array.isArray(V)}a.isArray=v;function M(V){return typeof V=="boolean"}a.isBoolean=M;function I(V){return V===null}a.isNull=I;function D(V){return V==null}a.isNullOrUndefined=D;function k(V){return typeof V=="number"}a.isNumber=k;function E(V){return typeof V=="string"}a.isString=E;function z(V){return typeof V=="symbol"}a.isSymbol=z;function B(V){return V===void 0}a.isUndefined=B;function P(V){return F(V)&&pe(V)==="[object RegExp]"}a.isRegExp=P;function F(V){return typeof V=="object"&&V!==null}a.isObject=F;function L(V){return F(V)&&pe(V)==="[object Date]"}a.isDate=L;function H(V){return F(V)&&(pe(V)==="[object Error]"||V instanceof Error)}a.isError=H;function ie(V){return typeof V=="function"}a.isFunction=ie;function G(V){return V===null||typeof V=="boolean"||typeof V=="number"||typeof V=="string"||typeof V=="symbol"||typeof V>"u"}a.isPrimitive=G,a.isBuffer=r("./support/isBuffer");function pe(V){return Object.prototype.toString.call(V)}function W(V){return V<10?"0"+V.toString(10):V.toString(10)}var ce=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function J(){var V=new Date,Y=[W(V.getHours()),W(V.getMinutes()),W(V.getSeconds())].join(":");return[V.getDate(),ce[V.getMonth()],Y].join(" ")}a.log=function(){console.log("%s - %s",J(),a.format.apply(a,arguments))},a.inherits=r("inherits"),a._extend=function(V,Y){if(!Y||!F(Y))return V;for(var Z=Object.keys(Y),Re=Z.length;Re--;)V[Z[Re]]=Y[Z[Re]];return V};function R(V,Y){return Object.prototype.hasOwnProperty.call(V,Y)}}).call(this,r("_process"),typeof Ka<"u"?Ka:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(r,n,a){},{}],13:[function(r,n,a){(function(i){function s(m,c){for(var f=0,p=m.length-1;p>=0;p--){var h=m[p];h==="."?m.splice(p,1):h===".."?(m.splice(p,1),f++):f&&(m.splice(p,1),f--)}if(c)for(;f--;f)m.unshift("..");return m}a.resolve=function(){for(var m="",c=!1,f=arguments.length-1;f>=-1&&!c;f--){var p=f>=0?arguments[f]:i.cwd();if(typeof p!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!p)continue;m=p+"/"+m,c=p.charAt(0)==="/"}return m=s(o(m.split("/"),function(h){return!!h}),!c).join("/"),(c?"/":"")+m||"."},a.normalize=function(m){var c=a.isAbsolute(m),f=u(m,-1)==="/";return m=s(o(m.split("/"),function(p){return!!p}),!c).join("/"),!m&&!c&&(m="."),m&&f&&(m+="/"),(c?"/":"")+m},a.isAbsolute=function(m){return m.charAt(0)==="/"},a.join=function(){var m=Array.prototype.slice.call(arguments,0);return a.normalize(o(m,function(c,f){if(typeof c!="string")throw new TypeError("Arguments to path.join must be strings");return c}).join("/"))},a.relative=function(m,c){m=a.resolve(m).substr(1),c=a.resolve(c).substr(1);function f(S){for(var v=0;v=0&&S[M]==="";M--);return v>M?[]:S.slice(v,M-v+1)}for(var p=f(m.split("/")),h=f(c.split("/")),d=Math.min(p.length,h.length),_=d,y=0;y=1;--d)if(c=m.charCodeAt(d),c===47){if(!h){p=d;break}}else h=!1;return p===-1?f?"/":".":f&&p===1?"/":m.slice(0,p)};function l(m){typeof m!="string"&&(m=m+"");var c=0,f=-1,p=!0,h;for(h=m.length-1;h>=0;--h)if(m.charCodeAt(h)===47){if(!p){c=h+1;break}}else f===-1&&(p=!1,f=h+1);return f===-1?"":m.slice(c,f)}a.basename=function(m,c){var f=l(m);return c&&f.substr(-1*c.length)===c&&(f=f.substr(0,f.length-c.length)),f},a.extname=function(m){typeof m!="string"&&(m=m+"");for(var c=-1,f=0,p=-1,h=!0,d=0,_=m.length-1;_>=0;--_){var y=m.charCodeAt(_);if(y===47){if(!h){f=_+1;break}continue}p===-1&&(h=!1,p=_+1),y===46?c===-1?c=_:d!==1&&(d=1):c!==-1&&(d=-1)}return c===-1||p===-1||d===0||d===1&&c===p-1&&c===f+1?"":m.slice(c,p)};function o(m,c){if(m.filter)return m.filter(c);for(var f=[],p=0;p1)for(var I=1;I"?_>M:I===">="?_>=M:I==="|"?_|M:I==="&"?_&M:I==="^"?_^M:I==="&&"?_&&M:I==="||"?_||M:o}else{if(c.type==="Identifier")return{}.hasOwnProperty.call(l,c.name)?l[c.name]:o;if(c.type==="ThisExpression")return{}.hasOwnProperty.call(l,"this")?l.this:o;if(c.type==="CallExpression"){var D=m(c.callee);if(D===o||typeof D!="function")return o;var k=c.callee.object?m(c.callee.object):o;k===o&&(k=null);for(var E=[],d=0,_=c.arguments.length;d<_;d++){var y=m(c.arguments[d]);if(y===o)return o;E.push(y)}return D.apply(k,E)}else if(c.type==="MemberExpression"){var g=m(c.object);if(g===o||typeof g=="function")return o;if(c.property.type==="Identifier")return g[c.property.name];var S=m(c.property);return S===o?o:g[S]}else if(c.type==="ConditionalExpression"){var p=m(c.test);return p===o?o:m(p?c.consequent:c.alternate)}else if(c.type==="ExpressionStatement"){var p=m(c.expression);return p===o?o:p}else{if(c.type==="ReturnStatement")return m(c.argument);if(c.type==="FunctionExpression"){var z=c.body.body,B={};Object.keys(l).forEach(function(ce){B[ce]=l[ce]});for(var d=0;d[e,{...t,CsvHeader:e}]));const xse={name:"TomKat Ranch",type:"Soil",mappings:wse,analytes:dL,examplesKey:"tomkat_historic"},Vse={SAMPLEID:"FMISSampleID",LABNUM:"SampleNumber",REPORTNUM:["LabEventID","LabReportID"],DATESAMPL:void 0,DATESUB:["ReportDate","DateReceived"],CLIENT:"ClientAccountNumber",GROWER:"Grower",PERSON:"ClientName",TIMESUB:void 0,CROP:"Crop",PLANTPART:"PlantPart",TYPE:void 0,TEST_A:void 0,TEST_B:void 0,TEST_C:void 0},Rse={N:{ValueUnit:"%",Element:"N"},P:{ValueUnit:"%",Element:"Phosphorus"},K:{ValueUnit:"%",Element:"K"},MG:{ValueUnit:"%",Element:"Mg"},CA:{ValueUnit:"%",Element:"Ca"},NA:{ValueUnit:"%",Element:"Na"},NO3_N:{ValueUnit:"ppm",Element:"NO3-N"},S:{ValueUnit:"%",Element:"S"},ZN:{ValueUnit:"ppm",Element:"Zn"},MN:{ValueUnit:"ppm",Element:"Mn"},FE:{ValueUnit:"ppm",Element:"Fe"},CU:{ValueUnit:"ppm",Element:"Cu"},B:{ValueUnit:"ppm",Element:"B"},CL:{ValueUnit:"%",Element:"Cl"},MO:{ValueUnit:"ppm",Element:"Mo"},AL:{ValueUnit:"ppm",Element:"Al"},PO4_P:{ValueUnit:"meq/100g",Element:"PO4_P"},K_EXT:{ValueUnit:"meq/100g",Element:"Potassium Extracted"},SO4_S:{ValueUnit:"ppm",Element:"SO4-S"}},Fse={name:"A&L Western Agricultural Labs - Modesto, CA",type:"Plant",mappings:Vse,analytes:Rse,examplesKey:"a_l_west"},Bse={IncKey:"FMISSampleID",RequestIncKey:void 0,Client:"ClientCompany",Grower:"Grower",Sampler:void 0,LabNo:"SampleNumber",RptNo:"LabReportID",Date:"DateReceived",SampleDate:"ReportDate",Field:"Field",SampleID:void 0,Crop:"Crop",StartingDepth:"StartingDepth",EndingDepth:"EndingDepth",Test:void 0,ProjectId:void 0,ProjectNumber:void 0,ProjectName:void 0,MODUSEvent:"ReportID"},Hse={name:"Kuo Testing Laboratories",type:"Soil",mappings:Bse,examplesKey:"kuo"},$se={"Sample Location":"Field","Sample ID1":"FMISSampleID","Sample ID2":void 0,"Lab Number":"SampleNumber","Client Number":"ClientAccountNumber","Client Name":"ClientAccountName","Sample Date":["ReportDate","DateReceived"],"Consultant Name":"Grower"},jse={name:"Brookside Laboratories, Inc. - New Bremen, OH",type:"Soil",mappings:$se,examplesKey:"brookside"},Gse={"Sample ID":"SampleNumber"},Wse={name:"Cquester Analytics",type:"Soil",mappings:Gse,examplesKey:"cquester"},zse={Lab:"SampleNumber","Point ID":"FMISSampleID",Date:["ReportDate","DateReceived"]},Kse={"Al\naluminum":{ValueUnit:"ppm",Element:"Al",ModusTestID:""},"As\narsenic":{ValueUnit:"ppm",Element:"As",ModusTestID:""},"B\nboron":{ValueUnit:"ppm",Element:"B",ModusTestID:""},"Ca\ncalcium":{ValueUnit:"ppm",Element:"Ca",ModusTestID:""},"Cd\ncadmium":{ValueUnit:"ppm",Element:"Cd",ModusTestID:""},"Cr\nchromium":{ValueUnit:"ppm",Element:"Cr",ModusTestID:""},"Cu\ncopper":{ValueUnit:"ppm",Element:"Cu",ModusTestID:""},"Fe\niron":{ValueUnit:"ppm",Element:"Fe",ModusTestID:""},"K\npotassium":{ValueUnit:"ppm",Element:"K",ModusTestID:""},"Mg\nmagnesium":{ValueUnit:"ppm",Element:"Mg",ModusTestID:""},"Mn\nmanganese":{ValueUnit:"ppm",Element:"Mn",ModusTestID:""},"Mo\nmolybdenum":{ValueUnit:"ppm",Element:"Mo",ModusTestID:""},"Na\nsodium":{ValueUnit:"ppm",Element:"Na",ModusTestID:""},"Ni\nnickel":{ValueUnit:"ppm",Element:"Ni",ModusTestID:""},"P\nphosphorus":{ValueUnit:"ppm",Element:"P",ModusTestID:""},"Pb\nlead":{ValueUnit:"ppm",Element:"Pb",ModusTestID:""},"S\nsulfur":{ValueUnit:"ppm",Element:"S",ModusTestID:""},"Zn\nzinc":{ValueUnit:"ppm",Element:"Zn",ModusTestID:""}},qse={name:"University of Georgia Extension Ag & Environmental Services Labs - Athens, GA",mappings:zse,analytes:Kse,examplesKey:"UGA",type:"Soil"},Zse={"Kind Of Sample":void 0,"Lab No":"SampleNumber","Cust No":"ClientAccountNumber",Name:"ClientName",Company:"ClientCompany","Address 1":"ClientAddress","Address 2":void 0,City:"ClientCity",State:"ClientState",Zip:"ClientZip",Grower:"GrowerName","Field ID":"FieldName","Sample ID":"FMISSampleID","Date Recd":"DateReceived","Date Rept":"DateProcessed","B Depth":"StartingDepth","E Depth":"EndingDepth","Past Crop":void 0},Yse={},Xse={name:"Ward Laboratories, Inc. - Kearney, NE",mappings:Zse,analytes:Yse,examplesKey:"ward",type:"Soil"};er("@modusjs/convert#labConfigs:warn");let EV=[Ese,Ase,Pse,Fse,jse,xse,Nse,Hse,Wse,qse,Xse];const TV=kJ,Gd=Object.fromEntries(Object.entries(TV).map(([e,t])=>[e,Object.fromEntries(Object.entries(t).map(([r,n])=>{const a=EV.find(i=>i.name===e&&i.type===r);return[r,AV(a,n)]}))]));EV.filter(e=>!TV[e.name]?.[e.type]).forEach(e=>{Gd[e.name]=Gd[e.name]??{},Gd[e.name][e.type]=AV(e)});function AV(e,t){if(!e&&!t)throw new Error("At least one of local or industry lab config must be supplied");let r={...t,...e,mappings:{...t?.mappings,...e?.mappings},analytes:{...t?.analytes,...e?.analytes}};return{...r,units:Object.fromEntries(Object.entries(r.analytes).map(([n,a])=>[n,a?.ValueUnit])),headers:[...Object.keys(r.analytes),...Object.keys(r.mappings||{})]}}new Map(Object.values(Gd).map(e=>Object.values(e).map((t,r)=>[`${t.name}-${t.type??r}`,t])).flat(1));er("@modusjs/convert#labs-automated:info");er("@modusjs/convert#labs-automated:trace");er("@modusjs/convert#labs-automated:warn");er("@modusjs/convert#labs-automated:error");var kV={exports:{}},PV={exports:{}};(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(r,n){return r<>>32-n},rotr:function(r,n){return r<<32-n|r>>>n},endian:function(r){if(r.constructor==Number)return t.rotl(r,8)&16711935|t.rotl(r,24)&4278255360;for(var n=0;n0;r--)n.push(Math.floor(Math.random()*256));return n},bytesToWords:function(r){for(var n=[],a=0,i=0;a>>5]|=r[a]<<24-i%32;return n},wordsToBytes:function(r){for(var n=[],a=0;a>>5]>>>24-a%32&255);return n},bytesToHex:function(r){for(var n=[],a=0;a>>4).toString(16)),n.push((r[a]&15).toString(16));return n.join("")},hexToBytes:function(r){for(var n=[],a=0;a>>6*(3-s)&63)):n.push("=");return n.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var n=[],a=0,i=0;a>>6-i*2);return n}};PV.exports=t})();var hL={utf8:{stringToBytes:function(e){return hL.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(hL.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r - * @license MIT - */var Jse=function(e){return e!=null&&(UV(e)||Qse(e)||!!e._isBuffer)};function UV(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Qse(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&UV(e.slice(0,0))}(function(){var e=PV.exports,t=n4.utf8,r=Jse,n=n4.bin,a=function(i,s){i.constructor==String?s&&s.encoding==="binary"?i=n.stringToBytes(i):i=t.stringToBytes(i):r(i)?i=Array.prototype.slice.call(i,0):!Array.isArray(i)&&i.constructor!==Uint8Array&&(i=i.toString());for(var l=e.bytesToWords(i),o=i.length*8,u=1732584193,m=-271733879,c=-1732584194,f=271733878,p=0;p>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360;l[o>>>5]|=128<>>9<<4)+14]=o;for(var h=a._ff,d=a._gg,_=a._hh,y=a._ii,p=0;p>>0,m=m+S>>>0,c=c+v>>>0,f=f+M>>>0}return e.endian([u,m,c,f])};a._ff=function(i,s,l,o,u,m,c){var f=i+(s&l|~s&o)+(u>>>0)+c;return(f<>>32-m)+s},a._gg=function(i,s,l,o,u,m,c){var f=i+(s&o|l&~o)+(u>>>0)+c;return(f<>>32-m)+s},a._hh=function(i,s,l,o,u,m,c){var f=i+(s^l^o)+(u>>>0)+c;return(f<>>32-m)+s},a._ii=function(i,s,l,o,u,m,c){var f=i+(l^(s|~o))+(u>>>0)+c;return(f<>>32-m)+s},a._blocksize=16,a._digestsize=16,kV.exports=function(i,s){if(i==null)throw new Error("Illegal argument "+i);var l=e.wordsToBytes(a(i,s));return s&&s.asBytes?l:s&&s.asString?n.bytesToString(l):e.bytesToHex(l)}})();er("@modusjs/convert#csv:error");er("@modusjs/convert#csv:error");er("@modusjs/convert#csv:info");er("@modusjs/convert#csv:trace");var ene={exports:{}};/** @license - * - * Copyright (C) 2012 K. Arthur Endsley (kaendsle@mtu.edu) - * Michigan Tech Research Institute (MTRI) - * 3600 Green Court, Suite 100, Ann Arbor, MI, 48105 - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - * - */(function(e,t){(function(r,n){e.exports=n()})(Ka,function(){var r,n,a;return a=function(i){if(i instanceof a)return i;if(!(this instanceof a))return new a(i);this._wrapped=i},r=function(i,s){return i.substring(0,s.length)===s},n=function(i,s){return i.substring(i.length-s.length)===s},a.delimiter=" ",a.isArray=function(i){return!!(i&&i.constructor===Array)},a.trim=function(i,s){for(s=s||" ";r(i,s);)i=i.substring(1);for(;n(i,s);)i=i.substring(0,i.length-1);return i},a.Wkt=function(i){this.delimiter=a.delimiter||" ",this.wrapVertices=!0,this.regExes={typeStr:/^\s*(\w+)\s*\(\s*(.*)\s*\)\s*$/,spaces:/\s+|\+/,numeric:/-*\d+(\.*\d+)?/,comma:/\s*,\s*/,parenComma:/\)\s*,\s*\(/,coord:/-*\d+\.*\d+ -*\d+\.*\d+/,doubleParenComma:/\)\s*\)\s*,\s*\(\s*\(/,ogcTypes:/^(multi)?(point|line|polygon|box)?(string)?$/i,crudeJson:/^{.*"(type|coordinates|geometries|features)":.*}$/},this._stripWhitespaceAndParens=function(s){var l=s.trim(),o=l.replace(/^\(?(.*?)\)?$/,"$1");return o},this.components=void 0,i&&typeof i=="string"?this.read(i):i&&typeof i!==void 0&&this.fromObject(i)},a.Wkt.prototype.isCollection=function(){switch(this.type.slice(0,5)){case"multi":return!0;case"polyg":return!0;default:return!1}},a.Wkt.prototype.sameCoords=function(i,s){return i.x===s.x&&i.y===s.y},a.Wkt.prototype.fromObject=function(i){var s;return i.hasOwnProperty("type")&&i.hasOwnProperty("coordinates")?s=this.fromJson(i):s=this.deconstruct.call(this,i),this.components=s.components,this.isRectangle=s.isRectangle||!1,this.type=s.type,this},a.Wkt.prototype.toObject=function(i){var s=this.construct[this.type].call(this,i);return typeof s=="object"&&!a.isArray(s)&&(s.properties=this.properties),s},a.Wkt.prototype.toString=function(i){return this.write()},a.Wkt.prototype.fromJson=function(i){var s,l,o,u,m,c;if(this.type=i.type.toLowerCase(),this.components=[],i.hasOwnProperty("geometry"))return this.fromJson(i.geometry),this.properties=i.properties,this;if(u=i.coordinates,!a.isArray(u[0]))this.components.push({x:u[0],y:u[1]});else for(s in u)if(u.hasOwnProperty(s))if(!a.isArray(u[s][0]))this.type==="multipoint"?this.components.push([{x:u[s][0],y:u[s][1]}]):this.components.push({x:u[s][0],y:u[s][1]});else{c=[];for(l in u[s])if(u[s].hasOwnProperty(l))if(!a.isArray(u[s][l][0]))c.push({x:u[s][l][0],y:u[s][l][1]});else{m=[];for(o in u[s][l])u[s][l].hasOwnProperty(o)&&m.push({x:u[s][l][o][0],y:u[s][l][o][1]});c.push(m)}this.components.push(c)}return this},a.Wkt.prototype.toJson=function(){var i,s,l,o,u,m,c;if(i=this.components,s={coordinates:[],type:function(){var f,p,h;p=this.regExes.ogcTypes.exec(this.type).slice(1),h=[];for(f in p)p.hasOwnProperty(f)&&p[f]!==void 0&&h.push(p[f].toLowerCase().slice(0,1).toUpperCase()+p[f].toLowerCase().slice(1));return h}.call(this).join("")},this.type.toLowerCase()==="box"){s.type="Polygon",s.bbox=[];for(l in i)i.hasOwnProperty(l)&&(s.bbox=s.bbox.concat([i[l].x,i[l].y]));return s.coordinates=[[[i[0].x,i[0].y],[i[0].x,i[1].y],[i[1].x,i[1].y],[i[1].x,i[0].y],[i[0].x,i[0].y]]],s}for(l in i)if(i.hasOwnProperty(l))if(a.isArray(i[l])){c=[];for(o in i[l])if(i[l].hasOwnProperty(o))if(a.isArray(i[l][o])){m=[];for(u in i[l][o])i[l][o].hasOwnProperty(u)&&m.push([i[l][o][u].x,i[l][o][u].y]);c.push(m)}else i[l].length>1?c.push([i[l][o].x,i[l][o].y]):c=c.concat([i[l][o].x,i[l][o].y]);s.coordinates.push(c)}else i.length>1?s.coordinates.push([i[l].x,i[l].y]):s.coordinates=s.coordinates.concat([i[l].x,i[l].y]);return s},a.Wkt.prototype.merge=function(i){var s=this.type.slice(0,5);if(this.type!==i.type&&this.type.slice(5,this.type.length)!==i.type)throw TypeError("The input geometry types must agree or the calling this.Wkt.Wkt instance must be a multigeometry of the other");switch(s){case"point":this.components=[this.components.concat(i.components)];break;case"multi":this.components=this.components.concat(i.type.slice(0,5)==="multi"?i.components:[i.components]);break;default:this.components=[this.components,i.components];break}return s!=="multi"&&(this.type="multi"+this.type),this},a.Wkt.prototype.read=function(i){var s;if(s=this.regExes.typeStr.exec(i),s)this.type=s[1].toLowerCase(),this.base=s[2],this.ingest[this.type]&&(this.components=this.ingest[this.type].apply(this,[this.base]));else if(this.regExes.crudeJson.test(i))if(typeof JSON=="object"&&typeof JSON.parse=="function")this.fromJson(JSON.parse(i));else throw console.log("JSON.parse() is not available; cannot parse GeoJSON strings"),{name:"JSONError",message:"JSON.parse() is not available; cannot parse GeoJSON strings"};else throw console.log("Invalid WKT string provided to read()"),{name:"WKTError",message:"Invalid WKT string provided to read()"};return this},a.Wkt.prototype.write=function(i){var s,l,o;for(i=i||this.components,l=[],l.push(this.type.toUpperCase()+"("),s=0;s0&&l.push(","),!this.extract[this.type])return null;o=this.extract[this.type].apply(this,[i[s]]),this.isCollection()&&this.type!=="multipoint"?l.push("("+o+")"):(l.push(o),s!==i.length-1&&this.type!=="multipoint"&&l.push(","))}return l.push(")"),l.join("")},a.Wkt.prototype.extract={point:function(i){return String(i.x)+this.delimiter+String(i.y)},multipoint:function(i){var s,l=[],o;for(s=0;s2&&(f=f.filter(function(d){return d!=""})),f.length===2){var p=f[0],h=f[1];u.push({x:parseFloat(p),y:parseFloat(h)})}}o.push(u)}return o},box:function(i){var s,l,o;for(l=this.ingest.multipoint.apply(this,[i]),o=[],s=0;s=",limit:1},message:"must be >= 1"}],!1;var l=f===s}else var l=!0;if(l){if(e.ExpirationDate!==void 0){let c=e.ExpirationDate;const f=s;if(typeof c=="string"){if(!W1.validate(c))return xs.errors=[{instancePath:t+"/ExpirationDate",schemaPath:"#/properties/ExpirationDate/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return xs.errors=[{instancePath:t+"/ExpirationDate",schemaPath:"#/properties/ExpirationDate/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=f===s}else var l=!0;if(l)if(e.RecID!==void 0){let c=e.RecID;const f=s;if(!(typeof c=="number"&&!(c%1)&&!isNaN(c)))return xs.errors=[{instancePath:t+"/RecID",schemaPath:"#/properties/RecID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(typeof c=="number"&&(c<1||isNaN(c)))return xs.errors=[{instancePath:t+"/RecID",schemaPath:"#/properties/RecID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var l=f===s}else var l=!0}}}}}else return xs.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return xs.errors=i,s===0}function Wd(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(Array.isArray(e)){var l=!0;const o=e.length;for(let u=0;u=",limit:0},message:"must be >= 0"}],!1;var c=nt===s}else var c=!0;if(c){if(ee.EndingDepth!==void 0){let me=ee.EndingDepth;const nt=s;if(!(typeof me=="number"&&!(me%1)&&!isNaN(me)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof me=="number"&&(me<0||isNaN(me)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var c=nt===s}else var c=!0;if(c){if(ee.ColumnDepth!==void 0){let me=ee.ColumnDepth;const nt=s;if(!(typeof me=="number"&&!(me%1)&&!isNaN(me)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof me=="number"&&(me<0||isNaN(me)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var c=nt===s}else var c=!0;if(c){if(ee.DepthUnit!==void 0){const me=s;if(typeof ee.DepthUnit!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=me===s}else var c=!0;if(c)if(ee.DepthID!==void 0){let me=ee.DepthID;const nt=s;if(!(typeof me=="number"&&!(me%1)&&!isNaN(me)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof me=="number"&&(me<1||isNaN(me)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var c=nt===s}else var c=!0}}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=Ye===s;if(!m)break}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var f=de===s}else var f=!0;if(f){if(U.RecommendationRefs!==void 0){const Se=s;Ru(U.RecommendationRefs,{instancePath:t+"/Events/"+C+"/EventSamples/Soil/RecommendationRefs",parentData:U,parentDataProperty:"RecommendationRefs",rootData:a})||(i=i===null?Ru.errors:i.concat(Ru.errors),s=i.length);var f=Se===s}else var f=!0;if(f)if(U.SoilSamples!==void 0){let Se=U.SoilSamples;const de=s;if(s===de)if(Array.isArray(Se)){var p=!0;const It=Se.length;for(let Q=0;Q=",limit:0},message:"must be >= 0"}],!1;var _=lt===s}else var _=!0;if(_){if(ye.SubSampleID!==void 0){const We=s;if(typeof ye.SubSampleID!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var _=We===s}else var _=!0;if(_)if(ye.Geometry!==void 0){let We=ye.Geometry;const lt=s;if(s===lt)if(We&&typeof We=="object"&&!Array.isArray(We)){if(We.epsg!==void 0){let gt=We.epsg;if(!(typeof gt=="number"&&!(gt%1)&&!isNaN(gt)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=lt===s}else var _=!0}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var d=fe===s;if(!d)break}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var h=ne===s}else var h=!0;if(h)if(De.TestPackages!==void 0){let A=De.TestPackages;const ne=s;if(s===ne)if(Array.isArray(A)){var y=!0;const Ge=A.length;for(let ue=0;ue1){const fe={};for(;ue--;){let Qe=A[ue];if(typeof Qe=="string"){if(typeof fe[Qe]=="number")return ye=fe[Qe],dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ue,j:ye},message:"must NOT have duplicate items (items ## "+ye+" and "+ue+" are identical)"}],!1;fe[Qe]=ue}}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var h=ne===s}else var h=!0}}}}}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var g=me===s}else var g=!0;if(g){if(ee.Depths!==void 0){let De=ee.Depths;const me=s;if(s===me)if(Array.isArray(De)){var S=!0;const A=De.length;for(let ne=0;ne=",limit:0},message:"must be >= 0"}],!1;var E=yt===s}else var E=!0;if(E){if(fe.SubSampleID!==void 0){const lt=s;if(typeof fe.SubSampleID!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var E=lt===s}else var E=!0;if(E)if(fe.Geometry!==void 0){let lt=fe.Geometry;const yt=s;if(s===yt)if(lt&&typeof lt=="object"&&!Array.isArray(lt)){if(lt.epsg!==void 0){let Ht=lt.epsg;if(!(typeof Ht=="number"&&!(Ht%1)&&!isNaN(Ht)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var E=yt===s}else var E=!0}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var k=Qe===s;if(!k)break}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=je===s}else var D=!0;if(D)if(me.TestPackages!==void 0){let ne=me.TestPackages;const je=s;if(s===je)if(Array.isArray(ne)){var z=!0;const ue=ne.length;for(let ye=0;ye1){const Qe={};for(;ye--;){let We=ne[ye];if(typeof We=="string"){if(typeof Qe[We]=="number")return fe=Qe[We],dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ye,j:fe},message:"must NOT have duplicate items (items ## "+fe+" and "+ye+" are identical)"}],!1;Qe[We]=ye}}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=je===s}else var D=!0}}}}}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var B=nt===s}else var B=!0;if(B)if(Ye.Comments!==void 0){const me=s;if(typeof Ye.Comments!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var B=me===s}else var B=!0}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/properties/PlantSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var I=Et===s;if(!I)break}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/properties/PlantSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var M=He===s}else var M=!0}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=te===s}else var v=!0;if(v){if(qe.Nematode!==void 0){let U=qe.Nematode;const te=s;if(s===te)if(U&&typeof U=="object"&&!Array.isArray(U)){if(U.DepthRefs!==void 0){let de=U.DepthRefs;const He=s;if(s===s)if(Array.isArray(de)){var P=!0;const Q=de.length;for(let ee=0;ee=",limit:0},message:"must be >= 0"}],!1;var F=A===s}else var F=!0;if(F){if(Ye.EndingDepth!==void 0){let nt=Ye.EndingDepth;const A=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===A&&typeof nt=="number"&&(nt<0||isNaN(nt)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var F=A===s}else var F=!0;if(F){if(Ye.ColumnDepth!==void 0){let nt=Ye.ColumnDepth;const A=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===A&&typeof nt=="number"&&(nt<0||isNaN(nt)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var F=A===s}else var F=!0;if(F){if(Ye.DepthUnit!==void 0){const nt=s;if(typeof Ye.DepthUnit!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var F=nt===s}else var F=!0;if(F)if(Ye.DepthID!==void 0){let nt=Ye.DepthID;const A=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===A&&typeof nt=="number"&&(nt<1||isNaN(nt)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var F=A===s}else var F=!0}}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var P=Et===s;if(!P)break}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var L=He===s}else var L=!0;if(L)if(U.NematodeSamples!==void 0){let de=U.NematodeSamples;const He=s;if(s===He)if(Array.isArray(de)){var H=!0;const Q=de.length;for(let ee=0;ee=",limit:0},message:"must be >= 0"}],!1;var pe=yt===s}else var pe=!0;if(pe){if(fe.SubSampleID!==void 0){const lt=s;if(typeof fe.SubSampleID!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var pe=lt===s}else var pe=!0;if(pe)if(fe.Geometry!==void 0){let lt=fe.Geometry;const yt=s;if(s===yt)if(lt&&typeof lt=="object"&&!Array.isArray(lt)){if(lt.epsg!==void 0){let Ht=lt.epsg;if(!(typeof Ht=="number"&&!(Ht%1)&&!isNaN(Ht)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var pe=yt===s}else var pe=!0}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var G=Qe===s;if(!G)break}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ie=je===s}else var ie=!0;if(ie)if(me.TestPackages!==void 0){let ne=me.TestPackages;const je=s;if(s===je)if(Array.isArray(ne)){var W=!0;const ue=ne.length;for(let ye=0;ye1){const Qe={};for(;ye--;){let We=ne[ye];if(typeof We=="string"){if(typeof Qe[We]=="number")return fe=Qe[We],dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ye,j:fe},message:"must NOT have duplicate items (items ## "+fe+" and "+ye+" are identical)"}],!1;Qe[We]=ye}}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ie=je===s}else var ie=!0}}}}}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ce=nt===s}else var ce=!0;if(ce){if(Ye.Depths!==void 0){let me=Ye.Depths;const nt=s;if(s===nt)if(Array.isArray(me)){var J=!0;const ne=me.length;for(let je=0;je=",limit:1},message:"must be >= 1"}],!1}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/Depths/"+je,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var J=ue===s;if(!J)break}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/Depths",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ce=nt===s}else var ce=!0;if(ce)if(Ye.Comments!==void 0){const me=s;if(typeof Ye.Comments!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var ce=me===s}else var ce=!0}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var H=Et===s;if(!H)break}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var L=He===s}else var L=!0}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=te===s}else var v=!0;if(v){if(qe.Water!==void 0){let U=qe.Water;const te=s;if(s===te)if(U&&typeof U=="object"&&!Array.isArray(U)){if(U.WaterSamples!==void 0){let de=U.WaterSamples;if(s===s)if(Array.isArray(de)){var R=!0;const It=de.length;for(let Q=0;Q=",limit:0},message:"must be >= 0"}],!1;var Z=lt===s}else var Z=!0;if(Z){if(ye.SubSampleID!==void 0){const We=s;if(typeof ye.SubSampleID!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Z=We===s}else var Z=!0;if(Z)if(ye.Geometry!==void 0){let We=ye.Geometry;const lt=s;if(s===lt)if(We&&typeof We=="object"&&!Array.isArray(We)){if(We.epsg!==void 0){let gt=We.epsg;if(!(typeof gt=="number"&&!(gt%1)&&!isNaN(gt)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Z=lt===s}else var Z=!0}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Y=fe===s;if(!Y)break}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var V=ne===s}else var V=!0;if(V)if(De.TestPackages!==void 0){let A=De.TestPackages;const ne=s;if(s===ne)if(Array.isArray(A)){var Re=!0;const Ge=A.length;for(let ue=0;ue1){const fe={};for(;ue--;){let Qe=A[ue];if(typeof Qe=="string"){if(typeof fe[Qe]=="number")return ye=fe[Qe],dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ue,j:ye},message:"must NOT have duplicate items (items ## "+ye+" and "+ue+" are identical)"}],!1;fe[Qe]=ue}}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var V=ne===s}else var V=!0}}}}}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Je=me===s}else var Je=!0;if(Je){if(ee.Source!==void 0){const De=s;if(typeof ee.Source!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/Source",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/items/properties/Source/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Je=De===s}else var Je=!0;if(Je){if(ee.NutrientResults!==void 0){let De=ee.NutrientResults;const me=s;if(s===s)if(Array.isArray(De)){var xe=!0;const ne=De.length;for(let je=0;je=",limit:0},message:"must be >= 0"}],!1;var vt=lt===s}else var vt=!0;if(vt){if(ye.SubSampleID!==void 0){const We=s;if(typeof ye.SubSampleID!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var vt=We===s}else var vt=!0;if(vt)if(ye.Geometry!==void 0){let We=ye.Geometry;const lt=s;if(s===lt)if(We&&typeof We=="object"&&!Array.isArray(We)){if(We.epsg!==void 0){let gt=We.epsg;if(!(typeof gt=="number"&&!(gt%1)&&!isNaN(gt)))return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var vt=lt===s}else var vt=!0}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ne=fe===s;if(!Ne)break}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Pe=ne===s}else var Pe=!0;if(Pe)if(De.TestPackages!==void 0){let A=De.TestPackages;const ne=s;if(s===ne)if(Array.isArray(A)){var T=!0;const Ge=A.length;for(let ue=0;ue1){const fe={};for(;ue--;){let Qe=A[ue];if(typeof Qe=="string"){if(typeof fe[Qe]=="number")return ye=fe[Qe],dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ue,j:ye},message:"must NOT have duplicate items (items ## "+ye+" and "+ue+" are identical)"}],!1;fe[Qe]=ue}}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Pe=ne===s}else var Pe=!0}}}}}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var we=me===s}else var we=!0;if(we){if(ee.ResidueResults!==void 0){let De=ee.ResidueResults;const me=s;if(s===s)if(Array.isArray(De)){var Ue=!0;const ne=De.length;for(let je=0;je50)return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/maxLength",keyword:"maxLength",params:{limit:50},message:"must NOT have more than 50 characters"}],!1;if(l4(fe)<1)return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters"}],!1}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=Qe===s}else var K=!0;if(K){if(Ge.Value!==void 0){const fe=s;if(typeof Ge.Value!="number")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/Value",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/Value/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var K=fe===s}else var K=!0;if(K){if(Ge.ValueUnit!==void 0){const fe=s;if(typeof Ge.ValueUnit!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/ValueUnit",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=fe===s}else var K=!0;if(K){if(Ge.ValueType!==void 0){const fe=s;if(typeof Ge.ValueType!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/ValueType",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=fe===s}else var K=!0;if(K)if(Ge.ValueDesc!==void 0){const fe=s;if(typeof Ge.ValueDesc!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueDesc/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=fe===s}else var K=!0}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je,schemaPath:"./global.schema.json#/$defs/ResidueResults/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ue=ue===s;if(!Ue)break}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults",schemaPath:"./global.schema.json#/$defs/ResidueResults/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var we=me===s}else var we=!0;if(we)if(ee.Comments!==void 0){const De=s;if(typeof ee.Comments!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var we=De===s}else var we=!0}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var et=Ye===s;if(!et)break}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=te===s}else var v=!0}}}}else return dt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=se===s}else var u=!0;if(u){if(Ce.Comments!==void 0){const qe=s;if(typeof Ce.Comments!="string")return dt.errors=[{instancePath:t+"/Events/"+C+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=qe===s}else var u=!0;if(u)if(Ce.ModusSubmit!==void 0){const qe=s;dt(Ce.ModusSubmit,{instancePath:t+"/Events/"+C+"/ModusSubmit",parentData:Ce,parentDataProperty:"ModusSubmit",rootData:a})||(i=i===null?dt.errors:i.concat(dt.errors),s=i.length);var u=qe===s}else var u=!0}}}}}}else return dt.errors=[{instancePath:t+"/Events/"+C,schemaPath:"#/properties/Events/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=mt===s;if(!o)break}}else return dt.errors=[{instancePath:t+"/Events",schemaPath:"#/properties/Events/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var l=ge===s}else var l=!0;if(l)if(e.Version!==void 0){const q=s;if(typeof e.Version!="string")return dt.errors=[{instancePath:t+"/Version",schemaPath:"#/properties/Version/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=q===s}else var l=!0}}else return dt.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return dt.errors=i,s===0}er("@modusjs/convert#xml:error");er("@modusjs/convert#xml:error");er("@modusjs/convert:info");er("@modusjs/convert:trace");er("@modusjs/convert#html:error");er("@modusjs/convert#html:info");er("@modusjs/convert#html:trace");var pE={exports:{}},wV={exports:{}};(function(e,t){(function(r,n){n()})(Ka,function(){function r(u,m){return typeof m>"u"?m={autoBom:!1}:typeof m!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),m={autoBom:!m}),m.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob(["\uFEFF",u],{type:u.type}):u}function n(u,m,c){var f=new XMLHttpRequest;f.open("GET",u),f.responseType="blob",f.onload=function(){o(f.response,m,c)},f.onerror=function(){console.error("could not download file")},f.send()}function a(u){var m=new XMLHttpRequest;m.open("HEAD",u,!1);try{m.send()}catch{}return 200<=m.status&&299>=m.status}function i(u){try{u.dispatchEvent(new MouseEvent("click"))}catch{var m=document.createEvent("MouseEvents");m.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),u.dispatchEvent(m)}}var s=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Ka=="object"&&Ka.global===Ka?Ka:void 0,l=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),o=s.saveAs||(typeof window!="object"||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!l?function(u,m,c){var f=s.URL||s.webkitURL,p=document.createElement("a");m=m||u.name||"download",p.download=m,p.rel="noopener",typeof u=="string"?(p.href=u,p.origin===location.origin?i(p):a(p.href)?n(u,m,c):i(p,p.target="_blank")):(p.href=f.createObjectURL(u),setTimeout(function(){f.revokeObjectURL(p.href)},4e4),setTimeout(function(){i(p)},0))}:"msSaveOrOpenBlob"in navigator?function(u,m,c){if(m=m||u.name||"download",typeof u!="string")navigator.msSaveOrOpenBlob(r(u,c),m);else if(a(u))n(u,m,c);else{var f=document.createElement("a");f.href=u,f.target="_blank",setTimeout(function(){i(f)})}}:function(u,m,c,f){if(f=f||open("","_blank"),f&&(f.document.title=f.document.body.innerText="downloading..."),typeof u=="string")return n(u,m,c);var p=u.type==="application/octet-stream",h=/constructor/i.test(s.HTMLElement)||s.safari,d=/CriOS\/[\d]+/.test(navigator.userAgent);if((d||p&&h||l)&&typeof FileReader<"u"){var _=new FileReader;_.onloadend=function(){var S=_.result;S=d?S:S.replace(/^data:[^;]*;/,"data:attachment/file;"),f?f.location.href=S:location=S,f=null},_.readAsDataURL(u)}else{var y=s.URL||s.webkitURL,g=y.createObjectURL(u);f?f.location=g:location.href=g,f=null,setTimeout(function(){y.revokeObjectURL(g)},4e4)}});s.saveAs=o.saveAs=o,e.exports=o})})(wV);var sne=function(t){return atob(t)},_L={exports:{}};(function(e,t){(function(r){function n(a,i){if(a instanceof Boolean||typeof a=="boolean"||(i instanceof Object||(i={}),i.hasOwnProperty("allowBlank")&&!i.allowBlank&&a===""))return!1;var s="(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+/]{3}=)?";return i.mime&&(s="(data:\\w+\\/[a-zA-Z\\+\\-\\.]+;base64,)?"+s),i.paddingRequired===!1&&(s="(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}(==)?|[A-Za-z0-9+\\/]{3}=?)?"),new RegExp("^"+s+"$","gi").test(a)}e.exports&&(t=e.exports=n),t.isBase64=n})()})(_L,_L.exports);var xV=sne,nne=_L.exports,ane=function(t){if(typeof t!="string")throw Error("Argument should be a string");return/^data\:/i.test(t)?ine(t):(nne(t)&&(t=xV(t)),VV(t))};function VV(e){for(var t=new Uint8Array(e.length),r=0;r=0&&(n=n.substr(a+1)),a=n.lastIndexOf("."),a>=0&&(n=n.substr(a+1)),RV[n]||t}};RV={"3gp":"video/3gpp",a:"application/octet-stream",ai:"application/postscript",aif:"audio/x-aiff",aiff:"audio/x-aiff",asc:"application/pgp-signature",asf:"video/x-ms-asf",asm:"text/x-asm",asx:"video/x-ms-asf",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",bat:"application/x-msdownload",bin:"application/octet-stream",bmp:"image/bmp",bz2:"application/x-bzip2",c:"text/x-csrc",cab:"application/vnd.ms-cab-compressed",can:"application/candor",cc:"text/x-c++src",chm:"application/vnd.ms-htmlhelp",class:"application/octet-stream",com:"application/x-msdownload",conf:"text/plain",cpp:"text/x-c",crt:"application/x-x509-ca-cert",css:"text/css",csv:"text/csv",cxx:"text/x-c",deb:"application/x-debian-package",der:"application/x-x509-ca-cert",diff:"text/x-diff",djv:"image/vnd.djvu",djvu:"image/vnd.djvu",dll:"application/x-msdownload",dmg:"application/octet-stream",doc:"application/msword",dot:"application/msword",dtd:"application/xml-dtd",dvi:"application/x-dvi",ear:"application/java-archive",eml:"message/rfc822",eps:"application/postscript",exe:"application/x-msdownload",f:"text/x-fortran",f77:"text/x-fortran",f90:"text/x-fortran",flv:"video/x-flv",for:"text/x-fortran",gem:"application/octet-stream",gemspec:"text/x-script.ruby",gif:"image/gif",gyp:"text/x-script.python",gypi:"text/x-script.python",gz:"application/x-gzip",h:"text/x-chdr",hh:"text/x-c++hdr",htm:"text/html",html:"text/html",ico:"image/vnd.microsoft.icon",ics:"text/calendar",ifb:"text/calendar",iso:"application/octet-stream",jar:"application/java-archive",java:"text/x-java-source",jnlp:"application/x-java-jnlp-file",jpeg:"image/jpeg",jpg:"image/jpeg",js:"application/javascript",json:"application/json",less:"text/css",log:"text/plain",lua:"text/x-script.lua",luac:"application/x-bytecode.lua",makefile:"text/x-makefile",m3u:"audio/x-mpegurl",m4v:"video/mp4",man:"text/troff",manifest:"text/cache-manifest",markdown:"text/x-markdown",mathml:"application/mathml+xml",mbox:"application/mbox",mdoc:"text/troff",md:"text/x-markdown",me:"text/troff",mid:"audio/midi",midi:"audio/midi",mime:"message/rfc822",mml:"application/mathml+xml",mng:"video/x-mng",mov:"video/quicktime",mp3:"audio/mpeg",mp4:"video/mp4",mp4v:"video/mp4",mpeg:"video/mpeg",mpg:"video/mpeg",ms:"text/troff",msi:"application/x-msdownload",odp:"application/vnd.oasis.opendocument.presentation",ods:"application/vnd.oasis.opendocument.spreadsheet",odt:"application/vnd.oasis.opendocument.text",ogg:"application/ogg",p:"text/x-pascal",pas:"text/x-pascal",pbm:"image/x-portable-bitmap",pdf:"application/pdf",pem:"application/x-x509-ca-cert",pgm:"image/x-portable-graymap",pgp:"application/pgp-encrypted",pkg:"application/octet-stream",pl:"text/x-script.perl",pm:"text/x-script.perl-module",png:"image/png",pnm:"image/x-portable-anymap",ppm:"image/x-portable-pixmap",pps:"application/vnd.ms-powerpoint",ppt:"application/vnd.ms-powerpoint",ps:"application/postscript",psd:"image/vnd.adobe.photoshop",py:"text/x-script.python",qt:"video/quicktime",ra:"audio/x-pn-realaudio",rake:"text/x-script.ruby",ram:"audio/x-pn-realaudio",rar:"application/x-rar-compressed",rb:"text/x-script.ruby",rdf:"application/rdf+xml",roff:"text/troff",rpm:"application/x-redhat-package-manager",rss:"application/rss+xml",rtf:"application/rtf",ru:"text/x-script.ruby",s:"text/x-asm",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-sh",sig:"application/pgp-signature",snd:"audio/basic",so:"application/octet-stream",svg:"image/svg+xml",svgz:"image/svg+xml",swf:"application/x-shockwave-flash",t:"text/troff",tar:"application/x-tar",tbz:"application/x-bzip-compressed-tar",tci:"application/x-topcloud",tcl:"application/x-tcl",tex:"application/x-tex",texi:"application/x-texinfo",texinfo:"application/x-texinfo",text:"text/plain",tif:"image/tiff",tiff:"image/tiff",torrent:"application/x-bittorrent",tr:"text/troff",ttf:"application/x-font-ttf",txt:"text/plain",vcf:"text/x-vcard",vcs:"text/x-vcalendar",vrml:"model/vrml",war:"application/java-archive",wav:"audio/x-wav",webapp:"application/x-web-app-manifest+json",webm:"video/webm",wma:"audio/x-ms-wma",wmv:"video/x-ms-wmv",wmx:"video/x-ms-wmx",wrl:"model/vrml",wsdl:"application/wsdl+xml",xbm:"image/x-xbitmap",xhtml:"application/xhtml+xml",xls:"application/vnd.ms-excel",xml:"application/xml",xpm:"image/x-xpixmap",xsl:"application/xml",xslt:"application/xslt+xml",yaml:"text/yaml",yml:"text/yaml",zip:"application/zip"};var dne=Object.prototype.toString,hne=function(e){return e instanceof Blob||dne.call(e)==="[object Blob]"},_ne=fne,gne=pne("application/octect-stream"),Sne=hne,vne=function(t,r){if(!Sne(t)&&!(t instanceof File)){t=_ne(t);var n=gne(r||"");t=new Blob([t],{type:n})}return t},FV=wV.exports.saveAs,BV=vne,Wm=null;pE.exports=dE;pE.exports.save=dE;pE.exports.saveSync=yne;function dE(e,t){if(typeof e=="string"&&(typeof t!="string"||t.length>e.length)){var r=t;t=e,e=r}var n=BV(e,t);return Wm?Wm.then(function(){return Wm=dE(e,t),Wm}):(Wm=new Promise(function(a,i){FV(n,t),window.addEventListener("focus",function s(){Wm=null,window.removeEventListener("focus",s),a()})}),Wm)}function yne(e,t){return FV(BV(e,t),t)}er("@modusjs/convert#file:error");er("@modusjs/convert#file:error");er("@modusjs/convert#file:info");er("@modusjs/convert#file:trace");er("@modusjs/convert#browser/file:error");er("@modusjs/convert#browser/file:info");er("@modusjs/convert#browser/file:trace");er("@modusjs/app#state:warn");er("@modusjs/apps#state:info");const Mne=Object.fromEntries(Object.entries(Gd).map(([e,t])=>Object.entries(t||{}).map(([r,n])=>[`${e} - ${r==="undefined"?"Soil":r}`,n])).flat(1)),Ft=Bn({tab:"1",messages:[],output:"modusjson2",trellis:{domain:"https://localhost",token:"god"},inzone:!1,headless:!1,labConfig:{select:{},list:Mne},files:{},table:{order:"asc",orderBy:"filename",selected:[],page:0,dense:!0,rowsPerPage:25,files:{}}});function HV(e,t){return function(){return e.apply(t,arguments)}}const{toString:Dne}=Object.prototype,{getPrototypeOf:hE}=Object,ty=(e=>t=>{const r=Dne.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Do=e=>(e=e.toLowerCase(),t=>ty(t)===e),ry=e=>t=>typeof t===e,{isArray:Dp}=Array,z1=ry("undefined");function Ine(e){return e!==null&&!z1(e)&&e.constructor!==null&&!z1(e.constructor)&&Qi(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $V=Do("ArrayBuffer");function One(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&$V(e.buffer),t}const Lne=ry("string"),Qi=ry("function"),jV=ry("number"),sy=e=>e!==null&&typeof e=="object",bne=e=>e===!0||e===!1,$g=e=>{if(ty(e)!=="object")return!1;const t=hE(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Cne=Do("Date"),Ene=Do("File"),Tne=Do("Blob"),Ane=Do("FileList"),kne=e=>sy(e)&&Qi(e.pipe),Pne=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Qi(e.append)&&((t=ty(e))==="formdata"||t==="object"&&Qi(e.toString)&&e.toString()==="[object FormData]"))},Une=Do("URLSearchParams"),Nne=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Gh(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,a;if(typeof e!="object"&&(e=[e]),Dp(e))for(n=0,a=e.length;n0;)if(a=r[n],t===a.toLowerCase())return a;return null}const WV=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),zV=e=>!z1(e)&&e!==WV;function gL(){const{caseless:e}=zV(this)&&this||{},t={},r=(n,a)=>{const i=e&&GV(t,a)||a;$g(t[i])&&$g(n)?t[i]=gL(t[i],n):$g(n)?t[i]=gL({},n):Dp(n)?t[i]=n.slice():t[i]=n};for(let n=0,a=arguments.length;n(Gh(t,(a,i)=>{r&&Qi(a)?e[i]=HV(a,r):e[i]=a},{allOwnKeys:n}),e),xne=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Vne=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Rne=(e,t,r,n)=>{let a,i,s;const l={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)s=a[i],(!n||n(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=r!==!1&&hE(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Fne=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Bne=e=>{if(!e)return null;if(Dp(e))return e;let t=e.length;if(!jV(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Hne=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&hE(Uint8Array)),$ne=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},jne=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Gne=Do("HTMLFormElement"),Wne=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),u4=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),zne=Do("RegExp"),KV=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Gh(r,(a,i)=>{let s;(s=t(a,i,e))!==!1&&(n[i]=s||a)}),Object.defineProperties(e,n)},Kne=e=>{KV(e,(t,r)=>{if(Qi(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(!!Qi(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},qne=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return Dp(e)?n(e):n(String(e).split(t)),r},Zne=()=>{},Yne=(e,t)=>(e=+e,Number.isFinite(e)?e:t),qD="abcdefghijklmnopqrstuvwxyz",m4="0123456789",qV={DIGIT:m4,ALPHA:qD,ALPHA_DIGIT:qD+qD.toUpperCase()+m4},Xne=(e=16,t=qV.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function Jne(e){return!!(e&&Qi(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Qne=e=>{const t=new Array(10),r=(n,a)=>{if(sy(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[a]=n;const i=Dp(n)?[]:{};return Gh(n,(s,l)=>{const o=r(s,a+1);!z1(o)&&(i[l]=o)}),t[a]=void 0,i}}return n};return r(e,0)},eae=Do("AsyncFunction"),tae=e=>e&&(sy(e)||Qi(e))&&Qi(e.then)&&Qi(e.catch),Ot={isArray:Dp,isArrayBuffer:$V,isBuffer:Ine,isFormData:Pne,isArrayBufferView:One,isString:Lne,isNumber:jV,isBoolean:bne,isObject:sy,isPlainObject:$g,isUndefined:z1,isDate:Cne,isFile:Ene,isBlob:Tne,isRegExp:zne,isFunction:Qi,isStream:kne,isURLSearchParams:Une,isTypedArray:Hne,isFileList:Ane,forEach:Gh,merge:gL,extend:wne,trim:Nne,stripBOM:xne,inherits:Vne,toFlatObject:Rne,kindOf:ty,kindOfTest:Do,endsWith:Fne,toArray:Bne,forEachEntry:$ne,matchAll:jne,isHTMLForm:Gne,hasOwnProperty:u4,hasOwnProp:u4,reduceDescriptors:KV,freezeMethods:Kne,toObjectSet:qne,toCamelCase:Wne,noop:Zne,toFiniteNumber:Yne,findKey:GV,global:WV,isContextDefined:zV,ALPHABET:qV,generateString:Xne,isSpecCompliantForm:Jne,toJSONObject:Qne,isAsyncFn:eae,isThenable:tae};function wr(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a)}Ot.inherits(wr,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:Ot.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ZV=wr.prototype,YV={};["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","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{YV[e]={value:e}});Object.defineProperties(wr,YV);Object.defineProperty(ZV,"isAxiosError",{value:!0});wr.from=(e,t,r,n,a,i)=>{const s=Object.create(ZV);return Ot.toFlatObject(e,s,function(o){return o!==Error.prototype},l=>l!=="isAxiosError"),wr.call(s,e.message,t,r,n,a),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const rae=null;function SL(e){return Ot.isPlainObject(e)||Ot.isArray(e)}function XV(e){return Ot.endsWith(e,"[]")?e.slice(0,-2):e}function c4(e,t,r){return e?e.concat(t).map(function(a,i){return a=XV(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function sae(e){return Ot.isArray(e)&&!e.some(SL)}const nae=Ot.toFlatObject(Ot,{},null,function(t){return/^is[A-Z]/.test(t)});function ny(e,t,r){if(!Ot.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=Ot.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(d,_){return!Ot.isUndefined(_[d])});const n=r.metaTokens,a=r.visitor||m,i=r.dots,s=r.indexes,o=(r.Blob||typeof Blob<"u"&&Blob)&&Ot.isSpecCompliantForm(t);if(!Ot.isFunction(a))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(Ot.isDate(h))return h.toISOString();if(!o&&Ot.isBlob(h))throw new wr("Blob is not supported. Use a Buffer instead.");return Ot.isArrayBuffer(h)||Ot.isTypedArray(h)?o&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function m(h,d,_){let y=h;if(h&&!_&&typeof h=="object"){if(Ot.endsWith(d,"{}"))d=n?d:d.slice(0,-2),h=JSON.stringify(h);else if(Ot.isArray(h)&&sae(h)||(Ot.isFileList(h)||Ot.endsWith(d,"[]"))&&(y=Ot.toArray(h)))return d=XV(d),y.forEach(function(S,v){!(Ot.isUndefined(S)||S===null)&&t.append(s===!0?c4([d],v,i):s===null?d:d+"[]",u(S))}),!1}return SL(h)?!0:(t.append(c4(_,d,i),u(h)),!1)}const c=[],f=Object.assign(nae,{defaultVisitor:m,convertValue:u,isVisitable:SL});function p(h,d){if(!Ot.isUndefined(h)){if(c.indexOf(h)!==-1)throw Error("Circular reference detected in "+d.join("."));c.push(h),Ot.forEach(h,function(y,g){(!(Ot.isUndefined(y)||y===null)&&a.call(t,y,Ot.isString(g)?g.trim():g,d,f))===!0&&p(y,d?d.concat(g):[g])}),c.pop()}}if(!Ot.isObject(e))throw new TypeError("data must be an object");return p(e),t}function f4(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function _E(e,t){this._pairs=[],e&&ny(e,this,t)}const JV=_E.prototype;JV.append=function(t,r){this._pairs.push([t,r])};JV.toString=function(t){const r=t?function(n){return t.call(this,n,f4)}:f4;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function aae(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function QV(e,t,r){if(!t)return e;const n=r&&r.encode||aae,a=r&&r.serialize;let i;if(a?i=a(t,r):i=Ot.isURLSearchParams(t)?t.toString():new _E(t,r).toString(n),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class iae{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Ot.forEach(this.handlers,function(n){n!==null&&t(n)})}}const p4=iae,eR={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},lae=typeof URLSearchParams<"u"?URLSearchParams:_E,oae=typeof FormData<"u"?FormData:null,uae=typeof Blob<"u"?Blob:null,mae={isBrowser:!0,classes:{URLSearchParams:lae,FormData:oae,Blob:uae},protocols:["http","https","file","blob","url","data"]},tR=typeof window<"u"&&typeof document<"u",cae=(e=>tR&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),fae=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),pae=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:tR,hasStandardBrowserWebWorkerEnv:fae,hasStandardBrowserEnv:cae},Symbol.toStringTag,{value:"Module"})),io={...pae,...mae};function dae(e,t){return ny(e,new io.classes.URLSearchParams,Object.assign({visitor:function(r,n,a,i){return io.isNode&&Ot.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function hae(e){return Ot.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function _ae(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n=r.length;return s=!s&&Ot.isArray(a)?a.length:s,o?(Ot.hasOwnProp(a,s)?a[s]=[a[s],n]:a[s]=n,!l):((!a[s]||!Ot.isObject(a[s]))&&(a[s]=[]),t(r,n,a[s],i)&&Ot.isArray(a[s])&&(a[s]=_ae(a[s])),!l)}if(Ot.isFormData(e)&&Ot.isFunction(e.entries)){const r={};return Ot.forEachEntry(e,(n,a)=>{t(hae(n),a,r,0)}),r}return null}function gae(e,t,r){if(Ot.isString(e))try{return(t||JSON.parse)(e),Ot.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const gE={transitional:eR,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=Ot.isObject(t);if(i&&Ot.isHTMLForm(t)&&(t=new FormData(t)),Ot.isFormData(t))return a?JSON.stringify(rR(t)):t;if(Ot.isArrayBuffer(t)||Ot.isBuffer(t)||Ot.isStream(t)||Ot.isFile(t)||Ot.isBlob(t))return t;if(Ot.isArrayBufferView(t))return t.buffer;if(Ot.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return dae(t,this.formSerializer).toString();if((l=Ot.isFileList(t))||n.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return ny(l?{"files[]":t}:t,o&&new o,this.formSerializer)}}return i||a?(r.setContentType("application/json",!1),gae(t)):t}],transformResponse:[function(t){const r=this.transitional||gE.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(t&&Ot.isString(t)&&(n&&!this.responseType||a)){const s=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?wr.from(l,wr.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:io.classes.FormData,Blob:io.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ot.forEach(["delete","get","head","post","put","patch"],e=>{gE.headers[e]={}});const SE=gE,Sae=Ot.toObjectSet(["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"]),vae=e=>{const t={};let r,n,a;return e&&e.split(` -`).forEach(function(s){a=s.indexOf(":"),r=s.substring(0,a).trim().toLowerCase(),n=s.substring(a+1).trim(),!(!r||t[r]&&Sae[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},d4=Symbol("internals");function Jp(e){return e&&String(e).trim().toLowerCase()}function jg(e){return e===!1||e==null?e:Ot.isArray(e)?e.map(jg):String(e)}function yae(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Mae=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ZD(e,t,r,n,a){if(Ot.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!Ot.isString(t)){if(Ot.isString(n))return t.indexOf(n)!==-1;if(Ot.isRegExp(n))return n.test(t)}}function Dae(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Iae(e,t){const r=Ot.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,i,s){return this[n].call(this,t,a,i,s)},configurable:!0})})}class ay{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(l,o,u){const m=Jp(o);if(!m)throw new Error("header name must be a non-empty string");const c=Ot.findKey(a,m);(!c||a[c]===void 0||u===!0||u===void 0&&a[c]!==!1)&&(a[c||o]=jg(l))}const s=(l,o)=>Ot.forEach(l,(u,m)=>i(u,m,o));return Ot.isPlainObject(t)||t instanceof this.constructor?s(t,r):Ot.isString(t)&&(t=t.trim())&&!Mae(t)?s(vae(t),r):t!=null&&i(r,t,n),this}get(t,r){if(t=Jp(t),t){const n=Ot.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return yae(a);if(Ot.isFunction(r))return r.call(this,a,n);if(Ot.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Jp(t),t){const n=Ot.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||ZD(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function i(s){if(s=Jp(s),s){const l=Ot.findKey(n,s);l&&(!r||ZD(n,n[l],l,r))&&(delete n[l],a=!0)}}return Ot.isArray(t)?t.forEach(i):i(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const i=r[n];(!t||ZD(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const r=this,n={};return Ot.forEach(this,(a,i)=>{const s=Ot.findKey(n,i);if(s){r[s]=jg(a),delete r[i];return}const l=t?Dae(i):String(i).trim();l!==i&&delete r[i],r[l]=jg(a),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return Ot.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&Ot.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[d4]=this[d4]={accessors:{}}).accessors,a=this.prototype;function i(s){const l=Jp(s);n[l]||(Iae(a,s),n[l]=!0)}return Ot.isArray(t)?t.forEach(i):i(t),this}}ay.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ot.reduceDescriptors(ay.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});Ot.freezeMethods(ay);const eu=ay;function YD(e,t){const r=this||SE,n=t||r,a=eu.from(n.headers);let i=n.data;return Ot.forEach(e,function(l){i=l.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function sR(e){return!!(e&&e.__CANCEL__)}function Wh(e,t,r){wr.call(this,e??"canceled",wr.ERR_CANCELED,t,r),this.name="CanceledError"}Ot.inherits(Wh,wr,{__CANCEL__:!0});function Oae(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new wr("Request failed with status code "+r.status,[wr.ERR_BAD_REQUEST,wr.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const Lae=io.hasStandardBrowserEnv?{write(e,t,r,n,a,i){const s=[e+"="+encodeURIComponent(t)];Ot.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),Ot.isString(n)&&s.push("path="+n),Ot.isString(a)&&s.push("domain="+a),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function bae(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Cae(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function nR(e,t){return e&&!bae(t)?Cae(e,t):t}const Eae=io.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function a(i){let s=i;return t&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=a(window.location.href),function(s){const l=Ot.isString(s)?a(s):s;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}();function Tae(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Aae(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,i=0,s;return t=t!==void 0?t:1e3,function(o){const u=Date.now(),m=n[i];s||(s=u),r[a]=o,n[a]=u;let c=i,f=0;for(;c!==a;)f+=r[c++],c=c%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),u-s{const i=a.loaded,s=a.lengthComputable?a.total:void 0,l=i-r,o=n(l),u=i<=s;r=i;const m={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:o||void 0,estimated:o&&s&&u?(s-i)/o:void 0,event:a};m[t?"download":"upload"]=!0,e(m)}}const kae=typeof XMLHttpRequest<"u",Pae=kae&&function(e){return new Promise(function(r,n){let a=e.data;const i=eu.from(e.headers).normalize();let{responseType:s,withXSRFToken:l}=e,o;function u(){e.cancelToken&&e.cancelToken.unsubscribe(o),e.signal&&e.signal.removeEventListener("abort",o)}let m;if(Ot.isFormData(a)){if(io.hasStandardBrowserEnv||io.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((m=i.getContentType())!==!1){const[d,..._]=m?m.split(";").map(y=>y.trim()).filter(Boolean):[];i.setContentType([d||"multipart/form-data",..._].join("; "))}}let c=new XMLHttpRequest;if(e.auth){const d=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(d+":"+_))}const f=nR(e.baseURL,e.url);c.open(e.method.toUpperCase(),QV(f,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function p(){if(!c)return;const d=eu.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),y={data:!s||s==="text"||s==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:d,config:e,request:c};Oae(function(S){r(S),u()},function(S){n(S),u()},y),c=null}if("onloadend"in c?c.onloadend=p:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(p)},c.onabort=function(){!c||(n(new wr("Request aborted",wr.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new wr("Network Error",wr.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let _=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const y=e.transitional||eR;e.timeoutErrorMessage&&(_=e.timeoutErrorMessage),n(new wr(_,y.clarifyTimeoutError?wr.ETIMEDOUT:wr.ECONNABORTED,e,c)),c=null},io.hasStandardBrowserEnv&&(l&&Ot.isFunction(l)&&(l=l(e)),l||l!==!1&&Eae(f))){const d=e.xsrfHeaderName&&e.xsrfCookieName&&Lae.read(e.xsrfCookieName);d&&i.set(e.xsrfHeaderName,d)}a===void 0&&i.setContentType(null),"setRequestHeader"in c&&Ot.forEach(i.toJSON(),function(_,y){c.setRequestHeader(y,_)}),Ot.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),s&&s!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",h4(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",h4(e.onUploadProgress)),(e.cancelToken||e.signal)&&(o=d=>{!c||(n(!d||d.type?new Wh(null,e,c):d),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(o),e.signal&&(e.signal.aborted?o():e.signal.addEventListener("abort",o)));const h=Tae(f);if(h&&io.protocols.indexOf(h)===-1){n(new wr("Unsupported protocol "+h+":",wr.ERR_BAD_REQUEST,e));return}c.send(a||null)})},vL={http:rae,xhr:Pae};Ot.forEach(vL,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const _4=e=>`- ${e}`,Uae=e=>Ot.isFunction(e)||e===null||e===!1,aR={getAdapter:e=>{e=Ot.isArray(e)?e:[e];const{length:t}=e;let r,n;const a={};for(let i=0;i`adapter ${l} `+(o===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since : -`+i.map(_4).join(` -`):" "+_4(i[0]):"as no adapter specified";throw new wr("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n},adapters:vL};function XD(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Wh(null,e)}function g4(e){return XD(e),e.headers=eu.from(e.headers),e.data=YD.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),aR.getAdapter(e.adapter||SE.adapter)(e).then(function(n){return XD(e),n.data=YD.call(e,e.transformResponse,n),n.headers=eu.from(n.headers),n},function(n){return sR(n)||(XD(e),n&&n.response&&(n.response.data=YD.call(e,e.transformResponse,n.response),n.response.headers=eu.from(n.response.headers))),Promise.reject(n)})}const S4=e=>e instanceof eu?e.toJSON():e;function Kf(e,t){t=t||{};const r={};function n(u,m,c){return Ot.isPlainObject(u)&&Ot.isPlainObject(m)?Ot.merge.call({caseless:c},u,m):Ot.isPlainObject(m)?Ot.merge({},m):Ot.isArray(m)?m.slice():m}function a(u,m,c){if(Ot.isUndefined(m)){if(!Ot.isUndefined(u))return n(void 0,u,c)}else return n(u,m,c)}function i(u,m){if(!Ot.isUndefined(m))return n(void 0,m)}function s(u,m){if(Ot.isUndefined(m)){if(!Ot.isUndefined(u))return n(void 0,u)}else return n(void 0,m)}function l(u,m,c){if(c in t)return n(u,m);if(c in e)return n(void 0,u)}const o={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken: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:l,headers:(u,m)=>a(S4(u),S4(m),!0)};return Ot.forEach(Object.keys(Object.assign({},e,t)),function(m){const c=o[m]||a,f=c(e[m],t[m],m);Ot.isUndefined(f)&&c!==l||(r[m]=f)}),r}const iR="1.6.7",vE={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{vE[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const v4={};vE.transitional=function(t,r,n){function a(i,s){return"[Axios v"+iR+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,l)=>{if(t===!1)throw new wr(a(s," has been removed"+(r?" in "+r:"")),wr.ERR_DEPRECATED);return r&&!v4[s]&&(v4[s]=!0,console.warn(a(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,l):!0}};function Nae(e,t,r){if(typeof e!="object")throw new wr("options must be an object",wr.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],s=t[i];if(s){const l=e[i],o=l===void 0||s(l,i,e);if(o!==!0)throw new wr("option "+i+" must be "+o,wr.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new wr("Unknown option "+i,wr.ERR_BAD_OPTION)}}const yL={assertOptions:Nae,validators:vE},Au=yL.validators;class lS{constructor(t){this.defaults=t,this.interceptors={request:new p4,response:new p4}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=` -`+i):n.stack=i}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Kf(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&yL.assertOptions(n,{silentJSONParsing:Au.transitional(Au.boolean),forcedJSONParsing:Au.transitional(Au.boolean),clarifyTimeoutError:Au.transitional(Au.boolean)},!1),a!=null&&(Ot.isFunction(a)?r.paramsSerializer={serialize:a}:yL.assertOptions(a,{encode:Au.function,serialize:Au.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&Ot.merge(i.common,i[r.method]);i&&Ot.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),r.headers=eu.concat(s,i);const l=[];let o=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(r)===!1||(o=o&&d.synchronous,l.unshift(d.fulfilled,d.rejected))});const u=[];this.interceptors.response.forEach(function(d){u.push(d.fulfilled,d.rejected)});let m,c=0,f;if(!o){const h=[g4.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,u),f=h.length,m=Promise.resolve(r);c{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const s=new Promise(l=>{n.subscribe(l),i=l}).then(a);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,l){n.reason||(n.reason=new Wh(i,s,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new yE(function(a){t=a}),cancel:t}}}const wae=yE;function xae(e){return function(r){return e.apply(null,r)}}function Vae(e){return Ot.isObject(e)&&e.isAxiosError===!0}const ML={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ML).forEach(([e,t])=>{ML[t]=e});const Rae=ML;function lR(e){const t=new Gg(e),r=HV(Gg.prototype.request,t);return Ot.extend(r,Gg.prototype,t,{allOwnKeys:!0}),Ot.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return lR(Kf(e,a))},r}const Cn=lR(SE);Cn.Axios=Gg;Cn.CanceledError=Wh;Cn.CancelToken=wae;Cn.isCancel=sR;Cn.VERSION=iR;Cn.toFormData=ny;Cn.AxiosError=wr;Cn.Cancel=Cn.CanceledError;Cn.all=function(t){return Promise.all(t)};Cn.spread=xae;Cn.isAxiosError=Vae;Cn.mergeConfig=Kf;Cn.AxiosHeaders=eu;Cn.formToJSON=e=>rR(Ot.isHTMLForm(e)?new FormData(e):e);Cn.getAdapter=aR.getAdapter;Cn.HttpStatusCode=Rae;Cn.default=Cn;const Fae=Cn;var DL={exports:{}};function Bae(e){r.debug=r,r.default=r,r.coerce=o,r.disable=i,r.enable=a,r.enabled=s,r.humanize=w6(),r.destroy=u,Object.keys(e).forEach(m=>{r[m]=e[m]}),r.names=[],r.skips=[],r.formatters={};function t(m){let c=0;for(let f=0;f{if(I==="%%")return"%";v++;const k=r.formatters[D];if(typeof k=="function"){const E=_[v];I=k.call(y,E),_.splice(v,1),v--}return I}),r.formatArgs.call(y,_),(y.log||r.log).apply(y,_)}return d.namespace=m,d.useColors=r.useColors(),d.color=r.selectColor(m),d.extend=n,d.destroy=r.destroy,Object.defineProperty(d,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(p!==r.namespaces&&(p=r.namespaces,h=r.enabled(m)),h),set:_=>{f=_}}),typeof r.init=="function"&&r.init(d),d}function n(m,c){const f=r(this.namespace+(typeof c>"u"?":":c)+m);return f.log=this.log,f}function a(m){r.save(m),r.namespaces=m,r.names=[],r.skips=[];let c;const f=(typeof m=="string"?m:"").split(/[\s,]+/),p=f.length;for(c=0;c"-"+c)].join(",");return r.enable(""),m}function s(m){if(m[m.length-1]==="*")return!0;let c,f;for(c=0,f=r.skips.length;c{let o=!1;return()=>{o||(o=!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`."))}})(),t.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"];function r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(o){if(o[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+o[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;o.splice(1,0,u,"color: inherit");let m=0,c=0;o[0].replace(/%[a-zA-Z%]/g,f=>{f!=="%%"&&(m++,f==="%c"&&(c=m))}),o.splice(c,0,u)}t.log=console.debug||console.log||(()=>{});function a(o){try{o?t.storage.setItem("debug",o):t.storage.removeItem("debug")}catch{}}function i(){let o;try{o=t.storage.getItem("debug")}catch{}return!o&&typeof process<"u"&&"env"in process&&(o={}.DEBUG),o}function s(){try{return localStorage}catch{}}e.exports=Hae(t);const{formatters:l}=e.exports;l.j=function(o){try{return JSON.stringify(o)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(DL,DL.exports);const Vl=DL.exports,$ae={};function Tt(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function Is(e,t,r,n,a){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?a.call(e,r):a?a.value=r:t.set(e,r),r}var tu={},iy={};iy.byteLength=Wae;iy.toByteArray=Kae;iy.fromByteArray=Yae;var to=[],Vi=[],jae=typeof Uint8Array<"u"?Uint8Array:Array,JD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Ac=0,Gae=JD.length;Ac0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function Wae(e){var t=oR(e),r=t[0],n=t[1];return(r+n)*3/4-n}function zae(e,t,r){return(t+r)*3/4-r}function Kae(e){var t,r=oR(e),n=r[0],a=r[1],i=new jae(zae(e,n,a)),s=0,l=a>0?n-4:n,o;for(o=0;o>16&255,i[s++]=t>>8&255,i[s++]=t&255;return a===2&&(t=Vi[e.charCodeAt(o)]<<2|Vi[e.charCodeAt(o+1)]>>4,i[s++]=t&255),a===1&&(t=Vi[e.charCodeAt(o)]<<10|Vi[e.charCodeAt(o+1)]<<4|Vi[e.charCodeAt(o+2)]>>2,i[s++]=t>>8&255,i[s++]=t&255),i}function qae(e){return to[e>>18&63]+to[e>>12&63]+to[e>>6&63]+to[e&63]}function Zae(e,t,r){for(var n,a=[],i=t;il?l:s+i));return n===1?(t=e[r-1],a.push(to[t>>2]+to[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],a.push(to[t>>10]+to[t>>4&63]+to[t<<2&63]+"=")),a.join("")}var ME={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ME.read=function(e,t,r,n,a){var i,s,l=a*8-n-1,o=(1<>1,m=-7,c=r?a-1:0,f=r?-1:1,p=e[t+c];for(c+=f,i=p&(1<<-m)-1,p>>=-m,m+=l;m>0;i=i*256+e[t+c],c+=f,m-=8);for(s=i&(1<<-m)-1,i>>=-m,m+=n;m>0;s=s*256+e[t+c],c+=f,m-=8);if(i===0)i=1-u;else{if(i===o)return s?NaN:(p?-1:1)*(1/0);s=s+Math.pow(2,n),i=i-u}return(p?-1:1)*s*Math.pow(2,i-n)};ME.write=function(e,t,r,n,a,i){var s,l,o,u=i*8-a-1,m=(1<>1,f=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,h=n?1:-1,d=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,s=m):(s=Math.floor(Math.log(t)/Math.LN2),t*(o=Math.pow(2,-s))<1&&(s--,o*=2),s+c>=1?t+=f/o:t+=f*Math.pow(2,1-c),t*o>=2&&(s++,o/=2),s+c>=m?(l=0,s=m):s+c>=1?(l=(t*o-1)*Math.pow(2,a),s=s+c):(l=t*Math.pow(2,c-1)*Math.pow(2,a),s=0));a>=8;e[r+p]=l&255,p+=h,l/=256,a-=8);for(s=s<0;e[r+p]=s&255,p+=h,s/=256,u-=8);e[r+p-h]|=d*128};/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */(function(e){const t=iy,r=ME,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=g,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=i(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{const se=new Uint8Array(1),x={foo:function(){return 42}};return Object.setPrototypeOf(x,Uint8Array.prototype),Object.setPrototypeOf(se,x),se.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function s(se){if(se>a)throw new RangeError('The value "'+se+'" is invalid for option "size"');const x=new Uint8Array(se);return Object.setPrototypeOf(x,l.prototype),x}function l(se,x,U){if(typeof se=="number"){if(typeof x=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return c(se)}return o(se,x,U)}l.poolSize=8192;function o(se,x,U){if(typeof se=="string")return f(se,x);if(ArrayBuffer.isView(se))return h(se);if(se==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof se);if(C(se,ArrayBuffer)||se&&C(se.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(C(se,SharedArrayBuffer)||se&&C(se.buffer,SharedArrayBuffer)))return d(se,x,U);if(typeof se=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const te=se.valueOf&&se.valueOf();if(te!=null&&te!==se)return l.from(te,x,U);const Se=_(se);if(Se)return Se;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof se[Symbol.toPrimitive]=="function")return l.from(se[Symbol.toPrimitive]("string"),x,U);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof se)}l.from=function(se,x,U){return o(se,x,U)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function u(se){if(typeof se!="number")throw new TypeError('"size" argument must be of type number');if(se<0)throw new RangeError('The value "'+se+'" is invalid for option "size"')}function m(se,x,U){return u(se),se<=0?s(se):x!==void 0?typeof U=="string"?s(se).fill(x,U):s(se).fill(x):s(se)}l.alloc=function(se,x,U){return m(se,x,U)};function c(se){return u(se),s(se<0?0:y(se)|0)}l.allocUnsafe=function(se){return c(se)},l.allocUnsafeSlow=function(se){return c(se)};function f(se,x){if((typeof x!="string"||x==="")&&(x="utf8"),!l.isEncoding(x))throw new TypeError("Unknown encoding: "+x);const U=S(se,x)|0;let te=s(U);const Se=te.write(se,x);return Se!==U&&(te=te.slice(0,Se)),te}function p(se){const x=se.length<0?0:y(se.length)|0,U=s(x);for(let te=0;te=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return se|0}function g(se){return+se!=se&&(se=0),l.alloc(+se)}l.isBuffer=function(x){return x!=null&&x._isBuffer===!0&&x!==l.prototype},l.compare=function(x,U){if(C(x,Uint8Array)&&(x=l.from(x,x.offset,x.byteLength)),C(U,Uint8Array)&&(U=l.from(U,U.offset,U.byteLength)),!l.isBuffer(x)||!l.isBuffer(U))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(x===U)return 0;let te=x.length,Se=U.length;for(let de=0,He=Math.min(te,Se);deSe.length?(l.isBuffer(He)||(He=l.from(He)),He.copy(Se,de)):Uint8Array.prototype.set.call(Se,He,de);else if(l.isBuffer(He))He.copy(Se,de);else throw new TypeError('"list" argument must be an Array of Buffers');de+=He.length}return Se};function S(se,x){if(l.isBuffer(se))return se.length;if(ArrayBuffer.isView(se)||C(se,ArrayBuffer))return se.byteLength;if(typeof se!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof se);const U=se.length,te=arguments.length>2&&arguments[2]===!0;if(!te&&U===0)return 0;let Se=!1;for(;;)switch(x){case"ascii":case"latin1":case"binary":return U;case"utf8":case"utf-8":return K(se).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U*2;case"hex":return U>>>1;case"base64":return Be(se).length;default:if(Se)return te?-1:K(se).length;x=(""+x).toLowerCase(),Se=!0}}l.byteLength=S;function v(se,x,U){let te=!1;if((x===void 0||x<0)&&(x=0),x>this.length||((U===void 0||U>this.length)&&(U=this.length),U<=0)||(U>>>=0,x>>>=0,U<=x))return"";for(se||(se="utf8");;)switch(se){case"hex":return W(this,x,U);case"utf8":case"utf-8":return L(this,x,U);case"ascii":return G(this,x,U);case"latin1":case"binary":return pe(this,x,U);case"base64":return F(this,x,U);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce(this,x,U);default:if(te)throw new TypeError("Unknown encoding: "+se);se=(se+"").toLowerCase(),te=!0}}l.prototype._isBuffer=!0;function M(se,x,U){const te=se[x];se[x]=se[U],se[U]=te}l.prototype.swap16=function(){const x=this.length;if(x%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let U=0;UU&&(x+=" ... "),""},n&&(l.prototype[n]=l.prototype.inspect),l.prototype.compare=function(x,U,te,Se,de){if(C(x,Uint8Array)&&(x=l.from(x,x.offset,x.byteLength)),!l.isBuffer(x))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof x);if(U===void 0&&(U=0),te===void 0&&(te=x?x.length:0),Se===void 0&&(Se=0),de===void 0&&(de=this.length),U<0||te>x.length||Se<0||de>this.length)throw new RangeError("out of range index");if(Se>=de&&U>=te)return 0;if(Se>=de)return-1;if(U>=te)return 1;if(U>>>=0,te>>>=0,Se>>>=0,de>>>=0,this===x)return 0;let He=de-Se,It=te-U;const Q=Math.min(He,It),ee=this.slice(Se,de),Ye=x.slice(U,te);for(let Et=0;Et2147483647?U=2147483647:U<-2147483648&&(U=-2147483648),U=+U,Ce(U)&&(U=Se?0:se.length-1),U<0&&(U=se.length+U),U>=se.length){if(Se)return-1;U=se.length-1}else if(U<0)if(Se)U=0;else return-1;if(typeof x=="string"&&(x=l.from(x,te)),l.isBuffer(x))return x.length===0?-1:D(se,x,U,te,Se);if(typeof x=="number")return x=x&255,typeof Uint8Array.prototype.indexOf=="function"?Se?Uint8Array.prototype.indexOf.call(se,x,U):Uint8Array.prototype.lastIndexOf.call(se,x,U):D(se,[x],U,te,Se);throw new TypeError("val must be string, number or Buffer")}function D(se,x,U,te,Se){let de=1,He=se.length,It=x.length;if(te!==void 0&&(te=String(te).toLowerCase(),te==="ucs2"||te==="ucs-2"||te==="utf16le"||te==="utf-16le")){if(se.length<2||x.length<2)return-1;de=2,He/=2,It/=2,U/=2}function Q(Ye,Et){return de===1?Ye[Et]:Ye.readUInt16BE(Et*de)}let ee;if(Se){let Ye=-1;for(ee=U;eeHe&&(U=He-It),ee=U;ee>=0;ee--){let Ye=!0;for(let Et=0;EtSe&&(te=Se)):te=Se;const de=x.length;te>de/2&&(te=de/2);let He;for(He=0;He>>0,isFinite(te)?(te=te>>>0,Se===void 0&&(Se="utf8")):(Se=te,te=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const de=this.length-U;if((te===void 0||te>de)&&(te=de),x.length>0&&(te<0||U<0)||U>this.length)throw new RangeError("Attempt to write outside buffer bounds");Se||(Se="utf8");let He=!1;for(;;)switch(Se){case"hex":return k(this,x,U,te);case"utf8":case"utf-8":return E(this,x,U,te);case"ascii":case"latin1":case"binary":return z(this,x,U,te);case"base64":return B(this,x,U,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,x,U,te);default:if(He)throw new TypeError("Unknown encoding: "+Se);Se=(""+Se).toLowerCase(),He=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function F(se,x,U){return x===0&&U===se.length?t.fromByteArray(se):t.fromByteArray(se.slice(x,U))}function L(se,x,U){U=Math.min(se.length,U);const te=[];let Se=x;for(;Se239?4:de>223?3:de>191?2:1;if(Se+It<=U){let Q,ee,Ye,Et;switch(It){case 1:de<128&&(He=de);break;case 2:Q=se[Se+1],(Q&192)===128&&(Et=(de&31)<<6|Q&63,Et>127&&(He=Et));break;case 3:Q=se[Se+1],ee=se[Se+2],(Q&192)===128&&(ee&192)===128&&(Et=(de&15)<<12|(Q&63)<<6|ee&63,Et>2047&&(Et<55296||Et>57343)&&(He=Et));break;case 4:Q=se[Se+1],ee=se[Se+2],Ye=se[Se+3],(Q&192)===128&&(ee&192)===128&&(Ye&192)===128&&(Et=(de&15)<<18|(Q&63)<<12|(ee&63)<<6|Ye&63,Et>65535&&Et<1114112&&(He=Et))}}He===null?(He=65533,It=1):He>65535&&(He-=65536,te.push(He>>>10&1023|55296),He=56320|He&1023),te.push(He),Se+=It}return ie(te)}const H=4096;function ie(se){const x=se.length;if(x<=H)return String.fromCharCode.apply(String,se);let U="",te=0;for(;tete)&&(U=te);let Se="";for(let de=x;dete&&(x=te),U<0?(U+=te,U<0&&(U=0)):U>te&&(U=te),UU)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(x,U,te){x=x>>>0,U=U>>>0,te||J(x,U,this.length);let Se=this[x],de=1,He=0;for(;++He>>0,U=U>>>0,te||J(x,U,this.length);let Se=this[x+--U],de=1;for(;U>0&&(de*=256);)Se+=this[x+--U]*de;return Se},l.prototype.readUint8=l.prototype.readUInt8=function(x,U){return x=x>>>0,U||J(x,1,this.length),this[x]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(x,U){return x=x>>>0,U||J(x,2,this.length),this[x]|this[x+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(x,U){return x=x>>>0,U||J(x,2,this.length),this[x]<<8|this[x+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(x,U){return x=x>>>0,U||J(x,4,this.length),(this[x]|this[x+1]<<8|this[x+2]<<16)+this[x+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(x,U){return x=x>>>0,U||J(x,4,this.length),this[x]*16777216+(this[x+1]<<16|this[x+2]<<8|this[x+3])},l.prototype.readBigUInt64LE=tt(function(x){x=x>>>0,vt(x,"offset");const U=this[x],te=this[x+7];(U===void 0||te===void 0)&&T(x,this.length-8);const Se=U+this[++x]*2**8+this[++x]*2**16+this[++x]*2**24,de=this[++x]+this[++x]*2**8+this[++x]*2**16+te*2**24;return BigInt(Se)+(BigInt(de)<>>0,vt(x,"offset");const U=this[x],te=this[x+7];(U===void 0||te===void 0)&&T(x,this.length-8);const Se=U*2**24+this[++x]*2**16+this[++x]*2**8+this[++x],de=this[++x]*2**24+this[++x]*2**16+this[++x]*2**8+te;return(BigInt(Se)<>>0,U=U>>>0,te||J(x,U,this.length);let Se=this[x],de=1,He=0;for(;++He=de&&(Se-=Math.pow(2,8*U)),Se},l.prototype.readIntBE=function(x,U,te){x=x>>>0,U=U>>>0,te||J(x,U,this.length);let Se=U,de=1,He=this[x+--Se];for(;Se>0&&(de*=256);)He+=this[x+--Se]*de;return de*=128,He>=de&&(He-=Math.pow(2,8*U)),He},l.prototype.readInt8=function(x,U){return x=x>>>0,U||J(x,1,this.length),this[x]&128?(255-this[x]+1)*-1:this[x]},l.prototype.readInt16LE=function(x,U){x=x>>>0,U||J(x,2,this.length);const te=this[x]|this[x+1]<<8;return te&32768?te|4294901760:te},l.prototype.readInt16BE=function(x,U){x=x>>>0,U||J(x,2,this.length);const te=this[x+1]|this[x]<<8;return te&32768?te|4294901760:te},l.prototype.readInt32LE=function(x,U){return x=x>>>0,U||J(x,4,this.length),this[x]|this[x+1]<<8|this[x+2]<<16|this[x+3]<<24},l.prototype.readInt32BE=function(x,U){return x=x>>>0,U||J(x,4,this.length),this[x]<<24|this[x+1]<<16|this[x+2]<<8|this[x+3]},l.prototype.readBigInt64LE=tt(function(x){x=x>>>0,vt(x,"offset");const U=this[x],te=this[x+7];(U===void 0||te===void 0)&&T(x,this.length-8);const Se=this[x+4]+this[x+5]*2**8+this[x+6]*2**16+(te<<24);return(BigInt(Se)<>>0,vt(x,"offset");const U=this[x],te=this[x+7];(U===void 0||te===void 0)&&T(x,this.length-8);const Se=(U<<24)+this[++x]*2**16+this[++x]*2**8+this[++x];return(BigInt(Se)<>>0,U||J(x,4,this.length),r.read(this,x,!0,23,4)},l.prototype.readFloatBE=function(x,U){return x=x>>>0,U||J(x,4,this.length),r.read(this,x,!1,23,4)},l.prototype.readDoubleLE=function(x,U){return x=x>>>0,U||J(x,8,this.length),r.read(this,x,!0,52,8)},l.prototype.readDoubleBE=function(x,U){return x=x>>>0,U||J(x,8,this.length),r.read(this,x,!1,52,8)};function R(se,x,U,te,Se,de){if(!l.isBuffer(se))throw new TypeError('"buffer" argument must be a Buffer instance');if(x>Se||xse.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(x,U,te,Se){if(x=+x,U=U>>>0,te=te>>>0,!Se){const It=Math.pow(2,8*te)-1;R(this,x,U,te,It,0)}let de=1,He=0;for(this[U]=x&255;++He>>0,te=te>>>0,!Se){const It=Math.pow(2,8*te)-1;R(this,x,U,te,It,0)}let de=te-1,He=1;for(this[U+de]=x&255;--de>=0&&(He*=256);)this[U+de]=x/He&255;return U+te},l.prototype.writeUint8=l.prototype.writeUInt8=function(x,U,te){return x=+x,U=U>>>0,te||R(this,x,U,1,255,0),this[U]=x&255,U+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(x,U,te){return x=+x,U=U>>>0,te||R(this,x,U,2,65535,0),this[U]=x&255,this[U+1]=x>>>8,U+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(x,U,te){return x=+x,U=U>>>0,te||R(this,x,U,2,65535,0),this[U]=x>>>8,this[U+1]=x&255,U+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(x,U,te){return x=+x,U=U>>>0,te||R(this,x,U,4,4294967295,0),this[U+3]=x>>>24,this[U+2]=x>>>16,this[U+1]=x>>>8,this[U]=x&255,U+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(x,U,te){return x=+x,U=U>>>0,te||R(this,x,U,4,4294967295,0),this[U]=x>>>24,this[U+1]=x>>>16,this[U+2]=x>>>8,this[U+3]=x&255,U+4};function V(se,x,U,te,Se){Ne(x,te,Se,se,U,7);let de=Number(x&BigInt(4294967295));se[U++]=de,de=de>>8,se[U++]=de,de=de>>8,se[U++]=de,de=de>>8,se[U++]=de;let He=Number(x>>BigInt(32)&BigInt(4294967295));return se[U++]=He,He=He>>8,se[U++]=He,He=He>>8,se[U++]=He,He=He>>8,se[U++]=He,U}function Y(se,x,U,te,Se){Ne(x,te,Se,se,U,7);let de=Number(x&BigInt(4294967295));se[U+7]=de,de=de>>8,se[U+6]=de,de=de>>8,se[U+5]=de,de=de>>8,se[U+4]=de;let He=Number(x>>BigInt(32)&BigInt(4294967295));return se[U+3]=He,He=He>>8,se[U+2]=He,He=He>>8,se[U+1]=He,He=He>>8,se[U]=He,U+8}l.prototype.writeBigUInt64LE=tt(function(x,U=0){return V(this,x,U,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=tt(function(x,U=0){return Y(this,x,U,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(x,U,te,Se){if(x=+x,U=U>>>0,!Se){const Q=Math.pow(2,8*te-1);R(this,x,U,te,Q-1,-Q)}let de=0,He=1,It=0;for(this[U]=x&255;++de>0)-It&255;return U+te},l.prototype.writeIntBE=function(x,U,te,Se){if(x=+x,U=U>>>0,!Se){const Q=Math.pow(2,8*te-1);R(this,x,U,te,Q-1,-Q)}let de=te-1,He=1,It=0;for(this[U+de]=x&255;--de>=0&&(He*=256);)x<0&&It===0&&this[U+de+1]!==0&&(It=1),this[U+de]=(x/He>>0)-It&255;return U+te},l.prototype.writeInt8=function(x,U,te){return x=+x,U=U>>>0,te||R(this,x,U,1,127,-128),x<0&&(x=255+x+1),this[U]=x&255,U+1},l.prototype.writeInt16LE=function(x,U,te){return x=+x,U=U>>>0,te||R(this,x,U,2,32767,-32768),this[U]=x&255,this[U+1]=x>>>8,U+2},l.prototype.writeInt16BE=function(x,U,te){return x=+x,U=U>>>0,te||R(this,x,U,2,32767,-32768),this[U]=x>>>8,this[U+1]=x&255,U+2},l.prototype.writeInt32LE=function(x,U,te){return x=+x,U=U>>>0,te||R(this,x,U,4,2147483647,-2147483648),this[U]=x&255,this[U+1]=x>>>8,this[U+2]=x>>>16,this[U+3]=x>>>24,U+4},l.prototype.writeInt32BE=function(x,U,te){return x=+x,U=U>>>0,te||R(this,x,U,4,2147483647,-2147483648),x<0&&(x=4294967295+x+1),this[U]=x>>>24,this[U+1]=x>>>16,this[U+2]=x>>>8,this[U+3]=x&255,U+4},l.prototype.writeBigInt64LE=tt(function(x,U=0){return V(this,x,U,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=tt(function(x,U=0){return Y(this,x,U,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Z(se,x,U,te,Se,de){if(U+te>se.length)throw new RangeError("Index out of range");if(U<0)throw new RangeError("Index out of range")}function Re(se,x,U,te,Se){return x=+x,U=U>>>0,Se||Z(se,x,U,4),r.write(se,x,U,te,23,4),U+4}l.prototype.writeFloatLE=function(x,U,te){return Re(this,x,U,!0,te)},l.prototype.writeFloatBE=function(x,U,te){return Re(this,x,U,!1,te)};function Je(se,x,U,te,Se){return x=+x,U=U>>>0,Se||Z(se,x,U,8),r.write(se,x,U,te,52,8),U+8}l.prototype.writeDoubleLE=function(x,U,te){return Je(this,x,U,!0,te)},l.prototype.writeDoubleBE=function(x,U,te){return Je(this,x,U,!1,te)},l.prototype.copy=function(x,U,te,Se){if(!l.isBuffer(x))throw new TypeError("argument should be a Buffer");if(te||(te=0),!Se&&Se!==0&&(Se=this.length),U>=x.length&&(U=x.length),U||(U=0),Se>0&&Se=this.length)throw new RangeError("Index out of range");if(Se<0)throw new RangeError("sourceEnd out of bounds");Se>this.length&&(Se=this.length),x.length-U>>0,te=te===void 0?this.length:te>>>0,x||(x=0);let de;if(typeof x=="number")for(de=U;de2**32?Se=et(String(U)):typeof U=="bigint"&&(Se=String(U),(U>BigInt(2)**BigInt(32)||U<-(BigInt(2)**BigInt(32)))&&(Se=et(Se)),Se+="n"),te+=` It must be ${x}. Received ${Se}`,te},RangeError);function et(se){let x="",U=se.length;const te=se[0]==="-"?1:0;for(;U>=te+4;U-=3)x=`_${se.slice(U-3,U)}${x}`;return`${se.slice(0,U)}${x}`}function Pe(se,x,U){vt(x,"offset"),(se[x]===void 0||se[x+U]===void 0)&&T(x,se.length-(U+1))}function Ne(se,x,U,te,Se,de){if(se>U||se3?x===0||x===BigInt(0)?It=`>= 0${He} and < 2${He} ** ${(de+1)*8}${He}`:It=`>= -(2${He} ** ${(de+1)*8-1}${He}) and < 2 ** ${(de+1)*8-1}${He}`:It=`>= ${x}${He} and <= ${U}${He}`,new xe.ERR_OUT_OF_RANGE("value",It,se)}Pe(te,Se,de)}function vt(se,x){if(typeof se!="number")throw new xe.ERR_INVALID_ARG_TYPE(x,"number",se)}function T(se,x,U){throw Math.floor(se)!==se?(vt(se,U),new xe.ERR_OUT_OF_RANGE(U||"offset","an integer",se)):x<0?new xe.ERR_BUFFER_OUT_OF_BOUNDS:new xe.ERR_OUT_OF_RANGE(U||"offset",`>= ${U?1:0} and <= ${x}`,se)}const we=/[^+/0-9A-Za-z-_]/g;function Ue(se){if(se=se.split("=")[0],se=se.trim().replace(we,""),se.length<2)return"";for(;se.length%4!==0;)se=se+"=";return se}function K(se,x){x=x||1/0;let U;const te=se.length;let Se=null;const de=[];for(let He=0;He55295&&U<57344){if(!Se){if(U>56319){(x-=3)>-1&&de.push(239,191,189);continue}else if(He+1===te){(x-=3)>-1&&de.push(239,191,189);continue}Se=U;continue}if(U<56320){(x-=3)>-1&&de.push(239,191,189),Se=U;continue}U=(Se-55296<<10|U-56320)+65536}else Se&&(x-=3)>-1&&de.push(239,191,189);if(Se=null,U<128){if((x-=1)<0)break;de.push(U)}else if(U<2048){if((x-=2)<0)break;de.push(U>>6|192,U&63|128)}else if(U<65536){if((x-=3)<0)break;de.push(U>>12|224,U>>6&63|128,U&63|128)}else if(U<1114112){if((x-=4)<0)break;de.push(U>>18|240,U>>12&63|128,U>>6&63|128,U&63|128)}else throw new Error("Invalid code point")}return de}function q(se){const x=[];for(let U=0;U>8,Se=U%256,de.push(Se),de.push(te);return de}function Be(se){return t.toByteArray(Ue(se))}function $e(se,x,U,te){let Se;for(Se=0;Se=x.length||Se>=se.length);++Se)x[Se+U]=se[Se];return Se}function C(se,x){return se instanceof x||se!=null&&se.constructor!=null&&se.constructor.name!=null&&se.constructor.name===x.name}function Ce(se){return se!==se}const mt=function(){const se="0123456789abcdef",x=new Array(256);for(let U=0;U<16;++U){const te=U*16;for(let Se=0;Se<16;++Se)x[te+Se]=se[U]+se[Se]}return x}();function tt(se){return typeof BigInt>"u"?qe:se}function qe(){throw new Error("BigInt not supported")}})(tu);var uR={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function a(o,u,m){this.fn=o,this.context=u,this.once=m||!1}function i(o,u,m,c,f){if(typeof m!="function")throw new TypeError("The listener must be a function");var p=new a(m,c||o,f),h=r?r+u:u;return o._events[h]?o._events[h].fn?o._events[h]=[o._events[h],p]:o._events[h].push(p):(o._events[h]=p,o._eventsCount++),o}function s(o,u){--o._eventsCount===0?o._events=new n:delete o._events[u]}function l(){this._events=new n,this._eventsCount=0}l.prototype.eventNames=function(){var u=[],m,c;if(this._eventsCount===0)return u;for(c in m=this._events)t.call(m,c)&&u.push(r?c.slice(1):c);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(m)):u},l.prototype.listeners=function(u){var m=r?r+u:u,c=this._events[m];if(!c)return[];if(c.fn)return[c.fn];for(var f=0,p=c.length,h=new Array(p);fglobalThis.DOMException===void 0?new Xae(e):new DOMException(e),M4=e=>{const t=e.reason===void 0?y4("This operation was aborted."):e.reason;return t instanceof Error?t:y4(t)};function Jae(e,t,r,n){let a;const i=new Promise((s,l)=>{if(typeof t!="number"||Math.sign(t)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${t}\``);if(t===Number.POSITIVE_INFINITY){s(e);return}if(n={customTimers:{setTimeout,clearTimeout},...n},n.signal){const{signal:o}=n;o.aborted&&l(M4(o)),o.addEventListener("abort",()=>{l(M4(o))})}a=n.customTimers.setTimeout.call(void 0,()=>{if(typeof r=="function"){try{s(r())}catch(m){l(m)}return}const o=typeof r=="string"?r:`Promise timed out after ${t} milliseconds`,u=r instanceof Error?r:new mR(o);typeof e.cancel=="function"&&e.cancel(),l(u)},t),(async()=>{try{s(await e)}catch(o){l(o)}finally{n.customTimers.clearTimeout.call(void 0,a)}})()});return i.clear=()=>{clearTimeout(a),a=void 0},i}function Qae(e,t,r){let n=0,a=e.length;for(;a>0;){const i=Math.trunc(a/2);let s=n+i;r(e[s],t)<=0?(n=++s,a-=i+1):a=i}return n}var zm=globalThis&&globalThis.__classPrivateFieldGet||function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},xo;class eie{constructor(){xo.set(this,[])}enqueue(t,r){r={priority:0,...r};const n={priority:r.priority,run:t};if(this.size&&zm(this,xo,"f")[this.size-1].priority>=r.priority){zm(this,xo,"f").push(n);return}const a=Qae(zm(this,xo,"f"),n,(i,s)=>s.priority-i.priority);zm(this,xo,"f").splice(a,0,n)}dequeue(){const t=zm(this,xo,"f").shift();return t?.run}filter(t){return zm(this,xo,"f").filter(r=>r.priority===t.priority).map(r=>r.run)}get size(){return zm(this,xo,"f").length}}xo=new WeakMap;var qs=globalThis&&globalThis.__classPrivateFieldSet||function(e,t,r,n,a){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?a.call(e,r):a?a.value=r:t.set(e,r),r},Kt=globalThis&&globalThis.__classPrivateFieldGet||function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},fn,zd,Kd,zu,uS,qd,Wg,_l,vd,ii,zg,oi,Zd,Fu,Kg,D4,I4,cR,O4,L4,qg,QD,eI,mS,fR,Zg;class pR extends Error{}class dR extends oS{constructor(t){var r,n,a,i;if(super(),fn.add(this),zd.set(this,void 0),Kd.set(this,void 0),zu.set(this,0),uS.set(this,void 0),qd.set(this,void 0),Wg.set(this,0),_l.set(this,void 0),vd.set(this,void 0),ii.set(this,void 0),zg.set(this,void 0),oi.set(this,0),Zd.set(this,void 0),Fu.set(this,void 0),Kg.set(this,void 0),Object.defineProperty(this,"timeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),t={carryoverConcurrencyCount:!1,intervalCap:Number.POSITIVE_INFINITY,interval:0,concurrency:Number.POSITIVE_INFINITY,autoStart:!0,queueClass:eie,...t},!(typeof t.intervalCap=="number"&&t.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${(n=(r=t.intervalCap)===null||r===void 0?void 0:r.toString())!==null&&n!==void 0?n:""}\` (${typeof t.intervalCap})`);if(t.interval===void 0||!(Number.isFinite(t.interval)&&t.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${(i=(a=t.interval)===null||a===void 0?void 0:a.toString())!==null&&i!==void 0?i:""}\` (${typeof t.interval})`);qs(this,zd,t.carryoverConcurrencyCount,"f"),qs(this,Kd,t.intervalCap===Number.POSITIVE_INFINITY||t.interval===0,"f"),qs(this,uS,t.intervalCap,"f"),qs(this,qd,t.interval,"f"),qs(this,ii,new t.queueClass,"f"),qs(this,zg,t.queueClass,"f"),this.concurrency=t.concurrency,this.timeout=t.timeout,qs(this,Kg,t.throwOnTimeout===!0,"f"),qs(this,Fu,t.autoStart===!1,"f")}get concurrency(){return Kt(this,Zd,"f")}set concurrency(t){if(!(typeof t=="number"&&t>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${t}\` (${typeof t})`);qs(this,Zd,t,"f"),Kt(this,fn,"m",mS).call(this)}async add(t,r={}){return r={timeout:this.timeout,throwOnTimeout:Kt(this,Kg,"f"),...r},new Promise((n,a)=>{Kt(this,ii,"f").enqueue(async()=>{var i,s,l;qs(this,oi,(s=Kt(this,oi,"f"),s++,s),"f"),qs(this,zu,(l=Kt(this,zu,"f"),l++,l),"f");try{if(!((i=r.signal)===null||i===void 0)&&i.aborted)throw new pR("The task was aborted.");let o=t({signal:r.signal});r.timeout&&(o=Jae(Promise.resolve(o),r.timeout)),r.signal&&(o=Promise.race([o,Kt(this,fn,"m",fR).call(this,r.signal)]));const u=await o;n(u),this.emit("completed",u)}catch(o){if(o instanceof mR&&!r.throwOnTimeout){n();return}a(o),this.emit("error",o)}finally{Kt(this,fn,"m",cR).call(this)}},r),this.emit("add"),Kt(this,fn,"m",qg).call(this)})}async addAll(t,r){return Promise.all(t.map(async n=>this.add(n,r)))}start(){return Kt(this,Fu,"f")?(qs(this,Fu,!1,"f"),Kt(this,fn,"m",mS).call(this),this):this}pause(){qs(this,Fu,!0,"f")}clear(){qs(this,ii,new(Kt(this,zg,"f")),"f")}async onEmpty(){Kt(this,ii,"f").size!==0&&await Kt(this,fn,"m",Zg).call(this,"empty")}async onSizeLessThan(t){Kt(this,ii,"f").sizeKt(this,ii,"f").size{Kt(this,fn,"m",O4).call(this)},r),"f"),!0}return!1},qg=function(){if(Kt(this,ii,"f").size===0)return Kt(this,_l,"f")&&clearInterval(Kt(this,_l,"f")),qs(this,_l,void 0,"f"),this.emit("empty"),Kt(this,oi,"f")===0&&this.emit("idle"),!1;if(!Kt(this,Fu,"f")){const t=!Kt(this,fn,"a",L4);if(Kt(this,fn,"a",D4)&&Kt(this,fn,"a",I4)){const r=Kt(this,ii,"f").dequeue();return r?(this.emit("active"),r(),t&&Kt(this,fn,"m",QD).call(this),!0):!1}}return!1},QD=function(){Kt(this,Kd,"f")||Kt(this,_l,"f")!==void 0||(qs(this,_l,setInterval(()=>{Kt(this,fn,"m",eI).call(this)},Kt(this,qd,"f")),"f"),qs(this,Wg,Date.now()+Kt(this,qd,"f"),"f"))},eI=function(){Kt(this,zu,"f")===0&&Kt(this,oi,"f")===0&&Kt(this,_l,"f")&&(clearInterval(Kt(this,_l,"f")),qs(this,_l,void 0,"f")),qs(this,zu,Kt(this,zd,"f")?Kt(this,oi,"f"):0,"f"),Kt(this,fn,"m",mS).call(this)},mS=function(){for(;Kt(this,fn,"m",qg).call(this););},fR=async function(t){return new Promise((r,n)=>{t.addEventListener("abort",()=>{n(new pR("The task was aborted."))},{once:!0})})},Zg=async function(t,r){return new Promise(n=>{const a=()=>{r&&!r()||(this.off(t,a),n())};this.on(t,a)})};var vu=function(){this.type=null,this._setSubtypeAndSuffix(null),this.parameters={}};vu.prototype.isValid=function(){return this.type!==null&&this.subtype!==null&&this.subtype!=="example"};vu.prototype._setSubtypeAndSuffix=function(e){if(this.subtype=e,this.subtypeFacets=[],this.suffix=null,e)if(e.indexOf("+")>-1&&e.substr(-1)!=="+"){var t=e.split("+",2);this.subtype=t[0],this.subtypeFacets=t[0].split("."),this.suffix=t[1]}else this.subtypeFacets=e.split(".")};vu.prototype.hasSuffix=function(){return!!this.suffix};vu.prototype._firstSubtypeFacetEquals=function(e){return this.subtypeFacets.length>0&&this.subtypeFacets[0]===e};vu.prototype.isVendor=function(){return this._firstSubtypeFacetEquals("vnd")};vu.prototype.isPersonal=function(){return this._firstSubtypeFacetEquals("prs")};vu.prototype.isExperimental=function(){return this._firstSubtypeFacetEquals("x")||this.subtype.substring(0,2).toLowerCase()==="x-"};vu.prototype.asString=function(){var e="";if(this.isValid()){e=e+this.type+"/"+this.subtype,this.hasSuffix()&&(e=e+"+"+this.suffix);var t=Object.keys(this.parameters);if(t.length>0){var r=[],n=this;t.sort(function(a,i){return a.localeCompare(i)}).forEach(function(a){r.push(a+"="+tie(n.parameters[a]))}),e=e+";"+r.join(";")}}return e};var tie=function(e){return e.indexOf(";")>-1?'"'+e+'"':e},rie=function(e){return e.substr(0,1)==='"'&&e.substr(-1)==='"'?e.substr(1,e.length-2):e},sie=/^(application|audio|font|image|message|model|multipart|text|video|\*)\/([a-zA-Z0-9!#$%^&\*_\-\+{}\|'.`~]{1,127})(;.*)?$/,nie=/;(?=(?:[^\"]*\"[^\"]*\")*(?![^\"]*\"))/,aie=function(e){var t=new vu;if(e){var r=e.match(sie);r&&!(r[1]==="*"&&r[2]!=="*")&&(t.type=r[1],t._setSubtypeAndSuffix(r[2]),r[3]&&r[3].substr(1).split(nie).forEach(function(n){var a=n.split("=",2);a.length===2&&(t.parameters[a[0].toLowerCase().trim()]=rie(a[1].trim()))}))}return t};const iie="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function b4(e){if(e.byteLength!==20)throw new Error("incorrect buffer size");let t=new Array(27).fill("0"),r=27,n=new Array(5);n[0]=e.getUint32(0,!1),n[1]=e.getUint32(4,!1),n[2]=e.getUint32(8,!1),n[3]=e.getUint32(12,!1),n[4]=e.getUint32(16,!1);const a=4294967296n,i=62n;for(;n.length!=0;){let s=[],l=0;for(const o of n){let u=BigInt(o)+BigInt(l)*a,m=u/i;l=Number(u%i),(s.length!==0||m!==0n)&&s.push(Number(m))}r--,t[r]=iie.charAt(l),n=s}return t.join("")}function lie(e,t){return t?4294967295-(Math.round(e/1e3)-14e8):Math.round(e/1e3)-14e8}function oie(){return crypto.getRandomValues(new Uint8Array(16))}function ly(e=!1,t=Date.now()){const r=new ArrayBuffer(20),n=new DataView(r),a=lie(t,e);let i=0;n.setUint32(i,a,!1),i+=4;const s=oie();for(const l of s)n.setUint8(i++,l);return e?"z"+b4(n):b4(n)}/** - * @license - * Copyright 2022 Open Ag Data Alliance - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */class hR extends TypeError{constructor(t,r){const[n]=r,a=n?`@oada/types assert failed at path "${n.instancePath}": ${n.message}`:"@oada/types assert failed";super(a),this.input=t,this.errors=r,this.input=t,this.errors=r}}var cS={exports:{}};cS.exports=wi;cS.exports.default=wi;const uie={$id:"https://formats.openag.io/oada/websockets/request.schema.json",$schema:"http://json-schema.org/draft-07/schema#",description:"This is the format of an OADA websocket request (client to server)",definitions:{id:{type:"string"}},type:"object",required:["requestId","path","method","headers"],properties:{requestId:{$ref:"#/definitions/id"},path:{$ref:"../../oada.schema.json#/definitions/path"},method:{anyOf:[{$comment:"Standard HTTP methods",$ref:"../../oada.schema.json#/definitions/method"},{$comment:"WebSocket only methods",enum:["watch","head-watch","get-watch","put-watch","post-watch","delete-watch","unwatch","ping"]}]},headers:{type:"object",required:["authorization"],properties:{authorization:{type:"string"}}},data:{description:"The optional data payload of the request"}}},mie={description:"The request methods (a la HTTP) supported by OADA",enum:["head","get","put","post","delete"]},cie=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function wi(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){let u;if(e.requestId===void 0&&(u="requestId")||e.path===void 0&&(u="path")||e.method===void 0&&(u="method")||e.headers===void 0&&(u="headers"))return wi.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:u},message:"must have required property '"+u+"'"}],!1;if(e.requestId!==void 0){const m=s;if(typeof e.requestId!="string")return wi.errors=[{instancePath:t+"/requestId",schemaPath:"#/definitions/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=m===s}else var l=!0;if(l){if(e.path!==void 0){let m=e.path;const c=s,f=s;if(s===f&&s===f)if(typeof m=="string"){if(!cie.test(m))return wi.errors=[{instancePath:t+"/path",schemaPath:"../../oada.schema.json#/definitions/path/format",keyword:"format",params:{format:"uri-reference"},message:'must match format "uri-reference"'}],!1}else return wi.errors=[{instancePath:t+"/path",schemaPath:"../../oada.schema.json#/definitions/path/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=c===s}else var l=!0;if(l){if(e.method!==void 0){let m=e.method;const c=s,f=s;let p=!1;const h=s;if(!(m==="head"||m==="get"||m==="put"||m==="post"||m==="delete")){const _={instancePath:t+"/method",schemaPath:"../../oada.schema.json#/definitions/method/enum",keyword:"enum",params:{allowedValues:mie.enum},message:"must be equal to one of the allowed values"};i===null?i=[_]:i.push(_),s++}var o=h===s;if(p=p||o,!p){const _=s;if(!(m==="watch"||m==="head-watch"||m==="get-watch"||m==="put-watch"||m==="post-watch"||m==="delete-watch"||m==="unwatch"||m==="ping")){const g={instancePath:t+"/method",schemaPath:"#/properties/method/anyOf/1/enum",keyword:"enum",params:{allowedValues:uie.properties.method.anyOf[1].enum},message:"must be equal to one of the allowed values"};i===null?i=[g]:i.push(g),s++}var o=_===s;p=p||o}if(p)s=f,i!==null&&(f?i.length=f:i=null);else{const _={instancePath:t+"/method",schemaPath:"#/properties/method/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};return i===null?i=[_]:i.push(_),s++,wi.errors=i,!1}var l=c===s}else var l=!0;if(l)if(e.headers!==void 0){let m=e.headers;const c=s;if(s===c)if(m&&typeof m=="object"&&!Array.isArray(m)){let p;if(m.authorization===void 0&&(p="authorization"))return wi.errors=[{instancePath:t+"/headers",schemaPath:"#/properties/headers/required",keyword:"required",params:{missingProperty:p},message:"must have required property '"+p+"'"}],!1;if(m.authorization!==void 0&&typeof m.authorization!="string")return wi.errors=[{instancePath:t+"/headers/authorization",schemaPath:"#/properties/headers/properties/authorization/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return wi.errors=[{instancePath:t+"/headers",schemaPath:"#/properties/headers/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=c===s}else var l=!0}}}else return wi.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return wi.errors=i,s===0}function _R(e){if(!cS.exports(e))throw new hR(e,cS.exports.errors)}/** - * @license - * Copyright 2021 Open Ag Data Alliance - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function fie(e){return Array.isArray(e)}function pie(e){return fie(e)?e:[e]}function C4(e){return`/${e.join("/")}`}function tI(e){const t=e.split("/");return t.length>0&&t[0]===""&&t.shift(),t.length>0&&t[t.length-1]===""&&t.pop(),t}function IL(e,t){let r=e;for(const n of t)if(n in r)r=r[n];else if("*"in r)r=r["*"];else throw new Error(`Specified path /${t.join("/")} does not exist in the tree.`);return r}function die(e,t){const r=t.slice().reverse();let n=e;for(const a of r)n={[a]:n};return n}class gR extends Error{get code(){return"REQUEST_TIMEDOUT"}get name(){return"TimeoutError"}constructor(t){super("Request timed out"),Object.assign(this,t)}}async function qf(e){if(e instanceof Error)return e;const t=`${e.status}`;let r={};try{r=await e.json?.()??e.data}catch{}const n=e.message??r?.message??(e.statusText?`${e.status} ${e.statusText}`:`${e.status}`);return Object.assign(new Error(n),{code:t,...e})}var z0={exports:{}};(function(e,t){var r=typeof self<"u"?self:Ka,n=function(){function i(){this.fetch=!1,this.DOMException=r.DOMException}return i.prototype=r,new i}();(function(i){(function(s){var l={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function o(L){return L&&DataView.prototype.isPrototypeOf(L)}if(l.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],m=ArrayBuffer.isView||function(L){return L&&u.indexOf(Object.prototype.toString.call(L))>-1};function c(L){if(typeof L!="string"&&(L=String(L)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(L))throw new TypeError("Invalid character in header field name");return L.toLowerCase()}function f(L){return typeof L!="string"&&(L=String(L)),L}function p(L){var H={next:function(){var ie=L.shift();return{done:ie===void 0,value:ie}}};return l.iterable&&(H[Symbol.iterator]=function(){return H}),H}function h(L){this.map={},L instanceof h?L.forEach(function(H,ie){this.append(ie,H)},this):Array.isArray(L)?L.forEach(function(H){this.append(H[0],H[1])},this):L&&Object.getOwnPropertyNames(L).forEach(function(H){this.append(H,L[H])},this)}h.prototype.append=function(L,H){L=c(L),H=f(H);var ie=this.map[L];this.map[L]=ie?ie+", "+H:H},h.prototype.delete=function(L){delete this.map[c(L)]},h.prototype.get=function(L){return L=c(L),this.has(L)?this.map[L]:null},h.prototype.has=function(L){return this.map.hasOwnProperty(c(L))},h.prototype.set=function(L,H){this.map[c(L)]=f(H)},h.prototype.forEach=function(L,H){for(var ie in this.map)this.map.hasOwnProperty(ie)&&L.call(H,this.map[ie],ie,this)},h.prototype.keys=function(){var L=[];return this.forEach(function(H,ie){L.push(ie)}),p(L)},h.prototype.values=function(){var L=[];return this.forEach(function(H){L.push(H)}),p(L)},h.prototype.entries=function(){var L=[];return this.forEach(function(H,ie){L.push([ie,H])}),p(L)},l.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function d(L){if(L.bodyUsed)return Promise.reject(new TypeError("Already read"));L.bodyUsed=!0}function _(L){return new Promise(function(H,ie){L.onload=function(){H(L.result)},L.onerror=function(){ie(L.error)}})}function y(L){var H=new FileReader,ie=_(H);return H.readAsArrayBuffer(L),ie}function g(L){var H=new FileReader,ie=_(H);return H.readAsText(L),ie}function S(L){for(var H=new Uint8Array(L),ie=new Array(H.length),G=0;G-1?H:L}function k(L,H){H=H||{};var ie=H.body;if(L instanceof k){if(L.bodyUsed)throw new TypeError("Already read");this.url=L.url,this.credentials=L.credentials,H.headers||(this.headers=new h(L.headers)),this.method=L.method,this.mode=L.mode,this.signal=L.signal,!ie&&L._bodyInit!=null&&(ie=L._bodyInit,L.bodyUsed=!0)}else this.url=String(L);if(this.credentials=H.credentials||this.credentials||"same-origin",(H.headers||!this.headers)&&(this.headers=new h(H.headers)),this.method=D(H.method||this.method||"GET"),this.mode=H.mode||this.mode||null,this.signal=H.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&ie)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(ie)}k.prototype.clone=function(){return new k(this,{body:this._bodyInit})};function E(L){var H=new FormData;return L.trim().split("&").forEach(function(ie){if(ie){var G=ie.split("="),pe=G.shift().replace(/\+/g," "),W=G.join("=").replace(/\+/g," ");H.append(decodeURIComponent(pe),decodeURIComponent(W))}}),H}function z(L){var H=new h,ie=L.replace(/\r?\n[\t ]+/g," ");return ie.split(/\r?\n/).forEach(function(G){var pe=G.split(":"),W=pe.shift().trim();if(W){var ce=pe.join(":").trim();H.append(W,ce)}}),H}M.call(k.prototype);function B(L,H){H||(H={}),this.type="default",this.status=H.status===void 0?200:H.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in H?H.statusText:"OK",this.headers=new h(H.headers),this.url=H.url||"",this._initBody(L)}M.call(B.prototype),B.prototype.clone=function(){return new B(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},B.error=function(){var L=new B(null,{status:0,statusText:""});return L.type="error",L};var P=[301,302,303,307,308];B.redirect=function(L,H){if(P.indexOf(H)===-1)throw new RangeError("Invalid status code");return new B(null,{status:H,headers:{location:L}})},s.DOMException=i.DOMException;try{new s.DOMException}catch{s.DOMException=function(H,ie){this.message=H,this.name=ie;var G=Error(H);this.stack=G.stack},s.DOMException.prototype=Object.create(Error.prototype),s.DOMException.prototype.constructor=s.DOMException}function F(L,H){return new Promise(function(ie,G){var pe=new k(L,H);if(pe.signal&&pe.signal.aborted)return G(new s.DOMException("Aborted","AbortError"));var W=new XMLHttpRequest;function ce(){W.abort()}W.onload=function(){var J={status:W.status,statusText:W.statusText,headers:z(W.getAllResponseHeaders()||"")};J.url="responseURL"in W?W.responseURL:J.headers.get("X-Request-URL");var R="response"in W?W.response:W.responseText;ie(new B(R,J))},W.onerror=function(){G(new TypeError("Network request failed"))},W.ontimeout=function(){G(new TypeError("Network request failed"))},W.onabort=function(){G(new s.DOMException("Aborted","AbortError"))},W.open(pe.method,pe.url,!0),pe.credentials==="include"?W.withCredentials=!0:pe.credentials==="omit"&&(W.withCredentials=!1),"responseType"in W&&l.blob&&(W.responseType="blob"),pe.headers.forEach(function(J,R){W.setRequestHeader(R,J)}),pe.signal&&(pe.signal.addEventListener("abort",ce),W.onreadystatechange=function(){W.readyState===4&&pe.signal.removeEventListener("abort",ce)}),W.send(typeof pe._bodyInit>"u"?null:pe._bodyInit)})}return F.polyfill=!0,i.fetch||(i.fetch=F,i.Headers=h,i.Request=k,i.Response=B),s.Headers=h,s.Request=k,s.Response=B,s.fetch=F,Object.defineProperty(s,"__esModule",{value:!0}),s})({})})(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var a=n;t=a.fetch,t.default=a.fetch,t.fetch=a.fetch,t.Headers=a.Headers,t.Request=a.Request,t.Response=a.Response,e.exports=t})(z0,z0.exports);const hie=Db(z0.exports);/** - * @license - * Copyright 2022 Open Ag Data Alliance - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const{AbortController:_ie}=window;/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */var OL=function(e,t){return OL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)n.hasOwnProperty(a)&&(r[a]=n[a])},OL(e,t)};function SR(e,t){OL(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function gie(e){var t=typeof Symbol=="function"&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function Sie(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,i=[],s;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(l){s={error:l}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i}function vie(){for(var e=[],t=0;t - * https://github.com/pladaria/reconnecting-websocket - * License MIT - */var Die=function(){if(typeof WebSocket<"u")return WebSocket},Iie=function(e){return typeof e<"u"&&!!e&&e.CLOSING===2},Km={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},Oie=function(){function e(t,r,n){var a=this;n===void 0&&(n={}),this._listeners={error:[],message:[],open:[],close:[]},this._retryCount=-1,this._shouldReconnect=!0,this._connectLock=!1,this._binaryType="blob",this._closeCalled=!1,this._messageQueue=[],this.onclose=null,this.onerror=null,this.onmessage=null,this.onopen=null,this._handleOpen=function(i){a._debug("open event");var s=a._options.minUptime,l=s===void 0?Km.minUptime:s;clearTimeout(a._connectTimeout),a._uptimeTimeout=setTimeout(function(){return a._acceptOpen()},l),a._ws.binaryType=a._binaryType,a._messageQueue.forEach(function(o){return a._ws.send(o)}),a._messageQueue=[],a.onopen&&a.onopen(i),a._listeners.open.forEach(function(o){return a._callEventListener(i,o)})},this._handleMessage=function(i){a._debug("message event"),a.onmessage&&a.onmessage(i),a._listeners.message.forEach(function(s){return a._callEventListener(i,s)})},this._handleError=function(i){a._debug("error event",i.message),a._disconnect(void 0,i.message==="TIMEOUT"?"timeout":void 0),a.onerror&&a.onerror(i),a._debug("exec error listeners"),a._listeners.error.forEach(function(s){return a._callEventListener(i,s)}),a._connect()},this._handleClose=function(i){a._debug("close event"),a._clearTimeouts(),a._shouldReconnect&&a._connect(),a.onclose&&a.onclose(i),a._listeners.close.forEach(function(s){return a._callEventListener(i,s)})},this._url=t,this._protocols=r,this._options=n,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(e,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CONNECTING",{get:function(){return e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"OPEN",{get:function(){return e.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSING",{get:function(){return e.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSED",{get:function(){return e.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(t){this._binaryType=t,this._ws&&(this._ws.binaryType=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bufferedAmount",{get:function(){var t=this._messageQueue.reduce(function(r,n){return typeof n=="string"?r+=n.length:n instanceof Blob?r+=n.size:r+=n.byteLength,r},0);return t+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?e.CLOSED:e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),e.prototype.close=function(t,r){if(t===void 0&&(t=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(t,r)},e.prototype.reconnect=function(t,r){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(t,r),this._connect())},e.prototype.send=function(t){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",t),this._ws.send(t);else{var r=this._options.maxEnqueuedMessages,n=r===void 0?Km.maxEnqueuedMessages:r;this._messageQueue.length"],t))},e.prototype._getNextDelay=function(){var t=this._options,r=t.reconnectionDelayGrowFactor,n=r===void 0?Km.reconnectionDelayGrowFactor:r,a=t.minReconnectionDelay,i=a===void 0?Km.minReconnectionDelay:a,s=t.maxReconnectionDelay,l=s===void 0?Km.maxReconnectionDelay:s,o=0;return this._retryCount>0&&(o=i*Math.pow(n,this._retryCount-1),o>l&&(o=l)),this._debug("next delay",o),o},e.prototype._wait=function(){var t=this;return new Promise(function(r){setTimeout(r,t._getNextDelay())})},e.prototype._getNextUrl=function(t){if(typeof t=="string")return Promise.resolve(t);if(typeof t=="function"){var r=t();if(typeof r=="string")return Promise.resolve(r);if(r.then)return r}throw Error("Invalid URL")},e.prototype._connect=function(){var t=this;if(!(this._connectLock||!this._shouldReconnect)){this._connectLock=!0;var r=this._options,n=r.maxRetries,a=n===void 0?Km.maxRetries:n,i=r.connectionTimeout,s=i===void 0?Km.connectionTimeout:i,l=r.WebSocket,o=l===void 0?Die():l;if(this._retryCount>=a){this._debug("max retries reached",this._retryCount,">=",a);return}if(this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),!Iie(o))throw Error("No valid WebSocket class provided");this._wait().then(function(){return t._getNextUrl(t._url)}).then(function(u){t._closeCalled||(t._debug("connect",{url:u,protocols:t._protocols}),t._ws=t._protocols?new o(u,t._protocols):new o(u),t._ws.binaryType=t._binaryType,t._connectLock=!1,t._addListeners(),t._connectTimeout=setTimeout(function(){return t._handleTimeout()},s))})}},e.prototype._handleTimeout=function(){this._debug("timeout event"),this._handleError(new yie(Error("TIMEOUT"),this))},e.prototype._disconnect=function(t,r){if(t===void 0&&(t=1e3),this._clearTimeouts(),!!this._ws){this._removeListeners();try{this._ws.close(t,r),this._handleClose(new Mie(t,r,this))}catch{}}},e.prototype._acceptOpen=function(){this._debug("accept open"),this._retryCount=0},e.prototype._callEventListener=function(t,r){"handleEvent"in r?r.handleEvent(t):r(t)},e.prototype._removeListeners=function(){!this._ws||(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))},e.prototype._addListeners=function(){!this._ws||(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))},e.prototype._clearTimeouts=function(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)},e}(),$c=null;typeof WebSocket<"u"?$c=WebSocket:typeof MozWebSocket<"u"?$c=MozWebSocket:typeof global<"u"?$c=global.WebSocket||global.MozWebSocket:typeof window<"u"?$c=window.WebSocket||window.MozWebSocket:typeof self<"u"&&($c=self.WebSocket||self.MozWebSocket);const Lie=$c;function yR(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,K1(e,t)}function LL(e){return LL=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},LL(e)}function K1(e,t){return K1=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},K1(e,t)}function bie(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Yg(e,t,r){return bie()?Yg=Reflect.construct:Yg=function(a,i,s){var l=[null];l.push.apply(l,i);var o=Function.bind.apply(a,l),u=new o;return s&&K1(u,s.prototype),u},Yg.apply(null,arguments)}function Cie(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function fS(e){var t=typeof Map=="function"?new Map:void 0;return fS=function(n){if(n===null||!Cie(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return Yg(n,arguments,LL(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),K1(a,n)},fS(e)}function MR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var DE=function(e){yR(t,e);function t(r,n,a){var i;return i=e.call(this,r+" must be "+n+", "+typeof a+" given")||this,i.name=i.constructor.name,i.message=r+" must be "+n+", "+typeof a+" given",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(MR(i),i.constructor):i.stack=new Error(r+" must be "+n+", "+typeof a+" given").stack,i.code="ERR_INVALID_ARG_TYPE",i}return t}(fS(Error)),E4=function(e){yR(t,e);function t(){var r;return r=e.call(this,"The operation was aborted")||this,r.name=r.constructor.name,r.message="The operation was aborted",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(MR(r),r.constructor):r.stack=new Error("The operation was aborted").stack,r.code="ABORT_ERR",r}return t}(fS(Error));function Eie(e,t){if(e===null||typeof e!="object")throw new DE(t,"Object",e)}function Tie(e,t){if(typeof e!="boolean")throw new DE(t,"boolean",e)}function Aie(e,t){if(typeof e<"u"&&(e===null||typeof e!="object"||!("aborted"in e)))throw new DE(t,"AbortSignal",e)}function oy(e,t,r){e===void 0&&(e=1),r===void 0&&(r={});var n=[].concat(t??[]);try{Eie(r,"options")}catch(m){return Promise.reject(m)}var a=r,i=a.signal,s=a.ref,l=s===void 0?!0:s;try{Aie(i,"options.signal")}catch(m){return Promise.reject(m)}try{Tie(l,"options.ref")}catch(m){return Promise.reject(m)}if(i!=null&&i.aborted)return Promise.reject(new E4);var o,u=new Promise(function(m,c){var f=setTimeout.apply(void 0,[function(){return m(t)},e].concat(n));l||f==null||f.unref==null||f.unref(),i&&(o=function(){clearTimeout(f),c(new E4)},i.addEventListener("abort",o))});return typeof o<"u"&&u.finally(function(){return i.removeEventListener("abort",o)}),u}var pS={exports:{}};pS.exports=dS;pS.exports.default=dS;const T4={description:"An element of a change array representing a single change to a single resource",allOf:[{type:"object",required:["type","body","path","resource_id"],properties:{type:{description:"Indicates the type of change that occurred.",enum:["merge","delete"]},path:{description:'JSON Pointer to the descendant of this resource which changed (or "" for this resource)',$ref:"../../oada.schema.json#/definitions/path"},resource_id:{description:"The `_id` of the resource which actually changed",$ref:"../../oada.schema.json#/definitions/_id"}}},{oneOf:[{type:"object",required:["body"],properties:{body:{$comment:"Should probably narrow this schema down",description:"The contents of what changed",type:"object",required:["_rev"],properties:{_rev:{$ref:"../../oada.schema.json#/definitions/_rev"}}}}},{type:"object",required:["type","body"],properties:{type:{enum:["delete"]},body:{type:"null"}}}]}]},kie=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,Pie=new RegExp("^resources/.*$","u");function Ri(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;const l=s;if(s===l)if(e&&typeof e=="object"&&!Array.isArray(e)){let f;if(e.type===void 0&&(f="type")||e.body===void 0&&(f="body")||e.path===void 0&&(f="path")||e.resource_id===void 0&&(f="resource_id"))return Ri.errors=[{instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:f},message:"must have required property '"+f+"'"}],!1;if(e.type!==void 0){let p=e.type;const h=s;if(!(p==="merge"||p==="delete"))return Ri.errors=[{instancePath:t+"/type",schemaPath:"#/allOf/0/properties/type/enum",keyword:"enum",params:{allowedValues:T4.allOf[0].properties.type.enum},message:"must be equal to one of the allowed values"}],!1;var o=h===s}else var o=!0;if(o){if(e.path!==void 0){let p=e.path;const h=s,d=s;if(s===d&&s===d)if(typeof p=="string"){if(!kie.test(p))return Ri.errors=[{instancePath:t+"/path",schemaPath:"../../oada.schema.json#/definitions/path/format",keyword:"format",params:{format:"uri-reference"},message:'must match format "uri-reference"'}],!1}else return Ri.errors=[{instancePath:t+"/path",schemaPath:"../../oada.schema.json#/definitions/path/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=h===s}else var o=!0;if(o)if(e.resource_id!==void 0){let p=e.resource_id;const h=s;if(s===s)if(typeof p=="string"){if(!Pie.test(p))return Ri.errors=[{instancePath:t+"/resource_id",schemaPath:"../../oada.schema.json#/definitions/_id/pattern",keyword:"pattern",params:{pattern:"^resources/.*$"},message:'must match pattern "^resources/.*$"'}],!1}else return Ri.errors=[{instancePath:t+"/resource_id",schemaPath:"../../oada.schema.json#/definitions/_id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=h===s}else var o=!0}}else return Ri.errors=[{instancePath:t,schemaPath:"#/allOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=l===s;if(u){const f=s,p=s;let h=!1,d=null;const _=s;if(s===_)if(e&&typeof e=="object"&&!Array.isArray(e)){let S;if(e.body===void 0&&(S="body")){const v={instancePath:t,schemaPath:"#/allOf/1/oneOf/0/required",keyword:"required",params:{missingProperty:S},message:"must have required property '"+S+"'"};i===null?i=[v]:i.push(v),s++}else if(e.body!==void 0){let v=e.body;if(s===s)if(v&&typeof v=="object"&&!Array.isArray(v)){let I;if(v._rev===void 0&&(I="_rev")){const D={instancePath:t+"/body",schemaPath:"#/allOf/1/oneOf/0/properties/body/required",keyword:"required",params:{missingProperty:I},message:"must have required property '"+I+"'"};i===null?i=[D]:i.push(D),s++}else if(v._rev!==void 0){let D=v._rev;if(!(typeof D=="number"&&!(D%1)&&!isNaN(D))){const k={instancePath:t+"/body/_rev",schemaPath:"../../oada.schema.json#/definitions/_rev/type",keyword:"type",params:{type:"integer"},message:"must be integer"};i===null?i=[k]:i.push(k),s++}}}else{const I={instancePath:t+"/body",schemaPath:"#/allOf/1/oneOf/0/properties/body/type",keyword:"type",params:{type:"object"},message:"must be object"};i===null?i=[I]:i.push(I),s++}}}else{const S={instancePath:t,schemaPath:"#/allOf/1/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};i===null?i=[S]:i.push(S),s++}var c=_===s;c&&(h=!0,d=0);const y=s;if(s===y)if(e&&typeof e=="object"&&!Array.isArray(e)){let S;if(e.type===void 0&&(S="type")||e.body===void 0&&(S="body")){const v={instancePath:t,schemaPath:"#/allOf/1/oneOf/1/required",keyword:"required",params:{missingProperty:S},message:"must have required property '"+S+"'"};i===null?i=[v]:i.push(v),s++}else{if(e.type!==void 0){const v=s;if(e.type!=="delete"){const M={instancePath:t+"/type",schemaPath:"#/allOf/1/oneOf/1/properties/type/enum",keyword:"enum",params:{allowedValues:T4.allOf[1].oneOf[1].properties.type.enum},message:"must be equal to one of the allowed values"};i===null?i=[M]:i.push(M),s++}var m=v===s}else var m=!0;if(m)if(e.body!==void 0){const v=s;if(e.body!==null){const I={instancePath:t+"/body",schemaPath:"#/allOf/1/oneOf/1/properties/body/type",keyword:"type",params:{type:"null"},message:"must be null"};i===null?i=[I]:i.push(I),s++}var m=v===s}else var m=!0}}else{const S={instancePath:t,schemaPath:"#/allOf/1/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object"};i===null?i=[S]:i.push(S),s++}var c=y===s;if(c&&h?(h=!1,d=[d,1]):c&&(h=!0,d=1),h)s=p,i!==null&&(p?i.length=p:i=null);else{const S={instancePath:t,schemaPath:"#/allOf/1/oneOf",keyword:"oneOf",params:{passingSchemas:d},message:"must match exactly one schema in oneOf"};return i===null?i=[S]:i.push(S),s++,Ri.errors=i,!1}var u=f===s}return Ri.errors=i,s===0}function dS(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(Array.isArray(e)){var l=!0;const o=e.length;for(let u=0;u=this.highWaterMark&&!this.isPaused&&(this.isPaused=!0,this.eventHandlers.highWater?this.eventHandlers.highWater():console&&console.warn(`EventIterator queue reached ${this.pushQueue.length} items`))}stop(){if(!this.isStopped){this.isStopped=!0,this.remove();for(const t of this.pullQueue)t.resolve({value:void 0,done:!0});this.pullQueue.length=0}}fail(t){if(!this.isStopped)if(this.isStopped=!0,this.remove(),this.pullQueue.length){for(const r of this.pullQueue)r.reject(t);this.pullQueue.length=0}else{const r=Promise.reject(t);r.catch(()=>{}),this.pushQueue.push(r)}}remove(){Promise.resolve().then(()=>{this.removeCallback&&this.removeCallback()})}[Symbol.asyncIterator](){return{next:t=>{const r=this.pushQueue.shift();return r?(this.lowWaterMark!==void 0&&this.pushQueue.length<=this.lowWaterMark&&this.isPaused&&(this.isPaused=!1,this.eventHandlers.lowWater&&this.eventHandlers.lowWater()),r):this.isStopped?Promise.resolve({value:void 0,done:!0}):new Promise((n,a)=>{this.pullQueue.push({resolve:n,reject:a})})},return:()=>(this.isStopped=!0,this.pushQueue.length=0,this.remove(),Promise.resolve({value:void 0,done:!0}))}}}class IR{constructor(t,{highWaterMark:r=100,lowWaterMark:n=1}={}){const a=new Fie;a.highWaterMark=r,a.lowWaterMark=n,a.removeCallback=t({push:i=>a.push(i),stop:()=>a.stop(),fail:i=>a.fail(i),on:(i,s)=>{a.eventHandlers[i]=s}})||(()=>{}),this[Symbol.asyncIterator]=()=>a[Symbol.asyncIterator](),Object.freeze(this)}}my.EventIterator=IR;my.default=IR;Object.defineProperty(uy,"__esModule",{value:!0});const LE=my;uy.EventIterator=LE.EventIterator;function Bie(e,t,r){return new LE.EventIterator(({push:n})=>(this.addEventListener(e,n,t),()=>this.removeEventListener(e,n,t)),r)}var OR=uy.subscribe=Bie;uy.default=LE.EventIterator;/** - * @license - * Copyright 2021 Open Ag Data Alliance - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */async function*Hie(...[e,t,r]){yield*OR.call(e,t,r)}async function bL(...[e,t]){const r=OR.call(e,t);for await(const n of r)return n;throw new Error(`Failed to await event ${t}`)}/** - * @license - * Copyright 2021 Open Ag Data Alliance - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const LR=Vl("@oada/client:errors:warn"),$ie=Vl("@oada/client:errors:trace"),jie=5*60*1e4;async function k4(e,t,...r){const a=new z0.exports.Headers(e.headers).get("Retry-After"),i=a?Number(a)*1e3||Number(new Date(a))-Date.now():jie;return LR("Received %s, retrying in %d ms",e.status,i),await oy(i),cy(t,...r)}async function Gie(e,t,...r){return LR(e,"Connection reset, retrying in 10000 ms"),await oy(1e4),cy(t,...r)}async function cy(e,...t){try{return await e(...t)}catch(r){const n=r?.[0]?.error??r?.[0]??r?.error??r;switch($ie(n,"Attempting to handle error"),`${n.status??r?.code}`){case"429":return await k4(n,e,...t);case"503":{if(new z0.exports.Headers(n.headers).has("Retry-After"))return await k4(n,e,...t);break}case"ECONNRESET":return await Gie(n,e,...t)}throw await qf(r)}}/** - * @license - * Copyright 2021 Open Ag Data Alliance - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */var Xg,uf,Of,e0,jc,t0,hS,bR,CR;const yd=Vl("@oada/client:ws:trace"),Wie=Vl("@oada/client:ws:error");class zie extends Lie{constructor(t,r=[],{maxPayload:n=0,...a}={}){super(t,r,{maxPayload:n,...a})}}class bE extends oS{constructor(t,{concurrency:r=10,userAgent:n}){super(),Xg.add(this),uf.set(this,void 0),Of.set(this,void 0),e0.set(this,void 0),jc.set(this,new oS),t0.set(this,void 0),hS.set(this,void 0),Is(this,hS,n,"f"),Is(this,Of,t.replace(/^http/,"ws"),"f"),Is(this,e0,1,"f");const a=new Oie(Tt(this,Of,"f"),[],{connectionTimeout:30*1e3,WebSocket:zie}),i=bL(a,"open").then(()=>a),s=bL(a,"error").then(([l])=>{throw l});Is(this,uf,Promise.race([i,s]),"f"),a.addEventListener("open",()=>{yd("Connection opened"),Is(this,e0,2,"f"),this.emit("open")}),a.addEventListener("close",()=>{yd("Connection closed"),Is(this,e0,0,"f"),this.emit("close")}),a.addEventListener("error",l=>{yd(l,"Connection error")}),a.addEventListener("message",Tt(this,Xg,"m",CR).bind(this)),Is(this,t0,new dR({concurrency:r}),"f"),Tt(this,t0,"f").on("active",()=>{yd("WS Queue. Size: %d pending: %d",Tt(this,t0,"f").size,Tt(this,t0,"f").pending)})}async disconnect(){Tt(this,e0,"f")!==0&&(await Tt(this,uf,"f")).close()}isConnected(){return Tt(this,e0,"f")===2}async awaitConnection(){await Tt(this,uf,"f")}async request(t,{timeout:r,signal:n}={}){return Tt(this,t0,"f").add(async()=>cy(Tt(this,Xg,"m",bR).bind(this),t,{timeout:r,signal:n}))}}uf=new WeakMap,Of=new WeakMap,e0=new WeakMap,jc=new WeakMap,t0=new WeakMap,hS=new WeakMap,Xg=new WeakSet,bR=async function(t,{timeout:r,signal:n}={}){const a=await Tt(this,uf,"f"),i=t.requestId??ly();t.requestId=i,_R(t);const{headers:s,watch:l,method:o}=t,u=[bL(Tt(this,jc,"f"),`response:${i}`)],m={...t,headers:{"user-agent":Tt(this,hS,"f"),...s},method:l?o==="head"?"watch":`${o}-watch`:o};a.send(JSON.stringify(m)),r&&u.push(oy(r).then(()=>{throw new gR(t)}));const[c]=await Promise.race(u);if(c.status>=200&&c.status<300){if(l){const f=Hie(Tt(this,jc,"f"),`change:${i}`,{signal:n});return[c,f]}return[c]}throw await qf(c)},CR=function(t){try{const r=JSON.parse(String(t.data)),n=Array.isArray(r.requestId)?r.requestId:[r.requestId];if(Rie(r))for(const a of n)Tt(this,jc,"f").emit(`response:${a}`,r);else if(xie(r)){Uie(r.change);const a=r.change.map(({body:i,...s})=>({...s,body:i}));for(const i of n){const s={requestId:[i],resourceId:r.resourceId,change:a};Tt(this,jc,"f").emit(`change:${i}`,s)}}else throw new Error("Invalid websocket payload received")}catch(r){Wie("[Websocket %s] Received invalid response. Ignoring.",Tt(this,Of,"f")),yd(r,"[Websocket %s] Received invalid response",Tt(this,Of,"f"))}};/** - * @license - * Copyright 2021 Open Ag Data Alliance - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */var _S,vl,Md,r0,s0,Jg,Qg,e2,jo,n0,ER;const ui=Vl("@oada/client:http:trace"),Kie=Vl("@oada/client:http:error");function qie({userAgent:e}){return z0.exports.context?z0.exports.context({userAgent:e}):{fetch:hie}}function Zie(e){const t=aie(e);return[t.subtype,t.suffix].includes("json")}async function Yie(e){return Zie(e.headers.get("content-type"))?await e.json():tu.Buffer.from(await e.arrayBuffer())}class CL extends oS{constructor(t,r,{concurrency:n=10,userAgent:a}){super(),_S.add(this),vl.set(this,void 0),Md.set(this,void 0),r0.set(this,void 0),s0.set(this,void 0),Jg.set(this,void 0),Qg.set(this,void 0),e2.set(this,void 0),jo.set(this,void 0),n0.set(this,void 0),Is(this,jo,qie({userAgent:a}),"f"),Is(this,vl,t.startsWith("http")?t:`https://${t}`,"f"),Is(this,vl,Tt(this,vl,"f").replace(/\/$/,""),"f"),Is(this,Md,r,"f"),Is(this,r0,1,"f"),ui("Opening HTTP connection to HEAD %s/bookmarks w/authorization: Bearer %s",Tt(this,vl,"f"),Tt(this,Md,"f")),Is(this,Jg,Tt(this,jo,"f").fetch(`${Tt(this,vl,"f")}/bookmarks`,{method:"HEAD",headers:{authorization:`Bearer ${Tt(this,Md,"f")}`}}).then(i=>{ui("Initial HEAD returned status: ",i.status),i.status<400?(ui('Initial HEAD succeeded, emitting "open"'),Is(this,r0,2,"f"),this.emit("open")):(ui('Initial HEAD failed, emitting "close"'),Is(this,r0,0,"f"),this.emit("close"))}),"f"),Is(this,Qg,n,"f"),Is(this,e2,a,"f"),Is(this,s0,new dR({concurrency:n}),"f"),Tt(this,s0,"f").on("active",()=>{ui("HTTP Queue. Size: %d pending: %d",Tt(this,s0,"f").size,Tt(this,s0,"f").pending)})}async disconnect(){Is(this,r0,0,"f"),"disconnectAll"in Tt(this,jo,"f")&&await Tt(this,jo,"f").disconnectAll(),await Tt(this,n0,"f")?.disconnect(),this.emit("close")}isConnected(){return Tt(this,r0,"f")===2}async awaitConnection(){await Tt(this,Jg,"f")}async request(t,{timeout:r,signal:n}={}){return ui(t,"Starting http request"),t.watch||t.method==="unwatch"?(ui("WATCH/UNWATCH not currently supported for http(2), falling-back to ws"),Tt(this,n0,"f")||(Is(this,n0,new bE(Tt(this,vl,"f"),{concurrency:Tt(this,Qg,"f"),userAgent:Tt(this,e2,"f")}),"f"),await Tt(this,n0,"f").awaitConnection()),Tt(this,n0,"f").request(t,{timeout:r,signal:n})):(t.requestId||(t.requestId=ly()),ui("Adding http request w/ id %s to the queue",t.requestId),Tt(this,s0,"f").add(async()=>cy(Tt(this,_S,"m",ER).bind(this),t,r)))}}vl=new WeakMap,Md=new WeakMap,r0=new WeakMap,s0=new WeakMap,Jg=new WeakMap,Qg=new WeakMap,e2=new WeakMap,jo=new WeakMap,n0=new WeakMap,_S=new WeakSet,ER=async function e(t,r){ui("Pulled request %s from queue, starting on it",t.requestId),_R(t),ui("Req looks like socket request, awaiting race of timeout and fetch to %s%s",Tt(this,vl,"f"),t.path);let n=!1,a=!1,i;r&&(i=new _ie,setTimeout(()=>{n||(a=!0,i.abort())},r));const s=tu.Buffer.isBuffer(t.data)?t.data:JSON.stringify(t.data);try{const l=await Tt(this,jo,"f").fetch(new URL(t.path,Tt(this,vl,"f")).toString(),{method:t.method.toUpperCase(),signal:i?.signal,timeout:r,body:s,headers:t.headers});if(n=!0,ui("Fetch did not throw, checking status of %s",l.status),!l.ok)throw ui("result.status %s is not 2xx, throwing",l.status),await qf(l);ui("result.status ok, pulling headers");const o=Object.fromEntries(l.headers.entries()),u=t.method.toUpperCase()==="HEAD"?void 0:await Yie(l);return[{requestId:t.requestId,status:l.status,statusText:l.statusText,headers:o,data:u}]}catch(l){if(a)throw new gR(t);switch(l?.code){case"ERR_HTTP2_INVALID_SESSION":return Kie("HTTP/2 session was killed, reconnecting"),"disconnect"in Tt(this,jo,"f")&&await Tt(this,jo,"f").disconnect(Tt(this,vl,"f")),Tt(this,_S,"m",e).call(this,t,r);default:throw l}}};/** - * @license - * Copyright 2021 Open Ag Data Alliance - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const Xie=Vl("@oada/client:auto:error");function P4(e){const t=new URL(e);switch(t.protocol){case"http2:":return Object.assign(t,{port:Number(t.port)||80,protocols:["h2"]});case"https:":return Object.assign(t,{port:Number(t.port)||443,protocols:["h2","http/1.1","http/1.0"]});case"http:":return Object.assign(t,{port:Number(t.port)||80,protocols:["http/1.1","http/1.0"]});default:throw new Error(`Unsupported domain protocol: ${t.protocol}`)}}function TR(e){try{return P4(e)}catch{return P4(`https://${e}`)}}async function Jie({domain:e,token:t,concurrency:r,userAgent:n}){try{const{hostname:a,port:i,protocols:s}=TR(e),{alpnProtocol:l}=await $ae({host:a,servername:a,port:i,rejectUnauthorized:!1,ALPNProtocols:s});switch(l){case"h2":return new CL(e,t,{concurrency:r,userAgent:n});case"http/1.1":case"http/1.0":return new bE(e,{concurrency:r,userAgent:n});default:throw new Error(`Unsupported ALPN protocol: ${l}`)}}catch(a){return Xie(a,"Failed to auto pick connection type, falling back to HTTP"),new CL(e,t,{concurrency:r,userAgent:n})}}var fy={exports:{}};const{AbortController:AR,AbortSignal:Qie}=typeof self<"u"?self:typeof window<"u"?window:void 0;fy.exports=AR;fy.exports.AbortSignal=Qie;fy.exports.default=AR;var py={};Object.defineProperty(py,"__esModule",{value:!0});py.default=q1;py.formatKeys=kR;function q1(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new Map,n=r.get(e);if(n)return n;if(Array.isArray(e)){var a=[];r.set(e,a);for(var i=0;i{};/** - * @license - * Copyright 2021 Open Ag Data Alliance - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */var mi,ki,a0,i0,Zn,qi,PR,rI,EL,UR,NR,N4,w4,x4;const Ho=Vl("@oada/client:client:trace"),V4=Vl("@oada/client:client:info"),tle=Vl("@oada/client:client:warn"),rle=Vl("@oada/client:client:error");async function sle(e,t,r){try{for await(const n of e)try{await t(n)}catch(a){rle(a,`Error in watch callback for watch ${r}`)}}finally{await e.return?.()}}class CE{constructor({domain:t,token:r="",concurrency:n=1,userAgent:a=`${{}.npm_package_name}/${{}.npm_package_version}`,connection:i="http"}){switch(mi.add(this),ki.set(this,void 0),a0.set(this,void 0),i0.set(this,void 0),Zn.set(this,void 0),qi.set(this,void 0),Is(this,a0,t,"f"),Is(this,ki,r,"f"),Is(this,i0,n,"f"),Is(this,qi,new Map,"f"),i){case"auto":throw new Error('Connection type "auto" is not supported');case"ws":{Is(this,Zn,new bE(Tt(this,a0,"f"),{concurrency:Tt(this,i0,"f"),userAgent:a}),"f");break}case"http":{Is(this,Zn,new CL(Tt(this,a0,"f"),Tt(this,ki,"f"),{concurrency:Tt(this,i0,"f"),userAgent:a}),"f");break}default:Is(this,Zn,i,"f")}}clone(t){return new CE({domain:Tt(this,a0,"f"),token:t,concurrency:Tt(this,i0,"f"),connection:Tt(this,Zn,"f")})}getToken(){return Tt(this,ki,"f")}getDomain(){return Tt(this,a0,"f")}getConcurrency(){return Tt(this,i0,"f")}async disconnect(){return Tt(this,Zn,"f").disconnect()}async awaitConnection(){return Tt(this,Zn,"f").awaitConnection()}async get(t){const[r]=await Tt(this,Zn,"f").request({method:"get",headers:{...t.headers,authorization:`Bearer ${Tt(this,ki,"f")}`},path:t.path},{timeout:t.timeout});if(t.tree){const n=tI(t.path),a=IL(t.tree,n);r.data=await Tt(this,mi,"m",PR).call(this,t.path,a,r.data??{})}return r}async watch(t){const r=new fy.exports.AbortController,n={};t.rev&&(n["x-oada-rev"]=`${t.rev}`);let a="";if(t.persist?.name){const{name:h,recordLapsedTimeout:d}=t.persist;a=`${t.path}/_meta/watchPersists/${h}`;let _;const{data:y}=await this.get({path:`${t.path}/_meta`}),g=typeof y=="object"&&!tu.Buffer.isBuffer(y)&&!Array.isArray(y)?Number(y?._rev):void 0;try{const{data:v}=await this.get({path:a});typeof v=="object"&&!tu.Buffer.isBuffer(v)&&!Array.isArray(v)&&(_=Number(v?.rev),n["x-oada-rev"]=_.toString(),Ho("Watch persist found _meta entry for [%s]. Setting x-oada-rev header to %d",h,_)),_||(Ho("Watch persist found _meta entry for [%s], but 'rev' is undefined. Writing 'rev' as %d",h,_),await this.put({path:`${a}/rev`,data:g}),_=Number(g))}catch{_=Number(g);let v;if(typeof _=="number"){const{headers:M}=await this.post({path:"/resources",data:{rev:_}});v=M["content-location"]?.replace(/^\//,"")}v&&(await this.put({path:a,data:{_id:v}}),Ho(`Watch persist did not find _meta entry for [${h}]. Current resource _rev is ${_}. Not setting x-oada-rev header. _meta entry created.`))}let S;try{const{data:v}=await this.get({path:`${a}/items`});S=v&&!tu.Buffer.isBuffer(v)?v:{}}catch(v){if(v?.code==="404")S={};else throw v}Tt(this,qi,"f").set(a,{lastCheck:void 0,recordLapsedTimeout:d,lastRev:_,items:new Map,recorded:new Map(Object.entries(S).map(([v,M])=>[Number(v),M]))})}Tt(this,Zn,"f").on("open",()=>{r.abort()});const{persist:i,path:s,timeout:l,initialMethod:o="head"}=t,[u,m]=await Tt(this,Zn,"f").request({watch:!0,method:o,headers:{...t.headers,...n,authorization:`Bearer ${Tt(this,ki,"f")}`},path:s},{timeout:l,signal:r.signal});if(u.status!==200)throw new Error("Watch request failed!");const c=Array.isArray(u.requestId)?u.requestId[0]:u.requestId;async function*f(){try{for await(const[h]of m){let d;if(i){const _=h?.change.find(y=>y.path==="")?.body;typeof _=="object"&&_!==null&&!Array.isArray(_)&&(d=_._rev,a&&Tt(this,qi,"f").has(a)&&Tt(this,qi,"f").get(a).items.set(Number(d),Date.now()))}if(t.type==="tree")yield U4(h.change);else if(!t.type||t.type==="single"){for(const _ of h.change)if(yield U4(_),_.path===""){const y=_.body?._rev;if(y)Ho("Updated the rev of request %s to %s",h.requestId[0],y);else throw new Error("The _rev field is missing.")}}i&&typeof d=="number"&&Tt(this,qi,"f").has(a)&&await Tt(this,mi,"m",NR).call(this,a,d)}}finally{await this.unwatch(c)}if(r.signal.aborted){const{changes:h}=await this.watch(t);yield*h}}if("watchCallback"in t){const h=f.call(this),{watchCallback:d}=t;return sle(h,d,c),c}const p=f.call(this);return{...u,changes:p}}async unwatch(t){Ho("Unwatch requestId=%s",t);const[r]=await Tt(this,Zn,"f").request({path:"",headers:{authorization:""},method:"unwatch",requestId:t});return r}async put(t){const r=tI(t.path);t.tree&&await Tt(this,mi,"m",UR).call(this,t.tree,r);const n=await Tt(this,mi,"m",EL).call(this,t,r),a=t.etagIfMatch&&pie(t.etagIfMatch),[i]=await Tt(this,Zn,"f").request({method:"put",headers:{...t.headers,authorization:`Bearer ${Tt(this,ki,"f")}`,"content-type":n,...a&&{"if-match":a.join(", ")}},path:t.path,data:t.data},{timeout:t.timeout});return i}async post(t){const r=tI(t.path),{data:n,tree:a,path:i,timeout:s,headers:l}=t;if(a){const m=ly();return this.put({...t,path:(i.endsWith("/")?i:`${i}/`)+m})}const o=await Tt(this,mi,"m",EL).call(this,t,r),[u]=await Tt(this,Zn,"f").request({method:"post",headers:{...l,authorization:`Bearer ${Tt(this,ki,"f")}`,"content-type":o},path:i,data:n},{timeout:s});return u}async head(t){const[r]=await Tt(this,Zn,"f").request({method:"head",headers:{...t.headers,authorization:`Bearer ${Tt(this,ki,"f")}`},path:t.path},{timeout:t.timeout});return r}async delete(t){const[r]=await Tt(this,Zn,"f").request({method:"delete",headers:{...t.headers,authorization:`Bearer ${Tt(this,ki,"f")}`},path:t.path},{timeout:t.timeout});return r}async ensure(t){try{const[r]=await Tt(this,Zn,"f").request({method:"head",headers:{...t.headers,authorization:`Bearer ${Tt(this,ki,"f")}`},path:t.path},{timeout:t.timeout});return r}catch(r){if(r?.code!=="404")throw await qf(r);return Ho("Path to ensure did not exist. Creating"),await this.put(t)}}}ki=new WeakMap,a0=new WeakMap,i0=new WeakMap,Zn=new WeakMap,qi=new WeakMap,mi=new WeakSet,PR=async function e(t,r,n){if(!r||!n)throw new Error("Path mismatch.");if(r._type&&({data:n={}}=await this.get({path:t})),tu.Buffer.isBuffer(n)||!n)return n;const a=[];if("*"in r)for(const[i,s]of Object.entries(n))["_meta","_changes"].indexOf(i)>-1&&!(i in r)||typeof s=="object"&&a.push({treeKey:"*",dataKey:i});else for(const i of Object.keys(r??{}))typeof n[i]=="object"&&a.push({treeKey:i,dataKey:i});return await Promise.all(a.map(async i=>{const s=`${t}/${i.dataKey}`;try{const l=await Tt(this,mi,"m",e).call(this,s,r[i.treeKey],n[i.dataKey]);if(tu.Buffer.isBuffer(l))throw new TypeError("Non JSON is not supported.");n[i.dataKey]=l}catch(l){tle(l,`Failed to recursively GET ${s}`)}})),n},rI=async function(t,r){let n=null,a=[];for await(const i of Array.from(r.keys()).reverse()){const s=r.slice(0,i+1),l=IL(t,s);if(!l._type)continue;const o=l._type,u=C4(s),m=await Tt(this,mi,"m",x4).call(this,u);if(m.exist){n&&a.length>0&&await this.put({path:C4(a),contentType:o,data:n,etagIfMatch:m.etag});return}const c=a.slice(i+1),f=n?die(n,c):{},p=await Tt(this,mi,"m",w4).call(this,o,f);n="_rev"in l?{_id:p,_rev:0}:{_id:p},a=s.slice()}},EL=async function({contentType:t,data:r,tree:n},a){if(t)return t;if(tu.Buffer.isBuffer(r)){const i=await ele();if(i?.mime)return i.mime}else{const i=r?._type;if(i)return i}if(n){const{_type:i}=IL(n,a);if(i)return i}return"application/json"},UR=async function(t,r){const n=new Set(["412","422"]),a=5;for await(const i of Array.from({length:a-1}).keys())try{await Tt(this,mi,"m",rI).call(this,t,r);return}catch(s){if(n.has(s?.code))await oy(100*((i+1)**2+Math.random()));else throw await qf(s)}await Tt(this,mi,"m",rI).call(this,t,r)},NR=async function(t,r){if(Ho("Persisting watch for path %s to rev %d",t,r),Tt(this,qi,"f").has(t)){let{lastRev:n,recorded:a,items:i,recordLapsedTimeout:s,lastCheck:l}=Tt(this,qi,"f").get(t);if(s!==void 0){a.has(r)&&(V4("Lapsed rev [%d] on path %s is now resolved. Removing from 'items' list.",r,t),await this.delete({path:`${t}/items/${r}`}));const o=Date.now();(l===void 0||l+s>o)&&await Tt(this,mi,"m",N4).call(this,t,o),Tt(this,qi,"f").get(t).lastCheck=o}for(i.set(Number(r),!0);i.get(n+1)===!0;)n++,Tt(this,qi,"f").get(t).lastRev=n,i.delete(Number(n));await this.put({path:`${t}/rev`,data:n}),Ho("Persisted watch: path: [%s], rev: [%d]",t,n)}},N4=async function(t,r){Ho("Checking for lapsed revs for path [%s] time: [%s]",t,r);const{items:n,recorded:a,recordLapsedTimeout:i}=Tt(this,qi,"f").get(t);for(const[s,l]of n)if(i!==void 0&&typeof l=="number"&&r>Number(l)+i){const o=`${t}/items/${s}`;V4("Recording lapsed rev: %s",o),await this.put({path:o,data:l}),n.set(Number(s),!0),a.set(Number(s),!0)}},w4=async function(t,r){const a=`resources/${ly()}`;return await this.put({path:`/${a}`,data:r,contentType:t}),a},x4=async function(t){if(t==="/resources")return{exist:!0};try{const r=await this.head({path:t});if(r.status===200)return{exist:!0,etag:r.headers.etag};if(r.status===404)return{exist:!1}}catch(r){if(r?.code==="404")return{exist:!1};if(r?.code==="403"&&t.startsWith("/resources"))return{exist:!1};throw await qf(r)}throw new Error("Status code is neither 200 nor 404.")};/** - * @license - * Copyright 2021 Open Ag Data Alliance - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function nle(e){return TR(e).toString()}async function ale({connection:e="auto",concurrency:t=1,userAgent:r=`${{}.npm_package_name}/${{}.npm_package_version}`,...n}){const a=e==="auto"?await Jie({concurrency:t,userAgent:r,...n}):e,i=new CE({...n,domain:nle(n.domain),connection:a});return await i.awaitConnection(),i}var Za=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},TL={exports:{}},sI,R4;function ile(){if(R4)return sI;R4=1;var e=1e3,t=e*60,r=t*60,n=r*24,a=n*7,i=n*365.25;sI=function(m,c){c=c||{};var f=typeof m;if(f==="string"&&m.length>0)return s(m);if(f==="number"&&isFinite(m))return c.long?o(m):l(m);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(m))};function s(m){if(m=String(m),!(m.length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(m);if(!!c){var f=parseFloat(c[1]),p=(c[2]||"ms").toLowerCase();switch(p){case"years":case"year":case"yrs":case"yr":case"y":return f*i;case"weeks":case"week":case"w":return f*a;case"days":case"day":case"d":return f*n;case"hours":case"hour":case"hrs":case"hr":case"h":return f*r;case"minutes":case"minute":case"mins":case"min":case"m":return f*t;case"seconds":case"second":case"secs":case"sec":case"s":return f*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return f;default:return}}}}function l(m){var c=Math.abs(m);return c>=n?Math.round(m/n)+"d":c>=r?Math.round(m/r)+"h":c>=t?Math.round(m/t)+"m":c>=e?Math.round(m/e)+"s":m+"ms"}function o(m){var c=Math.abs(m);return c>=n?u(m,c,n,"day"):c>=r?u(m,c,r,"hour"):c>=t?u(m,c,t,"minute"):c>=e?u(m,c,e,"second"):m+" ms"}function u(m,c,f,p){var h=c>=f*1.5;return Math.round(m/f)+" "+p+(h?"s":"")}return sI}function lle(e){r.debug=r,r.default=r,r.coerce=o,r.disable=i,r.enable=a,r.enabled=s,r.humanize=ile(),r.destroy=u,Object.keys(e).forEach(m=>{r[m]=e[m]}),r.names=[],r.skips=[],r.formatters={};function t(m){let c=0;for(let f=0;f{if(I==="%%")return"%";v++;const k=r.formatters[D];if(typeof k=="function"){const E=_[v];I=k.call(y,E),_.splice(v,1),v--}return I}),r.formatArgs.call(y,_),(y.log||r.log).apply(y,_)}return d.namespace=m,d.useColors=r.useColors(),d.color=r.selectColor(m),d.extend=n,d.destroy=r.destroy,Object.defineProperty(d,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(p!==r.namespaces&&(p=r.namespaces,h=r.enabled(m)),h),set:_=>{f=_}}),typeof r.init=="function"&&r.init(d),d}function n(m,c){const f=r(this.namespace+(typeof c>"u"?":":c)+m);return f.log=this.log,f}function a(m){r.save(m),r.namespaces=m,r.names=[],r.skips=[];let c;const f=(typeof m=="string"?m:"").split(/[\s,]+/),p=f.length;for(c=0;c"-"+c)].join(",");return r.enable(""),m}function s(m){if(m[m.length-1]==="*")return!0;let c,f;for(c=0,f=r.skips.length;c{let o=!1;return()=>{o||(o=!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`."))}})(),t.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"];function r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(o){if(o[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+o[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;o.splice(1,0,u,"color: inherit");let m=0,c=0;o[0].replace(/%[a-zA-Z%]/g,f=>{f!=="%%"&&(m++,f==="%c"&&(c=m))}),o.splice(c,0,u)}t.log=console.debug||console.log||(()=>{});function a(o){try{o?t.storage.setItem("debug",o):t.storage.removeItem("debug")}catch{}}function i(){let o;try{o=t.storage.getItem("debug")}catch{}return!o&&typeof process<"u"&&"env"in process&&(o={}.DEBUG),o}function s(){try{return localStorage}catch{}}e.exports=ole(t);const{formatters:l}=e.exports;l.j=function(o){try{return JSON.stringify(o)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(TL,TL.exports);var yr=TL.exports,wR={exports:{}},nI,F4;function ule(){return F4||(F4=1,nI={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),nI}var aI,B4;function xR(){if(B4)return aI;B4=1;const e=ule(),t={};for(const a of Object.keys(e))t[e[a]]=a;const r={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};aI=r;for(const a of Object.keys(r)){if(!("channels"in r[a]))throw new Error("missing channels property: "+a);if(!("labels"in r[a]))throw new Error("missing channel labels property: "+a);if(r[a].labels.length!==r[a].channels)throw new Error("channel and label counts mismatch: "+a);const{channels:i,labels:s}=r[a];delete r[a].channels,delete r[a].labels,Object.defineProperty(r[a],"channels",{value:i}),Object.defineProperty(r[a],"labels",{value:s})}r.rgb.hsl=function(a){const i=a[0]/255,s=a[1]/255,l=a[2]/255,o=Math.min(i,s,l),u=Math.max(i,s,l),m=u-o;let c,f;u===o?c=0:i===u?c=(s-l)/m:s===u?c=2+(l-i)/m:l===u&&(c=4+(i-s)/m),c=Math.min(c*60,360),c<0&&(c+=360);const p=(o+u)/2;return u===o?f=0:p<=.5?f=m/(u+o):f=m/(2-u-o),[c,f*100,p*100]},r.rgb.hsv=function(a){let i,s,l,o,u;const m=a[0]/255,c=a[1]/255,f=a[2]/255,p=Math.max(m,c,f),h=p-Math.min(m,c,f),d=function(_){return(p-_)/6/h+1/2};return h===0?(o=0,u=0):(u=h/p,i=d(m),s=d(c),l=d(f),m===p?o=l-s:c===p?o=1/3+i-l:f===p&&(o=2/3+s-i),o<0?o+=1:o>1&&(o-=1)),[o*360,u*100,p*100]},r.rgb.hwb=function(a){const i=a[0],s=a[1];let l=a[2];const o=r.rgb.hsl(a)[0],u=1/255*Math.min(i,Math.min(s,l));return l=1-1/255*Math.max(i,Math.max(s,l)),[o,u*100,l*100]},r.rgb.cmyk=function(a){const i=a[0]/255,s=a[1]/255,l=a[2]/255,o=Math.min(1-i,1-s,1-l),u=(1-i-o)/(1-o)||0,m=(1-s-o)/(1-o)||0,c=(1-l-o)/(1-o)||0;return[u*100,m*100,c*100,o*100]};function n(a,i){return(a[0]-i[0])**2+(a[1]-i[1])**2+(a[2]-i[2])**2}return r.rgb.keyword=function(a){const i=t[a];if(i)return i;let s=1/0,l;for(const o of Object.keys(e)){const u=e[o],m=n(a,u);m.04045?((i+.055)/1.055)**2.4:i/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92;const o=i*.4124+s*.3576+l*.1805,u=i*.2126+s*.7152+l*.0722,m=i*.0193+s*.1192+l*.9505;return[o*100,u*100,m*100]},r.rgb.lab=function(a){const i=r.rgb.xyz(a);let s=i[0],l=i[1],o=i[2];s/=95.047,l/=100,o/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const u=116*l-16,m=500*(s-l),c=200*(l-o);return[u,m,c]},r.hsl.rgb=function(a){const i=a[0]/360,s=a[1]/100,l=a[2]/100;let o,u,m;if(s===0)return m=l*255,[m,m,m];l<.5?o=l*(1+s):o=l+s-l*s;const c=2*l-o,f=[0,0,0];for(let p=0;p<3;p++)u=i+1/3*-(p-1),u<0&&u++,u>1&&u--,6*u<1?m=c+(o-c)*6*u:2*u<1?m=o:3*u<2?m=c+(o-c)*(2/3-u)*6:m=c,f[p]=m*255;return f},r.hsl.hsv=function(a){const i=a[0];let s=a[1]/100,l=a[2]/100,o=s;const u=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,o*=u<=1?u:2-u;const m=(l+s)/2,c=l===0?2*o/(u+o):2*s/(l+s);return[i,c*100,m*100]},r.hsv.rgb=function(a){const i=a[0]/60,s=a[1]/100;let l=a[2]/100;const o=Math.floor(i)%6,u=i-Math.floor(i),m=255*l*(1-s),c=255*l*(1-s*u),f=255*l*(1-s*(1-u));switch(l*=255,o){case 0:return[l,f,m];case 1:return[c,l,m];case 2:return[m,l,f];case 3:return[m,c,l];case 4:return[f,m,l];case 5:return[l,m,c]}},r.hsv.hsl=function(a){const i=a[0],s=a[1]/100,l=a[2]/100,o=Math.max(l,.01);let u,m;m=(2-s)*l;const c=(2-s)*o;return u=s*o,u/=c<=1?c:2-c,u=u||0,m/=2,[i,u*100,m*100]},r.hwb.rgb=function(a){const i=a[0]/360;let s=a[1]/100,l=a[2]/100;const o=s+l;let u;o>1&&(s/=o,l/=o);const m=Math.floor(6*i),c=1-l;u=6*i-m,(m&1)!==0&&(u=1-u);const f=s+u*(c-s);let p,h,d;switch(m){default:case 6:case 0:p=c,h=f,d=s;break;case 1:p=f,h=c,d=s;break;case 2:p=s,h=c,d=f;break;case 3:p=s,h=f,d=c;break;case 4:p=f,h=s,d=c;break;case 5:p=c,h=s,d=f;break}return[p*255,h*255,d*255]},r.cmyk.rgb=function(a){const i=a[0]/100,s=a[1]/100,l=a[2]/100,o=a[3]/100,u=1-Math.min(1,i*(1-o)+o),m=1-Math.min(1,s*(1-o)+o),c=1-Math.min(1,l*(1-o)+o);return[u*255,m*255,c*255]},r.xyz.rgb=function(a){const i=a[0]/100,s=a[1]/100,l=a[2]/100;let o,u,m;return o=i*3.2406+s*-1.5372+l*-.4986,u=i*-.9689+s*1.8758+l*.0415,m=i*.0557+s*-.204+l*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,m=m>.0031308?1.055*m**(1/2.4)-.055:m*12.92,o=Math.min(Math.max(0,o),1),u=Math.min(Math.max(0,u),1),m=Math.min(Math.max(0,m),1),[o*255,u*255,m*255]},r.xyz.lab=function(a){let i=a[0],s=a[1],l=a[2];i/=95.047,s/=100,l/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,l=l>.008856?l**(1/3):7.787*l+16/116;const o=116*s-16,u=500*(i-s),m=200*(s-l);return[o,u,m]},r.lab.xyz=function(a){const i=a[0],s=a[1],l=a[2];let o,u,m;u=(i+16)/116,o=s/500+u,m=u-l/200;const c=u**3,f=o**3,p=m**3;return u=c>.008856?c:(u-16/116)/7.787,o=f>.008856?f:(o-16/116)/7.787,m=p>.008856?p:(m-16/116)/7.787,o*=95.047,u*=100,m*=108.883,[o,u,m]},r.lab.lch=function(a){const i=a[0],s=a[1],l=a[2];let o;o=Math.atan2(l,s)*360/2/Math.PI,o<0&&(o+=360);const m=Math.sqrt(s*s+l*l);return[i,m,o]},r.lch.lab=function(a){const i=a[0],s=a[1],o=a[2]/360*2*Math.PI,u=s*Math.cos(o),m=s*Math.sin(o);return[i,u,m]},r.rgb.ansi16=function(a,i=null){const[s,l,o]=a;let u=i===null?r.rgb.hsv(a)[2]:i;if(u=Math.round(u/50),u===0)return 30;let m=30+(Math.round(o/255)<<2|Math.round(l/255)<<1|Math.round(s/255));return u===2&&(m+=60),m},r.hsv.ansi16=function(a){return r.rgb.ansi16(r.hsv.rgb(a),a[2])},r.rgb.ansi256=function(a){const i=a[0],s=a[1],l=a[2];return i===s&&s===l?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(s/255*5)+Math.round(l/255*5)},r.ansi16.rgb=function(a){let i=a%10;if(i===0||i===7)return a>50&&(i+=3.5),i=i/10.5*255,[i,i,i];const s=(~~(a>50)+1)*.5,l=(i&1)*s*255,o=(i>>1&1)*s*255,u=(i>>2&1)*s*255;return[l,o,u]},r.ansi256.rgb=function(a){if(a>=232){const u=(a-232)*10+8;return[u,u,u]}a-=16;let i;const s=Math.floor(a/36)/5*255,l=Math.floor((i=a%36)/6)/5*255,o=i%6/5*255;return[s,l,o]},r.rgb.hex=function(a){const s=(((Math.round(a[0])&255)<<16)+((Math.round(a[1])&255)<<8)+(Math.round(a[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},r.hex.rgb=function(a){const i=a.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!i)return[0,0,0];let s=i[0];i[0].length===3&&(s=s.split("").map(c=>c+c).join(""));const l=parseInt(s,16),o=l>>16&255,u=l>>8&255,m=l&255;return[o,u,m]},r.rgb.hcg=function(a){const i=a[0]/255,s=a[1]/255,l=a[2]/255,o=Math.max(Math.max(i,s),l),u=Math.min(Math.min(i,s),l),m=o-u;let c,f;return m<1?c=u/(1-m):c=0,m<=0?f=0:o===i?f=(s-l)/m%6:o===s?f=2+(l-i)/m:f=4+(i-s)/m,f/=6,f%=1,[f*360,m*100,c*100]},r.hsl.hcg=function(a){const i=a[1]/100,s=a[2]/100,l=s<.5?2*i*s:2*i*(1-s);let o=0;return l<1&&(o=(s-.5*l)/(1-l)),[a[0],l*100,o*100]},r.hsv.hcg=function(a){const i=a[1]/100,s=a[2]/100,l=i*s;let o=0;return l<1&&(o=(s-l)/(1-l)),[a[0],l*100,o*100]},r.hcg.rgb=function(a){const i=a[0]/360,s=a[1]/100,l=a[2]/100;if(s===0)return[l*255,l*255,l*255];const o=[0,0,0],u=i%1*6,m=u%1,c=1-m;let f=0;switch(Math.floor(u)){case 0:o[0]=1,o[1]=m,o[2]=0;break;case 1:o[0]=c,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=m;break;case 3:o[0]=0,o[1]=c,o[2]=1;break;case 4:o[0]=m,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=c}return f=(1-s)*l,[(s*o[0]+f)*255,(s*o[1]+f)*255,(s*o[2]+f)*255]},r.hcg.hsv=function(a){const i=a[1]/100,s=a[2]/100,l=i+s*(1-i);let o=0;return l>0&&(o=i/l),[a[0],o*100,l*100]},r.hcg.hsl=function(a){const i=a[1]/100,l=a[2]/100*(1-i)+.5*i;let o=0;return l>0&&l<.5?o=i/(2*l):l>=.5&&l<1&&(o=i/(2*(1-l))),[a[0],o*100,l*100]},r.hcg.hwb=function(a){const i=a[1]/100,s=a[2]/100,l=i+s*(1-i);return[a[0],(l-i)*100,(1-l)*100]},r.hwb.hcg=function(a){const i=a[1]/100,l=1-a[2]/100,o=l-i;let u=0;return o<1&&(u=(l-o)/(1-o)),[a[0],o*100,u*100]},r.apple.rgb=function(a){return[a[0]/65535*255,a[1]/65535*255,a[2]/65535*255]},r.rgb.apple=function(a){return[a[0]/255*65535,a[1]/255*65535,a[2]/255*65535]},r.gray.rgb=function(a){return[a[0]/100*255,a[0]/100*255,a[0]/100*255]},r.gray.hsl=function(a){return[0,0,a[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(a){return[0,100,a[0]]},r.gray.cmyk=function(a){return[0,0,0,a[0]]},r.gray.lab=function(a){return[a[0],0,0]},r.gray.hex=function(a){const i=Math.round(a[0]/100*255)&255,l=((i<<16)+(i<<8)+i).toString(16).toUpperCase();return"000000".substring(l.length)+l},r.rgb.gray=function(a){return[(a[0]+a[1]+a[2])/3/255*100]},aI}var iI,H4;function mle(){if(H4)return iI;H4=1;const e=xR();function t(){const i={},s=Object.keys(e);for(let l=s.length,o=0;o1&&(o=u),s(o))};return"conversion"in s&&(l.conversion=s.conversion),l}function i(s){const l=function(...o){const u=o[0];if(u==null)return u;u.length>1&&(o=u);const m=s(o);if(typeof m=="object")for(let c=m.length,f=0;f{r[s]={},Object.defineProperty(r[s],"channels",{value:e[s].channels}),Object.defineProperty(r[s],"labels",{value:e[s].labels});const l=t(s);Object.keys(l).forEach(u=>{const m=l[u];r[s][u]=i(m),r[s][u].raw=a(m)})}),lI=r,lI}(function(e){const t=(m,c)=>(...f)=>`\x1B[${m(...f)+c}m`,r=(m,c)=>(...f)=>{const p=m(...f);return`\x1B[${38+c};5;${p}m`},n=(m,c)=>(...f)=>{const p=m(...f);return`\x1B[${38+c};2;${p[0]};${p[1]};${p[2]}m`},a=m=>m,i=(m,c,f)=>[m,c,f],s=(m,c,f)=>{Object.defineProperty(m,c,{get:()=>{const p=f();return Object.defineProperty(m,c,{value:p,enumerable:!0,configurable:!0}),p},enumerable:!0,configurable:!0})};let l;const o=(m,c,f,p)=>{l===void 0&&(l=cle());const h=p?10:0,d={};for(const[_,y]of Object.entries(l)){const g=_==="ansi16"?"ansi":_;_===c?d[g]=m(f,h):typeof y=="object"&&(d[g]=m(y[c],h))}return d};function u(){const m=new Map,c={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};c.color.gray=c.color.blackBright,c.bgColor.bgGray=c.bgColor.bgBlackBright,c.color.grey=c.color.blackBright,c.bgColor.bgGrey=c.bgColor.bgBlackBright;for(const[f,p]of Object.entries(c)){for(const[h,d]of Object.entries(p))c[h]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},p[h]=c[h],m.set(d[0],d[1]);Object.defineProperty(c,f,{value:p,enumerable:!1})}return Object.defineProperty(c,"codes",{value:m,enumerable:!1}),c.color.close="\x1B[39m",c.bgColor.close="\x1B[49m",s(c.color,"ansi",()=>o(t,"ansi16",a,!1)),s(c.color,"ansi256",()=>o(r,"ansi256",a,!1)),s(c.color,"ansi16m",()=>o(n,"rgb",i,!1)),s(c.bgColor,"ansi",()=>o(t,"ansi16",a,!0)),s(c.bgColor,"ansi256",()=>o(r,"ansi256",a,!0)),s(c.bgColor,"ansi16m",()=>o(n,"rgb",i,!0)),c}Object.defineProperty(e,"exports",{enumerable:!0,get:u})})(wR);var fle={stdout:!1,stderr:!1};const ple=(e,t,r)=>{let n=e.indexOf(t);if(n===-1)return e;const a=t.length;let i=0,s="";do s+=e.substr(i,n-i)+t+r,i=n+a,n=e.indexOf(t,i);while(n!==-1);return s+=e.substr(i),s},dle=(e,t,r,n)=>{let a=0,i="";do{const s=e[n-1]==="\r";i+=e.substr(a,(s?n-1:n)-a)+t+(s?`\r -`:` -`)+r,a=n+1,n=e.indexOf(` -`,a)}while(n!==-1);return i+=e.substr(a),i};var hle={stringReplaceAll:ple,stringEncaseCRLFWithFirstIndex:dle},oI,j4;function _le(){if(j4)return oI;j4=1;const e=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,t=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,r=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,n=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,a=new Map([["n",` -`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function i(u){const m=u[0]==="u",c=u[1]==="{";return m&&!c&&u.length===5||u[0]==="x"&&u.length===3?String.fromCharCode(parseInt(u.slice(1),16)):m&&c?String.fromCodePoint(parseInt(u.slice(2,-1),16)):a.get(u)||u}function s(u,m){const c=[],f=m.trim().split(/\s*,\s*/g);let p;for(const h of f){const d=Number(h);if(!Number.isNaN(d))c.push(d);else if(p=h.match(r))c.push(p[2].replace(n,(_,y,g)=>y?i(y):g));else throw new Error(`Invalid Chalk template style argument: ${h} (in style '${u}')`)}return c}function l(u){t.lastIndex=0;const m=[];let c;for(;(c=t.exec(u))!==null;){const f=c[1];if(c[2]){const p=s(f,c[2]);m.push([f].concat(p))}else m.push([f])}return m}function o(u,m){const c={};for(const p of m)for(const h of p.styles)c[h[0]]=p.inverse?null:h.slice(1);let f=u;for(const[p,h]of Object.entries(c))if(!!Array.isArray(h)){if(!(p in f))throw new Error(`Unknown Chalk style: ${p}`);f=h.length>0?f[p](...h):f[p]}return f}return oI=(u,m)=>{const c=[],f=[];let p=[];if(m.replace(e,(h,d,_,y,g,S)=>{if(d)p.push(i(d));else if(y){const v=p.join("");p=[],f.push(c.length===0?v:o(u,c)(v)),c.push({inverse:_,styles:l(y)})}else if(g){if(c.length===0)throw new Error("Found extraneous } in Chalk template literal");f.push(o(u,c)(p.join(""))),p=[],c.pop()}else p.push(S)}),f.push(p.join("")),c.length>0){const h=`Chalk template literal is missing ${c.length} closing bracket${c.length===1?"":"s"} (\`}\`)`;throw new Error(h)}return f.join("")},oI}const Z1=wR.exports,{stdout:AL,stderr:kL}=fle,{stringReplaceAll:gle,stringEncaseCRLFWithFirstIndex:Sle}=hle,{isArray:gS}=Array,VR=["ansi","ansi","ansi256","ansi16m"],Ip=Object.create(null),vle=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=AL?AL.level:0;e.level=t.level===void 0?r:t.level};class yle{constructor(t){return RR(t)}}const RR=e=>{const t={};return vle(t,e),t.template=(...r)=>BR(t.template,...r),Object.setPrototypeOf(t,dy.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=yle,t.template};function dy(e){return RR(e)}for(const[e,t]of Object.entries(Z1))Ip[e]={get(){const r=hy(this,EE(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};Ip.visible={get(){const e=hy(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const FR=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of FR)Ip[e]={get(){const{level:t}=this;return function(...r){const n=EE(Z1.color[VR[t]][e](...r),Z1.color.close,this._styler);return hy(this,n,this._isEmpty)}}};for(const e of FR){const t="bg"+e[0].toUpperCase()+e.slice(1);Ip[t]={get(){const{level:r}=this;return function(...n){const a=EE(Z1.bgColor[VR[r]][e](...n),Z1.bgColor.close,this._styler);return hy(this,a,this._isEmpty)}}}}const Mle=Object.defineProperties(()=>{},{...Ip,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),EE=(e,t,r)=>{let n,a;return r===void 0?(n=e,a=t):(n=r.openAll+e,a=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:a,parent:r}},hy=(e,t,r)=>{const n=(...a)=>gS(a[0])&&gS(a[0].raw)?G4(n,BR(n,...a)):G4(n,a.length===1?""+a[0]:a.join(" "));return Object.setPrototypeOf(n,Mle),n._generator=e,n._styler=t,n._isEmpty=r,n},G4=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(r===void 0)return t;const{openAll:n,closeAll:a}=r;if(t.indexOf("\x1B")!==-1)for(;r!==void 0;)t=gle(t,r.close,r.open),r=r.parent;const i=t.indexOf(` -`);return i!==-1&&(t=Sle(t,a,n,i)),n+t+a};let uI;const BR=(e,...t)=>{const[r]=t;if(!gS(r)||!gS(r.raw))return t.join(" ");const n=t.slice(1),a=[r.raw[0]];for(let i=1;i0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class GR extends kE{constructor(){super(...arguments),this.type=as.CDATA}get nodeType(){return 4}}class Y1 extends kE{constructor(){super(...arguments),this.type=as.Root}get nodeType(){return 9}}class WR extends kE{constructor(t,r,n=[],a=t==="script"?as.Script:t==="style"?as.Style:as.Tag){super(n),this.name=t,this.attribs=r,this.type=a}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var r,n;return{name:t,value:this.attribs[t],namespace:(r=this["x-attribsNamespace"])===null||r===void 0?void 0:r[t],prefix:(n=this["x-attribsPrefix"])===null||n===void 0?void 0:n[t]}})}}function nr(e){return Ile(e)}function gy(e){return e.type===as.CDATA}function K0(e){return e.type===as.Text}function PE(e){return e.type===as.Comment}function Ule(e){return e.type===as.Directive}function Op(e){return e.type===as.Root}function Wn(e){return Object.prototype.hasOwnProperty.call(e,"children")}function vS(e,t=!1){let r;if(K0(e))r=new SS(e.data);else if(PE(e))r=new $R(e.data);else if(nr(e)){const n=t?mI(e.children):[],a=new WR(e.name,{...e.attribs},n);n.forEach(i=>i.parent=a),e.namespace!=null&&(a.namespace=e.namespace),e["x-attribsNamespace"]&&(a["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(a["x-attribsPrefix"]={...e["x-attribsPrefix"]}),r=a}else if(gy(e)){const n=t?mI(e.children):[],a=new GR(n);n.forEach(i=>i.parent=a),r=a}else if(Op(e)){const n=t?mI(e.children):[],a=new Y1(n);n.forEach(i=>i.parent=a),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),r=a}else if(Ule(e)){const n=new jR(e.name,e.data);e["x-name"]!=null&&(n["x-name"]=e["x-name"],n["x-publicId"]=e["x-publicId"],n["x-systemId"]=e["x-systemId"]),r=n}else throw new Error(`Not implemented yet: ${e.type}`);return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function mI(e){const t=e.map(r=>vS(r,!0));for(let r=1;r65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Rle(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Vle.get(e))!==null&&t!==void 0?t:e}var q4;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.To_LOWER_BIT=32]="To_LOWER_BIT"})(q4||(q4={}));var A0;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(A0||(A0={}));function Fle(e,t,r,n){const a=(t&A0.BRANCH_LENGTH)>>7,i=t&A0.JUMP_TABLE;if(a===0)return i!==0&&n===i?r:-1;if(i){const o=n-i;return o<0||o>a?-1:e[r+o]-1}let s=r,l=s+a-1;for(;s<=l;){const o=s+l>>>1,u=e[o];if(un)l=o-1;else return e[o+a]}return-1}const Z4=/["&'<>$\x80-\uFFFF]/g,Ble=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Hle=String.prototype.codePointAt!=null?(e,t)=>e.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function zR(e){let t="",r=0,n;for(;(n=Z4.exec(e))!==null;){const a=n.index,i=e.charCodeAt(a),s=Ble.get(i);s!==void 0?(t+=e.substring(r,a)+s,r=a+1):(t+=`${e.substring(r,a)}&#x${Hle(e,a).toString(16)};`,r=Z4.lastIndex+=Number((i&64512)===55296))}return t+e.substr(r)}function KR(e,t){return function(n){let a,i=0,s="";for(;a=e.exec(n);)i!==a.index&&(s+=n.substring(i,a.index)),s+=t.get(a[0].charCodeAt(0)),i=a.index+1;return s+n.substring(i)}}const $le=KR(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),jle=KR(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),Gle=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),Wle=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),zle=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Kle(e){return e.replace(/"/g,""")}function qle(e,t){var r;if(!e)return;const n=((r=t.encodeEntities)!==null&&r!==void 0?r:t.decodeEntities)===!1?Kle:t.xmlMode||t.encodeEntities!=="utf8"?zR:$le;return Object.keys(e).map(a=>{var i,s;const l=(i=e[a])!==null&&i!==void 0?i:"";return t.xmlMode==="foreign"&&(a=(s=Wle.get(a))!==null&&s!==void 0?s:a),!t.emptyAttrs&&!t.xmlMode&&l===""?a:`${a}="${n(l)}"`}).join(" ")}const Y4=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Sy(e,t={}){const r="length"in e?e:[e];let n="";for(let a=0;a0&&(n+=Sy(e.children,t)),(t.xmlMode||!Y4.has(e.name))&&(n+=``)),n}function Qle(e){return`<${e.data}>`}function eoe(e,t){var r;let n=e.data||"";return((r=t.encodeEntities)!==null&&r!==void 0?r:t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&zle.has(e.parent.name))&&(n=t.xmlMode||t.encodeEntities!=="utf8"?zR(n):jle(n)),n}function toe(e){return``}function roe(e){return``}function qR(e,t){return Sy(e,t)}function soe(e,t){return Wn(e)?e.children.map(r=>qR(r,t)).join(""):""}function t2(e){return Array.isArray(e)?e.map(t2).join(""):nr(e)?e.name==="br"?` -`:t2(e.children):gy(e)?t2(e.children):K0(e)?e.data:""}function Zf(e){return Array.isArray(e)?e.map(Zf).join(""):Wn(e)&&!PE(e)?Zf(e.children):K0(e)?e.data:""}function yS(e){return Array.isArray(e)?e.map(yS).join(""):Wn(e)&&(e.type===as.Tag||gy(e))?yS(e.children):K0(e)?e.data:""}function vy(e){return Wn(e)?e.children:[]}function ZR(e){return e.parent||null}function YR(e){const t=ZR(e);if(t!=null)return vy(t);const r=[e];let{prev:n,next:a}=e;for(;n!=null;)r.unshift(n),{prev:n}=n;for(;a!=null;)r.push(a),{next:a}=a;return r}function noe(e,t){var r;return(r=e.attribs)===null||r===void 0?void 0:r[t]}function aoe(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}function ioe(e){return e.name}function UE(e){let{next:t}=e;for(;t!==null&&!nr(t);)({next:t}=t);return t}function NE(e){let{prev:t}=e;for(;t!==null&&!nr(t);)({prev:t}=t);return t}function fc(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}function loe(e,t){const r=t.prev=e.prev;r&&(r.next=t);const n=t.next=e.next;n&&(n.prev=t);const a=t.parent=e.parent;if(a){const i=a.children;i[i.lastIndexOf(e)]=t,e.parent=null}}function ooe(e,t){if(fc(t),t.next=null,t.parent=e,e.children.push(t)>1){const r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null}function uoe(e,t){fc(t);const{parent:r}=e,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){const a=r.children;a.splice(a.lastIndexOf(n),0,t)}}else r&&r.children.push(t)}function moe(e,t){if(fc(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){const r=e.children[1];r.prev=t,t.next=r}else t.next=null}function coe(e,t){fc(t);const{parent:r}=e;if(r){const n=r.children;n.splice(n.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}function yy(e,t,r=!0,n=1/0){return Array.isArray(t)||(t=[t]),My(e,t,r,n)}function My(e,t,r,n){const a=[];for(const i of t){if(e(i)&&(a.push(i),--n<=0))break;if(r&&Wn(i)&&i.children.length>0){const s=My(e,i.children,r,n);if(a.push(...s),n-=s.length,n<=0)break}}return a}function foe(e,t){return t.find(e)}function wE(e,t,r=!0){let n=null;for(let a=0;a0&&(n=wE(e,i.children,!0));else continue}return n}function XR(e,t){return t.some(r=>nr(r)&&(e(r)||r.children.length>0&&XR(e,r.children)))}function poe(e,t){var r;const n=[],a=t.filter(nr);let i;for(;i=a.shift();){const s=(r=i.children)===null||r===void 0?void 0:r.filter(nr);s&&s.length>0&&a.unshift(...s),e(i)&&n.push(i)}return n}const MS={tag_name(e){return typeof e=="function"?t=>nr(t)&&e(t.name):e==="*"?nr:t=>nr(t)&&t.name===e},tag_type(e){return typeof e=="function"?t=>e(t.type):t=>t.type===e},tag_contains(e){return typeof e=="function"?t=>K0(t)&&e(t.data):t=>K0(t)&&t.data===e}};function JR(e,t){return typeof t=="function"?r=>nr(r)&&t(r.attribs[e]):r=>nr(r)&&r.attribs[e]===t}function doe(e,t){return r=>e(r)||t(r)}function QR(e){const t=Object.keys(e).map(r=>{const n=e[r];return Object.prototype.hasOwnProperty.call(MS,r)?MS[r](n):JR(r,n)});return t.length===0?null:t.reduce(doe)}function hoe(e,t){const r=QR(e);return r?r(t):!0}function _oe(e,t,r,n=1/0){const a=QR(e);return a?yy(a,t,r,n):[]}function goe(e,t,r=!0){return Array.isArray(t)||(t=[t]),wE(JR("id",e),t,r)}function Lp(e,t,r=!0,n=1/0){return yy(MS.tag_name(e),t,r,n)}function Soe(e,t,r=!0,n=1/0){return yy(MS.tag_type(e),t,r,n)}function voe(e){let t=e.length;for(;--t>=0;){const r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0){e.splice(t,1);continue}for(let n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e}var ji;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(ji||(ji={}));function e8(e,t){const r=[],n=[];if(e===t)return 0;let a=Wn(e)?e:e.parent;for(;a;)r.unshift(a),a=a.parent;for(a=Wn(t)?t:t.parent;a;)n.unshift(a),a=a.parent;const i=Math.min(r.length,n.length);let s=0;for(;so.indexOf(m)?l===t?ji.FOLLOWING|ji.CONTAINED_BY:ji.FOLLOWING:l===e?ji.PRECEDING|ji.CONTAINS:ji.PRECEDING}function bp(e){return e=e.filter((t,r,n)=>!n.includes(t,r+1)),e.sort((t,r)=>{const n=e8(t,r);return n&ji.PRECEDING?-1:n&ji.FOLLOWING?1:0}),e}function yoe(e){const t=DS(Loe,e);return t?t.name==="feed"?Moe(t):Doe(t):null}function Moe(e){var t;const r=e.children,n={type:"atom",items:Lp("entry",r).map(s=>{var l;const{children:o}=s,u={media:t8(o)};Wa(u,"id","id",o),Wa(u,"title","title",o);const m=(l=DS("link",o))===null||l===void 0?void 0:l.attribs.href;m&&(u.link=m);const c=D0("summary",o)||D0("content",o);c&&(u.description=c);const f=D0("updated",o);return f&&(u.pubDate=new Date(f)),u})};Wa(n,"id","id",r),Wa(n,"title","title",r);const a=(t=DS("link",r))===null||t===void 0?void 0:t.attribs.href;a&&(n.link=a),Wa(n,"description","subtitle",r);const i=D0("updated",r);return i&&(n.updated=new Date(i)),Wa(n,"author","email",r,!0),n}function Doe(e){var t,r;const n=(r=(t=DS("channel",e.children))===null||t===void 0?void 0:t.children)!==null&&r!==void 0?r:[],a={type:e.name.substr(0,3),id:"",items:Lp("item",e.children).map(s=>{const{children:l}=s,o={media:t8(l)};Wa(o,"id","guid",l),Wa(o,"title","title",l),Wa(o,"link","link",l),Wa(o,"description","description",l);const u=D0("pubDate",l);return u&&(o.pubDate=new Date(u)),o})};Wa(a,"title","title",n),Wa(a,"link","link",n),Wa(a,"description","description",n);const i=D0("lastBuildDate",n);return i&&(a.updated=new Date(i)),Wa(a,"author","managingEditor",n,!0),a}const Ioe=["url","type","lang"],Ooe=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function t8(e){return Lp("media:content",e).map(t=>{const{attribs:r}=t,n={medium:r.medium,isDefault:!!r.isDefault};for(const a of Ioe)r[a]&&(n[a]=r[a]);for(const a of Ooe)r[a]&&(n[a]=parseInt(r[a],10));return r.expression&&(n.expression=r.expression),n})}function DS(e,t){return Lp(e,t,!0,1)[0]}function D0(e,t,r=!1){return Zf(Lp(e,t,r,1)).trim()}function Wa(e,t,r,n,a=!1){const i=D0(r,n,a);i&&(e[t]=i)}function Loe(e){return e==="rss"||e==="feed"||e==="rdf:RDF"}var Dy=Object.freeze({__proto__:null,isTag:nr,isCDATA:gy,isText:K0,isComment:PE,isDocument:Op,hasChildren:Wn,getOuterHTML:qR,getInnerHTML:soe,getText:t2,textContent:Zf,innerText:yS,getChildren:vy,getParent:ZR,getSiblings:YR,getAttributeValue:noe,hasAttrib:aoe,getName:ioe,nextElementSibling:UE,prevElementSibling:NE,removeElement:fc,replaceElement:loe,appendChild:ooe,append:uoe,prependChild:moe,prepend:coe,filter:yy,find:My,findOneChild:foe,findOne:wE,existsOne:XR,findAll:poe,testElement:hoe,getElements:_oe,getElementById:goe,getElementsByTagName:Lp,getElementsByTagType:Soe,removeSubsets:voe,get DocumentPosition(){return ji},compareDocumentPosition:e8,uniqueSort:bp,getFeed:yoe});function r8(e,t,r){return e?e(t??e._root.children,null,void 0,r).toString():""}function boe(e,t){return!t&&typeof e=="object"&&e!=null&&!("length"in e)&&!("type"in e)}function Coe(e,t){const r=boe(e)?(t=e,void 0):e,n={...TE,...this===null||this===void 0?void 0:this._options,...PL(t??{})};return r8(this,r,n)}function Eoe(e){const t={...this._options,xmlMode:!0};return r8(this,e,t)}function X1(e){const t=e||(this?this.root():[]);let r="";for(let n=0;nr.toUpperCase())}function Noe(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()}function tn(e,t){const r=e.length;for(let n=0;nvS(n,!0)):[vS(e,!0)],r=new Y1(t);return t.forEach(n=>{n.parent=r}),t}var c0;(function(e){e[e.LowerA=97]="LowerA",e[e.LowerZ=122]="LowerZ",e[e.UpperA=65]="UpperA",e[e.UpperZ=90]="UpperZ",e[e.Exclamation=33]="Exclamation"})(c0||(c0={}));function NL(e){const t=e.indexOf("<");if(t<0||t>e.length-3)return!1;const r=e.charCodeAt(t+1);return(r>=c0.LowerA&&r<=c0.LowerZ||r>=c0.UpperA&&r<=c0.UpperZ||r===c0.Exclamation)&&e.includes(">",t+2)}const Lf=Object.prototype.hasOwnProperty,J1=/\s+/,fI="data-",J4={null:null,true:!0,false:!1},xE=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,woe=/^{[^]*}$|^\[[^]*]$/;function IS(e,t,r){var n;if(!(!e||!nr(e))){if((n=e.attribs)!==null&&n!==void 0||(e.attribs={}),!t)return e.attribs;if(Lf.call(e.attribs,t))return!r&&xE.test(t)?t:e.attribs[t];if(e.name==="option"&&t==="value")return X1(e.children);if(e.name==="input"&&(e.attribs.type==="radio"||e.attribs.type==="checkbox")&&t==="value")return"on"}}function bf(e,t,r){r===null?n8(e,t):e.attribs[t]=`${r}`}function xoe(e,t){if(typeof e=="object"||t!==void 0){if(typeof t=="function"){if(typeof e!="string")throw new Error("Bad combination of arguments.");return tn(this,(r,n)=>{nr(r)&&bf(r,e,t.call(r,n,r.attribs[e]))})}return tn(this,r=>{!nr(r)||(typeof e=="object"?Object.keys(e).forEach(n=>{const a=e[n];bf(r,n,a)}):bf(r,e,t))})}return arguments.length>1?this:IS(this[0],e,this.options.xmlMode)}function Q4(e,t,r){return t in e?e[t]:!r&&xE.test(t)?IS(e,t,!1)!==void 0:IS(e,t,r)}function pI(e,t,r,n){t in e?e[t]=r:bf(e,t,!n&&xE.test(t)?r?"":null:`${r}`)}function Voe(e,t){var r;if(typeof e=="string"&&t===void 0){const n=this[0];if(!n||!nr(n))return;switch(e){case"style":{const a=this.css(),i=Object.keys(a);return i.forEach((s,l)=>{a[l]=s}),a.length=i.length,a}case"tagName":case"nodeName":return n.name.toUpperCase();case"href":case"src":{const a=(r=n.attribs)===null||r===void 0?void 0:r[e];return typeof URL<"u"&&(e==="href"&&(n.tagName==="a"||n.name==="link")||e==="src"&&(n.tagName==="img"||n.tagName==="iframe"||n.tagName==="audio"||n.tagName==="video"||n.tagName==="source"))&&a!==void 0&&this.options.baseURI?new URL(a,this.options.baseURI).href:a}case"innerText":return yS(n);case"textContent":return Zf(n);case"outerHTML":return this.clone().wrap("").parent().html();case"innerHTML":return this.html();default:return Q4(n,e,this.options.xmlMode)}}if(typeof e=="object"||t!==void 0){if(typeof t=="function"){if(typeof e=="object")throw new Error("Bad combination of arguments.");return tn(this,(n,a)=>{nr(n)&&pI(n,e,t.call(n,a,Q4(n,e,this.options.xmlMode)),this.options.xmlMode)})}return tn(this,n=>{!nr(n)||(typeof e=="object"?Object.keys(e).forEach(a=>{const i=e[a];pI(n,a,i,this.options.xmlMode)}):pI(n,e,t,this.options.xmlMode))})}}function ek(e,t,r){var n;const a=e;(n=a.data)!==null&&n!==void 0||(a.data={}),typeof t=="object"?Object.assign(a.data,t):typeof t=="string"&&r!==void 0&&(a.data[t]=r)}function tk(e,t){let r,n,a;t==null?(r=Object.keys(e.attribs).filter(i=>i.startsWith(fI)),n=r.map(i=>Uoe(i.slice(fI.length)))):(r=[fI+Noe(t)],n=[t]);for(let i=0;i{nr(i)&&(typeof e=="object"?ek(i,e):ek(i,e,t))}),this):Lf.call(a.data,e)?a.data[e]:tk(a,e):tk(a)}function Foe(e){const t=arguments.length===0,r=this[0];if(!r||!nr(r))return t?void 0:this;switch(r.name){case"textarea":return this.text(e);case"select":{const n=this.find("option:selected");if(!t){if(this.attr("multiple")==null&&typeof e=="object")return this;this.find("option").removeAttr("selected");const a=typeof e!="object"?[e]:e;for(let i=0;iX1(a.children)):n.attr("value")}case"input":case"option":return t?this.attr("value"):this.attr("value",e)}}function n8(e,t){!e.attribs||!Lf.call(e.attribs,t)||delete e.attribs[t]}function OS(e){return e?e.trim().split(J1):[]}function Boe(e){const t=OS(e);for(let r=0;r{nr(n)&&n8(n,t[r])});return this}function Hoe(e){return this.toArray().some(t=>{const r=nr(t)&&t.attribs.class;let n=-1;if(r&&e.length)for(;(n=r.indexOf(e,n+1))>-1;){const a=n+e.length;if((n===0||J1.test(r[n-1]))&&(a===r.length||J1.test(r[a])))return!0}return!1})}function a8(e){if(typeof e=="function")return tn(this,(n,a)=>{if(nr(n)){const i=n.attribs.class||"";a8.call([n],e.call(n,a,i))}});if(!e||typeof e!="string")return this;const t=e.split(J1),r=this.length;for(let n=0;n{nr(a)&&i8.call([a],e.call(a,i,a.attribs.class||""))});const t=OS(e),r=t.length,n=arguments.length===0;return tn(this,a=>{if(!!nr(a))if(n)a.attribs.class="";else{const i=OS(a.attribs.class);let s=!1;for(let l=0;l=0&&(i.splice(o,1),s=!0,l--)}s&&(a.attribs.class=i.join(" "))}})}function l8(e,t){if(typeof e=="function")return tn(this,(s,l)=>{nr(s)&&l8.call([s],e.call(s,l,s.attribs.class||"",t),t)});if(!e||typeof e!="string")return this;const r=e.split(J1),n=r.length,a=typeof t=="boolean"?t?1:-1:0,i=this.length;for(let s=0;s=0&&m<0?o.push(r[u]):a<=0&&m>=0&&o.splice(m,1)}l.attribs.class=o.join(" ")}return this}var $oe=Object.freeze({__proto__:null,attr:xoe,prop:Voe,data:Roe,val:Foe,removeAttr:Boe,hasClass:Hoe,addClass:a8,removeClass:i8,toggleClass:l8}),sr;(function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"})(sr||(sr={}));var kn;(function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"})(kn||(kn={}));const rk=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,joe=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,Goe=new Map([[126,kn.Element],[94,kn.Start],[36,kn.End],[42,kn.Any],[33,kn.Not],[124,kn.Hyphen]]),Woe=new Set(["has","not","matches","is","where","host","host-context"]);function Jd(e){switch(e.type){case sr.Adjacent:case sr.Child:case sr.Descendant:case sr.Parent:case sr.Sibling:case sr.ColumnCombinator:return!0;default:return!1}}const zoe=new Set(["contains","icontains"]);function Koe(e,t,r){const n=parseInt(t,16)-65536;return n!==n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320)}function Qp(e){return e.replace(joe,Koe)}function dI(e){return e===39||e===34}function sk(e){return e===32||e===9||e===10||e===12||e===13}function Iy(e){const t=[],r=o8(t,`${e}`,0);if(r0&&r0&&Jd(n[n.length-1]))throw new Error("Did not expect successive traversals.")}function u(f){if(n.length>0&&n[n.length-1].type===sr.Descendant){n[n.length-1].type=f;return}o(),n.push({type:f})}function m(f,p){n.push({type:sr.Attribute,name:f,action:p,value:a(1),namespace:null,ignoreCase:"quirks"})}function c(){if(n.length&&n[n.length-1].type===sr.Descendant&&n.pop(),n.length===0)throw new Error("Empty sub-selector");e.push(n)}if(i(0),t.length===r)return r;e:for(;r=0&&n>=1)):e.type===sr.Pseudo&&(e.data?e.name==="has"||e.name==="contains"?n=0:Array.isArray(e.data)?(n=Math.min(...e.data.map(a=>Math.min(...a.map(m8)))),n<0&&(n=0)):n=2:n=3),n}const Yoe=/[-[\]{}()*+?.,\\^$|#\s]/g;function nk(e){return e.replace(Yoe,"\\$&")}const Xoe=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function qm(e,t){return typeof e.ignoreCase=="boolean"?e.ignoreCase:e.ignoreCase==="quirks"?!!t.quirksMode:!t.xmlMode&&Xoe.has(e.name)}const Joe={equals(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;return qm(t,r)?(i=i.toLowerCase(),s=>{const l=n.getAttributeValue(s,a);return l!=null&&l.length===i.length&&l.toLowerCase()===i&&e(s)}):s=>n.getAttributeValue(s,a)===i&&e(s)},hyphen(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;const s=i.length;return qm(t,r)?(i=i.toLowerCase(),function(o){const u=n.getAttributeValue(o,a);return u!=null&&(u.length===s||u.charAt(s)==="-")&&u.substr(0,s).toLowerCase()===i&&e(o)}):function(o){const u=n.getAttributeValue(o,a);return u!=null&&(u.length===s||u.charAt(s)==="-")&&u.substr(0,s)===i&&e(o)}},element(e,t,r){const{adapter:n}=r,{name:a,value:i}=t;if(/\s/.test(i))return vr.falseFunc;const s=new RegExp(`(?:^|\\s)${nk(i)}(?:$|\\s)`,qm(t,r)?"i":"");return function(o){const u=n.getAttributeValue(o,a);return u!=null&&u.length>=i.length&&s.test(u)&&e(o)}},exists(e,{name:t},{adapter:r}){return n=>r.hasAttrib(n,t)&&e(n)},start(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;const s=i.length;return s===0?vr.falseFunc:qm(t,r)?(i=i.toLowerCase(),l=>{const o=n.getAttributeValue(l,a);return o!=null&&o.length>=s&&o.substr(0,s).toLowerCase()===i&&e(l)}):l=>{var o;return!!(!((o=n.getAttributeValue(l,a))===null||o===void 0)&&o.startsWith(i))&&e(l)}},end(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;const s=-i.length;return s===0?vr.falseFunc:qm(t,r)?(i=i.toLowerCase(),l=>{var o;return((o=n.getAttributeValue(l,a))===null||o===void 0?void 0:o.substr(s).toLowerCase())===i&&e(l)}):l=>{var o;return!!(!((o=n.getAttributeValue(l,a))===null||o===void 0)&&o.endsWith(i))&&e(l)}},any(e,t,r){const{adapter:n}=r,{name:a,value:i}=t;if(i==="")return vr.falseFunc;if(qm(t,r)){const s=new RegExp(nk(i),"i");return function(o){const u=n.getAttributeValue(o,a);return u!=null&&u.length>=i.length&&s.test(u)&&e(o)}}return s=>{var l;return!!(!((l=n.getAttributeValue(s,a))===null||l===void 0)&&l.includes(i))&&e(s)}},not(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;return i===""?s=>!!n.getAttributeValue(s,a)&&e(s):qm(t,r)?(i=i.toLowerCase(),s=>{const l=n.getAttributeValue(s,a);return(l==null||l.length!==i.length||l.toLowerCase()!==i)&&e(s)}):s=>n.getAttributeValue(s,a)!==i&&e(s)}},Qoe=new Set([9,10,12,13,32]),ak="0".charCodeAt(0),eue="9".charCodeAt(0);function tue(e){if(e=e.trim().toLowerCase(),e==="even")return[2,0];if(e==="odd")return[2,1];let t=0,r=0,n=i(),a=s();if(t=ak&&e.charCodeAt(t)<=eue;)u=u*10+(e.charCodeAt(t)-ak),t++;return t===o?null:u}function l(){for(;ti<=r;if(t===0)return i=>i===r;if(t===1)return r<0?vr.trueFunc:i=>i>=r;const n=Math.abs(t),a=(r%n+n)%n;return t>1?i=>i>=r&&i%n===a:i=>i<=r&&i%n===a}function Q_(e){return rue(tue(e))}function eg(e,t){return r=>{const n=t.getParent(r);return n!=null&&t.isTag(n)&&e(r)}}const wL={contains(e,t,{adapter:r}){return function(a){return e(a)&&r.getText(a).includes(t)}},icontains(e,t,{adapter:r}){const n=t.toLowerCase();return function(i){return e(i)&&r.getText(i).toLowerCase().includes(n)}},"nth-child"(e,t,{adapter:r,equals:n}){const a=Q_(t);return a===vr.falseFunc?vr.falseFunc:a===vr.trueFunc?eg(e,r):function(s){const l=r.getSiblings(s);let o=0;for(let u=0;u=0&&!n(s,l[u]);u--)r.isTag(l[u])&&o++;return a(o)&&e(s)}},"nth-of-type"(e,t,{adapter:r,equals:n}){const a=Q_(t);return a===vr.falseFunc?vr.falseFunc:a===vr.trueFunc?eg(e,r):function(s){const l=r.getSiblings(s);let o=0;for(let u=0;u=0;u--){const m=l[u];if(n(s,m))break;r.isTag(m)&&r.getName(m)===r.getName(s)&&o++}return a(o)&&e(s)}},root(e,t,{adapter:r}){return n=>{const a=r.getParent(n);return(a==null||!r.isTag(a))&&e(n)}},scope(e,t,r,n){const{equals:a}=r;return!n||n.length===0?wL.root(e,t,r):n.length===1?i=>a(n[0],i)&&e(i):i=>n.includes(i)&&e(i)},hover:hI("isHovered"),visited:hI("isVisited"),active:hI("isActive")};function hI(e){return function(r,n,{adapter:a}){const i=a[e];return typeof i!="function"?vr.falseFunc:function(l){return i(l)&&r(l)}}}const ik={empty(e,{adapter:t}){return!t.getChildren(e).some(r=>t.isTag(r)||t.getText(r)!=="")},"first-child"(e,{adapter:t,equals:r}){if(t.prevElementSibling)return t.prevElementSibling(e)==null;const n=t.getSiblings(e).find(a=>t.isTag(a));return n!=null&&r(e,n)},"last-child"(e,{adapter:t,equals:r}){const n=t.getSiblings(e);for(let a=n.length-1;a>=0;a--){if(r(e,n[a]))return!0;if(t.isTag(n[a]))break}return!1},"first-of-type"(e,{adapter:t,equals:r}){const n=t.getSiblings(e),a=t.getName(e);for(let i=0;i=0;i--){const s=n[i];if(r(e,s))return!0;if(t.isTag(s)&&t.getName(s)===a)break}return!1},"only-of-type"(e,{adapter:t,equals:r}){const n=t.getName(e);return t.getSiblings(e).every(a=>r(e,a)||!t.isTag(a)||t.getName(a)!==n)},"only-child"(e,{adapter:t,equals:r}){return t.getSiblings(e).every(n=>r(e,n)||!t.isTag(n))}};function lk(e,t,r,n){if(r===null){if(e.length>n)throw new Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===n)throw new Error(`Pseudo-class :${t} doesn't have any arguments`)}const sue={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is( - :is(button, input, select, textarea, optgroup, option)[disabled], - optgroup[disabled] > option, - fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) - )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},c8={};function nue(e,t){return e===vr.falseFunc?vr.falseFunc:r=>t.isTag(r)&&e(r)}function f8(e,t){const r=t.getSiblings(e);if(r.length<=1)return[];const n=r.indexOf(e);return n<0||n===r.length-1?[]:r.slice(n+1).filter(t.isTag)}function xL(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}const _I=(e,t,r,n,a)=>{const i=a(t,xL(r),n);return i===vr.trueFunc?e:i===vr.falseFunc?vr.falseFunc:s=>i(s)&&e(s)},gI={is:_I,matches:_I,where:_I,not(e,t,r,n,a){const i=a(t,xL(r),n);return i===vr.falseFunc?e:i===vr.trueFunc?vr.falseFunc:s=>!i(s)&&e(s)},has(e,t,r,n,a){const{adapter:i}=r,s=xL(r);s.relativeSelector=!0;const l=t.some(m=>m.some(VE))?[c8]:void 0,o=a(t,s,l);if(o===vr.falseFunc)return vr.falseFunc;const u=nue(o,i);if(l&&o!==vr.trueFunc){const{shouldTestNextSiblings:m=!1}=o;return c=>{if(!e(c))return!1;l[0]=c;const f=i.getChildren(c),p=m?[...f,...f8(c,i)]:f;return i.existsOne(u,p)}}return m=>e(m)&&i.existsOne(u,i.getChildren(m))}};function aue(e,t,r,n,a){var i;const{name:s,data:l}=t;if(Array.isArray(l)){if(!(s in gI))throw new Error(`Unknown pseudo-class :${s}(${l})`);return gI[s](e,l,r,n,a)}const o=(i=r.pseudos)===null||i===void 0?void 0:i[s],u=typeof o=="string"?o:sue[s];if(typeof u=="string"){if(l!=null)throw new Error(`Pseudo ${s} doesn't have any arguments`);const m=Iy(u);return gI.is(e,m,r,n,a)}if(typeof o=="function")return lk(o,s,l,1),m=>o(m,l)&&e(m);if(s in wL)return wL[s](e,l,r,n);if(s in ik){const m=ik[s];return lk(m,s,l,2),c=>m(c,r,l)&&e(c)}throw new Error(`Unknown pseudo-class :${s}`)}function SI(e,t){const r=t.getParent(e);return r&&t.isTag(r)?r:null}function iue(e,t,r,n,a){const{adapter:i,equals:s}=r;switch(t.type){case sr.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case sr.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case sr.Attribute:{if(t.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!r.xmlMode||r.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),Joe[t.action](e,t,r)}case sr.Pseudo:return aue(e,t,r,n,a);case sr.Tag:{if(t.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:l}=t;return(!r.xmlMode||r.lowerCaseTags)&&(l=l.toLowerCase()),function(u){return i.getName(u)===l&&e(u)}}case sr.Descendant:{if(r.cacheResults===!1||typeof WeakSet>"u")return function(u){let m=u;for(;m=SI(m,i);)if(e(m))return!0;return!1};const l=new WeakSet;return function(u){let m=u;for(;m=SI(m,i);)if(!l.has(m)){if(i.isTag(m)&&e(m))return!0;l.add(m)}return!1}}case"_flexibleDescendant":return function(o){let u=o;do if(e(u))return!0;while(u=SI(u,i));return!1};case sr.Parent:return function(o){return i.getChildren(o).some(u=>i.isTag(u)&&e(u))};case sr.Child:return function(o){const u=i.getParent(o);return u!=null&&i.isTag(u)&&e(u)};case sr.Sibling:return function(o){const u=i.getSiblings(o);for(let m=0;mt.some(p8)))}const lue={type:sr.Descendant},oue={type:"_flexibleDescendant"},uue={type:sr.Pseudo,name:"scope",data:null};function mue(e,{adapter:t},r){const n=!!r?.every(a=>{const i=t.isTag(a)&&t.getParent(a);return a===c8||i&&t.isTag(i)});for(const a of e){if(!(a.length>0&&VE(a[0])&&a[0].type!==sr.Descendant))if(n&&!a.some(p8))a.unshift(lue);else continue;a.unshift(uue)}}function d8(e,t,r){var n;e.forEach(Zoe),r=(n=t.context)!==null&&n!==void 0?n:r;const a=Array.isArray(r),i=r&&(Array.isArray(r)?r:[r]);if(t.relativeSelector!==!1)mue(e,t,i);else if(e.some(o=>o.length>0&&VE(o[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let s=!1;const l=e.map(o=>{if(o.length>=2){const[u,m]=o;u.type!==sr.Pseudo||u.name!=="scope"||(a&&m.type===sr.Descendant?o[1]=oue:(m.type===sr.Adjacent||m.type===sr.Sibling)&&(s=!0))}return cue(o,t,i)}).reduce(fue,vr.falseFunc);return l.shouldTestNextSiblings=s,l}function cue(e,t,r){var n;return e.reduce((a,i)=>a===vr.falseFunc?vr.falseFunc:iue(a,i,t,r,d8),(n=t.rootFunc)!==null&&n!==void 0?n:vr.trueFunc)}function fue(e,t){return t===vr.falseFunc||e===vr.trueFunc?e:e===vr.falseFunc||t===vr.trueFunc?t:function(n){return e(n)||t(n)}}const h8=(e,t)=>e===t,pue={adapter:Dy,equals:h8};function due(e){var t,r,n,a;const i=e??pue;return(t=i.adapter)!==null&&t!==void 0||(i.adapter=Dy),(r=i.equals)!==null&&r!==void 0||(i.equals=(a=(n=i.adapter)===null||n===void 0?void 0:n.equals)!==null&&a!==void 0?a:h8),i}function hue(e){return function(r,n,a){const i=due(n);return e(r,i,a)}}const RE=hue(d8);function _8(e,t,r=!1){return r&&(e=_ue(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}function _ue(e,t){const r=Array.isArray(e)?e.slice(0):[e],n=r.length;for(let a=0;at.some(LS)):!1}function Sue(e,t,r){const n=t!=null?parseInt(t,10):NaN;switch(e){case"first":return 1;case"nth":case"eq":return isFinite(n)?n>=0?n+1:1/0:0;case"lt":return isFinite(n)?n>=0?Math.min(n,r):1/0:0;case"gt":return isFinite(n)?1/0:0;case"odd":return 2*r;case"even":return 2*r-1;case"last":case"not":return 1/0}}function vue(e){for(;e.parent;)e=e.parent;return e}function FE(e){const t=[],r=[];for(const n of e)n.some(LS)?t.push(n):r.push(n);return[r,t]}const yue={type:sr.Universal,namespace:null},Mue={type:sr.Pseudo,name:"scope",data:null};function g8(e,t,r={}){return S8([e],t,r)}function S8(e,t,r={}){if(typeof t=="function")return e.some(t);const[n,a]=FE(Iy(t));return n.length>0&&e.some(RE(n,r))||a.some(i=>M8(i,e,r).length>0)}function Due(e,t,r,n){const a=typeof r=="string"?parseInt(r,10):NaN;switch(e){case"first":case"lt":return t;case"last":return t.length>0?[t[t.length-1]]:t;case"nth":case"eq":return isFinite(a)&&Math.abs(a)s%2===0);case"odd":return t.filter((i,s)=>s%2===1);case"not":{const i=new Set(y8(r,t,n));return t.filter(s=>!i.has(s))}}}function v8(e,t,r={}){return y8(Iy(e),t,r)}function y8(e,t,r){if(t.length===0)return[];const[n,a]=FE(e);let i;if(n.length){const s=RL(t,n,r);if(a.length===0)return s;s.length&&(i=new Set(s))}for(let s=0;snr(m)&&!i.has(m)):t).length===0)break;const u=M8(l,t,r);if(u.length)if(i)u.forEach(m=>i.add(m));else{if(s===a.length-1)return u;i=new Set(u)}}return typeof i<"u"?i.size===t.length?t:t.filter(s=>i.has(s)):[]}function M8(e,t,r){var n;if(e.some(Jd)){const a=(n=r.root)!==null&&n!==void 0?n:vue(t[0]),i={...r,context:t,relativeSelector:!1};return e.push(Mue),bS(a,e,i,!0,t.length)}return bS(t,e,r,!1,t.length)}function Iue(e,t,r={},n=1/0){if(typeof e=="function")return D8(t,e);const[a,i]=FE(Iy(e)),s=i.map(l=>bS(t,l,r,!0,n));return a.length&&s.push(VL(t,a,r,n)),s.length===0?[]:s.length===1?s[0]:bp(s.reduce((l,o)=>[...l,...o]))}function bS(e,t,r,n,a){const i=t.findIndex(LS),s=t.slice(0,i),l=t[i],o=t.length-1===i?a:1/0,u=Sue(l.name,l.data,o);if(u===0)return[];const c=(s.length===0&&!Array.isArray(e)?vy(e).filter(nr):s.length===0?(Array.isArray(e)?e:[e]).filter(nr):n||s.some(Jd)?VL(e,[s],r,u):RL(e,[s],r)).slice(0,u);let f=Due(l.name,c,l.data,r);if(f.length===0||t.length===i+1)return f;const p=t.slice(i+1),h=p.some(Jd);if(h){if(Jd(p[0])){const{type:d}=p[0];(d===sr.Sibling||d===sr.Adjacent)&&(f=_8(f,Dy,!0)),p.unshift(yue)}r={...r,relativeSelector:!1,rootFunc:d=>f.includes(d)}}else r.rootFunc&&r.rootFunc!==vr.trueFunc&&(r={...r,rootFunc:vr.trueFunc});return p.some(LS)?bS(f,p,r,!1,a):h?VL(f,[p],r,a):RL(f,[p],r)}function VL(e,t,r,n){const a=RE(t,r,e);return D8(e,a,n)}function D8(e,t,r=1/0){const n=_8(e,Dy,t.shouldTestNextSiblings);return My(a=>nr(a)&&t(a),n,!0,r)}function RL(e,t,r){const n=(Array.isArray(e)?e:[e]).filter(nr);if(n.length===0)return n;const a=RE(t,r);return a===vr.trueFunc?n:n.filter(a)}const Oue=/^\s*[~+]/;function Lue(e){var t;if(!e)return this._make([]);const r=this.toArray();if(typeof e!="string"){const i=po(e)?e.toArray():[e];return this._make(i.filter(s=>r.some(l=>s8(l,s))))}const n=Oue.test(e)?r:this.children().toArray(),a={context:r,root:(t=this._root)===null||t===void 0?void 0:t[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(Iue(e,n,a))}function BE(e){return function(t,...r){return function(n){var a;let i=e(t,this);return n&&(i=jE(i,n,this.options.xmlMode,(a=this._root)===null||a===void 0?void 0:a[0])),this._make(this.length>1&&i.length>1?r.reduce((s,l)=>l(s),i):i)}}}const zh=BE((e,t)=>{const r=[];for(let n=0;n{const r=[];for(let n=0;n{const s=[];return tn(i,l=>{for(let o;(o=a(l))&&!r?.(o,s.length);l=o)s.push(o)}),s})(e,...t);return function(a,i){r=typeof a=="string"?l=>g8(l,a,this.options):a?Kh(a):null;const s=n.call(this,i);return r=null,s}}function Cp(e){return Array.from(new Set(e))}const bue=HE(({parent:e})=>e&&!Op(e)?e:null,Cp),Cue=zh(e=>{const t=[];for(;e.parent&&!Op(e.parent);)t.push(e.parent),e=e.parent;return t},bp,e=>e.reverse()),Eue=$E(({parent:e})=>e&&!Op(e)?e:null,bp,e=>e.reverse());function Tue(e){var t;const r=[];if(!e)return this._make(r);const n={xmlMode:this.options.xmlMode,root:(t=this._root)===null||t===void 0?void 0:t[0]},a=typeof e=="string"?i=>g8(i,e,n):Kh(e);return tn(this,i=>{for(;i&&nr(i);){if(a(i,0)){r.includes(i)||r.push(i);break}i=i.parent}}),this._make(r)}const Aue=HE(e=>UE(e)),kue=zh(e=>{const t=[];for(;e.next;)e=e.next,nr(e)&&t.push(e);return t},Cp),Pue=$E(e=>UE(e),Cp),Uue=HE(e=>NE(e)),Nue=zh(e=>{const t=[];for(;e.prev;)e=e.prev,nr(e)&&t.push(e);return t},Cp),wue=$E(e=>NE(e),Cp),xue=zh(e=>YR(e).filter(t=>nr(t)&&t!==e),bp),Vue=zh(e=>vy(e).filter(nr),Cp);function Rue(){const e=this.toArray().reduce((t,r)=>Wn(r)?t.concat(r.children):t,[]);return this._make(e)}function Fue(e){let t=0;const r=this.length;for(;te.call(t,r,t):po(e)?t=>Array.prototype.includes.call(e,t):function(t){return e===t}}function Hue(e){var t;return this._make(jE(this.toArray(),e,this.options.xmlMode,(t=this._root)===null||t===void 0?void 0:t[0]))}function jE(e,t,r,n){return typeof t=="string"?v8(t,e,{xmlMode:r,root:n}):e.filter(Kh(t))}function $ue(e){const t=this.toArray();return typeof e=="string"?S8(t.filter(nr),e,this.options):e?t.some(Kh(e)):!1}function jue(e){let t=this.toArray();if(typeof e=="string"){const r=new Set(v8(e,t,this.options));t=t.filter(n=>!r.has(n))}else{const r=Kh(e);t=t.filter((n,a)=>!r(n,a))}return this._make(t)}function Gue(e){return this.filter(typeof e=="string"?`:has(${e})`:(t,r)=>this._make(r).find(e).length>0)}function Wue(){return this.length>1?this._make(this[0]):this}function zue(){return this.length>0?this._make(this[this.length-1]):this}function Kue(e){var t;return e=+e,e===0&&this.length<=1?this:(e<0&&(e=this.length+e),this._make((t=this[e])!==null&&t!==void 0?t:[]))}function que(e){return e==null?this.toArray():this[e<0?this.length+e:e]}function Zue(){return Array.prototype.slice.call(this)}function Yue(e){let t,r;return e==null?(t=this.parent().children(),r=this[0]):typeof e=="string"?(t=this._make(e),r=this[0]):(t=this,r=po(e)?e[0]:e),Array.prototype.indexOf.call(t,r)}function Xue(e,t){return this._make(Array.prototype.slice.call(this,e,t))}function Jue(){var e;return(e=this.prevObject)!==null&&e!==void 0?e:this._make([])}function Que(e,t){const r=this._make(e,t),n=bp([...this.get(),...r.get()]);return this._make(n)}function eme(e){return this.prevObject?this.add(e?this.prevObject.filter(e):this.prevObject):this}var tme=Object.freeze({__proto__:null,find:Lue,parent:bue,parents:Cue,parentsUntil:Eue,closest:Tue,next:Aue,nextAll:kue,nextUntil:Pue,prev:Uue,prevAll:Nue,prevUntil:wue,siblings:xue,children:Vue,contents:Rue,each:Fue,map:Bue,filter:Hue,filterArray:jE,is:$ue,not:jue,has:Gue,first:Wue,last:zue,eq:Kue,get:que,toArray:Zue,index:Yue,slice:Xue,end:Jue,add:Que,addBack:eme});function rme(e){return function(r,n,a,i){if(typeof Buffer<"u"&&Buffer.isBuffer(r)&&(r=r.toString()),typeof r=="string")return e(r,n,a,i);const s=r;if(!Array.isArray(s)&&Op(s))return s;const l=new Y1([]);return q0(s,l),l}}function q0(e,t){const r=Array.isArray(e)?e:[e];t?t.children=r:t=null;for(let n=0;nr.concat(this._makeDomArray(n,t)),[]):typeof e=="string"?this._parse(e,this.options,!1,null).children:t?UL([e]):[e]}function I8(e){return function(...t){const r=this.length-1;return tn(this,(n,a)=>{if(!Wn(n))return;const i=typeof t[0]=="function"?t[0].call(n,a,this._render(n.children)):t,s=this._makeDomArray(i,a=e.length?null:e[t+r];for(let m=0;m-1&&(f.children.splice(h,1),a===f&&t>h&&l[0]--)}c.parent=a,c.prev&&(c.prev.next=(i=c.next)!==null&&i!==void 0?i:null),c.next&&(c.next.prev=(s=c.prev)!==null&&s!==void 0?s:null),c.prev=m===0?o:n[m-1],c.next=m===n.length-1?u:n[m+1]}return o&&(o.next=n[0]),u&&(u.prev=n[n.length-1]),e.splice(...l)}function nme(e){return(po(e)?e:this._make(e)).append(this),this}function ame(e){return(po(e)?e:this._make(e)).prepend(this),this}const ime=I8((e,t,r)=>{Nm(t,t.length,0,e,r)}),lme=I8((e,t,r)=>{Nm(t,0,0,e,r)});function O8(e){return function(t){const r=this.length-1,n=this.parents().last();for(let a=0;a{const{parent:n}=e;if(!n)return;const a=n.children,i=a.indexOf(e);q0([e],t),Nm(a,i,0,r,n)}),ume=O8((e,t,r)=>{!Wn(e)||(q0(e.children,t),q0(r,e))});function mme(e){return this.parent(e).not("body").each((t,r)=>{this._make(r).replaceWith(r.children)}),this}function cme(e){const t=this[0];if(t){const r=this._make(typeof e=="function"?e.call(t,0,t):e).insertBefore(t);let n;for(let i=0;i{const{parent:a}=r;if(!Wn(r)||!a)return;const i=a.children,s=i.indexOf(r);if(s<0)return;const l=typeof e[0]=="function"?e[0].call(r,n,this._render(r.children)):e,o=this._makeDomArray(l,n{const n=this.clone().toArray(),{parent:a}=r;if(!a)return;const i=a.children,s=i.indexOf(r);s<0||(Nm(i,s+1,0,n,a),t.push(...n))}),this._make(t)}function dme(...e){const t=this.length-1;return tn(this,(r,n)=>{const{parent:a}=r;if(!Wn(r)||!a)return;const i=a.children,s=i.indexOf(r);if(s<0)return;const l=typeof e[0]=="function"?e[0].call(r,n,this._render(r.children)):e,o=this._makeDomArray(l,n{const a=this.clone().toArray(),{parent:i}=n;if(!i)return;const s=i.children,l=s.indexOf(n);l<0||(Nm(s,l,0,a,i),r.push(...a))}),this._make(r)}function _me(e){const t=e?this.filter(e):this;return tn(t,r=>{fc(r),r.prev=r.next=r.parent=null}),this}function gme(e){return tn(this,(t,r)=>{const{parent:n}=t;if(!n)return;const a=n.children,i=typeof e=="function"?e.call(t,r,t):e,s=this._makeDomArray(i);q0(s,null);const l=a.indexOf(t);Nm(a,l,1,s,n),s.includes(t)||(t.parent=t.prev=t.next=null)})}function Sme(){return tn(this,e=>{!Wn(e)||(e.children.forEach(t=>{t.next=t.prev=t.parent=null}),e.children.length=0)})}function vme(e){if(e===void 0){const t=this[0];return!t||!Wn(t)?null:this._render(t.children)}return tn(this,t=>{if(!Wn(t))return;t.children.forEach(n=>{n.next=n.prev=n.parent=null});const r=po(e)?e.toArray():this._parse(`${e}`,this.options,!1,t).children;q0(r,t)})}function yme(){return this._render(this)}function Mme(e){return e===void 0?X1(this):typeof e=="function"?tn(this,(t,r)=>this._make(t).text(e.call(t,r,X1([t])))):tn(this,t=>{if(!Wn(t))return;t.children.forEach(n=>{n.next=n.prev=n.parent=null});const r=new SS(`${e}`);q0(r,t)})}function Dme(){return this._make(UL(this.get()))}var Ime=Object.freeze({__proto__:null,_makeDomArray:sme,appendTo:nme,prependTo:ame,append:ime,prepend:lme,wrap:ome,wrapInner:ume,unwrap:mme,wrapAll:cme,after:fme,insertAfter:pme,before:dme,insertBefore:hme,remove:_me,replaceWith:gme,empty:Sme,html:vme,toString:yme,text:Mme,clone:Dme});function Ome(e,t){if(e!=null&&t!=null||typeof e=="object"&&!Array.isArray(e))return tn(this,(r,n)=>{nr(r)&&L8(r,e,t,n)});if(this.length!==0)return b8(this[0],e)}function L8(e,t,r,n){if(typeof t=="string"){const a=b8(e),i=typeof r=="function"?r.call(e,n,a[t]):r;i===""?delete a[t]:i!=null&&(a[t]=i),e.attribs.style=Lme(a)}else typeof t=="object"&&Object.keys(t).forEach((a,i)=>{L8(e,a,t[a],i)})}function b8(e,t){if(!e||!nr(e))return;const r=bme(e.attribs.style);if(typeof t=="string")return r[t];if(Array.isArray(t)){const n={};return t.forEach(a=>{r[a]!=null&&(n[a]=r[a])}),n}return r}function Lme(e){return Object.keys(e).reduce((t,r)=>`${t}${t?" ":""}${r}: ${e[r]};`,"")}function bme(e){if(e=(e||"").trim(),!e)return{};const t={};let r;for(const n of e.split(";")){const a=n.indexOf(":");if(a<1||a===n.length-1){const i=n.trimEnd();i.length>0&&r!==void 0&&(t[r]+=`;${i}`)}else r=n.slice(0,a).trim(),t[r]=n.slice(a+1).trim()}return t}var Cme=Object.freeze({__proto__:null,css:Ome});const ok="input,select,textarea,keygen",Eme=/%20/g,uk=/\r?\n/g;function Tme(){return this.serializeArray().map(r=>`${encodeURIComponent(r.name)}=${encodeURIComponent(r.value)}`).join("&").replace(Eme,"+")}function Ame(){return this.map((e,t)=>{const r=this._make(t);return nr(t)&&t.name==="form"?r.find(ok).toArray():r.filter(ok).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((e,t)=>{var r;const n=this._make(t),a=n.attr("name"),i=(r=n.val())!==null&&r!==void 0?r:"";return Array.isArray(i)?i.map(s=>({name:a,value:s.replace(uk,`\r -`)})):{name:a,value:i.replace(uk,`\r -`)}}).toArray()}var kme=Object.freeze({__proto__:null,serialize:Tme,serializeArray:Ame});class qh{constructor(t,r,n){if(this.length=0,this.options=n,this._root=r,t){for(let a=0;a=Gt.Zero&&e<=Gt.Nine}function Nme(e){return e>=Gt.LowerA&&e<=Gt.LowerZ||e>=Gt.UpperA&&e<=Gt.UpperZ}function wme(e){return e>=Gt.UpperA&&e<=Gt.UpperF||e>=Gt.LowerA&&e<=Gt.LowerF}var ro;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(ro||(ro={}));const Ra={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};class xme{constructor({xmlMode:t=!1,decodeEntities:r=!0},n){this.cbs=n,this.state=bt.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=bt.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=t,this.decodeEntities=r,this.entityTrie=t?xle:wle}reset(){this.state=bt.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=bt.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=bt.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===Gt.Amp&&(this.state=bt.BeforeEntity)}stateSpecialStartSequence(t){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?tg(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=bt.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===Gt.Gt||Vo(t)){const r=this.index-this.currentSequence.length;if(this.sectionStart>14)-1;if(!this.allowLegacyEntity()&&t!==Gt.Semi)this.trieIndex+=n;else{const a=this.index-this.entityExcess+1;a>this.sectionStart&&this.emitPartial(this.sectionStart,a),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,n===0&&this.emitNamedEntity()}}}emitNamedEntity(){if(this.state=this.baseState,this.entityResult===0)return;switch((this.entityTrie[this.entityResult]&A0.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~A0.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}stateBeforeNumericEntity(t){(t|32)===Gt.LowerX?(this.entityExcess++,this.state=bt.InHexEntity):(this.state=bt.InNumericEntity,this.stateInNumericEntity(t))}emitNumericEntity(t){const r=this.index-this.entityExcess-1;r+2+Number(this.state===bt.InHexEntity)!==this.index&&(r>this.sectionStart&&this.emitPartial(this.sectionStart,r),this.sectionStart=this.index+Number(t),this.emitCodePoint(Rle(this.entityResult))),this.state=this.baseState}stateInNumericEntity(t){t===Gt.Semi?this.emitNumericEntity(!0):mk(t)?(this.entityResult=this.entityResult*10+(t-Gt.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}stateInHexEntity(t){t===Gt.Semi?this.emitNumericEntity(!0):mk(t)?(this.entityResult=this.entityResult*16+(t-Gt.Zero),this.entityExcess++):wme(t)?(this.entityResult=this.entityResult*16+((t|32)-Gt.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===bt.Text||this.baseState===bt.InSpecialTag)}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===bt.Text||this.state===bt.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===bt.InAttributeValueDq||this.state===bt.InAttributeValueSq||this.state===bt.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index0&&s.has(this.stack[this.stack.length-1]);){const l=this.stack.pop();(n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,l,!0)}this.isVoidElement(t)||(this.stack.push(t),dk.has(t)?this.foreignContext.push(!0):hk.has(t)&&this.foreignContext.push(!1)),(i=(a=this.cbs).onopentagname)===null||i===void 0||i.call(a,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var r,n;this.startIndex=this.openTagStart,this.attribs&&((n=(r=this.cbs).onopentag)===null||n===void 0||n.call(r,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,r){var n,a,i,s,l,o;this.endIndex=r;let u=this.getSlice(t,r);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),(dk.has(u)||hk.has(u))&&this.foreignContext.pop(),this.isVoidElement(u))!this.options.xmlMode&&u==="br"&&((a=(n=this.cbs).onopentagname)===null||a===void 0||a.call(n,"br"),(s=(i=this.cbs).onopentag)===null||s===void 0||s.call(i,"br",{},!0),(o=(l=this.cbs).onclosetag)===null||o===void 0||o.call(l,"br",!1));else{const m=this.stack.lastIndexOf(u);if(m!==-1)if(this.cbs.onclosetag){let c=this.stack.length-m;for(;c--;)this.cbs.onclosetag(this.stack.pop(),c!==0)}else this.stack.length=m;else!this.options.xmlMode&&u==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=r+1}onselfclosingtag(t){this.endIndex=t,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var r,n;const a=this.tagname;this.endOpenTag(t),this.stack[this.stack.length-1]===a&&((n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,a,!t),this.stack.pop())}onattribname(t,r){this.startIndex=t;const n=this.getSlice(t,r);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(t,r){this.attribvalue+=this.getSlice(t,r)}onattribentity(t){this.attribvalue+=K4(t)}onattribend(t,r){var n,a;this.endIndex=r,(a=(n=this.cbs).onattribute)===null||a===void 0||a.call(n,this.attribname,this.attribvalue,t===ro.Double?'"':t===ro.Single?"'":t===ro.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const r=t.search(Fme);let n=r<0?t:t.substr(0,r);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(t,r){this.endIndex=r;const n=this.getSlice(t,r);if(this.cbs.onprocessinginstruction){const a=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${a}`,`!${n}`)}this.startIndex=r+1}onprocessinginstruction(t,r){this.endIndex=r;const n=this.getSlice(t,r);if(this.cbs.onprocessinginstruction){const a=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${a}`,`?${n}`)}this.startIndex=r+1}oncomment(t,r,n){var a,i,s,l;this.endIndex=r,(i=(a=this.cbs).oncomment)===null||i===void 0||i.call(a,this.getSlice(t,r-n)),(l=(s=this.cbs).oncommentend)===null||l===void 0||l.call(s),this.startIndex=r+1}oncdata(t,r,n){var a,i,s,l,o,u,m,c,f,p;this.endIndex=r;const h=this.getSlice(t,r-n);this.options.xmlMode||this.options.recognizeCDATA?((i=(a=this.cbs).oncdatastart)===null||i===void 0||i.call(a),(l=(s=this.cbs).ontext)===null||l===void 0||l.call(s,h),(u=(o=this.cbs).oncdataend)===null||u===void 0||u.call(o)):((c=(m=this.cbs).oncomment)===null||c===void 0||c.call(m,`[CDATA[${h}]]`),(p=(f=this.cbs).oncommentend)===null||p===void 0||p.call(f)),this.startIndex=r+1}onend(){var t,r;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}(r=(t=this.cbs).onend)===null||r===void 0||r.call(t)}reset(){var t,r,n,a;(r=(t=this.cbs).onreset)===null||r===void 0||r.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(a=(n=this.cbs).onparserinit)===null||a===void 0||a.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,r){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(t-this.bufferOffset,r-this.bufferOffset);for(;r-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,r-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var r,n;if(this.ended){(n=(r=this.cbs).onerror)===null||n===void 0||n.call(r,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var r,n;if(this.ended){(n=(r=this.cbs).onerror)===null||n===void 0||n.call(r,Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}function E8(e){for(var t=[],r=0;r>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var Dd=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return t==255&&r==254?Wme(e.slice(2)):t==254&&r==255?E8(e.slice(2)):t==65279?e.slice(1):e},rg=function(t){return String.fromCharCode(t)},gk=function(t){return String.fromCharCode(t)},Ku,em="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Q1(e){for(var t="",r=0,n=0,a=0,i=0,s=0,l=0,o=0,u=0;u>2,n=e.charCodeAt(u++),s=(r&3)<<4|n>>4,a=e.charCodeAt(u++),l=(n&15)<<2|a>>6,o=a&63,isNaN(n)?l=o=64:isNaN(a)&&(o=64),t+=em.charAt(i)+em.charAt(s)+em.charAt(l)+em.charAt(o);return t}function Oi(e){var t="",r=0,n=0,a=0,i=0,s=0,l=0,o=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var u=0;u>4,t+=String.fromCharCode(r),l=em.indexOf(e.charAt(u++)),n=(s&15)<<4|l>>2,l!==64&&(t+=String.fromCharCode(n)),o=em.indexOf(e.charAt(u++)),a=(l&3)<<6|o,o!==64&&(t+=String.fromCharCode(a));return t}var Ir=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),yu=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(t,r){return r?new Buffer(t,r):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function Mm(e){return Ir?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function Sk(e){return Ir?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var di=function(t){return Ir?yu(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)&255})};function Oy(e){if(typeof ArrayBuffer>"u")return di(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=e.charCodeAt(n)&255;return t}function wm(e){if(Array.isArray(e))return e.map(function(n){return String.fromCharCode(n)}).join("");for(var t=[],r=0;r"u")throw new Error("Unsupported");return new Uint8Array(e)}function KE(e){if(typeof ArrayBuffer>"u")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return KE(new Uint8Array(e));for(var t=new Array(e.length),r=0;r>6&31,a[r++]=128|s&63;else if(s>=55296&&s<57344){s=(s&1023)+64;var l=e.charCodeAt(++i)&1023;a[r++]=240|s>>8&7,a[r++]=128|s>>2&63,a[r++]=128|l>>6&15|(s&3)<<4,a[r++]=128|l&63}else a[r++]=224|s>>12&15,a[r++]=128|s>>6&63,a[r++]=128|s&63;r>n&&(t.push(a.slice(0,r)),r=0,a=Mm(65535),n=65530)}return t.push(a.slice(0,r)),Hn(t)}var Ua=/\u0000/g,Id=/[\u0001-\u0006]/g;function Cf(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function Ll(e,t){var r=""+e;return r.length>=t?r:an("0",t-r.length)+r}function qE(e,t){var r=""+e;return r.length>=t?r:an(" ",t-r.length)+r}function ES(e,t){var r=""+e;return r.length>=t?r:r+an(" ",t-r.length)}function qme(e,t){var r=""+Math.round(e);return r.length>=t?r:an("0",t-r.length)+r}function Zme(e,t){var r=""+e;return r.length>=t?r:an("0",t-r.length)+r}var vk=Math.pow(2,32);function Pc(e,t){if(e>vk||e<-vk)return qme(e,t);var r=Math.round(e);return Zme(r,t)}function TS(e,t){return t=t||0,e.length>=7+t&&(e.charCodeAt(t)|32)===103&&(e.charCodeAt(t+1)|32)===101&&(e.charCodeAt(t+2)|32)===110&&(e.charCodeAt(t+3)|32)===101&&(e.charCodeAt(t+4)|32)===114&&(e.charCodeAt(t+5)|32)===97&&(e.charCodeAt(t+6)|32)===108}var yk=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],vI=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function Yme(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "',e}var ar={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "'},Mk={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},Xme={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function AS(e,t,r){for(var n=e<0?-1:1,a=e*n,i=0,s=1,l=0,o=1,u=0,m=0,c=Math.floor(a);ut&&(u>t?(m=o,l=i):(m=u,l=s)),!r)return[0,n*l,m];var f=Math.floor(n*l/m);return[f,n*l-f*m,m]}function I0(e,t,r){if(e>2958465||e<0)return null;var n=e|0,a=Math.floor(86400*(e-n)),i=0,s=[],l={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(l.u)<1e-6&&(l.u=0),t&&t.date1904&&(n+=1462),l.u>.9999&&(l.u=0,++a==86400&&(l.T=a=0,++n,++l.D)),n===60)s=r?[1317,10,29]:[1900,2,29],i=3;else if(n===0)s=r?[1317,8,29]:[1900,1,0],i=6;else{n>60&&--n;var o=new Date(1900,0,1);o.setDate(o.getDate()+n-1),s=[o.getFullYear(),o.getMonth()+1,o.getDate()],i=o.getDay(),n<60&&(i=(i+6)%7),r&&(i=s0e(o,s))}return l.y=s[0],l.m=s[1],l.d=s[2],l.S=a%60,a=Math.floor(a/60),l.M=a%60,a=Math.floor(a/60),l.H=a,l.q=i,l}var T8=new Date(1899,11,31,0,0,0),Jme=T8.getTime(),Qme=new Date(1900,2,1,0,0,0);function A8(e,t){var r=e.getTime();return t?r-=1461*24*60*60*1e3:e>=Qme&&(r+=24*60*60*1e3),(r-(Jme+(e.getTimezoneOffset()-T8.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function ZE(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function e0e(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function t0e(e){var t=e<0?12:11,r=ZE(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10),r.length<=t)?r:e.toExponential(5)}function r0e(e){var t=ZE(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function eh(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),r;return t>=-4&&t<=-1?r=e.toPrecision(10+t):Math.abs(t)<=9?r=t0e(e):t===10?r=e.toFixed(10).substr(0,12):r=r0e(e),ZE(e0e(r.toUpperCase()))}function Z0(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):eh(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return al(14,A8(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function s0e(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function n0e(e,t,r,n){var a="",i=0,s=0,l=r.y,o,u=0;switch(e){case 98:l=r.y+543;case 121:switch(t.length){case 1:case 2:o=l%100,u=2;break;default:o=l%1e4,u=4;break}break;case 109:switch(t.length){case 1:case 2:o=r.m,u=t.length;break;case 3:return vI[r.m-1][1];case 5:return vI[r.m-1][0];default:return vI[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:o=r.d,u=t.length;break;case 3:return yk[r.q][0];default:return yk[r.q][1]}break;case 104:switch(t.length){case 1:case 2:o=1+(r.H+11)%12,u=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:o=r.H,u=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:o=r.M,u=t.length;break;default:throw"bad minute format: "+t}break;case 115:if(t!="s"&&t!="ss"&&t!=".0"&&t!=".00"&&t!=".000")throw"bad second format: "+t;return r.u===0&&(t=="s"||t=="ss")?Ll(r.S,t.length):(n>=2?s=n===3?1e3:100:s=n===1?10:1,i=Math.round(s*(r.S+r.u)),i>=60*s&&(i=0),t==="s"?i===0?"0":""+i/s:(a=Ll(i,2+n),t==="ss"?a.substr(0,2):"."+a.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":o=r.D*24+r.H;break;case"[m]":case"[mm]":o=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":o=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}u=t.length===3?1:2;break;case 101:o=l,u=1;break}var m=u>0?Ll(o,u):"";return m}function tm(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,n=e.substr(0,r);r!=e.length;r+=t)n+=(n.length>0?",":"")+e.substr(r,t);return n}var k8=/%/g;function a0e(e,t,r){var n=t.replace(k8,""),a=t.length-n.length;return ru(e,n,r*Math.pow(10,2*a))+an("%",a)}function i0e(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return ru(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function P8(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+P8(e,-t);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%a;if(i<0&&(i+=a),r=(t/Math.pow(10,i)).toPrecision(n+1+(a+i)%a),r.indexOf("e")===-1){var s=Math.floor(Math.log(t)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+i):r+="E+"+(s-i);r.substr(0,2)==="0.";)r=r.charAt(0)+r.substr(2,a)+"."+r.substr(2+a),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(l,o,u,m){return o+u+m.substr(0,(a+i)%a)+"."+m.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var U8=/# (\?+)( ?)\/( ?)(\d+)/;function l0e(e,t,r){var n=parseInt(e[4],10),a=Math.round(t*n),i=Math.floor(a/n),s=a-i*n,l=n;return r+(i===0?"":""+i)+" "+(s===0?an(" ",e[1].length+1+e[4].length):qE(s,e[1].length)+e[2]+"/"+e[3]+Ll(l,e[4].length))}function o0e(e,t,r){return r+(t===0?"":""+t)+an(" ",e[1].length+2+e[4].length)}var N8=/^#*0*\.([0#]+)/,w8=/\).*[0#]/,x8=/\(###\) ###\\?-####/;function Aa(e){for(var t="",r,n=0;n!=e.length;++n)switch(r=e.charCodeAt(n)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(r)}return t}function Dk(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function Ik(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function u0e(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function m0e(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function Pi(e,t,r){if(e.charCodeAt(0)===40&&!t.match(w8)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Pi("n",n,r):"("+Pi("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return i0e(e,t,r);if(t.indexOf("%")!==-1)return a0e(e,t,r);if(t.indexOf("E")!==-1)return P8(t,r);if(t.charCodeAt(0)===36)return"$"+Pi(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,l,o=Math.abs(r),u=r<0?"-":"";if(t.match(/^00+$/))return u+Pc(o,t.length);if(t.match(/^[#?]+$/))return a=Pc(r,0),a==="0"&&(a=""),a.length>t.length?a:Aa(t.substr(0,t.length-a.length))+a;if(i=t.match(U8))return l0e(i,o,u);if(t.match(/^#+0+$/))return u+Pc(o,t.length-t.indexOf("0"));if(i=t.match(N8))return a=Dk(r,i[1].length).replace(/^([^\.]+)$/,"$1."+Aa(i[1])).replace(/\.$/,"."+Aa(i[1])).replace(/\.(\d*)$/,function(h,d){return"."+d+an("0",Aa(i[1]).length-d.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return u+Dk(o,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return u+tm(Pc(o,0));if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Pi(e,t,-r):tm(""+(Math.floor(r)+u0e(r,i[1].length)))+"."+Ll(Ik(r,i[1].length),i[1].length);if(i=t.match(/^#,#*,#0/))return Pi(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=Cf(Pi(e,t.replace(/[\\-]/g,""),r)),s=0,Cf(Cf(t.replace(/\\/g,"")).replace(/[0#]/g,function(h){return s=0?$l("n",n,r):"("+$l("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return c0e(e,t,r);if(t.indexOf("%")!==-1)return f0e(e,t,r);if(t.indexOf("E")!==-1)return V8(t,r);if(t.charCodeAt(0)===36)return"$"+$l(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,l,o=Math.abs(r),u=r<0?"-":"";if(t.match(/^00+$/))return u+Ll(o,t.length);if(t.match(/^[#?]+$/))return a=""+r,r===0&&(a=""),a.length>t.length?a:Aa(t.substr(0,t.length-a.length))+a;if(i=t.match(U8))return o0e(i,o,u);if(t.match(/^#+0+$/))return u+Ll(o,t.length-t.indexOf("0"));if(i=t.match(N8))return a=(""+r).replace(/^([^\.]+)$/,"$1."+Aa(i[1])).replace(/\.$/,"."+Aa(i[1])),a=a.replace(/\.(\d*)$/,function(h,d){return"."+d+an("0",Aa(i[1]).length-d.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return u+(""+o).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return u+tm(""+o);if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+$l(e,t,-r):tm(""+r)+"."+an("0",i[1].length);if(i=t.match(/^#,#*,#0/))return $l(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=Cf($l(e,t.replace(/[\\-]/g,""),r)),s=0,Cf(Cf(t.replace(/\\/g,"")).replace(/[0#]/g,function(h){return s-1||r=="\\"&&e.charAt(t+1)=="-"&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t,(e.charAt(t)==" "||e.charAt(t)=="*")&&++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t-1;);break;case" ":++t;break;default:++t;break}return!1}function d0e(e,t,r,n){for(var a=[],i="",s=0,l="",o="t",u,m,c,f="H";s=12?"P":"A"),d.t="T",f="h",s+=3):e.substr(s,5).toUpperCase()==="AM/PM"?(u!=null&&(d.v=u.H>=12?"PM":"AM"),d.t="T",s+=5,f="h"):e.substr(s,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348"?(u!=null&&(d.v=u.H>=12?"\u4E0B\u5348":"\u4E0A\u5348"),d.t="T",s+=5,f="h"):(d.t="t",++s),u==null&&d.t==="T")return"";a[a.length]=d,o=l;break;case"[":for(i=l;e.charAt(s++)!=="]"&&s-1&&(i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$",Ep(e)||(a[a.length]={t:"t",v:i}));break;case".":if(u!=null){for(i=l;++s-1;)i+=l;a[a.length]={t:"n",v:i};break;case"?":for(i=l;e.charAt(++s)===l;)i+=l;a[a.length]={t:l,v:i},o=l;break;case"*":++s,(e.charAt(s)==" "||e.charAt(s)=="*")&&++s;break;case"(":case")":a[a.length]={t:n===1?"t":l,v:l},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(i=l;s-1;)i+=e.charAt(s);a[a.length]={t:"D",v:i};break;case" ":a[a.length]={t:l,v:l},++s;break;case"$":a[a.length]={t:"t",v:"$"},++s;break;default:if(",$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP".indexOf(l)===-1)throw new Error("unrecognized character "+l+" in "+e);a[a.length]={t:"t",v:l},++s;break}var _=0,y=0,g;for(s=a.length-1,o="t";s>=0;--s)switch(a[s].t){case"h":case"H":a[s].t=f,o="h",_<1&&(_=1);break;case"s":(g=a[s].v.match(/\.0+$/))&&(y=Math.max(y,g[0].length-1)),_<3&&(_=3);case"d":case"y":case"M":case"e":o=a[s].t;break;case"m":o==="s"&&(a[s].t="M",_<2&&(_=2));break;case"X":break;case"Z":_<1&&a[s].v.match(/[Hh]/)&&(_=1),_<2&&a[s].v.match(/[Mm]/)&&(_=2),_<3&&a[s].v.match(/[Ss]/)&&(_=3)}switch(_){case 0:break;case 1:u.u>=.5&&(u.u=0,++u.S),u.S>=60&&(u.S=0,++u.M),u.M>=60&&(u.M=0,++u.H);break;case 2:u.u>=.5&&(u.u=0,++u.S),u.S>=60&&(u.S=0,++u.M);break}var S="",v;for(s=0;s0){S.charCodeAt(0)==40?(I=t<0&&S.charCodeAt(0)===45?-t:t,D=ru("n",S,I)):(I=t<0&&n>1?-t:t,D=ru("n",S,I),I<0&&a[0]&&a[0].t=="t"&&(D=D.substr(1),a[0].v="-"+a[0].v)),v=D.length-1;var k=a.length;for(s=0;s-1){k=s;break}var E=a.length;if(k===a.length&&D.indexOf("E")===-1){for(s=a.length-1;s>=0;--s)a[s]==null||"n?".indexOf(a[s].t)===-1||(v>=a[s].v.length-1?(v-=a[s].v.length,a[s].v=D.substr(v+1,a[s].v.length)):v<0?a[s].v="":(a[s].v=D.substr(0,v+1),v=-1),a[s].t="t",E=s);v>=0&&E=0;--s)if(!(a[s]==null||"n?".indexOf(a[s].t)===-1)){for(m=a[s].v.indexOf(".")>-1&&s===k?a[s].v.indexOf(".")-1:a[s].v.length-1,M=a[s].v.substr(m+1);m>=0;--m)v>=0&&(a[s].v.charAt(m)==="0"||a[s].v.charAt(m)==="#")&&(M=D.charAt(v--)+M);a[s].v=M,a[s].t="t",E=s}for(v>=0&&E-1&&s===k?a[s].v.indexOf(".")+1:0,M=a[s].v.substr(0,m);m-1&&(I=n>1&&t<0&&s>0&&a[s-1].v==="-"?-t:t,a[s].v=ru(a[s].t,a[s].v,I),a[s].t="t");var z="";for(s=0;s!==a.length;++s)a[s]!=null&&(z+=a[s].v);return z}var Ok=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Lk(e,t){if(t==null)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0;break}return!1}function h0e(e,t){var r=p0e(e),n=r.length,a=r[n-1].indexOf("@");if(n<4&&a>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof t!="number")return[4,r.length===4||a>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=a>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=a>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=a>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var i=t>0?r[0]:t<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[n,i];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var s=r[0].match(Ok),l=r[1].match(Ok);return Lk(t,s)?[n,r[0]]:Lk(t,l)?[n,r[1]]:[n,r[s!=null&&l!=null?2:1]]}return[n,i]}function al(e,t,r){r==null&&(r={});var n="";switch(typeof e){case"string":e=="m/d/yy"&&r.dateNF?n=r.dateNF:n=e;break;case"number":e==14&&r.dateNF?n=r.dateNF:n=(r.table!=null?r.table:ar)[e],n==null&&(n=r.table&&r.table[Mk[e]]||ar[Mk[e]]),n==null&&(n=Xme[e]||"General");break}if(TS(n,0))return Z0(t,r);t instanceof Date&&(t=A8(t,r.date1904));var a=h0e(n,t);if(TS(a[1]))return Z0(t,r);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return d0e(a[1],t,r,a[0])}function su(e,t){if(typeof t!="number"){t=+t||-1;for(var r=0;r<392;++r){if(ar[r]==null){t<0&&(t=r);continue}if(ar[r]==e){t=r;break}}t<0&&(t=391)}return ar[t]=e,t}function Ly(e){for(var t=0;t!=392;++t)e[t]!==void 0&&su(e[t],t)}function Tp(){ar=Yme()}var _0e={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},F8=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function g0e(e){var t=typeof e=="number"?ar[e]:e;return t=t.replace(F8,"(\\d+)"),new RegExp("^"+t+"$")}function S0e(e,t,r){var n=-1,a=-1,i=-1,s=-1,l=-1,o=-1;(t.match(F8)||[]).forEach(function(c,f){var p=parseInt(r[f+1],10);switch(c.toLowerCase().charAt(0)){case"y":n=p;break;case"d":i=p;break;case"h":s=p;break;case"s":o=p;break;case"m":s>=0?l=p:a=p;break}}),o>=0&&l==-1&&a>=0&&(l=a,a=-1);var u=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);u.length==7&&(u="0"+u),u.length==8&&(u="20"+u);var m=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2);return s==-1&&l==-1&&o==-1?u:n==-1&&a==-1&&i==-1?m:u+"T"+m}var v0e=function(){var e={};e.version="1.2.0";function t(){for(var D=0,k=new Array(256),E=0;E!=256;++E)D=E,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,k[E]=D;return typeof Int32Array<"u"?new Int32Array(k):k}var r=t();function n(D){var k=0,E=0,z=0,B=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(z=0;z!=256;++z)B[z]=D[z];for(z=0;z!=256;++z)for(E=D[z],k=256+z;k<4096;k+=256)E=B[k]=E>>>8^D[E&255];var P=[];for(z=1;z!=16;++z)P[z-1]=typeof Int32Array<"u"?B.subarray(z*256,z*256+256):B.slice(z*256,z*256+256);return P}var a=n(r),i=a[0],s=a[1],l=a[2],o=a[3],u=a[4],m=a[5],c=a[6],f=a[7],p=a[8],h=a[9],d=a[10],_=a[11],y=a[12],g=a[13],S=a[14];function v(D,k){for(var E=k^-1,z=0,B=D.length;z>>8^r[(E^D.charCodeAt(z++))&255];return~E}function M(D,k){for(var E=k^-1,z=D.length-15,B=0;B>8&255]^y[D[B++]^E>>16&255]^_[D[B++]^E>>>24]^d[D[B++]]^h[D[B++]]^p[D[B++]]^f[D[B++]]^c[D[B++]]^m[D[B++]]^u[D[B++]]^o[D[B++]]^l[D[B++]]^s[D[B++]]^i[D[B++]]^r[D[B++]];for(z+=15;B>>8^r[(E^D[B++])&255];return~E}function I(D,k){for(var E=k^-1,z=0,B=D.length,P=0,F=0;z>>8^r[(E^P)&255]:P<2048?(E=E>>>8^r[(E^(192|P>>6&31))&255],E=E>>>8^r[(E^(128|P&63))&255]):P>=55296&&P<57344?(P=(P&1023)+64,F=D.charCodeAt(z++)&1023,E=E>>>8^r[(E^(240|P>>8&7))&255],E=E>>>8^r[(E^(128|P>>2&63))&255],E=E>>>8^r[(E^(128|F>>6&15|(P&3)<<4))&255],E=E>>>8^r[(E^(128|F&63))&255]):(E=E>>>8^r[(E^(224|P>>12&15))&255],E=E>>>8^r[(E^(128|P>>6&63))&255],E=E>>>8^r[(E^(128|P&63))&255]);return~E}return e.table=r,e.bstr=v,e.buf=M,e.str=I,e}(),Xt=function(){var t={};t.version="1.2.1";function r(j,he){for(var Ae=j.split("/"),le=he.split("/"),ae=0,ve=0,Me=Math.min(Ae.length,le.length);ae>>1,j.write_shift(2,Ae);var le=he.getFullYear()-1980;le=le<<4|he.getMonth()+1,le=le<<5|he.getDate(),j.write_shift(2,le)}function s(j){var he=j.read_shift(2)&65535,Ae=j.read_shift(2)&65535,le=new Date,ae=Ae&31;Ae>>>=5;var ve=Ae&15;Ae>>>=4,le.setMilliseconds(0),le.setFullYear(Ae+1980),le.setMonth(ve-1),le.setDate(ae);var Me=he&31;he>>>=5;var _e=he&63;return he>>>=6,le.setHours(he),le.setMinutes(_e),le.setSeconds(Me<<1),le}function l(j){ra(j,0);for(var he={},Ae=0;j.l<=j.length-4;){var le=j.read_shift(2),ae=j.read_shift(2),ve=j.l+ae,Me={};switch(le){case 21589:Ae=j.read_shift(1),Ae&1&&(Me.mtime=j.read_shift(4)),ae>5&&(Ae&2&&(Me.atime=j.read_shift(4)),Ae&4&&(Me.ctime=j.read_shift(4))),Me.mtime&&(Me.mt=new Date(Me.mtime*1e3));break}j.l=ve,he[le]=Me}return he}var o;function u(){return o||(o={})}function m(j,he){if(j[0]==80&&j[1]==75)return me(j,he);if((j[0]|32)==109&&(j[1]|32)==105)return Qe(j,he);if(j.length<512)throw new Error("CFB file size "+j.length+" < 512");var Ae=3,le=512,ae=0,ve=0,Me=0,_e=0,Oe=0,ke=[],Ie=j.slice(0,512);ra(Ie,0);var Ee=c(Ie);switch(Ae=Ee[0],Ae){case 3:le=512;break;case 4:le=4096;break;case 0:if(Ee[1]==0)return me(j,he);default:throw new Error("Major Version: Expected 3 or 4 saw "+Ae)}le!==512&&(Ie=j.slice(0,le),ra(Ie,28));var Ve=j.slice(0,le);f(Ie,Ae);var it=Ie.read_shift(4,"i");if(Ae===3&&it!==0)throw new Error("# Directory Sectors: Expected 0 saw "+it);Ie.l+=4,Me=Ie.read_shift(4,"i"),Ie.l+=4,Ie.chk("00100000","Mini Stream Cutoff Size: "),_e=Ie.read_shift(4,"i"),ae=Ie.read_shift(4,"i"),Oe=Ie.read_shift(4,"i"),ve=Ie.read_shift(4,"i");for(var ze=-1,Ze=0;Ze<109&&(ze=Ie.read_shift(4,"i"),!(ze<0));++Ze)ke[Ze]=ze;var ct=p(j,le);_(Oe,ve,ct,le,ke);var St=g(ct,Me,ke,le);St[Me].name="!Directory",ae>0&&_e!==F&&(St[_e].name="!MiniFAT"),St[ke[0]].name="!FAT",St.fat_addrs=ke,St.ssz=le;var xt={},Ut=[],Lt=[],ss=[];S(Me,St,ct,Ut,ae,xt,Lt,_e),h(Lt,ss,Ut),Ut.shift();var fl={FileIndex:Lt,FullPaths:ss};return he&&he.raw&&(fl.raw={header:Ve,sectors:ct}),fl}function c(j){if(j[j.l]==80&&j[j.l+1]==75)return[0,0];j.chk(L,"Header Signature: "),j.l+=16;var he=j.read_shift(2,"u");return[j.read_shift(2,"u"),he]}function f(j,he){var Ae=9;switch(j.l+=2,Ae=j.read_shift(2)){case 9:if(he!=3)throw new Error("Sector Shift: Expected 9 saw "+Ae);break;case 12:if(he!=4)throw new Error("Sector Shift: Expected 12 saw "+Ae);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+Ae)}j.chk("0600","Mini Sector Shift: "),j.chk("000000000000","Reserved: ")}function p(j,he){for(var Ae=Math.ceil(j.length/he)-1,le=[],ae=1;ae0&&Me>=0;)ve.push(he.slice(Me*P,Me*P+P)),ae-=P,Me=f0(Ae,Me*4);return ve.length===0?Dt(0):Hn(ve).slice(0,j.size)}function _(j,he,Ae,le,ae){var ve=F;if(j===F){if(he!==0)throw new Error("DIFAT chain shorter than expected")}else if(j!==-1){var Me=Ae[j],_e=(le>>>2)-1;if(!Me)return;for(var Oe=0;Oe<_e&&(ve=f0(Me,Oe*4))!==F;++Oe)ae.push(ve);_(f0(Me,le-4),he-1,Ae,le,ae)}}function y(j,he,Ae,le,ae){var ve=[],Me=[];ae||(ae=[]);var _e=le-1,Oe=0,ke=0;for(Oe=he;Oe>=0;){ae[Oe]=!0,ve[ve.length]=Oe,Me.push(j[Oe]);var Ie=Ae[Math.floor(Oe*4/le)];if(ke=Oe*4&_e,le<4+ke)throw new Error("FAT boundary crossed: "+Oe+" 4 "+le);if(!j[Ie])break;Oe=f0(j[Ie],ke)}return{nodes:ve,data:Vk([Me])}}function g(j,he,Ae,le){var ae=j.length,ve=[],Me=[],_e=[],Oe=[],ke=le-1,Ie=0,Ee=0,Ve=0,it=0;for(Ie=0;Ie=ae&&(Ve-=ae),!Me[Ve]){Oe=[];var ze=[];for(Ee=Ve;Ee>=0;){ze[Ee]=!0,Me[Ee]=!0,_e[_e.length]=Ee,Oe.push(j[Ee]);var Ze=Ae[Math.floor(Ee*4/le)];if(it=Ee*4&ke,le<4+it)throw new Error("FAT boundary crossed: "+Ee+" 4 "+le);if(!j[Ze]||(Ee=f0(j[Ze],it),ze[Ee]))break}ve[Ve]={nodes:_e,data:Vk([Oe])}}return ve}function S(j,he,Ae,le,ae,ve,Me,_e){for(var Oe=0,ke=le.length?2:0,Ie=he[j].data,Ee=0,Ve=0,it;Ee0&&Oe!==F&&(he[Oe].name="!StreamData")):Ze.size>=4096?(Ze.storage="fat",he[Ze.start]===void 0&&(he[Ze.start]=y(Ae,Ze.start,he.fat_addrs,he.ssz)),he[Ze.start].name=Ze.name,Ze.content=he[Ze.start].data.slice(0,Ze.size)):(Ze.storage="minifat",Ze.size<0?Ze.size=0:Oe!==F&&Ze.start!==F&&he[Oe]&&(Ze.content=d(Ze,he[Oe].data,(he[_e]||{}).data))),Ze.content&&ra(Ze.content,0),ve[it]=Ze,Me.push(Ze)}}function v(j,he){return new Date((pi(j,he+4)/1e7*Math.pow(2,32)+pi(j,he)/1e7-11644473600)*1e3)}function M(j,he){return u(),m(o.readFileSync(j),he)}function I(j,he){var Ae=he&&he.type;switch(Ae||Ir&&Buffer.isBuffer(j)&&(Ae="buffer"),Ae||"base64"){case"file":return M(j,he);case"base64":return m(di(Oi(j)),he);case"binary":return m(di(j),he)}return m(j,he)}function D(j,he){var Ae=he||{},le=Ae.root||"Root Entry";if(j.FullPaths||(j.FullPaths=[]),j.FileIndex||(j.FileIndex=[]),j.FullPaths.length!==j.FileIndex.length)throw new Error("inconsistent CFB structure");j.FullPaths.length===0&&(j.FullPaths[0]=le+"/",j.FileIndex[0]={name:le,type:5}),Ae.CLSID&&(j.FileIndex[0].clsid=Ae.CLSID),k(j)}function k(j){var he="Sh33tJ5";if(!Xt.find(j,"/"+he)){var Ae=Dt(4);Ae[0]=55,Ae[1]=Ae[3]=50,Ae[2]=54,j.FileIndex.push({name:he,type:2,content:Ae,size:4,L:69,R:69,C:69}),j.FullPaths.push(j.FullPaths[0]+he),E(j)}}function E(j,he){D(j);for(var Ae=!1,le=!1,ae=j.FullPaths.length-1;ae>=0;--ae){var ve=j.FileIndex[ae];switch(ve.type){case 0:le?Ae=!0:(j.FileIndex.pop(),j.FullPaths.pop());break;case 1:case 2:case 5:le=!0,isNaN(ve.R*ve.L*ve.C)&&(Ae=!0),ve.R>-1&&ve.L>-1&&ve.R==ve.L&&(Ae=!0);break;default:Ae=!0;break}}if(!(!Ae&&!he)){var Me=new Date(1987,1,19),_e=0,Oe=Object.create?Object.create(null):{},ke=[];for(ae=0;ae1?1:-1,Ee.size=0,Ee.type=5;else if(Ve.slice(-1)=="/"){for(_e=ae+1;_e=ke.length?-1:_e,_e=ae+1;_e=ke.length?-1:_e,Ee.type=1}else n(j.FullPaths[ae+1]||"")==n(Ve)&&(Ee.R=ae+1),Ee.type=2}}}function z(j,he){var Ae=he||{};if(Ae.fileType=="mad")return We(j,Ae);switch(E(j),Ae.fileType){case"zip":return A(j,Ae)}var le=function(it){for(var ze=0,Ze=0,ct=0;ct0&&(xt<4096?ze+=xt+63>>6:Ze+=xt+511>>9)}}for(var Ut=it.FullPaths.length+3>>2,Lt=ze+7>>3,ss=ze+127>>7,fl=Lt+Ze+Ut+ss,Cs=fl+127>>7,Pr=Cs<=109?0:Math.ceil((Cs-109)/127);fl+Cs+Pr+127>>7>Cs;)Pr=++Cs<=109?0:Math.ceil((Cs-109)/127);var pr=[1,Pr,Cs,ss,Ut,Ze,ze,0];return it.FileIndex[0].size=ze<<6,pr[7]=(it.FileIndex[0].start=pr[0]+pr[1]+pr[2]+pr[3]+pr[4]+pr[5])+(pr[6]+7>>3),pr}(j),ae=Dt(le[7]<<9),ve=0,Me=0;{for(ve=0;ve<8;++ve)ae.write_shift(1,H[ve]);for(ve=0;ve<8;++ve)ae.write_shift(2,0);for(ae.write_shift(2,62),ae.write_shift(2,3),ae.write_shift(2,65534),ae.write_shift(2,9),ae.write_shift(2,6),ve=0;ve<3;++ve)ae.write_shift(2,0);for(ae.write_shift(4,0),ae.write_shift(4,le[2]),ae.write_shift(4,le[0]+le[1]+le[2]+le[3]-1),ae.write_shift(4,0),ae.write_shift(4,1<<12),ae.write_shift(4,le[3]?le[0]+le[1]+le[2]-1:F),ae.write_shift(4,le[3]),ae.write_shift(-4,le[1]?le[0]-1:F),ae.write_shift(4,le[1]),ve=0;ve<109;++ve)ae.write_shift(-4,ve>9)));for(_e(le[6]+7>>3);ae.l&511;)ae.write_shift(-4,G.ENDOFCHAIN);for(Me=ve=0,Oe=0;Oe=4096)&&(Ie.start=Me,_e(ke+63>>6)));for(;ae.l&511;)ae.write_shift(-4,G.ENDOFCHAIN);for(ve=0;ve=4096)if(ae.l=Ie.start+1<<9,Ir&&Buffer.isBuffer(Ie.content))Ie.content.copy(ae,ae.l,0,Ie.size),ae.l+=Ie.size+511&-512;else{for(Oe=0;Oe0&&Ie.size<4096)if(Ir&&Buffer.isBuffer(Ie.content))Ie.content.copy(ae,ae.l,0,Ie.size),ae.l+=Ie.size+63&-64;else{for(Oe=0;Oe>16|he>>8|he)&255}for(var be=typeof Uint8Array<"u",et=be?new Uint8Array(1<<8):[],Pe=0;Pe<1<<8;++Pe)et[Pe]=xe(Pe);function Ne(j,he){var Ae=et[j&255];return he<=8?Ae>>>8-he:(Ae=Ae<<8|et[j>>8&255],he<=16?Ae>>>16-he:(Ae=Ae<<8|et[j>>16&255],Ae>>>24-he))}function vt(j,he){var Ae=he&7,le=he>>>3;return(j[le]|(Ae<=6?0:j[le+1]<<8))>>>Ae&3}function T(j,he){var Ae=he&7,le=he>>>3;return(j[le]|(Ae<=5?0:j[le+1]<<8))>>>Ae&7}function we(j,he){var Ae=he&7,le=he>>>3;return(j[le]|(Ae<=4?0:j[le+1]<<8))>>>Ae&15}function Ue(j,he){var Ae=he&7,le=he>>>3;return(j[le]|(Ae<=3?0:j[le+1]<<8))>>>Ae&31}function K(j,he){var Ae=he&7,le=he>>>3;return(j[le]|(Ae<=1?0:j[le+1]<<8))>>>Ae&127}function q(j,he,Ae){var le=he&7,ae=he>>>3,ve=(1<>>le;return Ae<8-le||(Me|=j[ae+1]<<8-le,Ae<16-le)||(Me|=j[ae+2]<<16-le,Ae<24-le)||(Me|=j[ae+3]<<24-le),Me&ve}function ge(j,he,Ae){var le=he&7,ae=he>>>3;return le<=5?j[ae]|=(Ae&7)<>8-le),he+3}function Be(j,he,Ae){var le=he&7,ae=he>>>3;return Ae=(Ae&1)<>>3;return Ae<<=le,j[ae]|=Ae&255,Ae>>>=8,j[ae+1]=Ae,he+8}function C(j,he,Ae){var le=he&7,ae=he>>>3;return Ae<<=le,j[ae]|=Ae&255,Ae>>>=8,j[ae+1]=Ae&255,j[ae+2]=Ae>>>8,he+16}function Ce(j,he){var Ae=j.length,le=2*Ae>he?2*Ae:he+5,ae=0;if(Ae>=he)return j;if(Ir){var ve=Sk(le);if(j.copy)j.copy(ve);else for(;ae>le-Ee,Me=(1<=0;--Me)he[_e|Me<0;)Oe[Oe.l++]=_e[ke++]}return Oe.l}function Me(_e,Oe){for(var ke=0,Ie=0,Ee=be?new Uint16Array(32768):[];Ie<_e.length;){var Ve=Math.min(65535,_e.length-Ie);if(Ve<10){for(ke=ge(Oe,ke,+(Ie+Ve==_e.length)),ke&7&&(ke+=8-(ke&7)),Oe.l=ke/8|0,Oe.write_shift(2,Ve),Oe.write_shift(2,~Ve&65535);Ve-- >0;)Oe[Oe.l++]=_e[Ie++];ke=Oe.l*8;continue}ke=ge(Oe,ke,+(Ie+Ve==_e.length)+2);for(var it=0;Ve-- >0;){var ze=_e[Ie];it=(it<<5^ze)&32767;var Ze=-1,ct=0;if((Ze=Ee[it])&&(Ze|=Ie&-32768,Ze>Ie&&(Ze-=32768),Ze2){ze=ae[ct],ze<=22?ke=$e(Oe,ke,et[ze+1]>>1)-1:($e(Oe,ke,3),ke+=5,$e(Oe,ke,et[ze-23]>>5),ke+=3);var St=ze<8?0:ze-4>>2;St>0&&(C(Oe,ke,ct-Re[ze]),ke+=St),ze=he[Ie-Ze],ke=$e(Oe,ke,et[ze]>>3),ke-=3;var xt=ze<4?0:ze-2>>1;xt>0&&(C(Oe,ke,Ie-Ze-Je[ze]),ke+=xt);for(var Ut=0;Ut>8-ze;for(var Ze=(1<<7-ze)-1;Ze>=0;--Ze)He[it|Ze<>>=3){case 16:for(ve=3+vt(j,he),he+=2,it=ct[ct.length-1];ve-- >0;)ct.push(it);break;case 17:for(ve=3+T(j,he),he+=3;ve-- >0;)ct.push(0);break;case 18:for(ve=11+K(j,he),he+=7;ve-- >0;)ct.push(0);break;default:ct.push(it),Oe>>0,_e=0,Oe=0;(le&1)==0;){if(le=T(j,Ae),Ae+=3,le>>>1==0){Ae&7&&(Ae+=8-(Ae&7));var ke=j[Ae>>>3]|j[(Ae>>>3)+1]<<8;if(Ae+=32,ke>0)for(!he&&Me0;)ae[ve++]=j[Ae>>>3],Ae+=8;continue}else le>>1==1?(_e=9,Oe=5):(Ae=ee(j,Ae),_e=It,Oe=Q);for(;;){!he&&Me>>1==1?qe[Ie]:Se[Ie];if(Ae+=Ee&15,Ee>>>=4,(Ee>>>8&255)===0)ae[ve++]=Ee;else{if(Ee==256)break;Ee-=257;var Ve=Ee<8?0:Ee-4>>2;Ve>5&&(Ve=0);var it=ve+Re[Ee];Ve>0&&(it+=q(j,Ae,Ve),Ae+=Ve),Ie=q(j,Ae,Oe),Ee=le>>>1==1?se[Ie]:de[Ie],Ae+=Ee&15,Ee>>>=4;var ze=Ee<4?0:Ee-2>>1,Ze=Je[Ee];for(ze>0&&(Ze+=q(j,Ae,ze),Ae+=ze),!he&&Me>>3]:[ae.slice(0,ve),Ae+7>>>3]}function Et(j,he){var Ae=j.slice(j.l||0),le=Ye(Ae,he);return j.l+=le[1],le[0]}function De(j,he){if(j)typeof console<"u"&&console.error(he);else throw new Error(he)}function me(j,he){var Ae=j;ra(Ae,0);var le=[],ae=[],ve={FileIndex:le,FullPaths:ae};D(ve,{root:he.root});for(var Me=Ae.length-4;(Ae[Me]!=80||Ae[Me+1]!=75||Ae[Me+2]!=5||Ae[Me+3]!=6)&&Me>=0;)--Me;Ae.l=Me+4,Ae.l+=4;var _e=Ae.read_shift(2);Ae.l+=6;var Oe=Ae.read_shift(4);for(Ae.l=Oe,Me=0;Me<_e;++Me){Ae.l+=20;var ke=Ae.read_shift(4),Ie=Ae.read_shift(4),Ee=Ae.read_shift(2),Ve=Ae.read_shift(2),it=Ae.read_shift(2);Ae.l+=8;var ze=Ae.read_shift(4),Ze=l(Ae.slice(Ae.l+Ee,Ae.l+Ee+Ve));Ae.l+=Ee+Ve+it;var ct=Ae.l;Ae.l=ze+4,nt(Ae,ke,Ie,ve,Ze),Ae.l=ct}return ve}function nt(j,he,Ae,le,ae){j.l+=2;var ve=j.read_shift(2),Me=j.read_shift(2),_e=s(j);if(ve&8257)throw new Error("Unsupported ZIP encryption");for(var Oe=j.read_shift(4),ke=j.read_shift(4),Ie=j.read_shift(4),Ee=j.read_shift(2),Ve=j.read_shift(2),it="",ze=0;ze0&&(Ae=Ae.slice(0,Ae.length-1),Ae=Ae.slice(0,Ae.lastIndexOf("/")+1),ve.slice(0,Ae.length)!=Ae););var Me=(le[1]||"").match(/boundary="(.*?)"/);if(!Me)throw new Error("MAD cannot find boundary");var _e="--"+(Me[1]||""),Oe=[],ke=[],Ie={FileIndex:Oe,FullPaths:ke};D(Ie);var Ee,Ve=0;for(ae=0;ae=32&&it<128&&++Ee;var Ze=Ee>=Ve*4/5;ae.push(le),ae.push("Content-Location: "+(Ae.root||"file:///C:/SheetJS/")+Me),ae.push("Content-Transfer-Encoding: "+(Ze?"quoted-printable":"base64")),ae.push("Content-Type: "+je(_e,Me)),ae.push(""),ae.push(Ze?ue(Ie):Ge(Ie))}return ae.push(le+`--\r -`),ae.join(`\r -`)}function lt(j){var he={};return D(he,j),he}function yt(j,he,Ae,le){var ae=le&&le.unsafe;ae||D(j);var ve=!ae&&Xt.find(j,he);if(!ve){var Me=j.FullPaths[0];he.slice(0,Me.length)==Me?Me=he:(Me.slice(-1)!="/"&&(Me+="/"),Me=(Me+he).replace("//","/")),ve={name:a(he),type:2},j.FileIndex.push(ve),j.FullPaths.push(Me),ae||Xt.utils.cfb_gc(j)}return ve.content=Ae,ve.size=Ae?Ae.length:0,le&&(le.CLSID&&(ve.clsid=le.CLSID),le.mt&&(ve.mt=le.mt),le.ct&&(ve.ct=le.ct)),ve}function gt(j,he){D(j);var Ae=Xt.find(j,he);if(Ae){for(var le=0;le3&&(n=!0),a[i].slice(a[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+a[i].slice(a[i].length-1));case"D":r*=24;case"H":r*=60;case"M":if(n)r*=60;else throw new Error("Unsupported ISO Duration Field: M")}t+=r*parseInt(a[i],10)}return t}var Ek=new Date("2017-02-19T19:06:09.000Z"),H8=isNaN(Ek.getFullYear())?new Date("2/19/17"):Ek,L0e=H8.getFullYear()==2017;function Bs(e,t){var r=new Date(e);if(L0e)return t>0?r.setTime(r.getTime()+r.getTimezoneOffset()*60*1e3):t<0&&r.setTime(r.getTime()-r.getTimezoneOffset()*60*1e3),r;if(e instanceof Date)return e;if(H8.getFullYear()==1917&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],i=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3)),i}function Y0(e,t){if(Ir&&Buffer.isBuffer(e)){if(t){if(e[0]==255&&e[1]==254)return lo(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return lo(E8(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder<"u")try{if(t){if(e[0]==255&&e[1]==254)return lo(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return lo(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"\u20AC":"\x80","\u201A":"\x82",\u0192:"\x83","\u201E":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87","\u02C6":"\x88","\u2030":"\x89",\u0160:"\x8A","\u2039":"\x8B",\u0152:"\x8C",\u017D:"\x8E","\u2018":"\x91","\u2019":"\x92","\u201C":"\x93","\u201D":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02DC":"\x98","\u2122":"\x99",\u0161:"\x9A","\u203A":"\x9B",\u0153:"\x9C",\u017E:"\x9E",\u0178:"\x9F"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(i){return r[i]||i})}catch{}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function Hs(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=Hs(e[r]));return t}function an(e,t){for(var r="";r.length3&&b0e.indexOf(s)==-1)return r}else if(s.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||i>1)&&n!=101?t:e.match(/[^-0-9:,\/\\]/)?r:t}var C0e=function(){var e="abacaba".split(/(:?b)/i).length==5;return function(r,n,a){if(e||typeof n=="string")return r.split(n);for(var i=r.split(n),s=[i[0]],l=1;l\r -`,T0e=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,Ak=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg,A0e=/<[^>]*>/g,Ia=hn.match(Ak)?Ak:A0e,k0e=/<\w*:/,P0e=/<(\/?)\w+:/;function mr(e,t,r){for(var n={},a=0,i=0;a!==e.length&&!((i=e.charCodeAt(a))===32||i===10||i===13);++a);if(t||(n[0]=e.slice(0,a)),a===e.length)return n;var s=e.match(T0e),l=0,o="",u=0,m="",c="",f=1;if(s)for(u=0;u!=s.length;++u){for(c=s[u],i=0;i!=c.length&&c.charCodeAt(i)!==61;++i);for(m=c.slice(0,i).trim();c.charCodeAt(i+1)==32;)++i;for(f=(a=c.charCodeAt(i+1))==34||a==39?1:0,o=c.slice(i+1+f,c.length-f),l=0;l!=m.length&&m.charCodeAt(l)!==58;++l);if(l===m.length)m.indexOf("_")>0&&(m=m.slice(0,m.indexOf("_"))),n[m]=o,r||(n[m.toLowerCase()]=o);else{var p=(l===5&&m.slice(0,5)==="xmlns"?"xmlns":"")+m.slice(l+1);if(n[p]&&m.slice(l-3,l)=="ext")continue;n[p]=o,r||(n[p.toLowerCase()]=o)}}return n}function Io(e){return e.replace(P0e,"<$1")}var z8={""":'"',"'":"'",">":">","<":"<","&":"&"},JE=by(z8),$r=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,t=/_x([\da-fA-F]{4})_/ig;return function r(n){var a=n+"",i=a.indexOf("-1?16:10))||l}).replace(t,function(l,o){return String.fromCharCode(parseInt(o,16))});var s=a.indexOf("]]>");return r(a.slice(0,i))+a.slice(i+9,s)+r(a.slice(s+3))}}(),QE=/[&<>'"]/g,U0e=/[\u0000-\u0008\u000b-\u001f]/g;function fs(e){var t=e+"";return t.replace(QE,function(r){return JE[r]}).replace(U0e,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function kk(e){return fs(e).replace(/ /g,"_x0020_")}var K8=/[\u0000-\u001f]/g;function eT(e){var t=e+"";return t.replace(QE,function(r){return JE[r]}).replace(/\n/g,"
").replace(K8,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function N0e(e){var t=e+"";return t.replace(QE,function(r){return JE[r]}).replace(K8,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}var Pk=function(){var e=/&#(\d+);/g;function t(r,n){return String.fromCharCode(parseInt(n,10))}return function(n){return n.replace(e,t)}}();function w0e(e){return e.replace(/(\r\n|[\r\n])/g," ")}function Rs(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function yI(e){for(var t="",r=0,n=0,a=0,i=0,s=0,l=0;r191&&n<224){s=(n&31)<<6,s|=a&63,t+=String.fromCharCode(s);continue}if(i=e.charCodeAt(r++),n<240){t+=String.fromCharCode((n&15)<<12|(a&63)<<6|i&63);continue}s=e.charCodeAt(r++),l=((n&7)<<18|(a&63)<<12|(i&63)<<6|s&63)-65536,t+=String.fromCharCode(55296+(l>>>10&1023)),t+=String.fromCharCode(56320+(l&1023))}return t}function Uk(e){var t=Mm(2*e.length),r,n,a=1,i=0,s=0,l;for(n=0;n>>10&1023),r=56320+(r&1023)),s!==0&&(t[i++]=s&255,t[i++]=s>>>8,s=0),t[i++]=r%256,t[i++]=r>>>8;return t.slice(0,i).toString("ucs2")}function Nk(e){return yu(e,"binary").toString("utf8")}var sg="foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3",ys=Ir&&(Nk(sg)==yI(sg)&&Nk||Uk(sg)==yI(sg)&&Uk)||yI,lo=Ir?function(e){return yu(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,a=0;r>6))),t.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(a&63)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)))}return t.join("")},th=function(){var e={};return function(r,n){var a=r+"|"+(n||"");return e[a]?e[a]:e[a]=new RegExp("<(?:\\w+:)?"+r+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",n||"")}}(),q8=function(){var e=[["nbsp"," "],["middot","\xB7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]});return function(r){for(var n=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,` -`).replace(/<[^>]*>/g,""),a=0;a([\\s\\S]*?)","g")}}(),V0e=/<\/?(?:vt:)?variant>/g,R0e=/<(?:vt:)([^>]*)>([\s\S]*)"+t+""}function rh(e){return un(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function Nt(e,t,r){return"<"+e+(r!=null?rh(r):"")+(t!=null?(t.match(Z8)?' xml:space="preserve"':"")+">"+t+""}function FL(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function F0e(e,t){switch(typeof e){case"string":var r=Nt("vt:lpwstr",fs(e));return t&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return Nt((e|0)==e?"vt:i4":"vt:r8",fs(String(e)));case"boolean":return Nt("vt:bool",e?"true":"false")}if(e instanceof Date)return Nt("vt:filetime",FL(e));throw new Error("Unable to serialize "+e)}function tT(e){if(Ir&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e=="string")return e;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return ys(wm(KE(e)));throw new Error("Bad input format: expected Buffer or string")}var sh=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/mg,Pn={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},pc=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],fi={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function B0e(e,t){for(var r=1-2*(e[t+7]>>>7),n=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),a=e[t+6]&15,i=5;i>=0;--i)a=a*256+e[t+i];return n==2047?a==0?r*(1/0):NaN:(n==0?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}function H0e(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,i=0,s=n?-t:t;isFinite(s)?s==0?a=i=0:(a=Math.floor(Math.log(s)/Math.LN2),i=s*Math.pow(2,52-a),a<=-1023&&(!isFinite(i)||i>4|n}var xk=function(e){for(var t=[],r=10240,n=0;n0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:yu(t)})):xk(e)}:xk,Rk=function(e,t,r){for(var n=[],a=t;a0?Yh(e,t+4,t+4+r-1):""},J8=X8,Q8=function(e,t){var r=pi(e,t);return r>0?Yh(e,t+4,t+4+r-1):""},e7=Q8,t7=function(e,t){var r=2*pi(e,t);return r>0?Yh(e,t+4,t+4+r-1):""},r7=t7,s7=function(t,r){var n=pi(t,r);return n>0?rT(t,r+4,r+4+n):""},n7=s7,a7=function(e,t){var r=pi(e,t);return r>0?Yh(e,t+4,t+4+r):""},i7=a7,l7=function(e,t){return B0e(e,t)},PS=l7,sT=function(t){return Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array};Ir&&(J8=function(t,r){if(!Buffer.isBuffer(t))return X8(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},e7=function(t,r){if(!Buffer.isBuffer(t))return Q8(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},r7=function(t,r){if(!Buffer.isBuffer(t))return t7(t,r);var n=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n-1)},n7=function(t,r){if(!Buffer.isBuffer(t))return s7(t,r);var n=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n)},i7=function(t,r){if(!Buffer.isBuffer(t))return a7(t,r);var n=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+n)},PS=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):l7(t,r)},sT=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array});var Gc=function(e,t){return e[t]},qo=function(e,t){return e[t+1]*(1<<8)+e[t]},$0e=function(e,t){var r=e[t+1]*256+e[t];return r<32768?r:(65535-r+1)*-1},pi=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},f0=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},j0e=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Qd(e,t){var r="",n,a,i=[],s,l,o,u;switch(t){case"dbcs":if(u=this.l,Ir&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(o=0;o0?f0:j0e)(this,this.l),this.l+=4,n):(a=pi(this,this.l),this.l+=4,a);case 8:case-8:if(t==="f")return e==8?a=PS(this,this.l):a=PS([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,a;e=8;case 16:r=Y8(this,this.l,e);break}}return this.l+=e,r}var G0e=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},W0e=function(e,t,r){e[r]=t&255,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},z0e=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255};function K0e(e,t,r){var n=0,a=0;if(r==="dbcs"){for(a=0;a!=t.length;++a)z0e(this,t.charCodeAt(a),this.l+2*a);n=2*t.length}else if(r==="sbcs"){for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=t.charCodeAt(a)&255;n=t.length}else if(r==="hex"){for(;a>8}for(;this.l>>=8,this[this.l+1]=t&255;break;case 3:n=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:n=4,G0e(this,t,this.l);break;case 8:if(n=8,r==="f"){H0e(this,t,this.l);break}case 16:break;case-4:n=4,W0e(this,t,this.l);break}return this.l+=n,this}function o7(e,t){var r=Y8(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function ra(e,t){e.l=t,e.read_shift=Qd,e.chk=o7,e.write_shift=K0e}function ya(e,t){e.l+=t}function Dt(e){var t=Mm(e);return ra(t,0),t}function Mu(e,t,r){if(!!e){var n,a,i;ra(e,e.l||0);for(var s=e.length,l=0,o=0;e.ln.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&e.push(n),n=null)},i=function(u){return n&&u=128?1:0)+1,n>=128&&++i,n>=16384&&++i,n>=2097152&&++i;var s=e.next(i);a<=127?s.write_shift(1,a):(s.write_shift(1,(a&127)+128),s.write_shift(1,a>>7));for(var l=0;l!=4;++l)if(n>=128)s.write_shift(1,(n&127)+128),n>>=7;else{s.write_shift(1,n);break}n>0&&sT(r)&&e.push(r)}}function e1(e,t,r){var n=Hs(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function Hk(e,t,r){var n=Hs(e);return n.s=e1(n.s,t.s,r),n.e=e1(n.e,t.s,r),n}function t1(e,t){if(e.cRel&&e.c<0)for(e=Hs(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=Hs(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=ir(e);return!e.cRel&&e.cRel!=null&&(r=Y0e(r)),!e.rRel&&e.rRel!=null&&(r=q0e(r)),r}function MI(e,t){return e.s.r==0&&!e.s.rRel&&e.e.r==(t.biff>=12?1048575:t.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+Ys(e.s.c)+":"+(e.e.cRel?"":"$")+Ys(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(t.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+dn(e.s.r)+":"+(e.e.rRel?"":"$")+dn(e.e.r):t1(e.s,t.biff)+":"+t1(e.e,t.biff)}function nT(e){return parseInt(Z0e(e),10)-1}function dn(e){return""+(e+1)}function q0e(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Z0e(e){return e.replace(/\$(\d+)$/,"$1")}function aT(e){for(var t=X0e(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Ys(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Y0e(e){return e.replace(/^([A-Z])/,"$$$1")}function X0e(e){return e.replace(/^\$([A-Z])/,"$1")}function J0e(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Xs(e){for(var t=0,r=0,n=0;n=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function ir(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function si(e){var t=e.indexOf(":");return t==-1?{s:Xs(e),e:Xs(e)}:{s:Xs(e.slice(0,t)),e:Xs(e.slice(t+1))}}function hr(e,t){return typeof t>"u"||typeof t=="number"?hr(e.s,e.e):(typeof e!="string"&&(e=ir(e)),typeof t!="string"&&(t=ir(t)),e==t?e:e+":"+t)}function jr(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,i=e.length;for(r=0;n26);++n)r=26*r+a;for(t.s.c=--r,r=0;n9);++n)r=10*r+a;if(t.s.r=--r,n===i||a!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=i&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=i&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function $k(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=al(e.z,r?wn(t):t)}catch{}try{return e.w=al((e.XF||{}).numFmtId||(r?14:0),r?wn(t):t)}catch{return""+t}}function mu(e,t,r){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),e.t=="e"?Du[e.v]||e.v:t==null?$k(e,e.v):$k(e,t))}function xm(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function u7(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense,i=e||(a?[]:{}),s=0,l=0;if(i&&n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?Xs(n.origin):n.origin;s=o.r,l=o.c}i["!ref"]||(i["!ref"]="A1:A1")}var u={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var m=jr(i["!ref"]);u.s.c=m.s.c,u.s.r=m.s.r,u.e.c=Math.max(u.e.c,m.e.c),u.e.r=Math.max(u.e.r,m.e.r),s==-1&&(u.e.r=s=m.e.r+1)}for(var c=0;c!=t.length;++c)if(!!t[c]){if(!Array.isArray(t[c]))throw new Error("aoa_to_sheet expects an array of arrays");for(var f=0;f!=t[c].length;++f)if(!(typeof t[c][f]>"u")){var p={v:t[c][f]},h=s+c,d=l+f;if(u.s.r>h&&(u.s.r=h),u.s.c>d&&(u.s.c=d),u.e.r0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function ece(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function tce(e,t){return t||(t=Dt(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0),t}function iT(e,t){var r=e.l,n=e.read_shift(1),a=ga(e),i=[],s={t:a,h:a};if((n&1)!==0){for(var l=e.read_shift(4),o=0;o!=l;++o)i.push(ece(e));s.r=i}else s.r=[{ich:0,ifnt:0}];return e.l=r+t,s}function rce(e,t){var r=!1;return t==null&&(r=!0,t=Dt(15+4*e.t.length)),t.write_shift(1,0),$n(e.t,t),r?t.slice(0,t.l):t}var sce=iT;function nce(e,t){var r=!1;return t==null&&(r=!0,t=Dt(23+4*e.t.length)),t.write_shift(1,1),$n(e.t,t),t.write_shift(4,1),tce({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function ml(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function dc(e,t){return t==null&&(t=Dt(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function hc(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function _c(e,t){return t==null&&(t=Dt(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var ace=ga,m7=$n;function lT(e){var t=e.read_shift(4);return t===0||t===4294967295?"":e.read_shift(t,"dbcs")}function US(e,t){var r=!1;return t==null&&(r=!0,t=Dt(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var ice=ga,BL=lT,oT=US;function uT(e){var t=e.slice(e.l,e.l+4),r=t[0]&1,n=t[0]&2;e.l+=4;var a=n===0?PS([0,0,0,0,t[0]&252,t[1],t[2],t[3]],0):f0(t,0)>>2;return r?a/100:a}function c7(e,t){t==null&&(t=Dt(4));var r=0,n=0,a=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29?n=1:a==(a|0)&&a>=-(1<<29)&&a<1<<29&&(n=1,r=1),n)t.write_shift(-4,((r?a:e)<<2)+(r+2));else throw new Error("unsupported RkNumber "+e)}function f7(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}function lce(e,t){return t||(t=Dt(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t}var gc=f7,kp=lce;function ha(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function X0(e,t){return(t||Dt(8)).write_shift(8,e,"f")}function oce(e){var t={},r=e.read_shift(1),n=r>>>1,a=e.read_shift(1),i=e.read_shift(2,"i"),s=e.read_shift(1),l=e.read_shift(1),o=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=a;var u=k0[a];u&&(t.rgb=ah(u));break;case 2:t.rgb=ah([s,l,o]);break;case 3:t.theme=a;break}return i!=0&&(t.tint=i>0?i/32767:i/32768),t}function NS(e,t){if(t||(t=Dt(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;e.index!=null?(t.write_shift(1,2),t.write_shift(1,e.index)):e.theme!=null?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),!e.rgb||e.theme!=null)t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);else{var n=e.rgb||"FFFFFF";typeof n=="number"&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.slice(4,6),16)),t.write_shift(1,255)}return t}function uce(e){var t=e.read_shift(1);e.l++;var r={fBold:t&1,fItalic:t&2,fUnderline:t&4,fStrikeout:t&8,fOutline:t&16,fShadow:t&32,fCondense:t&64,fExtend:t&128};return r}function mce(e,t){t||(t=Dt(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t.write_shift(1,r),t.write_shift(1,0),t}function p7(e,t){var r={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},n=e.read_shift(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return r[e.read_shift(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return e.l-=4,e.read_shift(0,t==1?"lpstr":"lpwstr")}function cce(e){return p7(e,1)}function fce(e){return p7(e,2)}var mT=2,ja=3,ng=11,jk=12,wS=19,ag=64,pce=65,dce=71,hce=4108,_ce=4126,Rn=80,d7=81,gce=[Rn,d7],HL={1:{n:"CodePage",t:mT},2:{n:"Category",t:Rn},3:{n:"PresentationFormat",t:Rn},4:{n:"ByteCount",t:ja},5:{n:"LineCount",t:ja},6:{n:"ParagraphCount",t:ja},7:{n:"SlideCount",t:ja},8:{n:"NoteCount",t:ja},9:{n:"HiddenCount",t:ja},10:{n:"MultimediaClipCount",t:ja},11:{n:"ScaleCrop",t:ng},12:{n:"HeadingPairs",t:hce},13:{n:"TitlesOfParts",t:_ce},14:{n:"Manager",t:Rn},15:{n:"Company",t:Rn},16:{n:"LinksUpToDate",t:ng},17:{n:"CharacterCount",t:ja},19:{n:"SharedDoc",t:ng},22:{n:"HyperlinksChanged",t:ng},23:{n:"AppVersion",t:ja,p:"version"},24:{n:"DigSig",t:pce},26:{n:"ContentType",t:Rn},27:{n:"ContentStatus",t:Rn},28:{n:"Language",t:Rn},29:{n:"Version",t:Rn},255:{},2147483648:{n:"Locale",t:wS},2147483651:{n:"Behavior",t:wS},1919054434:{}},$L={1:{n:"CodePage",t:mT},2:{n:"Title",t:Rn},3:{n:"Subject",t:Rn},4:{n:"Author",t:Rn},5:{n:"Keywords",t:Rn},6:{n:"Comments",t:Rn},7:{n:"Template",t:Rn},8:{n:"LastAuthor",t:Rn},9:{n:"RevNumber",t:Rn},10:{n:"EditTime",t:ag},11:{n:"LastPrinted",t:ag},12:{n:"CreatedDate",t:ag},13:{n:"ModifiedDate",t:ag},14:{n:"PageCount",t:ja},15:{n:"WordCount",t:ja},16:{n:"CharCount",t:ja},17:{n:"Thumbnail",t:dce},18:{n:"Application",t:Rn},19:{n:"DocSecurity",t:ja},255:{},2147483648:{n:"Locale",t:wS},2147483651:{n:"Behavior",t:wS},1919054434:{}},Gk={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Sce=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function vce(e){return e.map(function(t){return[t>>16&255,t>>8&255,t&255]})}var yce=vce([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),k0=Hs(yce),Du={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},h7={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},jL={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},ig={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function cT(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function Mce(e){var t=cT();if(!e||!e.match)return t;var r={};if((e.match(Ia)||[]).forEach(function(n){var a=mr(n);switch(a[0].replace(k0e,"<")){case"0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}function _7(e,t){var r=D0e(jL),n=[],a;n[n.length]=hn,n[n.length]=Nt("Types",null,{xmlns:Pn.CT,"xmlns:xsd":Pn.xsd,"xmlns:xsi":Pn.xsi}),n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(o){return Nt("Default",null,{Extension:o[0],ContentType:o[1]})}));var i=function(o){e[o]&&e[o].length>0&&(a=e[o][0],n[n.length]=Nt("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:ig[o][t.bookType]||ig[o].xlsx}))},s=function(o){(e[o]||[]).forEach(function(u){n[n.length]=Nt("Override",null,{PartName:(u[0]=="/"?"":"/")+u,ContentType:ig[o][t.bookType]||ig[o].xlsx})})},l=function(o){(e[o]||[]).forEach(function(u){n[n.length]=Nt("Override",null,{PartName:(u[0]=="/"?"":"/")+u,ContentType:r[o][0]})})};return i("workbooks"),s("sheets"),s("charts"),l("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(l),l("vba"),l("comments"),l("threadedcomments"),l("drawings"),s("metadata"),l("people"),n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var br={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function nh(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function r1(e,t){var r={"!id":{}};if(!e)return r;t.charAt(0)!=="/"&&(t="/"+t);var n={};return(e.match(Ia)||[]).forEach(function(a){var i=mr(a);if(i[0]==="2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function cs(e,t,r,n,a,i){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,i?a.TargetMode=i:[br.HLINK,br.XPATH,br.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}var Dce="application/vnd.oasis.opendocument.spreadsheet";function Ice(e,t){for(var r=tT(e),n,a;n=sh.exec(r);)switch(n[3]){case"manifest":break;case"file-entry":if(a=mr(n[0],!1),a.path=="/"&&a.type!==Dce)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw n}}function Oce(e){var t=[hn];t.push(` -`),t.push(` -`);for(var r=0;r -`);return t.push(""),t.join("")}function Wk(e,t,r){return[' -`,' -`,` -`].join("")}function Lce(e,t){return[' -`,' -`,` -`].join("")}function bce(e){var t=[hn];t.push(` -`);for(var r=0;r!=e.length;++r)t.push(Wk(e[r][0],e[r][1])),t.push(Lce("",e[r][0]));return t.push(Wk("","Document","pkg")),t.push(""),t.join("")}function g7(){return'SheetJS '+CS.version+""}var el=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],Cce=function(){for(var e=new Array(el.length),t=0;t]*>([\\s\\S]*?)")}return e}();function S7(e){var t={};e=ys(e);for(var r=0;r0&&(t[n[1]]=$r(a[1])),n[2]==="date"&&t[n[1]]&&(t[n[1]]=Bs(t[n[1]]))}return t}function DI(e,t,r,n,a){a[e]!=null||t==null||t===""||(a[e]=t,t=fs(t),n[n.length]=r?Nt(e,t,r):na(e,t))}function v7(e,t){var r=t||{},n=[hn,Nt("cp:coreProperties",null,{"xmlns:cp":Pn.CORE_PROPS,"xmlns:dc":Pn.dc,"xmlns:dcterms":Pn.dcterms,"xmlns:dcmitype":Pn.dcmitype,"xmlns:xsi":Pn.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(e.CreatedDate!=null&&DI("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:FL(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),e.ModifiedDate!=null&&DI("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:FL(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var i=0;i!=el.length;++i){var s=el[i],l=r.Props&&r.Props[s[1]]!=null?r.Props[s[1]]:e?e[s[1]]:null;l===!0?l="1":l===!1?l="0":typeof l=="number"&&(l=String(l)),l!=null&&DI(s[0],l,null,n,a)}return n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var P0=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],y7=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function M7(e,t,r,n){var a=[];if(typeof e=="string")a=wk(e,n);else for(var i=0;i0)for(var u=0;u!==a.length;u+=2){switch(o=+a[u+1].v,a[u].v){case"Worksheets":case"\u5DE5\u4F5C\u8868":case"\u041B\u0438\u0441\u0442\u044B":case"\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0639\u0645\u0644":case"\u30EF\u30FC\u30AF\u30B7\u30FC\u30C8":case"\u05D2\u05DC\u05D9\u05D5\u05E0\u05D5\u05EA \u05E2\u05D1\u05D5\u05D3\u05D4":case"Arbeitsbl\xE4tter":case"\xC7al\u0131\u015Fma Sayfalar\u0131":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de c\xE1lculo":case"Planilhas":case"Regneark":case"Hojas de c\xE1lculo":case"Werkbladen":r.Worksheets=o,r.SheetNames=s.slice(l,l+o);break;case"Named Ranges":case"Rangos con nombre":case"\u540D\u524D\u4ED8\u304D\u4E00\u89A7":case"Benannte Bereiche":case"Navngivne omr\xE5der":r.NamedRanges=o,r.DefinedNames=s.slice(l,l+o);break;case"Charts":case"Diagramme":r.Chartsheets=o,r.ChartNames=s.slice(l,l+o);break}l+=o}}function Ece(e,t,r){var n={};return t||(t={}),e=ys(e),P0.forEach(function(a){var i=(e.match(th(a[0]))||[])[1];switch(a[2]){case"string":i&&(t[a[1]]=$r(i));break;case"bool":t[a[1]]=i==="true";break;case"raw":var s=e.match(new RegExp("<"+a[0]+"[^>]*>([\\s\\S]*?)"));s&&s.length>0&&(n[a[1]]=s[1]);break}}),n.HeadingPairs&&n.TitlesOfParts&&M7(n.HeadingPairs,n.TitlesOfParts,t,r),t}function D7(e){var t=[],r=Nt;return e||(e={}),e.Application="SheetJS",t[t.length]=hn,t[t.length]=Nt("Properties",null,{xmlns:Pn.EXT_PROPS,"xmlns:vt":Pn.vt}),P0.forEach(function(n){if(e[n[1]]!==void 0){var a;switch(n[2]){case"string":a=fs(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false";break}a!==void 0&&(t[t.length]=r(n[0],a))}}),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","Worksheets")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(n){return""+fs(n)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var Tce=/<[^>]+>[^<]*/g;function Ace(e,t){var r={},n="",a=e.match(Tce);if(a)for(var i=0;i!=a.length;++i){var s=a[i],l=mr(s);switch(l[0]){case"":n=null;break;default:if(s.indexOf(""),u=o[0].slice(4),m=o[1];switch(u){case"lpstr":case"bstr":case"lpwstr":r[n]=$r(m);break;case"bool":r[n]=Rs(m);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(m,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(m);break;case"filetime":case"date":r[n]=Bs(m);break;case"cy":case"error":r[n]=$r(m);break;default:if(u.slice(-1)=="/")break;t.WTF&&typeof console<"u"&&console.warn("Unexpected",s,u,o)}}else if(s.slice(0,2)!=="2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var GL={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},II;function kce(e,t,r){II||(II=by(GL)),t=II[t]||t,e[t]=r}function Pce(e,t){var r=[];return un(GL).map(function(n){for(var a=0;a'+a.join("")+""}function fT(e){var t=e.read_shift(4),r=e.read_shift(4);return new Date((r/1e7*Math.pow(2,32)+t/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function Nce(e){var t=typeof e=="string"?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,n=r%Math.pow(2,32),a=(r-n)/Math.pow(2,32);n*=1e7,a*=1e7;var i=n/Math.pow(2,32)|0;i>0&&(n=n%Math.pow(2,32),a+=i);var s=Dt(8);return s.write_shift(4,n),s.write_shift(4,a),s}function O7(e,t,r){var n=e.l,a=e.read_shift(0,"lpstr-cp");if(r)for(;e.l-n&3;)++e.l;return a}function L7(e,t,r){var n=e.read_shift(0,"lpwstr");return r&&(e.l+=4-(n.length+1&3)&3),n}function b7(e,t,r){return t===31?L7(e):O7(e,t,r)}function WL(e,t,r){return b7(e,t,r===!1?0:4)}function wce(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return b7(e,t,0)}function xce(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n){var a=e.l;r[n]=e.read_shift(0,"lpwstr").replace(Ua,""),e.l-a&2&&(e.l+=2)}return r}function Vce(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n)r[n]=e.read_shift(0,"lpstr-cp").replace(Ua,"");return r}function Rce(e){var t=e.l,r=xS(e,d7);e[e.l]==0&&e[e.l+1]==0&&e.l-t&2&&(e.l+=2);var n=xS(e,ja);return[r,n]}function Fce(e){for(var t=e.read_shift(4),r=[],n=0;n>2+1<<2),n}function C7(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(t&3)>0&&(e.l+=4-(t&3)&3),r}function Bce(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function xS(e,t,r){var n=e.read_shift(2),a,i=r||{};if(e.l+=2,t!==jk&&n!==t&&gce.indexOf(t)===-1&&!((t&65534)==4126&&(n&65534)==4126))throw new Error("Expected type "+t+" saw "+n);switch(t===jk?n:t){case 2:return a=e.read_shift(2,"i"),i.raw||(e.l+=2),a;case 3:return a=e.read_shift(4,"i"),a;case 11:return e.read_shift(4)!==0;case 19:return a=e.read_shift(4),a;case 30:return O7(e,n,4).replace(Ua,"");case 31:return L7(e);case 64:return fT(e);case 65:return C7(e);case 71:return Bce(e);case 80:return WL(e,n,!i.raw).replace(Ua,"");case 81:return wce(e,n).replace(Ua,"");case 4108:return Fce(e);case 4126:case 4127:return n==4127?xce(e):Vce(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+n)}}function Kk(e,t){var r=Dt(4),n=Dt(4);switch(r.write_shift(4,e==80?31:e),e){case 3:n.write_shift(-4,t);break;case 5:n=Dt(8),n.write_shift(8,t,"f");break;case 11:n.write_shift(4,t?1:0);break;case 64:n=Nce(t);break;case 31:case 80:for(n=Dt(4+2*(t.length+1)+(t.length%2?0:2)),n.write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return Hn([r,n])}function qk(e,t){var r=e.l,n=e.read_shift(4),a=e.read_shift(4),i=[],s=0,l=0,o=-1,u={};for(s=0;s!=a;++s){var m=e.read_shift(4),c=e.read_shift(4);i[s]=[m,c+r]}i.sort(function(g,S){return g[1]-S[1]});var f={};for(s=0;s!=a;++s){if(e.l!==i[s][1]){var p=!0;if(s>0&&t)switch(t[i[s-1][0]].t){case 2:e.l+2===i[s][1]&&(e.l+=2,p=!1);break;case 80:e.l<=i[s][1]&&(e.l=i[s][1],p=!1);break;case 4108:e.l<=i[s][1]&&(e.l=i[s][1],p=!1);break}if((!t||s==0)&&e.l<=i[s][1]&&(p=!1,e.l=i[s][1]),p)throw new Error("Read Error: Expected address "+i[s][1]+" at "+e.l+" :"+s)}if(t){var h=t[i[s][0]];if(f[h.n]=xS(e,h.t,{raw:!0}),h.p==="version"&&(f[h.n]=String(f[h.n]>>16)+"."+("0000"+String(f[h.n]&65535)).slice(-4)),h.n=="CodePage")switch(f[h.n]){case 0:f[h.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:Ol(l=f[h.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+f[h.n])}}else if(i[s][0]===1){if(l=f.CodePage=xS(e,mT),Ol(l),o!==-1){var d=e.l;e.l=i[o][1],u=zk(e,l),e.l=d}}else if(i[s][0]===0){if(l===0){o=s,e.l=i[s+1][1];continue}u=zk(e,l)}else{var _=u[i[s][0]],y;switch(e[e.l]){case 65:e.l+=4,y=C7(e);break;case 30:e.l+=4,y=WL(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4,y=WL(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,y=e.read_shift(4,"i");break;case 19:e.l+=4,y=e.read_shift(4);break;case 5:e.l+=4,y=e.read_shift(8,"f");break;case 11:e.l+=4,y=mn(e,4);break;case 64:e.l+=4,y=Bs(fT(e));break;default:throw new Error("unparsed value: "+e[e.l])}f[_]=y}}return e.l=r+n,f}var E7=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Hce(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function Zk(e,t,r){var n=Dt(8),a=[],i=[],s=8,l=0,o=Dt(8),u=Dt(8);if(o.write_shift(4,2),o.write_shift(4,1200),u.write_shift(4,1),i.push(o),a.push(u),s+=8+o.length,!t){u=Dt(8),u.write_shift(4,0),a.unshift(u);var m=[Dt(4)];for(m[0].write_shift(4,e.length),l=0;l-1||y7.indexOf(e[l][0])>-1)&&e[l][1]!=null){var f=e[l][1],p=0;if(t){p=+t[e[l][0]];var h=r[p];if(h.p=="version"&&typeof f=="string"){var d=f.split(".");f=(+d[0]<<16)+(+d[1]||0)}o=Kk(h.t,f)}else{var _=Hce(f);_==-1&&(_=31,f=String(f)),o=Kk(_,f)}i.push(o),u=Dt(8),u.write_shift(4,t?p:2+l),a.push(u),s+=8+o.length}var y=8*(i.length+1);for(l=0;l=12?2:1),a="sbcs-cont";if(r&&r.biff>=8,!r||r.biff==8){var i=e.read_shift(1);i&&(a="dbcs-cont")}else r.biff==12&&(a="wstr");r.biff>=2&&r.biff<=5&&(a="cpstr");var s=n?e.read_shift(n,a):"";return s}function Wce(e){var t=e.read_shift(2),r=e.read_shift(1),n=r&4,a=r&8,i=1+(r&1),s=0,l,o={};a&&(s=e.read_shift(2)),n&&(l=e.read_shift(4));var u=i==2?"dbcs-cont":"sbcs-cont",m=t===0?"":e.read_shift(t,u);return a&&(e.l+=4*s),n&&(e.l+=l),o.t=m,a||(o.raw=""+o.t+"",o.r=o.t),o}function zce(e){var t=e.t||"",r=Dt(3+0);r.write_shift(2,t.length),r.write_shift(1,1);var n=Dt(2*t.length);n.write_shift(2*t.length,t,"utf16le");var a=[r,n];return Hn(a)}function J0(e,t,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var a=e.read_shift(1);return a===0?n=e.read_shift(t,"sbcs-cont"):n=e.read_shift(t,"dbcs-cont"),n}function Jh(e,t,r){var n=e.read_shift(r&&r.biff==2?1:2);return n===0?(e.l++,""):J0(e,n,r)}function Sc(e,t,r){if(r.biff>5)return Jh(e,t,r);var n=e.read_shift(1);return n===0?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function k7(e,t,r){return r||(r=Dt(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function Kce(e){var t=e.read_shift(1);e.l++;var r=e.read_shift(2);return e.l+=2,[t,r]}function qce(e){var t=e.read_shift(4),r=e.l,n=!1;t>24&&(e.l+=t-24,e.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(n=!0),e.l=r);var a=e.read_shift((n?t-24:t)>>1,"utf16le").replace(Ua,"");return n&&(e.l+=24),a}function Zce(e){for(var t=e.read_shift(2),r="";t-- >0;)r+="../";var n=e.read_shift(0,"lpstr-ansi");if(e.l+=2,e.read_shift(2)!=57005)throw new Error("Bad FileMoniker");var a=e.read_shift(4);if(a===0)return r+n.replace(/\\/g,"/");var i=e.read_shift(4);if(e.read_shift(2)!=3)throw new Error("Bad FileMoniker");var s=e.read_shift(i>>1,"utf16le").replace(Ua,"");return r+s}function Yce(e,t){var r=e.read_shift(16);switch(r){case"e0c9ea79f9bace118c8200aa004ba90b":return qce(e);case"0303000000000000c000000000000046":return Zce(e);default:throw new Error("Unsupported Moniker "+r)}}function lg(e){var t=e.read_shift(4),r=t>0?e.read_shift(t,"utf16le").replace(Ua,""):"";return r}function Jk(e,t){t||(t=Dt(6+e.length*2)),t.write_shift(4,1+e.length);for(var r=0;r-1?31:23;switch(n.charAt(0)){case"#":i=28;break;case".":i&=-3;break}t.write_shift(4,2),t.write_shift(4,i);var s=[8,6815827,6619237,4849780,83];for(r=0;r-1?n.slice(0,a):n;for(t.write_shift(4,2*(l.length+1)),r=0;r-1?n.slice(a+1):"",t)}else{for(s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r8?4:2,a=e.read_shift(n),i=e.read_shift(n,"i"),s=e.read_shift(n,"i");return[a,i,s]}function N7(e){var t=e.read_shift(2),r=uT(e);return[t,r]}function rfe(e,t,r){e.l+=4,t-=4;var n=e.l+t,a=Xh(e,t,r),i=e.read_shift(2);if(n-=e.l,i!==n)throw new Error("Malformed AddinUdf: padding = "+n+" != "+i);return e.l+=i,a}function Ty(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),a=e.read_shift(2);return{s:{c:n,r:t},e:{c:a,r}}}function w7(e,t){return t||(t=Dt(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function x7(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(1),a=e.read_shift(1);return{s:{c:n,r:t},e:{c:a,r}}}var sfe=x7;function V7(e){e.l+=4;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2);return e.l+=12,[r,t,n]}function nfe(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}function afe(e){var t={};return e.l+=4,e.cf=e.read_shift(2),t}function ua(e){e.l+=2,e.l+=e.read_shift(2)}var ife={0:ua,4:ua,5:ua,6:ua,7:afe,8:ua,9:ua,10:ua,11:ua,12:ua,13:nfe,14:ua,15:ua,16:ua,17:ua,18:ua,19:ua,20:ua,21:V7};function lfe(e,t){for(var r=e.l+t,n=[];e.l=2&&(r.dt=e.read_shift(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e.read_shift(t),r}function pT(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var i=Dt(a);return i.write_shift(2,n),i.write_shift(2,t),a>4&&i.write_shift(2,29282),a>6&&i.write_shift(2,1997),a>8&&(i.write_shift(2,49161),i.write_shift(2,1),i.write_shift(2,1798),i.write_shift(2,0)),i}function ofe(e,t){return t===0||e.read_shift(2),1200}function ufe(e,t,r){if(r.enc)return e.l+=t,"";var n=e.l,a=Sc(e,0,r);return e.read_shift(t+n-e.l),a}function mfe(e,t){var r=!t||t.biff==8,n=Dt(r?112:54);for(n.write_shift(t.biff==8?2:1,7),r&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(r?0:536870912));n.l=8?2:1,n=Dt(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function dfe(e,t){for(var r=e.l+t,n=e.read_shift(4),a=e.read_shift(4),i=[],s=0;s!=a&&e.l>15),a&=32767);var i={Unsynced:n&1,DyZero:(n&2)>>1,ExAsc:(n&4)>>2,ExDsc:(n&8)>>3};return[i,a]}function yfe(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),a=e.read_shift(2),i=e.read_shift(2),s=e.read_shift(2),l=e.read_shift(2),o=e.read_shift(2),u=e.read_shift(2);return{Pos:[t,r],Dim:[n,a],Flags:i,CurTab:s,FirstTab:l,Selected:o,TabRatio:u}}function Mfe(){var e=Dt(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function Dfe(e,t,r){if(r&&r.biff>=2&&r.biff<5)return{};var n=e.read_shift(2);return{RTL:n&64}}function Ife(e){var t=Dt(18),r=1718;return e&&e.RTL&&(r|=64),t.write_shift(2,r),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}function Ofe(){}function Lfe(e,t,r){var n={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}return n.name=Xh(e,0,r),n}function bfe(e,t){var r=e.name||"Arial",n=t&&t.biff==5,a=n?15+r.length:16+2*r.length,i=Dt(a);return i.write_shift(2,(e.sz||12)*20),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,r.length),n||i.write_shift(1,1),i.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le"),i}function Cfe(e){var t=Oo(e);return t.isst=e.read_shift(4),t}function Efe(e,t,r,n){var a=Dt(10);return Q0(e,t,n,a),a.write_shift(4,r),a}function Tfe(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=e.l+t,a=Oo(e);r.biff==2&&e.l++;var i=Jh(e,n-e.l,r);return a.val=i,a}function Afe(e,t,r,n,a){var i=!a||a.biff==8,s=Dt(6+2+ +i+(1+i)*r.length);return Q0(e,t,n,s),s.write_shift(2,r.length),i&&s.write_shift(1,1),s.write_shift((1+i)*r.length,r,i?"utf16le":"sbcs"),s}function kfe(e,t,r){var n=e.read_shift(2),a=Sc(e,0,r);return[n,a]}function Pfe(e,t,r,n){var a=r&&r.biff==5;n||(n=Dt(a?3+t.length:5+2*t.length)),n.write_shift(2,e),n.write_shift(a?1:2,t.length),a||n.write_shift(1,1),n.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var i=n.length>n.l?n.slice(0,n.l):n;return i.l==null&&(i.l=i.length),i}var Ufe=Sc;function eP(e,t,r){var n=e.l+t,a=r.biff==8||!r.biff?4:2,i=e.read_shift(a),s=e.read_shift(a),l=e.read_shift(2),o=e.read_shift(2);return e.l=n,{s:{r:i,c:l},e:{r:s,c:o}}}function Nfe(e,t){var r=t.biff==8||!t.biff?4:2,n=Dt(2*r+6);return n.write_shift(r,e.s.r),n.write_shift(r,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}function wfe(e){var t=e.read_shift(2),r=e.read_shift(2),n=N7(e);return{r:t,c:r,ixfe:n[0],rknum:n[1]}}function xfe(e,t){for(var r=e.l+t-2,n=e.read_shift(2),a=e.read_shift(2),i=[];e.l>26],n.cellStyles&&(a.alc=i&7,a.fWrap=i>>3&1,a.alcV=i>>4&7,a.fJustLast=i>>7&1,a.trot=i>>8&255,a.cIndent=i>>16&15,a.fShrinkToFit=i>>20&1,a.iReadOrder=i>>22&2,a.fAtrNum=i>>26&1,a.fAtrFnt=i>>27&1,a.fAtrAlc=i>>28&1,a.fAtrBdr=i>>29&1,a.fAtrPat=i>>30&1,a.fAtrProt=i>>31&1,a.dgLeft=s&15,a.dgRight=s>>4&15,a.dgTop=s>>8&15,a.dgBottom=s>>12&15,a.icvLeft=s>>16&127,a.icvRight=s>>23&127,a.grbitDiag=s>>30&3,a.icvTop=l&127,a.icvBottom=l>>7&127,a.icvDiag=l>>14&127,a.dgDiag=l>>21&15,a.icvFore=o&127,a.icvBack=o>>7&127,a.fsxButton=o>>14&1),a}function Ffe(e,t,r){var n={};return n.ifnt=e.read_shift(2),n.numFmtId=e.read_shift(2),n.flags=e.read_shift(2),n.fStyle=n.flags>>2&1,t-=6,n.data=Rfe(e,t,n.fStyle,r),n}function tP(e,t,r,n){var a=r&&r.biff==5;n||(n=Dt(a?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4));var i=0;return e.numFmtId>0&&a&&(i|=1024),n.write_shift(4,i),n.write_shift(4,0),a||n.write_shift(4,0),n.write_shift(2,0),n}function Bfe(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(t[0]!==0&&t[0]--,t[1]!==0&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function Hfe(e){var t=Dt(8);return t.write_shift(4,0),t.write_shift(2,e[0]?e[0]+1:0),t.write_shift(2,e[1]?e[1]+1:0),t}function rP(e,t,r){var n=Oo(e);(r.biff==2||t==9)&&++e.l;var a=Gce(e);return n.val=a,n.t=a===!0||a===!1?"b":"e",n}function $fe(e,t,r,n,a,i){var s=Dt(8);return Q0(e,t,n,s),A7(r,i,s),s}function jfe(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=Oo(e),a=ha(e);return n.val=a,n}function Gfe(e,t,r,n){var a=Dt(14);return Q0(e,t,n,a),X0(r,a),a}var sP=efe;function Wfe(e,t,r){var n=e.l+t,a=e.read_shift(2),i=e.read_shift(2);if(r.sbcch=i,i==1025||i==14849)return[i,a];if(i<1||i>255)throw new Error("Unexpected SupBook type: "+i);for(var s=J0(e,i),l=[];n>e.l;)l.push(Jh(e));return[i,a,s,l]}function nP(e,t,r){var n=e.read_shift(2),a,i={fBuiltIn:n&1,fWantAdvise:n>>>1&1,fWantPict:n>>>2&1,fOle:n>>>3&1,fOleLink:n>>>4&1,cf:n>>>5&1023,fIcon:n>>>15&1};return r.sbcch===14849&&(a=rfe(e,t-2,r)),i.body=a||e.read_shift(t-2),typeof a=="string"&&(i.Name=a),i}var zfe=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function aP(e,t,r){var n=e.l+t,a=e.read_shift(2),i=e.read_shift(1),s=e.read_shift(1),l=e.read_shift(r&&r.biff==2?1:2),o=0;(!r||r.biff>=5)&&(r.biff!=5&&(e.l+=2),o=e.read_shift(2),r.biff==5&&(e.l+=2),e.l+=4);var u=J0(e,s,r);a&32&&(u=zfe[u.charCodeAt(0)]);var m=n-e.l;r&&r.biff==2&&--m;var c=n==e.l||l===0||!(m>0)?[]:l_e(e,m,r,l);return{chKey:i,Name:u,itab:o,rgce:c}}function R7(e,t,r){if(r.biff<8)return Kfe(e,t,r);for(var n=[],a=e.l+t,i=e.read_shift(r.biff>8?4:2);i--!==0;)n.push(tfe(e,r.biff>8?12:6,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function Kfe(e,t,r){e[e.l+1]==3&&e[e.l]++;var n=Xh(e,t,r);return n.charCodeAt(0)==3?n.slice(1):n}function qfe(e,t,r){if(r.biff<8){e.l+=t;return}var n=e.read_shift(2),a=e.read_shift(2),i=J0(e,n,r),s=J0(e,a,r);return[i,s]}function Zfe(e,t,r){var n=x7(e);e.l++;var a=e.read_shift(1);return t-=8,[o_e(e,t,r),a,n]}function iP(e,t,r){var n=sfe(e);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[n,a_e(e,t,r)]}function Yfe(e){var t=e.read_shift(4)!==0,r=e.read_shift(4)!==0,n=e.read_shift(4);return[t,r,n]}function Xfe(e,t,r){if(!(r.biff<8)){var n=e.read_shift(2),a=e.read_shift(2),i=e.read_shift(2),s=e.read_shift(2),l=Sc(e,0,r);return r.biff<8&&e.read_shift(1),[{r:n,c:a},l,s,i]}}function Jfe(e,t,r){return Xfe(e,t,r)}function Qfe(e,t){for(var r=[],n=e.read_shift(2);n--;)r.push(Ty(e));return r}function epe(e){var t=Dt(2+e.length*8);t.write_shift(2,e.length);for(var r=0;r=(m?l:2*l))break}if(a.length!==l&&a.length!==l*2)throw new Error("cchText: "+l+" != "+a.length);return e.l=n+t,{t:a}}catch{return e.l=n+t,{t:a}}}function ape(e,t){var r=Ty(e);e.l+=16;var n=Xce(e,t-24);return[r,n]}function ipe(e){var t=Dt(24),r=Xs(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t.write_shift(1,parseInt(n[a],16));return Hn([t,Jce(e[1])])}function lpe(e,t){e.read_shift(2);var r=Ty(e),n=e.read_shift((t-10)/2,"dbcs-cont");return n=n.replace(Ua,""),[r,n]}function ope(e){var t=e[1].Tooltip,r=Dt(10+2*(t.length+1));r.write_shift(2,2048);var n=Xs(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var a=0;a0;)r.push(U7(e));return r}function fpe(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(U7(e));return r}function ppe(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t}function F7(e,t,r){if(!r.cellStyles)return ya(e,t);var n=r&&r.biff>=12?4:2,a=e.read_shift(n),i=e.read_shift(n),s=e.read_shift(n),l=e.read_shift(n),o=e.read_shift(2);n==2&&(e.l+=2);var u={s:a,e:i,w:s,ixfe:l,flags:o};return(r.biff>=5||!r.biff)&&(u.level=o>>8&7),u}function dpe(e,t){var r=Dt(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,e.width*256),r.write_shift(2,0);var n=0;return e.hidden&&(n|=1),r.write_shift(1,n),n=e.level||0,r.write_shift(1,n),r.write_shift(2,0),r}function hpe(e,t){var r={};return t<32||(e.l+=16,r.header=ha(e),r.footer=ha(e),e.l+=2),r}function _pe(e,t,r){var n={area:!1};if(r.biff!=5)return e.l+=t,n;var a=e.read_shift(1);return e.l+=3,a&16&&(n.area=!0),n}function gpe(e){for(var t=Dt(2*e),r=0;r1048576&&(d=1e6),c!=2&&(_=m.read_shift(2));var y=m.read_shift(2),g=o.codepage||1252;c!=2&&(m.l+=16,m.read_shift(1),m[m.l]!==0&&(g=e[m[m.l]]),m.l+=1,m.l+=2),h&&(m.l+=36);for(var S=[],v={},M=Math.min(m.length,c==2?521:_-10-(p?264:0)),I=h?32:11;m.l0;){if(m[m.l]===42){m.l+=y;continue}for(++m.l,u[++D]=[],k=0,k=0;k!=S.length;++k){var E=m.slice(m.l,m.l+S[k].len);m.l+=S[k].len,ra(E,0);var z=Ku.utils.decode(g,E);switch(S[k].type){case"C":z.trim().length&&(u[D][k]=z.replace(/\s+$/,""));break;case"D":z.length===8?u[D][k]=new Date(+z.slice(0,4),+z.slice(4,6)-1,+z.slice(6,8)):u[D][k]=z;break;case"F":u[D][k]=parseFloat(z.trim());break;case"+":case"I":u[D][k]=h?E.read_shift(-4,"i")^2147483648:E.read_shift(4,"i");break;case"L":switch(z.trim().toUpperCase()){case"Y":case"T":u[D][k]=!0;break;case"N":case"F":u[D][k]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+z+"|")}break;case"M":if(!f)throw new Error("DBF Unexpected MEMO for type "+c.toString(16));u[D][k]="##MEMO##"+(h?parseInt(z.trim(),10):E.read_shift(4));break;case"N":z=z.replace(/\u0000/g,"").trim(),z&&z!="."&&(u[D][k]=+z||0);break;case"@":u[D][k]=new Date(E.read_shift(-8,"f")-621356832e5);break;case"T":u[D][k]=new Date((E.read_shift(4)-2440588)*864e5+E.read_shift(4));break;case"Y":u[D][k]=E.read_shift(4,"i")/1e4+E.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":u[D][k]=-E.read_shift(-8,"f");break;case"B":if(p&&S[k].len==8){u[D][k]=E.read_shift(8,"f");break}case"G":case"P":E.l+=S[k].len;break;case"0":if(S[k].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+S[k].type)}}}if(c!=2&&m.l=0&&Ol(+u.codepage),u.type=="string")throw new Error("Cannot write DBF to JS string");var m=ei(),c=FS(l,{header:1,raw:!0,cellDates:!0}),f=c[0],p=c.slice(1),h=l["!cols"]||[],d=0,_=0,y=0,g=1;for(d=0;d250&&(E=250),k=((h[d]||{}).DBF||{}).type,k=="C"&&h[d].DBF.len>E&&(E=h[d].DBF.len),D=="B"&&k=="N"&&(D="N",I[d]=h[d].DBF.dec,E=h[d].DBF.len),M[d]=D=="C"||k=="N"?E:i[D]||0,g+=M[d],v[d]=D}var B=m.next(32);for(B.write_shift(4,318902576),B.write_shift(4,p.length),B.write_shift(2,296+32*y),B.write_shift(2,g),d=0;d<4;++d)B.write_shift(4,0);for(B.write_shift(4,0|(+t[C8]||3)<<8),d=0,_=0;d":190,"?":191,"{":223},t=new RegExp("\x1BN("+un(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(f,p){var h=e[p];return typeof h=="number"?gk(h):h},n=function(f,p,h){var d=p.charCodeAt(0)-32<<4|h.charCodeAt(0)-48;return d==59?f:gk(d)};e["|"]=254;function a(f,p){switch(p.type){case"base64":return i(Oi(f),p);case"binary":return i(f,p);case"buffer":return i(Ir&&Buffer.isBuffer(f)?f.toString("binary"):wm(f),p);case"array":return i(Y0(f),p)}throw new Error("Unrecognized type "+p.type)}function i(f,p){var h=f.split(/[\n\r]+/),d=-1,_=-1,y=0,g=0,S=[],v=[],M=null,I={},D=[],k=[],E=[],z=0,B;for(+p.codepage>=0&&Ol(+p.codepage);y!==h.length;++y){z=0;var P=h[y].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),F=P.replace(/;;/g,"\0").split(";").map(function(Z){return Z.replace(/\u0000/g,";")}),L=F[0],H;if(P.length>0)switch(L){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":F[1].charAt(0)=="P"&&v.push(P.slice(3).replace(/;;/g,";"));break;case"C":var ie=!1,G=!1,pe=!1,W=!1,ce=-1,J=-1;for(g=1;g-1&&S[ce][J];if(!V||!V[1])throw new Error("SYLK shared formula cannot find base");S[d][_][1]=nF(V[1],{r:d-ce,c:_-J})}break;case"F":var Y=0;for(g=1;g0?(D[d].hpt=z,D[d].hpx=Jf(z)):z===0&&(D[d].hidden=!0);break;default:if(p&&p.WTF)throw new Error("SYLK bad record "+P)}Y<1&&(M=null);break;default:if(p&&p.WTF)throw new Error("SYLK bad record "+P)}}return D.length>0&&(I["!rows"]=D),k.length>0&&(I["!cols"]=k),p&&p.sheetRows&&(S=S.slice(0,p.sheetRows)),[S,I]}function s(f,p){var h=a(f,p),d=h[0],_=h[1],y=Ap(d,p);return un(_).forEach(function(g){y[g]=_[g]}),y}function l(f,p){return xm(s(f,p),p)}function o(f,p,h,d){var _="C;Y"+(h+1)+";X"+(d+1)+";K";switch(f.t){case"n":_+=f.v||0,f.f&&!f.F&&(_+=";E"+vT(f.f,{r:h,c:d}));break;case"b":_+=f.v?"TRUE":"FALSE";break;case"e":_+=f.w||f.v;break;case"d":_+='"'+(f.w||f.v)+'"';break;case"s":_+='"'+f.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return _}function u(f,p){p.forEach(function(h,d){var _="F;W"+(d+1)+" "+(d+1)+" ";h.hidden?_+="0":(typeof h.width=="number"&&!h.wpx&&(h.wpx=ih(h.width)),typeof h.wpx=="number"&&!h.wch&&(h.wch=lh(h.wpx)),typeof h.wch=="number"&&(_+=Math.round(h.wch))),_.charAt(_.length-1)!=" "&&f.push(_)})}function m(f,p){p.forEach(function(h,d){var _="F;";h.hidden?_+="M0;":h.hpt?_+="M"+20*h.hpt+";":h.hpx&&(_+="M"+20*oh(h.hpx)+";"),_.length>2&&f.push(_+"R"+(d+1))})}function c(f,p){var h=["ID;PWXL;N;E"],d=[],_=jr(f["!ref"]),y,g=Array.isArray(f),S=`\r -`;h.push("P;PGeneral"),h.push("F;P0;DG0G8;M255"),f["!cols"]&&u(h,f["!cols"]),f["!rows"]&&m(h,f["!rows"]),h.push("B;Y"+(_.e.r-_.s.r+1)+";X"+(_.e.c-_.s.c+1)+";D"+[_.s.c,_.s.r,_.e.c,_.e.r].join(" "));for(var v=_.s.r;v<=_.e.r;++v)for(var M=_.s.c;M<=_.e.c;++M){var I=ir({r:v,c:M});y=g?(f[v]||[])[M]:f[I],!(!y||y.v==null&&(!y.f||y.F))&&d.push(o(y,f,v,M))}return h.join(S)+S+d.join(S)+S+"E"+S}return{to_workbook:l,to_sheet:s,from_sheet:c}}(),H7=function(){function e(i,s){switch(s.type){case"base64":return t(Oi(i),s);case"binary":return t(i,s);case"buffer":return t(Ir&&Buffer.isBuffer(i)?i.toString("binary"):wm(i),s);case"array":return t(Y0(i),s)}throw new Error("Unrecognized type "+s.type)}function t(i,s){for(var l=i.split(` -`),o=-1,u=-1,m=0,c=[];m!==l.length;++m){if(l[m].trim()==="BOT"){c[++o]=[],u=0;continue}if(!(o<0)){var f=l[m].trim().split(","),p=f[0],h=f[1];++m;for(var d=l[m]||"";(d.match(/["]/g)||[]).length&1&&m=0&&h[d].length===0;)--d;for(var _=10,y=0,g=0;g<=d;++g)y=h[g].indexOf(" "),y==-1?y=h[g].length:y++,_=Math.max(_,y);for(g=0;g<=d;++g){p[g]=[];var S=0;for(e(h[g].slice(0,_).trim(),p,g,S,f),S=1;S<=(h[g].length-_)/10+1;++S)e(h[g].slice(_+(S-1)*10,_+S*10).trim(),p,g,S,f)}return f.sheetRows&&(p=p.slice(0,f.sheetRows)),p}var r={44:",",9:" ",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function a(m){for(var c={},f=!1,p=0,h=0;p0&&z(),h["!ref"]=hr(d),h}function s(m,c){return!(c&&c.PRN)||c.FS||m.slice(0,4)=="sep="||m.indexOf(" ")>=0||m.indexOf(",")>=0||m.indexOf(";")>=0?i(m,c):Ap(t(m,c),c)}function l(m,c){var f="",p=c.type=="string"?[0,0,0,0]:CT(m,c);switch(c.type){case"base64":f=Oi(m);break;case"binary":f=m;break;case"buffer":c.codepage==65001?f=m.toString("utf8"):c.codepage&&typeof Ku<"u"?f=Ku.utils.decode(c.codepage,m):f=Ir&&Buffer.isBuffer(m)?m.toString("binary"):wm(m);break;case"array":f=Y0(m);break;case"string":f=m;break;default:throw new Error("Unrecognized type "+c.type)}return p[0]==239&&p[1]==187&&p[2]==191?f=ys(f.slice(3)):c.type!="string"&&c.type!="buffer"&&c.codepage==65001?f=ys(f):c.type=="binary"&&typeof Ku<"u"&&c.codepage&&(f=Ku.utils.decode(c.codepage,Ku.utils.encode(28591,f))),f.slice(0,19)=="socialcalc:version:"?$7.to_sheet(c.type=="string"?f:ys(f),c):s(f,c)}function o(m,c){return xm(l(m,c),c)}function u(m){for(var c=[],f=jr(m["!ref"]),p,h=Array.isArray(m),d=f.s.r;d<=f.e.r;++d){for(var _=[],y=f.s.c;y<=f.e.c;++y){var g=ir({r:d,c:y});if(p=h?(m[d]||[])[y]:m[g],!p||p.v==null){_.push(" ");continue}for(var S=(p.w||(mu(p),p.w)||"").slice(0,10);S.length<10;)S+=" ";_.push(S+(y===0?" ":""))}c.push(_.join(""))}return c.join(` -`)}return{to_workbook:o,to_sheet:l,from_sheet:u}}();function kpe(e,t){var r=t||{},n=!!r.WTF;r.WTF=!0;try{var a=B7.to_workbook(e,r);return r.WTF=n,a}catch(i){if(r.WTF=n,!i.message.match(/SYLK bad record ID/)&&n)throw i;return Xf.to_workbook(e,t)}}var U0=function(){function e(R,V,Y){if(!!R){ra(R,R.l||0);for(var Z=Y.Enum||ce;R.l=16&&R[14]==5&&R[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(R[2]==2)Y.Enum=ce,e(R,function(K,q,ge){switch(ge){case 0:Y.vers=K,K>=4096&&(Y.qpro=!0);break;case 6:Ne=K;break;case 204:K&&(Je=K);break;case 222:Je=K;break;case 15:case 51:Y.qpro||(K[1].v=K[1].v.slice(1));case 13:case 14:case 16:ge==14&&(K[2]&112)==112&&(K[2]&15)>1&&(K[2]&15)<15&&(K[1].z=Y.dateNF||ar[14],Y.cellDates&&(K[1].t="d",K[1].v=Ey(K[1].v))),Y.qpro&&K[3]>xe&&(Z["!ref"]=hr(Ne),be[Re]=Z,et.push(Re),Z=Y.dense?[]:{},Ne={s:{r:0,c:0},e:{r:0,c:0}},xe=K[3],Re=Je||"Sheet"+(xe+1),Je="");var Be=Y.dense?(Z[K[0].r]||[])[K[0].c]:Z[ir(K[0])];if(Be){Be.t=K[1].t,Be.v=K[1].v,K[1].z!=null&&(Be.z=K[1].z),K[1].f!=null&&(Be.f=K[1].f);break}Y.dense?(Z[K[0].r]||(Z[K[0].r]=[]),Z[K[0].r][K[0].c]=K[1]):Z[ir(K[0])]=K[1];break}},Y);else if(R[2]==26||R[2]==14)Y.Enum=J,R[2]==14&&(Y.qpro=!0,R.l=0),e(R,function(K,q,ge){switch(ge){case 204:Re=K;break;case 22:K[1].v=K[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(K[3]>xe&&(Z["!ref"]=hr(Ne),be[Re]=Z,et.push(Re),Z=Y.dense?[]:{},Ne={s:{r:0,c:0},e:{r:0,c:0}},xe=K[3],Re="Sheet"+(xe+1)),vt>0&&K[0].r>=vt)break;Y.dense?(Z[K[0].r]||(Z[K[0].r]=[]),Z[K[0].r][K[0].c]=K[1]):Z[ir(K[0])]=K[1],Ne.e.c=0&&Ol(+Y.codepage),Y.type=="string")throw new Error("Cannot write WK1 to JS string");var Z=ei(),Re=jr(R["!ref"]),Je=Array.isArray(R),xe=[];wt(Z,0,i(1030)),wt(Z,6,o(Re));for(var be=Math.min(Re.e.r,8191),et=Re.s.r;et<=be;++et)for(var Pe=dn(et),Ne=Re.s.c;Ne<=Re.e.c;++Ne){et===Re.s.r&&(xe[Ne]=Ys(Ne));var vt=xe[Ne]+Pe,T=Je?(R[et]||[])[Ne]:R[vt];if(!(!T||T.t=="z"))if(T.t=="n")(T.v|0)==T.v&&T.v>=-32768&&T.v<=32767?wt(Z,13,p(et,Ne,T.v)):wt(Z,14,d(et,Ne,T.v));else{var we=mu(T);wt(Z,15,c(et,Ne,we.slice(0,239)))}}return wt(Z,1),Z.end()}function a(R,V){var Y=V||{};if(+Y.codepage>=0&&Ol(+Y.codepage),Y.type=="string")throw new Error("Cannot write WK3 to JS string");var Z=ei();wt(Z,0,s(R));for(var Re=0,Je=0;Re8191&&(Y=8191),V.write_shift(2,Y),V.write_shift(1,Re),V.write_shift(1,Z),V.write_shift(2,0),V.write_shift(2,0),V.write_shift(1,1),V.write_shift(1,2),V.write_shift(4,0),V.write_shift(4,0),V}function l(R,V,Y){var Z={s:{c:0,r:0},e:{c:0,r:0}};return V==8&&Y.qpro?(Z.s.c=R.read_shift(1),R.l++,Z.s.r=R.read_shift(2),Z.e.c=R.read_shift(1),R.l++,Z.e.r=R.read_shift(2),Z):(Z.s.c=R.read_shift(2),Z.s.r=R.read_shift(2),V==12&&Y.qpro&&(R.l+=2),Z.e.c=R.read_shift(2),Z.e.r=R.read_shift(2),V==12&&Y.qpro&&(R.l+=2),Z.s.c==65535&&(Z.s.c=Z.e.c=Z.s.r=Z.e.r=0),Z)}function o(R){var V=Dt(8);return V.write_shift(2,R.s.c),V.write_shift(2,R.s.r),V.write_shift(2,R.e.c),V.write_shift(2,R.e.r),V}function u(R,V,Y){var Z=[{c:0,r:0},{t:"n",v:0},0,0];return Y.qpro&&Y.vers!=20768?(Z[0].c=R.read_shift(1),Z[3]=R.read_shift(1),Z[0].r=R.read_shift(2),R.l+=2):(Z[2]=R.read_shift(1),Z[0].c=R.read_shift(2),Z[0].r=R.read_shift(2)),Z}function m(R,V,Y){var Z=R.l+V,Re=u(R,V,Y);if(Re[1].t="s",Y.vers==20768){R.l++;var Je=R.read_shift(1);return Re[1].v=R.read_shift(Je,"utf8"),Re}return Y.qpro&&R.l++,Re[1].v=R.read_shift(Z-R.l,"cstr"),Re}function c(R,V,Y){var Z=Dt(7+Y.length);Z.write_shift(1,255),Z.write_shift(2,V),Z.write_shift(2,R),Z.write_shift(1,39);for(var Re=0;Re=128?95:Je)}return Z.write_shift(1,0),Z}function f(R,V,Y){var Z=u(R,V,Y);return Z[1].v=R.read_shift(2,"i"),Z}function p(R,V,Y){var Z=Dt(7);return Z.write_shift(1,255),Z.write_shift(2,V),Z.write_shift(2,R),Z.write_shift(2,Y,"i"),Z}function h(R,V,Y){var Z=u(R,V,Y);return Z[1].v=R.read_shift(8,"f"),Z}function d(R,V,Y){var Z=Dt(13);return Z.write_shift(1,255),Z.write_shift(2,V),Z.write_shift(2,R),Z.write_shift(8,Y,"f"),Z}function _(R,V,Y){var Z=R.l+V,Re=u(R,V,Y);if(Re[1].v=R.read_shift(8,"f"),Y.qpro)R.l=Z;else{var Je=R.read_shift(2);v(R.slice(R.l,R.l+Je),Re),R.l+=Je}return Re}function y(R,V,Y){var Z=V&32768;return V&=-32769,V=(Z?R:0)+(V>=8192?V-16384:V),(Z?"":"$")+(Y?Ys(V):dn(V))}var g={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},S=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function v(R,V){ra(R,0);for(var Y=[],Z=0,Re="",Je="",xe="",be="";R.lY.length){console.error("WK1 bad formula parse 0x"+et.toString(16)+":|"+Y.join("|")+"|");return}var T=Y.slice(-Z);Y.length-=Z,Y.push(g[et][0]+"("+T.join(",")+")")}else return et<=7?console.error("WK1 invalid opcode "+et.toString(16)):et<=24?console.error("WK1 unsupported op "+et.toString(16)):et<=30?console.error("WK1 invalid opcode "+et.toString(16)):et<=115?console.error("WK1 unsupported function opcode "+et.toString(16)):console.error("WK1 unrecognized opcode "+et.toString(16))}}Y.length==1?V[1].f=""+Y[0]:console.error("WK1 bad formula parse |"+Y.join("|")+"|")}function M(R){var V=[{c:0,r:0},{t:"n",v:0},0];return V[0].r=R.read_shift(2),V[3]=R[R.l++],V[0].c=R[R.l++],V}function I(R,V){var Y=M(R);return Y[1].t="s",Y[1].v=R.read_shift(V-4,"cstr"),Y}function D(R,V,Y,Z){var Re=Dt(6+Z.length);Re.write_shift(2,R),Re.write_shift(1,Y),Re.write_shift(1,V),Re.write_shift(1,39);for(var Je=0;Je=128?95:xe)}return Re.write_shift(1,0),Re}function k(R,V){var Y=M(R);Y[1].v=R.read_shift(2);var Z=Y[1].v>>1;if(Y[1].v&1)switch(Z&7){case 0:Z=(Z>>3)*5e3;break;case 1:Z=(Z>>3)*500;break;case 2:Z=(Z>>3)/20;break;case 3:Z=(Z>>3)/200;break;case 4:Z=(Z>>3)/2e3;break;case 5:Z=(Z>>3)/2e4;break;case 6:Z=(Z>>3)/16;break;case 7:Z=(Z>>3)/64;break}return Y[1].v=Z,Y}function E(R,V){var Y=M(R),Z=R.read_shift(4),Re=R.read_shift(4),Je=R.read_shift(2);if(Je==65535)return Z===0&&Re===3221225472?(Y[1].t="e",Y[1].v=15):Z===0&&Re===3489660928?(Y[1].t="e",Y[1].v=42):Y[1].v=0,Y;var xe=Je&32768;return Je=(Je&32767)-16446,Y[1].v=(1-xe*2)*(Re*Math.pow(2,Je+32)+Z*Math.pow(2,Je)),Y}function z(R,V,Y,Z){var Re=Dt(14);if(Re.write_shift(2,R),Re.write_shift(1,Y),Re.write_shift(1,V),Z==0)return Re.write_shift(4,0),Re.write_shift(4,0),Re.write_shift(2,65535),Re;var Je=0,xe=0,be=0,et=0;return Z<0&&(Je=1,Z=-Z),xe=Math.log2(Z)|0,Z/=Math.pow(2,xe-31),et=Z>>>0,(et&2147483648)==0&&(Z/=2,++xe,et=Z>>>0),Z-=et,et|=2147483648,et>>>=0,Z*=Math.pow(2,32),be=Z>>>0,Re.write_shift(4,be),Re.write_shift(4,et),xe+=16383+(Je?32768:0),Re.write_shift(2,xe),Re}function B(R,V){var Y=E(R);return R.l+=V-14,Y}function P(R,V){var Y=M(R),Z=R.read_shift(4);return Y[1].v=Z>>6,Y}function F(R,V){var Y=M(R),Z=R.read_shift(8,"f");return Y[1].v=Z,Y}function L(R,V){var Y=F(R);return R.l+=V-10,Y}function H(R,V){return R[R.l+V-1]==0?R.read_shift(V,"cstr"):""}function ie(R,V){var Y=R[R.l++];Y>V-1&&(Y=V-1);for(var Z="";Z.length127?95:Re}return Y[Y.l++]=0,Y}var ce={0:{n:"BOF",f:On},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:l},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f},14:{n:"NUMBER",f:h},15:{n:"LABEL",f:m},16:{n:"FORMULA",f:_},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:m},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:H},222:{n:"SHEETNAMELP",f:ie},65535:{n:""}},J={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:I},23:{n:"NUMBER17",f:E},24:{n:"NUMBER18",f:k},25:{n:"FORMULA19",f:B},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:pe},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:P},38:{n:"??"},39:{n:"NUMBER27",f:F},40:{n:"FORMULA28",f:L},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:H},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:G},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:n,book_to_wk3:a,to_workbook:t}}();function Ppe(e){var t={},r=e.match(Ia),n=0,a=!1;if(r)for(;n!=r.length;++n){var i=mr(r[n]);switch(i[0].replace(/\w*:/g,"")){case"":case"":t.shadow=1;break;case"":break;case"":case"":t.outline=1;break;case"":break;case"":case"":t.strike=1;break;case"":break;case"":case"":t.u=1;break;case"":break;case"":case"":t.b=1;break;case"":break;case"":case"":t.i=1;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":a=!1;break;default:if(i[0].charCodeAt(1)!==47&&!a)throw new Error("Unrecognized rich format "+i[0])}}return t}var Upe=function(){var e=th("t"),t=th("rPr");function r(i){var s=i.match(e);if(!s)return{t:"s",v:""};var l={t:"s",v:$r(s[1])},o=i.match(t);return o&&(l.s=Ppe(o[1])),l}var n=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/;return function(s){return s.replace(n,"").split(a).map(r).filter(function(l){return l.v})}}(),Npe=function(){var t=/(\r\n|\n)/g;function r(a,i,s){var l=[];a.u&&l.push("text-decoration: underline;"),a.uval&&l.push("text-underline-style:"+a.uval+";"),a.sz&&l.push("font-size:"+a.sz+"pt;"),a.outline&&l.push("text-effect: outline;"),a.shadow&&l.push("text-shadow: auto;"),i.push(''),a.b&&(i.push(""),s.push("")),a.i&&(i.push(""),s.push("")),a.strike&&(i.push(""),s.push(""));var o=a.valign||"";return o=="superscript"||o=="super"?o="sup":o=="subscript"&&(o="sub"),o!=""&&(i.push("<"+o+">"),s.push("")),s.push(""),a}function n(a){var i=[[],a.v,[]];return a.v?(a.s&&r(a.s,i[0],i[2]),i[0].join("")+i[1].replace(t,"
")+i[2].join("")):""}return function(i){return i.map(n).join("")}}(),wpe=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,xpe=/<(?:\w+:)?r>/,Vpe=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function dT(e,t){var r=t?t.cellHTML:!0,n={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=$r(ys(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=ys(e),r&&(n.h=eT(n.t))):e.match(xpe)&&(n.r=ys(e),n.t=$r(ys((e.replace(Vpe,"").match(wpe)||[]).join("").replace(Ia,""))),r&&(n.h=Npe(Upe(n.r)))),n):{t:""}}var Rpe=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Fpe=/<(?:\w+:)?(?:si|sstItem)>/g,Bpe=/<\/(?:\w+:)?(?:si|sstItem)>/;function Hpe(e,t){var r=[],n="";if(!e)return r;var a=e.match(Rpe);if(a){n=a[2].replace(Fpe,"").split(Bpe);for(var i=0;i!=n.length;++i){var s=dT(n[i].trim(),t);s!=null&&(r[r.length]=s)}a=mr(a[1]),r.Count=a.count,r.Unique=a.uniqueCount}return r}var $pe=/^\s|\s$|[\t\n\r]/;function j7(e,t){if(!t.bookSST)return"";var r=[hn];r[r.length]=Nt("sst",null,{xmlns:pc[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(e[n]!=null){var a=e[n],i="";a.r?i+=a.r:(i+=""),i+="",r[r.length]=i}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function jpe(e){return[e.read_shift(4),e.read_shift(4)]}function Gpe(e,t){var r=[],n=!1;return Mu(e,function(i,s,l){switch(l){case 159:r.Count=i[0],r.Unique=i[1];break;case 19:r.push(i);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(s.T,!n||t.WTF)throw new Error("Unexpected record 0x"+l.toString(16))}}),r}function Wpe(e,t){return t||(t=Dt(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var zpe=rce;function Kpe(e){var t=ei();Ct(t,159,Wpe(e));for(var r=0;r=4&&(e.l+=t-4),r}function qpe(e){var t={};return t.id=e.read_shift(0,"lpp4"),t.R=nu(e,4),t.U=nu(e,4),t.W=nu(e,4),t}function Zpe(e){for(var t=e.read_shift(4),r=e.l+t-4,n={},a=e.read_shift(4),i=[];a-- >0;)i.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(n.name=e.read_shift(0,"lpp4"),n.comps=i,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return n}function Ype(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(Zpe(e));return t}function Xpe(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(e.read_shift(0,"lpp4"));return t}function Jpe(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=nu(e,4),t.U=nu(e,4),t.W=nu(e,4),t}function Qpe(e){var t=Jpe(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),e.read_shift(4)!=4)throw new Error("Bad !Primary record");return t}function W7(e,t){var r=e.l+t,n={};n.Flags=e.read_shift(4)&63,e.l+=4,n.AlgID=e.read_shift(4);var a=!1;switch(n.AlgID){case 26126:case 26127:case 26128:a=n.Flags==36;break;case 26625:a=n.Flags==4;break;case 0:a=n.Flags==16||n.Flags==4||n.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!a)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=e.read_shift(4),n.KeySize=e.read_shift(4),n.ProviderType=e.read_shift(4),e.l+=8,n.CSPName=e.read_shift(r-e.l>>1,"utf16le"),e.l=r,n}function z7(e,t){var r={},n=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),r.VerifierHash=e.slice(e.l,n),e.l=n,r}function ede(e){var t=nu(e);switch(t.Minor){case 2:return[t.Minor,tde(e)];case 3:return[t.Minor,rde()];case 4:return[t.Minor,sde(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function tde(e){var t=e.read_shift(4);if((t&63)!=36)throw new Error("EncryptionInfo mismatch");var r=e.read_shift(4),n=W7(e,r),a=z7(e,e.length-e.l);return{t:"Std",h:n,v:a}}function rde(){throw new Error("File is password-protected: ECMA-376 Extensible")}function sde(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e.read_shift(e.length-e.l,"utf8"),n={};return r.replace(Ia,function(i){var s=mr(i);switch(Io(s[0])){case"":break;case"":case"":break;case"":break;case"4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=e.read_shift(4),t-=4;var a=e.read_shift(4);return t-=4,r.EncryptionHeader=W7(e,a),t-=a,r.EncryptionVerifier=z7(e,t),r}function ade(e){var t={},r=t.EncryptionVersionInfo=nu(e,4);if(r.Major!=1||r.Minor!=1)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}function hT(e){var t=0,r,n=G7(e),a=n.length+1,i,s,l,o,u;for(r=Mm(a),r[0]=n.length,i=1;i!=a;++i)r[i]=n[i-1];for(i=a-1;i>=0;--i)s=r[i],l=(t&16384)===0?0:1,o=t<<1&32767,u=l|o,t=u^s;return t^52811}var K7=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(s){return(s/2|s*128)&255},a=function(s,l){return n(s^l)},i=function(s){for(var l=t[s.length-1],o=104,u=s.length-1;u>=0;--u)for(var m=s[u],c=0;c!=7;++c)m&64&&(l^=r[o]),m*=2,--o;return l};return function(s){for(var l=G7(s),o=i(l),u=l.length,m=Mm(16),c=0;c!=16;++c)m[c]=0;var f,p,h;for((u&1)===1&&(f=o>>8,m[u]=a(e[0],f),--u,f=o&255,p=l[l.length-1],m[u]=a(p,f));u>0;)--u,f=o>>8,m[u]=a(l[u],f),--u,f=o&255,m[u]=a(l[u],f);for(u=15,h=15-l.length;h>0;)f=o>>8,m[u]=a(e[h],f),--u,--h,f=o&255,m[u]=a(l[u],f),--u,--h;return m}}(),ide=function(e,t,r,n,a){a||(a=t),n||(n=K7(e));var i,s;for(i=0;i!=t.length;++i)s=t[i],s^=n[r],s=(s>>5|s<<3)&255,a[i]=s,++r;return[a,r,n]},lde=function(e){var t=0,r=K7(e);return function(n){var a=ide("",n,t,r);return t=a[1],a[0]}};function ode(e,t,r,n){var a={key:On(e),verificationBytes:On(e)};return r.password&&(a.verifier=hT(r.password)),n.valid=a.verificationBytes===a.verifier,n.valid&&(n.insitu=lde(r.password)),a}function ude(e,t,r){var n=r||{};return n.Info=e.read_shift(2),e.l-=2,n.Info===1?n.Data=ade(e):n.Data=nde(e,t),n}function mde(e,t,r){var n={Type:r.biff>=8?e.read_shift(2):0};return n.Type?ude(e,t-2,n):ode(e,r.biff>=8?t:t-2,r,n),n}var q7=function(){function e(a,i){switch(i.type){case"base64":return t(Oi(a),i);case"binary":return t(a,i);case"buffer":return t(Ir&&Buffer.isBuffer(a)?a.toString("binary"):wm(a),i);case"array":return t(Y0(a),i)}throw new Error("Unrecognized type "+i.type)}function t(a,i){var s=i||{},l=s.dense?[]:{},o=a.match(/\\trowd.*?\\row\b/g);if(!o.length)throw new Error("RTF missing table");var u={s:{c:0,r:0},e:{c:0,r:o.length-1}};return o.forEach(function(m,c){Array.isArray(l)&&(l[c]=[]);for(var f=/\\\w+\b/g,p=0,h,d=-1;h=f.exec(m);){switch(h[0]){case"\\cell":var _=m.slice(p,f.lastIndex-h[0].length);if(_[0]==" "&&(_=_.slice(1)),++d,_.length){var y={v:_,t:"s"};Array.isArray(l)?l[c][d]=y:l[ir({r:c,c:d})]=y}break}p=f.lastIndex}d>u.e.c&&(u.e.c=d)}),l["!ref"]=hr(u),l}function r(a,i){return xm(e(a,i),i)}function n(a){for(var i=["{\\rtf1\\ansi"],s=jr(a["!ref"]),l,o=Array.isArray(a),u=s.s.r;u<=s.e.r;++u){i.push("\\trowd\\trautofit1");for(var m=s.s.c;m<=s.e.c;++m)i.push("\\cellx"+(m+1));for(i.push("\\pard\\intbl"),m=s.s.c;m<=s.e.c;++m){var c=ir({r:u,c:m});l=o?(a[u]||[])[m]:a[c],!(!l||l.v==null&&(!l.f||l.F))&&(i.push(" "+(l.w||(mu(l),l.w))),i.push("\\cell"))}i.push("\\pard\\intbl\\row")}return i.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:n}}();function cde(e){var t=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function ah(e){for(var t=0,r=1;t!=3;++t)r=r*256+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function fde(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.max(t,r,n),i=Math.min(t,r,n),s=a-i;if(s===0)return[0,0,t];var l=0,o=0,u=a+i;switch(o=s/(u>1?2-u:u),a){case t:l=((r-n)/s+6)%6;break;case r:l=(n-t)/s+2;break;case n:l=(t-r)/s+4;break}return[l/6,o,u/2]}function pde(e){var t=e[0],r=e[1],n=e[2],a=r*2*(n<.5?n:1-n),i=n-a/2,s=[i,i,i],l=6*t,o;if(r!==0)switch(l|0){case 0:case 6:o=a*l,s[0]+=a,s[1]+=o;break;case 1:o=a*(2-l),s[0]+=o,s[1]+=a;break;case 2:o=a*(l-2),s[1]+=a,s[2]+=o;break;case 3:o=a*(4-l),s[1]+=o,s[2]+=a;break;case 4:o=a*(l-4),s[2]+=a,s[0]+=o;break;case 5:o=a*(6-l),s[2]+=o,s[0]+=a;break}for(var u=0;u!=3;++u)s[u]=Math.round(s[u]*255);return s}function VS(e,t){if(t===0)return e;var r=fde(cde(e));return t<0?r[2]=r[2]*(1+t):r[2]=1-(1-r[2])*(1-t),ah(pde(r))}var Z7=6,dde=15,hde=1,da=Z7;function ih(e){return Math.floor((e+Math.round(128/da)/256)*da)}function lh(e){return Math.floor((e-5)/da*100+.5)/100}function RS(e){return Math.round((e*da+5)/da*256)/256}function OI(e){return RS(lh(ih(e)))}function _T(e){var t=Math.abs(e-OI(e)),r=da;if(t>.005)for(da=hde;da":case"":break;case"":case"":a={},l.diagonalUp&&(a.diagonalUp=Rs(l.diagonalUp)),l.diagonalDown&&(a.diagonalDown=Rs(l.diagonalDown)),t.Borders.push(a);break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":break;case"":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+l[0]+" in borders")}})}function vde(e,t,r,n){t.Fills=[];var a={},i=!1;(e[0].match(Ia)||[]).forEach(function(s){var l=mr(s);switch(Io(l[0])){case"":case"":break;case"":case"":a={},t.Fills.push(a);break;case"":break;case"":break;case"":t.Fills.push(a),a={};break;case"":l.patternType&&(a.patternType=l.patternType);break;case"":case"":break;case"":case"":break;case"":case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+l[0]+" in fills")}})}function yde(e,t,r,n){t.Fonts=[];var a={},i=!1;(e[0].match(Ia)||[]).forEach(function(s){var l=mr(s);switch(Io(l[0])){case"":case"":break;case"":break;case"":case"":t.Fonts.push(a),a={};break;case"":case"":break;case"":a.bold=1;break;case"":a.italic=1;break;case"":a.underline=1;break;case"":a.strike=1;break;case"":a.outline=1;break;case"":a.shadow=1;break;case"":a.condense=1;break;case"":a.extend=1;break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":i=!1;break;case"":case"":break;case"":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+l[0]+" in fonts")}})}function Mde(e,t,r){t.NumberFmt=[];for(var n=un(ar),a=0;a":case"":case"":break;case"0){if(o>392){for(o=392;o>60&&t.NumberFmt[o]!=null;--o);t.NumberFmt[o]=l}su(l,o)}}break;case"":break;default:if(r.WTF)throw new Error("unrecognized "+s[0]+" in numFmts")}}}function Dde(e){var t=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var n=r[0];n<=r[1];++n)e[n]!=null&&(t[t.length]=Nt("numFmt",null,{numFmtId:n,formatCode:fs(e[n])}))}),t.length===1?"":(t[t.length]="",t[0]=Nt("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var ug=["numFmtId","fillId","fontId","borderId","xfId"],mg=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function Ide(e,t,r){t.CellXf=[];var n,a=!1;(e[0].match(Ia)||[]).forEach(function(i){var s=mr(i),l=0;switch(Io(s[0])){case"":case"":case"":break;case"":for(n=s,delete n[0],l=0;l392){for(l=392;l>60;--l)if(t.NumberFmt[n.numFmtId]==t.NumberFmt[l]){n.numFmtId=l;break}}t.CellXf.push(n);break;case"":break;case"":var o={};s.vertical&&(o.vertical=s.vertical),s.horizontal&&(o.horizontal=s.horizontal),s.textRotation!=null&&(o.textRotation=s.textRotation),s.indent&&(o.indent=s.indent),s.wrapText&&(o.wrapText=Rs(s.wrapText)),n.alignment=o;break;case"":break;case"":case"":break;case"":a=!1;break;case"":case"":break;case"":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+s[0]+" in cellXfs")}})}function Ode(e){var t=[];return t[t.length]=Nt("cellXfs",null),e.forEach(function(r){t[t.length]=Nt("xf",null,r)}),t[t.length]="",t.length===2?"":(t[0]=Nt("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var Lde=function(){var t=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,a=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,i=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(l,o,u){var m={};if(!l)return m;l=l.replace(//mg,"").replace(//gm,"");var c;return(c=l.match(t))&&Mde(c,m,u),(c=l.match(a))&&yde(c,m,o,u),(c=l.match(n))&&vde(c,m,o,u),(c=l.match(i))&&Sde(c,m,o,u),(c=l.match(r))&&Ide(c,m,u),m}}();function X7(e,t){var r=[hn,Nt("styleSheet",null,{xmlns:pc[0],"xmlns:vt":Pn.vt})],n;return e.SSF&&(n=Dde(e.SSF))!=null&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',(n=Ode(t.cellXfs))&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function bde(e,t){var r=e.read_shift(2),n=ga(e);return[r,n]}function Cde(e,t,r){r||(r=Dt(6+4*t.length)),r.write_shift(2,e),$n(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return r.l==null&&(r.l=r.length),n}function Ede(e,t,r){var n={};n.sz=e.read_shift(2)/20;var a=uce(e);a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1);var i=e.read_shift(2);switch(i===700&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var s=e.read_shift(1);s!=0&&(n.underline=s);var l=e.read_shift(1);l>0&&(n.family=l);var o=e.read_shift(1);switch(o>0&&(n.charset=o),e.l++,n.color=oce(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=ga(e),n}function Tde(e,t){t||(t=Dt(25+4*32)),t.write_shift(2,e.sz*20),mce(e,t),t.write_shift(2,e.bold?700:400);var r=0;e.vertAlign=="superscript"?r=1:e.vertAlign=="subscript"&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),NS(e.color,t);var n=0;return e.scheme=="major"&&(n=1),e.scheme=="minor"&&(n=2),t.write_shift(1,n),$n(e.name,t),t.length>t.l?t.slice(0,t.l):t}var Ade=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],LI,kde=ya;function lP(e,t){t||(t=Dt(4*3+8*7+16*1)),LI||(LI=by(Ade));var r=LI[e.patternType];r==null&&(r=40),t.write_shift(4,r);var n=0;if(r!=40)for(NS({auto:1},t),NS({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Pde(e,t){var r=e.l+t,n=e.read_shift(2),a=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:a}}function J7(e,t,r){r||(r=Dt(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);var n=0;return r.write_shift(1,n),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function ed(e,t){return t||(t=Dt(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var Ude=ya;function Nde(e,t){return t||(t=Dt(51)),t.write_shift(1,0),ed(null,t),ed(null,t),ed(null,t),ed(null,t),ed(null,t),t.length>t.l?t.slice(0,t.l):t}function wde(e,t){return t||(t=Dt(12+4*10)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,+e.builtinId),t.write_shift(1,0),US(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function xde(e,t,r){var n=Dt(2052);return n.write_shift(4,e),US(t,n),US(r,n),n.length>n.l?n.slice(0,n.l):n}function Vde(e,t,r){var n={};n.NumberFmt=[];for(var a in ar)n.NumberFmt[a]=ar[a];n.CellXf=[],n.Fonts=[];var i=[],s=!1;return Mu(e,function(o,u,m){switch(m){case 44:n.NumberFmt[o[0]]=o[1],su(o[1],o[0]);break;case 43:n.Fonts.push(o),o.color.theme!=null&&t&&t.themeElements&&t.themeElements.clrScheme&&(o.color.rgb=VS(t.themeElements.clrScheme[o.color.theme].rgb,o.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:i[i.length-1]==617&&n.CellXf.push(o);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:i.push(m),s=!0;break;case 38:i.pop(),s=!1;break;default:if(u.T>0)i.push(m);else if(u.T<0)i.pop();else if(!s||r.WTF&&i[i.length-1]!=37)throw new Error("Unexpected record 0x"+m.toString(16))}}),n}function Rde(e,t){if(!!t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&++r}),r!=0&&(Ct(e,615,kl(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&Ct(e,44,Cde(a,t[a]))}),Ct(e,616))}}function Fde(e){var t=1;Ct(e,611,kl(t)),Ct(e,43,Tde({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Ct(e,612)}function Bde(e){var t=2;Ct(e,603,kl(t)),Ct(e,45,lP({patternType:"none"})),Ct(e,45,lP({patternType:"gray125"})),Ct(e,604)}function Hde(e){var t=1;Ct(e,613,kl(t)),Ct(e,46,Nde()),Ct(e,614)}function $de(e){var t=1;Ct(e,626,kl(t)),Ct(e,47,J7({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Ct(e,627)}function jde(e,t){Ct(e,617,kl(t.length)),t.forEach(function(r){Ct(e,47,J7(r,0))}),Ct(e,618)}function Gde(e){var t=1;Ct(e,619,kl(t)),Ct(e,48,wde({xfId:0,builtinId:0,name:"Normal"})),Ct(e,620)}function Wde(e){var t=0;Ct(e,505,kl(t)),Ct(e,506)}function zde(e){var t=0;Ct(e,508,xde(t,"TableStyleMedium9","PivotStyleMedium4")),Ct(e,509)}function Kde(e,t){var r=ei();return Ct(r,278),Rde(r,e.SSF),Fde(r),Bde(r),Hde(r),$de(r),jde(r,t.cellXfs),Gde(r),Wde(r),zde(r),Ct(r,279),r.end()}var qde=["","","","","","","","","","","",""];function Zde(e,t,r){t.themeElements.clrScheme=[];var n={};(e[0].match(Ia)||[]).forEach(function(a){var i=mr(a);switch(i[0]){case"":break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":i[0].charAt(1)==="/"?(t.themeElements.clrScheme[qde.indexOf(i[0])]=n,n={}):n.name=i[0].slice(3,i[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}})}function Yde(){}function Xde(){}var Jde=/]*)>[\s\S]*<\/a:clrScheme>/,Qde=/]*)>[\s\S]*<\/a:fontScheme>/,e1e=/]*)>[\s\S]*<\/a:fmtScheme>/;function t1e(e,t,r){t.themeElements={};var n;[["clrScheme",Jde,Zde],["fontScheme",Qde,Yde],["fmtScheme",e1e,Xde]].forEach(function(a){if(!(n=e.match(a[1])))throw new Error(a[0]+" not found in themeElements");a[2](n,t,r)})}var r1e=/]*)>[\s\S]*<\/a:themeElements>/;function Q7(e,t){(!e||e.length===0)&&(e=gT());var r,n={};if(!(r=e.match(r1e)))throw new Error("themeElements not found in theme");return t1e(r[0],n,t),n.raw=e,n}function gT(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var r=[hn];return r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r.join("")}function s1e(e,t,r){var n=e.l+t,a=e.read_shift(4);if(a!==124226){if(!r.cellStyles){e.l=n;return}var i=e.slice(e.l);e.l=n;var s;try{s=W8(i,{type:"array"})}catch{return}var l=hi(s,"theme/theme/theme1.xml",!0);if(!!l)return Q7(l,r)}}function n1e(e){return e.read_shift(4)}function a1e(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=i1e(e,4);break;case 2:t.xclrValue=P7(e);break;case 3:t.xclrValue=n1e(e);break;case 4:e.l+=4;break}return e.l+=8,t}function i1e(e,t){return ya(e,t)}function l1e(e,t){return ya(e,t)}function o1e(e){var t=e.read_shift(2),r=e.read_shift(2)-4,n=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=a1e(e);break;case 6:n[1]=l1e(e,r);break;case 14:case 15:n[1]=e.read_shift(r===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return n}function u1e(e,t){var r=e.l+t;e.l+=2;var n=e.read_shift(2);e.l+=2;for(var a=e.read_shift(2),i=[];a-- >0;)i.push(o1e(e,r-e.l));return{ixfe:n,ext:i}}function m1e(e,t){t.forEach(function(r){switch(r[0]){}})}function c1e(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:ga(e)}}function f1e(e){var t=Dt(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),$n(e.name,t),t.slice(0,t.l)}function p1e(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}function d1e(e){var t=Dt(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":i=2;break;case"":i=2;break;case"":case"":case"":break;case"":a=!1;break;case" - - - - - - - - - - - - - - - - - -`),e.join("")}function M1e(e){var t=[];if(!e)return t;var r=1;return(e.match(Ia)||[]).forEach(function(n){var a=mr(n);switch(a[0]){case"":case"":break;case"]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}var mf=1024;function tF(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[Nt("xml",null,{"xmlns:v":fi.v,"xmlns:o":fi.o,"xmlns:x":fi.x,"xmlns:mv":fi.mv}).replace(/\/>/,">"),Nt("o:shapelayout",Nt("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Nt("v:shapetype",[Nt("v:stroke",null,{joinstyle:"miter"}),Nt("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];mf",u,Nt("v:shadow",null,m),Nt("v:path",null,{"o:connecttype":"none"}),'
','',"","",na("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),na("x:AutoFill","False"),na("x:Row",String(s.r)),na("x:Column",String(s.c)),i[1].hidden?"":"","",""])}),a.push(""),a.join("")}function oP(e,t,r,n){var a=Array.isArray(e),i;t.forEach(function(s){var l=Xs(s.ref);if(a?(e[l.r]||(e[l.r]=[]),i=e[l.r][l.c]):i=e[s.ref],!i){i={t:"z"},a?e[l.r][l.c]=i:e[s.ref]=i;var o=jr(e["!ref"]||"BDWGO1000001:A1");o.s.r>l.r&&(o.s.r=l.r),o.e.rl.c&&(o.s.c=l.c),o.e.c=0;--c){if(!r&&i.c[c].T)return;r&&!i.c[c].T&&i.c.splice(c,1)}if(r&&n){for(c=0;c/))return[];var r=[],n=[],a=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);a&&a[1]&&a[1].split(/<\/\w*:?author>/).forEach(function(s){if(!(s===""||s.trim()==="")){var l=s.match(/<(?:\w+:)?author[^>]*>(.*)/);l&&r.push(l[1])}});var i=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return i&&i[1]&&i[1].split(/<\/\w*:?comment>/).forEach(function(s){if(!(s===""||s.trim()==="")){var l=s.match(/<(?:\w+:)?comment[^>]*>/);if(!!l){var o=mr(l[0]),u={author:o.authorId&&r[o.authorId]||"sheetjsghost",ref:o.ref,guid:o.guid},m=Xs(o.ref);if(!(t.sheetRows&&t.sheetRows<=m.r)){var c=s.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),f=!!c&&!!c[1]&&dT(c[1])||{r:"",t:"",h:""};u.r=f.r,f.r==""&&(f.t=f.h=""),u.t=(f.t||"").replace(/\r\n/g,` -`).replace(/\r/g,` -`),t.cellHTML&&(u.h=f.h),n.push(u)}}}}),n}function rF(e){var t=[hn,Nt("comments",null,{xmlns:pc[0]})],r=[];return t.push(""),e.forEach(function(n){n[1].forEach(function(a){var i=fs(a.a);r.indexOf(i)==-1&&(r.push(i),t.push(""+i+"")),a.T&&a.ID&&r.indexOf("tc="+a.ID)==-1&&(r.push("tc="+a.ID),t.push("tc="+a.ID+""))})}),r.length==0&&(r.push("SheetJ5"),t.push("SheetJ5")),t.push(""),t.push(""),e.forEach(function(n){var a=0,i=[];if(n[1][0]&&n[1][0].T&&n[1][0].ID?a=r.indexOf("tc="+n[1][0].ID):n[1].forEach(function(o){o.a&&(a=r.indexOf(fs(o.a))),i.push(o.t||"")}),t.push(''),i.length<=1)t.push(na("t",fs(i[0]||"")));else{for(var s=`Comment: - `+i[0]+` -`,l=1;l")}),t.push(""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function C1e(e,t){var r=[],n=!1,a={},i=0;return e.replace(Ia,function(l,o){var u=mr(l);switch(Io(u[0])){case"":break;case"":a.t!=null&&r.push(a);break;case"":case"":a.t=e.slice(i,o).replace(/\r\n/g,` -`).replace(/\r/g,` -`);break;case"":n=!0;break;case"":n=!1;break;case"":case"
":case"":break;case"":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+u[0]+" in threaded comments")}return l}),r}function E1e(e,t,r){var n=[hn,Nt("ThreadedComments",null,{xmlns:Pn.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(a){var i="";(a[1]||[]).forEach(function(s,l){if(!s.T){delete s.ID;return}s.a&&t.indexOf(s.a)==-1&&t.push(s.a);var o={ref:a[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};l==0?i=o.id:o.parentId=i,s.ID=o.id,s.a&&(o.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),n.push(Nt("threadedComment",na("text",s.t||""),o))})}),n.push(""),n.join("")}function T1e(e,t){var r=[],n=!1;return e.replace(Ia,function(i){var s=mr(i);switch(Io(s[0])){case"":break;case"":break;case"":case"":case"":break;case"":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+s[0]+" in threaded comments")}return i}),r}function A1e(e){var t=[hn,Nt("personList",null,{xmlns:Pn.TCMNT,"xmlns:x":pc[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,n){t.push(Nt("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push(""),t.join("")}function k1e(e){var t={};t.iauthor=e.read_shift(4);var r=gc(e);return t.rfx=r.s,t.ref=ir(r.s),e.l+=16,t}function P1e(e,t){return t==null&&(t=Dt(36)),t.write_shift(4,e[1].iauthor),kp(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var U1e=ga;function N1e(e){return $n(e.slice(0,54))}function w1e(e,t){var r=[],n=[],a={},i=!1;return Mu(e,function(l,o,u){switch(u){case 632:n.push(l);break;case 635:a=l;break;case 637:a.t=l.t,a.h=l.h,a.r=l.r;break;case 636:if(a.author=n[a.iauthor],delete a.iauthor,t.sheetRows&&a.rfx&&t.sheetRows<=a.rfx.r)break;a.t||(a.t=""),delete a.rfx,r.push(a);break;case 3072:break;case 35:i=!0;break;case 36:i=!1;break;case 37:break;case 38:break;default:if(!o.T){if(!i||t.WTF)throw new Error("Unexpected record 0x"+u.toString(16))}}}),r}function x1e(e){var t=ei(),r=[];return Ct(t,628),Ct(t,630),e.forEach(function(n){n[1].forEach(function(a){r.indexOf(a.a)>-1||(r.push(a.a.slice(0,54)),Ct(t,632,N1e(a.a)))})}),Ct(t,631),Ct(t,633),e.forEach(function(n){n[1].forEach(function(a){a.iauthor=r.indexOf(a.a);var i={s:Xs(n[0]),e:Xs(n[0])};Ct(t,635,P1e([i,a])),a.t&&a.t.length>0&&Ct(t,637,nce(a)),Ct(t,636),delete a.iauthor})}),Ct(t,634),Ct(t,629),t.end()}var V1e="application/vnd.ms-office.vbaProject";function R1e(e){var t=Xt.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(r,n){if(!(r.slice(-1)==="/"||!r.match(/_VBA_PROJECT_CUR/))){var a=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Xt.utils.cfb_add(t,a,e.FileIndex[n].content)}}),Xt.write(t)}function F1e(e,t){t.FullPaths.forEach(function(r,n){if(n!=0){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");a.slice(-1)!=="/"&&Xt.utils.cfb_add(e,a,t.FileIndex[n].content)}})}var sF=["xlsb","xlsm","xlam","biff8","xla"];function B1e(){return{"!type":"dialog"}}function H1e(){return{"!type":"dialog"}}function $1e(){return{"!type":"macro"}}function j1e(){return{"!type":"macro"}}var Tf=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(n,a,i,s){var l=!1,o=!1;i.length==0?o=!0:i.charAt(0)=="["&&(o=!0,i=i.slice(1,-1)),s.length==0?l=!0:s.charAt(0)=="["&&(l=!0,s=s.slice(1,-1));var u=i.length>0?parseInt(i,10)|0:0,m=s.length>0?parseInt(s,10)|0:0;return l?m+=t.c:--m,o?u+=t.r:--u,a+(l?"":"$")+Ys(m)+(o?"":"$")+dn(u)}return function(a,i){return t=i,a.replace(e,r)}}(),ST=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,vT=function(){return function(t,r){return t.replace(ST,function(n,a,i,s,l,o){var u=aT(s)-(i?0:r.c),m=nT(o)-(l?0:r.r),c=m==0?"":l?m+1:"["+m+"]",f=u==0?"":i?u+1:"["+u+"]";return a+"R"+c+"C"+f})}}();function nF(e,t){return e.replace(ST,function(r,n,a,i,s,l){return n+(a=="$"?a+i:Ys(aT(i)+t.c))+(s=="$"?s+l:dn(nT(l)+t.r))})}function G1e(e,t,r){var n=si(t),a=n.s,i=Xs(r),s={r:i.r-a.r,c:i.c-a.c};return nF(e,s)}function W1e(e){return e.length!=1}function uP(e){return e.replace(/_xlfn\./g,"")}function _n(e){e.l+=1}function Im(e,t){var r=e.read_shift(t==1?1:2);return[r&16383,r>>14&1,r>>15&1]}function aF(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return iF(e);r.biff==12&&(n=4)}var a=e.read_shift(n),i=e.read_shift(n),s=Im(e,2),l=Im(e,2);return{s:{r:a,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:l[0],cRel:l[1],rRel:l[2]}}}function iF(e){var t=Im(e,2),r=Im(e,2),n=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function z1e(e,t,r){if(r.biff<8)return iF(e);var n=e.read_shift(r.biff==12?4:2),a=e.read_shift(r.biff==12?4:2),i=Im(e,2),s=Im(e,2);return{s:{r:n,c:i[0],cRel:i[1],rRel:i[2]},e:{r:a,c:s[0],cRel:s[1],rRel:s[2]}}}function lF(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return K1e(e);var n=e.read_shift(r&&r.biff==12?4:2),a=Im(e,2);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function K1e(e){var t=Im(e,2),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function q1e(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:r&255,fQuoted:!!(r&16384),cRel:r>>15,rRel:r>>15}}function Z1e(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return Y1e(e);var a=e.read_shift(n>=12?4:2),i=e.read_shift(2),s=(i&16384)>>14,l=(i&32768)>>15;if(i&=16383,l==1)for(;a>524287;)a-=1048576;if(s==1)for(;i>8191;)i=i-16384;return{r:a,c:i,cRel:s,rRel:l}}function Y1e(e){var t=e.read_shift(2),r=e.read_shift(1),n=(t&32768)>>15,a=(t&16384)>>14;return t&=16383,n==1&&t>=8192&&(t=t-16384),a==1&&r>=128&&(r=r-256),{r:t,c:r,cRel:a,rRel:n}}function X1e(e,t,r){var n=(e[e.l++]&96)>>5,a=aF(e,r.biff>=2&&r.biff<=5?6:8,r);return[n,a]}function J1e(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2,"i"),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}var s=aF(e,i,r);return[n,a,s]}function Q1e(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}function ehe(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}return e.l+=i,[n,a]}function the(e,t,r){var n=(e[e.l++]&96)>>5,a=z1e(e,t-1,r);return[n,a]}function rhe(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r.biff==2?6:r.biff==12?14:7,[n]}function mP(e){var t=e[e.l+1]&1,r=1;return e.l+=4,[t,r]}function she(e,t,r){e.l+=2;for(var n=e.read_shift(r&&r.biff==2?1:2),a=[],i=0;i<=n;++i)a.push(e.read_shift(r&&r.biff==2?1:2));return a}function nhe(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function ahe(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function ihe(e){var t=e[e.l+1]&255?1:0;return e.l+=2,[t,e.read_shift(2)]}function lhe(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=r&&r.biff==2?3:4,[n]}function oF(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function ohe(e){return e.read_shift(2),oF(e)}function uhe(e){return e.read_shift(2),oF(e)}function mhe(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=lF(e,0,r);return[n,a]}function che(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=Z1e(e,0,r);return[n,a]}function fhe(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=e.read_shift(2);r&&r.biff==5&&(e.l+=12);var i=lF(e,0,r);return[n,a,i]}function phe(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=e.read_shift(r&&r.biff<=3?1:2);return[__e[a],cF[a],n]}function dhe(e,t,r){var n=e[e.l++],a=e.read_shift(1),i=r&&r.biff<=3?[n==88?-1:0,e.read_shift(1)]:hhe(e);return[a,(i[0]===0?cF:h_e)[i[1]]]}function hhe(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function _he(e,t,r){e.l+=r&&r.biff==2?3:4}function ghe(e,t,r){if(e.l++,r&&r.biff==12)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function She(e){return e.l++,Du[e.read_shift(1)]}function vhe(e){return e.l++,e.read_shift(2)}function yhe(e){return e.l++,e.read_shift(1)!==0}function Mhe(e){return e.l++,ha(e)}function Dhe(e,t,r){return e.l++,Xh(e,t-1,r)}function Ihe(e,t){var r=[e.read_shift(1)];if(t==12)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=mn(e,1)?"TRUE":"FALSE",t!=12&&(e.l+=7);break;case 37:case 16:r[1]=Du[e[e.l]],e.l+=t==12?4:8;break;case 0:e.l+=8;break;case 1:r[1]=ha(e);break;case 2:r[1]=Sc(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Ohe(e,t,r){for(var n=e.read_shift(r.biff==12?4:2),a=[],i=0;i!=n;++i)a.push((r.biff==12?gc:Ty)(e));return a}function Lhe(e,t,r){var n=0,a=0;r.biff==12?(n=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,--a==0&&(a=256));for(var i=0,s=[];i!=n&&(s[i]=[]);++i)for(var l=0;l!=a;++l)s[i][l]=Ihe(e,r.biff);return s}function bhe(e,t,r){var n=e.read_shift(1)>>>5&3,a=!r||r.biff>=8?4:2,i=e.read_shift(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,i]}function Che(e,t,r){if(r.biff==5)return Ehe(e);var n=e.read_shift(1)>>>5&3,a=e.read_shift(2),i=e.read_shift(4);return[n,a,i]}function Ehe(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}function The(e,t,r){var n=e.read_shift(1)>>>5&3;e.l+=r&&r.biff==2?3:4;var a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function Ahe(e,t,r){var n=e.read_shift(1)>>>5&3,a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function khe(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,r.biff==12&&(e.l+=2),[n]}function Phe(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2),i=4;if(r)switch(r.biff){case 5:i=15;break;case 12:i=6;break}return e.l+=i,[n,a]}var Uhe=ya,Nhe=ya,whe=ya;function Qh(e,t,r){return e.l+=2,[q1e(e)]}function yT(e){return e.l+=6,[]}var xhe=Qh,Vhe=yT,Rhe=yT,Fhe=Qh;function uF(e){return e.l+=2,[On(e),e.read_shift(2)&1]}var Bhe=Qh,Hhe=uF,$he=yT,jhe=Qh,Ghe=Qh,Whe=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function zhe(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a=e.read_shift(2),i=e.read_shift(2),s=Whe[r>>2&31];return{ixti:t,coltype:r&3,rt:s,idx:n,c:a,C:i}}function Khe(e){return e.l+=2,[e.read_shift(4)]}function qhe(e,t,r){return e.l+=5,e.l+=2,e.l+=r.biff==2?1:4,["PTGSHEET"]}function Zhe(e,t,r){return e.l+=r.biff==2?4:5,["PTGENDSHEET"]}function Yhe(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function Xhe(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function Jhe(e){return e.l+=4,[0,0]}var cP={1:{n:"PtgExp",f:ghe},2:{n:"PtgTbl",f:whe},3:{n:"PtgAdd",f:_n},4:{n:"PtgSub",f:_n},5:{n:"PtgMul",f:_n},6:{n:"PtgDiv",f:_n},7:{n:"PtgPower",f:_n},8:{n:"PtgConcat",f:_n},9:{n:"PtgLt",f:_n},10:{n:"PtgLe",f:_n},11:{n:"PtgEq",f:_n},12:{n:"PtgGe",f:_n},13:{n:"PtgGt",f:_n},14:{n:"PtgNe",f:_n},15:{n:"PtgIsect",f:_n},16:{n:"PtgUnion",f:_n},17:{n:"PtgRange",f:_n},18:{n:"PtgUplus",f:_n},19:{n:"PtgUminus",f:_n},20:{n:"PtgPercent",f:_n},21:{n:"PtgParen",f:_n},22:{n:"PtgMissArg",f:_n},23:{n:"PtgStr",f:Dhe},26:{n:"PtgSheet",f:qhe},27:{n:"PtgEndSheet",f:Zhe},28:{n:"PtgErr",f:She},29:{n:"PtgBool",f:yhe},30:{n:"PtgInt",f:vhe},31:{n:"PtgNum",f:Mhe},32:{n:"PtgArray",f:rhe},33:{n:"PtgFunc",f:phe},34:{n:"PtgFuncVar",f:dhe},35:{n:"PtgName",f:bhe},36:{n:"PtgRef",f:mhe},37:{n:"PtgArea",f:X1e},38:{n:"PtgMemArea",f:The},39:{n:"PtgMemErr",f:Uhe},40:{n:"PtgMemNoMem",f:Nhe},41:{n:"PtgMemFunc",f:Ahe},42:{n:"PtgRefErr",f:khe},43:{n:"PtgAreaErr",f:Q1e},44:{n:"PtgRefN",f:che},45:{n:"PtgAreaN",f:the},46:{n:"PtgMemAreaN",f:Yhe},47:{n:"PtgMemNoMemN",f:Xhe},57:{n:"PtgNameX",f:Che},58:{n:"PtgRef3d",f:fhe},59:{n:"PtgArea3d",f:J1e},60:{n:"PtgRefErr3d",f:Phe},61:{n:"PtgAreaErr3d",f:ehe},255:{}},Qhe={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},e_e={1:{n:"PtgElfLel",f:uF},2:{n:"PtgElfRw",f:jhe},3:{n:"PtgElfCol",f:xhe},6:{n:"PtgElfRwV",f:Ghe},7:{n:"PtgElfColV",f:Fhe},10:{n:"PtgElfRadical",f:Bhe},11:{n:"PtgElfRadicalS",f:$he},13:{n:"PtgElfColS",f:Vhe},15:{n:"PtgElfColSV",f:Rhe},16:{n:"PtgElfRadicalLel",f:Hhe},25:{n:"PtgList",f:zhe},29:{n:"PtgSxName",f:Khe},255:{}},t_e={0:{n:"PtgAttrNoop",f:Jhe},1:{n:"PtgAttrSemi",f:lhe},2:{n:"PtgAttrIf",f:ahe},4:{n:"PtgAttrChoose",f:she},8:{n:"PtgAttrGoto",f:nhe},16:{n:"PtgAttrSum",f:_he},32:{n:"PtgAttrBaxcel",f:mP},33:{n:"PtgAttrBaxcel",f:mP},64:{n:"PtgAttrSpace",f:ohe},65:{n:"PtgAttrSpaceSemi",f:uhe},128:{n:"PtgAttrIfError",f:ihe},255:{}};function e_(e,t,r,n){if(n.biff<8)return ya(e,t);for(var a=e.l+t,i=[],s=0;s!==r.length;++s)switch(r[s][0]){case"PtgArray":r[s][1]=Lhe(e,0,n),i.push(r[s][1]);break;case"PtgMemArea":r[s][2]=Ohe(e,r[s][1],n),i.push(r[s][2]);break;case"PtgExp":n&&n.biff==12&&(r[s][1][1]=e.read_shift(4),i.push(r[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[s][0]}return t=a-e.l,t!==0&&i.push(ya(e,t)),i}function t_(e,t,r){for(var n=e.l+t,a,i,s=[];n!=e.l;)t=n-e.l,i=e[e.l],a=cP[i]||cP[Qhe[i]],(i===24||i===25)&&(a=(i===24?e_e:t_e)[e[e.l+1]]),!a||!a.f?ya(e,t):s.push([a.n,a.f(e,t,r)]);return s}function r_e(e){for(var t=[],r=0;r=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function n_e(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function mF(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),t==0?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return r.SID!=null?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(i){return i.Name}).join(";;");default:return e[n[0]][0][3]?(a=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function fP(e,t,r){var n=mF(e,t,r);return n=="#REF"?n:n_e(n,r)}function fa(e,t,r,n,a){var i=a&&a.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},l=[],o,u,m,c=0,f=0,p,h="";if(!e[0]||!e[0][0])return"";for(var d=-1,_="",y=0,g=e[0].length;y=0){switch(e[0][d][1][0]){case 0:_=an(" ",e[0][d][1][1]);break;case 1:_=an("\r",e[0][d][1][1]);break;default:if(_="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][d][1][0])}u=u+_,d=-1}l.push(u+s_e[S[0]]+o);break;case"PtgIsect":o=l.pop(),u=l.pop(),l.push(u+" "+o);break;case"PtgUnion":o=l.pop(),u=l.pop(),l.push(u+","+o);break;case"PtgRange":o=l.pop(),u=l.pop(),l.push(u+":"+o);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":m=e1(S[1][1],s,a),l.push(t1(m,i));break;case"PtgRefN":m=r?e1(S[1][1],r,a):S[1][1],l.push(t1(m,i));break;case"PtgRef3d":c=S[1][1],m=e1(S[1][2],s,a),h=fP(n,c,a),l.push(h+"!"+t1(m,i));break;case"PtgFunc":case"PtgFuncVar":var v=S[1][0],M=S[1][1];v||(v=0),v&=127;var I=v==0?[]:l.slice(-v);l.length-=v,M==="User"&&(M=I.shift()),l.push(M+"("+I.join(",")+")");break;case"PtgBool":l.push(S[1]?"TRUE":"FALSE");break;case"PtgInt":l.push(S[1]);break;case"PtgNum":l.push(String(S[1]));break;case"PtgStr":l.push('"'+S[1].replace(/"/g,'""')+'"');break;case"PtgErr":l.push(S[1]);break;case"PtgAreaN":p=Hk(S[1][1],r?{s:r}:s,a),l.push(MI(p,a));break;case"PtgArea":p=Hk(S[1][1],s,a),l.push(MI(p,a));break;case"PtgArea3d":c=S[1][1],p=S[1][2],h=fP(n,c,a),l.push(h+"!"+MI(p,a));break;case"PtgAttrSum":l.push("SUM("+l.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":f=S[1][2];var D=(n.names||[])[f-1]||(n[0]||[])[f],k=D?D.Name:"SH33TJSNAME"+String(f);k&&k.slice(0,6)=="_xlfn."&&!a.xlfn&&(k=k.slice(6)),l.push(k);break;case"PtgNameX":var E=S[1][1];f=S[1][2];var z;if(a.biff<=5)E<0&&(E=-E),n[E]&&(z=n[E][f]);else{var B="";if(((n[E]||[])[0]||[])[0]==14849||(((n[E]||[])[0]||[])[0]==1025?n[E][f]&&n[E][f].itab>0&&(B=n.SheetNames[n[E][f].itab-1]+"!"):B=n.SheetNames[f-1]+"!"),n[E]&&n[E][f])B+=n[E][f].Name;else if(n[0]&&n[0][f])B+=n[0][f].Name;else{var P=(mF(n,E,a)||"").split(";;");P[f-1]?B=P[f-1]:B+="SH33TJSERRX"}l.push(B);break}z||(z={Name:"SH33TJSERRY"}),l.push(z.Name);break;case"PtgParen":var F="(",L=")";if(d>=0){switch(_="",e[0][d][1][0]){case 2:F=an(" ",e[0][d][1][1])+F;break;case 3:F=an("\r",e[0][d][1][1])+F;break;case 4:L=an(" ",e[0][d][1][1])+L;break;case 5:L=an("\r",e[0][d][1][1])+L;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][d][1][0])}d=-1}l.push(F+l.pop()+L);break;case"PtgRefErr":l.push("#REF!");break;case"PtgRefErr3d":l.push("#REF!");break;case"PtgExp":m={c:S[1][1],r:S[1][0]};var H={c:r.c,r:r.r};if(n.sharedf[ir(m)]){var ie=n.sharedf[ir(m)];l.push(fa(ie,s,H,n,a))}else{var G=!1;for(o=0;o!=n.arrayf.length;++o)if(u=n.arrayf[o],!(m.cu[0].e.c)&&!(m.ru[0].e.r)){l.push(fa(u[1],s,H,n,a)),G=!0;break}G||l.push(S[1])}break;case"PtgArray":l.push("{"+r_e(S[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":d=y;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":l.push("");break;case"PtgAreaErr":l.push("#REF!");break;case"PtgAreaErr3d":l.push("#REF!");break;case"PtgList":l.push("Table"+S[1].idx+"[#"+S[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(S));default:throw new Error("Unrecognized Formula Token: "+String(S))}var pe=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(a.biff!=3&&d>=0&&pe.indexOf(e[0][y][0])==-1){S=e[0][d];var W=!0;switch(S[1][0]){case 4:W=!1;case 0:_=an(" ",S[1][1]);break;case 5:W=!1;case 1:_=an("\r",S[1][1]);break;default:if(_="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+S[1][0])}l.push((W?_:"")+l.pop()+(W?"":_)),d=-1}}if(l.length>1&&a.WTF)throw new Error("bad formula stack");return l[0]}function a_e(e,t,r){var n=e.l+t,a=r.biff==2?1:2,i,s=e.read_shift(a);if(s==65535)return[[],ya(e,t-2)];var l=t_(e,s,r);return t!==s+a&&(i=e_(e,t-s-a,l,r)),e.l=n,[l,i]}function i_e(e,t,r){var n=e.l+t,a=r.biff==2?1:2,i,s=e.read_shift(a);if(s==65535)return[[],ya(e,t-2)];var l=t_(e,s,r);return t!==s+a&&(i=e_(e,t-s-a,l,r)),e.l=n,[l,i]}function l_e(e,t,r,n){var a=e.l+t,i=t_(e,n,r),s;return a!==e.l&&(s=e_(e,a-e.l,i,r)),[i,s]}function o_e(e,t,r){var n=e.l+t,a,i=e.read_shift(2),s=t_(e,i,r);return i==65535?[[],ya(e,t-2)]:(t!==i+2&&(a=e_(e,n-i-2,s,r)),[s,a])}function u_e(e){var t;if(qo(e,e.l+6)!==65535)return[ha(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=e[e.l+2]===1,e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}function m_e(e){if(e==null){var t=Dt(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}else if(typeof e=="number")return X0(e);return X0(0)}function bI(e,t,r){var n=e.l+t,a=Oo(e);r.biff==2&&++e.l;var i=u_e(e),s=e.read_shift(1);r.biff!=2&&(e.read_shift(1),r.biff>=5&&e.read_shift(4));var l=i_e(e,n-e.l,r);return{cell:a,val:i[0],formula:l,shared:s>>3&1,tt:i[1]}}function c_e(e,t,r,n,a){var i=Q0(t,r,a),s=m_e(e.v),l=Dt(6),o=33;l.write_shift(2,o),l.write_shift(4,0);for(var u=Dt(e.bf.length),m=0;m0?e_(e,i,a,r):null;return[a,s]}var f_e=Ay,ky=Ay,p_e=Ay,d_e=Ay,h_e={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},cF={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},__e={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function pP(e){return e.slice(0,3)=="of:"&&(e=e.slice(3)),e.charCodeAt(0)==61&&(e=e.slice(1),e.charCodeAt(0)==61&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,""),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(t,r){return r.replace(/\./g,"")}),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),e.replace(/[;~]/g,",").replace(/\|/g,";")}function g_e(e){var t="of:="+e.replace(ST,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function CI(e){var t=e.split(":"),r=t[0].split(".")[0];return[r,t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function S_e(e){return e.replace(/\./,"!")}var s1={},Af={},n1=typeof Map<"u";function MT(e,t,r){var n=0,a=e.length;if(r){if(n1?r.has(t):Object.prototype.hasOwnProperty.call(r,t)){for(var i=n1?r.get(t):r[t];n-1?(r.width=RS(n),r.customWidth=1):t.width!=null&&(r.width=t.width),t.hidden&&(r.hidden=!0),t.level!=null&&(r.outlineLevel=r.level=t.level),r}function N0(e,t){if(!!e){var r=[.7,.7,.75,.75,.3,.3];t=="xlml"&&(r=[1,1,1,1,.5,.5]),e.left==null&&(e.left=r[0]),e.right==null&&(e.right=r[1]),e.top==null&&(e.top=r[2]),e.bottom==null&&(e.bottom=r[3]),e.header==null&&(e.header=r[4]),e.footer==null&&(e.footer=r[5])}}function Vm(e,t,r){var n=r.revssf[t.z!=null?t.z:"General"],a=60,i=e.length;if(n==null&&r.ssf){for(;a<392;++a)if(r.ssf[a]==null){su(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}}for(a=0;a!=i;++a)if(e[a].numFmtId===n)return a;return e[i]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},i}function fF(e,t,r,n,a,i){try{n.cellNF&&(e.z=ar[t])}catch(l){if(n.WTF)throw l}if(!(e.t==="z"&&!n.cellStyles)){if(e.t==="d"&&typeof e.v=="string"&&(e.v=Bs(e.v)),(!n||n.cellText!==!1)&&e.t!=="z")try{if(ar[t]==null&&su(_0e[t]||"General",t),e.t==="e")e.w=e.w||Du[e.v];else if(t===0)if(e.t==="n")(e.v|0)===e.v?e.w=e.v.toString(10):e.w=eh(e.v);else if(e.t==="d"){var s=wn(e.v);(s|0)===s?e.w=s.toString(10):e.w=eh(s)}else{if(e.v===void 0)return"";e.w=Z0(e.v,Af)}else e.t==="d"?e.w=al(t,wn(e.v),Af):e.w=al(t,e.v,Af)}catch(l){if(n.WTF)throw l}if(!!n.cellStyles&&r!=null)try{e.s=i.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=VS(a.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),n.WTF&&(e.s.fgColor.raw_rgb=a.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=VS(a.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),n.WTF&&(e.s.bgColor.raw_rgb=a.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(l){if(n.WTF&&i.Fills)throw l}}}function v_e(e,t,r){if(e&&e["!ref"]){var n=jr(e["!ref"]);if(n.e.c=0&&r.s.c>=0&&(e["!ref"]=hr(r))}var M_e=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,D_e=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,I_e=/<(?:\w:)?hyperlink [^>]*>/mg,O_e=/"(\w*:\w*)"/,L_e=/<(?:\w:)?col\b[^>]*[\/]?>/g,b_e=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,C_e=/<(?:\w:)?pageMargins[^>]*\/>/g,pF=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,E_e=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,T_e=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function A_e(e,t,r,n,a,i,s){if(!e)return e;n||(n={"!id":{}});var l=t.dense?[]:{},o={s:{r:2e6,c:2e6},e:{r:0,c:0}},u="",m="",c=e.match(D_e);c?(u=e.slice(0,c.index),m=e.slice(c.index+c[0].length)):u=m=e;var f=u.match(pF);f?DT(f[0],l,a,r):(f=u.match(E_e))&&P_e(f[0],f[1]||"",l,a,r);var p=(u.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(p>0){var h=u.slice(p,p+50).match(O_e);h&&y_e(l,h[1])}var d=u.match(T_e);d&&d[1]&&W_e(d[1],a);var _=[];if(t.cellStyles){var y=u.match(L_e);y&&B_e(_,y)}c&&q_e(c[1],l,t,o,i,s);var g=m.match(b_e);g&&(l["!autofilter"]=$_e(g[0]));var S=[],v=m.match(M_e);if(v)for(p=0;p!=v.length;++p)S[p]=jr(v[p].slice(v[p].indexOf('"')+1));var M=m.match(I_e);M&&V_e(l,M,n);var I=m.match(C_e);if(I&&(l["!margins"]=R_e(mr(I[0]))),!l["!ref"]&&o.e.c>=o.s.c&&o.e.r>=o.s.r&&(l["!ref"]=hr(o)),t.sheetRows>0&&l["!ref"]){var D=jr(l["!ref"]);t.sheetRows<=+D.e.r&&(D.e.r=t.sheetRows-1,D.e.r>o.e.r&&(D.e.r=o.e.r),D.e.ro.e.c&&(D.e.c=o.e.c),D.e.c0&&(l["!cols"]=_),S.length>0&&(l["!merges"]=S),l}function k_e(e){if(e.length===0)return"";for(var t='',r=0;r!=e.length;++r)t+='';return t+""}function DT(e,t,r,n){var a=mr(e);r.Sheets[n]||(r.Sheets[n]={}),a.codeName&&(r.Sheets[n].CodeName=$r(ys(a.codeName)))}function P_e(e,t,r,n,a){DT(e.slice(0,e.indexOf(">")),r,n,a)}function U_e(e,t,r,n,a){var i=!1,s={},l=null;if(n.bookType!=="xlsx"&&t.vbaraw){var o=t.SheetNames[r];try{t.Workbook&&(o=t.Workbook.Sheets[r].CodeName||o)}catch{}i=!0,s.codeName=lo(fs(o))}if(e&&e["!outline"]){var u={summaryBelow:1,summaryRight:1};e["!outline"].above&&(u.summaryBelow=0),e["!outline"].left&&(u.summaryRight=0),l=(l||"")+Nt("outlinePr",null,u)}!i&&!l||(a[a.length]=Nt("sheetPr",l,s))}var N_e=["objects","scenarios","selectLockedCells","selectUnlockedCells"],w_e=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function x_e(e){var t={sheet:1};return N_e.forEach(function(r){e[r]!=null&&e[r]&&(t[r]="1")}),w_e.forEach(function(r){e[r]!=null&&!e[r]&&(t[r]="0")}),e.password&&(t.password=hT(e.password).toString(16).toUpperCase()),Nt("sheetProtection",null,t)}function V_e(e,t,r){for(var n=Array.isArray(e),a=0;a!=t.length;++a){var i=mr(ys(t[a]),!0);if(!i.ref)return;var s=((r||{})["!id"]||[])[i.id];s?(i.Target=s.Target,i.location&&(i.Target+="#"+$r(i.location))):(i.Target="#"+$r(i.location),s={Target:i.Target,TargetMode:"Internal"}),i.Rel=s,i.tooltip&&(i.Tooltip=i.tooltip,delete i.tooltip);for(var l=jr(i.ref),o=l.s.r;o<=l.e.r;++o)for(var u=l.s.c;u<=l.e.c;++u){var m=ir({c:u,r:o});n?(e[o]||(e[o]=[]),e[o][u]||(e[o][u]={t:"z",v:void 0}),e[o][u].l=i):(e[m]||(e[m]={t:"z",v:void 0}),e[m].l=i)}}}function R_e(e){var t={};return["left","right","top","bottom","header","footer"].forEach(function(r){e[r]&&(t[r]=parseFloat(e[r]))}),t}function F_e(e){return N0(e),Nt("pageMargins",null,e)}function B_e(e,t){for(var r=!1,n=0;n!=t.length;++n){var a=mr(t[n],!0);a.hidden&&(a.hidden=Rs(a.hidden));var i=parseInt(a.min,10)-1,s=parseInt(a.max,10)-1;for(a.outlineLevel&&(a.level=+a.outlineLevel||0),delete a.min,delete a.max,a.width=+a.width,!r&&a.width&&(r=!0,_T(a.width)),Dm(a);i<=s;)e[i++]=Hs(a)}}function H_e(e,t){for(var r=[""],n,a=0;a!=t.length;++a)!(n=t[a])||(r[r.length]=Nt("col",null,Py(a,n)));return r[r.length]="",r.join("")}function $_e(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}function j_e(e,t,r,n){var a=typeof e.ref=="string"?e.ref:hr(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=si(a);s.s.r==s.e.r&&(s.e.r=si(t["!ref"]).e.r,a=hr(s));for(var l=0;la-z][^>]*)?\/?>/;function W_e(e,t){t.Views||(t.Views=[{}]),(e.match(G_e)||[]).forEach(function(r,n){var a=mr(r);t.Views[n]||(t.Views[n]={}),+a.zoomScale&&(t.Views[n].zoom=+a.zoomScale),Rs(a.rightToLeft)&&(t.Views[n].RTL=!0)})}function z_e(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),Nt("sheetViews",Nt("sheetView",null,a),{})}function K_e(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),e.v===void 0&&typeof e.f!="string"||e.t==="z"&&!e.f)return"";var a="",i=e.t,s=e.v;if(e.t!=="z")switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=Du[e.v];break;case"d":n&&n.cellDates?a=Bs(e.v,-1).toISOString():(e=Hs(e),e.t="n",a=""+(e.v=wn(Bs(e.v)))),typeof e.z>"u"&&(e.z=ar[14]);break;default:a=e.v;break}var l=na("v",fs(a)),o={r:t},u=Vm(n.cellXfs,e,n);switch(u!==0&&(o.s=u),e.t){case"n":break;case"d":o.t="d";break;case"b":o.t="b";break;case"e":o.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){l=na("v",""+MT(n.Strings,e.v,n.revStrings)),o.t="s";break}o.t="str";break}if(e.t!=i&&(e.t=i,e.v=s),typeof e.f=="string"&&e.f){var m=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;l=Nt("f",fs(e.f),m)+(e.v!=null?l:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(o.cm=1),Nt("c",l,o)}var q_e=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,a=/ref=["']([^"']*)["']/,i=th("v"),s=th("f");return function(o,u,m,c,f,p){for(var h=0,d="",_=[],y=[],g=0,S=0,v=0,M="",I,D,k=0,E=0,z,B,P=0,F=0,L=Array.isArray(p.CellXf),H,ie=[],G=[],pe=Array.isArray(u),W=[],ce={},J=!1,R=!!m.sheetStubs,V=o.split(t),Y=0,Z=V.length;Y!=Z;++Y){d=V[Y].trim();var Re=d.length;if(Re===0)continue;var Je=0;e:for(h=0;h":if(d[h-1]!="/"){++h;break e}if(m&&m.cellStyles){if(D=mr(d.slice(Je,h),!0),k=D.r!=null?parseInt(D.r,10):k+1,E=-1,m.sheetRows&&m.sheetRows=h)break;if(D=mr(d.slice(Je,h),!0),k=D.r!=null?parseInt(D.r,10):k+1,E=-1,!(m.sheetRows&&m.sheetRowsk-1&&(c.s.r=k-1),c.e.r":"")+d,y!=null&&y.length===2){for(g=0,M=y[1],S=0;S!=M.length&&!((v=M.charCodeAt(S)-64)<1||v>26);++S)g=26*g+v;--g,E=g}else++E;for(S=0;S!=d.length&&d.charCodeAt(S)!==62;++S);if(++S,D=mr(d.slice(0,S),!0),D.r||(D.r=ir({r:k-1,c:E})),M=d.slice(S),I={t:""},(y=M.match(i))!=null&&y[1]!==""&&(I.v=$r(y[1])),m.cellFormula){if((y=M.match(s))!=null&&y[1]!==""){if(I.f=$r(ys(y[1])).replace(/\r\n/g,` -`),m.xlfn||(I.f=uP(I.f)),y[0].indexOf('t="array"')>-1)I.F=(M.match(a)||[])[1],I.F.indexOf(":")>-1&&ie.push([jr(I.F),I.F]);else if(y[0].indexOf('t="shared"')>-1){B=mr(y[0]);var be=$r(ys(y[1]));m.xlfn||(be=uP(be)),G[parseInt(B.si,10)]=[B,be,D.r]}}else(y=M.match(/]*\/>/))&&(B=mr(y[0]),G[B.si]&&(I.f=G1e(G[B.si][1],G[B.si][2],D.r)));var et=Xs(D.r);for(S=0;S=ie[S][0].s.r&&et.r<=ie[S][0].e.r&&et.c>=ie[S][0].s.c&&et.c<=ie[S][0].e.c&&(I.F=ie[S][1])}if(D.t==null&&I.v===void 0)if(I.f||I.F)I.v=0,I.t="n";else if(R)I.t="z";else continue;else I.t=D.t||"n";switch(c.s.c>E&&(c.s.c=E),c.e.c"u"){if(!R)continue;I.t="z"}else z=s1[parseInt(I.v,10)],I.v=z.t,I.r=z.r,m.cellHTML&&(I.h=z.h);break;case"str":I.t="s",I.v=I.v!=null?ys(I.v):"",m.cellHTML&&(I.h=eT(I.v));break;case"inlineStr":y=M.match(n),I.t="s",y!=null&&(z=dT(y[1]))?(I.v=z.t,m.cellHTML&&(I.h=z.h)):I.v="";break;case"b":I.v=Rs(I.v);break;case"d":m.cellDates?I.v=Bs(I.v,1):(I.v=wn(Bs(I.v,1)),I.t="n");break;case"e":(!m||m.cellText!==!1)&&(I.w=I.v),I.v=h7[I.v];break}if(P=F=0,H=null,L&&D.s!==void 0&&(H=p.CellXf[D.s],H!=null&&(H.numFmtId!=null&&(P=H.numFmtId),m.cellStyles&&H.fillId!=null&&(F=H.fillId))),fF(I,P,F,m,f,p),m.cellDates&&L&&I.t=="n"&&Ep(ar[P])&&(I.t="d",I.v=Ey(I.v)),D.cm&&m.xlmeta){var Pe=(m.xlmeta.Cell||[])[+D.cm-1];Pe&&Pe.type=="XLDAPR"&&(I.D=!0)}if(pe){var Ne=Xs(D.r);u[Ne.r]||(u[Ne.r]=[]),u[Ne.r][Ne.c]=I}else u[D.r]=I}}}W.length>0&&(u["!rows"]=W)}}();function Z_e(e,t,r,n){var a=[],i=[],s=jr(e["!ref"]),l="",o,u="",m=[],c=0,f=0,p=e["!rows"],h=Array.isArray(e),d={r:u},_,y=-1;for(f=s.s.c;f<=s.e.c;++f)m[f]=Ys(f);for(c=s.s.r;c<=s.e.r;++c){for(i=[],u=dn(c),f=s.s.c;f<=s.e.c;++f){o=m[f]+u;var g=h?(e[c]||[])[f]:e[o];g!==void 0&&(l=K_e(g,o,e,t))!=null&&i.push(l)}(i.length>0||p&&p[c])&&(d={r:u},p&&p[c]&&(_=p[c],_.hidden&&(d.hidden=1),y=-1,_.hpx?y=oh(_.hpx):_.hpt&&(y=_.hpt),y>-1&&(d.ht=y,d.customHeight=1),_.level&&(d.outlineLevel=_.level)),a[a.length]=Nt("row",i.join(""),d))}if(p)for(;c-1&&(d.ht=y,d.customHeight=1),_.level&&(d.outlineLevel=_.level),a[a.length]=Nt("row","",d));return a.join("")}function dF(e,t,r,n){var a=[hn,Nt("worksheet",null,{xmlns:pc[0],"xmlns:r":Pn.r})],i=r.SheetNames[e],s=0,l="",o=r.Sheets[i];o==null&&(o={});var u=o["!ref"]||"A1",m=jr(u);if(m.e.c>16383||m.e.r>1048575){if(t.WTF)throw new Error("Range "+u+" exceeds format limit A1:XFD1048576");m.e.c=Math.min(m.e.c,16383),m.e.r=Math.min(m.e.c,1048575),u=hr(m)}n||(n={}),o["!comments"]=[];var c=[];U_e(o,r,e,t,a),a[a.length]=Nt("dimension",null,{ref:u}),a[a.length]=z_e(o,t,e,r),t.sheetFormat&&(a[a.length]=Nt("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),o["!cols"]!=null&&o["!cols"].length>0&&(a[a.length]=H_e(o,o["!cols"])),a[s=a.length]="",o["!links"]=[],o["!ref"]!=null&&(l=Z_e(o,t),l.length>0&&(a[a.length]=l)),a.length>s+1&&(a[a.length]="",a[s]=a[s].replace("/>",">")),o["!protect"]&&(a[a.length]=x_e(o["!protect"])),o["!autofilter"]!=null&&(a[a.length]=j_e(o["!autofilter"],o,r,e)),o["!merges"]!=null&&o["!merges"].length>0&&(a[a.length]=k_e(o["!merges"]));var f=-1,p,h=-1;return o["!links"].length>0&&(a[a.length]="",o["!links"].forEach(function(d){!d[1].Target||(p={ref:d[0]},d[1].Target.charAt(0)!="#"&&(h=cs(n,-1,fs(d[1].Target).replace(/#.*$/,""),br.HLINK),p["r:id"]="rId"+h),(f=d[1].Target.indexOf("#"))>-1&&(p.location=fs(d[1].Target.slice(f+1))),d[1].Tooltip&&(p.tooltip=fs(d[1].Tooltip)),a[a.length]=Nt("hyperlink",null,p))}),a[a.length]=""),delete o["!links"],o["!margins"]!=null&&(a[a.length]=F_e(o["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(a[a.length]=na("ignoredErrors",Nt("ignoredError",null,{numberStoredAsText:1,sqref:u}))),c.length>0&&(h=cs(n,-1,"../drawings/drawing"+(e+1)+".xml",br.DRAW),a[a.length]=Nt("drawing",null,{"r:id":"rId"+h}),o["!drawing"]=c),o["!comments"].length>0&&(h=cs(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",br.VML),a[a.length]=Nt("legacyDrawing",null,{"r:id":"rId"+h}),o["!legacy"]=h),a.length>1&&(a[a.length]="",a[1]=a[1].replace("/>",">")),a.join("")}function Y_e(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var a=e.read_shift(2);e.l+=1;var i=e.read_shift(1);return e.l=n,i&7&&(r.level=i&7),i&16&&(r.hidden=!0),i&32&&(r.hpt=a/20),r}function X_e(e,t,r){var n=Dt(145),a=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var i=320;a.hpx?i=oh(a.hpx)*20:a.hpt&&(i=a.hpt*20),n.write_shift(2,i),n.write_shift(1,0);var s=0;a.level&&(s|=a.level),a.hidden&&(s|=16),(a.hpx||a.hpt)&&(s|=32),n.write_shift(1,s),n.write_shift(1,0);var l=0,o=n.l;n.l+=4;for(var u={r:e,c:0},m=0;m<16;++m)if(!(t.s.c>m+1<<10||t.e.cn.l?n.slice(0,n.l):n}function J_e(e,t,r,n){var a=X_e(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&Ct(e,0,a)}var Q_e=gc,ege=kp;function tge(){}function rge(e,t){var r={},n=e[e.l];return++e.l,r.above=!(n&64),r.left=!(n&128),e.l+=18,r.name=ace(e),r}function sge(e,t,r){r==null&&(r=Dt(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r.write_shift(1,n);for(var a=1;a<3;++a)r.write_shift(1,0);return NS({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),m7(e,r),r.slice(0,r.l)}function nge(e){var t=ml(e);return[t]}function age(e,t,r){return r==null&&(r=Dt(8)),dc(t,r)}function ige(e){var t=hc(e);return[t]}function lge(e,t,r){return r==null&&(r=Dt(4)),_c(t,r)}function oge(e){var t=ml(e),r=e.read_shift(1);return[t,r,"b"]}function uge(e,t,r){return r==null&&(r=Dt(9)),dc(t,r),r.write_shift(1,e.v?1:0),r}function mge(e){var t=hc(e),r=e.read_shift(1);return[t,r,"b"]}function cge(e,t,r){return r==null&&(r=Dt(5)),_c(t,r),r.write_shift(1,e.v?1:0),r}function fge(e){var t=ml(e),r=e.read_shift(1);return[t,r,"e"]}function pge(e,t,r){return r==null&&(r=Dt(9)),dc(t,r),r.write_shift(1,e.v),r}function dge(e){var t=hc(e),r=e.read_shift(1);return[t,r,"e"]}function hge(e,t,r){return r==null&&(r=Dt(8)),_c(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function _ge(e){var t=ml(e),r=e.read_shift(4);return[t,r,"s"]}function gge(e,t,r){return r==null&&(r=Dt(12)),dc(t,r),r.write_shift(4,t.v),r}function Sge(e){var t=hc(e),r=e.read_shift(4);return[t,r,"s"]}function vge(e,t,r){return r==null&&(r=Dt(8)),_c(t,r),r.write_shift(4,t.v),r}function yge(e){var t=ml(e),r=ha(e);return[t,r,"n"]}function Mge(e,t,r){return r==null&&(r=Dt(16)),dc(t,r),X0(e.v,r),r}function hF(e){var t=hc(e),r=ha(e);return[t,r,"n"]}function Dge(e,t,r){return r==null&&(r=Dt(12)),_c(t,r),X0(e.v,r),r}function Ige(e){var t=ml(e),r=uT(e);return[t,r,"n"]}function Oge(e,t,r){return r==null&&(r=Dt(12)),dc(t,r),c7(e.v,r),r}function Lge(e){var t=hc(e),r=uT(e);return[t,r,"n"]}function bge(e,t,r){return r==null&&(r=Dt(8)),_c(t,r),c7(e.v,r),r}function Cge(e){var t=ml(e),r=iT(e);return[t,r,"is"]}function Ege(e){var t=ml(e),r=ga(e);return[t,r,"str"]}function Tge(e,t,r){return r==null&&(r=Dt(12+4*e.v.length)),dc(t,r),$n(e.v,r),r.length>r.l?r.slice(0,r.l):r}function Age(e){var t=hc(e),r=ga(e);return[t,r,"str"]}function kge(e,t,r){return r==null&&(r=Dt(8+4*e.v.length)),_c(t,r),$n(e.v,r),r.length>r.l?r.slice(0,r.l):r}function Pge(e,t,r){var n=e.l+t,a=ml(e);a.r=r["!row"];var i=e.read_shift(1),s=[a,i,"b"];if(r.cellFormula){e.l+=2;var l=ky(e,n-e.l,r);s[3]=fa(l,null,a,r.supbooks,r)}else e.l=n;return s}function Uge(e,t,r){var n=e.l+t,a=ml(e);a.r=r["!row"];var i=e.read_shift(1),s=[a,i,"e"];if(r.cellFormula){e.l+=2;var l=ky(e,n-e.l,r);s[3]=fa(l,null,a,r.supbooks,r)}else e.l=n;return s}function Nge(e,t,r){var n=e.l+t,a=ml(e);a.r=r["!row"];var i=ha(e),s=[a,i,"n"];if(r.cellFormula){e.l+=2;var l=ky(e,n-e.l,r);s[3]=fa(l,null,a,r.supbooks,r)}else e.l=n;return s}function wge(e,t,r){var n=e.l+t,a=ml(e);a.r=r["!row"];var i=ga(e),s=[a,i,"str"];if(r.cellFormula){e.l+=2;var l=ky(e,n-e.l,r);s[3]=fa(l,null,a,r.supbooks,r)}else e.l=n;return s}var xge=gc,Vge=kp;function Rge(e,t){return t==null&&(t=Dt(4)),t.write_shift(4,e),t}function Fge(e,t){var r=e.l+t,n=gc(e),a=lT(e),i=ga(e),s=ga(e),l=ga(e);e.l=r;var o={rfx:n,relId:a,loc:i,display:l};return s&&(o.Tooltip=s),o}function Bge(e,t){var r=Dt(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));kp({s:Xs(e[0]),e:Xs(e[0])},r),oT("rId"+t,r);var n=e[1].Target.indexOf("#"),a=n==-1?"":e[1].Target.slice(n+1);return $n(a||"",r),$n(e[1].Tooltip||"",r),$n("",r),r.slice(0,r.l)}function Hge(){}function $ge(e,t,r){var n=e.l+t,a=f7(e),i=e.read_shift(1),s=[a];if(s[2]=i,r.cellFormula){var l=f_e(e,n-e.l,r);s[1]=l}else e.l=n;return s}function jge(e,t,r){var n=e.l+t,a=gc(e),i=[a];if(r.cellFormula){var s=d_e(e,n-e.l,r);i[1]=s,e.l=n}else e.l=n;return i}function Gge(e,t,r){r==null&&(r=Dt(18));var n=Py(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,(n.width||10)*256),r.write_shift(4,0);var a=0;return t.hidden&&(a|=1),typeof n.width=="number"&&(a|=2),t.level&&(a|=t.level<<8),r.write_shift(2,a),r}var _F=["left","right","top","bottom","header","footer"];function Wge(e){var t={};return _F.forEach(function(r){t[r]=ha(e)}),t}function zge(e,t){return t==null&&(t=Dt(6*8)),N0(e),_F.forEach(function(r){X0(e[r],t)}),t}function Kge(e){var t=e.read_shift(2);return e.l+=28,{RTL:t&32}}function qge(e,t,r){r==null&&(r=Dt(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}function Zge(e){var t=Dt(24);return t.write_shift(4,4),t.write_shift(4,1),kp(e,t),t}function Yge(e,t){return t==null&&(t=Dt(16*4+2)),t.write_shift(2,e.password?hT(e.password):0),t.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(r){r[1]?t.write_shift(4,e[r[0]]!=null&&!e[r[0]]?1:0):t.write_shift(4,e[r[0]]!=null&&e[r[0]]?0:1)}),t}function Xge(){}function Jge(){}function Qge(e,t,r,n,a,i,s){if(!e)return e;var l=t||{};n||(n={"!id":{}});var o=l.dense?[]:{},u,m={s:{r:2e6,c:2e6},e:{r:0,c:0}},c=!1,f=!1,p,h,d,_,y,g,S,v,M,I=[];l.biff=12,l["!row"]=0;var D=0,k=!1,E=[],z={},B=l.supbooks||a.supbooks||[[]];if(B.sharedf=z,B.arrayf=E,B.SheetNames=a.SheetNames||a.Sheets.map(function(pe){return pe.name}),!l.supbooks&&(l.supbooks=B,a.Names))for(var P=0;P=R[0].s.r&&p.r<=R[0].e.r&&y>=R[0].s.c&&y<=R[0].e.c&&(h.F=hr(R[0]),k=!0)}!k&&W.length>3&&(h.f=W[3])}if(m.s.r>p.r&&(m.s.r=p.r),m.s.c>y&&(m.s.c=y),m.e.rp.r&&(m.s.r=p.r),m.s.c>y&&(m.s.c=y),m.e.r=W.s;)F[W.e--]={width:W.w/256,hidden:!!(W.flags&1),level:W.level},H||(H=!0,_T(W.w/256)),Dm(F[W.e+1]);break;case 161:o["!autofilter"]={ref:hr(W)};break;case 476:o["!margins"]=W;break;case 147:a.Sheets[r]||(a.Sheets[r]={}),W.name&&(a.Sheets[r].CodeName=W.name),(W.above||W.left)&&(o["!outline"]={above:W.above,left:W.left});break;case 137:a.Views||(a.Views=[{}]),a.Views[0]||(a.Views[0]={}),W.RTL&&(a.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:c=!0;break;case 36:c=!1;break;case 37:c=!0;break;case 38:c=!1;break;default:if(!ce.T){if(!c||l.WTF)throw new Error("Unexpected record 0x"+J.toString(16))}}},l),delete l.supbooks,delete l["!row"],!o["!ref"]&&(m.s.r<2e6||u&&(u.e.r>0||u.e.c>0||u.s.r>0||u.s.c>0))&&(o["!ref"]=hr(u||m)),l.sheetRows&&o["!ref"]){var G=jr(o["!ref"]);l.sheetRows<=+G.e.r&&(G.e.r=l.sheetRows-1,G.e.r>m.e.r&&(G.e.r=m.e.r),G.e.rm.e.c&&(G.e.c=m.e.c),G.e.c0&&(o["!merges"]=I),F.length>0&&(o["!cols"]=F),L.length>0&&(o["!rows"]=L),o}function e2e(e,t,r,n,a,i,s){if(t.v===void 0)return!1;var l="";switch(t.t){case"b":l=t.v?"1":"0";break;case"d":t=Hs(t),t.z=t.z||ar[14],t.v=wn(Bs(t.v)),t.t="n";break;case"n":case"e":l=""+t.v;break;default:l=t.v;break}var o={r,c:n};switch(o.s=Vm(a.cellXfs,t,a),t.l&&i["!links"].push([ir(o),t.l]),t.c&&i["!comments"].push([ir(o),t.c]),t.t){case"s":case"str":return a.bookSST?(l=MT(a.Strings,t.v,a.revStrings),o.t="s",o.v=l,s?Ct(e,18,vge(t,o)):Ct(e,7,gge(t,o))):(o.t="str",s?Ct(e,17,kge(t,o)):Ct(e,6,Tge(t,o))),!0;case"n":return t.v==(t.v|0)&&t.v>-1e3&&t.v<1e3?s?Ct(e,13,bge(t,o)):Ct(e,2,Oge(t,o)):s?Ct(e,16,Dge(t,o)):Ct(e,5,Mge(t,o)),!0;case"b":return o.t="b",s?Ct(e,15,cge(t,o)):Ct(e,4,uge(t,o)),!0;case"e":return o.t="e",s?Ct(e,14,hge(t,o)):Ct(e,3,pge(t,o)),!0}return s?Ct(e,12,lge(t,o)):Ct(e,1,age(t,o)),!0}function t2e(e,t,r,n){var a=jr(t["!ref"]||"A1"),i,s="",l=[];Ct(e,145);var o=Array.isArray(t),u=a.e.r;t["!rows"]&&(u=Math.max(a.e.r,t["!rows"].length-1));for(var m=a.s.r;m<=u;++m){s=dn(m),J_e(e,t,a,m);var c=!1;if(m<=a.e.r)for(var f=a.s.c;f<=a.e.c;++f){m===a.s.r&&(l[f]=Ys(f)),i=l[f]+s;var p=o?(t[m]||[])[f]:t[i];if(!p){c=!1;continue}c=e2e(e,p,m,f,n,t,c)}}Ct(e,146)}function r2e(e,t){!t||!t["!merges"]||(Ct(e,177,Rge(t["!merges"].length)),t["!merges"].forEach(function(r){Ct(e,176,Vge(r))}),Ct(e,178))}function s2e(e,t){!t||!t["!cols"]||(Ct(e,390),t["!cols"].forEach(function(r,n){r&&Ct(e,60,Gge(n,r))}),Ct(e,391))}function n2e(e,t){!t||!t["!ref"]||(Ct(e,648),Ct(e,649,Zge(jr(t["!ref"]))),Ct(e,650))}function a2e(e,t,r){t["!links"].forEach(function(n){if(!!n[1].Target){var a=cs(r,-1,n[1].Target.replace(/#.*$/,""),br.HLINK);Ct(e,494,Bge(n,a))}}),delete t["!links"]}function i2e(e,t,r,n){if(t["!comments"].length>0){var a=cs(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",br.VML);Ct(e,551,oT("rId"+a)),t["!legacy"]=a}}function l2e(e,t,r,n){if(!!t["!autofilter"]){var a=t["!autofilter"],i=typeof a.ref=="string"?a.ref:hr(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,l=si(i);l.s.r==l.e.r&&(l.e.r=si(t["!ref"]).e.r,i=hr(l));for(var o=0;o16383||o.e.r>1048575){if(t.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383),o.e.r=Math.min(o.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],Ct(a,129),(r.vbaraw||s["!outline"])&&Ct(a,147,sge(l,s["!outline"])),Ct(a,148,ege(o)),o2e(a,s,r.Workbook),s2e(a,s),t2e(a,s,e,t),u2e(a,s),l2e(a,s,r,e),r2e(a,s),a2e(a,s,n),s["!margins"]&&Ct(a,476,zge(s["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&n2e(a,s),i2e(a,s,e,n),Ct(a,130),a.end()}function c2e(e){var t=[],r=e.match(/^/),n;(e.match(/(.*?)<\/c:pt>/mg)||[]).forEach(function(i){var s=i.match(/(.*)<\/c:v><\/c:pt>/);!s||(t[+s[1]]=r?+s[2]:s[2])});var a=$r((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/(.*?)<\/c:f>/mg)||[]).forEach(function(i){n=i.replace(/<.*?>/g,"")}),[t,a,n]}function f2e(e,t,r,n,a,i){var s=i||{"!type":"chart"};if(!e)return i;var l=0,o=0,u="A",m={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(c){var f=c2e(c);m.s.r=m.s.c=0,m.e.c=l,u=Ys(l),f[0].forEach(function(p,h){s[u+dn(h)]={t:"n",v:p,z:f[1]},o=h}),m.e.r0&&(s["!ref"]=hr(m)),s}function p2e(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var i={"!type":"chart","!drawel":null,"!rel":""},s,l=e.match(pF);return l&&DT(l[0],i,a,r),(s=e.match(/drawing r:id="(.*?)"/))&&(i["!rel"]=s[1]),n["!id"][i["!rel"]]&&(i["!drawel"]=n["!id"][i["!rel"]]),i}function d2e(e,t){e.l+=10;var r=ga(e);return{name:r}}function h2e(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var i={"!type":"chart","!drawel":null,"!rel":""},s=!1;return Mu(e,function(o,u,m){switch(m){case 550:i["!rel"]=o;break;case 651:a.Sheets[r]||(a.Sheets[r]={}),o.name&&(a.Sheets[r].CodeName=o.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:break;case 38:break;default:if(!(u.T>0)){if(!(u.T<0)){if(!s||t.WTF)throw new Error("Unexpected record 0x"+m.toString(16))}}}},t),n["!id"][i["!rel"]]&&(i["!drawel"]=n["!id"][i["!rel"]]),i}var IT=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],_2e=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],g2e=[],S2e=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function dP(e,t){for(var r=0;r!=e.length;++r)for(var n=e[r],a=0;a!=t.length;++a){var i=t[a];if(n[i[0]]==null)n[i[0]]=i[1];else switch(i[2]){case"bool":typeof n[i[0]]=="string"&&(n[i[0]]=Rs(n[i[0]]));break;case"int":typeof n[i[0]]=="string"&&(n[i[0]]=parseInt(n[i[0]],10));break}}}function hP(e,t){for(var r=0;r!=t.length;++r){var n=t[r];if(e[n[0]]==null)e[n[0]]=n[1];else switch(n[2]){case"bool":typeof e[n[0]]=="string"&&(e[n[0]]=Rs(e[n[0]]));break;case"int":typeof e[n[0]]=="string"&&(e[n[0]]=parseInt(e[n[0]],10));break}}}function gF(e){hP(e.WBProps,IT),hP(e.CalcPr,S2e),dP(e.WBView,_2e),dP(e.Sheets,g2e),Af.date1904=Rs(e.WBProps.date1904)}function v2e(e){return!e.Workbook||!e.Workbook.WBProps?"false":Rs(e.Workbook.WBProps.date1904)?"true":"false"}var y2e="][*?/\\".split("");function SF(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return y2e.forEach(function(n){if(e.indexOf(n)!=-1){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}}),r}function M2e(e,t,r){e.forEach(function(n,a){SF(n);for(var i=0;i22)throw new Error("Bad Code Name: Worksheet"+s)}})}function D2e(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];M2e(e.SheetNames,t,!!e.vbaraw);for(var r=0;r":break;case"":case"":break;case"":break;case"":IT.forEach(function(c){if(m[c[0]]!=null)switch(c[2]){case"bool":r.WBProps[c[0]]=Rs(m[c[0]]);break;case"int":r.WBProps[c[0]]=parseInt(m[c[0]],10);break;default:r.WBProps[c[0]]=m[c[0]]}}),m.codeName&&(r.WBProps.CodeName=ys(m.codeName));break;case"":break;case"":break;case"":case"":break;case"":delete m[0],r.WBView.push(m);break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":n=!1;break;case"":i.Ref=$r(ys(e.slice(s,u))),r.Names.push(i);break;case"":break;case"":delete m[0],r.CalcPr=m;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":case"":break;case"":n=!1;break;case"":n=!0;break;case"":n=!1;break;case"0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(IT.forEach(function(l){e.Workbook.WBProps[l[0]]!=null&&e.Workbook.WBProps[l[0]]!=l[1]&&(n[l[0]]=e.Workbook.WBProps[l[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=Nt("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],i=0;if(a&&a[0]&&!!a[0].Hidden){for(t[t.length]="",i=0;i!=e.SheetNames.length&&!(!a[i]||!a[i].Hidden);++i);i==e.SheetNames.length&&(i=0),t[t.length]='',t[t.length]=""}for(t[t.length]="",i=0;i!=e.SheetNames.length;++i){var s={name:fs(e.SheetNames[i].slice(0,31))};if(s.sheetId=""+(i+1),s["r:id"]="rId"+(i+1),a[i])switch(a[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}t[t.length]=Nt("sheet",null,s)}return t[t.length]="",r&&(t[t.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(l){var o={name:l.Name};l.Comment&&(o.comment=l.Comment),l.Sheet!=null&&(o.localSheetId=""+l.Sheet),l.Hidden&&(o.hidden="1"),l.Ref&&(t[t.length]=Nt("definedName",fs(l.Ref),o))}),t[t.length]=""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function L2e(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=BL(e),r.name=ga(e),r}function b2e(e,t){return t||(t=Dt(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),oT(e.strRelID,t),$n(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function C2e(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var a=t>8?ga(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(n&65536),r.backupFile=!!(n&64),r.checkCompatibility=!!(n&4096),r.date1904=!!(n&1),r.filterPrivacy=!!(n&8),r.hidePivotFieldList=!!(n&1024),r.promptedSolutions=!!(n&16),r.publishItems=!!(n&2048),r.refreshAllConnections=!!(n&262144),r.saveExternalLinkValues=!!(n&128),r.showBorderUnselectedTables=!!(n&4),r.showInkAnnotation=!!(n&32),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(n&32768),r.updateLinks=["userSet","never","always"][n>>8&3],r}function E2e(e,t){t||(t=Dt(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),m7(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function T2e(e,t){var r={};return e.read_shift(4),r.ArchID=e.read_shift(4),e.l+=t-8,r}function A2e(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e.read_shift(4),i=ice(e),s=p_e(e,0,r),l=lT(e);e.l=n;var o={Name:i,Ptg:s};return a<268435455&&(o.Sheet=a),l&&(o.Comment=l),o}function k2e(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],a=!1;t||(t={}),t.biff=12;var i=[],s=[[]];return s.SheetNames=[],s.XTI=[],uh[16]={n:"BrtFRTArchID$",f:T2e},Mu(e,function(o,u,m){switch(m){case 156:s.SheetNames.push(o.name),r.Sheets.push(o);break;case 153:r.WBProps=o;break;case 39:o.Sheet!=null&&(t.SID=o.Sheet),o.Ref=fa(o.Ptg,null,null,s,t),delete t.SID,delete o.Ptg,i.push(o);break;case 1036:break;case 357:case 358:case 355:case 667:s[0].length?s.push([m,o]):s[0]=[m,o],s[s.length-1].XTI=[];break;case 362:s.length===0&&(s[0]=[],s[0].XTI=[]),s[s.length-1].XTI=s[s.length-1].XTI.concat(o),s.XTI=s.XTI.concat(o);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:n.push(m),a=!0;break;case 36:n.pop(),a=!1;break;case 37:n.push(m),a=!0;break;case 38:n.pop(),a=!1;break;case 16:break;default:if(!u.T){if(!a||t.WTF&&n[n.length-1]!=37&&n[n.length-1]!=35)throw new Error("Unexpected record 0x"+m.toString(16))}}},t),gF(r),r.Names=i,r.supbooks=s,r}function P2e(e,t){Ct(e,143);for(var r=0;r!=t.SheetNames.length;++r){var n=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,a={Hidden:n,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};Ct(e,156,b2e(a))}Ct(e,144)}function U2e(e,t){t||(t=Dt(127));for(var r=0;r!=4;++r)t.write_shift(4,0);return $n("SheetJS",t),$n(CS.version,t),$n(CS.version,t),$n("7262",t),t.length>t.l?t.slice(0,t.l):t}function N2e(e,t){t||(t=Dt(29)),t.write_shift(-4,0),t.write_shift(-4,460),t.write_shift(4,28800),t.write_shift(4,17600),t.write_shift(4,500),t.write_shift(4,e),t.write_shift(4,e);var r=120;return t.write_shift(1,r),t.length>t.l?t.slice(0,t.l):t}function w2e(e,t){if(!(!t.Workbook||!t.Workbook.Sheets)){for(var r=t.Workbook.Sheets,n=0,a=-1,i=-1;na||(Ct(e,135),Ct(e,158,N2e(a)),Ct(e,136))}}function x2e(e,t){var r=ei();return Ct(r,131),Ct(r,128,U2e()),Ct(r,153,E2e(e.Workbook&&e.Workbook.WBProps||null)),w2e(r,e),P2e(r,e),Ct(r,132),r.end()}function V2e(e,t,r){return t.slice(-4)===".bin"?k2e(e,r):O2e(e,r)}function R2e(e,t,r,n,a,i,s,l){return t.slice(-4)===".bin"?Qge(e,n,r,a,i,s,l):A_e(e,n,r,a,i,s,l)}function F2e(e,t,r,n,a,i,s,l){return t.slice(-4)===".bin"?h2e(e,n,r,a,i):p2e(e,n,r,a,i)}function B2e(e,t,r,n,a,i,s,l){return t.slice(-4)===".bin"?$1e():j1e()}function H2e(e,t,r,n,a,i,s,l){return t.slice(-4)===".bin"?B1e():H1e()}function $2e(e,t,r,n){return t.slice(-4)===".bin"?Vde(e,r,n):Lde(e,r,n)}function j2e(e,t,r){return Q7(e,r)}function G2e(e,t,r){return t.slice(-4)===".bin"?Gpe(e,r):Hpe(e,r)}function W2e(e,t,r){return t.slice(-4)===".bin"?w1e(e,r):b1e(e,r)}function z2e(e,t,r){return t.slice(-4)===".bin"?I1e(e):M1e(e)}function K2e(e,t,r,n){return r.slice(-4)===".bin"?O1e(e,t,r,n):void 0}function q2e(e,t,r){return t.slice(-4)===".bin"?S1e(e,t,r):y1e(e,t,r)}function Z2e(e,t,r){return(t.slice(-4)===".bin"?x2e:vF)(e)}function Y2e(e,t,r,n,a){return(t.slice(-4)===".bin"?m2e:dF)(e,r,n,a)}function X2e(e,t,r){return(t.slice(-4)===".bin"?Kde:X7)(e,r)}function J2e(e,t,r){return(t.slice(-4)===".bin"?Kpe:j7)(e,r)}function Q2e(e,t,r){return(t.slice(-4)===".bin"?x1e:rF)(e)}function eSe(e){return(e.slice(-4)===".bin"?v1e:eF)()}var yF=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,MF=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function hl(e,t){var r=e.split(/\s+/),n=[];if(t||(n[0]=r[0]),r.length===1)return n;var a=e.match(yF),i,s,l,o;if(a)for(o=0;o!=a.length;++o)i=a[o].match(MF),(s=i[1].indexOf(":"))===-1?n[i[1]]=i[2].slice(1,i[2].length-1):(i[1].slice(0,6)==="xmlns:"?l="xmlns"+i[1].slice(6):l=i[1].slice(s+1),n[l]=i[2].slice(1,i[2].length-1));return n}function tSe(e){var t=e.split(/\s+/),r={};if(t.length===1)return r;var n=e.match(yF),a,i,s,l;if(n)for(l=0;l!=n.length;++l)a=n[l].match(MF),(i=a[1].indexOf(":"))===-1?r[a[1]]=a[2].slice(1,a[2].length-1):(a[1].slice(0,6)==="xmlns:"?s="xmlns"+a[1].slice(6):s=a[1].slice(i+1),r[s]=a[2].slice(1,a[2].length-1));return r}var a1;function rSe(e,t){var r=a1[e]||$r(e);return r==="General"?Z0(t):al(r,t)}function sSe(e,t,r,n){var a=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":a=Rs(n);break;case"i2":case"int":a=parseInt(n,10);break;case"r4":case"float":a=parseFloat(n);break;case"date":case"dateTime.tz":a=Bs(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[$r(t)]=a}function nSe(e,t,r){if(e.t!=="z"){if(!r||r.cellText!==!1)try{e.t==="e"?e.w=e.w||Du[e.v]:t==="General"?e.t==="n"?(e.v|0)===e.v?e.w=e.v.toString(10):e.w=eh(e.v):e.w=Z0(e.v):e.w=rSe(t||"General",e.v)}catch(i){if(r.WTF)throw i}try{var n=a1[t]||t||"General";if(r.cellNF&&(e.z=n),r.cellDates&&e.t=="n"&&Ep(n)){var a=I0(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}catch(i){if(r.WTF)throw i}}}function aSe(e,t,r){if(r.cellStyles&&t.Interior){var n=t.Interior;n.Pattern&&(n.patternType=gde[n.Pattern]||n.Pattern)}e[t.ID]=t}function iSe(e,t,r,n,a,i,s,l,o,u){var m="General",c=n.StyleID,f={};u=u||{};var p=[],h=0;for(c===void 0&&l&&(c=l.StyleID),c===void 0&&s&&(c=s.StyleID);i[c]!==void 0&&(i[c].nf&&(m=i[c].nf),i[c].Interior&&p.push(i[c].Interior),!!i[c].Parent);)c=i[c].Parent;switch(r.Type){case"Boolean":n.t="b",n.v=Rs(e);break;case"String":n.t="s",n.r=Pk($r(e)),n.v=e.indexOf("<")>-1?$r(t||e).replace(/<.*?>/g,""):n.r;break;case"DateTime":e.slice(-1)!="Z"&&(e+="Z"),n.v=(Bs(e)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3),n.v!==n.v?n.v=$r(e):n.v<60&&(n.v=n.v-1),(!m||m=="General")&&(m="yyyy-mm-dd");case"Number":n.v===void 0&&(n.v=+e),n.t||(n.t="n");break;case"Error":n.t="e",n.v=h7[e],u.cellText!==!1&&(n.w=e);break;default:e==""&&t==""?n.t="z":(n.t="s",n.v=Pk(t||e));break}if(nSe(n,m,u),u.cellFormula!==!1)if(n.Formula){var d=$r(n.Formula);d.charCodeAt(0)==61&&(d=d.slice(1)),n.f=Tf(d,a),delete n.Formula,n.ArrayRange=="RC"?n.F=Tf("RC:RC",a):n.ArrayRange&&(n.F=Tf(n.ArrayRange,a),o.push([jr(n.F),n.F]))}else for(h=0;h=o[h][0].s.r&&a.r<=o[h][0].e.r&&a.c>=o[h][0].s.c&&a.c<=o[h][0].e.c&&(n.F=o[h][1]);u.cellStyles&&(p.forEach(function(_){!f.patternType&&_.patternType&&(f.patternType=_.patternType)}),n.s=f),n.StyleID!==void 0&&(n.ixfe=n.StyleID)}function lSe(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,` -`).replace(/\r/g,` -`),e.v=e.w=e.ixfe=void 0}function EI(e,t){var r=t||{};Tp();var n=Dd(tT(e));(r.type=="binary"||r.type=="array"||r.type=="base64")&&(n=ys(n));var a=n.slice(0,1024).toLowerCase(),i=!1;if(a=a.replace(/".*?"/g,""),(a.indexOf(">")&1023)>Math.min(a.indexOf(",")&1023,a.indexOf(";")&1023)){var s=Hs(r);return s.type="string",Xf.to_workbook(n,s)}if(a.indexOf("=0&&(i=!0)}),i)return zSe(n,r);a1={"General Number":"General","General Date":ar[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":ar[15],"Short Date":ar[14],"Long Time":ar[19],"Medium Time":ar[18],"Short Time":ar[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:ar[2],Standard:ar[4],Percent:ar[10],Scientific:ar[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var l,o=[],u,m={},c=[],f=r.dense?[]:{},p="",h={},d={},_=hl(''),y=0,g=0,S=0,v={s:{r:2e6,c:2e6},e:{r:0,c:0}},M={},I={},D="",k=0,E=[],z={},B={},P=0,F=[],L=[],H={},ie=[],G,pe=!1,W=[],ce=[],J={},R=0,V=0,Y={Sheets:[],WBProps:{date1904:!1}},Z={};sh.lastIndex=0,n=n.replace(//mg,"");for(var Re="";l=sh.exec(n);)switch(l[3]=(Re=l[3]).toLowerCase()){case"data":if(Re=="data"){if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else l[0].charAt(l[0].length-2)!=="/"&&o.push([l[3],!0]);break}if(o[o.length-1][1])break;l[1]==="/"?iSe(n.slice(y,l.index),D,_,o[o.length-1][0]=="comment"?H:h,{c:g,r:S},M,ie[g],d,W,r):(D="",_=hl(l[0]),y=l.index+l[0].length);break;case"cell":if(l[1]==="/")if(L.length>0&&(h.c=L),(!r.sheetRows||r.sheetRows>S)&&h.v!==void 0&&(r.dense?(f[S]||(f[S]=[]),f[S][g]=h):f[Ys(g)+dn(S)]=h),h.HRef&&(h.l={Target:$r(h.HRef)},h.HRefScreenTip&&(h.l.Tooltip=h.HRefScreenTip),delete h.HRef,delete h.HRefScreenTip),(h.MergeAcross||h.MergeDown)&&(R=g+(parseInt(h.MergeAcross,10)|0),V=S+(parseInt(h.MergeDown,10)|0),E.push({s:{c:g,r:S},e:{c:R,r:V}})),!r.sheetStubs)h.MergeAcross?g=R+1:++g;else if(h.MergeAcross||h.MergeDown){for(var Je=g;Je<=R;++Je)for(var xe=S;xe<=V;++xe)(Je>g||xe>S)&&(r.dense?(f[xe]||(f[xe]=[]),f[xe][Je]={t:"z"}):f[Ys(Je)+dn(xe)]={t:"z"});g=R+1}else++g;else h=tSe(l[0]),h.Index&&(g=+h.Index-1),gv.e.c&&(v.e.c=g),l[0].slice(-2)==="/>"&&++g,L=[];break;case"row":l[1]==="/"||l[0].slice(-2)==="/>"?(Sv.e.r&&(v.e.r=S),l[0].slice(-2)==="/>"&&(d=hl(l[0]),d.Index&&(S=+d.Index-1)),g=0,++S):(d=hl(l[0]),d.Index&&(S=+d.Index-1),J={},(d.AutoFitHeight=="0"||d.Height)&&(J.hpx=parseInt(d.Height,10),J.hpt=oh(J.hpx),ce[S]=J),d.Hidden=="1"&&(J.hidden=!0,ce[S]=J));break;case"worksheet":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"));c.push(p),v.s.r<=v.e.r&&v.s.c<=v.e.c&&(f["!ref"]=hr(v),r.sheetRows&&r.sheetRows<=v.e.r&&(f["!fullref"]=f["!ref"],v.e.r=r.sheetRows-1,f["!ref"]=hr(v))),E.length&&(f["!merges"]=E),ie.length>0&&(f["!cols"]=ie),ce.length>0&&(f["!rows"]=ce),m[p]=f}else v={s:{r:2e6,c:2e6},e:{r:0,c:0}},S=g=0,o.push([l[3],!1]),u=hl(l[0]),p=$r(u.Name),f=r.dense?[]:{},E=[],W=[],ce=[],Z={name:p,Hidden:0},Y.Sheets.push(Z);break;case"table":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else{if(l[0].slice(-2)=="/>")break;o.push([l[3],!1]),ie=[],pe=!1}break;case"style":l[1]==="/"?aSe(M,I,r):I=hl(l[0]);break;case"numberformat":I.nf=$r(hl(l[0]).Format||"General"),a1[I.nf]&&(I.nf=a1[I.nf]);for(var be=0;be!=392&&ar[be]!=I.nf;++be);if(be==392){for(be=57;be!=392;++be)if(ar[be]==null){su(I.nf,be);break}}break;case"column":if(o[o.length-1][0]!=="table")break;if(G=hl(l[0]),G.Hidden&&(G.hidden=!0,delete G.Hidden),G.Width&&(G.wpx=parseInt(G.Width,10)),!pe&&G.wpx>10){pe=!0,da=Z7;for(var et=0;et0&&(vt.Sheet=Y.Sheets.length-1),Y.Names.push(vt);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(l[0].slice(-2)==="/>")break;l[1]==="/"?D+=n.slice(k,l.index):k=l.index+l[0].length;break;case"interior":if(!r.cellStyles)break;I.Interior=hl(l[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if(l[0].slice(-2)==="/>")break;l[1]==="/"?kce(z,Re,n.slice(P,l.index)):P=l.index+l[0].length;break;case"paragraphs":break;case"styles":case"workbook":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else o.push([l[3],!1]);break;case"comment":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"));lSe(H),L.push(H)}else o.push([l[3],!1]),u=hl(l[0]),H={a:u.Author};break;case"autofilter":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else if(l[0].charAt(l[0].length-2)!=="/"){var T=hl(l[0]);f["!autofilter"]={ref:Tf(T.Range).replace(/\$/g,"")},o.push([l[3],!0])}break;case"name":break;case"datavalidation":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else l[0].charAt(l[0].length-2)!=="/"&&o.push([l[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if(l[1]==="/"){if((u=o.pop())[0]!==l[3])throw new Error("Bad state: "+u.join("|"))}else l[0].charAt(l[0].length-2)!=="/"&&o.push([l[3],!0]);break;case"null":break;default:if(o.length==0&&l[3]=="document"||o.length==0&&l[3]=="uof")return yP(n,r);var we=!0;switch(o[o.length-1][0]){case"officedocumentsettings":switch(l[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:we=!1}break;case"componentoptions":switch(l[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:we=!1}break;case"excelworkbook":switch(l[3]){case"date1904":Y.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:we=!1}break;case"workbookoptions":switch(l[3]){case"owcversion":break;case"height":break;case"width":break;default:we=!1}break;case"worksheetoptions":switch(l[3]){case"visible":if(l[0].slice(-2)!=="/>")if(l[1]==="/")switch(n.slice(P,l.index)){case"SheetHidden":Z.Hidden=1;break;case"SheetVeryHidden":Z.Hidden=2;break}else P=l.index+l[0].length;break;case"header":f["!margins"]||N0(f["!margins"]={},"xlml"),isNaN(+mr(l[0]).Margin)||(f["!margins"].header=+mr(l[0]).Margin);break;case"footer":f["!margins"]||N0(f["!margins"]={},"xlml"),isNaN(+mr(l[0]).Margin)||(f["!margins"].footer=+mr(l[0]).Margin);break;case"pagemargins":var Ue=mr(l[0]);f["!margins"]||N0(f["!margins"]={},"xlml"),isNaN(+Ue.Top)||(f["!margins"].top=+Ue.Top),isNaN(+Ue.Left)||(f["!margins"].left=+Ue.Left),isNaN(+Ue.Right)||(f["!margins"].right=+Ue.Right),isNaN(+Ue.Bottom)||(f["!margins"].bottom=+Ue.Bottom);break;case"displayrighttoleft":Y.Views||(Y.Views=[]),Y.Views[0]||(Y.Views[0]={}),Y.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":f["!outline"]||(f["!outline"]={}),f["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":f["!outline"]||(f["!outline"]={}),f["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:we=!1}break;case"pivottable":case"pivotcache":switch(l[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:we=!1}break;case"pagebreaks":switch(l[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:we=!1}break;case"autofilter":switch(l[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:we=!1}break;case"querytable":switch(l[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:we=!1}break;case"datavalidation":switch(l[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:we=!1}break;case"sorting":case"conditionalformatting":switch(l[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:we=!1}break;case"mapinfo":case"schema":case"data":switch(l[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:we=!1}break;case"smarttags":break;default:we=!1;break}if(we||l[3].match(/!\[CDATA/))break;if(!o[o.length-1][1])throw"Unrecognized tag: "+l[3]+"|"+o.join("|");if(o[o.length-1][0]==="customdocumentproperties"){if(l[0].slice(-2)==="/>")break;l[1]==="/"?sSe(B,Re,F,n.slice(P,l.index)):(F=l,P=l.index+l[0].length);break}if(r.WTF)throw"Unrecognized tag: "+l[3]+"|"+o.join("|")}var K={};return!r.bookSheets&&!r.bookProps&&(K.Sheets=m),K.SheetNames=c,K.Workbook=Y,K.SSF=Hs(ar),K.Props=z,K.Custprops=B,K}function KL(e,t){switch(LT(t=t||{}),t.type||"base64"){case"base64":return EI(Oi(e),t);case"binary":case"buffer":case"file":return EI(e,t);case"array":return EI(wm(e),t)}}function oSe(e,t){var r=[];return e.Props&&r.push(Pce(e.Props,t)),e.Custprops&&r.push(Uce(e.Props,e.Custprops)),r.join("")}function uSe(){return""}function mSe(e,t){var r=[''];return t.cellXfs.forEach(function(n,a){var i=[];i.push(Nt("NumberFormat",null,{"ss:Format":fs(ar[n.numFmtId])}));var s={"ss:ID":"s"+(21+a)};r.push(Nt("Style",i.join(""),s))}),Nt("Styles",r.join(""))}function DF(e){return Nt("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+vT(e.Ref,{r:0,c:0})})}function cSe(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n"),e["!margins"].header&&a.push(Nt("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(Nt("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(Nt("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(Nt("Visible",n.Workbook.Sheets[r].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push(""),e["!protect"]&&(a.push(na("ProtectContents","True")),e["!protect"].objects&&a.push(na("ProtectObjects","True")),e["!protect"].scenarios&&a.push(na("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?a.push(na("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&a.push(na("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(s){e["!protect"][s[0]]&&a.push("<"+s[1]+"/>")})),a.length==0?"":Nt("WorksheetOptions",a.join(""),{xmlns:fi.x})}function dSe(e){return e.map(function(t){var r=w0e(t.t||""),n=Nt("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return Nt("Comment",n,{"ss:Author":t.a})}).join("")}function hSe(e,t,r,n,a,i,s){if(!e||e.v==null&&e.f==null)return"";var l={};if(e.f&&(l["ss:Formula"]="="+fs(vT(e.f,s))),e.F&&e.F.slice(0,t.length)==t){var o=Xs(e.F.slice(t.length+1));l["ss:ArrayRange"]="RC:R"+(o.r==s.r?"":"["+(o.r-s.r)+"]")+"C"+(o.c==s.c?"":"["+(o.c-s.c)+"]")}if(e.l&&e.l.Target&&(l["ss:HRef"]=fs(e.l.Target),e.l.Tooltip&&(l["x:HRefScreenTip"]=fs(e.l.Tooltip))),r["!merges"])for(var u=r["!merges"],m=0;m!=u.length;++m)u[m].s.c!=s.c||u[m].s.r!=s.r||(u[m].e.c>u[m].s.c&&(l["ss:MergeAcross"]=u[m].e.c-u[m].s.c),u[m].e.r>u[m].s.r&&(l["ss:MergeDown"]=u[m].e.r-u[m].s.r));var c="",f="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":c="Number",f=String(e.v);break;case"b":c="Boolean",f=e.v?"1":"0";break;case"e":c="Error",f=Du[e.v];break;case"d":c="DateTime",f=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||ar[14]);break;case"s":c="String",f=N0e(e.v||"");break}var p=Vm(n.cellXfs,e,n);l["ss:StyleID"]="s"+(21+p),l["ss:Index"]=s.c+1;var h=e.v!=null?f:"",d=e.t=="z"?"":''+h+"";return(e.c||[]).length>0&&(d+=dSe(e.c)),Nt("Cell",d,l)}function _Se(e,t){var r='"}function gSe(e,t,r,n){if(!e["!ref"])return"";var a=jr(e["!ref"]),i=e["!merges"]||[],s=0,l=[];e["!cols"]&&e["!cols"].forEach(function(_,y){Dm(_);var g=!!_.width,S=Py(y,_),v={"ss:Index":y+1};g&&(v["ss:Width"]=ih(S.width)),_.hidden&&(v["ss:Hidden"]="1"),l.push(Nt("Column",null,v))});for(var o=Array.isArray(e),u=a.s.r;u<=a.e.r;++u){for(var m=[_Se(u,(e["!rows"]||[])[u])],c=a.s.c;c<=a.e.c;++c){var f=!1;for(s=0;s!=i.length;++s)if(!(i[s].s.c>c)&&!(i[s].s.r>u)&&!(i[s].e.c"),m.length>2&&l.push(m.join(""))}return l.join("")}function SSe(e,t,r){var n=[],a=r.SheetNames[e],i=r.Sheets[a],s=i?fSe(i,t,e,r):"";return s.length>0&&n.push(""+s+""),s=i?gSe(i,t,e,r):"",s.length>0&&n.push(""+s+"
"),n.push(pSe(i,t,e,r)),n.join("")}function vSe(e,t){t||(t={}),e.SSF||(e.SSF=Hs(ar)),e.SSF&&(Tp(),Ly(e.SSF),t.revssf=Cy(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Vm(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(oSe(e,t)),r.push(uSe()),r.push(""),r.push("");for(var n=0;n40||(r.l-=4,t.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4)||(n=r.read_shift(4),n!==1907505652)||(t.UnicodeClipboardFormat=fce(r),n=r.read_shift(4),n==0||n>40))return t;r.l-=4,t.Reserved2=r.read_shift(0,"lpwstr")}var MSe=[60,1084,2066,2165,2175];function DSe(e,t,r,n,a){var i=n,s=[],l=r.slice(r.l,r.l+i);if(a&&a.enc&&a.enc.insitu&&l.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:a.enc.insitu(l)}s.push(l),r.l+=i;for(var o=qo(r,r.l),u=qL[o],m=0;u!=null&&MSe.indexOf(o)>-1;)i=qo(r,r.l+2),m=r.l+4,o==2066?m+=4:(o==2165||o==2175)&&(m+=12),l=r.slice(m,r.l+4+i),s.push(l),r.l+=4+i,u=qL[o=qo(r,r.l)];var c=Hn(s);ra(c,0);var f=0;c.lens=[];for(var p=0;p1)&&!(de.sheetRows&&te.r>=de.sheetRows)){if(de.cellStyles&&Se.XF&&Se.XF.data&&z(te,Se,de),delete Se.ixfe,delete Se.XF,c=te,f=ir(te),(!s||!s.s||!s.e)&&(s={s:{r:0,c:0},e:{r:0,c:0}}),te.rs.e.r&&(s.e.r=te.r+1),te.c+1>s.e.c&&(s.e.c=te.c+1),de.cellFormula&&Se.f){for(var He=0;Hete.c||g[He][0].s.r>te.r)&&!(g[He][0].e.c>8)!==xe)throw new Error("rt mismatch: "+Pe+"!="+xe);et.r==12&&(e.l+=10,be-=10)}var Ne={};if(xe===10?Ne=et.f(e,be,P):Ne=DSe(xe,et,e,be,P),J==0&&[9,521,1033,2057].indexOf(ce)===-1)continue;switch(xe){case 34:r.opts.Date1904=D.WBProps.date1904=Ne;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(P.enc||(e.l=0),P.enc=Ne,!t.password)throw new Error("File is password-protected");if(Ne.valid==null)throw new Error("Encryption scheme unsupported");if(!Ne.valid)throw new Error("Password is incorrect");break;case 92:P.lastuser=Ne;break;case 66:var vt=Number(Ne);switch(vt){case 21010:vt=1200;break;case 32768:vt=1e4;break;case 32769:vt=1252;break}Ol(P.codepage=vt),Re=!0;break;case 317:P.rrtabid=Ne;break;case 25:P.winlocked=Ne;break;case 439:r.opts.RefreshAll=Ne;break;case 12:r.opts.CalcCount=Ne;break;case 16:r.opts.CalcDelta=Ne;break;case 17:r.opts.CalcIter=Ne;break;case 13:r.opts.CalcMode=Ne;break;case 14:r.opts.CalcPrecision=Ne;break;case 95:r.opts.CalcSaveRecalc=Ne;break;case 15:P.CalcRefMode=Ne;break;case 2211:r.opts.FullCalc=Ne;break;case 129:Ne.fDialog&&(a["!type"]="dialog"),Ne.fBelow||((a["!outline"]||(a["!outline"]={})).above=!0),Ne.fRight||((a["!outline"]||(a["!outline"]={})).left=!0);break;case 224:M.push(Ne);break;case 430:W.push([Ne]),W[W.length-1].XTI=[];break;case 35:case 547:W[W.length-1].push(Ne);break;case 24:case 536:Z={Name:Ne.Name,Ref:fa(Ne.rgce,s,null,W,P)},Ne.itab>0&&(Z.Sheet=Ne.itab-1),W.names.push(Z),W[0]||(W[0]=[],W[0].XTI=[]),W[W.length-1].push(Ne),Ne.Name=="_xlnm._FilterDatabase"&&Ne.itab>0&&Ne.rgce&&Ne.rgce[0]&&Ne.rgce[0][0]&&Ne.rgce[0][0][0]=="PtgArea3d"&&(Y[Ne.itab-1]={ref:hr(Ne.rgce[0][0][1][2])});break;case 22:P.ExternCount=Ne;break;case 23:W.length==0&&(W[0]=[],W[0].XTI=[]),W[W.length-1].XTI=W[W.length-1].XTI.concat(Ne),W.XTI=W.XTI.concat(Ne);break;case 2196:if(P.biff<8)break;Z!=null&&(Z.Comment=Ne[1]);break;case 18:a["!protect"]=Ne;break;case 19:Ne!==0&&P.WTF&&console.error("Password verifier: "+Ne);break;case 133:i[Ne.pos]=Ne,P.snames.push(Ne.name);break;case 10:{if(--J)break;if(s.e){if(s.e.r>0&&s.e.c>0){if(s.e.r--,s.e.c--,a["!ref"]=hr(s),t.sheetRows&&t.sheetRows<=s.e.r){var T=s.e.r;s.e.r=t.sheetRows-1,a["!fullref"]=a["!ref"],a["!ref"]=hr(s),s.e.r=T}s.e.r++,s.e.c++}L.length>0&&(a["!merges"]=L),H.length>0&&(a["!objects"]=H),ie.length>0&&(a["!cols"]=ie),G.length>0&&(a["!rows"]=G),D.Sheets.push(k)}u===""?m=a:n[u]=a,a=t.dense?[]:{}}break;case 9:case 521:case 1033:case 2057:{if(P.biff===8&&(P.biff={9:2,521:3,1033:4}[xe]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[Ne.BIFFVer]||8),P.biffguess=Ne.BIFFVer==0,Ne.BIFFVer==0&&Ne.dt==4096&&(P.biff=5,Re=!0,Ol(P.codepage=28591)),P.biff==8&&Ne.BIFFVer==0&&Ne.dt==16&&(P.biff=2),J++)break;if(a=t.dense?[]:{},P.biff<8&&!Re&&(Re=!0,Ol(P.codepage=t.codepage||1252)),P.biff<5||Ne.BIFFVer==0&&Ne.dt==4096){u===""&&(u="Sheet1"),s={s:{r:0,c:0},e:{r:0,c:0}};var we={pos:e.l-be,name:u};i[we.pos]=we,P.snames.push(u)}else u=(i[Je]||{name:""}).name;Ne.dt==32&&(a["!type"]="chart"),Ne.dt==64&&(a["!type"]="macro"),L=[],H=[],P.arrayf=g=[],ie=[],G=[],pe=!1,k={Hidden:(i[Je]||{hs:0}).hs,name:u}}break;case 515:case 3:case 2:a["!type"]=="chart"&&(t.dense?(a[Ne.r]||[])[Ne.c]:a[ir({c:Ne.c,r:Ne.r})])&&++Ne.c,S={ixfe:Ne.ixfe,XF:M[Ne.ixfe]||{},v:Ne.val,t:"n"},R>0&&(S.z=V[S.ixfe>>8&63]),Hl(S,t,r.opts.Date1904),B({c:Ne.c,r:Ne.r},S,t);break;case 5:case 517:S={ixfe:Ne.ixfe,XF:M[Ne.ixfe],v:Ne.val,t:Ne.t},R>0&&(S.z=V[S.ixfe>>8&63]),Hl(S,t,r.opts.Date1904),B({c:Ne.c,r:Ne.r},S,t);break;case 638:S={ixfe:Ne.ixfe,XF:M[Ne.ixfe],v:Ne.rknum,t:"n"},R>0&&(S.z=V[S.ixfe>>8&63]),Hl(S,t,r.opts.Date1904),B({c:Ne.c,r:Ne.r},S,t);break;case 189:for(var Ue=Ne.c;Ue<=Ne.C;++Ue){var K=Ne.rkrec[Ue-Ne.c][0];S={ixfe:K,XF:M[K],v:Ne.rkrec[Ue-Ne.c][1],t:"n"},R>0&&(S.z=V[S.ixfe>>8&63]),Hl(S,t,r.opts.Date1904),B({c:Ue,r:Ne.r},S,t)}break;case 6:case 518:case 1030:{if(Ne.val=="String"){l=Ne;break}if(S=cg(Ne.val,Ne.cell.ixfe,Ne.tt),S.XF=M[S.ixfe],t.cellFormula){var q=Ne.formula;if(q&&q[0]&&q[0][0]&&q[0][0][0]=="PtgExp"){var ge=q[0][0][1][0],Be=q[0][0][1][1],$e=ir({r:ge,c:Be});y[$e]?S.f=""+fa(Ne.formula,s,Ne.cell,W,P):S.F=((t.dense?(a[ge]||[])[Be]:a[$e])||{}).F}else S.f=""+fa(Ne.formula,s,Ne.cell,W,P)}R>0&&(S.z=V[S.ixfe>>8&63]),Hl(S,t,r.opts.Date1904),B(Ne.cell,S,t),l=Ne}break;case 7:case 519:if(l)l.val=Ne,S=cg(Ne,l.cell.ixfe,"s"),S.XF=M[S.ixfe],t.cellFormula&&(S.f=""+fa(l.formula,s,l.cell,W,P)),R>0&&(S.z=V[S.ixfe>>8&63]),Hl(S,t,r.opts.Date1904),B(l.cell,S,t),l=null;else throw new Error("String record expects Formula");break;case 33:case 545:{g.push(Ne);var C=ir(Ne[0].s);if(p=t.dense?(a[Ne[0].s.r]||[])[Ne[0].s.c]:a[C],t.cellFormula&&p){if(!l||!C||!p)break;p.f=""+fa(Ne[1],s,Ne[0],W,P),p.F=hr(Ne[0])}}break;case 1212:{if(!t.cellFormula)break;if(f){if(!l)break;y[ir(l.cell)]=Ne[0],p=t.dense?(a[l.cell.r]||[])[l.cell.c]:a[ir(l.cell)],(p||{}).f=""+fa(Ne[0],s,c,W,P)}}break;case 253:S=cg(o[Ne.isst].t,Ne.ixfe,"s"),o[Ne.isst].h&&(S.h=o[Ne.isst].h),S.XF=M[S.ixfe],R>0&&(S.z=V[S.ixfe>>8&63]),Hl(S,t,r.opts.Date1904),B({c:Ne.c,r:Ne.r},S,t);break;case 513:t.sheetStubs&&(S={ixfe:Ne.ixfe,XF:M[Ne.ixfe],t:"z"},R>0&&(S.z=V[S.ixfe>>8&63]),Hl(S,t,r.opts.Date1904),B({c:Ne.c,r:Ne.r},S,t));break;case 190:if(t.sheetStubs)for(var Ce=Ne.c;Ce<=Ne.C;++Ce){var mt=Ne.ixfe[Ce-Ne.c];S={ixfe:mt,XF:M[mt],t:"z"},R>0&&(S.z=V[S.ixfe>>8&63]),Hl(S,t,r.opts.Date1904),B({c:Ce,r:Ne.r},S,t)}break;case 214:case 516:case 4:S=cg(Ne.val,Ne.ixfe,"s"),S.XF=M[S.ixfe],R>0&&(S.z=V[S.ixfe>>8&63]),Hl(S,t,r.opts.Date1904),B({c:Ne.c,r:Ne.r},S,t);break;case 0:case 512:J===1&&(s=Ne);break;case 252:o=Ne;break;case 1054:if(P.biff==4){V[R++]=Ne[1];for(var tt=0;tt=163&&su(Ne[1],R+163)}else su(Ne[1],Ne[0]);break;case 30:{V[R++]=Ne;for(var qe=0;qe=163&&su(Ne,R+163)}break;case 229:L=L.concat(Ne);break;case 93:H[Ne.cmo[0]]=P.lastobj=Ne;break;case 438:P.lastobj.TxO=Ne;break;case 127:P.lastobj.ImData=Ne;break;case 440:for(_=Ne[0].s.r;_<=Ne[0].e.r;++_)for(d=Ne[0].s.c;d<=Ne[0].e.c;++d)p=t.dense?(a[_]||[])[d]:a[ir({c:d,r:_})],p&&(p.l=Ne[1]);break;case 2048:for(_=Ne[0].s.r;_<=Ne[0].e.r;++_)for(d=Ne[0].s.c;d<=Ne[0].e.c;++d)p=t.dense?(a[_]||[])[d]:a[ir({c:d,r:_})],p&&p.l&&(p.l.Tooltip=Ne[1]);break;case 28:{if(P.biff<=5&&P.biff>=2)break;p=t.dense?(a[Ne[0].r]||[])[Ne[0].c]:a[ir(Ne[0])];var se=H[Ne[2]];p||(t.dense?(a[Ne[0].r]||(a[Ne[0].r]=[]),p=a[Ne[0].r][Ne[0].c]={t:"z"}):p=a[ir(Ne[0])]={t:"z"},s.e.r=Math.max(s.e.r,Ne[0].r),s.s.r=Math.min(s.s.r,Ne[0].r),s.e.c=Math.max(s.e.c,Ne[0].c),s.s.c=Math.min(s.s.c,Ne[0].c)),p.c||(p.c=[]),h={a:Ne[1],t:se.TxO.t},p.c.push(h)}break;case 2173:m1e(M[Ne.ixfe],Ne.ext);break;case 125:{if(!P.cellStyles)break;for(;Ne.e>=Ne.s;)ie[Ne.e--]={width:Ne.w/256,level:Ne.level||0,hidden:!!(Ne.flags&1)},pe||(pe=!0,_T(Ne.w/256)),Dm(ie[Ne.e+1])}break;case 520:{var x={};Ne.level!=null&&(G[Ne.r]=x,x.level=Ne.level),Ne.hidden&&(G[Ne.r]=x,x.hidden=!0),Ne.hpt&&(G[Ne.r]=x,x.hpt=Ne.hpt,x.hpx=Jf(Ne.hpt))}break;case 38:case 39:case 40:case 41:a["!margins"]||N0(a["!margins"]={}),a["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[xe]]=Ne;break;case 161:a["!margins"]||N0(a["!margins"]={}),a["!margins"].header=Ne.header,a["!margins"].footer=Ne.footer;break;case 574:Ne.RTL&&(D.Views[0].RTL=!0);break;case 146:I=Ne;break;case 2198:F=Ne;break;case 140:v=Ne;break;case 442:u?k.CodeName=Ne||k.name:D.WBProps.CodeName=Ne||"ThisWorkbook";break}}else et||console.error("Missing Info for XLS Record 0x"+xe.toString(16)),e.l+=be}return r.SheetNames=un(i).sort(function(U,te){return Number(U)-Number(te)}).map(function(U){return i[U].name}),t.bookSheets||(r.Sheets=n),!r.SheetNames.length&&m["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=m)):r.Preamble=m,r.Sheets&&Y.forEach(function(U,te){r.Sheets[r.SheetNames[te]]["!autofilter"]=U}),r.Strings=o,r.SSF=Hs(ar),P.enc&&(r.Encryption=P.enc),F&&(r.Themes=F),r.Metadata={},v!==void 0&&(r.Metadata.Country=v),W.names.length>0&&(D.Names=W.names),r.Workbook=D,r}var i1={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function OSe(e,t,r){var n=Xt.find(e,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var a=Yk(n,HL,i1.DSI);for(var i in a)t[i]=a[i]}catch(u){if(r.WTF)throw u}var s=Xt.find(e,"/!SummaryInformation");if(s&&s.size>0)try{var l=Yk(s,$L,i1.SI);for(var o in l)t[o]==null&&(t[o]=l[o])}catch(u){if(r.WTF)throw u}t.HeadingPairs&&t.TitlesOfParts&&(M7(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}function LSe(e,t){var r=[],n=[],a=[],i=0,s,l=bk(HL,"n"),o=bk($L,"n");if(e.Props)for(s=un(e.Props),i=0;i-1||y7.indexOf(a[i][0])>-1||a[i][1]!=null&&u.push(a[i]);n.length&&Xt.utils.cfb_add(t,"/SummaryInformation",Xk(n,i1.SI,o,$L)),(r.length||u.length)&&Xt.utils.cfb_add(t,"/DocumentSummaryInformation",Xk(r,i1.DSI,l,HL,u.length?u:null,i1.UDI))}function IF(e,t){t||(t={}),LT(t),zE(),t.codepage&&WE(t.codepage);var r,n;if(e.FullPaths){if(Xt.find(e,"/encryption"))throw new Error("File is password-protected");r=Xt.find(e,"!CompObj"),n=Xt.find(e,"/Workbook")||Xt.find(e,"/Book")}else{switch(t.type){case"base64":e=di(Oi(e));break;case"binary":e=di(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e));break}ra(e,0),n={content:e}}var a,i;if(r&&ySe(r),t.bookProps&&!t.bookSheets)a={};else{var s=Ir?"buffer":"array";if(n&&n.content)a=ISe(n.content,t);else if((i=Xt.find(e,"PerfectOffice_MAIN"))&&i.content)a=U0.to_workbook(i.content,(t.type=s,t));else if((i=Xt.find(e,"NativeContent_MAIN"))&&i.content)a=U0.to_workbook(i.content,(t.type=s,t));else throw(i=Xt.find(e,"MN0"))&&i.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");t.bookVBA&&e.FullPaths&&Xt.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(a.vbaraw=R1e(e))}var l={};return e.FullPaths&&OSe(e,l,t),a.Props=a.Custprops=l,t.bookFiles&&(a.cfb=e),a}function bSe(e,t){var r=t||{},n=Xt.utils.cfb_new({root:"R"}),a="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":a="/Workbook",r.biff=8;break;case"biff5":a="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return Xt.utils.cfb_add(n,a,OF(e,r)),r.biff==8&&(e.Props||e.Custprops)&&LSe(e,n),r.biff==8&&e.vbaraw&&F1e(n,Xt.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var uh={0:{f:Y_e},1:{f:nge},2:{f:Ige},3:{f:fge},4:{f:oge},5:{f:yge},6:{f:Ege},7:{f:_ge},8:{f:wge},9:{f:Nge},10:{f:Pge},11:{f:Uge},12:{f:ige},13:{f:Lge},14:{f:dge},15:{f:mge},16:{f:hF},17:{f:Age},18:{f:Sge},19:{f:iT},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:A2e},40:{},42:{},43:{f:Ede},44:{f:bde},45:{f:kde},46:{f:Ude},47:{f:Pde},48:{},49:{f:Q0e},50:{},51:{f:p1e},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:F7},62:{f:Cge},63:{f:D1e},64:{f:Xge},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:ya,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:Kge},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:rge},148:{f:Q_e,p:16},151:{f:Hge},152:{},153:{f:C2e},154:{},155:{},156:{f:L2e},157:{},158:{},159:{T:1,f:jpe},160:{T:-1},161:{T:1,f:gc},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:xge},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:c1e},336:{T:-1},337:{f:_1e,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:BL},357:{},358:{},359:{},360:{T:1},361:{},362:{f:R7},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:$ge},427:{f:jge},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:Wge},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:tge},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:Fge},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:BL},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:U1e},633:{T:1},634:{T:-1},635:{T:1,f:k1e},636:{T:-1},637:{f:sce},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:d2e},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:Jge},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},qL={6:{f:bI},10:{f:ku},12:{f:On},13:{f:On},14:{f:mn},15:{f:mn},16:{f:ha},17:{f:mn},18:{f:mn},19:{f:On},20:{f:sP},21:{f:sP},23:{f:R7},24:{f:aP},25:{f:mn},26:{},27:{},28:{f:Jfe},29:{},34:{f:mn},35:{f:nP},38:{f:ha},39:{f:ha},40:{f:ha},41:{f:ha},42:{f:mn},43:{f:mn},47:{f:mde},49:{f:Lfe},51:{f:On},60:{},61:{f:yfe},64:{f:mn},65:{f:Ofe},66:{f:On},77:{},80:{},81:{},82:{},85:{f:On},89:{},90:{},91:{},92:{f:ufe},93:{f:tpe},94:{},95:{f:mn},96:{},97:{},99:{f:mn},125:{f:F7},128:{f:Bfe},129:{f:cfe},130:{f:On},131:{f:mn},132:{f:mn},133:{f:ffe},134:{},140:{f:upe},141:{f:On},144:{},146:{f:fpe},151:{},152:{},153:{},154:{},155:{},156:{f:On},157:{},158:{},160:{f:vpe},161:{f:hpe},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:xfe},190:{f:Vfe},193:{f:ku},197:{},198:{},199:{},200:{},201:{},202:{f:mn},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:On},220:{},221:{f:mn},222:{},224:{f:Ffe},225:{f:ofe},226:{f:ku},227:{},229:{f:Qfe},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:dfe},253:{f:Cfe},255:{f:_fe},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:T7},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:mn},353:{f:ku},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:Wfe},431:{f:mn},432:{},433:{},434:{},437:{},438:{f:npe},439:{f:mn},440:{f:ape},441:{},442:{f:Jh},443:{},444:{f:On},445:{},446:{},448:{f:ku},449:{f:vfe,r:2},450:{f:ku},512:{f:eP},513:{f:Spe},515:{f:jfe},516:{f:Tfe},517:{f:rP},519:{f:ype},520:{f:gfe},523:{},545:{f:iP},549:{f:Qk},566:{},574:{f:Dfe},638:{f:wfe},659:{},1048:{},1054:{f:kfe},1084:{},1212:{f:Zfe},2048:{f:lpe},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:og},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:ku},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:ppe,r:12},2173:{f:u1e,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:mn,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:qfe,r:12},2197:{},2198:{f:s1e,r:12},2199:{},2200:{},2201:{},2202:{f:Yfe,r:12},2203:{f:ku},2204:{},2205:{},2206:{},2207:{},2211:{f:Sfe},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:On},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:_pe},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:cpe},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:eP},1:{},2:{f:Lpe},3:{f:Ipe},4:{f:Dpe},5:{f:rP},7:{f:Cpe},8:{},9:{f:og},11:{},22:{f:On},30:{f:Ufe},31:{},32:{},33:{f:iP},36:{},37:{f:Qk},50:{f:Epe},62:{},52:{},67:{},68:{f:On},69:{},86:{},126:{},127:{f:Mpe},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:Tpe},223:{},234:{},354:{},421:{},518:{f:bI},521:{f:og},536:{f:aP},547:{f:nP},561:{},579:{},1030:{f:bI},1033:{f:og},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function wt(e,t,r,n){var a=t;if(!isNaN(a)){var i=n||(r||[]).length||0,s=e.next(4);s.write_shift(2,a),s.write_shift(2,i),i>0&&sT(r)&&e.push(r)}}function CSe(e,t,r,n){var a=n||(r||[]).length||0;if(a<=8224)return wt(e,t,r,a);var i=t;if(!isNaN(i)){for(var s=r.parts||[],l=0,o=0,u=0;u+(s[l]||8224)<=8224;)u+=s[l]||8224,l++;var m=e.next(4);for(m.write_shift(2,i),m.write_shift(2,u),e.push(r.slice(o,o+u)),o+=u;o=0&&a<65536?wt(e,2,bpe(r,n,a)):wt(e,3,Ope(r,n,a));return;case"b":case"e":wt(e,5,ESe(r,n,t.v,t.t));return;case"s":case"str":wt(e,4,TSe(r,n,(t.v||"").slice(0,255)));return}wt(e,1,r_(null,r,n))}function kSe(e,t,r,n){var a=Array.isArray(t),i=jr(t["!ref"]||"A1"),s,l="",o=[];if(i.e.c>255||i.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),s=hr(i)}for(var u=i.s.r;u<=i.e.r;++u){l=dn(u);for(var m=i.s.c;m<=i.e.c;++m){u===i.s.r&&(o[m]=Ys(m)),s=o[m]+l;var c=a?(t[u]||[])[m]:t[s];!c||ASe(e,c,u,m)}}}function PSe(e,t){for(var r=t||{},n=ei(),a=0,i=0;i255||p.e.r>=h){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");p.e.c=Math.min(p.e.c,255),p.e.r=Math.min(p.e.c,h-1)}wt(n,2057,pT(r,16,t)),wt(n,13,Hi(1)),wt(n,12,Hi(100)),wt(n,15,ka(!0)),wt(n,17,ka(!1)),wt(n,16,X0(.001)),wt(n,95,ka(!0)),wt(n,42,ka(!1)),wt(n,43,ka(!1)),wt(n,130,Hi(1)),wt(n,128,Hfe([0,0])),wt(n,131,ka(!1)),wt(n,132,ka(!1)),u&&RSe(n,i["!cols"]),wt(n,512,Nfe(p,t)),u&&(i["!links"]=[]);for(var d=p.s.r;d<=p.e.r;++d){c=dn(d);for(var _=p.s.c;_<=p.e.c;++_){d===p.s.r&&(f[_]=Ys(_)),m=f[_]+c;var y=o?(i[d]||[])[_]:i[m];!y||(FSe(n,y,d,_,t),u&&y.l&&i["!links"].push([m,y.l]))}}var g=l.CodeName||l.name||a;return u&&wt(n,574,Ife((s.Views||[])[0])),u&&(i["!merges"]||[]).length&&wt(n,229,epe(i["!merges"])),u&&VSe(n,i),wt(n,442,k7(g)),u&&wSe(n,i),wt(n,10),n.end()}function HSe(e,t,r){var n=ei(),a=(e||{}).Workbook||{},i=a.Sheets||[],s=a.WBProps||{},l=r.biff==8,o=r.biff==5;if(wt(n,2057,pT(e,5,r)),r.bookType=="xla"&&wt(n,135),wt(n,225,l?Hi(1200):null),wt(n,193,$ce(2)),o&&wt(n,191),o&&wt(n,192),wt(n,226),wt(n,92,mfe("SheetJS",r)),wt(n,66,Hi(l?1200:1252)),l&&wt(n,353,Hi(0)),l&&wt(n,448),wt(n,317,gpe(e.SheetNames.length)),l&&e.vbaraw&&wt(n,211),l&&e.vbaraw){var u=s.CodeName||"ThisWorkbook";wt(n,442,k7(u))}wt(n,156,Hi(17)),wt(n,25,ka(!1)),wt(n,18,ka(!1)),wt(n,19,Hi(0)),l&&wt(n,431,ka(!1)),l&&wt(n,444,Hi(0)),wt(n,61,Mfe()),wt(n,64,ka(!1)),wt(n,141,Hi(0)),wt(n,34,ka(v2e(e)=="true")),wt(n,14,ka(!0)),l&&wt(n,439,ka(!1)),wt(n,218,Hi(0)),USe(n,e,r),NSe(n,e.SSF,r),xSe(n,r),l&&wt(n,352,ka(!1));var m=n.end(),c=ei();l&&wt(c,140,mpe()),l&&r.Strings&&CSe(c,252,hfe(r.Strings)),wt(c,10);var f=c.end(),p=ei(),h=0,d=0;for(d=0;d255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}}var i=t||{};switch(i.biff||2){case 8:case 5:return $Se(e,t);case 4:case 3:case 2:return PSe(e,t)}throw new Error("invalid type "+i.bookType+" for BIFF")}function _P(e,t){var r=t||{},n=r.dense?[]:{};e=e.replace(//g,"");var a=e.match(/");var i=e.match(/<\/table/i),s=a.index,l=i&&i.index||e.length,o=C0e(e.slice(s,l),/(:?]*>)/i,""),u=-1,m=0,c=0,f=0,p={s:{r:1e7,c:1e7},e:{r:0,c:0}},h=[];for(s=0;s/i);for(l=0;l"))>-1;)S=S.slice(v+1);for(var M=0;M")));f=D.colspan?+D.colspan:1,((c=+D.rowspan)>1||f>1)&&h.push({s:{r:u,c:m},e:{r:u+(c||1)-1,c:m+f-1}});var k=D.t||D["data-t"]||"";if(!S.length){m+=f;continue}if(S=q8(S),p.s.r>u&&(p.s.r=u),p.e.rm&&(p.s.c=m),p.e.cr||a[u].s.c>s)&&!(a[u].e.r1&&(p.rowspan=l),o>1&&(p.colspan=o),n.editable?f=''+f+"":c&&(p["data-t"]=c&&c.t||"z",c.v!=null&&(p["data-v"]=c.v),c.z!=null&&(p["data-z"]=c.z),c.l&&(c.l.Target||"#").charAt(0)!="#"&&(f=''+f+"")),p.id=(n.id||"sjs")+"-"+m,i.push(Nt("td",f,p))}}var h="";return h+i.join("")+""}var GSe='SheetJS Table Export',WSe="";function zSe(e,t){var r=e.match(/[\s\S]*?<\/table>/gi);if(!r||r.length==0)throw new Error("Invalid HTML: could not find
");if(r.length==1)return xm(_P(r[0],t),t);var n=TT();return r.forEach(function(a,i){AT(n,_P(a,t),"Sheet"+(i+1))}),n}function KSe(e,t,r){var n=[];return n.join("")+""}function LF(e,t){var r=t||{},n=r.header!=null?r.header:GSe,a=r.footer!=null?r.footer:WSe,i=[n],s=si(e["!ref"]);r.dense=Array.isArray(e),i.push(KSe(e,s,r));for(var l=s.s.r;l<=s.e.r;++l)i.push(jSe(e,s,l,r));return i.push("
"+a),i.join("")}function bF(e,t,r){var n=r||{},a=0,i=0;if(n.origin!=null)if(typeof n.origin=="number")a=n.origin;else{var s=typeof n.origin=="string"?Xs(n.origin):n.origin;a=s.r,i=s.c}var l=t.getElementsByTagName("tr"),o=Math.min(n.sheetRows||1e7,l.length),u={s:{r:0,c:0},e:{r:a,c:i}};if(e["!ref"]){var m=si(e["!ref"]);u.s.r=Math.min(u.s.r,m.s.r),u.s.c=Math.min(u.s.c,m.s.c),u.e.r=Math.max(u.e.r,m.e.r),u.e.c=Math.max(u.e.c,m.e.c),a==-1&&(u.e.r=a=m.e.r+1)}var c=[],f=0,p=e["!rows"]||(e["!rows"]=[]),h=0,d=0,_=0,y=0,g=0,S=0;for(e["!cols"]||(e["!cols"]=[]);h1||S>1)&&c.push({s:{r:d+a,c:y+i},e:{r:d+a+(g||1)-1,c:y+i+(S||1)-1}});var z={t:"s",v:D},B=I.getAttribute("data-t")||I.getAttribute("t")||"";D!=null&&(D.length==0?z.t=B||"z":n.raw||D.trim().length==0||B=="s"||(D==="TRUE"?z={t:"b",v:!0}:D==="FALSE"?z={t:"b",v:!1}:isNaN(Al(D))?isNaN(Yf(D).getDate())||(z={t:"d",v:Bs(D)},n.cellDates||(z={t:"n",v:wn(z.v)}),z.z=n.dateNF||ar[14]):z={t:"n",v:Al(D)})),z.z===void 0&&k!=null&&(z.z=k);var P="",F=I.getElementsByTagName("A");if(F&&F.length)for(var L=0;L=o&&(e["!fullref"]=hr((u.e.r=l.length-h+d-1+a,u))),e}function CF(e,t){var r=t||{},n=r.dense?[]:{};return bF(n,e,t)}function qSe(e,t){return xm(CF(e,t),t)}function gP(e){var t="",r=ZSe(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),t==="none"}function ZSe(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}function YSe(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(n,a){return Array(parseInt(a,10)+1).join(" ")}).replace(/]*\/>/g," ").replace(//g,` -`),r=$r(t.replace(/<[^>]*>/g,""));return[r]}var SP={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function EF(e,t){var r=t||{},n=tT(e),a=[],i,s,l={name:""},o="",u=0,m,c,f={},p=[],h=r.dense?[]:{},d,_,y={value:""},g="",S=0,v=[],M=-1,I=-1,D={s:{r:1e6,c:1e7},e:{r:0,c:0}},k=0,E={},z=[],B={},P=0,F=0,L=[],H=1,ie=1,G=[],pe={Names:[]},W={},ce=["",""],J=[],R={},V="",Y=0,Z=!1,Re=!1,Je=0;for(sh.lastIndex=0,n=n.replace(//mg,"").replace(//gm,"");d=sh.exec(n);)switch(d[3]=d[3].replace(/_.*$/,"")){case"table":case"\u5DE5\u4F5C\u8868":d[1]==="/"?(D.e.c>=D.s.c&&D.e.r>=D.s.r?h["!ref"]=hr(D):h["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=D.e.r&&(h["!fullref"]=h["!ref"],D.e.r=r.sheetRows-1,h["!ref"]=hr(D)),z.length&&(h["!merges"]=z),L.length&&(h["!rows"]=L),m.name=m.\u540D\u79F0||m.name,typeof JSON<"u"&&JSON.stringify(m),p.push(m.name),f[m.name]=h,Re=!1):d[0].charAt(d[0].length-2)!=="/"&&(m=mr(d[0],!1),M=I=-1,D.s.r=D.s.c=1e7,D.e.r=D.e.c=0,h=r.dense?[]:{},z=[],L=[],Re=!0);break;case"table-row-group":d[1]==="/"?--k:++k;break;case"table-row":case"\u884C":if(d[1]==="/"){M+=H,H=1;break}if(c=mr(d[0],!1),c.\u884C\u53F7?M=c.\u884C\u53F7-1:M==-1&&(M=0),H=+c["number-rows-repeated"]||1,H<10)for(Je=0;Je0&&(L[M+Je]={level:k});I=-1;break;case"covered-table-cell":d[1]!=="/"&&++I,r.sheetStubs&&(r.dense?(h[M]||(h[M]=[]),h[M][I]={t:"z"}):h[ir({r:M,c:I})]={t:"z"}),g="",v=[];break;case"table-cell":case"\u6570\u636E":if(d[0].charAt(d[0].length-2)==="/")++I,y=mr(d[0],!1),ie=parseInt(y["number-columns-repeated"]||"1",10),_={t:"z",v:null},y.formula&&r.cellFormula!=!1&&(_.f=pP($r(y.formula))),(y.\u6570\u636E\u7C7B\u578B||y["value-type"])=="string"&&(_.t="s",_.v=$r(y["string-value"]||""),r.dense?(h[M]||(h[M]=[]),h[M][I]=_):h[ir({r:M,c:I})]=_),I+=ie-1;else if(d[1]!=="/"){++I,g="",S=0,v=[],ie=1;var xe=H?M+H-1:M;if(I>D.e.c&&(D.e.c=I),ID.e.r&&(D.e.r=xe),y=mr(d[0],!1),J=[],R={},_={t:y.\u6570\u636E\u7C7B\u578B||y["value-type"],v:null},r.cellFormula)if(y.formula&&(y.formula=$r(y.formula)),y["number-matrix-columns-spanned"]&&y["number-matrix-rows-spanned"]&&(P=parseInt(y["number-matrix-rows-spanned"],10)||0,F=parseInt(y["number-matrix-columns-spanned"],10)||0,B={s:{r:M,c:I},e:{r:M+P-1,c:I+F-1}},_.F=hr(B),G.push([B,_.F])),y.formula)_.f=pP(y.formula);else for(Je=0;Je=G[Je][0].s.r&&M<=G[Je][0].e.r&&I>=G[Je][0].s.c&&I<=G[Je][0].e.c&&(_.F=G[Je][1]);switch((y["number-columns-spanned"]||y["number-rows-spanned"])&&(P=parseInt(y["number-rows-spanned"],10)||0,F=parseInt(y["number-columns-spanned"],10)||0,B={s:{r:M,c:I},e:{r:M+P-1,c:I+F-1}},z.push(B)),y["number-columns-repeated"]&&(ie=parseInt(y["number-columns-repeated"],10)),_.t){case"boolean":_.t="b",_.v=Rs(y["boolean-value"]);break;case"float":_.t="n",_.v=parseFloat(y.value);break;case"percentage":_.t="n",_.v=parseFloat(y.value);break;case"currency":_.t="n",_.v=parseFloat(y.value);break;case"date":_.t="d",_.v=Bs(y["date-value"]),r.cellDates||(_.t="n",_.v=wn(_.v)),_.z="m/d/yy";break;case"time":_.t="n",_.v=O0e(y["time-value"])/86400,r.cellDates&&(_.t="d",_.v=Ey(_.v)),_.z="HH:MM:SS";break;case"number":_.t="n",_.v=parseFloat(y.\u6570\u636E\u6570\u503C);break;default:if(_.t==="string"||_.t==="text"||!_.t)_.t="s",y["string-value"]!=null&&(g=$r(y["string-value"]),v=[]);else throw new Error("Unsupported value type "+_.t)}}else{if(Z=!1,_.t==="s"&&(_.v=g||"",v.length&&(_.R=v),Z=S==0),W.Target&&(_.l=W),J.length>0&&(_.c=J,J=[]),g&&r.cellText!==!1&&(_.w=g),Z&&(_.t="z",delete _.v),(!Z||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=M))for(var be=0;be0;)h[M+be][I+ie]=Hs(_);else for(h[ir({r:M+be,c:I})]=_;--ie>0;)h[ir({r:M+be,c:I+ie})]=Hs(_);D.e.c<=I&&(D.e.c=I)}ie=parseInt(y["number-columns-repeated"]||"1",10),I+=ie-1,ie=0,_={},g="",v=[]}W={};break;case"document":case"document-content":case"\u7535\u5B50\u8868\u683C\u6587\u6863":case"spreadsheet":case"\u4E3B\u4F53":case"scripts":case"styles":case"font-face-decls":case"master-styles":if(d[1]==="/"){if((i=a.pop())[0]!==d[3])throw"Bad state: "+i}else d[0].charAt(d[0].length-2)!=="/"&&a.push([d[3],!0]);break;case"annotation":if(d[1]==="/"){if((i=a.pop())[0]!==d[3])throw"Bad state: "+i;R.t=g,v.length&&(R.R=v),R.a=V,J.push(R)}else d[0].charAt(d[0].length-2)!=="/"&&a.push([d[3],!1]);V="",Y=0,g="",S=0,v=[];break;case"creator":d[1]==="/"?V=n.slice(Y,d.index):Y=d.index+d[0].length;break;case"meta":case"\u5143\u6570\u636E":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if(d[1]==="/"){if((i=a.pop())[0]!==d[3])throw"Bad state: "+i}else d[0].charAt(d[0].length-2)!=="/"&&a.push([d[3],!1]);g="",S=0,v=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if(d[1]==="/"){if(E[l.name]=o,(i=a.pop())[0]!==d[3])throw"Bad state: "+i}else d[0].charAt(d[0].length-2)!=="/"&&(o="",l=mr(d[0],!1),a.push([d[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(a[a.length-1][0]){case"time-style":case"date-style":s=mr(d[0],!1),o+=SP[d[3]][s.style==="long"?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(a[a.length-1][0]){case"time-style":case"date-style":s=mr(d[0],!1),o+=SP[d[3]][s.style==="long"?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(d[0].slice(-2)==="/>")break;if(d[1]==="/")switch(a[a.length-1][0]){case"number-style":case"date-style":case"time-style":o+=n.slice(u,d.index);break}else u=d.index+d[0].length;break;case"named-range":s=mr(d[0],!1),ce=CI(s["cell-range-address"]);var et={Name:s.name,Ref:ce[0]+"!"+ce[1]};Re&&(et.Sheet=p.length),pe.Names.push(et);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"\u7535\u5B50\u8868\u683C":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"\u6587\u672C\u4E32":if(["master-styles"].indexOf(a[a.length-1][0])>-1)break;if(d[1]==="/"&&(!y||!y["string-value"])){var Pe=YSe(n.slice(S,d.index));g=(g.length>0?g+` -`:"")+Pe[0]}else mr(d[0],!1),S=d.index+d[0].length;break;case"s":break;case"database-range":if(d[1]==="/")break;try{ce=CI(mr(d[0])["target-range-address"]),f[ce[0]]["!autofilter"]={ref:ce[1]}}catch{}break;case"date":break;case"object":break;case"title":case"\u6807\u9898":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if(d[1]!=="/"){if(W=mr(d[0],!1),!W.href)break;W.Target=$r(W.href),delete W.href,W.Target.charAt(0)=="#"&&W.Target.indexOf(".")>-1?(ce=CI(W.Target.slice(1)),W.Target="#"+ce[0]+"!"+ce[1]):W.Target.match(/^\.\.[\\\/]/)&&(W.Target=W.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(d[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"\u8868:":case"\u5B57:":break;default:if(r.WTF)throw new Error(d)}}var Ne={Sheets:f,SheetNames:p,Workbook:pe};return r.bookSheets&&delete Ne.Sheets,Ne}function vP(e,t){t=t||{},Bi(e,"META-INF/manifest.xml")&&Ice(In(e,"META-INF/manifest.xml"),t);var r=hi(e,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var n=EF(ys(r),t);return Bi(e,"meta.xml")&&(n.Props=S7(In(e,"meta.xml"))),n}function yP(e,t){return EF(e,t)}var XSe=function(){var e=["",'',"",'',"",'',"",""].join(""),t=""+e+"";return function(){return hn+t}}(),MP=function(){var e=function(i){return fs(i).replace(/ +/g,function(s){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")},t=` -`,r=` -`,n=function(i,s,l){var o=[];o.push(' -`);var u=0,m=0,c=si(i["!ref"]||"A1"),f=i["!merges"]||[],p=0,h=Array.isArray(i);if(i["!cols"])for(m=0;m<=c.e.c;++m)o.push(" -`);var d="",_=i["!rows"]||[];for(u=0;u -`);for(;u<=c.e.r;++u){for(d=_[u]?' table:style-name="ro'+_[u].ods+'"':"",o.push(" -`),m=0;mm)&&!(f[p].s.r>u)&&!(f[p].e.c -`)}return o.push(` -`),o.join("")},a=function(i,s){i.push(` -`),i.push(` -`),i.push(` -`),i.push(` / -`),i.push(` -`),i.push(` / -`),i.push(` -`),i.push(` -`);var l=0;s.SheetNames.map(function(u){return s.Sheets[u]}).forEach(function(u){if(!!u&&u["!cols"]){for(var m=0;m -`),i.push(' -`),i.push(` -`),++l}}});var o=0;s.SheetNames.map(function(u){return s.Sheets[u]}).forEach(function(u){if(!!u&&u["!rows"]){for(var m=0;m -`),i.push(' -`),i.push(` -`),++o}}}),i.push(` -`),i.push(` -`),i.push(` -`),i.push(` -`),i.push(` -`)};return function(s,l){var o=[hn],u=rh({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),m=rh({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});l.bookType=="fods"?(o.push(" -`),o.push(g7().replace(/office:document-meta/g,"office:meta"))):o.push(" -`),a(o,s),o.push(` -`),o.push(` -`);for(var c=0;c!=s.SheetNames.length;++c)o.push(n(s.Sheets[s.SheetNames[c]],s,c));return o.push(` -`),o.push(` -`),l.bookType=="fods"?o.push(""):o.push(""),o.join("")}}();function TF(e,t){if(t.bookType=="fods")return MP(e,t);var r=XE(),n="",a=[],i=[];return n="mimetype",_r(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",_r(r,n,MP(e,t)),a.push([n,"text/xml"]),i.push([n,"ContentFile"]),n="styles.xml",_r(r,n,XSe(e,t)),a.push([n,"text/xml"]),i.push([n,"StylesFile"]),n="meta.xml",_r(r,n,hn+g7()),a.push([n,"text/xml"]),i.push([n,"MetadataFile"]),n="manifest.rdf",_r(r,n,bce(i)),a.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",_r(r,n,Oce(a)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function ec(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function ZL(e){return typeof TextDecoder<"u"?new TextDecoder().decode(e):ys(wm(e))}function JSe(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):di(lo(e))}function QSe(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n>1&1431655765,e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>>24}function eve(e,t){for(var r=(e[t+15]&127)<<7|e[t+14]>>1,n=e[t+14]&1,a=t+13;a>=t;--a)n=n*256+e[a];return(e[t+15]&128?-n:n)*Math.pow(10,r-6176)}function tve(e,t,r){var n=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(n&127)<<1;for(var i=0;a>=1;++i,a/=256)e[t+i]=a&255;e[t+15]|=r>=0?0:128}function mh(e,t){var r=t?t[0]:0,n=e[r]&127;e:if(e[r++]>=128&&(n|=(e[r]&127)<<7,e[r++]<128||(n|=(e[r]&127)<<14,e[r++]<128)||(n|=(e[r]&127)<<21,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,28),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,35),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,42),++r,e[r++]<128)))break e;return t&&(t[0]=r),n}function ms(e){var t=new Uint8Array(7);t[0]=e&127;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383||(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)||(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)||(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)||(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103))break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function on(e){var t=0,r=e[t]&127;e:if(e[t++]>=128){if(r|=(e[t]&127)<<7,e[t++]<128||(r|=(e[t]&127)<<14,e[t++]<128)||(r|=(e[t]&127)<<21,e[t++]<128))break e;r|=(e[t]&127)<<28}return r}function Jr(e){for(var t=[],r=[0];r[0]=128;);l=e.slice(o,r[0])}break;case 5:s=4,l=e.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,l=e.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=mh(e,r),l=e.slice(r[0],r[0]+s),r[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(i," for Field ").concat(a," at offset ").concat(n))}var u={data:l,type:i};t[a]==null?t[a]=[u]:t[a].push(u)}return t}function Yn(e){var t=[];return e.forEach(function(r,n){r.forEach(function(a){!a.data||(t.push(ms(n*8+a.type)),a.type==2&&t.push(ms(a.data.length)),t.push(a.data))})}),Om(t)}function OT(e,t){return e?.map(function(r){return t(r.data)})||[]}function Ui(e){for(var t,r=[],n=[0];n[0]>>0>0),r.push(s)}return r}function Uc(e){var t=[];return e.forEach(function(r){var n=[];n[1]=[{data:ms(r.id),type:0}],n[2]=[],r.merge!=null&&(n[3]=[{data:ms(+!!r.merge),type:0}]);var a=[];r.messages.forEach(function(s){a.push(s.data),s.meta[3]=[{type:0,data:ms(s.data.length)}],n[2].push({data:Yn(s.meta),type:2})});var i=Yn(n);t.push(ms(i.length)),t.push(i),a.forEach(function(s){return t.push(s)})}),Om(t)}function rve(e,t){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=mh(t,r),a=[];r[0]>2;if(s<60)++s;else{var l=s-59;s=t[r[0]],l>1&&(s|=t[r[0]+1]<<8),l>2&&(s|=t[r[0]+2]<<16),l>3&&(s|=t[r[0]+3]<<24),s>>>=0,s++,r[0]+=l}a.push(t.slice(r[0],r[0]+s)),r[0]+=s;continue}else{var o=0,u=0;if(i==1?(u=(t[r[0]]>>2&7)+4,o=(t[r[0]++]&224)<<3,o|=t[r[0]++]):(u=(t[r[0]++]>>2)+1,i==2?(o=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(o=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),a=[Om(a)],o==0)throw new Error("Invalid offset 0");if(o>a[0].length)throw new Error("Invalid offset beyond length");if(u>=o)for(a.push(a[0].slice(-o)),u-=o;u>=a[a.length-1].length;)a.push(a[a.length-1]),u-=a[a.length-1].length;a.push(a[0].slice(-o,-o+u))}}var m=Om(a);if(m.length!=n)throw new Error("Unexpected length: ".concat(m.length," != ").concat(n));return m}function Ni(e){for(var t=[],r=0;r>8&255]))):n<=16777216?(s+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(s+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),s+=n,a[0]=0,a[1]=s&255,a[2]=s>>8&255,a[3]=s>>16&255,r+=n}return Om(t)}function sve(e,t,r,n){var a=ec(e),i=a.getUint32(4,!0),s=(n>1?12:8)+DP(i&(n>1?3470:398))*4,l=-1,o=-1,u=NaN,m=new Date(2001,0,1);i&512&&(l=a.getUint32(s,!0),s+=4),s+=DP(i&(n>1?12288:4096))*4,i&16&&(o=a.getUint32(s,!0),s+=4),i&32&&(u=a.getFloat64(s,!0),s+=8),i&64&&(m.setTime(m.getTime()+a.getFloat64(s,!0)*1e3),s+=8);var c;switch(e[2]){case 0:break;case 2:c={t:"n",v:u};break;case 3:c={t:"s",v:t[o]};break;case 5:c={t:"d",v:m};break;case 6:c={t:"b",v:u>0};break;case 7:c={t:"n",v:u/86400};break;case 8:c={t:"e",v:0};break;case 9:if(l>-1)c={t:"s",v:r[l]};else if(o>-1)c={t:"s",v:t[o]};else if(!isNaN(u))c={t:"n",v:u};else throw new Error("Unsupported cell type ".concat(e.slice(0,4)));break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return c}function nve(e,t,r){var n=ec(e),a=n.getUint32(8,!0),i=12,s=-1,l=-1,o=NaN,u=NaN,m=new Date(2001,0,1);a&1&&(o=eve(e,i),i+=16),a&2&&(u=n.getFloat64(i,!0),i+=8),a&4&&(m.setTime(m.getTime()+n.getFloat64(i,!0)*1e3),i+=8),a&8&&(l=n.getUint32(i,!0),i+=4),a&16&&(s=n.getUint32(i,!0),i+=4);var c;switch(e[1]){case 0:break;case 2:c={t:"n",v:o};break;case 3:c={t:"s",v:t[l]};break;case 5:c={t:"d",v:m};break;case 6:c={t:"b",v:u>0};break;case 7:c={t:"n",v:u/86400};break;case 8:c={t:"e",v:0};break;case 9:if(s>-1)c={t:"s",v:r[s]};else throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(a&31," : ").concat(e.slice(0,4)));break;case 10:c={t:"n",v:o};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(a&31," : ").concat(e.slice(0,4)))}return c}function TI(e,t){var r=new Uint8Array(32),n=ec(r),a=12,i=0;switch(r[0]=5,e.t){case"n":r[1]=2,tve(r,a,e.v),i|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,e.v?1:0,!0),i|=2,a+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,i,!0),r.slice(0,a)}function AI(e,t){var r=new Uint8Array(32),n=ec(r),a=12,i=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(a,e.v,!0),i|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,e.v?1:0,!0),i|=32,a+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,i,!0),r.slice(0,a)}function ave(e,t,r){switch(e[0]){case 0:case 1:case 2:case 3:return sve(e,t,r,e[0]);case 5:return nve(e,t,r);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function ca(e){var t=Jr(e);return mh(t[1][0].data)}function IP(e,t){var r=Jr(t.data),n=on(r[1][0].data),a=r[3],i=[];return(a||[]).forEach(function(s){var l=Jr(s.data),o=on(l[1][0].data)>>>0;switch(n){case 1:i[o]=ZL(l[3][0].data);break;case 8:{var u=e[ca(l[9][0].data)][0],m=Jr(u.data),c=e[ca(m[1][0].data)][0],f=on(c.meta[1][0].data);if(f!=2001)throw new Error("2000 unexpected reference to ".concat(f));var p=Jr(c.data);i[o]=p[3].map(function(h){return ZL(h.data)}).join("")}break}}),i}function ive(e,t){var r,n,a,i,s,l,o,u,m,c,f,p,h,d,_=Jr(e),y=on(_[1][0].data)>>>0,g=on(_[2][0].data)>>>0,S=((n=(r=_[8])==null?void 0:r[0])==null?void 0:n.data)&&on(_[8][0].data)>0||!1,v,M;if(((i=(a=_[7])==null?void 0:a[0])==null?void 0:i.data)&&t!=0)v=(l=(s=_[7])==null?void 0:s[0])==null?void 0:l.data,M=(u=(o=_[6])==null?void 0:o[0])==null?void 0:u.data;else if(((c=(m=_[4])==null?void 0:m[0])==null?void 0:c.data)&&t!=1)v=(p=(f=_[4])==null?void 0:f[0])==null?void 0:p.data,M=(d=(h=_[3])==null?void 0:h[0])==null?void 0:d.data;else throw"NUMBERS Tile missing ".concat(t," cell storage");for(var I=S?4:1,D=ec(v),k=[],E=0;E=1&&(B[k[k.length-1][0]]=M.subarray(k[k.length-1][1]*I)),{R:y,cells:B}}function lve(e,t){var r,n=Jr(t.data),a=(r=n?.[7])!=null&&r[0]?on(n[7][0].data)>>>0>0?1:0:-1,i=OT(n[5],function(s){return ive(s,a)});return{nrows:on(n[4][0].data)>>>0,data:i.reduce(function(s,l){return s[l.R]||(s[l.R]=[]),l.cells.forEach(function(o,u){if(s[l.R][u])throw new Error("Duplicate cell r=".concat(l.R," c=").concat(u));s[l.R][u]=o}),s},[])}}function ove(e,t,r){var n,a=Jr(t.data),i={s:{r:0,c:0},e:{r:0,c:0}};if(i.e.r=(on(a[6][0].data)>>>0)-1,i.e.r<0)throw new Error("Invalid row varint ".concat(a[6][0].data));if(i.e.c=(on(a[7][0].data)>>>0)-1,i.e.c<0)throw new Error("Invalid col varint ".concat(a[7][0].data));r["!ref"]=hr(i);var s=Jr(a[4][0].data),l=IP(e,e[ca(s[4][0].data)][0]),o=(n=s[17])!=null&&n[0]?IP(e,e[ca(s[17][0].data)][0]):[],u=Jr(s[3][0].data),m=0;u[1].forEach(function(c){var f=Jr(c.data),p=e[ca(f[2][0].data)][0],h=on(p.meta[1][0].data);if(h!=6002)throw new Error("6001 unexpected reference to ".concat(h));var d=lve(e,p);d.data.forEach(function(_,y){_.forEach(function(g,S){var v=ir({r:m+y,c:S}),M=ave(g,l,o);M&&(r[v]=M)})}),m+=d.nrows})}function uve(e,t){var r=Jr(t.data),n={"!ref":"A1"},a=e[ca(r[2][0].data)],i=on(a[0].meta[1][0].data);if(i!=6001)throw new Error("6000 unexpected reference to ".concat(i));return ove(e,a[0],n),n}function mve(e,t){var r,n=Jr(t.data),a={name:(r=n[1])!=null&&r[0]?ZL(n[1][0].data):"",sheets:[]},i=OT(n[2],ca);return i.forEach(function(s){e[s].forEach(function(l){var o=on(l.meta[1][0].data);o==6e3&&a.sheets.push(uve(e,l))})}),a}function cve(e,t){var r=TT(),n=Jr(t.data),a=OT(n[1],ca);if(a.forEach(function(i){e[i].forEach(function(s){var l=on(s.meta[1][0].data);if(l==2){var o=mve(e,s);o.sheets.forEach(function(u,m){AT(r,u,m==0?o.name:o.name+"_"+m,!0)})}})}),r.SheetNames.length==0)throw new Error("Empty NUMBERS file");return r}function kI(e){var t,r,n,a,i={},s=[];if(e.FullPaths.forEach(function(o){if(o.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),e.FileIndex.forEach(function(o){if(!!o.name.match(/\.iwa$/)){var u;try{u=Ni(o.content)}catch(c){return console.log("?? "+o.content.length+" "+(c.message||c))}var m;try{m=Ui(u)}catch(c){return console.log("## "+(c.message||c))}m.forEach(function(c){i[c.id]=c.messages,s.push(c.id)})}}),!s.length)throw new Error("File has no messages");var l=((a=(n=(r=(t=i?.[1])==null?void 0:t[0])==null?void 0:r.meta)==null?void 0:n[1])==null?void 0:a[0].data)&&on(i[1][0].meta[1][0].data)==1&&i[1][0];if(l||s.forEach(function(o){i[o].forEach(function(u){var m=on(u.meta[1][0].data)>>>0;if(m==1)if(!l)l=u;else throw new Error("Document has multiple roots")})}),!l)throw new Error("Cannot find Document root");return cve(i,l)}function fve(e,t,r){var n,a,i,s;if(!((n=e[6])!=null&&n[0])||!((a=e[7])!=null&&a[0]))throw"Mutation only works on post-BNC storages!";var l=((s=(i=e[8])==null?void 0:i[0])==null?void 0:s.data)&&on(e[8][0].data)>0||!1;if(l)throw"Math only works with normal offsets";for(var o=0,u=ec(e[7][0].data),m=0,c=[],f=ec(e[4][0].data),p=0,h=[],d=0;d1&&console.error("The Numbers writer currently writes only the first table");var n=si(r["!ref"]);n.s.r=n.s.c=0;var a=!1;n.e.c>9&&(a=!0,n.e.c=9),n.e.r>49&&(a=!0,n.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat(hr(n)));var i=FS(r,{range:n,header:1}),s=["~Sh33tJ5~"];i.forEach(function(V){return V.forEach(function(Y){typeof Y=="string"&&s.push(Y)})});var l={},o=[],u=Xt.read(t.numbers,{type:"base64"});u.FileIndex.map(function(V,Y){return[V,u.FullPaths[Y]]}).forEach(function(V){var Y=V[0],Z=V[1];if(Y.type==2&&!!Y.name.match(/\.iwa/)){var Re=Y.content,Je=Ni(Re),xe=Ui(Je);xe.forEach(function(be){o.push(be.id),l[be.id]={deps:[],location:Z,type:on(be.messages[0].meta[1][0].data)}})}}),o.sort(function(V,Y){return V-Y});var m=o.filter(function(V){return V>1}).map(function(V){return[V,ms(V)]});u.FileIndex.map(function(V,Y){return[V,u.FullPaths[Y]]}).forEach(function(V){var Y=V[0];if(V[1],!!Y.name.match(/\.iwa/)){var Z=Ui(Ni(Y.content));Z.forEach(function(Re){Re.messages.forEach(function(Je){m.forEach(function(xe){Re.messages.some(function(be){return on(be.meta[1][0].data)!=11006&&QSe(be.data,xe[1])})&&l[xe[0]].deps.push(Re.id)})})})}});for(var c=Xt.find(u,l[1].location),f=Ui(Ni(c.content)),p,h=0;h-1?"sheet":e==br.CS?"chart":e==br.DS?"dialog":e==br.MS?"macro":e&&e.length?e:"sheet"}function hve(e,t){if(!e)return 0;try{e=t.map(function(n){return n.id||(n.id=n.strRelID),[n.name,e["!id"][n.id].Target,dve(e["!id"][n.id].Type)]})}catch{return null}return!e||e.length===0?null:e}function _ve(e,t,r,n,a,i,s,l,o,u,m,c){try{i[n]=r1(hi(e,r,!0),t);var f=In(e,t),p;switch(l){case"sheet":p=R2e(f,t,a,o,i[n],u,m,c);break;case"chart":if(p=F2e(f,t,a,o,i[n],u,m,c),!p||!p["!drawel"])break;var h=Od(p["!drawel"].Target,t),d=nh(h),_=L1e(hi(e,h,!0),r1(hi(e,d,!0),h)),y=Od(_,h),g=nh(y);p=f2e(hi(e,y,!0),y,o,r1(hi(e,g,!0),y),u,p);break;case"macro":p=B2e(f,t,a,o,i[n],u,m,c);break;case"dialog":p=H2e(f,t,a,o,i[n],u,m,c);break;default:throw new Error("Unrecognized sheet type "+l)}s[n]=p;var S=[];i&&i[n]&&un(i[n]).forEach(function(v){var M="";if(i[n][v].Type==br.CMNT){M=Od(i[n][v].Target,t);var I=W2e(In(e,M,!0),M,o);if(!I||!I.length)return;oP(p,I,!1)}i[n][v].Type==br.TCMNT&&(M=Od(i[n][v].Target,t),S=S.concat(C1e(In(e,M,!0),o)))}),S&&S.length&&oP(p,S,!0,o.people||[])}catch(v){if(o.WTF)throw v}}function Ai(e){return e.charAt(0)=="/"?e.slice(1):e}function gve(e,t){if(Tp(),t=t||{},LT(t),Bi(e,"META-INF/manifest.xml")||Bi(e,"objectdata.xml"))return vP(e,t);if(Bi(e,"Index/Document.iwa")){if(typeof Uint8Array>"u")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof kI<"u"){if(e.FileIndex)return kI(e);var r=Xt.utils.cfb_new();return Tk(e).forEach(function(L){_r(r,L,G8(e,L))}),kI(r)}throw new Error("Unsupported NUMBERS file")}if(!Bi(e,"[Content_Types].xml"))throw Bi(e,"index.xml.gz")?new Error("Unsupported NUMBERS 08 file"):Bi(e,"index.xml")?new Error("Unsupported NUMBERS 09 file"):new Error("Unsupported ZIP file");var n=Tk(e),a=Mce(hi(e,"[Content_Types].xml")),i=!1,s,l;if(a.workbooks.length===0&&(l="xl/workbook.xml",In(e,l,!0)&&a.workbooks.push(l)),a.workbooks.length===0){if(l="xl/workbook.bin",!In(e,l,!0))throw new Error("Could not find workbook");a.workbooks.push(l),i=!0}a.workbooks[0].slice(-3)=="bin"&&(i=!0);var o={},u={};if(!t.bookSheets&&!t.bookProps){if(s1=[],a.sst)try{s1=G2e(In(e,Ai(a.sst)),a.sst,t)}catch(L){if(t.WTF)throw L}t.cellStyles&&a.themes.length&&(o=j2e(hi(e,a.themes[0].replace(/^\//,""),!0)||"",a.themes[0],t)),a.style&&(u=$2e(In(e,Ai(a.style)),a.style,o,t))}a.links.map(function(L){try{var H=r1(hi(e,nh(Ai(L))),L);return K2e(In(e,Ai(L)),H,L,t)}catch{}});var m=V2e(In(e,Ai(a.workbooks[0])),a.workbooks[0],t),c={},f="";a.coreprops.length&&(f=In(e,Ai(a.coreprops[0]),!0),f&&(c=S7(f)),a.extprops.length!==0&&(f=In(e,Ai(a.extprops[0]),!0),f&&Ece(f,c,t)));var p={};(!t.bookSheets||t.bookProps)&&a.custprops.length!==0&&(f=hi(e,Ai(a.custprops[0]),!0),f&&(p=Ace(f,t)));var h={};if((t.bookSheets||t.bookProps)&&(m.Sheets?s=m.Sheets.map(function(H){return H.name}):c.Worksheets&&c.SheetNames.length>0&&(s=c.SheetNames),t.bookProps&&(h.Props=c,h.Custprops=p),t.bookSheets&&typeof s<"u"&&(h.SheetNames=s),t.bookSheets?h.SheetNames:t.bookProps))return h;s={};var d={};t.bookDeps&&a.calcchain&&(d=z2e(In(e,Ai(a.calcchain)),a.calcchain));var _=0,y={},g,S;{var v=m.Sheets;c.Worksheets=v.length,c.SheetNames=[];for(var M=0;M!=v.length;++M)c.SheetNames[M]=v[M].name}var I=i?"bin":"xml",D=a.workbooks[0].lastIndexOf("/"),k=(a.workbooks[0].slice(0,D+1)+"_rels/"+a.workbooks[0].slice(D+1)+".rels").replace(/^\//,"");Bi(e,k)||(k="xl/_rels/workbook."+I+".rels");var E=r1(hi(e,k,!0),k.replace(/_rels.*/,"s5s"));(a.metadata||[]).length>=1&&(t.xlmeta=q2e(In(e,Ai(a.metadata[0])),a.metadata[0],t)),(a.people||[]).length>=1&&(t.people=T1e(In(e,Ai(a.people[0])),t)),E&&(E=hve(E,m.Sheets));var z=In(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(_=0;_!=c.Worksheets;++_){var B="sheet";if(E&&E[_]?(g="xl/"+E[_][1].replace(/[\/]?xl\//,""),Bi(e,g)||(g=E[_][1]),Bi(e,g)||(g=k.replace(/_rels\/.*$/,"")+E[_][1]),B=E[_][2]):(g="xl/worksheets/sheet"+(_+1-z)+"."+I,g=g.replace(/sheet0\./,"sheet.")),S=g.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&t.sheets!=null)switch(typeof t.sheets){case"number":if(_!=t.sheets)continue e;break;case"string":if(c.SheetNames[_].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var P=!1,F=0;F!=t.sheets.length;++F)typeof t.sheets[F]=="number"&&t.sheets[F]==_&&(P=1),typeof t.sheets[F]=="string"&&t.sheets[F].toLowerCase()==c.SheetNames[_].toLowerCase()&&(P=1);if(!P)continue e}}_ve(e,g,S,c.SheetNames[_],_,y,s,B,t,m,o,u)}return h={Directory:a,Workbook:m,Props:c,Custprops:p,Deps:d,Sheets:s,SheetNames:c.SheetNames,Strings:s1,Styles:u,Themes:o,SSF:Hs(ar)},t&&t.bookFiles&&(e.files?(h.keys=n,h.files=e.files):(h.keys=[],h.files={},e.FullPaths.forEach(function(L,H){L=L.replace(/^Root Entry[\/]/,""),h.keys.push(L),h.files[L]=e.FileIndex[H]}))),t&&t.bookVBA&&(a.vba.length>0?h.vbaraw=In(e,Ai(a.vba[0]),!0):a.defaults&&a.defaults.bin===V1e&&(h.vbaraw=In(e,"xl/vbaProject.bin",!0))),h}function Sve(e,t){var r=t||{},n="Workbook",a=Xt.find(e,n);try{if(n="/!DataSpaces/Version",a=Xt.find(e,n),!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(qpe(a.content),n="/!DataSpaces/DataSpaceMap",a=Xt.find(e,n),!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var i=Ype(a.content);if(i.length!==1||i[0].comps.length!==1||i[0].comps[0].t!==0||i[0].name!=="StrongEncryptionDataSpace"||i[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",a=Xt.find(e,n),!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var s=Xpe(a.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",a=Xt.find(e,n),!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);Qpe(a.content)}catch{}if(n="/EncryptionInfo",a=Xt.find(e,n),!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var l=ede(a.content);if(n="/EncryptedPackage",a=Xt.find(e,n),!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(l[0]==4&&typeof decrypt_agile<"u")return decrypt_agile(l[1],a.content,r.password||"",r);if(l[0]==2&&typeof decrypt_std76<"u")return decrypt_std76(l[1],a.content,r.password||"",r);throw new Error("File is password-protected")}function vve(e,t){return t.bookType=="ods"?TF(e,t):t.bookType=="numbers"?pve(e,t):t.bookType=="xlsb"?yve(e,t):Mve(e,t)}function yve(e,t){mf=1024,e&&!e.SSF&&(e.SSF=Hs(ar)),e&&e.SSF&&(Tp(),Ly(e.SSF),t.revssf=Cy(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,n1?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r=t.bookType=="xlsb"?"bin":"xml",n=sF.indexOf(t.bookType)>-1,a=cT();bT(t=t||{});var i=XE(),s="",l=0;if(t.cellXfs=[],Vm(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",_r(i,s,v7(e.Props,t)),a.coreprops.push(s),cs(t.rels,2,s,br.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var o=[],u=0;u0&&(s="docProps/custom.xml",_r(i,s,I7(e.Custprops)),a.custprops.push(s),cs(t.rels,4,s,br.CUST_PROPS)),l=1;l<=e.SheetNames.length;++l){var m={"!id":{}},c=e.Sheets[e.SheetNames[l-1]],f=(c||{})["!type"]||"sheet";switch(f){case"chart":default:s="xl/worksheets/sheet"+l+"."+r,_r(i,s,Y2e(l-1,s,t,e,m)),a.sheets.push(s),cs(t.wbrels,-1,"worksheets/sheet"+l+"."+r,br.WS[0])}if(c){var p=c["!comments"],h=!1,d="";p&&p.length>0&&(d="xl/comments"+l+"."+r,_r(i,d,Q2e(p,d)),a.comments.push(d),cs(m,-1,"../comments"+l+"."+r,br.CMNT),h=!0),c["!legacy"]&&h&&_r(i,"xl/drawings/vmlDrawing"+l+".vml",tF(l,c["!comments"])),delete c["!comments"],delete c["!legacy"]}m["!id"].rId1&&_r(i,nh(s),Ef(m))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,_r(i,s,J2e(t.Strings,s,t)),a.strs.push(s),cs(t.wbrels,-1,"sharedStrings."+r,br.SST)),s="xl/workbook."+r,_r(i,s,Z2e(e,s)),a.workbooks.push(s),cs(t.rels,1,s,br.WB),s="xl/theme/theme1.xml",_r(i,s,gT(e.Themes,t)),a.themes.push(s),cs(t.wbrels,-1,"theme/theme1.xml",br.THEME),s="xl/styles."+r,_r(i,s,X2e(e,s,t)),a.styles.push(s),cs(t.wbrels,-1,"styles."+r,br.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",_r(i,s,e.vbaraw),a.vba.push(s),cs(t.wbrels,-1,"vbaProject.bin",br.VBA)),s="xl/metadata."+r,_r(i,s,eSe(s)),a.metadata.push(s),cs(t.wbrels,-1,"metadata."+r,br.XLMETA),_r(i,"[Content_Types].xml",_7(a,t)),_r(i,"_rels/.rels",Ef(t.rels)),_r(i,"xl/_rels/workbook."+r+".rels",Ef(t.wbrels)),delete t.revssf,delete t.ssf,i}function Mve(e,t){mf=1024,e&&!e.SSF&&(e.SSF=Hs(ar)),e&&e.SSF&&(Tp(),Ly(e.SSF),t.revssf=Cy(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,n1?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=sF.indexOf(t.bookType)>-1,a=cT();bT(t=t||{});var i=XE(),s="",l=0;if(t.cellXfs=[],Vm(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",_r(i,s,v7(e.Props,t)),a.coreprops.push(s),cs(t.rels,2,s,br.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var o=[],u=0;u0&&(s="docProps/custom.xml",_r(i,s,I7(e.Custprops)),a.custprops.push(s),cs(t.rels,4,s,br.CUST_PROPS));var m=["SheetJ5"];for(t.tcid=0,l=1;l<=e.SheetNames.length;++l){var c={"!id":{}},f=e.Sheets[e.SheetNames[l-1]],p=(f||{})["!type"]||"sheet";switch(p){case"chart":default:s="xl/worksheets/sheet"+l+"."+r,_r(i,s,dF(l-1,t,e,c)),a.sheets.push(s),cs(t.wbrels,-1,"worksheets/sheet"+l+"."+r,br.WS[0])}if(f){var h=f["!comments"],d=!1,_="";if(h&&h.length>0){var y=!1;h.forEach(function(g){g[1].forEach(function(S){S.T==!0&&(y=!0)})}),y&&(_="xl/threadedComments/threadedComment"+l+"."+r,_r(i,_,E1e(h,m,t)),a.threadedcomments.push(_),cs(c,-1,"../threadedComments/threadedComment"+l+"."+r,br.TCMNT)),_="xl/comments"+l+"."+r,_r(i,_,rF(h)),a.comments.push(_),cs(c,-1,"../comments"+l+"."+r,br.CMNT),d=!0}f["!legacy"]&&d&&_r(i,"xl/drawings/vmlDrawing"+l+".vml",tF(l,f["!comments"])),delete f["!comments"],delete f["!legacy"]}c["!id"].rId1&&_r(i,nh(s),Ef(c))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,_r(i,s,j7(t.Strings,t)),a.strs.push(s),cs(t.wbrels,-1,"sharedStrings."+r,br.SST)),s="xl/workbook."+r,_r(i,s,vF(e)),a.workbooks.push(s),cs(t.rels,1,s,br.WB),s="xl/theme/theme1.xml",_r(i,s,gT(e.Themes,t)),a.themes.push(s),cs(t.wbrels,-1,"theme/theme1.xml",br.THEME),s="xl/styles."+r,_r(i,s,X7(e,t)),a.styles.push(s),cs(t.wbrels,-1,"styles."+r,br.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",_r(i,s,e.vbaraw),a.vba.push(s),cs(t.wbrels,-1,"vbaProject.bin",br.VBA)),s="xl/metadata."+r,_r(i,s,eF()),a.metadata.push(s),cs(t.wbrels,-1,"metadata."+r,br.XLMETA),m.length>1&&(s="xl/persons/person.xml",_r(i,s,A1e(m)),a.people.push(s),cs(t.wbrels,-1,"persons/person.xml",br.PEOPLE)),_r(i,"[Content_Types].xml",_7(a,t)),_r(i,"_rels/.rels",Ef(t.rels)),_r(i,"xl/_rels/workbook."+r+".rels",Ef(t.wbrels)),delete t.revssf,delete t.ssf,i}function CT(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=Oi(e.slice(0,12));break;case"binary":r=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function Dve(e,t){return Xt.find(e,"EncryptedPackage")?Sve(e,t):IF(e,t)}function Ive(e,t){var r,n=e,a=t||{};return a.type||(a.type=Ir&&Buffer.isBuffer(e)?"buffer":"base64"),r=W8(n,a),gve(r,a)}function kF(e,t){var r=0;e:for(;r=2&&a[3]===0||a[2]===0&&(a[3]===8||a[3]===9)))return U0.to_workbook(n,r);break;case 3:case 131:case 139:case 140:return zL.to_workbook(n,r);case 123:if(a[1]===92&&a[2]===114&&a[3]===116)return q7.to_workbook(n,r);break;case 10:case 13:case 32:return Ove(n,r);case 137:if(a[1]===80&&a[2]===78&&a[3]===71)throw new Error("PNG Image File is not a spreadsheet");break}return Ape.indexOf(a[0])>-1&&a[2]<=12&&a[3]<=31?zL.to_workbook(n,r):PI(e,n,r,i)}function PF(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return Zh(t.file,Xt.write(e,{type:Ir?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return Xt.write(e,t)}function Cve(e,t){var r=Hs(t||{}),n=vve(e,r);return Eve(n,r)}function Eve(e,t){var r={},n=Ir?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?Xt.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if(typeof Deno<"u"&&typeof a=="string"){if(t.type=="binary"||t.type=="base64")return a;a=new Uint8Array(Oy(a))}return t.password&&typeof encrypt_agile<"u"?PF(encrypt_agile(a,t.password),t):t.type==="file"?Zh(t.file,a):t.type=="string"?ys(a):a}function Tve(e,t){var r=t||{},n=bSe(e,r);return PF(n,r)}function jl(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return Q1(lo(n));case"binary":return lo(n);case"string":return e;case"file":return Zh(t.file,n,"utf8");case"buffer":return Ir?yu(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):jl(n,{type:"binary"}).split("").map(function(a){return a.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Ave(e,t){switch(t.type){case"base64":return Q1(e);case"binary":return e;case"string":return e;case"file":return Zh(t.file,e,"binary");case"buffer":return Ir?yu(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function fg(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n0&&(a=0);var c=dn(o.s.r),f=[],p=[],h=0,d=0,_=Array.isArray(e),y=o.s.r,g=0,S={};_&&!e[y]&&(e[y]=[]);var v=u.skipHidden&&e["!cols"]||[],M=u.skipHidden&&e["!rows"]||[];for(g=o.s.c;g<=o.e.c;++g)if(!(v[g]||{}).hidden)switch(f[g]=Ys(g),r=_?e[y][g]:e[f[g]+c],n){case 1:i[g]=g-o.s.c;break;case 2:i[g]=f[g];break;case 3:i[g]=u.header[g-o.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),l=s=mu(r,null,u),d=S[s]||0,!d)S[s]=1;else{do l=s+"_"+d++;while(S[l]);S[s]=d,S[l]=1}i[g]=l}for(y=o.s.r+a;y<=o.e.r;++y)if(!(M[y]||{}).hidden){var I=Uve(e,o,y,f,n,i,_,u);(I.isempty===!1||(n===1?u.blankrows!==!1:!!u.blankrows))&&(p[h++]=I.row)}return p.length=h,p}var OP=/"/g;function Nve(e,t,r,n,a,i,s,l){for(var o=!0,u=[],m="",c=dn(r),f=t.s.c;f<=t.e.c;++f)if(!!n[f]){var p=l.dense?(e[r]||[])[f]:e[n[f]+c];if(p==null)m="";else if(p.v!=null){o=!1,m=""+(l.rawNumbers&&p.t=="n"?p.v:mu(p,null,l));for(var h=0,d=0;h!==m.length;++h)if((d=m.charCodeAt(h))===a||d===i||d===34||l.forceQuotes){m='"'+m.replace(OP,'""')+'"';break}m=="ID"&&(m='"ID"')}else p.f!=null&&!p.F?(o=!1,m="="+p.f,m.indexOf(",")>=0&&(m='"'+m.replace(OP,'""')+'"')):m="";u.push(m)}return l.blankrows===!1&&o?null:u.join(s)}function ET(e,t){var r=[],n=t??{};if(e==null||e["!ref"]==null)return"";var a=jr(e["!ref"]),i=n.FS!==void 0?n.FS:",",s=i.charCodeAt(0),l=n.RS!==void 0?n.RS:` -`,o=l.charCodeAt(0),u=new RegExp((i=="|"?"\\|":i)+"+$"),m="",c=[];n.dense=Array.isArray(e);for(var f=n.skipHidden&&e["!cols"]||[],p=n.skipHidden&&e["!rows"]||[],h=a.s.c;h<=a.e.c;++h)(f[h]||{}).hidden||(c[h]=Ys(h));for(var d=0,_=a.s.r;_<=a.e.r;++_)(p[_]||{}).hidden||(m=Nve(e,a,_,c,s,o,i,n),m!=null&&(n.strip&&(m=m.replace(u,"")),(m||n.blankrows!==!1)&&r.push((d++?l:"")+m)));return delete n.dense,r.join("")}function NF(e,t){t||(t={}),t.FS=" ",t.RS=` -`;var r=ET(e,t);return r}function wve(e){var t="",r,n="";if(e==null||e["!ref"]==null)return[];var a=jr(e["!ref"]),i="",s=[],l,o=[],u=Array.isArray(e);for(l=a.s.c;l<=a.e.c;++l)s[l]=Ys(l);for(var m=a.s.r;m<=a.e.r;++m)for(i=dn(m),l=a.s.c;l<=a.e.c;++l)if(t=s[l]+i,r=u?(e[m]||[])[l]:e[t],n="",r!==void 0){if(r.F!=null){if(t=r.F,!r.f)continue;n=r.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}o[o.length]=t+"="+n}return o}function wF(e,t,r){var n=r||{},a=+!n.skipHeader,i=e||{},s=0,l=0;if(i&&n.origin!=null)if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?Xs(n.origin):n.origin;s=o.r,l=o.c}var u,m={s:{c:0,r:0},e:{c:l,r:s+t.length-1+a}};if(i["!ref"]){var c=jr(i["!ref"]);m.e.c=Math.max(m.e.c,c.e.c),m.e.r=Math.max(m.e.r,c.e.r),s==-1&&(s=c.e.r+1,m.e.r=s+t.length-1+a)}else s==-1&&(s=0,m.e.r=t.length-1+a);var f=n.header||[],p=0;t.forEach(function(d,_){un(d).forEach(function(y){(p=f.indexOf(y))==-1&&(f[p=f.length]=y);var g=d[y],S="z",v="",M=ir({c:l+p,r:s+_+a});u=ch(i,M),g&&typeof g=="object"&&!(g instanceof Date)?i[M]=g:(typeof g=="number"?S="n":typeof g=="boolean"?S="b":typeof g=="string"?S="s":g instanceof Date?(S="d",n.cellDates||(S="n",g=wn(g)),v=n.dateNF||ar[14]):g===null&&n.nullError&&(S="e",g=0),u?(u.t=S,u.v=g,delete u.w,delete u.R,v&&(u.z=v)):i[M]=u={t:S,v:g},v&&(u.z=v))})}),m.e.c=Math.max(m.e.c,l+f.length-1);var h=dn(s);if(a)for(p=0;p=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}else if(typeof t=="string"){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}else throw new Error("Cannot find sheet |"+t+"|")}function TT(){return{SheetNames:[],Sheets:{}}}function AT(e,t,r,n){var a=1;if(!r)for(;a<=65535&&e.SheetNames.indexOf(r="Sheet"+a)!=-1;++a,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var i=r.match(/(^.*?)(\d+)$/);a=i&&+i[2]||0;var s=i&&i[1]||r;for(++a;a<=65535&&e.SheetNames.indexOf(r=s+a)!=-1;++a);}if(SF(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function Rve(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=Vve(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r}function Fve(e,t){return e.z=t,e}function xF(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function Bve(e,t,r){return xF(e,"#"+t,r)}function Hve(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})}function $ve(e,t,r,n){for(var a=typeof t!="string"?t:jr(t),i=typeof t=="string"?t:hr(t),s=a.s.r;s<=a.e.r;++s)for(var l=a.s.c;l<=a.e.c;++l){var o=ch(e,s,l);o.t="n",o.F=i,delete o.v,s==a.s.r&&l==a.s.c&&(o.f=r,n&&(o.D=!0))}return e}var Qf={encode_col:Ys,encode_row:dn,encode_cell:ir,encode_range:hr,decode_col:aT,decode_row:nT,split_cell:J0e,decode_cell:Xs,decode_range:si,format_cell:mu,sheet_add_aoa:u7,sheet_add_json:wF,sheet_add_dom:bF,aoa_to_sheet:Ap,json_to_sheet:xve,table_to_sheet:CF,table_to_book:qSe,sheet_to_csv:ET,sheet_to_txt:NF,sheet_to_json:FS,sheet_to_html:LF,sheet_to_formulae:wve,sheet_to_row_object_array:FS,sheet_get_cell:ch,book_new:TT,book_append_sheet:AT,book_set_sheet_visibility:Rve,cell_set_number_format:Fve,cell_set_hyperlink:xF,cell_set_internal_link:Bve,cell_add_comment:Hve,sheet_set_array_formula:$ve,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};class rm extends Error{constructor(t,r,n){super(t),this.name=this.constructor.name,r&&(this.info=r),n&&(this.cause=n),this._oErrorTags}withInfo(t){return this.info=t,this}withCause(t){return this.cause=t,this}static tag(t,r,n){const a=t;a._oErrorTags||(a._oErrorTags=[]);let i;return Error.captureStackTrace?(i={name:"TaggedError",message:r,info:n},Error.captureStackTrace(i,rm.tag)):i=new jve(r||"",n),a._oErrorTags.length>=rm.maxTags&&(a._oErrorTags[1]===LP?a._oErrorTags.splice(2,1):a._oErrorTags[1]=LP),a._oErrorTags.push(i),t}static getFullInfo(t){const r={};if(!t)return r;const n=t;if(n.cause&&Object.assign(r,rm.getFullInfo(n.cause)),typeof n.info=="object"&&Object.assign(r,n.info),n._oErrorTags)for(const a of n._oErrorTags)Object.assign(r,a.info);return r}static getFullStack(t){if(!t)return"";const r=t;let n=r.stack||"(no stack)";Array.isArray(r._oErrorTags)&&r._oErrorTags.length&&(n+=` -${r._oErrorTags.map(i=>i.stack).join(` -`)}`);const a=r.cause&&rm.getFullStack(r.cause);return a&&(n+=` -caused by: -`+Gve(a)),n}}rm.maxTags=100;class jve extends rm{}const LP={name:"TaggedError",message:"... dropped tags",stack:"TaggedError: ... dropped tags"};function Gve(e){return e.replace(/^/gm," ")}var kT=rm,Wve={"A&L Great Lakes Laboratory - Fort Wayne, IN":{Soil:{name:"A&L Great Lakes Laboratory - Fort Wayne, IN",type:"Soil",analytes:{Clay:{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003"},Sand:{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003"},Silt:{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003"},HCO3_P:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Sodium Bicarbonate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_045",CsvHeader:"HCO3_P"},CA_PCT:{Element:"Base Saturation - Ca",ValueUnit:"%",ExtractionMethod:"EPA 3050 Digestion Acid Recoverable",MeasurementMethod:"Calculated",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",CsvHeader:"CA_PCT"},MG_PCT:{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"MG_PCT"},K_PCT:{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"K_PCT"},NA_PCT:{Element:"Base Saturation - H",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",CsvHeader:"NA_PCT"},B:{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017",CsvHeader:"B"},BUFFER_PH:{Element:"Buffer pH",ValueUnit:"standard pH unit",ExtractionMethod:"SMP",MeasurementMethod:"H+ ISE",ModusTestID:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_009",CsvHeader:"BUFFER_PH"},CA:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:'"ICP, AAS"',UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-NH4AC.05",CsvHeader:"CA"},"Cation Exchange Capacity":{Element:"Cation Exchange Capacity",ValueUnit:"cmol/kg",ExtractionMethod:"Potassium",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_009"},CL:{Element:"Chloride",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"Titration",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CL.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_016",CsvHeader:"CL"},CU:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Hydrochloric Acid",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_CU_010",CsvHeader:"CU"},"Exchangeable Potassium Percentage":{Element:"Exchangeable Potassium Percentage",ValueUnit:"%",ExtractionMethod:"1.0 M KCl",MeasurementMethod:"Calculation",UCUM_ValueUnit:"%",ModusTestID:"S-EKP.19",ModusTestIDv2:"L_MODV2_SOIL_XKP_001"},FE:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"Hydrochloric Acid",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_FE_011",CsvHeader:"FE"},MG:{Element:"Magnesium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_MG_030",CsvHeader:"MG"},MN:{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Hydrochloric Acid",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_MN_009",CsvHeader:"MN"},OM:{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_003",CsvHeader:"OM"},P2:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 2",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_006",CsvHeader:"P2"},P1:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",CsvHeader:"P1"},K:{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:'"ICP, AAS"',UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-NH4AC.05",CsvHeader:"K"},NA:{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_NA_001",CsvHeader:"NA"},NH4:{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4-KCL.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_005",CsvHeader:"NH4"},NO4_N:{Element:"NO4_N",CsvHeader:"NO4_N"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},SO4_S:{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-S-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_S_002",CsvHeader:"SO4_S"},S:{Element:"S",CsvHeader:"S"},ZN:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"Hydrochloric Acid",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_009",CsvHeader:"ZN"}}}},"A&L Western Agricultural Labs - Modesto, CA":{Soil:{name:"A&L Western Agricultural Labs - Modesto, CA",type:"Soil",analytes:{Moisture:{Element:"Moisture",ValueUnit:"%"},"Calcium Carbonate":{Element:"Calcium Carbonate"},AL:{Element:"Aluminum",ValueUnit:"ppm",CsvHeader:"AL"},Moisture2:{Element:"Moisture",ValueUnit:"%"},B:{Element:"Boron",ValueUnit:"ppm",CsvHeader:"B"},B_SAT:{Element:"Base Saturation - B",ValueUnit:"meq/100 g",CsvHeader:"B_SAT"},BUFFER_PH:{Element:"Buffer pH",ValueUnit:"standard pH unit",ExtractionMethod:"Sikora 1",MeasurementMethod:"H+ ISE",ModusTestID:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_007",CsvHeader:"BUFFER_PH"},"C:N Ratio":{Element:"C:N Ratio",ValueUnit:"none"},CA:{Element:"Calcium",ValueUnit:"%",CsvHeader:"CA"},CA_PCT:{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"CA_PCT"},CA_SAT:{Element:"Base Saturation - Mg",ValueUnit:"meq/100 g",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"CA_SAT"},CEC:{Element:"Cation Exchange Capacity",ValueUnit:"meq/100 g",CsvHeader:"CEC"},CL:{Element:"Chloride",ValueUnit:"%",CsvHeader:"CL"},CO3:{Element:"Carbonate",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_004",CsvHeader:"CO3"},CU:{Element:"Copper",ValueUnit:"ppm",CsvHeader:"CU"},EC:{Element:"Electrical Conductivity",CsvHeader:"EC"},ENR:{Element:"Estimated Nitrogen Release",ValueUnit:"lb/ac",ExtractionMethod:"Calculation",MeasurementMethod:"Calculation",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-ENR.19",ModusTestIDv2:"L_MODV2_SOIL_ENR_001",CsvHeader:"ENR"},ESP:{Element:"Exchangeable Sodium Percentage",ValueUnit:"%",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Calculation",UCUM_ValueUnit:"%",ModusTestID:"S-ESP.19",ModusTestIDv2:"L_MODV2_SOIL_XNAP_001",CsvHeader:"ESP"},FE:{Element:"Iron",ValueUnit:"ppm",CsvHeader:"FE"},H:{Element:"Hydrogen",ValueUnit:"meq/100 g",CsvHeader:"H"},H_PCT:{Element:"Base Saturation - H",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",CsvHeader:"H_PCT"},HCO3:{Element:"Bicarbonate",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"meq/L",ModusTestID:"S-HCO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_HCO3_001",CsvHeader:"HCO3"},K:{Element:"Potassium",ValueUnit:"%",CsvHeader:"K"},K_PCT:{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"K_PCT"},EX__LIME:{Element:"Lime Recommendation",ValueUnit:"none",ExtractionMethod:"SMP",MeasurementMethod:"Calculation",UCUM_ValueUnit:"[ston_av]/[acr_us]",ModusTestID:"S-LR-SMP",ModusTestIDv2:"L_MODV2_SOIL_LREC_007",CsvHeader:"EX__LIME"},MG:{Element:"Magnesium",ValueUnit:"%",CsvHeader:"MG"},MG_PCT:{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"MG_PCT"},MG_SAT:{Element:"Base Saturation - Mg",ValueUnit:"meq/100 g",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"MG_SAT"},MN:{Element:"Manganese",ValueUnit:"ppm",CsvHeader:"MN"},MO:{Element:"Molybdenum",ValueUnit:"ppm",CsvHeader:"MO"},NA:{Element:"Sodium",ValueUnit:"%",CsvHeader:"NA"},NA_PCT:{Element:"Base Saturation - Na",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",CsvHeader:"NA_PCT"},NA_SAT:{Element:"Base Saturation - Na",ValueUnit:"meq/100 g",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",CsvHeader:"NA_SAT"},NH4:{Element:"Ammonium-Nitrogen",ValueUnit:"ppm",CsvHeader:"NH4"},NO3_N:{Element:"Nitrate-Nitrogen",ValueUnit:"ppm",CsvHeader:"NO3_N"},OM:{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"OM"},"Organic Carbon":{Element:"Organic Carbon"},Sand:{Element:"Sand",ValueUnit:"%"},SAT_PCT:{Element:"Saturation Paste %",ValueUnit:"%",ExtractionMethod:"Balance",MeasurementMethod:"Calculated",UCUM_ValueUnit:"%",ModusTestID:"S-SP%.19",ModusTestIDv2:"L_MODV2_SOIL_SS",CsvHeader:"SAT_PCT"},P1:{Element:"Phosphorus",ValueUnit:"ppm",ExtractionMethod:"Bray 1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",CsvHeader:"P1"},P2:{Element:"Phosphorus",ValueUnit:"ppm",CsvHeader:"P2"},HCO3_P:{Element:"Phosphorus",ValueUnit:"ppm",CsvHeader:"HCO3_P"},S:{Element:"Sulfur",ValueUnit:"%",CsvHeader:"S"},SAR:{Element:"Sodium Adsorption Ratio",ValueUnit:"Ratio",CsvHeader:"SAR"},"Silt+Clay":{Element:"Silt+Clay",ValueUnit:"%"},SO4_S:{Element:"Sulfate-Sulfur",ValueUnit:"ppm",CsvHeader:"SO4_S"},PH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Saturated Paste",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-SP.02",ModusTestIDv2:"L_MODV2_SOIL_PH_013",CsvHeader:"PH"},S__SALTS:{Element:"Soluble Salts",ValueUnit:"mmhos/cm",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001",CsvHeader:"S__SALTS"},TN:{Element:'"Nitrogen, Total"',CsvHeader:"TN"},ZN:{Element:"Zinc",ValueUnit:"ppm",CsvHeader:"ZN"},K_EXT:{Element:"K_EXT",ValueUnit:"ppm",CsvHeader:"K_EXT"},N:{Element:"Nitrogen",ValueUnit:"%",CsvHeader:"N"},P:{Element:"Phosphorus",ValueUnit:"%",CsvHeader:"P"},PO4_P:{Element:"Phosphate",ValueUnit:"ppm",CsvHeader:"PO4_P"}}}},"Ag Test LLC - Kittitas, WA":{Soil:{name:"Ag Test LLC - Kittitas, WA",type:"Soil",analytes:{Iron:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003"},"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"}}}},"AGQ Labs USA - Oxnard, CA":{Soil:{name:"AGQ Labs USA - Oxnard, CA",type:"Soil",analytes:{Copper:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_002"},"Electrical Conductivity":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:5.03",ModusTestIDv2:"L_MODV2_SOIL_EC_003"},Iron:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003"},Manganese:{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_002"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:2.5.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_007"},Zinc:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_002"}}}},"AgroLab, Inc. - Harrington, DE":{Soil:{name:"AgroLab, Inc. - Harrington, DE",type:"Soil",analytes:{pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"}}}},"AGVISE Laboratories - Benson, MN & Northwood, ND":{Soil:{name:"AGVISE Laboratories - Benson, MN & Northwood, ND",type:"Soil",analytes:{"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"},"Permanganate-Oxidizable Carbon (POXC)":{Element:"Permanganate-Oxidizable Carbon (POXC)",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Permanganate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-AC-KMNO4.01",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_001"},"ACE nitrogen (soil protein index)":{Element:"ACE nitrogen (soil protein index)",ValueUnit:"g/kg",ExtractionMethod:"Soil Protein",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/g",ModusTestID:"S-SP-ACE-OT",ModusTestIDv2:"L_MODV2_SOIL_ACEN_001"},"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Calcium Chloride",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_002"},pH2:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_010"},pH3:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},"Aggregate Stability":{Element:"Aggregate Stability",ValueUnit:"%",ExtractionMethod:"Incubation",MeasurementMethod:"Visual",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_002"},"Electrical Conductivity":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001"}}}},"American Agricultural Lab - Olsen's Agricultural Lab, McCook, NE":{Soil:{name:"American Agricultural Lab - Olsen's Agricultural Lab, McCook, NE",type:"Soil",analytes:{"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"},"Electrical Conductivity":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001"}}}},"BI labs":{Soil:{name:"BI labs",type:"Soil",analytes:{"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:2.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_006"},"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"},"Organic Carbon":{Element:"Organic Carbon",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)"},Antioxidants:{Element:"Antioxidants",ValueUnit:"FRAP units per 100 g Fresh weight",ExtractionMethod:"FRAP",MeasurementMethod:"Reflectance"},Brix:{Element:"Brix",MeasurementMethod:"Refraction"},Calcium:{Element:"Calcium",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"},Potassium:{Element:"Potassium",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"},Magnesium:{Element:"Magnesium",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"},Phosphorus:{Element:"Phosphorus",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"},"Polyphenols (total)":{Element:"Polyphenols (total)",ValueUnit:"mg GAE per 100 g Fresh Weight",ExtractionMethod:"Folin Ciocalteau Method",MeasurementMethod:"Reflectance"},"Protein (total)":{Element:"Protein (total)",ValueUnit:"%",ExtractionMethod:"Lowry Method",MeasurementMethod:"Reflectance"},Sulfur:{Element:"Sulfur",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"}}}},"Brookside Laboratories, Inc. - New Bremen, OH":{Soil:{name:"Brookside Laboratories, Inc. - New Bremen, OH",type:"Soil",analytes:{"Estimated Nitrogen Release":{Element:"Estimated Nitrogen Release",ValueUnit:"lb/ac",ExtractionMethod:"Calculation",MeasurementMethod:"Calculation",UCUM_ValueUnit:"[lb_av]/[acr_us]",ModusTestIDv2:"L_MODV2_SOIL_ENR_001"},"Organic Matter":{Element:"Organic Matter",CsvHeader:"Organic Matter"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestIDv2:"L_MODV2_SOIL_PH_005",CsvHeader:"pH"},"SMP Buffer":{Element:"Buffer pH",ValueUnit:"standard pH unit",ExtractionMethod:"SMP",MeasurementMethod:"H+ ISE",ModusTestIDv2:"L_MODV2_SOIL_BPH_009",CsvHeader:"SMP Buffer"},"Ca H3A":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CA_014",CsvHeader:"Ca H3A"},"Mg H3A":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_MG_015",CsvHeader:"Mg H3A"},"K H3A":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_K_019",CsvHeader:"K H3A"},"Na H3A":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_NA_009",CsvHeader:"Na H3A"},"S H3A":{Element:"Sulfur",CsvHeader:"S H3A"},"B H3A":{Element:"Boron",CsvHeader:"B H3A"},"Fe H3A":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_FE_010",CsvHeader:"Fe H3A"},"Mn H3A":{Element:"Manganese",CsvHeader:"Mn H3A"},"Cu H3A":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CU_009",CsvHeader:"Cu H3A"},"Zn H3A":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",CsvHeader:"Zn H3A"},"Al H3A":{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_AL_010",CsvHeader:"Al H3A"},"P H3A":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_P_020",CsvHeader:"P H3A"},"Soluble Salts":{Element:"Soluble Salts",CsvHeader:"Soluble Salts"},"NO3 H3A":{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",CsvHeader:"NO3 H3A"},"PO4 H3A":{Element:"Phosphate",CsvHeader:"PO4 H3A"},"one day C":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001",CsvHeader:"one day C"},WEOC:{Element:"Water Extractable Organic Carbon (WEOC)",ValueUnit:"g",ExtractionMethod:"Slurry",MeasurementMethod:"TOC Analyzer",ModusTestIDv2:"L_MODV2_SOIL_WEOC_001",CsvHeader:"WEOC"},WEN:{Element:"Water Extractable Nitrogen (WEN)",ValueUnit:"mg/kg",ExtractionMethod:"Water / Reciprocating Shaker / Centrifuge",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_WEN_001",CsvHeader:"WEN"},"NH4 H3A":{Element:"Ammonium",CsvHeader:"NH4 H3A"}}}},"Cornell Soil Health Lab":{Soil:{name:"Cornell Soil Health Lab",type:"Soil",analytes:{"Active Carbon":{Element:"Potential Oxidizable Carbon",ValueUnit:"mg/kg",ExtractionMethod:'"Permanganate, Oxidizable Carbon"',MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-POXC.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTOXC_001",CsvHeader:"Active Carbon"},"Moisture Content, Moisture Content":{Element:"Moisture Content, Moisture Content",ValueUnit:"%",ExtractionMethod:"15 Bar Moisture Tension, Oven",MeasurementMethod:"Gravimetric, Gravimetric",UCUM_ValueUnit:"%, %",ModusTestIDv2:"L_MODV2_SOIL_GWC_15BAR_001,L_MODV2_SOIL_GWC_001"},"Bulk Density":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Core Extraction",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestIDv2:"L_MODV2_SOIL_BD_003"},"Calcium Carbonate":{Element:"Calcium Carbonate",ValueUnit:"%",ExtractionMethod:"Pressure Calcimeter",MeasurementMethod:"CO2 Displacement",UCUM_ValueUnit:"%",ModusTestID:"S-CACO3.14",ModusTestIDv2:"L_MODV2_SOIL_CACO3_003"},"4-day respiration":{Element:"Electrical Conductivity",ValueUnit:"mg/g",ExtractionMethod:"CO2 Respiration",MeasurementMethod:"Conductivity",UCUM_ValueUnit:"mg/g",ModusTestIDv2:"L_MODV2_SOIL_RESP_4DAY_C_NAOH_OT",CsvHeader:"4-day respiration"},"Soluble Salts":{Element:"Soluble Salts",ValueUnit:"mmho/cm",ExtractionMethod:"5:1 Water Extraction",MeasurementMethod:"Calculated",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-SS.19"},"ACE Soil Protein Index,protein":{Element:"ACE nitrogen (soil protein index)",ValueUnit:"g/kg",ExtractionMethod:"Soil Protein",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/g",ModusTestID:"S-SP-ACE-OT",ModusTestIDv2:"L_MODV2_SOIL_ACEN_001",CsvHeader:"ACE Soil Protein Index,protein"},Aluminum:{Element:"Al (Mod Morgan)",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-Al-MMOR-OT",ModusTestIDv2:"L_MOD2_SOIL_MMOR_AL_OT",CsvHeader:"Aluminum"},Boron:{Element:"B (Mod Morgan)",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-MMOR-OT",ModusTestIDv2:"L_MOD2_SOIL_MMOR_B_OT",CsvHeader:"Boron"},Calcium:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_024",CsvHeader:"Calcium"},Copper:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-Cu-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_CU_017",CsvHeader:"Copper"},Iron:{Element:"Fe (Mod Morgan)",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-Fe-MMOR-OT",ModusTestIDv2:"L_MOD2_SOIL_MMOR_FE_OT",CsvHeader:"Iron"},"Extractable Potassium,Potassium":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_K_034",CsvHeader:"Extractable Potassium,Potassium"},Magnesium:{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_024",CsvHeader:"Magnesium"},"Minor Elements,Additional nutrients score":{Element:'"Plant nutrient suite- Mg, Fe,Mn,Z, Al,Ca,Cu,S,B", Unnamed record',ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",CsvHeader:"Minor Elements,Additional nutrients score"},Manganese:{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_MN_017",CsvHeader:"Manganese"},"Extractable Phosphorus,Phosphorus":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_036",CsvHeader:"Extractable Phosphorus,Phosphorus"},Sulfer:{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-S-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_S_028",CsvHeader:"Sulfer"},Zinc:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_ZN_018",CsvHeader:"Zinc"},"soil moisture 15bar":{Element:"Moisture Content",ValueUnit:"%",ExtractionMethod:"15 Bar Moisture Tension",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-15BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_15BAR_001",CsvHeader:"soil moisture 15bar"},"soil moisture 0.1bar":{Element:"Moisture",ValueUnit:"%",ExtractionMethod:"0.1 Bar Moisture Tension",MeasurementMethod:"Pressure Plate",UCUM_ValueUnit:"%",ModusTestID:"S-MOIST-0.1BMT-PP-OT",ModusTestIDv2:"L_MOD2_SOIL_MOIST_0.1_PP_OT",CsvHeader:"soil moisture 0.1bar"},"Organic Matter,Loss on Ignition %":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"Organic Matter,Loss on Ignition %"},"Permanganate-Oxidizable Carbon (POXC)":{Element:"Permanganate-Oxidizable Carbon (POXC)",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Permanganate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-AC-KMNO4.01",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_002"},"modeling of collected data":{Element:"modeling of collected data",ValueUnit:"g/kg",ExtractionMethod:"modeling of collected data to predict ACE protein",MeasurementMethod:"prediction of ACE protein"},"Available Water Capacity,AWC 0.1-15":{Element:"modeling of collected data",ValueUnit:"grams of water per grams of soil",ExtractionMethod:"modeling of collected data to predict AWC",MeasurementMethod:"prediction of Available Water Capacity",CsvHeader:"Available Water Capacity,AWC 0.1-15"},"Soil Organic Carbon":{Element:"Soil Organic Carbon",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-OM-CORNELL-OT",ModusTestIDv2:"L_MOD2_SOIL_OC_OT",CsvHeader:"Soil Organic Carbon"},"Soil pH":{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:2.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_006",CsvHeader:"Soil pH"},"Soil Respiration":{Element:"CO2 Respiration",ValueUnit:"mg CO2 / g dry weight soil/ 4 days",ExtractionMethod:"CO2 Respiration",MeasurementMethod:"Conductivity",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_RESP_4DAY_C_KOH_OT",CsvHeader:"Soil Respiration"},"Measured Soil Textural Class,texture":{Element:"Textural Classification",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"Gravimetric",ModusTestID:"S-TEXTURE-SS-TA-USDA-OT",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_001",CsvHeader:"Measured Soil Textural Class,texture"},"Clay.clay%":{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.11",ModusTestIDv2:"L_MODV2_SOIL_CLAY_004",CsvHeader:"Clay.clay%"},"Sand,sand%":{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SAND_001",CsvHeader:"Sand,sand%"},"Silt,silt%":{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SILT_004",CsvHeader:"Silt,silt%"},"Subsurface Hardness":{Element:"Sub-surface hardness",ValueUnit:"pounds per square inch (psi)",ExtractionMethod:"Compression pressure",MeasurementMethod:"Steady insertion in field soil",ModusTestID:"S-SSH-CORNELL-OT",CsvHeader:"Subsurface Hardness"},"Surface Hardness":{Element:"Surface Hardness",ValueUnit:"pounds per square inch (psi)",ExtractionMethod:"resistance",MeasurementMethod:"soil compaction tester (penetrometer)",CsvHeader:"Surface Hardness"},"Total C":{Element:'"Carbon, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-TC-COMB.15",ModusTestIDv2:"L_MODV2_SOIL_TC_001",CsvHeader:"Total C"},"Total Carbon:Total Nitrogen":{Element:"Total Carbon:Total Nitrogen",ValueUnit:"%",ExtractionMethod:"Dry Combustion",MeasurementMethod:"Calculation",ModusTestID:"S-TC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TCTN_001"},"Total N":{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002",CsvHeader:"Total N"},"Aggregate Stability,wet aggregate stability":{Element:"Aggregate Stability",ValueUnit:"%",ExtractionMethod:"Slaking",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-AS-S-DW-G-OT",ModusTestIDv2:"L_MOD2_SOIL_DW_G_OT",CsvHeader:"Aggregate Stability,wet aggregate stability"}}}},"Cquester Analytics":{Soil:{name:"Cquester Analytics",type:"Soil",analytes:{"Bulk density (corrected for coarse material)":{Element:"Bulk Density",ValueUnit:"g/cm3",CsvHeader:"Bulk density (corrected for coarse material)"},"Inorganic carbon":{Element:"Inorganic carbon",ValueUnit:"%",CsvHeader:"Inorganic carbon"},"Organic carbon":{Element:"Organic Carbon",ValueUnit:"%",CsvHeader:"Organic carbon"},"Total nitrogen":{Element:'"Nitrogen, Total"',ValueUnit:"%",CsvHeader:"Total nitrogen"},pH:{Element:"pH",ValueUnit:"standard pH unit",CsvHeader:"pH"},"Sand content":{Element:"Sand",ValueUnit:"%",CsvHeader:"Sand content"},"Silt content":{Element:"Silt",ValueUnit:"%",CsvHeader:"Silt content"},"Clay content":{Element:"Clay",ValueUnit:"%",CsvHeader:"Clay content"},"Dissolved organic matter mass":{Element:"Dissolved organic matter mass",ValueUnit:"%",CsvHeader:"Dissolved organic matter mass"},"Dissolved organic matter carbon":{Element:"Dissolved organic matter carbon",ValueUnit:"%",CsvHeader:"Dissolved organic matter carbon"},"Light particulate organic matter mass":{Element:"Light particulate organic matter mass",ValueUnit:"%",CsvHeader:"Light particulate organic matter mass"},"Light particulate organic matter carbon":{Element:"Light particulate organic matter carbon",ValueUnit:"%",CsvHeader:"Light particulate organic matter carbon"},"Heavy particulate organic matter mass":{Element:"Heavy particulate organic matter mass",ValueUnit:"%",CsvHeader:"Heavy particulate organic matter mass"},"Heavy particulate organic matter carbon":{Element:"Heavy particulate organic matter carbon",ValueUnit:"%",CsvHeader:"Heavy particulate organic matter carbon"},"Mineral associated organic matter mass":{Element:"Mineral associated organic matter mass",ValueUnit:"%",CsvHeader:"Mineral associated organic matter mass"},"Mineral associated organic matter carbon":{Element:"Mineral associated organic matter carbon",ValueUnit:"%",CsvHeader:"Mineral associated organic matter carbon"}}}},"Demo Lab":{Soil:{name:"Demo Lab",type:"Soil",analytes:{pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Calcium Chloride",MeasurementMethod:"H+ ISE",ModusTestIDv2:"L_MODV2_SOIL_PH_004",CsvHeader:"pH"},"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"mg/kg",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"}}}},"Kuo Testing Laboratories":{Soil:{name:"Kuo Testing Laboratories",type:"Soil",analytes:{Al_DTPA:{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"DTPA-Sorbitol",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_AL_006",CsvHeader:"Al_DTPA"},AlMeh:{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_AL_012",CsvHeader:"AlMeh"},AlSatPas:{Element:"Aluminum",ValueUnit:"mg/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/L",ModusTestIDv2:"L_MODV2_SOIL_AL_022",CsvHeader:"AlSatPas"},As_DTPA:{Element:"Arsenic",CsvHeader:"As_DTPA"},B:{Element:"Boron",CsvHeader:"B"},Ba_DTPA:{Element:"Barium",CsvHeader:"Ba_DTPA"},Be_DTPA:{Element:"Be_DTPA",CsvHeader:"Be_DTPA"},BH3A:{Element:"Boron",CsvHeader:"BH3A"},Bicarb:{Element:"Bicarbonate",CsvHeader:"Bicarb"},Biomass:{Element:"Biomass",CsvHeader:"Biomass"},BMeh:{Element:"Boron",CsvHeader:"BMeh"},BSatPas:{Element:"Boron",CsvHeader:"BSatPas"},Ca:{Element:"Calcium",CsvHeader:"Ca"},Ca_SAR:{Element:"Ca_SAR",CsvHeader:"Ca_SAR"},CaH3A:{Element:"CaH3A",CsvHeader:"CaH3A"},CaMeh:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CA_014",CsvHeader:"CaMeh"},CaSatPas:{Element:"Calcium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestIDv2:"L_MODV2_SOIL_CA_031",CsvHeader:"CaSatPas"},CCE:{Element:"CCE",CsvHeader:"CCE"},Cd_DTPA:{Element:"Cadmium",CsvHeader:"Cd_DTPA"},CEC:{Element:"Cation Exchange Capacity",CsvHeader:"CEC"},Cl:{Element:"Chloride",CsvHeader:"Cl"},Clay:{Element:"Clay",CsvHeader:"Clay"},Co_DTPA:{Element:"Cobalt",CsvHeader:"Co_DTPA"},CO2:{Element:"CO2 Respiration",CsvHeader:"CO2"},Cr_DTPA:{Element:"Chromium",CsvHeader:"Cr_DTPA"},Cu:{Element:"Copper",CsvHeader:"Cu"},CuH3A:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CU_009",CsvHeader:"CuH3A"},CuMeh:{Element:"Copper",CsvHeader:"CuMeh"},CuSatPas:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CU_022",CsvHeader:"CuSatPas"},Density:{Element:"Bulk Density",CsvHeader:"Density"},ECE:{Element:"ECE",CsvHeader:"ECE"},ecSP:{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestIDv2:"L_MODV2_SOIL_EC_004",CsvHeader:"ecSP"},Eff:{Element:"Eff",CsvHeader:"Eff"},ESP:{Element:"Exchangeable Sodium Percentage",ValueUnit:"%",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Calculation",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_XNAP_001",CsvHeader:"ESP"},Fe:{Element:"Iron",CsvHeader:"Fe"},FeH3A:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_FE_010",CsvHeader:"FeH3A"},FeMeh:{Element:"Iron",CsvHeader:"FeMeh"},FeSatPas:{Element:"Iron",ValueUnit:"mg/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/L",ModusTestIDv2:"L_MODV2_SOIL_FE_021",CsvHeader:"FeSatPas"},H2O_Na:{Element:"H2O_Na",CsvHeader:"H2O_Na"},K:{Element:"Potassium",CsvHeader:"K"},KH3A:{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_K_019",CsvHeader:"KH3A"},KMeh:{Element:"KMeh",CsvHeader:"KMeh"},KSatPas:{Element:"Potassium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestIDv2:"L_MODV2_SOIL_K_042",CsvHeader:"KSatPas"},LOI:{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"LOI"},Mg:{Element:"Magnesium",CsvHeader:"Mg"},Mg_SAR:{Element:"Magnesium",CsvHeader:"Mg_SAR"},MgH3A:{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_MG_015",CsvHeader:"MgH3A"},MgMeh:{Element:"Magnesium",CsvHeader:"MgMeh"},MgSatPas:{Element:"Magnesium",CsvHeader:"MgSatPas"},MinN:{Element:"MinN",CsvHeader:"MinN"},Mn:{Element:"Manganese",CsvHeader:"Mn"},MnH3A:{Element:"Manganese",CsvHeader:"MnH3A"},MnMeh:{Element:"Manganese",CsvHeader:"MnMeh"},MnSatPas:{Element:"Manganese",CsvHeader:"MnSatPas"},Mo_DTPA:{Element:"Molybdenum",CsvHeader:"Mo_DTPA"},Moisture:{Element:"Moisture",CsvHeader:"Moisture"},Na:{Element:"Sodium",CsvHeader:"Na"},Na_SAR:{Element:"Sodium",CsvHeader:"Na_SAR"},NaH3A:{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_NA_009",CsvHeader:"NaH3A"},NaMeh:{Element:"Sodium",CsvHeader:"NaMeh"},NaSatPas:{Element:"Sodium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestIDv2:"L_MODV2_SOIL_NA_019",CsvHeader:"NaSatPas"},NH4:{Element:"Ammonium",CsvHeader:"NH4"},Ni_DTPA:{Element:"Nickel",CsvHeader:"Ni_DTPA"},NO2:{Element:"Nitrite-Nitrogen",CsvHeader:"NO2"},NO3:{Element:"Nitrate",CsvHeader:"NO3"},OM:{Element:"Organic Matter",CsvHeader:"OM"},P_Morgan:{Element:"Phosphorus",CsvHeader:"P_Morgan"},Pb_DTPA:{Element:"Lead",CsvHeader:"Pb_DTPA"},PBic:{Element:"PBic",CsvHeader:"PBic"},PBray:{Element:"Phosphorus",CsvHeader:"PBray"},PBrayP2:{Element:"Phosphorus",CsvHeader:"PBrayP2"},pH:{Element:"pH",CsvHeader:"pH"},PH3A:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_P_020",CsvHeader:"PH3A"},phSP:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Saturated Paste",MeasurementMethod:"H+ ISE",ModusTestIDv2:"L_MODV2_SOIL_PH_013",CsvHeader:"phSP"},PMeh:{Element:"Phosphorus",CsvHeader:"PMeh"},PMN:{Element:"PMN",CsvHeader:"PMN"},PSatPas:{Element:"Phosphorus",CsvHeader:"PSatPas"},S_DTPA:{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"DTPA-Sorbitol",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_S_015",CsvHeader:"S_DTPA"},Sand:{Element:"Sand",CsvHeader:"Sand"},SAR:{Element:"Sodium Adsorption Ratio",CsvHeader:"SAR"},Sb_DTPA:{Element:"Antimony",CsvHeader:"Sb_DTPA"},Se_DTPA:{Element:"Selenium",CsvHeader:"Se_DTPA"},SH3A:{Element:"Sulfur",CsvHeader:"SH3A"},Si_DTPA:{Element:"Silicon",CsvHeader:"Si_DTPA"},Silt:{Element:"Silt",CsvHeader:"Silt"},SMeh:{Element:"Sulfur",CsvHeader:"SMeh"},SMP_Qtr:{Element:"SMP_Qtr",CsvHeader:"SMP_Qtr"},SMPBuffer:{Element:"SMPBuffer",CsvHeader:"SMPBuffer"},SO4:{Element:"Sulfate-Sulfur",CsvHeader:"SO4"},Sr_DTPA:{Element:"Strontium",CsvHeader:"Sr_DTPA"},SS:{Element:"Soluble Salts",CsvHeader:"SS"},SSatPas:{Element:"Sulfur",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"meq/L",ModusTestIDv2:"L_MODV2_SOIL_S_036",CsvHeader:"SSatPas"},Ti_DTPA:{Element:"Ti_DTPA",CsvHeader:"Ti_DTPA"},TICarb:{Element:"TICarb",CsvHeader:"TICarb"},TKN:{Element:"TKN",CsvHeader:"TKN"},TOCarb:{Element:'"Organic Carbon, Total"',CsvHeader:"TOCarb"},TotalAl:{Element:'"Aluminum, Total"',CsvHeader:"TotalAl"},TotalB:{Element:"TotalB",CsvHeader:"TotalB"},TotalC:{Element:'"Carbon, Total"',CsvHeader:"TotalC"},TotalCa:{Element:"TotalCa",CsvHeader:"TotalCa"},TotalCu:{Element:"TotalCu",CsvHeader:"TotalCu"},TotalFe:{Element:"TotalFe",CsvHeader:"TotalFe"},TotalK:{Element:'"Potassium, Total"',CsvHeader:"TotalK"},TotalMg:{Element:"TotalMg",CsvHeader:"TotalMg"},TotalMn:{Element:"TotalMn",CsvHeader:"TotalMn"},TotalMo:{Element:"TotalMo",CsvHeader:"TotalMo"},TotalNa:{Element:"TotalNa",CsvHeader:"TotalNa"},TotalP:{Element:'"Phosphorus, Total "',CsvHeader:"TotalP"},TotalS:{Element:'"Sulfur, Total"',CsvHeader:"TotalS"},TotalZn:{Element:"TotalZn",CsvHeader:"TotalZn"},TVS:{Element:"TVS",CsvHeader:"TVS"},V_DTPA:{Element:"V_DTPA",CsvHeader:"V_DTPA"},WHC:{Element:"WHC",CsvHeader:"WHC"},Zn:{Element:"Zinc",CsvHeader:"Zn"},ZnH3A:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",CsvHeader:"ZnH3A"},ZnMeh:{Element:"Zinc",CsvHeader:"ZnMeh"},ZnSatPas:{Element:"Zinc",ValueUnit:"mg/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/L",ModusTestIDv2:"L_MODV2_SOIL_ZN_024",CsvHeader:"ZnSatPas"},MNaasi:{Element:"MNaasi",CsvHeader:"MNaasi"},MNaasi_Dead:{Element:"MNaasi_Dead",CsvHeader:"MNaasi_Dead"},MHapla:{Element:"MHapla",CsvHeader:"MHapla"},MHapla_Dead:{Element:"MHapla_Dead",CsvHeader:"MHapla_Dead"},MChit:{Element:"MChit",CsvHeader:"MChit"},MChit_Dead:{Element:"MChit_Dead",CsvHeader:"MChit_Dead"},RootLesion:{Element:"RootLesion",CsvHeader:"RootLesion"},RootLesion_Dead:{Element:"RootLesion_Dead",CsvHeader:"RootLesion_Dead"},StubbyRoot:{Element:"StubbyRoot",CsvHeader:"StubbyRoot"},StubbyRoot_Dead:{Element:"StubbyRoot_Dead",CsvHeader:"StubbyRoot_Dead"},Stunt:{Element:"Stunt",CsvHeader:"Stunt"},Pin:{Element:"Pin",CsvHeader:"Pin"},Spiral:{Element:"Spiral",CsvHeader:"Spiral"},Stem:{Element:"Stem",CsvHeader:"Stem"},Ring:{Element:"Ring",CsvHeader:"Ring"},Dagger:{Element:"Dagger",CsvHeader:"Dagger"},Sheath:{Element:"Sheath",CsvHeader:"Sheath"},LarvalCyst:{Element:"LarvalCyst",CsvHeader:"LarvalCyst"},Activity:{Element:"Activity",CsvHeader:"Activity"},Total:{Element:"Total",CsvHeader:"Total"},Sikora:{Element:"Sikora",CsvHeader:"Sikora"}}}},"Logan Labs":{Soil:{name:"Logan Labs",type:"Soil",analytes:{"Base Saturation - Ca":{Element:"Base Saturation - Ca",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CABS_001"},"Base Saturation - K":{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001"},"Base Saturation - Mg":{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001"},"Base Saturation - Na":{Element:"Base Saturation - Na",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001"},Clay:{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003"},Sand:{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003"},Silt:{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003"},Aluminum:{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-AL-M3.05",ModusTestIDv2:"L_MODV2_SOIL_AL_012"},Bicarbonate:{Element:"Bicarbonate",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-HCO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_002"},Boron:{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017"},Calcium:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021"},Carbonate:{Element:"Carbonate",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_004"},Chloride:{Element:"Chloride",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Ion Selective Electrode",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CL-SP.02",ModusTestIDv2:"L_MODV2_SOIL_CL_014"},"Electrical Conductivity":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:2.03",ModusTestIDv2:"L_MODV2_SOIL_EC_002"},Copper:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CU_014"},Iron:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-M3.05",ModusTestIDv2:"L_MODV2_SOIL_FE_015"},Magnesium:{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022"},Manganese:{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015"},"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},Phosphorus:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-M3.04",ModusTestIDv2:"L_MODV2_SOIL_P_033"},Potassium:{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-M3.05",ModusTestIDv2:"L_MODV2_SOIL_K_031"},Sodium:{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_NA_013"},"Sodium Adsorption Ratio":{Element:"Sodium Adsorption Ratio",ValueUnit:"Ratio",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Calculation",ModusTestID:"S-SAR-SP.00",ModusTestIDv2:"L_MODV2_SOIL_SAR_003"},"Soluble Salts":{Element:"Soluble Salts",ValueUnit:"mg/kg",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001"},Sulfur:{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-S-M3.05",ModusTestIDv2:"L_MODV2_SOIL_S_026"},"Cation Exchange Capacity":{Element:"Cation Exchange Capacity",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_001"},Zinc:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_015"}}}},"MSU - Rabin's Methods":{Soil:{name:"MSU - Rabin's Methods",type:"Soil",analytes:{Phosphorus:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004"},"Bulk Density":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Core Extraction",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Core.00",ModusTestIDv2:"L_MODV2_SOIL_BD_003"},Calcium:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021"},"Cation Exchange Capacity":{Element:"Cation Exchange Capacity",ValueUnit:"cmol/kg",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008"},Clay:{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.11",ModusTestIDv2:"L_MODV2_SOIL_CLAY_004"},"Ammonium-Nitrogen":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4N-2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_008"},Potassium:{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-M3.05",ModusTestIDv2:"L_MODV2_SOIL_K_031"},Magnesium:{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022"},"Potential Mineralizable Nitrogen, Potentially Mineralizable Nitrogen (PMN)":{Element:"Potential Mineralizable Nitrogen, Potentially Mineralizable Nitrogen (PMN)",ValueUnit:"mg/kg",ExtractionMethod:"Permanganate Mineralizable Nitrogen, Potassium Chloride",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-PMN.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTMN_001"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},"Potential Oxidizable Carbon":{Element:"Potential Oxidizable Carbon",ValueUnit:"mg/kg",ExtractionMethod:'"Permanganate, Oxidizable Carbon"',MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-POXC.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTOXC_001"},Sand:{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SAND_004"},Silt:{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SILT_004"},"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Walkley-Black",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-WB.01.09",ModusTestIDv2:"L_MODV2_SOIL_OM_005"},'"Nitrogen, Total"':{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002"}}}},"RegenAg Labs":{Soil:{name:"RegenAg Labs",type:"Soil",analytes:{"% Clay":{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003",CsvHeader:"% Clay"},"% Sand":{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003",CsvHeader:"% Sand"},"% Silt":{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003",CsvHeader:"% Silt"},"1:1 Electrical Conductivity, mmho/cm":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001",CsvHeader:"1:1 Electrical Conductivity, mmho/cm"},"1N KCl-Ammonium,1N KCl-NH4":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4-KCL.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_005",CsvHeader:"1N KCl-Ammonium,1N KCl-NH4"},"1N KCl-Nitrate,1N KCl-NO3":{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"Cd Red/Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NO3-KCL.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_013",CsvHeader:"1N KCl-Nitrate,1N KCl-NO3"},"Gram(+):Gram(-),Gram+:Gram-":{Element:"Gram(+):Gram(-),Gram+:Gram-",CsvHeader:"Gram(+):Gram(-),Gram+:Gram-"},"Base Saturation":{Element:"Base Saturation",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001",CsvHeader:"Base Saturation"},"Bray1-Phosphate,Bray P1":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",CsvHeader:"Bray1-Phosphate,Bray P1"},"Bray2-Phosphate,Bray P2":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 2",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_006",CsvHeader:"Bray2-Phosphate,Bray P2"},"Bulk Density":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Core Extraction",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Core.00",ModusTestIDv2:"L_MODV2_SOIL_BD_003",CsvHeader:"Bulk Density"},"Bulk Density Coarse":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Coarse",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Coarse.15",ModusTestIDv2:"L_MODV2_SOIL_BD_002",CsvHeader:"Bulk Density Coarse"},"Bulk Density Fine":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Fine",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Fine.15",ModusTestIDv2:"L_MODV2_SOIL_BD_004",CsvHeader:"Bulk Density Fine"},"Bulk Density Total Dry Weight":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Scoop",MeasurementMethod:"Weight",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Scoop.00",ModusTestIDv2:"L_MODV2_SOIL_BD_005",CsvHeader:"Bulk Density Total Dry Weight"},"Calcium,% Ca Sat":{Element:"Base Saturation - Ca",ValueUnit:"%",ExtractionMethod:"EPA 3050 Digestion Acid Recoverable",MeasurementMethod:"Calculated",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",CsvHeader:"Calcium,% Ca Sat"},"Calcium,M3-% Ca Sat":{Element:"Base Saturation - Ca",ValueUnit:"%",ExtractionMethod:"EPA 3050 Digestion Acid Recoverable",MeasurementMethod:"Calculated",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",CsvHeader:"Calcium,M3-% Ca Sat"},"CaNO3-Chloride,CaNO3-Cl":{Element:"Chloride",ValueUnit:"ppm",ExtractionMethod:"Calcium Nitrate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-CL-HG.01",ModusTestIDv2:"L_MODV2_SOIL_CL_004",CsvHeader:"CaNO3-Chloride,CaNO3-Cl"},CEC:{Element:"Cation Exchange Capacity",ValueUnit:"cmol/kg",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008",CsvHeader:"CEC"},"DTPA-Cobalt,DTPA-Co":{Element:"Cobalt",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CO-DTPA.04",ModusTestIDv2:"L_MODV2_SOIL_CO_003",CsvHeader:"DTPA-Cobalt,DTPA-Co"},"DTPA-Copper,DTPA-Cu":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_002",CsvHeader:"DTPA-Copper,DTPA-Cu"},"DTPA-Iron,DTPA-Fe":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003",CsvHeader:"DTPA-Iron,DTPA-Fe"},"DTPA-Manganese,DTPA-Mn":{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_002",CsvHeader:"DTPA-Manganese,DTPA-Mn"},"DTPA-Zinc,DTPA-Zn":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_002",CsvHeader:"DTPA-Zinc,DTPA-Zn"},"Excess Lime":{Element:"Calcium Carbonate",ValueUnit:"none",ExtractionMethod:"1.0 N HCl",MeasurementMethod:"Observation",ModusTestID:"S-CACO3-1NHCL.24",CsvHeader:"Excess Lime"},"Fungi:Bacteria":{Element:"Fungi:Bacteria",CsvHeader:"Fungi:Bacteria"},"H2O-Boron,Hot H2O-B":{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Slurry",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-HW.05",ModusTestIDv2:"L_MODV2_SOIL_B_004",CsvHeader:"H2O-Boron,Hot H2O-B"},"H2O-Molybdenum,Hot H2O-Moly":{Element:"Molybdenum",ValueUnit:"mg/kg",ExtractionMethod:"Slurry",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MO-HOTH2O.04",ModusTestIDv2:"L_MODV2_SOIL_MO_022",CsvHeader:"H2O-Molybdenum,Hot H2O-Moly"},"H3A ICAP Aluminum,H3A Aluminum, ppm Al":{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-AL-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_AL_010",CsvHeader:"H3A ICAP Aluminum,H3A Aluminum, ppm Al"},"H3A Ammonium, ppm NH4-N":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_003",CsvHeader:"H3A Ammonium, ppm NH4-N"},"H3A ICAP Calcium,H3A Calcium, ppm Ca":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CA_014",CsvHeader:"H3A ICAP Calcium,H3A Calcium, ppm Ca"},"H3A ICAP Copper,H3A Copper, ppm Cu":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CU_009",CsvHeader:"H3A ICAP Copper,H3A Copper, ppm Cu"},"H3A ICAP Iron,H3A Iron, ppm Fe":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-FE-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_FE_010",CsvHeader:"H3A ICAP Iron,H3A Iron, ppm Fe"},"H3A ICAP Magnesium,H3A Magnessium, ppm Mg":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_MG_015",CsvHeader:"H3A ICAP Magnesium,H3A Magnessium, ppm Mg"},"H3A ICAP Manganese,H3A Manganese, ppm Mn":{Element:"H3A ICAP Manganese,H3A Manganese, ppm Mn",CsvHeader:"H3A ICAP Manganese,H3A Manganese, ppm Mn"},"H3A Nitrate,H3A Nitrate, ppm NO3-N":{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NO3-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",CsvHeader:"H3A Nitrate,H3A Nitrate, ppm NO3-N"},"H3A ICAP Potassium,H3A Potassium, ppm K":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_K_019",CsvHeader:"H3A ICAP Potassium,H3A Potassium, ppm K"},"H3A ICAP Sodium,H3A Sodium, ppm Na":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_NA_009",CsvHeader:"H3A ICAP Sodium,H3A Sodium, ppm Na"},"H3A ICAP Sulfur,H3A Sulfur, ppm S":{Element:"Sulfur, Sulfur",ValueUnit:"kg/ha",ExtractionMethod:"H3A-1, H3A-1",MeasurementMethod:"ICP-OES, ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_020,L_MODV2_SOIL_S_021",CsvHeader:"H3A ICAP Sulfur,H3A Sulfur, ppm S"},"H3A ICAP Zinc,H3A Zinc, ppm Zn":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",CsvHeader:"H3A ICAP Zinc,H3A Zinc, ppm Zn"},"H3A Inorganic Phosphorus,H3A Inorganic Phosphorus, ppm PO4-P":{Element:"H3A Inorganic Phosphorus,H3A Inorganic Phosphorus, ppm PO4-P",CsvHeader:"H3A Inorganic Phosphorus,H3A Inorganic Phosphorus, ppm PO4-P"},"H3A Organic Phosphorus,H3A Organic Phosphorus, ppm P":{Element:"H3A Organic Phosphorus,H3A Organic Phosphorus, ppm P",CsvHeader:"H3A Organic Phosphorus,H3A Organic Phosphorus, ppm P"},"H3A Total Phosphorus,H3A Total Phosphorus, ppm P":{Element:"H3A Total Phosphorus,H3A Total Phosphorus, ppm P",CsvHeader:"H3A Total Phosphorus,H3A Total Phosphorus, ppm P"},Hydrogen:{Element:"Base Saturation - H",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",CsvHeader:"Hydrogen"},"Hydrogen,M3-% H Sat":{Element:"Base Saturation - H",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",CsvHeader:"Hydrogen,M3-% H Sat"},"M3-Aluminum,M3-Al":{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-AL-M3.05",ModusTestIDv2:"L_MODV2_SOIL_AL_012",CsvHeader:"M3-Aluminum,M3-Al"},"M3-Base Saturation,M3-% Base Sat":{Element:"Base Saturation",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001",CsvHeader:"M3-Base Saturation,M3-% Base Sat"},"M3-Boron,M3-B":{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017",CsvHeader:"M3-Boron,M3-B"},"M3-Calcium,M3-Ca":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021",CsvHeader:"M3-Calcium,M3-Ca"},"M3-CEC,M3-CEC":{Element:"Cation Exchange Capacity",ValueUnit:"cmol/kg",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008",CsvHeader:"M3-CEC,M3-CEC"},"M3-Cobalt,M3-Co":{Element:"Cobalt",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CO-M3.04",ModusTestIDv2:"L_MODV2_SOIL_CO_006",CsvHeader:"M3-Cobalt,M3-Co"},"M3-Copper,M3-Cu":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CU_014",CsvHeader:"M3-Copper,M3-Cu"},"M3-Iron,M3-Fe":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-M3.05",ModusTestIDv2:"L_MODV2_SOIL_FE_015",CsvHeader:"M3-Iron,M3-Fe"},"M3-Magnesium,M3-Mg":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022",CsvHeader:"M3-Magnesium,M3-Mg"},"M3-Manganese,M3-Mn":{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015",CsvHeader:"M3-Manganese,M3-Mn"},"M3-Molybdenum,M3-Moly":{Element:"Molybdenum",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MO-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MO_014",CsvHeader:"M3-Molybdenum,M3-Moly"},"M3-Phosphate,M3-PO4":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_032",CsvHeader:"M3-Phosphate,M3-PO4"},"M3-Phosphorus,M3-P":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-M3.04",ModusTestIDv2:"L_MODV2_SOIL_P_033",CsvHeader:"M3-Phosphorus,M3-P"},"M3-Potassium,M3-K":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3 ICP",MeasurementMethod:"AES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-M3.06",CsvHeader:"M3-Potassium,M3-K"},"M3-Sodium,M3-Na":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_NA_013",CsvHeader:"M3-Sodium,M3-Na"},"M3-Sulfur,M3-S":{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-S-M3.05",ModusTestIDv2:"L_MODV2_SOIL_S_026",CsvHeader:"M3-Sulfur,M3-S"},"M3-Zinc,M3-Zn":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_015",CsvHeader:"M3-Zinc,M3-Zn"},"Magnesium,% Mg Sat":{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"Magnesium,% Mg Sat"},"Magnesium,M3-% Mg Sat":{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"Magnesium,M3-% Mg Sat"},Moisture:{Element:"Moisture",ValueUnit:"%",ExtractionMethod:"Gravimetric (As-received)",MeasurementMethod:"Mass Change",UCUM_ValueUnit:"%",ModusTestID:"S-MOIST-GRAVAR.15",CsvHeader:"Moisture"},"NH4OAc-Calcium,NH4OAc-Ca":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_CA_003",CsvHeader:"NH4OAc-Calcium,NH4OAc-Ca"},"NH4OAc-Magnesium,NH4OAc-Mg":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_MG_002",CsvHeader:"NH4OAc-Magnesium,NH4OAc-Mg"},"NH4OAc-Potassium,NH4OAc-K":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:'"ICP, AAS"',UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-NH4AC.05",CsvHeader:"NH4OAc-Potassium,NH4OAc-K"},"NH4OAc-Sodium,NH4OAc-Na":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_NA_001",CsvHeader:"NH4OAc-Sodium,NH4OAc-Na"},"Olsen-Phosphate,Olsen P":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Sodium Bicarbonate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_045",CsvHeader:"Olsen-Phosphate,Olsen P"},"Organic Matter, % LOI":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"Organic Matter, % LOI"},"1:1 Soil pH,Soil pH 1:1":{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005",CsvHeader:"1:1 Soil pH,Soil pH 1:1"},"Potassium,% K Sat":{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"Potassium,% K Sat"},"Potassium,M3-% K Sat":{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"Potassium,M3-% K Sat"},"Protozoa Biomass":{Element:"Protozoa Biomass",CsvHeader:"Protozoa Biomass"},"Soil Health Calculation":{Element:"Soil Health Calculation",CsvHeader:"Soil Health Calculation"},"SAR Bicarbonate,SAR-Bicarb":{Element:"Bicarbonate",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-HCO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_002",CsvHeader:"SAR Bicarbonate,SAR-Bicarb"},"SAR Calcium,SAR-Ca":{Element:"Calcium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_CA_031",CsvHeader:"SAR Calcium,SAR-Ca"},"SAR Chloride,SAR-Cl":{Element:"Chloride",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CL-SP.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_010",CsvHeader:"SAR Chloride,SAR-Cl"},"SAR Electrical Conductivity,SAR-EC":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-SP.03",ModusTestIDv2:"L_MODV2_SOIL_EC_004",CsvHeader:"SAR Electrical Conductivity,SAR-EC"},"SAR Magnesium,SAR-Mg":{Element:"Magnesium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestID:"S-MG-SP.05",ModusTestIDv2:"L_MODV2_SOIL_MG_030",CsvHeader:"SAR Magnesium,SAR-Mg"},"SAR pH,SAR-pH":{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Saturated Paste",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-SP.02",ModusTestIDv2:"L_MODV2_SOIL_PH_013",CsvHeader:"SAR pH,SAR-pH"},"SAR Sodium,SAR-Na":{Element:"Sodium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestID:"S-NA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_NA_019",CsvHeader:"SAR Sodium,SAR-Na"},"SAR Sulfur,SAR-S":{Element:"Sulfur",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"meq/L",ModusTestID:"S-SO4-SP.04",ModusTestIDv2:"L_MODV2_SOIL_S_036",CsvHeader:"SAR Sulfur,SAR-S"},"Saturated Paste Moisture,SAR-Moisture":{Element:"Moisture Content",ValueUnit:"%",ExtractionMethod:"Saturated paste moisture",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-MOIST-SP.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_002",CsvHeader:"Saturated Paste Moisture,SAR-Moisture"},"Sikora BpH,Sikora BpH":{Element:"Buffer pH",ValueUnit:"standard pH unit",ExtractionMethod:"Sikora 1",MeasurementMethod:"H+ ISE",ModusTestID:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_007",CsvHeader:"Sikora BpH,Sikora BpH"},"Sodium,M3-% Na Sat":{Element:"Base Saturation - Na",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",CsvHeader:"Sodium,M3-% Na Sat"},"Sodium Absorption Ratio,SAR":{Element:"Sodium Adsorption Ratio",ValueUnit:"Ratio",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Calculation",ModusTestID:"S-SAR-SP.00",ModusTestIDv2:"L_MODV2_SOIL_SAR_003",CsvHeader:"Sodium Absorption Ratio,SAR"},"Soil Respiration, ppm CO2-C":{Element:"Soil Respiration, ppm CO2-C",CsvHeader:"Soil Respiration, ppm CO2-C"},"1:1 Soluble Salt":{Element:"1:1 Soluble Salt",CsvHeader:"1:1 Soluble Salt"},"TC:TN Ratio,LECO Tot. C : Tot. N":{Element:"Total Carbon:Total Nitrogen",ValueUnit:"none",ExtractionMethod:"Dry Combustion",MeasurementMethod:"Calculation",ModusTestID:"S-TC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TCTN_001",CsvHeader:"TC:TN Ratio,LECO Tot. C : Tot. N"},"Texture Class,Texture":{Element:"Textural Classification",ValueUnit:"Texture Classification",ExtractionMethod:"Calculation",MeasurementMethod:"Gravimetric",ModusTestID:"S-TEXTURE.19",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_001",CsvHeader:"Texture Class,Texture"},"TOC:TN Ratio,LECO Org. C : Tot. N":{Element:"Total Organic Carbon: Total Nitrogen",ValueUnit:"none",ExtractionMethod:"Dry Combustion",MeasurementMethod:"Calculation",ModusTestID:"S-TOC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TOCTN_001",CsvHeader:"TOC:TN Ratio,LECO Org. C : Tot. N"},"Total Aluminum,Tot. Al":{Element:"Aluminum",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-AL-NA.04",ModusTestIDv2:"L_MODV2_SOIL_AL_014",CsvHeader:"Total Aluminum,Tot. Al"},"Boron, ppm B,Total Boron":{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-B-NA.04",ModusTestIDv2:"L_MODV2_SOIL_B_019",CsvHeader:"Boron, ppm B,Total Boron"},"Calcium, % Ca,Total Calcium":{Element:"Calcium",ValueUnit:"%",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"%",ModusTestID:"S-CA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CA_025",CsvHeader:"Calcium, % Ca,Total Calcium"},"Total Carbon,LECO Tot. C":{Element:'"Carbon, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-TC-COMB.15",ModusTestIDv2:"L_MODV2_SOIL_TC_001",CsvHeader:"Total Carbon,LECO Tot. C"},"Copper, ppm Cu,Total Copper":{Element:"Copper",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-CU-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CU_018",CsvHeader:"Copper, ppm Cu,Total Copper"},"Iron, ppm Fe,Total Iron":{Element:"Iron",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-FE-NA.04",ModusTestIDv2:"L_MODV2_SOIL_FE_017",CsvHeader:"Iron, ppm Fe,Total Iron"},"Magnesium, % Mg,Total Magnesium":{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-MG-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"Magnesium, % Mg,Total Magnesium"},"Manganese, ppm Mn,Total Manganese":{Element:"Manganese",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-MN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MN_018",CsvHeader:"Manganese, ppm Mn,Total Manganese"},"Molybdenum, ppm Mo,Total Molybdenum":{Element:"Molybdenum",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-MO-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_015",CsvHeader:"Molybdenum, ppm Mo,Total Molybdenum"},"Total Nitrogen,LECO Tot. N":{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002",CsvHeader:"Total Nitrogen,LECO Tot. N"},"Phosphorus, % P,Total Phosphorus":{Element:"Phosphorus",ValueUnit:"%",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"%",ModusTestID:"S-P-NA.04",ModusTestIDv2:"L_MODV2_SOIL_P_038",CsvHeader:"Phosphorus, % P,Total Phosphorus"},"Potassium, % K,Total Postassium":{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-K-NA.04",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"Potassium, % K,Total Postassium"},"Sodium, % Na,Total Sodium":{Element:"Sodium",ValueUnit:"%",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"%",ModusTestID:"S-NA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_NA_015",CsvHeader:"Sodium, % Na,Total Sodium"},"Sulfur, % S,Total Sulfur":{Element:"Sulfur",ValueUnit:"%",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"%",ModusTestID:"S-S-NA.04",ModusTestIDv2:"L_MODV2_SOIL_S_030",CsvHeader:"Sulfur, % S,Total Sulfur"},"Zinc, ppm Zn,Total Zinc":{Element:"Zinc",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-ZN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_019",CsvHeader:"Zinc, ppm Zn,Total Zinc"},"H2O Total Organic C,H2O Total Org. C, ppm C":{Element:"Organic Carbon",ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TOC.16",ModusTestIDv2:"L_MODV2_SOIL_OC_001",CsvHeader:"H2O Total Organic C,H2O Total Org. C, ppm C"},"H2O Organic N,H2O Org. N, ppm N":{Element:"H2O Organic N,H2O Org. N, ppm N",CsvHeader:"H2O Organic N,H2O Org. N, ppm N"},"H2O Total N,H2O Total N, ppm N":{Element:"H2O Total N,H2O Total N, ppm N",CsvHeader:"H2O Total N,H2O Total N, ppm N"}}}},"Soil Health Institute":{Soil:{name:"Soil Health Institute",type:"Soil",analytes:{"Organic Carbon":{Element:"Organic Carbon",ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_OC_001"},'"Nitrogen, Total"':{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_TN_002"}}}},"Soiltest Farm Consultants, Inc. - Moses Lake, WA":{Soil:{name:"Soiltest Farm Consultants, Inc. - Moses Lake, WA",type:"Soil",analytes:{"1:1 pH":{Element:"pH",CsvHeader:"1:1 pH"},B:{Element:"Boron",CsvHeader:"B"},"B REC":{Element:"B REC",CsvHeader:"B REC"},"Bray P":{Element:"Phosphorus",CsvHeader:"Bray P"},CA:{Element:"Calcium",CsvHeader:"CA"},"CaCl2 pH":{Element:"pH",CsvHeader:"CaCl2 pH"},CEC:{Element:"Cation Exchange Capacity",CsvHeader:"CEC"},Cl:{Element:"Chloride",CsvHeader:"Cl"},"Cl REC":{Element:"Cl REC",CsvHeader:"Cl REC"},CU:{Element:"Copper",CsvHeader:"CU"},"CU REC":{Element:"CU REC",CsvHeader:"CU REC"},EFF:{Element:"EFF",CsvHeader:"EFF"},"ELEMS REC":{Element:"ELEMS REC",CsvHeader:"ELEMS REC"},ENR:{Element:"Estimated Nitrogen Release",CsvHeader:"ENR"},FE:{Element:"Iron",CsvHeader:"FE"},"FE REC":{Element:"FE REC",CsvHeader:"FE REC"},gypsum:{Element:"Gypsum Recommendation",CsvHeader:"gypsum"},HYD:{Element:"Hydrogen",CsvHeader:"HYD"},K:{Element:"Potassium",CsvHeader:"K"},"K2O5 REC":{Element:"K2O5 REC",CsvHeader:"K2O5 REC"},"KCL ext Al":{Element:"KCL ext Al",CsvHeader:"KCL ext Al"},LIME:{Element:"Lime Index",CsvHeader:"LIME"},"LIME 6:5":{Element:"Lime Index",CsvHeader:"LIME 6:5"},Manure:{Element:"Manure",CsvHeader:"Manure"},MG:{Element:"Magnesium",CsvHeader:"MG"},"MG REC":{Element:"MG REC",CsvHeader:"MG REC"},MN:{Element:"Manganese",CsvHeader:"MN"},"MN REC":{Element:"MN REC",CsvHeader:"MN REC"},Moisture:{Element:"Moisture",CsvHeader:"Moisture"},"N REC":{Element:"N REC",CsvHeader:"N REC"},NA:{Element:"Sodium",CsvHeader:"NA"},"NH4-N":{Element:"Ammonium",CsvHeader:"NH4-N"},NO31:{Element:"Nitrate",CsvHeader:"NO31"},NO32:{Element:"Nitrate",CsvHeader:"NO32"},"Olsen P":{Element:"Phosphorus",CsvHeader:"Olsen P"},OM:{Element:"Organic Matter",CsvHeader:"OM"},"OTHER P":{Element:"OTHER P",CsvHeader:"OTHER P"},"P2O5 REC":{Element:"P2O5 REC",CsvHeader:"P2O5 REC"},PERCA:{Element:"Base Saturation - Ca",CsvHeader:"PERCA"},PERH:{Element:"Base Saturation - H",CsvHeader:"PERH"},PERK:{Element:"Base Saturation - K",CsvHeader:"PERK"},PERMG:{Element:"Base Saturation - Mg",CsvHeader:"PERMG"},PERNA:{Element:"Base Saturation - Na",CsvHeader:"PERNA"},S:{Element:"Sulfur",CsvHeader:"S"},"S REC":{Element:"S REC",CsvHeader:"S REC"},"SMP/A&E":{Element:"SMP/A&E",CsvHeader:"SMP/A&E"},SOLSALT:{Element:"Soluble Salts",CsvHeader:"SOLSALT"},"Yield Goal Units":{Element:"Yield Goal Units",CsvHeader:"Yield Goal Units"},ZN:{Element:"Zinc",CsvHeader:"ZN"},"ZN REC":{Element:"ZN REC",CsvHeader:"ZN REC"}}}},"University of Georgia Extension Ag & Environmental Services Labs - Athens, GA":{Soil:{name:"University of Georgia Extension Ag & Environmental Services Labs - Athens, GA",type:"Soil",analytes:{"Al aluminum":{Element:"Al aluminum",CsvHeader:"Al aluminum"},"As arsenic":{Element:"As arsenic",CsvHeader:"As arsenic"},"B boron":{Element:"B boron",CsvHeader:"B boron"},Ca:{Element:"Ca",CsvHeader:"Ca"},"Ca calcium":{Element:"Ca calcium",CsvHeader:"Ca calcium"},"Cd cadmium":{Element:"Cd cadmium",CsvHeader:"Cd cadmium"},"Cr chromium":{Element:"Cr chromium",CsvHeader:"Cr chromium"},"Cu copper":{Element:"Cu copper",CsvHeader:"Cu copper"},"Fe iron":{Element:"Fe iron",CsvHeader:"Fe iron"},K:{Element:"K",CsvHeader:"K"},"K potassium":{Element:"K potassium",CsvHeader:"K potassium"},LBC:{Element:"LBC",CsvHeader:"LBC"},LBCeq:{Element:"LBCeq",CsvHeader:"LBCeq"},Mg:{Element:"Mg",CsvHeader:"Mg"},"Mg magnesium":{Element:"Mg magnesium",CsvHeader:"Mg magnesium"},Mn:{Element:"Mn",CsvHeader:"Mn"},"Mn manganese":{Element:"Mn manganese",CsvHeader:"Mn manganese"},"Mo molybdenum":{Element:"Mo molybdenum",CsvHeader:"Mo molybdenum"},"Na sodium":{Element:"Na sodium",CsvHeader:"Na sodium"},"Ni nickel":{Element:"Ni nickel",CsvHeader:"Ni nickel"},OM:{Element:"OM",CsvHeader:"OM"},P:{Element:"P",CsvHeader:"P"},"P phosphorus":{Element:"P phosphorus",CsvHeader:"P phosphorus"},"Pb lead":{Element:"Pb lead",CsvHeader:"Pb lead"},pH:{Element:"pH",CsvHeader:"pH"},"S sulfur":{Element:"S sulfur",CsvHeader:"S sulfur"},Zn:{Element:"Zn",CsvHeader:"Zn"},"Zn zinc":{Element:"Zn zinc",CsvHeader:"Zn zinc"}}}},"Ward Laboratories, Inc. - Kearney, NE":{Soil:{name:"Ward Laboratories, Inc. - Kearney, NE",type:"Soil",analytes:{"Aluminum ppm Al":{Element:"Aluminum ppm Al",CsvHeader:"Aluminum ppm Al"},"Base Saturation":{Element:"Base Saturation",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001"},"Boron ppm B":{Element:"Boron ppm B",CsvHeader:"Boron ppm B"},"Bray P-1 ppm P":{Element:"Bray P-1 ppm P",CsvHeader:"Bray P-1 ppm P"},"Bray P-2 ppm P":{Element:"Bray P-2 ppm P",CsvHeader:"Bray P-2 ppm P"},"WDRF Buffer pH":{Element:"WDRF Buffer pH",CsvHeader:"WDRF Buffer pH"},"Calcium ppm Ca":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021",CsvHeader:"Calcium ppm Ca"},"Chloride ppm Cl":{Element:"Chloride ppm Cl",CsvHeader:"Chloride ppm Cl"},"Copper ppm Cu":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CU_009",CsvHeader:"Copper ppm Cu"},"Excess Lime":{Element:"Excess Lime",CsvHeader:"Excess Lime"},"Ammonium-Nitrogen":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_003"},'"Nitrogen, Total"':{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002"},"Ammonium-Nitrogen2":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Slurry",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4N-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_002"},"Nitrate-Nitrogen":{Element:"Nitrate-Nitrogen",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"Cd Red/Spectrophotometric",UCUM_ValueUnit:"meq/L",ModusTestID:"S-NO3-W1:1.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_005"},'"Nitrogen, Total"2':{Element:'"Nitrogen, Total"',ValueUnit:"ppm",ExtractionMethod:"Slurry",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-TN-W.01",ModusTestIDv2:"L_MODV2_SOIL_TN_003"},"Organic Carbon":{Element:"Organic Carbon",ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TOC.16",ModusTestIDv2:"L_MODV2_SOIL_OC_001"},"Iron ppm Fe":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-FE-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_FE_010",CsvHeader:"Iron ppm Fe"},"Magnesium ppm Mg":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_MG_015",CsvHeader:"Magnesium ppm Mg"},"Manganese ppm Mn":{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015",CsvHeader:"Manganese ppm Mn"},"Nitrate-N ppm N":{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NO3-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",CsvHeader:"Nitrate-N ppm N"},"2N KCl NO3-N ppm N":{Element:"2N KCl NO3-N ppm N",CsvHeader:"2N KCl NO3-N ppm N"},"Organic Matter LOI %":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"Organic Matter LOI %"},"1:1 Soil pH":{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005",CsvHeader:"1:1 Soil pH"},Phosphorus:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_P_020"},"Potassium ppm K":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_K_019",CsvHeader:"Potassium ppm K"},"Olsen P ppm P":{Element:"Olsen P ppm P",CsvHeader:"Olsen P ppm P"},"Sodium ppm Na":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_NA_009",CsvHeader:"Sodium ppm Na"},"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"},"1:1 S Salts mmho/cm":{Element:"Soluble Salts",ValueUnit:"mg/kg",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001",CsvHeader:"1:1 S Salts mmho/cm"},"Sulfate-S ppm S":{Element:"Sulfur",ValueUnit:"kg/ha",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_020",CsvHeader:"Sulfate-S ppm S"},"CEC/Sum of Cations me/100g":{Element:"CEC/Sum of Cations me/100g",CsvHeader:"CEC/Sum of Cations me/100g"},"Zinc ppm Zn":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",CsvHeader:"Zinc ppm Zn"},"Total Carbon %":{Element:"Total Carbon",ValueUnit:"%",UCUM_ValueUnit:"%",CsvHeader:"Total Carbon %"},"lbs N/A":{Element:"lbs N/A",CsvHeader:"lbs N/A"},"Texture No":{Element:"Texture No",CsvHeader:"Texture No"},"%H Sat":{Element:"%H Sat",CsvHeader:"%H Sat"},"%K Sat":{Element:"%K Sat",CsvHeader:"%K Sat"},"%Ca Sat":{Element:"%Ca Sat",CsvHeader:"%Ca Sat"},"%Mg Sat":{Element:"%Mg Sat",CsvHeader:"%Mg Sat"},"%Na Sat":{Element:"%Na Sat",CsvHeader:"%Na Sat"},"KCl NH4-N ppm":{Element:"KCl NH4-N ppm",CsvHeader:"KCl NH4-N ppm"},"Mehlich P-II ppm P":{Element:"Mehlich P-II ppm P",CsvHeader:"Mehlich P-II ppm P"},"Mehlich P-III ppm P":{Element:"Mehlich P-III ppm P",CsvHeader:"Mehlich P-III ppm P"},"Salt pH":{Element:"Salt pH",CsvHeader:"Salt pH"},"Salt Buffer pH":{Element:"Salt Buffer pH",CsvHeader:"Salt Buffer pH"},"WB OM %":{Element:"WB OM %",CsvHeader:"WB OM %"},"Total N ppm":{Element:"Total N ppm",CsvHeader:"Total N ppm"},"Soil Moisture %":{Element:"Soil Moisture %",CsvHeader:"Soil Moisture %"},"Total P ppm":{Element:"Total P ppm",CsvHeader:"Total P ppm"},"Total Zn ppm":{Element:"Total Zn ppm",CsvHeader:"Total Zn ppm"},"Nitrite-N ppm":{Element:"Nitrite-N ppm",CsvHeader:"Nitrite-N ppm"},"% Sand":{Element:"% Sand",CsvHeader:"% Sand"},"% Silt":{Element:"% Silt",CsvHeader:"% Silt"},"% Clay":{Element:"% Clay",CsvHeader:"% Clay"},Texture:{Element:"Texture",CsvHeader:"Texture"},"Paste % Sat":{Element:"Paste % Sat",CsvHeader:"Paste % Sat"},"Paste pH":{Element:"Paste pH",CsvHeader:"Paste pH"},"Paste EC mmho/cm":{Element:"Paste EC mmho/cm",CsvHeader:"Paste EC mmho/cm"},"Paste HCO3 ppm":{Element:"Paste HCO3 ppm",CsvHeader:"Paste HCO3 ppm"},"Paste Cl ppm":{Element:"Paste Cl ppm",CsvHeader:"Paste Cl ppm"},"Paste Ca ppm":{Element:"Paste Ca ppm",CsvHeader:"Paste Ca ppm"},"Paste Mg ppm":{Element:"Paste Mg ppm",CsvHeader:"Paste Mg ppm"},"Paste Na ppm":{Element:"Paste Na ppm",CsvHeader:"Paste Na ppm"},"Paste S ppm":{Element:"Paste S ppm",CsvHeader:"Paste S ppm"},"Paste SAR":{Element:"Paste SAR",CsvHeader:"Paste SAR"},"Crop 1":{Element:"Crop 1",CsvHeader:"Crop 1"},"YG 1":{Element:"YG 1",CsvHeader:"YG 1"},"Nitrogen Rec":{Element:"Nitrogen Rec",CsvHeader:"Nitrogen Rec"},"P2O5 Rec":{Element:"P2O5 Rec",CsvHeader:"P2O5 Rec"},"K2O Rec":{Element:"K2O Rec",CsvHeader:"K2O Rec"},"Sulfur Rec":{Element:"Sulfur Rec",CsvHeader:"Sulfur Rec"},"Zinc Rec":{Element:"Zinc Rec",CsvHeader:"Zinc Rec"},"Magnesium Rec":{Element:"Magnesium Rec",CsvHeader:"Magnesium Rec"},"Iron Rec":{Element:"Iron Rec",CsvHeader:"Iron Rec"},"Manganese Rec":{Element:"Manganese Rec",CsvHeader:"Manganese Rec"},"Copper Rec":{Element:"Copper Rec",CsvHeader:"Copper Rec"},"Boron Rec":{Element:"Boron Rec",CsvHeader:"Boron Rec"},"Lime Rec":{Element:"Lime Rec",CsvHeader:"Lime Rec"},"Crop 2":{Element:"Crop 2",CsvHeader:"Crop 2"},"YG 2":{Element:"YG 2",CsvHeader:"YG 2"},"Crop 3":{Element:"Crop 3",CsvHeader:"Crop 3"},"YG 3":{Element:"YG 3",CsvHeader:"YG 3"},"Organic Carbon %":{Element:"Organic Carbon %",CsvHeader:"Organic Carbon %"},"Water Soluble K":{Element:"Water Soluble K",CsvHeader:"Water Soluble K"},"H2O NO3-N":{Element:"H2O NO3-N",CsvHeader:"H2O NO3-N"},"Total Dry Weight":{Element:"Total Dry Weight",CsvHeader:"Total Dry Weight"},"Total S":{Element:"Total S",CsvHeader:"Total S"},"PSNT N/A":{Element:"PSNT N/A",CsvHeader:"PSNT N/A"},"H2O Ca":{Element:"H2O Ca",CsvHeader:"H2O Ca"},"Paste CO3 ppm":{Element:"Paste CO3 ppm",CsvHeader:"Paste CO3 ppm"},"Phosphorus M3 ICAP ppm P":{Element:"Phosphorus M3 ICAP ppm P",CsvHeader:"Phosphorus M3 ICAP ppm P"},"Potassium M3 ICAP ppm K":{Element:"Potassium M3 ICAP ppm K",CsvHeader:"Potassium M3 ICAP ppm K"},"Sulfur M3 ICAP ppm S":{Element:"Sulfur M3 ICAP ppm S",CsvHeader:"Sulfur M3 ICAP ppm S"},"Zinc M3 ICAP ppm Zn":{Element:"Zinc M3 ICAP ppm Zn",CsvHeader:"Zinc M3 ICAP ppm Zn"},"Iron M3 ICAP ppm Fe":{Element:"Iron M3 ICAP ppm Fe",CsvHeader:"Iron M3 ICAP ppm Fe"},"Manganese M3 ICAP ppm Mn":{Element:"Manganese M3 ICAP ppm Mn",CsvHeader:"Manganese M3 ICAP ppm Mn"},"Copper M3 ICAP ppm Cu":{Element:"Copper M3 ICAP ppm Cu",CsvHeader:"Copper M3 ICAP ppm Cu"},"Calcium M3 ICAP ppm Ca":{Element:"Calcium M3 ICAP ppm Ca",CsvHeader:"Calcium M3 ICAP ppm Ca"},"Magnesium M3 ICAP ppm Mg":{Element:"Magnesium M3 ICAP ppm Mg",CsvHeader:"Magnesium M3 ICAP ppm Mg"},"Sodium M3 ICAP ppm Na":{Element:"Sodium M3 ICAP ppm Na",CsvHeader:"Sodium M3 ICAP ppm Na"},"Boron M3 ICAP ppm B":{Element:"Boron M3 ICAP ppm B",CsvHeader:"Boron M3 ICAP ppm B"},"1N KCl NO3-N ppm N":{Element:"1N KCl NO3-N ppm N",CsvHeader:"1N KCl NO3-N ppm N"},"KCl NH4-N ppm (Old)":{Element:"KCl NH4-N ppm (Old)",CsvHeader:"KCl NH4-N ppm (Old)"},"2N KCl NO3-N ppm N (Old)":{Element:"2N KCl NO3-N ppm N (Old)",CsvHeader:"2N KCl NO3-N ppm N (Old)"},"2N KCL NO3 Lbs-Acre":{Element:"2N KCL NO3 Lbs-Acre",CsvHeader:"2N KCL NO3 Lbs-Acre"},"Ammonium Lbs-Acre":{Element:"Ammonium Lbs-Acre",CsvHeader:"Ammonium Lbs-Acre"},"Aluminium M3 ICAP ppm Al":{Element:"Aluminium M3 ICAP ppm Al",CsvHeader:"Aluminium M3 ICAP ppm Al"},"Organic C H2O ppm":{Element:"Organic C H2O ppm",CsvHeader:"Organic C H2O ppm"},"Organic N H2O ppm":{Element:"Organic N H2O ppm",CsvHeader:"Organic N H2O ppm"},"Organic C:N H2O":{Element:"Organic C:N H2O",CsvHeader:"Organic C:N H2O"},"PSNT ppm N":{Element:"PSNT ppm N",CsvHeader:"PSNT ppm N"},"Sikora pH":{Element:"Sikora pH",CsvHeader:"Sikora pH"},"Sikora Buffer":{Element:"Sikora Buffer",CsvHeader:"Sikora Buffer"},"Bulk Density":{Element:"Bulk Density",CsvHeader:"Bulk Density"},"2:1 Soil pH":{Element:"2:1 Soil pH",CsvHeader:"2:1 Soil pH"},"2:1 Soluble Salts":{Element:"2:1 Soluble Salts",CsvHeader:"2:1 Soluble Salts"},"POX-C ppm C":{Element:"POX-C ppm C",CsvHeader:"POX-C ppm C"},"Aggregate Stability 1-2mm %":{Element:"Aggregate Stability 1-2mm %",CsvHeader:"Aggregate Stability 1-2mm %"},"Aggregate Stability 1-2mm in bulk soil %":{Element:"Aggregate Stability 1-2mm in bulk soil %",CsvHeader:"Aggregate Stability 1-2mm in bulk soil %"},"Available Water g H2O g-1 soil":{Element:"Available Water g H2O g-1 soil",CsvHeader:"Available Water g H2O g-1 soil"},"Available Water inch H2O inch-1 of soil":{Element:"Available Water inch H2O inch-1 of soil",CsvHeader:"Available Water inch H2O inch-1 of soil"},"Total Available Water inches H2O sample-1":{Element:"Total Available Water inches H2O sample-1",CsvHeader:"Total Available Water inches H2O sample-1"},"Field Capacity % (wt.)":{Element:"Field Capacity % (wt.)",CsvHeader:"Field Capacity % (wt.)"},"Permanent Wilting Point % (wt.":{Element:"Permanent Wilting Point % (wt.",CsvHeader:"Permanent Wilting Point % (wt."},"Total K ppm K":{Element:"Total K ppm K",CsvHeader:"Total K ppm K"},"Total C Concentration %":{Element:"Total C Concentration %",CsvHeader:"Total C Concentration %"},"Total C lbs/Acre":{Element:"Total C lbs/Acre",CsvHeader:"Total C lbs/Acre"},"Total N Concentration %":{Element:"Total N Concentration %",CsvHeader:"Total N Concentration %"},"Total N lbs/Acre":{Element:"Total N lbs/Acre",CsvHeader:"Total N lbs/Acre"},"Total C:N lbs/Acre Ratio":{Element:"Total C:N lbs/Acre Ratio",CsvHeader:"Total C:N lbs/Acre Ratio"},"Total P Concentration %":{Element:"Total P Concentration %",CsvHeader:"Total P Concentration %"},"Total P lbs/Acre":{Element:"Total P lbs/Acre",CsvHeader:"Total P lbs/Acre"},"Total P2O5 Concentration %":{Element:"Total P2O5 Concentration %",CsvHeader:"Total P2O5 Concentration %"},"Total P2O5 lbs/Acre":{Element:"Total P2O5 lbs/Acre",CsvHeader:"Total P2O5 lbs/Acre"},"Total K Concentration %":{Element:"Total K Concentration %",CsvHeader:"Total K Concentration %"},"Total K lbs/Acre":{Element:"Total K lbs/Acre",CsvHeader:"Total K lbs/Acre"},"Total K2O Concentration %":{Element:"Total K2O Concentration %",CsvHeader:"Total K2O Concentration %"},"Total K2O lbs/Acre":{Element:"Total K2O lbs/Acre",CsvHeader:"Total K2O lbs/Acre"},"Total Ca Concentration %":{Element:"Total Ca Concentration %",CsvHeader:"Total Ca Concentration %"},"Total Ca lbs/Acre":{Element:"Total Ca lbs/Acre",CsvHeader:"Total Ca lbs/Acre"},"Total Mg Concentration %":{Element:"Total Mg Concentration %",CsvHeader:"Total Mg Concentration %"},"Total Mg lbs/Acre":{Element:"Total Mg lbs/Acre",CsvHeader:"Total Mg lbs/Acre"},"Total S Concentration %":{Element:"Total S Concentration %",CsvHeader:"Total S Concentration %"},"Total S lbs/Acre":{Element:"Total S lbs/Acre",CsvHeader:"Total S lbs/Acre"},"Total Zn Concentration ppm":{Element:"Total Zn Concentration ppm",CsvHeader:"Total Zn Concentration ppm"},"Total Zn lbs/Acre":{Element:"Total Zn lbs/Acre",CsvHeader:"Total Zn lbs/Acre"},"Total Fe Concentration ppm":{Element:"Total Fe Concentration ppm",CsvHeader:"Total Fe Concentration ppm"},"Total Fe lbs/Acre":{Element:"Total Fe lbs/Acre",CsvHeader:"Total Fe lbs/Acre"},"Total Mn Concentration ppm":{Element:"Total Mn Concentration ppm",CsvHeader:"Total Mn Concentration ppm"},"Total Mn lbs/Acre":{Element:"Total Mn lbs/Acre",CsvHeader:"Total Mn lbs/Acre"},"Total Cu Concentration ppm":{Element:"Total Cu Concentration ppm",CsvHeader:"Total Cu Concentration ppm"},"Total Cu lbs/Acre":{Element:"Total Cu lbs/Acre",CsvHeader:"Total Cu lbs/Acre"},"Total B Concentration ppm":{Element:"Total B Concentration ppm",CsvHeader:"Total B Concentration ppm"},"Total B lbs/Acre":{Element:"Total B lbs/Acre",CsvHeader:"Total B lbs/Acre"},"Total Mo Concentration ppm":{Element:"Total Mo Concentration ppm",CsvHeader:"Total Mo Concentration ppm"},"Total Mo lbs/Acre":{Element:"Total Mo lbs/Acre",CsvHeader:"Total Mo lbs/Acre"},"Total Ni ppm Ni":{Element:"Total Ni ppm Ni",CsvHeader:"Total Ni ppm Ni"},"Total As ppm As":{Element:"Total As ppm As",CsvHeader:"Total As ppm As"},"Total Cd ppm Cd":{Element:"Total Cd ppm Cd",CsvHeader:"Total Cd ppm Cd"},"Total Pb ppm Pb":{Element:"Total Pb ppm Pb",CsvHeader:"Total Pb ppm Pb"},"Rocks grams":{Element:"Rocks grams",CsvHeader:"Rocks grams"},"Roots grams":{Element:"Roots grams",CsvHeader:"Roots grams"},"Total Cr ppm Cr":{Element:"Total Cr ppm Cr",CsvHeader:"Total Cr ppm Cr"},"Total Co ppm Co":{Element:"Total Co ppm Co",CsvHeader:"Total Co ppm Co"},"Total Se ppm Se":{Element:"Total Se ppm Se",CsvHeader:"Total Se ppm Se"},"Total Mo ppm Mo":{Element:"Total Mo ppm Mo",CsvHeader:"Total Mo ppm Mo"},"H2O NH4-N":{Element:"H2O NH4-N",CsvHeader:"H2O NH4-N"},"Sample Density g/cc":{Element:"Sample Density g/cc",CsvHeader:"Sample Density g/cc"},"Molybdenum Hot Water ppm Mo":{Element:"Molybdenum Hot Water ppm Mo",CsvHeader:"Molybdenum Hot Water ppm Mo"},"H2O P":{Element:"H2O P",CsvHeader:"H2O P"},"Texture By Feel":{Element:"Texture By Feel",CsvHeader:"Texture By Feel"},"Comprehensive Bulk Density":{Element:"Comprehensive Bulk Density",CsvHeader:"Comprehensive Bulk Density"},"H3A K":{Element:"H3A K",CsvHeader:"H3A K"},"CO2 Soil Respiration":{Element:"CO2 Soil Respiration",CsvHeader:"CO2 Soil Respiration"},"Rock Volume cm3":{Element:"Rock Volume cm3",CsvHeader:"Rock Volume cm3"},"Rock Density g/cm3":{Element:"Rock Density g/cm3",CsvHeader:"Rock Density g/cm3"},"Ace Protein g/Kg":{Element:"Ace Protein g/Kg",CsvHeader:"Ace Protein g/Kg"}}}}},VF={L_MODV2_SOIL_ACIDT_002:{Element:"Acidity",ModusTestID:"S-Acidity.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_ASAR_001:{Element:"adjusted sodium adsorption ratio",ModusTestID:"S-SARJ-SP.00",ValueUnit:"Ratio"},L_MODV2_SOIL_AL_001:{Element:"Aluminum",ModusTestID:"S-AL-BACL2.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_AL_002:{Element:"Aluminum",ModusTestID:"S-AL-OX.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_003:{Element:"Aluminum",ModusTestID:"S-TAL-RAR.23",ValueUnit:"%"},L_MODV2_SOIL_AL_004:{Element:"Aluminum",ModusTestID:"S-AL-CACL2.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_005:{Element:"Aluminum",ModusTestID:"S-AL.19",ValueUnit:"%"},L_MODV2_SOIL_AL_006:{Element:"Aluminum",ModusTestID:"S-AL-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_010:{Element:"Aluminum",ModusTestID:"S-AL-H3A.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_011:{Element:"Aluminum",ModusTestID:"S-AL-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_012:{Element:"Aluminum",ModusTestID:"S-AL-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_014:{Element:"Aluminum",ModusTestID:"S-AL-NA.04",ValueUnit:"ppm"},L_MODV2_SOIL_AL_018:{Element:"Aluminum",ModusTestID:"S-AL-1KCL.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_020:{Element:"Aluminum",ModusTestID:"S-Al-KCL.12",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_022:{Element:"Aluminum",ModusTestID:"S-AL-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_AMINON_001:{Element:"Amino Nitrogen",ModusTestID:"S-AN-12.00"},L_MODV2_SOIL_NH4N_002:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4N-W1:1.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_003:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4-H3A1.01.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_004:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4-RES.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_005:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4-KCL.01.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_006:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4-KCL.09",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_007:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4N-05KCL.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_008:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4N-2KCL.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_009:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4N-SP.01",ValueUnit:"mg/L"},L_MODV2_SOIL_SB_001:{Element:"Antimony",ModusTestID:"S-SB-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_AS_001:{Element:"Arsenic",ModusTestID:"S-AS-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_AS_002:{Element:"Arsenic",ModusTestID:"S-AS-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_AS_003:{Element:"Arsenic",ModusTestID:"S-AS-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_BA_001:{Element:"Barium",ModusTestID:"S-BA-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_BS_001:{Element:"Base Saturation",ModusTestID:"S-BS.19",ValueUnit:"%"},L_MODV2_SOIL_HBS_001:{Element:"Base Saturation - H",ModusTestID:"S-BS-H.19",ValueUnit:"%"},L_MODV2_SOIL_KBS_001:{Element:"Base Saturation - K",ModusTestID:"S-BS-K.19",ValueUnit:"%"},L_MODV2_SOIL_MGBS_001:{Element:"Base Saturation - Mg",ModusTestID:"S-BS-MG.19",ValueUnit:"%"},L_MODV2_SOIL_NABS_001:{Element:"Base Saturation - Na",ModusTestID:"S-BS-NA.19",ValueUnit:"%"},L_MODV2_SOIL_HCO3_001:{Element:"Bicarbonate",ModusTestID:"S-HCO3-SP.19",ValueUnit:"meq/L"},L_MODV2_SOIL_HCO3_004:{Element:"Bicarbonate",ModusTestID:"S-HCO3-W1:1.12",ValueUnit:"meq/L"},L_MODV2_SOIL_HCO3_005:{Element:"Bicarbonate",ModusTestID:"S-HCO3-ALK.01",ValueUnit:"meq/L"},L_MODV2_SOIL_B_001:{Element:"Boron",ModusTestID:"S-B-CACL2.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_003:{Element:"Boron",ModusTestID:"S-B-HW.01.10",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_004:{Element:"Boron",ModusTestID:"S-B-HW.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_005:{Element:"Boron",ModusTestID:"S-B-W1:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_006:{Element:"Boron",ModusTestID:"S-B-W1:2.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_007:{Element:"Boron",ModusTestID:"S-B-W1:5.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_008:{Element:"Boron",ModusTestID:"S-B-W1:5.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_009:{Element:"Boron",ModusTestID:"S-B-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_010:{Element:"Boron",ModusTestID:"S-B-SP.04",ValueUnit:"meq/L"},L_MODV2_SOIL_B_011:{Element:"Boron",ModusTestID:"S-B-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_012:{Element:"Boron",ModusTestID:"S-B-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_015:{Element:"Boron",ModusTestID:"S-B-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_016:{Element:"Boron",ModusTestID:"S-B-M1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_017:{Element:"Boron",ModusTestID:"S-B-M3.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_019:{Element:"Boron",ModusTestID:"S-B-NA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_BPH_001:{Element:"Buffer pH",ModusTestID:"S-BPH-AEB.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_002:{Element:"Buffer pH",ModusTestID:"S-BPH-MAEB.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_003:{Element:"Buffer pH",ModusTestID:"S-BPH.19",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_004:{Element:"Buffer pH",ModusTestID:"S-BPH-MEB.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_007:{Element:"Buffer pH",ModusTestID:"S-BPH-SIK1.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_008:{Element:"Buffer pH",ModusTestID:"S-BPH-SIK2.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_009:{Element:"Buffer pH",ModusTestID:"S-BPH-SMPB.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_010:{Element:"Buffer pH",ModusTestID:"S-BPH-WB.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_011:{Element:"Buffer pH",ModusTestID:"S-BPH-MWB.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BD_001:{Element:"Bulk Density",ModusTestID:"S-BD-Clod.00",ValueUnit:"g/cm3"},L_MODV2_SOIL_BD_002:{Element:"Bulk Density",ModusTestID:"S-BD-Coarse.15",ValueUnit:"g/cm3"},L_MODV2_SOIL_BD_003:{Element:"Bulk Density",ModusTestID:"S-BD-Core.00",ValueUnit:"g/cm3"},L_MODV2_SOIL_BD_004:{Element:"Bulk Density",ModusTestID:"S-BD-Fine.15",ValueUnit:"g/cm3"},L_MODV2_SOIL_BD_005:{Element:"Bulk Density",ModusTestID:"S-BD-Scoop.00",ValueUnit:"g/cm3"},L_MODV2_SOIL_BD_006:{Element:"Bulk Density",ModusTestID:"S-BD.19",ValueUnit:"g/cm3"},L_MODV2_SOIL_CNRATIO_002:{Element:"C:N Ratio",ModusTestID:"S-C:N.16",ValueUnit:"Ratio"},L_MODV2_SOIL_CNRATIO_003:{Element:"C:N Ratio",ModusTestID:"S-C:N.19",ValueUnit:"Ratio"},L_MODV2_SOIL_CNRATIO_004:{Element:"C:N Ratio",ModusTestID:"S-C:N-Haney.19",ValueUnit:"Ratio"},L_MODV2_SOIL_CAEMGP_001:{Element:"Ca + exchangable Mg",ModusTestID:"S-CAEMG-M1.19"},L_MODV2_SOIL_CAKRATIO_001:{Element:"Ca:K ratio",ModusTestID:"S-CA:KM1.19"},L_MODV2_SOIL_CAMGRATIO_001:{Element:"Ca:Mg ratio",ModusTestID:"S-CA:MG.19"},L_MODV2_SOIL_CAMGRATIO_002:{Element:"Ca:Mg ratio",ModusTestID:"S-CA:MG-AA.19"},L_MODV2_SOIL_CAMGRATIO_003:{Element:"Ca:Mg ratio",ModusTestID:"S-CA:MG-BACL2.19"},L_MODV2_SOIL_CAMGRATIO_004:{Element:"Ca:Mg ratio",ModusTestID:"S-CA:MG-PWAA.19"},L_MODV2_SOIL_CANO3RATIO_001:{Element:"Ca:NO3 ratio",ModusTestID:"S-CA:NO3.19"},L_MODV2_SOIL_CAMGKRATIO_001:{Element:"Ca+Mg:K ratio",ModusTestID:"S-CAMG:KM1.19"},L_MODV2_SOIL_CD_001:{Element:"Cadmium",ModusTestID:"S-CD-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_CD_002:{Element:"Cadmium",ModusTestID:"S-CD-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CD_005:{Element:"Cadmium",ModusTestID:"S-CD-EPA6010B.00"},L_MODV2_SOIL_CA_001:{Element:"Calcium",ModusTestID:"S-CA-PWAA.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CA_002:{Element:"Calcium",ModusTestID:"S-CA-AA.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_003:{Element:"Calcium",ModusTestID:"S-CA-NH4AC.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_005:{Element:"Calcium",ModusTestID:"S-CA-NH4CL.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CA_006:{Element:"Calcium",ModusTestID:"S-CA-PNA4CL.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CA_007:{Element:"Calcium",ModusTestID:"S-CA-BACL2.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CA_008:{Element:"Calcium",ModusTestID:"S-CA-INDX.19",ValueUnit:"none"},L_MODV2_SOIL_CA_009:{Element:"Calcium",ModusTestID:"S-CA-M3AA.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_010:{Element:"Calcium",ModusTestID:"S-CA-W1:1.05",ValueUnit:"meq/L"},L_MODV2_SOIL_CA_011:{Element:"Calcium",ModusTestID:"S-CA-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_012:{Element:"Calcium",ModusTestID:"S-CA-W5:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_013:{Element:"Calcium",ModusTestID:"S-CA-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_014:{Element:"Calcium",ModusTestID:"S-CA-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_016:{Element:"Calcium",ModusTestID:"S-CA-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_017:{Element:"Calcium",ModusTestID:"S-CA-LANC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_018:{Element:"Calcium",ModusTestID:"S-CA-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_019:{Element:"Calcium",ModusTestID:"S-CA-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_020:{Element:"Calcium",ModusTestID:"S-CA.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_021:{Element:"Calcium",ModusTestID:"S-CA-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_023:{Element:"Calcium",ModusTestID:"S-CA-MOR.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_024:{Element:"Calcium",ModusTestID:"S-CA-MMOR.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_025:{Element:"Calcium",ModusTestID:"S-CA-NA.04",ValueUnit:"%"},L_MODV2_SOIL_CA_026:{Element:"Calcium",ModusTestID:"S-CA-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_CA_027:{Element:"Calcium",ModusTestID:"S-CA-PRS.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_030:{Element:"Calcium",ModusTestID:"S-CA-KCL-01.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_031:{Element:"Calcium",ModusTestID:"S-CA-SP.05",ValueUnit:"meq/L"},L_MODV2_SOIL_CA_032:{Element:"Calcium",ModusTestID:"S-CA-TRG.06",ValueUnit:"mg/kg"},L_MODV2_SOIL_CACO3_001:{Element:"Calcium Carbonate",ModusTestID:"S-CACO3-AA.02",ValueUnit:"%"},L_MODV2_SOIL_CACO3_002:{Element:"Calcium Carbonate",ModusTestID:"S-CACO3-OxA.12",ValueUnit:"%"},L_MODV2_SOIL_CACO3_003:{Element:"Calcium Carbonate",ModusTestID:"S-CACO3.14",ValueUnit:"%"},L_MODV2_SOIL_CACO3_004:{Element:"Calcium Carbonate",ModusTestID:"S-CACO3.12",ValueUnit:"%"},L_MODV2_SOIL_CACO3_005:{Element:"Calcium Carbonate",ModusTestID:"S-CACO3.15",ValueUnit:"%"},L_MODV2_SOIL_C_001:{Element:"Carbon",ModusTestID:"S-C-W-04",ValueUnit:"mg/kg"},L_MODV2_SOIL_TC_001:{Element:'"carbon, total"',ModusTestID:"S-TC-COMB.15",ValueUnit:"%"},L_MODV2_SOIL_CO3_001:{Element:"Carbonate",ModusTestID:"S-CO3-AA.02",ValueUnit:"%"},L_MODV2_SOIL_CO3_002:{Element:"Carbonate",ModusTestID:"S-CO3-W1:1.12",ValueUnit:"meq/L"},L_MODV2_SOIL_CO3_003:{Element:"Carbonate",ModusTestID:"S-CO3-SP.19",ValueUnit:"meq/L"},L_MODV2_SOIL_CO3_004:{Element:"Carbonate",ModusTestID:"S-CO3-SP.12",ValueUnit:"meq/L"},L_MODV2_SOIL_CO3QUAL_001:{Element:'"carbonates, qualitative"',ModusTestID:"S-CACO3.11",ValueUnit:"none"},L_MODV2_SOIL_CEC_001:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-AA.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_CEC_002:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-NH4N.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CEC_003:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-PWAA.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_CEC_005:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-BACL2.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CEC_006:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-BACLAA.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CEC_007:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-CA.05",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CEC_008:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC.19",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CEC_009:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-K.05",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CEC_010:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-AG-THU.05",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CEC_011:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-NA.05",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CROSS_001:{Element:"cation ratio of structural stability",ModusTestID:"S-CROSS-W5:1.19",ValueUnit:"none"},L_MODV2_SOIL_CATANRATIO_001:{Element:"Cation:Anion Ratio",ModusTestID:"S-C:A.19"},L_MODV2_SOIL_CL_004:{Element:"Chloride",ModusTestID:"S-CL-HG.01",ValueUnit:"ppm"},L_MODV2_SOIL_CL_005:{Element:"Chloride",ModusTestID:"S-CL-W1:1.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_CL_006:{Element:"Chloride",ModusTestID:"S-CL-W1:1.01.04",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_007:{Element:"Chloride",ModusTestID:"S-CL-W1:1.08",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_008:{Element:"Chloride",ModusTestID:"S-CL-W1:1.17",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_009:{Element:"Chloride",ModusTestID:"S-CL-EPA3000.00",ValueUnit:"mg/L"},L_MODV2_SOIL_CL_010:{Element:"Chloride",ModusTestID:"S-CL-SP.01.04",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_011:{Element:"Chloride",ModusTestID:"S-CL-SP.12.06",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_012:{Element:"Chloride",ModusTestID:"S-CL-SP.17",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_013:{Element:"Chloride",ModusTestID:"S-CL-SP.01",ValueUnit:"mg/L"},L_MODV2_SOIL_CL_014:{Element:"Chloride",ModusTestID:"S-CL-SP.02",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_015:{Element:"Chloride",ModusTestID:"S-CL-SP.08",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_016:{Element:"Chloride",ModusTestID:"S-CL.01.04",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_017:{Element:"Chloride",ModusTestID:"S-CL.12.06",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_018:{Element:"Chloride",ModusTestID:"S-CL-1:5.02",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_019:{Element:"Chloride",ModusTestID:"S-CL-1:5.17",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_020:{Element:"Chloride",ModusTestID:"S-CL-1:5H2O.01",ValueUnit:"meq/L"},L_MODV2_SOIL_CR_001:{Element:"Chromium",ModusTestID:"S-CR-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_CR_002:{Element:"Chromium",ModusTestID:"S-CR-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CR_005:{Element:"Chromium",ModusTestID:"S-CR-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_CLAY_001:{Element:"Clay",ModusTestID:"S-CLAY-SV.19",ValueUnit:"%"},L_MODV2_SOIL_CLAY_002:{Element:"Clay",ModusTestID:"S-CLAY.22",ValueUnit:"%"},L_MODV2_SOIL_CLAY_003:{Element:"Clay",ModusTestID:"S-CLAY-SED.10",ValueUnit:"%"},L_MODV2_SOIL_CLAY_004:{Element:"Clay",ModusTestID:"S-CLAY-SED.11,S-CLAY-ST-OT",ValueUnit:"%"},L_MODV2_SOIL_CO2RESP_001:{Element:"CO2 Respiration",ModusTestID:"S-CO2-RESP.01",ValueUnit:"%"},L_MODV2_SOIL_CO_001:{Element:"Cobalt",ModusTestID:"S-CO-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_CO_003:{Element:"Cobalt",ModusTestID:"S-CO-DTPA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CO_004:{Element:"Cobalt",ModusTestID:"S-CO-EPA2007.00",ValueUnit:"mg/L"},L_MODV2_SOIL_CO_005:{Element:"Cobalt",ModusTestID:"S-CO-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CO_006:{Element:"Cobalt",ModusTestID:"S-CO-M3.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_COLOR_001:{Element:"Color",ModusTestID:"S-Color.24",ValueUnit:"none"},L_MODV2_SOIL_CU_002:{Element:"Copper",ModusTestID:"S-CU-DTPA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_003:{Element:"Copper",ModusTestID:"S-CU-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_004:{Element:"Copper",ModusTestID:"S-CU-EDTA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_005:{Element:"Copper",ModusTestID:"S-CU-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_008:{Element:"Copper",ModusTestID:"S-CU-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_009:{Element:"Copper",ModusTestID:"S-CU-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_010:{Element:"Copper",ModusTestID:"S-CU-HCL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_011:{Element:"Copper",ModusTestID:"S-CU-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_012:{Element:"Copper",ModusTestID:"S-CU-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_013:{Element:"Copper",ModusTestID:"S-CU-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_014:{Element:"Copper",ModusTestID:"S-CU-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_018:{Element:"Copper",ModusTestID:"S-CU-NA.04",ValueUnit:"ppm"},L_MODV2_SOIL_CU_022:{Element:"Copper",ModusTestID:"S-CU-SP.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CUINDEX_001:{Element:"Copper Index",ModusTestID:"S-CU-NCINDX",ValueUnit:"none"},L_MODV2_SOIL_DM_001:{Element:"Deleterious material",ModusTestID:"S-DM.15",ValueUnit:"%"},L_MODV2_SOIL_DINDEX_001:{Element:"Dispersion Index",ModusTestID:"S-DI.24",ValueUnit:"none"},L_MODV2_SOIL_EC_001:{Element:"Electrical Conductivity",ModusTestID:"S-EC-1:1.03",ValueUnit:"dS/m"},L_MODV2_SOIL_EC_002:{Element:"Electrical Conductivity",ModusTestID:"S-EC-1:2.03",ValueUnit:"dS/m"},L_MODV2_SOIL_EC_003:{Element:"Electrical Conductivity",ModusTestID:"S-EC-1:5.03",ValueUnit:"dS/m"},L_MODV2_SOIL_EC_004:{Element:"Electrical Conductivity",ModusTestID:"S-EC-SP.03",ValueUnit:"dS/m"},L_MODV2_SOIL_EC_005:{Element:"Electrical Conductivity",ModusTestID:"S-EC.CALC.19",ValueUnit:"dS/m"},L_MODV2_SOIL_ESI_001:{Element:"Electrochemical Stability Index",ModusTestID:"S-ESI.19",ValueUnit:"none"},L_MODV2_SOIL_EMERSON_001:{Element:"Emerson Class",ModusTestID:"S-EMERSON.19",ValueUnit:"none"},L_MODV2_SOIL_ENR_001:{Element:"Estimated Nitrogen Release",ModusTestID:"S-ENR.19",ValueUnit:"lb/ac"},L_MODV2_SOIL_XACIDT_001:{Element:"Exchangeable Acidity",ModusTestID:"S-AC-KCL.12",ValueUnit:"cmol/kg"},L_MODV2_SOIL_XAL_001:{Element:"Exchangeable Aluminum",ModusTestID:"S-EAL-KCL.19",ValueUnit:"%"},L_MODV2_SOIL_XCAP_001:{Element:"Exchangeable Calcium Percentage",ModusTestID:"S-ECAP.19",ValueUnit:"%"},L_MODV2_SOIL_XH_001:{Element:"Exchangeable Hydrogen",ModusTestID:"S-EH-KCL.12",ValueUnit:"meq/100 g"},L_MODV2_SOIL_XHP_001:{Element:"Exchangeable Hydrogen Percentage",ModusTestID:"S-EHP.19",ValueUnit:"%"},L_MODV2_SOIL_XMGP_001:{Element:"Exchangeable Magnesium Percentage",ModusTestID:"S-EMGP.19",ValueUnit:"%"},L_MODV2_SOIL_XKP_001:{Element:"Exchangeable Potassium Percentage",ModusTestID:"S-EKP.19",ValueUnit:"%"},L_MODV2_SOIL_XNAP_001:{Element:"Exchangeable Sodium Percentage",ModusTestID:"S-ESP.19",ValueUnit:"%"},L_MODV2_SOIL_F_001:{Element:"Fluoride",ModusTestID:"S-F-EPA3000.00",ValueUnit:"mg/L"},L_MODV2_SOIL_GTRI_001:{Element:"Grass Tetany Risk Index",ModusTestID:"S-GTRI-PWAA.19",ValueUnit:"none"},L_MODV2_SOIL_GTRI_002:{Element:"Grass Tetany Risk Index",ModusTestID:"S-GTRI-AA.19",ValueUnit:"none"},L_MODV2_SOIL_GTRI_003:{Element:"Grass Tetany Risk Index",ModusTestID:"S-GTRI-BACL2.19",ValueUnit:"none"},L_MODV2_SOIL_GRAVEL_001:{Element:"Gravel",ModusTestID:"S-GRAVEL.19",ValueUnit:"%"},L_MODV2_SOIL_GYPREC_001:{Element:"Gypsum Recommendation",ModusTestID:"S-GYPR.19",ValueUnit:"tons/ac"},L_MODV2_SOIL_HEAL_001:{Element:"H+EAlP",ModusTestID:"S-HEAL-SMP.19",ValueUnit:"none"},L_MODV2_SOIL_HM_001:{Element:"Humic Matter",ModusTestID:"S-HA-FSPA.01",ValueUnit:"%"},L_MODV2_SOIL_HM_002:{Element:"Humic Matter",ModusTestID:"S.HM-NaOH",ValueUnit:"%"},L_MODV2_SOIL_HAL_001:{Element:"Hydrogen+Aluminum",ModusTestID:"S-H+AL-SMP.02",ValueUnit:"meq/100 g"},L_MODV2_SOIL_OH_001:{Element:"Hydroxide",ModusTestID:"S-OH-SM2320B18.12",ValueUnit:"mg/L"},L_MODV2_SOIL_FE_001:{Element:"Iron",ModusTestID:"S-FE-OX.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_003:{Element:"Iron",ModusTestID:"S-FE-DTPA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_004:{Element:"Iron",ModusTestID:"S-FE-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_005:{Element:"Iron",ModusTestID:"S-FE-EDTA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_006:{Element:"Iron",ModusTestID:"S-FE-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_007:{Element:"Iron",ModusTestID:"S-FE-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_010:{Element:"Iron",ModusTestID:"S-FE-H3A.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_011:{Element:"Iron",ModusTestID:"S-FE-HCL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_012:{Element:"Iron",ModusTestID:"S-FE-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_013:{Element:"Iron",ModusTestID:"S-FE-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_014:{Element:"Iron",ModusTestID:"S-FE-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_015:{Element:"Iron",ModusTestID:"S-FE-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_017:{Element:"Iron",ModusTestID:"S-FE-NA.04",ValueUnit:"ppm"},L_MODV2_SOIL_FE_021:{Element:"Iron",ModusTestID:"S-FE-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_KBRATIO_001:{Element:"K:B ratio",ModusTestID:"S-K:B.19",ValueUnit:"none"},L_MODV2_SOIL_KBRATIO_002:{Element:"K:B ratio",ModusTestID:"S-K:B-M3.19",ValueUnit:"none"},L_MODV2_SOIL_KMGRATIO_001:{Element:"K:Mg ratio",ModusTestID:"S-K:MG-PWAA.19",ValueUnit:"none"},L_MODV2_SOIL_KMGRATIO_002:{Element:"K:Mg ratio",ModusTestID:"S-K:MG-AA.19",ValueUnit:"none"},L_MODV2_SOIL_KMGRATIO_003:{Element:"K:Mg ratio",ModusTestID:"S-K:MG-BACL2.19",ValueUnit:"none"},L_MODV2_SOIL_KMGRATIO_004:{Element:"K:Mg ratio",ModusTestID:"S-K:MG.19",ValueUnit:"none"},L_MODV2_SOIL_KNARATIO_001:{Element:"K:Na ratio",ModusTestID:"S-K:Na-M3.19",ValueUnit:"none"},L_MODV2_SOIL_KNARATIO_002:{Element:"K:Na ratio",ModusTestID:"S-K:Na.19",ValueUnit:"none"},L_MODV2_SOIL_PB_001:{Element:"Lead",ModusTestID:"S-PB-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_PB_002:{Element:"Lead",ModusTestID:"S-PB-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_PB_003:{Element:"Lead",ModusTestID:"S-PB-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_LINDEX_001:{Element:"Lime Index",ModusTestID:"S-LIME-INDX.19",ValueUnit:"none"},L_MODV2_SOIL_LREC_001:{Element:"Lime Recommendation",ModusTestID:"S-LR-AEB",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_002:{Element:"Lime Recommendation",ModusTestID:"S-LR-MAEB",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_003:{Element:"Lime Recommendation",ModusTestID:"S-LR-MB",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_004:{Element:"Lime Recommendation",ModusTestID:"S-LR-MWB",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_005:{Element:"Lime Recommendation",ModusTestID:"S-LR-SIK1",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_006:{Element:"Lime Recommendation",ModusTestID:"S-LR-SIK2",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_007:{Element:"Lime Recommendation",ModusTestID:"S-LR-SMP",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_008:{Element:"Lime Recommendation",ModusTestID:"S-LR-TA",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_009:{Element:"Lime Recommendation",ModusTestID:"S-LR-WB",ValueUnit:"tons/ac"},L_MODV2_SOIL_LI_001:{Element:"Lithium",ModusTestID:"S-LI-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_001:{Element:"Magnesium",ModusTestID:"S-MG-PWAA.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_MG_002:{Element:"Magnesium",ModusTestID:"S-MG-NH4AC.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_003:{Element:"Magnesium",ModusTestID:"S-MG-NH4CL.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_MG_004:{Element:"Magnesium",ModusTestID:"S-MG-PNA4CL.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_MG_005:{Element:"Magnesium",ModusTestID:"S-MG-BACL2.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_MG_007:{Element:"Magnesium",ModusTestID:"S-MG.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_008:{Element:"Magnesium",ModusTestID:"S-MG-W1:1.05",ValueUnit:"meq/L"},L_MODV2_SOIL_MG_009:{Element:"Magnesium",ModusTestID:"S-MG-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_010:{Element:"Magnesium",ModusTestID:"S-MG-W5:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_011:{Element:"Magnesium",ModusTestID:"S-MG-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_012:{Element:"Magnesium",ModusTestID:"S-MG-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_015:{Element:"Magnesium",ModusTestID:"S-MG-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_017:{Element:"Magnesium",ModusTestID:"S-MG-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_018:{Element:"Magnesium",ModusTestID:"S-MG-LANC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_019:{Element:"Magnesium",ModusTestID:"S-MG-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_020:{Element:"Magnesium",ModusTestID:"S-MG-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_022:{Element:"Magnesium",ModusTestID:"S-MG-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_023:{Element:"Magnesium",ModusTestID:"S-MG-MOR.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_024:{Element:"Magnesium",ModusTestID:"S-MG-MMOR.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_025:{Element:"Magnesium",ModusTestID:"S-MG-NA.04",ValueUnit:"%"},L_MODV2_SOIL_MG_027:{Element:"Magnesium",ModusTestID:"S-MG-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_MG_028:{Element:"Magnesium",ModusTestID:"S-MG-PRS.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_029:{Element:"Magnesium",ModusTestID:"S-MG-KCL-01.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_030:{Element:"Magnesium",ModusTestID:"S-MG-SP.05",ValueUnit:"meq/L"},L_MODV2_SOIL_MG_031:{Element:"Magnesium",ModusTestID:"S-MG-TRG.06",ValueUnit:"mg/kg"},L_MODV2_SOIL_MGINDEX_001:{Element:"Magnesium Index",ModusTestID:"S-MG-INDX.19",ValueUnit:"none"},L_MODV2_SOIL_MN_002:{Element:"Manganese",ModusTestID:"S-MN-DTPA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_003:{Element:"Manganese",ModusTestID:"S-MN-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_004:{Element:"Manganese",ModusTestID:"S-MN-EDTA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_005:{Element:"Manganese",ModusTestID:"S-MN-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_009:{Element:"Manganese",ModusTestID:"S-MN-HCL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_010:{Element:"Manganese",ModusTestID:"S-MN-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_011:{Element:"Manganese",ModusTestID:"S-MN-LANC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_012:{Element:"Manganese",ModusTestID:"S-MN-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_013:{Element:"Manganese",ModusTestID:"S-MN-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_015:{Element:"Manganese",ModusTestID:"S-MN-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_018:{Element:"Manganese",ModusTestID:"S-MN-NA.04",ValueUnit:"ppm"},L_MODV2_SOIL_MN_019:{Element:"Manganese",ModusTestID:"S-MN-PHOS.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_024:{Element:"Manganese",ModusTestID:"S-MN-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_MNINDEX_001:{Element:"Manganese Index",ModusTestID:"S-MN-NCINDX",ValueUnit:"none"},L_MODV2_SOIL_HG_001:{Element:"Mercury",ModusTestID:"S-HG-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MGKRATIO_001:{Element:"Mg:K ratio",ModusTestID:"S-MG:K.19",ValueUnit:"none"},L_MODV2_SOIL_MNCURATIO_001:{Element:"Mn:Cu ratio",ModusTestID:"S-Mn:Cu-M3.19",ValueUnit:"none"},L_MODV2_SOIL_MNCURATIO_002:{Element:"Mn:Cu ratio",ModusTestID:"S-Mn:Cu.19",ValueUnit:"none"},L_MODV2_SOIL_MNZNRATIO_001:{Element:"Mn:Zn ratio",ModusTestID:"S-Mn:Zn-M3.19",ValueUnit:"none"},L_MODV2_SOIL_MNZNRATIO_002:{Element:"Mn:Zn ratio",ModusTestID:"S-Mn:Zn.19",ValueUnit:"none"},L_MODV2_SOIL_GAWC_001:{Element:"moisture content",ModusTestID:"S-AW.14",ValueUnit:"%"},L_MODV2_SOIL_GWC_001:{Element:"moisture content",ModusTestID:"S-MOIST-GRAV.00",ValueUnit:"%"},L_MODV2_SOIL_GWC_002:{Element:"moisture content",ModusTestID:"S-MOIST-SP.00",ValueUnit:"%"},L_MODV2_SOIL_GWC_03BAR_001:{Element:"moisture content",ModusTestID:"S-0.3BAR.14",ValueUnit:"%"},L_MODV2_SOIL_GWC_15BAR_001:{Element:"moisture content",ModusTestID:"S-15BAR.14",ValueUnit:"%"},L_MODV2_SOIL_MO_001:{Element:"Molybdenum",ModusTestID:"S-MO-OA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_002:{Element:"Molybdenum",ModusTestID:"S-MO-OA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_003:{Element:"Molybdenum",ModusTestID:"S-MO-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_MO_005:{Element:"Molybdenum",ModusTestID:"S-MO-CACL2.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_006:{Element:"Molybdenum",ModusTestID:"S-MO-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_009:{Element:"Molybdenum",ModusTestID:"S-MO-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_010:{Element:"Molybdenum",ModusTestID:"S-MO-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_011:{Element:"Molybdenum",ModusTestID:"S-MO-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_012:{Element:"Molybdenum",ModusTestID:"S-MO-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_014:{Element:"Molybdenum",ModusTestID:"S-MO-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_015:{Element:"Molybdenum",ModusTestID:"S-MO-NA.04",ValueUnit:"ppm"},L_MODV2_SOIL_MO_018:{Element:"Molybdenum",ModusTestID:"S-MO-PRS.04",ValueUnit:"ug/10cm2"},L_MODV2_SOIL_MO_019:{Element:"Molybdenum",ModusTestID:"S-MO-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_MO_020:{Element:"Molybdenum",ModusTestID:"S-MO-PRS.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_021:{Element:"Molybdenum",ModusTestID:"S-MO-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_MO_022:{Element:"Molybdenum",ModusTestID:"S-MO-HOTH2O.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NI_001:{Element:"Nickel",ModusTestID:"S-NI-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_NI_002:{Element:"Nickel",ModusTestID:"S-NI-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_001:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3N-ALSO4B.02",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_004:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-CTA.01.02",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_005:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-W1:1.01.01",ValueUnit:"meq/L"},L_MODV2_SOIL_NO3N_006:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3N-EPA3000.00",ValueUnit:"mg/L"},L_MODV2_SOIL_NO3N_007:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3N-EPA3532.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_008:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-H3A1.01.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_009:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-RES.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_010:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-1:5.01.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_011:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-1:5.02",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_012:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-1:5.09",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_013:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-KCL.01.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_014:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3N.2KCL.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_015:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3N-05KCL.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_016:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-5K2SO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_017:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3N-SP.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_018:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-SP.01.01",ValueUnit:"meq/L"},L_MODV2_SOIL_NO3N_019:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-SP.02",ValueUnit:"meq/L"},L_MODV2_SOIL_NO3N_020:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-SP.02.02",ValueUnit:"meq/L"},L_MODV2_SOIL_NO3N_021:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-BIC.01.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO2N_001:{Element:"Nitrite-Nitrogen",ModusTestID:"S-NO2-KCL.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_TKN_001:{Element:'"Nitrogen, Total"',ModusTestID:"S-TKN.01",ValueUnit:"%"},L_MODV2_SOIL_TKN_002:{Element:'"Nitrogen, Total"',ModusTestID:"S-TKN.01.05",ValueUnit:"%"},L_MODV2_SOIL_TKN_003:{Element:'"Nitrogen, Total"',ModusTestID:"S-TKN.09",ValueUnit:"%"},L_MODV2_SOIL_TKN_004:{Element:'"Nitrogen, Total"',ModusTestID:"S-TKN.18",ValueUnit:"%"},L_MODV2_SOIL_TKN_005:{Element:'"Nitrogen, Total"',ModusTestID:"S-TN.01.05",ValueUnit:"%"},L_MODV2_SOIL_TKN_006:{Element:'"Nitrogen, Total"',ModusTestID:"S-TN.09",ValueUnit:"%"},L_MODV2_SOIL_TKN_007:{Element:'"Nitrogen, Total"',ModusTestID:"S-TN.18",ValueUnit:"%"},L_MODV2_SOIL_TN_001:{Element:'"Nitrogen, Total"',ModusTestID:"S-TKN.19",ValueUnit:"%"},L_MODV2_SOIL_TN_002:{Element:'"Nitrogen, Total"',ModusTestID:"S-TN.16",ValueUnit:"%"},L_MODV2_SOIL_TN_003:{Element:'"Nitrogen, Total"',ModusTestID:"S-TN-W.01"},L_MODV2_SOIL_TN_004:{Element:'"Nitrogen, Total"',ModusTestID:"S-TN-RES.01",ValueUnit:"lb/ac/day"},L_MODV2_SOIL_TIN_001:{Element:'"Nitrogen, Total Inorganic"',ModusTestID:"S-TIN.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_NULL_001:{Element:"Null",ModusTestID:"S-XX.00",ValueUnit:"none"},L_MODV2_SOIL_OC_001:{Element:"Organic Carbon",ModusTestID:"S-TOC.16",ValueUnit:"%"},L_MODV2_SOIL_OC_002:{Element:"Organic Carbon",ModusTestID:"S-OC-WB.01",ValueUnit:"%"},L_MODV2_SOIL_OC_003:{Element:"Organic Carbon",ModusTestID:"S-OC-WB.01",ValueUnit:"%"},L_MODV2_SOIL_OC_004:{Element:"Organic Carbon",ModusTestID:"S-OC-WB.12",ValueUnit:"%"},L_MODV2_SOIL_OC_005:{Element:"Organic Carbon",ModusTestID:"S-TOC-W1:10.16",ValueUnit:"mg/kg"},L_MODV2_SOIL_TOC_001:{Element:'"Organic Carbon, Total"',ModusTestID:"S-TOC.12.09",ValueUnit:"%"},L_MODV2_SOIL_OM_001:{Element:"Organic Matter",ModusTestID:"S-OM.19",ValueUnit:"%"},L_MODV2_SOIL_OM_002:{Element:"Organic Matter",ModusTestID:"S-SOM-Color.19",ValueUnit:"%"},L_MODV2_SOIL_OM_003:{Element:"Organic Matter",ModusTestID:"S-OM-DUMAS.16",ValueUnit:"%"},L_MODV2_SOIL_OM_004:{Element:"Organic Matter",ModusTestID:"S-SOM-LOI.15",ValueUnit:"%"},L_MODV2_SOIL_OM_005:{Element:"Organic Matter",ModusTestID:"S-SOM-WB.01.09",ValueUnit:"%"},L_MODV2_SOIL_OM_006:{Element:"Organic Matter",ModusTestID:"S-SOM-WB.12.09",ValueUnit:"%"},L_MODV2_SOIL_ON_001:{Element:"Organic Nitrogen",ModusTestID:"S-ON.19",ValueUnit:"mg/L"},L_MODV2_SOIL_OTHER_001:{Element:"Other",ModusTestID:"S-OTHER.19",ValueUnit:"none"},L_MODV2_SOIL_PCURATIO_001:{Element:"P:Cu ratio",ModusTestID:"S-P:Cu-M3.19",ValueUnit:"none"},L_MODV2_SOIL_PCURATIO_002:{Element:"P:Cu ratio",ModusTestID:"S-P:Cu.19",ValueUnit:"none"},L_MODV2_SOIL_PMNRATIO_001:{Element:"P:Mn ratio",ModusTestID:"S-P:Mn-M3.19",ValueUnit:"none"},L_MODV2_SOIL_PMNRATIO_002:{Element:"P:Mn ratio",ModusTestID:"S-P:Mn.19",ValueUnit:"none"},L_MODV2_SOIL_PSRATIO_001:{Element:"P:S ratio",ModusTestID:"S-P:S-M3.19",ValueUnit:"none"},L_MODV2_SOIL_PSRATIO_002:{Element:"P:S ratio",ModusTestID:"S-P:S.19",ValueUnit:"none"},L_MODV2_SOIL_PZNRATIO_001:{Element:"P:Zn ratio",ModusTestID:"S-P:Zn-M3.19",ValueUnit:"none"},L_MODV2_SOIL_PZNRATIO_002:{Element:"P:Zn ratio",ModusTestID:"S-P:Zn.19",ValueUnit:"none"},L_MODV2_SOIL_MNO4OXC_001:{Element:"permanganate-oxidizable carbon (POXC)",ModusTestID:"S-AC-KMNO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_PH_002:{Element:"pH",ModusTestID:"S-PH-1:1.02.08",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_003:{Element:"pH",ModusTestID:"S-PH-1:2.02.08",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_004:{Element:"pH",ModusTestID:"S-PH-1:2.02.08",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_005:{Element:"pH",ModusTestID:"S-PH-1:1.02.07",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_006:{Element:"pH",ModusTestID:"S-PH-1:2.02.07",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_007:{Element:"pH",ModusTestID:"S-PH-1:2.5.02.07",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_008:{Element:"pH",ModusTestID:"S-pH-1:5H2O.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_010:{Element:"pH",ModusTestID:"S-PH-1:1KCL.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_011:{Element:"pH",ModusTestID:"S-PH-1:5.02.08",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_012:{Element:"pH",ModusTestID:"S-pH-1:5KCL.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_013:{Element:"pH",ModusTestID:"S-PH-SP.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_P_001:{Element:"Phosphorus",ModusTestID:"S-P-AA-NH4AC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_003:{Element:"Phosphorus",ModusTestID:"S-P-AR.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_004:{Element:"Phosphorus",ModusTestID:"S-P-B1-1:10.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_005:{Element:"Phosphorus",ModusTestID:"S-P-B1-1:7.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_006:{Element:"Phosphorus",ModusTestID:"S-P-B2-1:10.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_007:{Element:"Phosphorus",ModusTestID:"S-P-B2-1:7.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_008:{Element:"Phosphorus",ModusTestID:"S-P-BK.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_009:{Element:"Phosphorus",ModusTestID:"S-P-LACTATE.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_010:{Element:"Phosphorus",ModusTestID:"S-P-CACL2.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_011:{Element:"Phosphorus",ModusTestID:"S-P-M3BRAYP1.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_013:{Element:"Phosphorus",ModusTestID:"S-P-CALD.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_014:{Element:"Phosphorus",ModusTestID:"S-P-W1:1.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_015:{Element:"Phosphorus",ModusTestID:"S-P-W1:5.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_016:{Element:"Phosphorus",ModusTestID:"S-P-W10:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_017:{Element:"Phosphorus",ModusTestID:"S-P-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_018:{Element:"Phosphorus",ModusTestID:"S-P-DGT.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_019:{Element:"Phosphorus",ModusTestID:"S-P-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_020:{Element:"Phosphorus",ModusTestID:"S-P-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_021:{Element:"Phosphorus",ModusTestID:"S-P-RES.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_022:{Element:"Phosphorus",ModusTestID:"S-P-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_023:{Element:"Phosphorus",ModusTestID:"S-P-KEL.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_024:{Element:"Phosphorus",ModusTestID:"S-P-MKEL.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_025:{Element:"Phosphorus",ModusTestID:"S-P-LANC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_026:{Element:"Phosphorus",ModusTestID:"S-P-M1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_027:{Element:"Phosphorus",ModusTestID:"S-P-M1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_029:{Element:"Phosphorus",ModusTestID:"S-P-M2.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_032:{Element:"Phosphorus",ModusTestID:"S-P-M3.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_033:{Element:"Phosphorus",ModusTestID:"S-P-M3.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_035:{Element:"Phosphorus",ModusTestID:"S-P-MOR.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_036:{Element:"Phosphorus",ModusTestID:"S-P-MMOR.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_037:{Element:"Phosphorus",ModusTestID:"S-P-MMOR.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_038:{Element:"Phosphorus",ModusTestID:"S-P-NA.04",ValueUnit:"%"},L_MODV2_SOIL_P_039:{Element:"Phosphorus",ModusTestID:"S-P-PRS.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_042:{Element:"Phosphorus",ModusTestID:"S-P-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_P_044:{Element:"Phosphorus",ModusTestID:"S-P-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_P_045:{Element:"Phosphorus",ModusTestID:"S-P-BIC.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_046:{Element:"Phosphorus",ModusTestID:"S-P-H2SO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_047:{Element:"Phosphorus",ModusTestID:"S-P-TRG.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_PBUFINDEX_001:{Element:"Phosphorus Buffer Index",ModusTestID:"S-PBI.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_PBUFINDEX_002:{Element:"Phosphorus Buffer Index",ModusTestID:"S-PBI-BIC.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_PBUFINDEX_003:{Element:"Phosphorus Buffer Index",ModusTestID:"S-PBI-COL.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_PBUFINDEX_004:{Element:"Phosphorus Buffer Index",ModusTestID:"S-PBI-CACL2.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_PERINDEX_001:{Element:"Phosphorus Environmental Risk Index",ModusTestID:"S-PERI.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_PFF_001:{Element:"Phosphorus Fixation Factor",ModusTestID:"S-PFF-M3.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_PINDEX_001:{Element:"Potassium Index",ModusTestID:"S-K-INDX.19",ValueUnit:"none"},L_MODV2_SOIL_PINDEX_002:{Element:"Potassium Index",ModusTestID:"S-K-NCINDX",ValueUnit:"none"},L_MODV2_SOIL_PINDEX_003:{Element:"Phosphorus Index",ModusTestID:"S-P-NCINDX",ValueUnit:"mg/kg"},L_MODV2_SOIL_PRATIO_001:{Element:"Phosphorus Ratio",ModusTestID:"S-PR-M3.23",ValueUnit:"none"},L_MODV2_SOIL_PRI_001:{Element:"Phosphorus Retention Index",ModusTestID:"S-PRI-KCL.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_PSINDEX_001:{Element:"Phosphorus Saturation Index",ModusTestID:"S-PSI.M3.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_PSINDEX_002:{Element:"Phosphorus Saturation Index",ModusTestID:"S-PSI.M3O.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_TP_001:{Element:'"phosphorus, total\xA0"',ModusTestID:"S-TP-H2SO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_TP_002:{Element:'"phosphorus, total\xA0"',ModusTestID:"S-TP-NA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_001:{Element:"Potassium",ModusTestID:"S-K-PWAA.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_K_004:{Element:"Potassium",ModusTestID:"S-K-NH4CL.23",ValueUnit:"meq/100 g"},L_MODV2_SOIL_K_005:{Element:"Potassium",ModusTestID:"S-K-PNA4CL.23",ValueUnit:"meq/100 g"},L_MODV2_SOIL_K_006:{Element:"Potassium",ModusTestID:"S-K-BACL2.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_K_017:{Element:"Potassium",ModusTestID:"S-K-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_019:{Element:"Potassium",ModusTestID:"S-K-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_020:{Element:"Potassium",ModusTestID:"S-K-HCL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_021:{Element:"Potassium",ModusTestID:"S-K-HCL.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_023:{Element:"Potassium",ModusTestID:"S-K-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_027:{Element:"Potassium",ModusTestID:"S-K-LANC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_028:{Element:"Potassium",ModusTestID:"S-K-M3.20",ValueUnit:"ppm"},L_MODV2_SOIL_K_035:{Element:"Potassium",ModusTestID:"S-K-HNO3.07",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_036:{Element:"Potassium",ModusTestID:"S-K-HNO3.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_037:{Element:"Potassium",ModusTestID:"S-K-NA.04",ValueUnit:"%"},L_MODV2_SOIL_K_038:{Element:"Potassium",ModusTestID:"S-K-PRS.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_039:{Element:"Potassium",ModusTestID:"S-K-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_K_042:{Element:"Potassium",ModusTestID:"S-K-SP.05",ValueUnit:"meq/L"},L_MODV2_SOIL_K_047:{Element:"Potassium",ModusTestID:"S-K-W5:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_048:{Element:"Potassium",ModusTestID:"S-K.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_050:{Element:"potassium\xA0",ModusTestID:"S-K-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_KFF_001:{Element:"Potassium Fixation Factor",ModusTestID:"S-KFF-M3.04",ValueUnit:"%"},L_MODV2_SOIL_TK_002:{Element:'"potassium, total\xA0"',ModusTestID:"S-TKP.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_POTMN_001:{Element:"potentially mineralizable nitrogen (PMN)",ValueUnit:"mg/kg"},L_MODV2_SOIL_POTOXC_001:{Element:"Potential Oxidizable Carbon",ModusTestID:"S-POXC.01.0",ValueUnit:"mg/kg"},L_MODV2_SOIL_RZM_001:{Element:"Rootzone Moisture",ModusTestID:"S-RZM.00",ValueUnit:"%"},L_MODV2_SOIL_SAND_001:{Element:"Sand",ModusTestID:"S-SAND-SV.19",ValueUnit:"%"},L_MODV2_SOIL_SAND_002:{Element:"Sand",ModusTestID:"S-SAND.22",ValueUnit:"%"},L_MODV2_SOIL_SAND_003:{Element:"Sand",ModusTestID:"S-SAND-SED.10",ValueUnit:"%"},L_MODV2_SOIL_SAND_004:{Element:"Sand",ModusTestID:"S-SAND-SED.11",ValueUnit:"%"},L_MODV2_SOIL_SANDC_001:{Element:"sand - coarse",ModusTestID:"S-SANDC.BAL.19",ValueUnit:"%"},L_MODV2_SOIL_SANDC_002:{Element:"sand - coarse",ModusTestID:"S-SANDC.HYDRO.19",ValueUnit:"%"},L_MODV2_SOIL_SANDC_003:{Element:"sand - coarse",ModusTestID:"S-SANDC-SV.19",ValueUnit:"%"},L_MODV2_SOIL_SANDF_001:{Element:"sand - fine",ModusTestID:"S-SANDF.DAL.19",ValueUnit:"%"},L_MODV2_SOIL_SANDF_002:{Element:"sand - fine",ModusTestID:"S-SANDF-HYDRO.19",ValueUnit:"%"},L_MODV2_SOIL_SANDF_003:{Element:"sand - fine",ModusTestID:"S-SANDF-SV.19",ValueUnit:"%"},L_MODV2_SOIL_SS:{Element:"Saturation Paste %",ModusTestID:"S-SP%.19",ValueUnit:"%"},L_MODV2_SOIL_SE_001:{Element:"Selenium",ModusTestID:"S-SE-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_SE_003:{Element:"Selenium",ModusTestID:"S-SE-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SI_001:{Element:"Silicon",ModusTestID:"S-SI-AA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SI_003:{Element:"Silicon",ModusTestID:"S-SI-CACL2.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_SI_004:{Element:"Silicon",ModusTestID:"S-SI-KCL.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SI_005:{Element:"Silicon",ModusTestID:"S-SI-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_SI_006:{Element:"Silicon",ModusTestID:"S-SI-H2SO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_SILT_001:{Element:"Silt",ModusTestID:"S-SILT-SV.19",ValueUnit:"%"},L_MODV2_SOIL_SILT_002:{Element:"Silt",ModusTestID:"S-SILT.22",ValueUnit:"%"},L_MODV2_SOIL_SILT_003:{Element:"Silt",ModusTestID:"S-SILT-SED.10",ValueUnit:"%"},L_MODV2_SOIL_SILT_004:{Element:"Silt",ModusTestID:"S-SILT-SED.11,S-SILT-ST-OT",ValueUnit:"%"},L_MODV2_SOIL_SILTCLAY_001:{Element:"Silt+Clay",ModusTestID:"S-SI+C-SV",ValueUnit:"%"},L_MODV2_SOIL_AG_001:{Element:"Silver",ModusTestID:"S-AG-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SLAKING_001:{Element:"Slaking",ModusTestID:"S-Slaking.24",ValueUnit:"none"},L_MODV2_SOIL_NA_001:{Element:"Sodium",ModusTestID:"S-NA-NH4AC.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_002:{Element:"Sodium",ModusTestID:"S-NA-NH4CL.23",ValueUnit:"meq/100 g"},L_MODV2_SOIL_NA_003:{Element:"Sodium",ModusTestID:"S-NA-PNA4CL.23",ValueUnit:"meq/100 g"},L_MODV2_SOIL_NA_004:{Element:"Sodium",ModusTestID:"S-NA-BACL2.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_NA_006:{Element:"Sodium",ModusTestID:"S-NA-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_008:{Element:"Sodium",ModusTestID:"S-NA-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_009:{Element:"Sodium",ModusTestID:"S-NA-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_010:{Element:"Sodium",ModusTestID:"S-NA-LANC.04",ValueUnit:"lb/ac"},L_MODV2_SOIL_NA_011:{Element:"Sodium",ModusTestID:"S-NA-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_012:{Element:"Sodium",ModusTestID:"S-NA-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_013:{Element:"Sodium",ModusTestID:"S-NA-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_015:{Element:"Sodium",ModusTestID:"S-NA-NA.04",ValueUnit:"%"},L_MODV2_SOIL_NA_016:{Element:"Sodium",ModusTestID:"S-NA-PRS.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_017:{Element:"Sodium",ModusTestID:"S-NA-KCL-01.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_018:{Element:"Sodium",ModusTestID:"S-NA-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_019:{Element:"Sodium",ModusTestID:"S-NA-SP.05",ValueUnit:"meq/L"},L_MODV2_SOIL_NA_020:{Element:"Sodium",ModusTestID:"S-NA-W:1:1.05",ValueUnit:"meq/L"},L_MODV2_SOIL_NA_021:{Element:"Sodium",ModusTestID:"S-NA-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_022:{Element:"Sodium",ModusTestID:"S-NA-W5:1.12",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_023:{Element:"Sodium",ModusTestID:"S-NA-W5:1.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_024:{Element:"Sodium",ModusTestID:"S-NA.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_SAR_001:{Element:"Sodium Adsorption Ratio",ModusTestID:"S-SAR-AA.19",ValueUnit:"ratio"},L_MODV2_SOIL_SAR_002:{Element:"Sodium Adsorption Ratio",ModusTestID:"S-SAR-W5:1.19",ValueUnit:"none"},L_MODV2_SOIL_SAR_003:{Element:"Sodium Adsorption Ratio",ModusTestID:"S-SAR-SP.00",ValueUnit:"Ratio"},L_MODV2_SOIL_SOLIDS_001:{Element:'"solids, total"',ModusTestID:"S-SOLIDS.19",ValueUnit:"%"},L_MODV2_SOIL_SS_001:{Element:"Soluble Salts",ModusTestID:"S-SS.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_SSINDEX_001:{Element:"Soluble Salts Index",ModusTestID:"S-SS-NCINDX.19",ValueUnit:"none"},L_MODV2_SOIL_SR_001:{Element:"Strontium",ModusTestID:"S-SR-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SO4S_001:{Element:"Sulfate-Sulfur",ModusTestID:"S-SO4-1:5.13",ValueUnit:"mg/kg"},L_MODV2_SOIL_SO4S_003:{Element:"Sulfate-Sulfur",ModusTestID:"S-S-W5:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SO4S_004:{Element:"Sulfate-Sulfur",ModusTestID:"S-SO4-W1:1.13",ValueUnit:"meq/L"},L_MODV2_SOIL_SO4S_005:{Element:"Sulfate-Sulfur",ModusTestID:"S-SO4-EPA300.04",ValueUnit:"mg/L"},L_MODV2_SOIL_SO4S_006:{Element:"Sulfate-Sulfur",ModusTestID:"S-SO4-SP.08",ValueUnit:"meq/L"},L_MODV2_SOIL_SO4S_007:{Element:"Sulfate-Sulfur",ModusTestID:"S-SO4-SP.13",ValueUnit:"meq/L"},L_MODV2_SOIL_S_001:{Element:"Sulfur",ModusTestID:"S-S-NH4AC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_002:{Element:"Sulfur",ModusTestID:"S-S-NH4AC.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_003:{Element:"Sulfur",ModusTestID:"S-S-NH4AC.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_004:{Element:"Sulfur",ModusTestID:"S-S-CACL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_005:{Element:"Sulfur",ModusTestID:"S-SO4-CaCl.04.08",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_007:{Element:"Sulfur",ModusTestID:"S-SO4-1:5.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_009:{Element:"Sulfur",ModusTestID:"S-S.16",ValueUnit:"%"},L_MODV2_SOIL_S_010:{Element:"Sulfur",ModusTestID:"S-SO4-1:5H2O.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_011:{Element:"Sulfur",ModusTestID:"S-SO4-W1:1.04",ValueUnit:"meq/L"},L_MODV2_SOIL_S_012:{Element:"Sulfur",ModusTestID:"S-S-W1:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_013:{Element:"Sulfur",ModusTestID:"S-S-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_014:{Element:"Sulfur",ModusTestID:"S-S-W5:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_015:{Element:"Sulfur",ModusTestID:"S-S-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_016:{Element:"Sulfur",ModusTestID:"S-S-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_017:{Element:"Sulfur",ModusTestID:"S-S-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_020:{Element:"Sulfur",ModusTestID:"S-S-H3A.04",ValueUnit:"kg/ha"},L_MODV2_SOIL_S_021:{Element:"Sulfur",ModusTestID:"S-S-H3A.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_022:{Element:"Sulfur",ModusTestID:"S-SO4-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_023:{Element:"Sulfur",ModusTestID:"S-SO4-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_024:{Element:"Sulfur",ModusTestID:"S-S-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_025:{Element:"Sulfur",ModusTestID:"S-S-LANC.04",ValueUnit:"kg/ha"},L_MODV2_SOIL_S_026:{Element:"Sulfur",ModusTestID:"S-S-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_028:{Element:"Sulfur",ModusTestID:"S-S-MMOR.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_029:{Element:"Sulfur",ModusTestID:"S-S-MMOR.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_030:{Element:"Sulfur",ModusTestID:"S-S-NA.04",ValueUnit:"%"},L_MODV2_SOIL_S_031:{Element:"Sulfur",ModusTestID:"S-SO4-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_S_034:{Element:"Sulfur",ModusTestID:"S-S-0.25MKCL.23",ValueUnit:"kg/ha"},L_MODV2_SOIL_S_035:{Element:"Sulfur",ModusTestID:"S-S-KCL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_036:{Element:"Sulfur",ModusTestID:"S-SO4-SP.04",ValueUnit:"meq/L"},L_MODV2_SOIL_SINDEX_001:{Element:"Sulfur Index",ModusTestID:"S-S-NCINDX",ValueUnit:"none"},L_MODV2_SOIL_TEXTURE_001:{Element:"Textural Classification",ModusTestID:"S-TEXTURE.19",ValueUnit:"Texture Classification"},L_MODV2_SOIL_TEXTURE_002:{Element:"Textural Classification",ModusTestID:"S-TEXTURE.01",ValueUnit:"none"},L_MODV2_SOIL_TEXTURE_003:{Element:"Textural Classification",ModusTestID:"S-TEXTURE.22",ValueUnit:"Texture Classification"},L_MODV2_SOIL_SN_001:{Element:"Tin",ModusTestID:"S-SN-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_TITACIDT_001:{Element:"Titratable Acidity",ModusTestID:"S-H-MEAS.12",ValueUnit:"cmol/kg"},L_MODV2_SOIL_TCTN_001:{Element:"Total Carbon:Total Nitrogen",ModusTestID:"S-TC:TN.19",ValueUnit:"none"},L_MODV2_SOIL_TOCTN_001:{Element:"Total Organic Carbon: Total Nitrogen",ModusTestID:"S-TOC:TN.19",ValueUnit:"none"},L_MODV2_SOIL_UNKNOWN_001:{Element:"Unknown",ModusTestID:"S-UNKNOWN.00",ValueUnit:"none"},L_MODV2_SOIL_UREA_001:{Element:"Urea",ModusTestID:"S-UREA-NH4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_WSC_001:{Element:"water soluble carbon",ModusTestID:"S-SARJ-SP.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_002:{Element:"Zinc",ModusTestID:"S-ZN-DTPA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_003:{Element:"Zinc",ModusTestID:"S-ZN-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_004:{Element:"Zinc",ModusTestID:"S-ZN-EDTA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_005:{Element:"Zinc",ModusTestID:"S-ZN-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_008:{Element:"Zinc",ModusTestID:"S-ZN-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_009:{Element:"Zinc",ModusTestID:"S-ZN-HCL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_010:{Element:"Zinc",ModusTestID:"S-ZN-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_011:{Element:"Zinc",ModusTestID:"S-ZN-LANC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_012:{Element:"Zinc",ModusTestID:"S-ZN-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_013:{Element:"Zinc",ModusTestID:"S-ZN-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_014:{Element:"Zinc",ModusTestID:"S-ZN-M3DTPA.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_015:{Element:"Zinc",ModusTestID:"S-ZN-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_019:{Element:"Zinc",ModusTestID:"S-ZN-NA.04",ValueUnit:"ppm"},L_MODV2_SOIL_ZN_020:{Element:"Zinc",ModusTestID:"S-ZN-PRS.04",ValueUnit:"ug/10cm2"},L_MODV2_SOIL_ZN_021:{Element:"Zinc",ModusTestID:"S-ZN-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_ZN_024:{Element:"Zinc",ModusTestID:"S-ZN-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_ZINDEX_001:{Element:"Zinc index",ModusTestID:"S-ZN-NCINDX",ValueUnit:"none"},L_MODV2_SOIL_ZNCURATIO_001:{Element:"Zn:Cu ratio",ModusTestID:"S-Zn:Cu-M3.19",ValueUnit:"none"},L_MODV2_SOIL_ZNCURATIO_002:{Element:"Zn:Cu ratio",ModusTestID:"S-Zn:Cu.19",ValueUnit:"none"},L_MODV2_SOIL_ACEN_001:{Element:"ACE nitrogen (soil protein index)",ModusTestID:"S-SP-ACE-OT",ValueUnit:"g/kg"},L_MODV2_SOIL_ACIDT_001:{Element:"Acidity",ValueUnit:"meq/cmol"},L_MODV2_SOIL_ASTAB_00:{Element:"Aggregate Stability",ValueUnit:"%"},L_MODV2_SOIL_ASTAB_001:{Element:"Aggregate Stability",ValueUnit:"%"},L_MODV2_SOIL_ASTAB_002:{Element:"Aggregate Stability",ValueUnit:"%"},L_MODV2_SOIL_ASTAB_003:{Element:"Aggregate Stability",ValueUnit:"%"},L_MODV2_SOIL_AL_007:{Element:"Aluminum",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_008:{Element:"Aluminum",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_009:{Element:"Aluminum",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_013:{Element:"Aluminum",ValueUnit:"mg/dm3"},L_MODV2_SOIL_AL_015:{Element:"Aluminum",ValueUnit:"mg/m2"},L_MODV2_SOIL_AL_016:{Element:"Aluminum",ValueUnit:"mg/m2"},L_MODV2_SOIL_AL_017:{Element:"Aluminum",ValueUnit:"mg/m2"},L_MODV2_SOIL_AL_019:{Element:"Aluminum",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_021:{Element:"Aluminum",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_023:{Element:"Aluminum",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4_001:{Element:"ammonium",ValueUnit:"mg/m2"},L_MODV2_SOIL_NH4_002:{Element:"ammonium",ValueUnit:"mg/m2"},L_MODV2_SOIL_NH4_003:{Element:"ammonium",ValueUnit:"mg/m2"},L_MODV2_SOIL_NH4N_001:{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg"},L_MODV2_SOIL_AS_004:{Element:"Arsenic",ValueUnit:"mg/kg"},L_MODV2_SOIL_AS_005:{Element:"Arsenic",ValueUnit:"mg/kg"},L_MODV2_SOIL_ARYLS_001:{Element:"arylsulfatase",ValueUnit:"nmol/h/mg"},L_MODV2_SOIL_AWHC_001:{Element:"available water holding capacity",ValueUnit:"mg/kg"},L_MODV2_SOIL_BA_002:{Element:"Barium",ValueUnit:"mg/kg"},L_MODV2_SOIL_BA_003:{Element:"Barium",ValueUnit:"mg/kg"},L_MODV2_SOIL_BA_004:{Element:"Barium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CABS_001:{Element:"Base Saturation - Ca",ModusTestID:"S-BS-CA.19",ValueUnit:"%"},L_MODV2_SOIL_BGLUCO_001:{Element:"beta-glucosidase",ValueUnit:"U/mg"},L_MODV2_SOIL_HCO3_002:{Element:"Bicarbonate",ModusTestID:"S-HCO3-SP.12",ValueUnit:"meq/L"},L_MODV2_SOIL_HCO3_003:{Element:"Bicarbonate",ValueUnit:"meq/L"},L_MODV2_SOIL_B_002:{Element:"Boron",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_013:{Element:"Boron",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_014:{Element:"Boron",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_018:{Element:"Boron",ValueUnit:"mg/dm3"},L_MODV2_SOIL_B_020:{Element:"Boron",ValueUnit:"mg/m2"},L_MODV2_SOIL_B_021:{Element:"Boron",ValueUnit:"mg/m2"},L_MODV2_SOIL_B_022:{Element:"Boron",ValueUnit:"mg/kg"},L_MODV2_SOIL_BPH_005:{Element:"Buffer pH",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_006:{Element:"Buffer pH",ValueUnit:"standard pH unit"},L_MODV2_SOIL_CNRATIO_001:{Element:"C:N Ratio",ValueUnit:"Ratio"},L_MODV2_SOIL_CD_003:{Element:"Cadmium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CD_004:{Element:"Cadmium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CD_006:{Element:"Cadmium",ValueUnit:"mg/m2"},L_MODV2_SOIL_CD_007:{Element:"Cadmium",ValueUnit:"mg/m2"},L_MODV2_SOIL_CD_008:{Element:"Cadmium",ValueUnit:"mg/m2"},L_MODV2_SOIL_CD_009:{Element:"Cadmium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CD_010:{Element:"Cadmium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_004:{Element:"Calcium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_015:{Element:"Calcium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_022:{Element:"Calcium",ValueUnit:"mg/dm3"},L_MODV2_SOIL_CA_028:{Element:"Calcium",ValueUnit:"mg/m2"},L_MODV2_SOIL_CA_029:{Element:"Calcium",ValueUnit:"mg/m2"},L_MODV2_SOIL_CO3_005:{Element:"Carbonate",ValueUnit:"meq/L"},L_MODV2_SOIL_CEC_004:{Element:"Cation Exchange Capacity",ValueUnit:"mg/kg"},L_MODV2_SOIL_CL_001:{Element:"Chloride",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_002:{Element:"Chloride",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_003:{Element:"Chloride",ValueUnit:"meq/L"},L_MODV2_SOIL_CR_003:{Element:"Chromium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CR_004:{Element:"Chromium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CR_006:{Element:"Chromium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CO_002:{Element:"Cobalt",ValueUnit:"mg/kg"},L_MODV2_SOIL_CO_007:{Element:"Cobalt",ValueUnit:"mg/kg"},L_MODV2_SOIL_CO_008:{Element:"Cobalt",ValueUnit:"mg/kg"},L_MODV2_SOIL_CO_009:{Element:"Cobalt",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_001:{Element:"Copper",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_006:{Element:"Copper",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_007:{Element:"Copper",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_015:{Element:"Copper",ValueUnit:"mg/dm3"},L_MODV2_SOIL_CU_016:{Element:"Copper",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_017:{Element:"Copper",ModusTestID:"S-Cu-MMOR-OT",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_019:{Element:"Copper",ValueUnit:"mg/m2"},L_MODV2_SOIL_CU_020:{Element:"Copper",ValueUnit:"mg/m2"},L_MODV2_SOIL_CU_021:{Element:"Copper",ValueUnit:"mg/m2"},L_MODV2_SOIL_DON_001:{Element:"dissolved organic nitrogen (DON)",ValueUnit:"mg/kg"},L_MODV2_SOIL_GENOM_001:{Element:"genomics"},L_MODV2_SOIL_FE_002:{Element:"Iron",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_008:{Element:"Iron",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_009:{Element:"Iron",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_016:{Element:"Iron",ValueUnit:"mg/dm3"},L_MODV2_SOIL_FE_018:{Element:"Iron",ValueUnit:"mg/m2"},L_MODV2_SOIL_FE_019:{Element:"Iron",ValueUnit:"mg/m2"},L_MODV2_SOIL_FE_020:{Element:"Iron",ValueUnit:"mg/m2"},L_MODV2_SOIL_PB_004:{Element:"Lead",ValueUnit:"mg/kg"},L_MODV2_SOIL_PB_005:{Element:"Lead",ValueUnit:"mg/kg"},L_MODV2_SOIL_PB_006:{Element:"Lead",ValueUnit:"mg/m2"},L_MODV2_SOIL_PB_007:{Element:"Lead",ValueUnit:"mg/m2"},L_MODV2_SOIL_PB_008:{Element:"Lead",ValueUnit:"mg/m2"},L_MODV2_SOIL_PB_009:{Element:"Lead",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_006:{Element:"Magnesium",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_013:{Element:"Magnesium",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_014:{Element:"Magnesium",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_016:{Element:"Magnesium",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_021:{Element:"Magnesium",ValueUnit:"mg/dm3"},L_MODV2_SOIL_MG_026:{Element:"Magnesium",ValueUnit:"mg/m2"},L_MODV2_SOIL_MN_001:{Element:"Manganese",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_006:{Element:"Manganese",ModusTestID:"S-MN-EPA3050.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_007:{Element:"Manganese",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_008:{Element:"Manganese",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_014:{Element:"Manganese",ValueUnit:"mg/dm3"},L_MODV2_SOIL_MN_016:{Element:"Manganese",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_017:{Element:"Manganese",ModusTestID:"S-Mn-MMOR-OT",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_020:{Element:"Manganese",ValueUnit:"mg/m2"},L_MODV2_SOIL_MN_021:{Element:"Manganese",ValueUnit:"mg/m2"},L_MODV2_SOIL_MN_022:{Element:"Manganese",ValueUnit:"mg/m2"},L_MODV2_SOIL_MN_023:{Element:"Manganese",ValueUnit:"mg/kg"},L_MODV2_SOIL_HG_002:{Element:"Mercury",ValueUnit:"mg/kg"},L_MODV2_SOIL_HG_003:{Element:"Mercury",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_004:{Element:"Molybdenum",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_007:{Element:"Molybdenum",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_008:{Element:"Molybdenum",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_013:{Element:"Molybdenum",ValueUnit:"mg/dm3"},L_MODV2_SOIL_MO_016:{Element:"Molybdenum",ValueUnit:"mg/m2"},L_MODV2_SOIL_MO_017:{Element:"Molybdenum",ValueUnit:"mg/m2"},L_MODV2_SOIL_NI_003:{Element:"Nickel",ValueUnit:"mg/kg"},L_MODV2_SOIL_NI_004:{Element:"Nickel",ValueUnit:"mg/kg"},L_MODV2_SOIL_NI_005:{Element:"Nickel",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3_001:{Element:"nitrate",ValueUnit:"mg/m2"},L_MODV2_SOIL_NO3_002:{Element:"nitrate",ValueUnit:"mg/m2"},L_MODV2_SOIL_NO3N_002:{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_003:{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg"},L_MODV2_SOIL_NMR_001:{Element:"nitrogen mineralization rate",ValueUnit:"mg/kg"},L_MODV2_SOIL_PARTDENS_001:{Element:"particle density",ValueUnit:"g/cm3"},L_MODV2_SOIL_POM_001:{Element:"particulate organic matter 53-2000 um",ValueUnit:"g/kg"},L_MODV2_SOIL_MNO4OXC_002:{Element:"permanganate-oxidizable carbon (POXC)",ValueUnit:"mg/kg"},L_MODV2_SOIL_PH_001:{Element:"pH",ValueUnit:"mg/kg"},L_MODV2_SOIL_PH_009:{Element:"pH",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PO4_001:{Element:"phosphate",ValueUnit:"mg/kg"},L_MODV2_SOIL_PLFA_001:{Element:"phospholipid fatty acid (PLFA)",ModusTestID:"S-MD-BS-C-OT",ValueUnit:"ng/g"},L_MODV2_SOIL_PMONOEST_001:{Element:"phosphomonoesterase",ValueUnit:"ug/g"},L_MODV2_SOIL_P_002:{Element:"Phosphorus",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_012:{Element:"Phosphorus",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_028:{Element:"Phosphorus",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_030:{Element:"Phosphorus",ValueUnit:"mg/dm3"},L_MODV2_SOIL_P_031:{Element:"Phosphorus",ValueUnit:"mg/dm3"},L_MODV2_SOIL_P_034:{Element:"Phosphorus",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_040:{Element:"Phosphorus",ValueUnit:"mg/m2"},L_MODV2_SOIL_P_041:{Element:"Phosphorus",ValueUnit:"mg/m2"},L_MODV2_SOIL_P_043:{Element:"Phosphorus",ValueUnit:"mg/L"},L_MODV2_SOIL_P_048:{Element:"Phosphorus",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_002:{Element:"Potassium",ModusTestID:"S-K-AA-NH4AC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_003:{Element:"Potassium",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_007:{Element:"Potassium",ModusTestID:"S-K-B1-1:10.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_008:{Element:"Potassium",ModusTestID:"S-K-B1-1:7.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_009:{Element:"Potassium",ModusTestID:"S-K-B2-1:10.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_010:{Element:"Potassium",ModusTestID:"S-K-LACTATE.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_011:{Element:"Potassium",ModusTestID:"S-K-CACL2.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_012:{Element:"Potassium",ModusTestID:"S-K-M3BRAYP1.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_013:{Element:"Potassium",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_014:{Element:"Potassium",ModusTestID:"S-K-CALD.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_015:{Element:"Potassium",ModusTestID:"S-K-W1:5.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_016:{Element:"Potassium",ModusTestID:"S-K-W10:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_018:{Element:"Potassium",ModusTestID:"S-K-DGT.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_022:{Element:"Potassium",ModusTestID:"S-K-RES.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_024:{Element:"Potassium",ModusTestID:"S-K-KEL.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_025:{Element:"Potassium",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_026:{Element:"Potassium",ModusTestID:"S-K-MKEL.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_029:{Element:"Potassium",ModusTestID:"S-K-M1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_030:{Element:"Potassium",ModusTestID:"S-K-M2.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_031:{Element:"Potassium",ModusTestID:"S-K-M3.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_032:{Element:"Potassium",ValueUnit:"mg/dm3"},L_MODV2_SOIL_K_033:{Element:"Potassium",ModusTestID:"S-K-MOR.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_034:{Element:"Potassium",ModusTestID:"S-K-MMOR.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_040:{Element:"Potassium",ValueUnit:"mg/m2"},L_MODV2_SOIL_K_041:{Element:"Potassium",ValueUnit:"mg/m2"},L_MODV2_SOIL_K_043:{Element:"Potassium",ModusTestID:"S-K-BIC.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_044:{Element:"Potassium",ModusTestID:"S-K-H2SO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_045:{Element:"Potassium",ModusTestID:"S-K-TRG.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_046:{Element:"Potassium",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_049:{Element:"potassium\xA0",ModusTestID:"S-K-AR.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_KFF_002:{Element:"Potassium Fixation Factor",ModusTestID:"S-KFF-M3.05",ValueUnit:"%"},L_MODV2_SOIL_KFF_003:{Element:"Potassium Fixation Factor",ModusTestID:"S-KFF-M3.06",ValueUnit:"%"},L_MODV2_SOIL_TK_001:{Element:'"potassium, total\xA0"',ModusTestID:"S-TK-H2SO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_TK_003:{Element:'"potassium, total\xA0"',ModusTestID:"S-TK-NA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SREF_001:{Element:"reflectance",ValueUnit:"Reflectance percentage (R%)"},L_MODV2_SOIL_SANDC_004:{Element:"sand - coarse",ValueUnit:"%"},L_MODV2_SOIL_SANDF_004:{Element:"sand - fine",ValueUnit:"%"},L_MODV2_SOIL_SANDM_001:{Element:"sand - medium",ValueUnit:"%"},L_MODV2_SOIL_SANDVC_001:{Element:"sand - very coarse",ValueUnit:"%"},L_MODV2_SOIL_SANDVF_001:{Element:"sand - very fine",ValueUnit:"%"},L_MODV2_SOIL_SHC_001:{Element:"saturated hydraulic conductivity",ValueUnit:"in/hr"},L_MODV2_SOIL_SE_002:{Element:"Selenium",ValueUnit:"mg/kg"},L_MODV2_SOIL_SE_004:{Element:"Selenium",ValueUnit:"mg/kg"},L_MODV2_SOIL_SE_005:{Element:"Selenium",ValueUnit:"mg/kg"},L_MODV2_SOIL_SE_006:{Element:"Selenium",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_001:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_002:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_003:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_004:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_005:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_006:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_007:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_008:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_009:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_010:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_011:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_012:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_013:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_SI_002:{Element:"Silicon",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_005:{Element:"Sodium",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_007:{Element:"Sodium",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_014:{Element:"Sodium",ValueUnit:"mg/dm3"},L_MODV2_SOIL_SR_002:{Element:"Strontium",ValueUnit:"mg/kg"},L_MODV2_SOIL_SO4S_002:{Element:"Sulfate-Sulfur",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_006:{Element:"Sulfur",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_008:{Element:"Sulfur",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_018:{Element:"Sulfur",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_019:{Element:"Sulfur",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_027:{Element:"Sulfur",ValueUnit:"mg/dm3"},L_MODV2_SOIL_S_032:{Element:"Sulfur",ValueUnit:"mg/m2"},L_MODV2_SOIL_S_033:{Element:"Sulfur",ValueUnit:"mg/m2"},L_MODV2_SOIL_SN_002:{Element:"Tin",ValueUnit:"mg/kg"},L_MODV2_SOIL_SN_003:{Element:"Tin",ValueUnit:"mg/kg"},L_MODV2_SOIL_WEN_001:{Element:"water extractable nitrogen (WEN)",ValueUnit:"mg/kg"},L_MODV2_SOIL_WEOC_001:{Element:"water extractable organic carbon (WEOC)",ValueUnit:"g"},L_MODV2_SOIL_TDN_001:{Element:"water extractable organic nitrogen (TDN)",ValueUnit:"mg/g"},L_MODV2_SOIL_WEON_001:{Element:"water extractable organic nitrogen (WEON)",ValueUnit:"mg/kg"},L_MODV2_SOIL_WSCN_001:{Element:"water soluble C:N ratio",ValueUnit:"ratio"},L_MODV2_SOIL_WSOC_001:{Element:"water-soluble organic carbon (WSOC)",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_001:{Element:"Zinc",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_006:{Element:"Zinc",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_007:{Element:"Zinc",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_016:{Element:"Zinc",ValueUnit:"mg/dm3"},L_MODV2_SOIL_ZN_017:{Element:"Zinc",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_018:{Element:"Zinc",ModusTestID:"S-Zn-MMOR-OT",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_022:{Element:"Zinc",ValueUnit:"mg/m2"},L_MODV2_SOIL_ZN_023:{Element:"Zinc",ValueUnit:"mg/m2"}},bP={"S-Acidity.19":{Element:"Acidity",ModusTestIDv1:"S-Acidity.19",ModusTestIDv2:"L_MODV2_SOIL_ACIDT_002",Units:["mg/kg",null]},"S-SARJ-SP.00":{Element:"water soluble carbon",ModusTestIDv1:"S-SARJ-SP.00",ModusTestIDv2:"L_MODV2_SOIL_WSC_001",Units:["mg/kg","ppm"]},"S-AL-BACL2.23":{Element:"Aluminum",ModusTestIDv1:"S-AL-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_AL_001",Units:["cmol/kg","meq/100g"]},"S-AL-OX.23":{Element:"Aluminum",ModusTestIDv1:"S-AL-OX.23",ModusTestIDv2:"L_MODV2_SOIL_AL_002",Units:["mg/kg","ppm"]},"S-TAL-RAR.23":{Element:"Aluminum",ModusTestIDv1:"S-TAL-RAR.23",ModusTestIDv2:"L_MODV2_SOIL_AL_003",Units:["%",null]},"S-AL-CACL2.23":{Element:"Aluminum",ModusTestIDv1:"S-AL-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_AL_004",Units:["mg/kg","ppm"]},"S-AL.19":{Element:"Aluminum",ModusTestIDv1:"S-AL.19",ModusTestIDv2:"L_MODV2_SOIL_AL_005",Units:["%",null]},"S-AL-DTPA-SORB.05":{Element:"Aluminum",ModusTestIDv1:"S-AL-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_AL_006",Units:["mg/kg","ppm"]},"S-AL-H3A.04":{Element:"Aluminum",ModusTestIDv1:"S-AL-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_AL_010",Units:["mg/kg","ppm"]},"S-AL-RES.04":{Element:"Aluminum",ModusTestIDv1:"S-AL-RES.04",ModusTestIDv2:"L_MODV2_SOIL_AL_011",Units:["mg/kg","ppm"]},"S-AL-M3.05":{Element:"Aluminum",ModusTestIDv1:"S-AL-M3.05",ModusTestIDv2:"L_MODV2_SOIL_AL_012",Units:["mg/kg","ppm"]},"S-AL-NA.04":{Element:"Aluminum",ModusTestIDv1:"S-AL-NA.04",ModusTestIDv2:"L_MODV2_SOIL_AL_014",Units:["ppm",null]},"S-AL-1KCL.23":{Element:"Aluminum",ModusTestIDv1:"S-AL-1KCL.23",ModusTestIDv2:"L_MODV2_SOIL_AL_018",Units:["mg/kg","ppm"]},"S-Al-KCL.12":{Element:"Aluminum",ModusTestIDv1:"S-Al-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_AL_020",Units:["mg/kg","ppm"]},"S-AL-SP.04":{Element:"Aluminum",ModusTestIDv1:"S-AL-SP.04",ModusTestIDv2:"L_MODV2_SOIL_AL_022",Units:["mg/L",null]},"S-AN-12.00":{Element:"Amino Nitrogen",ModusTestIDv1:"S-AN-12.00",ModusTestIDv2:"L_MODV2_SOIL_AMINON_001",Units:[null,null]},"S-NH4N-W1:1.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_002",Units:["mg/kg","ppm"]},"S-NH4-H3A1.01.05":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_003",Units:["mg/kg","ppm"]},"S-NH4-RES.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-RES.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_004",Units:["mg/kg","ppm"]},"S-NH4-KCL.01.05":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-KCL.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_005",Units:["mg/kg","ppm"]},"S-NH4-KCL.09":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-KCL.09",ModusTestIDv2:"L_MODV2_SOIL_NH4N_006",Units:["mg/kg","ppm"]},"S-NH4N-05KCL.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-05KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_007",Units:["mg/kg","ppm"]},"S-NH4N-2KCL.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_008",Units:["mg/kg","ppm"]},"S-NH4N-SP.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-SP.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_009",Units:["mg/L",null]},"S-SB-EPA3050.04":{Element:"Antimony",ModusTestIDv1:"S-SB-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SB_001",Units:["mg/kg","ppm"]},"S-AS-AR.07":{Element:"Arsenic",ModusTestIDv1:"S-AS-AR.07",ModusTestIDv2:"L_MODV2_SOIL_AS_001",Units:["ug/kg","ppb"]},"S-AS-EPA6010B.00":{Element:"Arsenic",ModusTestIDv1:"S-AS-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_AS_002",Units:["mg/kg","ppm"]},"S-AS-EPA3050.04":{Element:"Arsenic",ModusTestIDv1:"S-AS-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_AS_003",Units:["mg/kg","ppm"]},"S-BA-EPA3050.04":{Element:"Barium",ModusTestIDv1:"S-BA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_BA_001",Units:["mg/kg","ppm"]},"S-BS.19":{Element:"Base Saturation",ModusTestIDv1:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001",Units:["%",null]},"S-BS-H.19":{Element:"Base Saturation - H",ModusTestIDv1:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",Units:["%",null]},"S-BS-K.19":{Element:"Base Saturation - K",ModusTestIDv1:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",Units:["%",null]},"S-BS-MG.19":{Element:"Base Saturation - Mg",ModusTestIDv1:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",Units:["%",null]},"S-BS-NA.19":{Element:"Base Saturation - Na",ModusTestIDv1:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",Units:["%",null]},"S-HCO3-SP.19":{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_HCO3_001",Units:["meq/L",null]},"S-HCO3-W1:1.12":{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-W1:1.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_004",Units:["meq/L",null]},"S-HCO3-ALK.01":{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-ALK.01",ModusTestIDv2:"L_MODV2_SOIL_HCO3_005",Units:["meq/L",null]},"S-B-CACL2.23":{Element:"Boron",ModusTestIDv1:"S-B-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_B_001",Units:["mg/kg","ppm"]},"S-B-HW.01.10":{Element:"Boron",ModusTestIDv1:"S-B-HW.01.10",ModusTestIDv2:"L_MODV2_SOIL_B_003",Units:["mg/kg","ppm"]},"S-B-HW.05":{Element:"Boron",ModusTestIDv1:"S-B-HW.05",ModusTestIDv2:"L_MODV2_SOIL_B_004",Units:["mg/kg","ppm"]},"S-B-W1:1.04":{Element:"Boron",ModusTestIDv1:"S-B-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_B_005",Units:["mg/kg","ppm"]},"S-B-W1:2.01":{Element:"Boron",ModusTestIDv1:"S-B-W1:2.01",ModusTestIDv2:"L_MODV2_SOIL_B_006",Units:["mg/kg","ppm"]},"S-B-W1:5.01":{Element:"Boron",ModusTestIDv1:"S-B-W1:5.01",ModusTestIDv2:"L_MODV2_SOIL_B_007",Units:["mg/kg","ppm"]},"S-B-W1:5.23":{Element:"Boron",ModusTestIDv1:"S-B-W1:5.23",ModusTestIDv2:"L_MODV2_SOIL_B_008",Units:["mg/kg","ppm"]},"S-B-W20:1.04":{Element:"Boron",ModusTestIDv1:"S-B-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_B_009",Units:["mg/kg","ppm"]},"S-B-SP.04":{Element:"Boron",ModusTestIDv1:"S-B-SP.04",ModusTestIDv2:"L_MODV2_SOIL_B_010",Units:["meq/L",null]},"S-B-DTPA-SORB.05":{Element:"Boron",ModusTestIDv1:"S-B-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_B_011",Units:["mg/kg","ppm"]},"S-B-EPA3050.04":{Element:"Boron",ModusTestIDv1:"S-B-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_B_012",Units:["mg/kg","ppm"]},"S-B-RES.04":{Element:"Boron",ModusTestIDv1:"S-B-RES.04",ModusTestIDv2:"L_MODV2_SOIL_B_015",Units:["mg/kg","ppm"]},"S-B-M1.04":{Element:"Boron",ModusTestIDv1:"S-B-M1.04",ModusTestIDv2:"L_MODV2_SOIL_B_016",Units:["mg/kg","ppm"]},"S-B-M3.04":{Element:"Boron",ModusTestIDv1:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017",Units:["mg/kg","ppm"]},"S-B-NA.04":{Element:"Boron",ModusTestIDv1:"S-B-NA.04",ModusTestIDv2:"L_MODV2_SOIL_B_019",Units:["mg/kg","ppm"]},"S-BPH-AEB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-AEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_001",Units:["standard pH unit",null]},"S-BPH-MAEB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MAEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_002",Units:["standard pH unit",null]},"S-BPH.19":{Element:"Buffer pH",ModusTestIDv1:"S-BPH.19",ModusTestIDv2:"L_MODV2_SOIL_BPH_003",Units:["standard pH unit",null]},"S-BPH-MEB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_004",Units:["standard pH unit",null]},"S-BPH-SIK1.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_007",Units:["standard pH unit",null]},"S-BPH-SIK2.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SIK2.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_008",Units:["standard pH unit",null]},"S-BPH-SMPB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SMPB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_009",Units:["standard pH unit",null]},"S-BPH-WB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-WB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_010",Units:["standard pH unit",null]},"S-BPH-MWB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MWB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_011",Units:["standard pH unit",null]},"S-BD-Clod.00":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Clod.00",ModusTestIDv2:"L_MODV2_SOIL_BD_001",Units:["g/cm3",null]},"S-BD-Coarse.15":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Coarse.15",ModusTestIDv2:"L_MODV2_SOIL_BD_002",Units:["g/cm3",null]},"S-BD-Core.00":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Core.00",ModusTestIDv2:"L_MODV2_SOIL_BD_003",Units:["g/cm3",null]},"S-BD-Fine.15":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Fine.15",ModusTestIDv2:"L_MODV2_SOIL_BD_004",Units:["g/cm3",null]},"S-BD-Scoop.00":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Scoop.00",ModusTestIDv2:"L_MODV2_SOIL_BD_005",Units:["g/cm3",null]},"S-BD.19":{Element:"Bulk Density",ModusTestIDv1:"S-BD.19",ModusTestIDv2:"L_MODV2_SOIL_BD_006",Units:["g/cm3",null]},"S-C:N.16":{Element:"C:N Ratio",ModusTestIDv1:"S-C:N.16",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_002",Units:["Ratio",null]},"S-C:N.19":{Element:"C:N Ratio",ModusTestIDv1:"S-C:N.19",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_003",Units:["Ratio",null]},"S-C:N-Haney.19":{Element:"C:N Ratio",ModusTestIDv1:"S-C:N-Haney.19",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_004",Units:["Ratio",null]},"S-CAEMG-M1.19":{Element:"Ca + exchangable Mg",ModusTestIDv1:"S-CAEMG-M1.19",ModusTestIDv2:"L_MODV2_SOIL_CAEMGP_001",Units:[null,null]},"S-CA:KM1.19":{Element:"Ca:K ratio",ModusTestIDv1:"S-CA:KM1.19",ModusTestIDv2:"L_MODV2_SOIL_CAKRATIO_001",Units:[null,null]},"S-CA:MG.19":{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_001",Units:[null,null]},"S-CA:MG-AA.19":{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-AA.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_002",Units:[null,null]},"S-CA:MG-BACL2.19":{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_003",Units:[null,null]},"S-CA:MG-PWAA.19":{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_004",Units:[null,null]},"S-CA:NO3.19":{Element:"Ca:NO3 ratio",ModusTestIDv1:"S-CA:NO3.19",ModusTestIDv2:"L_MODV2_SOIL_CANO3RATIO_001",Units:[null,null]},"S-CAMG:KM1.19":{Element:"Ca+Mg:K ratio",ModusTestIDv1:"S-CAMG:KM1.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGKRATIO_001",Units:[null,null]},"S-CD-AR.07":{Element:"Cadmium",ModusTestIDv1:"S-CD-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CD_001",Units:["ug/kg","ppb"]},"S-CD-EPA3050.04":{Element:"Cadmium",ModusTestIDv1:"S-CD-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CD_002",Units:["mg/kg","ppm"]},"S-CD-EPA6010B.00":{Element:"Cadmium",ModusTestIDv1:"S-CD-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CD_005",Units:[null,null]},"S-CA-PWAA.23":{Element:"Calcium",ModusTestIDv1:"S-CA-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_CA_001",Units:["cmol/kg","%"]},"S-CA-AA.23":{Element:"Calcium",ModusTestIDv1:"S-CA-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CA_002",Units:["mg/kg","ppm"]},"S-CA-NH4AC.05":{Element:"Calcium",ModusTestIDv1:"S-CA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_CA_003",Units:["mg/kg","ppm"]},"S-CA-NH4CL.23":{Element:"Calcium",ModusTestIDv1:"S-CA-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_CA_005",Units:["cmol/kg","meq/100g"]},"S-CA-PNA4CL.23":{Element:"Calcium",ModusTestIDv1:"S-CA-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_CA_006",Units:["cmol/kg","meq/100g"]},"S-CA-BACL2.23":{Element:"Calcium",ModusTestIDv1:"S-CA-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_CA_007",Units:["cmol/kg","meq/100g"]},"S-CA-INDX.19":{Element:"Calcium",ModusTestIDv1:"S-CA-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_CA_008",Units:["none",null]},"S-CA-M3AA.19":{Element:"Calcium",ModusTestIDv1:"S-CA-M3AA.19",ModusTestIDv2:"L_MODV2_SOIL_CA_009",Units:["mg/kg","ppm"]},"S-CA-W1:1.05":{Element:"Calcium",ModusTestIDv1:"S-CA-W1:1.05",ModusTestIDv2:"L_MODV2_SOIL_CA_010",Units:["meq/L",null]},"S-CA-W20:1.04":{Element:"Calcium",ModusTestIDv1:"S-CA-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_CA_011",Units:["mg/kg","ppm"]},"S-CA-W5:1.04":{Element:"Calcium",ModusTestIDv1:"S-CA-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_CA_012",Units:["mg/kg","ppm"]},"S-CA-EPA3050.04":{Element:"Calcium",ModusTestIDv1:"S-CA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CA_013",Units:["mg/kg","ppm"]},"S-CA-H3A1.01.04":{Element:"Calcium",ModusTestIDv1:"S-CA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CA_014",Units:["mg/kg","ppm"]},"S-CA-RES.04":{Element:"Calcium",ModusTestIDv1:"S-CA-RES.04",ModusTestIDv2:"L_MODV2_SOIL_CA_016",Units:["mg/kg","ppm"]},"S-CA-LANC.04":{Element:"Calcium",ModusTestIDv1:"S-CA-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_CA_017",Units:["mg/kg","ppm"]},"S-CA-M1.05":{Element:"Calcium",ModusTestIDv1:"S-CA-M1.05",ModusTestIDv2:"L_MODV2_SOIL_CA_018",Units:["mg/kg","ppm"]},"S-CA-M2.05":{Element:"Calcium",ModusTestIDv1:"S-CA-M2.05",ModusTestIDv2:"L_MODV2_SOIL_CA_019",Units:["mg/kg","ppm"]},"S-CA.19":{Element:"Calcium",ModusTestIDv1:"S-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CA_020",Units:["mg/kg","ppm"]},"S-CA-M3.05":{Element:"Calcium",ModusTestIDv1:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021",Units:["mg/kg","ppm"]},"S-CA-MOR.05":{Element:"Calcium",ModusTestIDv1:"S-CA-MOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_023",Units:["mg/kg","ppm"]},"S-CA-MMOR.05":{Element:"Calcium",ModusTestIDv1:"S-CA-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_024",Units:["mg/kg","ppm"]},"S-CA-NA.04":{Element:"Calcium",ModusTestIDv1:"S-CA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CA_025",Units:["%",null]},"S-CA-PRS.04":{Element:"Calcium",ModusTestIDv1:"S-CA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_CA_027",Units:["mg/kg","ppm"]},"S-CA-KCL-01.05":{Element:"Calcium",ModusTestIDv1:"S-CA-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_CA_030",Units:["mg/kg","ppm"]},"S-CA-SP.05":{Element:"Calcium",ModusTestIDv1:"S-CA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_CA_031",Units:["meq/L",null]},"S-CA-TRG.06":{Element:"Calcium",ModusTestIDv1:"S-CA-TRG.06",ModusTestIDv2:"L_MODV2_SOIL_CA_032",Units:["mg/kg","ppm"]},"S-CACO3-AA.02":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3-AA.02",ModusTestIDv2:"L_MODV2_SOIL_CACO3_001",Units:["%",null]},"S-CACO3-OxA.12":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3-OxA.12",ModusTestIDv2:"L_MODV2_SOIL_CACO3_002",Units:["%",null]},"S-CACO3.14":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.14",ModusTestIDv2:"L_MODV2_SOIL_CACO3_003",Units:["%",null]},"S-CACO3.12":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.12",ModusTestIDv2:"L_MODV2_SOIL_CACO3_004",Units:["%",null]},"S-CACO3.15":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.15",ModusTestIDv2:"L_MODV2_SOIL_CACO3_005",Units:["%",null]},"S-C-W-04":{Element:"Carbon",ModusTestIDv1:"S-C-W-04",ModusTestIDv2:"L_MODV2_SOIL_C_001",Units:["mg/kg","ppm"]},"S-TC-COMB.15":{Element:'"carbon, total"',ModusTestIDv1:"S-TC-COMB.15",ModusTestIDv2:"L_MODV2_SOIL_TC_001",Units:["%",null]},"S-CO3-AA.02":{Element:"Carbonate",ModusTestIDv1:"S-CO3-AA.02",ModusTestIDv2:"L_MODV2_SOIL_CO3_001",Units:["%",null]},"S-CO3-W1:1.12":{Element:"Carbonate",ModusTestIDv1:"S-CO3-W1:1.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_002",Units:["meq/L",null]},"S-CO3-SP.19":{Element:"Carbonate",ModusTestIDv1:"S-CO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_CO3_003",Units:["meq/L",null]},"S-CO3-SP.12":{Element:"Carbonate",ModusTestIDv1:"S-CO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_004",Units:["meq/L",null]},"S-CACO3.11":{Element:'"carbonates, qualitative"',ModusTestIDv1:"S-CACO3.11",ModusTestIDv2:"L_MODV2_SOIL_CO3QUAL_001",Units:["none",null]},"S-CEC-AA.23":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_001",Units:["mg/kg","ppm"]},"S-CEC-NH4N.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-NH4N.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_002",Units:["mg/kg","ppm"]},"S-CEC-PWAA.23":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_003",Units:["mg/kg","ppm"]},"S-CEC-BACL2.23":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_005",Units:["cmol/kg","meq/100g"]},"S-CEC-BACLAA.23":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-BACLAA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_006",Units:["cmol/kg","meq/100g"]},"S-CEC-CA.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-CA.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_007",Units:["cmol/kg","meq/100g"]},"S-CEC.19":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008",Units:["cmol/kg","meq/100g"]},"S-CEC-K.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-K.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_009",Units:["cmol/kg","meq/100g"]},"S-CEC-AG-THU.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-AG-THU.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_010",Units:["cmol/kg","meq/100g"]},"S-CEC-NA.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-NA.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_011",Units:["cmol/kg","meq/100g"]},"S-CROSS-W5:1.19":{Element:"cation ratio of structural stability",ModusTestIDv1:"S-CROSS-W5:1.19",ModusTestIDv2:"L_MODV2_SOIL_CROSS_001",Units:["none",null]},"S-C:A.19":{Element:"Cation:Anion Ratio",ModusTestIDv1:"S-C:A.19",ModusTestIDv2:"L_MODV2_SOIL_CATANRATIO_001",Units:[null,null]},"S-CL-HG.01":{Element:"Chloride",ModusTestIDv1:"S-CL-HG.01",ModusTestIDv2:"L_MODV2_SOIL_CL_004",Units:["ppm","mg/kg"]},"S-CL-W1:1.01":{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_CL_005",Units:["mg/kg","ppm"]},"S-CL-W1:1.01.04":{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_006",Units:["meq/L",null]},"S-CL-W1:1.08":{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.08",ModusTestIDv2:"L_MODV2_SOIL_CL_007",Units:["meq/L",null]},"S-CL-W1:1.17":{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.17",ModusTestIDv2:"L_MODV2_SOIL_CL_008",Units:["meq/L",null]},"S-CL-EPA3000.00":{Element:"Chloride",ModusTestIDv1:"S-CL-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_CL_009",Units:["mg/L",null]},"S-CL-SP.01.04":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_010",Units:["meq/L",null]},"S-CL-SP.12.06":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.12.06",ModusTestIDv2:"L_MODV2_SOIL_CL_011",Units:["meq/L",null]},"S-CL-SP.17":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.17",ModusTestIDv2:"L_MODV2_SOIL_CL_012",Units:["meq/L",null]},"S-CL-SP.01":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.01",ModusTestIDv2:"L_MODV2_SOIL_CL_013",Units:["mg/L",null]},"S-CL-SP.02":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.02",ModusTestIDv2:"L_MODV2_SOIL_CL_014",Units:["meq/L",null]},"S-CL-SP.08":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.08",ModusTestIDv2:"L_MODV2_SOIL_CL_015",Units:["meq/L",null]},"S-CL.01.04":{Element:"Chloride",ModusTestIDv1:"S-CL.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_016",Units:["meq/L",null]},"S-CL.12.06":{Element:"Chloride",ModusTestIDv1:"S-CL.12.06",ModusTestIDv2:"L_MODV2_SOIL_CL_017",Units:["meq/L",null]},"S-CL-1:5.02":{Element:"Chloride",ModusTestIDv1:"S-CL-1:5.02",ModusTestIDv2:"L_MODV2_SOIL_CL_018",Units:["meq/L",null]},"S-CL-1:5.17":{Element:"Chloride",ModusTestIDv1:"S-CL-1:5.17",ModusTestIDv2:"L_MODV2_SOIL_CL_019",Units:["meq/L",null]},"S-CL-1:5H2O.01":{Element:"Chloride",ModusTestIDv1:"S-CL-1:5H2O.01",ModusTestIDv2:"L_MODV2_SOIL_CL_020",Units:["meq/L",null]},"S-CR-AR.07":{Element:"Chromium",ModusTestIDv1:"S-CR-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CR_001",Units:["ug/kg","ppb"]},"S-CR-EPA3050.04":{Element:"Chromium",ModusTestIDv1:"S-CR-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CR_002",Units:["mg/kg","ppm"]},"S-CR-EPA6010B.00":{Element:"Chromium",ModusTestIDv1:"S-CR-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CR_005",Units:["mg/kg","ppm"]},"S-CLAY-SV.19":{Element:"Clay",ModusTestIDv1:"S-CLAY-SV.19",ModusTestIDv2:"L_MODV2_SOIL_CLAY_001",Units:["%",null]},"S-CLAY.22":{Element:"Clay",ModusTestIDv1:"S-CLAY.22",ModusTestIDv2:"L_MODV2_SOIL_CLAY_002",Units:["%",null]},"S-CLAY-SED.10":{Element:"Clay",ModusTestIDv1:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003",Units:["%",null]},"S-CLAY-SED.11,S-CLAY-ST-OT":{Element:"Clay",ModusTestIDv1:"S-CLAY-SED.11,S-CLAY-ST-OT",ModusTestIDv2:"L_MODV2_SOIL_CLAY_004",Units:["%",null]},"S-CO2-RESP.01":{Element:"CO2 Respiration",ModusTestIDv1:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001",Units:["%",null]},"S-CO-AR.07":{Element:"Cobalt",ModusTestIDv1:"S-CO-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CO_001",Units:["ug/kg","ppb"]},"S-CO-DTPA.04":{Element:"Cobalt",ModusTestIDv1:"S-CO-DTPA.04",ModusTestIDv2:"L_MODV2_SOIL_CO_003",Units:["mg/kg","ppm"]},"S-CO-EPA2007.00":{Element:"Cobalt",ModusTestIDv1:"S-CO-EPA2007.00",ModusTestIDv2:"L_MODV2_SOIL_CO_004",Units:["mg/L",null]},"S-CO-EPA3050.04":{Element:"Cobalt",ModusTestIDv1:"S-CO-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CO_005",Units:["mg/kg","ppm"]},"S-CO-M3.04":{Element:"Cobalt",ModusTestIDv1:"S-CO-M3.04",ModusTestIDv2:"L_MODV2_SOIL_CO_006",Units:["mg/kg","ppm"]},"S-Color.24":{Element:"Color",ModusTestIDv1:"S-Color.24",ModusTestIDv2:"L_MODV2_SOIL_COLOR_001",Units:["none",null]},"S-CU-DTPA.05":{Element:"Copper",ModusTestIDv1:"S-CU-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_002",Units:["mg/kg","ppm"]},"S-CU-DTPA-SORB.05":{Element:"Copper",ModusTestIDv1:"S-CU-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_CU_003",Units:["mg/kg","ppm"]},"S-CU-EDTA.05":{Element:"Copper",ModusTestIDv1:"S-CU-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_004",Units:["mg/kg","ppm"]},"S-CU-EPA3050.04":{Element:"Copper",ModusTestIDv1:"S-CU-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CU_005",Units:["mg/kg","ppm"]},"S-CU-EPA6010B.00":{Element:"Copper",ModusTestIDv1:"S-CU-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CU_008",Units:["mg/kg",null]},"S-CU-H3A1.01.04":{Element:"Copper",ModusTestIDv1:"S-CU-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CU_009",Units:["mg/kg","ppm"]},"S-CU-HCL.05":{Element:"Copper",ModusTestIDv1:"S-CU-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_CU_010",Units:["mg/kg","ppm"]},"S-CU-RES.04":{Element:"Copper",ModusTestIDv1:"S-CU-RES.04",ModusTestIDv2:"L_MODV2_SOIL_CU_011",Units:["mg/kg","ppm"]},"S-CU-M1.05":{Element:"Copper",ModusTestIDv1:"S-CU-M1.05",ModusTestIDv2:"L_MODV2_SOIL_CU_012",Units:["mg/kg","ppm"]},"S-CU-M2.05":{Element:"Copper",ModusTestIDv1:"S-CU-M2.05",ModusTestIDv2:"L_MODV2_SOIL_CU_013",Units:["mg/kg","ppm"]},"S-CU-M3.05":{Element:"Copper",ModusTestIDv1:"S-CU-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CU_014",Units:["mg/kg","ppm"]},"S-CU-NA.04":{Element:"Copper",ModusTestIDv1:"S-CU-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CU_018",Units:["ppm",null]},"S-CU-SP.04":{Element:"Copper",ModusTestIDv1:"S-CU-SP.04",ModusTestIDv2:"L_MODV2_SOIL_CU_022",Units:["mg/kg","ppm"]},"S-CU-NCINDX":{Element:"Copper Index",ModusTestIDv1:"S-CU-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_CUINDEX_001",Units:["none",null]},"S-DM.15":{Element:"Deleterious material",ModusTestIDv1:"S-DM.15",ModusTestIDv2:"L_MODV2_SOIL_DM_001",Units:["%",null]},"S-DI.24":{Element:"Dispersion Index",ModusTestIDv1:"S-DI.24",ModusTestIDv2:"L_MODV2_SOIL_DINDEX_001",Units:["none",null]},"S-EC-1:1.03":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001",Units:["dS/m","mmho/cm"]},"S-EC-1:2.03":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:2.03",ModusTestIDv2:"L_MODV2_SOIL_EC_002",Units:["dS/m","mmho/cm"]},"S-EC-1:5.03":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:5.03",ModusTestIDv2:"L_MODV2_SOIL_EC_003",Units:["dS/m","mmho/cm"]},"S-EC-SP.03":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-SP.03",ModusTestIDv2:"L_MODV2_SOIL_EC_004",Units:["dS/m","mmho/cm"]},"S-EC.CALC.19":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC.CALC.19",ModusTestIDv2:"L_MODV2_SOIL_EC_005",Units:["dS/m",null]},"S-ESI.19":{Element:"Electrochemical Stability Index",ModusTestIDv1:"S-ESI.19",ModusTestIDv2:"L_MODV2_SOIL_ESI_001",Units:["none",null]},"S-EMERSON.19":{Element:"Emerson Class",ModusTestIDv1:"S-EMERSON.19",ModusTestIDv2:"L_MODV2_SOIL_EMERSON_001",Units:["none",null]},"S-ENR.19":{Element:"Estimated Nitrogen Release",ModusTestIDv1:"S-ENR.19",ModusTestIDv2:"L_MODV2_SOIL_ENR_001",Units:["lb/ac","kg/ha"]},"S-AC-KCL.12":{Element:"Exchangeable Acidity",ModusTestIDv1:"S-AC-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_XACIDT_001",Units:["cmol/kg","meq/100 g"]},"S-EAL-KCL.19":{Element:"Exchangeable Aluminum",ModusTestIDv1:"S-EAL-KCL.19",ModusTestIDv2:"L_MODV2_SOIL_XAL_001",Units:["%",null]},"S-ECAP.19":{Element:"Exchangeable Calcium Percentage",ModusTestIDv1:"S-ECAP.19",ModusTestIDv2:"L_MODV2_SOIL_XCAP_001",Units:["%",null]},"S-EH-KCL.12":{Element:"Exchangeable Hydrogen",ModusTestIDv1:"S-EH-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_XH_001",Units:["meq/100 g","cmol/kg"]},"S-EHP.19":{Element:"Exchangeable Hydrogen Percentage",ModusTestIDv1:"S-EHP.19",ModusTestIDv2:"L_MODV2_SOIL_XHP_001",Units:["%",null]},"S-EMGP.19":{Element:"Exchangeable Magnesium Percentage",ModusTestIDv1:"S-EMGP.19",ModusTestIDv2:"L_MODV2_SOIL_XMGP_001",Units:["%",null]},"S-EKP.19":{Element:"Exchangeable Potassium Percentage",ModusTestIDv1:"S-EKP.19",ModusTestIDv2:"L_MODV2_SOIL_XKP_001",Units:["%",null]},"S-ESP.19":{Element:"Exchangeable Sodium Percentage",ModusTestIDv1:"S-ESP.19",ModusTestIDv2:"L_MODV2_SOIL_XNAP_001",Units:["%",null]},"S-F-EPA3000.00":{Element:"Fluoride",ModusTestIDv1:"S-F-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_F_001",Units:["mg/L",null]},"S-GTRI-PWAA.19":{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_001",Units:["none",null]},"S-GTRI-AA.19":{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-AA.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_002",Units:["none",null]},"S-GTRI-BACL2.19":{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_003",Units:["none",null]},"S-GRAVEL.19":{Element:"Gravel",ModusTestIDv1:"S-GRAVEL.19",ModusTestIDv2:"L_MODV2_SOIL_GRAVEL_001",Units:["%",null]},"S-GYPR.19":{Element:"Gypsum Recommendation",ModusTestIDv1:"S-GYPR.19",ModusTestIDv2:"L_MODV2_SOIL_GYPREC_001",Units:["tons/ac",null]},"S-HEAL-SMP.19":{Element:"H+EAlP",ModusTestIDv1:"S-HEAL-SMP.19",ModusTestIDv2:"L_MODV2_SOIL_HEAL_001",Units:["none",null]},"S-HA-FSPA.01":{Element:"Humic Matter",ModusTestIDv1:"S-HA-FSPA.01",ModusTestIDv2:"L_MODV2_SOIL_HM_001",Units:["%",null]},"S.HM-NaOH":{Element:"Humic Matter",ModusTestIDv1:"S.HM-NaOH",ModusTestIDv2:"L_MODV2_SOIL_HM_002",Units:["%",null]},"S-H+AL-SMP.02":{Element:"Hydrogen+Aluminum",ModusTestIDv1:"S-H+AL-SMP.02",ModusTestIDv2:"L_MODV2_SOIL_HAL_001",Units:["meq/100 g",null]},"S-OH-SM2320B18.12":{Element:"Hydroxide",ModusTestIDv1:"S-OH-SM2320B18.12",ModusTestIDv2:"L_MODV2_SOIL_OH_001",Units:["mg/L",null]},"S-FE-OX.23":{Element:"Iron",ModusTestIDv1:"S-FE-OX.23",ModusTestIDv2:"L_MODV2_SOIL_FE_001",Units:["mg/kg","ppm"]},"S-FE-DTPA.05":{Element:"Iron",ModusTestIDv1:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003",Units:["mg/kg","ppm"]},"S-FE-DTPA-SORB.05":{Element:"Iron",ModusTestIDv1:"S-FE-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_FE_004",Units:["mg/kg","ppm"]},"S-FE-EDTA.05":{Element:"Iron",ModusTestIDv1:"S-FE-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_005",Units:["mg/kg","ppm"]},"S-FE-EPA6010B.00":{Element:"Iron",ModusTestIDv1:"S-FE-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_FE_006",Units:["mg/kg","ppm"]},"S-FE-EPA3050.04":{Element:"Iron",ModusTestIDv1:"S-FE-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_FE_007",Units:["mg/kg","ppm"]},"S-FE-H3A.04":{Element:"Iron",ModusTestIDv1:"S-FE-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_FE_010",Units:["mg/kg","ppm"]},"S-FE-HCL.05":{Element:"Iron",ModusTestIDv1:"S-FE-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_FE_011",Units:["mg/kg","ppm"]},"S-FE-RES.04":{Element:"Iron",ModusTestIDv1:"S-FE-RES.04",ModusTestIDv2:"L_MODV2_SOIL_FE_012",Units:["mg/kg","ppm"]},"S-FE-M1.05":{Element:"Iron",ModusTestIDv1:"S-FE-M1.05",ModusTestIDv2:"L_MODV2_SOIL_FE_013",Units:["mg/kg","ppm"]},"S-FE-M2.05":{Element:"Iron",ModusTestIDv1:"S-FE-M2.05",ModusTestIDv2:"L_MODV2_SOIL_FE_014",Units:["mg/kg","ppm"]},"S-FE-M3.05":{Element:"Iron",ModusTestIDv1:"S-FE-M3.05",ModusTestIDv2:"L_MODV2_SOIL_FE_015",Units:["mg/kg","ppm"]},"S-FE-NA.04":{Element:"Iron",ModusTestIDv1:"S-FE-NA.04",ModusTestIDv2:"L_MODV2_SOIL_FE_017",Units:["ppm",null]},"S-FE-SP.04":{Element:"Iron",ModusTestIDv1:"S-FE-SP.04",ModusTestIDv2:"L_MODV2_SOIL_FE_021",Units:["mg/L",null]},"S-K:B.19":{Element:"K:B ratio",ModusTestIDv1:"S-K:B.19",ModusTestIDv2:"L_MODV2_SOIL_KBRATIO_001",Units:["none","ppm"]},"S-K:B-M3.19":{Element:"K:B ratio",ModusTestIDv1:"S-K:B-M3.19",ModusTestIDv2:"L_MODV2_SOIL_KBRATIO_002",Units:["none",null]},"S-K:MG-PWAA.19":{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_001",Units:["none",null]},"S-K:MG-AA.19":{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-AA.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_002",Units:["none",null]},"S-K:MG-BACL2.19":{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_003",Units:["none",null]},"S-K:MG.19":{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_004",Units:["none",null]},"S-K:Na-M3.19":{Element:"K:Na ratio",ModusTestIDv1:"S-K:Na-M3.19",ModusTestIDv2:"L_MODV2_SOIL_KNARATIO_001",Units:["none",null]},"S-K:Na.19":{Element:"K:Na ratio",ModusTestIDv1:"S-K:Na.19",ModusTestIDv2:"L_MODV2_SOIL_KNARATIO_002",Units:["none","ppm"]},"S-PB-AR.07":{Element:"Lead",ModusTestIDv1:"S-PB-AR.07",ModusTestIDv2:"L_MODV2_SOIL_PB_001",Units:["ug/kg","ppb"]},"S-PB-EPA6010B.00":{Element:"Lead",ModusTestIDv1:"S-PB-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_PB_002",Units:["mg/kg","ppm"]},"S-PB-EPA3050.04":{Element:"Lead",ModusTestIDv1:"S-PB-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_PB_003",Units:["mg/kg","ppm"]},"S-LIME-INDX.19":{Element:"Lime Index",ModusTestIDv1:"S-LIME-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_LINDEX_001",Units:["none",null]},"S-LR-AEB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-AEB",ModusTestIDv2:"L_MODV2_SOIL_LREC_001",Units:["tons/ac","kg/ha"]},"S-LR-MAEB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MAEB",ModusTestIDv2:"L_MODV2_SOIL_LREC_002",Units:["tons/ac","kg/ha"]},"S-LR-MB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MB",ModusTestIDv2:"L_MODV2_SOIL_LREC_003",Units:["tons/ac","kg/ha"]},"S-LR-MWB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MWB",ModusTestIDv2:"L_MODV2_SOIL_LREC_004",Units:["tons/ac","kg/ha"]},"S-LR-SIK1":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SIK1",ModusTestIDv2:"L_MODV2_SOIL_LREC_005",Units:["tons/ac","kg/ha"]},"S-LR-SIK2":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SIK2",ModusTestIDv2:"L_MODV2_SOIL_LREC_006",Units:["tons/ac","kg/ha"]},"S-LR-SMP":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SMP",ModusTestIDv2:"L_MODV2_SOIL_LREC_007",Units:["tons/ac","kg/ha"]},"S-LR-TA":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-TA",ModusTestIDv2:"L_MODV2_SOIL_LREC_008",Units:["tons/ac","kg/ha"]},"S-LR-WB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-WB",ModusTestIDv2:"L_MODV2_SOIL_LREC_009",Units:["tons/ac","kg/ha"]},"S-LI-EPA3050.04":{Element:"Lithium",ModusTestIDv1:"S-LI-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_LI_001",Units:["mg/kg","ppm"]},"S-MG-PWAA.23":{Element:"Magnesium",ModusTestIDv1:"S-MG-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_MG_001",Units:["cmol/kg","%"]},"S-MG-NH4AC.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_MG_002",Units:["mg/kg","ppm"]},"S-MG-NH4CL.23":{Element:"Magnesium",ModusTestIDv1:"S-MG-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_MG_003",Units:["cmol/kg","meq/100g"]},"S-MG-PNA4CL.23":{Element:"Magnesium",ModusTestIDv1:"S-MG-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_MG_004",Units:["cmol/kg","meq/100g"]},"S-MG-BACL2.23":{Element:"Magnesium",ModusTestIDv1:"S-MG-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_MG_005",Units:["cmol/kg","meq/100g"]},"S-MG.19":{Element:"Magnesium",ModusTestIDv1:"S-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MG_007",Units:["mg/kg","ppm"]},"S-MG-W1:1.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-W1:1.05",ModusTestIDv2:"L_MODV2_SOIL_MG_008",Units:["meq/L",null]},"S-MG-W20:1.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_MG_009",Units:["mg/kg","ppm"]},"S-MG-W5:1.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_MG_010",Units:["mg/kg","ppm"]},"S-MG-EPA6010B.00":{Element:"Magnesium",ModusTestIDv1:"S-MG-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_MG_011",Units:["mg/kg","ppm"]},"S-MG-EPA3050.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_MG_012",Units:["mg/kg","ppm"]},"S-MG-H3A1.01.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_MG_015",Units:["mg/kg","ppm"]},"S-MG-RES.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MG_017",Units:["mg/kg","ppm"]},"S-MG-LANC.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_MG_018",Units:["mg/kg","ppm"]},"S-MG-M1.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MG_019",Units:["mg/kg","ppm"]},"S-MG-M2.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MG_020",Units:["mg/kg","ppm"]},"S-MG-M3.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022",Units:["mg/kg","ppm"]},"S-MG-MOR.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-MOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_023",Units:["mg/kg","ppm"]},"S-MG-MMOR.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_024",Units:["mg/kg","ppm"]},"S-MG-NA.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MG_025",Units:["%",null]},"S-MG-PRS.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MG_028",Units:["mg/kg","ppm"]},"S-MG-KCL-01.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_MG_029",Units:["mg/kg","ppm"]},"S-MG-SP.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-SP.05",ModusTestIDv2:"L_MODV2_SOIL_MG_030",Units:["meq/L",null]},"S-MG-TRG.06":{Element:"Magnesium",ModusTestIDv1:"S-MG-TRG.06",ModusTestIDv2:"L_MODV2_SOIL_MG_031",Units:["mg/kg","ppm"]},"S-MG-INDX.19":{Element:"Magnesium Index",ModusTestIDv1:"S-MG-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_MGINDEX_001",Units:["none",null]},"S-MN-DTPA.05":{Element:"Manganese",ModusTestIDv1:"S-MN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_002",Units:["mg/kg","ppm"]},"S-MN-DTPA-SORB.05":{Element:"Manganese",ModusTestIDv1:"S-MN-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_MN_003",Units:["mg/kg","ppm"]},"S-MN-EDTA.05":{Element:"Manganese",ModusTestIDv1:"S-MN-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_004",Units:["mg/kg","ppm"]},"S-MN-EPA6010B.00":{Element:"Manganese",ModusTestIDv1:"S-MN-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_MN_005",Units:["mg/kg","ppm"]},"S-MN-HCL.05":{Element:"Manganese",ModusTestIDv1:"S-MN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_MN_009",Units:["mg/kg","ppm"]},"S-MN-RES.04":{Element:"Manganese",ModusTestIDv1:"S-MN-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MN_010",Units:["mg/kg","ppm"]},"S-MN-LANC.04":{Element:"Manganese",ModusTestIDv1:"S-MN-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_MN_011",Units:["mg/kg","ppm"]},"S-MN-M1.05":{Element:"Manganese",ModusTestIDv1:"S-MN-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MN_012",Units:["mg/kg","ppm"]},"S-MN-M2.05":{Element:"Manganese",ModusTestIDv1:"S-MN-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MN_013",Units:["mg/kg","ppm"]},"S-MN-M3.05":{Element:"Manganese",ModusTestIDv1:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015",Units:["mg/kg","ppm"]},"S-MN-NA.04":{Element:"Manganese",ModusTestIDv1:"S-MN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MN_018",Units:["ppm",null]},"S-MN-PHOS.05":{Element:"Manganese",ModusTestIDv1:"S-MN-PHOS.05",ModusTestIDv2:"L_MODV2_SOIL_MN_019",Units:["mg/kg","ppm"]},"S-MN-SP.04":{Element:"Manganese",ModusTestIDv1:"S-MN-SP.04",ModusTestIDv2:"L_MODV2_SOIL_MN_024",Units:["mg/L",null]},"S-MN-NCINDX":{Element:"Manganese Index",ModusTestIDv1:"S-MN-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_MNINDEX_001",Units:["none",null]},"S-HG-EPA3050.04":{Element:"Mercury",ModusTestIDv1:"S-HG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_HG_001",Units:["mg/kg","ppm"]},"S-MG:K.19":{Element:"Mg:K ratio",ModusTestIDv1:"S-MG:K.19",ModusTestIDv2:"L_MODV2_SOIL_MGKRATIO_001",Units:["none",null]},"S-Mn:Cu-M3.19":{Element:"Mn:Cu ratio",ModusTestIDv1:"S-Mn:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_MNCURATIO_001",Units:["none",null]},"S-Mn:Cu.19":{Element:"Mn:Cu ratio",ModusTestIDv1:"S-Mn:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_MNCURATIO_002",Units:["none","ppm"]},"S-Mn:Zn-M3.19":{Element:"Mn:Zn ratio",ModusTestIDv1:"S-Mn:Zn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_MNZNRATIO_001",Units:["none",null]},"S-Mn:Zn.19":{Element:"Mn:Zn ratio",ModusTestIDv1:"S-Mn:Zn.19",ModusTestIDv2:"L_MODV2_SOIL_MNZNRATIO_002",Units:["none","ppm"]},"S-AW.14":{Element:"moisture content",ModusTestIDv1:"S-AW.14",ModusTestIDv2:"L_MODV2_SOIL_GAWC_001",Units:["%","in/ft"]},"S-MOIST-GRAV.00":{Element:"moisture content",ModusTestIDv1:"S-MOIST-GRAV.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_001",Units:["%",null]},"S-MOIST-SP.00":{Element:"moisture content",ModusTestIDv1:"S-MOIST-SP.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_002",Units:["%",null]},"S-0.3BAR.14":{Element:"moisture content",ModusTestIDv1:"S-0.3BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_03BAR_001",Units:["%","in/ft"]},"S-15BAR.14":{Element:"moisture content",ModusTestIDv1:"S-15BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_15BAR_001",Units:["%","in/ft"]},"S-MO-OA.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-OA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_002",Units:["mg/kg","ppm"]},"S-MO-AR.07":{Element:"Molybdenum",ModusTestIDv1:"S-MO-AR.07",ModusTestIDv2:"L_MODV2_SOIL_MO_003",Units:["ug/kg","ppb"]},"S-MO-CACL2.23":{Element:"Molybdenum",ModusTestIDv1:"S-MO-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_MO_005",Units:["mg/kg","ppm"]},"S-MO-EPA3050.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_MO_006",Units:["mg/kg","ppm"]},"S-MO-RES.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MO_010",Units:["mg/kg","ppm"]},"S-MO-M1.05":{Element:"Molybdenum",ModusTestIDv1:"S-MO-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MO_011",Units:["mg/kg","ppm"]},"S-MO-M2.05":{Element:"Molybdenum",ModusTestIDv1:"S-MO-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MO_012",Units:["mg/kg","ppm"]},"S-MO-M3.05":{Element:"Molybdenum",ModusTestIDv1:"S-MO-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MO_014",Units:["mg/kg","ppm"]},"S-MO-NA.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_015",Units:["ppm",null]},"S-MO-PRS.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MO_020",Units:["mg/kg","ppm"]},"S-MO-SP.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-SP.04",ModusTestIDv2:"L_MODV2_SOIL_MO_021",Units:["mg/L",null]},"S-MO-HOTH2O.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-HOTH2O.04",ModusTestIDv2:"L_MODV2_SOIL_MO_022",Units:["mg/kg","ppm"]},"S-NI-EPA6010B.00":{Element:"Nickel",ModusTestIDv1:"S-NI-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_NI_001",Units:["mg/kg","ppm"]},"S-NI-EPA3050.04":{Element:"Nickel",ModusTestIDv1:"S-NI-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_NI_002",Units:["mg/kg","ppm"]},"S-NO3N-ALSO4B.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-ALSO4B.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_001",Units:["mg/kg","ppm"]},"S-NO3-CTA.01.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-CTA.01.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_004",Units:["mg/kg","ppm"]},"S-NO3-W1:1.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-W1:1.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_005",Units:["meq/L",null]},"S-NO3N-EPA3000.00":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_NO3N_006",Units:["mg/L",null]},"S-NO3N-EPA3532.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-EPA3532.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_007",Units:["mg/kg",null]},"S-NO3-H3A1.01.05":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",Units:["mg/kg","ppm"]},"S-NO3-RES.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-RES.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_009",Units:["mg/kg","ppm"]},"S-NO3-1:5.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_010",Units:["mg/kg","ppm"]},"S-NO3-1:5.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_011",Units:["mg/kg","ppm"]},"S-NO3-1:5.09":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.09",ModusTestIDv2:"L_MODV2_SOIL_NO3N_012",Units:["mg/kg","ppm"]},"S-NO3-KCL.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-KCL.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_013",Units:["mg/kg","ppm"]},"S-NO3N.2KCL.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N.2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_014",Units:["mg/kg","ppm"]},"S-NO3N-05KCL.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-05KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_015",Units:["mg/kg","ppm"]},"S-NO3-5K2SO4.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-5K2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_016",Units:["mg/kg","ppm"]},"S-NO3N-SP.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-SP.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_017",Units:["mg/kg","ppm"]},"S-NO3-SP.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_018",Units:["meq/L",null]},"S-NO3-SP.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_019",Units:["meq/L",null]},"S-NO3-SP.02.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.02.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_020",Units:["meq/L",null]},"S-NO3-BIC.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-BIC.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_021",Units:["mg/kg","ppm"]},"S-NO2-KCL.01":{Element:"Nitrite-Nitrogen",ModusTestIDv1:"S-NO2-KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO2N_001",Units:["mg/kg","ppm"]},"S-TKN.01":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.01",ModusTestIDv2:"L_MODV2_SOIL_TKN_001",Units:["%",null]},"S-TKN.01.05":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.01.05",ModusTestIDv2:"L_MODV2_SOIL_TKN_002",Units:["%",null]},"S-TKN.09":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.09",ModusTestIDv2:"L_MODV2_SOIL_TKN_003",Units:["%",null]},"S-TKN.18":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.18",ModusTestIDv2:"L_MODV2_SOIL_TKN_004",Units:["%",null]},"S-TN.01.05":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.01.05",ModusTestIDv2:"L_MODV2_SOIL_TKN_005",Units:["%",null]},"S-TN.09":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.09",ModusTestIDv2:"L_MODV2_SOIL_TKN_006",Units:["%",null]},"S-TN.18":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.18",ModusTestIDv2:"L_MODV2_SOIL_TKN_007",Units:["%",null]},"S-TKN.19":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.19",ModusTestIDv2:"L_MODV2_SOIL_TN_001",Units:["%",null]},"S-TN.16":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002",Units:["%",null]},"S-TN-W.01":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN-W.01",ModusTestIDv2:"L_MODV2_SOIL_TN_003",Units:[null,null]},"S-TN-RES.01":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN-RES.01",ModusTestIDv2:"L_MODV2_SOIL_TN_004",Units:["lb/ac/day","kg/ha/day"]},"S-TIN.19":{Element:'"Nitrogen, Total Inorganic"',ModusTestIDv1:"S-TIN.19",ModusTestIDv2:"L_MODV2_SOIL_TIN_001",Units:["mg/kg","ppm"]},"S-XX.00":{Element:"Null",ModusTestIDv1:"S-XX.00",ModusTestIDv2:"L_MODV2_SOIL_NULL_001",Units:["none",null]},"S-TOC.16":{Element:"Organic Carbon",ModusTestIDv1:"S-TOC.16",ModusTestIDv2:"L_MODV2_SOIL_OC_001",Units:["%",null]},"S-OC-WB.01":{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.01",ModusTestIDv2:"L_MODV2_SOIL_OC_003",Units:["%",null]},"S-OC-WB.12":{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.12",ModusTestIDv2:"L_MODV2_SOIL_OC_004",Units:["%",null]},"S-TOC-W1:10.16":{Element:"Organic Carbon",ModusTestIDv1:"S-TOC-W1:10.16",ModusTestIDv2:"L_MODV2_SOIL_OC_005",Units:["mg/kg","ppm"]},"S-TOC.12.09":{Element:'"Organic Carbon, Total"',ModusTestIDv1:"S-TOC.12.09",ModusTestIDv2:"L_MODV2_SOIL_TOC_001",Units:["%","g/kg"]},"S-OM.19":{Element:"Organic Matter",ModusTestIDv1:"S-OM.19",ModusTestIDv2:"L_MODV2_SOIL_OM_001",Units:["%",null]},"S-SOM-Color.19":{Element:"Organic Matter",ModusTestIDv1:"S-SOM-Color.19",ModusTestIDv2:"L_MODV2_SOIL_OM_002",Units:["%",null]},"S-OM-DUMAS.16":{Element:"Organic Matter",ModusTestIDv1:"S-OM-DUMAS.16",ModusTestIDv2:"L_MODV2_SOIL_OM_003",Units:["%",null]},"S-SOM-LOI.15":{Element:"Organic Matter",ModusTestIDv1:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",Units:["%",null]},"S-SOM-WB.01.09":{Element:"Organic Matter",ModusTestIDv1:"S-SOM-WB.01.09",ModusTestIDv2:"L_MODV2_SOIL_OM_005",Units:["%",null]},"S-SOM-WB.12.09":{Element:"Organic Matter",ModusTestIDv1:"S-SOM-WB.12.09",ModusTestIDv2:"L_MODV2_SOIL_OM_006",Units:["%",null]},"S-ON.19":{Element:"Organic Nitrogen",ModusTestIDv1:"S-ON.19",ModusTestIDv2:"L_MODV2_SOIL_ON_001",Units:["mg/L",null]},"S-OTHER.19":{Element:"Other",ModusTestIDv1:"S-OTHER.19",ModusTestIDv2:"L_MODV2_SOIL_OTHER_001",Units:["none",null]},"S-P:Cu-M3.19":{Element:"P:Cu ratio",ModusTestIDv1:"S-P:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PCURATIO_001",Units:["none",null]},"S-P:Cu.19":{Element:"P:Cu ratio",ModusTestIDv1:"S-P:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_PCURATIO_002",Units:["none","ppm"]},"S-P:Mn-M3.19":{Element:"P:Mn ratio",ModusTestIDv1:"S-P:Mn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PMNRATIO_001",Units:["none",null]},"S-P:Mn.19":{Element:"P:Mn ratio",ModusTestIDv1:"S-P:Mn.19",ModusTestIDv2:"L_MODV2_SOIL_PMNRATIO_002",Units:["none","ppm"]},"S-P:S-M3.19":{Element:"P:S ratio",ModusTestIDv1:"S-P:S-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PSRATIO_001",Units:["none",null]},"S-P:S.19":{Element:"P:S ratio",ModusTestIDv1:"S-P:S.19",ModusTestIDv2:"L_MODV2_SOIL_PSRATIO_002",Units:["none","ppm"]},"S-P:Zn-M3.19":{Element:"P:Zn ratio",ModusTestIDv1:"S-P:Zn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PZNRATIO_001",Units:["none",null]},"S-P:Zn.19":{Element:"P:Zn ratio",ModusTestIDv1:"S-P:Zn.19",ModusTestIDv2:"L_MODV2_SOIL_PZNRATIO_002",Units:["none","ppm"]},"S-AC-KMNO4.01":{Element:"permanganate-oxidizable carbon (POXC)",ModusTestIDv1:"S-AC-KMNO4.01",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_001",Units:["mg/kg","ppm"]},"S-PH-1:1.02.08":{Element:"pH",ModusTestIDv1:"S-PH-1:1.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_002",Units:["standard pH unit",null]},"S-PH-1:2.02.08":{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_004",Units:["standard pH unit",null]},"S-PH-1:1.02.07":{Element:"pH",ModusTestIDv1:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005",Units:["standard pH unit",null]},"S-PH-1:2.02.07":{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_006",Units:["standard pH unit",null]},"S-PH-1:2.5.02.07":{Element:"pH",ModusTestIDv1:"S-PH-1:2.5.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_007",Units:["standard pH unit",null]},"S-pH-1:5H2O.02":{Element:"pH",ModusTestIDv1:"S-pH-1:5H2O.02",ModusTestIDv2:"L_MODV2_SOIL_PH_008",Units:["standard pH unit",null]},"S-PH-1:1KCL.02":{Element:"pH",ModusTestIDv1:"S-PH-1:1KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_010",Units:["standard pH unit",null]},"S-PH-1:5.02.08":{Element:"pH",ModusTestIDv1:"S-PH-1:5.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_011",Units:["standard pH unit",null]},"S-pH-1:5KCL.02":{Element:"pH",ModusTestIDv1:"S-pH-1:5KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_012",Units:["standard pH unit",null]},"S-PH-SP.02":{Element:"pH",ModusTestIDv1:"S-PH-SP.02",ModusTestIDv2:"L_MODV2_SOIL_PH_013",Units:["standard pH unit",null]},"S-P-AA-NH4AC.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-AA-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_P_001",Units:["mg/kg","ppm"]},"S-P-AR.23":{Element:"Phosphorus",ModusTestIDv1:"S-P-AR.23",ModusTestIDv2:"L_MODV2_SOIL_P_003",Units:["mg/kg","ppm"]},"S-P-B1-1:10.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",Units:["mg/kg","ppm"]},"S-P-B1-1:7.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-B1-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_005",Units:["mg/kg","ppm"]},"S-P-B2-1:10.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_006",Units:["mg/kg","ppm"]},"S-P-B2-1:7.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-B2-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_007",Units:["mg/kg","ppm"]},"S-P-BK.23":{Element:"Phosphorus",ModusTestIDv1:"S-P-BK.23",ModusTestIDv2:"L_MODV2_SOIL_P_008",Units:["mg/kg","ppm"]},"S-P-LACTATE.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-LACTATE.01",ModusTestIDv2:"L_MODV2_SOIL_P_009",Units:["mg/kg","ppm"]},"S-P-CACL2.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_P_010",Units:["mg/kg","ppm"]},"S-P-M3BRAYP1.19":{Element:"Phosphorus",ModusTestIDv1:"S-P-M3BRAYP1.19",ModusTestIDv2:"L_MODV2_SOIL_P_011",Units:["mg/kg","ppm"]},"S-P-CALD.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-CALD.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_013",Units:["mg/kg","ppm"]},"S-P-W1:1.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_P_014",Units:["mg/kg","ppm"]},"S-P-W1:5.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-W1:5.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_015",Units:["mg/kg","ppm"]},"S-P-W10:1.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-W10:1.04",ModusTestIDv2:"L_MODV2_SOIL_P_016",Units:["mg/kg","ppm"]},"S-P-W20:1.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_P_017",Units:["mg/kg","ppm"]},"S-P-DGT.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-DGT.01",ModusTestIDv2:"L_MODV2_SOIL_P_018",Units:["mg/kg","ppm"]},"S-P-EPA3050.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_P_019",Units:["mg/kg","ppm"]},"S-P-H3A1.01.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_P_020",Units:["mg/kg","ppm"]},"S-P-RES.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-RES.01",ModusTestIDv2:"L_MODV2_SOIL_P_021",Units:["mg/kg","ppm"]},"S-P-RES.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-RES.04",ModusTestIDv2:"L_MODV2_SOIL_P_022",Units:["mg/kg","ppm"]},"S-P-KEL.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-KEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_023",Units:["mg/kg","ppm"]},"S-P-MKEL.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-MKEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_024",Units:["mg/kg","ppm"]},"S-P-LANC.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_P_025",Units:["mg/kg","ppm"]},"S-P-M1.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-M1.04",ModusTestIDv2:"L_MODV2_SOIL_P_027",Units:["mg/kg","ppm"]},"S-P-M2.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-M2.04",ModusTestIDv2:"L_MODV2_SOIL_P_029",Units:["mg/kg","ppm"]},"S-P-M3.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_032",Units:["mg/kg","ppm"]},"S-P-M3.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-M3.04",ModusTestIDv2:"L_MODV2_SOIL_P_033",Units:["mg/kg","ppm"]},"S-P-MOR.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-MOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_035",Units:["mg/kg","ppm"]},"S-P-MMOR.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_037",Units:["mg/kg","ppm"]},"S-P-NA.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-NA.04",ModusTestIDv2:"L_MODV2_SOIL_P_038",Units:["%",null]},"S-P-PRS.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_P_042",Units:["mg/m2",null]},"S-P-SP.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-SP.04",ModusTestIDv2:"L_MODV2_SOIL_P_044",Units:["mg/L",null]},"S-P-BIC.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_045",Units:["mg/kg","ppm"]},"S-P-H2SO4.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_P_046",Units:["mg/kg","ppm"]},"S-P-TRG.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-TRG.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_047",Units:["mg/kg","ppm"]},"S-PBI.19":{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_001",Units:["mg/kg","ppm"]},"S-PBI-BIC.19":{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-BIC.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_002",Units:["mg/kg","ppm"]},"S-PBI-COL.19":{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-COL.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_003",Units:["mg/kg","ppm"]},"S-PBI-CACL2.01":{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_004",Units:["mg/kg","ppm"]},"S-PERI.19":{Element:"Phosphorus Environmental Risk Index",ModusTestIDv1:"S-PERI.19",ModusTestIDv2:"L_MODV2_SOIL_PERINDEX_001",Units:["mg/kg","ppm"]},"S-PFF-M3.04":{Element:"Phosphorus Fixation Factor",ModusTestIDv1:"S-PFF-M3.04",ModusTestIDv2:"L_MODV2_SOIL_PFF_001",Units:["mg/kg","ppm"]},"S-P-INDX":{Element:"Phosphorus Index",ModusTestIDv1:"S-P-INDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_001",Units:["mg/kg","ppm"]},"S-P-INDX.19":{Element:"Phosphorus Index",ModusTestIDv1:"S-P-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_002",Units:["mg/kg","ppm"]},"S-P-NCINDX":{Element:"Phosphorus Index",ModusTestIDv1:"S-P-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_003",Units:["mg/kg","ppm"]},"S-PR-M3.23":{Element:"Phosphorus Ratio",ModusTestIDv1:"S-PR-M3.23",ModusTestIDv2:"L_MODV2_SOIL_PRATIO_001",Units:["none",null]},"S-PRI-KCL.01":{Element:"Phosphorus Retention Index",ModusTestIDv1:"S-PRI-KCL.01",ModusTestIDv2:"L_MODV2_SOIL_PRI_001",Units:["mg/kg","ppm"]},"S-PSI.M3.19":{Element:"Phosphorus Saturation Index",ModusTestIDv1:"S-PSI.M3.19",ModusTestIDv2:"L_MODV2_SOIL_PSINDEX_001",Units:["mg/kg","ppm"]},"S-PSI.M3O.19":{Element:"Phosphorus Saturation Index",ModusTestIDv1:"S-PSI.M3O.19",ModusTestIDv2:"L_MODV2_SOIL_PSINDEX_002",Units:["mg/kg","ppm"]},"S-TP-H2SO4.01":{Element:'"phosphorus, total\xA0"',ModusTestIDv1:"S-TP-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_TP_001",Units:["mg/kg","ppm"]},"S-TP-NA.04":{Element:'"phosphorus, total\xA0"',ModusTestIDv1:"S-TP-NA.04",ModusTestIDv2:"L_MODV2_SOIL_TP_002",Units:["mg/kg","ppm"]},"S-K-PWAA.23":{Element:"Potassium",ModusTestIDv1:"S-K-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_K_001",Units:["cmol/kg","%"]},"S-K-NH4CL.23":{Element:"Potassium",ModusTestIDv1:"S-K-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_K_004",Units:["meq/100 g",null]},"S-K-PNA4CL.23":{Element:"Potassium",ModusTestIDv1:"S-K-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_K_005",Units:["meq/100 g",null]},"S-K-BACL2.23":{Element:"Potassium",ModusTestIDv1:"S-K-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_K_006",Units:["cmol/kg","%"]},"S-K-W20:1.04":{Element:"Potassium",ModusTestIDv1:"S-K-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_017",Units:["mg/kg","ppm"]},"S-K-H3A1.01.04":{Element:"Potassium",ModusTestIDv1:"S-K-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_K_019",Units:["mg/kg","ppm"]},"S-K-HCL.05":{Element:"Potassium",ModusTestIDv1:"S-K-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_K_020",Units:["mg/kg","ppm"]},"S-K-HCL.23":{Element:"Potassium",ModusTestIDv1:"S-K-HCL.23",ModusTestIDv2:"L_MODV2_SOIL_K_021",Units:["mg/kg","ppm"]},"S-K-RES.04":{Element:"Potassium",ModusTestIDv1:"S-K-RES.04",ModusTestIDv2:"L_MODV2_SOIL_K_023",Units:["mg/kg","ppm"]},"S-K-LANC.04":{Element:"Potassium",ModusTestIDv1:"S-K-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_K_027",Units:["mg/kg","ppm"]},"S-K-M3.20":{Element:"Potassium",ModusTestIDv1:"S-K-M3.20",ModusTestIDv2:"L_MODV2_SOIL_K_028",Units:["ppm",null]},"S-K-HNO3.07":{Element:"Potassium",ModusTestIDv1:"S-K-HNO3.07",ModusTestIDv2:"L_MODV2_SOIL_K_035",Units:["mg/kg","ppm"]},"S-K-HNO3.23":{Element:"Potassium",ModusTestIDv1:"S-K-HNO3.23",ModusTestIDv2:"L_MODV2_SOIL_K_036",Units:["mg/kg","ppm"]},"S-K-NA.04":{Element:"Potassium",ModusTestIDv1:"S-K-NA.04",ModusTestIDv2:"L_MODV2_SOIL_K_037",Units:["%",null]},"S-K-PRS.04":{Element:"Potassium",ModusTestIDv1:"S-K-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_K_039",Units:["mg/m2",null]},"S-K-SP.05":{Element:"Potassium",ModusTestIDv1:"S-K-SP.05",ModusTestIDv2:"L_MODV2_SOIL_K_042",Units:["meq/L",null]},"S-K-W5:1.04":{Element:"Potassium",ModusTestIDv1:"S-K-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_047",Units:["mg/kg",null]},"S-K.19":{Element:"Potassium",ModusTestIDv1:"S-K.19",ModusTestIDv2:"L_MODV2_SOIL_K_048",Units:["mg/kg","ppm"]},"S-K-EPA3050.04":{Element:"potassium\xA0",ModusTestIDv1:"S-K-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_K_050",Units:["mg/kg","ppm"]},"S-KFF-M3.04":{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.04",ModusTestIDv2:"L_MODV2_SOIL_KFF_001",Units:["%",null]},"S-K-INDX.19":{Element:"Potassium Index",ModusTestIDv1:"S-K-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_001",Units:["none",null]},"S-K-NCINDX":{Element:"Potassium Index",ModusTestIDv1:"S-K-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_002",Units:["none",null]},"S-TKP.01":{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TKP.01",ModusTestIDv2:"L_MODV2_SOIL_TK_002",Units:["mg/kg","ppm"]},"S-PMN.01.0":{Element:"Potential Mineralizable Nitrogen",ModusTestIDv1:"S-PMN.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTMN_001",Units:["mg/kg","ppm"]},"S-POXC.01.0":{Element:"Potential Oxidizable Carbon",ModusTestIDv1:"S-POXC.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTOXC_001",Units:["mg/kg","ppm"]},"S-RZM.00":{Element:"Rootzone Moisture",ModusTestIDv1:"S-RZM.00",ModusTestIDv2:"L_MODV2_SOIL_RZM_001",Units:["%",null]},"S-SAND-SV.19":{Element:"Sand",ModusTestIDv1:"S-SAND-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SAND_001",Units:["%",null]},"S-SAND.22":{Element:"Sand",ModusTestIDv1:"S-SAND.22",ModusTestIDv2:"L_MODV2_SOIL_SAND_002",Units:["%",null]},"S-SAND-SED.10":{Element:"Sand",ModusTestIDv1:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003",Units:["%",null]},"S-SAND-SED.11":{Element:"Sand",ModusTestIDv1:"S-SAND-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SAND_004",Units:["%",null]},"S-SANDC.BAL.19":{Element:"sand - coarse",ModusTestIDv1:"S-SANDC.BAL.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_001",Units:["%",null]},"S-SANDC.HYDRO.19":{Element:"sand - coarse",ModusTestIDv1:"S-SANDC.HYDRO.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_002",Units:["%",null]},"S-SANDC-SV.19":{Element:"sand - coarse",ModusTestIDv1:"S-SANDC-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_003",Units:["%",null]},"S-SANDF.DAL.19":{Element:"sand - fine",ModusTestIDv1:"S-SANDF.DAL.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_001",Units:["%",null]},"S-SANDF-HYDRO.19":{Element:"sand - fine",ModusTestIDv1:"S-SANDF-HYDRO.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_002",Units:["%",null]},"S-SANDF-SV.19":{Element:"sand - fine",ModusTestIDv1:"S-SANDF-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_003",Units:["%",null]},"S-SP%.19":{Element:"Saturation Paste %",ModusTestIDv1:"S-SP%.19",ModusTestIDv2:"L_MODV2_SOIL_SS",Units:["%",null]},"S-SE-AR.07":{Element:"Selenium",ModusTestIDv1:"S-SE-AR.07",ModusTestIDv2:"L_MODV2_SOIL_SE_001",Units:["ug/kg","ppb"]},"S-SE-EPA3050.04":{Element:"Selenium",ModusTestIDv1:"S-SE-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SE_003",Units:["mg/kg","ppm"]},"S-SI-AA.04":{Element:"Silicon",ModusTestIDv1:"S-SI-AA.04",ModusTestIDv2:"L_MODV2_SOIL_SI_001",Units:["mg/kg","ppm"]},"S-SI-CACL2.01":{Element:"Silicon",ModusTestIDv1:"S-SI-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_SI_003",Units:["mg/kg","ppm"]},"S-SI-KCL.04":{Element:"Silicon",ModusTestIDv1:"S-SI-KCL.04",ModusTestIDv2:"L_MODV2_SOIL_SI_004",Units:["mg/kg","ppm"]},"S-SI-SP.04":{Element:"Silicon",ModusTestIDv1:"S-SI-SP.04",ModusTestIDv2:"L_MODV2_SOIL_SI_005",Units:["mg/L",null]},"S-SI-H2SO4.01":{Element:"Silicon",ModusTestIDv1:"S-SI-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_SI_006",Units:["mg/kg","ppm"]},"S-SILT-SV.19":{Element:"Silt",ModusTestIDv1:"S-SILT-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SILT_001",Units:["%",null]},"S-SILT.22":{Element:"Silt",ModusTestIDv1:"S-SILT.22",ModusTestIDv2:"L_MODV2_SOIL_SILT_002",Units:["%",null]},"S-SILT-SED.10":{Element:"Silt",ModusTestIDv1:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003",Units:["%",null]},"S-SILT-SED.11,S-SILT-ST-OT":{Element:"Silt",ModusTestIDv1:"S-SILT-SED.11,S-SILT-ST-OT",ModusTestIDv2:"L_MODV2_SOIL_SILT_004",Units:["%",null]},"S-SI+C-SV":{Element:"Silt+Clay",ModusTestIDv1:"S-SI+C-SV",ModusTestIDv2:"L_MODV2_SOIL_SILTCLAY_001",Units:["%",null]},"S-AG-EPA3050.04":{Element:"Silver",ModusTestIDv1:"S-AG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_AG_001",Units:["mg/kg","ppm"]},"S-Slaking.24":{Element:"Slaking",ModusTestIDv1:"S-Slaking.24",ModusTestIDv2:"L_MODV2_SOIL_SLAKING_001",Units:["none",null]},"S-NA-NH4AC.05":{Element:"Sodium",ModusTestIDv1:"S-NA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_NA_001",Units:["mg/kg","ppm"]},"S-NA-NH4CL.23":{Element:"Sodium",ModusTestIDv1:"S-NA-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_NA_002",Units:["meq/100 g",null]},"S-NA-PNA4CL.23":{Element:"Sodium",ModusTestIDv1:"S-NA-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_NA_003",Units:["meq/100 g",null]},"S-NA-BACL2.23":{Element:"Sodium",ModusTestIDv1:"S-NA-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_NA_004",Units:["cmol/kg","%"]},"S-NA-EPA3050.04":{Element:"Sodium",ModusTestIDv1:"S-NA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_NA_006",Units:["mg/kg","ppm"]},"S-NA-EPA6010B.00":{Element:"Sodium",ModusTestIDv1:"S-NA-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_NA_008",Units:["mg/kg","ppm"]},"S-NA-H3A1.01.04":{Element:"Sodium",ModusTestIDv1:"S-NA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_NA_009",Units:["mg/kg","ppm"]},"S-NA-LANC.04":{Element:"Sodium",ModusTestIDv1:"S-NA-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_NA_010",Units:["lb/ac","ppm"]},"S-NA-M1.05":{Element:"Sodium",ModusTestIDv1:"S-NA-M1.05",ModusTestIDv2:"L_MODV2_SOIL_NA_011",Units:["mg/kg","ppm"]},"S-NA-M2.05":{Element:"Sodium",ModusTestIDv1:"S-NA-M2.05",ModusTestIDv2:"L_MODV2_SOIL_NA_012",Units:["mg/kg","ppm"]},"S-NA-M3.05":{Element:"Sodium",ModusTestIDv1:"S-NA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_NA_013",Units:["mg/kg","ppm"]},"S-NA-NA.04":{Element:"Sodium",ModusTestIDv1:"S-NA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_NA_015",Units:["%",null]},"S-NA-PRS.04":{Element:"Sodium",ModusTestIDv1:"S-NA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_NA_016",Units:["mg/kg","ppm"]},"S-NA-KCL-01.05":{Element:"Sodium",ModusTestIDv1:"S-NA-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_NA_017",Units:["mg/kg","ppm"]},"S-NA-RES.04":{Element:"Sodium",ModusTestIDv1:"S-NA-RES.04",ModusTestIDv2:"L_MODV2_SOIL_NA_018",Units:["mg/kg","ppm"]},"S-NA-SP.05":{Element:"Sodium",ModusTestIDv1:"S-NA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_NA_019",Units:["meq/L",null]},"S-NA-W:1:1.05":{Element:"Sodium",ModusTestIDv1:"S-NA-W:1:1.05",ModusTestIDv2:"L_MODV2_SOIL_NA_020",Units:["meq/L",null]},"S-NA-W20:1.04":{Element:"Sodium",ModusTestIDv1:"S-NA-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_NA_021",Units:["mg/kg",null]},"S-NA-W5:1.12":{Element:"Sodium",ModusTestIDv1:"S-NA-W5:1.12",ModusTestIDv2:"L_MODV2_SOIL_NA_022",Units:["mg/kg",null]},"S-NA-W5:1.23":{Element:"Sodium",ModusTestIDv1:"S-NA-W5:1.23",ModusTestIDv2:"L_MODV2_SOIL_NA_023",Units:["mg/kg","mg/L"]},"S-NA.19":{Element:"Sodium",ModusTestIDv1:"S-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NA_024",Units:["mg/kg","ppm"]},"S-SAR-AA.19":{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-AA.19",ModusTestIDv2:"L_MODV2_SOIL_SAR_001",Units:["ratio",null]},"S-SAR-W5:1.19":{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-W5:1.19",ModusTestIDv2:"L_MODV2_SOIL_SAR_002",Units:["none",null]},"S-SAR-SP.00":{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-SP.00",ModusTestIDv2:"L_MODV2_SOIL_SAR_003",Units:["Ratio",null]},"S-SOLIDS.19":{Element:'"solids, total"',ModusTestIDv1:"S-SOLIDS.19",ModusTestIDv2:"L_MODV2_SOIL_SOLIDS_001",Units:["%",null]},"S-SS.19":{Element:"Soluble Salts",ModusTestIDv1:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001",Units:["mg/kg","ppm"]},"S-SS-NCINDX.19":{Element:"Soluble Salts Index",ModusTestIDv1:"S-SS-NCINDX.19",ModusTestIDv2:"L_MODV2_SOIL_SSINDEX_001",Units:["none",null]},"S-SR-EPA3050.04":{Element:"Strontium",ModusTestIDv1:"S-SR-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SR_001",Units:["mg/kg","ppm"]},"S-SO4-1:5.13":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-1:5.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_001",Units:["mg/kg","ppm"]},"S-S-W5:1.04":{Element:"Sulfur",ModusTestIDv1:"S-S-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_014",Units:["mg/kg","ppm"]},"S-SO4-W1:1.13":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-W1:1.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_004",Units:["meq/L",null]},"S-SO4-EPA300.04":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-EPA300.04",ModusTestIDv2:"L_MODV2_SOIL_SO4S_005",Units:["mg/L",null]},"S-SO4-SP.08":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-SP.08",ModusTestIDv2:"L_MODV2_SOIL_SO4S_006",Units:["meq/L",null]},"S-SO4-SP.13":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-SP.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_007",Units:["meq/L",null]},"S-S-NH4AC.04":{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_S_001",Units:["mg/kg","ppm"]},"S-S-NH4AC.05":{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_S_002",Units:["mg/kg","ppm"]},"S-S-NH4AC.23":{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.23",ModusTestIDv2:"L_MODV2_SOIL_S_003",Units:["mg/kg","ppm"]},"S-S-CACL.05":{Element:"Sulfur",ModusTestIDv1:"S-S-CACL.05",ModusTestIDv2:"L_MODV2_SOIL_S_004",Units:["mg/kg","ppm"]},"S-SO4-CaCl.04.08":{Element:"Sulfur",ModusTestIDv1:"S-SO4-CaCl.04.08",ModusTestIDv2:"L_MODV2_SOIL_S_005",Units:["mg/kg","ppm"]},"S-SO4-1:5.05":{Element:"Sulfur",ModusTestIDv1:"S-SO4-1:5.05",ModusTestIDv2:"L_MODV2_SOIL_S_007",Units:["mg/kg","ppm"]},"S-S.16":{Element:"Sulfur",ModusTestIDv1:"S-S.16",ModusTestIDv2:"L_MODV2_SOIL_S_009",Units:["%",null]},"S-SO4-1:5H2O.23":{Element:"Sulfur",ModusTestIDv1:"S-SO4-1:5H2O.23",ModusTestIDv2:"L_MODV2_SOIL_S_010",Units:["mg/kg","ppm"]},"S-SO4-W1:1.04":{Element:"Sulfur",ModusTestIDv1:"S-SO4-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_011",Units:["meq/L",null]},"S-S-W1:1.04":{Element:"Sulfur",ModusTestIDv1:"S-S-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_012",Units:["mg/kg","ppm"]},"S-S-W20:1.04":{Element:"Sulfur",ModusTestIDv1:"S-S-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_013",Units:["mg/kg","ppm"]},"S-S-DTPA-SORB.05":{Element:"Sulfur",ModusTestIDv1:"S-S-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_S_015",Units:["mg/kg","ppm"]},"S-S-EPA6010B.00":{Element:"Sulfur",ModusTestIDv1:"S-S-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_S_016",Units:["mg/kg","ppm"]},"S-S-EPA3050.04":{Element:"Sulfur",ModusTestIDv1:"S-S-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_S_017",Units:["mg/kg","ppm"]},"S-S-H3A.04":{Element:"Sulfur",ModusTestIDv1:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_021",Units:["mg/kg","ppm"]},"S-SO4-RES.04":{Element:"Sulfur",ModusTestIDv1:"S-SO4-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_023",Units:["mg/kg","ppm"]},"S-S-RES.04":{Element:"Sulfur",ModusTestIDv1:"S-S-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_024",Units:["mg/kg","ppm"]},"S-S-LANC.04":{Element:"Sulfur",ModusTestIDv1:"S-S-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_S_025",Units:["kg/ha","lb/ac"]},"S-S-M3.05":{Element:"Sulfur",ModusTestIDv1:"S-S-M3.05",ModusTestIDv2:"L_MODV2_SOIL_S_026",Units:["mg/kg","ppm"]},"S-S-MMOR.05":{Element:"Sulfur",ModusTestIDv1:"S-S-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_S_029",Units:["mg/kg","ppm"]},"S-S-NA.04":{Element:"Sulfur",ModusTestIDv1:"S-S-NA.04",ModusTestIDv2:"L_MODV2_SOIL_S_030",Units:["%",null]},"S-SO4-PRS.04":{Element:"Sulfur",ModusTestIDv1:"S-SO4-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_S_031",Units:["mg/m2",null]},"S-S-0.25MKCL.23":{Element:"Sulfur",ModusTestIDv1:"S-S-0.25MKCL.23",ModusTestIDv2:"L_MODV2_SOIL_S_034",Units:["kg/ha","lb/ac"]},"S-S-KCL.05":{Element:"Sulfur",ModusTestIDv1:"S-S-KCL.05",ModusTestIDv2:"L_MODV2_SOIL_S_035",Units:["mg/kg","ppm"]},"S-SO4-SP.04":{Element:"Sulfur",ModusTestIDv1:"S-SO4-SP.04",ModusTestIDv2:"L_MODV2_SOIL_S_036",Units:["meq/L",null]},"S-S-NCINDX":{Element:"Sulfur Index",ModusTestIDv1:"S-S-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_SINDEX_001",Units:["none",null]},"S-TEXTURE.19":{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.19",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_001",Units:["Texture Classification",null]},"S-TEXTURE.01":{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.01",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_002",Units:["none",null]},"S-TEXTURE.22":{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.22",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_003",Units:["Texture Classification",null]},"S-SN-EPA3050.04":{Element:"Tin",ModusTestIDv1:"S-SN-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SN_001",Units:["mg/kg","ppm"]},"S-H-MEAS.12":{Element:"Titratable Acidity",ModusTestIDv1:"S-H-MEAS.12",ModusTestIDv2:"L_MODV2_SOIL_TITACIDT_001",Units:["cmol/kg","meq/100 g"]},"S-TC:TN.19":{Element:"Total Carbon:Total Nitrogen",ModusTestIDv1:"S-TC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TCTN_001",Units:["none",null]},"S-TOC:TN.19":{Element:"Total Organic Carbon: Total Nitrogen",ModusTestIDv1:"S-TOC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TOCTN_001",Units:["none",null]},"S-UNKNOWN.00":{Element:"Unknown",ModusTestIDv1:"S-UNKNOWN.00",ModusTestIDv2:"L_MODV2_SOIL_UNKNOWN_001",Units:["none",null]},"S-UREA-NH4.01":{Element:"Urea",ModusTestIDv1:"S-UREA-NH4.01",ModusTestIDv2:"L_MODV2_SOIL_UREA_001",Units:["mg/kg","ppm"]},"S-ZN-DTPA.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_002",Units:["mg/kg","ppm"]},"S-ZN-DTPA-SORB.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_003",Units:["mg/kg","ppm"]},"S-ZN-EDTA.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_004",Units:["mg/kg","ppm"]},"S-ZN-EPA3050.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_005",Units:["mg/kg","ppm"]},"S-ZN-H3A1.01.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",Units:["mg/kg","ppm"]},"S-ZN-HCL.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_009",Units:["mg/kg","ppm"]},"S-ZN-RES.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-RES.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_010",Units:["mg/kg","ppm"]},"S-ZN-LANC.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_011",Units:["mg/kg","ppm"]},"S-ZN-M1.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-M1.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_012",Units:["mg/kg","ppm"]},"S-ZN-M2.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-M2.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_013",Units:["mg/kg","ppm"]},"S-ZN-M3DTPA.19":{Element:"Zinc",ModusTestIDv1:"S-ZN-M3DTPA.19",ModusTestIDv2:"L_MODV2_SOIL_ZN_014",Units:["mg/kg","ppm"]},"S-ZN-M3.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_015",Units:["mg/kg","ppm"]},"S-ZN-NA.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_019",Units:["ppm",null]},"S-ZN-PRS.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_021",Units:["mg/m2",null]},"S-ZN-SP.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-SP.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_024",Units:["mg/L",null]},"S-ZN-NCINDX":{Element:"Zinc index",ModusTestIDv1:"S-ZN-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_ZINDEX_001",Units:["none",null]},"S-Zn:Cu-M3.19":{Element:"Zn:Cu ratio",ModusTestIDv1:"S-Zn:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_ZNCURATIO_001",Units:["none",null]},"S-Zn:Cu.19":{Element:"Zn:Cu ratio",ModusTestIDv1:"S-Zn:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_ZNCURATIO_002",Units:["none","ppm"]},"S-SP-ACE-OT":{Element:"ACE nitrogen (soil protein index)",ModusTestIDv1:"S-SP-ACE-OT",ModusTestIDv2:"L_MODV2_SOIL_ACEN_001",Units:["g/kg",null]},"S-BS-CA.19":{Element:"Base Saturation - Ca",ModusTestIDv1:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CABS_001",Units:["%",null]},"S-HCO3-SP.12":{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_002",Units:["meq/L",null]},"S-Cu-MMOR-OT":{Element:"Copper",ModusTestIDv1:"S-Cu-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_CU_017",Units:["mg/kg","ppm"]},"S-MN-EPA3050.05":{Element:"Manganese",ModusTestIDv1:"S-MN-EPA3050.05",ModusTestIDv2:"L_MODV2_SOIL_MN_006",Units:["mg/kg","ppm"]},"S-Mn-MMOR-OT":{Element:"Manganese",ModusTestIDv1:"S-Mn-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_MN_017",Units:["mg/kg","ppm"]},"S-MD-BS-C-OT":{Element:"phospholipid fatty acid (PLFA)",ModusTestIDv1:"S-MD-BS-C-OT",ModusTestIDv2:"L_MODV2_SOIL_PLFA_001",Units:["ng/g",null]},"S-K-AA-NH4AC.04":{Element:"Potassium",ModusTestIDv1:"S-K-AA-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_K_002",Units:["mg/kg","ppm"]},"S-K-B1-1:10.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_007",Units:["mg/kg","ppm"]},"S-K-B1-1:7.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-B1-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_008",Units:["mg/kg","ppm"]},"S-K-B2-1:10.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_009",Units:["mg/kg","ppm"]},"S-K-LACTATE.01":{Element:"Potassium",ModusTestIDv1:"S-K-LACTATE.01",ModusTestIDv2:"L_MODV2_SOIL_K_010",Units:["mg/kg","ppm"]},"S-K-CACL2.01":{Element:"Potassium",ModusTestIDv1:"S-K-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_K_011",Units:["mg/kg","ppm"]},"S-K-M3BRAYP1.19":{Element:"Potassium",ModusTestIDv1:"S-K-M3BRAYP1.19",ModusTestIDv2:"L_MODV2_SOIL_K_012",Units:["mg/kg","ppm"]},"S-K-CALD.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-CALD.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_014",Units:["mg/kg","ppm"]},"S-K-W1:5.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-W1:5.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_015",Units:["mg/kg","ppm"]},"S-K-W10:1.04":{Element:"Potassium",ModusTestIDv1:"S-K-W10:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_016",Units:["mg/kg","ppm"]},"S-K-DGT.01":{Element:"Potassium",ModusTestIDv1:"S-K-DGT.01",ModusTestIDv2:"L_MODV2_SOIL_K_018",Units:["mg/kg","ppm"]},"S-K-RES.01":{Element:"Potassium",ModusTestIDv1:"S-K-RES.01",ModusTestIDv2:"L_MODV2_SOIL_K_022",Units:["mg/kg","ppm"]},"S-K-KEL.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-KEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_024",Units:["mg/kg","ppm"]},"S-K-MKEL.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-MKEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_026",Units:["mg/kg","ppm"]},"S-K-M1.04":{Element:"Potassium",ModusTestIDv1:"S-K-M1.04",ModusTestIDv2:"L_MODV2_SOIL_K_029",Units:["mg/kg","ppm"]},"S-K-M2.04":{Element:"Potassium",ModusTestIDv1:"S-K-M2.04",ModusTestIDv2:"L_MODV2_SOIL_K_030",Units:["mg/kg","ppm"]},"S-K-M3.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_031",Units:["mg/kg","ppm"]},"S-K-MOR.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-MOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_033",Units:["mg/kg","ppm"]},"S-K-MMOR.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_034",Units:["mg/kg","ppm"]},"S-K-BIC.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_043",Units:["mg/kg","ppm"]},"S-K-H2SO4.01":{Element:"Potassium",ModusTestIDv1:"S-K-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_K_044",Units:["mg/kg","ppm"]},"S-K-TRG.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-TRG.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_045",Units:["mg/kg","ppm"]},"S-K-AR.23":{Element:"potassium\xA0",ModusTestIDv1:"S-K-AR.23",ModusTestIDv2:"L_MODV2_SOIL_K_049",Units:["mg/kg","ppm"]},"S-KFF-M3.05":{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.05",ModusTestIDv2:"L_MODV2_SOIL_KFF_002",Units:["%",null]},"S-KFF-M3.06":{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.06",ModusTestIDv2:"L_MODV2_SOIL_KFF_003",Units:["%",null]},"S-TK-H2SO4.01":{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TK-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_TK_001",Units:["mg/kg","ppm"]},"S-TK-NA.04":{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TK-NA.04",ModusTestIDv2:"L_MODV2_SOIL_TK_003",Units:["mg/kg","ppm"]},"S-Zn-MMOR-OT":{Element:"Zinc",ModusTestIDv1:"S-Zn-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_ZN_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ACIDT_002:{Element:"Acidity",ModusTestIDv1:"S-Acidity.19",ModusTestIDv2:"L_MODV2_SOIL_ACIDT_002",Units:["mg/kg",null]},L_MODV2_SOIL_ASAR_001:{Element:"adjusted sodium adsorption ratio",ModusTestIDv1:"S-SARJ-SP.00",ModusTestIDv2:"L_MODV2_SOIL_ASAR_001",Units:["Ratio",null]},L_MODV2_SOIL_AL_001:{Element:"Aluminum",ModusTestIDv1:"S-AL-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_AL_001",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_AL_002:{Element:"Aluminum",ModusTestIDv1:"S-AL-OX.23",ModusTestIDv2:"L_MODV2_SOIL_AL_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_003:{Element:"Aluminum",ModusTestIDv1:"S-TAL-RAR.23",ModusTestIDv2:"L_MODV2_SOIL_AL_003",Units:["%",null]},L_MODV2_SOIL_AL_004:{Element:"Aluminum",ModusTestIDv1:"S-AL-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_AL_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_005:{Element:"Aluminum",ModusTestIDv1:"S-AL.19",ModusTestIDv2:"L_MODV2_SOIL_AL_005",Units:["%",null]},L_MODV2_SOIL_AL_006:{Element:"Aluminum",ModusTestIDv1:"S-AL-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_AL_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_010:{Element:"Aluminum",ModusTestIDv1:"S-AL-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_AL_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_011:{Element:"Aluminum",ModusTestIDv1:"S-AL-RES.04",ModusTestIDv2:"L_MODV2_SOIL_AL_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_012:{Element:"Aluminum",ModusTestIDv1:"S-AL-M3.05",ModusTestIDv2:"L_MODV2_SOIL_AL_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_014:{Element:"Aluminum",ModusTestIDv1:"S-AL-NA.04",ModusTestIDv2:"L_MODV2_SOIL_AL_014",Units:["ppm",null]},L_MODV2_SOIL_AL_018:{Element:"Aluminum",ModusTestIDv1:"S-AL-1KCL.23",ModusTestIDv2:"L_MODV2_SOIL_AL_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_020:{Element:"Aluminum",ModusTestIDv1:"S-Al-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_AL_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_022:{Element:"Aluminum",ModusTestIDv1:"S-AL-SP.04",ModusTestIDv2:"L_MODV2_SOIL_AL_022",Units:["mg/L",null]},L_MODV2_SOIL_AMINON_001:{Element:"Amino Nitrogen",ModusTestIDv1:"S-AN-12.00",ModusTestIDv2:"L_MODV2_SOIL_AMINON_001",Units:[null,null]},L_MODV2_SOIL_NH4N_002:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_003:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_004:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-RES.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_005:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-KCL.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_006:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-KCL.09",ModusTestIDv2:"L_MODV2_SOIL_NH4N_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_007:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-05KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_008:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_009:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-SP.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_009",Units:["mg/L",null]},L_MODV2_SOIL_SB_001:{Element:"Antimony",ModusTestIDv1:"S-SB-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SB_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AS_001:{Element:"Arsenic",ModusTestIDv1:"S-AS-AR.07",ModusTestIDv2:"L_MODV2_SOIL_AS_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_AS_002:{Element:"Arsenic",ModusTestIDv1:"S-AS-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_AS_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AS_003:{Element:"Arsenic",ModusTestIDv1:"S-AS-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_AS_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BA_001:{Element:"Barium",ModusTestIDv1:"S-BA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_BA_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BS_001:{Element:"Base Saturation",ModusTestIDv1:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001",Units:["%",null]},L_MODV2_SOIL_HBS_001:{Element:"Base Saturation - H",ModusTestIDv1:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",Units:["%",null]},L_MODV2_SOIL_KBS_001:{Element:"Base Saturation - K",ModusTestIDv1:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",Units:["%",null]},L_MODV2_SOIL_MGBS_001:{Element:"Base Saturation - Mg",ModusTestIDv1:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",Units:["%",null]},L_MODV2_SOIL_NABS_001:{Element:"Base Saturation - Na",ModusTestIDv1:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",Units:["%",null]},L_MODV2_SOIL_HCO3_001:{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_HCO3_001",Units:["meq/L",null]},L_MODV2_SOIL_HCO3_004:{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-W1:1.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_004",Units:["meq/L",null]},L_MODV2_SOIL_HCO3_005:{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-ALK.01",ModusTestIDv2:"L_MODV2_SOIL_HCO3_005",Units:["meq/L",null]},L_MODV2_SOIL_B_001:{Element:"Boron",ModusTestIDv1:"S-B-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_B_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_003:{Element:"Boron",ModusTestIDv1:"S-B-HW.01.10",ModusTestIDv2:"L_MODV2_SOIL_B_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_004:{Element:"Boron",ModusTestIDv1:"S-B-HW.05",ModusTestIDv2:"L_MODV2_SOIL_B_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_005:{Element:"Boron",ModusTestIDv1:"S-B-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_B_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_006:{Element:"Boron",ModusTestIDv1:"S-B-W1:2.01",ModusTestIDv2:"L_MODV2_SOIL_B_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_007:{Element:"Boron",ModusTestIDv1:"S-B-W1:5.01",ModusTestIDv2:"L_MODV2_SOIL_B_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_008:{Element:"Boron",ModusTestIDv1:"S-B-W1:5.23",ModusTestIDv2:"L_MODV2_SOIL_B_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_009:{Element:"Boron",ModusTestIDv1:"S-B-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_B_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_010:{Element:"Boron",ModusTestIDv1:"S-B-SP.04",ModusTestIDv2:"L_MODV2_SOIL_B_010",Units:["meq/L",null]},L_MODV2_SOIL_B_011:{Element:"Boron",ModusTestIDv1:"S-B-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_B_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_012:{Element:"Boron",ModusTestIDv1:"S-B-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_B_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_015:{Element:"Boron",ModusTestIDv1:"S-B-RES.04",ModusTestIDv2:"L_MODV2_SOIL_B_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_016:{Element:"Boron",ModusTestIDv1:"S-B-M1.04",ModusTestIDv2:"L_MODV2_SOIL_B_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_017:{Element:"Boron",ModusTestIDv1:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_019:{Element:"Boron",ModusTestIDv1:"S-B-NA.04",ModusTestIDv2:"L_MODV2_SOIL_B_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BPH_001:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-AEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_001",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_002:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MAEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_002",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_003:{Element:"Buffer pH",ModusTestIDv1:"S-BPH.19",ModusTestIDv2:"L_MODV2_SOIL_BPH_003",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_004:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_004",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_007:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_007",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_008:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SIK2.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_008",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_009:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SMPB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_009",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_010:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-WB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_010",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_011:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MWB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_011",Units:["standard pH unit",null]},L_MODV2_SOIL_BD_001:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Clod.00",ModusTestIDv2:"L_MODV2_SOIL_BD_001",Units:["g/cm3",null]},L_MODV2_SOIL_BD_002:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Coarse.15",ModusTestIDv2:"L_MODV2_SOIL_BD_002",Units:["g/cm3",null]},L_MODV2_SOIL_BD_003:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Core.00",ModusTestIDv2:"L_MODV2_SOIL_BD_003",Units:["g/cm3",null]},L_MODV2_SOIL_BD_004:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Fine.15",ModusTestIDv2:"L_MODV2_SOIL_BD_004",Units:["g/cm3",null]},L_MODV2_SOIL_BD_005:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Scoop.00",ModusTestIDv2:"L_MODV2_SOIL_BD_005",Units:["g/cm3",null]},L_MODV2_SOIL_BD_006:{Element:"Bulk Density",ModusTestIDv1:"S-BD.19",ModusTestIDv2:"L_MODV2_SOIL_BD_006",Units:["g/cm3",null]},L_MODV2_SOIL_CNRATIO_002:{Element:"C:N Ratio",ModusTestIDv1:"S-C:N.16",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_002",Units:["Ratio",null]},L_MODV2_SOIL_CNRATIO_003:{Element:"C:N Ratio",ModusTestIDv1:"S-C:N.19",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_003",Units:["Ratio",null]},L_MODV2_SOIL_CNRATIO_004:{Element:"C:N Ratio",ModusTestIDv1:"S-C:N-Haney.19",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_004",Units:["Ratio",null]},L_MODV2_SOIL_CAEMGP_001:{Element:"Ca + exchangable Mg",ModusTestIDv1:"S-CAEMG-M1.19",ModusTestIDv2:"L_MODV2_SOIL_CAEMGP_001",Units:[null,null]},L_MODV2_SOIL_CAKRATIO_001:{Element:"Ca:K ratio",ModusTestIDv1:"S-CA:KM1.19",ModusTestIDv2:"L_MODV2_SOIL_CAKRATIO_001",Units:[null,null]},L_MODV2_SOIL_CAMGRATIO_001:{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_001",Units:[null,null]},L_MODV2_SOIL_CAMGRATIO_002:{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-AA.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_002",Units:[null,null]},L_MODV2_SOIL_CAMGRATIO_003:{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_003",Units:[null,null]},L_MODV2_SOIL_CAMGRATIO_004:{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_004",Units:[null,null]},L_MODV2_SOIL_CANO3RATIO_001:{Element:"Ca:NO3 ratio",ModusTestIDv1:"S-CA:NO3.19",ModusTestIDv2:"L_MODV2_SOIL_CANO3RATIO_001",Units:[null,null]},L_MODV2_SOIL_CAMGKRATIO_001:{Element:"Ca+Mg:K ratio",ModusTestIDv1:"S-CAMG:KM1.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGKRATIO_001",Units:[null,null]},L_MODV2_SOIL_CD_001:{Element:"Cadmium",ModusTestIDv1:"S-CD-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CD_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_CD_002:{Element:"Cadmium",ModusTestIDv1:"S-CD-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CD_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CD_005:{Element:"Cadmium",ModusTestIDv1:"S-CD-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CD_005",Units:[null,null]},L_MODV2_SOIL_CA_001:{Element:"Calcium",ModusTestIDv1:"S-CA-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_CA_001",Units:["cmol/kg","%"]},L_MODV2_SOIL_CA_002:{Element:"Calcium",ModusTestIDv1:"S-CA-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CA_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_003:{Element:"Calcium",ModusTestIDv1:"S-CA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_CA_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_005:{Element:"Calcium",ModusTestIDv1:"S-CA-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_CA_005",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CA_006:{Element:"Calcium",ModusTestIDv1:"S-CA-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_CA_006",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CA_007:{Element:"Calcium",ModusTestIDv1:"S-CA-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_CA_007",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CA_008:{Element:"Calcium",ModusTestIDv1:"S-CA-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_CA_008",Units:["none",null]},L_MODV2_SOIL_CA_009:{Element:"Calcium",ModusTestIDv1:"S-CA-M3AA.19",ModusTestIDv2:"L_MODV2_SOIL_CA_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_010:{Element:"Calcium",ModusTestIDv1:"S-CA-W1:1.05",ModusTestIDv2:"L_MODV2_SOIL_CA_010",Units:["meq/L",null]},L_MODV2_SOIL_CA_011:{Element:"Calcium",ModusTestIDv1:"S-CA-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_CA_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_012:{Element:"Calcium",ModusTestIDv1:"S-CA-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_CA_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_013:{Element:"Calcium",ModusTestIDv1:"S-CA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CA_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_014:{Element:"Calcium",ModusTestIDv1:"S-CA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CA_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_016:{Element:"Calcium",ModusTestIDv1:"S-CA-RES.04",ModusTestIDv2:"L_MODV2_SOIL_CA_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_017:{Element:"Calcium",ModusTestIDv1:"S-CA-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_CA_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_018:{Element:"Calcium",ModusTestIDv1:"S-CA-M1.05",ModusTestIDv2:"L_MODV2_SOIL_CA_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_019:{Element:"Calcium",ModusTestIDv1:"S-CA-M2.05",ModusTestIDv2:"L_MODV2_SOIL_CA_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_020:{Element:"Calcium",ModusTestIDv1:"S-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CA_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_021:{Element:"Calcium",ModusTestIDv1:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_023:{Element:"Calcium",ModusTestIDv1:"S-CA-MOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_024:{Element:"Calcium",ModusTestIDv1:"S-CA-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_025:{Element:"Calcium",ModusTestIDv1:"S-CA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CA_025",Units:["%",null]},L_MODV2_SOIL_CA_026:{Element:"Calcium",ModusTestIDv1:"S-CA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_CA_026",Units:["mg/m2",null]},L_MODV2_SOIL_CA_027:{Element:"Calcium",ModusTestIDv1:"S-CA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_CA_027",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_030:{Element:"Calcium",ModusTestIDv1:"S-CA-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_CA_030",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_031:{Element:"Calcium",ModusTestIDv1:"S-CA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_CA_031",Units:["meq/L",null]},L_MODV2_SOIL_CA_032:{Element:"Calcium",ModusTestIDv1:"S-CA-TRG.06",ModusTestIDv2:"L_MODV2_SOIL_CA_032",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CACO3_001:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3-AA.02",ModusTestIDv2:"L_MODV2_SOIL_CACO3_001",Units:["%",null]},L_MODV2_SOIL_CACO3_002:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3-OxA.12",ModusTestIDv2:"L_MODV2_SOIL_CACO3_002",Units:["%",null]},L_MODV2_SOIL_CACO3_003:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.14",ModusTestIDv2:"L_MODV2_SOIL_CACO3_003",Units:["%",null]},L_MODV2_SOIL_CACO3_004:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.12",ModusTestIDv2:"L_MODV2_SOIL_CACO3_004",Units:["%",null]},L_MODV2_SOIL_CACO3_005:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.15",ModusTestIDv2:"L_MODV2_SOIL_CACO3_005",Units:["%",null]},L_MODV2_SOIL_C_001:{Element:"Carbon",ModusTestIDv1:"S-C-W-04",ModusTestIDv2:"L_MODV2_SOIL_C_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TC_001:{Element:'"carbon, total"',ModusTestIDv1:"S-TC-COMB.15",ModusTestIDv2:"L_MODV2_SOIL_TC_001",Units:["%",null]},L_MODV2_SOIL_CO3_001:{Element:"Carbonate",ModusTestIDv1:"S-CO3-AA.02",ModusTestIDv2:"L_MODV2_SOIL_CO3_001",Units:["%",null]},L_MODV2_SOIL_CO3_002:{Element:"Carbonate",ModusTestIDv1:"S-CO3-W1:1.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_002",Units:["meq/L",null]},L_MODV2_SOIL_CO3_003:{Element:"Carbonate",ModusTestIDv1:"S-CO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_CO3_003",Units:["meq/L",null]},L_MODV2_SOIL_CO3_004:{Element:"Carbonate",ModusTestIDv1:"S-CO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_004",Units:["meq/L",null]},L_MODV2_SOIL_CO3QUAL_001:{Element:'"carbonates, qualitative"',ModusTestIDv1:"S-CACO3.11",ModusTestIDv2:"L_MODV2_SOIL_CO3QUAL_001",Units:["none",null]},L_MODV2_SOIL_CEC_001:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CEC_002:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-NH4N.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CEC_003:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CEC_005:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_005",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_006:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-BACLAA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_006",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_007:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-CA.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_007",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_008:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_009:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-K.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_009",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_010:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-AG-THU.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_010",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_011:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-NA.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_011",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CROSS_001:{Element:"cation ratio of structural stability",ModusTestIDv1:"S-CROSS-W5:1.19",ModusTestIDv2:"L_MODV2_SOIL_CROSS_001",Units:["none",null]},L_MODV2_SOIL_CATANRATIO_001:{Element:"Cation:Anion Ratio",ModusTestIDv1:"S-C:A.19",ModusTestIDv2:"L_MODV2_SOIL_CATANRATIO_001",Units:[null,null]},L_MODV2_SOIL_CL_004:{Element:"Chloride",ModusTestIDv1:"S-CL-HG.01",ModusTestIDv2:"L_MODV2_SOIL_CL_004",Units:["ppm","mg/kg"]},L_MODV2_SOIL_CL_005:{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_CL_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CL_006:{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_006",Units:["meq/L",null]},L_MODV2_SOIL_CL_007:{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.08",ModusTestIDv2:"L_MODV2_SOIL_CL_007",Units:["meq/L",null]},L_MODV2_SOIL_CL_008:{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.17",ModusTestIDv2:"L_MODV2_SOIL_CL_008",Units:["meq/L",null]},L_MODV2_SOIL_CL_009:{Element:"Chloride",ModusTestIDv1:"S-CL-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_CL_009",Units:["mg/L",null]},L_MODV2_SOIL_CL_010:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_010",Units:["meq/L",null]},L_MODV2_SOIL_CL_011:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.12.06",ModusTestIDv2:"L_MODV2_SOIL_CL_011",Units:["meq/L",null]},L_MODV2_SOIL_CL_012:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.17",ModusTestIDv2:"L_MODV2_SOIL_CL_012",Units:["meq/L",null]},L_MODV2_SOIL_CL_013:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.01",ModusTestIDv2:"L_MODV2_SOIL_CL_013",Units:["mg/L",null]},L_MODV2_SOIL_CL_014:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.02",ModusTestIDv2:"L_MODV2_SOIL_CL_014",Units:["meq/L",null]},L_MODV2_SOIL_CL_015:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.08",ModusTestIDv2:"L_MODV2_SOIL_CL_015",Units:["meq/L",null]},L_MODV2_SOIL_CL_016:{Element:"Chloride",ModusTestIDv1:"S-CL.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_016",Units:["meq/L",null]},L_MODV2_SOIL_CL_017:{Element:"Chloride",ModusTestIDv1:"S-CL.12.06",ModusTestIDv2:"L_MODV2_SOIL_CL_017",Units:["meq/L",null]},L_MODV2_SOIL_CL_018:{Element:"Chloride",ModusTestIDv1:"S-CL-1:5.02",ModusTestIDv2:"L_MODV2_SOIL_CL_018",Units:["meq/L",null]},L_MODV2_SOIL_CL_019:{Element:"Chloride",ModusTestIDv1:"S-CL-1:5.17",ModusTestIDv2:"L_MODV2_SOIL_CL_019",Units:["meq/L",null]},L_MODV2_SOIL_CL_020:{Element:"Chloride",ModusTestIDv1:"S-CL-1:5H2O.01",ModusTestIDv2:"L_MODV2_SOIL_CL_020",Units:["meq/L",null]},L_MODV2_SOIL_CR_001:{Element:"Chromium",ModusTestIDv1:"S-CR-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CR_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_CR_002:{Element:"Chromium",ModusTestIDv1:"S-CR-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CR_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CR_005:{Element:"Chromium",ModusTestIDv1:"S-CR-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CR_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CLAY_001:{Element:"Clay",ModusTestIDv1:"S-CLAY-SV.19",ModusTestIDv2:"L_MODV2_SOIL_CLAY_001",Units:["%",null]},L_MODV2_SOIL_CLAY_002:{Element:"Clay",ModusTestIDv1:"S-CLAY.22",ModusTestIDv2:"L_MODV2_SOIL_CLAY_002",Units:["%",null]},L_MODV2_SOIL_CLAY_003:{Element:"Clay",ModusTestIDv1:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003",Units:["%",null]},L_MODV2_SOIL_CLAY_004:{Element:"Clay",ModusTestIDv1:"S-CLAY-SED.11,S-CLAY-ST-OT",ModusTestIDv2:"L_MODV2_SOIL_CLAY_004",Units:["%",null]},L_MODV2_SOIL_CO2RESP_001:{Element:"CO2 Respiration",ModusTestIDv1:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001",Units:["%",null]},L_MODV2_SOIL_CO_001:{Element:"Cobalt",ModusTestIDv1:"S-CO-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CO_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_CO_003:{Element:"Cobalt",ModusTestIDv1:"S-CO-DTPA.04",ModusTestIDv2:"L_MODV2_SOIL_CO_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_004:{Element:"Cobalt",ModusTestIDv1:"S-CO-EPA2007.00",ModusTestIDv2:"L_MODV2_SOIL_CO_004",Units:["mg/L",null]},L_MODV2_SOIL_CO_005:{Element:"Cobalt",ModusTestIDv1:"S-CO-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CO_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_006:{Element:"Cobalt",ModusTestIDv1:"S-CO-M3.04",ModusTestIDv2:"L_MODV2_SOIL_CO_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_COLOR_001:{Element:"Color",ModusTestIDv1:"S-Color.24",ModusTestIDv2:"L_MODV2_SOIL_COLOR_001",Units:["none",null]},L_MODV2_SOIL_CU_002:{Element:"Copper",ModusTestIDv1:"S-CU-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_003:{Element:"Copper",ModusTestIDv1:"S-CU-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_CU_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_004:{Element:"Copper",ModusTestIDv1:"S-CU-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_005:{Element:"Copper",ModusTestIDv1:"S-CU-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CU_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_008:{Element:"Copper",ModusTestIDv1:"S-CU-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CU_008",Units:["mg/kg",null]},L_MODV2_SOIL_CU_009:{Element:"Copper",ModusTestIDv1:"S-CU-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CU_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_010:{Element:"Copper",ModusTestIDv1:"S-CU-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_CU_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_011:{Element:"Copper",ModusTestIDv1:"S-CU-RES.04",ModusTestIDv2:"L_MODV2_SOIL_CU_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_012:{Element:"Copper",ModusTestIDv1:"S-CU-M1.05",ModusTestIDv2:"L_MODV2_SOIL_CU_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_013:{Element:"Copper",ModusTestIDv1:"S-CU-M2.05",ModusTestIDv2:"L_MODV2_SOIL_CU_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_014:{Element:"Copper",ModusTestIDv1:"S-CU-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CU_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_018:{Element:"Copper",ModusTestIDv1:"S-CU-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CU_018",Units:["ppm",null]},L_MODV2_SOIL_CU_022:{Element:"Copper",ModusTestIDv1:"S-CU-SP.04",ModusTestIDv2:"L_MODV2_SOIL_CU_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CUINDEX_001:{Element:"Copper Index",ModusTestIDv1:"S-CU-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_CUINDEX_001",Units:["none",null]},L_MODV2_SOIL_DM_001:{Element:"Deleterious material",ModusTestIDv1:"S-DM.15",ModusTestIDv2:"L_MODV2_SOIL_DM_001",Units:["%",null]},L_MODV2_SOIL_DINDEX_001:{Element:"Dispersion Index",ModusTestIDv1:"S-DI.24",ModusTestIDv2:"L_MODV2_SOIL_DINDEX_001",Units:["none",null]},L_MODV2_SOIL_EC_001:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001",Units:["dS/m","mmho/cm"]},L_MODV2_SOIL_EC_002:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:2.03",ModusTestIDv2:"L_MODV2_SOIL_EC_002",Units:["dS/m","mmho/cm"]},L_MODV2_SOIL_EC_003:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:5.03",ModusTestIDv2:"L_MODV2_SOIL_EC_003",Units:["dS/m","mmho/cm"]},L_MODV2_SOIL_EC_004:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-SP.03",ModusTestIDv2:"L_MODV2_SOIL_EC_004",Units:["dS/m","mmho/cm"]},L_MODV2_SOIL_EC_005:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC.CALC.19",ModusTestIDv2:"L_MODV2_SOIL_EC_005",Units:["dS/m",null]},L_MODV2_SOIL_ESI_001:{Element:"Electrochemical Stability Index",ModusTestIDv1:"S-ESI.19",ModusTestIDv2:"L_MODV2_SOIL_ESI_001",Units:["none",null]},L_MODV2_SOIL_EMERSON_001:{Element:"Emerson Class",ModusTestIDv1:"S-EMERSON.19",ModusTestIDv2:"L_MODV2_SOIL_EMERSON_001",Units:["none",null]},L_MODV2_SOIL_ENR_001:{Element:"Estimated Nitrogen Release",ModusTestIDv1:"S-ENR.19",ModusTestIDv2:"L_MODV2_SOIL_ENR_001",Units:["lb/ac","kg/ha"]},L_MODV2_SOIL_XACIDT_001:{Element:"Exchangeable Acidity",ModusTestIDv1:"S-AC-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_XACIDT_001",Units:["cmol/kg","meq/100 g"]},L_MODV2_SOIL_XAL_001:{Element:"Exchangeable Aluminum",ModusTestIDv1:"S-EAL-KCL.19",ModusTestIDv2:"L_MODV2_SOIL_XAL_001",Units:["%",null]},L_MODV2_SOIL_XCAP_001:{Element:"Exchangeable Calcium Percentage",ModusTestIDv1:"S-ECAP.19",ModusTestIDv2:"L_MODV2_SOIL_XCAP_001",Units:["%",null]},L_MODV2_SOIL_XH_001:{Element:"Exchangeable Hydrogen",ModusTestIDv1:"S-EH-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_XH_001",Units:["meq/100 g","cmol/kg"]},L_MODV2_SOIL_XHP_001:{Element:"Exchangeable Hydrogen Percentage",ModusTestIDv1:"S-EHP.19",ModusTestIDv2:"L_MODV2_SOIL_XHP_001",Units:["%",null]},L_MODV2_SOIL_XMGP_001:{Element:"Exchangeable Magnesium Percentage",ModusTestIDv1:"S-EMGP.19",ModusTestIDv2:"L_MODV2_SOIL_XMGP_001",Units:["%",null]},L_MODV2_SOIL_XKP_001:{Element:"Exchangeable Potassium Percentage",ModusTestIDv1:"S-EKP.19",ModusTestIDv2:"L_MODV2_SOIL_XKP_001",Units:["%",null]},L_MODV2_SOIL_XNAP_001:{Element:"Exchangeable Sodium Percentage",ModusTestIDv1:"S-ESP.19",ModusTestIDv2:"L_MODV2_SOIL_XNAP_001",Units:["%",null]},L_MODV2_SOIL_F_001:{Element:"Fluoride",ModusTestIDv1:"S-F-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_F_001",Units:["mg/L",null]},L_MODV2_SOIL_GTRI_001:{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_001",Units:["none",null]},L_MODV2_SOIL_GTRI_002:{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-AA.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_002",Units:["none",null]},L_MODV2_SOIL_GTRI_003:{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_003",Units:["none",null]},L_MODV2_SOIL_GRAVEL_001:{Element:"Gravel",ModusTestIDv1:"S-GRAVEL.19",ModusTestIDv2:"L_MODV2_SOIL_GRAVEL_001",Units:["%",null]},L_MODV2_SOIL_GYPREC_001:{Element:"Gypsum Recommendation",ModusTestIDv1:"S-GYPR.19",ModusTestIDv2:"L_MODV2_SOIL_GYPREC_001",Units:["tons/ac",null]},L_MODV2_SOIL_HEAL_001:{Element:"H+EAlP",ModusTestIDv1:"S-HEAL-SMP.19",ModusTestIDv2:"L_MODV2_SOIL_HEAL_001",Units:["none",null]},L_MODV2_SOIL_HM_001:{Element:"Humic Matter",ModusTestIDv1:"S-HA-FSPA.01",ModusTestIDv2:"L_MODV2_SOIL_HM_001",Units:["%",null]},L_MODV2_SOIL_HM_002:{Element:"Humic Matter",ModusTestIDv1:"S.HM-NaOH",ModusTestIDv2:"L_MODV2_SOIL_HM_002",Units:["%",null]},L_MODV2_SOIL_HAL_001:{Element:"Hydrogen+Aluminum",ModusTestIDv1:"S-H+AL-SMP.02",ModusTestIDv2:"L_MODV2_SOIL_HAL_001",Units:["meq/100 g",null]},L_MODV2_SOIL_OH_001:{Element:"Hydroxide",ModusTestIDv1:"S-OH-SM2320B18.12",ModusTestIDv2:"L_MODV2_SOIL_OH_001",Units:["mg/L",null]},L_MODV2_SOIL_FE_001:{Element:"Iron",ModusTestIDv1:"S-FE-OX.23",ModusTestIDv2:"L_MODV2_SOIL_FE_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_003:{Element:"Iron",ModusTestIDv1:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_004:{Element:"Iron",ModusTestIDv1:"S-FE-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_FE_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_005:{Element:"Iron",ModusTestIDv1:"S-FE-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_006:{Element:"Iron",ModusTestIDv1:"S-FE-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_FE_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_007:{Element:"Iron",ModusTestIDv1:"S-FE-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_FE_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_010:{Element:"Iron",ModusTestIDv1:"S-FE-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_FE_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_011:{Element:"Iron",ModusTestIDv1:"S-FE-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_FE_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_012:{Element:"Iron",ModusTestIDv1:"S-FE-RES.04",ModusTestIDv2:"L_MODV2_SOIL_FE_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_013:{Element:"Iron",ModusTestIDv1:"S-FE-M1.05",ModusTestIDv2:"L_MODV2_SOIL_FE_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_014:{Element:"Iron",ModusTestIDv1:"S-FE-M2.05",ModusTestIDv2:"L_MODV2_SOIL_FE_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_015:{Element:"Iron",ModusTestIDv1:"S-FE-M3.05",ModusTestIDv2:"L_MODV2_SOIL_FE_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_017:{Element:"Iron",ModusTestIDv1:"S-FE-NA.04",ModusTestIDv2:"L_MODV2_SOIL_FE_017",Units:["ppm",null]},L_MODV2_SOIL_FE_021:{Element:"Iron",ModusTestIDv1:"S-FE-SP.04",ModusTestIDv2:"L_MODV2_SOIL_FE_021",Units:["mg/L",null]},L_MODV2_SOIL_KBRATIO_001:{Element:"K:B ratio",ModusTestIDv1:"S-K:B.19",ModusTestIDv2:"L_MODV2_SOIL_KBRATIO_001",Units:["none","ppm"]},L_MODV2_SOIL_KBRATIO_002:{Element:"K:B ratio",ModusTestIDv1:"S-K:B-M3.19",ModusTestIDv2:"L_MODV2_SOIL_KBRATIO_002",Units:["none",null]},L_MODV2_SOIL_KMGRATIO_001:{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_001",Units:["none",null]},L_MODV2_SOIL_KMGRATIO_002:{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-AA.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_002",Units:["none",null]},L_MODV2_SOIL_KMGRATIO_003:{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_003",Units:["none",null]},L_MODV2_SOIL_KMGRATIO_004:{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_004",Units:["none",null]},L_MODV2_SOIL_KNARATIO_001:{Element:"K:Na ratio",ModusTestIDv1:"S-K:Na-M3.19",ModusTestIDv2:"L_MODV2_SOIL_KNARATIO_001",Units:["none",null]},L_MODV2_SOIL_KNARATIO_002:{Element:"K:Na ratio",ModusTestIDv1:"S-K:Na.19",ModusTestIDv2:"L_MODV2_SOIL_KNARATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_PB_001:{Element:"Lead",ModusTestIDv1:"S-PB-AR.07",ModusTestIDv2:"L_MODV2_SOIL_PB_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_PB_002:{Element:"Lead",ModusTestIDv1:"S-PB-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_PB_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PB_003:{Element:"Lead",ModusTestIDv1:"S-PB-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_PB_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_LINDEX_001:{Element:"Lime Index",ModusTestIDv1:"S-LIME-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_LINDEX_001",Units:["none",null]},L_MODV2_SOIL_LREC_001:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-AEB",ModusTestIDv2:"L_MODV2_SOIL_LREC_001",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_002:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MAEB",ModusTestIDv2:"L_MODV2_SOIL_LREC_002",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_003:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MB",ModusTestIDv2:"L_MODV2_SOIL_LREC_003",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_004:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MWB",ModusTestIDv2:"L_MODV2_SOIL_LREC_004",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_005:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SIK1",ModusTestIDv2:"L_MODV2_SOIL_LREC_005",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_006:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SIK2",ModusTestIDv2:"L_MODV2_SOIL_LREC_006",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_007:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SMP",ModusTestIDv2:"L_MODV2_SOIL_LREC_007",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_008:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-TA",ModusTestIDv2:"L_MODV2_SOIL_LREC_008",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_009:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-WB",ModusTestIDv2:"L_MODV2_SOIL_LREC_009",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LI_001:{Element:"Lithium",ModusTestIDv1:"S-LI-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_LI_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_001:{Element:"Magnesium",ModusTestIDv1:"S-MG-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_MG_001",Units:["cmol/kg","%"]},L_MODV2_SOIL_MG_002:{Element:"Magnesium",ModusTestIDv1:"S-MG-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_MG_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_003:{Element:"Magnesium",ModusTestIDv1:"S-MG-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_MG_003",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_MG_004:{Element:"Magnesium",ModusTestIDv1:"S-MG-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_MG_004",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_MG_005:{Element:"Magnesium",ModusTestIDv1:"S-MG-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_MG_005",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_MG_007:{Element:"Magnesium",ModusTestIDv1:"S-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MG_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_008:{Element:"Magnesium",ModusTestIDv1:"S-MG-W1:1.05",ModusTestIDv2:"L_MODV2_SOIL_MG_008",Units:["meq/L",null]},L_MODV2_SOIL_MG_009:{Element:"Magnesium",ModusTestIDv1:"S-MG-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_MG_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_010:{Element:"Magnesium",ModusTestIDv1:"S-MG-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_MG_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_011:{Element:"Magnesium",ModusTestIDv1:"S-MG-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_MG_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_012:{Element:"Magnesium",ModusTestIDv1:"S-MG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_MG_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_015:{Element:"Magnesium",ModusTestIDv1:"S-MG-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_MG_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_017:{Element:"Magnesium",ModusTestIDv1:"S-MG-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MG_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_018:{Element:"Magnesium",ModusTestIDv1:"S-MG-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_MG_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_019:{Element:"Magnesium",ModusTestIDv1:"S-MG-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MG_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_020:{Element:"Magnesium",ModusTestIDv1:"S-MG-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MG_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_022:{Element:"Magnesium",ModusTestIDv1:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_023:{Element:"Magnesium",ModusTestIDv1:"S-MG-MOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_024:{Element:"Magnesium",ModusTestIDv1:"S-MG-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_025:{Element:"Magnesium",ModusTestIDv1:"S-MG-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MG_025",Units:["%",null]},L_MODV2_SOIL_MG_027:{Element:"Magnesium",ModusTestIDv1:"S-MG-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MG_027",Units:["mg/m2",null]},L_MODV2_SOIL_MG_028:{Element:"Magnesium",ModusTestIDv1:"S-MG-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MG_028",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_029:{Element:"Magnesium",ModusTestIDv1:"S-MG-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_MG_029",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_030:{Element:"Magnesium",ModusTestIDv1:"S-MG-SP.05",ModusTestIDv2:"L_MODV2_SOIL_MG_030",Units:["meq/L",null]},L_MODV2_SOIL_MG_031:{Element:"Magnesium",ModusTestIDv1:"S-MG-TRG.06",ModusTestIDv2:"L_MODV2_SOIL_MG_031",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MGINDEX_001:{Element:"Magnesium Index",ModusTestIDv1:"S-MG-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_MGINDEX_001",Units:["none",null]},L_MODV2_SOIL_MN_002:{Element:"Manganese",ModusTestIDv1:"S-MN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_003:{Element:"Manganese",ModusTestIDv1:"S-MN-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_MN_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_004:{Element:"Manganese",ModusTestIDv1:"S-MN-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_005:{Element:"Manganese",ModusTestIDv1:"S-MN-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_MN_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_009:{Element:"Manganese",ModusTestIDv1:"S-MN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_MN_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_010:{Element:"Manganese",ModusTestIDv1:"S-MN-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MN_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_011:{Element:"Manganese",ModusTestIDv1:"S-MN-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_MN_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_012:{Element:"Manganese",ModusTestIDv1:"S-MN-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MN_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_013:{Element:"Manganese",ModusTestIDv1:"S-MN-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MN_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_015:{Element:"Manganese",ModusTestIDv1:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_018:{Element:"Manganese",ModusTestIDv1:"S-MN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MN_018",Units:["ppm",null]},L_MODV2_SOIL_MN_019:{Element:"Manganese",ModusTestIDv1:"S-MN-PHOS.05",ModusTestIDv2:"L_MODV2_SOIL_MN_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_024:{Element:"Manganese",ModusTestIDv1:"S-MN-SP.04",ModusTestIDv2:"L_MODV2_SOIL_MN_024",Units:["mg/L",null]},L_MODV2_SOIL_MNINDEX_001:{Element:"Manganese Index",ModusTestIDv1:"S-MN-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_MNINDEX_001",Units:["none",null]},L_MODV2_SOIL_HG_001:{Element:"Mercury",ModusTestIDv1:"S-HG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_HG_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MGKRATIO_001:{Element:"Mg:K ratio",ModusTestIDv1:"S-MG:K.19",ModusTestIDv2:"L_MODV2_SOIL_MGKRATIO_001",Units:["none",null]},L_MODV2_SOIL_MNCURATIO_001:{Element:"Mn:Cu ratio",ModusTestIDv1:"S-Mn:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_MNCURATIO_001",Units:["none",null]},L_MODV2_SOIL_MNCURATIO_002:{Element:"Mn:Cu ratio",ModusTestIDv1:"S-Mn:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_MNCURATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_MNZNRATIO_001:{Element:"Mn:Zn ratio",ModusTestIDv1:"S-Mn:Zn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_MNZNRATIO_001",Units:["none",null]},L_MODV2_SOIL_MNZNRATIO_002:{Element:"Mn:Zn ratio",ModusTestIDv1:"S-Mn:Zn.19",ModusTestIDv2:"L_MODV2_SOIL_MNZNRATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_GAWC_001:{Element:"moisture content",ModusTestIDv1:"S-AW.14",ModusTestIDv2:"L_MODV2_SOIL_GAWC_001",Units:["%","in/ft"]},L_MODV2_SOIL_GWC_001:{Element:"moisture content",ModusTestIDv1:"S-MOIST-GRAV.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_001",Units:["%",null]},L_MODV2_SOIL_GWC_002:{Element:"moisture content",ModusTestIDv1:"S-MOIST-SP.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_002",Units:["%",null]},L_MODV2_SOIL_GWC_03BAR_001:{Element:"moisture content",ModusTestIDv1:"S-0.3BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_03BAR_001",Units:["%","in/ft"]},L_MODV2_SOIL_GWC_15BAR_001:{Element:"moisture content",ModusTestIDv1:"S-15BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_15BAR_001",Units:["%","in/ft"]},L_MODV2_SOIL_MO_001:{Element:"Molybdenum",ModusTestIDv1:"S-MO-OA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_002:{Element:"Molybdenum",ModusTestIDv1:"S-MO-OA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_003:{Element:"Molybdenum",ModusTestIDv1:"S-MO-AR.07",ModusTestIDv2:"L_MODV2_SOIL_MO_003",Units:["ug/kg","ppb"]},L_MODV2_SOIL_MO_005:{Element:"Molybdenum",ModusTestIDv1:"S-MO-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_MO_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_006:{Element:"Molybdenum",ModusTestIDv1:"S-MO-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_MO_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_009:{Element:"Molybdenum",ModusTestIDv1:"S-MO-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MO_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_010:{Element:"Molybdenum",ModusTestIDv1:"S-MO-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MO_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_011:{Element:"Molybdenum",ModusTestIDv1:"S-MO-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MO_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_012:{Element:"Molybdenum",ModusTestIDv1:"S-MO-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MO_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_014:{Element:"Molybdenum",ModusTestIDv1:"S-MO-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MO_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_015:{Element:"Molybdenum",ModusTestIDv1:"S-MO-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_015",Units:["ppm",null]},L_MODV2_SOIL_MO_018:{Element:"Molybdenum",ModusTestIDv1:"S-MO-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MO_018",Units:["ug/10cm2",null]},L_MODV2_SOIL_MO_019:{Element:"Molybdenum",ModusTestIDv1:"S-MO-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MO_019",Units:["mg/m2",null]},L_MODV2_SOIL_MO_020:{Element:"Molybdenum",ModusTestIDv1:"S-MO-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MO_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_021:{Element:"Molybdenum",ModusTestIDv1:"S-MO-SP.04",ModusTestIDv2:"L_MODV2_SOIL_MO_021",Units:["mg/L",null]},L_MODV2_SOIL_MO_022:{Element:"Molybdenum",ModusTestIDv1:"S-MO-HOTH2O.04",ModusTestIDv2:"L_MODV2_SOIL_MO_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NI_001:{Element:"Nickel",ModusTestIDv1:"S-NI-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_NI_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NI_002:{Element:"Nickel",ModusTestIDv1:"S-NI-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_NI_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_001:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-ALSO4B.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_004:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-CTA.01.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_005:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-W1:1.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_005",Units:["meq/L",null]},L_MODV2_SOIL_NO3N_006:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_NO3N_006",Units:["mg/L",null]},L_MODV2_SOIL_NO3N_007:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-EPA3532.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_007",Units:["mg/kg",null]},L_MODV2_SOIL_NO3N_008:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_009:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-RES.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_010:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_011:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_012:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.09",ModusTestIDv2:"L_MODV2_SOIL_NO3N_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_013:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-KCL.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_014:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N.2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_015:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-05KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_016:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-5K2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_017:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-SP.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_018:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_018",Units:["meq/L",null]},L_MODV2_SOIL_NO3N_019:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_019",Units:["meq/L",null]},L_MODV2_SOIL_NO3N_020:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.02.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_020",Units:["meq/L",null]},L_MODV2_SOIL_NO3N_021:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-BIC.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO2N_001:{Element:"Nitrite-Nitrogen",ModusTestIDv1:"S-NO2-KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO2N_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TKN_001:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.01",ModusTestIDv2:"L_MODV2_SOIL_TKN_001",Units:["%",null]},L_MODV2_SOIL_TKN_002:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.01.05",ModusTestIDv2:"L_MODV2_SOIL_TKN_002",Units:["%",null]},L_MODV2_SOIL_TKN_003:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.09",ModusTestIDv2:"L_MODV2_SOIL_TKN_003",Units:["%",null]},L_MODV2_SOIL_TKN_004:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.18",ModusTestIDv2:"L_MODV2_SOIL_TKN_004",Units:["%",null]},L_MODV2_SOIL_TKN_005:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.01.05",ModusTestIDv2:"L_MODV2_SOIL_TKN_005",Units:["%",null]},L_MODV2_SOIL_TKN_006:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.09",ModusTestIDv2:"L_MODV2_SOIL_TKN_006",Units:["%",null]},L_MODV2_SOIL_TKN_007:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.18",ModusTestIDv2:"L_MODV2_SOIL_TKN_007",Units:["%",null]},L_MODV2_SOIL_TN_001:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.19",ModusTestIDv2:"L_MODV2_SOIL_TN_001",Units:["%",null]},L_MODV2_SOIL_TN_002:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002",Units:["%",null]},L_MODV2_SOIL_TN_003:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN-W.01",ModusTestIDv2:"L_MODV2_SOIL_TN_003",Units:[null,null]},L_MODV2_SOIL_TN_004:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN-RES.01",ModusTestIDv2:"L_MODV2_SOIL_TN_004",Units:["lb/ac/day","kg/ha/day"]},L_MODV2_SOIL_TIN_001:{Element:'"Nitrogen, Total Inorganic"',ModusTestIDv1:"S-TIN.19",ModusTestIDv2:"L_MODV2_SOIL_TIN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NULL_001:{Element:"Null",ModusTestIDv1:"S-XX.00",ModusTestIDv2:"L_MODV2_SOIL_NULL_001",Units:["none",null]},L_MODV2_SOIL_OC_001:{Element:"Organic Carbon",ModusTestIDv1:"S-TOC.16",ModusTestIDv2:"L_MODV2_SOIL_OC_001",Units:["%",null]},L_MODV2_SOIL_OC_002:{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.01",ModusTestIDv2:"L_MODV2_SOIL_OC_002",Units:["%",null]},L_MODV2_SOIL_OC_003:{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.01",ModusTestIDv2:"L_MODV2_SOIL_OC_003",Units:["%",null]},L_MODV2_SOIL_OC_004:{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.12",ModusTestIDv2:"L_MODV2_SOIL_OC_004",Units:["%",null]},L_MODV2_SOIL_OC_005:{Element:"Organic Carbon",ModusTestIDv1:"S-TOC-W1:10.16",ModusTestIDv2:"L_MODV2_SOIL_OC_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TOC_001:{Element:'"Organic Carbon, Total"',ModusTestIDv1:"S-TOC.12.09",ModusTestIDv2:"L_MODV2_SOIL_TOC_001",Units:["%","g/kg"]},L_MODV2_SOIL_OM_001:{Element:"Organic Matter",ModusTestIDv1:"S-OM.19",ModusTestIDv2:"L_MODV2_SOIL_OM_001",Units:["%",null]},L_MODV2_SOIL_OM_002:{Element:"Organic Matter",ModusTestIDv1:"S-SOM-Color.19",ModusTestIDv2:"L_MODV2_SOIL_OM_002",Units:["%",null]},L_MODV2_SOIL_OM_003:{Element:"Organic Matter",ModusTestIDv1:"S-OM-DUMAS.16",ModusTestIDv2:"L_MODV2_SOIL_OM_003",Units:["%",null]},L_MODV2_SOIL_OM_004:{Element:"Organic Matter",ModusTestIDv1:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",Units:["%",null]},L_MODV2_SOIL_OM_005:{Element:"Organic Matter",ModusTestIDv1:"S-SOM-WB.01.09",ModusTestIDv2:"L_MODV2_SOIL_OM_005",Units:["%",null]},L_MODV2_SOIL_OM_006:{Element:"Organic Matter",ModusTestIDv1:"S-SOM-WB.12.09",ModusTestIDv2:"L_MODV2_SOIL_OM_006",Units:["%",null]},L_MODV2_SOIL_ON_001:{Element:"Organic Nitrogen",ModusTestIDv1:"S-ON.19",ModusTestIDv2:"L_MODV2_SOIL_ON_001",Units:["mg/L",null]},L_MODV2_SOIL_OTHER_001:{Element:"Other",ModusTestIDv1:"S-OTHER.19",ModusTestIDv2:"L_MODV2_SOIL_OTHER_001",Units:["none",null]},L_MODV2_SOIL_PCURATIO_001:{Element:"P:Cu ratio",ModusTestIDv1:"S-P:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PCURATIO_001",Units:["none",null]},L_MODV2_SOIL_PCURATIO_002:{Element:"P:Cu ratio",ModusTestIDv1:"S-P:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_PCURATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_PMNRATIO_001:{Element:"P:Mn ratio",ModusTestIDv1:"S-P:Mn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PMNRATIO_001",Units:["none",null]},L_MODV2_SOIL_PMNRATIO_002:{Element:"P:Mn ratio",ModusTestIDv1:"S-P:Mn.19",ModusTestIDv2:"L_MODV2_SOIL_PMNRATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_PSRATIO_001:{Element:"P:S ratio",ModusTestIDv1:"S-P:S-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PSRATIO_001",Units:["none",null]},L_MODV2_SOIL_PSRATIO_002:{Element:"P:S ratio",ModusTestIDv1:"S-P:S.19",ModusTestIDv2:"L_MODV2_SOIL_PSRATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_PZNRATIO_001:{Element:"P:Zn ratio",ModusTestIDv1:"S-P:Zn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PZNRATIO_001",Units:["none",null]},L_MODV2_SOIL_PZNRATIO_002:{Element:"P:Zn ratio",ModusTestIDv1:"S-P:Zn.19",ModusTestIDv2:"L_MODV2_SOIL_PZNRATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_MNO4OXC_001:{Element:"permanganate-oxidizable carbon (POXC)",ModusTestIDv1:"S-AC-KMNO4.01",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PH_002:{Element:"pH",ModusTestIDv1:"S-PH-1:1.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_002",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_003:{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_003",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_004:{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_004",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_005:{Element:"pH",ModusTestIDv1:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_006:{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_006",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_007:{Element:"pH",ModusTestIDv1:"S-PH-1:2.5.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_007",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_008:{Element:"pH",ModusTestIDv1:"S-pH-1:5H2O.02",ModusTestIDv2:"L_MODV2_SOIL_PH_008",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_010:{Element:"pH",ModusTestIDv1:"S-PH-1:1KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_010",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_011:{Element:"pH",ModusTestIDv1:"S-PH-1:5.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_011",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_012:{Element:"pH",ModusTestIDv1:"S-pH-1:5KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_012",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_013:{Element:"pH",ModusTestIDv1:"S-PH-SP.02",ModusTestIDv2:"L_MODV2_SOIL_PH_013",Units:["standard pH unit",null]},L_MODV2_SOIL_P_001:{Element:"Phosphorus",ModusTestIDv1:"S-P-AA-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_P_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_003:{Element:"Phosphorus",ModusTestIDv1:"S-P-AR.23",ModusTestIDv2:"L_MODV2_SOIL_P_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_004:{Element:"Phosphorus",ModusTestIDv1:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_005:{Element:"Phosphorus",ModusTestIDv1:"S-P-B1-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_006:{Element:"Phosphorus",ModusTestIDv1:"S-P-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_007:{Element:"Phosphorus",ModusTestIDv1:"S-P-B2-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_008:{Element:"Phosphorus",ModusTestIDv1:"S-P-BK.23",ModusTestIDv2:"L_MODV2_SOIL_P_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_009:{Element:"Phosphorus",ModusTestIDv1:"S-P-LACTATE.01",ModusTestIDv2:"L_MODV2_SOIL_P_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_010:{Element:"Phosphorus",ModusTestIDv1:"S-P-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_P_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_011:{Element:"Phosphorus",ModusTestIDv1:"S-P-M3BRAYP1.19",ModusTestIDv2:"L_MODV2_SOIL_P_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_013:{Element:"Phosphorus",ModusTestIDv1:"S-P-CALD.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_014:{Element:"Phosphorus",ModusTestIDv1:"S-P-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_P_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_015:{Element:"Phosphorus",ModusTestIDv1:"S-P-W1:5.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_016:{Element:"Phosphorus",ModusTestIDv1:"S-P-W10:1.04",ModusTestIDv2:"L_MODV2_SOIL_P_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_017:{Element:"Phosphorus",ModusTestIDv1:"S-P-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_P_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_018:{Element:"Phosphorus",ModusTestIDv1:"S-P-DGT.01",ModusTestIDv2:"L_MODV2_SOIL_P_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_019:{Element:"Phosphorus",ModusTestIDv1:"S-P-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_P_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_020:{Element:"Phosphorus",ModusTestIDv1:"S-P-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_P_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_021:{Element:"Phosphorus",ModusTestIDv1:"S-P-RES.01",ModusTestIDv2:"L_MODV2_SOIL_P_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_022:{Element:"Phosphorus",ModusTestIDv1:"S-P-RES.04",ModusTestIDv2:"L_MODV2_SOIL_P_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_023:{Element:"Phosphorus",ModusTestIDv1:"S-P-KEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_024:{Element:"Phosphorus",ModusTestIDv1:"S-P-MKEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_025:{Element:"Phosphorus",ModusTestIDv1:"S-P-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_P_025",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_026:{Element:"Phosphorus",ModusTestIDv1:"S-P-M1.04",ModusTestIDv2:"L_MODV2_SOIL_P_026",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_027:{Element:"Phosphorus",ModusTestIDv1:"S-P-M1.04",ModusTestIDv2:"L_MODV2_SOIL_P_027",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_029:{Element:"Phosphorus",ModusTestIDv1:"S-P-M2.04",ModusTestIDv2:"L_MODV2_SOIL_P_029",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_032:{Element:"Phosphorus",ModusTestIDv1:"S-P-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_032",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_033:{Element:"Phosphorus",ModusTestIDv1:"S-P-M3.04",ModusTestIDv2:"L_MODV2_SOIL_P_033",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_035:{Element:"Phosphorus",ModusTestIDv1:"S-P-MOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_035",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_036:{Element:"Phosphorus",ModusTestIDv1:"S-P-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_036",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_037:{Element:"Phosphorus",ModusTestIDv1:"S-P-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_037",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_038:{Element:"Phosphorus",ModusTestIDv1:"S-P-NA.04",ModusTestIDv2:"L_MODV2_SOIL_P_038",Units:["%",null]},L_MODV2_SOIL_P_039:{Element:"Phosphorus",ModusTestIDv1:"S-P-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_P_039",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_042:{Element:"Phosphorus",ModusTestIDv1:"S-P-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_P_042",Units:["mg/m2",null]},L_MODV2_SOIL_P_044:{Element:"Phosphorus",ModusTestIDv1:"S-P-SP.04",ModusTestIDv2:"L_MODV2_SOIL_P_044",Units:["mg/L",null]},L_MODV2_SOIL_P_045:{Element:"Phosphorus",ModusTestIDv1:"S-P-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_045",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_046:{Element:"Phosphorus",ModusTestIDv1:"S-P-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_P_046",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_047:{Element:"Phosphorus",ModusTestIDv1:"S-P-TRG.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_047",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PBUFINDEX_001:{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PBUFINDEX_002:{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-BIC.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PBUFINDEX_003:{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-COL.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PBUFINDEX_004:{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PERINDEX_001:{Element:"Phosphorus Environmental Risk Index",ModusTestIDv1:"S-PERI.19",ModusTestIDv2:"L_MODV2_SOIL_PERINDEX_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PFF_001:{Element:"Phosphorus Fixation Factor",ModusTestIDv1:"S-PFF-M3.04",ModusTestIDv2:"L_MODV2_SOIL_PFF_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PINDEX_001:{Element:"Potassium Index",ModusTestIDv1:"S-K-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_001",Units:["none",null]},L_MODV2_SOIL_PINDEX_002:{Element:"Potassium Index",ModusTestIDv1:"S-K-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_002",Units:["none",null]},L_MODV2_SOIL_PINDEX_003:{Element:"Phosphorus Index",ModusTestIDv1:"S-P-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PRATIO_001:{Element:"Phosphorus Ratio",ModusTestIDv1:"S-PR-M3.23",ModusTestIDv2:"L_MODV2_SOIL_PRATIO_001",Units:["none",null]},L_MODV2_SOIL_PRI_001:{Element:"Phosphorus Retention Index",ModusTestIDv1:"S-PRI-KCL.01",ModusTestIDv2:"L_MODV2_SOIL_PRI_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PSINDEX_001:{Element:"Phosphorus Saturation Index",ModusTestIDv1:"S-PSI.M3.19",ModusTestIDv2:"L_MODV2_SOIL_PSINDEX_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PSINDEX_002:{Element:"Phosphorus Saturation Index",ModusTestIDv1:"S-PSI.M3O.19",ModusTestIDv2:"L_MODV2_SOIL_PSINDEX_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TP_001:{Element:'"phosphorus, total\xA0"',ModusTestIDv1:"S-TP-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_TP_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TP_002:{Element:'"phosphorus, total\xA0"',ModusTestIDv1:"S-TP-NA.04",ModusTestIDv2:"L_MODV2_SOIL_TP_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_001:{Element:"Potassium",ModusTestIDv1:"S-K-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_K_001",Units:["cmol/kg","%"]},L_MODV2_SOIL_K_004:{Element:"Potassium",ModusTestIDv1:"S-K-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_K_004",Units:["meq/100 g",null]},L_MODV2_SOIL_K_005:{Element:"Potassium",ModusTestIDv1:"S-K-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_K_005",Units:["meq/100 g",null]},L_MODV2_SOIL_K_006:{Element:"Potassium",ModusTestIDv1:"S-K-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_K_006",Units:["cmol/kg","%"]},L_MODV2_SOIL_K_017:{Element:"Potassium",ModusTestIDv1:"S-K-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_019:{Element:"Potassium",ModusTestIDv1:"S-K-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_K_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_020:{Element:"Potassium",ModusTestIDv1:"S-K-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_K_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_021:{Element:"Potassium",ModusTestIDv1:"S-K-HCL.23",ModusTestIDv2:"L_MODV2_SOIL_K_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_023:{Element:"Potassium",ModusTestIDv1:"S-K-RES.04",ModusTestIDv2:"L_MODV2_SOIL_K_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_027:{Element:"Potassium",ModusTestIDv1:"S-K-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_K_027",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_028:{Element:"Potassium",ModusTestIDv1:"S-K-M3.20",ModusTestIDv2:"L_MODV2_SOIL_K_028",Units:["ppm",null]},L_MODV2_SOIL_K_035:{Element:"Potassium",ModusTestIDv1:"S-K-HNO3.07",ModusTestIDv2:"L_MODV2_SOIL_K_035",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_036:{Element:"Potassium",ModusTestIDv1:"S-K-HNO3.23",ModusTestIDv2:"L_MODV2_SOIL_K_036",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_037:{Element:"Potassium",ModusTestIDv1:"S-K-NA.04",ModusTestIDv2:"L_MODV2_SOIL_K_037",Units:["%",null]},L_MODV2_SOIL_K_038:{Element:"Potassium",ModusTestIDv1:"S-K-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_K_038",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_039:{Element:"Potassium",ModusTestIDv1:"S-K-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_K_039",Units:["mg/m2",null]},L_MODV2_SOIL_K_042:{Element:"Potassium",ModusTestIDv1:"S-K-SP.05",ModusTestIDv2:"L_MODV2_SOIL_K_042",Units:["meq/L",null]},L_MODV2_SOIL_K_047:{Element:"Potassium",ModusTestIDv1:"S-K-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_047",Units:["mg/kg",null]},L_MODV2_SOIL_K_048:{Element:"Potassium",ModusTestIDv1:"S-K.19",ModusTestIDv2:"L_MODV2_SOIL_K_048",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_050:{Element:"potassium\xA0",ModusTestIDv1:"S-K-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_K_050",Units:["mg/kg","ppm"]},L_MODV2_SOIL_KFF_001:{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.04",ModusTestIDv2:"L_MODV2_SOIL_KFF_001",Units:["%",null]},L_MODV2_SOIL_TK_002:{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TKP.01",ModusTestIDv2:"L_MODV2_SOIL_TK_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_POTMN_001:{Element:"potentially mineralizable nitrogen (PMN)",ModusTestIDv2:"L_MODV2_SOIL_POTMN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_POTOXC_001:{Element:"Potential Oxidizable Carbon",ModusTestIDv1:"S-POXC.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTOXC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_RZM_001:{Element:"Rootzone Moisture",ModusTestIDv1:"S-RZM.00",ModusTestIDv2:"L_MODV2_SOIL_RZM_001",Units:["%",null]},L_MODV2_SOIL_SAND_001:{Element:"Sand",ModusTestIDv1:"S-SAND-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SAND_001",Units:["%",null]},L_MODV2_SOIL_SAND_002:{Element:"Sand",ModusTestIDv1:"S-SAND.22",ModusTestIDv2:"L_MODV2_SOIL_SAND_002",Units:["%",null]},L_MODV2_SOIL_SAND_003:{Element:"Sand",ModusTestIDv1:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003",Units:["%",null]},L_MODV2_SOIL_SAND_004:{Element:"Sand",ModusTestIDv1:"S-SAND-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SAND_004",Units:["%",null]},L_MODV2_SOIL_SANDC_001:{Element:"sand - coarse",ModusTestIDv1:"S-SANDC.BAL.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_001",Units:["%",null]},L_MODV2_SOIL_SANDC_002:{Element:"sand - coarse",ModusTestIDv1:"S-SANDC.HYDRO.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_002",Units:["%",null]},L_MODV2_SOIL_SANDC_003:{Element:"sand - coarse",ModusTestIDv1:"S-SANDC-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_003",Units:["%",null]},L_MODV2_SOIL_SANDF_001:{Element:"sand - fine",ModusTestIDv1:"S-SANDF.DAL.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_001",Units:["%",null]},L_MODV2_SOIL_SANDF_002:{Element:"sand - fine",ModusTestIDv1:"S-SANDF-HYDRO.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_002",Units:["%",null]},L_MODV2_SOIL_SANDF_003:{Element:"sand - fine",ModusTestIDv1:"S-SANDF-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_003",Units:["%",null]},L_MODV2_SOIL_SS:{Element:"Saturation Paste %",ModusTestIDv1:"S-SP%.19",ModusTestIDv2:"L_MODV2_SOIL_SS",Units:["%",null]},L_MODV2_SOIL_SE_001:{Element:"Selenium",ModusTestIDv1:"S-SE-AR.07",ModusTestIDv2:"L_MODV2_SOIL_SE_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_SE_003:{Element:"Selenium",ModusTestIDv1:"S-SE-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SE_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SI_001:{Element:"Silicon",ModusTestIDv1:"S-SI-AA.04",ModusTestIDv2:"L_MODV2_SOIL_SI_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SI_003:{Element:"Silicon",ModusTestIDv1:"S-SI-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_SI_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SI_004:{Element:"Silicon",ModusTestIDv1:"S-SI-KCL.04",ModusTestIDv2:"L_MODV2_SOIL_SI_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SI_005:{Element:"Silicon",ModusTestIDv1:"S-SI-SP.04",ModusTestIDv2:"L_MODV2_SOIL_SI_005",Units:["mg/L",null]},L_MODV2_SOIL_SI_006:{Element:"Silicon",ModusTestIDv1:"S-SI-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_SI_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SILT_001:{Element:"Silt",ModusTestIDv1:"S-SILT-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SILT_001",Units:["%",null]},L_MODV2_SOIL_SILT_002:{Element:"Silt",ModusTestIDv1:"S-SILT.22",ModusTestIDv2:"L_MODV2_SOIL_SILT_002",Units:["%",null]},L_MODV2_SOIL_SILT_003:{Element:"Silt",ModusTestIDv1:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003",Units:["%",null]},L_MODV2_SOIL_SILT_004:{Element:"Silt",ModusTestIDv1:"S-SILT-SED.11,S-SILT-ST-OT",ModusTestIDv2:"L_MODV2_SOIL_SILT_004",Units:["%",null]},L_MODV2_SOIL_SILTCLAY_001:{Element:"Silt+Clay",ModusTestIDv1:"S-SI+C-SV",ModusTestIDv2:"L_MODV2_SOIL_SILTCLAY_001",Units:["%",null]},L_MODV2_SOIL_AG_001:{Element:"Silver",ModusTestIDv1:"S-AG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_AG_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SLAKING_001:{Element:"Slaking",ModusTestIDv1:"S-Slaking.24",ModusTestIDv2:"L_MODV2_SOIL_SLAKING_001",Units:["none",null]},L_MODV2_SOIL_NA_001:{Element:"Sodium",ModusTestIDv1:"S-NA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_NA_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_002:{Element:"Sodium",ModusTestIDv1:"S-NA-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_NA_002",Units:["meq/100 g",null]},L_MODV2_SOIL_NA_003:{Element:"Sodium",ModusTestIDv1:"S-NA-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_NA_003",Units:["meq/100 g",null]},L_MODV2_SOIL_NA_004:{Element:"Sodium",ModusTestIDv1:"S-NA-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_NA_004",Units:["cmol/kg","%"]},L_MODV2_SOIL_NA_006:{Element:"Sodium",ModusTestIDv1:"S-NA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_NA_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_008:{Element:"Sodium",ModusTestIDv1:"S-NA-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_NA_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_009:{Element:"Sodium",ModusTestIDv1:"S-NA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_NA_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_010:{Element:"Sodium",ModusTestIDv1:"S-NA-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_NA_010",Units:["lb/ac","ppm"]},L_MODV2_SOIL_NA_011:{Element:"Sodium",ModusTestIDv1:"S-NA-M1.05",ModusTestIDv2:"L_MODV2_SOIL_NA_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_012:{Element:"Sodium",ModusTestIDv1:"S-NA-M2.05",ModusTestIDv2:"L_MODV2_SOIL_NA_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_013:{Element:"Sodium",ModusTestIDv1:"S-NA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_NA_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_015:{Element:"Sodium",ModusTestIDv1:"S-NA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_NA_015",Units:["%",null]},L_MODV2_SOIL_NA_016:{Element:"Sodium",ModusTestIDv1:"S-NA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_NA_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_017:{Element:"Sodium",ModusTestIDv1:"S-NA-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_NA_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_018:{Element:"Sodium",ModusTestIDv1:"S-NA-RES.04",ModusTestIDv2:"L_MODV2_SOIL_NA_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_019:{Element:"Sodium",ModusTestIDv1:"S-NA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_NA_019",Units:["meq/L",null]},L_MODV2_SOIL_NA_020:{Element:"Sodium",ModusTestIDv1:"S-NA-W:1:1.05",ModusTestIDv2:"L_MODV2_SOIL_NA_020",Units:["meq/L",null]},L_MODV2_SOIL_NA_021:{Element:"Sodium",ModusTestIDv1:"S-NA-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_NA_021",Units:["mg/kg",null]},L_MODV2_SOIL_NA_022:{Element:"Sodium",ModusTestIDv1:"S-NA-W5:1.12",ModusTestIDv2:"L_MODV2_SOIL_NA_022",Units:["mg/kg",null]},L_MODV2_SOIL_NA_023:{Element:"Sodium",ModusTestIDv1:"S-NA-W5:1.23",ModusTestIDv2:"L_MODV2_SOIL_NA_023",Units:["mg/kg","mg/L"]},L_MODV2_SOIL_NA_024:{Element:"Sodium",ModusTestIDv1:"S-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NA_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SAR_001:{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-AA.19",ModusTestIDv2:"L_MODV2_SOIL_SAR_001",Units:["ratio",null]},L_MODV2_SOIL_SAR_002:{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-W5:1.19",ModusTestIDv2:"L_MODV2_SOIL_SAR_002",Units:["none",null]},L_MODV2_SOIL_SAR_003:{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-SP.00",ModusTestIDv2:"L_MODV2_SOIL_SAR_003",Units:["Ratio",null]},L_MODV2_SOIL_SOLIDS_001:{Element:'"solids, total"',ModusTestIDv1:"S-SOLIDS.19",ModusTestIDv2:"L_MODV2_SOIL_SOLIDS_001",Units:["%",null]},L_MODV2_SOIL_SS_001:{Element:"Soluble Salts",ModusTestIDv1:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SSINDEX_001:{Element:"Soluble Salts Index",ModusTestIDv1:"S-SS-NCINDX.19",ModusTestIDv2:"L_MODV2_SOIL_SSINDEX_001",Units:["none",null]},L_MODV2_SOIL_SR_001:{Element:"Strontium",ModusTestIDv1:"S-SR-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SR_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SO4S_001:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-1:5.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SO4S_003:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-S-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_SO4S_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SO4S_004:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-W1:1.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_004",Units:["meq/L",null]},L_MODV2_SOIL_SO4S_005:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-EPA300.04",ModusTestIDv2:"L_MODV2_SOIL_SO4S_005",Units:["mg/L",null]},L_MODV2_SOIL_SO4S_006:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-SP.08",ModusTestIDv2:"L_MODV2_SOIL_SO4S_006",Units:["meq/L",null]},L_MODV2_SOIL_SO4S_007:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-SP.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_007",Units:["meq/L",null]},L_MODV2_SOIL_S_001:{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_S_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_002:{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_S_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_003:{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.23",ModusTestIDv2:"L_MODV2_SOIL_S_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_004:{Element:"Sulfur",ModusTestIDv1:"S-S-CACL.05",ModusTestIDv2:"L_MODV2_SOIL_S_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_005:{Element:"Sulfur",ModusTestIDv1:"S-SO4-CaCl.04.08",ModusTestIDv2:"L_MODV2_SOIL_S_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_007:{Element:"Sulfur",ModusTestIDv1:"S-SO4-1:5.05",ModusTestIDv2:"L_MODV2_SOIL_S_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_009:{Element:"Sulfur",ModusTestIDv1:"S-S.16",ModusTestIDv2:"L_MODV2_SOIL_S_009",Units:["%",null]},L_MODV2_SOIL_S_010:{Element:"Sulfur",ModusTestIDv1:"S-SO4-1:5H2O.23",ModusTestIDv2:"L_MODV2_SOIL_S_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_011:{Element:"Sulfur",ModusTestIDv1:"S-SO4-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_011",Units:["meq/L",null]},L_MODV2_SOIL_S_012:{Element:"Sulfur",ModusTestIDv1:"S-S-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_013:{Element:"Sulfur",ModusTestIDv1:"S-S-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_014:{Element:"Sulfur",ModusTestIDv1:"S-S-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_015:{Element:"Sulfur",ModusTestIDv1:"S-S-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_S_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_016:{Element:"Sulfur",ModusTestIDv1:"S-S-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_S_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_017:{Element:"Sulfur",ModusTestIDv1:"S-S-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_S_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_020:{Element:"Sulfur",ModusTestIDv1:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_020",Units:["kg/ha","lb/ac"]},L_MODV2_SOIL_S_021:{Element:"Sulfur",ModusTestIDv1:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_022:{Element:"Sulfur",ModusTestIDv1:"S-SO4-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_023:{Element:"Sulfur",ModusTestIDv1:"S-SO4-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_024:{Element:"Sulfur",ModusTestIDv1:"S-S-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_025:{Element:"Sulfur",ModusTestIDv1:"S-S-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_S_025",Units:["kg/ha","lb/ac"]},L_MODV2_SOIL_S_026:{Element:"Sulfur",ModusTestIDv1:"S-S-M3.05",ModusTestIDv2:"L_MODV2_SOIL_S_026",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_028:{Element:"Sulfur",ModusTestIDv1:"S-S-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_S_028",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_029:{Element:"Sulfur",ModusTestIDv1:"S-S-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_S_029",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_030:{Element:"Sulfur",ModusTestIDv1:"S-S-NA.04",ModusTestIDv2:"L_MODV2_SOIL_S_030",Units:["%",null]},L_MODV2_SOIL_S_031:{Element:"Sulfur",ModusTestIDv1:"S-SO4-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_S_031",Units:["mg/m2",null]},L_MODV2_SOIL_S_034:{Element:"Sulfur",ModusTestIDv1:"S-S-0.25MKCL.23",ModusTestIDv2:"L_MODV2_SOIL_S_034",Units:["kg/ha","lb/ac"]},L_MODV2_SOIL_S_035:{Element:"Sulfur",ModusTestIDv1:"S-S-KCL.05",ModusTestIDv2:"L_MODV2_SOIL_S_035",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_036:{Element:"Sulfur",ModusTestIDv1:"S-SO4-SP.04",ModusTestIDv2:"L_MODV2_SOIL_S_036",Units:["meq/L",null]},L_MODV2_SOIL_SINDEX_001:{Element:"Sulfur Index",ModusTestIDv1:"S-S-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_SINDEX_001",Units:["none",null]},L_MODV2_SOIL_TEXTURE_001:{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.19",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_001",Units:["Texture Classification",null]},L_MODV2_SOIL_TEXTURE_002:{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.01",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_002",Units:["none",null]},L_MODV2_SOIL_TEXTURE_003:{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.22",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_003",Units:["Texture Classification",null]},L_MODV2_SOIL_SN_001:{Element:"Tin",ModusTestIDv1:"S-SN-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TITACIDT_001:{Element:"Titratable Acidity",ModusTestIDv1:"S-H-MEAS.12",ModusTestIDv2:"L_MODV2_SOIL_TITACIDT_001",Units:["cmol/kg","meq/100 g"]},L_MODV2_SOIL_TCTN_001:{Element:"Total Carbon:Total Nitrogen",ModusTestIDv1:"S-TC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TCTN_001",Units:["none",null]},L_MODV2_SOIL_TOCTN_001:{Element:"Total Organic Carbon: Total Nitrogen",ModusTestIDv1:"S-TOC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TOCTN_001",Units:["none",null]},L_MODV2_SOIL_UNKNOWN_001:{Element:"Unknown",ModusTestIDv1:"S-UNKNOWN.00",ModusTestIDv2:"L_MODV2_SOIL_UNKNOWN_001",Units:["none",null]},L_MODV2_SOIL_UREA_001:{Element:"Urea",ModusTestIDv1:"S-UREA-NH4.01",ModusTestIDv2:"L_MODV2_SOIL_UREA_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_WSC_001:{Element:"water soluble carbon",ModusTestIDv1:"S-SARJ-SP.00",ModusTestIDv2:"L_MODV2_SOIL_WSC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_002:{Element:"Zinc",ModusTestIDv1:"S-ZN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_003:{Element:"Zinc",ModusTestIDv1:"S-ZN-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_004:{Element:"Zinc",ModusTestIDv1:"S-ZN-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_005:{Element:"Zinc",ModusTestIDv1:"S-ZN-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_008:{Element:"Zinc",ModusTestIDv1:"S-ZN-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_009:{Element:"Zinc",ModusTestIDv1:"S-ZN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_010:{Element:"Zinc",ModusTestIDv1:"S-ZN-RES.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_011:{Element:"Zinc",ModusTestIDv1:"S-ZN-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_012:{Element:"Zinc",ModusTestIDv1:"S-ZN-M1.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_013:{Element:"Zinc",ModusTestIDv1:"S-ZN-M2.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_014:{Element:"Zinc",ModusTestIDv1:"S-ZN-M3DTPA.19",ModusTestIDv2:"L_MODV2_SOIL_ZN_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_015:{Element:"Zinc",ModusTestIDv1:"S-ZN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_019:{Element:"Zinc",ModusTestIDv1:"S-ZN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_019",Units:["ppm",null]},L_MODV2_SOIL_ZN_020:{Element:"Zinc",ModusTestIDv1:"S-ZN-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_020",Units:["ug/10cm2",null]},L_MODV2_SOIL_ZN_021:{Element:"Zinc",ModusTestIDv1:"S-ZN-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_021",Units:["mg/m2",null]},L_MODV2_SOIL_ZN_024:{Element:"Zinc",ModusTestIDv1:"S-ZN-SP.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_024",Units:["mg/L",null]},L_MODV2_SOIL_ZINDEX_001:{Element:"Zinc index",ModusTestIDv1:"S-ZN-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_ZINDEX_001",Units:["none",null]},L_MODV2_SOIL_ZNCURATIO_001:{Element:"Zn:Cu ratio",ModusTestIDv1:"S-Zn:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_ZNCURATIO_001",Units:["none",null]},L_MODV2_SOIL_ZNCURATIO_002:{Element:"Zn:Cu ratio",ModusTestIDv1:"S-Zn:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_ZNCURATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_ACEN_001:{Element:"ACE nitrogen (soil protein index)",ModusTestIDv1:"S-SP-ACE-OT",ModusTestIDv2:"L_MODV2_SOIL_ACEN_001",Units:["g/kg",null]},L_MODV2_SOIL_ACIDT_001:{Element:"Acidity",ModusTestIDv2:"L_MODV2_SOIL_ACIDT_001",Units:["meq/cmol",null]},L_MODV2_SOIL_ASTAB_00:{Element:"Aggregate Stability",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_00",Units:["%",null]},L_MODV2_SOIL_ASTAB_001:{Element:"Aggregate Stability",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_001",Units:["%",null]},L_MODV2_SOIL_ASTAB_002:{Element:"Aggregate Stability",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_002",Units:["%",null]},L_MODV2_SOIL_ASTAB_003:{Element:"Aggregate Stability",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_003",Units:["%",null]},L_MODV2_SOIL_AL_007:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_008:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_009:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_013:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_013",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_AL_015:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_015",Units:["mg/m2",null]},L_MODV2_SOIL_AL_016:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_016",Units:["mg/m2",null]},L_MODV2_SOIL_AL_017:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_017",Units:["mg/m2",null]},L_MODV2_SOIL_AL_019:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_021:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_023:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4_001:{Element:"ammonium",ModusTestIDv2:"L_MODV2_SOIL_NH4_001",Units:["mg/m2",null]},L_MODV2_SOIL_NH4_002:{Element:"ammonium",ModusTestIDv2:"L_MODV2_SOIL_NH4_002",Units:["mg/m2",null]},L_MODV2_SOIL_NH4_003:{Element:"ammonium",ModusTestIDv2:"L_MODV2_SOIL_NH4_003",Units:["mg/m2",null]},L_MODV2_SOIL_NH4N_001:{Element:"Ammonium-Nitrogen",ModusTestIDv2:"L_MODV2_SOIL_NH4N_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AS_004:{Element:"Arsenic",ModusTestIDv2:"L_MODV2_SOIL_AS_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AS_005:{Element:"Arsenic",ModusTestIDv2:"L_MODV2_SOIL_AS_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ARYLS_001:{Element:"arylsulfatase",ModusTestIDv2:"L_MODV2_SOIL_ARYLS_001",Units:["nmol/h/mg",null]},L_MODV2_SOIL_AWHC_001:{Element:"available water holding capacity",ModusTestIDv2:"L_MODV2_SOIL_AWHC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BA_002:{Element:"Barium",ModusTestIDv2:"L_MODV2_SOIL_BA_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BA_003:{Element:"Barium",ModusTestIDv2:"L_MODV2_SOIL_BA_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BA_004:{Element:"Barium",ModusTestIDv2:"L_MODV2_SOIL_BA_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CABS_001:{Element:"Base Saturation - Ca",ModusTestIDv1:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CABS_001",Units:["%",null]},L_MODV2_SOIL_BGLUCO_001:{Element:"beta-glucosidase",ModusTestIDv2:"L_MODV2_SOIL_BGLUCO_001",Units:["U/mg",null]},L_MODV2_SOIL_HCO3_002:{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_002",Units:["meq/L",null]},L_MODV2_SOIL_HCO3_003:{Element:"Bicarbonate",ModusTestIDv2:"L_MODV2_SOIL_HCO3_003",Units:["meq/L",null]},L_MODV2_SOIL_B_002:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_013:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_014:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_018:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_018",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_B_020:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_020",Units:["mg/m2",null]},L_MODV2_SOIL_B_021:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_021",Units:["mg/m2",null]},L_MODV2_SOIL_B_022:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BPH_005:{Element:"Buffer pH",ModusTestIDv2:"L_MODV2_SOIL_BPH_005",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_006:{Element:"Buffer pH",ModusTestIDv2:"L_MODV2_SOIL_BPH_006",Units:["standard pH unit",null]},L_MODV2_SOIL_CNRATIO_001:{Element:"C:N Ratio",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_001",Units:["Ratio",null]},L_MODV2_SOIL_CD_003:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CD_004:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CD_006:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_006",Units:["mg/m2",null]},L_MODV2_SOIL_CD_007:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_007",Units:["mg/m2",null]},L_MODV2_SOIL_CD_008:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_008",Units:["mg/m2",null]},L_MODV2_SOIL_CD_009:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CD_010:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_004:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_015:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_022:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_022",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_CA_028:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_028",Units:["mg/m2",null]},L_MODV2_SOIL_CA_029:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_029",Units:["mg/m2",null]},L_MODV2_SOIL_CO3_005:{Element:"Carbonate",ModusTestIDv2:"L_MODV2_SOIL_CO3_005",Units:["meq/L",null]},L_MODV2_SOIL_CEC_004:{Element:"Cation Exchange Capacity",ModusTestIDv2:"L_MODV2_SOIL_CEC_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CL_001:{Element:"Chloride",ModusTestIDv2:"L_MODV2_SOIL_CL_001",Units:["meq/L",null]},L_MODV2_SOIL_CL_002:{Element:"Chloride",ModusTestIDv2:"L_MODV2_SOIL_CL_002",Units:["meq/L",null]},L_MODV2_SOIL_CL_003:{Element:"Chloride",ModusTestIDv2:"L_MODV2_SOIL_CL_003",Units:["meq/L",null]},L_MODV2_SOIL_CR_003:{Element:"Chromium",ModusTestIDv2:"L_MODV2_SOIL_CR_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CR_004:{Element:"Chromium",ModusTestIDv2:"L_MODV2_SOIL_CR_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CR_006:{Element:"Chromium",ModusTestIDv2:"L_MODV2_SOIL_CR_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_002:{Element:"Cobalt",ModusTestIDv2:"L_MODV2_SOIL_CO_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_007:{Element:"Cobalt",ModusTestIDv2:"L_MODV2_SOIL_CO_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_008:{Element:"Cobalt",ModusTestIDv2:"L_MODV2_SOIL_CO_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_009:{Element:"Cobalt",ModusTestIDv2:"L_MODV2_SOIL_CO_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_001:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_006:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_007:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_015:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_015",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_CU_016:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_017:{Element:"Copper",ModusTestIDv1:"S-Cu-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_CU_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_019:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_019",Units:["mg/m2",null]},L_MODV2_SOIL_CU_020:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_020",Units:["mg/m2",null]},L_MODV2_SOIL_CU_021:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_021",Units:["mg/m2",null]},L_MODV2_SOIL_DON_001:{Element:"dissolved organic nitrogen (DON)",ModusTestIDv2:"L_MODV2_SOIL_DON_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_GENOM_001:{Element:"genomics",ModusTestIDv2:"L_MODV2_SOIL_GENOM_001",Units:[null,null]},L_MODV2_SOIL_FE_002:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_008:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_009:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_016:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_016",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_FE_018:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_018",Units:["mg/m2",null]},L_MODV2_SOIL_FE_019:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_019",Units:["mg/m2",null]},L_MODV2_SOIL_FE_020:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_020",Units:["mg/m2",null]},L_MODV2_SOIL_PB_004:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PB_005:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PB_006:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_006",Units:["mg/m2",null]},L_MODV2_SOIL_PB_007:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_007",Units:["mg/m2",null]},L_MODV2_SOIL_PB_008:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_008",Units:["mg/m2",null]},L_MODV2_SOIL_PB_009:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_006:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_013:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_014:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_016:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_021:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_021",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_MG_026:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_026",Units:["mg/m2",null]},L_MODV2_SOIL_MN_001:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_006:{Element:"Manganese",ModusTestIDv1:"S-MN-EPA3050.05",ModusTestIDv2:"L_MODV2_SOIL_MN_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_007:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_008:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_014:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_014",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_MN_016:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_017:{Element:"Manganese",ModusTestIDv1:"S-Mn-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_MN_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_020:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_020",Units:["mg/m2",null]},L_MODV2_SOIL_MN_021:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_021",Units:["mg/m2",null]},L_MODV2_SOIL_MN_022:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_022",Units:["mg/m2",null]},L_MODV2_SOIL_MN_023:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_HG_002:{Element:"Mercury",ModusTestIDv2:"L_MODV2_SOIL_HG_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_HG_003:{Element:"Mercury",ModusTestIDv2:"L_MODV2_SOIL_HG_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_004:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_007:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_008:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_013:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_013",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_MO_016:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_016",Units:["mg/m2",null]},L_MODV2_SOIL_MO_017:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_017",Units:["mg/m2",null]},L_MODV2_SOIL_NI_003:{Element:"Nickel",ModusTestIDv2:"L_MODV2_SOIL_NI_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NI_004:{Element:"Nickel",ModusTestIDv2:"L_MODV2_SOIL_NI_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NI_005:{Element:"Nickel",ModusTestIDv2:"L_MODV2_SOIL_NI_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3_001:{Element:"nitrate",ModusTestIDv2:"L_MODV2_SOIL_NO3_001",Units:["mg/m2",null]},L_MODV2_SOIL_NO3_002:{Element:"nitrate",ModusTestIDv2:"L_MODV2_SOIL_NO3_002",Units:["mg/m2",null]},L_MODV2_SOIL_NO3N_002:{Element:"Nitrate-Nitrogen",ModusTestIDv2:"L_MODV2_SOIL_NO3N_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_003:{Element:"Nitrate-Nitrogen",ModusTestIDv2:"L_MODV2_SOIL_NO3N_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NMR_001:{Element:"nitrogen mineralization rate",ModusTestIDv2:"L_MODV2_SOIL_NMR_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PARTDENS_001:{Element:"particle density",ModusTestIDv2:"L_MODV2_SOIL_PARTDENS_001",Units:["g/cm3",null]},L_MODV2_SOIL_POM_001:{Element:"particulate organic matter 53-2000 um",ModusTestIDv2:"L_MODV2_SOIL_POM_001",Units:["g/kg",null]},L_MODV2_SOIL_MNO4OXC_002:{Element:"permanganate-oxidizable carbon (POXC)",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PH_001:{Element:"pH",ModusTestIDv2:"L_MODV2_SOIL_PH_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PH_009:{Element:"pH",ModusTestIDv2:"L_MODV2_SOIL_PH_009",Units:["standard pH unit",null]},L_MODV2_SOIL_PO4_001:{Element:"phosphate",ModusTestIDv2:"L_MODV2_SOIL_PO4_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PLFA_001:{Element:"phospholipid fatty acid (PLFA)",ModusTestIDv1:"S-MD-BS-C-OT",ModusTestIDv2:"L_MODV2_SOIL_PLFA_001",Units:["ng/g",null]},L_MODV2_SOIL_PMONOEST_001:{Element:"phosphomonoesterase",ModusTestIDv2:"L_MODV2_SOIL_PMONOEST_001",Units:["ug/g","mg/kg,ppm"]},L_MODV2_SOIL_P_002:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_012:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_028:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_028",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_030:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_030",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_P_031:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_031",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_P_034:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_034",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_040:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_040",Units:["mg/m2",null]},L_MODV2_SOIL_P_041:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_041",Units:["mg/m2",null]},L_MODV2_SOIL_P_043:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_043",Units:["mg/L",null]},L_MODV2_SOIL_P_048:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_048",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_002:{Element:"Potassium",ModusTestIDv1:"S-K-AA-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_K_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_003:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_007:{Element:"Potassium",ModusTestIDv1:"S-K-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_008:{Element:"Potassium",ModusTestIDv1:"S-K-B1-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_009:{Element:"Potassium",ModusTestIDv1:"S-K-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_010:{Element:"Potassium",ModusTestIDv1:"S-K-LACTATE.01",ModusTestIDv2:"L_MODV2_SOIL_K_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_011:{Element:"Potassium",ModusTestIDv1:"S-K-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_K_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_012:{Element:"Potassium",ModusTestIDv1:"S-K-M3BRAYP1.19",ModusTestIDv2:"L_MODV2_SOIL_K_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_013:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_014:{Element:"Potassium",ModusTestIDv1:"S-K-CALD.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_015:{Element:"Potassium",ModusTestIDv1:"S-K-W1:5.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_016:{Element:"Potassium",ModusTestIDv1:"S-K-W10:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_018:{Element:"Potassium",ModusTestIDv1:"S-K-DGT.01",ModusTestIDv2:"L_MODV2_SOIL_K_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_022:{Element:"Potassium",ModusTestIDv1:"S-K-RES.01",ModusTestIDv2:"L_MODV2_SOIL_K_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_024:{Element:"Potassium",ModusTestIDv1:"S-K-KEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_025:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_025",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_026:{Element:"Potassium",ModusTestIDv1:"S-K-MKEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_026",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_029:{Element:"Potassium",ModusTestIDv1:"S-K-M1.04",ModusTestIDv2:"L_MODV2_SOIL_K_029",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_030:{Element:"Potassium",ModusTestIDv1:"S-K-M2.04",ModusTestIDv2:"L_MODV2_SOIL_K_030",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_031:{Element:"Potassium",ModusTestIDv1:"S-K-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_031",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_032:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_032",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_K_033:{Element:"Potassium",ModusTestIDv1:"S-K-MOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_033",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_034:{Element:"Potassium",ModusTestIDv1:"S-K-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_034",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_040:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_040",Units:["mg/m2",null]},L_MODV2_SOIL_K_041:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_041",Units:["mg/m2",null]},L_MODV2_SOIL_K_043:{Element:"Potassium",ModusTestIDv1:"S-K-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_043",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_044:{Element:"Potassium",ModusTestIDv1:"S-K-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_K_044",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_045:{Element:"Potassium",ModusTestIDv1:"S-K-TRG.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_045",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_046:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_046",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_049:{Element:"potassium\xA0",ModusTestIDv1:"S-K-AR.23",ModusTestIDv2:"L_MODV2_SOIL_K_049",Units:["mg/kg","ppm"]},L_MODV2_SOIL_KFF_002:{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.05",ModusTestIDv2:"L_MODV2_SOIL_KFF_002",Units:["%",null]},L_MODV2_SOIL_KFF_003:{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.06",ModusTestIDv2:"L_MODV2_SOIL_KFF_003",Units:["%",null]},L_MODV2_SOIL_TK_001:{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TK-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_TK_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TK_003:{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TK-NA.04",ModusTestIDv2:"L_MODV2_SOIL_TK_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SREF_001:{Element:"reflectance",ModusTestIDv2:"L_MODV2_SOIL_SREF_001",Units:["Reflectance percentage (R%)",null]},L_MODV2_SOIL_SANDC_004:{Element:"sand - coarse",ModusTestIDv2:"L_MODV2_SOIL_SANDC_004",Units:["%",null]},L_MODV2_SOIL_SANDF_004:{Element:"sand - fine",ModusTestIDv2:"L_MODV2_SOIL_SANDF_004",Units:["%",null]},L_MODV2_SOIL_SANDM_001:{Element:"sand - medium",ModusTestIDv2:"L_MODV2_SOIL_SANDM_001",Units:["%",null]},L_MODV2_SOIL_SANDVC_001:{Element:"sand - very coarse",ModusTestIDv2:"L_MODV2_SOIL_SANDVC_001",Units:["%",null]},L_MODV2_SOIL_SANDVF_001:{Element:"sand - very fine",ModusTestIDv2:"L_MODV2_SOIL_SANDVF_001",Units:["%",null]},L_MODV2_SOIL_SHC_001:{Element:"saturated hydraulic conductivity",ModusTestIDv2:"L_MODV2_SOIL_SHC_001",Units:["in/hr","cm3/hr"]},L_MODV2_SOIL_SE_002:{Element:"Selenium",ModusTestIDv2:"L_MODV2_SOIL_SE_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SE_004:{Element:"Selenium",ModusTestIDv2:"L_MODV2_SOIL_SE_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SE_005:{Element:"Selenium",ModusTestIDv2:"L_MODV2_SOIL_SE_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SE_006:{Element:"Selenium",ModusTestIDv2:"L_MODV2_SOIL_SE_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_STCM_001:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_001",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_002:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_002",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_003:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_003",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_004:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_004",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_005:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_005",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_006:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_006",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_007:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_007",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_008:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_008",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_009:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_009",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_010:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_010",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_011:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_011",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_012:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_012",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_013:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_013",Units:["mg/kg",null]},L_MODV2_SOIL_SI_002:{Element:"Silicon",ModusTestIDv2:"L_MODV2_SOIL_SI_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_005:{Element:"Sodium",ModusTestIDv2:"L_MODV2_SOIL_NA_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_007:{Element:"Sodium",ModusTestIDv2:"L_MODV2_SOIL_NA_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_014:{Element:"Sodium",ModusTestIDv2:"L_MODV2_SOIL_NA_014",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_SR_002:{Element:"Strontium",ModusTestIDv2:"L_MODV2_SOIL_SR_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SO4S_002:{Element:"Sulfate-Sulfur",ModusTestIDv2:"L_MODV2_SOIL_SO4S_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_006:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_008:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_018:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_019:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_027:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_027",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_S_032:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_032",Units:["mg/m2",null]},L_MODV2_SOIL_S_033:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_033",Units:["mg/m2",null]},L_MODV2_SOIL_SN_002:{Element:"Tin",ModusTestIDv2:"L_MODV2_SOIL_SN_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SN_003:{Element:"Tin",ModusTestIDv2:"L_MODV2_SOIL_SN_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_WEN_001:{Element:"water extractable nitrogen (WEN)",ModusTestIDv2:"L_MODV2_SOIL_WEN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_WEOC_001:{Element:"water extractable organic carbon (WEOC)",ModusTestIDv2:"L_MODV2_SOIL_WEOC_001",Units:["g",null]},L_MODV2_SOIL_TDN_001:{Element:"water extractable organic nitrogen (TDN)",ModusTestIDv2:"L_MODV2_SOIL_TDN_001",Units:["mg/g",null]},L_MODV2_SOIL_WEON_001:{Element:"water extractable organic nitrogen (WEON)",ModusTestIDv2:"L_MODV2_SOIL_WEON_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_WSCN_001:{Element:"water soluble C:N ratio",ModusTestIDv2:"L_MODV2_SOIL_WSCN_001",Units:["ratio",null]},L_MODV2_SOIL_WSOC_001:{Element:"water-soluble organic carbon (WSOC)",ModusTestIDv2:"L_MODV2_SOIL_WSOC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_001:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_006:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_007:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_016:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_016",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_ZN_017:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_018:{Element:"Zinc",ModusTestIDv1:"S-Zn-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_ZN_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_022:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_022",Units:["mg/m2",null]},L_MODV2_SOIL_ZN_023:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_023",Units:["mg/m2",null]}},Mi={},Iu={};Object.defineProperty(Iu,"__esModule",{value:!0});Iu.Ucum=void 0;var zve={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:'',closeEmphHTML_:"",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles? The molecular weight of the substance represented by the units is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}};Iu.Ucum=zve;var Uy={},ep={},Ny={};Object.defineProperty(Ny,"__esModule",{value:!0});Ny.Prefix=void 0;class Kve{constructor(t){if(t.code_===void 0||t.code_===null||t.name_===void 0||t.name_===null||t.value_===void 0||t.value_===null||t.exp_===void 0)throw new Error("Prefix constructor called missing one or more parameters. Prefix codes (cs or ci), name, value and exponent must all be specified and all but the exponent must not be null.");this.code_=t.code_,this.ciCode_=t.ciCode_,this.name_=t.name_,this.printSymbol_=t.printSymbol_,typeof t.value_=="string"?this.value_=parseFloat(t.value_):this.value_=t.value_,this.exp_=t.exp_}getValue(){return this.value_}getCode(){return this.code_}getCiCode(){return this.ciCode_}getName(){return this.name_}getPrintSymbol(){return this.printSymbol_}getExp(){return this.exp_}equals(t){return this.code_===t.code_&&this.ciCode_===t.ciCode_&&this.name_===t.name_&&this.printSymbol_===t.printSymbol_&&this.value_===t.value_&&this.exp_===t.exp_}}Ny.Prefix=Kve;var tc={};Object.defineProperty(tc,"__esModule",{value:!0});tc.PrefixTables=tc.PrefixTablesFactory=void 0;class RF{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let t="",r=Object.keys(this.byValue_),n=r.length;for(let a=0;a=1&&(n=t.substr(r+pg.codeSep_.length),t=t.substr(0,r));let a=this.unitNames_[t];if(a){let i=a.length;if(n&&i>1){let s=0;for(;a[s].csCode_!==n&&s0&&(n+=r),t[c]==="dim_")m.dim_!==null&&m.dim_!==void 0&&m.dim_.dimVec_ instanceof Array?n+="["+m.dim_.dimVec_.join(",")+"]":n+="";else{let f=m[t[c]];typeof f=="string"?n+=f.replace(/[\n\r]/g," "):n+=f}n+=`\r -`}}return n}printUnits(t,r){t===void 0&&(t=!1),r===void 0&&(r="|");let n="",a=this.codeOrder_.length,i="csCode"+r;t&&(i+="ciCode"+r),i+="name"+r,t&&(i+="isBase"+r),i+="magnitude"+r+"dimension"+r+"from unit(s)"+r+"value"+r+"function"+r,t&&(i+="property"+r+"printSymbol"+r+"synonyms"+r+"source"+r+"class"+r+"isMetric"+r+"variable"+r+"isSpecial"+r+"isAbitrary"+r),i+="comment",n=i+` -`;for(let s=0;s=Fa.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[t]=1}}setElementAt(t,r){if(!dg(t)||t<0||t>=Fa.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${t})`);this.dimVec_||this.assignZero(),r==null&&(r=1),this.dimVec_[t]=r}getElementAt(t){if(!dg(t)||t<0||t>=Fa.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${t})`);let r=null;return this.dimVec_&&(r=this.dimVec_[t]),r}getProperty(t){let r=t.charAt(t.length-1)==="_"?t:t+"_";return this[r]}toString(){let t=null;return this.dimVec_&&(t="["+this.dimVec_.join(", ")+"]"),t}add(t){if(!t instanceof Wc)throw new Error(`Dimension.add called with an invalid parameter - ${typeof t} instead of a Dimension object`);if(this.dimVec_&&t.dimVec_)for(let r=0;r{r==="dim_"?this.dim_?t.dim_=this.dim_.clone():t.dim_=null:t[r]=this[r]}),t}assign(t){Object.getOwnPropertyNames(t).forEach(r=>{r==="dim_"?t.dim_?this.dim_=t.dim_.clone():this.dim_=null:this[r]=t[r]})}equals(t){return this.magnitude_===t.magnitude_&&this.cnv_===t.cnv_&&this.cnvPfx_===t.cnvPfx_&&(this.dim_===null&&t.dim_===null||this.dim_.equals(t.dim_))}fullEquals(t){let r=Object.keys(this).sort(),n=Object.keys(t).sort(),a=r.length,i=a===n.length;for(let s=0;s0){let r=t.replace("/","!").replace(".","/").replace("!",".");switch(r.charAt(0)){case".":t=r.substr(1);break;case"/":t=r;break;default:t="/"+r}}return t}_concatStrs(t,r,n,a,i){return this._buildOneString(t,a,i)+r+this._buildOneString(n,a,i)}_buildOneString(t,r,n){let a="";return lye.isNumericString(t)||t.charAt(0)==="("&&t.endsWith(")")||t.charAt(0)==="["&&t.endsWith("]")?a=t:/[./* ]/.test(t)?a=r+t+n:a=t,a}power(t){if(this.cnv_!=null)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let n=this.csCode_.match(/([./]|[^./]+)/g),a=n.length;for(let i=0;i=0;u--){let m=parseInt(s[u]);if(!NI(m)){if((s[u]==="-"||s[u]==="+")&&u--,u(fye(e[r])?cye.apply(t,PT(e[r]).map(n=>[r,...[].concat(n)])):t.push(r),t),[])}function UT(e){return e.map(t=>Array.isArray(t)?t:[t])}function pye(e,t){if(e.join()!==UT(PT(t)).join())throw new Error("Object of unusual structure");return e.map(r=>{let n=t;return r.forEach(a=>{if(n=n[a],n===void 0)throw new Error("Object of unusual structure")}),n})}function dye(e,t){let r={};return e.forEach((n,a)=>{let i=r;for(let s=0;sg
","iso1000",!1,null,null,1,!1,!1,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",.9,!1],[!1,"arc minute","'","'","plane angle",.0002908882086657216,[0,0,0,1,0,0,0],"'","iso1000",!1,null,null,1,!1,!1,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,!1],[!1,"arc second","''","''","plane angle",484813681109536e-20,[0,0,0,1,0,0,0],"''","iso1000",!1,null,null,1,!1,!1,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","'/60","'/60","1",1,!1],[!1,"Liters","l","L","volume",.001,[3,0,0,0,0,0,0],"l","iso1000",!0,null,null,1,!1,!1,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical",'Because lower case "l" can be read as the number "1", though this is a valid UCUM units. UCUM strongly reccomends using "L"',"dm3","DM3","1",1,!1],[!1,"Liters","L","L","volume",.001,[3,0,0,0,0,0,0],"L","iso1000",!0,null,null,1,!1,!1,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical",'Because lower case "l" can be read as the number "1", though this is a valid UCUM units. UCUM strongly reccomends using "L"',"l",null,"1",1,!1],[!1,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",!0,null,null,1,!1,!1,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,!1],[!1,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",!1,null,null,1,!1,!1,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,!1],[!1,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",!1,null,null,1,!1,!1,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,!1],[!1,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",!1,null,null,1,!1,!1,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,!1],[!1,"tropical year","a_t","ANN_T","time",31556925216e-3,[0,1,0,0,0,0,0],"at","iso1000",!1,null,null,1,!1,!1,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,!1],[!1,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"aj","iso1000",!1,null,null,1,!1,!1,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,!1],[!1,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"ag","iso1000",!1,null,null,1,!1,!1,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,!1],[!1,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",!1,null,null,1,!1,!1,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,!1],[!1,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",!1,null,null,1,!1,!1,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,!1],[!1,"synodal month","mo_s","MO_S","time",2551442976e-3,[0,1,0,0,0,0,0],"mos","iso1000",!1,null,null,1,!1,!1,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,!1],[!1,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"moj","iso1000",!1,null,null,1,!1,!1,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,!1],[!1,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mog","iso1000",!1,null,null,1,!1,!1,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,!1],[!1,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",!1,null,null,1,!1,!1,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,!1],[!1,"metric ton","t","TNE","mass",1e6,[0,0,1,0,0,0,0],"t","iso1000",!0,null,null,1,!1,!1,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1e3,!1],[!1,"bar","bar","BAR","pressure",1e8,[-1,-2,1,0,0,0,0],"bar","iso1000",!0,null,null,1,!1,!1,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",1e5,!1],[!1,"unified atomic mass unit","u","AMU","mass",16605402e-31,[0,0,1,0,0,0,0],"u","iso1000",!0,null,null,1,!1,!1,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",16605402e-31,!1],[!1,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",!1,null,null,1,!1,!1,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,!1],[!1,"parsec","pc","PRS","length",3085678e10,[1,0,0,0,0,0,0],"pc","iso1000",!0,null,null,1,!1,!1,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, nad used to measure large distances to objects outside our Solar System","m","M","3.085678e16",3085678e10,!1],[!1,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"c","const",!0,null,null,1,!1,!1,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,!1],[!1,"Planck constant","[h]","[H]","action",66260755e-38,[2,-1,1,0,0,0,0],"h","const",!0,null,null,1,!1,!1,0,"Planck's constant","UCUM","","Constant","constant = 6.62607004 \xD7 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",66260755e-41,!1],[!1,"Boltzmann constant","[k]","[K]","(unclassified)",1380658e-26,[2,-2,1,0,-1,0,0],"k","const",!0,null,null,1,!1,!1,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 \xD710^\u221223 J/K","J/K","J/K","1.380658e-23",1380658e-29,!1],[!1,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8854187817000001e-30,[-3,2,-1,0,0,2,0],"\u03B50","const",!0,null,null,1,!1,!1,0,"\u03B50; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854\u2009\xD7 10^\u221212 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8854187817e-21,!1],[!1,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",.0012566370614359172,[1,0,1,0,0,-2,0],"\u03BC0","const",!0,null,null,1,!1,!1,0,"\u03BC0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4\u03C0\xD710^\u22127 N/A2 (Newtons per square ampere) \u2248 1.2566\xD710^\u22126 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",12566370614359173e-22,!1],[!1,"elementary charge","[e]","[E]","electric charge",160217733e-27,[0,0,0,0,0,1,0],"e","const",!0,null,null,1,!1,!1,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton \u2248 1.60217\xD710^-19 Coulombs","C","C","1.60217733e-19",160217733e-27,!1],[!1,"electronvolt","eV","EV","energy",160217733e-24,[2,-2,1,0,0,0,0],"eV","iso1000",!0,null,null,1,!1,!1,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602\xD710^\u221219 C = 1.6\xD710\u221219 Joules","[e].V","[E].V","1",1,!1],[!1,"electron mass","[m_e]","[M_E]","mass",91093897e-35,[0,0,1,0,0,0,0],"me","const",!0,null,null,1,!1,!1,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 \xD7 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",91093897e-35,!1],[!1,"proton mass","[m_p]","[M_P]","mass",16726231e-31,[0,0,1,0,0,0,0],"mp","const",!0,null,null,1,!1,!1,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622\xD710\u221227 kg","g","g","1.6726231e-24",16726231e-31,!1],[!1,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",667259e-19,[3,-2,-1,0,0,0,0],"G","const",!0,null,null,1,!1,!1,0,"G; gravitational constant; Newton's constant","UCUM","","Constant","gravitational constant = 6.674\xD710\u221211 N\u22C5m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",667259e-16,!1],[!1,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"gn","const",!0,null,null,1,!1,!1,0,"standard gravity; g; \u02610; \u0261n","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,!1],[!1,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",!1,null,null,1,!1,!1,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,!1],[!1,"standard atmosphere","atm","ATM","pressure",101325e3,[-1,-2,1,0,0,0,0],"atm","const",!1,null,null,1,!1,!1,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,!1],[!1,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",!0,null,null,1,!1,!1,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88\xD710^12 mi","[c].a_j","[C].ANN_J","1",1,!1],[!1,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",!0,null,null,1,!1,!1,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,!1],[!1,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",!0,null,null,1,!1,!1,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,!1],[!1,"Gal","Gal","GL","acceleration",.01,[1,-2,0,0,0,0,0],"Gal","cgs",!0,null,null,1,!1,!1,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,!1],[!1,"dyne","dyn","DYN","force",.01,[1,-2,1,0,0,0,0],"dyn","cgs",!0,null,null,1,!1,!1,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,!1],[!1,"erg","erg","ERG","energy",1e-4,[2,-2,1,0,0,0,0],"erg","cgs",!0,null,null,1,!1,!1,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,!1],[!1,"Poise","P","P","dynamic viscosity",100,[-1,-1,1,0,0,0,0],"P","cgs",!0,null,null,1,!1,!1,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,!1],[!1,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",!0,null,null,1,!1,!1,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,!1],[!1,"Stokes","St","ST","kinematic viscosity",1e-4,[2,-1,0,0,0,0,0],"St","cgs",!0,null,null,1,!1,!1,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,!1],[!1,"Maxwell","Mx","MX","flux of magnetic induction",1e-5,[2,-1,1,0,0,-1,0],"Mx","cgs",!0,null,null,1,!1,!1,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,!1],[!1,"Gauss","G","GS","magnetic flux density",.1,[0,-1,1,0,0,-1,0],"Gs","cgs",!0,null,null,1,!1,!1,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",1e-4,!1],[!1,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",!0,null,null,1,!1,!1,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4\u03C0 amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,!1],[!1,"Gilbert","Gb","GB","magnetic tension",.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",!0,null,null,1,!1,!1,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,!1],[!1,"stilb","sb","SB","lum. intensity density",1e4,[-2,0,0,0,0,0,1],"sb","cgs",!0,null,null,1,!1,!1,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,!1],[!1,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",!0,null,null,1,!1,!1,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ \u03C0 candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,!1],[!1,"phot","ph","PHT","illuminance",1e-4,[-2,0,0,2,0,0,1],"ph","cgs",!0,null,null,1,!1,!1,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",1e-4,!1],[!1,"Curie","Ci","CI","radioactivity",37e9,[0,-1,0,0,0,0,0],"Ci","cgs",!0,null,null,1,!1,!1,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37e9,!1],[!1,"Roentgen","R","ROE","ion dose",258e-9,[0,0,-1,0,0,1,0],"R","cgs",!0,null,null,1,!1,!1,0,"r\xF6ntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",258e-6,!1],[!1,"radiation absorbed dose","RAD","[RAD]","energy dose",.01,[2,-2,0,0,0,0,0],"RAD","cgs",!0,null,null,1,!1,!1,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,!1],[!1,"radiation equivalent man","REM","[REM]","dose equivalent",.01,[2,-2,0,0,0,0,0],"REM","cgs",!0,null,null,1,!1,!1,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,!1],[!1,"inch","[in_i]","[IN_I]","length",.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",!1,null,null,1,!1,!1,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,!1],[!1,"foot","[ft_i]","[FT_I]","length",.3048,[1,0,0,0,0,0,0],"ft","intcust",!1,null,null,1,!1,!1,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,!1],[!1,"yard","[yd_i]","[YD_I]","length",.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",!1,null,null,1,!1,!1,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,!1],[!1,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",!1,null,null,1,!1,!1,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,!1],[!1,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",!1,null,null,1,!1,!1,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,!1],[!1,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",!1,null,null,1,!1,!1,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,!1],[!1,"knot","[kn_i]","[KN_I]","velocity",.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",!1,null,null,1,!1,!1,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,!1],[!1,"square inch","[sin_i]","[SIN_I]","area",.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,!1],[!1,"square foot","[sft_i]","[SFT_I]","area",.09290304,[2,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,!1],[!1,"square yard","[syd_i]","[SYD_I]","area",.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,!1],[!1,"cubic inch","[cin_i]","[CIN_I]","volume",16387064000000003e-21,[3,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,!1],[!1,"cubic foot","[cft_i]","[CFT_I]","volume",.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,!1],[!1,"cubic yard","[cyd_i]","[CYD_I]","volume",.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",!1,null,null,1,!1,!1,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,!1],[!1,"board foot","[bf_i]","[BF_I]","volume",.002359737216,[3,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,!1],[!1,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,!1],[!1,"mil","[mil_i]","[MIL_I]","length",25400000000000004e-21,[1,0,0,0,0,0,0],"mil","intcust",!1,null,null,1,!1,!1,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",.001,!1],[!1,"circular mil","[cml_i]","[CML_I]","area",5067074790974979e-25,[2,0,0,0,0,0,0],"circ.mil","intcust",!1,null,null,1,!1,!1,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,!1],[!1,"hand","[hd_i]","[HD_I]","height of horses",.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",!1,null,null,1,!1,!1,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,!1],[!1,"foot - US","[ft_us]","[FT_US]","length",.3048006096012192,[1,0,0,0,0,0,0],"ftus","us-lengths",!1,null,null,1,!1,!1,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US; [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,!1],[!1,"yard - US","[yd_us]","[YD_US]","length",.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,!1],[!1,"inch - US","[in_us]","[IN_US]","length",.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,!1],[!1,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,!1],[!1,"Gunter's chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"surveyor's chain; Surveyor's chain USA; Gunter\u2019s measurement; surveyor\u2019s measurement; Gunter's Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,!1],[!1,"link for Gunter's chain - US","[lk_us]","[LK_US]","length",.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"Links for Gunter's Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,!1],[!1,"Ramden's chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"Ramsden's chain; engineer's chains","UCUM","Len","Obsolete","distance measuring device used for\xA0land survey","[ft_us]","[FT_US]","100",100,!1],[!1,"link for Ramden's chain - US","[rlk_us]","[RLK_US]","length",.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"links for Ramsden's chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,!1],[!1,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,!1],[!1,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,!1],[!1,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,!1],[!1,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,!1],[!1,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,!1],[!1,"square mile - US","[smi_us]","[SMI_US]","area",2589998470319521e-9,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,!1],[!1,"section","[sct]","[SCT]","area",2589998470319521e-9,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,!1],[!1,"township","[twp]","[TWP]","area",9323994493150276e-8,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,!1],[!1,"mil - US","[mil_us]","[MIL_US]","length",254000508001016e-19,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",.001,!1],[!1,"inch - British","[in_br]","[IN_BR]","length",.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,!1],[!1,"foot - British","[ft_br]","[FT_BR]","length",.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,!1],[!1,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,!1],[!1,"Gunter's chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"Gunter's Chain British; Gunters Chain British; Surveyor's Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,!1],[!1,"link for Gunter's chain - British","[lk_br]","[LK_BR]","length",.2011678416,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"Links for Gunter's Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,!1],[!1,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,!1],[!1,"pace - British","[pc_br]","[PC_BR]","length",.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,!1],[!1,"yard - British","[yd_br]","[YD_BR]","length",.91439928,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,!1],[!1,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,!1],[!1,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,!1],[!1,"knot - British","[kn_br]","[KN_BR]","velocity",.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,!1],[!1,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,!1],[!1,"gallon - US","[gal_us]","[GAL_US]","fluid volume",.0037854117840000006,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US gallons; US liquid gallon; gal us; Queen Anne's wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,!1],[!1,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",.158987294928,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,!1],[!1,"quart - US","[qt_us]","[QT_US]","fluid volume",.0009463529460000001,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,!1],[!1,"pint - US","[pt_us]","[PT_US]","fluid volume",.00047317647300000007,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,!1],[!1,"gill - US","[gil_us]","[GIL_US]","fluid volume",.00011829411825000002,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,!1],[!1,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",29573529562500005e-21,[3,0,0,0,0,0,0],"oz fl","us-volumes",!1,null,null,1,!1,!1,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,!1],[!1,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",36966911953125006e-22,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,!1],[!1,"minim - US","[min_us]","[MIN_US]","fluid volume",61611519921875e-21,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"min US; US min; \u264F US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,!1],[!1,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,!1],[!1,"bushel - US","[bu_us]","[BU_US]","dry volume",.03523907016688001,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,!1],[!1,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",.004404883770860001,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,!1],[!1,"peck - US","[pk_us]","[PK_US]","dry volume",.008809767541720002,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,!1],[!1,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",.0011012209427150002,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,!1],[!1,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",.0005506104713575001,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,!1],[!1,"tablespoon - US","[tbs_us]","[TBS_US]","volume",14786764781250002e-21,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,!1],[!1,"teaspoon - US","[tsp_us]","[TSP_US]","volume",49289215937500005e-22,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,!1],[!1,"cup - US customary","[cup_us]","[CUP_US]","volume",.00023658823650000004,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons \u2248 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,!1],[!1,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",29999999999999997e-21,[3,0,0,0,0,0,0],"oz fl","us-volumes",!1,null,null,1,!1,!1,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,!1],[!1,"cup - US legal","[cup_m]","[CUP_M]","volume",.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,!1],[!1,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",49999999999999996e-22,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,!1],[!1,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",14999999999999999e-21,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,!1],[!1,"gallon- British","[gal_br]","[GAL_BR]","volume",.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,!1],[!1,"peck - British","[pk_br]","[PK_BR]","volume",.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,!1],[!1,"bushel - British","[bu_br]","[BU_BR]","volume",.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,!1],[!1,"quart - British","[qt_br]","[QT_BR]","volume",.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,!1],[!1,"pint - British","[pt_br]","[PT_BR]","volume",.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,!1],[!1,"gill - British","[gil_br]","[GIL_BR]","volume",.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,!1],[!1,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",28413062500000005e-21,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,!1],[!1,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",35516328125000006e-22,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,!1],[!1,"minim - British","[min_br]","[MIN_BR]","volume",5919388020833334e-23,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"min br; br min; \u264F br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,!1],[!1,"grain","[gr]","[GR]","mass",.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,!1],[!1,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",!1,null,null,1,!1,!1,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7e3,!1],[!1,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",!1,null,null,1,!1,!1,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,!1],[!1,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",!1,null,null,1,!1,!1,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,!1],[!1,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,!1],[!1,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,!1],[!1,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,!1],[!1,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,!1],[!1,"long ton - British","[lton_av]","[LTON_AV]","mass",1.0160469088000001e6,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,!1],[!1,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,!1],[!1,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",!1,null,null,1,!1,!1,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,!1],[!1,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",!1,null,null,1,!1,!1,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,!1],[!1,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",!1,null,null,1,!1,!1,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,!1],[!1,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,!1],[!1,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"\u0292; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,!1],[!1,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,!1],[!1,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,!1],[!1,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries' system of mass units which is used in some US pharmacies. ","g","g","28",28,!1],[!1,"line","[lne]","[LNE]","length",.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,!1],[!1,"point (typography)","[pnt]","[PNT]","length",.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter's length","[lne]/6","[LNE]/6","1",1,!1],[!1,"pica (typography)","[pca]","[PCA]","length",.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter's length","[pnt]","[PNT]","12",12,!1],[!1,"Printer's point (typography)","[pnt_pr]","[PNT_PR]","length",.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter's length","[in_i]","[IN_I]","0.013837",.013837,!1],[!1,"Printer's pica (typography)","[pca_pr]","[PCA_PR]","length",.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"pca pr; Printer's picas","UCUM","Len","Nonclinical","typography unit for typesetter's length","[pnt_pr]","[PNT_PR]","12",12,!1],[!1,"pied","[pied]","[PIED]","length",.3248,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,!1],[!1,"pouce","[pouce]","[POUCE]","length",.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,!1],[!1,"ligne","[ligne]","[LIGNE]","length",.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,!1],[!1,"didot","[didot]","[DIDOT]","length",.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter's length","[ligne]/6","[LIGNE]/6","1",1,!1],[!1,"cicero","[cicero]","[CICERO]","length",.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"Didot's pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter's length","[didot]","[DIDOT]","12",12,!1],[!1,"degrees Fahrenheit","[degF]","[DEGF]","temperature",.5555555555555556,[0,0,0,0,1,0,0],"\xB0F","heat",!1,null,"degF",1,!0,!1,0,"\xB0F; deg F","UCUM","Temp","Clinical","","K",null,null,.5555555555555556,!1],[!1,"degrees Rankine","[degR]","[degR]","temperature",.5555555555555556,[0,0,0,0,1,0,0],"\xB0R","heat",!1,null,null,1,!1,!1,0,"\xB0R; \xB0Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,!1],[!1,"degrees R\xE9aumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"\xB0R\xE9","heat",!1,null,"degRe",1,!0,!1,0,"\xB0R\xE9, \xB0Re, \xB0r; R\xE9aumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,!1],[!1,"calorie at 15\xB0C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal15\xB0C","heat",!0,null,null,1,!1,!1,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,!1],[!1,"calorie at 20\xB0C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal20\xB0C","heat",!0,null,null,1,!1,!1,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190 joules. ","J","J","4.18190",4.1819,!1],[!1,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"calm","heat",!0,null,null,1,!1,!1,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,!1],[!1,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"calIT","heat",!0,null,null,1,!1,!1,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,!1],[!1,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"calth","heat",!0,null,null,1,!1,!1,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,!1],[!1,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",!0,null,null,1,!1,!1,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,!1],[!1,"nutrition label Calories","[Cal]","[CAL]","energy",4184e3,[2,-2,1,0,0,0,0],"Cal","heat",!1,null,null,1,!1,!1,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,!1],[!1,"British thermal unit at 39\xB0F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu39\xB0F","heat",!1,null,null,1,!1,!1,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,!1],[!1,"British thermal unit at 59\xB0F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu59\xB0F","heat",!1,null,null,1,!1,!1,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,!1],[!1,"British thermal unit at 60\xB0F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu60\xB0F","heat",!1,null,null,1,!1,!1,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,!1],[!1,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btum","heat",!1,null,null,1,!1,!1,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,!1],[!1,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",105505585262e-5,[2,-2,1,0,0,0,0],"BtuIT","heat",!1,null,null,1,!1,!1,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,!1],[!1,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btuth","heat",!1,null,null,1,!1,!1,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,!1],[!1,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",!1,null,null,1,!1,!1,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,!1],[!1,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",!1,null,null,1,!1,!1,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,!1],[!1,"tex","tex","TEX","linear mass density (of textile thread)",.001,[-1,0,1,0,0,0,0],"tex","heat",!0,null,null,1,!1,!1,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,!1],[!1,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",!1,null,null,1,!1,!1,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,!1],[!1,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m\xA0HO2","clinical",!0,null,null,1,!1,!1,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,!1],[!1,"meter of mercury column","m[Hg]","M[HG]","pressure",133322e3,[-1,-2,1,0,0,0,0],"m\xA0Hg","clinical",!0,null,null,1,!1,!1,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,!1],[!1,"inch of water column","[in_i'H2O]","[IN_I'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in\xA0HO2","clinical",!1,null,null,1,!1,!1,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,!1],[!1,"inch of mercury column","[in_i'Hg]","[IN_I'HG]","pressure",3.3863788000000003e6,[-1,-2,1,0,0,0,0],"in\xA0Hg","clinical",!1,null,null,1,!1,!1,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,!1],[!1,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322e6,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",!1,null,null,1,!1,!1,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa\xB7min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,!1],[!1,"Wood unit","[wood'U]","[WOOD'U]","fluid resistance",799932e4,[-4,-1,1,0,0,0,0],"Wood U.","clinical",!1,null,null,1,!1,!1,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,!1],[!1,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",!1,null,"inv",1,!1,!1,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,!1],[!1,"prism diopter (magnifying power)","[p'diop]","[P'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",!1,null,"tanTimes100",1,!0,!1,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; \u0394; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,!1],[!1,"percent of slope","%[slope]","%[SLOPE]","slope",.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",!1,null,"100tan",1,!0,!1,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,!1],[!1,"mesh","[mesh_i]","[MESH_I]","lineic number",.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",!1,null,"inv",1,!1,!1,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,!1],[!1,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",!1,null,null,1,!1,!1,0,"Charri\xE8res, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,!1],[!1,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",!1,null,null,1,!1,!1,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,!1],[!1,"Hounsfield unit","[hnsf'U]","[HNSF'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",!1,null,null,1,!1,!1,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,!1],[!1,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5833333333333334e-26,[3,-1,-1,0,0,0,0],"MET","clinical",!1,null,null,1,!1,!1,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,!1],[!1,"homeopathic potency of decimal series (retired)","[hp'_X]","[HP'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",!1,null,"hpX",1,!0,!1,0,null,"UCUM",null,null,null,"1",null,null,1,!1],[!1,"homeopathic potency of centesimal series (retired)","[hp'_C]","[HP'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",!1,null,"hpC",1,!0,!1,0,null,"UCUM",null,null,null,"1",null,null,1,!1],[!1,"homeopathic potency of millesimal series (retired)","[hp'_M]","[HP'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",!1,null,"hpM",1,!0,!1,0,null,"UCUM",null,null,null,"1",null,null,1,!1],[!1,"homeopathic potency of quintamillesimal series (retired)","[hp'_Q]","[HP'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",!1,null,"hpQ",1,!0,!1,0,null,"UCUM",null,null,null,"1",null,null,1,!1],[!1,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"equivalent","eq","EQ","amount of substance",60221367e16,[0,0,0,0,0,0,0],"eq","chemical",!0,null,null,1,!1,!1,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"osmole","osm","OSM","amount of substance (dissolved particles)",60221367e16,[0,0,0,0,0,0,0],"osm","chemical",!0,null,null,1,!1,!1,1,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,!1],[!1,"pH","[pH]","[PH]","acidity",60221366999999994e10,[-3,0,0,0,0,0,0],"pH","chemical",!1,null,"pH",1,!0,!1,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,!1],[!1,"gram percent","g%","G%","mass concentration",1e4,[-3,0,1,0,0,0,0],"g%","chemical",!0,null,null,1,!1,!1,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,!1],[!1,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",!1,null,null,1,!1,!1,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle's sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,!1],[!1,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",!1,null,null,1,!1,!1,0,"HPF","UCUM","Area","Clinical",`area visible under the maximum magnification power of the objective in microscopy (usually 400x) -`,"1","1","1",1,!1],[!1,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",!1,null,null,1,!1,!1,0,"LPF; fields","UCUM","Area","Clinical",`area visible under the low magnification of the objective in microscopy (usually 100 x) -`,"1","1","100",100,!1],[!1,"katal","kat","KAT","catalytic activity",60221367e16,[0,-1,0,0,0,0,0],"kat","chemical",!0,null,null,1,!1,!1,1,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"enzyme unit","U","U","catalytic activity",100368945e8,[0,-1,0,0,0,0,0],"U","chemical",!0,null,null,1,!1,!1,1,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",!0,null,null,1,!1,!0,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","1",1,!1],[!1,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",!0,null,null,1,!1,!0,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"arbitary unit","[arb'U]","[ARB'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",!1,null,null,1,!1,!0,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,!1],[!1,"United States Pharmacopeia unit","[USP'U]","[USP'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",!1,null,null,1,!1,!0,0,"USP U; USP'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,!1],[!1,"GPL unit","[GPL'U]","[GPL'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,!1],[!1,"MPL unit","[MPL'U]","[MPL'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"MPL units; MPL U; MPL'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,!1],[!1,"APL unit","[APL'U]","[APL'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,!1],[!1,"Bethesda unit","[beth'U]","[BETH'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,!1],[!1,"anti factor Xa unit","[anti'Xa'U]","[ANTI'XA'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"units","UCUM","ACnc","Clinical","[anti'Xa'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,!1],[!1,"Todd unit","[todd'U]","[TODD'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,!1],[!1,"Dye unit","[dye'U]","[DYE'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,!1],[!1,"Somogyi unit","[smgy'U]","[SMGY'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,!1],[!1,"Bodansky unit","[bdsk'U]","[BDSK'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,!1],[!1,"King-Armstrong unit","[ka'U]","[KA'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,!1],[!1,"Kunkel unit","[knk'U]","[KNK'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"Mac Lagan unit","[mclg'U]","[MCLG'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,!1],[!1,"tuberculin unit","[tb'U]","[TB'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,!1],[!1,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID50","chemical",!1,null,null,1,!1,!0,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,!1],[!1,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID50","chemical",!1,null,null,1,!1,!0,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,!1],[!1,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID50","chemical",!1,null,null,1,!1,!0,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,!1],[!1,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",!1,null,null,1,!1,!0,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,!1],[!1,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",!1,null,null,1,!1,!0,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,!1],[!1,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",!1,null,null,1,!1,!0,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,!1],[!1,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes\xAE method.",1,[0,0,0,0,0,0,0],"IR","chemical",!1,null,null,1,!1,!0,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,!1],[!1,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",!1,null,null,1,!1,!0,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,!1],[!1,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",!1,null,null,1,!1,!0,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,!1],[!1,"allergen unit for Ambrosia artemisiifolia","[Amb'a'1'U]","[AMB'A'1'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",!1,null,null,1,!1,!0,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,!1],[!1,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",!1,null,null,1,!1,!0,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,!1],[!1,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",!1,null,null,1,!1,!0,0,"Lf doses","UCUM","Arb","Clinical","the antigen content forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,!1],[!1,"D-antigen unit (polio)","[D'ag'U]","[D'AG'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,!1],[!1,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,!1],[!1,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,!1],[!1,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,!1],[!1,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",!0,null,"ln",1,!0,!1,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,!1],[!1,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",!0,null,"lg",1,!0,!1,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,!1],[!1,"bel sound pressure","B[SPL]","B[SPL]","pressure level",.02,[-1,-2,1,0,0,0,0],"B(SPL)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,2e-5,!1],[!1,"bel volt","B[V]","B[V]","electric potential level",1e3,[2,-2,1,0,0,-1,0],"B(V)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,!1],[!1,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,!1],[!1,"bel microvolt","B[uV]","B[UV]","electric potential level",.001,[2,-2,1,0,0,-1,0],"B(\u03BCV)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,!1],[!1,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",10000000000000003e-21,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,!1],[!1,"bel watt","B[W]","B[W]","power level",1e3,[2,-3,1,0,0,0,0],"B(W)","levels",!0,null,"lg",1,!0,!1,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,!1],[!1,"bel kilowatt","B[kW]","B[KW]","power level",1e6,[2,-3,1,0,0,0,0],"B(kW)","levels",!0,null,"lg",1,!0,!1,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,!1],[!1,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",!0,null,null,1,!1,!1,0,"st\xE8re; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewoord","m3","M3","1",1,!1],[!1,"\xC5ngstr\xF6m","Ao","AO","length",10000000000000002e-26,[1,0,0,0,0,0,0],"\xC5","misc",!1,null,null,1,!1,!1,0,"\xC5; Angstroms; Ao; \xC5ngstr\xF6ms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",.1,!1],[!1,"barn","b","BRN","action area",9999999999999999e-44,[2,0,0,0,0,0,0],"b","misc",!1,null,null,1,!1,!1,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,!1],[!1,"technical atmosphere","att","ATT","pressure",9806649999999999e-8,[-1,-2,1,0,0,0,0],"at","misc",!1,null,null,1,!1,!1,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,!1],[!1,"mho","mho","MHO","electric conductance",.001,[-2,1,-1,0,0,2,0],"mho","misc",!0,null,null,1,!1,!1,0,"siemens; ohm reciprocals; \u03A9^\u22121; \u03A9-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,!1],[!1,"pound per square inch","[psi]","[PSI]","pressure",6894757293168359e-9,[-1,-2,1,0,0,0,0],"psi","misc",!1,null,null,1,!1,!1,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,!1],[!1,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",!1,null,null,1,!1,!1,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,!1],[!1,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",!1,null,null,1,!1,!1,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4\u03C0sr (sr = steradian) ","[pi].sr","[PI].SR","4",4,!1],[!1,"metric carat","[car_m]","[CAR_M]","mass",.2,[0,0,1,0,0,0,0],"ctm","misc",!1,null,null,1,!1,!1,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",.2,!1],[!1,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",.041666666666666664,[0,0,0,0,0,0,0],"ctAu","misc",!1,null,null,1,!1,!1,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,!1],[!1,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",!1,null,null,1,!1,!1,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,!1],[!1,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",!1,null,"sqrt",1,!0,!1,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant",`measures amplitude spectral density, and is equal to the square root of power spectral density - `,"m2/s4/Hz",null,null,1,!1],[!1,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bits","infotech",!1,null,"ld",1,!0,!1,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical",`defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits - -In information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)`,"1",null,null,1,!1],[!1,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",!0,null,null,1,!1,!1,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,!1],[!1,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",!0,null,null,1,!1,!1,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,!1],[!1,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",!0,null,"inv",1,!1,!1,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,!1],[!1,"per twelve hour","/(12.h)","/HR","",23148148148148147e-21,[0,-1,0,0,0,0,0],"/h",null,!1,null,null,1,!1,!1,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,!1],[!1,"per arbitrary unit","/[arb'U]","/[ARB'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,!1,null,null,1,!1,!0,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,!1],[!1,"per high power field","/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,!1,null,null,1,!1,!1,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"per international unit","/[IU]","/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,!1,null,null,1,!1,!0,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)",null,null,null,null,!1],[!1,"per low power field","/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,!1,null,null,1,!1,!1,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"per 10 billion ","/10*10","/10*10","",1e-10,[0,0,0,0,0,0,0],"/1010<.sup>",null,!1,null,null,1,!1,!1,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per trillion ","/10*12","/10*12","",1e-12,[0,0,0,0,0,0,0],"/1012<.sup>",null,!1,null,null,1,!1,!1,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per thousand","/10*3","/10*3","",.001,[0,0,0,0,0,0,0],"/103<.sup>",null,!1,null,null,1,!1,!1,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per million","/10*6","/10*6","",1e-6,[0,0,0,0,0,0,0],"/106<.sup>",null,!1,null,null,1,!1,!1,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per billion","/10*9","/10*9","",1e-9,[0,0,0,0,0,0,0],"/109<.sup>",null,!1,null,null,1,!1,!1,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per 100","/100","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per 100 cells","/100{cells}","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,!1],[!1,"per 100 neutrophils","/100{neutrophils}","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,!1],[!1,"per 100 spermatozoa","/100{spermatozoa}","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,!1],[!1,"per 100 white blood cells","/100{WBCs}","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,!1],[!1,"per year","/a","/ANN","",3168808781402895e-23,[0,-1,0,0,0,0,0],"/a",null,!1,null,null,1,!1,!1,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per centimeter of water","/cm[H2O]","/CM[H2O]","",10197162129779282e-21,[1,2,-1,0,0,0,0],"/cm\xA0HO2<.r>",null,!1,null,null,1,!1,!1,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,!1],[!1,"per day","/d","/D","",11574074074074073e-21,[0,-1,0,0,0,0,0],"/d",null,!1,null,null,1,!1,!1,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per deciliter","/dL","/DL","",1e4,[-3,0,0,0,0,0,0],"/dL",null,!1,null,null,1,!1,!1,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,!1],[!1,"per gram","/g","/G","",1,[0,0,-1,0,0,0,0],"/g",null,!1,null,null,1,!1,!1,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,!1],[!1,"per hour","/h","/HR","",.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,!1,null,null,1,!1,!1,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per kilogram","/kg","/KG","",.001,[0,0,-1,0,0,0,0],"/kg",null,!1,null,null,1,!1,!1,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,!1],[!1,"per liter","/L","/L","",1e3,[-3,0,0,0,0,0,0],"/L",null,!1,null,null,1,!1,!1,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,!1],[!1,"per square meter","/m2","/M2","",1,[-2,0,0,0,0,0,0],"/m2<.sup>",null,!1,null,null,1,!1,!1,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"per cubic meter","/m3","/M3","",1,[-3,0,0,0,0,0,0],"/m3<.sup>",null,!1,null,null,1,!1,!1,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,!1],[!1,"per milligram","/mg","/MG","",1e3,[0,0,-1,0,0,0,0],"/mg",null,!1,null,null,1,!1,!1,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,!1],[!1,"per minute","/min","/MIN","",.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,!1,null,null,1,!1,!1,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per milliliter","/mL","/ML","",1e6,[-3,0,0,0,0,0,0],"/mL",null,!1,null,null,1,!1,!1,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,!1],[!1,"per millimeter","/mm","/MM","",1e3,[-1,0,0,0,0,0,0],"/mm",null,!1,null,null,1,!1,!1,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,!1],[!1,"per month","/mo","/MO","",3802570537683474e-22,[0,-1,0,0,0,0,0],"/mo",null,!1,null,null,1,!1,!1,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per second","/s","/S","",1,[0,-1,0,0,0,0,0],"/s",null,!1,null,null,1,!1,!1,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per enzyme unit","/U","/U","",9963241120049633e-32,[0,1,0,0,0,0,0],"/U",null,!1,null,null,1,!1,!1,-1,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,!1],[!1,"per microliter","/uL","/UL","",9999999999999999e-7,[-3,0,0,0,0,0,0],"/\u03BCL",null,!1,null,null,1,!1,!1,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,!1],[!1,"per week","/wk","/WK","",16534391534391535e-22,[0,-1,0,0,0,0,0],"/wk",null,!1,null,null,1,!1,!1,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"APL unit per milliliter","[APL'U]/mL","[APL'U]/ML","biologic activity of anticardiolipin IgA",1e6,[-3,0,0,0,0,0,0],"/mL","chemical",!1,null,null,1,!1,!0,0,"APL/mL; APL'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,!1],[!1,"arbitrary unit per milliliter","[arb'U]/mL","[ARB'U]/ML","arbitrary",1e6,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",!1,null,null,1,!1,!0,0,"arb'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,!1],[!1,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1e3,[-3,0,0,0,0,0,0],"CFU/L","chemical",!1,null,null,1,!1,!0,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,!1],[!1,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1e6,[-3,0,0,0,0,0,0],"CFU/mL","chemical",!1,null,null,1,!1,!0,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,!1],[!1,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ftus)/(ftus)","us-lengths",!1,null,null,1,!1,!1,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,!1],[!1,"GPL unit per milliliter","[GPL'U]/mL","[GPL'U]/ML","biologic activity of anticardiolipin IgG",1e6,[-3,0,0,0,0,0,0],"/mL","chemical",!1,null,null,1,!1,!0,0,"GPL U/mL; GPL'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,!1],[!1,"international unit per 2 hour","[IU]/(2.h)","[IU]/HR","arbitrary",.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",!0,null,null,1,!1,!0,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per 24 hour","[IU]/(24.h)","[IU]/HR","arbitrary",11574074074074073e-21,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",!0,null,null,1,!1,!0,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per day","[IU]/d","[IU]/D","arbitrary",11574074074074073e-21,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",!0,null,null,1,!1,!0,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",1e4,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",!0,null,null,1,!1,!0,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",!0,null,null,1,!1,!0,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",!0,null,null,1,!1,!0,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",!0,null,null,1,!1,!0,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per kilogram per day","[IU]/kg/d","[IU]/KG/D","arbitrary",11574074074074074e-24,[0,-1,-1,0,0,0,0],"(i.U.)/kg/d","chemical",!0,null,null,1,!1,!0,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1e3,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",!0,null,null,1,!1,!0,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",!0,null,null,1,!1,!0,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1e6,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",!0,null,null,1,!1,!0,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"MPL unit per milliliter","[MPL'U]/mL","[MPL'U]/ML","biologic activity of anticardiolipin IgM",1e6,[-3,0,0,0,0,0,0],"/mL","chemical",!1,null,null,1,!1,!0,0,"MPL/mL; MPL U/mL; MPL'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical",`units for antiphospholipid test -`,"1","1","1",1,!1],[!1,"number per high power field","{#}/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,!1,null,null,1,!1,!1,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"number per low power field","{#}/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,!1,null,null,1,!1,!1,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"IgA antiphosphatidylserine unit ","{APS'U}","","",1,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,!1],[!1,"EIA index","{EIA_index}","","",1,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,!1],[!1,"kaolin clotting time","{KCT'U}","","",1,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"KCT","LOINC","Time","Clinical","sensitive\xA0test to detect\xA0lupus anticoagulants; measured in seconds",null,null,null,null,!1],[!1,"IgM antiphosphatidylserine unit","{MPS'U}","","",1,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,!1],[!1,"trillion per liter","10*12/L","(10*12)/L","number",1e15,[-3,0,0,0,0,0,0],"(1012)/L","dimless",!1,null,null,1,!1,!1,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10^3 (used for cell count)","10*3","10*3","number",1e3,[0,0,0,0,0,0,0],"103","dimless",!1,null,null,1,!1,!1,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,!1],[!1,"thousand per liter","10*3/L","(10*3)/L","number",1e6,[-3,0,0,0,0,0,0],"(103)/L","dimless",!1,null,null,1,!1,!1,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1e9,[-3,0,0,0,0,0,0],"(103)/mL","dimless",!1,null,null,1,!1,!1,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"thousand per microliter","10*3/uL","(10*3)/UL","number",9999999999999999e-4,[-3,0,0,0,0,0,0],"(103)/\u03BCL","dimless",!1,null,null,1,!1,!1,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",1e13,[-3,0,0,0,0,0,0],"(104)/\u03BCL","dimless",!1,null,null,1,!1,!1,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10^5 ","10*5","10*5","number",1e5,[0,0,0,0,0,0,0],"105","dimless",!1,null,null,1,!1,!1,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,!1],[!1,"10^6","10*6","10*6","number",1e6,[0,0,0,0,0,0,0],"106","dimless",!1,null,null,1,!1,!1,0,"","LOINC","Num","Clinical","","1","1","10",10,!1],[!1,"million colony forming unit per liter","10*6.[CFU]/L","(10*6).[CFU]/L","number",1e9,[-3,0,0,0,0,0,0],"(106).CFU/L","dimless",!1,null,null,1,!1,!0,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,!1],[!1,"million international unit","10*6.[IU]","(10*6).[IU]","number",1e6,[0,0,0,0,0,0,0],"(106).(i.U.)","dimless",!1,null,null,1,!1,!0,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","10",10,!1],[!1,"million per 24 hour","10*6/(24.h)","(10*6)/HR","number",11.574074074074074,[0,-1,0,0,0,0,0],"(106)/h","dimless",!1,null,null,1,!1,!1,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,!1],[!1,"million per kilogram","10*6/kg","(10*6)/KG","number",1e3,[0,0,-1,0,0,0,0],"(106)/kg","dimless",!1,null,null,1,!1,!1,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,!1],[!1,"million per liter","10*6/L","(10*6)/L","number",1e9,[-3,0,0,0,0,0,0],"(106)/L","dimless",!1,null,null,1,!1,!1,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"million per milliliter","10*6/mL","(10*6)/ML","number",1e12,[-3,0,0,0,0,0,0],"(106)/mL","dimless",!1,null,null,1,!1,!1,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"million per microliter","10*6/uL","(10*6)/UL","number",1e15,[-3,0,0,0,0,0,0],"(106)/\u03BCL","dimless",!1,null,null,1,!1,!1,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10^8","10*8","10*8","number",1e8,[0,0,0,0,0,0,0],"108","dimless",!1,null,null,1,!1,!1,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,!1],[!1,"billion per liter","10*9/L","(10*9)/L","number",1e12,[-3,0,0,0,0,0,0],"(109)/L","dimless",!1,null,null,1,!1,!1,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"billion per milliliter","10*9/mL","(10*9)/ML","number",1e15,[-3,0,0,0,0,0,0],"(109)/mL","dimless",!1,null,null,1,!1,!1,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"billion per microliter","10*9/uL","(10*9)/UL","number",1e18,[-3,0,0,0,0,0,0],"(109)/\u03BCL","dimless",!1,null,null,1,!1,!1,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10 liter per minute per square meter","10.L/(min.m2)","L/(MIN.M2)","",.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m2))",null,!1,null,null,1,!1,!1,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,!1],[!1,"10 liter per minute","10.L/min","L/MIN","",.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,!1,null,null,1,!1,!1,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,!1],[!1,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","(UN.S)/(CM5.M2)","",1e8,[-6,-1,1,0,0,0,0],"(\u03BCN.s)/(cm5).(m2)",null,!1,null,null,1,!1,!1,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,!1],[!1,"24 hour","24.h","HR","",86400,[0,1,0,0,0,0,0],"h",null,!1,null,null,1,!1,!1,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",!0,null,null,1,!1,!1,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,!1],[!0,"centigram","cg","CG","mass",.01,[0,0,1,0,0,0,0],"cg",null,!1,"M",null,1,!1,!1,0,"centigrams; cg; cgm","LOINC","Mass","Clinical","",null,null,null,null,!1],[!1,"centiliter","cL","CL","volume",1e-5,[3,0,0,0,0,0,0],"cL","iso1000",!0,null,null,1,!1,!1,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!0,"centimeter","cm","CM","length",.01,[1,0,0,0,0,0,0],"cm",null,!1,"L",null,1,!1,!1,0,"centimeters; centimetres","LOINC","Len","Clinical","",null,null,null,null,!1],[!1,"centimeter of water","cm[H2O]","CM[H2O]","pressure",98066.5,[-1,-2,1,0,0,0,0],"cm\xA0HO2","clinical",!0,null,null,1,!1,!1,0,"cm H2O; cmH2O; centimetres; pressure","LOINC","Pres","Clinical","unit of pressure mostly applies to blood pressure","kPa","KPAL","980665e-5",9.80665,!1],[!1,"centimeter of water per liter per second","cm[H2O]/L/s","(CM[H2O]/L)/S","pressure",98066500,[-4,-3,1,0,0,0,0],"(cm\xA0HO2)/L/s","clinical",!0,null,null,1,!1,!1,0,"cm[H2O]/(L/s); cm[H2O].s/L; cm H2O/L/sec; cmH2O/L/sec; cmH2O/Liter; cmH2O per L per secs; centimeters of water per liters per second; centimetres; litres; cm[H2O]/(L/s)","LOINC","PresRat","Clinical","unit used to measure mean pulmonary resistance","kPa","KPAL","980665e-5",9.80665,!1],[!1,"centimeter of water per second per meter","cm[H2O]/s/m","(CM[H2O]/S)/M","pressure",98066.5,[-2,-3,1,0,0,0,0],"(cm\xA0HO2)/s/m","clinical",!0,null,null,1,!1,!1,0,"cm[H2O]/(s.m); cm H2O/s/m; cmH2O; cmH2O/sec/m; cmH2O per secs per meters; centimeters of water per seconds per meter; centimetres; metre","LOINC","PresRat","Clinical","unit used to measure pulmonary pressure time product","kPa","KPAL","980665e-5",9.80665,!1],[!1,"centimeter of mercury","cm[Hg]","CM[HG]","pressure",1333220,[-1,-2,1,0,0,0,0],"cm\xA0Hg","clinical",!0,null,null,1,!1,!1,0,"centimeters of mercury; centimetres; cmHg; cm Hg","LOINC","Pres","Clinical","unit of pressure where 1 cmHg = 10 torr","kPa","KPAL","133.3220",133.322,!1],[!0,"square centimeter","cm2","CM2","length",1e-4,[2,0,0,0,0,0,0],"cm2",null,!1,"L",null,1,!1,!1,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,!1],[!0,"square centimeter per second","cm2/s","CM2/S","length",1e-4,[2,-1,0,0,0,0,0],"(cm2)/s",null,!1,"L",null,1,!1,!1,0,"cm^2/sec; square centimeters per second; sq cm per sec; cm2; centimeters squared; centimetres","LOINC","AreaRat","Clinical","",null,null,null,null,!1],[!1,"centipoise","cP","CP","dynamic viscosity",1,[-1,-1,1,0,0,0,0],"cP","cgs",!0,null,null,1,!1,!1,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^\u22123 Pa.s = 1 mPa\xB7.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,!1],[!1,"centistoke","cSt","CST","kinematic viscosity",10000000000000002e-22,[2,-1,0,0,0,0,0],"cSt","cgs",!0,null,null,1,!1,!1,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,!1],[!1,"dekaliter per minute","daL/min","DAL/MIN","volume",.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",!0,null,null,1,!1,!1,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m2)","iso1000",!0,null,null,1,!1,!1,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient's size","l",null,"1",1,!1],[!1,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",!0,null,"lg",.1,!0,!1,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,!1],[!1,"degree per second","deg/s","DEG/S","plane angle",.017453292519943295,[0,-1,0,1,0,0,0],"\xB0/s","iso1000",!1,null,null,1,!1,!1,0,"deg/sec; deg per sec; \xB0/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,!1],[!0,"decigram","dg","DG","mass",.1,[0,0,1,0,0,0,0],"dg",null,!1,"M",null,1,!1,!1,0,"decigrams; dgm; 0.1 grams; 1/10 gm","LOINC","Mass","Clinical","equal to 1/10 gram",null,null,null,null,!1],[!1,"deciliter","dL","DL","volume",1e-4,[3,0,0,0,0,0,0],"dL","iso1000",!0,null,null,1,!1,!1,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,!1],[!0,"decimeter","dm","DM","length",.1,[1,0,0,0,0,0,0],"dm",null,!1,"L",null,1,!1,!1,0,"decimeters; decimetres; 0.1 meters; 1/10 m; 10 cm; centimeters","LOINC","Len","Clinical","equal to 1/10 meter or 10 centimeters",null,null,null,null,!1],[!0,"square decimeter per square second","dm2/s2","DM2/S2","length",.010000000000000002,[2,-2,0,0,0,0,0],"(dm2)/(s2)",null,!1,"L",null,1,!1,!1,0,"dm2 per s2; dm^2/s^2; decimeters squared per second squared; sq dm; sq sec","LOINC","EngMass (massic energy)","Clinical","units for energy per unit mass or Joules per kilogram (J/kg = kg.m2/s2/kg = m2/s2) ",null,null,null,null,!1],[!1,"dyne second per centimeter per square meter","dyn.s/(cm.m2)","(DYN.S)/(CM.M2)","force",1,[-2,-1,1,0,0,0,0],"(dyn.s)/(cm.(m2))","cgs",!0,null,null,1,!1,!1,0,"(dyn*s)/(cm*m2); (dyn*s)/(cm*m^2); dyn s per cm per m2; m^2; dyne seconds per centimeters per square meter; centimetres; sq. meter; squared","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,!1],[!1,"dyne second per centimeter","dyn.s/cm","(DYN.S)/CM","force",1,[0,-1,1,0,0,0,0],"(dyn.s)/cm","cgs",!0,null,null,1,!1,!1,0,"(dyn*s)/cm; dyn sec per cm; seconds; centimetre; dyne seconds","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,!1],[!1,"equivalent per liter","eq/L","EQ/L","amount of substance",60221366999999994e10,[-3,0,0,0,0,0,0],"eq/L","chemical",!0,null,null,1,!1,!1,1,"eq/liter; eq/litre; eqs; equivalents per liter; litre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"equivalent per milliliter","eq/mL","EQ/ML","amount of substance",60221367e22,[-3,0,0,0,0,0,0],"eq/mL","chemical",!0,null,null,1,!1,!1,1,"equivalent/milliliter; equivalents per milliliter; eq per mL; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"equivalent per millimole","eq/mmol","EQ/MMOL","amount of substance",1e3,[0,0,0,0,0,0,0],"eq/mmol","chemical",!0,null,null,1,!1,!1,0,"equivalent/millimole; equivalents per millimole; eq per mmol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"equivalent per micromole","eq/umol","EQ/UMOL","amount of substance",1e6,[0,0,0,0,0,0,0],"eq/\u03BCmol","chemical",!0,null,null,1,!1,!1,0,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!0,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,!1,"M",null,1,!1,!1,0,"fg; fgm; femtograms; weight","LOINC","Mass","Clinical","equal to 10^-15 grams",null,null,null,null,!1],[!1,"femtoliter","fL","FL","volume",1e-18,[3,0,0,0,0,0,0],"fL","iso1000",!0,null,null,1,!1,!1,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,!1],[!0,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,!1,"L",null,1,!1,!1,0,"femtometres; femtometers","LOINC","Len","Clinical","equal to 10^-15 meters",null,null,null,null,!1],[!1,"femtomole","fmol","FMOL","amount of substance",602213670,[0,0,0,0,0,0,0],"fmol","si",!0,null,null,1,!1,!1,1,"femtomoles","LOINC","EntSub","Clinical","equal to 10^-15 moles","10*23","10*23","6.0221367",6.0221367,!1],[!1,"femtomole per gram","fmol/g","FMOL/G","amount of substance",602213670,[0,0,-1,0,0,0,0],"fmol/g","si",!0,null,null,1,!1,!1,1,"femtomoles; fmol/gm; fmol per gm","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"femtomole per liter","fmol/L","FMOL/L","amount of substance",60221367e4,[-3,0,0,0,0,0,0],"fmol/L","si",!0,null,null,1,!1,!1,1,"femtomoles; fmol per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"femtomole per milligram","fmol/mg","FMOL/MG","amount of substance",60221367e4,[0,0,-1,0,0,0,0],"fmol/mg","si",!0,null,null,1,!1,!1,1,"fmol per mg; femtomoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"femtomole per milliliter","fmol/mL","FMOL/ML","amount of substance",60221367e7,[-3,0,0,0,0,0,0],"fmol/mL","si",!0,null,null,1,!1,!1,1,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!0,"gram meter","g.m","G.M","mass",1,[1,0,1,0,0,0,0],"g.m",null,!1,"M",null,1,!1,!1,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,!1],[!0,"gram per 100 gram","g/(100.g)","G/G","mass",.01,[0,0,0,0,0,0,0],"g/g",null,!1,"M",null,1,!1,!1,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"gram per 12 hour","g/(12.h)","G/HR","mass",23148148148148147e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 24 hour","g/(24.h)","G/HR","mass",11574074074074073e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; gm/dy; gm per dy; grams per day","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 3 days","g/(3.d)","G/D","mass",3858024691358025e-21,[0,-1,1,0,0,0,0],"g/d",null,!1,"M",null,1,!1,!1,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 4 hour","g/(4.h)","G/HR","mass",6944444444444444e-20,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 48 hour","g/(48.h)","G/HR","mass",5787037037037037e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 5 hour","g/(5.h)","G/HR","mass",5555555555555556e-20,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 6 hour","g/(6.h)","G/HR","mass",46296296296296294e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 72 hour","g/(72.h)","G/HR","mass",3858024691358025e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per cubic centimeter","g/cm3","G/CM3","mass",999999.9999999999,[-3,0,1,0,0,0,0],"g/(cm3)",null,!1,"M",null,1,!1,!1,0,"g/cm^3; gm per cm3; g per cm^3; grams per centimeter cubed; cu. cm; centimetre; g/mL; gram per milliliter; millilitre","LOINC","MCnc","Clinical","g/cm3 = g/mL",null,null,null,null,!1],[!0,"gram per day","g/d","G/D","mass",11574074074074073e-21,[0,-1,1,0,0,0,0],"g/d",null,!1,"M",null,1,!1,!1,0,"gm/dy; gm per dy; grams per day; gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; serving","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per deciliter","g/dL","G/DL","mass",1e4,[-3,0,1,0,0,0,0],"g/dL",null,!1,"M",null,1,!1,!1,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"gram per gram","g/g","G/G","mass",1,[0,0,0,0,0,0,0],"g/g",null,!1,"M",null,1,!1,!1,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,!1],[!0,"gram per hour","g/h","G/HR","mass",.0002777777777777778,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per hour per square meter","g/h/m2","(G/HR)/M2","mass",.0002777777777777778,[-2,-1,1,0,0,0,0],"(g/h)/(m2)",null,!1,"M",null,1,!1,!1,0,"gm/hr/m2; gm/h/m2; /m^2; sq. m; g per hr per m2; grams per hours per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,!1],[!0,"gram per kilogram","g/kg ","G/KG","mass",.001,[0,0,0,0,0,0,0],"g/kg",null,!1,"M",null,1,!1,!1,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/HR","mass",3472222222222222e-23,[0,-1,0,0,0,0,0],"(g/kg)/h",null,!1,"M",null,1,!1,!1,0,"g/(8.kg.h); gm/kg/8hrs; 8 hrs; g per kg per 8 hrs; 8hrs; grams per kilograms per 8 hours; shift","LOINC","MCntRat; RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a 8 hours, divided by the subject's body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,!1],[!0,"gram per kilogram per day","g/kg/d","(G/KG)/D","mass",11574074074074074e-24,[0,-1,0,0,0,0,0],"(g/kg)/d",null,!1,"M",null,1,!1,!1,0,"g/(kg.d); gm/kg/dy; gm per kg per dy; grams per kilograms per day","LOINC","RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a day, divided by the subject's body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,!1],[!0,"gram per kilogram per hour","g/kg/h","(G/KG)/HR","mass",27777777777777776e-23,[0,-1,0,0,0,0,0],"(g/kg)/h",null,!1,"M",null,1,!1,!1,0,"g/(kg.h); g/kg/hr; g per kg per hrs; grams per kilograms per hour","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,!1],[!0,"gram per kilogram per minute","g/kg/min","(G/KG)/MIN","mass",16666666666666667e-21,[0,-1,0,0,0,0,0],"(g/kg)/min",null,!1,"M",null,1,!1,!1,0,"g/(kg.min); g/kg/min; g per kg per min; grams per kilograms per minute","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,!1],[!0,"gram per liter","g/L","G/L","mass",1e3,[-3,0,1,0,0,0,0],"g/L",null,!1,"M",null,1,!1,!1,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"gram per square meter","g/m2","G/M2","mass",1,[-2,0,1,0,0,0,0],"g/(m2)",null,!1,"M",null,1,!1,!1,0,"g/m^2; gram/square meter; g/sq m; g per m2; g per m^2; grams per square meter; meters squared; metre","LOINC","ArMass","Clinical","Tests measure myocardial mass (heart ventricle system) per body surface area; unit used to measure mass dose per body surface area",null,null,null,null,!1],[!0,"gram per milligram","g/mg","G/MG","mass",1e3,[0,0,0,0,0,0,0],"g/mg",null,!1,"M",null,1,!1,!1,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,!1],[!0,"gram per minute","g/min","G/MIN","mass",.016666666666666666,[0,-1,1,0,0,0,0],"g/min",null,!1,"M",null,1,!1,!1,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per milliliter","g/mL","G/ML","mass",1e6,[-3,0,1,0,0,0,0],"g/mL",null,!1,"M",null,1,!1,!1,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"gram per millimole","g/mmol","G/MMOL","mass",16605401866749388e-37,[0,0,1,0,0,0,0],"g/mmol",null,!1,"M",null,1,!1,!1,-1,"grams per millimole; g per mmol","LOINC","Ratio","Clinical","",null,null,null,null,!1],[!1,"joule per liter","J/L","J/L","energy",1e6,[-1,-2,1,0,0,0,0],"J/L","si",!0,null,null,1,!1,!1,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,!1],[!0,"degree Kelvin per Watt","K/W","K/W","temperature",.001,[-2,3,-1,0,1,0,0],"K/W",null,!1,"C",null,1,!1,!1,0,"degree Kelvin/Watt; K per W; thermal ohm; thermal resistance; degrees","LOINC","TempEngRat","Clinical","unit for absolute thermal resistance equal to the reciprocal of thermal conductance. Unit used for tests to measure work of breathing",null,null,null,null,!1],[!1,"kilo international unit per liter","k[IU]/L","K[IU]/L","arbitrary",1e6,[-3,0,0,0,0,0,0],"(ki.U.)/L","chemical",!0,null,null,1,!1,!0,0,"kIU/L; kIU per L; kIU per liter; kilo international units; litre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/L","[iU]","[IU]","1",1,!1],[!1,"kilo international unit per milliliter","k[IU]/mL","K[IU]/ML","arbitrary",1e9,[-3,0,0,0,0,0,0],"(ki.U.)/mL","chemical",!0,null,null,1,!1,!0,0,"kIU/mL; kIU per mL; kIU per milliliter; kilo international units; millilitre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/mL","[iU]","[IU]","1",1,!1],[!1,"katal per kilogram","kat/kg","KAT/KG","catalytic activity",60221367e13,[0,-1,-1,0,0,0,0],"kat/kg","chemical",!0,null,null,1,!1,!1,1,"kat per kg; katals per kilogram; mol/s/kg; moles per seconds per kilogram","LOINC","CCnt","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"katal per liter","kat/L","KAT/L","catalytic activity",60221366999999994e10,[-3,-1,0,0,0,0,0],"kat/L","chemical",!0,null,null,1,!1,!1,1,"kat per L; katals per liter; litre; mol/s/L; moles per seconds per liter","LOINC","CCnc","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"kilocalorie","kcal","KCAL","energy",4184e3,[2,-2,1,0,0,0,0],"kcal","heat",!0,null,null,1,!1,!1,0,"kilogram calories; large calories; food calories; kcals","LOINC","EngRat","Clinical","It is equal to 1000 calories (equal to 4.184 kJ). But in practical usage, kcal refers to food calories which excludes caloric content in fiber and other constitutes that is not digestible by humans. Also see nutrition label Calories ([Cal])","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per 24 hour","kcal/(24.h)","KCAL/HR","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",!0,null,null,1,!1,!1,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",!0,null,null,1,!1,!1,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",!0,null,null,1,!1,!1,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",!0,null,null,1,!1,!1,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/HR","energy",.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",!0,null,null,1,!1,!1,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject's body weight in kilograms","cal_th","CAL_TH","1",1,!1],[!0,"kilogram","kg","KG","mass",1e3,[0,0,1,0,0,0,0],"kg",null,!1,"M",null,1,!1,!1,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,!1],[!0,"kilogram meter per second","kg.m/s","(KG.M)/S","mass",1e3,[1,-1,1,0,0,0,0],"(kg.m)/s",null,!1,"M",null,1,!1,!1,0,"kg*m/s; kg.m per sec; kg*m per sec; p; momentum","LOINC","","Clinical","unit for momentum = mass times velocity",null,null,null,null,!1],[!0,"kilogram per second per square meter","kg/(s.m2)","KG/(S.M2)","mass",1e3,[-2,-1,1,0,0,0,0],"kg/(s.(m2))",null,!1,"M",null,1,!1,!1,0,"kg/(s*m2); kg/(s*m^2); kg per s per m2; per sec; per m^2; kilograms per seconds per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,!1],[!0,"kilogram per hour","kg/h","KG/HR","mass",.2777777777777778,[0,-1,1,0,0,0,0],"kg/h",null,!1,"M",null,1,!1,!1,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"kilogram per liter","kg/L","KG/L","mass",1e6,[-3,0,1,0,0,0,0],"kg/L",null,!1,"M",null,1,!1,!1,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"kilogram per square meter","kg/m2","KG/M2","mass",1e3,[-2,0,1,0,0,0,0],"kg/(m2)",null,!1,"M",null,1,!1,!1,0,"kg/m^2; kg/sq. m; kg per m2; per m^2; per sq. m; kilograms; meter squared; metre; BMI","LOINC","Ratio","Clinical","units for body mass index (BMI)",null,null,null,null,!1],[!0,"kilogram per cubic meter","kg/m3","KG/M3","mass",1e3,[-3,0,1,0,0,0,0],"kg/(m3)",null,!1,"M",null,1,!1,!1,0,"kg/m^3; kg/cu. m; kg per m3; per m^3; per cu. m; kilograms; meters cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"kilogram per minute","kg/min","KG/MIN","mass",16.666666666666668,[0,-1,1,0,0,0,0],"kg/min",null,!1,"M",null,1,!1,!1,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"kilogram per mole","kg/mol","KG/MOL","mass",16605401866749388e-37,[0,0,1,0,0,0,0],"kg/mol",null,!1,"M",null,1,!1,!1,-1,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,!1],[!0,"kilogram per second","kg/s","KG/S","mass",1e3,[0,-1,1,0,0,0,0],"kg/s",null,!1,"M",null,1,!1,!1,0,"kg/sec; kilogram/second; kg per sec; kilograms; second","LOINC","MRat","Clinical","",null,null,null,null,!1],[!1,"kiloliter","kL","KL","volume",1,[3,0,0,0,0,0,0],"kL","iso1000",!0,null,null,1,!1,!1,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!0,"kilometer","km","KM","length",1e3,[1,0,0,0,0,0,0],"km",null,!1,"L",null,1,!1,!1,0,"kilometers; kilometres; distance","LOINC","Len","Clinical","",null,null,null,null,!1],[!1,"kilopascal","kPa","KPAL","pressure",1e6,[-1,-2,1,0,0,0,0],"kPa","si",!0,null,null,1,!1,!1,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,!1],[!0,"kilosecond","ks","KS","time",1e3,[0,1,0,0,0,0,0],"ks",null,!1,"T",null,1,!1,!1,0,"kiloseconds; ksec","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"kilo enzyme unit","kU","KU","catalytic activity",100368945e11,[0,-1,0,0,0,0,0],"kU","chemical",!0,null,null,1,!1,!1,1,"units; mmol/min; millimoles per minute","LOINC","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"kilo enzyme unit per gram","kU/g","KU/G","catalytic activity",100368945e11,[0,-1,-1,0,0,0,0],"kU/g","chemical",!0,null,null,1,!1,!1,1,"units per grams; kU per gm","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"kilo enzyme unit per liter","kU/L","KU/L","catalytic activity",100368945e14,[-3,-1,0,0,0,0,0],"kU/L","chemical",!0,null,null,1,!1,!1,1,"units per liter; litre; enzymatic activity; enzyme activity per volume; activities","LOINC","ACnc; CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"kilo enzyme unit per milliliter","kU/mL","KU/ML","catalytic activity",100368945e17,[-3,-1,0,0,0,0,0],"kU/mL","chemical",!0,null,null,1,!1,!1,1,"kU per mL; units per milliliter; millilitre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"Liters per 24 hour","L/(24.h)","L/HR","volume",11574074074074074e-24,[3,-1,0,0,0,0,0],"L/h","iso1000",!0,null,null,1,!1,!1,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per 8 hour","L/(8.h)","L/HR","volume",3472222222222222e-23,[3,-1,0,0,0,0,0],"L/h","iso1000",!0,null,null,1,!1,!1,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",16666666666666667e-21,[1,-1,0,0,0,0,0],"L/(min.(m2))","iso1000",!0,null,null,1,!1,!1,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,!1],[!1,"Liters per day","L/d","L/D","volume",11574074074074074e-24,[3,-1,0,0,0,0,0],"L/d","iso1000",!0,null,null,1,!1,!1,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per hour","L/h","L/HR","volume",27777777777777776e-23,[3,-1,0,0,0,0,0],"L/h","iso1000",!0,null,null,1,!1,!1,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per kilogram","L/kg","L/KG","volume",1e-6,[3,0,-1,0,0,0,0],"L/kg","iso1000",!0,null,null,1,!1,!1,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,!1],[!1,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",!0,null,null,1,!1,!1,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,!1],[!1,"Liters per minute","L/min","L/MIN","volume",16666666666666667e-21,[3,-1,0,0,0,0,0],"L/min","iso1000",!0,null,null,1,!1,!1,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",16666666666666667e-21,[1,-1,0,0,0,0,0],"(L/min)/(m2)","iso1000",!0,null,null,1,!1,!1,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,!1],[!1,"Liters per second","L/s","L/S","volume",.001,[3,-1,0,0,0,0,0],"L/s","iso1000",!0,null,null,1,!1,!1,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,!1],[!1,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",.001,[3,-3,0,0,0,0,0],"(L/s)/(s2)","iso1000",!0,null,null,1,!1,!1,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,!1],[!1,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m2)","si",!0,null,null,1,!1,!1,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,!1],[!0,"meter per second","m/s","M/S","length",1,[1,-1,0,0,0,0,0],"m/s",null,!1,"L",null,1,!1,!1,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,!1],[!0,"meter per square second","m/s2","M/S2","length",1,[1,-2,0,0,0,0,0],"m/(s2)",null,!1,"L",null,1,!1,!1,0,"m/s^2; m/sq. sec; m per s2; per s^2; meters per square second; second squared; sq second; metres; acceleration","LOINC","Accel","Clinical","unit of acceleration",null,null,null,null,!1],[!1,"milli international unit per liter","m[IU]/L","M[IU]/L","arbitrary",1,[-3,0,0,0,0,0,0],"(mi.U.)/L","chemical",!0,null,null,1,!1,!0,0,"mIU/L; m IU/L; mIU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"milli international unit per milliliter","m[IU]/mL","M[IU]/ML","arbitrary",1000.0000000000001,[-3,0,0,0,0,0,0],"(mi.U.)/mL","chemical",!0,null,null,1,!1,!0,0,"mIU/mL; m IU/mL; mIU per mL; milli international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!0,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m2",null,!1,"L",null,1,!1,!1,0,"m^2; sq m; square meters; meters squared; metres","LOINC","Area","Clinical","unit often used to represent body surface area",null,null,null,null,!1],[!0,"square meter per second","m2/s","M2/S","length",1,[2,-1,0,0,0,0,0],"(m2)/s",null,!1,"L",null,1,!1,!1,0,"m^2/sec; m2 per sec; m^2 per sec; sq m/sec; meters squared/seconds; sq m per sec; meters squared; metres","LOINC","ArRat","Clinical","",null,null,null,null,!1],[!0,"cubic meter per second","m3/s","M3/S","length",1,[3,-1,0,0,0,0,0],"(m3)/s",null,!1,"L",null,1,!1,!1,0,"m^3/sec; m3 per sec; m^3 per sec; cu m/sec; cubic meters per seconds; meters cubed; metres","LOINC","VRat","Clinical","",null,null,null,null,!1],[!1,"milliampere","mA","MA","electric current",.001,[0,-1,0,0,0,1,0],"mA","si",!0,null,null,1,!1,!1,0,"mamp; milliamperes","LOINC","ElpotRat","Clinical","unit of electric current","C/s","C/S","1",1,!1],[!1,"millibar","mbar","MBAR","pressure",1e5,[-1,-2,1,0,0,0,0],"mbar","iso1000",!0,null,null,1,!1,!1,0,"millibars","LOINC","Pres","Clinical","unit of pressure","Pa","PAL","1e5",1e5,!1],[!1,"millibar second per liter","mbar.s/L","(MBAR.S)/L","pressure",1e8,[-4,-1,1,0,0,0,0],"(mbar.s)/L","iso1000",!0,null,null,1,!1,!1,0,"mbar*s/L; mbar.s per L; mbar*s per L; millibar seconds per liter; millibar second per litre","LOINC","","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",1e5,!1],[!1,"millibar per liter per second","mbar/L/s","(MBAR/L)/S","pressure",1e8,[-4,-3,1,0,0,0,0],"(mbar/L)/s","iso1000",!0,null,null,1,!1,!1,0,"mbar/(L.s); mbar/L/sec; mbar/liter/second; mbar per L per sec; mbar per liter per second; millibars per liters per seconds; litres","LOINC","PresCncRat","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",1e5,!1],[!1,"milliequivalent","meq","MEQ","amount of substance",60221367e13,[0,0,0,0,0,0,0],"meq","chemical",!0,null,null,1,!1,!1,1,"milliequivalents; meqs","LOINC","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per 2 hour","meq/(2.h)","MEQ/HR","amount of substance",836407875e8,[0,-1,0,0,0,0,0],"meq/h","chemical",!0,null,null,1,!1,!1,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per 24 hour","meq/(24.h)","MEQ/HR","amount of substance",6970065625e6,[0,-1,0,0,0,0,0],"meq/h","chemical",!0,null,null,1,!1,!1,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per 8 hour","meq/(8.h)","MEQ/HR","amount of substance",20910196875e6,[0,-1,0,0,0,0,0],"meq/h","chemical",!0,null,null,1,!1,!1,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625e6,[0,-1,0,0,0,0,0],"meq/d","chemical",!0,null,null,1,!1,!1,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6022136699999999e9,[-3,0,0,0,0,0,0],"meq/dL","chemical",!0,null,null,1,!1,!1,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",60221367e13,[0,0,-1,0,0,0,0],"meq/g","chemical",!0,null,null,1,!1,!1,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575e9,[0,-1,0,0,0,0,0],"meq/h","chemical",!0,null,null,1,!1,!1,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"meq/kg","chemical",!0,null,null,1,!1,!1,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,!1],[!1,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575e6,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",!0,null,null,1,!1,!1,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,!1],[!1,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",60221367e16,[-3,0,0,0,0,0,0],"meq/L","chemical",!0,null,null,1,!1,!1,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",60221367e13,[-2,0,0,0,0,0,0],"meq/(m2)","chemical",!0,null,null,1,!1,!1,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,!1],[!1,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",100368945e11,[0,-1,0,0,0,0,0],"meq/min","chemical",!0,null,null,1,!1,!1,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",60221367e19,[-3,0,0,0,0,0,0],"meq/mL","chemical",!0,null,null,1,!1,!1,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!0,"milligram","mg","MG","mass",.001,[0,0,1,0,0,0,0],"mg",null,!1,"M",null,1,!1,!1,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,!1],[!0,"milligram per 10 hour","mg/(10.h)","MG/HR","mass",27777777777777777e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per 12 hour","mg/(12.h)","MG/HR","mass",23148148148148148e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/12hrs; mg/12 hrs; per 12 hrs; 12hrs; milligrams per 12 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,!1],[!0,"milligram per 2 hour","mg/(2.h)","MG/HR","mass",13888888888888888e-23,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/2hrs; mg/2 hrs; mg per 2 hrs; 2hrs; milligrams per 2 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,!1],[!0,"milligram per 24 hour","mg/(24.h)","MG/HR","mass",11574074074074074e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/kg/dy; mg per kg per day; milligrams per kilograms per days","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per 6 hour","mg/(6.h)","MG/HR","mass",46296296296296295e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per 72 hour","mg/(72.h)","MG/HR","mass",3858024691358025e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per 8 hour","mg/(8.h)","MG/HR","mass",3472222222222222e-23,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per day","mg/d","MG/D","mass",11574074074074074e-24,[0,-1,1,0,0,0,0],"mg/d",null,!1,"M",null,1,!1,!1,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per deciliter","mg/dL","MG/DL","mass",10,[-3,0,1,0,0,0,0],"mg/dL",null,!1,"M",null,1,!1,!1,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"milligram per gram","mg/g","MG/G","mass",.001,[0,0,0,0,0,0,0],"mg/g",null,!1,"M",null,1,!1,!1,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,!1],[!0,"milligram per hour","mg/h","MG/HR","mass",27777777777777776e-23,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per kilogram","mg/kg","MG/KG","mass",1e-6,[0,0,0,0,0,0,0],"mg/kg",null,!1,"M",null,1,!1,!1,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/HR","mass",3472222222222222e-26,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,!1,"M",null,1,!1,!1,0,"mg/(8.h.kg); mg/kg/8hrs; mg/kg/8 hrs; mg per kg per 8hrs; 8 hrs; milligrams per kilograms per 8 hours; shift","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"milligram per kilogram per day","mg/kg/d","(MG/KG)/D","mass",11574074074074074e-27,[0,-1,0,0,0,0,0],"(mg/kg)/d",null,!1,"M",null,1,!1,!1,0,"mg/(kg.d); mg/(kg.24.h)mg/kg/dy; mg per kg per day; milligrams per kilograms per days; mg/kg/(24.h); mg/kg/24hrs; 24 hrs; 24 hours","LOINC","RelMRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"milligram per kilogram per hour","mg/kg/h","(MG/KG)/HR","mass",27777777777777777e-26,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,!1,"M",null,1,!1,!1,0,"mg/(kg.h); mg/kg/hr; mg per kg per hr; milligrams per kilograms per hour","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"milligram per kilogram per minute","mg/kg/min","(MG/KG)/MIN","mass",16666666666666667e-24,[0,-1,0,0,0,0,0],"(mg/kg)/min",null,!1,"M",null,1,!1,!1,0,"mg/(kg.min); mg per kg per min; milligrams per kilograms per minute","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"milligram per liter","mg/L","MG/L","mass",1,[-3,0,1,0,0,0,0],"mg/L",null,!1,"M",null,1,!1,!1,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"milligram per square meter","mg/m2","MG/M2","mass",.001,[-2,0,1,0,0,0,0],"mg/(m2)",null,!1,"M",null,1,!1,!1,0,"mg/m^2; mg/sq. m; mg per m2; mg per m^2; mg per sq. milligrams; meter squared; metre","LOINC","ArMass","Clinical","",null,null,null,null,!1],[!0,"milligram per cubic meter","mg/m3","MG/M3","mass",.001,[-3,0,1,0,0,0,0],"mg/(m3)",null,!1,"M",null,1,!1,!1,0,"mg/m^3; mg/cu. m; mg per m3; milligrams per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"milligram per milligram","mg/mg","MG/MG","mass",1,[0,0,0,0,0,0,0],"mg/mg",null,!1,"M",null,1,!1,!1,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,!1],[!0,"milligram per minute","mg/min","MG/MIN","mass",16666666666666667e-21,[0,-1,1,0,0,0,0],"mg/min",null,!1,"M",null,1,!1,!1,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per milliliter","mg/mL","MG/ML","mass",1000.0000000000001,[-3,0,1,0,0,0,0],"mg/mL",null,!1,"M",null,1,!1,!1,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"milligram per millimole","mg/mmol","MG/MMOL","mass",1660540186674939e-39,[0,0,1,0,0,0,0],"mg/mmol",null,!1,"M",null,1,!1,!1,-1,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,!1],[!0,"milligram per week","mg/wk","MG/WK","mass",16534391534391535e-25,[0,-1,1,0,0,0,0],"mg/wk",null,!1,"M",null,1,!1,!1,0,"mg/week; mg per wk; milligrams per weeks; milligram/week","LOINC","Mrat","Clinical","",null,null,null,null,!1],[!1,"milliliter","mL","ML","volume",1e-6,[3,0,0,0,0,0,0],"mL","iso1000",!0,null,null,1,!1,!1,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 10 hour","mL/(10.h)","ML/HR","volume",27777777777777777e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 12 hour","mL/(12.h)","ML/HR","volume",23148148148148147e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 2 hour","mL/(2.h)","ML/HR","volume",13888888888888888e-26,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 24 hour","mL/(24.h)","ML/HR","volume",11574074074074074e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 4 hour","mL/(4.h)","ML/HR","volume",6944444444444444e-26,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 5 hour","mL/(5.h)","ML/HR","volume",55555555555555553e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 6 hour","mL/(6.h)","ML/HR","volume",46296296296296294e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 72 hour","mL/(72.h)","ML/HR","volume",38580246913580245e-28,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 8 hour","mL/(8.h)","ML/HR","volume",3472222222222222e-26,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/HR)/KG","volume",3472222222222222e-29,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",!0,null,null,1,!1,!1,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,!1],[!1,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",!0,null,null,1,!1,!1,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,!1],[!1,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",10197162129779282e-27,[4,2,-1,0,0,0,0],"mL/(cm\xA0HO2)","iso1000",!0,null,null,1,!1,!1,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,!1],[!1,"milliliter per day","mL/d","ML/D","volume",11574074074074074e-27,[3,-1,0,0,0,0,0],"mL/d","iso1000",!0,null,null,1,!1,!1,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,!1],[!1,"milliliter per deciliter","mL/dL","ML/DL","volume",.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",!0,null,null,1,!1,!1,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,!1],[!1,"milliliter per hour","mL/h","ML/HR","volume",27777777777777777e-26,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per kilogram","mL/kg","ML/KG","volume",9999999999999999e-25,[3,0,-1,0,0,0,0],"mL/kg","iso1000",!0,null,null,1,!1,!1,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,!1],[!1,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/HR","volume",3472222222222222e-29,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",!0,null,null,1,!1,!1,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,!1],[!1,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",11574074074074072e-30,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",!0,null,null,1,!1,!1,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,!1],[!1,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",27777777777777774e-29,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",!0,null,null,1,!1,!1,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,!1],[!1,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",16666666666666664e-27,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",!0,null,null,1,!1,!1,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,!1],[!1,"milliliter per square meter","mL/m2","ML/M2","volume",1e-6,[1,0,0,0,0,0,0],"mL/(m2)","iso1000",!0,null,null,1,!1,!1,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,!1],[!1,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",!0,null,null,1,!1,!1,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,!1],[!1,"milliliter per minute","mL/min","ML/MIN","volume",16666666666666667e-24,[3,-1,0,0,0,0,0],"mL/min","iso1000",!0,null,null,1,!1,!1,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",16666666666666667e-24,[1,-1,0,0,0,0,0],"(mL/min)/(m2)","iso1000",!0,null,null,1,!1,!1,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,!1],[!1,"milliliter per millimeter","mL/mm","ML/MM","volume",.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",!0,null,null,1,!1,!1,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,!1],[!1,"milliliter per second","mL/s","ML/S","volume",1e-6,[3,-1,0,0,0,0,0],"mL/s","iso1000",!0,null,null,1,!1,!1,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,!1],[!0,"millimeter","mm","MM","length",.001,[1,0,0,0,0,0,0],"mm",null,!1,"L",null,1,!1,!1,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,!1],[!0,"millimeter per hour","mm/h","MM/HR","length",27777777777777776e-23,[1,-1,0,0,0,0,0],"mm/h",null,!1,"L",null,1,!1,!1,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,!1],[!0,"millimeter per minute","mm/min","MM/MIN","length",16666666666666667e-21,[1,-1,0,0,0,0,0],"mm/min",null,!1,"L",null,1,!1,!1,0,"mm per min; millimeters per minute; millimetres","LOINC","Vel","Clinical","",null,null,null,null,!1],[!1,"millimeter of water","mm[H2O]","MM[H2O]","pressure",9806.65,[-1,-2,1,0,0,0,0],"mm\xA0HO2","clinical",!0,null,null,1,!1,!1,0,"mmH2O; mm H2O; millimeters of water; millimetres","LOINC","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,!1],[!1,"millimeter of mercury","mm[Hg]","MM[HG]","pressure",133322,[-1,-2,1,0,0,0,0],"mm\xA0Hg","clinical",!0,null,null,1,!1,!1,0,"mmHg; mm Hg; millimeters of mercury; millimetres","LOINC","Pres; PPres; Ratio","Clinical","1 mm[Hg] = 1 torr; unit to measure blood pressure","kPa","KPAL","133.3220",133.322,!1],[!0,"square millimeter","mm2","MM2","length",1e-6,[2,0,0,0,0,0,0],"mm2",null,!1,"L",null,1,!1,!1,0,"mm^2; sq. mm.; sq. millimeters; millimeters squared; millimetres","LOINC","Area","Clinical","",null,null,null,null,!1],[!1,"millimole","mmol","MMOL","amount of substance",60221367e13,[0,0,0,0,0,0,0],"mmol","si",!0,null,null,1,!1,!1,1,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 12 hour","mmol/(12.h)","MMOL/HR","amount of substance",1394013125e7,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 2 hour","mmol/(2.h)","MMOL/HR","amount of substance",836407875e8,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 24 hour","mmol/(24.h)","MMOL/HR","amount of substance",6970065625e6,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 5 hour","mmol/(5.h)","MMOL/HR","amount of substance",33456315e9,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 6 hour","mmol/(6.h)","MMOL/HR","amount of substance",278802625e8,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 8 hour","mmol/(8.h)","MMOL/HR","amount of substance",20910196875e6,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625e6,[0,-1,0,0,0,0,0],"mmol/d","si",!0,null,null,1,!1,!1,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6022136699999999e9,[-3,0,0,0,0,0,0],"mmol/dL","si",!0,null,null,1,!1,!1,1,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per gram","mmol/g","MMOL/G","amount of substance",60221367e13,[0,0,-1,0,0,0,0],"mmol/g","si",!0,null,null,1,!1,!1,1,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575e9,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"mmol/kg","si",!0,null,null,1,!1,!1,1,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/HR","amount of substance",20910196875e3,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",!0,null,null,1,!1,!1,1,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625e3,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",!0,null,null,1,!1,!1,1,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575e6,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",!0,null,null,1,!1,!1,1,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",100368945e8,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",!0,null,null,1,!1,!1,1,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per liter","mmol/L","MMOL/L","amount of substance",60221367e16,[-3,0,0,0,0,0,0],"mmol/L","si",!0,null,null,1,!1,!1,1,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",60221367e13,[-2,0,0,0,0,0,0],"mmol/(m2)","si",!0,null,null,1,!1,!1,1,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",100368945e11,[0,-1,0,0,0,0,0],"mmol/min","si",!0,null,null,1,!1,!1,1,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",!0,null,null,1,!1,!1,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",.001,[0,0,0,0,0,0,0],"mmol/mol","si",!0,null,null,1,!1,!1,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",60221367e16,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",!0,null,null,1,!1,!1,1,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per kilogram","mol/kg","MOL/KG","amount of substance",60221367e13,[0,0,-1,0,0,0,0],"mol/kg","si",!0,null,null,1,!1,!1,1,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",60221367e13,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",!0,null,null,1,!1,!1,1,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per liter","mol/L","MOL/L","amount of substance",60221366999999994e10,[-3,0,0,0,0,0,0],"mol/L","si",!0,null,null,1,!1,!1,1,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",60221367e16,[-3,0,0,0,0,0,0],"mol/(m3)","si",!0,null,null,1,!1,!1,1,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per milliliter","mol/mL","MOL/ML","amount of substance",60221367e22,[-3,0,0,0,0,0,0],"mol/mL","si",!0,null,null,1,!1,!1,1,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",!0,null,null,1,!1,!1,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per second","mol/s","MOL/S","amount of substance",60221367e16,[0,-1,0,0,0,0,0],"mol/s","si",!0,null,null,1,!1,!1,1,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",60221367e13,[0,0,0,0,0,0,0],"mosm","chemical",!0,null,null,1,!1,!1,1,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,!1],[!1,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",60221367e10,[0,0,-1,0,0,0,0],"mosm/kg","chemical",!0,null,null,1,!1,!1,1,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,!1],[!1,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",60221367e16,[-3,0,0,0,0,0,0],"mosm/L","chemical",!0,null,null,1,!1,!1,1,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,!1],[!1,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",!0,null,null,1,!1,!1,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,!1],[!1,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",!0,null,null,1,!1,!1,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,!1],[!0,"megasecond","Ms","MAS","time",1e6,[0,1,0,0,0,0,0],"Ms",null,!1,"T",null,1,!1,!1,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,!1],[!0,"millisecond","ms","MS","time",.001,[0,1,0,0,0,0,0],"ms",null,!1,"T",null,1,!1,!1,0,"milliseconds; duration","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"milli enzyme unit per gram","mU/g","MU/G","catalytic activity",100368945e5,[0,-1,-1,0,0,0,0],"mU/g","chemical",!0,null,null,1,!1,!1,1,"mU per gm; milli enzyme units per gram; enzyme activity; enzymatic activity per mass","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"milli enzyme unit per liter","mU/L","MU/L","catalytic activity",100368945e8,[-3,-1,0,0,0,0,0],"mU/L","chemical",!0,null,null,1,!1,!1,1,"mU per liter; litre; milli enzyme units enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"milli enzyme unit per milligram","mU/mg","MU/MG","catalytic activity",100368945e8,[0,-1,-1,0,0,0,0],"mU/mg","chemical",!0,null,null,1,!1,!1,1,"mU per mg; milli enzyme units per milligram","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"milli enzyme unit per milliliter","mU/mL","MU/ML","catalytic activity",100368945e11,[-3,-1,0,0,0,0,0],"mU/mL","chemical",!0,null,null,1,!1,!1,1,"mU per mL; milli enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"milli enzyme unit per milliliter per minute","mU/mL/min","(MU/ML)/MIN","catalytic activity",167281575e9,[-3,-2,0,0,0,0,0],"(mU/mL)/min","chemical",!0,null,null,1,!1,!1,1,"mU per mL per min; mU per milliliters per minute; millilitres; milli enzyme units; enzymatic activity; enzyme activity","LOINC","CCncRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"millivolt","mV","MV","electric potential",1,[2,-2,1,0,0,-1,0],"mV","si",!0,null,null,1,!1,!1,0,"millivolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,!1],[!1,"Newton centimeter","N.cm","N.CM","force",10,[2,-2,1,0,0,0,0],"N.cm","si",!0,null,null,1,!1,!1,0,"N*cm; Ncm; N cm; Newton*centimeters; Newton* centimetres; torque; work","LOINC","","Clinical",`as a measurement of work, N.cm = 1/100 Joules; -note that N.m is the standard unit of measurement for torque (although dimensionally equivalent to Joule), and N.cm can also be thought of as a torqe unit`,"kg.m/s2","KG.M/S2","1",1,!1],[!1,"Newton second","N.s","N.S","force",1e3,[1,-1,1,0,0,0,0],"N.s","si",!0,null,null,1,!1,!1,0,"Newton*seconds; N*s; N s; Ns; impulse; imp","LOINC","","Clinical","standard unit of impulse","kg.m/s2","KG.M/S2","1",1,!1],[!0,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,!1,"M",null,1,!1,!1,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,!1],[!0,"nanogram per 24 hour","ng/(24.h)","NG/HR","mass",11574074074074075e-30,[0,-1,1,0,0,0,0],"ng/h",null,!1,"M",null,1,!1,!1,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per 8 hour","ng/(8.h)","NG/HR","mass",34722222222222224e-30,[0,-1,1,0,0,0,0],"ng/h",null,!1,"M",null,1,!1,!1,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per million","ng/10*6","NG/(10*6)","mass",1e-15,[0,0,1,0,0,0,0],"ng/(106)",null,!1,"M",null,1,!1,!1,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,!1],[!0,"nanogram per day","ng/d","NG/D","mass",11574074074074075e-30,[0,-1,1,0,0,0,0],"ng/d",null,!1,"M",null,1,!1,!1,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per deciliter","ng/dL","NG/DL","mass",1e-5,[-3,0,1,0,0,0,0],"ng/dL",null,!1,"M",null,1,!1,!1,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"nanogram per gram","ng/g","NG/G","mass",1e-9,[0,0,0,0,0,0,0],"ng/g",null,!1,"M",null,1,!1,!1,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"nanogram per hour","ng/h","NG/HR","mass",2777777777777778e-28,[0,-1,1,0,0,0,0],"ng/h",null,!1,"M",null,1,!1,!1,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per kilogram","ng/kg","NG/KG","mass",1e-12,[0,0,0,0,0,0,0],"ng/kg",null,!1,"M",null,1,!1,!1,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/HR","mass",3472222222222222e-32,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,!1,"M",null,1,!1,!1,0,"ng/(8.h.kg); ng/kg/8hrs; ng/kg/8 hrs; ng per kg per 8hrs; 8 hrs; nanograms per kilograms per 8 hours; shift","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"nanogram per kilogram per hour","ng/kg/h","(NG/KG)/HR","mass",27777777777777775e-32,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,!1,"M",null,1,!1,!1,0,"ng/(kg.h); ng/kg/hr; ng per kg per hr; nanograms per kilograms per hour","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"nanogram per kilogram per minute","ng/kg/min","(NG/KG)/MIN","mass",16666666666666667e-30,[0,-1,0,0,0,0,0],"(ng/kg)/min",null,!1,"M",null,1,!1,!1,0,"ng/(kg.min); ng per kg per min; nanograms per kilograms per minute","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"nanogram per liter","ng/L","NG/L","mass",1e-6,[-3,0,1,0,0,0,0],"ng/L",null,!1,"M",null,1,!1,!1,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"nanogram per square meter","ng/m2","NG/M2","mass",1e-9,[-2,0,1,0,0,0,0],"ng/(m2)",null,!1,"M",null,1,!1,!1,0,"ng/m^2; ng/sq. m; ng per m2; m^2; sq. meter; nanograms; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,!1],[!0,"nanogram per milligram","ng/mg","NG/MG","mass",1e-6,[0,0,0,0,0,0,0],"ng/mg",null,!1,"M",null,1,!1,!1,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"nanogram per milligram per hour","ng/mg/h","(NG/MG)/HR","mass",27777777777777777e-26,[0,-1,0,0,0,0,0],"(ng/mg)/h",null,!1,"M",null,1,!1,!1,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,!1],[!0,"nanogram per minute","ng/min","NG/MIN","mass",16666666666666667e-27,[0,-1,1,0,0,0,0],"ng/min",null,!1,"M",null,1,!1,!1,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per millliiter","ng/mL","NG/ML","mass",.001,[-3,0,1,0,0,0,0],"ng/mL",null,!1,"M",null,1,!1,!1,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"nanogram per milliliter per hour","ng/mL/h","(NG/ML)/HR","mass",27777777777777776e-23,[-3,-1,1,0,0,0,0],"(ng/mL)/h",null,!1,"M",null,1,!1,!1,0,"ng/mL/hr; ng per mL per mL; nanograms per milliliter per hour; nanogram per millilitre per hour; nanograms per millilitre per hour; enzymatic activity per volume; enzyme activity per milliliters","LOINC","CCnc","Clinical","tests that measure enzymatic activity",null,null,null,null,!1],[!0,"nanogram per second","ng/s","NG/S","mass",1e-9,[0,-1,1,0,0,0,0],"ng/s",null,!1,"M",null,1,!1,!1,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per enzyme unit","ng/U","NG/U","mass",9963241120049634e-41,[0,1,1,0,0,0,0],"ng/U",null,!1,"M",null,1,!1,!1,-1,"ng per U; nanograms per enzyme unit","LOINC","CMass","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,!1],[!1,"nanokatal","nkat","NKAT","catalytic activity",60221367e7,[0,-1,0,0,0,0,0],"nkat","chemical",!0,null,null,1,!1,!1,1,"nanokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"nanoliter","nL","NL","volume",10000000000000002e-28,[3,0,0,0,0,0,0],"nL","iso1000",!0,null,null,1,!1,!1,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!0,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,!1,"L",null,1,!1,!1,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,!1],[!0,"nanometer per second per liter","nm/s/L","(NM/S)/L","length",1e-6,[-2,-1,0,0,0,0,0],"(nm/s)/L",null,!1,"L",null,1,!1,!1,0,"nm/sec/liter; nm/sec/litre; nm per s per l; nm per sec per l; nanometers per second per liter; nanometre per second per litre; nanometres per second per litre","LOINC","VelCnc","Clinical","",null,null,null,null,!1],[!1,"nanomole","nmol","NMOL","amount of substance",60221367e7,[0,0,0,0,0,0,0],"nmol","si",!0,null,null,1,!1,!1,1,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per 24 hour","nmol/(24.h)","NMOL/HR","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",!0,null,null,1,!1,!1,1,"nmol/24hr; nmol/24 hr; nanomoles per 24 hours; nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per day","nmol/d","NMOL/D","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/d","si",!0,null,null,1,!1,!1,1,"nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day; nmol/24hr; nmol/24 hr; nanomoles per 24 hours; ","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per deciliter","nmol/dL","NMOL/DL","amount of substance",60221367e11,[-3,0,0,0,0,0,0],"nmol/dL","si",!0,null,null,1,!1,!1,1,"nmol per dL; nanomoles per deciliter; nanomole per decilitre; nanomoles per decilitre; nanomole/deciliter; nanomole/decilitre; nanomol/deciliter; nanomol/decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per gram","nmol/g","NMOL/G","amount of substance",60221367e7,[0,0,-1,0,0,0,0],"nmol/g","si",!0,null,null,1,!1,!1,1,"nmol per gram; nanomoles per gram; nanomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per hour per liter","nmol/h/L","(NMOL/HR)/L","amount of substance",167281575e6,[-3,-1,0,0,0,0,0],"(nmol/h)/L","si",!0,null,null,1,!1,!1,1,"nmol/hrs/L; nmol per hrs per L; nanomoles per hours per liter; litre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per liter","nmol/L","NMOL/L","amount of substance",60221367e10,[-3,0,0,0,0,0,0],"nmol/L","si",!0,null,null,1,!1,!1,1,"nmol per L; nanomoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milligram","nmol/mg","NMOL/MG","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"nmol/mg","si",!0,null,null,1,!1,!1,1,"nmol per mg; nanomoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milligram per hour","nmol/mg/h","(NMOL/MG)/HR","amount of substance",167281575e6,[0,-1,-1,0,0,0,0],"(nmol/mg)/h","si",!0,null,null,1,!1,!1,1,"nmol/mg/hr; nmol per mg per hr; nanomoles per milligrams per hour","LOINC","SCntRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milligram of protein","nmol/mg{prot}","NMOL/MG","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"nmol/mg","si",!0,null,null,1,!1,!1,1,"nanomoles; nmol/mg prot; nmol per mg prot","LOINC","Ratio; CCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per minute","nmol/min","NMOL/MIN","amount of substance",100368945e5,[0,-1,0,0,0,0,0],"nmol/min","si",!0,null,null,1,!1,!1,1,"nmol per min; nanomoles per minute; milli enzyme units; enzyme activity per volume; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/min = mU (milli enzyme unit)","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per minute per milliliter","nmol/min/mL","(NMOL/MIN)/ML","amount of substance",100368945e11,[-3,-1,0,0,0,0,0],"(nmol/min)/mL","si",!0,null,null,1,!1,!1,1,"nmol per min per mL; nanomoles per minutes per milliliter; millilitre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milliliter","nmol/mL","NMOL/ML","amount of substance",60221367e13,[-3,0,0,0,0,0,0],"nmol/mL","si",!0,null,null,1,!1,!1,1,"nmol per mL; nanomoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milliliter per hour","nmol/mL/h","(NMOL/ML)/HR","amount of substance",167281575e9,[-3,-1,0,0,0,0,0],"(nmol/mL)/h","si",!0,null,null,1,!1,!1,1,"nmol/mL/hr; nmol per mL per hr; nanomoles per milliliters per hour; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milliliter per minute","nmol/mL/min","(NMOL/ML)/MIN","amount of substance",100368945e11,[-3,-1,0,0,0,0,0],"(nmol/mL)/min","si",!0,null,null,1,!1,!1,1,"nmol per mL per min; nanomoles per milliliters per min; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per millimole","nmol/mmol","NMOL/MMOL","amount of substance",1e-6,[0,0,0,0,0,0,0],"nmol/mmol","si",!0,null,null,1,!1,!1,0,"nmol per mmol; nanomoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per millimole of creatinine","nmol/mmol{creat}","NMOL/MMOL","amount of substance",1e-6,[0,0,0,0,0,0,0],"nmol/mmol","si",!0,null,null,1,!1,!1,0,"nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per mole","nmol/mol","NMOL/MOL","amount of substance",1e-9,[0,0,0,0,0,0,0],"nmol/mol","si",!0,null,null,1,!1,!1,0,"nmol per mole; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per nanomole","nmol/nmol","NMOL/NMOL","amount of substance",1,[0,0,0,0,0,0,0],"nmol/nmol","si",!0,null,null,1,!1,!1,0,"nmol per nmol; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per second","nmol/s","NMOL/S","amount of substance",60221367e7,[0,-1,0,0,0,0,0],"nmol/s","si",!0,null,null,1,!1,!1,1,"nmol/sec; nmol per sec; nanomoles per sercond; milli enzyme units; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per second per liter","nmol/s/L","(NMOL/S)/L","amount of substance",60221367e10,[-3,-1,0,0,0,0,0],"(nmol/s)/L","si",!0,null,null,1,!1,!1,1,"nmol/sec/L; nmol per s per L; nmol per sec per L; nanomoles per seconds per liter; litre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,!1],[!0,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,!1,"T",null,1,!1,!1,0,"nanoseconds","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"nanoenzyme unit per milliliter","nU/mL","NU/ML","catalytic activity",100368945e5,[-3,-1,0,0,0,0,0],"nU/mL","chemical",!0,null,null,1,!1,!1,1,"nU per mL; nanoenzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 fU = pmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"Ohm meter","Ohm.m","OHM.M","electric resistance",1e3,[3,-1,1,0,0,-2,0],"\u03A9.m","si",!0,null,null,1,!1,!1,0,"electric resistivity; meters; metres","LOINC","","Clinical","unit of electric resistivity","V/A","V/A","1",1,!1],[!1,"osmole per kilogram","osm/kg","OSM/KG","amount of substance (dissolved particles)",60221367e13,[0,0,-1,0,0,0,0],"osm/kg","chemical",!0,null,null,1,!1,!1,1,"osm per kg; osmoles per kilogram; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,!1],[!1,"osmole per liter","osm/L","OSM/L","amount of substance (dissolved particles)",60221366999999994e10,[-3,0,0,0,0,0,0],"osm/L","chemical",!0,null,null,1,!1,!1,1,"osm per L; osmoles per liter; litre; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,!1],[!1,"picoampere","pA","PA","electric current",1e-12,[0,-1,0,0,0,1,0],"pA","si",!0,null,null,1,!1,!1,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,!1],[!0,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,!1,"M",null,1,!1,!1,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,!1],[!0,"picogram per deciliter","pg/dL","PG/DL","mass",9999999999999999e-24,[-3,0,1,0,0,0,0],"pg/dL",null,!1,"M",null,1,!1,!1,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"picogram per liter","pg/L","PG/L","mass",1e-9,[-3,0,1,0,0,0,0],"pg/L",null,!1,"M",null,1,!1,!1,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"picogram per milligram","pg/mg","PG/MG","mass",1e-9,[0,0,0,0,0,0,0],"pg/mg",null,!1,"M",null,1,!1,!1,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"picogram per milliliter","pg/mL","PG/ML","mass",1e-6,[-3,0,1,0,0,0,0],"pg/mL",null,!1,"M",null,1,!1,!1,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"picogram per millimeter","pg/mm","PG/MM","mass",1e-9,[-1,0,1,0,0,0,0],"pg/mm",null,!1,"M",null,1,!1,!1,0,"pg per mm; picogram/millimeter; picogram/millimetre; picograms per millimeter; millimetre","LOINC","Lineic Mass","Clinical","",null,null,null,null,!1],[!1,"picokatal","pkat","PKAT","catalytic activity",60221367e4,[0,-1,0,0,0,0,0],"pkat","chemical",!0,null,null,1,!1,!1,1,"pkats; picokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"picoliter","pL","PL","volume",1e-15,[3,0,0,0,0,0,0],"pL","iso1000",!0,null,null,1,!1,!1,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!0,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,!1,"L",null,1,!1,!1,0,"picometers; picometres","LOINC","Len","Clinical","",null,null,null,null,!1],[!1,"picomole","pmol","PMOL","amount of substance",60221367e4,[0,0,0,0,0,0,0],"pmol","si",!0,null,null,1,!1,!1,1,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per 24 hour","pmol/(24.h)","PMOL/HR","amount of substance",6970065625e-3,[0,-1,0,0,0,0,0],"pmol/h","si",!0,null,null,1,!1,!1,1,"pmol/24hrs; pmol/24 hrs; pmol per 24 hrs; 24hrs; days; dy; picomoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per day","pmol/d","PMOL/D","amount of substance",6970065625e-3,[0,-1,0,0,0,0,0],"pmol/d","si",!0,null,null,1,!1,!1,1,"pmol/dy; pmol per day; 24 hours; 24hrs; 24 hrs; picomoles","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per deciliter","pmol/dL","PMOL/DL","amount of substance",60221367e8,[-3,0,0,0,0,0,0],"pmol/dL","si",!0,null,null,1,!1,!1,1,"pmol per dL; picomoles per deciliter; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per gram","pmol/g","PMOL/G","amount of substance",60221367e4,[0,0,-1,0,0,0,0],"pmol/g","si",!0,null,null,1,!1,!1,1,"pmol per gm; picomoles per gram; picomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per hour per milliliter ","pmol/h/mL","(PMOL/HR)/ML","amount of substance",167281575e6,[-3,-1,0,0,0,0,0],"(pmol/h)/mL","si",!0,null,null,1,!1,!1,1,"pmol/hrs/mL; pmol per hrs per mL; picomoles per hour per milliliter; millilitre; micro enzyme units per volume; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. ","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per liter","pmol/L","PMOL/L","amount of substance",60221367e7,[-3,0,0,0,0,0,0],"pmol/L","si",!0,null,null,1,!1,!1,1,"picomole/liter; pmol per L; picomoles; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per minute","pmol/min","PMOL/MIN","amount of substance",10036894500,[0,-1,0,0,0,0,0],"pmol/min","si",!0,null,null,1,!1,!1,1,"picomole/minute; pmol per min; picomoles per minute; micro enzyme units; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. pmol/min = uU (micro enzyme unit)","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per milliliter","pmol/mL","PMOL/ML","amount of substance",60221367e10,[-3,0,0,0,0,0,0],"pmol/mL","si",!0,null,null,1,!1,!1,1,"picomole/milliliter; picomole/millilitre; pmol per mL; picomoles; millilitre; picomols; pmols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per micromole","pmol/umol","PMOL/UMOL","amount of substance",1e-6,[0,0,0,0,0,0,0],"pmol/\u03BCmol","si",!0,null,null,1,!1,!1,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!0,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,!1,"T",null,1,!1,!1,0,"picoseconds; psec","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"picotesla","pT","PT","magnetic flux density",1e-9,[0,-1,1,0,0,-1,0],"pT","si",!0,null,null,1,!1,!1,0,"picoteslas","LOINC","","Clinical","SI unit of magnetic field strength for magnetic field B","Wb/m2","WB/M2","1",1,!1],[!1,"enzyme unit per 12 hour","U/(12.h)","U/HR","catalytic activity",23233552083333334e-5,[0,-2,0,0,0,0,0],"U/h","chemical",!0,null,null,1,!1,!1,1,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per 2 hour","U/(2.h)","U/HR","catalytic activity",1394013125e3,[0,-2,0,0,0,0,0],"U/h","chemical",!0,null,null,1,!1,!1,1,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per 24 hour","U/(24.h)","U/HR","catalytic activity",11616776041666667e-5,[0,-2,0,0,0,0,0],"U/h","chemical",!0,null,null,1,!1,!1,1,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per 10","U/10","U","catalytic activity",100368945e7,[0,-1,0,0,0,0,0],"U","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",100368945e-2,[0,-1,0,0,0,0,0],"U/(1010)","chemical",!0,null,null,1,!1,!1,1,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(1012)","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(106)","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",100368945e-1,[0,-1,0,0,0,0,0],"U/(109)","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per day","U/d","U/D","catalytic activity",11616776041666667e-5,[0,-2,0,0,0,0,0],"U/d","chemical",!0,null,null,1,!1,!1,1,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945e12,[-3,-1,0,0,0,0,0],"U/dL","chemical",!0,null,null,1,!1,!1,1,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per gram","U/g","U/G","catalytic activity",100368945e8,[0,-1,-1,0,0,0,0],"U/g","chemical",!0,null,null,1,!1,!1,1,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per hour","U/h","U/HR","catalytic activity",278802625e4,[0,-2,0,0,0,0,0],"U/h","chemical",!0,null,null,1,!1,!1,1,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per liter","U/L","U/L","catalytic activity",100368945e11,[-3,-1,0,0,0,0,0],"U/L","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575e6,[0,-2,0,0,0,0,0],"U/min","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",100368945e14,[-3,-1,0,0,0,0,0],"U/mL","chemical",!0,null,null,1,!1,!1,1,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per second","U/s","U/S","catalytic activity",100368945e8,[0,-2,0,0,0,0,0],"U/s","chemical",!0,null,null,1,!1,!1,1,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"micro international unit","u[IU]","U[IU]","arbitrary",1e-6,[0,0,0,0,0,0,0],"\u03BCi.U.","chemical",!0,null,null,1,!1,!0,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",.001,[-3,0,0,0,0,0,0],"(\u03BCi.U.)/L","chemical",!0,null,null,1,!1,!0,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(\u03BCi.U.)/mL","chemical",!0,null,null,1,!1,!0,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"microequivalent","ueq","UEQ","amount of substance",60221367e10,[0,0,0,0,0,0,0],"\u03BCeq","chemical",!0,null,null,1,!1,!1,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,!1],[!1,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",60221367e13,[-3,0,0,0,0,0,0],"\u03BCeq/L","chemical",!0,null,null,1,!1,!1,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,!1],[!1,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",60221367000000003e7,[-3,0,0,0,0,0,0],"\u03BCeq/mL","chemical",!0,null,null,1,!1,!1,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,!1],[!0,"microgram","ug","UG","mass",1e-6,[0,0,1,0,0,0,0],"\u03BCg",null,!1,"M",null,1,!1,!1,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,!1],[!0,"microgram per 100 gram","ug/(100.g)","UG/G","mass",1e-8,[0,0,0,0,0,0,0],"\u03BCg/g",null,!1,"M",null,1,!1,!1,0,"ug/100gm; ug/100 gm; mcg; ug per 100g; 100 gm; mcg per 100g; micrograms per 100 grams","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"microgram per 24 hour","ug/(24.h)","UG/HR","mass",11574074074074074e-27,[0,-1,1,0,0,0,0],"\u03BCg/h",null,!1,"M",null,1,!1,!1,0,"ug/24hrs; ug/24 hrs; mcg/24hrs; ug per 24hrs; mcg per 24hrs; 24 hrs; micrograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per 8 hour","ug/(8.h)","UG/HR","mass",3472222222222222e-26,[0,-1,1,0,0,0,0],"\u03BCg/h",null,!1,"M",null,1,!1,!1,0,"ug/8hrs; ug/8 hrs; mcg/8hrs; ug per 8hrs; mcg per 8hrs; 8 hrs; micrograms per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per square foot (international)","ug/[sft_i]","UG/[SFT_I]","mass",10763910416709721e-21,[-2,0,1,0,0,0,0],"\u03BCg",null,!1,"M",null,1,!1,!1,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,!1],[!0,"microgram per day","ug/d","UG/D","mass",11574074074074074e-27,[0,-1,1,0,0,0,0],"\u03BCg/d",null,!1,"M",null,1,!1,!1,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per deciliter","ug/dL","UG/DL","mass",.009999999999999998,[-3,0,1,0,0,0,0],"\u03BCg/dL",null,!1,"M",null,1,!1,!1,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"microgram per gram","ug/g","UG/G","mass",1e-6,[0,0,0,0,0,0,0],"\u03BCg/g",null,!1,"M",null,1,!1,!1,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"microgram per hour","ug/h","UG/HR","mass",27777777777777777e-26,[0,-1,1,0,0,0,0],"\u03BCg/h",null,!1,"M",null,1,!1,!1,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per kilogram","ug/kg","UG/KG","mass",9999999999999999e-25,[0,0,0,0,0,0,0],"\u03BCg/kg",null,!1,"M",null,1,!1,!1,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/HR","mass",3472222222222222e-29,[0,-1,0,0,0,0,0],"(\u03BCg/kg)/h",null,!1,"M",null,1,!1,!1,0,"ug/kg/8hrs; mcg/kg/8hrs; ug/kg/8 hrs; mcg/kg/8 hrs; ug per kg per 8hrs; 8 hrs; mcg per kg per 8hrs; micrograms per kilograms per 8 hours; shift","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per kilogram per day","ug/kg/d","(UG/KG)/D","mass",11574074074074072e-30,[0,-1,0,0,0,0,0],"(\u03BCg/kg)/d",null,!1,"M",null,1,!1,!1,0,"ug/(kg.d); ug/kg/dy; mcg/kg/day; ug per kg per dy; 24 hours; 24hrs; mcg; kilograms; microgram per kilogram and day","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per kilogram per hour","ug/kg/h","(UG/KG)/HR","mass",27777777777777774e-29,[0,-1,0,0,0,0,0],"(\u03BCg/kg)/h",null,!1,"M",null,1,!1,!1,0,"ug/(kg.h); ug/kg/hr; mcg/kg/hr; ug per kg per hr; mcg per kg per hr; kilograms","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per kilogram per minute","ug/kg/min","(UG/KG)/MIN","mass",16666666666666664e-27,[0,-1,0,0,0,0,0],"(\u03BCg/kg)/min",null,!1,"M",null,1,!1,!1,0,"ug/kg/min; ug/kg/min; mcg/kg/min; ug per kg per min; mcg; micrograms per kilograms per minute ","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per liter","ug/L","UG/L","mass",.001,[-3,0,1,0,0,0,0],"\u03BCg/L",null,!1,"M",null,1,!1,!1,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/HR","mass",11574074074074074e-24,[-3,-1,1,0,0,0,0],"(\u03BCg/L)/h",null,!1,"M",null,1,!1,!1,0,"ug/L/24hrs; ug/L/24 hrs; mcg/L/24hrs; ug per L per 24hrs; 24 hrs; day; dy mcg; micrograms per liters per 24 hours; litres","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per square meter","ug/m2","UG/M2","mass",1e-6,[-2,0,1,0,0,0,0],"\u03BCg/(m2)",null,!1,"M",null,1,!1,!1,0,"ug/m^2; ug/sq. m; mcg/m2; mcg/m^2; mcg/sq. m; ug per m2; m^2; sq. meter; mcg; micrograms per square meter; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,!1],[!0,"microgram per cubic meter","ug/m3","UG/M3","mass",1e-6,[-3,0,1,0,0,0,0],"\u03BCg/(m3)",null,!1,"M",null,1,!1,!1,0,"ug/m^3; ug/cu. m; mcg/m3; mcg/m^3; mcg/cu. m; ug per m3; ug per m^3; ug per cu. m; mcg; micrograms per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"microgram per milligram","ug/mg","UG/MG","mass",.001,[0,0,0,0,0,0,0],"\u03BCg/mg",null,!1,"M",null,1,!1,!1,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"microgram per minute","ug/min","UG/MIN","mass",16666666666666667e-24,[0,-1,1,0,0,0,0],"\u03BCg/min",null,!1,"M",null,1,!1,!1,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per milliliter","ug/mL","UG/ML","mass",1,[-3,0,1,0,0,0,0],"\u03BCg/mL",null,!1,"M",null,1,!1,!1,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"microgram per millimole","ug/mmol","UG/MMOL","mass",1660540186674939e-42,[0,0,1,0,0,0,0],"\u03BCg/mmol",null,!1,"M",null,1,!1,!1,-1,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,!1],[!0,"microgram per nanogram","ug/ng","UG/NG","mass",999.9999999999999,[0,0,0,0,0,0,0],"\u03BCg/ng",null,!1,"M",null,1,!1,!1,0,"ug per ng; mcg/ng; mcg per ng; micrograms per nanogram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!1,"microkatal","ukat","UKAT","catalytic activity",60221367e10,[0,-1,0,0,0,0,0],"\u03BCkat","chemical",!0,null,null,1,!1,!1,1,"microkatals; ukats","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"microliter","uL","UL","volume",1e-9,[3,0,0,0,0,0,0],"\u03BCL","iso1000",!0,null,null,1,!1,!1,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!1,"microliter per 2 hour","uL/(2.h)","UL/HR","volume",1388888888888889e-28,[3,-1,0,0,0,0,0],"\u03BCL/h","iso1000",!0,null,null,1,!1,!1,0,"uL/2hrs; uL/2 hrs; mcg/2hr; mcg per 2hr; uL per 2hr; uL per 2 hrs; microliters per 2 hours; microlitres ","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"microliter per hour","uL/h","UL/HR","volume",2777777777777778e-28,[3,-1,0,0,0,0,0],"\u03BCL/h","iso1000",!0,null,null,1,!1,!1,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!0,"micrometer","um","UM","length",1e-6,[1,0,0,0,0,0,0],"\u03BCm",null,!1,"L",null,1,!1,!1,0,"micrometers; micrometres; \u03BCm; microns","LOINC","Len","Clinical","Unit of length that is usually used in tests related to the eye",null,null,null,null,!1],[!0,"microns per second","um/s","UM/S","length",1e-6,[1,-1,0,0,0,0,0],"\u03BCm/s",null,!1,"L",null,1,!1,!1,0,"um/sec; micron/second; microns/second; um per sec; micrometers per second; micrometres","LOINC","Vel","Clinical","",null,null,null,null,!1],[!1,"micromole","umol","UMOL","amount of substance",60221367e10,[0,0,0,0,0,0,0],"\u03BCmol","si",!0,null,null,1,!1,!1,1,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per 2 hour","umol/(2.h)","UMOL/HR","amount of substance",836407875e5,[0,-1,0,0,0,0,0],"\u03BCmol/h","si",!0,null,null,1,!1,!1,1,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per 24 hour","umol/(24.h)","UMOL/HR","amount of substance",6970065625e3,[0,-1,0,0,0,0,0],"\u03BCmol/h","si",!0,null,null,1,!1,!1,1,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per 8 hour","umol/(8.h)","UMOL/HR","amount of substance",20910196875e3,[0,-1,0,0,0,0,0],"\u03BCmol/h","si",!0,null,null,1,!1,!1,1,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625e3,[0,-1,0,0,0,0,0],"\u03BCmol/d","si",!0,null,null,1,!1,!1,1,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",60221367e14,[-3,0,0,0,0,0,0],"\u03BCmol/dL","si",!0,null,null,1,!1,!1,1,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per gram","umol/g","UMOL/G","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"\u03BCmol/g","si",!0,null,null,1,!1,!1,1,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575e6,[0,-1,0,0,0,0,0],"\u03BCmol/h","si",!0,null,null,1,!1,!1,1,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",60221367e7,[0,0,-1,0,0,0,0],"\u03BCmol/kg","si",!0,null,null,1,!1,!1,1,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per liter","umol/L","UMOL/L","amount of substance",60221367e13,[-3,0,0,0,0,0,0],"\u03BCmol/L","si",!0,null,null,1,!1,!1,1,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575e9,[-3,-1,0,0,0,0,0],"(\u03BCmol/L)/h","si",!0,null,null,1,!1,!1,1,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",60221367e13,[0,0,-1,0,0,0,0],"\u03BCmol/mg","si",!0,null,null,1,!1,!1,1,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per minute","umol/min","UMOL/MIN","amount of substance",100368945e8,[0,-1,0,0,0,0,0],"\u03BCmol/min","si",!0,null,null,1,!1,!1,1,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",100368945e8,[0,-1,-1,0,0,0,0],"(\u03BCmol/min)/g","si",!0,null,null,1,!1,!1,1,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",100368945e11,[-3,-1,0,0,0,0,0],"(\u03BCmol/min)/L","si",!0,null,null,1,!1,!1,1,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",60221367000000003e7,[-3,0,0,0,0,0,0],"\u03BCmol/mL","si",!0,null,null,1,!1,!1,1,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",100368945e14,[-3,-1,0,0,0,0,0],"(\u03BCmol/mL)/min","si",!0,null,null,1,!1,!1,1,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",.001,[0,0,0,0,0,0,0],"\u03BCmol/mmol","si",!0,null,null,1,!1,!1,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",1e-6,[0,0,0,0,0,0,0],"\u03BCmol/mol","si",!0,null,null,1,!1,!1,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"\u03BCmol/\u03BCmol","si",!0,null,null,1,!1,!1,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"microOhm","uOhm","UOHM","electric resistance",.001,[2,-1,1,0,0,-2,0],"\u03BC\u03A9","si",!0,null,null,1,!1,!1,0,"microOhms; \xB5\u03A9","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,!1],[!0,"microsecond","us","US","time",1e-6,[0,1,0,0,0,0,0],"\u03BCs",null,!1,"T",null,1,!1,!1,0,"microseconds","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"micro enzyme unit per gram","uU/g","UU/G","catalytic activity",10036894500,[0,-1,-1,0,0,0,0],"\u03BCU/g","chemical",!0,null,null,1,!1,!1,1,"uU per gm; micro enzyme units per gram; micro enzymatic activity per mass; enzyme activity","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"micro enzyme unit per liter","uU/L","UU/L","catalytic activity",100368945e5,[-3,-1,0,0,0,0,0],"\u03BCU/L","chemical",!0,null,null,1,!1,!1,1,"uU per L; micro enzyme units per liter; litre; enzymatic activity per volume; enzyme activity ","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"micro enzyme unit per milliliter","uU/mL","UU/ML","catalytic activity",100368945e8,[-3,-1,0,0,0,0,0],"\u03BCU/mL","chemical",!0,null,null,1,!1,!1,1,"uU per mL; micro enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"microvolt","uV","UV","electric potential",.001,[2,-2,1,0,0,-1,0],"\u03BCV","si",!0,null,null,1,!1,!1,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,!1]]},yye={license:gye,prefixes:Sye,units:vye};Object.defineProperty(ep,"__esModule",{value:!0});ep.ucumJsonDefs=ep.UcumJsonDefs=void 0;var Mye=Ny,Dye=tc,Iye=s_,EP=Ou,TP=Vy.unpackArray;class $F{loadJsonDefs(){const t=yye;if(t.prefixes=TP(t.prefixes),t.units=TP(t.units),EP.UnitTables.getInstance().unitsCount()===0){let r=Dye.PrefixTables.getInstance(),n=t.prefixes,a=n.length;for(let o=0;o0)i[0]=null,i[1]=null;else{this.retMsg_.length>0;let s=null;for(s in qn.specUnits_)for(;t.indexOf(s)!==-1;)t=t.replace(s,qn.specUnits_[s]);if(t.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");i=this._parseTheString(t,a);let l=i[0];(ba.isIntegerUnit(l)||typeof l=="number")&&(l=new td({csCode_:a,magnitude_:l,name_:a}),i[0]=l)}return i[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(i[3]=this.suggestions_),i}_parseTheString(t,r){let n=null,a=this.retMsg_.length>0,i=this._processParens(t,r);a=i[2];let s=[];if(!a){t=i[0],r=i[1];let l=this._makeUnitsArray(t,r);if(a=l[2],!a){s=l[0],r=l[1];let o=s.length;for(let u=0;u=0){let c=this._getParensUnit(m,r);a||(a=c[1]),a||(s[u].un=c[0])}else{let c=this._makeUnit(m,r);c[0]===null?a=!0:(s[u].un=c[0],r=c[1])}}}}return a||(s[0]===null||s[0]===" "||s[0].un===void 0||s[0].un===null)&&this.retMsg_.length===0&&(this.retMsg_.push(`Unit string (${r}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),a=!0),a||(n=this._performUnitArithmetic(s,r)),[n,r]}_getAnnotations(t){let r=t.indexOf("{");for(;r>=0;){let a=t.indexOf("}");if(a<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+t.substr(r)+this.closeEmph_),r=-1;else{let i=t.substring(r,a+1),s=this.annotations_.length.toString();t=t.replace(i,this.braceFlag_+s+this.braceFlag_),this.annotations_.push(i),r=t.indexOf("{")}}let n=t.indexOf("}");return n>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+t.substring(0,n+1)+this.closeEmph_),t}_processParens(t,r){let n=[],a=0,i=!1,s=this.parensUnits_.length,l=0;for(;t!==""&&!i;){let o=0,u=0,m=t.indexOf("(");if(m<0){let c=t.indexOf(")");if(c>=0){let f=`Missing open parenthesis for close parenthesis at ${t.substring(0,c+l)}${this.openEmph_}${t.substr(c,1)}${this.closeEmph_}`;c0&&(n[a++]=t.substr(0,m));let f=0,p=m+1;for(;p0&&(s=t.substr(0,i-1));let l=t.lastIndexOf(this.parensFlag_),o=null;l+this.pFlagLen_=0){let m=this._getAnnoText(s,r);if(m[1]||m[2])throw new Error(`Text found before the parentheses (${s}) included an annotation along with other text for parenthetical unit ${a.csCode_}`);t+=m[0],this.retMsg_.push(`The annotation ${m[0]} before the unit code is invalid. -`+this.vcMsgStart_+t+this.vcMsgEnd_)}else this.suggestions_?n=this._getSuggestions(s)!=="succeeded":(this.retMsg_.push(`${s} preceding the unit code ${t} is invalid. Unable to make a substitution.`),n=!0);if(o)if(o.indexOf(this.braceFlag_)>=0){let m=this._getAnnoText(o,r);if(m[1]||m[2])throw new Error(`Text found after the parentheses (${o}) included an annotation along with other text for parenthetical unit ${a.csCode_}`);t+=m[0]}else ba.isNumericString(o)?(t+=o,a=a.power(Number(o)),this.retMsg_.push(`An exponent (${o}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification. - `+this.vcMsgStart_+t+this.vcMsgEnd_)):this.suggestions_?n=this._getSuggestions(s)!=="succeeded":(this.retMsg_.push(`Text ${o} following the unit code ${t} is invalid. Unable to make a substitution.`),n=!0);return n||(a?ba.isIntegerUnit(a)?a=new td({csCode_:a,magnitude_:a,name_:a}):a.csCode_=t:a=new td({csCode_:t,magnitude_:1,name_:t})),[a,n]}_getAnnoText(t,r){let n=t.indexOf(this.braceFlag_),a=n>0?t.substring(0,n):null;n!==0&&(t=t.substr(n));let i=t.indexOf(this.braceFlag_,1),s=i+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${l} found in ${t} that was created from ${r}`);return t=this.annotations_[o],[t,a,s]}_getSuggestions(t){let r=ba.getSynonyms(t);if(r.status==="succeeded"){let n={};n.msg=`${t} is not a valid UCUM code. We found possible units that might be what was meant:`,n.invalidUnit=t;let a=r.units.length;n.units=[];for(let i=0;i=0){let a=this._getUnitWithAnnotation(t,r);n=a[0],n&&(r=a[1])}else{if(t.indexOf("^")>-1){let a=t.replace("^","*");n=this.utabs_.getUnitByCode(a),n&&(n=n.clone(),n.csCode_=n.csCode_.replace("*","^"),n.ciCode_=n.ciCode_.replace("*","^"))}if(!n){let a="["+t+"]";n=this.utabs_.getUnitByCode(a),n&&(n=n.clone(),r=r.replace(t,a),this.retMsg_.push(`${t} is not a valid unit expression, but ${a} is. -`+this.vcMsgStart_+`${a} (${n.name_})${this.vcMsgEnd_}`))}if(!n){let a=this.utabs_.getUnitByName(t);if(a&&a.length>0){n=a[0].clone();let i="The UCUM code for "+t+" is "+n.csCode_+`. -`+this.vcMsgStart_+n.csCode_+this.vcMsgEnd_,s=!1;for(let u=0;u"+g+"",csCode_:y+g,ciCode_:d+g,printSymbol_:_+""+g+""})}}}}return[n,r]}_getUnitWithAnnotation(t,r){let n=null,a=this._getAnnoText(t,r),i=a[0],s=a[1],l=a[2];this.bracesMsg_&&this.retMsg_.indexOf(this.bracesMsg_)===-1&&this.retMsg_.push(this.bracesMsg_);let o=this.retMsg_.length;if(!s&&!l){let u="["+i.substring(1,i.length-1)+"]",m=this._makeUnit(u,r);m[0]?(n=m[0],r=r.replace(i,u),this.retMsg_.push(`${i} is not a valid unit expression, but ${u} is. -`+this.vcMsgStart_+`${u} (${n.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>o&&this.retMsg_.pop(),t=1,n=1)}else if(s&&!l)if(ba.isIntegerUnit(s))n=s;else{let u=this._makeUnit(s,r);u[0]?(n=u[0],n.csCode_+=i,r=u[1]):this.retMsg_.push(`Unable to find a unit for ${s} that precedes the annotation ${i}.`)}else if(!s&&l)if(ba.isIntegerUnit(l))n=l+i,this.retMsg_.push(`The annotation ${i} before the ``${l} is invalid.\n`+this.vcMsgStart_+n+this.vcMsgEnd_);else{let u=this._makeUnit(l,r);u[0]?(n=u[0],n.csCode_+=i,r=n.csCode_,this.retMsg_.push(`The annotation ${i} before the unit code is invalid. -`+this.vcMsgStart_+n.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${s} that follows the annotation ${i}.`)}else this.retMsg_.push(`Unable to find a unit for ${s}${i}${l}. -We are not sure how to interpret text both before and after the annotation. Sorry`);return[n,r]}_performUnitArithmetic(t,r){let n=t[0].un;ba.isIntegerUnit(n)&&(n=new td({csCode_:n,magnitude_:Number(n),name_:n}));let a=t.length,i=!1;for(let s=1;s mole conversion cannot be executed for two mole-based units. No conversion was attempted.");if(l.moleExp_===0&&u.moleExp_===0)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed when neither unit is mole-based. No conversion was attempted.");if(!l.isMoleMassCommensurable(u))throw new Error(`Sorry. ${t} cannot be converted to ${n}.`);l.moleExp_!==0?s.toVal=l.convertMolToMass(r,u,i):s.toVal=l.convertMassToMol(r,u,i)}s.status="succeeded",s.fromUnit=l,s.toUnit=u}catch(m){s.status="failed",s.msg.push(m.message)}}catch(l){l.message==Aye.needMoleWeightMsg_?s.status="failed":s.status="error",s.msg.push(l.message)}return s}checkSynonyms(t){let r={};return t==null?(r.status="error",r.msg="No term specified for synonym search."):r=AP.getSynonyms(t),r}getSpecifiedUnit(t,r,n){n===void 0&&(n=!1);let a={};if(a.retMsg=[],!t)a.retMsg.push("No unit string specified.");else{let i=wI.getInstance();t=t.trim();let s=i.getUnitByCode(t);if(s)a.unit=s,a.origString=t;else try{let l=this.uStrParser_.parseString(t,r,n);a.unit=l[0],a.origString=l[1],l[2]&&(a.retMsg=l[2]),a.suggestions=l[3]}catch(l){console.log(`Unit requested for unit string ${t}.request unsuccessful; error thrown = `+l.message),a.retMsg.unshift(`${t} is not a valid unit. ${l.message}`)}}return a}commensurablesList(t){let r=[],n=null,a=this.getSpecifiedUnit(t,"validate",!1),i=a.unit;if(a.retMsg.length>0&&(r=a.retMsg),!i)r.push(`Could not find unit ${t}.`);else{let s=null,l=i.getProperty("dim_");if(!l)r.push("No commensurable units were found for "+t);else{try{s=l.getProperty("dimVec_")}catch(o){r.push(o.message),o.message==="Dimension does not have requested property(dimVec_)"&&(s=null)}s&&(n=wI.getInstance().getUnitsByDimension(s))}}return[n,r]}};Uy.UcumLhcUtils=XL;XL.getInstance=function(){return new XL};Object.defineProperty(Mi,"__esModule",{value:!0});Mi.UnitTables=Mi.UcumLhcUtils=Mi.Ucum=void 0;var Pye=Iu.Ucum;Mi.Ucum=Pye;var Uye=Uy.UcumLhcUtils;Mi.UcumLhcUtils=Uye;var Nye=Ou.UnitTables;Mi.UnitTables=Nye;yr("@modusjs/units:error");const tp=yr("@modusjs/units:warn"),NT=yr("@modusjs/units:info"),JL=yr("@modusjs/units:trace"),wye="The molecular weight of the substance represented by the units is required to perform the conversion",xye=/^Base Saturation - /;function WF(e,t,r){e=Array.isArray(e)?e:[e],t=t===void 0?[]:Array.isArray(t)?t:[t],t=Rye(e,t),e=kP(e),t=kP(t);let n=e.map((a,i)=>{let s=t[i];if(!s.UCUM_ValueUnit||!a.UCUM_ValueUnit)return NT(`No conversion performed on element [${a.Element}]. The element is either unitless or the input/output units were unrecognized.`),a;JL(`convertUnits - Element [${a.Element}]; from units [${a.UCUM_ValueUnit}] to units [${s.UCUM_ValueUnit}]; Value: ${a.Value}`);let l=Mi.UcumLhcUtils.getInstance().convertUnitTo(a.UCUM_ValueUnit,a.Value||0,s.UCUM_ValueUnit,!1);if(l.status!=="succeeded")if(l.msg.some(o=>o.includes(wye))){if(xye.test(a.Element)&&["%","meq/(100.g)"].includes(a.UCUM_ValueUnit))return Vye(e,a,s);let o=a.Element.replace(/^Base Saturation - /,"");return JL(`Molecular weight was needed for Element ${o}. Using value: ${PP[o].adjusted}`),l=Mi.UcumLhcUtils.getInstance().convertUnitTo(a.UCUM_ValueUnit,a.Value||0,s.UCUM_ValueUnit,!1,PP[a.Element].adjusted),{...a,ValueUnit:s.ValueUnit,Value:l.toVal||0}}else return tp(`Unit conversion for element [${a.Element}] with input units [${a.ValueUnit}] and output units [${s.UCUM_ValueUnit}] failed with error: ${l.msg}. Falling back to input value and units.`),a;return{...a,ValueUnit:s.ValueUnit,Value:l.toVal||0}});return n=n.map(a=>(delete a.CsvHeader,delete a.UCUM_ValueUnit,a)),r&&(n=n.filter(a=>Object.keys(VF).includes(a.ModusTestIDv2))),n}function xI(e,t,r){const n=l1[t]??t,a=l1[r]??r;let i=Mi.UcumLhcUtils.getInstance().validateUnitString(n,!0);return i.status!=="valid"?(tp(`Input units [${t}] are unrecognized: ${i.error??i.msg}. No unit conversion can be performed.`),e):(i=Mi.UcumLhcUtils.getInstance().validateUnitString(a,!0),i.status!=="valid"?(tp(`Input units [${r}] are unrecognized: ${i.error??i.msg}. No unit conversion can be performed.`),e):Mi.UcumLhcUtils.getInstance().convertUnitTo(n,e,a,!1))}function Vye(e,t,r){let n=e.find(a=>a.Element==="Cation Exchange Capacity"&&a.UCUM_ValueUnit==="meq/(100.g)");return n===void 0?(tp("Base Saturation Elements require CEC in order to convert between % and meq/100g"),t):t.UCUM_ValueUnit==="%"?{...t,ValueUnit:"meq/100 g",UCUM_ValueUnit:"meq/(100.g)",Value:t.Value!==void 0&&n.Value!==void 0?n.Value*(t.Value/100):void 0}:{...t,ValueUnit:r.ValueUnit,UCUM_ValueUnit:r.UCUM_ValueUnit,Value:t.Value!==void 0&&n.Value!==void 0?100*t.Value/n.Value:void 0}}function Rye(e,t){return t=e.map(r=>{let n=t.find(a=>a.CsvHeader===r.CsvHeader);return n?(NT(`Conversion supplied for csv header ${r.CsvHeader}, so modus standard units will not be used.`),n):r.ModusTestIDv2?VF[r.ModusTestIDv2]:r}),t}const l1={"g/cc":"g/cm3","bu/ac":"[bu_us]/[acr_us]","Sum of Cation me/100g":"meq/(100.g)","cmol(+)/kg":"cmol/kg",ppm:"[ppm]",ppb:"[ppb]","mmhos/cm":"mmho/cm",lb:"[lb_av]","lb/ac":"[lb_av]/[acr_us]","kg/ac":"kg/[acr_us]","kg/ha":"kg/har","kg/ha/day":"kh/har/d","meq/100g":"meq/(100.g)","meq/100 g":"meq/(100.g)","% BS":"%","% CEC":"%","million lb/ac":"(1000000.[lb_av])/[acr_us]","lb/ac/day":"[lb_av]/[acr_us]/d","kg/ac/day":"kg/[acr_us]/d","in/ft":"[in_i]/[ft_i]","tons/ac":"[ston_av]/[acr_us]","standard unit":"none","standard pH unit":"none","s.u.":"none",in:"[in_i]",ft:"[ft_i]",Ratio:"none"};function kP(e,t){return e?.map(r=>{if(NT(r),r.ValueUnit==="none")return r.UCUM_ValueUnit=r.ValueUnit,r;if(r.ValueUnit===void 0||r.ValueUnit==="")return tp(`Units of element [${r.Element}] were [${r.ValueUnit}]. Keeping and ignoring unit validation.`),{...r,UCUM_ValueUnit:void 0};if(l1[r.ValueUnit])return JL(`Using alias units "${l1[r.ValueUnit]}" instead of "${r.ValueUnit}" for element [${r.Element}] in order to satisfy the conversion library.`),{...r,UCUM_ValueUnit:l1[r.ValueUnit]};{let n=Mi.UcumLhcUtils.getInstance().validateUnitString(r.ValueUnit,!0);if(n.status!=="valid"){if(t)throw new Error(`Units of element [${r.Element}] were [${r.ValueUnit}] and caused the following error: ${n.error??n.msg}.`);tp(`Units of element [${r.Element}] were [${r.ValueUnit}] and caused the following error: ${n.error??n.msg}. No unit conversion will be performed.`)}}return{...r,UCUM_ValueUnit:r.ValueUnit}})}const PP={Al:{molecularWeight:26.98,charge:3,adjusted:3/26.98},B:{molecularWeight:10.811,charge:1,adjusted:10.811},C:{molecularWeight:12.01,charge:1,adjusted:12.01},Ca:{molecularWeight:40.08,charge:2,adjusted:2/40.08},Cl:{molecularWeight:35.45,charge:-1,adjusted:35.45},CO3:{molecularWeight:60.01,charge:-2,adjusted:2/60.01},Cu:{molecularWeight:63.556,charge:2,adjusted:2/63.546},Fe:{molecularWeight:55.85,charge:2,adjusted:2/55.85},HCO3:{molecularWeight:61.02,charge:-1,adjusted:61.02},H:{molecularWeight:18.04,charge:1,adjusted:18.04},K:{molecularWeight:39.1,charge:1,adjusted:39.1},Mg:{molecularWeight:24.31,charge:2,adjusted:2/24.31},Mn:{molecularWeight:54.94,charge:2,adjusted:2/54.94},Mo:{molecularWeight:95.94,charge:-1,adjusted:2/95.94},Na:{molecularWeight:22.99,charge:1,adjusted:22.99},"NH-4":{molecularWeight:18.04,charge:1,adjusted:18.04},S:{molecularWeight:96.06,charge:-2,adjusted:2/96.06},"SO-4":{molecularWeight:96.06,charge:-2,adjusted:2/96.06},Zn:{molecularWeight:65.38,charge:2,adjusted:2/65.38}};function Zo(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var zF={exports:{}};/*! - -JSZip v3.10.1 - A JavaScript class for generating and reading zip files - - -(c) 2009-2016 Stuart Knightley -Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. - -JSZip uses the library pako released under the MIT license : -https://github.com/nodeca/pako/blob/main/LICENSE -*/(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,a,i){function s(u,m){if(!a[u]){if(!n[u]){var c=typeof Zo=="function"&&Zo;if(!m&&c)return c(u,!0);if(l)return l(u,!0);var f=new Error("Cannot find module '"+u+"'");throw f.code="MODULE_NOT_FOUND",f}var p=a[u]={exports:{}};n[u][0].call(p.exports,function(h){var d=n[u][1][h];return s(d||h)},p,p.exports,r,n,a,i)}return a[u].exports}for(var l=typeof Zo=="function"&&Zo,o=0;o>2,p=(3&u)<<4|m>>4,h=1>6:64,d=2>4,m=(15&f)<<4|(p=l.indexOf(o.charAt(d++)))>>2,c=(3&p)<<6|(h=l.indexOf(o.charAt(d++))),g[_++]=u,p!==64&&(g[_++]=m),h!==64&&(g[_++]=c);return g}},{"./support":30,"./utils":32}],2:[function(r,n,a){var i=r("./external"),s=r("./stream/DataWorker"),l=r("./stream/Crc32Probe"),o=r("./stream/DataLengthProbe");function u(m,c,f,p,h){this.compressedSize=m,this.uncompressedSize=c,this.crc32=f,this.compression=p,this.compressedContent=h}u.prototype={getContentWorker:function(){var m=new s(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),c=this;return m.on("end",function(){if(this.streamInfo.data_length!==c.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),m},getCompressedWorker:function(){return new s(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(m,c,f){return m.pipe(new l).pipe(new o("uncompressedSize")).pipe(c.compressWorker(f)).pipe(new o("compressedSize")).withStreamInfo("compression",c)},n.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(r,n,a){var i=r("./stream/GenericWorker");a.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},a.DEFLATE=r("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(r,n,a){var i=r("./utils"),s=function(){for(var l,o=[],u=0;u<256;u++){l=u;for(var m=0;m<8;m++)l=1&l?3988292384^l>>>1:l>>>1;o[u]=l}return o}();n.exports=function(l,o){return l!==void 0&&l.length?i.getTypeOf(l)!=="string"?function(u,m,c,f){var p=s,h=f+c;u^=-1;for(var d=f;d>>8^p[255&(u^m[d])];return-1^u}(0|o,l,l.length,0):function(u,m,c,f){var p=s,h=f+c;u^=-1;for(var d=f;d>>8^p[255&(u^m.charCodeAt(d))];return-1^u}(0|o,l,l.length,0):0}},{"./utils":32}],5:[function(r,n,a){a.base64=!1,a.binary=!1,a.dir=!1,a.createFolders=!0,a.date=null,a.compression=null,a.compressionOptions=null,a.comment=null,a.unixPermissions=null,a.dosPermissions=null},{}],6:[function(r,n,a){var i=null;i=typeof Promise<"u"?Promise:r("lie"),n.exports={Promise:i}},{lie:37}],7:[function(r,n,a){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=r("pako"),l=r("./utils"),o=r("./stream/GenericWorker"),u=i?"uint8array":"array";function m(c,f){o.call(this,"FlateWorker/"+c),this._pako=null,this._pakoAction=c,this._pakoOptions=f,this.meta={}}a.magic="\b\0",l.inherits(m,o),m.prototype.processChunk=function(c){this.meta=c.meta,this._pako===null&&this._createPako(),this._pako.push(l.transformTo(u,c.data),!1)},m.prototype.flush=function(){o.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},m.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},m.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var c=this;this._pako.onData=function(f){c.push({data:f,meta:c.meta})}},a.compressWorker=function(c){return new m("Deflate",c)},a.uncompressWorker=function(){return new m("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(r,n,a){function i(p,h){var d,_="";for(d=0;d>>=8;return _}function s(p,h,d,_,y,g){var S,v,M=p.file,I=p.compression,D=g!==u.utf8encode,k=l.transformTo("string",g(M.name)),E=l.transformTo("string",u.utf8encode(M.name)),z=M.comment,B=l.transformTo("string",g(z)),P=l.transformTo("string",u.utf8encode(z)),F=E.length!==M.name.length,L=P.length!==z.length,H="",ie="",G="",pe=M.dir,W=M.date,ce={crc32:0,compressedSize:0,uncompressedSize:0};h&&!d||(ce.crc32=p.crc32,ce.compressedSize=p.compressedSize,ce.uncompressedSize=p.uncompressedSize);var J=0;h&&(J|=8),D||!F&&!L||(J|=2048);var R=0,V=0;pe&&(R|=16),y==="UNIX"?(V=798,R|=function(Z,Re){var Je=Z;return Z||(Je=Re?16893:33204),(65535&Je)<<16}(M.unixPermissions,pe)):(V=20,R|=function(Z){return 63&(Z||0)}(M.dosPermissions)),S=W.getUTCHours(),S<<=6,S|=W.getUTCMinutes(),S<<=5,S|=W.getUTCSeconds()/2,v=W.getUTCFullYear()-1980,v<<=4,v|=W.getUTCMonth()+1,v<<=5,v|=W.getUTCDate(),F&&(ie=i(1,1)+i(m(k),4)+E,H+="up"+i(ie.length,2)+ie),L&&(G=i(1,1)+i(m(B),4)+P,H+="uc"+i(G.length,2)+G);var Y="";return Y+=` -\0`,Y+=i(J,2),Y+=I.magic,Y+=i(S,2),Y+=i(v,2),Y+=i(ce.crc32,4),Y+=i(ce.compressedSize,4),Y+=i(ce.uncompressedSize,4),Y+=i(k.length,2),Y+=i(H.length,2),{fileRecord:c.LOCAL_FILE_HEADER+Y+k+H,dirRecord:c.CENTRAL_FILE_HEADER+i(V,2)+Y+i(B.length,2)+"\0\0\0\0"+i(R,4)+i(_,4)+k+H+B}}var l=r("../utils"),o=r("../stream/GenericWorker"),u=r("../utf8"),m=r("../crc32"),c=r("../signature");function f(p,h,d,_){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=h,this.zipPlatform=d,this.encodeFileName=_,this.streamFiles=p,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}l.inherits(f,o),f.prototype.push=function(p){var h=p.meta.percent||0,d=this.entriesCount,_=this._sources.length;this.accumulate?this.contentBuffer.push(p):(this.bytesWritten+=p.data.length,o.prototype.push.call(this,{data:p.data,meta:{currentFile:this.currentFile,percent:d?(h+100*(d-_-1))/d:100}}))},f.prototype.openedSource=function(p){this.currentSourceOffset=this.bytesWritten,this.currentFile=p.file.name;var h=this.streamFiles&&!p.file.dir;if(h){var d=s(p,h,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:d.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(p){this.accumulate=!1;var h=this.streamFiles&&!p.file.dir,d=s(p,h,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(d.dirRecord),h)this.push({data:function(_){return c.DATA_DESCRIPTOR+i(_.crc32,4)+i(_.compressedSize,4)+i(_.uncompressedSize,4)}(p),meta:{percent:100}});else for(this.push({data:d.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var p=this.bytesWritten,h=0;h=this.index;o--)u=(u<<8)+this.byteAt(o);return this.index+=l,u},readString:function(l){return i.transformTo("string",this.readData(l))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var l=this.readInt(4);return new Date(Date.UTC(1980+(l>>25&127),(l>>21&15)-1,l>>16&31,l>>11&31,l>>5&63,(31&l)<<1))}},n.exports=s},{"../utils":32}],19:[function(r,n,a){var i=r("./Uint8ArrayReader");function s(l){i.call(this,l)}r("../utils").inherits(s,i),s.prototype.readData=function(l){this.checkOffset(l);var o=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,o},n.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(r,n,a){var i=r("./DataReader");function s(l){i.call(this,l)}r("../utils").inherits(s,i),s.prototype.byteAt=function(l){return this.data.charCodeAt(this.zero+l)},s.prototype.lastIndexOfSignature=function(l){return this.data.lastIndexOf(l)-this.zero},s.prototype.readAndCheckSignature=function(l){return l===this.readData(4)},s.prototype.readData=function(l){this.checkOffset(l);var o=this.data.slice(this.zero+this.index,this.zero+this.index+l);return this.index+=l,o},n.exports=s},{"../utils":32,"./DataReader":18}],21:[function(r,n,a){var i=r("./ArrayReader");function s(l){i.call(this,l)}r("../utils").inherits(s,i),s.prototype.readData=function(l){if(this.checkOffset(l),l===0)return new Uint8Array(0);var o=this.data.subarray(this.zero+this.index,this.zero+this.index+l);return this.index+=l,o},n.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(r,n,a){var i=r("../utils"),s=r("../support"),l=r("./ArrayReader"),o=r("./StringReader"),u=r("./NodeBufferReader"),m=r("./Uint8ArrayReader");n.exports=function(c){var f=i.getTypeOf(c);return i.checkSupport(f),f!=="string"||s.uint8array?f==="nodebuffer"?new u(c):s.uint8array?new m(i.transformTo("uint8array",c)):new l(i.transformTo("array",c)):new o(c)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(r,n,a){a.LOCAL_FILE_HEADER="PK",a.CENTRAL_FILE_HEADER="PK",a.CENTRAL_DIRECTORY_END="PK",a.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",a.ZIP64_CENTRAL_DIRECTORY_END="PK",a.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(r,n,a){var i=r("./GenericWorker"),s=r("../utils");function l(o){i.call(this,"ConvertWorker to "+o),this.destType=o}s.inherits(l,i),l.prototype.processChunk=function(o){this.push({data:s.transformTo(this.destType,o.data),meta:o.meta})},n.exports=l},{"../utils":32,"./GenericWorker":28}],25:[function(r,n,a){var i=r("./GenericWorker"),s=r("../crc32");function l(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}r("../utils").inherits(l,i),l.prototype.processChunk=function(o){this.streamInfo.crc32=s(o.data,this.streamInfo.crc32||0),this.push(o)},n.exports=l},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(r,n,a){var i=r("../utils"),s=r("./GenericWorker");function l(o){s.call(this,"DataLengthProbe for "+o),this.propName=o,this.withStreamInfo(o,0)}i.inherits(l,s),l.prototype.processChunk=function(o){if(o){var u=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=u+o.data.length}s.prototype.processChunk.call(this,o)},n.exports=l},{"../utils":32,"./GenericWorker":28}],27:[function(r,n,a){var i=r("../utils"),s=r("./GenericWorker");function l(o){s.call(this,"DataWorker");var u=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,o.then(function(m){u.dataIsReady=!0,u.data=m,u.max=m&&m.length||0,u.type=i.getTypeOf(m),u.isPaused||u._tickAndRepeat()},function(m){u.error(m)})}i.inherits(l,s),l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},l.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},l.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},l.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var o=null,u=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":o=this.data.substring(this.index,u);break;case"uint8array":o=this.data.subarray(this.index,u);break;case"array":case"nodebuffer":o=this.data.slice(this.index,u)}return this.index=u,this.push({data:o,meta:{percent:this.max?this.index/this.max*100:0}})},n.exports=l},{"../utils":32,"./GenericWorker":28}],28:[function(r,n,a){function i(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,l){return this._listeners[s].push(l),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,l){if(this._listeners[s])for(var o=0;o "+s:s}},n.exports=i},{}],29:[function(r,n,a){var i=r("../utils"),s=r("./ConvertWorker"),l=r("./GenericWorker"),o=r("../base64"),u=r("../support"),m=r("../external"),c=null;if(u.nodestream)try{c=r("../nodejs/NodejsStreamOutputAdapter")}catch{}function f(h,d){return new m.Promise(function(_,y){var g=[],S=h._internalType,v=h._outputType,M=h._mimeType;h.on("data",function(I,D){g.push(I),d&&d(D)}).on("error",function(I){g=[],y(I)}).on("end",function(){try{var I=function(D,k,E){switch(D){case"blob":return i.newBlob(i.transformTo("arraybuffer",k),E);case"base64":return o.encode(k);default:return i.transformTo(D,k)}}(v,function(D,k){var E,z=0,B=null,P=0;for(E=0;E"u")a.blob=!1;else{var i=new ArrayBuffer(0);try{a.blob=new Blob([i],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(i),a.blob=s.getBlob("application/zip").size===0}catch{a.blob=!1}}}try{a.nodestream=!!r("readable-stream").Readable}catch{a.nodestream=!1}},{"readable-stream":16}],31:[function(r,n,a){for(var i=r("./utils"),s=r("./support"),l=r("./nodejsUtils"),o=r("./stream/GenericWorker"),u=new Array(256),m=0;m<256;m++)u[m]=252<=m?6:248<=m?5:240<=m?4:224<=m?3:192<=m?2:1;u[254]=u[254]=1;function c(){o.call(this,"utf-8 decode"),this.leftOver=null}function f(){o.call(this,"utf-8 encode")}a.utf8encode=function(p){return s.nodebuffer?l.newBufferFrom(p,"utf-8"):function(h){var d,_,y,g,S,v=h.length,M=0;for(g=0;g>>6:(_<65536?d[S++]=224|_>>>12:(d[S++]=240|_>>>18,d[S++]=128|_>>>12&63),d[S++]=128|_>>>6&63),d[S++]=128|63&_);return d}(p)},a.utf8decode=function(p){return s.nodebuffer?i.transformTo("nodebuffer",p).toString("utf-8"):function(h){var d,_,y,g,S=h.length,v=new Array(2*S);for(d=_=0;d>10&1023,v[_++]=56320|1023&y)}return v.length!==_&&(v.subarray?v=v.subarray(0,_):v.length=_),i.applyFromCharCode(v)}(p=i.transformTo(s.uint8array?"uint8array":"array",p))},i.inherits(c,o),c.prototype.processChunk=function(p){var h=i.transformTo(s.uint8array?"uint8array":"array",p.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var d=h;(h=new Uint8Array(d.length+this.leftOver.length)).set(this.leftOver,0),h.set(d,this.leftOver.length)}else h=this.leftOver.concat(h);this.leftOver=null}var _=function(g,S){var v;for((S=S||g.length)>g.length&&(S=g.length),v=S-1;0<=v&&(192&g[v])==128;)v--;return v<0||v===0?S:v+u[g[v]]>S?v:S}(h),y=h;_!==h.length&&(s.uint8array?(y=h.subarray(0,_),this.leftOver=h.subarray(_,h.length)):(y=h.slice(0,_),this.leftOver=h.slice(_,h.length))),this.push({data:a.utf8decode(y),meta:p.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:a.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},a.Utf8DecodeWorker=c,i.inherits(f,o),f.prototype.processChunk=function(p){this.push({data:a.utf8encode(p.data),meta:p.meta})},a.Utf8EncodeWorker=f},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(r,n,a){var i=r("./support"),s=r("./base64"),l=r("./nodejsUtils"),o=r("./external");function u(d){return d}function m(d,_){for(var y=0;y>8;this.dir=!!(16&this.externalFileAttributes),p==0&&(this.dosPermissions=63&this.externalFileAttributes),p==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var p=i(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=p.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=p.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=p.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=p.readInt(4))}},readExtraFields:function(p){var h,d,_,y=p.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});p.index+4>>6:(p<65536?f[_++]=224|p>>>12:(f[_++]=240|p>>>18,f[_++]=128|p>>>12&63),f[_++]=128|p>>>6&63),f[_++]=128|63&p);return f},a.buf2binstring=function(c){return m(c,c.length)},a.binstring2buf=function(c){for(var f=new i.Buf8(c.length),p=0,h=f.length;p>10&1023,g[h++]=56320|1023&d)}return m(g,h)},a.utf8border=function(c,f){var p;for((f=f||c.length)>c.length&&(f=c.length),p=f-1;0<=p&&(192&c[p])==128;)p--;return p<0||p===0?f:p+o[c[p]]>f?p:f}},{"./common":41}],43:[function(r,n,a){n.exports=function(i,s,l,o){for(var u=65535&i|0,m=i>>>16&65535|0,c=0;l!==0;){for(l-=c=2e3>>1:s>>>1;l[o]=s}return l}();n.exports=function(s,l,o,u){var m=i,c=u+o;s^=-1;for(var f=u;f>>8^m[255&(s^l[f])];return-1^s}},{}],46:[function(r,n,a){var i,s=r("../utils/common"),l=r("./trees"),o=r("./adler32"),u=r("./crc32"),m=r("./messages"),c=0,f=4,p=0,h=-2,d=-1,_=4,y=2,g=8,S=9,v=286,M=30,I=19,D=2*v+1,k=15,E=3,z=258,B=z+E+1,P=42,F=113,L=1,H=2,ie=3,G=4;function pe(T,we){return T.msg=m[we],we}function W(T){return(T<<1)-(4T.avail_out&&(Ue=T.avail_out),Ue!==0&&(s.arraySet(T.output,we.pending_buf,we.pending_out,Ue,T.next_out),T.next_out+=Ue,we.pending_out+=Ue,T.total_out+=Ue,T.avail_out-=Ue,we.pending-=Ue,we.pending===0&&(we.pending_out=0))}function R(T,we){l._tr_flush_block(T,0<=T.block_start?T.block_start:-1,T.strstart-T.block_start,we),T.block_start=T.strstart,J(T.strm)}function V(T,we){T.pending_buf[T.pending++]=we}function Y(T,we){T.pending_buf[T.pending++]=we>>>8&255,T.pending_buf[T.pending++]=255&we}function Z(T,we){var Ue,K,q=T.max_chain_length,ge=T.strstart,Be=T.prev_length,$e=T.nice_match,C=T.strstart>T.w_size-B?T.strstart-(T.w_size-B):0,Ce=T.window,mt=T.w_mask,tt=T.prev,qe=T.strstart+z,se=Ce[ge+Be-1],x=Ce[ge+Be];T.prev_length>=T.good_match&&(q>>=2),$e>T.lookahead&&($e=T.lookahead);do if(Ce[(Ue=we)+Be]===x&&Ce[Ue+Be-1]===se&&Ce[Ue]===Ce[ge]&&Ce[++Ue]===Ce[ge+1]){ge+=2,Ue++;do;while(Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&Ce[++ge]===Ce[++Ue]&&geC&&--q!=0);return Be<=T.lookahead?Be:T.lookahead}function Re(T){var we,Ue,K,q,ge,Be,$e,C,Ce,mt,tt=T.w_size;do{if(q=T.window_size-T.lookahead-T.strstart,T.strstart>=tt+(tt-B)){for(s.arraySet(T.window,T.window,tt,tt,0),T.match_start-=tt,T.strstart-=tt,T.block_start-=tt,we=Ue=T.hash_size;K=T.head[--we],T.head[we]=tt<=K?K-tt:0,--Ue;);for(we=Ue=tt;K=T.prev[--we],T.prev[we]=tt<=K?K-tt:0,--Ue;);q+=tt}if(T.strm.avail_in===0)break;if(Be=T.strm,$e=T.window,C=T.strstart+T.lookahead,Ce=q,mt=void 0,mt=Be.avail_in,Ce=E)for(ge=T.strstart-T.insert,T.ins_h=T.window[ge],T.ins_h=(T.ins_h<=E&&(T.ins_h=(T.ins_h<=E)if(K=l._tr_tally(T,T.strstart-T.match_start,T.match_length-E),T.lookahead-=T.match_length,T.match_length<=T.max_lazy_match&&T.lookahead>=E){for(T.match_length--;T.strstart++,T.ins_h=(T.ins_h<=E&&(T.ins_h=(T.ins_h<=E&&T.match_length<=T.prev_length){for(q=T.strstart+T.lookahead-E,K=l._tr_tally(T,T.strstart-1-T.prev_match,T.prev_length-E),T.lookahead-=T.prev_length-1,T.prev_length-=2;++T.strstart<=q&&(T.ins_h=(T.ins_h<T.pending_buf_size-5&&(Ue=T.pending_buf_size-5);;){if(T.lookahead<=1){if(Re(T),T.lookahead===0&&we===c)return L;if(T.lookahead===0)break}T.strstart+=T.lookahead,T.lookahead=0;var K=T.block_start+Ue;if((T.strstart===0||T.strstart>=K)&&(T.lookahead=T.strstart-K,T.strstart=K,R(T,!1),T.strm.avail_out===0)||T.strstart-T.block_start>=T.w_size-B&&(R(T,!1),T.strm.avail_out===0))return L}return T.insert=0,we===f?(R(T,!0),T.strm.avail_out===0?ie:G):(T.strstart>T.block_start&&(R(T,!1),T.strm.avail_out),L)}),new be(4,4,8,4,Je),new be(4,5,16,8,Je),new be(4,6,32,32,Je),new be(4,4,16,16,xe),new be(8,16,32,32,xe),new be(8,16,128,128,xe),new be(8,32,128,256,xe),new be(32,128,258,1024,xe),new be(32,258,258,4096,xe)],a.deflateInit=function(T,we){return vt(T,we,g,15,8,0)},a.deflateInit2=vt,a.deflateReset=Ne,a.deflateResetKeep=Pe,a.deflateSetHeader=function(T,we){return T&&T.state?T.state.wrap!==2?h:(T.state.gzhead=we,p):h},a.deflate=function(T,we){var Ue,K,q,ge;if(!T||!T.state||5>8&255),V(K,K.gzhead.time>>16&255),V(K,K.gzhead.time>>24&255),V(K,K.level===9?2:2<=K.strategy||K.level<2?4:0),V(K,255&K.gzhead.os),K.gzhead.extra&&K.gzhead.extra.length&&(V(K,255&K.gzhead.extra.length),V(K,K.gzhead.extra.length>>8&255)),K.gzhead.hcrc&&(T.adler=u(T.adler,K.pending_buf,K.pending,0)),K.gzindex=0,K.status=69):(V(K,0),V(K,0),V(K,0),V(K,0),V(K,0),V(K,K.level===9?2:2<=K.strategy||K.level<2?4:0),V(K,3),K.status=F);else{var Be=g+(K.w_bits-8<<4)<<8;Be|=(2<=K.strategy||K.level<2?0:K.level<6?1:K.level===6?2:3)<<6,K.strstart!==0&&(Be|=32),Be+=31-Be%31,K.status=F,Y(K,Be),K.strstart!==0&&(Y(K,T.adler>>>16),Y(K,65535&T.adler)),T.adler=1}if(K.status===69)if(K.gzhead.extra){for(q=K.pending;K.gzindex<(65535&K.gzhead.extra.length)&&(K.pending!==K.pending_buf_size||(K.gzhead.hcrc&&K.pending>q&&(T.adler=u(T.adler,K.pending_buf,K.pending-q,q)),J(T),q=K.pending,K.pending!==K.pending_buf_size));)V(K,255&K.gzhead.extra[K.gzindex]),K.gzindex++;K.gzhead.hcrc&&K.pending>q&&(T.adler=u(T.adler,K.pending_buf,K.pending-q,q)),K.gzindex===K.gzhead.extra.length&&(K.gzindex=0,K.status=73)}else K.status=73;if(K.status===73)if(K.gzhead.name){q=K.pending;do{if(K.pending===K.pending_buf_size&&(K.gzhead.hcrc&&K.pending>q&&(T.adler=u(T.adler,K.pending_buf,K.pending-q,q)),J(T),q=K.pending,K.pending===K.pending_buf_size)){ge=1;break}ge=K.gzindexq&&(T.adler=u(T.adler,K.pending_buf,K.pending-q,q)),ge===0&&(K.gzindex=0,K.status=91)}else K.status=91;if(K.status===91)if(K.gzhead.comment){q=K.pending;do{if(K.pending===K.pending_buf_size&&(K.gzhead.hcrc&&K.pending>q&&(T.adler=u(T.adler,K.pending_buf,K.pending-q,q)),J(T),q=K.pending,K.pending===K.pending_buf_size)){ge=1;break}ge=K.gzindexq&&(T.adler=u(T.adler,K.pending_buf,K.pending-q,q)),ge===0&&(K.status=103)}else K.status=103;if(K.status===103&&(K.gzhead.hcrc?(K.pending+2>K.pending_buf_size&&J(T),K.pending+2<=K.pending_buf_size&&(V(K,255&T.adler),V(K,T.adler>>8&255),T.adler=0,K.status=F)):K.status=F),K.pending!==0){if(J(T),T.avail_out===0)return K.last_flush=-1,p}else if(T.avail_in===0&&W(we)<=W(Ue)&&we!==f)return pe(T,-5);if(K.status===666&&T.avail_in!==0)return pe(T,-5);if(T.avail_in!==0||K.lookahead!==0||we!==c&&K.status!==666){var $e=K.strategy===2?function(C,Ce){for(var mt;;){if(C.lookahead===0&&(Re(C),C.lookahead===0)){if(Ce===c)return L;break}if(C.match_length=0,mt=l._tr_tally(C,0,C.window[C.strstart]),C.lookahead--,C.strstart++,mt&&(R(C,!1),C.strm.avail_out===0))return L}return C.insert=0,Ce===f?(R(C,!0),C.strm.avail_out===0?ie:G):C.last_lit&&(R(C,!1),C.strm.avail_out===0)?L:H}(K,we):K.strategy===3?function(C,Ce){for(var mt,tt,qe,se,x=C.window;;){if(C.lookahead<=z){if(Re(C),C.lookahead<=z&&Ce===c)return L;if(C.lookahead===0)break}if(C.match_length=0,C.lookahead>=E&&0C.lookahead&&(C.match_length=C.lookahead)}if(C.match_length>=E?(mt=l._tr_tally(C,1,C.match_length-E),C.lookahead-=C.match_length,C.strstart+=C.match_length,C.match_length=0):(mt=l._tr_tally(C,0,C.window[C.strstart]),C.lookahead--,C.strstart++),mt&&(R(C,!1),C.strm.avail_out===0))return L}return C.insert=0,Ce===f?(R(C,!0),C.strm.avail_out===0?ie:G):C.last_lit&&(R(C,!1),C.strm.avail_out===0)?L:H}(K,we):i[K.level].func(K,we);if($e!==ie&&$e!==G||(K.status=666),$e===L||$e===ie)return T.avail_out===0&&(K.last_flush=-1),p;if($e===H&&(we===1?l._tr_align(K):we!==5&&(l._tr_stored_block(K,0,0,!1),we===3&&(ce(K.head),K.lookahead===0&&(K.strstart=0,K.block_start=0,K.insert=0))),J(T),T.avail_out===0))return K.last_flush=-1,p}return we!==f?p:K.wrap<=0?1:(K.wrap===2?(V(K,255&T.adler),V(K,T.adler>>8&255),V(K,T.adler>>16&255),V(K,T.adler>>24&255),V(K,255&T.total_in),V(K,T.total_in>>8&255),V(K,T.total_in>>16&255),V(K,T.total_in>>24&255)):(Y(K,T.adler>>>16),Y(K,65535&T.adler)),J(T),0=Ue.w_size&&(ge===0&&(ce(Ue.head),Ue.strstart=0,Ue.block_start=0,Ue.insert=0),Ce=new s.Buf8(Ue.w_size),s.arraySet(Ce,we,mt-Ue.w_size,Ue.w_size,0),we=Ce,mt=Ue.w_size),Be=T.avail_in,$e=T.next_in,C=T.input,T.avail_in=mt,T.next_in=0,T.input=we,Re(Ue);Ue.lookahead>=E;){for(K=Ue.strstart,q=Ue.lookahead-(E-1);Ue.ins_h=(Ue.ins_h<>>=E=k>>>24,S-=E,(E=k>>>16&255)===0)H[m++]=65535&k;else{if(!(16&E)){if((64&E)==0){k=v[(65535&k)+(g&(1<>>=E,S-=E),S<15&&(g+=L[o++]<>>=E=k>>>24,S-=E,!(16&(E=k>>>16&255))){if((64&E)==0){k=M[(65535&k)+(g&(1<>>=E,S-=E,(E=m-c)>3,g&=(1<<(S-=z<<3))-1,i.next_in=o,i.next_out=m,i.avail_in=o>>24&255)+(P>>>8&65280)+((65280&P)<<8)+((255&P)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function S(P){var F;return P&&P.state?(F=P.state,P.total_in=P.total_out=F.total=0,P.msg="",F.wrap&&(P.adler=1&F.wrap),F.mode=h,F.last=0,F.havedict=0,F.dmax=32768,F.head=null,F.hold=0,F.bits=0,F.lencode=F.lendyn=new i.Buf32(d),F.distcode=F.distdyn=new i.Buf32(_),F.sane=1,F.back=-1,f):p}function v(P){var F;return P&&P.state?((F=P.state).wsize=0,F.whave=0,F.wnext=0,S(P)):p}function M(P,F){var L,H;return P&&P.state?(H=P.state,F<0?(L=0,F=-F):(L=1+(F>>4),F<48&&(F&=15)),F&&(F<8||15=G.wsize?(i.arraySet(G.window,F,L-G.wsize,G.wsize,0),G.wnext=0,G.whave=G.wsize):(H<(ie=G.wsize-G.wnext)&&(ie=H),i.arraySet(G.window,F,L-H,ie,G.wnext),(H-=ie)?(i.arraySet(G.window,F,L-H,H,0),G.wnext=H,G.whave=G.wsize):(G.wnext+=ie,G.wnext===G.wsize&&(G.wnext=0),G.whave>>8&255,L.check=l(L.check,ge,2,0),R=J=0,L.mode=2;break}if(L.flags=0,L.head&&(L.head.done=!1),!(1&L.wrap)||(((255&J)<<8)+(J>>8))%31){P.msg="incorrect header check",L.mode=30;break}if((15&J)!=8){P.msg="unknown compression method",L.mode=30;break}if(R-=4,T=8+(15&(J>>>=4)),L.wbits===0)L.wbits=T;else if(T>L.wbits){P.msg="invalid window size",L.mode=30;break}L.dmax=1<>8&1),512&L.flags&&(ge[0]=255&J,ge[1]=J>>>8&255,L.check=l(L.check,ge,2,0)),R=J=0,L.mode=3;case 3:for(;R<32;){if(W===0)break e;W--,J+=H[G++]<>>8&255,ge[2]=J>>>16&255,ge[3]=J>>>24&255,L.check=l(L.check,ge,4,0)),R=J=0,L.mode=4;case 4:for(;R<16;){if(W===0)break e;W--,J+=H[G++]<>8),512&L.flags&&(ge[0]=255&J,ge[1]=J>>>8&255,L.check=l(L.check,ge,2,0)),R=J=0,L.mode=5;case 5:if(1024&L.flags){for(;R<16;){if(W===0)break e;W--,J+=H[G++]<>>8&255,L.check=l(L.check,ge,2,0)),R=J=0}else L.head&&(L.head.extra=null);L.mode=6;case 6:if(1024&L.flags&&(W<(Z=L.length)&&(Z=W),Z&&(L.head&&(T=L.head.extra_len-L.length,L.head.extra||(L.head.extra=new Array(L.head.extra_len)),i.arraySet(L.head.extra,H,G,Z,T)),512&L.flags&&(L.check=l(L.check,H,Z,G)),W-=Z,G+=Z,L.length-=Z),L.length))break e;L.length=0,L.mode=7;case 7:if(2048&L.flags){if(W===0)break e;for(Z=0;T=H[G+Z++],L.head&&T&&L.length<65536&&(L.head.name+=String.fromCharCode(T)),T&&Z>9&1,L.head.done=!0),P.adler=L.check=0,L.mode=12;break;case 10:for(;R<32;){if(W===0)break e;W--,J+=H[G++]<>>=7&R,R-=7&R,L.mode=27;break}for(;R<3;){if(W===0)break e;W--,J+=H[G++]<>>=1)){case 0:L.mode=14;break;case 1:if(z(L),L.mode=20,F!==6)break;J>>>=2,R-=2;break e;case 2:L.mode=17;break;case 3:P.msg="invalid block type",L.mode=30}J>>>=2,R-=2;break;case 14:for(J>>>=7&R,R-=7&R;R<32;){if(W===0)break e;W--,J+=H[G++]<>>16^65535)){P.msg="invalid stored block lengths",L.mode=30;break}if(L.length=65535&J,R=J=0,L.mode=15,F===6)break e;case 15:L.mode=16;case 16:if(Z=L.length){if(W>>=5,R-=5,L.ndist=1+(31&J),J>>>=5,R-=5,L.ncode=4+(15&J),J>>>=4,R-=4,286>>=3,R-=3}for(;L.have<19;)L.lens[Be[L.have++]]=0;if(L.lencode=L.lendyn,L.lenbits=7,Ue={bits:L.lenbits},we=u(0,L.lens,0,19,L.lencode,0,L.work,Ue),L.lenbits=Ue.bits,we){P.msg="invalid code lengths set",L.mode=30;break}L.have=0,L.mode=19;case 19:for(;L.have>>16&255,et=65535&q,!((xe=q>>>24)<=R);){if(W===0)break e;W--,J+=H[G++]<>>=xe,R-=xe,L.lens[L.have++]=et;else{if(et===16){for(K=xe+2;R>>=xe,R-=xe,L.have===0){P.msg="invalid bit length repeat",L.mode=30;break}T=L.lens[L.have-1],Z=3+(3&J),J>>>=2,R-=2}else if(et===17){for(K=xe+3;R>>=xe)),J>>>=3,R-=3}else{for(K=xe+7;R>>=xe)),J>>>=7,R-=7}if(L.have+Z>L.nlen+L.ndist){P.msg="invalid bit length repeat",L.mode=30;break}for(;Z--;)L.lens[L.have++]=T}}if(L.mode===30)break;if(L.lens[256]===0){P.msg="invalid code -- missing end-of-block",L.mode=30;break}if(L.lenbits=9,Ue={bits:L.lenbits},we=u(m,L.lens,0,L.nlen,L.lencode,0,L.work,Ue),L.lenbits=Ue.bits,we){P.msg="invalid literal/lengths set",L.mode=30;break}if(L.distbits=6,L.distcode=L.distdyn,Ue={bits:L.distbits},we=u(c,L.lens,L.nlen,L.ndist,L.distcode,0,L.work,Ue),L.distbits=Ue.bits,we){P.msg="invalid distances set",L.mode=30;break}if(L.mode=20,F===6)break e;case 20:L.mode=21;case 21:if(6<=W&&258<=ce){P.next_out=pe,P.avail_out=ce,P.next_in=G,P.avail_in=W,L.hold=J,L.bits=R,o(P,Y),pe=P.next_out,ie=P.output,ce=P.avail_out,G=P.next_in,H=P.input,W=P.avail_in,J=L.hold,R=L.bits,L.mode===12&&(L.back=-1);break}for(L.back=0;be=(q=L.lencode[J&(1<>>16&255,et=65535&q,!((xe=q>>>24)<=R);){if(W===0)break e;W--,J+=H[G++]<>Pe)])>>>16&255,et=65535&q,!(Pe+(xe=q>>>24)<=R);){if(W===0)break e;W--,J+=H[G++]<>>=Pe,R-=Pe,L.back+=Pe}if(J>>>=xe,R-=xe,L.back+=xe,L.length=et,be===0){L.mode=26;break}if(32&be){L.back=-1,L.mode=12;break}if(64&be){P.msg="invalid literal/length code",L.mode=30;break}L.extra=15&be,L.mode=22;case 22:if(L.extra){for(K=L.extra;R>>=L.extra,R-=L.extra,L.back+=L.extra}L.was=L.length,L.mode=23;case 23:for(;be=(q=L.distcode[J&(1<>>16&255,et=65535&q,!((xe=q>>>24)<=R);){if(W===0)break e;W--,J+=H[G++]<>Pe)])>>>16&255,et=65535&q,!(Pe+(xe=q>>>24)<=R);){if(W===0)break e;W--,J+=H[G++]<>>=Pe,R-=Pe,L.back+=Pe}if(J>>>=xe,R-=xe,L.back+=xe,64&be){P.msg="invalid distance code",L.mode=30;break}L.offset=et,L.extra=15&be,L.mode=24;case 24:if(L.extra){for(K=L.extra;R>>=L.extra,R-=L.extra,L.back+=L.extra}if(L.offset>L.dmax){P.msg="invalid distance too far back",L.mode=30;break}L.mode=25;case 25:if(ce===0)break e;if(Z=Y-ce,L.offset>Z){if((Z=L.offset-Z)>L.whave&&L.sane){P.msg="invalid distance too far back",L.mode=30;break}Re=Z>L.wnext?(Z-=L.wnext,L.wsize-Z):L.wnext-Z,Z>L.length&&(Z=L.length),Je=L.window}else Je=ie,Re=pe-L.offset,Z=L.length;for(ceD?(E=Re[Je+_[F]],R[V+_[F]]):(E=96,0),g=1<>pe)+(S-=g)]=k<<24|E<<16|z|0,S!==0;);for(g=1<>=1;if(g!==0?(J&=g-1,J+=g):J=0,F++,--Y[P]==0){if(P===H)break;P=c[f+_[F]]}if(ie>>7)]}function V(q,ge){q.pending_buf[q.pending++]=255&ge,q.pending_buf[q.pending++]=ge>>>8&255}function Y(q,ge,Be){q.bi_valid>y-Be?(q.bi_buf|=ge<>y-q.bi_valid,q.bi_valid+=Be-y):(q.bi_buf|=ge<>>=1,Be<<=1,0<--ge;);return Be>>>1}function Je(q,ge,Be){var $e,C,Ce=new Array(_+1),mt=0;for($e=1;$e<=_;$e++)Ce[$e]=mt=mt+Be[$e-1]<<1;for(C=0;C<=ge;C++){var tt=q[2*C+1];tt!==0&&(q[2*C]=Re(Ce[tt]++,tt))}}function xe(q){var ge;for(ge=0;ge>1;1<=Be;Be--)Pe(q,Ce,Be);for(C=qe;Be=q.heap[1],q.heap[1]=q.heap[q.heap_len--],Pe(q,Ce,1),$e=q.heap[1],q.heap[--q.heap_max]=Be,q.heap[--q.heap_max]=$e,Ce[2*C]=Ce[2*Be]+Ce[2*$e],q.depth[C]=(q.depth[Be]>=q.depth[$e]?q.depth[Be]:q.depth[$e])+1,Ce[2*Be+1]=Ce[2*$e+1]=C,q.heap[1]=C++,Pe(q,Ce,1),2<=q.heap_len;);q.heap[--q.heap_max]=q.heap[1],function(x,U){var te,Se,de,He,It,Q,ee=U.dyn_tree,Ye=U.max_code,Et=U.stat_desc.static_tree,De=U.stat_desc.has_stree,me=U.stat_desc.extra_bits,nt=U.stat_desc.extra_base,A=U.stat_desc.max_length,ne=0;for(He=0;He<=_;He++)x.bl_count[He]=0;for(ee[2*x.heap[x.heap_max]+1]=0,te=x.heap_max+1;te>=7;C>>=1)if(1&se&&tt.dyn_ltree[2*qe]!==0)return s;if(tt.dyn_ltree[18]!==0||tt.dyn_ltree[20]!==0||tt.dyn_ltree[26]!==0)return l;for(qe=32;qe>>3,(Ce=q.static_len+3+7>>>3)<=C&&(C=Ce)):C=Ce=Be+5,Be+4<=C&&ge!==-1?K(q,ge,Be,$e):q.strategy===4||Ce===C?(Y(q,2+($e?1:0),3),Ne(q,B,P)):(Y(q,4+($e?1:0),3),function(tt,qe,se,x){var U;for(Y(tt,qe-257,5),Y(tt,se-1,5),Y(tt,x-4,4),U=0;U>>8&255,q.pending_buf[q.d_buf+2*q.last_lit+1]=255&ge,q.pending_buf[q.l_buf+q.last_lit]=255&Be,q.last_lit++,ge===0?q.dyn_ltree[2*Be]++:(q.matches++,ge--,q.dyn_ltree[2*(L[Be]+c+1)]++,q.dyn_dtree[2*R(ge)]++),q.last_lit===q.lit_bufsize-1},a._tr_align=function(q){Y(q,2,3),Z(q,S,B),function(ge){ge.bi_valid===16?(V(ge,ge.bi_buf),ge.bi_buf=0,ge.bi_valid=0):8<=ge.bi_valid&&(ge.pending_buf[ge.pending++]=255&ge.bi_buf,ge.bi_buf>>=8,ge.bi_valid-=8)}(q)}},{"../utils/common":41}],53:[function(r,n,a){n.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(r,n,a){(function(i){(function(s,l){if(!s.setImmediate){var o,u,m,c,f=1,p={},h=!1,d=s.document,_=Object.getPrototypeOf&&Object.getPrototypeOf(s);_=_&&_.setTimeout?_:s,o={}.toString.call(s.process)==="[object process]"?function(v){process.nextTick(function(){g(v)})}:function(){if(s.postMessage&&!s.importScripts){var v=!0,M=s.onmessage;return s.onmessage=function(){v=!1},s.postMessage("","*"),s.onmessage=M,v}}()?(c="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",S,!1):s.attachEvent("onmessage",S),function(v){s.postMessage(c+v,"*")}):s.MessageChannel?((m=new MessageChannel).port1.onmessage=function(v){g(v.data)},function(v){m.port2.postMessage(v)}):d&&"onreadystatechange"in d.createElement("script")?(u=d.documentElement,function(v){var M=d.createElement("script");M.onreadystatechange=function(){g(v),M.onreadystatechange=null,u.removeChild(M),M=null},u.appendChild(M)}):function(v){setTimeout(g,0,v)},_.setImmediate=function(v){typeof v!="function"&&(v=new Function(""+v));for(var M=new Array(arguments.length-1),I=0;I"u"?i===void 0?this:i:self)}).call(this,typeof Za<"u"?Za:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(zF);var KF=zF.exports;/** - * @license - * Copyright 2022 Open Ag Data Alliance - * - * Use of this source code is governed by an MIT-style - * license that can be found in the LICENSE file or at - * https://opensource.org/licenses/MIT. - */class qF extends TypeError{constructor(t,r){const[n]=r,a=n?`@oada/types assert failed at path "${n.instancePath}": ${n.message}`:"@oada/types assert failed";super(a),this.input=t,this.errors=r,this.input=t,this.errors=r}}var BS={exports:{}},Rm={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(E,z){return{validate:E,compare:z}}e.fullFormats={date:t(i,s),time:t(o,u),"date-time":t(c,f),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:d,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:k,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:y,int32:{type:"number",validate:v},int64:{type:"number",validate:M},float:{type:"number",validate:I},double:{type:"number",validate:I},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,s),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,u),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,f),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function r(E){return E%4===0&&(E%100!==0||E%400===0)}const n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,a=[0,31,28,31,30,31,30,31,31,30,31,30,31];function i(E){const z=n.exec(E);if(!z)return!1;const B=+z[1],P=+z[2],F=+z[3];return P>=1&&P<=12&&F>=1&&F<=(P===2&&r(B)?29:a[P])}function s(E,z){if(!!(E&&z))return E>z?1:Ez?1:E=g}function M(E){return Number.isInteger(E)}function I(){return!0}const D=/[^\\]\\Z/;function k(E){if(D.test(E))return!1;try{return new RegExp(E),!0}catch{return!1}}})(Rm);BS.exports=Lr;BS.exports.default=Lr;const Fye={$id:"https://formats.openag.io/modus/slim/v1/0.schema.json",$schema:"http://json-schema.org/draft-07/schema#",$comment:"A Flatter version of modus v1",description:` - This schema is expected to handle both the original "submission" and "result" schemas - in Modus. In this schema, a "submission" is simply a "result" with some things not - filled out (like the results, obviously). - - The general structure of this schema is one of a global "default" which can be overridden - in particular samples with the same schema, just specifying the keys that differ from - the default. i.e. the "lab" key at the top level can specify things about the lab that - are common across all samples, but then the "lab" key under any given sample would specify - things that the lab needs to record that are specific to the sample. - `,$defs:{id:{type:"string",description:"A sufficiently unique string to identify things, in any form."},aliasid:{type:"string",description:"A reference to an id that can be found physically on a sample such as a bar code or QR code"},sourcedId:{type:"object",properties:{source:{enum:["local"],description:` - A string representing the place that assigned this id. If the id does not come - from any official list, use "local". The value of this id should be considered - unique within the source list. If "local" is used, in order to ensure global - uniqueness, a random (or at least sufficiently unique) string should be generated. - For example, the id "ABCLabs_RoanokeVA" is sufficiently unique to represent an ID - for that particular lab, and preferred to simply a UUID. A given "local" should - use the same unique string to represent the same thing in subsequent documents. - `},value:{type:"string",description:"The actual sufficiently-unique string that is the id from this souce."}}},person:{type:"object",description:"Used for contacts at the lab and the source",properties:{name:{type:"string"},phone:{type:"string"},address:{type:"string"},email:{type:"string",format:"email"}}},client:{type:"object",description:"A description of the client of either the lab or the source.",properties:{accountNumber:{type:"string"},name:{type:"string"},address:{type:"string"},contact:{$ref:"#/$defs/person",description:"Who to contact at the client about this report."}}},report:{type:"object",description:` - This represents information about this document as seen by either the lab or th source, - depending on which key this report is under (lab or source). - i.e. this Modus document is a "report". This is different than how Modus v1.0 used the word - report, which was to represent PDF files separate from the Modus file. This schema places - those things under the files key.`,properties:{id:{$ref:"#/$defs/id",description:` - The id of this document at the lab or source, depending on which key it is under, - (lab or source). If the lab creates this document first, - then it should use this id also as the top-level id on the document, unless - it is not sufficiently random to avoid conflict with other labs' documents. - In that case, the lab should assign a UUID to the top level and use its own - internal id here. - `},date:{type:"string",format:"date",description:"Date the results were added to this report by the lab."}}},files:{description:` - Some labs include either a URI or a base64-encoded PDF in their Modus v1 files. - This files object is simply an unordered set of files, keyed by random string - identifiers. If the file is to be referened in the samples, the file must have an - id and the id must be the same as the key in this files object. There can be multiple - associdate files (PDF, XLSX, CSV, etc.). The file type should be inferrable from the - name on each file object. - `,additionalProperties:{type:"object",description:` - If you want to include the actual file, base64 encode it and put it in the base64 key. - Otheriwse, it can be at a URI. The file type should be inferred from the extension on - the name (i.e. something.pdf). - `,properties:{id:{type:"string",description:` - An ID for the file. If you want to refer to the file in the any given samples, - you need this id in order to refer to it with fileid. - `},name:{type:"string",description:"The filename of the file."},description:{type:"string"},uri:{type:"string",format:"uri"},base64:{type:"string",description:"The base64-encoded bytes of the file."}}}},depth:{type:"object",properties:{name:{type:"string",description:` - A human-readable version of this depth. Entirely optional and here primarily for - backwards compatibility. If an older file or spreadsheet uses a string for the depth - that is not easily parsable, it can be put as the name for posterity. If you know the - starting/ending depths, just put those in their resepective places instead. - `},top:{type:"number",description:"The top of the depth range being sampled. Should be less than the bottom."},bottom:{type:"number",description:"The bottom of the depth range being sampled. Should be greater than top."},units:{type:"string",description:'Any valid UCUM string representing a length, such as "in" or "cm".'}}},geolocation:{type:"object",description:` - Represents where a sample was taken. This can be global for all samples (i.e. a field boundary), - or, more ideally, a lat/lon for each point. If you just have a lat/lon point in the WGS84 datum, - just put the lat/lon in this object. For all other geometries, use geojson. If both lat/lon and - geojson are present for a geolocation, lat/lon takes precedence. - `,properties:{lat:{type:"number",description:"Latitude in the WGS84 datum"},lon:{type:"number",description:"Longitude in the WGS84 datum"},geojson:{type:"object",description:"GeoJSON representation of this location."}}},lab:{type:"object",description:` - This represents information about and for the lab that is producing the results. - It exists at the top-level of the document for any items that apply to all samples - and results in the document, and then it can also exist within samples or results - to specify things specific to that sample or result. Each sample or result's lab - object should be considered a "deep merge" of the top-level lab object and the - more specific lab object within the sample. Any keys present in both the top-level - lab object AND the sample-level object should be considered to be overridden in the - sample-level object (i.e. they replace the top-level key in the merge). - `,properties:{id:{$ref:"#/$defs/sourcedId"},name:{type:"string"},contact:{type:"object",description:"Information about how to contact the lab",properties:{name:{type:"string"},phone:{type:"string"},address:{type:"string"},email:{type:"string",format:"email"}}},client:{$ref:"#/$defs/client",description:"Info on the lab's client, as seen by the lab."},dateReceived:{type:"string",format:"date-time",description:"Day and time the lab received the samples. Could be overriden per-sample if needed."},dateProcessed:{type:"string",format:"date-time",description:"Day and time the lab processed the samples. Could be overriden per-sample if needed."},report:{$ref:"#/$defs/report",description:` - Information about this Modus document (id, date, etc.) as seen from the lab's - perspective. Refer to the $def for more informaiton. - `},files:{$ref:"#/$defs/files",description:` - Information representing other files associated with this Modus document at the lab. - Refer to the $defs for more information. - `},sampleid:{type:"string",description:` - ID of the sample assigned by the lab. This is not likely to be meaningful at the top-level, - and should therefore only appear in the sample's version of the lab key. - `},aliasid:{$ref:"#/$defs/aliasid",description:` - An id for a sample that can be found physically on it such as a bar code or QR code, as seen by the lab. - `},fileids:{type:"array",description:` - An array of fileid's in the list of files which are associated with this sample. Like sampleid, - this is not likely meaningful at the top level and should only really appear in the sample-specific - lab keys. - `,items:{type:"string",description:"Refers to a file in the list of files which is associated with this sample."}}}},source:{type:"object",description:` - This object represents information about the "source" of the samples. It is generally - about whomever sent the samples to the lab, and may original at the source, or be added - by the lab if known. It's purpose is primarily to identify this document and relate it - to other data at the source, such as a field where the samples were taken. The lab should - passthru anything found here when adding results if the source originated the document. - `,properties:{id:{$ref:"#/$defs/sourcedId",description:` - An identifier for the source. If self-assigned, use the "local" source. Please - refer to the id for the lab above: this follows the same rules and conventions. - `},date:{type:"string",format:"date",description:` - Date samples were collected at the source. If known, this should be the date used - as the top-level date for the document. This can be overridden per-sample under the - source key in each sample, so different samples can have different dates representing - different dates of collection. - `},contact:{$ref:"#/$defs/person",description:"Who to contact at the source for this document."},client:{$ref:"#/$defs/person",description:"If the source is submitting on behalf of their own client, put that info here."},report:{$ref:"#/$defs/report",description:` - Information about this Modus document (id, date, etc.) as seen from the source's - perspective. Refer to the $def for more informaiton. - `},files:{$ref:"#/$defs/files",description:` - Information representing other files associated with this Modus document at the source. - Refer to the $defs for more information. - `},grower:{type:"object",properties:{id:{$ref:"#/$defs/id"},name:{type:"string"}}},farm:{type:"object",properties:{id:{$ref:"#/$defs/id"},name:{type:"string"}}},field:{type:"object",properties:{id:{$ref:"#/$defs/id"},name:{type:"string"}}},subfield:{type:"object",properties:{id:{$ref:"#/$defs/id"},name:{type:"string"}}},sampleid:{type:"string",description:` - ID of the sample assigned by the source. This is not likely to be meaningful - at the top-level and therefore should only be used within the source key in - each sample. - `},aliasid:{$ref:"#/$defs/aliasid",description:` - An id for a sample that can be found physically on it such as a bar code or QR code, as seen by the source. - `},fileids:{type:"array",description:` - An array of fileid's in the list of files which are associated with this sample. Like sampleid, - this is not likely meaningful at the top level and should only really appear in the sample-specific - lab keys. - `,items:{type:"string",description:"Refers to a file in the list of files which is associated with this sample."}}}}},type:"object",properties:{_type:{const:"application/vnd.modus.slim.v1.0+json",description:"Content type for API responses. Must also be present on the document."},id:{$ref:"#/$defs/id",description:` - The "id" on the overall document is set by the original creator and should not be modified. - Both the lab and source have the option to set their own internal ID's in their respective - areas. It is expected (but not required) that if the lab originally creates the document, - the id on the document will be the same as the id under the lab key, and similar for the - source. Any two documents with the same top-level id should be considered the same. - `},date:{type:"string",format:"date",description:` - This is intended as the most significant, known date at the time of document creation. - It will be used as the primary "date" that systems can use to index this document. - Ideally, it is the date that the samples were collected in the field. However, in the - event that date is not known, for example if the lab is the first creator of the document - and the lab does not know the date the samples were collected, then the lab should assign - the date as the earliest date of significance, i.e. the date the lab received the samples. - Should a better date be determined later (i.e. the source receives the document from the - lab and can put in the actual sample collection date), the date should be changed to the - more significant date. - `},name:{type:"string",description:` - An optional short string that the source may use as a human-readable means of identifying - the group of samples in this document. - `},description:{type:"string",description:` - If the name is not long enough, more information can be put here about this group of - samples. - `},type:{enum:["soil","plant-tissue","nematode","water","residue"],description:` - This represents the type of samples and results to be found in this document. Mixing-and-matching - samples and types is not allowed: create multiple documents if you need to do that. "type" here - is top-level: i.e. it applies to all samples and results in this document. - `},depth:{$ref:"#/$defs/depth",description:` - If all or most of the samples in this document were taken at the same depth, you can place the depth - here globally and then override any sample-specific depths within the individual samples. - `},geolocation:{$ref:"#/$defs/geolocation",description:` - Any geolocation information that relates to all samples globally should go here. For example, - a boundary containing all the points that were sampled. If you have point-specific location - information, it should go in the sample-specific geolocation key under each sample. - `},crop:{},lab:{$ref:"#/$defs/lab",description:` - See description in the $defs. This represents global information about and for the lab - which applies docuent-wide (i.e. all samples and all results). - `},source:{$ref:"#/$defs/source",description:` - See description in the $defs. This represents global information about and for the source - which applies document-wide (i.e. all samples and all results). - `},samples:{description:` - The list of samples, keyed by their respective id's. - `,additionalProperties:{type:"object",properties:{id:{$ref:"#/$defs/id",description:` - An ID for this sample, assigned by whomever first creates this document containing this sample. It must - be the same as the key in the samples object (i.e. where this sample resides in the list). It must - be unique at least within this document. If you want a globally unique sampleid, prefix this id with the - id at the top-level of this document. - - If the lab creates this document first, this should be the same as the lab.sampleid. If the source - creates this sample first, it should be the same as the source.sampleid. However, it can also just - be assigned as something other than both, so this is just a recommendation. - `},lab:{$ref:"#/$defs/lab",description:` - Sample-specific overrides for anything in the top-level lab key. - `},source:{$ref:"#/$defs/source",description:` - Sample-specific overrides for anything in the top-level source key. - `},depth:{$ref:"#/$defs/depth",description:"The depth that this sample was taken. Overrides the top-level depth for this sample."},geolocation:{$ref:"#/$defs/geolocation",description:` - Geolocation where this sample was taken. Can be lat/lon (preferred) or geojson. - Refer to the $ref for more information. - `},results:{type:"object",description:` - A list of all the lab results associated with this sample, keyed by a sufficiently-unique string. - Note that since some analytes could be present multiple times, this should just be a random string. - `,additionalProperties:{type:"object",properties:{analyte:{type:"string",description:` - This should be the part of the Modus 2.0 test ID that is between the third and - fourth underscores: L_MODV2_SOIL_B_016 -> analyte: B. Refer to the Modus 2.0 spreadsheet - for the complete list of known analytes. - `},value:{description:` - The value of this lab result for this analyte. If it is numeric in nature, the type - should be number. If it cannot be reprented as a number, then it should be a string. - `,oneOf:[{type:"number"},{type:"string"}]},units:{type:"string",description:"The units for this value. Any UCUM-compliant string should be valid."},modusTestID:{type:"string",description:` - The Modus v2.0 (preferred) ID for the test that produced this result, or the Modus v1.0 - test ID. If neither is known, do not include this key. It is recommended to always - include the Modus v2.0 test ID if it is known. - `}}}}}}}},required:["id","date","type"],examples:[{_type:"application/vnd.modus.slim.v1.0+json",id:"ece3a2a8-4340-48b1-ae1f-d48d1f1e1692",date:"2021-09-24",name:"Samples taken last sunday",type:"soil",lab:{id:{source:"local",value:"1"},name:"A & L Great Lakes Laboratories",contact:{name:"A & L Great Lakes Laboratories",phone:"260.483.4759",address:`3505 Conestoga Dr. -Fort Wayne, IN 46808`},dateReceived:"2021-09-24T00:00:00.000",dateProcessed:"2021-09-28T00:00:00.000",clientAccount:{accountNumber:"30039",company:"THE ANDERSONS FARM CTR - GPS",city:"N MANCHESTER",state:"IN"},report:{id:"F21271-0035",date:"2021-09-25"}},source:{report:{id:"02iojfkeldjsldfssdf"},grower:{id:"dfj20foekdlf",name:"CARL AULT"},farm:{id:"kdjf02ijfoeklew",name:"ENYART"},field:{id:"idkjf20fijoed",name:"EAST50"}},samples:{"0djfi2iekldsfj02i":{lab:{sampleid:"28_051"},source:{sampleid:"ABC-1"},results:{kfj290ji:{analyte:"PH",value:7,units:"none",modusTestID:"S-PH-1:1.02.07"},"2fj290ji":{analyte:"OM",value:2.4,units:"%",modusTestID:"S-SOM-LOI.15"},"3fj290ji":{analyte:"P",value:34,units:"ppm",modusTestID:"S-P-B1-1:10.01.03"},"4fj290ji":{analyte:"K",value:161,units:"ppm",modusTestID:"S-K-NH4AC.05"},"5fj290ji":{analyte:"CA",value:1150,units:"ppm",modusTestID:"S-CA-NH4AC.05"},"6fj290ji":{analyte:"Mg",value:240,units:"ppm",modusTestID:"S-MG-NH4AC.05"},"7fj290ji":{analyte:"CEC",value:8.2,units:"meq/100g",modusTestID:"S-CEC.19"},"8fj290ji":{analyte:"CABS",value:70.4,units:"%",modusTestID:"S-BS-CA.19"},"9fj290ji":{analyte:"MGBS",value:24.5,units:"%",modusTestID:"S-BS-MG.19"},"0fj290ji":{analyte:"KBS",value:5.1,units:"%",modusTestID:"S-BS-K.19"},"11j290ji":{analyte:"SO4S",value:7,units:"ppm",modusTestID:"S-S-NH4AC.05"},"12j290ji":{analyte:"ZN",value:3.3,units:"ppm",modusTestID:"S-ZN-HCL.05"},"13j290ji":{analyte:"MN",value:46,units:"ppm",modusTestID:"S-MN-HCL.05"},"14j290ji":{analyte:"B",value:.7,units:"ppm",modusTestID:"S-B-M3.04"}}}}}]},wT=Rm.fullFormats.date,ZF={type:"object",properties:{source:{enum:["local"],description:` - A string representing the place that assigned this id. If the id does not come - from any official list, use "local". The value of this id should be considered - unique within the source list. If "local" is used, in order to ensure global - uniqueness, a random (or at least sufficiently unique) string should be generated. - For example, the id "ABCLabs_RoanokeVA" is sufficiently unique to represent an ID - for that particular lab, and preferred to simply a UUID. A given "local" should - use the same unique string to represent the same thing in subsequent documents. - `},value:{type:"string",description:"The actual sufficiently-unique string that is the id from this souce."}}},HS=/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,UP=Rm.fullFormats["date-time"],YF=Rm.fullFormats.uri;function $a(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.accountNumber!==void 0){const u=s;if(typeof e.accountNumber!="string")return $a.errors=[{instancePath:t+"/accountNumber",schemaPath:"#/properties/accountNumber/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=u===s}else var l=!0;if(l){if(e.name!==void 0){const u=s;if(typeof e.name!="string")return $a.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=u===s}else var l=!0;if(l){if(e.address!==void 0){const u=s;if(typeof e.address!="string")return $a.errors=[{instancePath:t+"/address",schemaPath:"#/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=u===s}else var l=!0;if(l)if(e.contact!==void 0){let u=e.contact;const m=s;if(u&&typeof u=="object"&&!Array.isArray(u)){if(u.name!==void 0){const f=s;if(typeof u.name!="string")return $a.errors=[{instancePath:t+"/contact/name",schemaPath:"#/$defs/person/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=f===s}else var o=!0;if(o){if(u.phone!==void 0){const f=s;if(typeof u.phone!="string")return $a.errors=[{instancePath:t+"/contact/phone",schemaPath:"#/$defs/person/properties/phone/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=f===s}else var o=!0;if(o){if(u.address!==void 0){const f=s;if(typeof u.address!="string")return $a.errors=[{instancePath:t+"/contact/address",schemaPath:"#/$defs/person/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=f===s}else var o=!0;if(o)if(u.email!==void 0){let f=u.email;const p=s;if(typeof f=="string"){if(!HS.test(f))return $a.errors=[{instancePath:t+"/contact/email",schemaPath:"#/$defs/person/properties/email/format",keyword:"format",params:{format:"email"},message:'must match format "email"'}],!1}else return $a.errors=[{instancePath:t+"/contact/email",schemaPath:"#/$defs/person/properties/email/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=p===s}else var o=!0}}}else return $a.errors=[{instancePath:t+"/contact",schemaPath:"#/$defs/person/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=m===s}else var l=!0}}}else return $a.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return $a.errors=i,s===0}function Dl(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.id!==void 0){const o=s;if(typeof e.id!="string")return Dl.errors=[{instancePath:t+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=o===s}else var l=!0;if(l)if(e.date!==void 0){let o=e.date;const u=s;if(typeof o=="string"){if(!wT.validate(o))return Dl.errors=[{instancePath:t+"/date",schemaPath:"#/properties/date/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return Dl.errors=[{instancePath:t+"/date",schemaPath:"#/properties/date/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=u===s}else var l=!0}else return Dl.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Dl.errors=i,s===0}function Fr(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.id!==void 0){let p=e.id;const h=s;if(s===s)if(p&&typeof p=="object"&&!Array.isArray(p)){if(p.source!==void 0){const _=s;if(p.source!=="local")return Fr.errors=[{instancePath:t+"/id/source",schemaPath:"#/$defs/sourcedId/properties/source/enum",keyword:"enum",params:{allowedValues:ZF.properties.source.enum},message:"must be equal to one of the allowed values"}],!1;var l=_===s}else var l=!0;if(l)if(p.value!==void 0){const _=s;if(typeof p.value!="string")return Fr.errors=[{instancePath:t+"/id/value",schemaPath:"#/$defs/sourcedId/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=_===s}else var l=!0}else return Fr.errors=[{instancePath:t+"/id",schemaPath:"#/$defs/sourcedId/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=h===s}else var o=!0;if(o){if(e.name!==void 0){const p=s;if(typeof e.name!="string")return Fr.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=p===s}else var o=!0;if(o){if(e.contact!==void 0){let p=e.contact;const h=s;if(s===h)if(p&&typeof p=="object"&&!Array.isArray(p)){if(p.name!==void 0){const _=s;if(typeof p.name!="string")return Fr.errors=[{instancePath:t+"/contact/name",schemaPath:"#/properties/contact/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=_===s}else var u=!0;if(u){if(p.phone!==void 0){const _=s;if(typeof p.phone!="string")return Fr.errors=[{instancePath:t+"/contact/phone",schemaPath:"#/properties/contact/properties/phone/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=_===s}else var u=!0;if(u){if(p.address!==void 0){const _=s;if(typeof p.address!="string")return Fr.errors=[{instancePath:t+"/contact/address",schemaPath:"#/properties/contact/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=_===s}else var u=!0;if(u)if(p.email!==void 0){let _=p.email;const y=s;if(s===y&&s===y)if(typeof _=="string"){if(!HS.test(_))return Fr.errors=[{instancePath:t+"/contact/email",schemaPath:"#/properties/contact/properties/email/format",keyword:"format",params:{format:"email"},message:'must match format "email"'}],!1}else return Fr.errors=[{instancePath:t+"/contact/email",schemaPath:"#/properties/contact/properties/email/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=y===s}else var u=!0}}}else return Fr.errors=[{instancePath:t+"/contact",schemaPath:"#/properties/contact/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=h===s}else var o=!0;if(o){if(e.client!==void 0){const p=s;$a(e.client,{instancePath:t+"/client",parentData:e,parentDataProperty:"client",rootData:a})||(i=i===null?$a.errors:i.concat($a.errors),s=i.length);var o=p===s}else var o=!0;if(o){if(e.dateReceived!==void 0){let p=e.dateReceived;const h=s;if(s===h&&s===h)if(typeof p=="string"){if(!UP.validate(p))return Fr.errors=[{instancePath:t+"/dateReceived",schemaPath:"#/properties/dateReceived/format",keyword:"format",params:{format:"date-time"},message:'must match format "date-time"'}],!1}else return Fr.errors=[{instancePath:t+"/dateReceived",schemaPath:"#/properties/dateReceived/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=h===s}else var o=!0;if(o){if(e.dateProcessed!==void 0){let p=e.dateProcessed;const h=s;if(s===h&&s===h)if(typeof p=="string"){if(!UP.validate(p))return Fr.errors=[{instancePath:t+"/dateProcessed",schemaPath:"#/properties/dateProcessed/format",keyword:"format",params:{format:"date-time"},message:'must match format "date-time"'}],!1}else return Fr.errors=[{instancePath:t+"/dateProcessed",schemaPath:"#/properties/dateProcessed/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=h===s}else var o=!0;if(o){if(e.report!==void 0){const p=s;Dl(e.report,{instancePath:t+"/report",parentData:e,parentDataProperty:"report",rootData:a})||(i=i===null?Dl.errors:i.concat(Dl.errors),s=i.length);var o=p===s}else var o=!0;if(o){if(e.files!==void 0){let p=e.files;const h=s;if(p&&typeof p=="object"&&!Array.isArray(p))for(const _ in p){let y=p[_];const g=s;if(s===g)if(y&&typeof y=="object"&&!Array.isArray(y)){if(y.id!==void 0){const S=s;if(typeof y.id!="string")return Fr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/id",schemaPath:"#/$defs/files/additionalProperties/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=S===s}else var m=!0;if(m){if(y.name!==void 0){const S=s;if(typeof y.name!="string")return Fr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/name",schemaPath:"#/$defs/files/additionalProperties/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=S===s}else var m=!0;if(m){if(y.description!==void 0){const S=s;if(typeof y.description!="string")return Fr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/description",schemaPath:"#/$defs/files/additionalProperties/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=S===s}else var m=!0;if(m){if(y.uri!==void 0){let S=y.uri;const v=s;if(s===v&&s===v)if(typeof S=="string"){if(!YF(S))return Fr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/uri",schemaPath:"#/$defs/files/additionalProperties/properties/uri/format",keyword:"format",params:{format:"uri"},message:'must match format "uri"'}],!1}else return Fr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/uri",schemaPath:"#/$defs/files/additionalProperties/properties/uri/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=v===s}else var m=!0;if(m)if(y.base64!==void 0){const S=s;if(typeof y.base64!="string")return Fr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/base64",schemaPath:"#/$defs/files/additionalProperties/properties/base64/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=S===s}else var m=!0}}}}else return Fr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1"),schemaPath:"#/$defs/files/additionalProperties/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var c=g===s;if(!c)break}var o=h===s}else var o=!0;if(o){if(e.sampleid!==void 0){const p=s;if(typeof e.sampleid!="string")return Fr.errors=[{instancePath:t+"/sampleid",schemaPath:"#/properties/sampleid/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=p===s}else var o=!0;if(o){if(e.aliasid!==void 0){const p=s;if(typeof e.aliasid!="string")return Fr.errors=[{instancePath:t+"/aliasid",schemaPath:"#/$defs/aliasid/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=p===s}else var o=!0;if(o)if(e.fileids!==void 0){let p=e.fileids;const h=s;if(s===h)if(Array.isArray(p)){var f=!0;const _=p.length;for(let y=0;y<_;y++){const g=s;if(typeof p[y]!="string")return Fr.errors=[{instancePath:t+"/fileids/"+y,schemaPath:"#/properties/fileids/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=g===s;if(!f)break}}else return Fr.errors=[{instancePath:t+"/fileids",schemaPath:"#/properties/fileids/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var o=h===s}else var o=!0}}}}}}}}}}else return Fr.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Fr.errors=i,s===0}function or(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.id!==void 0){let g=e.id;const S=s;if(s===s)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.source!==void 0){const M=s;if(g.source!=="local")return or.errors=[{instancePath:t+"/id/source",schemaPath:"#/$defs/sourcedId/properties/source/enum",keyword:"enum",params:{allowedValues:ZF.properties.source.enum},message:"must be equal to one of the allowed values"}],!1;var l=M===s}else var l=!0;if(l)if(g.value!==void 0){const M=s;if(typeof g.value!="string")return or.errors=[{instancePath:t+"/id/value",schemaPath:"#/$defs/sourcedId/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=M===s}else var l=!0}else return or.errors=[{instancePath:t+"/id",schemaPath:"#/$defs/sourcedId/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.date!==void 0){let g=e.date;const S=s;if(s===S&&s===S)if(typeof g=="string"){if(!wT.validate(g))return or.errors=[{instancePath:t+"/date",schemaPath:"#/properties/date/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return or.errors=[{instancePath:t+"/date",schemaPath:"#/properties/date/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=S===s}else var o=!0;if(o){if(e.contact!==void 0){let g=e.contact;const S=s;if(s===s)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.name!==void 0){const I=s;if(typeof g.name!="string")return or.errors=[{instancePath:t+"/contact/name",schemaPath:"#/$defs/person/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=I===s}else var u=!0;if(u){if(g.phone!==void 0){const I=s;if(typeof g.phone!="string")return or.errors=[{instancePath:t+"/contact/phone",schemaPath:"#/$defs/person/properties/phone/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=I===s}else var u=!0;if(u){if(g.address!==void 0){const I=s;if(typeof g.address!="string")return or.errors=[{instancePath:t+"/contact/address",schemaPath:"#/$defs/person/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=I===s}else var u=!0;if(u)if(g.email!==void 0){let I=g.email;const D=s;if(s===D&&s===D)if(typeof I=="string"){if(!HS.test(I))return or.errors=[{instancePath:t+"/contact/email",schemaPath:"#/$defs/person/properties/email/format",keyword:"format",params:{format:"email"},message:'must match format "email"'}],!1}else return or.errors=[{instancePath:t+"/contact/email",schemaPath:"#/$defs/person/properties/email/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=D===s}else var u=!0}}}else return or.errors=[{instancePath:t+"/contact",schemaPath:"#/$defs/person/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.client!==void 0){let g=e.client;const S=s;if(s===s)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.name!==void 0){const I=s;if(typeof g.name!="string")return or.errors=[{instancePath:t+"/client/name",schemaPath:"#/$defs/person/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=I===s}else var m=!0;if(m){if(g.phone!==void 0){const I=s;if(typeof g.phone!="string")return or.errors=[{instancePath:t+"/client/phone",schemaPath:"#/$defs/person/properties/phone/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=I===s}else var m=!0;if(m){if(g.address!==void 0){const I=s;if(typeof g.address!="string")return or.errors=[{instancePath:t+"/client/address",schemaPath:"#/$defs/person/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=I===s}else var m=!0;if(m)if(g.email!==void 0){let I=g.email;const D=s;if(s===D&&s===D)if(typeof I=="string"){if(!HS.test(I))return or.errors=[{instancePath:t+"/client/email",schemaPath:"#/$defs/person/properties/email/format",keyword:"format",params:{format:"email"},message:'must match format "email"'}],!1}else return or.errors=[{instancePath:t+"/client/email",schemaPath:"#/$defs/person/properties/email/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=D===s}else var m=!0}}}else return or.errors=[{instancePath:t+"/client",schemaPath:"#/$defs/person/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.report!==void 0){const g=s;Dl(e.report,{instancePath:t+"/report",parentData:e,parentDataProperty:"report",rootData:a})||(i=i===null?Dl.errors:i.concat(Dl.errors),s=i.length);var o=g===s}else var o=!0;if(o){if(e.files!==void 0){let g=e.files;const S=s;if(g&&typeof g=="object"&&!Array.isArray(g))for(const M in g){let I=g[M];const D=s;if(s===D)if(I&&typeof I=="object"&&!Array.isArray(I)){if(I.id!==void 0){const k=s;if(typeof I.id!="string")return or.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/id",schemaPath:"#/$defs/files/additionalProperties/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=k===s}else var c=!0;if(c){if(I.name!==void 0){const k=s;if(typeof I.name!="string")return or.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/name",schemaPath:"#/$defs/files/additionalProperties/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=k===s}else var c=!0;if(c){if(I.description!==void 0){const k=s;if(typeof I.description!="string")return or.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/description",schemaPath:"#/$defs/files/additionalProperties/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=k===s}else var c=!0;if(c){if(I.uri!==void 0){let k=I.uri;const E=s;if(s===E&&s===E)if(typeof k=="string"){if(!YF(k))return or.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/uri",schemaPath:"#/$defs/files/additionalProperties/properties/uri/format",keyword:"format",params:{format:"uri"},message:'must match format "uri"'}],!1}else return or.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/uri",schemaPath:"#/$defs/files/additionalProperties/properties/uri/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=E===s}else var c=!0;if(c)if(I.base64!==void 0){const k=s;if(typeof I.base64!="string")return or.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/base64",schemaPath:"#/$defs/files/additionalProperties/properties/base64/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=k===s}else var c=!0}}}}else return or.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1"),schemaPath:"#/$defs/files/additionalProperties/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=D===s;if(!f)break}var o=S===s}else var o=!0;if(o){if(e.grower!==void 0){let g=e.grower;const S=s;if(s===S)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.id!==void 0){const M=s;if(typeof g.id!="string")return or.errors=[{instancePath:t+"/grower/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var p=M===s}else var p=!0;if(p)if(g.name!==void 0){const M=s;if(typeof g.name!="string")return or.errors=[{instancePath:t+"/grower/name",schemaPath:"#/properties/grower/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var p=M===s}else var p=!0}else return or.errors=[{instancePath:t+"/grower",schemaPath:"#/properties/grower/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.farm!==void 0){let g=e.farm;const S=s;if(s===S)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.id!==void 0){const M=s;if(typeof g.id!="string")return or.errors=[{instancePath:t+"/farm/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var h=M===s}else var h=!0;if(h)if(g.name!==void 0){const M=s;if(typeof g.name!="string")return or.errors=[{instancePath:t+"/farm/name",schemaPath:"#/properties/farm/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var h=M===s}else var h=!0}else return or.errors=[{instancePath:t+"/farm",schemaPath:"#/properties/farm/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.field!==void 0){let g=e.field;const S=s;if(s===S)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.id!==void 0){const M=s;if(typeof g.id!="string")return or.errors=[{instancePath:t+"/field/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var d=M===s}else var d=!0;if(d)if(g.name!==void 0){const M=s;if(typeof g.name!="string")return or.errors=[{instancePath:t+"/field/name",schemaPath:"#/properties/field/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var d=M===s}else var d=!0}else return or.errors=[{instancePath:t+"/field",schemaPath:"#/properties/field/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.subfield!==void 0){let g=e.subfield;const S=s;if(s===S)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.id!==void 0){const M=s;if(typeof g.id!="string")return or.errors=[{instancePath:t+"/subfield/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var _=M===s}else var _=!0;if(_)if(g.name!==void 0){const M=s;if(typeof g.name!="string")return or.errors=[{instancePath:t+"/subfield/name",schemaPath:"#/properties/subfield/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var _=M===s}else var _=!0}else return or.errors=[{instancePath:t+"/subfield",schemaPath:"#/properties/subfield/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=S===s}else var o=!0;if(o){if(e.sampleid!==void 0){const g=s;if(typeof e.sampleid!="string")return or.errors=[{instancePath:t+"/sampleid",schemaPath:"#/properties/sampleid/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=g===s}else var o=!0;if(o){if(e.aliasid!==void 0){const g=s;if(typeof e.aliasid!="string")return or.errors=[{instancePath:t+"/aliasid",schemaPath:"#/$defs/aliasid/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=g===s}else var o=!0;if(o)if(e.fileids!==void 0){let g=e.fileids;const S=s;if(s===S)if(Array.isArray(g)){var y=!0;const M=g.length;for(let I=0;I=55296&&a<=56319&&n=",limit:1},message:"must be >= 1"}],!1;var l=f===s}else var l=!0;if(l){if(e.ExpirationDate!==void 0){let c=e.ExpirationDate;const f=s;if(typeof c=="string"){if(!Lm.validate(c))return vs.errors=[{instancePath:t+"/ExpirationDate",schemaPath:"#/properties/ExpirationDate/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return vs.errors=[{instancePath:t+"/ExpirationDate",schemaPath:"#/properties/ExpirationDate/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=f===s}else var l=!0;if(l)if(e.RecID!==void 0){let c=e.RecID;const f=s;if(!(typeof c=="number"&&!(c%1)&&!isNaN(c)))return vs.errors=[{instancePath:t+"/RecID",schemaPath:"#/properties/RecID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(typeof c=="number"&&(c<1||isNaN(c)))return vs.errors=[{instancePath:t+"/RecID",schemaPath:"#/properties/RecID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var l=f===s}else var l=!0}}}}}else return vs.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return vs.errors=i,s===0}function Hu(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(Array.isArray(e)){var l=!0;const o=e.length;for(let u=0;u=",limit:0},message:"must be >= 0"}],!1;var c=nt===s}else var c=!0;if(c){if(ee.EndingDepth!==void 0){let me=ee.EndingDepth;const nt=s;if(!(typeof me=="number"&&!(me%1)&&!isNaN(me)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof me=="number"&&(me<0||isNaN(me)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var c=nt===s}else var c=!0;if(c){if(ee.ColumnDepth!==void 0){let me=ee.ColumnDepth;const nt=s;if(!(typeof me=="number"&&!(me%1)&&!isNaN(me)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof me=="number"&&(me<0||isNaN(me)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var c=nt===s}else var c=!0;if(c){if(ee.DepthUnit!==void 0){const me=s;if(typeof ee.DepthUnit!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=me===s}else var c=!0;if(c)if(ee.DepthID!==void 0){let me=ee.DepthID;const nt=s;if(!(typeof me=="number"&&!(me%1)&&!isNaN(me)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof me=="number"&&(me<1||isNaN(me)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var c=nt===s}else var c=!0}}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=Ye===s;if(!m)break}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var f=de===s}else var f=!0;if(f){if(U.RecommendationRefs!==void 0){const Se=s;$u(U.RecommendationRefs,{instancePath:t+"/Events/"+C+"/EventSamples/Soil/RecommendationRefs",parentData:U,parentDataProperty:"RecommendationRefs",rootData:a})||(i=i===null?$u.errors:i.concat($u.errors),s=i.length);var f=Se===s}else var f=!0;if(f)if(U.SoilSamples!==void 0){let Se=U.SoilSamples;const de=s;if(s===de)if(Array.isArray(Se)){var p=!0;const It=Se.length;for(let Q=0;Q=",limit:0},message:"must be >= 0"}],!1;var _=lt===s}else var _=!0;if(_){if(ye.SubSampleID!==void 0){const We=s;if(typeof ye.SubSampleID!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var _=We===s}else var _=!0;if(_)if(ye.Geometry!==void 0){let We=ye.Geometry;const lt=s;if(s===lt)if(We&&typeof We=="object"&&!Array.isArray(We)){if(We.epsg!==void 0){let gt=We.epsg;if(!(typeof gt=="number"&&!(gt%1)&&!isNaN(gt)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=lt===s}else var _=!0}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var d=fe===s;if(!d)break}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var h=ne===s}else var h=!0;if(h)if(De.TestPackages!==void 0){let A=De.TestPackages;const ne=s;if(s===ne)if(Array.isArray(A)){var y=!0;const Ge=A.length;for(let ue=0;ue1){const fe={};for(;ue--;){let Qe=A[ue];if(typeof Qe=="string"){if(typeof fe[Qe]=="number")return ye=fe[Qe],pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ue,j:ye},message:"must NOT have duplicate items (items ## "+ye+" and "+ue+" are identical)"}],!1;fe[Qe]=ue}}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var h=ne===s}else var h=!0}}}}}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var g=me===s}else var g=!0;if(g){if(ee.Depths!==void 0){let De=ee.Depths;const me=s;if(s===me)if(Array.isArray(De)){var S=!0;const A=De.length;for(let ne=0;ne=",limit:0},message:"must be >= 0"}],!1;var E=yt===s}else var E=!0;if(E){if(fe.SubSampleID!==void 0){const lt=s;if(typeof fe.SubSampleID!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var E=lt===s}else var E=!0;if(E)if(fe.Geometry!==void 0){let lt=fe.Geometry;const yt=s;if(s===yt)if(lt&&typeof lt=="object"&&!Array.isArray(lt)){if(lt.epsg!==void 0){let Ht=lt.epsg;if(!(typeof Ht=="number"&&!(Ht%1)&&!isNaN(Ht)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var E=yt===s}else var E=!0}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var k=Qe===s;if(!k)break}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=je===s}else var D=!0;if(D)if(me.TestPackages!==void 0){let ne=me.TestPackages;const je=s;if(s===je)if(Array.isArray(ne)){var z=!0;const ue=ne.length;for(let ye=0;ye1){const Qe={};for(;ye--;){let We=ne[ye];if(typeof We=="string"){if(typeof Qe[We]=="number")return fe=Qe[We],pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ye,j:fe},message:"must NOT have duplicate items (items ## "+fe+" and "+ye+" are identical)"}],!1;Qe[We]=ye}}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=je===s}else var D=!0}}}}}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var B=nt===s}else var B=!0;if(B)if(Ye.Comments!==void 0){const me=s;if(typeof Ye.Comments!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var B=me===s}else var B=!0}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/properties/PlantSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var I=Et===s;if(!I)break}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/properties/PlantSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var M=He===s}else var M=!0}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=te===s}else var v=!0;if(v){if(qe.Nematode!==void 0){let U=qe.Nematode;const te=s;if(s===te)if(U&&typeof U=="object"&&!Array.isArray(U)){if(U.DepthRefs!==void 0){let de=U.DepthRefs;const He=s;if(s===s)if(Array.isArray(de)){var P=!0;const Q=de.length;for(let ee=0;ee=",limit:0},message:"must be >= 0"}],!1;var F=A===s}else var F=!0;if(F){if(Ye.EndingDepth!==void 0){let nt=Ye.EndingDepth;const A=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===A&&typeof nt=="number"&&(nt<0||isNaN(nt)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var F=A===s}else var F=!0;if(F){if(Ye.ColumnDepth!==void 0){let nt=Ye.ColumnDepth;const A=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===A&&typeof nt=="number"&&(nt<0||isNaN(nt)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var F=A===s}else var F=!0;if(F){if(Ye.DepthUnit!==void 0){const nt=s;if(typeof Ye.DepthUnit!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var F=nt===s}else var F=!0;if(F)if(Ye.DepthID!==void 0){let nt=Ye.DepthID;const A=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===A&&typeof nt=="number"&&(nt<1||isNaN(nt)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var F=A===s}else var F=!0}}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var P=Et===s;if(!P)break}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var L=He===s}else var L=!0;if(L)if(U.NematodeSamples!==void 0){let de=U.NematodeSamples;const He=s;if(s===He)if(Array.isArray(de)){var H=!0;const Q=de.length;for(let ee=0;ee=",limit:0},message:"must be >= 0"}],!1;var pe=yt===s}else var pe=!0;if(pe){if(fe.SubSampleID!==void 0){const lt=s;if(typeof fe.SubSampleID!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var pe=lt===s}else var pe=!0;if(pe)if(fe.Geometry!==void 0){let lt=fe.Geometry;const yt=s;if(s===yt)if(lt&&typeof lt=="object"&&!Array.isArray(lt)){if(lt.epsg!==void 0){let Ht=lt.epsg;if(!(typeof Ht=="number"&&!(Ht%1)&&!isNaN(Ht)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var pe=yt===s}else var pe=!0}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var G=Qe===s;if(!G)break}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ie=je===s}else var ie=!0;if(ie)if(me.TestPackages!==void 0){let ne=me.TestPackages;const je=s;if(s===je)if(Array.isArray(ne)){var W=!0;const ue=ne.length;for(let ye=0;ye1){const Qe={};for(;ye--;){let We=ne[ye];if(typeof We=="string"){if(typeof Qe[We]=="number")return fe=Qe[We],pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ye,j:fe},message:"must NOT have duplicate items (items ## "+fe+" and "+ye+" are identical)"}],!1;Qe[We]=ye}}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ie=je===s}else var ie=!0}}}}}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ce=nt===s}else var ce=!0;if(ce){if(Ye.Depths!==void 0){let me=Ye.Depths;const nt=s;if(s===nt)if(Array.isArray(me)){var J=!0;const ne=me.length;for(let je=0;je=",limit:1},message:"must be >= 1"}],!1}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/Depths/"+je,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var J=ue===s;if(!J)break}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/Depths",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ce=nt===s}else var ce=!0;if(ce)if(Ye.Comments!==void 0){const me=s;if(typeof Ye.Comments!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var ce=me===s}else var ce=!0}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var H=Et===s;if(!H)break}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var L=He===s}else var L=!0}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=te===s}else var v=!0;if(v){if(qe.Water!==void 0){let U=qe.Water;const te=s;if(s===te)if(U&&typeof U=="object"&&!Array.isArray(U)){if(U.WaterSamples!==void 0){let de=U.WaterSamples;if(s===s)if(Array.isArray(de)){var R=!0;const It=de.length;for(let Q=0;Q=",limit:0},message:"must be >= 0"}],!1;var Z=lt===s}else var Z=!0;if(Z){if(ye.SubSampleID!==void 0){const We=s;if(typeof ye.SubSampleID!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Z=We===s}else var Z=!0;if(Z)if(ye.Geometry!==void 0){let We=ye.Geometry;const lt=s;if(s===lt)if(We&&typeof We=="object"&&!Array.isArray(We)){if(We.epsg!==void 0){let gt=We.epsg;if(!(typeof gt=="number"&&!(gt%1)&&!isNaN(gt)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Z=lt===s}else var Z=!0}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Y=fe===s;if(!Y)break}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var V=ne===s}else var V=!0;if(V)if(De.TestPackages!==void 0){let A=De.TestPackages;const ne=s;if(s===ne)if(Array.isArray(A)){var Re=!0;const Ge=A.length;for(let ue=0;ue1){const fe={};for(;ue--;){let Qe=A[ue];if(typeof Qe=="string"){if(typeof fe[Qe]=="number")return ye=fe[Qe],pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ue,j:ye},message:"must NOT have duplicate items (items ## "+ye+" and "+ue+" are identical)"}],!1;fe[Qe]=ue}}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var V=ne===s}else var V=!0}}}}}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Je=me===s}else var Je=!0;if(Je){if(ee.Source!==void 0){const De=s;if(typeof ee.Source!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/Source",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/items/properties/Source/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Je=De===s}else var Je=!0;if(Je){if(ee.NutrientResults!==void 0){let De=ee.NutrientResults;const me=s;if(s===s)if(Array.isArray(De)){var xe=!0;const ne=De.length;for(let je=0;je=",limit:0},message:"must be >= 0"}],!1;var vt=lt===s}else var vt=!0;if(vt){if(ye.SubSampleID!==void 0){const We=s;if(typeof ye.SubSampleID!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var vt=We===s}else var vt=!0;if(vt)if(ye.Geometry!==void 0){let We=ye.Geometry;const lt=s;if(s===lt)if(We&&typeof We=="object"&&!Array.isArray(We)){if(We.epsg!==void 0){let gt=We.epsg;if(!(typeof gt=="number"&&!(gt%1)&&!isNaN(gt)))return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var vt=lt===s}else var vt=!0}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ne=fe===s;if(!Ne)break}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Pe=ne===s}else var Pe=!0;if(Pe)if(De.TestPackages!==void 0){let A=De.TestPackages;const ne=s;if(s===ne)if(Array.isArray(A)){var T=!0;const Ge=A.length;for(let ue=0;ue1){const fe={};for(;ue--;){let Qe=A[ue];if(typeof Qe=="string"){if(typeof fe[Qe]=="number")return ye=fe[Qe],pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ue,j:ye},message:"must NOT have duplicate items (items ## "+ye+" and "+ue+" are identical)"}],!1;fe[Qe]=ue}}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Pe=ne===s}else var Pe=!0}}}}}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var we=me===s}else var we=!0;if(we){if(ee.ResidueResults!==void 0){let De=ee.ResidueResults;const me=s;if(s===s)if(Array.isArray(De)){var Ue=!0;const ne=De.length;for(let je=0;je50)return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/maxLength",keyword:"maxLength",params:{limit:50},message:"must NOT have more than 50 characters"}],!1;if(WS(fe)<1)return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters"}],!1}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=Qe===s}else var K=!0;if(K){if(Ge.Value!==void 0){const fe=s;if(typeof Ge.Value!="number")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/Value",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/Value/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var K=fe===s}else var K=!0;if(K){if(Ge.ValueUnit!==void 0){const fe=s;if(typeof Ge.ValueUnit!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/ValueUnit",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=fe===s}else var K=!0;if(K){if(Ge.ValueType!==void 0){const fe=s;if(typeof Ge.ValueType!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/ValueType",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=fe===s}else var K=!0;if(K)if(Ge.ValueDesc!==void 0){const fe=s;if(typeof Ge.ValueDesc!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueDesc/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=fe===s}else var K=!0}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je,schemaPath:"./global.schema.json#/$defs/ResidueResults/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ue=ue===s;if(!Ue)break}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults",schemaPath:"./global.schema.json#/$defs/ResidueResults/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var we=me===s}else var we=!0;if(we)if(ee.Comments!==void 0){const De=s;if(typeof ee.Comments!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var we=De===s}else var we=!0}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var et=Ye===s;if(!et)break}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=te===s}else var v=!0}}}}else return pt.errors=[{instancePath:t+"/Events/"+C+"/EventSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=se===s}else var u=!0;if(u){if(Ce.Comments!==void 0){const qe=s;if(typeof Ce.Comments!="string")return pt.errors=[{instancePath:t+"/Events/"+C+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=qe===s}else var u=!0;if(u)if(Ce.ModusSubmit!==void 0){const qe=s;pt(Ce.ModusSubmit,{instancePath:t+"/Events/"+C+"/ModusSubmit",parentData:Ce,parentDataProperty:"ModusSubmit",rootData:a})||(i=i===null?pt.errors:i.concat(pt.errors),s=i.length);var u=qe===s}else var u=!0}}}}}}else return pt.errors=[{instancePath:t+"/Events/"+C,schemaPath:"#/properties/Events/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=mt===s;if(!o)break}}else return pt.errors=[{instancePath:t+"/Events",schemaPath:"#/properties/Events/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var l=ge===s}else var l=!0;if(l)if(e.Version!==void 0){const q=s;if(typeof e.Version!="string")return pt.errors=[{instancePath:t+"/Version",schemaPath:"#/properties/Version/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=q===s}else var l=!0}}else return pt.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return pt.errors=i,s===0}function st(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){if(e._type!==void 0){const Et=s;if(e._type!=="application/vnd.modus.v1.modus-result+json")return st.errors=[{instancePath:t+"/_type",schemaPath:"#/properties/_type/const",keyword:"const",params:{allowedValue:"application/vnd.modus.v1.modus-result+json"},message:"must be equal to constant"}],!1;var l=Et===s}else var l=!0;if(l){if(e.Events!==void 0){let Et=e.Events;const De=s;if(s===De)if(Array.isArray(Et)){var o=!0;const nt=Et.length;for(let A=0;A=",limit:0},message:"must be >= 0"}],!1;var f=ve===s}else var f=!0;if(f){if(j.EndingDepth!==void 0){let ae=j.EndingDepth;const ve=s;if(!(typeof ae=="number"&&!(ae%1)&&!isNaN(ae)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===ve&&typeof ae=="number"&&(ae<0||isNaN(ae)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var f=ve===s}else var f=!0;if(f){if(j.ColumnDepth!==void 0){let ae=j.ColumnDepth;const ve=s;if(!(typeof ae=="number"&&!(ae%1)&&!isNaN(ae)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===ve&&typeof ae=="number"&&(ae<0||isNaN(ae)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var f=ve===s}else var f=!0;if(f){if(j.DepthUnit!==void 0){const ae=s;if(typeof j.DepthUnit!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=ae===s}else var f=!0;if(f)if(j.DepthID!==void 0){let ae=j.DepthID;const ve=s;if(!(typeof ae=="number"&&!(ae%1)&&!isNaN(ae)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===ve&&typeof ae=="number"&&(ae<1||isNaN(ae)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var f=ve===s}else var f=!0}}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs/"+Fe,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var c=he===s;if(!c)break}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var p=yt===s}else var p=!0;if(p){if(Qe.RecommendationRefs!==void 0){const lt=s;Hu(Qe.RecommendationRefs,{instancePath:t+"/Events/"+A+"/EventSamples/Soil/RecommendationRefs",parentData:Qe,parentDataProperty:"RecommendationRefs",rootData:a})||(i=i===null?Hu.errors:i.concat(Hu.errors),s=i.length);var p=lt===s}else var p=!0;if(p)if(Qe.SoilSamples!==void 0){let lt=Qe.SoilSamples;const yt=s;if(s===yt)if(Array.isArray(lt)){var h=!0;const Ht=lt.length;for(let Fe=0;Fe=",limit:0},message:"must be >= 0"}],!1;var y=Ze===s}else var y=!0;if(y){if(Ee.SubSampleID!==void 0){const ze=s;if(typeof Ee.SubSampleID!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var y=ze===s}else var y=!0;if(y)if(Ee.Geometry!==void 0){let ze=Ee.Geometry;const Ze=s;if(s===Ze)if(ze&&typeof ze=="object"&&!Array.isArray(ze)){if(ze.epsg!==void 0){let St=ze.epsg;if(!(typeof St=="number"&&!(St%1)&&!isNaN(St)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var y=Ze===s}else var y=!0}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=Ve===s;if(!_)break}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var d=_e===s}else var d=!0;if(d)if(le.TestPackages!==void 0){let Me=le.TestPackages;const _e=s;if(s===_e)if(Array.isArray(Me)){var g=!0;const ke=Me.length;for(let Ie=0;Ie1){const Ve={};for(;Ie--;){let it=Me[Ie];if(typeof it=="string"){if(typeof Ve[it]=="number")return Ee=Ve[it],st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ie,j:Ee},message:"must NOT have duplicate items (items ## "+Ee+" and "+Ie+" are identical)"}],!1;Ve[it]=Ie}}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var d=_e===s}else var d=!0}}}}}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Soil/SoilSamples/"+Fe+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var S=ae===s}else var S=!0;if(S){if(j.Depths!==void 0){let le=j.Depths;const ae=s;if(s===ae)if(Array.isArray(le)){var v=!0;const Me=le.length;for(let _e=0;_e=",limit:0},message:"must be >= 0"}],!1;var W=ct===s}else var W=!0;if(W){if(Ve.SubSampleID!==void 0){const Ze=s;if(typeof Ve.SubSampleID!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/SubSamples/"+Ee+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var W=Ze===s}else var W=!0;if(W)if(Ve.Geometry!==void 0){let Ze=Ve.Geometry;const ct=s;if(s===ct)if(Ze&&typeof Ze=="object"&&!Array.isArray(Ze)){if(Ze.epsg!==void 0){let xt=Ze.epsg;if(!(typeof xt=="number"&&!(xt%1)&&!isNaN(xt)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/SubSamples/"+Ee+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/SubSamples/"+Ee+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var W=ct===s}else var W=!0}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/SubSamples/"+Ee,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var pe=it===s;if(!pe)break}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var G=Oe===s}else var G=!0;if(G)if(ae.TestPackages!==void 0){let _e=ae.TestPackages;const Oe=s;if(s===Oe)if(Array.isArray(_e)){var ce=!0;const Ie=_e.length;for(let Ee=0;Ee1){const it={};for(;Ee--;){let ze=_e[Ee];if(typeof ze=="string"){if(typeof it[ze]=="number")return Ve=it[ze],st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ee,j:Ve},message:"must NOT have duplicate items (items ## "+Ve+" and "+Ee+" are identical)"}],!1;it[ze]=Ee}}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var G=Oe===s}else var G=!0}}}}}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Plant/PlantSamples/"+j+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var J=ve===s}else var J=!0;if(J){if(he.NutrientResults!==void 0){let ae=he.NutrientResults;const ve=s;if(s===s)if(Array.isArray(ae)){var R=!0;const Oe=ae.length;for(let ke=0;ke=",limit:0},message:"must be >= 0"}],!1;var xe=Me===s}else var xe=!0;if(xe){if(he.EndingDepth!==void 0){let ve=he.EndingDepth;const Me=s;if(!(typeof ve=="number"&&!(ve%1)&&!isNaN(ve)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===Me&&typeof ve=="number"&&(ve<0||isNaN(ve)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var xe=Me===s}else var xe=!0;if(xe){if(he.ColumnDepth!==void 0){let ve=he.ColumnDepth;const Me=s;if(!(typeof ve=="number"&&!(ve%1)&&!isNaN(ve)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===Me&&typeof ve=="number"&&(ve<0||isNaN(ve)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var xe=Me===s}else var xe=!0;if(xe){if(he.DepthUnit!==void 0){const ve=s;if(typeof he.DepthUnit!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var xe=ve===s}else var xe=!0;if(xe)if(he.DepthID!==void 0){let ve=he.DepthID;const Me=s;if(!(typeof ve=="number"&&!(ve%1)&&!isNaN(ve)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===Me&&typeof ve=="number"&&(ve<1||isNaN(ve)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var xe=Me===s}else var xe=!0}}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs/"+j,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Je=Ae===s;if(!Je)break}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var be=gt===s}else var be=!0;if(be)if(Qe.NematodeSamples!==void 0){let yt=Qe.NematodeSamples;const gt=s;if(s===gt)if(Array.isArray(yt)){var et=!0;const Fe=yt.length;for(let j=0;j=",limit:0},message:"must be >= 0"}],!1;var vt=ct===s}else var vt=!0;if(vt){if(Ve.SubSampleID!==void 0){const Ze=s;if(typeof Ve.SubSampleID!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/SubSamples/"+Ee+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var vt=Ze===s}else var vt=!0;if(vt)if(Ve.Geometry!==void 0){let Ze=Ve.Geometry;const ct=s;if(s===ct)if(Ze&&typeof Ze=="object"&&!Array.isArray(Ze)){if(Ze.epsg!==void 0){let xt=Ze.epsg;if(!(typeof xt=="number"&&!(xt%1)&&!isNaN(xt)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/SubSamples/"+Ee+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/SubSamples/"+Ee+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var vt=ct===s}else var vt=!0}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/SubSamples/"+Ee,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ne=it===s;if(!Ne)break}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Pe=Oe===s}else var Pe=!0;if(Pe)if(ae.TestPackages!==void 0){let _e=ae.TestPackages;const Oe=s;if(s===Oe)if(Array.isArray(_e)){var T=!0;const Ie=_e.length;for(let Ee=0;Ee1){const it={};for(;Ee--;){let ze=_e[Ee];if(typeof ze=="string"){if(typeof it[ze]=="number")return Ve=it[ze],st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ee,j:Ve},message:"must NOT have duplicate items (items ## "+Ve+" and "+Ee+" are identical)"}],!1;it[ze]=Ee}}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Pe=Oe===s}else var Pe=!0}}}}}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var we=ve===s}else var we=!0;if(we){if(he.Depths!==void 0){let ae=he.Depths;const ve=s;if(s===ve)if(Array.isArray(ae)){var Ue=!0;const _e=ae.length;for(let Oe=0;Oe<_e;Oe++){let ke=ae[Oe];const Ie=s;if(s===Ie)if(ke&&typeof ke=="object"&&!Array.isArray(ke)){if(ke.NematodeResults!==void 0){let Ve=ke.NematodeResults;const it=s;if(s===s)if(Array.isArray(Ve)){var K=!0;const Ze=Ve.length;for(let ct=0;ct=",limit:1},message:"must be >= 1"}],!1;var $e=it===s}else var $e=!0}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/Depths/"+Oe,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ue=Ie===s;if(!Ue)break}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/Depths",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var we=ve===s}else var we=!0;if(we)if(he.Comments!==void 0){const ae=s;if(typeof he.Comments!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var we=ae===s}else var we=!0}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples/"+j,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var et=Ae===s;if(!et)break}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode/NematodeSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var be=gt===s}else var be=!0}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Nematode",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var L=We===s}else var L=!0;if(L){if(ue.Water!==void 0){let Qe=ue.Water;const We=s;if(s===We)if(Qe&&typeof Qe=="object"&&!Array.isArray(Qe)){if(Qe.WaterSamples!==void 0){let yt=Qe.WaterSamples;if(s===s)if(Array.isArray(yt)){var C=!0;const Ht=yt.length;for(let Fe=0;Fe=",limit:0},message:"must be >= 0"}],!1;var tt=Ze===s}else var tt=!0;if(tt){if(Ee.SubSampleID!==void 0){const ze=s;if(typeof Ee.SubSampleID!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var tt=ze===s}else var tt=!0;if(tt)if(Ee.Geometry!==void 0){let ze=Ee.Geometry;const Ze=s;if(s===Ze)if(ze&&typeof ze=="object"&&!Array.isArray(ze)){if(ze.epsg!==void 0){let St=ze.epsg;if(!(typeof St=="number"&&!(St%1)&&!isNaN(St)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var tt=Ze===s}else var tt=!0}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var mt=Ve===s;if(!mt)break}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Ce=_e===s}else var Ce=!0;if(Ce)if(le.TestPackages!==void 0){let Me=le.TestPackages;const _e=s;if(s===_e)if(Array.isArray(Me)){var qe=!0;const ke=Me.length;for(let Ie=0;Ie1){const Ve={};for(;Ie--;){let it=Me[Ie];if(typeof it=="string"){if(typeof Ve[it]=="number")return Ee=Ve[it],st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ie,j:Ee},message:"must NOT have duplicate items (items ## "+Ee+" and "+Ie+" are identical)"}],!1;Ve[it]=Ie}}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Ce=_e===s}else var Ce=!0}}}}}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var se=ae===s}else var se=!0;if(se){if(j.Source!==void 0){const le=s;if(typeof j.Source!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/Source",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/items/properties/Source/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var se=le===s}else var se=!0;if(se){if(j.NutrientResults!==void 0){let le=j.NutrientResults;const ae=s;if(s===s)if(Array.isArray(le)){var x=!0;const _e=le.length;for(let Oe=0;Oe<_e;Oe++){let ke=le[Oe];const Ie=s;if(s===Ie)if(ke&&typeof ke=="object"&&!Array.isArray(ke)){if(ke.Element!==void 0){const Ve=s;if(typeof ke.Element!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/Element",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/Element/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var U=Ve===s}else var U=!0;if(U){if(ke.Value!==void 0){const Ve=s;if(typeof ke.Value!="number")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/Value",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/Value/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var U=Ve===s}else var U=!0;if(U){if(ke.ValueUnit!==void 0){const Ve=s;if(typeof ke.ValueUnit!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/ValueUnit",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var U=Ve===s}else var U=!0;if(U){if(ke.ModusTestID!==void 0){const Ve=s;if(typeof ke.ModusTestID!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/ModusTestID",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ModusTestID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var U=Ve===s}else var U=!0;if(U){if(ke.ValueType!==void 0){let Ve=ke.ValueType;const it=s;if(typeof Ve!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/ValueType",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(Ve==="Measured"||Ve==="Percent"||Ve==="Calculated"||Ve==="Index"))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/ValueType",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueType/enum",keyword:"enum",params:{allowedValues:Bu.items.properties.ValueType.enum},message:"must be equal to one of the allowed values"}],!1;var U=it===s}else var U=!0;if(U)if(ke.ValueDesc!==void 0){let Ve=ke.ValueDesc;const it=s;if(typeof Ve!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueDesc/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(Ve==="Very Low"||Ve==="Low"||Ve==="Medium"||Ve==="Optimum"||Ve==="Very High"||Ve==="VL"||Ve==="L"||Ve==="M"||Ve==="O"||Ve==="VH"||Ve==="High"||Ve==="H"))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueDesc/enum",keyword:"enum",params:{allowedValues:Bu.items.properties.ValueDesc.enum},message:"must be equal to one of the allowed values"}],!1;var U=it===s}else var U=!0}}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults/"+Oe,schemaPath:"./global.schema.json#/$defs/NutrientResults/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var x=Ie===s;if(!x)break}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/NutrientResults",schemaPath:"./global.schema.json#/$defs/NutrientResults/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var se=ae===s}else var se=!0;if(se)if(j.Comments!==void 0){const le=s;if(typeof j.Comments!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var se=le===s}else var se=!0}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples/"+Fe,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var C=he===s;if(!C)break}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water/WaterSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Water",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var L=We===s}else var L=!0;if(L)if(ue.Residue!==void 0){let Qe=ue.Residue;const We=s;if(s===We)if(Qe&&typeof Qe=="object"&&!Array.isArray(Qe)){if(Qe.ResidueSamples!==void 0){let yt=Qe.ResidueSamples;if(s===s)if(Array.isArray(yt)){var te=!0;const Ht=yt.length;for(let Fe=0;Fe=",limit:0},message:"must be >= 0"}],!1;var He=Ze===s}else var He=!0;if(He){if(Ee.SubSampleID!==void 0){const ze=s;if(typeof Ee.SubSampleID!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var He=ze===s}else var He=!0;if(He)if(Ee.Geometry!==void 0){let ze=Ee.Geometry;const Ze=s;if(s===Ze)if(ze&&typeof ze=="object"&&!Array.isArray(ze)){if(ze.epsg!==void 0){let St=ze.epsg;if(!(typeof St=="number"&&!(St%1)&&!isNaN(St)))return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var He=Ze===s}else var He=!0}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/SubSamples/"+Ie,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var de=Ve===s;if(!de)break}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Se=_e===s}else var Se=!0;if(Se)if(le.TestPackages!==void 0){let Me=le.TestPackages;const _e=s;if(s===_e)if(Array.isArray(Me)){var It=!0;const ke=Me.length;for(let Ie=0;Ie1){const Ve={};for(;Ie--;){let it=Me[Ie];if(typeof it=="string"){if(typeof Ve[it]=="number")return Ee=Ve[it],st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ie,j:Ee},message:"must NOT have duplicate items (items ## "+Ee+" and "+Ie+" are identical)"}],!1;Ve[it]=Ie}}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Se=_e===s}else var Se=!0}}}}}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Q=ae===s}else var Q=!0;if(Q){if(j.ResidueResults!==void 0){let le=j.ResidueResults;const ae=s;if(s===s)if(Array.isArray(le)){var ee=!0;const _e=le.length;for(let Oe=0;Oe<_e;Oe++){let ke=le[Oe];const Ie=s;if(s===Ie)if(ke&&typeof ke=="object"&&!Array.isArray(ke)){if(ke.CASRN!==void 0){let Ve=ke.CASRN;const it=s;if(s===it)if(typeof Ve=="string"){if(WS(Ve)>50)return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/maxLength",keyword:"maxLength",params:{limit:50},message:"must NOT have more than 50 characters"}],!1;if(WS(Ve)<1)return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters"}],!1}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ye=it===s}else var Ye=!0;if(Ye){if(ke.Value!==void 0){const Ve=s;if(typeof ke.Value!="number")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/Value",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/Value/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var Ye=Ve===s}else var Ye=!0;if(Ye){if(ke.ValueUnit!==void 0){const Ve=s;if(typeof ke.ValueUnit!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/ValueUnit",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ye=Ve===s}else var Ye=!0;if(Ye){if(ke.ValueType!==void 0){const Ve=s;if(typeof ke.ValueType!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/ValueType",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ye=Ve===s}else var Ye=!0;if(Ye)if(ke.ValueDesc!==void 0){const Ve=s;if(typeof ke.ValueDesc!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueDesc/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ye=Ve===s}else var Ye=!0}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults/"+Oe,schemaPath:"./global.schema.json#/$defs/ResidueResults/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ee=Ie===s;if(!ee)break}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/ResidueResults",schemaPath:"./global.schema.json#/$defs/ResidueResults/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Q=ae===s}else var Q=!0;if(Q)if(j.Comments!==void 0){const le=s;if(typeof j.Comments!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Q=le===s}else var Q=!0}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples/"+Fe,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var te=he===s;if(!te)break}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue/ResidueSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples/Residue",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var L=We===s}else var L=!0}}}}else return st.errors=[{instancePath:t+"/Events/"+A+"/EventSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=ye===s}else var m=!0;if(m){if(ne.Comments!==void 0){const ue=s;if(typeof ne.Comments!="string")return st.errors=[{instancePath:t+"/Events/"+A+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=ue===s}else var m=!0;if(m)if(ne.ModusSubmit!==void 0){const ue=s;pt(ne.ModusSubmit,{instancePath:t+"/Events/"+A+"/ModusSubmit",parentData:ne,parentDataProperty:"ModusSubmit",rootData:a})||(i=i===null?pt.errors:i.concat(pt.errors),s=i.length);var m=ue===s}else var m=!0}}}}}else return st.errors=[{instancePath:t+"/Events/"+A,schemaPath:"#/properties/Events/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=je===s;if(!o)break}}else return st.errors=[{instancePath:t+"/Events",schemaPath:"#/properties/Events/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var l=De===s}else var l=!0;if(l)if(e.Version!==void 0){const Et=s;if(typeof e.Version!="string")return st.errors=[{instancePath:t+"/Version",schemaPath:"#/properties/Version/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=Et===s}else var l=!0}}else return st.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return st.errors=i,s===0}function Hye(e){if(!$S.exports(e))throw new qF(e,$S.exports.errors)}var $ye=Object.prototype.hasOwnProperty,jye=Object.prototype.toString,Gye=function(t,r,n){if(jye.call(r)!=="[object Function]")throw new TypeError("iterator must be a function");var a=t.length;if(a===+a)for(var i=0;i>>0,oe;for(oe=0;oe0)for(X=0;X=0;return(ut?X?"+":"":"-")+Math.pow(10,Math.max(0,Te)).toString().substr(1)+oe}var J=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},Y={};function Z(b,w,X,oe){var Te=oe;typeof oe=="string"&&(Te=function(){return this[oe]()}),b&&(Y[b]=Te),w&&(Y[w[0]]=function(){return ce(Te.apply(this,arguments),w[1],w[2])}),X&&(Y[X]=function(){return this.localeData().ordinal(Te.apply(this,arguments),b)})}function Re(b){return b.match(/\[[\s\S]/)?b.replace(/^\[|\]$/g,""):b.replace(/\\/g,"")}function Je(b){var w=b.match(J),X,oe;for(X=0,oe=w.length;X=0&&R.test(b);)b=b.replace(R,oe),R.lastIndex=0,X-=1;return b}var et={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Pe(b){var w=this._longDateFormat[b],X=this._longDateFormat[b.toUpperCase()];return w||!X?w:(this._longDateFormat[b]=X.match(J).map(function(oe){return oe==="MMMM"||oe==="MM"||oe==="DD"||oe==="dddd"?oe.slice(1):oe}).join(""),this._longDateFormat[b])}var Ne="Invalid date";function vt(){return this._invalidDate}var T="%d",we=/\d{1,2}/;function Ue(b){return this._ordinal.replace("%d",b)}var K={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function q(b,w,X,oe){var Te=this._relativeTime[X];return F(Te)?Te(b,w,X,oe):Te.replace(/%d/i,b)}function ge(b,w){var X=this._relativeTime[b>0?"future":"past"];return F(X)?X(w):X.replace(/%s/i,w)}var Be={};function $e(b,w){var X=b.toLowerCase();Be[X]=Be[X+"s"]=Be[w]=b}function C(b){return typeof b=="string"?Be[b]||Be[b.toLowerCase()]:void 0}function Ce(b){var w={},X,oe;for(oe in b)l(b,oe)&&(X=C(oe),X&&(w[X]=b[oe]));return w}var mt={};function tt(b,w){mt[b]=w}function qe(b){var w=[],X;for(X in b)l(b,X)&&w.push({unit:X,priority:mt[X]});return w.sort(function(oe,Te){return oe.priority-Te.priority}),w}function se(b){return b%4===0&&b%100!==0||b%400===0}function x(b){return b<0?Math.ceil(b)||0:Math.floor(b)}function U(b){var w=+b,X=0;return w!==0&&isFinite(w)&&(X=x(w)),X}function te(b,w){return function(X){return X!=null?(de(this,b,X),n.updateOffset(this,w),this):Se(this,b)}}function Se(b,w){return b.isValid()?b._d["get"+(b._isUTC?"UTC":"")+w]():NaN}function de(b,w,X){b.isValid()&&!isNaN(X)&&(w==="FullYear"&&se(b.year())&&b.month()===1&&b.date()===29?(X=U(X),b._d["set"+(b._isUTC?"UTC":"")+w](X,b.month(),ct(X,b.month()))):b._d["set"+(b._isUTC?"UTC":"")+w](X))}function He(b){return b=C(b),F(this[b])?this[b]():this}function It(b,w){if(typeof b=="object"){b=Ce(b);var X=qe(b),oe,Te=X.length;for(oe=0;oe68?1900:2e3)};var Mc=te("FullYear",!0);function Bm(){return se(this.year())}function Np(b,w,X,oe,Te,ut,Mt){var Yt;return b<100&&b>=0?(Yt=new Date(b+400,w,X,oe,Te,ut,Mt),isFinite(Yt.getFullYear())&&Yt.setFullYear(b)):Yt=new Date(b,w,X,oe,Te,ut,Mt),Yt}function Co(b){var w,X;return b<100&&b>=0?(X=Array.prototype.slice.call(arguments),X[0]=b+400,w=new Date(Date.UTC.apply(null,X)),isFinite(w.getUTCFullYear())&&w.setUTCFullYear(b)):w=new Date(Date.UTC.apply(null,arguments)),w}function O(b,w,X){var oe=7+w-X,Te=(7+Co(b,0,oe).getUTCDay()-w)%7;return-Te+oe-1}function N(b,w,X,oe,Te){var ut=(7+X-oe)%7,Mt=O(b,oe,Te),Yt=1+7*(w-1)+ut+Mt,Mr,_s;return Yt<=0?(Mr=b-1,_s=bo(Mr)+Yt):Yt>bo(b)?(Mr=b+1,_s=Yt-bo(b)):(Mr=b,_s=Yt),{year:Mr,dayOfYear:_s}}function re(b,w,X){var oe=O(b.year(),w,X),Te=Math.floor((b.dayOfYear()-oe-1)/7)+1,ut,Mt;return Te<1?(Mt=b.year()-1,ut=Te+Le(Mt,w,X)):Te>Le(b.year(),w,X)?(ut=Te-Le(b.year(),w,X),Mt=b.year()+1):(Mt=b.year(),ut=Te),{week:ut,year:Mt}}function Le(b,w,X){var oe=O(b,w,X),Te=O(b+1,w,X);return(bo(b)-oe+Te)/7}Z("w",["ww",2],"wo","week"),Z("W",["WW",2],"Wo","isoWeek"),$e("week","w"),$e("isoWeek","W"),tt("week",5),tt("isoWeek",5),gt("w",me),gt("ww",me,ee),gt("W",me),gt("WW",me,ee),le(["w","ww","W","WW"],function(b,w,X,oe){w[oe.substr(0,1)]=U(b)});function at(b){return re(b,this._week.dow,this._week.doy).week}var _t={dow:0,doy:6};function Vt(){return this._week.dow}function qt(){return this._week.doy}function Er(b){var w=this.localeData().week(this);return b==null?w:this.add((b-w)*7,"d")}function Dr(b){var w=re(this,1,4).week;return b==null?w:this.add((b-w)*7,"d")}Z("d",0,"do","day"),Z("dd",0,0,function(b){return this.localeData().weekdaysMin(this,b)}),Z("ddd",0,0,function(b){return this.localeData().weekdaysShort(this,b)}),Z("dddd",0,0,function(b){return this.localeData().weekdays(this,b)}),Z("e",0,0,"weekday"),Z("E",0,0,"isoWeekday"),$e("day","d"),$e("weekday","e"),$e("isoWeekday","E"),tt("day",11),tt("weekday",11),tt("isoWeekday",11),gt("d",me),gt("e",me),gt("E",me),gt("dd",function(b,w){return w.weekdaysMinRegex(b)}),gt("ddd",function(b,w){return w.weekdaysShortRegex(b)}),gt("dddd",function(b,w){return w.weekdaysRegex(b)}),le(["dd","ddd","dddd"],function(b,w,X,oe){var Te=X._locale.weekdaysParse(b,oe,X._strict);Te!=null?w.d=Te:_(X).invalidWeekday=b}),le(["d","e","E"],function(b,w,X,oe){w[oe]=U(b)});function JH(b,w){return typeof b!="string"?b:isNaN(b)?(b=w.weekdaysParse(b),typeof b=="number"?b:null):parseInt(b,10)}function QH(b,w){return typeof b=="string"?w.weekdaysParse(b)%7||7:isNaN(b)?null:b}function wM(b,w){return b.slice(w,7).concat(b.slice(0,w))}var e$="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),C3="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),t$="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),r$=lt,s$=lt,n$=lt;function a$(b,w){var X=i(this._weekdays)?this._weekdays:this._weekdays[b&&b!==!0&&this._weekdays.isFormat.test(w)?"format":"standalone"];return b===!0?wM(X,this._week.dow):b?X[b.day()]:X}function i$(b){return b===!0?wM(this._weekdaysShort,this._week.dow):b?this._weekdaysShort[b.day()]:this._weekdaysShort}function l$(b){return b===!0?wM(this._weekdaysMin,this._week.dow):b?this._weekdaysMin[b.day()]:this._weekdaysMin}function o$(b,w,X){var oe,Te,ut,Mt=b.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],oe=0;oe<7;++oe)ut=h([2e3,1]).day(oe),this._minWeekdaysParse[oe]=this.weekdaysMin(ut,"").toLocaleLowerCase(),this._shortWeekdaysParse[oe]=this.weekdaysShort(ut,"").toLocaleLowerCase(),this._weekdaysParse[oe]=this.weekdays(ut,"").toLocaleLowerCase();return X?w==="dddd"?(Te=Ze.call(this._weekdaysParse,Mt),Te!==-1?Te:null):w==="ddd"?(Te=Ze.call(this._shortWeekdaysParse,Mt),Te!==-1?Te:null):(Te=Ze.call(this._minWeekdaysParse,Mt),Te!==-1?Te:null):w==="dddd"?(Te=Ze.call(this._weekdaysParse,Mt),Te!==-1||(Te=Ze.call(this._shortWeekdaysParse,Mt),Te!==-1)?Te:(Te=Ze.call(this._minWeekdaysParse,Mt),Te!==-1?Te:null)):w==="ddd"?(Te=Ze.call(this._shortWeekdaysParse,Mt),Te!==-1||(Te=Ze.call(this._weekdaysParse,Mt),Te!==-1)?Te:(Te=Ze.call(this._minWeekdaysParse,Mt),Te!==-1?Te:null)):(Te=Ze.call(this._minWeekdaysParse,Mt),Te!==-1||(Te=Ze.call(this._weekdaysParse,Mt),Te!==-1)?Te:(Te=Ze.call(this._shortWeekdaysParse,Mt),Te!==-1?Te:null))}function u$(b,w,X){var oe,Te,ut;if(this._weekdaysParseExact)return o$.call(this,b,w,X);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),oe=0;oe<7;oe++){if(Te=h([2e3,1]).day(oe),X&&!this._fullWeekdaysParse[oe]&&(this._fullWeekdaysParse[oe]=new RegExp("^"+this.weekdays(Te,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[oe]=new RegExp("^"+this.weekdaysShort(Te,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[oe]=new RegExp("^"+this.weekdaysMin(Te,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[oe]||(ut="^"+this.weekdays(Te,"")+"|^"+this.weekdaysShort(Te,"")+"|^"+this.weekdaysMin(Te,""),this._weekdaysParse[oe]=new RegExp(ut.replace(".",""),"i")),X&&w==="dddd"&&this._fullWeekdaysParse[oe].test(b))return oe;if(X&&w==="ddd"&&this._shortWeekdaysParse[oe].test(b))return oe;if(X&&w==="dd"&&this._minWeekdaysParse[oe].test(b))return oe;if(!X&&this._weekdaysParse[oe].test(b))return oe}}function m$(b){if(!this.isValid())return b!=null?this:NaN;var w=this._isUTC?this._d.getUTCDay():this._d.getDay();return b!=null?(b=JH(b,this.localeData()),this.add(b-w,"d")):w}function c$(b){if(!this.isValid())return b!=null?this:NaN;var w=(this.day()+7-this.localeData()._week.dow)%7;return b==null?w:this.add(b-w,"d")}function f$(b){if(!this.isValid())return b!=null?this:NaN;if(b!=null){var w=QH(b,this.localeData());return this.day(this.day()%7?w:w-7)}else return this.day()||7}function p$(b){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||xM.call(this),b?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=r$),this._weekdaysStrictRegex&&b?this._weekdaysStrictRegex:this._weekdaysRegex)}function d$(b){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||xM.call(this),b?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=s$),this._weekdaysShortStrictRegex&&b?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function h$(b){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||xM.call(this),b?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=n$),this._weekdaysMinStrictRegex&&b?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function xM(){function b(Oa,Po){return Po.length-Oa.length}var w=[],X=[],oe=[],Te=[],ut,Mt,Yt,Mr,_s;for(ut=0;ut<7;ut++)Mt=h([2e3,1]).day(ut),Yt=j(this.weekdaysMin(Mt,"")),Mr=j(this.weekdaysShort(Mt,"")),_s=j(this.weekdays(Mt,"")),w.push(Yt),X.push(Mr),oe.push(_s),Te.push(Yt),Te.push(Mr),Te.push(_s);w.sort(b),X.sort(b),oe.sort(b),Te.sort(b),this._weekdaysRegex=new RegExp("^("+Te.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+oe.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+X.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+w.join("|")+")","i")}function VM(){return this.hours()%12||12}function _$(){return this.hours()||24}Z("H",["HH",2],0,"hour"),Z("h",["hh",2],0,VM),Z("k",["kk",2],0,_$),Z("hmm",0,0,function(){return""+VM.apply(this)+ce(this.minutes(),2)}),Z("hmmss",0,0,function(){return""+VM.apply(this)+ce(this.minutes(),2)+ce(this.seconds(),2)}),Z("Hmm",0,0,function(){return""+this.hours()+ce(this.minutes(),2)}),Z("Hmmss",0,0,function(){return""+this.hours()+ce(this.minutes(),2)+ce(this.seconds(),2)});function E3(b,w){Z(b,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),w)})}E3("a",!0),E3("A",!1),$e("hour","h"),tt("hour",13);function T3(b,w){return w._meridiemParse}gt("a",T3),gt("A",T3),gt("H",me),gt("h",me),gt("k",me),gt("HH",me,ee),gt("hh",me,ee),gt("kk",me,ee),gt("hmm",nt),gt("hmmss",A),gt("Hmm",nt),gt("Hmmss",A),Ae(["H","HH"],Oe),Ae(["k","kk"],function(b,w,X){var oe=U(b);w[Oe]=oe===24?0:oe}),Ae(["a","A"],function(b,w,X){X._isPm=X._locale.isPM(b),X._meridiem=b}),Ae(["h","hh"],function(b,w,X){w[Oe]=U(b),_(X).bigHour=!0}),Ae("hmm",function(b,w,X){var oe=b.length-2;w[Oe]=U(b.substr(0,oe)),w[ke]=U(b.substr(oe)),_(X).bigHour=!0}),Ae("hmmss",function(b,w,X){var oe=b.length-4,Te=b.length-2;w[Oe]=U(b.substr(0,oe)),w[ke]=U(b.substr(oe,2)),w[Ie]=U(b.substr(Te)),_(X).bigHour=!0}),Ae("Hmm",function(b,w,X){var oe=b.length-2;w[Oe]=U(b.substr(0,oe)),w[ke]=U(b.substr(oe))}),Ae("Hmmss",function(b,w,X){var oe=b.length-4,Te=b.length-2;w[Oe]=U(b.substr(0,oe)),w[ke]=U(b.substr(oe,2)),w[Ie]=U(b.substr(Te))});function g$(b){return(b+"").toLowerCase().charAt(0)==="p"}var S$=/[ap]\.?m?\.?/i,v$=te("Hours",!0);function y$(b,w,X){return b>11?X?"pm":"PM":X?"am":"AM"}var A3={calendar:pe,longDateFormat:et,invalidDate:Ne,ordinal:T,dayOfMonthOrdinalParse:we,relativeTime:K,months:St,monthsShort:xt,week:_t,weekdays:e$,weekdaysMin:t$,weekdaysShort:C3,meridiemParse:S$},Gs={},wp={},xp;function M$(b,w){var X,oe=Math.min(b.length,w.length);for(X=0;X0;){if(Te=__(ut.slice(0,X).join("-")),Te)return Te;if(oe&&oe.length>=X&&M$(ut,oe)>=X-1)break;X--}w++}return xp}function I$(b){return b.match("^[^/\\\\]*$")!=null}function __(b){var w=null,X;if(Gs[b]===void 0&&!0&&e&&e.exports&&I$(b))try{w=xp._abbr,X=Zo,X("./locale/"+b),bu(w)}catch{Gs[b]=null}return Gs[b]}function bu(b,w){var X;return b&&(u(w)?X=Eo(b):X=RM(b,w),X?xp=X:typeof console<"u"&&console.warn&&console.warn("Locale "+b+" not found. Did you forget to load it?")),xp._abbr}function RM(b,w){if(w!==null){var X,oe=A3;if(w.abbr=b,Gs[b]!=null)P("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),oe=Gs[b]._config;else if(w.parentLocale!=null)if(Gs[w.parentLocale]!=null)oe=Gs[w.parentLocale]._config;else if(X=__(w.parentLocale),X!=null)oe=X._config;else return wp[w.parentLocale]||(wp[w.parentLocale]=[]),wp[w.parentLocale].push({name:b,config:w}),null;return Gs[b]=new ie(H(oe,w)),wp[b]&&wp[b].forEach(function(Te){RM(Te.name,Te.config)}),bu(b),Gs[b]}else return delete Gs[b],null}function O$(b,w){if(w!=null){var X,oe,Te=A3;Gs[b]!=null&&Gs[b].parentLocale!=null?Gs[b].set(H(Gs[b]._config,w)):(oe=__(b),oe!=null&&(Te=oe._config),w=H(Te,w),oe==null&&(w.abbr=b),X=new ie(w),X.parentLocale=Gs[b],Gs[b]=X),bu(b)}else Gs[b]!=null&&(Gs[b].parentLocale!=null?(Gs[b]=Gs[b].parentLocale,b===bu()&&bu(b)):Gs[b]!=null&&delete Gs[b]);return Gs[b]}function Eo(b){var w;if(b&&b._locale&&b._locale._abbr&&(b=b._locale._abbr),!b)return xp;if(!i(b)){if(w=__(b),w)return w;b=[b]}return D$(b)}function L$(){return G(Gs)}function FM(b){var w,X=b._a;return X&&_(b).overflow===-2&&(w=X[Me]<0||X[Me]>11?Me:X[_e]<1||X[_e]>ct(X[ve],X[Me])?_e:X[Oe]<0||X[Oe]>24||X[Oe]===24&&(X[ke]!==0||X[Ie]!==0||X[Ee]!==0)?Oe:X[ke]<0||X[ke]>59?ke:X[Ie]<0||X[Ie]>59?Ie:X[Ee]<0||X[Ee]>999?Ee:-1,_(b)._overflowDayOfYear&&(w_e)&&(w=_e),_(b)._overflowWeeks&&w===-1&&(w=Ve),_(b)._overflowWeekday&&w===-1&&(w=it),_(b).overflow=w),b}var b$=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,C$=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,E$=/Z|[+-]\d\d(?::?\d\d)?/,g_=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],BM=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],T$=/^\/?Date\((-?\d+)/i,A$=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,k$={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function P3(b){var w,X,oe=b._i,Te=b$.exec(oe)||C$.exec(oe),ut,Mt,Yt,Mr,_s=g_.length,Oa=BM.length;if(Te){for(_(b).iso=!0,w=0,X=_s;wbo(Mt)||b._dayOfYear===0)&&(_(b)._overflowDayOfYear=!0),X=Co(Mt,0,b._dayOfYear),b._a[Me]=X.getUTCMonth(),b._a[_e]=X.getUTCDate()),w=0;w<3&&b._a[w]==null;++w)b._a[w]=oe[w]=Te[w];for(;w<7;w++)b._a[w]=oe[w]=b._a[w]==null?w===2?1:0:b._a[w];b._a[Oe]===24&&b._a[ke]===0&&b._a[Ie]===0&&b._a[Ee]===0&&(b._nextDay=!0,b._a[Oe]=0),b._d=(b._useUTC?Co:Np).apply(null,oe),ut=b._useUTC?b._d.getUTCDay():b._d.getDay(),b._tzm!=null&&b._d.setUTCMinutes(b._d.getUTCMinutes()-b._tzm),b._nextDay&&(b._a[Oe]=24),b._w&&typeof b._w.d<"u"&&b._w.d!==ut&&(_(b).weekdayMismatch=!0)}}function F$(b){var w,X,oe,Te,ut,Mt,Yt,Mr,_s;w=b._w,w.GG!=null||w.W!=null||w.E!=null?(ut=1,Mt=4,X=Dc(w.GG,b._a[ve],re(Es(),1,4).year),oe=Dc(w.W,1),Te=Dc(w.E,1),(Te<1||Te>7)&&(Mr=!0)):(ut=b._locale._week.dow,Mt=b._locale._week.doy,_s=re(Es(),ut,Mt),X=Dc(w.gg,b._a[ve],_s.year),oe=Dc(w.w,_s.week),w.d!=null?(Te=w.d,(Te<0||Te>6)&&(Mr=!0)):w.e!=null?(Te=w.e+ut,(w.e<0||w.e>6)&&(Mr=!0)):Te=ut),oe<1||oe>Le(X,ut,Mt)?_(b)._overflowWeeks=!0:Mr!=null?_(b)._overflowWeekday=!0:(Yt=N(X,oe,Te,ut,Mt),b._a[ve]=Yt.year,b._dayOfYear=Yt.dayOfYear)}n.ISO_8601=function(){},n.RFC_2822=function(){};function $M(b){if(b._f===n.ISO_8601){P3(b);return}if(b._f===n.RFC_2822){U3(b);return}b._a=[],_(b).empty=!0;var w=""+b._i,X,oe,Te,ut,Mt,Yt=w.length,Mr=0,_s,Oa;for(Te=be(b._f,b._locale).match(J)||[],Oa=Te.length,X=0;X0&&_(b).unusedInput.push(Mt),w=w.slice(w.indexOf(oe)+oe.length),Mr+=oe.length),Y[ut]?(oe?_(b).empty=!1:_(b).unusedTokens.push(ut),ae(ut,oe,b)):b._strict&&!oe&&_(b).unusedTokens.push(ut);_(b).charsLeftOver=Yt-Mr,w.length>0&&_(b).unusedInput.push(w),b._a[Oe]<=12&&_(b).bigHour===!0&&b._a[Oe]>0&&(_(b).bigHour=void 0),_(b).parsedDateParts=b._a.slice(0),_(b).meridiem=b._meridiem,b._a[Oe]=B$(b._locale,b._a[Oe],b._meridiem),_s=_(b).era,_s!==null&&(b._a[ve]=b._locale.erasConvertYear(_s,b._a[ve])),HM(b),FM(b)}function B$(b,w,X){var oe;return X==null?w:b.meridiemHour!=null?b.meridiemHour(w,X):(b.isPM!=null&&(oe=b.isPM(X),oe&&w<12&&(w+=12),!oe&&w===12&&(w=0)),w)}function H$(b){var w,X,oe,Te,ut,Mt,Yt=!1,Mr=b._f.length;if(Mr===0){_(b).invalidFormat=!0,b._d=new Date(NaN);return}for(Te=0;Tethis?this:b:S()});function x3(b,w){var X,oe;if(w.length===1&&i(w[0])&&(w=w[0]),!w.length)return Es();for(X=w[0],oe=1;oethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function oj(){if(!u(this._isDSTShifted))return this._isDSTShifted;var b={},w;return I(b,this),b=N3(b),b._a?(w=b._isUTC?h(b._a):Es(b._a),this._isDSTShifted=this.isValid()&&Q$(b._a,w.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function uj(){return this.isValid()?!this._isUTC:!1}function mj(){return this.isValid()?this._isUTC:!1}function R3(){return this.isValid()?this._isUTC&&this._offset===0:!1}var cj=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,fj=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function pl(b,w){var X=b,oe=null,Te,ut,Mt;return v_(b)?X={ms:b._milliseconds,d:b._days,M:b._months}:m(b)||!isNaN(+b)?(X={},w?X[w]=+b:X.milliseconds=+b):(oe=cj.exec(b))?(Te=oe[1]==="-"?-1:1,X={y:0,d:U(oe[_e])*Te,h:U(oe[Oe])*Te,m:U(oe[ke])*Te,s:U(oe[Ie])*Te,ms:U(jM(oe[Ee]*1e3))*Te}):(oe=fj.exec(b))?(Te=oe[1]==="-"?-1:1,X={y:Hm(oe[2],Te),M:Hm(oe[3],Te),w:Hm(oe[4],Te),d:Hm(oe[5],Te),h:Hm(oe[6],Te),m:Hm(oe[7],Te),s:Hm(oe[8],Te)}):X==null?X={}:typeof X=="object"&&("from"in X||"to"in X)&&(Mt=pj(Es(X.from),Es(X.to)),X={},X.ms=Mt.milliseconds,X.M=Mt.months),ut=new S_(X),v_(b)&&l(b,"_locale")&&(ut._locale=b._locale),v_(b)&&l(b,"_isValid")&&(ut._isValid=b._isValid),ut}pl.fn=S_.prototype,pl.invalid=J$;function Hm(b,w){var X=b&&parseFloat(b.replace(",","."));return(isNaN(X)?0:X)*w}function F3(b,w){var X={};return X.months=w.month()-b.month()+(w.year()-b.year())*12,b.clone().add(X.months,"M").isAfter(w)&&--X.months,X.milliseconds=+w-+b.clone().add(X.months,"M"),X}function pj(b,w){var X;return b.isValid()&&w.isValid()?(w=WM(w,b),b.isBefore(w)?X=F3(b,w):(X=F3(w,b),X.milliseconds=-X.milliseconds,X.months=-X.months),X):{milliseconds:0,months:0}}function B3(b,w){return function(X,oe){var Te,ut;return oe!==null&&!isNaN(+oe)&&(P(w,"moment()."+w+"(period, number) is deprecated. Please use moment()."+w+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),ut=X,X=oe,oe=ut),Te=pl(X,oe),H3(this,Te,b),this}}function H3(b,w,X,oe){var Te=w._milliseconds,ut=jM(w._days),Mt=jM(w._months);!b.isValid()||(oe=oe??!0,Mt&&is(b,Se(b,"Month")+Mt*X),ut&&de(b,"Date",Se(b,"Date")+ut*X),Te&&b._d.setTime(b._d.valueOf()+Te*X),oe&&n.updateOffset(b,ut||Mt))}var dj=B3(1,"add"),hj=B3(-1,"subtract");function $3(b){return typeof b=="string"||b instanceof String}function _j(b){return k(b)||c(b)||$3(b)||m(b)||Sj(b)||gj(b)||b===null||b===void 0}function gj(b){var w=s(b)&&!o(b),X=!1,oe=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Te,ut,Mt=oe.length;for(Te=0;TeX.valueOf():X.valueOf()9999?xe(X,w?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):F(Date.prototype.toISOString)?w?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",xe(X,"Z")):xe(X,w?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Pj(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var b="moment",w="",X,oe,Te,ut;return this.isLocal()||(b=this.utcOffset()===0?"moment.utc":"moment.parseZone",w="Z"),X="["+b+'("]',oe=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",Te="-MM-DD[T]HH:mm:ss.SSS",ut=w+'[")]',this.format(X+oe+Te+ut)}function Uj(b){b||(b=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var w=xe(this,b);return this.localeData().postformat(w)}function Nj(b,w){return this.isValid()&&(k(b)&&b.isValid()||Es(b).isValid())?pl({to:this,from:b}).locale(this.locale()).humanize(!w):this.localeData().invalidDate()}function wj(b){return this.from(Es(),b)}function xj(b,w){return this.isValid()&&(k(b)&&b.isValid()||Es(b).isValid())?pl({from:this,to:b}).locale(this.locale()).humanize(!w):this.localeData().invalidDate()}function Vj(b){return this.to(Es(),b)}function j3(b){var w;return b===void 0?this._locale._abbr:(w=Eo(b),w!=null&&(this._locale=w),this)}var G3=z("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(b){return b===void 0?this.localeData():this.locale(b)});function W3(){return this._locale}var M_=1e3,Ic=60*M_,D_=60*Ic,z3=(365*400+97)*24*D_;function Oc(b,w){return(b%w+w)%w}function K3(b,w,X){return b<100&&b>=0?new Date(b+400,w,X)-z3:new Date(b,w,X).valueOf()}function q3(b,w,X){return b<100&&b>=0?Date.UTC(b+400,w,X)-z3:Date.UTC(b,w,X)}function Rj(b){var w,X;if(b=C(b),b===void 0||b==="millisecond"||!this.isValid())return this;switch(X=this._isUTC?q3:K3,b){case"year":w=X(this.year(),0,1);break;case"quarter":w=X(this.year(),this.month()-this.month()%3,1);break;case"month":w=X(this.year(),this.month(),1);break;case"week":w=X(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":w=X(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":w=X(this.year(),this.month(),this.date());break;case"hour":w=this._d.valueOf(),w-=Oc(w+(this._isUTC?0:this.utcOffset()*Ic),D_);break;case"minute":w=this._d.valueOf(),w-=Oc(w,Ic);break;case"second":w=this._d.valueOf(),w-=Oc(w,M_);break}return this._d.setTime(w),n.updateOffset(this,!0),this}function Fj(b){var w,X;if(b=C(b),b===void 0||b==="millisecond"||!this.isValid())return this;switch(X=this._isUTC?q3:K3,b){case"year":w=X(this.year()+1,0,1)-1;break;case"quarter":w=X(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":w=X(this.year(),this.month()+1,1)-1;break;case"week":w=X(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":w=X(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":w=X(this.year(),this.month(),this.date()+1)-1;break;case"hour":w=this._d.valueOf(),w+=D_-Oc(w+(this._isUTC?0:this.utcOffset()*Ic),D_)-1;break;case"minute":w=this._d.valueOf(),w+=Ic-Oc(w,Ic)-1;break;case"second":w=this._d.valueOf(),w+=M_-Oc(w,M_)-1;break}return this._d.setTime(w),n.updateOffset(this,!0),this}function Bj(){return this._d.valueOf()-(this._offset||0)*6e4}function Hj(){return Math.floor(this.valueOf()/1e3)}function $j(){return new Date(this.valueOf())}function jj(){var b=this;return[b.year(),b.month(),b.date(),b.hour(),b.minute(),b.second(),b.millisecond()]}function Gj(){var b=this;return{years:b.year(),months:b.month(),date:b.date(),hours:b.hours(),minutes:b.minutes(),seconds:b.seconds(),milliseconds:b.milliseconds()}}function Wj(){return this.isValid()?this.toISOString():null}function zj(){return g(this)}function Kj(){return p({},_(this))}function qj(){return _(this).overflow}function Zj(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Z("N",0,0,"eraAbbr"),Z("NN",0,0,"eraAbbr"),Z("NNN",0,0,"eraAbbr"),Z("NNNN",0,0,"eraName"),Z("NNNNN",0,0,"eraNarrow"),Z("y",["y",1],"yo","eraYear"),Z("y",["yy",2],0,"eraYear"),Z("y",["yyy",3],0,"eraYear"),Z("y",["yyyy",4],0,"eraYear"),gt("N",KM),gt("NN",KM),gt("NNN",KM),gt("NNNN",iG),gt("NNNNN",lG),Ae(["N","NN","NNN","NNNN","NNNNN"],function(b,w,X,oe){var Te=X._locale.erasParse(b,oe,X._strict);Te?_(X).era=Te:_(X).invalidEra=b}),gt("y",ue),gt("yy",ue),gt("yyy",ue),gt("yyyy",ue),gt("yo",oG),Ae(["y","yy","yyy","yyyy"],ve),Ae(["yo"],function(b,w,X,oe){var Te;X._locale._eraYearOrdinalRegex&&(Te=b.match(X._locale._eraYearOrdinalRegex)),X._locale.eraYearOrdinalParse?w[ve]=X._locale.eraYearOrdinalParse(b,Te):w[ve]=parseInt(b,10)});function Yj(b,w){var X,oe,Te,ut=this._eras||Eo("en")._eras;for(X=0,oe=ut.length;X=0)return ut[oe]}function Jj(b,w){var X=b.since<=b.until?1:-1;return w===void 0?n(b.since).year():n(b.since).year()+(w-b.offset)*X}function Qj(){var b,w,X,oe=this.localeData().eras();for(b=0,w=oe.length;but&&(w=ut),hG.call(this,b,w,X,oe,Te))}function hG(b,w,X,oe,Te){var ut=N(b,w,X,oe,Te),Mt=Co(ut.year,0,ut.dayOfYear);return this.year(Mt.getUTCFullYear()),this.month(Mt.getUTCMonth()),this.date(Mt.getUTCDate()),this}Z("Q",0,"Qo","quarter"),$e("quarter","Q"),tt("quarter",7),gt("Q",Q),Ae("Q",function(b,w){w[Me]=(U(b)-1)*3});function _G(b){return b==null?Math.ceil((this.month()+1)/3):this.month((b-1)*3+this.month()%3)}Z("D",["DD",2],"Do","date"),$e("date","D"),tt("date",9),gt("D",me),gt("DD",me,ee),gt("Do",function(b,w){return b?w._dayOfMonthOrdinalParse||w._ordinalParse:w._dayOfMonthOrdinalParseLenient}),Ae(["D","DD"],_e),Ae("Do",function(b,w){w[_e]=U(b.match(me)[0])});var Y3=te("Date",!0);Z("DDD",["DDDD",3],"DDDo","dayOfYear"),$e("dayOfYear","DDD"),tt("dayOfYear",4),gt("DDD",ne),gt("DDDD",Ye),Ae(["DDD","DDDD"],function(b,w,X){X._dayOfYear=U(b)});function gG(b){var w=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return b==null?w:this.add(b-w,"d")}Z("m",["mm",2],0,"minute"),$e("minute","m"),tt("minute",14),gt("m",me),gt("mm",me,ee),Ae(["m","mm"],ke);var SG=te("Minutes",!1);Z("s",["ss",2],0,"second"),$e("second","s"),tt("second",15),gt("s",me),gt("ss",me,ee),Ae(["s","ss"],Ie);var vG=te("Seconds",!1);Z("S",0,0,function(){return~~(this.millisecond()/100)}),Z(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Z(0,["SSS",3],0,"millisecond"),Z(0,["SSSS",4],0,function(){return this.millisecond()*10}),Z(0,["SSSSS",5],0,function(){return this.millisecond()*100}),Z(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),Z(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),Z(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),Z(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),$e("millisecond","ms"),tt("millisecond",16),gt("S",ne,Q),gt("SS",ne,ee),gt("SSS",ne,Ye);var Cu,X3;for(Cu="SSSS";Cu.length<=9;Cu+="S")gt(Cu,ue);function yG(b,w){w[Ee]=U(("0."+b)*1e3)}for(Cu="S";Cu.length<=9;Cu+="S")Ae(Cu,yG);X3=te("Milliseconds",!1),Z("z",0,0,"zoneAbbr"),Z("zz",0,0,"zoneName");function MG(){return this._isUTC?"UTC":""}function DG(){return this._isUTC?"Coordinated Universal Time":""}var kt=D.prototype;kt.add=dj,kt.calendar=Mj,kt.clone=Dj,kt.diff=Tj,kt.endOf=Fj,kt.format=Uj,kt.from=Nj,kt.fromNow=wj,kt.to=xj,kt.toNow=Vj,kt.get=He,kt.invalidAt=qj,kt.isAfter=Ij,kt.isBefore=Oj,kt.isBetween=Lj,kt.isSame=bj,kt.isSameOrAfter=Cj,kt.isSameOrBefore=Ej,kt.isValid=zj,kt.lang=G3,kt.locale=j3,kt.localeData=W3,kt.max=z$,kt.min=W$,kt.parsingFlags=Kj,kt.set=It,kt.startOf=Rj,kt.subtract=hj,kt.toArray=jj,kt.toObject=Gj,kt.toDate=$j,kt.toISOString=kj,kt.inspect=Pj,typeof Symbol<"u"&&Symbol.for!=null&&(kt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),kt.toJSON=Wj,kt.toString=Aj,kt.unix=Hj,kt.valueOf=Bj,kt.creationData=Zj,kt.eraName=Qj,kt.eraNarrow=eG,kt.eraAbbr=tG,kt.eraYear=rG,kt.year=Mc,kt.isLeapYear=Bm,kt.weekYear=uG,kt.isoWeekYear=mG,kt.quarter=kt.quarters=_G,kt.month=Fl,kt.daysInMonth=zt,kt.week=kt.weeks=Er,kt.isoWeek=kt.isoWeeks=Dr,kt.weeksInYear=pG,kt.weeksInWeekYear=dG,kt.isoWeeksInYear=cG,kt.isoWeeksInISOWeekYear=fG,kt.date=Y3,kt.day=kt.days=m$,kt.weekday=c$,kt.isoWeekday=f$,kt.dayOfYear=gG,kt.hour=kt.hours=v$,kt.minute=kt.minutes=SG,kt.second=kt.seconds=vG,kt.millisecond=kt.milliseconds=X3,kt.utcOffset=tj,kt.utc=sj,kt.local=nj,kt.parseZone=aj,kt.hasAlignedHourOffset=ij,kt.isDST=lj,kt.isLocal=uj,kt.isUtcOffset=mj,kt.isUtc=R3,kt.isUTC=R3,kt.zoneAbbr=MG,kt.zoneName=DG,kt.dates=z("dates accessor is deprecated. Use date instead.",Y3),kt.months=z("months accessor is deprecated. Use month instead",Fl),kt.years=z("years accessor is deprecated. Use year instead",Mc),kt.zone=z("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",rj),kt.isDSTShifted=z("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",oj);function IG(b){return Es(b*1e3)}function OG(){return Es.apply(null,arguments).parseZone()}function J3(b){return b}var Wr=ie.prototype;Wr.calendar=W,Wr.longDateFormat=Pe,Wr.invalidDate=vt,Wr.ordinal=Ue,Wr.preparse=J3,Wr.postformat=J3,Wr.relativeTime=q,Wr.pastFuture=ge,Wr.set=L,Wr.eras=Yj,Wr.erasParse=Xj,Wr.erasConvertYear=Jj,Wr.erasAbbrRegex=nG,Wr.erasNameRegex=sG,Wr.erasNarrowRegex=aG,Wr.months=fl,Wr.monthsShort=Cs,Wr.monthsParse=pr,Wr.monthsRegex=Up,Wr.monthsShortRegex=En,Wr.week=at,Wr.firstDayOfYear=qt,Wr.firstDayOfWeek=Vt,Wr.weekdays=a$,Wr.weekdaysMin=l$,Wr.weekdaysShort=i$,Wr.weekdaysParse=u$,Wr.weekdaysRegex=p$,Wr.weekdaysShortRegex=d$,Wr.weekdaysMinRegex=h$,Wr.isPM=g$,Wr.meridiem=y$;function O_(b,w,X,oe){var Te=Eo(),ut=h().set(oe,w);return Te[X](ut,b)}function Q3(b,w,X){if(m(b)&&(w=b,b=void 0),b=b||"",w!=null)return O_(b,w,X,"month");var oe,Te=[];for(oe=0;oe<12;oe++)Te[oe]=O_(b,oe,X,"month");return Te}function ZM(b,w,X,oe){typeof b=="boolean"?(m(w)&&(X=w,w=void 0),w=w||""):(w=b,X=w,b=!1,m(w)&&(X=w,w=void 0),w=w||"");var Te=Eo(),ut=b?Te._week.dow:0,Mt,Yt=[];if(X!=null)return O_(w,(X+ut)%7,oe,"day");for(Mt=0;Mt<7;Mt++)Yt[Mt]=O_(w,(Mt+ut)%7,oe,"day");return Yt}function LG(b,w){return Q3(b,w,"months")}function bG(b,w){return Q3(b,w,"monthsShort")}function CG(b,w,X){return ZM(b,w,X,"weekdays")}function EG(b,w,X){return ZM(b,w,X,"weekdaysShort")}function TG(b,w,X){return ZM(b,w,X,"weekdaysMin")}bu("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(b){var w=b%10,X=U(b%100/10)===1?"th":w===1?"st":w===2?"nd":w===3?"rd":"th";return b+X}}),n.lang=z("moment.lang is deprecated. Use moment.locale instead.",bu),n.langData=z("moment.langData is deprecated. Use moment.localeData instead.",Eo);var To=Math.abs;function AG(){var b=this._data;return this._milliseconds=To(this._milliseconds),this._days=To(this._days),this._months=To(this._months),b.milliseconds=To(b.milliseconds),b.seconds=To(b.seconds),b.minutes=To(b.minutes),b.hours=To(b.hours),b.months=To(b.months),b.years=To(b.years),this}function eA(b,w,X,oe){var Te=pl(w,X);return b._milliseconds+=oe*Te._milliseconds,b._days+=oe*Te._days,b._months+=oe*Te._months,b._bubble()}function kG(b,w){return eA(this,b,w,1)}function PG(b,w){return eA(this,b,w,-1)}function tA(b){return b<0?Math.floor(b):Math.ceil(b)}function UG(){var b=this._milliseconds,w=this._days,X=this._months,oe=this._data,Te,ut,Mt,Yt,Mr;return b>=0&&w>=0&&X>=0||b<=0&&w<=0&&X<=0||(b+=tA(YM(X)+w)*864e5,w=0,X=0),oe.milliseconds=b%1e3,Te=x(b/1e3),oe.seconds=Te%60,ut=x(Te/60),oe.minutes=ut%60,Mt=x(ut/60),oe.hours=Mt%24,w+=x(Mt/24),Mr=x(rA(w)),X+=Mr,w-=tA(YM(Mr)),Yt=x(X/12),X%=12,oe.days=w,oe.months=X,oe.years=Yt,this}function rA(b){return b*4800/146097}function YM(b){return b*146097/4800}function NG(b){if(!this.isValid())return NaN;var w,X,oe=this._milliseconds;if(b=C(b),b==="month"||b==="quarter"||b==="year")switch(w=this._days+oe/864e5,X=this._months+rA(w),b){case"month":return X;case"quarter":return X/3;case"year":return X/12}else switch(w=this._days+Math.round(YM(this._months)),b){case"week":return w/7+oe/6048e5;case"day":return w+oe/864e5;case"hour":return w*24+oe/36e5;case"minute":return w*1440+oe/6e4;case"second":return w*86400+oe/1e3;case"millisecond":return Math.floor(w*864e5)+oe;default:throw new Error("Unknown unit "+b)}}function wG(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+U(this._months/12)*31536e6:NaN}function Ao(b){return function(){return this.as(b)}}var xG=Ao("ms"),VG=Ao("s"),RG=Ao("m"),FG=Ao("h"),BG=Ao("d"),HG=Ao("w"),$G=Ao("M"),jG=Ao("Q"),GG=Ao("y");function WG(){return pl(this)}function zG(b){return b=C(b),this.isValid()?this[b+"s"]():NaN}function $m(b){return function(){return this.isValid()?this._data[b]:NaN}}var KG=$m("milliseconds"),qG=$m("seconds"),ZG=$m("minutes"),YG=$m("hours"),XG=$m("days"),JG=$m("months"),QG=$m("years");function eW(){return x(this.days()/7)}var ko=Math.round,Lc={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function tW(b,w,X,oe,Te){return Te.relativeTime(w||1,!!X,b,oe)}function rW(b,w,X,oe){var Te=pl(b).abs(),ut=ko(Te.as("s")),Mt=ko(Te.as("m")),Yt=ko(Te.as("h")),Mr=ko(Te.as("d")),_s=ko(Te.as("M")),Oa=ko(Te.as("w")),Po=ko(Te.as("y")),Eu=ut<=X.ss&&["s",ut]||ut0,Eu[4]=oe,tW.apply(null,Eu)}function sW(b){return b===void 0?ko:typeof b=="function"?(ko=b,!0):!1}function nW(b,w){return Lc[b]===void 0?!1:w===void 0?Lc[b]:(Lc[b]=w,b==="s"&&(Lc.ss=w-1),!0)}function aW(b,w){if(!this.isValid())return this.localeData().invalidDate();var X=!1,oe=Lc,Te,ut;return typeof b=="object"&&(w=b,b=!1),typeof b=="boolean"&&(X=b),typeof w=="object"&&(oe=Object.assign({},Lc,w),w.s!=null&&w.ss==null&&(oe.ss=w.s-1)),Te=this.localeData(),ut=rW(this,!X,oe,Te),X&&(ut=Te.pastFuture(+this,ut)),Te.postformat(ut)}var XM=Math.abs;function bc(b){return(b>0)-(b<0)||+b}function L_(){if(!this.isValid())return this.localeData().invalidDate();var b=XM(this._milliseconds)/1e3,w=XM(this._days),X=XM(this._months),oe,Te,ut,Mt,Yt=this.asSeconds(),Mr,_s,Oa,Po;return Yt?(oe=x(b/60),Te=x(oe/60),b%=60,oe%=60,ut=x(X/12),X%=12,Mt=b?b.toFixed(3).replace(/\.?0+$/,""):"",Mr=Yt<0?"-":"",_s=bc(this._months)!==bc(Yt)?"-":"",Oa=bc(this._days)!==bc(Yt)?"-":"",Po=bc(this._milliseconds)!==bc(Yt)?"-":"",Mr+"P"+(ut?_s+ut+"Y":"")+(X?_s+X+"M":"")+(w?Oa+w+"D":"")+(Te||oe||b?"T":"")+(Te?Po+Te+"H":"")+(oe?Po+oe+"M":"")+(b?Po+Mt+"S":"")):"P0D"}var Nr=S_.prototype;Nr.isValid=X$,Nr.abs=AG,Nr.add=kG,Nr.subtract=PG,Nr.as=NG,Nr.asMilliseconds=xG,Nr.asSeconds=VG,Nr.asMinutes=RG,Nr.asHours=FG,Nr.asDays=BG,Nr.asWeeks=HG,Nr.asMonths=$G,Nr.asQuarters=jG,Nr.asYears=GG,Nr.valueOf=wG,Nr._bubble=UG,Nr.clone=WG,Nr.get=zG,Nr.milliseconds=KG,Nr.seconds=qG,Nr.minutes=ZG,Nr.hours=YG,Nr.days=XG,Nr.weeks=eW,Nr.months=JG,Nr.years=QG,Nr.humanize=aW,Nr.toISOString=L_,Nr.toString=L_,Nr.toJSON=L_,Nr.locale=j3,Nr.localeData=W3,Nr.toIsoString=z("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",L_),Nr.lang=G3,Z("X",0,0,"unix"),Z("x",0,0,"valueOf"),gt("x",ye),gt("X",We),Ae("X",function(b,w,X){X._d=new Date(parseFloat(b)*1e3)}),Ae("x",function(b,w,X){X._d=new Date(U(b))});//! moment.js -return n.version="2.29.4",a(Es),n.fn=kt,n.min=K$,n.max=q$,n.now=Z$,n.utc=h,n.unix=IG,n.months=LG,n.isDate=c,n.locale=bu,n.invalid=S,n.duration=pl,n.isMoment=k,n.weekdays=CG,n.parseZone=OG,n.localeData=Eo,n.isDuration=v_,n.monthsShort=bG,n.weekdaysMin=TG,n.defineLocale=RM,n.updateLocale=O$,n.locales=L$,n.weekdaysShort=EG,n.normalizeUnits=C,n.relativeTimeRounding=sW,n.relativeTimeThreshold=nW,n.calendarFormat=yj,n.prototype=kt,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})})(eB);var zS=eB.exports;const zye=24*60*60,Kye=zye*1e3,qye=25567+2,Zye=e=>Object.prototype.toString.call(e)==="[object Date]"&&!isNaN(e.getTime());var Yye=e=>{if(!Number(e))throw new Error("wrong input format");const r=(e-qye)*Kye,n=new Date(r);if(!Zye(n))throw new Error("wrong excel date input");return n},tB={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Za,function(){var r=1e3,n=6e4,a=36e5,i="millisecond",s="second",l="minute",o="hour",u="day",m="week",c="month",f="quarter",p="year",h="date",d="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},S=function(F,L,H){var ie=String(F);return!ie||ie.length>=L?F:""+Array(L+1-ie.length).join(H)+F},v={s:S,z:function(F){var L=-F.utcOffset(),H=Math.abs(L),ie=Math.floor(H/60),G=H%60;return(L<=0?"+":"-")+S(ie,2,"0")+":"+S(G,2,"0")},m:function F(L,H){if(L.date()1)return F(W[0])}else{var ce=L.name;I[ce]=L,G=ce}return!ie&&G&&(M=G),G||!ie&&M},E=function(F,L){if(D(F))return F.clone();var H=typeof L=="object"?L:{};return H.date=F,H.args=arguments,new B(H)},z=v;z.l=k,z.i=D,z.w=function(F,L){return E(F,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var B=function(){function F(H){this.$L=k(H.locale,null,!0),this.parse(H)}var L=F.prototype;return L.parse=function(H){this.$d=function(ie){var G=ie.date,pe=ie.utc;if(G===null)return new Date(NaN);if(z.u(G))return new Date;if(G instanceof Date)return new Date(G);if(typeof G=="string"&&!/Z$/i.test(G)){var W=G.match(_);if(W){var ce=W[2]-1||0,J=(W[7]||"0").substring(0,3);return pe?new Date(Date.UTC(W[1],ce,W[3]||1,W[4]||0,W[5]||0,W[6]||0,J)):new Date(W[1],ce,W[3]||1,W[4]||0,W[5]||0,W[6]||0,J)}}return new Date(G)}(H),this.$x=H.x||{},this.init()},L.init=function(){var H=this.$d;this.$y=H.getFullYear(),this.$M=H.getMonth(),this.$D=H.getDate(),this.$W=H.getDay(),this.$H=H.getHours(),this.$m=H.getMinutes(),this.$s=H.getSeconds(),this.$ms=H.getMilliseconds()},L.$utils=function(){return z},L.isValid=function(){return this.$d.toString()!==d},L.isSame=function(H,ie){var G=E(H);return this.startOf(ie)<=G&&G<=this.endOf(ie)},L.isAfter=function(H,ie){return E(H)",l[s.Identifier]="Identifier",l[s.Keyword]="Keyword",l[s.NullLiteral]="Null",l[s.NumericLiteral]="Numeric",l[s.Punctuator]="Punctuator",l[s.StringLiteral]="String",l[s.RegularExpression]="RegularExpression",o=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],u={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},m={Data:1,Get:2,Set:4},c={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},f={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]")};function k(O,N){if(!O)throw new Error("ASSERT: "+N)}function E(O){return O>=48&&O<=57}function z(O){return"0123456789abcdefABCDEF".indexOf(O)>=0}function B(O){return"01234567".indexOf(O)>=0}function P(O){return O===32||O===9||O===11||O===12||O===160||O>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(O)>=0}function F(O){return O===10||O===13||O===8232||O===8233}function L(O){return O==64||O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O===92||O>=128&&f.NonAsciiIdentifierStart.test(String.fromCharCode(O))}function H(O){return O===36||O===95||O>=65&&O<=90||O>=97&&O<=122||O>=48&&O<=57||O===92||O>=128&&f.NonAsciiIdentifierPart.test(String.fromCharCode(O))}function ie(O){switch(O){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function G(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function pe(O){return O==="eval"||O==="arguments"}function W(O){if(d&&G(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try"||O==="let";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function ce(O,N,re,Le,at){var _t;k(typeof re=="number","Comment must have valid position"),!(I.lastCommentStart>=re)&&(I.lastCommentStart=re,_t={type:O,value:N},D.range&&(_t.range=[re,Le]),D.loc&&(_t.loc=at),D.comments.push(_t),D.attachComment&&(D.leadingComments.push(_t),D.trailingComments.push(_t)))}function J(O){var N,re,Le,at;for(N=_-O,re={start:{line:y,column:_-g-O}};_=S&&se({},c.UnexpectedToken,"ILLEGAL");else if(re===42){if(h.charCodeAt(_+1)===47){++_,++_,D.comments&&(Le=h.slice(O+2,_-2),N.end={line:y,column:_-g},ce("Block",Le,O,_,N));return}++_}else++_;se({},c.UnexpectedToken,"ILLEGAL")}function V(){var O,N;for(N=_===0;_>>=")return _+=4,{type:s.Punctuator,value:Vt,lineNumber:y,lineStart:g,start:O,end:_};if(_t=Vt.substr(0,3),_t===">>>"||_t==="<<="||_t===">>=")return _+=3,{type:s.Punctuator,value:_t,lineNumber:y,lineStart:g,start:O,end:_};if(at=_t.substr(0,2),Le===at[1]&&"+-<>&|".indexOf(Le)>=0||at==="=>")return _+=2,{type:s.Punctuator,value:at,lineNumber:y,lineStart:g,start:O,end:_};if("<>=!+-*%&|^/".indexOf(Le)>=0)return++_,{type:s.Punctuator,value:Le,lineNumber:y,lineStart:g,start:O,end:_};se({},c.UnexpectedToken,"ILLEGAL")}function be(O){for(var N="";_=0&&_0&&(Le=D.tokens[D.tokens.length-1],Le.range[0]===O&&Le.type==="Punctuator"&&(Le.value==="/"||Le.value==="/=")&&D.tokens.pop()),D.tokens.push({type:"RegularExpression",value:re.literal,range:[O,_],loc:N})),re}function q(O){return O.type===s.Identifier||O.type===s.Keyword||O.type===s.BooleanLiteral||O.type===s.NullLiteral}function ge(){var O,N;if(O=D.tokens[D.tokens.length-1],!O)return K();if(O.type==="Punctuator"){if(O.value==="]")return xe();if(O.value===")")return N=D.tokens[D.openParenToken-1],N&&N.type==="Keyword"&&(N.value==="if"||N.value==="while"||N.value==="for"||N.value==="with")?K():xe();if(O.value==="}"){if(D.tokens[D.openCurlyToken-3]&&D.tokens[D.openCurlyToken-3].type==="Keyword"){if(N=D.tokens[D.openCurlyToken-4],!N)return xe()}else if(D.tokens[D.openCurlyToken-4]&&D.tokens[D.openCurlyToken-4].type==="Keyword"){if(N=D.tokens[D.openCurlyToken-5],!N)return K()}else return xe();return o.indexOf(N.value)>=0?xe():K()}return K()}return O.type==="Keyword"?K():xe()}function Be(){var O;return V(),_>=S?{type:s.EOF,lineNumber:y,lineStart:g,start:_,end:_}:(O=h.charCodeAt(_),L(O)?Je():O===40||O===41||O===59?xe():O===39||O===34?Ne():O===46?E(h.charCodeAt(_+1))?Pe():xe():E(O)?Pe():D.tokenize&&O===47?ge():xe())}function $e(){var O,N,re;return V(),O={start:{line:y,column:_-g}},N=Be(),O.end={line:y,column:_-g},N.type!==s.EOF&&(re=h.slice(N.start,N.end),D.tokens.push({type:l[N.type],value:re,range:[N.start,N.end],loc:O})),N}function C(){var O;return O=M,_=O.end,y=O.lineNumber,g=O.lineStart,M=typeof D.tokens<"u"?$e():Be(),_=O.end,y=O.lineNumber,g=O.lineStart,O}function Ce(){var O,N,re;O=_,N=y,re=g,M=typeof D.tokens<"u"?$e():Be(),_=O,y=N,g=re}function mt(O,N){this.line=O,this.column=N}function tt(O,N,re,Le){this.start=new mt(O,N),this.end=new mt(re,Le)}p={name:"SyntaxTree",processComment:function(O){var N,re;if(!(O.type===u.Program&&O.body.length>0)){for(D.trailingComments.length>0?D.trailingComments[0].range[0]>=O.range[1]?(re=D.trailingComments,D.trailingComments=[]):D.trailingComments.length=0:D.bottomRightStack.length>0&&D.bottomRightStack[D.bottomRightStack.length-1].trailingComments&&D.bottomRightStack[D.bottomRightStack.length-1].trailingComments[0].range[0]>=O.range[1]&&(re=D.bottomRightStack[D.bottomRightStack.length-1].trailingComments,delete D.bottomRightStack[D.bottomRightStack.length-1].trailingComments);D.bottomRightStack.length>0&&D.bottomRightStack[D.bottomRightStack.length-1].range[0]>=O.range[0];)N=D.bottomRightStack.pop();N?N.leadingComments&&N.leadingComments[N.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=N.leadingComments,delete N.leadingComments):D.leadingComments.length>0&&D.leadingComments[D.leadingComments.length-1].range[1]<=O.range[0]&&(O.leadingComments=D.leadingComments,D.leadingComments=[]),re&&(O.trailingComments=re),D.bottomRightStack.push(O)}},markEnd:function(O,N){return D.range&&(O.range=[N.start,_]),D.loc&&(O.loc=new tt(N.startLineNumber===void 0?N.lineNumber:N.startLineNumber,N.start-(N.startLineStart===void 0?N.lineStart:N.startLineStart),y,_-g),this.postProcess(O)),D.attachComment&&this.processComment(O),O},postProcess:function(O){return D.source&&(O.loc.source=D.source),O},createArrayExpression:function(O){return{type:u.ArrayExpression,elements:O}},createAssignmentExpression:function(O,N,re){return{type:u.AssignmentExpression,operator:O,left:N,right:re}},createBinaryExpression:function(O,N,re){var Le=O==="||"||O==="&&"?u.LogicalExpression:u.BinaryExpression;return{type:Le,operator:O,left:N,right:re}},createBlockStatement:function(O){return{type:u.BlockStatement,body:O}},createBreakStatement:function(O){return{type:u.BreakStatement,label:O}},createCallExpression:function(O,N){return{type:u.CallExpression,callee:O,arguments:N}},createCatchClause:function(O,N){return{type:u.CatchClause,param:O,body:N}},createConditionalExpression:function(O,N,re){return{type:u.ConditionalExpression,test:O,consequent:N,alternate:re}},createContinueStatement:function(O){return{type:u.ContinueStatement,label:O}},createDebuggerStatement:function(){return{type:u.DebuggerStatement}},createDoWhileStatement:function(O,N){return{type:u.DoWhileStatement,body:O,test:N}},createEmptyStatement:function(){return{type:u.EmptyStatement}},createExpressionStatement:function(O){return{type:u.ExpressionStatement,expression:O}},createForStatement:function(O,N,re,Le){return{type:u.ForStatement,init:O,test:N,update:re,body:Le}},createForInStatement:function(O,N,re){return{type:u.ForInStatement,left:O,right:N,body:re,each:!1}},createFunctionDeclaration:function(O,N,re,Le){return{type:u.FunctionDeclaration,id:O,params:N,defaults:re,body:Le,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(O,N,re,Le){return{type:u.FunctionExpression,id:O,params:N,defaults:re,body:Le,rest:null,generator:!1,expression:!1}},createIdentifier:function(O){return{type:u.Identifier,name:O}},createIfStatement:function(O,N,re){return{type:u.IfStatement,test:O,consequent:N,alternate:re}},createLabeledStatement:function(O,N){return{type:u.LabeledStatement,label:O,body:N}},createLiteral:function(O){return{type:u.Literal,value:O.value,raw:h.slice(O.start,O.end)}},createMemberExpression:function(O,N,re){return{type:u.MemberExpression,computed:O==="[",object:N,property:re}},createNewExpression:function(O,N){return{type:u.NewExpression,callee:O,arguments:N}},createObjectExpression:function(O){return{type:u.ObjectExpression,properties:O}},createPostfixExpression:function(O,N){return{type:u.UpdateExpression,operator:O,argument:N,prefix:!1}},createProgram:function(O){return{type:u.Program,body:O}},createProperty:function(O,N,re){return{type:u.Property,key:N,value:re,kind:O}},createReturnStatement:function(O){return{type:u.ReturnStatement,argument:O}},createSequenceExpression:function(O){return{type:u.SequenceExpression,expressions:O}},createSwitchCase:function(O,N){return{type:u.SwitchCase,test:O,consequent:N}},createSwitchStatement:function(O,N){return{type:u.SwitchStatement,discriminant:O,cases:N}},createThisExpression:function(){return{type:u.ThisExpression}},createThrowStatement:function(O){return{type:u.ThrowStatement,argument:O}},createTryStatement:function(O,N,re,Le){return{type:u.TryStatement,block:O,guardedHandlers:N,handlers:re,finalizer:Le}},createUnaryExpression:function(O,N){return O==="++"||O==="--"?{type:u.UpdateExpression,operator:O,argument:N,prefix:!0}:{type:u.UnaryExpression,operator:O,argument:N,prefix:!0}},createVariableDeclaration:function(O,N){return{type:u.VariableDeclaration,declarations:O,kind:N}},createVariableDeclarator:function(O,N){return{type:u.VariableDeclarator,id:O,init:N}},createWhileStatement:function(O,N){return{type:u.WhileStatement,test:O,body:N}},createWithStatement:function(O,N){return{type:u.WithStatement,object:O,body:N}}};function qe(){var O,N,re,Le;return O=_,N=y,re=g,V(),Le=y!==N,_=O,y=N,g=re,Le}function se(O,N){var re,Le=Array.prototype.slice.call(arguments,2),at=N.replace(/%(\d)/g,function(_t,Vt){return k(Vt>="||O===">>>="||O==="&="||O==="^="||O==="|=")}function Q(){var O;if(h.charCodeAt(_)===59||de(";")){C();return}O=y,V(),y===O&&M.type!==s.EOF&&!de("}")&&U(M)}function ee(O){return O.type===u.Identifier||O.type===u.MemberExpression}function Ye(){var O=[],N;for(N=M,te("[");!de("]");)de(",")?(C(),O.push(null)):(O.push(j()),de("]")||te(","));return C(),v.markEnd(v.createArrayExpression(O),N)}function Et(O,N){var re,Le,at;return re=d,at=M,Le=Fl(),N&&d&&pe(O[0].name)&&x(N,c.StrictParamName),d=re,v.markEnd(v.createFunctionExpression(null,O,[],Le),at)}function De(){var O,N;return N=M,O=C(),O.type===s.StringLiteral||O.type===s.NumericLiteral?(d&&O.octal&&x(O,c.StrictOctalLiteral),v.markEnd(v.createLiteral(O),N)):v.markEnd(v.createIdentifier(O.value),N)}function me(){var O,N,re,Le,at,_t;if(O=M,_t=M,O.type===s.Identifier)return re=De(),O.value==="get"&&!de(":")?(N=De(),te("("),te(")"),Le=Et([]),v.markEnd(v.createProperty("get",N,Le),_t)):O.value==="set"&&!de(":")?(N=De(),te("("),O=M,O.type!==s.Identifier?(te(")"),x(O,c.UnexpectedToken,O.value),Le=Et([])):(at=[ae()],te(")"),Le=Et(at,O)),v.markEnd(v.createProperty("set",N,Le),_t)):(te(":"),Le=j(),v.markEnd(v.createProperty("init",re,Le),_t));if(O.type===s.EOF||O.type===s.Punctuator)U(O);else return N=De(),te(":"),Le=j(),v.markEnd(v.createProperty("init",N,Le),_t)}function nt(){var O=[],N,re,Le,at,_t={},Vt=String,qt;for(qt=M,te("{");!de("}");)N=me(),N.key.type===u.Identifier?re=N.key.name:re=Vt(N.key.value),at=N.kind==="init"?m.Data:N.kind==="get"?m.Get:m.Set,Le="$"+re,Object.prototype.hasOwnProperty.call(_t,Le)?(_t[Le]===m.Data?d&&at===m.Data?x({},c.StrictDuplicateProperty):at!==m.Data&&x({},c.AccessorDataProperty):at===m.Data?x({},c.AccessorDataProperty):_t[Le]&at&&x({},c.AccessorGetSet),_t[Le]|=at):_t[Le]=at,O.push(N),de("}")||te(",");return te("}"),v.markEnd(v.createObjectExpression(O),qt)}function A(){var O;return te("("),O=he(),te(")"),O}function ne(){var O,N,re,Le;if(de("("))return A();if(de("["))return Ye();if(de("{"))return nt();if(O=M.type,Le=M,O===s.Identifier)re=v.createIdentifier(C().value);else if(O===s.StringLiteral||O===s.NumericLiteral)d&&M.octal&&x(M,c.StrictOctalLiteral),re=v.createLiteral(C());else if(O===s.Keyword){if(He("function"))return Up();He("this")?(C(),re=v.createThisExpression()):U(C())}else O===s.BooleanLiteral?(N=C(),N.value=N.value==="true",re=v.createLiteral(N)):O===s.NullLiteral?(N=C(),N.value=null,re=v.createLiteral(N)):de("/")||de("/=")?(typeof D.tokens<"u"?re=v.createLiteral(K()):re=v.createLiteral(Ue()),Ce()):U(C());return v.markEnd(re,Le)}function je(){var O=[];if(te("("),!de(")"))for(;_":case"<=":case">=":case"instanceof":re=7;break;case"in":re=N?7:0;break;case"<<":case">>":case">>>":re=8;break;case"+":case"-":re=9;break;case"*":case"/":case"%":re=11;break}return re}function Ht(){var O,N,re,Le,at,_t,Vt,qt,Er,Dr;if(O=M,Er=yt(),Le=M,at=gt(Le,I.allowIn),at===0)return Er;for(Le.prec=at,C(),N=[O,M],Vt=yt(),_t=[Er,Le,Vt];(at=gt(M,I.allowIn))>0;){for(;_t.length>2&&at<=_t[_t.length-2].prec;)Vt=_t.pop(),qt=_t.pop().value,Er=_t.pop(),re=v.createBinaryExpression(qt,Er,Vt),N.pop(),O=N[N.length-1],v.markEnd(re,O),_t.push(re);Le=C(),Le.prec=at,_t.push(Le),N.push(M),re=yt(),_t.push(re)}for(Dr=_t.length-1,re=_t[Dr],N.pop();Dr>1;)re=v.createBinaryExpression(_t[Dr-1].value,_t[Dr-2],re),Dr-=2,O=N.pop(),v.markEnd(re,O);return re}function Fe(){var O,N,re,Le,at;return at=M,O=Ht(),de("?")&&(C(),N=I.allowIn,I.allowIn=!0,re=j(),I.allowIn=N,te(":"),Le=j(),O=v.createConditionalExpression(O,re,Le),v.markEnd(O,at)),O}function j(){var O,N,re,Le,at;return O=M,at=M,Le=N=Fe(),It()&&(ee(N)||x({},c.InvalidLHSInAssignment),d&&N.type===u.Identifier&&pe(N.name)&&x(O,c.StrictLHSAssignment),O=C(),re=j(),Le=v.markEnd(v.createAssignmentExpression(O.value,N,re),at)),Le}function he(){var O,N=M;if(O=j(),de(",")){for(O=v.createSequenceExpression([O]);_"u"));)O.push(N);return O}function le(){var O,N;return N=M,te("{"),O=Ae(),te("}"),v.markEnd(v.createBlockStatement(O),N)}function ae(){var O,N;return N=M,O=C(),O.type!==s.Identifier&&U(O),v.markEnd(v.createIdentifier(O.value),N)}function ve(O){var N=null,re,Le;return Le=M,re=ae(),d&&pe(re.name)&&x({},c.StrictVarName),O==="const"?(te("="),N=j()):de("=")&&(C(),N=j()),v.markEnd(v.createVariableDeclarator(re,N),Le)}function Me(O){var N=[];do{if(N.push(ve(O)),!de(","))break;C()}while(_"u"&&te(";")),typeof Le>"u"&&(de(";")||(N=he()),te(";"),de(")")||(re=he())),te(")"),Vt=I.inIteration,I.inIteration=!0,_t=is(),I.inIteration=Vt,typeof Le>"u"?v.createForStatement(O,N,re,_t):v.createForInStatement(Le,at,_t)}function ct(){var O=null,N;return Se("continue"),h.charCodeAt(_)===59?(C(),I.inIteration||se({},c.IllegalContinue),v.createContinueStatement(null)):qe()?(I.inIteration||se({},c.IllegalContinue),v.createContinueStatement(null)):(M.type===s.Identifier&&(O=ae(),N="$"+O.name,Object.prototype.hasOwnProperty.call(I.labelSet,N)||se({},c.UnknownLabel,O.name)),Q(),O===null&&!I.inIteration&&se({},c.IllegalContinue),v.createContinueStatement(O))}function St(){var O=null,N;return Se("break"),h.charCodeAt(_)===59?(C(),I.inIteration||I.inSwitch||se({},c.IllegalBreak),v.createBreakStatement(null)):qe()?(I.inIteration||I.inSwitch||se({},c.IllegalBreak),v.createBreakStatement(null)):(M.type===s.Identifier&&(O=ae(),N="$"+O.name,Object.prototype.hasOwnProperty.call(I.labelSet,N)||se({},c.UnknownLabel,O.name)),Q(),O===null&&!(I.inIteration||I.inSwitch)&&se({},c.IllegalBreak),v.createBreakStatement(O))}function xt(){var O=null;return Se("return"),I.inFunctionBody||x({},c.IllegalReturn),h.charCodeAt(_)===32&&L(h.charCodeAt(_+1))?(O=he(),Q(),v.createReturnStatement(O)):qe()?v.createReturnStatement(null):(de(";")||!de("}")&&M.type!==s.EOF&&(O=he()),Q(),v.createReturnStatement(O))}function Ut(){var O,N;return d&&(V(),x({},c.StrictModeWith)),Se("with"),te("("),O=he(),te(")"),N=is(),v.createWithStatement(O,N)}function Lt(){var O,N=[],re,Le;for(Le=M,He("default")?(C(),O=null):(Se("case"),O=he()),te(":");_"u"));)N.push(O);return te("}"),I.labelSet=_t,I.inIteration=Vt,I.inSwitch=qt,I.inFunctionBody=Er,v.markEnd(v.createBlockStatement(N),Dr)}function zt(O){var N,re=[],Le,at,_t,Vt,qt;if(te("("),!de(")"))for(_t={};_"u"));)N.push(O);return N}function Mc(){var O,N;return V(),Ce(),N=M,d=!1,O=bo(),v.markEnd(v.createProgram(O),N)}function Bm(){var O,N,re,Le=[];for(O=0;O0?1:0,g=0,S=h.length,M=null,I={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},D={},N=N||{},N.tokens=!0,D.tokens=[],D.tokenize=!0,D.openParenToken=-1,D.openCurlyToken=-1,D.range=typeof N.range=="boolean"&&N.range,D.loc=typeof N.loc=="boolean"&&N.loc,typeof N.comment=="boolean"&&N.comment&&(D.comments=[]),typeof N.tolerant=="boolean"&&N.tolerant&&(D.errors=[]);try{if(Ce(),M.type===s.EOF)return D.tokens;for(Le=C();M.type!==s.EOF;)try{Le=C()}catch(_t){if(Le=M,D.errors){D.errors.push(_t);break}else throw _t}Bm(),at=D.tokens,typeof D.comments<"u"&&(at.comments=D.comments),typeof D.errors<"u"&&(at.errors=D.errors)}catch(_t){throw _t}finally{D={}}return at}function Co(O,N){var re,Le;Le=String,typeof O!="string"&&!(O instanceof String)&&(O=Le(O)),v=p,h=O,_=0,y=h.length>0?1:0,g=0,S=h.length,M=null,I={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},D={},typeof N<"u"&&(D.range=typeof N.range=="boolean"&&N.range,D.loc=typeof N.loc=="boolean"&&N.loc,D.attachComment=typeof N.attachComment=="boolean"&&N.attachComment,D.loc&&N.source!==null&&N.source!==void 0&&(D.source=Le(N.source)),typeof N.tokens=="boolean"&&N.tokens&&(D.tokens=[]),typeof N.comment=="boolean"&&N.comment&&(D.comments=[]),typeof N.tolerant=="boolean"&&N.tolerant&&(D.errors=[]),D.attachComment&&(D.range=!0,D.comments=[],D.bottomRightStack=[],D.trailingComments=[],D.leadingComments=[]));try{re=Mc(),typeof D.comments<"u"&&(re.comments=D.comments),typeof D.tokens<"u"&&(Bm(),re.tokens=D.tokens),typeof D.errors<"u"&&(re.errors=D.errors)}catch(at){throw at}finally{D={}}return re}i.version="1.2.2",i.tokenize=Np,i.parse=Co,i.Syntax=function(){var O,N={};typeof Object.create=="function"&&(N=Object.create(null));for(O in u)u.hasOwnProperty(O)&&(N[O]=u[O]);return typeof Object.freeze=="function"&&Object.freeze(N),N}()})},{}],1:[function(r,n,a){(function(i){var s=function(){var l={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(f,p,h,d,_,y,g){d.ast||(d.ast=o,o.initialize());var S=y.length-1;switch(_){case 1:return d.ast.set({expression:{type:"root",value:y[S]}}),d.ast.unshift(),d.ast.yield();case 2:return d.ast.set({expression:{type:"root",value:y[S-1]}}),d.ast.unshift(),d.ast.yield();case 3:return d.ast.unshift(),d.ast.yield();case 4:return d.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:y[S-1]}}),d.ast.unshift(),d.ast.yield();case 5:break;case 6:break;case 7:d.ast.set({operation:"member"}),d.ast.push();break;case 8:d.ast.set({operation:"subscript"}),d.ast.push();break;case 9:d.ast.set({scope:"child"});break;case 10:d.ast.set({scope:"descendant"});break;case 11:break;case 12:d.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:d.ast.set({expression:{type:"wildcard",value:y[S]}});break;case 15:d.ast.set({expression:{type:"identifier",value:y[S]}});break;case 16:d.ast.set({expression:{type:"script_expression",value:y[S]}});break;case 17:d.ast.set({expression:{type:"numeric_literal",value:parseInt(y[S])}});break;case 18:break;case 19:d.ast.set({scope:"child"});break;case 20:d.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:y[S].length>1?d.ast.set({expression:{type:"union",value:y[S]}}):this.$=y[S];break;case 25:this.$=[y[S]];break;case 26:this.$=y[S-2].concat(y[S]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(y[S])}},d.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:y[S]}},d.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:y[S]}},d.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:y[S]}},d.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:y[S]}},d.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:y[S]}},d.ast.set(this.$);break;case 33:this.$=y[S];break;case 34:this.$=y[S];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(f,p){if(p.recoverable)this.trace(f);else throw new Error(f)},parse:function(f){var p=this,h=[0],d=[null],_=[],y=this.table,g="",S=0,v=0,M=2,I=1,D=_.slice.call(arguments,1);this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var k=this.lexer.yylloc;_.push(k);var E=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function z(){var J;return J=p.lexer.lex()||I,typeof J!="number"&&(J=p.symbols_[J]||J),J}for(var B,P,F,L,H={},ie,G,pe,W;;){if(P=h[h.length-1],this.defaultActions[P]?F=this.defaultActions[P]:((B===null||typeof B>"u")&&(B=z()),F=y[P]&&y[P][B]),typeof F>"u"||!F.length||!F[0]){var ce="";W=[];for(ie in y[P])this.terminals_[ie]&&ie>M&&W.push("'"+this.terminals_[ie]+"'");this.lexer.showPosition?ce="Parse error on line "+(S+1)+`: -`+this.lexer.showPosition()+` -Expecting `+W.join(", ")+", got '"+(this.terminals_[B]||B)+"'":ce="Parse error on line "+(S+1)+": Unexpected "+(B==I?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(ce,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:k,expected:W})}if(F[0]instanceof Array&&F.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+B);switch(F[0]){case 1:h.push(B),d.push(this.lexer.yytext),_.push(this.lexer.yylloc),h.push(F[1]),B=null,v=this.lexer.yyleng,g=this.lexer.yytext,S=this.lexer.yylineno,k=this.lexer.yylloc;break;case 2:if(G=this.productions_[F[1]][1],H.$=d[d.length-G],H._$={first_line:_[_.length-(G||1)].first_line,last_line:_[_.length-1].last_line,first_column:_[_.length-(G||1)].first_column,last_column:_[_.length-1].last_column},E&&(H._$.range=[_[_.length-(G||1)].range[0],_[_.length-1].range[1]]),L=this.performAction.apply(H,[g,v,S,this.yy,F[1],d,_].concat(D)),typeof L<"u")return L;G&&(h=h.slice(0,-1*G*2),d=d.slice(0,-1*G),_=_.slice(0,-1*G)),h.push(this.productions_[F[1]][0]),d.push(H.$),_.push(H._$),pe=y[h[h.length-2]][h[h.length-1]],h.push(pe);break;case 3:return!0}}return!0}},o={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(c){for(var f in c)this._node[f]=c[f];return this._node},node:function(c){return arguments.length&&(this._node=c),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var c=this._nodes;return this.initialize(),c}},u=function(){var c={EOF:1,parseError:function(p,h){if(this.yy.parser)this.yy.parser.parseError(p,h);else throw new Error(p)},setInput:function(f){return this._input=f,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.offset++,this.match+=f,this.matched+=f;var p=f.match(/(?:\r\n?|\n).*/g);return p?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),f},unput:function(f){var p=f.length,h=f.split(/(?:\r\n?|\n)/g);this._input=f+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-p-1),this.offset-=p;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1&&(this.yylineno-=h.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===d.length?this.yylloc.first_column:0)+d[d.length-h.length].length-h[0].length:this.yylloc.first_column-p},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-p]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). -`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(f){this.unput(this.match.slice(f))},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),p=new Array(f.length+1).join("-");return f+this.upcomingInput()+` -`+p+"^"},test_match:function(f,p){var h,d,_;if(this.options.backtrack_lexer&&(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(_.yylloc.range=this.yylloc.range.slice(0))),d=f[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+f[0].length},this.yytext+=f[0],this.match+=f[0],this.matches=f,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(f[0].length),this.matched+=f[0],h=this.performAction.call(this,this.yy,this,p,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var y in _)this[y]=_[y];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,p,h,d;this._more||(this.yytext="",this.match="");for(var _=this._currentRules(),y=0;y<_.length;y++)if(h=this._input.match(this.rules[_[y]]),h&&(!p||h[0].length>p[0].length)){if(p=h,d=y,this.options.backtrack_lexer){if(f=this.test_match(h,_[y]),f!==!1)return f;if(this._backtrack){p=!1;continue}else return!1}else if(!this.options.flex)break}return p?(f=this.test_match(p,_[d]),f!==!1?f:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. -`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var p=this.next();return p||this.lex()},begin:function(p){this.conditionStack.push(p)},popState:function(){var p=this.conditionStack.length-1;return p>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(p){return p=this.conditionStack.length-1-Math.abs(p||0),p>=0?this.conditionStack[p]:"INITIAL"},pushState:function(p){this.begin(p)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(p,h,d,_){switch(d){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return h.yytext=h.yytext.substr(1,h.yyleng-2),32;case 11:return h.yytext=h.yytext.substr(1,h.yyleng-2),33;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return c}();l.lexer=u;function m(){this.yy={}}return m.prototype=l,l.Parser=m,new m}();typeof r<"u"&&typeof a<"u"&&(a.parser=s,a.Parser=s.Parser,a.parse=function(){return s.parse.apply(s,arguments)},a.main=function(o){o[1]||(console.log("Usage: "+o[0]+" FILE"),i.exit(1));var u=r("fs").readFileSync(r("path").normalize(o[1]),"utf8");return a.parser.parse(u)},typeof n<"u"&&r.main===n&&a.main(i.argv.slice(1)))}).call(this,r("_process"))},{_process:14,fs:12,path:13}],2:[function(r,n,a){n.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(r,n,a){var i=r("./dict"),s=r("fs"),l={lex:{macros:{esc:"\\\\",int:i.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[i.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[i.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[i.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(l.moduleInclude=s.readFileSync(r.resolve("../include/module.js")),l.actionInclude=s.readFileSync(r.resolve("../include/action.js"))),n.exports=l},{"./dict":2,fs:12}],4:[function(r,n,a){var i=r("./aesprim"),s=r("./slice"),l=r("static-eval"),o=r("underscore").uniq,u=function(){return this.initialize.apply(this,arguments)};u.prototype.initialize=function(){this.traverse=p(!0),this.descend=p()},u.prototype.keys=Object.keys,u.prototype.resolve=function(S){var v=[S.operation,S.scope,S.expression.type].join("-"),M=this._fns[v];if(!M)throw new Error("couldn't resolve key: "+v);return M.bind(this)},u.prototype.register=function(S,v){if(!v instanceof Function)throw new Error("handler must be a function");this._fns[S]=v},u.prototype._fns={"member-child-identifier":function(S,v){var M=S.expression.value,I=v.value;if(I instanceof Object&&M in I)return[{value:I[M],path:v.path.concat(M)}]},"member-descendant-identifier":d(function(S,v,M){return S==M}),"subscript-child-numeric_literal":h(function(S,v,M){return S===M}),"member-child-numeric_literal":h(function(S,v,M){return String(S)===String(M)}),"subscript-descendant-numeric_literal":d(function(S,v,M){return S===M}),"member-child-wildcard":h(function(){return!0}),"member-descendant-wildcard":d(function(){return!0}),"subscript-descendant-wildcard":d(function(){return!0}),"subscript-child-wildcard":h(function(){return!0}),"subscript-child-slice":function(S,v){if(c(v.value)){var M=S.expression.value.split(":").map(g),I=v.value.map(function(D,k){return{value:D,path:v.path.concat(k)}});return s.apply(null,[I].concat(M))}},"subscript-child-union":function(S,v){var M=[];return S.expression.value.forEach(function(I){var D={operation:"subscript",scope:"child",expression:I.expression},k=this.resolve(D),E=k(D,v);E&&(M=M.concat(E))},this),y(M)},"subscript-descendant-union":function(S,v,M){var I=r(".."),D=this,k=[],E=I.nodes(v,"$..*").slice(1);return E.forEach(function(z){k.length>=M||S.expression.value.forEach(function(B){var P={operation:"subscript",scope:"child",expression:B.expression},F=D.resolve(P),L=F(P,z);k=k.concat(L)})}),y(k)},"subscript-child-filter_expression":function(S,v,M){var I=S.expression.value.slice(2,-1),D=i.parse(I).body[0].expression,k=function(E,z){return _(D,{"@":z})};return this.descend(v,null,k,M)},"subscript-descendant-filter_expression":function(S,v,M){var I=S.expression.value.slice(2,-1),D=i.parse(I).body[0].expression,k=function(E,z){return _(D,{"@":z})};return this.traverse(v,null,k,M)},"subscript-child-script_expression":function(S,v){var M=S.expression.value.slice(1,-1);return m(v,M,"$[{{value}}]")},"member-child-script_expression":function(S,v){var M=S.expression.value.slice(1,-1);return m(v,M,"$.{{value}}")},"member-descendant-script_expression":function(S,v){var M=S.expression.value.slice(1,-1);return m(v,M,"$..value")}},u.prototype._fns["subscript-child-string_literal"]=u.prototype._fns["member-child-identifier"],u.prototype._fns["member-descendant-numeric_literal"]=u.prototype._fns["subscript-descendant-string_literal"]=u.prototype._fns["member-descendant-identifier"];function m(S,v,M){var I=r("./index"),D=i.parse(v).body[0].expression,k=_(D,{"@":S.value}),E=M.replace(/\{\{\s*value\s*\}\}/g,k),z=I.nodes(S.value,E);return z.forEach(function(B){B.path=S.path.concat(B.path.slice(1))}),z}function c(S){return Array.isArray(S)}function f(S){return S&&!(S instanceof Array)&&S instanceof Object}function p(S){return function(v,M,I,D){var k=v.value,E=v.path,z=[],B=function(P,F){c(P)?(P.forEach(function(L,H){z.length>=D||I(H,L,M)&&z.push({path:F.concat(H),value:L})}),P.forEach(function(L,H){z.length>=D||S&&B(L,F.concat(H))})):f(P)&&(this.keys(P).forEach(function(L){z.length>=D||I(L,P[L],M)&&z.push({path:F.concat(L),value:P[L]})}),this.keys(P).forEach(function(L){z.length>=D||S&&B(P[L],F.concat(L))}))}.bind(this);return B(k,E),z}}function h(S){return function(v,M,I){return this.descend(M,v.expression.value,S,I)}}function d(S){return function(v,M,I){return this.traverse(M,v.expression.value,S,I)}}function _(){try{return l.apply(this,arguments)}catch{}}function y(S){return S=S.filter(function(v){return v}),o(S,function(v){return v.path.map(function(M){return String(M).replace("-","--")}).join("-")})}function g(S){var v=String(S);return v.match(/^-?[0-9]+$/)?parseInt(v):null}n.exports=u},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(r,n,a){var i=r("assert"),s=r("./dict"),l=r("./parser"),o=r("./handlers"),u=function(){this.initialize.apply(this,arguments)};u.prototype.initialize=function(){this.parser=new l,this.handlers=new o},u.prototype.parse=function(f){return i.ok(m(f),"we need a path"),this.parser.parse(f)},u.prototype.parent=function(f,p){i.ok(f instanceof Object,"obj needs to be an object"),i.ok(p,"we need a path");var h=this.nodes(f,p)[0];return h.path.pop(),this.value(f,h.path)},u.prototype.apply=function(f,p,h){i.ok(f instanceof Object,"obj needs to be an object"),i.ok(p,"we need a path"),i.equal(typeof h,"function","fn needs to be function");var d=this.nodes(f,p).sort(function(_,y){return y.path.length-_.path.length});return d.forEach(function(_){var y=_.path.pop(),g=this.value(f,this.stringify(_.path)),S=_.value=h.call(f,g[y]);g[y]=S},this),d},u.prototype.value=function(f,p,h){if(i.ok(f instanceof Object,"obj needs to be an object"),i.ok(p,"we need a path"),arguments.length>=3){var d=this.nodes(f,p).shift();if(!d)return this._vivify(f,p,h);var _=d.path.slice(-1).shift(),y=this.parent(f,this.stringify(d.path));y[_]=h}return this.query(f,this.stringify(p),1).shift()},u.prototype._vivify=function(f,p,h){var d=this;i.ok(f instanceof Object,"obj needs to be an object"),i.ok(p,"we need a path");var _=this.parser.parse(p).map(function(g){return g.expression.value}),y=function(g,S){var v=g.pop(),M=d.value(f,g);M||(y(g.concat(),typeof v=="string"?{}:[]),M=d.value(f,g)),M[v]=S};return y(_,h),this.query(f,p)[0]},u.prototype.query=function(f,p,h){i.ok(f instanceof Object,"obj needs to be an object"),i.ok(m(p),"we need a path");var d=this.nodes(f,p,h).map(function(_){return _.value});return d},u.prototype.paths=function(f,p,h){i.ok(f instanceof Object,"obj needs to be an object"),i.ok(p,"we need a path");var d=this.nodes(f,p,h).map(function(_){return _.path});return d},u.prototype.nodes=function(f,p,h){if(i.ok(f instanceof Object,"obj needs to be an object"),i.ok(p,"we need a path"),h===0)return[];var d=this.parser.parse(p),_=this.handlers,y=[{path:["$"],value:f}],g=[];return d.length&&d[0].expression.type=="root"&&d.shift(),d.length?(d.forEach(function(S,v){if(!(g.length>=h)){var M=_.resolve(S),I=[];y.forEach(function(D){if(!(g.length>=h)){var k=M(S,D,h);v==d.length-1?g=g.concat(k||[]):I=I.concat(k||[])}}),y=I}}),h?g.slice(0,h):g):y},u.prototype.stringify=function(f){i.ok(f,"we need a path");var p="$",h={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return f=this._normalize(f),f.forEach(function(d){if(d.expression.type!="root"){var _=[d.scope,d.operation].join("-"),y=h[_],g;if(d.expression.type=="string_literal"?g=JSON.stringify(d.expression.value):g=d.expression.value,!y)throw new Error("couldn't find template "+_);p+=y.replace(/{{value}}/,g)}}),p},u.prototype._normalize=function(f){if(i.ok(f,"we need a path"),typeof f=="string")return this.parser.parse(f);if(Array.isArray(f)&&typeof f[0]=="string"){var p=[{expression:{type:"root",value:"$"}}];return f.forEach(function(h,d){if(!(h=="$"&&d===0))if(typeof h=="string"&&h.match("^"+s.identifier+"$"))p.push({operation:"member",scope:"child",expression:{value:h,type:"identifier"}});else{var _=typeof h=="number"?"numeric_literal":"string_literal";p.push({operation:"subscript",scope:"child",expression:{value:h,type:_}})}}),p}else if(Array.isArray(f)&&typeof f[0]=="object")return f;throw new Error("couldn't understand path "+f)};function m(f){return Object.prototype.toString.call(f)=="[object String]"}u.Handlers=o,u.Parser=l;var c=new u;c.JSONPath=u,n.exports=c},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(r,n,a){var i=r("./grammar"),s=r("../generated/parser"),l=function(){var o=new s.Parser,u=o.parseError;return o.yy.parseError=function(){o.yy.ast&&o.yy.ast.initialize(),u.apply(o,arguments)},o};l.grammar=i,n.exports=l},{"../generated/parser":1,"./grammar":3}],7:[function(r,n,a){n.exports=function(s,l,o,u){if(typeof l=="string")throw new Error("start cannot be a string");if(typeof o=="string")throw new Error("end cannot be a string");if(typeof u=="string")throw new Error("step cannot be a string");var m=s.length;if(u===0)throw new Error("step cannot be zero");if(u=u?i(u):1,l=l<0?m+l:l,o=o<0?m+o:o,l=i(l===0?0:l||(u>0?0:m-1)),o=i(o===0?0:o||(u>0?m:-1)),l=u>0?Math.max(0,l):Math.min(m,l),o=u>0?Math.min(o,m):Math.max(-1,o),u>0&&o<=l)return[];if(u<0&&l<=o)return[];for(var c=[],f=l;f!=o&&!(u<0&&f<=o||u>0&&f>=o);f+=u)c.push(s[f]);return c};function i(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(r,n,a){var i=r("util/"),s=Array.prototype.slice,l=Object.prototype.hasOwnProperty,o=n.exports=p;o.AssertionError=function(M){this.name="AssertionError",this.actual=M.actual,this.expected=M.expected,this.operator=M.operator,M.message?(this.message=M.message,this.generatedMessage=!1):(this.message=c(this),this.generatedMessage=!0);var I=M.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,I);else{var D=new Error;if(D.stack){var k=D.stack,E=I.name,z=k.indexOf(` -`+E);if(z>=0){var B=k.indexOf(` -`,z+1);k=k.substring(B+1)}this.stack=k}}},i.inherits(o.AssertionError,Error);function u(v,M){return i.isUndefined(M)?""+M:i.isNumber(M)&&!isFinite(M)||i.isFunction(M)||i.isRegExp(M)?M.toString():M}function m(v,M){return i.isString(v)?v.length=0;B--)if(k[B]!=E[B])return!1;for(B=k.length-1;B>=0;B--)if(z=k[B],!h(v[z],M[z]))return!1;return!0}o.notDeepEqual=function(M,I,D){h(M,I)&&f(M,I,D,"notDeepEqual",o.notDeepEqual)},o.strictEqual=function(M,I,D){M!==I&&f(M,I,D,"===",o.strictEqual)},o.notStrictEqual=function(M,I,D){M===I&&f(M,I,D,"!==",o.notStrictEqual)};function y(v,M){return!v||!M?!1:Object.prototype.toString.call(M)=="[object RegExp]"?M.test(v):v instanceof M?!0:M.call({},v)===!0}function g(v,M,I,D){var k;i.isString(I)&&(D=I,I=null);try{M()}catch(E){k=E}if(D=(I&&I.name?" ("+I.name+").":".")+(D?" "+D:"."),v&&!k&&f(k,I,"Missing expected exception"+D),!v&&y(k,I)&&f(k,I,"Got unwanted exception"+D),v&&k&&I&&!y(k,I)||!v&&k)throw k}o.throws=function(v,M,I){g.apply(this,[!0].concat(s.call(arguments)))},o.doesNotThrow=function(v,M){g.apply(this,[!1].concat(s.call(arguments)))},o.ifError=function(v){if(v)throw v};var S=Object.keys||function(v){var M=[];for(var I in v)l.call(v,I)&&M.push(I);return M}},{"util/":11}],9:[function(r,n,a){typeof Object.create=="function"?n.exports=function(s,l){s.super_=l,s.prototype=Object.create(l.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:n.exports=function(s,l){s.super_=l;var o=function(){};o.prototype=l.prototype,s.prototype=new o,s.prototype.constructor=s}},{}],10:[function(r,n,a){n.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(r,n,a){(function(i,s){var l=/%[sdj%]/g;a.format=function(V){if(!E(V)){for(var Y=[],Z=0;Z=Je)return et;switch(et){case"%s":return String(Re[Z++]);case"%d":return Number(Re[Z++]);case"%j":try{return JSON.stringify(Re[Z++])}catch{return"[Circular]"}default:return et}}),be=Re[Z];Z=3&&(Z.depth=arguments[2]),arguments.length>=4&&(Z.colors=arguments[3]),M(Y)?Z.showHidden=Y:Y&&a._extend(Z,Y),B(Z.showHidden)&&(Z.showHidden=!1),B(Z.depth)&&(Z.depth=2),B(Z.colors)&&(Z.colors=!1),B(Z.customInspect)&&(Z.customInspect=!0),Z.colors&&(Z.stylize=c),h(Z,V,Z.depth)}a.inspect=m,m.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},m.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function c(V,Y){var Z=m.styles[Y];return Z?"\x1B["+m.colors[Z][0]+"m"+V+"\x1B["+m.colors[Z][1]+"m":V}function f(V,Y){return V}function p(V){var Y={};return V.forEach(function(Z,Re){Y[Z]=!0}),Y}function h(V,Y,Z){if(V.customInspect&&Y&&ie(Y.inspect)&&Y.inspect!==a.inspect&&!(Y.constructor&&Y.constructor.prototype===Y)){var Re=Y.inspect(Z,V);return E(Re)||(Re=h(V,Re,Z)),Re}var Je=d(V,Y);if(Je)return Je;var xe=Object.keys(Y),be=p(xe);if(V.showHidden&&(xe=Object.getOwnPropertyNames(Y)),H(Y)&&(xe.indexOf("message")>=0||xe.indexOf("description")>=0))return _(Y);if(xe.length===0){if(ie(Y)){var et=Y.name?": "+Y.name:"";return V.stylize("[Function"+et+"]","special")}if(P(Y))return V.stylize(RegExp.prototype.toString.call(Y),"regexp");if(L(Y))return V.stylize(Date.prototype.toString.call(Y),"date");if(H(Y))return _(Y)}var Pe="",Ne=!1,vt=["{","}"];if(v(Y)&&(Ne=!0,vt=["[","]"]),ie(Y)){var T=Y.name?": "+Y.name:"";Pe=" [Function"+T+"]"}if(P(Y)&&(Pe=" "+RegExp.prototype.toString.call(Y)),L(Y)&&(Pe=" "+Date.prototype.toUTCString.call(Y)),H(Y)&&(Pe=" "+_(Y)),xe.length===0&&(!Ne||Y.length==0))return vt[0]+Pe+vt[1];if(Z<0)return P(Y)?V.stylize(RegExp.prototype.toString.call(Y),"regexp"):V.stylize("[Object]","special");V.seen.push(Y);var we;return Ne?we=y(V,Y,Z,be,xe):we=xe.map(function(Ue){return g(V,Y,Z,be,Ue,Ne)}),V.seen.pop(),S(we,Pe,vt)}function d(V,Y){if(B(Y))return V.stylize("undefined","undefined");if(E(Y)){var Z="'"+JSON.stringify(Y).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return V.stylize(Z,"string")}if(k(Y))return V.stylize(""+Y,"number");if(M(Y))return V.stylize(""+Y,"boolean");if(I(Y))return V.stylize("null","null")}function _(V){return"["+Error.prototype.toString.call(V)+"]"}function y(V,Y,Z,Re,Je){for(var xe=[],be=0,et=Y.length;be-1&&(xe?et=et.split(` -`).map(function(Ne){return" "+Ne}).join(` -`).substr(2):et=` -`+et.split(` -`).map(function(Ne){return" "+Ne}).join(` -`))):et=V.stylize("[Circular]","special")),B(be)){if(xe&&Je.match(/^\d+$/))return et;be=JSON.stringify(""+Je),be.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(be=be.substr(1,be.length-2),be=V.stylize(be,"name")):(be=be.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),be=V.stylize(be,"string"))}return be+": "+et}function S(V,Y,Z){var Re=V.reduce(function(Je,xe){return xe.indexOf(` -`)>=0,Je+xe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Re>60?Z[0]+(Y===""?"":Y+` - `)+" "+V.join(`, - `)+" "+Z[1]:Z[0]+Y+" "+V.join(", ")+" "+Z[1]}function v(V){return Array.isArray(V)}a.isArray=v;function M(V){return typeof V=="boolean"}a.isBoolean=M;function I(V){return V===null}a.isNull=I;function D(V){return V==null}a.isNullOrUndefined=D;function k(V){return typeof V=="number"}a.isNumber=k;function E(V){return typeof V=="string"}a.isString=E;function z(V){return typeof V=="symbol"}a.isSymbol=z;function B(V){return V===void 0}a.isUndefined=B;function P(V){return F(V)&&pe(V)==="[object RegExp]"}a.isRegExp=P;function F(V){return typeof V=="object"&&V!==null}a.isObject=F;function L(V){return F(V)&&pe(V)==="[object Date]"}a.isDate=L;function H(V){return F(V)&&(pe(V)==="[object Error]"||V instanceof Error)}a.isError=H;function ie(V){return typeof V=="function"}a.isFunction=ie;function G(V){return V===null||typeof V=="boolean"||typeof V=="number"||typeof V=="string"||typeof V=="symbol"||typeof V>"u"}a.isPrimitive=G,a.isBuffer=r("./support/isBuffer");function pe(V){return Object.prototype.toString.call(V)}function W(V){return V<10?"0"+V.toString(10):V.toString(10)}var ce=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function J(){var V=new Date,Y=[W(V.getHours()),W(V.getMinutes()),W(V.getSeconds())].join(":");return[V.getDate(),ce[V.getMonth()],Y].join(" ")}a.log=function(){console.log("%s - %s",J(),a.format.apply(a,arguments))},a.inherits=r("inherits"),a._extend=function(V,Y){if(!Y||!F(Y))return V;for(var Z=Object.keys(Y),Re=Z.length;Re--;)V[Z[Re]]=Y[Z[Re]];return V};function R(V,Y){return Object.prototype.hasOwnProperty.call(V,Y)}}).call(this,r("_process"),typeof Za<"u"?Za:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(r,n,a){},{}],13:[function(r,n,a){(function(i){function s(m,c){for(var f=0,p=m.length-1;p>=0;p--){var h=m[p];h==="."?m.splice(p,1):h===".."?(m.splice(p,1),f++):f&&(m.splice(p,1),f--)}if(c)for(;f--;f)m.unshift("..");return m}a.resolve=function(){for(var m="",c=!1,f=arguments.length-1;f>=-1&&!c;f--){var p=f>=0?arguments[f]:i.cwd();if(typeof p!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!p)continue;m=p+"/"+m,c=p.charAt(0)==="/"}return m=s(o(m.split("/"),function(h){return!!h}),!c).join("/"),(c?"/":"")+m||"."},a.normalize=function(m){var c=a.isAbsolute(m),f=u(m,-1)==="/";return m=s(o(m.split("/"),function(p){return!!p}),!c).join("/"),!m&&!c&&(m="."),m&&f&&(m+="/"),(c?"/":"")+m},a.isAbsolute=function(m){return m.charAt(0)==="/"},a.join=function(){var m=Array.prototype.slice.call(arguments,0);return a.normalize(o(m,function(c,f){if(typeof c!="string")throw new TypeError("Arguments to path.join must be strings");return c}).join("/"))},a.relative=function(m,c){m=a.resolve(m).substr(1),c=a.resolve(c).substr(1);function f(S){for(var v=0;v=0&&S[M]==="";M--);return v>M?[]:S.slice(v,M-v+1)}for(var p=f(m.split("/")),h=f(c.split("/")),d=Math.min(p.length,h.length),_=d,y=0;y=1;--d)if(c=m.charCodeAt(d),c===47){if(!h){p=d;break}}else h=!1;return p===-1?f?"/":".":f&&p===1?"/":m.slice(0,p)};function l(m){typeof m!="string"&&(m=m+"");var c=0,f=-1,p=!0,h;for(h=m.length-1;h>=0;--h)if(m.charCodeAt(h)===47){if(!p){c=h+1;break}}else f===-1&&(p=!1,f=h+1);return f===-1?"":m.slice(c,f)}a.basename=function(m,c){var f=l(m);return c&&f.substr(-1*c.length)===c&&(f=f.substr(0,f.length-c.length)),f},a.extname=function(m){typeof m!="string"&&(m=m+"");for(var c=-1,f=0,p=-1,h=!0,d=0,_=m.length-1;_>=0;--_){var y=m.charCodeAt(_);if(y===47){if(!h){f=_+1;break}continue}p===-1&&(h=!1,p=_+1),y===46?c===-1?c=_:d!==1&&(d=1):c!==-1&&(d=-1)}return c===-1||p===-1||d===0||d===1&&c===p-1&&c===f+1?"":m.slice(c,p)};function o(m,c){if(m.filter)return m.filter(c);for(var f=[],p=0;p1)for(var I=1;I"?_>M:I===">="?_>=M:I==="|"?_|M:I==="&"?_&M:I==="^"?_^M:I==="&&"?_&&M:I==="||"?_||M:o}else{if(c.type==="Identifier")return{}.hasOwnProperty.call(l,c.name)?l[c.name]:o;if(c.type==="ThisExpression")return{}.hasOwnProperty.call(l,"this")?l.this:o;if(c.type==="CallExpression"){var D=m(c.callee);if(D===o||typeof D!="function")return o;var k=c.callee.object?m(c.callee.object):o;k===o&&(k=null);for(var E=[],d=0,_=c.arguments.length;d<_;d++){var y=m(c.arguments[d]);if(y===o)return o;E.push(y)}return D.apply(k,E)}else if(c.type==="MemberExpression"){var g=m(c.object);if(g===o||typeof g=="function")return o;if(c.property.type==="Identifier")return g[c.property.name];var S=m(c.property);return S===o?o:g[S]}else if(c.type==="ConditionalExpression"){var p=m(c.test);return p===o?o:m(p?c.consequent:c.alternate)}else if(c.type==="ExpressionStatement"){var p=m(c.expression);return p===o?o:p}else{if(c.type==="ReturnStatement")return m(c.argument);if(c.type==="FunctionExpression"){var z=c.body.body,B={};Object.keys(l).forEach(function(ce){B[ce]=l[ce]});for(var d=0;d[e,{...t,CsvHeader:e}]));const lMe={name:"TomKat Ranch",type:"Soil",mappings:iMe,analytes:QL,examplesKey:"tomkat_historic"},oMe={SAMPLEID:"FMISSampleID",LABNUM:"SampleNumber",REPORTNUM:["LabEventID","LabReportID"],DATESAMPL:void 0,DATESUB:["ReportDate","DateReceived"],CLIENT:"ClientAccountNumber",GROWER:"Grower",PERSON:"ClientName",TIMESUB:void 0,CROP:"Crop",PLANTPART:"PlantPart",TYPE:void 0,TEST_A:void 0,TEST_B:void 0,TEST_C:void 0},uMe={N:{ValueUnit:"%",Element:"N"},P:{ValueUnit:"%",Element:"Phosphorus"},K:{ValueUnit:"%",Element:"K"},MG:{ValueUnit:"%",Element:"Mg"},CA:{ValueUnit:"%",Element:"Ca"},NA:{ValueUnit:"%",Element:"Na"},NO3_N:{ValueUnit:"ppm",Element:"NO3-N"},S:{ValueUnit:"%",Element:"S"},ZN:{ValueUnit:"ppm",Element:"Zn"},MN:{ValueUnit:"ppm",Element:"Mn"},FE:{ValueUnit:"ppm",Element:"Fe"},CU:{ValueUnit:"ppm",Element:"Cu"},B:{ValueUnit:"ppm",Element:"B"},CL:{ValueUnit:"%",Element:"Cl"},MO:{ValueUnit:"ppm",Element:"Mo"},AL:{ValueUnit:"ppm",Element:"Al"},PO4_P:{ValueUnit:"meq/100g",Element:"PO4_P"},K_EXT:{ValueUnit:"meq/100g",Element:"Potassium Extracted"},SO4_S:{ValueUnit:"ppm",Element:"SO4-S"}},mMe={name:"A&L Western Agricultural Labs - Modesto, CA",type:"Plant",mappings:oMe,analytes:uMe,examplesKey:"a_l_west"},cMe={IncKey:"FMISSampleID",RequestIncKey:void 0,Client:"ClientCompany",Grower:"Grower",Sampler:void 0,LabNo:"SampleNumber",RptNo:"LabReportID",Date:"DateReceived",SampleDate:"ReportDate",Field:"Field",SampleID:void 0,Crop:"Crop",StartingDepth:"StartingDepth",EndingDepth:"EndingDepth",Test:void 0,ProjectId:void 0,ProjectNumber:void 0,ProjectName:void 0,MODUSEvent:"ReportID"},fMe={name:"Kuo Testing Laboratories",type:"Soil",mappings:cMe,examplesKey:"kuo"},pMe={"Sample Location":"Field","Sample ID1":"FMISSampleID","Sample ID2":void 0,"Lab Number":"SampleNumber","Client Number":"ClientAccountNumber","Client Name":"ClientAccountName","Sample Date":["ReportDate","DateReceived"],"Consultant Name":"Grower"},dMe={name:"Brookside Laboratories, Inc. - New Bremen, OH",type:"Soil",mappings:pMe,examplesKey:"brookside"},hMe={"Sample ID":"SampleNumber"},_Me={name:"Cquester Analytics",type:"Soil",mappings:hMe,examplesKey:"cquester"},gMe={Lab:"SampleNumber","Point ID":"FMISSampleID",Date:["ReportDate","DateReceived"]},SMe={"Al\naluminum":{ValueUnit:"ppm",Element:"Al",ModusTestID:""},"As\narsenic":{ValueUnit:"ppm",Element:"As",ModusTestID:""},"B\nboron":{ValueUnit:"ppm",Element:"B",ModusTestID:""},"Ca\ncalcium":{ValueUnit:"ppm",Element:"Ca",ModusTestID:""},"Cd\ncadmium":{ValueUnit:"ppm",Element:"Cd",ModusTestID:""},"Cr\nchromium":{ValueUnit:"ppm",Element:"Cr",ModusTestID:""},"Cu\ncopper":{ValueUnit:"ppm",Element:"Cu",ModusTestID:""},"Fe\niron":{ValueUnit:"ppm",Element:"Fe",ModusTestID:""},"K\npotassium":{ValueUnit:"ppm",Element:"K",ModusTestID:""},"Mg\nmagnesium":{ValueUnit:"ppm",Element:"Mg",ModusTestID:""},"Mn\nmanganese":{ValueUnit:"ppm",Element:"Mn",ModusTestID:""},"Mo\nmolybdenum":{ValueUnit:"ppm",Element:"Mo",ModusTestID:""},"Na\nsodium":{ValueUnit:"ppm",Element:"Na",ModusTestID:""},"Ni\nnickel":{ValueUnit:"ppm",Element:"Ni",ModusTestID:""},"P\nphosphorus":{ValueUnit:"ppm",Element:"P",ModusTestID:""},"Pb\nlead":{ValueUnit:"ppm",Element:"Pb",ModusTestID:""},"S\nsulfur":{ValueUnit:"ppm",Element:"S",ModusTestID:""},"Zn\nzinc":{ValueUnit:"ppm",Element:"Zn",ModusTestID:""}},vMe={name:"University of Georgia Extension Ag & Environmental Services Labs - Athens, GA",mappings:gMe,analytes:SMe,examplesKey:"UGA",type:"Soil"},yMe={"Kind Of Sample":void 0,"Lab No":"SampleNumber","Cust No":"ClientAccountNumber",Name:"ClientName",Company:"ClientCompany","Address 1":"ClientAddress","Address 2":void 0,City:"ClientCity",State:"ClientState",Zip:"ClientZip",Grower:"GrowerName","Field ID":"FieldName","Sample ID":"FMISSampleID","Date Recd":"DateReceived","Date Rept":"DateProcessed","B Depth":"StartingDepth","E Depth":"EndingDepth","Past Crop":void 0},MMe={},DMe={name:"Ward Laboratories, Inc. - Kearney, NE",mappings:yMe,analytes:MMe,examplesKey:"ward",type:"Soil"};yr("@modusjs/convert#labConfigs:warn");let sB=[Qye,tMe,sMe,mMe,dMe,lMe,aMe,fMe,_Me,vMe,DMe];const nB=Wve,r2=Object.fromEntries(Object.entries(nB).map(([e,t])=>[e,Object.fromEntries(Object.entries(t).map(([r,n])=>{const a=sB.find(i=>i.name===e&&i.type===r);return[r,aB(a,n)]}))]));sB.filter(e=>!nB[e.name]?.[e.type]).forEach(e=>{r2[e.name]=r2[e.name]??{},r2[e.name][e.type]=aB(e)});function aB(e,t){if(!e&&!t)throw new Error("At least one of local or industry lab config must be supplied");let r={...t,...e,mappings:{...t?.mappings,...e?.mappings},analytes:{...t?.analytes,...e?.analytes}};return{...r,units:Object.fromEntries(Object.entries(r.analytes).map(([n,a])=>[n,a?.ValueUnit])),headers:[...Object.keys(r.analytes),...Object.keys(r.mappings||{})]}}const By=new Map(Object.values(r2).map(e=>Object.values(e).map((t,r)=>[`${t.name}-${t.type??r}`,t])).flat(1)),IMe={ReportDate:{type:"event",path:"$.EventMetaData.EventDate",fullpath:"$.Events.*.EventMetaData.EventDate",parse:"date",description:"Top-level date assigned to this MODUS event",slim:"/date"},ReportID:{type:"event",path:"$.EventMetaData.EventCode",fullpath:"$.Events.*.EventMetaData.EventCode",description:"Top-level code assigned to this MODUS event",slim:"/id"},ReportType:{type:"event",path:"$.EventMetaData.EventType",fullpath:"$.Events.*.EventMetaData.EventCode",description:"Top-level code assigned to this MODUS event",slim:"/id"},Crop:{path:"$.EventMetaData.EventType.Plant.Crop",fullpath:"$.Events.*.EventMetaData.EventType.Plant.Crop",description:"Crop name of the plant tissue sample submitted",slim:"/crop"},PlantPart:{type:"event",path:"$.EventType.Plant.PlantPart",fullpath:"$.Events.*.EventMetaData.EventType.Plant.PlantPart",description:"Plant part name of the plant tissue sample submitted",slim:"/plantPart"},Grower:{type:"event",path:"$.FMISMetaData.FMISProfile.Grower",fullpath:"$.Events.*.FMISMetaData.FMISProfile.Grower",description:"Grower name assigned by the FMIS that submitted the samples",slim:"/source/grower/id"},GrowerName:{type:"event",path:"$.FMISMetaData.FMISProfile.Grower",fullpath:"$.Events.*.FMISMetaData.FMISProfile.Grower",description:"Grower name assigned by the FMIS that submitted the samples",slim:"/source/grower/name"},FarmName:{type:"event",path:"$.FMISMetaData.FMISProfile.Farm",fullpath:"$.Events.*.FMISMetaData.FMISProfile.Farm",description:"Farm name assigned by the FMIS that submitted the samples",slim:"/source/farm/name"},Farm:{type:"event",path:"$.FMISMetaData.FMISProfile.Farm",fullpath:"$.Events.*.FMISMetaData.FMISProfile.Farm",description:"Farm name assigned by the FMIS that submitted the samples",slim:"/source/farm/id"},Field:{type:"event",path:"$.FMISMetaData.FMISProfile.Field",fullpath:"$.Events.*.FMISMetaData.FMISProfile.Field",description:"Field name assigned by the FMIS that submitted the samples",slim:"/source/field/id"},FieldName:{type:"event",path:"$.FMISMetaData.FMISProfile.Field",fullpath:"$.Events.*.FMISMetaData.FMISProfile.Field",description:"Field name assigned by the FMIS that submitted the samples",slim:"/source/field/name"},SubField:{type:"event",path:'$.FMISMetaData.FMISProfile["Sub-Field"]',fullpath:'$.Events.*.FMISMetaData.FMISProfile["Sub-Field"]',description:"Subfield name assigned by the FMIS that submitted the samples",slim:"/source/subfield/id"},SubFieldName:{type:"event",path:'$.FMISMetaData.FMISProfile["Sub-Field"]',fullpath:'$.Events.*.FMISMetaData.FMISProfile["Sub-Field"]',description:"Subfield name assigned by the FMIS that submitted the samples",slim:"/source/subfield/name"},LabEventID:{type:"event",path:"$.LabMetaData.LabEventID",fullpath:"$.Events.*.LabMetaData.LabEventID",parse:"string",description:"The ID of the sample processing event as assigned by the lab",slim:"/lab/report/id"},LabID:{type:"event",path:"$.LabMetaData.LabID",fullpath:"$.Events.*.LabMetaData.LabID",parse:"string",description:"The ID of the lab that performed the analysis.",slim:"/lab/id"},DateProcessed:{type:"event",path:"$.LabMetaData.ProcessedDate",fullpath:"$.Events.*.LabMetaData.ProcessedDate",parse:"date",description:"Date samples processed by the lab",slim:"/lab/dateProcessed"},DateReceived:{type:"event",path:"$.LabMetaData.ReceivedDate",fullpath:"$.Events.*.LabMetaData.ReceivedDate",parse:"date",description:"Date samples received by the lab",slim:"/lab/dateReceived"},LabContactName:{type:"event",path:"$.LabMetaData.Contact.Name",fullpath:"$.Events.*.LabMetaData.Contact.Name",description:"The name of the lab contact that submitted the samples.",slim:"/lab/contact/name"},LabContactAddress:{type:"event",path:"$.LabMetaData.Contact.Address",fullpath:"$.Events.*.LabMetaData.Contact.Address",description:"The street address of the lab client that submitted the samples.",slim:"/lab/contact/address"},LabContactPhone:{type:"event",path:"$.LabMetaData.Contact.Phone",fullpath:"$.Events.*.LabMetaData.Contact.Phone]",description:"The phone number of the lab contact.",slim:"/lab/contact/phone"},ClientAddress:{type:"event",path:"$.LabMetaData.ClientAccount['Address 1']",fullpath:"$.Events.*.LabMetaData.ClientAccount['Address 1']",description:"The street address of the lab client that submitted the samples.",slim:"/lab/clientAccount/address"},ClientAddress2:{type:"event",path:"$.LabMetaData.ClientAccount['Address 2']",fullpath:"$.Events.*.LabMetaData.ClientAccount['Address 2']",description:"The street address (line 2) of the lab client that submitted the samples."},ClientName:{type:"event",path:"$.LabMetaData.ClientAccount.Name",fullpath:"$.Events.*.LabMetaData.ClientAccount.Name",parse:"string",description:"The name of the lab client that submitted the samples.",slim:"/lab/clientAccount/name"},ClientAccountNumber:{type:"event",path:"$.LabMetaData.ClientAccount.AccountNumber",fullpath:"$.Events.*.LabMetaData.ClientAccount.AccountNumber",parse:"string",description:"The account number of the lab client that submitted the samples.",slim:"/lab/clientAccount/accountNumber"},ClientZip:{type:"event",path:"$.LabMetaData.ClientAccount.Zip",fullpath:"$.Events.*.LabMetaData.ClientAccount.Zip",description:"The zip code of the lab client that submitted the samples.",slim:"/lab/clientAccount/zip"},ClientState:{type:"event",path:"$.LabMetaData.ClientAccount.State",fullpath:"$.Events.*.LabMetaData.ClientAccount.State",description:"The state of the lab client that submitted the samples.",slim:"/lab/clientAccount/state"},ClientCity:{type:"event",path:"$.LabMetaData.ClientAccount.City",fullpath:"$.Events.*.LabMetaData.ClientAccount.City",description:"The city of the lab client that submitted the samples.",slim:"/lab/clientAccount/city"},ClientCompany:{type:"event",path:"$.LabMetaData.ClientAccount.Company",fullpath:"$.Events.*.LabMetaData.ClientAccount.Company",description:"The company name of the lab client that submitted the samples.",slim:"/lab/clientAccount/company"},ClientPhone:{type:"event",path:"$.LabMetaData.ClientAccount.Phone",fullpath:"$.Events.*.LabMetaData.ClientAccount.Phone]",description:"The phone number of the lab contact.",slim:"/lab/clientAccount/phone"},LabReportID:{type:"report",path:"$.LabMetaData.Reports.*.LabReportID",fullpath:"$.Events.*.LabMetaData.Reports.*.LabReportID",parse:"string",description:"ID of the Lab Report",slim:"/lab/report/id"},SampleNumber:{type:"sample",path:"$.SampleMetaData.SampleNumber",fullpath:"$.Events.*.EventSamples.Soil.SoilSamples.*.SampleMetaData.SampleNumber",parse:"string",description:"Sample number as numbered by the lab",slim:"/lab/sampleid"},SampleContainerID:{type:"sample",path:"$.SampleMetaData.SampleContainerID",fullpath:"$.Events.*.EventSamples.Soil.SoilSamples.*.SampleMetaData.SampleContainerID",parse:"string",description:"Sample container ID as submitted by the client",slim:"/source/containerid"},FMISSampleID:{type:"sample",path:"$.SampleMetaData.FMISSampleID",fullpath:"$.Events.*.EventSamples.Soil.SoilSamples*.FMISSampleID",description:"Sample ID assigned by the FMIS that submitted the samples",slim:"/source/sampleid"},StartingDepth:{type:"depth",path:"$.StartingDepth",fullpath:"$.Events.*.EventSamples.Soil.DepthRefs.*.StartingDepth",parse:"number",description:"Starting depth (top) of the soil sample",slim:"/depth/top"},EndingDepth:{type:"depth",path:"$.EndingDepth",fullpath:"$.Events.*.EventSamples.Soil.DepthRefs.*.EndingDepth",description:"Ending depth (bottom) of the soil sample",slim:"/depth/bottom"},ColumnDepth:{type:"depth",path:"$.EndingDepth",fullpath:"$.Events.*.EventSamples.Soil.DepthRefs.*.EndingDepth",description:"Column depth (top to bottom) of the soil sample"}};function iB(e){return e instanceof Date?e:(""+e).length===8&&parseInt(""+e)?(e=""+e,new Date(`${e.substring(0,4)}-${e.substring(4,6)}-${e.substring(6)}`)):+e<1e5&&+e>100?new Date(Xye(Yye(e)).format("YYYY-MM-DD")):new Date(""+e).toString()!=="Invalid Date"?new Date(""+e):zS(""+e,"DD-MM-YYYY").toString()!=="Invalid Date"?new Date(zS(""+e,"DD-MM-YYYY").toString()):new Date(e).toString()!=="Invalid Date"?new Date(e):new Date(e)}function OMe(e,t){switch(t.parse){case"number":return+e;case"date":return e==="NA"?!1:e&&iB(e).toISOString().split("T")[0];case"string":return""+e;default:return e}}const LMe=yr("@modusjs/convert#labs-automated:info"),xT=yr("@modusjs/convert#labs-automated:trace"),lB=yr("@modusjs/convert#labs-automated:warn"),bMe=yr("@modusjs/convert#labs-automated:error");function oB(e,t){const r=t||Array.from(By.values());lB("Attempting to identify header matches individually.");let n=r.map(u=>Object.fromEntries(Object.entries(u.mappings).map(([m,c])=>[Ld(m),c]))),a={};e.forEach(u=>{const m=Ld(u);let c=n.find(f=>f[m]);c!==void 0&&(a[u]=c[u])});let i=e.filter(u=>!a[u]);if(!Object.values(a).find(u=>u==="ReportDate")){let u=CMe(e);a[u]="ReportDate",i=i.filter(m=>m!==u)}let s=r.map(u=>Object.fromEntries(Object.entries(u.analytes).map(([m,c])=>[Ld(c.CsvHeader||c.Element),c]))).flat(1),l={};i.forEach(u=>{const m=Ld(u);let c=s.find(f=>f[m]);c&&(l[u]={Element:c[u].Element})}),i=i.filter(u=>!l[u]);const o=Object.fromEntries(Object.entries(l).map(([u,m])=>[u,m?.ValueUnit]));return i.length>0&&xT("Remaining unrecognized headers:",i),{units:o,analytes:l,headers:e,name:"Automated",type:"Automated",mappings:a}}function CMe(e){let t=e.sort().find(r=>r.toUpperCase().match(/DATE/));if(e.find(r=>r.match(/DATESUB/)))return xT("Found DATESUB column, using that for date."),t="DATESUB",t;throw bMe("No date column in sheet, columns are:",e),new Error("Could not find a column containing 'date' in the name to use as the date in sheet. A date is required.")}function uB({headers:e,sheetname:t,labConfigs:r}){let n=(r||Array.from(By.values())).find(a=>EMe(e,a));if(n)return LMe(`Recognized sheet ${t!==void 0?`[${t}] `:""}as lab: ${n.name}`),n;lB("No matches found while attempting to autodetect LabConfig.")}function EMe(e,t){return e.every(r=>{if(t.headers.indexOf(r)<=-1){let n=/[_\d]+$/;if(n.test(r)){const a=r.replace(n,"");if(t.headers.indexOf(a)>-1)return!0}xT(`Header string "${r}" not in ${t.name} LabConfig`)}return t.headers.indexOf(r)>-1})}function Ld(e){const t={};for(const[r,n]of Object.entries(e)){const a=r.toUpperCase().replace(/([ _]|-)*/g,"");t[a]=typeof n=="object"?Ld(n):n}return t}function u1(e,t,r){return r?Object.entries(r.mappings).find(([a,i])=>(Array.isArray(i)?i.some(s=>s===e):i===e)&&t.includes(a))?.[0]:void 0}function ls(e,t,r){if(!e)return;let n=u1(t,Object.keys(e),r);if(n){let a=IMe[t];return OMe(e[n],a)}return""}var kf={exports:{}},mB={exports:{}};(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(r,n){return r<>>32-n},rotr:function(r,n){return r<<32-n|r>>>n},endian:function(r){if(r.constructor==Number)return t.rotl(r,8)&16711935|t.rotl(r,24)&4278255360;for(var n=0;n0;r--)n.push(Math.floor(Math.random()*256));return n},bytesToWords:function(r){for(var n=[],a=0,i=0;a>>5]|=r[a]<<24-i%32;return n},wordsToBytes:function(r){for(var n=[],a=0;a>>5]>>>24-a%32&255);return n},bytesToHex:function(r){for(var n=[],a=0;a>>4).toString(16)),n.push((r[a]&15).toString(16));return n.join("")},hexToBytes:function(r){for(var n=[],a=0;a>>6*(3-s)&63)):n.push("=");return n.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var n=[],a=0,i=0;a>>6-i*2);return n}};mB.exports=t})();var eb={utf8:{stringToBytes:function(e){return eb.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(eb.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r - * @license MIT - */var TMe=function(e){return e!=null&&(cB(e)||AMe(e)||!!e._isBuffer)};function cB(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function AMe(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&cB(e.slice(0,0))}(function(){var e=mB.exports,t=NP.utf8,r=TMe,n=NP.bin,a=function(i,s){i.constructor==String?s&&s.encoding==="binary"?i=n.stringToBytes(i):i=t.stringToBytes(i):r(i)?i=Array.prototype.slice.call(i,0):!Array.isArray(i)&&i.constructor!==Uint8Array&&(i=i.toString());for(var l=e.bytesToWords(i),o=i.length*8,u=1732584193,m=-271733879,c=-1732584194,f=271733878,p=0;p>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360;l[o>>>5]|=128<>>9<<4)+14]=o;for(var h=a._ff,d=a._gg,_=a._hh,y=a._ii,p=0;p>>0,m=m+S>>>0,c=c+v>>>0,f=f+M>>>0}return e.endian([u,m,c,f])};a._ff=function(i,s,l,o,u,m,c){var f=i+(s&l|~s&o)+(u>>>0)+c;return(f<>>32-m)+s},a._gg=function(i,s,l,o,u,m,c){var f=i+(s&o|l&~o)+(u>>>0)+c;return(f<>>32-m)+s},a._hh=function(i,s,l,o,u,m,c){var f=i+(s^l^o)+(u>>>0)+c;return(f<>>32-m)+s},a._ii=function(i,s,l,o,u,m,c){var f=i+(l^(s|~o))+(u>>>0)+c;return(f<>>32-m)+s},a._blocksize=16,a._digestsize=16,kf.exports=function(i,s){if(i==null)throw new Error("Illegal argument "+i);var l=e.wordsToBytes(a(i,s));return s&&s.asBytes?l:s&&s.asString?n.bytesToString(l):e.bytesToHex(l)}})();const wP=yr("@modusjs/convert#csv:error"),fB=yr("@modusjs/convert#csv:error"),kMe=yr("@modusjs/convert#csv:info"),n_=yr("@modusjs/convert#csv:trace"),xP=/^Base Saturation - /;function PMe({wb:e,str:t,arrbuf:r,base64:n}){if(!e)try{t&&(e=hm(t,{type:"string",cellDates:!0})),r&&(e=hm(r,{type:"array",cellDates:!0})),n&&(e=hm(n,{type:"base64",cellDates:!0}))}catch(a){throw kT.tag(a,"Failed to parse input data with xlsx/csv reader")}if(!e)throw new Error("No readable input data found.");return e}function UMe({wb:e,str:t,arrbuf:r,base64:n,format:a,lab:i,labConfigs:s,filename:l,allowOverrides:o=!0}){return BMe({...NMe({wb:e,str:t,arrbuf:r,base64:n,format:a,lab:i,labConfigs:s}),filename:l,allowOverrides:o})}function NMe({wb:e,str:t,arrbuf:r,base64:n,format:a,lab:i,labConfigs:s,filename:l}){switch(e=PMe({wb:e,str:t,arrbuf:r,base64:n}),a||(a="generic"),a){case"generic":return FMe({wb:e,lab:i,labConfigs:s});default:throw new Error(`format type ${a} not currently supported`)}}function wMe(e){const t=e.SheetNames.find(VP);let r;t&&(r={rows:Qf.sheet_to_json(e.Sheets[t],{raw:!1}).map(VT),sheetname:t},n_("metadatasheet:",r.sheetname));const a=(e.SheetNames.length>1&&e.SheetNames.some(i=>i.toLowerCase().includes("raw"))?e.SheetNames.filter(i=>i.toLocaleLowerCase().includes("raw")):e.SheetNames).filter(i=>!VP(i)).map(i=>{const s=e.Sheets[i],l=Qf.sheet_to_json(s,{defval:""}),o=l.map(m=>Object.fromEntries(Object.entries(m).filter(([c,f])=>!c.startsWith("__EMPTY")).map(([c,f])=>[c.trim(),f]))).filter(jMe),u=[...new Set(o.map(m=>Object.keys(m)).reduce((m,c)=>m.concat(c),[]))];return{sheetname:i,allrows:l,rows:o,colnames:u}});return{metadatasheet:r,datasheets:a}}function xMe(e,t){const r={};for(const n of e.rows){const a=ls(n,"SampleNumber",t)||n.POINTID||n.FMISSAMPLEID||n.SAMPLEID;!a||(r[a]=n)}return r}function VMe({datasheets:e,allowImprovise:t,labConfigs:r}){const n=e.map(({sheetname:a,colnames:i})=>uB({headers:i,sheetname:a})).find(a=>a);return n&&kMe(`Using LabConfig: ${n.name}`),t?n||e.map(({colnames:a})=>oB(a)).find(a=>a):n}function RMe(e,t){return e.reduce((r,n)=>{let a=t?n[t]:"Unknown Date";return a==="NA"&&(a="Unknown Date"),a!=="Unknown Date"&&(a=iB(a)),a=a instanceof Date?a.toISOString().split("T")[0]:a,n_("Determined row date from column",t,"as",a),a?(r[a]||(r[a]=[]),r[a].push(n),r):(fB("WARNING: row does not have the column we chose for the date (",t,"), the row is: ",n),r)},{})}function FMe({wb:e,lab:t,labConfigs:r}){const{metadatasheet:n,datasheets:a}=wMe(e),i=t&&typeof t=="string"?By.get(t):VMe({datasheets:a});i||fB("LabConfig was either not supplied or not auto-detected. It may parse if using standardized CSV input...");let s;return n&&(s=xMe(n,i)),n_("datasheets:",a),{datasheets:a,labConfig:i,pointMeta:s}}function BMe({datasheets:e,labConfig:t,pointMeta:r,filename:n,allowOverrides:a=!0}){const i=[];for(const{sheetname:s,allrows:l,rows:o,colnames:u}of e){let m=a?$Me(l):void 0;n_("Have",o.length,"rows from sheetname: ",s);let c=Object.fromEntries(u.map(h=>[h,{...KMe(h,t),unitsOverride:m?.[h]}])),f="ReportDate"in o[0]?"ReportDate":u1("ReportDate",u,t)??u.find(h=>h.toUpperCase().match(/DATE/));f||wP("No date column in sheet",s,", columns are:",u);const p=RMe(o,f);for(const[h,d]of Object.entries(p)){if(h==="Unknown Date")continue;let _={date:h,lab:{},samples:{}};Ur(_,"/type",(t?.type||ls(d[0],"LabType",t)||"Soil").toLowerCase()),_.type==="plant"&&(_.type="plant-tissue");for(const[y,g]of d.entries()){Ur(_,"/lab/name",ls(g,"LabName",t)||t?.name),Ur(_,"/lab/report/id",ls(g,"LabReportID",t)),Ur(_,"/id",ls(g,"ReportID",t)||ls(g,"LabEventtID",t)),Ur(_,"/lab/dateProcessed",ls(g,"DateProcessed",t)||h),_.lab.dateProcessed&&!_.lab.dateProcessed.includes("T")&&(_.lab.dateProcessed+="T00:00:00+00:00"),Ur(_,"/lab/dateReceived",ls(g,"DateReceived",t)||h),_.lab.dateReceived&&!_.lab.dateReceived.includes("T")&&(_.lab.dateReceived+="T00:00:00+00:00"),Ur(_,"/lab/contact/name",ls(g,"LabContactName",t)),Ur(_,"/lab/contact/address",ls(g,"LabContactAddress",t)),Ur(_,"/lab/contact/Phone",ls(g,"LabContactPhone",t)),Ur(_,"/lab/clientAccount/accountNumber",ls(g,"ClientAccountNumber",t)),Ur(_,"/lab/clientAccount/name",ls(g,"ClientName",t)),Ur(_,"/lab/clientAccount/company",ls(g,"ClientCompany",t)),Ur(_,"/lab/clientAccount/address",ls(g,"ClientAddress",t)),Ur(_,"/lab/clientAccount/city",ls(g,"ClientCity",t)),Ur(_,"/lab/clientAccount/state",ls(g,"ClientState",t)),Ur(_,"/lab/clientAccount/zip",ls(g,"ClientZip",t)),Ur(_,"/lab/files",[{name:n}]);let S=""+ls(g,"SampleContainerID",t)||""+ls(g,"SampleNumber",t)||""+ls(g,"FMISSampleID",t),v=1,M=S;for(;Ls.has(_,`/samples/${M}`);)v++,M=`${S}-${v}`;S=M;const I=r?.[S];Ur(_,"/source/grower/name",ai(g,"GrowerName",t,I)),Ur(_,"/source/grower/id",ai(g,"Grower",t,I)),Ur(_,"/source/farm/name",ai(g,"FarmName",t,I)),Ur(_,"/source/farm/id",ai(g,"Farm",t,I)),Ur(_,"/source/field/name",ai(g,"FieldName",t,I)),Ur(_,"/source/field/id",ai(g,"Field",t,I)),Ur(_,"/source/subfield/name",ai(g,"SubFieldName",t,I)),Ur(_,"/source/subfield/id",ai(g,"SubField",t,I));let D=qMe({row:g,headers:c,labConfig:t});D=HMe({nutrientResults:D,unitOverrides:m,labConfig:t,headers:c}),D=WF(D),Ur(_,`/samples/${S}/source/sampleid`,ai(g,"FMISSampleID",t,I)),Ur(_,`/samples/${S}/lab/containerid`,ls(g,"SampleContainerID",t)),Ur(_,`/samples/${S}/lab/sampleid`,ls(g,"SampleNumber",t)),Ur(_,`/samples/${S}/results`,Object.fromEntries(D.map(E=>{const z={};return E.Element&&(z.analyte=E.Element),E.CsvHeader&&(z.csvHeader=E.CsvHeader),E.ModusTestID&&(z.modusTestID=E.ModusTestID),E.ModusTestIDv2&&(z.modusTestID=E.ModusTestIDv2),E.UCUM_ValueUnit&&(z.ucumUnits=E.UCUM_ValueUnit),E.ValueUnit&&(z.units=E.ValueUnit),(E.Value||E.Value===0)&&(z.value=E.Value),E.ValueDesc&&(z.valueDescription=E.ValueDesc),E.ValueType&&(z.valueType=E.ValueType),[`${S}-${kf.exports(JSON.stringify(z))}`,z]}))),Object.entries(t?.mappings||{}).filter(([E,z])=>z===void 0).map(([E,z])=>E).forEach(([E,z])=>{}),_.type==="soil"&&Ur(_,`/samples/${S}/depth`,ZMe(g,c,t)),_.type==="plant-tissue"&&(Ur(_,"/source/crop",ai(g,"Crop",t,I)),Ur(_,"/source/growthStage",ai(g,"GrowthStage",t,I)),Ur(_,"/source/subGrowthStage",ai(g,"SubGrowthStage",t,I)),Ur(_,"/source/plantPart",ai(g,"PlantPart",t,I)));let k=RP(I)||RP(g);k&&Ur(_,`/samples/${S}/geolocation`,k)}_.id||(_.id=kf.exports(JSON.stringify(_)));try{XF(_)}catch(y){throw wP("assertSlim failed for sheetname",s,", group date",h),kT.tag(y,`Could not construct a valid Slim from sheet ${s}, group date ${h}`)}i.push(_)}}return i}function VT(e){const t={};for(const[r,n]of Object.entries(e)){const a=r.toUpperCase().replace(/([ _]|-)*/g,"");t[a]=typeof n=="object"?VT(n):n}return t}function VP(e){return e.replace(/([ _,]|-)*/g,"").toUpperCase().match("POINTMETA")}function HMe({nutrientResults:e,headers:t,unitOverrides:r,labConfig:n}){return e.map(a=>{const i=Object.values(t).find(u=>u.original===a.CsvHeader),s=i?.original?r?.[i?.original]:void 0,l=i?.units,o=i?n?.units?.[i.original]:void 0;return n_(`Ordered unit prioritization of ${a.Element}: Override:[${s}] > Header:[${l}] > LabConfig:[${o}]`),{...a,ValueUnit:s||l||o}})}function $Me(e){const t={},r=e.filter(pB);for(const n of r)for(const[a,i]of Object.entries(n))!i||typeof i=="string"&&i.trim()==="UNITS"||(t[a]=i);return t}function ai(e,t,r,n){let a=ls(e,t,r)||ls(n,t,r);return a===void 0?a:""+a}function jMe(e){const t=!WMe(e),r=!pB(e),n=!GMe(e);return t&&r&&n}function GMe(e){if(typeof e!="object")return!0;for(const t of Object.values(e))if(t)return!1;return!0}function WMe(e){return!!Object.values(e).find(t=>typeof t=="string"&&t.trim()==="COMMENT")}function pB(e){return!!Object.values(e).find(t=>typeof t=="string"&&t.trim()==="UNITS")}function RP(e){if(e===void 0)return;let t=VT(e),r=Object.keys(t).find(s=>s.includes("LONGITUDE")),n=Object.keys(t).find(s=>s.includes("LATITUDE"));if(t.LONG&&(r="LONG"),t.LNG&&(r="LNG"),t.LON&&(r="LON"),t.LAT&&(n="LAT"),!r||!n)return;let a=+t[r],i=+t[n];return{lon:a,lat:i}}function FP(e,t,r){const n=e.indexOf(t),a=e.lastIndexOf(r);if(!(n<0))return n>e.length-1?"":a<0?e.slice(n+1):e.slice(n+1,a)}function zMe(e,t){const n=(Array.isArray(t)?t:[t]).map(i=>e.indexOf(i)).filter(i=>i>-1);if(n.length===0)return e;const a=Math.min(...n);return e.slice(0,a)}function KMe(e,t){e=e.trim().replace(/\n/g," ").replace(/ +/g," ");const r=zMe(e,["(","["]).trim()||e,n=FP(e,"[","]")?.trim();e=e.replace(`${n}`,"");const a=FP(e,"(",")")?.trim(),i=t?.analytes[r]||{Element:r};return{original:e,element:r,modusid:a,units:n,nutrientResult:i}}function qMe({row:e,headers:t,labConfig:r}){let n=Object.keys(e).filter(a=>r?.analytes[a]?typeof e[a]=="string"&&e[a]!==""||typeof e[a]=="number":a.toLowerCase().includes("depth")?!1:!!(t?.[a]?.units||t?.[a]?.modusid)).map(a=>{let i=isNaN(+e[a])?e[a]:+e[a];return r?.analytes?.[a]?{...r.analytes[a],Value:i}:{Element:t[a].element,ValueUnit:t?.[a]?.units,ModusTestID:t?.[a]?.modusid,CsvHeader:t?.[a]?.original,Value:i}});return n.filter((a,i)=>!n.some((s,l)=>a.Element===s.Element&&i!==l&&xP.test(a.Element)&&xP.test(s.Element)&&a.ValueUnit!=="%"))}function ZMe(e,t,r){let n=typeof r?.depthInfo!="function"?r?.depthInfo:r?.depthInfo(e);const a=Object.keys(e),i={};let s=u1("StartingDepth",a,r),l=s?e[s]:void 0,o=s?t[s]?.unitsOverride:void 0;i.top=ls(e,"StartingDepth",r)||n?.StartingDepth||0;let u=u1("EndingDepth",a,r),m=u?e[u]:void 0,c=u?t[u]?.unitsOverride:void 0;i.bottom=ls(e,"EndingDepth",r)||n?.EndingDepth||i.top;let f=u1("ColumnDepth",a,r),p=f?e[f]:void 0,h=f?t[f]?.unitsOverride:void 0,d;if(p||[" to "," - "].some(y=>[l,m,p].some(g=>{if(typeof g=="string"&&g?.match(y)){const S=g.split(y);i.top=parseInt(S[0])||0,i.bottom=parseInt(S[1])||0,S[1]?.includes("cm")&&(d="cm"),S[1]?.includes("mm")&&(d="mm"),S[1]?.includes("in")&&(d="in")}})),i.bottom===0)return;const _=o||c||h;return i.units=_||d||ls(e,"DepthUnit",r)||n?.DepthUnit,i.units||delete i.units,i.name=ls(e,"DepthName",r)||n?.Name||i.bottom===0?"Unknown Depth":`${i.top} to ${i.bottom}${i.units?" "+i.units:""}`,i}function Ur(e,t,r,n){const i=(Ls.has(e,t)?Ls.get(e,t):void 0)??r;i!==void 0&&(Array.isArray(i)&&i.length>0||i||i===0||i===!1)&&Ls.set(e,t,i)}var dB={exports:{}};/** @license - * - * Copyright (C) 2012 K. Arthur Endsley (kaendsle@mtu.edu) - * Michigan Tech Research Institute (MTRI) - * 3600 Green Court, Suite 100, Ann Arbor, MI, 48105 - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - * - */(function(e,t){(function(r,n){e.exports=n()})(Za,function(){var r,n,a;return a=function(i){if(i instanceof a)return i;if(!(this instanceof a))return new a(i);this._wrapped=i},r=function(i,s){return i.substring(0,s.length)===s},n=function(i,s){return i.substring(i.length-s.length)===s},a.delimiter=" ",a.isArray=function(i){return!!(i&&i.constructor===Array)},a.trim=function(i,s){for(s=s||" ";r(i,s);)i=i.substring(1);for(;n(i,s);)i=i.substring(0,i.length-1);return i},a.Wkt=function(i){this.delimiter=a.delimiter||" ",this.wrapVertices=!0,this.regExes={typeStr:/^\s*(\w+)\s*\(\s*(.*)\s*\)\s*$/,spaces:/\s+|\+/,numeric:/-*\d+(\.*\d+)?/,comma:/\s*,\s*/,parenComma:/\)\s*,\s*\(/,coord:/-*\d+\.*\d+ -*\d+\.*\d+/,doubleParenComma:/\)\s*\)\s*,\s*\(\s*\(/,ogcTypes:/^(multi)?(point|line|polygon|box)?(string)?$/i,crudeJson:/^{.*"(type|coordinates|geometries|features)":.*}$/},this._stripWhitespaceAndParens=function(s){var l=s.trim(),o=l.replace(/^\(?(.*?)\)?$/,"$1");return o},this.components=void 0,i&&typeof i=="string"?this.read(i):i&&typeof i!==void 0&&this.fromObject(i)},a.Wkt.prototype.isCollection=function(){switch(this.type.slice(0,5)){case"multi":return!0;case"polyg":return!0;default:return!1}},a.Wkt.prototype.sameCoords=function(i,s){return i.x===s.x&&i.y===s.y},a.Wkt.prototype.fromObject=function(i){var s;return i.hasOwnProperty("type")&&i.hasOwnProperty("coordinates")?s=this.fromJson(i):s=this.deconstruct.call(this,i),this.components=s.components,this.isRectangle=s.isRectangle||!1,this.type=s.type,this},a.Wkt.prototype.toObject=function(i){var s=this.construct[this.type].call(this,i);return typeof s=="object"&&!a.isArray(s)&&(s.properties=this.properties),s},a.Wkt.prototype.toString=function(i){return this.write()},a.Wkt.prototype.fromJson=function(i){var s,l,o,u,m,c;if(this.type=i.type.toLowerCase(),this.components=[],i.hasOwnProperty("geometry"))return this.fromJson(i.geometry),this.properties=i.properties,this;if(u=i.coordinates,!a.isArray(u[0]))this.components.push({x:u[0],y:u[1]});else for(s in u)if(u.hasOwnProperty(s))if(!a.isArray(u[s][0]))this.type==="multipoint"?this.components.push([{x:u[s][0],y:u[s][1]}]):this.components.push({x:u[s][0],y:u[s][1]});else{c=[];for(l in u[s])if(u[s].hasOwnProperty(l))if(!a.isArray(u[s][l][0]))c.push({x:u[s][l][0],y:u[s][l][1]});else{m=[];for(o in u[s][l])u[s][l].hasOwnProperty(o)&&m.push({x:u[s][l][o][0],y:u[s][l][o][1]});c.push(m)}this.components.push(c)}return this},a.Wkt.prototype.toJson=function(){var i,s,l,o,u,m,c;if(i=this.components,s={coordinates:[],type:function(){var f,p,h;p=this.regExes.ogcTypes.exec(this.type).slice(1),h=[];for(f in p)p.hasOwnProperty(f)&&p[f]!==void 0&&h.push(p[f].toLowerCase().slice(0,1).toUpperCase()+p[f].toLowerCase().slice(1));return h}.call(this).join("")},this.type.toLowerCase()==="box"){s.type="Polygon",s.bbox=[];for(l in i)i.hasOwnProperty(l)&&(s.bbox=s.bbox.concat([i[l].x,i[l].y]));return s.coordinates=[[[i[0].x,i[0].y],[i[0].x,i[1].y],[i[1].x,i[1].y],[i[1].x,i[0].y],[i[0].x,i[0].y]]],s}for(l in i)if(i.hasOwnProperty(l))if(a.isArray(i[l])){c=[];for(o in i[l])if(i[l].hasOwnProperty(o))if(a.isArray(i[l][o])){m=[];for(u in i[l][o])i[l][o].hasOwnProperty(u)&&m.push([i[l][o][u].x,i[l][o][u].y]);c.push(m)}else i[l].length>1?c.push([i[l][o].x,i[l][o].y]):c=c.concat([i[l][o].x,i[l][o].y]);s.coordinates.push(c)}else i.length>1?s.coordinates.push([i[l].x,i[l].y]):s.coordinates=s.coordinates.concat([i[l].x,i[l].y]);return s},a.Wkt.prototype.merge=function(i){var s=this.type.slice(0,5);if(this.type!==i.type&&this.type.slice(5,this.type.length)!==i.type)throw TypeError("The input geometry types must agree or the calling this.Wkt.Wkt instance must be a multigeometry of the other");switch(s){case"point":this.components=[this.components.concat(i.components)];break;case"multi":this.components=this.components.concat(i.type.slice(0,5)==="multi"?i.components:[i.components]);break;default:this.components=[this.components,i.components];break}return s!=="multi"&&(this.type="multi"+this.type),this},a.Wkt.prototype.read=function(i){var s;if(s=this.regExes.typeStr.exec(i),s)this.type=s[1].toLowerCase(),this.base=s[2],this.ingest[this.type]&&(this.components=this.ingest[this.type].apply(this,[this.base]));else if(this.regExes.crudeJson.test(i))if(typeof JSON=="object"&&typeof JSON.parse=="function")this.fromJson(JSON.parse(i));else throw console.log("JSON.parse() is not available; cannot parse GeoJSON strings"),{name:"JSONError",message:"JSON.parse() is not available; cannot parse GeoJSON strings"};else throw console.log("Invalid WKT string provided to read()"),{name:"WKTError",message:"Invalid WKT string provided to read()"};return this},a.Wkt.prototype.write=function(i){var s,l,o;for(i=i||this.components,l=[],l.push(this.type.toUpperCase()+"("),s=0;s0&&l.push(","),!this.extract[this.type])return null;o=this.extract[this.type].apply(this,[i[s]]),this.isCollection()&&this.type!=="multipoint"?l.push("("+o+")"):(l.push(o),s!==i.length-1&&this.type!=="multipoint"&&l.push(","))}return l.push(")"),l.join("")},a.Wkt.prototype.extract={point:function(i){return String(i.x)+this.delimiter+String(i.y)},multipoint:function(i){var s,l=[],o;for(s=0;s2&&(f=f.filter(function(d){return d!=""})),f.length===2){var p=f[0],h=f[1];u.push({x:parseFloat(p),y:parseFloat(h)})}}o.push(u)}return o},box:function(i){var s,l,o;for(l=this.ingest.multipoint.apply(this,[i]),o=[],s=0;sObject.keys(n)[0].toLowerCase()),t.type==="plant"&&(t.type="plant-tissue"),fr(r,"/LabMetaData/LabID",t,"/lab/id/value"),fr(r,"/LabMetaData/LabID",t,"/lab/id/source",()=>"local"),fr(r,"/LabMetaData/LabName",t,"/lab/name"),fr(r,"/LabMetaData/Contact/Name",t,"/lab/contact/name"),fr(r,"/LabMetaData/Contact/Phone",t,"/lab/contact/phone"),fr(r,"/LabMetaData/Contact/Address",t,"/lab/contact/address"),fr(r,"/LabMetaData/Contact/Email",t,"/lab/contact/email"),fr(r,"/LabMetaData/Contact/State",t,"/lab/contact/state"),fr(r,"/LabMetaData/ReceivedDate",t,"/lab/dateReceived"),t?.lab?.dateReceived&&(t.lab.dateReceived=zS(t.lab.dateReceived).toISOString()),fr(r,"/LabMetaData/ProcessedDate",t,"/lab/dateProcessed"),t?.lab?.dateProcessed&&(t.lab.dateProcessed=zS(t.lab.dateProcessed).toISOString()),fr(r,"/LabMetaData/ClientAccount/Name",t,"/lab/clientAccount/name"),fr(r,"/LabMetaData/ClientAccount/AccountNumber",t,"/lab/clientAccount/accountNumber"),fr(r,"/LabMetaData/ClientAccount/Company",t,"/lab/clientAccount/company"),fr(r,"/LabMetaData/ClientAccount/City",t,"/lab/clientAccount/city"),fr(r,"/LabMetaData/ClientAccount/State",t,"/lab/clientAccount/state"),fr(r,"/FMISMetaData/FMISEventID",t,"/source/report/id"),fr(r,"/FMISMetaData/FMISProfile/Grower",t,"/source/grower/name"),fr(r,"/FMISMetaData/FMISProfile/Farm",t,"/source/farm/name"),fr(r,"/FMISMetaData/FMISProfile/Field",t,"/source/field/name"),fr(r,"/FMISMetaData/FMISProfile/Sub-Field",t,"/source/subfield/name"),fr(r,"/LabMetaData/ProcessedDate",t,"/lab/report/date"),t.lab?.report?.date&&(t.lab.report.date=t.lab.report.date.split("T")[0]),fr(r,"/LabMetaData/Reports/0/LabReportID",t,"/lab/report/id"),fr(r,"/LabMetaData/Reports",t,"/lab/files",n=>n.map(a=>{const i={};return fr(a,"/ReportID",i,"/id"),fr(a,"/LabReportID",i,"/id"),fr(a,"/FileDescription",i,"/description"),fr(a,"/File/URL/Path",i,"/uri"),fr(a,"/File/URL/FileName",i,"/name"),fr(a,"/File/FileData/FileName",i,"/name"),fr(a,"/File/FileData/FileData",i,"/name"),i})),t.lab.files.length===0&&delete t.lab.files;for(const[n,a]of Object.entries(r.EventSamples)){const i=n==="Soil"?a.DepthRefs.map(l=>({name:l.Name,top:l.StartingDepth,bottom:l.EndingDepth,units:l.DepthUnit})):void 0;i&&i.length===1&&(t.depth=i[0]);const s=`${n}Samples`;for(const l of a[s]){const o={};let u=Ls.has(l,"/SampleMetaData/FMISSampleID")?Ls.get(l,"/SampleMetaData/FMISSampleID"):Ls.has(l,"/SampleMetaData/SampleNumber")?Ls.get(l,"/SampleMetaData/SampleNumber"):Ls.has(l,"/SampleMetaData/SampleContainerID")?Ls.get(l,"/SampleMetaData/SampleContainerID"):void 0;fr(l,"/SampleMetaData/SampleNumber",o,"/lab/sampleid"),fr(l,"/SampleMetaData/SampleContainerID",o,"/source/sampleid");const m=n==="Soil"?l.Depths.map(c=>c.NutrientResults).flat(1):l.NutrientResults;o.results=Object.fromEntries(m.map(c=>{const f={};return fr(c,"/ModusTestID",f,"/analyte",p=>p.split("_")[3]),fr(c,"/Element",f,"/analyte"),fr(c,"/ModusTestID",f,"/modusTestID"),fr(c,"/ValueUnit",f,"/units"),fr(c,"/Value",f,"/value"),[`${u}-${kf.exports(JSON.stringify(f))}`,f]})),fr(l,"/SampleMetaData/Geometry",o,"/geolocation",({wkt:c})=>{if(c.toLowerCase().startsWith("point")){const f=c.split("(")[1].replace(/\)$/,"").split(" ");return{lat:+f[1],lon:+f[0]}}return{geojson:new YMe.Wkt().read(c).toJson()}}),n==="Plant"&&(fr(r,"/EventMetaData/EventType/Plant/Crop/Name",t,"/crop/name"),fr(r,"/EventMetaData/EventType/Plant/PlantPart",t,"/plantPart"),fr(r,"/EventMetaData/EventType/Plant/Crop/GrowthStage/Name",t,"/crop/growthStage"),fr(r,"/EventMetaData/EventType/Plant/Crop/SubGrowthStage/Name",t,"/crop/subGrowthStage")),u=u||kf.exports(JSON.stringify(o)),t.samples=t.samples||{},t.samples[u]=o}}t.id||(t.id=kf.exports(JSON.stringify(t)))}return t}function fr(e,t,r,n,a){if(Ls.has(e,t)){const i=Ls.has(r,n)?Ls.get(r,n):void 0,s=a?a(Ls.get(e,t))??i:Ls.get(e,t)??i;(Array.isArray(s)&&s.length>0||s||s===0)&&Ls.set(r,n,s)}}function XMe(e){const t=Object.fromEntries(Object.entries(Ls.dict(e)).filter(([n,a])=>!n.startsWith("/samples")));return{samples:Object.fromEntries(Object.entries(e.samples||{}).map(([n,a])=>{for(const[i,s]of Object.entries(t))Ls.has(a,i)||Ls.set(a,i,s);return[n,a]})),id:"",type:"soil",date:""}}function HP(e,t){const r=XMe(JSON.parse(JSON.stringify(e)));return e.type,Object.entries(r.samples||{}).map(([n,a])=>{let i=Object.fromEntries(Object.entries(Ls.dict(a)||{}).filter(([l,o])=>!l.includes("/results")).map(([l,o])=>[l.replace(/^\//,"").replace(/\//g,"."),o])),s=JMe(a.results);return{...i,...s}})}function JMe(e){return Object.fromEntries(Object.values(e).map(t=>[`${t.analyte}${t.modusTestID?` (${t.modusTestID})`:""} [${t.units?t.units:""}]`,t.value]))}function QMe(e){let t=[];Array.isArray(e)?t=e.map(n=>HP(n)).flat(1):t=HP(e);let r=Qf.json_to_sheet(t);return{wb:{Sheets:{Sheet1:r},SheetNames:["Sheet1"]},str:Qf.sheet_to_csv(r)}}const eDe=yr("@modusjs/convert#tojson:error"),Zm=yr("@modusjs/convert#tojson:error");yr("@modusjs/convert#tojson:info");const tDe=yr("@modusjs/convert#tojson:trace"),Hy=["xml","csv","xlsx","json","zip"];async function hB(e,t){Array.isArray(e)||(e=[e]);let r=[];for(const n of e){const a=n.format||"generic";let i=a_(n.filename);if(!i){Zm("WARNING: unable to determine file type from filename",n.filename,". Supported types are:",Hy,". Skipping file.");continue}if((i==="csv"||i==="xlsx")&&!rp.find(c=>c===a)){Zm("ERROR: format",a,"is not supported for file",n.filename,". Supported formats are: ",rp,". Skipping file.");continue}switch(i){case"xlsx":case"zip":if(!n.arrbuf&&!n.base64){Zm("Type of",n.filename,"was",i,"but that must be an ArrayBuffer or Base64 encoded string. Skipping.");continue}break;case"csv":case"xml":case"json":if(!n.str){Zm("CSV, XML, and JSON input files must be strings, but file",n.filename,"is not.");continue}}const s={original_filename:n.filename,original_type:i},l=i,o=n.filename;let u="",m=null;try{switch(i){case"zip":const c=await rDe(n);r=[...r,...c];break;case"json":m=typeof n.str=="string"?JSON.parse(n.str):n.str,(m._type==="application/vnd.modus.v1.modus-result+json"||m.Events)&&(m=BP(m)),XF(m),u=VI({modus:m,type:l,filename:o}),r.push({modus:m,output_filename:u,...s});break;case"xml":m=DDe(n.str),u=VI({modus:m,type:l,filename:o}),m&&((m._type==="application/vnd.modus.v1.modus-result+json"||m.Events)&&(m=BP(m)),r.push({modus:m,output_filename:u,...s}));break;case"csv":case"xlsx":let f;i==="csv"?f={str:n.str,format:a,filename:o}:n.arrbuf?f={arrbuf:n.arrbuf,format:a,filename:o}:f={base64:n.base64,format:a,filename:o};const p=UMe({...f,labConfigs:t});for(const[h,d]of p.entries()){const _={modus:d,type:l,filename:o};p.length>1&&(_.index=h),u=VI(_),r.push({modus:d,output_filename:u,...s})}break}}catch(c){if(c.errors&&c.input&&Array.isArray(c.errors)){Zm("ERROR: failed to validate file",n.filename);for(const f of c.errors)Zm("Path",f.instancePath,f.message)}else Zm("ERROR: failed to read file",n.filename),console.log(c);continue}}return r}function VI({modus:e,index:t,filename:r,type:n}){let i=r.replace(/\.(xml|csv|xlsx|zip)$/,".json");const s=Ls.has(e,"/lab/files/0/description")?Ls.get(e,"/lab/files/0/description"):"";return(n==="xlsx"||n==="csv"||n==="zip")&&s?i=i.replace(/\.json$/,`${s.replace(/[^a-zA-Z0-9_\\-]*/g,"")}.json`):typeof t<"u"&&(i=i.replace(/\.json$/,`_${t}.json`)),i}function a_(e){return e.match(/\.xml$/)?"xml":e.match(/\.csv$/)?"csv":e.match(/\.xlsx$/)?"xlsx":e.match(/.json$/)?"json":e.match(/.zip/)?"zip":null}async function rDe(e){let t={};const r=e.arrbuf||e.base64;if(e.base64&&(t={base64:!0}),!r)throw eDe("ERROR: Zip input file had neither arrbuf nor base64. At least one is required."),new Error("Zip must have either array buffer or base64-encoded string");const n=await KF.loadAsync(r,t);let a=[];for(const i of Object.values(n.files)){if(i.dir)continue;const s=a_(i.name),l=i.name.replace(/^(.*[\/\\])*/g,"");tDe("Found file",l,"of type",s,"in zip");let o={filename:l,format:e.format};switch(s){case"zip":case"xlsx":o.arrbuf=await i.async("arraybuffer");break;case"xml":case"csv":case"json":o.str=await i.async("string");break}a.push(o)}return hB(a)}yr("@modusjs/convert#csv:error");const p0=yr("@modusjs/convert#csv:error"),s2=yr("@modusjs/convert#csv:info"),_B=yr("@modusjs/convert#csv:trace"),hg="cm",rp=["generic"];function sDe({wb:e,str:t,arrbuf:r,base64:n}){if(!e)try{t&&(e=hm(t,{type:"string",cellDates:!0})),r&&(e=hm(r,{type:"array",cellDates:!0})),n&&(e=hm(n,{type:"base64",cellDates:!0}))}catch(a){throw kT.tag(a,"Failed to parse input data with xlsx/csv reader")}if(!e)throw new Error("No readable input data found.");return e}function nDe({wb:e,str:t,arrbuf:r,base64:n,format:a,lab:i,labConfigs:s}){switch(e=sDe({wb:e,str:t,arrbuf:r,base64:n}),a||(a="generic"),a){case"generic":return oDe({wb:e,lab:i,labConfigs:s});default:throw new Error(`format type ${a} not currently supported`)}}function aDe(e){const t=e.SheetNames.find($P);let r;t&&(r={rows:Qf.sheet_to_json(e.Sheets[t],{raw:!1}).map(gB),sheetname:t},_B("metadatasheet:",r.sheetname));const a=(e.SheetNames.length>1&&e.SheetNames.some(i=>i.toLowerCase().includes("raw"))?e.SheetNames.filter(i=>i.toLocaleLowerCase().includes("raw")):e.SheetNames).filter(i=>!$P(i)).map(i=>{const s=e.Sheets[i],l=Qf.sheet_to_json(s,{defval:""}),o=l.map(m=>Object.fromEntries(Object.entries(m).filter(([c,f])=>!c.startsWith("__EMPTY")).map(([c,f])=>[c.trim(),f]))).filter(uDe),u=[...new Set(o.map(m=>Object.keys(m)).reduce((m,c)=>m.concat(c),[]))];return{sheetname:i,allrows:l,rows:o,colnames:u}});return{metadatasheet:r,datasheets:a}}function iDe(e,t){const r={};for(const n of e.rows){const a=ls(n,"SampleNumber",t)||n.POINTID||n.FMISSAMPLEID||n.SAMPLEID;!a||(r[a]=n)}return r}function lDe({datasheets:e,allowImprovise:t,labConfigs:r}){const n=e.map(({sheetname:a,colnames:i})=>uB({headers:i,sheetname:a})).find(a=>a);return n&&s2(`Using LabConfig: ${n.name}`),t?n||e.map(({colnames:a})=>oB(a)).find(a=>a):n}function oDe({wb:e,lab:t,labConfigs:r}){const{metadatasheet:n,datasheets:a}=aDe(e),i=t&&typeof t=="string"?By.get(t):lDe({datasheets:a});i||p0("LabConfig was either not supplied or not auto-detected. It may parse if using standardized CSV input...");let s;return n&&(s=iDe(n,i)),_B("datasheets:",a),{datasheets:a,labConfig:i,pointMeta:s}}function gB(e){const t={};for(const[r,n]of Object.entries(e)){const a=r.toUpperCase().replace(/([ _]|-)*/g,"");t[a]=typeof n=="object"?gB(n):n}return t}function $P(e){return e.replace(/([ _,]|-)*/g,"").toUpperCase().match("POINTMETA")}function uDe(e){const t=!cDe(e),r=!fDe(e),n=!mDe(e);return t&&r&&n}function mDe(e){if(typeof e!="object")return!0;for(const t of Object.values(e))if(t)return!1;return!0}function cDe(e){return!!Object.values(e).find(t=>typeof t=="string"&&t.trim()==="COMMENT")}function fDe(e){return!!Object.values(e).find(t=>typeof t=="string"&&t.trim()==="UNITS")}async function pDe(e,t){Array.isArray(e)||(e=[e]);let r=[];for(const n of e){const a=n.format||"generic";let i=a_(n.filename);if(!i){p0("WARNING: unable to determine file type from filename",n.filename,". Supported types are:",Hy,". Skipping file.");continue}if((i==="csv"||i==="xlsx")&&!rp.find(u=>u===a)){p0("ERROR: format",a,"is not supported for file",n.filename,". Supported formats are: ",rp,". Skipping file.");continue}switch(i){case"zip":s2(`Lab configurations can only be generated from .csv/.xlsx files. Skipping ${n.filename}`);continue;case"xml":s2(`Lab configurations can only be generated from .csv/.xlsx files. Skipping ${n.filename}`);continue;case"json":s2(`Lab configurations can only be generated from .csv/.xlsx files. Skipping ${n.filename}`);continue}const s={original_filename:n.filename,original_type:i},l=i,o=n.filename;try{switch(i){case"csv":case"xlsx":let u;i==="csv"?u={str:n.str,format:a}:n.arrbuf?u={arrbuf:n.arrbuf,format:a}:u={base64:n.base64,format:a};const m=nDe({...u,labConfigs:t}),c={wbinfo:m,type:l,filename:o};r.push({...m,...s});break}}catch(u){if(u.errors&&u.input&&Array.isArray(u.errors)){p0("ERROR: failed to validate file",n.filename);for(const m of u.errors)p0("Path",m.instancePath,m.message)}else p0("ERROR: failed to read file",n.filename),console.log(u);continue}}return r}function dDe(e){return e=hDe(e),e=_De(e),e}function hDe(e){let t=(e.Events||[]).map(r=>(r.EventSamples?.Soil&&(r.EventSamples.Soil.DepthRefs=r.EventSamples.Soil.DepthRefs?.map(n=>{const a=xI(n.StartingDepth,n.DepthUnit,hg),i=xI(n.EndingDepth,n.DepthUnit,hg),s=xI(n.ColumnDepth,n.DepthUnit,hg);return a?.status==="failed"||i?.status==="failed"||s?.status==="failed"?(p0("Standardizing soil depth units failed. Falling back to input."),n):{...n,StartingDepth:Math.round(a.toVal),EndingDepth:Math.round(i.toVal),ColumnDepth:Math.round(s.toVal),DepthUnit:hg}})),r));return{...e,Events:t}}function _De(e,t){let r=(e.Events||[]).map(n=>{let a=Object.fromEntries(Object.entries(n.EventSamples||{}).map(([i,s])=>{let l=`${i}Samples`;return i==="Soil"&&(s[l]=s[l].map(o=>({...o,Depths:o.Depths.map(u=>({...u,NutrientResults:WF(u.NutrientResults.map(m=>({...m,Element:bP[m.ModusTestID]?.Element||m.Element,ModusTestIDv2:bP[m.ModusTestID]?.ModusTestIDv2||m.ModusTestIDv2})),t)}))}))),[i,s]}));return{...n,EventSamples:a}});return{...e,Events:r}}var SB={exports:{}};SB.exports=ht;SB.exports.default=ht;const sd={description:"Metadata for a sample in the sample event",type:"object",properties:{SampleNumber:{description:"Sample Number give the sample by during sample collection",type:"string"},FMISSampleID:{description:"Unique ID assigned by an FMIS for the sample",type:"string"},SampleContainerID:{description:"Unique ID for the sample bag or container. i.e. Bar code",type:"string"},SampleGroupID:{description:"ID number to reference different samples as one group",type:"integer"},ReportID:{description:"ID number indicating lab report to which this sample belongs.",type:["number","string"]},OverwriteResult:{description:"Flag to indicate if this result is to overwrite any previous results. e.g. for correcting a mistake.",type:"boolean"},Geometry:{description:"WKT Geometry Source: http://en.wikipedia.org/wiki/Well-known_text Limit types to Point, Polygon and MultiPolygon",type:"object",properties:{epsg:{description:"Projection ID of the Geometry Source: http://spatialreference.org/ref/?page=1 Default is WGS84 - Lat,Lon epsg: 4326",type:"integer",default:4326}}},SubSamples:{description:"Sub Samples is where the location of the cores within a sample can be recorded",type:"array",items:{description:"One sub sample / core",type:"object",properties:{SubSampleNumber:{description:"ID number assigned during collection.",type:"integer",minimum:0},SubSampleID:{description:"Unique ID for the sub-sample assigned by an FMIS",type:"string"},Geometry:{description:"WKT Geometry Source: http://en.wikipedia.org/wiki/Well-known_text Limit types to Point, Polygon and MultiPolygon",type:"object",properties:{epsg:{description:"Projection ID of the Geometry Source: http://spatialreference.org/ref/?page=1 Default is WGS84 - Lat,Lon epsg: 4326",type:"integer",default:4326}}}}}},TestPackages:{description:"The lab test packages used for the sample.",type:"array",uniqueItems:!0,items:{type:"string"}}}},jP={description:"Nutrient results of a sample",type:"array",items:{description:"Result for a single element",type:"object",properties:{Element:{description:'Nutrient Element. See "Element List for Modus.xlsx" for supported elements',type:"string"},Value:{description:"The value of the element",type:"number"},ValueUnit:{description:"Unit of measure for the value",type:"string"},ModusTestID:{description:'Analysis Name from "Soil Analysis Nomenclature Modus.xlsx" or "Botanical Analysis Nomenclature Modus.xlsx"',type:"string"},ValueType:{description:"Type definition of the value",type:"string",enum:["Measured","Percent","Calculated","Index"]},ValueDesc:{description:"Value description assigned by the lab.",type:"string",enum:["Very Low","Low","Medium","Optimum","Very High","VL","L","M","O","VH","High","H"]}}}},fh=Rm.fullFormats.date;function Dn(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.Soil!==void 0){const f=s;if(e.Soil!==!0)return Dn.errors=[{instancePath:t+"/Soil",schemaPath:"#/properties/Soil/const",keyword:"const",params:{allowedValue:!0},message:"must be equal to constant"}],!1;var l=f===s}else var l=!0;if(l){if(e.Plant!==void 0){let f=e.Plant;const p=s;if(f&&typeof f=="object"&&!Array.isArray(f)){if(f.PlantPart!==void 0){const d=s;if(typeof f.PlantPart!="string")return Dn.errors=[{instancePath:t+"/Plant/PlantPart",schemaPath:"#/properties/Plant/properties/PlantPart/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=d===s}else var o=!0;if(o)if(f.Crop!==void 0){let d=f.Crop;const _=s;if(d&&typeof d=="object"&&!Array.isArray(d)){if(d.Name!==void 0){const g=s;if(typeof d.Name!="string")return Dn.errors=[{instancePath:t+"/Plant/Crop/Name",schemaPath:"#/$defs/Crop/properties/Name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=g===s}else var u=!0;if(u){if(d.ClientID!==void 0){const g=s;if(typeof d.ClientID!="string")return Dn.errors=[{instancePath:t+"/Plant/Crop/ClientID",schemaPath:"#/$defs/Crop/properties/ClientID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=g===s}else var u=!0;if(u){if(d.GrowthStage!==void 0){let g=d.GrowthStage;const S=s;if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.Name!==void 0){const M=s;if(typeof g.Name!="string")return Dn.errors=[{instancePath:t+"/Plant/Crop/GrowthStage/Name",schemaPath:"#/$defs/Crop/properties/GrowthStage/properties/Name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=M===s}else var m=!0;if(m)if(g.ClientID!==void 0){const M=s;if(typeof g.ClientID!="string")return Dn.errors=[{instancePath:t+"/Plant/Crop/GrowthStage/ClientID",schemaPath:"#/$defs/Crop/properties/GrowthStage/properties/ClientID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=M===s}else var m=!0}else return Dn.errors=[{instancePath:t+"/Plant/Crop/GrowthStage",schemaPath:"#/$defs/Crop/properties/GrowthStage/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=S===s}else var u=!0;if(u)if(d.SubGrowthStage!==void 0){let g=d.SubGrowthStage;const S=s;if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.Name!==void 0){const M=s;if(typeof g.Name!="string")return Dn.errors=[{instancePath:t+"/Plant/Crop/SubGrowthStage/Name",schemaPath:"#/$defs/Crop/properties/SubGrowthStage/properties/Name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=M===s}else var c=!0;if(c)if(g.ClientID!==void 0){const M=s;if(typeof g.ClientID!="string")return Dn.errors=[{instancePath:t+"/Plant/Crop/SubGrowthStage/ClientID",schemaPath:"#/$defs/Crop/properties/SubGrowthStage/properties/ClientID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=M===s}else var c=!0}else return Dn.errors=[{instancePath:t+"/Plant/Crop/SubGrowthStage",schemaPath:"#/$defs/Crop/properties/SubGrowthStage/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=S===s}else var u=!0}}}else return Dn.errors=[{instancePath:t+"/Plant/Crop",schemaPath:"#/$defs/Crop/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=_===s}else var o=!0}else return Dn.errors=[{instancePath:t+"/Plant",schemaPath:"#/properties/Plant/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=p===s}else var l=!0;if(l){if(e.Nematode!==void 0){const f=s;if(e.Nematode!==!0)return Dn.errors=[{instancePath:t+"/Nematode",schemaPath:"#/properties/Nematode/const",keyword:"const",params:{allowedValue:!0},message:"must be equal to constant"}],!1;var l=f===s}else var l=!0;if(l){if(e.Water!==void 0){const f=s;if(e.Water!==!0)return Dn.errors=[{instancePath:t+"/Water",schemaPath:"#/properties/Water/const",keyword:"const",params:{allowedValue:!0},message:"must be equal to constant"}],!1;var l=f===s}else var l=!0;if(l)if(e.Residue!==void 0){const f=s;if(e.Residue!==!0)return Dn.errors=[{instancePath:t+"/Residue",schemaPath:"#/properties/Residue/const",keyword:"const",params:{allowedValue:!0},message:"must be equal to constant"}],!1;var l=f===s}else var l=!0}}}}else return Dn.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Dn.errors=i,s===0}function Zl(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.EventCode!==void 0){const o=s;if(typeof e.EventCode!="string")return Zl.errors=[{instancePath:t+"/EventCode",schemaPath:"#/properties/EventCode/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=o===s}else var l=!0;if(l){if(e.EventDate!==void 0){let o=e.EventDate;const u=s;if(s===u&&s===u)if(typeof o=="string"){if(!fh.validate(o))return Zl.errors=[{instancePath:t+"/EventDate",schemaPath:"#/properties/EventDate/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return Zl.errors=[{instancePath:t+"/EventDate",schemaPath:"#/properties/EventDate/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=u===s}else var l=!0;if(l){if(e.EventType!==void 0){const o=s;Dn(e.EventType,{instancePath:t+"/EventType",parentData:e,parentDataProperty:"EventType",rootData:a})||(i=i===null?Dn.errors:i.concat(Dn.errors),s=i.length);var l=o===s}else var l=!0;if(l)if(e.EventExpirationDate!==void 0){let o=e.EventExpirationDate;const u=s;if(s===u&&s===u)if(typeof o=="string"){if(!fh.validate(o))return Zl.errors=[{instancePath:t+"/EventExpirationDate",schemaPath:"#/properties/EventExpirationDate/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return Zl.errors=[{instancePath:t+"/EventExpirationDate",schemaPath:"#/properties/EventExpirationDate/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=u===s}else var l=!0}}}else return Zl.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Zl.errors=i,s===0}const gDe={description:"Metadata related to the testing lab",type:"object",properties:{LabName:{description:"The name of the lab that ran the results",type:"string"},LabID:{description:"ID for the lab that ran the results",type:"string"},LabEventID:{description:"Internal Lab ID for the event",type:"string"},Contact:{description:"Contact information at the lab",type:"object",properties:{Name:{type:"string"},PhoneNumber:{type:"string"},Address:{type:"string"}}},TestPackageRefs:{$ref:"#/$defs/TestPackageRefs"},ReceivedDate:{description:"The date/time the sample where received at the lab",anyOf:[{type:"string",format:"date-time"},{type:"string",format:"date"}]},ProcessedDate:{description:"The date/time the sample was processed by the lab",anyOf:[{type:"string",format:"date-time"},{type:"string",format:"date"}]},Reports:{description:"List of lab reports",type:"array",items:{type:"object",properties:{ReportID:{description:"Incrementing reference number to associate this report data to individual samples",type:["number","string"]},LabReportID:{description:"ID the lab has assigned to the report",type:"string"},FileDescription:{description:"Description of the report file",type:"string"},File:{description:"The file data for the report. The lab has the choice to pass a URL or embed the file data.",anyOf:[{type:"object",properties:{URL:{description:"The url path to the report file",type:"object",properties:{FileName:{description:"The name for the file",type:"string"},Path:{description:"The path to the file",type:"string"}},required:["Path"]}}},{type:"object",properties:{FileData:{description:"The file data",type:"object",properties:{FileName:{description:"The name for the file",type:"string"},FileData:{description:"File data base64 encoded",type:"string"}},required:["FileData"]}}}]}}}},ClientAccount:{description:"End user lab account information",type:"object",properties:{AccountNumber:{type:"string"},Name:{type:"string"},Company:{type:"string"},City:{type:"string"},State:{type:"string"}}}}},SDe=new RegExp("^[0-9]+$","u"),GP=Rm.fullFormats["date-time"];function Xr(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.LabName!==void 0){const S=s;if(typeof e.LabName!="string")return Xr.errors=[{instancePath:t+"/LabName",schemaPath:"#/properties/LabName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=S===s}else var l=!0;if(l){if(e.LabID!==void 0){const S=s;if(typeof e.LabID!="string")return Xr.errors=[{instancePath:t+"/LabID",schemaPath:"#/properties/LabID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=S===s}else var l=!0;if(l){if(e.LabEventID!==void 0){const S=s;if(typeof e.LabEventID!="string")return Xr.errors=[{instancePath:t+"/LabEventID",schemaPath:"#/properties/LabEventID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=S===s}else var l=!0;if(l){if(e.Contact!==void 0){let S=e.Contact;const v=s;if(s===v)if(S&&typeof S=="object"&&!Array.isArray(S)){if(S.Name!==void 0){const I=s;if(typeof S.Name!="string")return Xr.errors=[{instancePath:t+"/Contact/Name",schemaPath:"#/properties/Contact/properties/Name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=I===s}else var o=!0;if(o){if(S.PhoneNumber!==void 0){const I=s;if(typeof S.PhoneNumber!="string")return Xr.errors=[{instancePath:t+"/Contact/PhoneNumber",schemaPath:"#/properties/Contact/properties/PhoneNumber/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=I===s}else var o=!0;if(o)if(S.Address!==void 0){const I=s;if(typeof S.Address!="string")return Xr.errors=[{instancePath:t+"/Contact/Address",schemaPath:"#/properties/Contact/properties/Address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=I===s}else var o=!0}}else return Xr.errors=[{instancePath:t+"/Contact",schemaPath:"#/properties/Contact/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=v===s}else var l=!0;if(l){if(e.TestPackageRefs!==void 0){let S=e.TestPackageRefs;const v=s;if(s===s)if(Array.isArray(S)){var u=!0;const D=S.length;for(let k=0;k=",limit:1},message:"must be >= 1"}],!1;var l=f===s}else var l=!0;if(l){if(e.ExpirationDate!==void 0){let c=e.ExpirationDate;const f=s;if(typeof c=="string"){if(!fh.validate(c))return Vs.errors=[{instancePath:t+"/ExpirationDate",schemaPath:"#/properties/ExpirationDate/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return Vs.errors=[{instancePath:t+"/ExpirationDate",schemaPath:"#/properties/ExpirationDate/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=f===s}else var l=!0;if(l)if(e.RecID!==void 0){let c=e.RecID;const f=s;if(!(typeof c=="number"&&!(c%1)&&!isNaN(c)))return Vs.errors=[{instancePath:t+"/RecID",schemaPath:"#/properties/RecID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(typeof c=="number"&&(c<1||isNaN(c)))return Vs.errors=[{instancePath:t+"/RecID",schemaPath:"#/properties/RecID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var l=f===s}else var l=!0}}}}}else return Vs.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Vs.errors=i,s===0}function m1(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(Array.isArray(e)){var l=!0;const o=e.length;for(let u=0;u=",limit:0},message:"must be >= 0"}],!1;var c=nt===s}else var c=!0;if(c){if(ee.EndingDepth!==void 0){let me=ee.EndingDepth;const nt=s;if(!(typeof me=="number"&&!(me%1)&&!isNaN(me)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof me=="number"&&(me<0||isNaN(me)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var c=nt===s}else var c=!0;if(c){if(ee.ColumnDepth!==void 0){let me=ee.ColumnDepth;const nt=s;if(!(typeof me=="number"&&!(me%1)&&!isNaN(me)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof me=="number"&&(me<0||isNaN(me)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var c=nt===s}else var c=!0;if(c){if(ee.DepthUnit!==void 0){const me=s;if(typeof ee.DepthUnit!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=me===s}else var c=!0;if(c)if(ee.DepthID!==void 0){let me=ee.DepthID;const nt=s;if(!(typeof me=="number"&&!(me%1)&&!isNaN(me)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof me=="number"&&(me<1||isNaN(me)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var c=nt===s}else var c=!0}}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs/"+Q,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=Ye===s;if(!m)break}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var f=de===s}else var f=!0;if(f){if(U.RecommendationRefs!==void 0){const Se=s;ju(U.RecommendationRefs,{instancePath:t+"/Events/"+C+"/EventSamples/Soil/RecommendationRefs",parentData:U,parentDataProperty:"RecommendationRefs",rootData:a})||(i=i===null?ju.errors:i.concat(ju.errors),s=i.length);var f=Se===s}else var f=!0;if(f)if(U.SoilSamples!==void 0){let Se=U.SoilSamples;const de=s;if(s===de)if(Array.isArray(Se)){var p=!0;const It=Se.length;for(let Q=0;Q=",limit:0},message:"must be >= 0"}],!1;var _=lt===s}else var _=!0;if(_){if(ye.SubSampleID!==void 0){const We=s;if(typeof ye.SubSampleID!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var _=We===s}else var _=!0;if(_)if(ye.Geometry!==void 0){let We=ye.Geometry;const lt=s;if(s===lt)if(We&&typeof We=="object"&&!Array.isArray(We)){if(We.epsg!==void 0){let gt=We.epsg;if(!(typeof gt=="number"&&!(gt%1)&&!isNaN(gt)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=lt===s}else var _=!0}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples/"+ue,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var d=fe===s;if(!d)break}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var h=ne===s}else var h=!0;if(h)if(De.TestPackages!==void 0){let A=De.TestPackages;const ne=s;if(s===ne)if(Array.isArray(A)){var y=!0;const Ge=A.length;for(let ue=0;ue1){const fe={};for(;ue--;){let Qe=A[ue];if(typeof Qe=="string"){if(typeof fe[Qe]=="number")return ye=fe[Qe],ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ue,j:ye},message:"must NOT have duplicate items (items ## "+ye+" and "+ue+" are identical)"}],!1;fe[Qe]=ue}}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var h=ne===s}else var h=!0}}}}}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Soil/SoilSamples/"+Q+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var g=me===s}else var g=!0;if(g){if(ee.Depths!==void 0){let De=ee.Depths;const me=s;if(s===me)if(Array.isArray(De)){var S=!0;const A=De.length;for(let ne=0;ne=",limit:0},message:"must be >= 0"}],!1;var E=yt===s}else var E=!0;if(E){if(fe.SubSampleID!==void 0){const lt=s;if(typeof fe.SubSampleID!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var E=lt===s}else var E=!0;if(E)if(fe.Geometry!==void 0){let lt=fe.Geometry;const yt=s;if(s===yt)if(lt&&typeof lt=="object"&&!Array.isArray(lt)){if(lt.epsg!==void 0){let Ht=lt.epsg;if(!(typeof Ht=="number"&&!(Ht%1)&&!isNaN(Ht)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var E=yt===s}else var E=!0}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples/"+ye,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var k=Qe===s;if(!k)break}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=je===s}else var D=!0;if(D)if(me.TestPackages!==void 0){let ne=me.TestPackages;const je=s;if(s===je)if(Array.isArray(ne)){var z=!0;const ue=ne.length;for(let ye=0;ye1){const Qe={};for(;ye--;){let We=ne[ye];if(typeof We=="string"){if(typeof Qe[We]=="number")return fe=Qe[We],ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ye,j:fe},message:"must NOT have duplicate items (items ## "+fe+" and "+ye+" are identical)"}],!1;Qe[We]=ye}}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=je===s}else var D=!0}}}}}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var B=nt===s}else var B=!0;if(B)if(Ye.Comments!==void 0){const me=s;if(typeof Ye.Comments!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var B=me===s}else var B=!0}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples/"+ee,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/properties/PlantSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var I=Et===s;if(!I)break}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant/PlantSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/properties/PlantSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var M=He===s}else var M=!0}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Plant",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=te===s}else var v=!0;if(v){if(qe.Nematode!==void 0){let U=qe.Nematode;const te=s;if(s===te)if(U&&typeof U=="object"&&!Array.isArray(U)){if(U.DepthRefs!==void 0){let de=U.DepthRefs;const He=s;if(s===s)if(Array.isArray(de)){var P=!0;const Q=de.length;for(let ee=0;ee=",limit:0},message:"must be >= 0"}],!1;var F=A===s}else var F=!0;if(F){if(Ye.EndingDepth!==void 0){let nt=Ye.EndingDepth;const A=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===A&&typeof nt=="number"&&(nt<0||isNaN(nt)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var F=A===s}else var F=!0;if(F){if(Ye.ColumnDepth!==void 0){let nt=Ye.ColumnDepth;const A=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===A&&typeof nt=="number"&&(nt<0||isNaN(nt)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var F=A===s}else var F=!0;if(F){if(Ye.DepthUnit!==void 0){const nt=s;if(typeof Ye.DepthUnit!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var F=nt===s}else var F=!0;if(F)if(Ye.DepthID!==void 0){let nt=Ye.DepthID;const A=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===A&&typeof nt=="number"&&(nt<1||isNaN(nt)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var F=A===s}else var F=!0}}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs/"+ee,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var P=Et===s;if(!P)break}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var L=He===s}else var L=!0;if(L)if(U.NematodeSamples!==void 0){let de=U.NematodeSamples;const He=s;if(s===He)if(Array.isArray(de)){var H=!0;const Q=de.length;for(let ee=0;ee=",limit:0},message:"must be >= 0"}],!1;var pe=yt===s}else var pe=!0;if(pe){if(fe.SubSampleID!==void 0){const lt=s;if(typeof fe.SubSampleID!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var pe=lt===s}else var pe=!0;if(pe)if(fe.Geometry!==void 0){let lt=fe.Geometry;const yt=s;if(s===yt)if(lt&&typeof lt=="object"&&!Array.isArray(lt)){if(lt.epsg!==void 0){let Ht=lt.epsg;if(!(typeof Ht=="number"&&!(Ht%1)&&!isNaN(Ht)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var pe=yt===s}else var pe=!0}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples/"+ye,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var G=Qe===s;if(!G)break}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ie=je===s}else var ie=!0;if(ie)if(me.TestPackages!==void 0){let ne=me.TestPackages;const je=s;if(s===je)if(Array.isArray(ne)){var W=!0;const ue=ne.length;for(let ye=0;ye1){const Qe={};for(;ye--;){let We=ne[ye];if(typeof We=="string"){if(typeof Qe[We]=="number")return fe=Qe[We],ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ye,j:fe},message:"must NOT have duplicate items (items ## "+fe+" and "+ye+" are identical)"}],!1;Qe[We]=ye}}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ie=je===s}else var ie=!0}}}}}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ce=nt===s}else var ce=!0;if(ce){if(Ye.Depths!==void 0){let me=Ye.Depths;const nt=s;if(s===nt)if(Array.isArray(me)){var J=!0;const ne=me.length;for(let je=0;je=",limit:1},message:"must be >= 1"}],!1}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/Depths/"+je,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var J=ue===s;if(!J)break}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/Depths",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ce=nt===s}else var ce=!0;if(ce)if(Ye.Comments!==void 0){const me=s;if(typeof Ye.Comments!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var ce=me===s}else var ce=!0}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples/"+ee,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var H=Et===s;if(!H)break}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode/NematodeSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var L=He===s}else var L=!0}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Nematode",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=te===s}else var v=!0;if(v){if(qe.Water!==void 0){let U=qe.Water;const te=s;if(s===te)if(U&&typeof U=="object"&&!Array.isArray(U)){if(U.WaterSamples!==void 0){let de=U.WaterSamples;if(s===s)if(Array.isArray(de)){var R=!0;const It=de.length;for(let Q=0;Q=",limit:0},message:"must be >= 0"}],!1;var Z=lt===s}else var Z=!0;if(Z){if(ye.SubSampleID!==void 0){const We=s;if(typeof ye.SubSampleID!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Z=We===s}else var Z=!0;if(Z)if(ye.Geometry!==void 0){let We=ye.Geometry;const lt=s;if(s===lt)if(We&&typeof We=="object"&&!Array.isArray(We)){if(We.epsg!==void 0){let gt=We.epsg;if(!(typeof gt=="number"&&!(gt%1)&&!isNaN(gt)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Z=lt===s}else var Z=!0}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples/"+ue,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Y=fe===s;if(!Y)break}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var V=ne===s}else var V=!0;if(V)if(De.TestPackages!==void 0){let A=De.TestPackages;const ne=s;if(s===ne)if(Array.isArray(A)){var Re=!0;const Ge=A.length;for(let ue=0;ue1){const fe={};for(;ue--;){let Qe=A[ue];if(typeof Qe=="string"){if(typeof fe[Qe]=="number")return ye=fe[Qe],ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ue,j:ye},message:"must NOT have duplicate items (items ## "+ye+" and "+ue+" are identical)"}],!1;fe[Qe]=ue}}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var V=ne===s}else var V=!0}}}}}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Je=me===s}else var Je=!0;if(Je){if(ee.Source!==void 0){const De=s;if(typeof ee.Source!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Water/WaterSamples/"+Q+"/Source",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/items/properties/Source/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Je=De===s}else var Je=!0;if(Je){if(ee.NutrientResults!==void 0){let De=ee.NutrientResults;const me=s;if(s===s)if(Array.isArray(De)){var xe=!0;const ne=De.length;for(let je=0;je=",limit:0},message:"must be >= 0"}],!1;var vt=lt===s}else var vt=!0;if(vt){if(ye.SubSampleID!==void 0){const We=s;if(typeof ye.SubSampleID!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var vt=We===s}else var vt=!0;if(vt)if(ye.Geometry!==void 0){let We=ye.Geometry;const lt=s;if(s===lt)if(We&&typeof We=="object"&&!Array.isArray(We)){if(We.epsg!==void 0){let gt=We.epsg;if(!(typeof gt=="number"&&!(gt%1)&&!isNaN(gt)))return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var vt=lt===s}else var vt=!0}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples/"+ue,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ne=fe===s;if(!Ne)break}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Pe=ne===s}else var Pe=!0;if(Pe)if(De.TestPackages!==void 0){let A=De.TestPackages;const ne=s;if(s===ne)if(Array.isArray(A)){var T=!0;const Ge=A.length;for(let ue=0;ue1){const fe={};for(;ue--;){let Qe=A[ue];if(typeof Qe=="string"){if(typeof fe[Qe]=="number")return ye=fe[Qe],ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:ue,j:ye},message:"must NOT have duplicate items (items ## "+ye+" and "+ue+" are identical)"}],!1;fe[Qe]=ue}}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Pe=ne===s}else var Pe=!0}}}}}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var we=me===s}else var we=!0;if(we){if(ee.ResidueResults!==void 0){let De=ee.ResidueResults;const me=s;if(s===s)if(Array.isArray(De)){var Ue=!0;const ne=De.length;for(let je=0;je50)return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/maxLength",keyword:"maxLength",params:{limit:50},message:"must NOT have more than 50 characters"}],!1;if(WP(fe)<1)return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters"}],!1}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=Qe===s}else var K=!0;if(K){if(Ge.Value!==void 0){const fe=s;if(typeof Ge.Value!="number")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/Value",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/Value/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var K=fe===s}else var K=!0;if(K){if(Ge.ValueUnit!==void 0){const fe=s;if(typeof Ge.ValueUnit!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/ValueUnit",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=fe===s}else var K=!0;if(K){if(Ge.ValueType!==void 0){const fe=s;if(typeof Ge.ValueType!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/ValueType",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=fe===s}else var K=!0;if(K)if(Ge.ValueDesc!==void 0){const fe=s;if(typeof Ge.ValueDesc!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueDesc/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var K=fe===s}else var K=!0}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults/"+je,schemaPath:"./global.schema.json#/$defs/ResidueResults/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ue=ue===s;if(!Ue)break}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/ResidueResults",schemaPath:"./global.schema.json#/$defs/ResidueResults/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var we=me===s}else var we=!0;if(we)if(ee.Comments!==void 0){const De=s;if(typeof ee.Comments!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var we=De===s}else var we=!0}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples/"+Q,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var et=Ye===s;if(!et)break}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue/ResidueSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples/Residue",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=te===s}else var v=!0}}}}else return ht.errors=[{instancePath:t+"/Events/"+C+"/EventSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=se===s}else var u=!0;if(u){if(Ce.Comments!==void 0){const qe=s;if(typeof Ce.Comments!="string")return ht.errors=[{instancePath:t+"/Events/"+C+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=qe===s}else var u=!0;if(u)if(Ce.ModusSubmit!==void 0){const qe=s;ht(Ce.ModusSubmit,{instancePath:t+"/Events/"+C+"/ModusSubmit",parentData:Ce,parentDataProperty:"ModusSubmit",rootData:a})||(i=i===null?ht.errors:i.concat(ht.errors),s=i.length);var u=qe===s}else var u=!0}}}}}}else return ht.errors=[{instancePath:t+"/Events/"+C,schemaPath:"#/properties/Events/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=mt===s;if(!o)break}}else return ht.errors=[{instancePath:t+"/Events",schemaPath:"#/properties/Events/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var l=ge===s}else var l=!0;if(l)if(e.Version!==void 0){const q=s;if(typeof e.Version!="string")return ht.errors=[{instancePath:t+"/Version",schemaPath:"#/properties/Version/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=q===s}else var l=!0}}else return ht.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return ht.errors=i,s===0}const vDe=yr("@modusjs/convert#xml:error"),vB=yr("@modusjs/convert#xml:error");yr("@modusjs/convert:info");const yDe=yr("@modusjs/convert:trace"),{red:MDe,yellow:yB}=Dle;function DDe(e){const t=IDe(e);if(Ls.has(t,"/Events/0/EventSamples/Soil/SoilSamples")){let r=Ls.get(t,"/Events/0/EventSamples/Soil/SoilSamples");r=r.map(n=>(n.NutrientRecommendations&&(n.NutrientRecommendations=n.NutrientRecommendations.map(a=>(Array.isArray(a)||(a=[a]),a.map(i=>({...i,RecID:""+i.RecID}))))),n)),Ls.set(t,"/Events/0/EventSamples/Soil/SoilSamples",r)}return Hye(t),t}function IDe(e){const t=$me(e,{xmlMode:!0}),r=({xml:u,opts:m,path:c})=>{const f={};if(c=c||"",!u)return null;const{emptyTagsBecomeTrue:p}=m;m.emptyTagsBecomeTrue=!1;for(const h of u.attributes)m.ignoreKeys[h.name]||(f[h.name]=s({str:h.value,tagname:h.name,path:`${c}/${h.name}`,opts:m}));for(const h of u.children){if(!nr(h)||m.ignoreKeys[h.tagName])continue;const d=`${c}/${h.tagName}`;if(m.overrides?.[h.tagName]){const y=m.overrides[h.tagName];switch(y.type){case"keyedSet":f[h.tagName]=n({xml:h,id_attrib:y.id_attrib,opts:m,path:d});break;case"accumulateArray":i({ret:f,tag:y.finalKeynameForArrayInParent,xml:h,opts:m,path:d});break;case"array":f[h.tagName]=a({xml:h,opts:m,path:d});break;case"emptyTagsBecomeTrue":f[h.tagName]=r({xml:h,opts:{...m,emptyTagsBecomeTrue:!0},path:d});break}continue}if(ODe(h)>0){f[h.tagName]=r({xml:h,opts:m,path:d});continue}if(p&&h.children.length===0){f[h.tagName]=!0;continue}const _=t(h).text().trim();_!==""&&(f[h.tagName]=s({str:_,tagname:h.tagName,path:d,opts:m}))}return f};function n({xml:u,id_attrib:m,opts:c,path:f}){if(!u)return null;let p={};for(const h of u.children){if(!nr(h))continue;const d=h.attribs[m];if(!d){vB(yB("WARNING:"),"key ",h.tagName," under ",u.tagName,"at path",f,"does not contain required ID attribute ",m,", ignoring"),yDe("Attributes available are: ",h.attribs);continue}p[d]=r({xml:h,opts:c,path:`${f}/${d}`})}return p}function a({xml:u,opts:m,path:c}){const f=[];for(const p of u.children){if(!nr(p))continue;const h=r({xml:p,opts:m,path:`${c}/${p.tagName}`});h&&f.push(h)}return f}function i({ret:u,tag:m,xml:c,opts:f,path:p}){Array.isArray(u[m])||(u[m]=[]);const h=r({xml:c,opts:f,path:p});h&&u[m].push(h)}function s({str:u,tagname:m,path:c,opts:f}){return!!f.parseAsNumbers[m]&&!f.pathRegexParseAsStrings.find(h=>c.match(h))?+u:u.toLowerCase()==="false"?!1:u.toLowerCase()==="true"?!0:u}const l=LDe(t("ModusResult"));if(!l)throw vDe(MDe("ERROR:")," no ModusResult found in file."),new Error("No ModusResult found.");let o=r({xml:l,opts:{overrides:{Event:{type:"accumulateArray",finalKeynameForArrayInParent:"Events"},Reports:{type:"array"},DepthRefs:{type:"array"},Depths:{type:"array"},SoilSample:{type:"accumulateArray",finalKeynameForArrayInParent:"SoilSamples"},PlantSample:{type:"accumulateArray",finalKeynameForArrayInParent:"PlantSamples"},NutrientResults:{type:"array"},EventType:{type:"emptyTagsBecomeTrue"},FMISAllowedLabEquations:{type:"array"},SiteAttributes:{type:"array"},RecommendationRefs:{type:"array"},RecommendationRequests:{type:"array"},NutrientRecommendations:{type:"array"},NutrientRecommendation:{type:"array"},NematodeResults:{type:"array"},LifeStageValues:{type:"array"},ResidueResults:{type:"array"},TextureResults:{type:"array"},SensorResults:{type:"array"},SubSamples:{type:"array"},TestPackages:{type:"array"},TestPackageRefs:{type:"array"},Variables:{type:"array"},NematodeSample:{type:"accumulateArray",finalKeynameForArrayInParent:"NematodeSamples"},WaterSample:{type:"accumulateArray",finalKeynameForArrayInParent:"WaterSamples"},ResidueSample:{type:"accumulateArray",finalKeynameForArrayInParent:"ResidueSamples"},Warnings:{type:"array"}},parseAsNumbers:{SampleGroupID:!0,ReportID:!0,epsg:!0,SubSampleNumber:!0,StartingDepth:!0,EndingDepth:!0,ColumnDepth:!0,DepthID:!0,DisplayOrder:!0,RecID:!0,Value:!0},pathRegexParseAsStrings:[/Variables\/[^\/]+\/Value/,/LifeStageValues\/[^\/]+\/Value/,/Depths\/[^\/]+\/DepthID/],ignoreKeys:{"xmlns:xsi":!0,"xsi:noNamespaceSchemaLocation":!0}}});return o=dDe(o),o._type="application/vnd.modus.v1.modus-result+json",o}function ODe(e){if(!e.children)return 0;let t=0;for(const r of e.children)nr(r)&&t++;return t}function LDe(e){const t=e.toArray().filter(nr);return t.length<1?null:(t.length>1&&vB(yB("WARNING:"),`Tag ${t[0].tagName} can only exist once at this level, but multiple tags found. Only using first one.`),t[0])}yr("@modusjs/convert#html:error");yr("@modusjs/convert#html:info");yr("@modusjs/convert#html:trace");var ph={exports:{}},MB={exports:{}};(function(e,t){(function(r,n){n()})(Za,function(){function r(u,m){return typeof m>"u"?m={autoBom:!1}:typeof m!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),m={autoBom:!m}),m.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob(["\uFEFF",u],{type:u.type}):u}function n(u,m,c){var f=new XMLHttpRequest;f.open("GET",u),f.responseType="blob",f.onload=function(){o(f.response,m,c)},f.onerror=function(){console.error("could not download file")},f.send()}function a(u){var m=new XMLHttpRequest;m.open("HEAD",u,!1);try{m.send()}catch{}return 200<=m.status&&299>=m.status}function i(u){try{u.dispatchEvent(new MouseEvent("click"))}catch{var m=document.createEvent("MouseEvents");m.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),u.dispatchEvent(m)}}var s=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Za=="object"&&Za.global===Za?Za:void 0,l=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),o=s.saveAs||(typeof window!="object"||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!l?function(u,m,c){var f=s.URL||s.webkitURL,p=document.createElement("a");m=m||u.name||"download",p.download=m,p.rel="noopener",typeof u=="string"?(p.href=u,p.origin===location.origin?i(p):a(p.href)?n(u,m,c):i(p,p.target="_blank")):(p.href=f.createObjectURL(u),setTimeout(function(){f.revokeObjectURL(p.href)},4e4),setTimeout(function(){i(p)},0))}:"msSaveOrOpenBlob"in navigator?function(u,m,c){if(m=m||u.name||"download",typeof u!="string")navigator.msSaveOrOpenBlob(r(u,c),m);else if(a(u))n(u,m,c);else{var f=document.createElement("a");f.href=u,f.target="_blank",setTimeout(function(){i(f)})}}:function(u,m,c,f){if(f=f||open("","_blank"),f&&(f.document.title=f.document.body.innerText="downloading..."),typeof u=="string")return n(u,m,c);var p=u.type==="application/octet-stream",h=/constructor/i.test(s.HTMLElement)||s.safari,d=/CriOS\/[\d]+/.test(navigator.userAgent);if((d||p&&h||l)&&typeof FileReader<"u"){var _=new FileReader;_.onloadend=function(){var S=_.result;S=d?S:S.replace(/^data:[^;]*;/,"data:attachment/file;"),f?f.location.href=S:location=S,f=null},_.readAsDataURL(u)}else{var y=s.URL||s.webkitURL,g=y.createObjectURL(u);f?f.location=g:location.href=g,f=null,setTimeout(function(){y.revokeObjectURL(g)},4e4)}});s.saveAs=o.saveAs=o,e.exports=o})})(MB);var bDe=function(t){return atob(t)},tb={exports:{}};(function(e,t){(function(r){function n(a,i){if(a instanceof Boolean||typeof a=="boolean"||(i instanceof Object||(i={}),i.hasOwnProperty("allowBlank")&&!i.allowBlank&&a===""))return!1;var s="(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+/]{3}=)?";return i.mime&&(s="(data:\\w+\\/[a-zA-Z\\+\\-\\.]+;base64,)?"+s),i.paddingRequired===!1&&(s="(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}(==)?|[A-Za-z0-9+\\/]{3}=?)?"),new RegExp("^"+s+"$","gi").test(a)}e.exports&&(t=e.exports=n),t.isBase64=n})()})(tb,tb.exports);var DB=bDe,CDe=tb.exports,EDe=function(t){if(typeof t!="string")throw Error("Argument should be a string");return/^data\:/i.test(t)?TDe(t):(CDe(t)&&(t=DB(t)),IB(t))};function IB(e){for(var t=new Uint8Array(e.length),r=0;r=0&&(n=n.substr(a+1)),a=n.lastIndexOf("."),a>=0&&(n=n.substr(a+1)),OB[n]||t}};OB={"3gp":"video/3gpp",a:"application/octet-stream",ai:"application/postscript",aif:"audio/x-aiff",aiff:"audio/x-aiff",asc:"application/pgp-signature",asf:"video/x-ms-asf",asm:"text/x-asm",asx:"video/x-ms-asf",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",bat:"application/x-msdownload",bin:"application/octet-stream",bmp:"image/bmp",bz2:"application/x-bzip2",c:"text/x-csrc",cab:"application/vnd.ms-cab-compressed",can:"application/candor",cc:"text/x-c++src",chm:"application/vnd.ms-htmlhelp",class:"application/octet-stream",com:"application/x-msdownload",conf:"text/plain",cpp:"text/x-c",crt:"application/x-x509-ca-cert",css:"text/css",csv:"text/csv",cxx:"text/x-c",deb:"application/x-debian-package",der:"application/x-x509-ca-cert",diff:"text/x-diff",djv:"image/vnd.djvu",djvu:"image/vnd.djvu",dll:"application/x-msdownload",dmg:"application/octet-stream",doc:"application/msword",dot:"application/msword",dtd:"application/xml-dtd",dvi:"application/x-dvi",ear:"application/java-archive",eml:"message/rfc822",eps:"application/postscript",exe:"application/x-msdownload",f:"text/x-fortran",f77:"text/x-fortran",f90:"text/x-fortran",flv:"video/x-flv",for:"text/x-fortran",gem:"application/octet-stream",gemspec:"text/x-script.ruby",gif:"image/gif",gyp:"text/x-script.python",gypi:"text/x-script.python",gz:"application/x-gzip",h:"text/x-chdr",hh:"text/x-c++hdr",htm:"text/html",html:"text/html",ico:"image/vnd.microsoft.icon",ics:"text/calendar",ifb:"text/calendar",iso:"application/octet-stream",jar:"application/java-archive",java:"text/x-java-source",jnlp:"application/x-java-jnlp-file",jpeg:"image/jpeg",jpg:"image/jpeg",js:"application/javascript",json:"application/json",less:"text/css",log:"text/plain",lua:"text/x-script.lua",luac:"application/x-bytecode.lua",makefile:"text/x-makefile",m3u:"audio/x-mpegurl",m4v:"video/mp4",man:"text/troff",manifest:"text/cache-manifest",markdown:"text/x-markdown",mathml:"application/mathml+xml",mbox:"application/mbox",mdoc:"text/troff",md:"text/x-markdown",me:"text/troff",mid:"audio/midi",midi:"audio/midi",mime:"message/rfc822",mml:"application/mathml+xml",mng:"video/x-mng",mov:"video/quicktime",mp3:"audio/mpeg",mp4:"video/mp4",mp4v:"video/mp4",mpeg:"video/mpeg",mpg:"video/mpeg",ms:"text/troff",msi:"application/x-msdownload",odp:"application/vnd.oasis.opendocument.presentation",ods:"application/vnd.oasis.opendocument.spreadsheet",odt:"application/vnd.oasis.opendocument.text",ogg:"application/ogg",p:"text/x-pascal",pas:"text/x-pascal",pbm:"image/x-portable-bitmap",pdf:"application/pdf",pem:"application/x-x509-ca-cert",pgm:"image/x-portable-graymap",pgp:"application/pgp-encrypted",pkg:"application/octet-stream",pl:"text/x-script.perl",pm:"text/x-script.perl-module",png:"image/png",pnm:"image/x-portable-anymap",ppm:"image/x-portable-pixmap",pps:"application/vnd.ms-powerpoint",ppt:"application/vnd.ms-powerpoint",ps:"application/postscript",psd:"image/vnd.adobe.photoshop",py:"text/x-script.python",qt:"video/quicktime",ra:"audio/x-pn-realaudio",rake:"text/x-script.ruby",ram:"audio/x-pn-realaudio",rar:"application/x-rar-compressed",rb:"text/x-script.ruby",rdf:"application/rdf+xml",roff:"text/troff",rpm:"application/x-redhat-package-manager",rss:"application/rss+xml",rtf:"application/rtf",ru:"text/x-script.ruby",s:"text/x-asm",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-sh",sig:"application/pgp-signature",snd:"audio/basic",so:"application/octet-stream",svg:"image/svg+xml",svgz:"image/svg+xml",swf:"application/x-shockwave-flash",t:"text/troff",tar:"application/x-tar",tbz:"application/x-bzip-compressed-tar",tci:"application/x-topcloud",tcl:"application/x-tcl",tex:"application/x-tex",texi:"application/x-texinfo",texinfo:"application/x-texinfo",text:"text/plain",tif:"image/tiff",tiff:"image/tiff",torrent:"application/x-bittorrent",tr:"text/troff",ttf:"application/x-font-ttf",txt:"text/plain",vcf:"text/x-vcard",vcs:"text/x-vcalendar",vrml:"model/vrml",war:"application/java-archive",wav:"audio/x-wav",webapp:"application/x-web-app-manifest+json",webm:"video/webm",wma:"audio/x-ms-wma",wmv:"video/x-ms-wmv",wmx:"video/x-ms-wmx",wrl:"model/vrml",wsdl:"application/wsdl+xml",xbm:"image/x-xbitmap",xhtml:"application/xhtml+xml",xls:"application/vnd.ms-excel",xml:"application/xml",xpm:"image/x-xpixmap",xsl:"application/xml",xslt:"application/xslt+xml",yaml:"text/yaml",yml:"text/yaml",zip:"application/zip"};var VDe=Object.prototype.toString,RDe=function(e){return e instanceof Blob||VDe.call(e)==="[object Blob]"},FDe=wDe,BDe=xDe("application/octect-stream"),HDe=RDe,$De=function(t,r){if(!HDe(t)&&!(t instanceof File)){t=FDe(t);var n=BDe(r||"");t=new Blob([t],{type:n})}return t},LB=MB.exports.saveAs,bB=$De,Ym=null;ph.exports=RT;ph.exports.save=RT;ph.exports.saveSync=jDe;function RT(e,t){if(typeof e=="string"&&(typeof t!="string"||t.length>e.length)){var r=t;t=e,e=r}var n=bB(e,t);return Ym?Ym.then(function(){return Ym=RT(e,t),Ym}):(Ym=new Promise(function(a,i){LB(n,t),window.addEventListener("focus",function s(){Ym=null,window.removeEventListener("focus",s),a()})}),Ym)}function jDe(e,t){return LB(bB(e,t),t)}const CB=yr("@modusjs/convert#file:error");yr("@modusjs/convert#file:error");const KP=yr("@modusjs/convert#file:info"),qP=yr("@modusjs/convert#file:trace");function EB(e){let{modus:t,filename:r,outdir:n,outputtype:a}=e;if(Array.isArray(t)||(t=[t]),t.length<1)return CB("computeSaveFilename: FAIL: there were no modus results"),"";const i=!!n;return n=n?.trim().replace(/\/$/,"")||".",a!=="json"?r=r||`modus_conversion.${a}`:r=r||t[0].output_filename||"modus_results.json",!r.match(/^\//)&&i&&(r=`${n}/${r}`),r}async function TB(e){let{modus:t,outputtype:r,outdir:n,filename:a,compact:i}=e;if(Array.isArray(t)||(t=[t]),t.length<1)throw CB("Save failed, there were no results to save."),new Error("ERROR: save failed, there were no results to save.");switch(a=EB(e),r){case"csv":case"xlsx":const{wb:s}=QMe(t.map(c=>c.modus));Pve(s,a,{bookType:r}),KP("Saved ",r,"to",a);break;case"json":if(t.length===1){const c=i?JSON.stringify(t[0].modus):JSON.stringify(t[0].modus,null," ");await ph.exports(c,a)}else return qP("Multiple JSON conversions results found, saving as zip instead of individual JSON files. Map over them and call save one at a time to save each, or use the node-specific file save."),TB({modus:t,outputtype:"zip",outdir:n,compact:i});break;case"zip":const l=new KF,o=l.folder("modus_conversion");if(!o)throw new Error("Failed to create zip folder when building zip file for download.");let u=0;for(const c of t){const f=i?JSON.stringify(c.modus):JSON.stringify(c.modus,null," ");o.file(c.output_filename||`modus_result${u++===0?"":` (${u-1})`}.json`,f)}const m=await l.generateAsync({type:"arraybuffer"});qP("zip array buffer has",m.byteLength,"bytes"),await ph.exports(m,a),KP("Saved zipfile successfully to",a);break}}const KS=yr("@modusjs/convert#browser/file:error"),nd=yr("@modusjs/convert#browser/file:info");yr("@modusjs/convert#browser/file:trace");function GDe(e){if(typeof e!="object")return nd("Input file must be an object"),!1;if(!e.file)return nd("Input file must have a File property"),!1;if(!e.file.name)return nd("Input file must have a name"),!1;if(e.format){if(typeof e.format!="string")return nd("Input file format for file",e.filename,"must be a string"),!1;if(!rp.find(t=>t===e.format))return nd("Input file formt for file",e.filename,"must be one of the supported formats",rp),!1}return!0}async function WDe(e){Array.isArray(e)||(e=[e]);const t=e.filter(GDe);return AB(t)}async function AB(e,t){Array.isArray(e)||(e=[e]);const r=e.map(async a=>{try{const i=a_(a.file.name);if(!i)return KS("File",a.file.name,"has unknown type, skipping. Supported types are:",Hy),null;const s={filename:a.file.name};switch(a.format&&(s.format=a.format),i){case"xml":case"csv":case"json":s.str=await kB(a.file);break;case"xlsx":case"zip":s.arrbuf=await PB(a.file);break}return s}catch(i){return KS("File",a.file.name,"failed to read. Skipping. Error was:",i),null}}),n=await Promise.all(r);return hB(n.filter(a=>!!a),t)}async function zDe(e,t){Array.isArray(e)||(e=[e]);const r=e.map(async a=>{try{const i=a_(a.file.name);if(!i)return KS("File",a.file.name,"has unknown type, skipping. Supported types are:",Hy),null;const s={filename:a.file.name};switch(a.format&&(s.format=a.format),i){case"xml":case"csv":case"json":s.str=await kB(a.file);break;case"xlsx":case"zip":s.arrbuf=await PB(a.file);break}return s}catch(i){return KS("File",a.file.name,"failed to read. Skipping. Error was:",i),null}}),n=await Promise.all(r);return pDe(n.filter(a=>!!a),t)}async function kB(e){return new Promise((t,r)=>{const n=new FileReader;return n.onload=function(a){return a.target?.result?t(a.target.result.toString()):r(`Failed to read file ${e.name}: no result found in onload`)},n.onerror=n.onabort=a=>r(a),n.readAsText(e)})}async function PB(e){return new Promise((t,r)=>{const n=new FileReader;return n.onload=function(a){return a.target?.result?t(a.target.result):r(`Failed to read file ${e.name} as ArrayBuffer: no result found in onload`)},n.onerror=n.onabort=a=>r(a),n.readAsArrayBuffer(e)})}var dh=Object.freeze({__proto__:null,fromFile:WDe,fromFileBrowser:AB,fromFileBrowserPre:zDe,computeSaveFilename:EB,save:TB});let cf;const KDe=er("@modusjs/app#actions:error"),qDe=er("@modusjs/app#actions:warn"),w0=er("@modusjs/app#actions:info");[...new Set(Object.values(PJ).map(e=>e.Element))];const ZDe=Ar("selectLabConfig",e=>{Ft.labConfig.selected=e.target.value}),YDe=Ar("showLabConfig",()=>{Ft.labConfig.show=!Ft.labConfig.show}),XDe=Ar("changeTab",(e,t)=>{Ft.tab=t}),JDe=Ar("cancelConfig",()=>{delete Ft.labConfig.config,Ft.messages=[]}),QDe=Ar("saveConfig",()=>{const e=JSON.parse(JSON.stringify(Ft.labConfig.config)),t=`${e.name}-${e.type}`;Ft.labConfig.list[t]=e,delete Ft.labConfig.config,yc(`Configuration successfully saved as '${e.name}'`)}),eIe=Ar("selectLabName",e=>{Ft.labConfig.select.name=e.target.value}),tIe=Ar("selectLabType",e=>{Ft.labConfig.select.type=e.target.value;const t=`${Ft.labConfig.select.name} - ${Ft.labConfig.select.type}`;Ft.labConfig.config=Ft.labConfig.list[t],Ft.labConfig.config.name=Ft.labConfig.config.name||Ft.labConfig.select.name,Ft.labConfig.config.type=Ft.labConfig.config.type||Ft.labConfig.select.type,Ft.labConfig.select={}}),rIe=Ar("cancelAnalyte",()=>{delete Ft.labConfig.analyteEditor}),sIe=Ar("saveAnalyte",()=>{const{CsvHeader:e}=Ft.labConfig?.analyteEditor;Ft.labConfig.config.analytes[e]=Ft.labConfig?.analyteEditor,Ft.labConfig.config.units[e]=Ft.labConfig?.analyteEditor?.ValueUnit,delete Ft.labConfig.analyteEditor}),nIe=Ar("addNutrientResult",()=>{Ft.labConfig.analyteEditor={}}),aIe=Ar("cancelMapping",()=>{delete Ft.labConfig.mappingEditor}),iIe=Ar("saveMapping",()=>{const{CsvHeader:e,modus:t}=Ft.labConfig.mappingEditor;Ft.labConfig.config.mappings[e]=t,delete Ft.labConfig.mappingEditor}),lIe=Ar("addMapping",()=>{Ft.labConfig.mappingEditor={}}),oIe=Ar("handleLCMappingChange",({evt:e,key:t})=>{Ft.labConfig.mappingEditor=Ft.labConfig.mappingEditor||{},Ft.labConfig.mappingEditor={...Ft.labConfig.mappingEditor,[t]:e.target.value},console.log(Ft.labConfig.mappingEditor)}),uIe=Ar("handleLCAnalyteChange",({key:e,evt:t})=>{Ft.labConfig.analyteEditor=Ft.labConfig.analyteEditor||{},Ft.labConfig.analyteEditor={...Ft.labConfig.analyteEditor,[e]:t.target.value},console.log(Ft.labConfig.analyteEditor)}),mIe=Ar("handleLCNameChange",e=>{Ft.labConfig.config.name=e.target.value}),cIe=Ar("handleLCTypeChange",e=>{Ft.labConfig.config.type=e.target.value}),yc=Ar("message",e=>{typeof e=="string"&&(e={type:"good",msg:e}),Ft.messages=[...Ft.messages,e],Ft.messages.length>4&&rb(),setTimeout(rb,8e3)}),rb=Ar("popMessage",()=>{w0("popping message.."),Ft.messages=Ft.messages.slice(1)}),fIe=Ar("output",e=>{Ft.output=e}),pIe=Ar("trellis",async e=>{typeof e.domain<"u"&&(Ft.trellis.domain=e.domain),typeof e.token<"u"&&(Ft.trellis.token=e.token)}),dIe=Ar("inzone",e=>{Ft.inzone=e}),sb=Ar("headless",e=>{Ft.headless=e}),hIe=Ar("setTable",(e,t)=>{Ft.table[e]=t}),FT=Ar("fetchTrellisData",async()=>{let{data:e}=await cf.get({path:"/bookmarks/lab-results/"}),t=Object.keys(e).filter(r=>!r.startsWith("_"));for await(const r of t){await new Promise(i=>setTimeout(i,50));let{data:n}=await cf.get({path:`/bookmarks/lab-results/${r}/event-date-index/`}),a=Object.keys(n).filter(i=>!i.startsWith("_"));for await(const i of a){await new Promise(o=>setTimeout(o,50));let{data:s}=await cf.get({path:`/bookmarks/lab-results/${r}/event-date-index/${i}/md5-index`}),l=Object.keys(s).filter(o=>!o.startsWith("_"));for await(const o of l){await new Promise(m=>setTimeout(m,50));let{data:u}=await cf.get({path:`/bookmarks/lab-results/${r}/event-date-index/${i}/md5-index/${o}`});j0(()=>{Ft.files[o]=u})}}}}),_Ie=Ar("trellisConnect",async()=>{const{domain:e,token:t}=Ft.trellis,r=await ale({domain:e,token:t});gIe(r),j0(()=>Ft.trellis.conn=!0),yc(`Connected to your Trellis at ${e}`),FT()});function gIe(e){cf=e}const SIe=Ar("putDoc",async e=>{try{const t=Ft.trellis.conn;for await(const{modus:r}of e){let n=kV.exports(UB(r)),{type:a,date:i}=r,s=`/bookmarks/lab-results/${a}/event-date-index/${i}/md5-index/${n}`;i&&n&&(w0(`Putting to path: ${s}`),console.log(`Putting to path: ${s}`),await Fae({method:"put",url:`https://localhost${s}`,data:r,headers:{Authorization:`Bearer ${Ft.trellis.token}`,"Content-Type":"application/json"}}),j0(()=>{Ft.files[n]=r}),w0("waiting"),console.log("waiting"),await new Promise(l=>setTimeout(l,250)))}yc(`Successfully saved ${e.length} result${e.length===1?"":"s"} to your Trellis.`),w0("Successfully wrote results to trellis"),j0(FT())}catch(t){console.error(`toTrellis Errored: ${t}`),KDe(`toTrellis Errored: ${t}`)}});function UB(e){if(typeof e=="number"){const i=e.toString();return i.match(/\./)&&qDe("You cannot serialize a floating point number with a hashing function and expect it to work consistently across all systems. Use a string."),i}if(typeof e=="string")return'"'+e+'"';if(typeof e=="boolean")return e?"true":"false";var t=Array.isArray(e),r=t?"[":"{",n=t?"]":"}";if(!e)return"null";const a=Object.keys(e).sort();return r+a.reduce(function(i,s,l){return t||(i+='"'+s+'":'),i+=UB(e[s]),l{for await(const e of Ft.table.selected){let{date:t,type:r}=Ft.files[e];const n=`/bookmarks/lab-results/${r}/event-date-index/${t}/md5-index/${e}`;yc(`Removing modus result ${e} from Trellis.`),w0(`Putting to path: ${n}`),await cf.delete({path:n}),await new Promise(a=>setTimeout(a,250)),j0(()=>{Ft.files=Object.fromEntries(Object.entries(Ft.files).filter(([a,i])=>e!==a)),Ft.table.selected=Ft.table.selected.filter(a=>e!==a)})}}),yIe=Ar("downloadAsSlim",async()=>{let e=Ft.table.selected.map(t=>({modus:Ft.files[t]}));await dh.save({modus:e,outputtype:"json"}),j0(()=>Ft.table.selected=[]),w0("File successfully saved"),yc("Conversion result saved.")}),MIe=Ar("downloadAsCsv",async()=>{let e=Ft.table.selected.map(t=>({modus:Ft.files[t]}));await dh.save({modus:e,outputtype:"csv"}),j0(()=>Ft.table.selected=[]),w0("File successfully saved"),yc("Conversion result saved.")}),DIe=Object.freeze(Object.defineProperty({__proto__:null,selectLabConfig:ZDe,showLabConfig:YDe,changeTab:XDe,cancelConfig:JDe,saveConfig:QDe,selectLabName:eIe,selectLabType:tIe,cancelAnalyte:rIe,saveAnalyte:sIe,addNutrientResult:nIe,cancelMapping:aIe,saveMapping:iIe,addMapping:lIe,handleLCMappingChange:oIe,handleLCAnalyteChange:uIe,handleLCNameChange:mIe,handleLCTypeChange:cIe,message:yc,popMessage:rb,output:fIe,trellis:pIe,inzone:dIe,headless:sb,setTable:hIe,fetchTrellisData:FT,trellisConnect:_Ie,toTrellis:SIe,deleteSelected:vIe,downloadAsSlim:yIe,downloadAsCsv:MIe},Symbol.toStringTag,{value:"Module"})),_g=er("@modusjs/app#initialize:info");async function ZP(){IIe()?(sb(!0),new URLSearchParams(window.location.search).get("domain"),window.addEventListener("message",async({data:t,origin:r,source:n})=>{if(_g("Received message: ",t," from origin: ",r),!n){_g("ERROR: source is null, it should be a reference to the calling window.");return}if(!t.request){_g("Received invalid message data: no request field."),n.postMessage({...t,result:null,message:"Invalid message data: no request field"});return}switch(t.request){case"toJSON":const a=await dh.fromFileBrowser({file:t.file});_g("Conversion successful, posting result back to caller:",a),n.postMessage({...t,result:a});break}})):sb(!1)}function IIe(){return!!new URLSearchParams(window.location.search).get("headless")}const NB={state:Ft,actions:DIe},i_=Ke.exports.createContext(NB);ZP&&ZP();if(!Ke.exports.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!Qq)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function OIe(e){e()}function LIe(e){e||(e=OIe),$q({reactionScheduler:e})}function bIe(e){return Gq(e)}var YP=typeof FinalizationRegistry>"u"?void 0:FinalizationRegistry;function wB(e){var t={reaction:e,mounted:!1,changedBeforeMount:!1,cleanAt:Date.now()+CIe};return t}var CIe=1e4,EIe=1e4;function TIe(e){var t=new Map,r=1,n=new e(function(i){var s=t.get(i);s&&(s.reaction.dispose(),t.delete(i))});return{addReactionToTrack:function(a,i,s){var l=r++;return n.register(s,l,a),a.current=wB(i),a.current.finalizationRegistryCleanupToken=l,t.set(l,a.current),a.current},recordReactionAsCommitted:function(a){n.unregister(a),a.current&&a.current.finalizationRegistryCleanupToken&&t.delete(a.current.finalizationRegistryCleanupToken)},forceCleanupTimerToRunNowForTests:function(){},resetCleanupScheduleForTests:function(){}}}var AIe=globalThis&&globalThis.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function kIe(){var e=new Set,t;function r(){t&&(clearTimeout(t),l())}function n(){var o,u;if(e.size>0){try{for(var m=AIe(e),c=m.next();!c.done;c=m.next()){var f=c.value,p=f.current;p&&(p.reaction.dispose(),f.current=null)}}catch(h){o={error:h}}finally{try{c&&!c.done&&(u=m.return)&&u.call(m)}finally{if(o)throw o.error}}e.clear()}t&&(clearTimeout(t),t=void 0)}function a(){t===void 0&&(t=setTimeout(l,EIe))}function i(o){e.add(o),a()}function s(o){e.delete(o)}function l(){t=void 0;var o=Date.now();e.forEach(function(u){var m=u.current;m&&o>=m.cleanAt&&(m.reaction.dispose(),u.current=null,e.delete(u))}),e.size>0&&a()}return{addReactionToTrack:function(o,u,m){return o.current=wB(u),i(o),o.current},recordReactionAsCommitted:s,forceCleanupTimerToRunNowForTests:r,resetCleanupScheduleForTests:n}}var xB=YP?TIe(YP):kIe(),PIe=xB.addReactionToTrack,UIe=xB.recordReactionAsCommitted,XP=globalThis&&globalThis.__read||function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,i=[],s;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(l){s={error:l}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i};function JP(e){return"observer".concat(e)}var NIe=function(){function e(){}return e}();function wIe(){return new NIe}function xIe(e,t){t===void 0&&(t="observed");var r=XP(qa.useState(wIe),1),n=r[0],a=XP(qa.useState(),2),i=a[1],s=function(){return i([])},l=qa.useRef(null);if(!l.current)var o=new w1(JP(t),function(){u.mounted?s():u.changedBeforeMount=!0}),u=PIe(l,o,n);var m=l.current.reaction;qa.useDebugValue(m,bIe),qa.useEffect(function(){return UIe(l),l.current?(l.current.mounted=!0,l.current.changedBeforeMount&&(l.current.changedBeforeMount=!1,s())):(l.current={reaction:new w1(JP(t),function(){s()}),mounted:!0,changedBeforeMount:!1,cleanAt:1/0},s()),function(){l.current.reaction.dispose(),l.current=null}},[]);var c,f;if(m.track(function(){try{c=e()}catch(p){f=p}}),f)throw f;return c}var VB=typeof Symbol=="function"&&Symbol.for,QP=VB?Symbol.for("react.forward_ref"):typeof Ke.exports.forwardRef=="function"&&Ke.exports.forwardRef(function(e){return null}).$$typeof,eU=VB?Symbol.for("react.memo"):typeof Ke.exports.memo=="function"&&Ke.exports.memo(function(e){return null}).$$typeof;function BT(e,t){var r;if(eU&&e.$$typeof===eU)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var n=(r=t?.forwardRef)!==null&&r!==void 0?r:!1,a=e,i=e.displayName||e.name;if(QP&&e.$$typeof===QP&&(n=!0,a=e.render,typeof a!="function"))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var s=function(l,o){return xIe(function(){return a(l,o)},i)};return i!==""&&(s.displayName=i),e.contextTypes&&(s.contextTypes=e.contextTypes),n&&(s=Ke.exports.forwardRef(s)),s=Ke.exports.memo(s),RIe(e,s),s}var VIe={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function RIe(e,t){Object.keys(e).forEach(function(r){VIe[r]||Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}globalThis&&globalThis.__read;LIe(mp.exports.unstable_batchedUpdates);const FIe={black:"#000",white:"#fff"},hh=FIe,BIe={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},wc=BIe,HIe={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},xc=HIe,$Ie={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Vc=$Ie,jIe={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Rc=jIe,GIe={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Fc=GIe,WIe={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ad=WIe,zIe={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},KIe=zIe;function Xe(){return Xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[r]=RB(e[r])}),t}function tl(e,t,r={clone:!0}){const n=r.clone?Xe({},e):e;return d0(e)&&d0(t)&&Object.keys(t).forEach(a=>{a!=="__proto__"&&(d0(t[a])&&a in e&&d0(e[a])?n[a]=tl(e[a],t[a],r):r.clone?n[a]=d0(t[a])?RB(t[a]):t[a]:n[a]=t[a])}),n}function bm(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;rr==null?t:function(...a){t.apply(this,a),r.apply(this,a)},()=>{})}function jT(e,t=166){let r;function n(...a){const i=()=>{e.apply(this,a)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function XIe(e,t){return()=>null}function JIe(e,t){return Ke.exports.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function Sa(e){return e&&e.ownerDocument||document}function Cm(e){return Sa(e).defaultView||window}function QIe(e,t){return()=>null}function qS(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const eOe=typeof window<"u"?Ke.exports.useLayoutEffect:Ke.exports.useEffect,So=eOe;let tU=0;function tOe(e){const[t,r]=Ke.exports.useState(e),n=e||t;return Ke.exports.useEffect(()=>{t==null&&(tU+=1,r(`mui-${tU}`))},[t]),n}const rU=YI["useId"];function ZS(e){if(rU!==void 0){const t=rU();return e??t}return tOe(e)}function rOe(e,t,r,n,a){return null}function _h({controlled:e,default:t,name:r,state:n="value"}){const{current:a}=Ke.exports.useRef(e!==void 0),[i,s]=Ke.exports.useState(t),l=a?e:i,o=Ke.exports.useCallback(u=>{a||s(u)},[]);return[l,o]}function sm(e){const t=Ke.exports.useRef(e);return So(()=>{t.current=e}),Ke.exports.useCallback((...r)=>(0,t.current)(...r),[])}function xn(...e){return Ke.exports.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{qS(r,t)})},e)}let Jy=!0,ab=!1,sU;const sOe={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function nOe(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&sOe[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function aOe(e){e.metaKey||e.altKey||e.ctrlKey||(Jy=!0)}function RI(){Jy=!1}function iOe(){this.visibilityState==="hidden"&&ab&&(Jy=!0)}function lOe(e){e.addEventListener("keydown",aOe,!0),e.addEventListener("mousedown",RI,!0),e.addEventListener("pointerdown",RI,!0),e.addEventListener("touchstart",RI,!0),e.addEventListener("visibilitychange",iOe,!0)}function oOe(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Jy||nOe(t)}function GT(){const e=Ke.exports.useCallback(a=>{a!=null&&lOe(a.ownerDocument)},[]),t=Ke.exports.useRef(!1);function r(){return t.current?(ab=!0,window.clearTimeout(sU),sU=window.setTimeout(()=>{ab=!1},100),t.current=!1,!0):!1}function n(a){return oOe(a)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function BB(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function WT(e,t){const r=Xe({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=Xe({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const a=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=a:!a||!Object.keys(a)?r[n]=i:(r[n]=Xe({},i),Object.keys(a).forEach(s=>{r[n][s]=WT(a[s],i[s])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Gr(e,t,r=void 0){const n={};return Object.keys(e).forEach(a=>{n[a]=e[a].reduce((i,s)=>{if(s){const l=t(s);l!==""&&i.push(l),r&&r[s]&&i.push(r[s])}return i},[]).join(" ")}),n}const nU=e=>e,uOe=()=>{let e=nU;return{configure(t){e=t},generate(t){return e(t)},reset(){e=nU}}},mOe=uOe(),zT=mOe,cOe={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Vr(e,t,r="Mui"){const n=cOe[t];return n?`${r}-${n}`:`${zT.generate(e)}-${t}`}function Tr(e,t,r="Mui"){const n={};return t.forEach(a=>{n[a]=Vr(e,a,r)}),n}const l_="$$material";function Zt(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i=0)&&(r[a]=e[a]);return r}function HB(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var fOe=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,pOe=HB(function(e){return fOe.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function dOe(e){if(e.sheet)return e.sheet;for(var t=0;t0?sa(Pp,--ni):0,sp--,Ln===10&&(sp=1,eM--),Ln}function Di(){return Ln=ni2||Sh(Ln)>3?"":" "}function bOe(e,t){for(;--t&&Di()&&!(Ln<48||Ln>102||Ln>57&&Ln<65||Ln>70&&Ln<97););return o_(e,n2()+(t<6&&ho()==32&&Di()==32))}function lb(e){for(;Di();)switch(Ln){case e:return ni;case 34:case 39:e!==34&&e!==39&&lb(Ln);break;case 40:e===41&&lb(e);break;case 92:Di();break}return ni}function COe(e,t){for(;Di()&&e+Ln!==47+10;)if(e+Ln===42+42&&ho()===47)break;return"/*"+o_(t,ni-1)+"*"+Qy(e===47?e:Di())}function EOe(e){for(;!Sh(ho());)Di();return o_(e,ni)}function TOe(e){return KB(i2("",null,null,null,[""],e=zB(e),0,[0],e))}function i2(e,t,r,n,a,i,s,l,o){for(var u=0,m=0,c=s,f=0,p=0,h=0,d=1,_=1,y=1,g=0,S="",v=a,M=i,I=n,D=S;_;)switch(h=g,g=Di()){case 40:if(h!=108&&sa(D,c-1)==58){ib(D+=os(a2(g),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:D+=a2(g);break;case 9:case 10:case 13:case 32:D+=LOe(h);break;case 92:D+=bOe(n2()-1,7);continue;case 47:switch(ho()){case 42:case 47:gg(AOe(COe(Di(),n2()),t,r),o);break;default:D+="/"}break;case 123*d:l[u++]=Yl(D)*y;case 125*d:case 59:case 0:switch(g){case 0:case 125:_=0;case 59+m:p>0&&Yl(D)-c&&gg(p>32?iU(D+";",n,r,c-1):iU(os(D," ","")+";",n,r,c-2),o);break;case 59:D+=";";default:if(gg(I=aU(D,t,r,u,m,a,l,S,v=[],M=[],c),i),g===123)if(m===0)i2(D,t,I,I,v,i,c,l,M);else switch(f===99&&sa(D,3)===110?100:f){case 100:case 109:case 115:i2(e,I,I,n&&gg(aU(e,I,I,0,0,a,l,S,a,v=[],c),M),a,M,c,l,n?v:M);break;default:i2(D,I,I,I,[""],M,0,l,M)}}u=m=p=0,d=y=1,S=D="",c=s;break;case 58:c=1+Yl(D),p=h;default:if(d<1){if(g==123)--d;else if(g==125&&d++==0&&OOe()==125)continue}switch(D+=Qy(g),g*d){case 38:y=m>0?1:(D+="\f",-1);break;case 44:l[u++]=(Yl(D)-1)*y,y=1;break;case 64:ho()===45&&(D+=a2(Di())),f=ho(),m=c=Yl(S=D+=EOe(n2())),g++;break;case 45:h===45&&Yl(D)==2&&(d=0)}}return i}function aU(e,t,r,n,a,i,s,l,o,u,m){for(var c=a-1,f=a===0?i:[""],p=ZT(f),h=0,d=0,_=0;h0?f[y]+" "+g:os(g,/&\f/g,f[y])))&&(o[_++]=S);return tM(e,t,r,a===0?KT:l,o,u,m)}function AOe(e,t,r){return tM(e,t,r,$B,Qy(IOe()),gh(e,2,-2),0)}function iU(e,t,r,n){return tM(e,t,r,qT,gh(e,0,n),gh(e,n+1,-1),n)}function Pf(e,t){for(var r="",n=ZT(e),a=0;a6)switch(sa(e,t+1)){case 109:if(sa(e,t+4)!==45)break;case 102:return os(e,/(.+:)(.+)-([^]+)/,"$1"+ns+"$2-$3$1"+YS+(sa(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ib(e,"stretch")?qB(os(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(sa(e,t+1)!==115)break;case 6444:switch(sa(e,Yl(e)-3-(~ib(e,"!important")&&10))){case 107:return os(e,":",":"+ns)+e;case 101:return os(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ns+(sa(e,14)===45?"inline-":"")+"box$3$1"+ns+"$2$3$1"+ma+"$2box$3")+e}break;case 5936:switch(sa(e,t+11)){case 114:return ns+e+ma+os(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ns+e+ma+os(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ns+e+ma+os(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ns+e+ma+e+e}return e}var FOe=function(t,r,n,a){if(t.length>-1&&!t.return)switch(t.type){case qT:t.return=qB(t.value,t.length);break;case jB:return Pf([id(t,{value:os(t.value,"@","@"+ns)})],a);case KT:if(t.length)return DOe(t.props,function(i){switch(MOe(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Pf([id(t,{props:[os(i,/:(read-\w+)/,":"+YS+"$1")]})],a);case"::placeholder":return Pf([id(t,{props:[os(i,/:(plac\w+)/,":"+ns+"input-$1")]}),id(t,{props:[os(i,/:(plac\w+)/,":"+YS+"$1")]}),id(t,{props:[os(i,/:(plac\w+)/,ma+"input-$1")]})],a)}return""})}},BOe=[FOe],HOe=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(d){var _=d.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(d),d.setAttribute("data-s",""))})}var a=t.stylisPlugins||BOe,i={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(d){for(var _=d.getAttribute("data-emotion").split(" "),y=1;y<_.length;y++)i[_[y]]=!0;l.push(d)});var o,u=[VOe,ROe];{var m,c=[kOe,UOe(function(d){m.insert(d)})],f=POe(u.concat(a,c)),p=function(_){return Pf(TOe(_),f)};o=function(_,y,g,S){m=g,p(_?_+"{"+y.styles+"}":y.styles),S&&(h.inserted[y.name]=!0)}}var h={key:r,sheet:new _Oe({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:o};return h.sheet.hydrate(l),h},ZB={exports:{}},hs={};/** @license React v16.13.1 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var zn=typeof Symbol=="function"&&Symbol.for,YT=zn?Symbol.for("react.element"):60103,XT=zn?Symbol.for("react.portal"):60106,rM=zn?Symbol.for("react.fragment"):60107,sM=zn?Symbol.for("react.strict_mode"):60108,nM=zn?Symbol.for("react.profiler"):60114,aM=zn?Symbol.for("react.provider"):60109,iM=zn?Symbol.for("react.context"):60110,JT=zn?Symbol.for("react.async_mode"):60111,lM=zn?Symbol.for("react.concurrent_mode"):60111,oM=zn?Symbol.for("react.forward_ref"):60112,uM=zn?Symbol.for("react.suspense"):60113,$Oe=zn?Symbol.for("react.suspense_list"):60120,mM=zn?Symbol.for("react.memo"):60115,cM=zn?Symbol.for("react.lazy"):60116,jOe=zn?Symbol.for("react.block"):60121,GOe=zn?Symbol.for("react.fundamental"):60117,WOe=zn?Symbol.for("react.responder"):60118,zOe=zn?Symbol.for("react.scope"):60119;function Ti(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case YT:switch(e=e.type,e){case JT:case lM:case rM:case nM:case sM:case uM:return e;default:switch(e=e&&e.$$typeof,e){case iM:case oM:case cM:case mM:case aM:return e;default:return t}}case XT:return t}}}function YB(e){return Ti(e)===lM}hs.AsyncMode=JT;hs.ConcurrentMode=lM;hs.ContextConsumer=iM;hs.ContextProvider=aM;hs.Element=YT;hs.ForwardRef=oM;hs.Fragment=rM;hs.Lazy=cM;hs.Memo=mM;hs.Portal=XT;hs.Profiler=nM;hs.StrictMode=sM;hs.Suspense=uM;hs.isAsyncMode=function(e){return YB(e)||Ti(e)===JT};hs.isConcurrentMode=YB;hs.isContextConsumer=function(e){return Ti(e)===iM};hs.isContextProvider=function(e){return Ti(e)===aM};hs.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===YT};hs.isForwardRef=function(e){return Ti(e)===oM};hs.isFragment=function(e){return Ti(e)===rM};hs.isLazy=function(e){return Ti(e)===cM};hs.isMemo=function(e){return Ti(e)===mM};hs.isPortal=function(e){return Ti(e)===XT};hs.isProfiler=function(e){return Ti(e)===nM};hs.isStrictMode=function(e){return Ti(e)===sM};hs.isSuspense=function(e){return Ti(e)===uM};hs.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===rM||e===lM||e===nM||e===sM||e===uM||e===$Oe||typeof e=="object"&&e!==null&&(e.$$typeof===cM||e.$$typeof===mM||e.$$typeof===aM||e.$$typeof===iM||e.$$typeof===oM||e.$$typeof===GOe||e.$$typeof===WOe||e.$$typeof===zOe||e.$$typeof===jOe)};hs.typeOf=Ti;(function(e){e.exports=hs})(ZB);var XB=ZB.exports,KOe={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},qOe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},JB={};JB[XB.ForwardRef]=KOe;JB[XB.Memo]=qOe;var ZOe=!0;function YOe(e,t,r){var n="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):n+=a+" "}),n}var QB=function(t,r,n){var a=t.key+"-"+r.name;(n===!1||ZOe===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},eH=function(t,r,n){QB(t,r,n);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+a:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function XOe(e){for(var t=0,r,n=0,a=e.length;a>=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var JOe={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},QOe=/[A-Z]|^ms/g,eLe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,tH=function(t){return t.charCodeAt(1)===45},oU=function(t){return t!=null&&typeof t!="boolean"},FI=HB(function(e){return tH(e)?e:e.replace(QOe,"-$&").toLowerCase()}),uU=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(eLe,function(n,a,i){return Xl={name:a,styles:i,next:Xl},a})}return JOe[t]!==1&&!tH(t)&&typeof r=="number"&&r!==0?r+"px":r};function vh(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Xl={name:r.name,styles:r.styles,next:Xl},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Xl={name:n.name,styles:n.styles,next:Xl},n=n.next;var a=r.styles+";";return a}return tLe(e,t,r)}case"function":{if(e!==void 0){var i=Xl,s=r(e);return Xl=i,vh(e,t,s)}break}}if(t==null)return r;var l=t[r];return l!==void 0?l:r}function tLe(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a96?iLe:lLe},pU=function(t,r,n){var a;if(r){var i=r.shouldForwardProp;a=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof a!="function"&&n&&(a=t.__emotion_forwardProp),a},oLe=function(t){var r=t.cache,n=t.serialized,a=t.isStringTag;return QB(r,n,a),sLe(function(){return eH(r,n,a)}),null},uLe=function e(t,r){var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,i,s;r!==void 0&&(i=r.label,s=r.target);var l=pU(t,r,n),o=l||fU(a),u=!o("as");return function(){var m=arguments,c=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&c.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)c.push.apply(c,m);else{c.push(m[0][0]);for(var f=m.length,p=1;pt(yLe(a)?r:a):t})}/** - * @mui/styled-engine v5.12.0 - * - * @license MIT - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */function iH(e,t){return cLe(e,t)}const DLe=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},ILe=["values","unit","step"],OLe=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>Xe({},r,{[n.key]:n.val}),{})};function LLe(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,a=Zt(e,ILe),i=OLe(t),s=Object.keys(i);function l(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r})`}function o(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-n/100}${r})`}function u(f,p){const h=s.indexOf(p);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r}) and (max-width:${(h!==-1&&typeof t[s[h]]=="number"?t[s[h]]:p)-n/100}${r})`}function m(f){return s.indexOf(f)+1`@media (min-width:${r3[e]}px)`};function cu(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||dU;return t.reduce((s,l,o)=>(s[i.up(i.keys[o])]=r(t[o]),s),{})}if(typeof t=="object"){const i=n.breakpoints||dU;return Object.keys(t).reduce((s,l)=>{if(Object.keys(i.values||r3).indexOf(l)!==-1){const o=i.up(l);s[o]=r(t[l],l)}else{const o=l;s[o]=t[o]}return s},{})}return r(t)}function ELe(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,a)=>{const i=e.up(a);return n[i]={},n},{}))||{}}function TLe(e,t){return e.reduce((r,n)=>{const a=r[n];return(!a||Object.keys(a).length===0)&&delete r[n],r},t)}function dM(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((a,i)=>a&&a[i]?a[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,a)=>n&&n[a]!=null?n[a]:null,e)}function XS(e,t,r,n=r){let a;return typeof e=="function"?a=e(r):Array.isArray(e)?a=e[r]||n:a=dM(e,r)||n,t&&(a=t(a,n,e)),a}function us(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:a}=e,i=s=>{if(s[t]==null)return null;const l=s[t],o=s.theme,u=dM(o,n)||{};return cu(s,l,c=>{let f=XS(u,a,c);return c===f&&typeof c=="string"&&(f=XS(u,a,`${t}${c==="default"?"":Qt(c)}`,c)),r===!1?f:{[r]:f}})};return i.propTypes={},i.filterProps=[t],i}function ALe(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const kLe={m:"margin",p:"padding"},PLe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},hU={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ULe=ALe(e=>{if(e.length>2)if(hU[e])e=hU[e];else return[e];const[t,r]=e.split(""),n=kLe[t],a=PLe[r]||"";return Array.isArray(a)?a.map(i=>n+i):[n+a]}),s3=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],n3=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...s3,...n3];function u_(e,t,r,n){var a;const i=(a=dM(e,t,!1))!=null?a:r;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function lH(e){return u_(e,"spacing",8)}function m_(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function NLe(e,t){return r=>e.reduce((n,a)=>(n[a]=m_(t,r),n),{})}function wLe(e,t,r,n){if(t.indexOf(r)===-1)return null;const a=ULe(r),i=NLe(a,n),s=e[r];return cu(e,s,i)}function oH(e,t){const r=lH(e.theme);return Object.keys(e).map(n=>wLe(e,t,n,r)).reduce(c1,{})}function rn(e){return oH(e,s3)}rn.propTypes={};rn.filterProps=s3;function sn(e){return oH(e,n3)}sn.propTypes={};sn.filterProps=n3;function xLe(e=8){if(e.mui)return e;const t=lH({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function hM(...e){const t=e.reduce((n,a)=>(a.filterProps.forEach(i=>{n[i]=a}),n),{}),r=n=>Object.keys(n).reduce((a,i)=>t[i]?c1(a,t[i](n)):a,{});return r.propTypes={},r.filterProps=e.reduce((n,a)=>n.concat(a.filterProps),[]),r}function no(e){return typeof e!="number"?e:`${e}px solid`}const VLe=us({prop:"border",themeKey:"borders",transform:no}),RLe=us({prop:"borderTop",themeKey:"borders",transform:no}),FLe=us({prop:"borderRight",themeKey:"borders",transform:no}),BLe=us({prop:"borderBottom",themeKey:"borders",transform:no}),HLe=us({prop:"borderLeft",themeKey:"borders",transform:no}),$Le=us({prop:"borderColor",themeKey:"palette"}),jLe=us({prop:"borderTopColor",themeKey:"palette"}),GLe=us({prop:"borderRightColor",themeKey:"palette"}),WLe=us({prop:"borderBottomColor",themeKey:"palette"}),zLe=us({prop:"borderLeftColor",themeKey:"palette"}),_M=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=u_(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:m_(t,n)});return cu(e,e.borderRadius,r)}return null};_M.propTypes={};_M.filterProps=["borderRadius"];hM(VLe,RLe,FLe,BLe,HLe,$Le,jLe,GLe,WLe,zLe,_M);const gM=e=>{if(e.gap!==void 0&&e.gap!==null){const t=u_(e.theme,"spacing",8),r=n=>({gap:m_(t,n)});return cu(e,e.gap,r)}return null};gM.propTypes={};gM.filterProps=["gap"];const SM=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=u_(e.theme,"spacing",8),r=n=>({columnGap:m_(t,n)});return cu(e,e.columnGap,r)}return null};SM.propTypes={};SM.filterProps=["columnGap"];const vM=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=u_(e.theme,"spacing",8),r=n=>({rowGap:m_(t,n)});return cu(e,e.rowGap,r)}return null};vM.propTypes={};vM.filterProps=["rowGap"];const KLe=us({prop:"gridColumn"}),qLe=us({prop:"gridRow"}),ZLe=us({prop:"gridAutoFlow"}),YLe=us({prop:"gridAutoColumns"}),XLe=us({prop:"gridAutoRows"}),JLe=us({prop:"gridTemplateColumns"}),QLe=us({prop:"gridTemplateRows"}),ebe=us({prop:"gridTemplateAreas"}),tbe=us({prop:"gridArea"});hM(gM,SM,vM,KLe,qLe,ZLe,YLe,XLe,JLe,QLe,ebe,tbe);function Uf(e,t){return t==="grey"?t:e}const rbe=us({prop:"color",themeKey:"palette",transform:Uf}),sbe=us({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Uf}),nbe=us({prop:"backgroundColor",themeKey:"palette",transform:Uf});hM(rbe,sbe,nbe);function _i(e){return e<=1&&e!==0?`${e*100}%`:e}const abe=us({prop:"width",transform:_i}),a3=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,a,i;return{maxWidth:((n=e.theme)==null||(a=n.breakpoints)==null||(i=a.values)==null?void 0:i[r])||r3[r]||_i(r)}};return cu(e,e.maxWidth,t)}return null};a3.filterProps=["maxWidth"];const ibe=us({prop:"minWidth",transform:_i}),lbe=us({prop:"height",transform:_i}),obe=us({prop:"maxHeight",transform:_i}),ube=us({prop:"minHeight",transform:_i});us({prop:"size",cssProperty:"width",transform:_i});us({prop:"size",cssProperty:"height",transform:_i});const mbe=us({prop:"boxSizing"});hM(abe,a3,ibe,lbe,obe,ube,mbe);const cbe={border:{themeKey:"borders",transform:no},borderTop:{themeKey:"borders",transform:no},borderRight:{themeKey:"borders",transform:no},borderBottom:{themeKey:"borders",transform:no},borderLeft:{themeKey:"borders",transform:no},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_M},color:{themeKey:"palette",transform:Uf},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Uf},backgroundColor:{themeKey:"palette",transform:Uf},p:{style:sn},pt:{style:sn},pr:{style:sn},pb:{style:sn},pl:{style:sn},px:{style:sn},py:{style:sn},padding:{style:sn},paddingTop:{style:sn},paddingRight:{style:sn},paddingBottom:{style:sn},paddingLeft:{style:sn},paddingX:{style:sn},paddingY:{style:sn},paddingInline:{style:sn},paddingInlineStart:{style:sn},paddingInlineEnd:{style:sn},paddingBlock:{style:sn},paddingBlockStart:{style:sn},paddingBlockEnd:{style:sn},m:{style:rn},mt:{style:rn},mr:{style:rn},mb:{style:rn},ml:{style:rn},mx:{style:rn},my:{style:rn},margin:{style:rn},marginTop:{style:rn},marginRight:{style:rn},marginBottom:{style:rn},marginLeft:{style:rn},marginX:{style:rn},marginY:{style:rn},marginInline:{style:rn},marginInlineStart:{style:rn},marginInlineEnd:{style:rn},marginBlock:{style:rn},marginBlockStart:{style:rn},marginBlockEnd:{style:rn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:gM},rowGap:{style:vM},columnGap:{style:SM},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_i},maxWidth:{style:a3},minWidth:{transform:_i},height:{transform:_i},maxHeight:{transform:_i},minHeight:{transform:_i},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},yM=cbe;function fbe(...e){const t=e.reduce((n,a)=>n.concat(Object.keys(a)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function pbe(e,t){return typeof e=="function"?e(t):e}function dbe(){function e(r,n,a,i){const s={[r]:n,theme:a},l=i[r];if(!l)return{[r]:n};const{cssProperty:o=r,themeKey:u,transform:m,style:c}=l;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const f=dM(a,u)||{};return c?c(s):cu(s,n,h=>{let d=XS(f,m,h);return h===d&&typeof h=="string"&&(d=XS(f,m,`${r}${h==="default"?"":Qt(h)}`,h)),o===!1?d:{[o]:d}})}function t(r){var n;const{sx:a,theme:i={}}=r||{};if(!a)return null;const s=(n=i.unstable_sxConfig)!=null?n:yM;function l(o){let u=o;if(typeof o=="function")u=o(i);else if(typeof o!="object")return o;if(!u)return null;const m=ELe(i.breakpoints),c=Object.keys(m);let f=m;return Object.keys(u).forEach(p=>{const h=pbe(u[p],i);if(h!=null)if(typeof h=="object")if(s[p])f=c1(f,e(p,h,i,s));else{const d=cu({theme:i},h,_=>({[p]:_}));fbe(d,h)?f[p]=t({sx:h,theme:i}):f=c1(f,d)}else f=c1(f,e(p,h,i,s))}),TLe(c,f)}return Array.isArray(a)?a.map(l):l(a)}return t}const uH=dbe();uH.filterProps=["sx"];const MM=uH,hbe=["breakpoints","palette","spacing","shape"];function i3(e={},...t){const{breakpoints:r={},palette:n={},spacing:a,shape:i={}}=e,s=Zt(e,hbe),l=LLe(r),o=xLe(a);let u=tl({breakpoints:l,direction:"ltr",components:{},palette:Xe({mode:"light"},n),spacing:o,shape:Xe({},CLe,i)},s);return u=t.reduce((m,c)=>tl(m,c),u),u.unstable_sxConfig=Xe({},yM,s?.unstable_sxConfig),u.unstable_sx=function(c){return MM({sx:c,theme:this})},u}function _be(e){return Object.keys(e).length===0}function mH(e=null){const t=Ke.exports.useContext(e3);return!t||_be(t)?e:t}const gbe=i3();function DM(e=gbe){return mH(e)}function Sbe({styles:e,themeId:t,defaultTheme:r={}}){const n=DM(r),a=typeof e=="function"?e(t&&n[t]||n):e;return ot(MLe,{styles:a})}const vbe=["sx"],ybe=e=>{var t,r;const n={systemProps:{},otherProps:{}},a=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:yM;return Object.keys(e).forEach(i=>{a[i]?n.systemProps[i]=e[i]:n.otherProps[i]=e[i]}),n};function cH(e){const{sx:t}=e,r=Zt(e,vbe),{systemProps:n,otherProps:a}=ybe(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...s)=>{const l=t(...s);return d0(l)?Xe({},n,l):n}:i=Xe({},n,t),Xe({},a,{sx:i})}function fH(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;tl!=="theme"&&l!=="sx"&&l!=="as"})(MM);return Ke.exports.forwardRef(function(o,u){const m=DM(r),c=cH(o),{className:f,component:p="div"}=c,h=Zt(c,Mbe);return ot(i,Xe({as:p,ref:u,className:Jt(f,a?a(n):n),theme:t&&m[t]||m},h))})}const Ibe=["variant"];function _U(e){return e.length===0}function pH(e){const{variant:t}=e,r=Zt(e,Ibe);let n=t||"";return Object.keys(r).sort().forEach(a=>{a==="color"?n+=_U(n)?e[a]:Qt(e[a]):n+=`${_U(n)?a:Qt(a)}${Qt(e[a].toString())}`}),n}const Obe=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Lbe(e){return Object.keys(e).length===0}function bbe(e){return typeof e=="string"&&e.charCodeAt(0)>96}const Cbe=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,Ebe=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach(a=>{const i=pH(a.props);n[i]=a.style}),n},Tbe=(e,t,r,n)=>{var a,i;const{ownerState:s={}}=e,l=[],o=r==null||(a=r.components)==null||(i=a[n])==null?void 0:i.variants;return o&&o.forEach(u=>{let m=!0;Object.keys(u.props).forEach(c=>{s[c]!==u.props[c]&&e[c]!==u.props[c]&&(m=!1)}),m&&l.push(t[pH(u.props)])}),l};function f1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Abe=i3();function ld({defaultTheme:e,theme:t,themeId:r}){return Lbe(t)?e:t[r]||t}function kbe(e={}){const{themeId:t,defaultTheme:r=Abe,rootShouldForwardProp:n=f1,slotShouldForwardProp:a=f1}=e,i=s=>MM(Xe({},s,{theme:ld(Xe({},s,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(s,l={})=>{DLe(s,v=>v.filter(M=>!(M!=null&&M.__mui_systemSx)));const{name:o,slot:u,skipVariantsResolver:m,skipSx:c,overridesResolver:f}=l,p=Zt(l,Obe),h=m!==void 0?m:u&&u!=="Root"||!1,d=c||!1;let _,y=f1;u==="Root"?y=n:u?y=a:bbe(s)&&(y=void 0);const g=iH(s,Xe({shouldForwardProp:y,label:_},p)),S=(v,...M)=>{const I=M?M.map(z=>typeof z=="function"&&z.__emotion_real!==z?B=>z(Xe({},B,{theme:ld(Xe({},B,{defaultTheme:r,themeId:t}))})):z):[];let D=v;o&&f&&I.push(z=>{const B=ld(Xe({},z,{defaultTheme:r,themeId:t})),P=Cbe(o,B);if(P){const F={};return Object.entries(P).forEach(([L,H])=>{F[L]=typeof H=="function"?H(Xe({},z,{theme:B})):H}),f(z,F)}return null}),o&&!h&&I.push(z=>{const B=ld(Xe({},z,{defaultTheme:r,themeId:t}));return Tbe(z,Ebe(o,B),B,o)}),d||I.push(i);const k=I.length-M.length;if(Array.isArray(v)&&k>0){const z=new Array(k).fill("");D=[...v,...z],D.raw=[...v.raw,...z]}else typeof v=="function"&&v.__emotion_real!==v&&(D=z=>v(Xe({},z,{theme:ld(Xe({},z,{defaultTheme:r,themeId:t}))})));const E=g(D,...I);return s.muiName&&(E.muiName=s.muiName),E};return g.withConfig&&(S.withConfig=g.withConfig),S}}function Pbe(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:WT(t.components[r].defaultProps,n)}function Ube({props:e,name:t,defaultTheme:r,themeId:n}){let a=DM(r);return n&&(a=a[n]||a),Pbe({theme:a,name:t,props:e})}function l3(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function Nbe(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,a)=>a<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function rc(e){if(e.type)return e;if(e.charAt(0)==="#")return rc(Nbe(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(bm(9,e));let n=e.substring(t+1,e.length-1),a;if(r==="color"){if(n=n.split(" "),a=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a)===-1)throw new Error(bm(10,a))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:a}}function IM(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((a,i)=>i<3?parseInt(a,10):a):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function wbe(e){e=rc(e);const{values:t}=e,r=t[0],n=t[1]/100,a=t[2]/100,i=n*Math.min(a,1-a),s=(u,m=(u+r/30)%12)=>a-i*Math.max(Math.min(m-3,9-m,1),-1);let l="rgb";const o=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",o.push(t[3])),IM({type:l,values:o})}function gU(e){e=rc(e);let t=e.type==="hsl"||e.type==="hsla"?rc(wbe(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function xbe(e,t){const r=gU(e),n=gU(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function ln(e,t){return e=rc(e),t=l3(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,IM(e)}function o3(e,t){if(e=rc(e),t=l3(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return IM(e)}function u3(e,t){if(e=rc(e),t=l3(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return IM(e)}function Vbe(e,t){return Xe({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Rbe=["mode","contrastThreshold","tonalOffset"],SU={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:hh.white,default:hh.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},BI={text:{primary:hh.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:hh.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function vU(e,t,r,n){const a=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=u3(e.main,a):t==="dark"&&(e.dark=o3(e.main,i)))}function Fbe(e="light"){return e==="dark"?{main:Vc[200],light:Vc[50],dark:Vc[400]}:{main:Vc[700],light:Vc[400],dark:Vc[800]}}function Bbe(e="light"){return e==="dark"?{main:xc[200],light:xc[50],dark:xc[400]}:{main:xc[500],light:xc[300],dark:xc[700]}}function Hbe(e="light"){return e==="dark"?{main:wc[500],light:wc[300],dark:wc[700]}:{main:wc[700],light:wc[400],dark:wc[800]}}function $be(e="light"){return e==="dark"?{main:Rc[400],light:Rc[300],dark:Rc[700]}:{main:Rc[700],light:Rc[500],dark:Rc[900]}}function jbe(e="light"){return e==="dark"?{main:Fc[400],light:Fc[300],dark:Fc[700]}:{main:Fc[800],light:Fc[500],dark:Fc[900]}}function Gbe(e="light"){return e==="dark"?{main:ad[400],light:ad[300],dark:ad[700]}:{main:"#ed6c02",light:ad[500],dark:ad[900]}}function Wbe(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,a=Zt(e,Rbe),i=e.primary||Fbe(t),s=e.secondary||Bbe(t),l=e.error||Hbe(t),o=e.info||$be(t),u=e.success||jbe(t),m=e.warning||Gbe(t);function c(d){return xbe(d,BI.text.primary)>=r?BI.text.primary:SU.text.primary}const f=({color:d,name:_,mainShade:y=500,lightShade:g=300,darkShade:S=700})=>{if(d=Xe({},d),!d.main&&d[y]&&(d.main=d[y]),!d.hasOwnProperty("main"))throw new Error(bm(11,_?` (${_})`:"",y));if(typeof d.main!="string")throw new Error(bm(12,_?` (${_})`:"",JSON.stringify(d.main)));return vU(d,"light",g,n),vU(d,"dark",S,n),d.contrastText||(d.contrastText=c(d.main)),d},p={dark:BI,light:SU};return tl(Xe({common:Xe({},hh),mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:l,name:"error"}),warning:f({color:m,name:"warning"}),info:f({color:o,name:"info"}),success:f({color:u,name:"success"}),grey:KIe,contrastThreshold:r,getContrastText:c,augmentColor:f,tonalOffset:n},p[t]),a)}const zbe=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Kbe(e){return Math.round(e*1e5)/1e5}const yU={textTransform:"uppercase"},MU='"Roboto", "Helvetica", "Arial", sans-serif';function qbe(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=MU,fontSize:a=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:l=500,fontWeightBold:o=700,htmlFontSize:u=16,allVariants:m,pxToRem:c}=r,f=Zt(r,zbe),p=a/14,h=c||(y=>`${y/u*p}rem`),d=(y,g,S,v,M)=>Xe({fontFamily:n,fontWeight:y,fontSize:h(g),lineHeight:S},n===MU?{letterSpacing:`${Kbe(v/g)}em`}:{},M,m),_={h1:d(i,96,1.167,-1.5),h2:d(i,60,1.2,-.5),h3:d(s,48,1.167,0),h4:d(s,34,1.235,.25),h5:d(s,24,1.334,0),h6:d(l,20,1.6,.15),subtitle1:d(s,16,1.75,.15),subtitle2:d(l,14,1.57,.1),body1:d(s,16,1.5,.15),body2:d(s,14,1.43,.15),button:d(l,14,1.75,.4,yU),caption:d(s,12,1.66,.4),overline:d(s,12,2.66,1,yU),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return tl(Xe({htmlFontSize:u,pxToRem:h,fontFamily:n,fontSize:a,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:l,fontWeightBold:o},_),f,{clone:!1})}const Zbe=.2,Ybe=.14,Xbe=.12;function Ws(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Zbe})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ybe})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Xbe})`].join(",")}const Jbe=["none",Ws(0,2,1,-1,0,1,1,0,0,1,3,0),Ws(0,3,1,-2,0,2,2,0,0,1,5,0),Ws(0,3,3,-2,0,3,4,0,0,1,8,0),Ws(0,2,4,-1,0,4,5,0,0,1,10,0),Ws(0,3,5,-1,0,5,8,0,0,1,14,0),Ws(0,3,5,-1,0,6,10,0,0,1,18,0),Ws(0,4,5,-2,0,7,10,1,0,2,16,1),Ws(0,5,5,-3,0,8,10,1,0,3,14,2),Ws(0,5,6,-3,0,9,12,1,0,3,16,2),Ws(0,6,6,-3,0,10,14,1,0,4,18,3),Ws(0,6,7,-4,0,11,15,1,0,4,20,3),Ws(0,7,8,-4,0,12,17,2,0,5,22,4),Ws(0,7,8,-4,0,13,19,2,0,5,24,4),Ws(0,7,9,-4,0,14,21,2,0,5,26,4),Ws(0,8,9,-5,0,15,22,2,0,6,28,5),Ws(0,8,10,-5,0,16,24,2,0,6,30,5),Ws(0,8,11,-5,0,17,26,2,0,6,32,5),Ws(0,9,11,-5,0,18,28,2,0,7,34,6),Ws(0,9,12,-6,0,19,29,2,0,7,36,6),Ws(0,10,13,-6,0,20,31,3,0,8,38,7),Ws(0,10,13,-6,0,21,33,3,0,8,40,7),Ws(0,10,14,-6,0,22,35,3,0,8,42,7),Ws(0,11,14,-7,0,23,36,3,0,9,44,8),Ws(0,11,15,-7,0,24,38,3,0,9,46,8)],Qbe=Jbe,eCe=["duration","easing","delay"],tCe={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},rCe={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function DU(e){return`${Math.round(e)}ms`}function sCe(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function nCe(e){const t=Xe({},tCe,e.easing),r=Xe({},rCe,e.duration);return Xe({getAutoHeightDuration:sCe,create:(a=["all"],i={})=>{const{duration:s=r.standard,easing:l=t.easeInOut,delay:o=0}=i;return Zt(i,eCe),(Array.isArray(a)?a:[a]).map(u=>`${u} ${typeof s=="string"?s:DU(s)} ${l} ${typeof o=="string"?o:DU(o)}`).join(",")}},e,{easing:t,duration:r})}const aCe={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},iCe=aCe,lCe=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function dH(e={},...t){const{mixins:r={},palette:n={},transitions:a={},typography:i={}}=e,s=Zt(e,lCe);if(e.vars)throw new Error(bm(18));const l=Wbe(n),o=i3(e);let u=tl(o,{mixins:Vbe(o.breakpoints,r),palette:l,shadows:Qbe.slice(),typography:qbe(l,i),transitions:nCe(a),zIndex:Xe({},iCe)});return u=tl(u,s),u=t.reduce((m,c)=>tl(m,c),u),u.unstable_sxConfig=Xe({},yM,s?.unstable_sxConfig),u.unstable_sx=function(c){return MM({sx:c,theme:this})},u}const oCe=dH(),OM=oCe;function c_(){const e=DM(OM);return e[l_]||e}function rs({props:e,name:t}){return Ube({props:e,name:t,defaultTheme:OM,themeId:l_})}const Lo=e=>f1(e)&&e!=="classes",uCe=f1,mCe=kbe({themeId:l_,defaultTheme:OM,rootShouldForwardProp:Lo}),$t=mCe,cCe=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},IU=cCe;function yh(e){return typeof e=="string"}function bd(e,t,r){return e===void 0||yh(e)?t:Xe({},t,{ownerState:Xe({},t.ownerState,r)})}const fCe={disableDefaultClasses:!1},pCe=Ke.exports.createContext(fCe);function hH(e){const{disableDefaultClasses:t}=Ke.exports.useContext(pCe);return r=>t?"":e(r)}function dCe(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function ub(e,t){return typeof e=="function"?e(t):e}function OU(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function hCe(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:a,className:i}=e;if(!t){const p=Jt(a?.className,n?.className,i,r?.className),h=Xe({},r?.style,a?.style,n?.style),d=Xe({},r,a,n);return p.length>0&&(d.className=p),Object.keys(h).length>0&&(d.style=h),{props:d,internalRef:void 0}}const s=dCe(Xe({},a,n)),l=OU(n),o=OU(a),u=t(s),m=Jt(u?.className,r?.className,i,a?.className,n?.className),c=Xe({},u?.style,r?.style,a?.style,n?.style),f=Xe({},u,r,o,l);return m.length>0&&(f.className=m),Object.keys(c).length>0&&(f.style=c),{props:f,internalRef:u.ref}}const _Ce=["elementType","externalSlotProps","ownerState"];function mb(e){var t;const{elementType:r,externalSlotProps:n,ownerState:a}=e,i=Zt(e,_Ce),s=ub(n,a),{props:l,internalRef:o}=hCe(Xe({},i,{externalSlotProps:s})),u=xn(o,s?.ref,(t=e.additionalProps)==null?void 0:t.ref);return bd(r,Xe({},l,{ref:u}),a)}const gCe=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function SCe(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function vCe(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function yCe(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||vCe(e))}function MCe(e){const t=[],r=[];return Array.from(e.querySelectorAll(gCe)).forEach((n,a)=>{const i=SCe(n);i===-1||!yCe(n)||(i===0?t.push(n):r.push({documentOrder:a,tabIndex:i,node:n}))}),r.sort((n,a)=>n.tabIndex===a.tabIndex?n.documentOrder-a.documentOrder:n.tabIndex-a.tabIndex).map(n=>n.node).concat(t)}function DCe(){return!0}function ICe(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:a=!1,getTabbable:i=MCe,isEnabled:s=DCe,open:l}=e,o=Ke.exports.useRef(!1),u=Ke.exports.useRef(null),m=Ke.exports.useRef(null),c=Ke.exports.useRef(null),f=Ke.exports.useRef(null),p=Ke.exports.useRef(!1),h=Ke.exports.useRef(null),d=xn(t.ref,h),_=Ke.exports.useRef(null);Ke.exports.useEffect(()=>{!l||!h.current||(p.current=!r)},[r,l]),Ke.exports.useEffect(()=>{if(!l||!h.current)return;const S=Sa(h.current);return h.current.contains(S.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),p.current&&h.current.focus()),()=>{a||(c.current&&c.current.focus&&(o.current=!0,c.current.focus()),c.current=null)}},[l]),Ke.exports.useEffect(()=>{if(!l||!h.current)return;const S=Sa(h.current),v=D=>{const{current:k}=h;if(k!==null){if(!S.hasFocus()||n||!s()||o.current){o.current=!1;return}if(!k.contains(S.activeElement)){if(D&&f.current!==D.target||S.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let B=[];if((S.activeElement===u.current||S.activeElement===m.current)&&(B=i(h.current)),B.length>0){var E,z;const P=Boolean(((E=_.current)==null?void 0:E.shiftKey)&&((z=_.current)==null?void 0:z.key)==="Tab"),F=B[0],L=B[B.length-1];typeof F!="string"&&typeof L!="string"&&(P?L.focus():F.focus())}else k.focus()}}},M=D=>{_.current=D,!(n||!s()||D.key!=="Tab")&&S.activeElement===h.current&&D.shiftKey&&(o.current=!0,m.current&&m.current.focus())};S.addEventListener("focusin",v),S.addEventListener("keydown",M,!0);const I=setInterval(()=>{S.activeElement&&S.activeElement.tagName==="BODY"&&v(null)},50);return()=>{clearInterval(I),S.removeEventListener("focusin",v),S.removeEventListener("keydown",M,!0)}},[r,n,a,s,l,i]);const y=S=>{c.current===null&&(c.current=S.relatedTarget),p.current=!0,f.current=S.target;const v=t.props.onFocus;v&&v(S)},g=S=>{c.current===null&&(c.current=S.relatedTarget),p.current=!0};return ur(Ke.exports.Fragment,{children:[ot("div",{tabIndex:l?0:-1,onFocus:g,ref:u,"data-testid":"sentinelStart"}),Ke.exports.cloneElement(t,{ref:d,onFocus:y}),ot("div",{tabIndex:l?0:-1,onFocus:g,ref:m,"data-testid":"sentinelEnd"})]})}var ti="top",il="bottom",ll="right",ri="left",m3="auto",f_=[ti,il,ll,ri],np="start",Mh="end",OCe="clippingParents",_H="viewport",od="popper",LCe="reference",LU=f_.reduce(function(e,t){return e.concat([t+"-"+np,t+"-"+Mh])},[]),gH=[].concat(f_,[m3]).reduce(function(e,t){return e.concat([t,t+"-"+np,t+"-"+Mh])},[]),bCe="beforeRead",CCe="read",ECe="afterRead",TCe="beforeMain",ACe="main",kCe="afterMain",PCe="beforeWrite",UCe="write",NCe="afterWrite",wCe=[bCe,CCe,ECe,TCe,ACe,kCe,PCe,UCe,NCe];function vo(e){return e?(e.nodeName||"").toLowerCase():null}function Li(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function sc(e){var t=Li(e).Element;return e instanceof t||e instanceof Element}function rl(e){var t=Li(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function c3(e){if(typeof ShadowRoot>"u")return!1;var t=Li(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function xCe(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},i=t.elements[r];!rl(i)||!vo(i)||(Object.assign(i.style,n),Object.keys(a).forEach(function(s){var l=a[s];l===!1?i.removeAttribute(s):i.setAttribute(s,l===!0?"":l)}))})}function VCe(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],i=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),l=s.reduce(function(o,u){return o[u]="",o},{});!rl(a)||!vo(a)||(Object.assign(a.style,l),Object.keys(i).forEach(function(o){a.removeAttribute(o)}))})}}const RCe={name:"applyStyles",enabled:!0,phase:"write",fn:xCe,effect:VCe,requires:["computeStyles"]};function _o(e){return e.split("-")[0]}var x0=Math.max,JS=Math.min,ap=Math.round;function cb(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function SH(){return!/^((?!chrome|android).)*safari/i.test(cb())}function ip(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,i=1;t&&rl(e)&&(a=e.offsetWidth>0&&ap(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&ap(n.height)/e.offsetHeight||1);var s=sc(e)?Li(e):window,l=s.visualViewport,o=!SH()&&r,u=(n.left+(o&&l?l.offsetLeft:0))/a,m=(n.top+(o&&l?l.offsetTop:0))/i,c=n.width/a,f=n.height/i;return{width:c,height:f,top:m,right:u+c,bottom:m+f,left:u,x:u,y:m}}function f3(e){var t=ip(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function vH(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&c3(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function fu(e){return Li(e).getComputedStyle(e)}function FCe(e){return["table","td","th"].indexOf(vo(e))>=0}function Fm(e){return((sc(e)?e.ownerDocument:e.document)||window.document).documentElement}function LM(e){return vo(e)==="html"?e:e.assignedSlot||e.parentNode||(c3(e)?e.host:null)||Fm(e)}function bU(e){return!rl(e)||fu(e).position==="fixed"?null:e.offsetParent}function BCe(e){var t=/firefox/i.test(cb()),r=/Trident/i.test(cb());if(r&&rl(e)){var n=fu(e);if(n.position==="fixed")return null}var a=LM(e);for(c3(a)&&(a=a.host);rl(a)&&["html","body"].indexOf(vo(a))<0;){var i=fu(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function p_(e){for(var t=Li(e),r=bU(e);r&&FCe(r)&&fu(r).position==="static";)r=bU(r);return r&&(vo(r)==="html"||vo(r)==="body"&&fu(r).position==="static")?t:r||BCe(e)||t}function p3(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function p1(e,t,r){return x0(e,JS(t,r))}function HCe(e,t,r){var n=p1(e,t,r);return n>r?r:n}function yH(){return{top:0,right:0,bottom:0,left:0}}function MH(e){return Object.assign({},yH(),e)}function DH(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var $Ce=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,MH(typeof t!="number"?t:DH(t,f_))};function jCe(e){var t,r=e.state,n=e.name,a=e.options,i=r.elements.arrow,s=r.modifiersData.popperOffsets,l=_o(r.placement),o=p3(l),u=[ri,ll].indexOf(l)>=0,m=u?"height":"width";if(!(!i||!s)){var c=$Ce(a.padding,r),f=f3(i),p=o==="y"?ti:ri,h=o==="y"?il:ll,d=r.rects.reference[m]+r.rects.reference[o]-s[o]-r.rects.popper[m],_=s[o]-r.rects.reference[o],y=p_(i),g=y?o==="y"?y.clientHeight||0:y.clientWidth||0:0,S=d/2-_/2,v=c[p],M=g-f[m]-c[h],I=g/2-f[m]/2+S,D=p1(v,I,M),k=o;r.modifiersData[n]=(t={},t[k]=D,t.centerOffset=D-I,t)}}function GCe(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||!vH(t.elements.popper,a)||(t.elements.arrow=a))}const WCe={name:"arrow",enabled:!0,phase:"main",fn:jCe,effect:GCe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function lp(e){return e.split("-")[1]}var zCe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function KCe(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:ap(r*a)/a||0,y:ap(n*a)/a||0}}function CU(e){var t,r=e.popper,n=e.popperRect,a=e.placement,i=e.variation,s=e.offsets,l=e.position,o=e.gpuAcceleration,u=e.adaptive,m=e.roundOffsets,c=e.isFixed,f=s.x,p=f===void 0?0:f,h=s.y,d=h===void 0?0:h,_=typeof m=="function"?m({x:p,y:d}):{x:p,y:d};p=_.x,d=_.y;var y=s.hasOwnProperty("x"),g=s.hasOwnProperty("y"),S=ri,v=ti,M=window;if(u){var I=p_(r),D="clientHeight",k="clientWidth";if(I===Li(r)&&(I=Fm(r),fu(I).position!=="static"&&l==="absolute"&&(D="scrollHeight",k="scrollWidth")),I=I,a===ti||(a===ri||a===ll)&&i===Mh){v=il;var E=c&&I===M&&M.visualViewport?M.visualViewport.height:I[D];d-=E-n.height,d*=o?1:-1}if(a===ri||(a===ti||a===il)&&i===Mh){S=ll;var z=c&&I===M&&M.visualViewport?M.visualViewport.width:I[k];p-=z-n.width,p*=o?1:-1}}var B=Object.assign({position:l},u&&zCe),P=m===!0?KCe({x:p,y:d},Li(r)):{x:p,y:d};if(p=P.x,d=P.y,o){var F;return Object.assign({},B,(F={},F[v]=g?"0":"",F[S]=y?"0":"",F.transform=(M.devicePixelRatio||1)<=1?"translate("+p+"px, "+d+"px)":"translate3d("+p+"px, "+d+"px, 0)",F))}return Object.assign({},B,(t={},t[v]=g?d+"px":"",t[S]=y?p+"px":"",t.transform="",t))}function qCe(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,i=r.adaptive,s=i===void 0?!0:i,l=r.roundOffsets,o=l===void 0?!0:l,u={placement:_o(t.placement),variation:lp(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,CU(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:o})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,CU(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:o})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const ZCe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qCe,data:{}};var Sg={passive:!0};function YCe(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,i=a===void 0?!0:a,s=n.resize,l=s===void 0?!0:s,o=Li(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(m){m.addEventListener("scroll",r.update,Sg)}),l&&o.addEventListener("resize",r.update,Sg),function(){i&&u.forEach(function(m){m.removeEventListener("scroll",r.update,Sg)}),l&&o.removeEventListener("resize",r.update,Sg)}}const XCe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:YCe,data:{}};var JCe={left:"right",right:"left",bottom:"top",top:"bottom"};function l2(e){return e.replace(/left|right|bottom|top/g,function(t){return JCe[t]})}var QCe={start:"end",end:"start"};function EU(e){return e.replace(/start|end/g,function(t){return QCe[t]})}function d3(e){var t=Li(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function h3(e){return ip(Fm(e)).left+d3(e).scrollLeft}function eEe(e,t){var r=Li(e),n=Fm(e),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,o=0;if(a){i=a.width,s=a.height;var u=SH();(u||!u&&t==="fixed")&&(l=a.offsetLeft,o=a.offsetTop)}return{width:i,height:s,x:l+h3(e),y:o}}function tEe(e){var t,r=Fm(e),n=d3(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=x0(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=x0(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),l=-n.scrollLeft+h3(e),o=-n.scrollTop;return fu(a||r).direction==="rtl"&&(l+=x0(r.clientWidth,a?a.clientWidth:0)-i),{width:i,height:s,x:l,y:o}}function _3(e){var t=fu(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function IH(e){return["html","body","#document"].indexOf(vo(e))>=0?e.ownerDocument.body:rl(e)&&_3(e)?e:IH(LM(e))}function d1(e,t){var r;t===void 0&&(t=[]);var n=IH(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),i=Li(n),s=a?[i].concat(i.visualViewport||[],_3(n)?n:[]):n,l=t.concat(s);return a?l:l.concat(d1(LM(s)))}function fb(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function rEe(e,t){var r=ip(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function TU(e,t,r){return t===_H?fb(eEe(e,r)):sc(t)?rEe(t,r):fb(tEe(Fm(e)))}function sEe(e){var t=d1(LM(e)),r=["absolute","fixed"].indexOf(fu(e).position)>=0,n=r&&rl(e)?p_(e):e;return sc(n)?t.filter(function(a){return sc(a)&&vH(a,n)&&vo(a)!=="body"}):[]}function nEe(e,t,r,n){var a=t==="clippingParents"?sEe(e):[].concat(t),i=[].concat(a,[r]),s=i[0],l=i.reduce(function(o,u){var m=TU(e,u,n);return o.top=x0(m.top,o.top),o.right=JS(m.right,o.right),o.bottom=JS(m.bottom,o.bottom),o.left=x0(m.left,o.left),o},TU(e,s,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function OH(e){var t=e.reference,r=e.element,n=e.placement,a=n?_o(n):null,i=n?lp(n):null,s=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,o;switch(a){case ti:o={x:s,y:t.y-r.height};break;case il:o={x:s,y:t.y+t.height};break;case ll:o={x:t.x+t.width,y:l};break;case ri:o={x:t.x-r.width,y:l};break;default:o={x:t.x,y:t.y}}var u=a?p3(a):null;if(u!=null){var m=u==="y"?"height":"width";switch(i){case np:o[u]=o[u]-(t[m]/2-r[m]/2);break;case Mh:o[u]=o[u]+(t[m]/2-r[m]/2);break}}return o}function Dh(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,i=r.strategy,s=i===void 0?e.strategy:i,l=r.boundary,o=l===void 0?OCe:l,u=r.rootBoundary,m=u===void 0?_H:u,c=r.elementContext,f=c===void 0?od:c,p=r.altBoundary,h=p===void 0?!1:p,d=r.padding,_=d===void 0?0:d,y=MH(typeof _!="number"?_:DH(_,f_)),g=f===od?LCe:od,S=e.rects.popper,v=e.elements[h?g:f],M=nEe(sc(v)?v:v.contextElement||Fm(e.elements.popper),o,m,s),I=ip(e.elements.reference),D=OH({reference:I,element:S,strategy:"absolute",placement:a}),k=fb(Object.assign({},S,D)),E=f===od?k:I,z={top:M.top-E.top+y.top,bottom:E.bottom-M.bottom+y.bottom,left:M.left-E.left+y.left,right:E.right-M.right+y.right},B=e.modifiersData.offset;if(f===od&&B){var P=B[a];Object.keys(z).forEach(function(F){var L=[ll,il].indexOf(F)>=0?1:-1,H=[ti,il].indexOf(F)>=0?"y":"x";z[F]+=P[H]*L})}return z}function aEe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,s=r.padding,l=r.flipVariations,o=r.allowedAutoPlacements,u=o===void 0?gH:o,m=lp(n),c=m?l?LU:LU.filter(function(h){return lp(h)===m}):f_,f=c.filter(function(h){return u.indexOf(h)>=0});f.length===0&&(f=c);var p=f.reduce(function(h,d){return h[d]=Dh(e,{placement:d,boundary:a,rootBoundary:i,padding:s})[_o(d)],h},{});return Object.keys(p).sort(function(h,d){return p[h]-p[d]})}function iEe(e){if(_o(e)===m3)return[];var t=l2(e);return[EU(e),t,EU(t)]}function lEe(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,i=a===void 0?!0:a,s=r.altAxis,l=s===void 0?!0:s,o=r.fallbackPlacements,u=r.padding,m=r.boundary,c=r.rootBoundary,f=r.altBoundary,p=r.flipVariations,h=p===void 0?!0:p,d=r.allowedAutoPlacements,_=t.options.placement,y=_o(_),g=y===_,S=o||(g||!h?[l2(_)]:iEe(_)),v=[_].concat(S).reduce(function(Y,Z){return Y.concat(_o(Z)===m3?aEe(t,{placement:Z,boundary:m,rootBoundary:c,padding:u,flipVariations:h,allowedAutoPlacements:d}):Z)},[]),M=t.rects.reference,I=t.rects.popper,D=new Map,k=!0,E=v[0],z=0;z=0,H=L?"width":"height",ie=Dh(t,{placement:B,boundary:m,rootBoundary:c,altBoundary:f,padding:u}),G=L?F?ll:ri:F?il:ti;M[H]>I[H]&&(G=l2(G));var pe=l2(G),W=[];if(i&&W.push(ie[P]<=0),l&&W.push(ie[G]<=0,ie[pe]<=0),W.every(function(Y){return Y})){E=B,k=!1;break}D.set(B,W)}if(k)for(var ce=h?3:1,J=function(Z){var Re=v.find(function(Je){var xe=D.get(Je);if(xe)return xe.slice(0,Z).every(function(be){return be})});if(Re)return E=Re,"break"},R=ce;R>0;R--){var V=J(R);if(V==="break")break}t.placement!==E&&(t.modifiersData[n]._skip=!0,t.placement=E,t.reset=!0)}}const oEe={name:"flip",enabled:!0,phase:"main",fn:lEe,requiresIfExists:["offset"],data:{_skip:!1}};function AU(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function kU(e){return[ti,ll,il,ri].some(function(t){return e[t]>=0})}function uEe(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,s=Dh(t,{elementContext:"reference"}),l=Dh(t,{altBoundary:!0}),o=AU(s,n),u=AU(l,a,i),m=kU(o),c=kU(u);t.modifiersData[r]={referenceClippingOffsets:o,popperEscapeOffsets:u,isReferenceHidden:m,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":c})}const mEe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:uEe};function cEe(e,t,r){var n=_o(e),a=[ri,ti].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=i[0],l=i[1];return s=s||0,l=(l||0)*a,[ri,ll].indexOf(n)>=0?{x:l,y:s}:{x:s,y:l}}function fEe(e){var t=e.state,r=e.options,n=e.name,a=r.offset,i=a===void 0?[0,0]:a,s=gH.reduce(function(m,c){return m[c]=cEe(c,t.rects,i),m},{}),l=s[t.placement],o=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=o,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=s}const pEe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:fEe};function dEe(e){var t=e.state,r=e.name;t.modifiersData[r]=OH({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const hEe={name:"popperOffsets",enabled:!0,phase:"read",fn:dEe,data:{}};function _Ee(e){return e==="x"?"y":"x"}function gEe(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,i=a===void 0?!0:a,s=r.altAxis,l=s===void 0?!1:s,o=r.boundary,u=r.rootBoundary,m=r.altBoundary,c=r.padding,f=r.tether,p=f===void 0?!0:f,h=r.tetherOffset,d=h===void 0?0:h,_=Dh(t,{boundary:o,rootBoundary:u,padding:c,altBoundary:m}),y=_o(t.placement),g=lp(t.placement),S=!g,v=p3(y),M=_Ee(v),I=t.modifiersData.popperOffsets,D=t.rects.reference,k=t.rects.popper,E=typeof d=="function"?d(Object.assign({},t.rects,{placement:t.placement})):d,z=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(!!I){if(i){var F,L=v==="y"?ti:ri,H=v==="y"?il:ll,ie=v==="y"?"height":"width",G=I[v],pe=G+_[L],W=G-_[H],ce=p?-k[ie]/2:0,J=g===np?D[ie]:k[ie],R=g===np?-k[ie]:-D[ie],V=t.elements.arrow,Y=p&&V?f3(V):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:yH(),Re=Z[L],Je=Z[H],xe=p1(0,D[ie],Y[ie]),be=S?D[ie]/2-ce-xe-Re-z.mainAxis:J-xe-Re-z.mainAxis,et=S?-D[ie]/2+ce+xe+Je+z.mainAxis:R+xe+Je+z.mainAxis,Pe=t.elements.arrow&&p_(t.elements.arrow),Ne=Pe?v==="y"?Pe.clientTop||0:Pe.clientLeft||0:0,vt=(F=B?.[v])!=null?F:0,T=G+be-vt-Ne,we=G+et-vt,Ue=p1(p?JS(pe,T):pe,G,p?x0(W,we):W);I[v]=Ue,P[v]=Ue-G}if(l){var K,q=v==="x"?ti:ri,ge=v==="x"?il:ll,Be=I[M],$e=M==="y"?"height":"width",C=Be+_[q],Ce=Be-_[ge],mt=[ti,ri].indexOf(y)!==-1,tt=(K=B?.[M])!=null?K:0,qe=mt?C:Be-D[$e]-k[$e]-tt+z.altAxis,se=mt?Be+D[$e]+k[$e]-tt-z.altAxis:Ce,x=p&&mt?HCe(qe,Be,se):p1(p?qe:C,Be,p?se:Ce);I[M]=x,P[M]=x-Be}t.modifiersData[n]=P}}const SEe={name:"preventOverflow",enabled:!0,phase:"main",fn:gEe,requiresIfExists:["offset"]};function vEe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function yEe(e){return e===Li(e)||!rl(e)?d3(e):vEe(e)}function MEe(e){var t=e.getBoundingClientRect(),r=ap(t.width)/e.offsetWidth||1,n=ap(t.height)/e.offsetHeight||1;return r!==1||n!==1}function DEe(e,t,r){r===void 0&&(r=!1);var n=rl(t),a=rl(t)&&MEe(t),i=Fm(t),s=ip(e,a,r),l={scrollLeft:0,scrollTop:0},o={x:0,y:0};return(n||!n&&!r)&&((vo(t)!=="body"||_3(i))&&(l=yEe(t)),rl(t)?(o=ip(t,!0),o.x+=t.clientLeft,o.y+=t.clientTop):i&&(o.x=h3(i))),{x:s.left+l.scrollLeft-o.x,y:s.top+l.scrollTop-o.y,width:s.width,height:s.height}}function IEe(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function a(i){r.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(l){if(!r.has(l)){var o=t.get(l);o&&a(o)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||a(i)}),n}function OEe(e){var t=IEe(e);return wCe.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function LEe(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function bEe(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var PU={placement:"bottom",modifiers:[],strategy:"absolute"};function UU(){for(var e=arguments.length,t=new Array(e),r=0;r{i||l(AEe(a)||document.body)},[a,i]),So(()=>{if(s&&!i)return qS(r,s),()=>{qS(r,null)}},[r,s,i]),i){if(Ke.exports.isValidElement(n)){const u={ref:o};return Ke.exports.cloneElement(n,u)}return ot(Ke.exports.Fragment,{children:n})}return ot(Ke.exports.Fragment,{children:s&&mp.exports.createPortal(n,s)})}),LH=kEe;function PEe(e){return Vr("MuiPopper",e)}Tr("MuiPopper",["root"]);const UEe=["anchorEl","children","component","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],NEe=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function wEe(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function pb(e){return typeof e=="function"?e():e}function xEe(e){return e.nodeType!==void 0}const VEe=()=>Gr({root:["root"]},hH(PEe)),REe={},FEe=Ke.exports.forwardRef(function(t,r){var n;const{anchorEl:a,children:i,component:s,direction:l,disablePortal:o,modifiers:u,open:m,placement:c,popperOptions:f,popperRef:p,slotProps:h={},slots:d={},TransitionProps:_}=t,y=Zt(t,UEe),g=Ke.exports.useRef(null),S=xn(g,r),v=Ke.exports.useRef(null),M=xn(v,p),I=Ke.exports.useRef(M);So(()=>{I.current=M},[M]),Ke.exports.useImperativeHandle(p,()=>v.current,[]);const D=wEe(c,l),[k,E]=Ke.exports.useState(D),[z,B]=Ke.exports.useState(pb(a));Ke.exports.useEffect(()=>{v.current&&v.current.forceUpdate()}),Ke.exports.useEffect(()=>{a&&B(pb(a))},[a]),So(()=>{if(!z||!m)return;const ie=W=>{E(W.placement)};let G=[{name:"preventOverflow",options:{altBoundary:o}},{name:"flip",options:{altBoundary:o}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:W})=>{ie(W)}}];u!=null&&(G=G.concat(u)),f&&f.modifiers!=null&&(G=G.concat(f.modifiers));const pe=TEe(z,g.current,Xe({placement:D},f,{modifiers:G}));return I.current(pe),()=>{pe.destroy(),I.current(null)}},[z,o,u,m,f,D]);const P={placement:k};_!==null&&(P.TransitionProps=_);const F=VEe(),L=(n=s??d.root)!=null?n:"div",H=mb({elementType:L,externalSlotProps:h.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:S},ownerState:t,className:F.root});return ot(L,Xe({},H,{children:typeof i=="function"?i(P):i}))}),BEe=Ke.exports.forwardRef(function(t,r){const{anchorEl:n,children:a,container:i,direction:s="ltr",disablePortal:l=!1,keepMounted:o=!1,modifiers:u,open:m,placement:c="bottom",popperOptions:f=REe,popperRef:p,style:h,transition:d=!1,slotProps:_={},slots:y={}}=t,g=Zt(t,NEe),[S,v]=Ke.exports.useState(!0),M=()=>{v(!1)},I=()=>{v(!0)};if(!o&&!m&&(!d||S))return null;let D;if(i)D=i;else if(n){const z=pb(n);D=z&&xEe(z)?Sa(z).body:Sa(null).body}const k=!m&&o&&(!d||S)?"none":void 0,E=d?{in:m,onEnter:M,onExited:I}:void 0;return ot(LH,{disablePortal:l,container:D,children:ot(FEe,Xe({anchorEl:n,direction:s,disablePortal:l,modifiers:u,ref:r,open:d?!S:m,placement:c,popperOptions:f,popperRef:p,slotProps:_,slots:y},g,{style:Xe({position:"fixed",top:0,left:0,display:k},h),TransitionProps:E,children:a}))})}),HEe=BEe;function $Ee(e){const t=Sa(e);return t.body===e?Cm(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function h1(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function NU(e){return parseInt(Cm(e).getComputedStyle(e).paddingRight,10)||0}function jEe(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function wU(e,t,r,n,a){const i=[t,r,...n];[].forEach.call(e.children,s=>{const l=i.indexOf(s)===-1,o=!jEe(s);l&&o&&h1(s,a)})}function HI(e,t){let r=-1;return e.some((n,a)=>t(n)?(r=a,!0):!1),r}function GEe(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if($Ee(n)){const s=BB(Sa(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${NU(n)+s}px`;const l=Sa(n).querySelectorAll(".mui-fixed");[].forEach.call(l,o=>{r.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight=`${NU(o)+s}px`})}let i;if(n.parentNode instanceof DocumentFragment)i=Sa(n).body;else{const s=n.parentElement,l=Cm(n);i=s?.nodeName==="HTML"&&l.getComputedStyle(s).overflowY==="scroll"?s:n}r.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{r.forEach(({value:i,el:s,property:l})=>{i?s.style.setProperty(l,i):s.style.removeProperty(l)})}}function WEe(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class zEe{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&h1(t.modalRef,!1);const a=WEe(r);wU(r,t.mount,t.modalRef,a,!0);const i=HI(this.containers,s=>s.container===r);return i!==-1?(this.containers[i].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:a}),n)}mount(t,r){const n=HI(this.containers,i=>i.modals.indexOf(t)!==-1),a=this.containers[n];a.restore||(a.restore=GEe(a,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const a=HI(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[a];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&h1(t.modalRef,r),wU(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(a,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&h1(s.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function KEe(e){return Vr("MuiModal",e)}Tr("MuiModal",["root","hidden","backdrop"]);const qEe=["children","closeAfterTransition","component","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],ZEe=e=>{const{open:t,exited:r}=e;return Gr({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},hH(KEe))};function YEe(e){return typeof e=="function"?e():e}function XEe(e){return e?e.props.hasOwnProperty("in"):!1}const JEe=new zEe,QEe=Ke.exports.forwardRef(function(t,r){var n,a;const{children:i,closeAfterTransition:s=!1,component:l,container:o,disableAutoFocus:u=!1,disableEnforceFocus:m=!1,disableEscapeKeyDown:c=!1,disablePortal:f=!1,disableRestoreFocus:p=!1,disableScrollLock:h=!1,hideBackdrop:d=!1,keepMounted:_=!1,manager:y=JEe,onBackdropClick:g,onClose:S,onKeyDown:v,open:M,onTransitionEnter:I,onTransitionExited:D,slotProps:k={},slots:E={}}=t,z=Zt(t,qEe),[B,P]=Ke.exports.useState(!M),F=Ke.exports.useRef({}),L=Ke.exports.useRef(null),H=Ke.exports.useRef(null),ie=xn(H,r),G=XEe(i),pe=(n=t["aria-hidden"])!=null?n:!0,W=()=>Sa(L.current),ce=()=>(F.current.modalRef=H.current,F.current.mountNode=L.current,F.current),J=()=>{y.mount(ce(),{disableScrollLock:h}),H.current&&(H.current.scrollTop=0)},R=sm(()=>{const K=YEe(o)||W().body;y.add(ce(),K),H.current&&J()}),V=Ke.exports.useCallback(()=>y.isTopModal(ce()),[y]),Y=sm(K=>{L.current=K,!(!K||!H.current)&&(M&&V()?J():h1(H.current,pe))}),Z=Ke.exports.useCallback(()=>{y.remove(ce(),pe)},[y,pe]);Ke.exports.useEffect(()=>()=>{Z()},[Z]),Ke.exports.useEffect(()=>{M?R():(!G||!s)&&Z()},[M,Z,G,s,R]);const Re=Xe({},t,{closeAfterTransition:s,disableAutoFocus:u,disableEnforceFocus:m,disableEscapeKeyDown:c,disablePortal:f,disableRestoreFocus:p,disableScrollLock:h,exited:B,hideBackdrop:d,keepMounted:_}),Je=ZEe(Re),xe=()=>{P(!1),I&&I()},be=()=>{P(!0),D&&D(),s&&Z()},et=K=>{K.target===K.currentTarget&&(g&&g(K),S&&S(K,"backdropClick"))},Pe=K=>{v&&v(K),!(K.key!=="Escape"||!V())&&(c||(K.stopPropagation(),S&&S(K,"escapeKeyDown")))},Ne={};i.props.tabIndex===void 0&&(Ne.tabIndex="-1"),G&&(Ne.onEnter=nb(xe,i.props.onEnter),Ne.onExited=nb(be,i.props.onExited));const vt=(a=l??E.root)!=null?a:"div",T=mb({elementType:vt,externalSlotProps:k.root,externalForwardedProps:z,additionalProps:{ref:ie,role:"presentation",onKeyDown:Pe},className:Je.root,ownerState:Re}),we=E.backdrop,Ue=mb({elementType:we,externalSlotProps:k.backdrop,additionalProps:{"aria-hidden":!0,onClick:et,open:M},className:Je.backdrop,ownerState:Re});return!_&&!M&&(!G||B)?null:ot(LH,{ref:Y,container:o,disablePortal:f,children:ur(vt,Xe({},T,{children:[!d&&we?ot(we,Xe({},Ue)):null,ot(ICe,{disableEnforceFocus:m,disableAutoFocus:u,disableRestoreFocus:p,isEnabled:V,open:M,children:Ke.exports.cloneElement(i,Ne)})]}))})}),eTe=QEe,tTe=["onChange","maxRows","minRows","style","value"];function vg(e){return parseInt(e,10)||0}const rTe={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function xU(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const sTe=Ke.exports.forwardRef(function(t,r){const{onChange:n,maxRows:a,minRows:i=1,style:s,value:l}=t,o=Zt(t,tTe),{current:u}=Ke.exports.useRef(l!=null),m=Ke.exports.useRef(null),c=xn(r,m),f=Ke.exports.useRef(null),p=Ke.exports.useRef(0),[h,d]=Ke.exports.useState({outerHeightStyle:0}),_=Ke.exports.useCallback(()=>{const M=m.current,D=Cm(M).getComputedStyle(M);if(D.width==="0px")return{outerHeightStyle:0};const k=f.current;k.style.width=D.width,k.value=M.value||t.placeholder||"x",k.value.slice(-1)===` -`&&(k.value+=" ");const E=D.boxSizing,z=vg(D.paddingBottom)+vg(D.paddingTop),B=vg(D.borderBottomWidth)+vg(D.borderTopWidth),P=k.scrollHeight;k.value="x";const F=k.scrollHeight;let L=P;i&&(L=Math.max(Number(i)*F,L)),a&&(L=Math.min(Number(a)*F,L)),L=Math.max(L,F);const H=L+(E==="border-box"?z+B:0),ie=Math.abs(L-P)<=1;return{outerHeightStyle:H,overflow:ie}},[a,i,t.placeholder]),y=(M,I)=>{const{outerHeightStyle:D,overflow:k}=I;return p.current<20&&(D>0&&Math.abs((M.outerHeightStyle||0)-D)>1||M.overflow!==k)?(p.current+=1,{overflow:k,outerHeightStyle:D}):M},g=Ke.exports.useCallback(()=>{const M=_();xU(M)||d(I=>y(I,M))},[_]),S=()=>{const M=_();xU(M)||mp.exports.flushSync(()=>{d(I=>y(I,M))})};Ke.exports.useEffect(()=>{const M=jT(()=>{p.current=0,m.current&&S()});let I;const D=m.current,k=Cm(D);return k.addEventListener("resize",M),typeof ResizeObserver<"u"&&(I=new ResizeObserver(M),I.observe(D)),()=>{M.clear(),k.removeEventListener("resize",M),I&&I.disconnect()}}),So(()=>{g()}),Ke.exports.useEffect(()=>{p.current=0},[l]);const v=M=>{p.current=0,u||g(),n&&n(M)};return ur(Ke.exports.Fragment,{children:[ot("textarea",Xe({value:l,onChange:v,ref:c,rows:i,style:Xe({height:h.outerHeightStyle,overflow:h.overflow?"hidden":void 0},s)},o)),ot("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:f,tabIndex:-1,style:Xe({},rTe.shadow,s,{padding:0})})]})}),nTe=sTe;function aTe(e){return Vr("MuiSvgIcon",e)}Tr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const iTe=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],lTe=e=>{const{color:t,fontSize:r,classes:n}=e,a={root:["root",t!=="inherit"&&`color${Qt(t)}`,`fontSize${Qt(r)}`]};return Gr(a,aTe,n)},oTe=$t("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${Qt(r.color)}`],t[`fontSize${Qt(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,a,i,s,l,o,u,m,c,f,p,h,d,_,y,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(a=e.transitions)==null||(i=a.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,20))||"1.25rem",medium:((o=e.typography)==null||(u=o.pxToRem)==null?void 0:u.call(o,24))||"1.5rem",large:((m=e.typography)==null||(c=m.pxToRem)==null?void 0:c.call(m,35))||"2.1875rem"}[t.fontSize],color:(f=(p=(e.vars||e).palette)==null||(h=p[t.color])==null?void 0:h.main)!=null?f:{action:(d=(e.vars||e).palette)==null||(_=d.action)==null?void 0:_.active,disabled:(y=(e.vars||e).palette)==null||(g=y.action)==null?void 0:g.disabled,inherit:void 0}[t.color]}}),bH=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiSvgIcon"}),{children:a,className:i,color:s="inherit",component:l="svg",fontSize:o="medium",htmlColor:u,inheritViewBox:m=!1,titleAccess:c,viewBox:f="0 0 24 24"}=n,p=Zt(n,iTe),h=Xe({},n,{color:s,component:l,fontSize:o,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:f}),d={};m||(d.viewBox=f);const _=lTe(h);return ur(oTe,Xe({as:l,className:Jt(_.root,i),focusable:"false",color:u,"aria-hidden":c?void 0:!0,role:c?"img":void 0,ref:r},d,p,{ownerState:h,children:[a,c?ot("title",{children:c}):null]}))});bH.muiName="SvgIcon";const VU=bH;function Rl(e,t){function r(n,a){return ot(VU,Xe({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return r.muiName=VU.muiName,Ke.exports.memo(Ke.exports.forwardRef(r))}const uTe={configure:e=>{zT.configure(e)}},mTe=Object.freeze(Object.defineProperty({__proto__:null,unstable_ClassNameGenerator:uTe,capitalize:Qt,createChainedFunction:nb,createSvgIcon:Rl,debounce:jT,deprecatedPropType:XIe,isMuiElement:JIe,ownerDocument:Sa,ownerWindow:Cm,requirePropFactory:QIe,setRef:qS,unstable_useEnhancedEffect:So,unstable_useId:ZS,unsupportedProp:rOe,useControlled:_h,useEventCallback:sm,useForkRef:xn,useIsFocusVisible:GT},Symbol.toStringTag,{value:"Module"}));function db(e,t){return db=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},db(e,t)}function CH(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,db(e,t)}const RU={disabled:!1},QS=qa.createContext(null);var cTe=function(t){return t.scrollTop},Cd="unmounted",l0="exited",o0="entering",zc="entered",hb="exiting",Lu=function(e){CH(t,e);function t(n,a){var i;i=e.call(this,n,a)||this;var s=a,l=s&&!s.isMounting?n.enter:n.appear,o;return i.appearStatus=null,n.in?l?(o=l0,i.appearStatus=o0):o=zc:n.unmountOnExit||n.mountOnEnter?o=Cd:o=l0,i.state={status:o},i.nextCallback=null,i}t.getDerivedStateFromProps=function(a,i){var s=a.in;return s&&i.status===Cd?{status:l0}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(a){var i=null;if(a!==this.props){var s=this.state.status;this.props.in?s!==o0&&s!==zc&&(i=o0):(s===o0||s===zc)&&(i=hb)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var a=this.props.timeout,i,s,l;return i=s=l=a,a!=null&&typeof a!="number"&&(i=a.exit,s=a.enter,l=a.appear!==void 0?a.appear:s),{exit:i,enter:s,appear:l}},r.updateStatus=function(a,i){if(a===void 0&&(a=!1),i!==null)if(this.cancelNextCallback(),i===o0){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:j_.findDOMNode(this);s&&cTe(s)}this.performEnter(a)}else this.performExit();else this.props.unmountOnExit&&this.state.status===l0&&this.setState({status:Cd})},r.performEnter=function(a){var i=this,s=this.props.enter,l=this.context?this.context.isMounting:a,o=this.props.nodeRef?[l]:[j_.findDOMNode(this),l],u=o[0],m=o[1],c=this.getTimeouts(),f=l?c.appear:c.enter;if(!a&&!s||RU.disabled){this.safeSetState({status:zc},function(){i.props.onEntered(u)});return}this.props.onEnter(u,m),this.safeSetState({status:o0},function(){i.props.onEntering(u,m),i.onTransitionEnd(f,function(){i.safeSetState({status:zc},function(){i.props.onEntered(u,m)})})})},r.performExit=function(){var a=this,i=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:j_.findDOMNode(this);if(!i||RU.disabled){this.safeSetState({status:l0},function(){a.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:hb},function(){a.props.onExiting(l),a.onTransitionEnd(s.exit,function(){a.safeSetState({status:l0},function(){a.props.onExited(l)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(a,i){i=this.setNextCallback(i),this.setState(a,i)},r.setNextCallback=function(a){var i=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,i.nextCallback=null,a(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},r.onTransitionEnd=function(a,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:j_.findDOMNode(this),l=a==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=o[0],m=o[1];this.props.addEndListener(u,m)}a!=null&&setTimeout(this.nextCallback,a)},r.render=function(){var a=this.state.status;if(a===Cd)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var l=Zt(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ot(QS.Provider,{value:null,children:typeof s=="function"?s(a,l):qa.cloneElement(qa.Children.only(s),l)})},t}(qa.Component);Lu.contextType=QS;Lu.propTypes={};function Bc(){}Lu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Bc,onEntering:Bc,onEntered:Bc,onExit:Bc,onExiting:Bc,onExited:Bc};Lu.UNMOUNTED=Cd;Lu.EXITED=l0;Lu.ENTERING=o0;Lu.ENTERED=zc;Lu.EXITING=hb;const EH=Lu;function fTe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g3(e,t){var r=function(i){return t&&Ke.exports.isValidElement(i)?t(i):i},n=Object.create(null);return e&&Ke.exports.Children.map(e,function(a){return a}).forEach(function(a){n[a.key]=r(a)}),n}function pTe(e,t){e=e||{},t=t||{};function r(m){return m in t?t[m]:e[m]}var n=Object.create(null),a=[];for(var i in e)i in t?a.length&&(n[i]=a,a=[]):a.push(i);var s,l={};for(var o in t){if(n[o])for(s=0;se.scrollTop;function ev(e,t){var r,n;const{timeout:a,easing:i,style:s={}}=e;return{duration:(r=s.transitionDuration)!=null?r:typeof a=="number"?a:a[t.mode]||0,easing:(n=s.transitionTimingFunction)!=null?n:typeof i=="object"?i[t.mode]:i,delay:s.transitionDelay}}function vTe(e){return Vr("MuiPaper",e)}Tr("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const yTe=["className","component","elevation","square","variant"],MTe=e=>{const{square:t,elevation:r,variant:n,classes:a}=e,i={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return Gr(i,vTe,a)},DTe=$t("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return Xe({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&Xe({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${ln("#fff",IU(t.elevation))}, ${ln("#fff",IU(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),ITe=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiPaper"}),{className:a,component:i="div",elevation:s=1,square:l=!1,variant:o="elevation"}=n,u=Zt(n,yTe),m=Xe({},n,{component:i,elevation:s,square:l,variant:o}),c=MTe(m);return ot(DTe,Xe({as:i,ownerState:m,className:Jt(c.root,a),ref:r},u))}),v3=ITe;function OTe(e){const{className:t,classes:r,pulsate:n=!1,rippleX:a,rippleY:i,rippleSize:s,in:l,onExited:o,timeout:u}=e,[m,c]=Ke.exports.useState(!1),f=Jt(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),p={width:s,height:s,top:-(s/2)+i,left:-(s/2)+a},h=Jt(r.child,m&&r.childLeaving,n&&r.childPulsate);return!l&&!m&&c(!0),Ke.exports.useEffect(()=>{if(!l&&o!=null){const d=setTimeout(o,u);return()=>{clearTimeout(d)}}},[o,l,u]),ot("span",{className:f,style:p,children:ot("span",{className:h})})}const LTe=Tr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Gi=LTe,bTe=["center","classes","className"];let bM=e=>e,FU,BU,HU,$U;const _b=550,CTe=80,ETe=t3(FU||(FU=bM` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),TTe=t3(BU||(BU=bM` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),ATe=t3(HU||(HU=bM` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),kTe=$t("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),PTe=$t(OTe,{name:"MuiTouchRipple",slot:"Ripple"})($U||($U=bM` - opacity: 0; - position: absolute; - - &.${0} { - opacity: 0.3; - transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - &.${0} { - animation-duration: ${0}ms; - } - - & .${0} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${0} { - opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - & .${0} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${0}; - animation-duration: 2500ms; - animation-timing-function: ${0}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`),Gi.rippleVisible,ETe,_b,({theme:e})=>e.transitions.easing.easeInOut,Gi.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Gi.child,Gi.childLeaving,TTe,_b,({theme:e})=>e.transitions.easing.easeInOut,Gi.childPulsate,ATe,({theme:e})=>e.transitions.easing.easeInOut),UTe=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:i={},className:s}=n,l=Zt(n,bTe),[o,u]=Ke.exports.useState([]),m=Ke.exports.useRef(0),c=Ke.exports.useRef(null);Ke.exports.useEffect(()=>{c.current&&(c.current(),c.current=null)},[o]);const f=Ke.exports.useRef(!1),p=Ke.exports.useRef(null),h=Ke.exports.useRef(null),d=Ke.exports.useRef(null);Ke.exports.useEffect(()=>()=>{clearTimeout(p.current)},[]);const _=Ke.exports.useCallback(v=>{const{pulsate:M,rippleX:I,rippleY:D,rippleSize:k,cb:E}=v;u(z=>[...z,ot(PTe,{classes:{ripple:Jt(i.ripple,Gi.ripple),rippleVisible:Jt(i.rippleVisible,Gi.rippleVisible),ripplePulsate:Jt(i.ripplePulsate,Gi.ripplePulsate),child:Jt(i.child,Gi.child),childLeaving:Jt(i.childLeaving,Gi.childLeaving),childPulsate:Jt(i.childPulsate,Gi.childPulsate)},timeout:_b,pulsate:M,rippleX:I,rippleY:D,rippleSize:k},m.current)]),m.current+=1,c.current=E},[i]),y=Ke.exports.useCallback((v={},M={},I=()=>{})=>{const{pulsate:D=!1,center:k=a||M.pulsate,fakeElement:E=!1}=M;if(v?.type==="mousedown"&&f.current){f.current=!1;return}v?.type==="touchstart"&&(f.current=!0);const z=E?null:d.current,B=z?z.getBoundingClientRect():{width:0,height:0,left:0,top:0};let P,F,L;if(k||v===void 0||v.clientX===0&&v.clientY===0||!v.clientX&&!v.touches)P=Math.round(B.width/2),F=Math.round(B.height/2);else{const{clientX:H,clientY:ie}=v.touches&&v.touches.length>0?v.touches[0]:v;P=Math.round(H-B.left),F=Math.round(ie-B.top)}if(k)L=Math.sqrt((2*B.width**2+B.height**2)/3),L%2===0&&(L+=1);else{const H=Math.max(Math.abs((z?z.clientWidth:0)-P),P)*2+2,ie=Math.max(Math.abs((z?z.clientHeight:0)-F),F)*2+2;L=Math.sqrt(H**2+ie**2)}v!=null&&v.touches?h.current===null&&(h.current=()=>{_({pulsate:D,rippleX:P,rippleY:F,rippleSize:L,cb:I})},p.current=setTimeout(()=>{h.current&&(h.current(),h.current=null)},CTe)):_({pulsate:D,rippleX:P,rippleY:F,rippleSize:L,cb:I})},[a,_]),g=Ke.exports.useCallback(()=>{y({},{pulsate:!0})},[y]),S=Ke.exports.useCallback((v,M)=>{if(clearTimeout(p.current),v?.type==="touchend"&&h.current){h.current(),h.current=null,p.current=setTimeout(()=>{S(v,M)});return}h.current=null,u(I=>I.length>0?I.slice(1):I),c.current=M},[]);return Ke.exports.useImperativeHandle(r,()=>({pulsate:g,start:y,stop:S}),[g,y,S]),ot(kTe,Xe({className:Jt(Gi.root,i.root,s),ref:d},l,{children:ot(STe,{component:null,exit:!0,children:o})}))}),NTe=UTe;function wTe(e){return Vr("MuiButtonBase",e)}const xTe=Tr("MuiButtonBase",["root","disabled","focusVisible"]),VTe=xTe,RTe=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],FTe=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:a}=e,s=Gr({root:["root",t&&"disabled",r&&"focusVisible"]},wTe,a);return r&&n&&(s.root+=` ${n}`),s},BTe=$t("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${VTe.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),HTe=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiButtonBase"}),{action:a,centerRipple:i=!1,children:s,className:l,component:o="button",disabled:u=!1,disableRipple:m=!1,disableTouchRipple:c=!1,focusRipple:f=!1,LinkComponent:p="a",onBlur:h,onClick:d,onContextMenu:_,onDragLeave:y,onFocus:g,onFocusVisible:S,onKeyDown:v,onKeyUp:M,onMouseDown:I,onMouseLeave:D,onMouseUp:k,onTouchEnd:E,onTouchMove:z,onTouchStart:B,tabIndex:P=0,TouchRippleProps:F,touchRippleRef:L,type:H}=n,ie=Zt(n,RTe),G=Ke.exports.useRef(null),pe=Ke.exports.useRef(null),W=xn(pe,L),{isFocusVisibleRef:ce,onFocus:J,onBlur:R,ref:V}=GT(),[Y,Z]=Ke.exports.useState(!1);u&&Y&&Z(!1),Ke.exports.useImperativeHandle(a,()=>({focusVisible:()=>{Z(!0),G.current.focus()}}),[]);const[Re,Je]=Ke.exports.useState(!1);Ke.exports.useEffect(()=>{Je(!0)},[]);const xe=Re&&!m&&!u;Ke.exports.useEffect(()=>{Y&&f&&!m&&Re&&pe.current.pulsate()},[m,f,Y,Re]);function be(U,te,Se=c){return sm(de=>(te&&te(de),!Se&&pe.current&&pe.current[U](de),!0))}const et=be("start",I),Pe=be("stop",_),Ne=be("stop",y),vt=be("stop",k),T=be("stop",U=>{Y&&U.preventDefault(),D&&D(U)}),we=be("start",B),Ue=be("stop",E),K=be("stop",z),q=be("stop",U=>{R(U),ce.current===!1&&Z(!1),h&&h(U)},!1),ge=sm(U=>{G.current||(G.current=U.currentTarget),J(U),ce.current===!0&&(Z(!0),S&&S(U)),g&&g(U)}),Be=()=>{const U=G.current;return o&&o!=="button"&&!(U.tagName==="A"&&U.href)},$e=Ke.exports.useRef(!1),C=sm(U=>{f&&!$e.current&&Y&&pe.current&&U.key===" "&&($e.current=!0,pe.current.stop(U,()=>{pe.current.start(U)})),U.target===U.currentTarget&&Be()&&U.key===" "&&U.preventDefault(),v&&v(U),U.target===U.currentTarget&&Be()&&U.key==="Enter"&&!u&&(U.preventDefault(),d&&d(U))}),Ce=sm(U=>{f&&U.key===" "&&pe.current&&Y&&!U.defaultPrevented&&($e.current=!1,pe.current.stop(U,()=>{pe.current.pulsate(U)})),M&&M(U),d&&U.target===U.currentTarget&&Be()&&U.key===" "&&!U.defaultPrevented&&d(U)});let mt=o;mt==="button"&&(ie.href||ie.to)&&(mt=p);const tt={};mt==="button"?(tt.type=H===void 0?"button":H,tt.disabled=u):(!ie.href&&!ie.to&&(tt.role="button"),u&&(tt["aria-disabled"]=u));const qe=xn(r,V,G),se=Xe({},n,{centerRipple:i,component:o,disabled:u,disableRipple:m,disableTouchRipple:c,focusRipple:f,tabIndex:P,focusVisible:Y}),x=FTe(se);return ur(BTe,Xe({as:mt,className:Jt(x.root,l),ownerState:se,onBlur:q,onClick:d,onContextMenu:Pe,onFocus:ge,onKeyDown:C,onKeyUp:Ce,onMouseDown:et,onMouseLeave:T,onMouseUp:vt,onDragLeave:Ne,onTouchEnd:Ue,onTouchMove:K,onTouchStart:we,ref:qe,tabIndex:u?-1:P,type:H},tt,ie,{children:[s,xe?ot(NTe,Xe({ref:W,center:i},F)):null]}))}),d_=HTe;function $Te(e){return Vr("MuiIconButton",e)}const jTe=Tr("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),GTe=jTe,WTe=["edge","children","className","color","disabled","disableFocusRipple","size"],zTe=e=>{const{classes:t,disabled:r,color:n,edge:a,size:i}=e,s={root:["root",r&&"disabled",n!=="default"&&`color${Qt(n)}`,a&&`edge${Qt(a)}`,`size${Qt(i)}`]};return Gr(s,$Te,t)},KTe=$t(d_,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${Qt(r.color)}`],r.edge&&t[`edge${Qt(r.edge)}`],t[`size${Qt(r.size)}`]]}})(({theme:e,ownerState:t})=>Xe({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:ln(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=(r=(e.vars||e).palette)==null?void 0:r[t.color];return Xe({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&Xe({color:n?.main},!t.disableRipple&&{"&:hover":Xe({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ln(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${GTe.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),qTe=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiIconButton"}),{edge:a=!1,children:i,className:s,color:l="default",disabled:o=!1,disableFocusRipple:u=!1,size:m="medium"}=n,c=Zt(n,WTe),f=Xe({},n,{edge:a,color:l,disabled:o,disableFocusRipple:u,size:m}),p=zTe(f);return ot(KTe,Xe({className:Jt(p.root,s),centerRipple:!0,focusRipple:!u,disabled:o,ref:r,ownerState:f},c,{children:i}))}),Yo=qTe;function ZTe(e){return Vr("MuiTypography",e)}Tr("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const YTe=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],XTe=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:a,variant:i,classes:s}=e,l={root:["root",i,e.align!=="inherit"&&`align${Qt(t)}`,r&&"gutterBottom",n&&"noWrap",a&&"paragraph"]};return Gr(l,ZTe,s)},JTe=$t("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${Qt(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>Xe({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),jU={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},QTe={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},e3e=e=>QTe[e]||e,t3e=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiTypography"}),a=e3e(n.color),i=cH(Xe({},n,{color:a})),{align:s="inherit",className:l,component:o,gutterBottom:u=!1,noWrap:m=!1,paragraph:c=!1,variant:f="body1",variantMapping:p=jU}=i,h=Zt(i,YTe),d=Xe({},i,{align:s,color:a,className:l,component:o,gutterBottom:u,noWrap:m,paragraph:c,variant:f,variantMapping:p}),_=o||(c?"p":p[f]||jU[f])||"span",y=XTe(d);return ot(JTe,Xe({as:_,ref:r,ownerState:d,className:Jt(y.root,l)},h))}),tv=t3e,r3e=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],s3e=$t(HEe,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),n3e=Ke.exports.forwardRef(function(t,r){var n;const a=mH(),i=rs({props:t,name:"MuiPopper"}),{anchorEl:s,component:l,components:o,componentsProps:u,container:m,disablePortal:c,keepMounted:f,modifiers:p,open:h,placement:d,popperOptions:_,popperRef:y,transition:g,slots:S,slotProps:v}=i,M=Zt(i,r3e),I=(n=S?.root)!=null?n:o?.Root,D=Xe({anchorEl:s,component:l,container:m,disablePortal:c,keepMounted:f,modifiers:p,open:h,placement:d,popperOptions:_,popperRef:y,transition:g},M);return ot(s3e,Xe({direction:a?.direction,slots:{root:I},slotProps:v??u},D,{ref:r}))}),AH=n3e;function CM({props:e,states:t,muiFormControl:r}){return t.reduce((n,a)=>(n[a]=e[a],r&&typeof e[a]>"u"&&(n[a]=r[a]),n),{})}const a3e=Ke.exports.createContext(void 0),kH=a3e;function h_(){return Ke.exports.useContext(kH)}function i3e(e){return ot(Sbe,Xe({},e,{defaultTheme:OM,themeId:l_}))}function GU(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function PH(e,t=!1){return e&&(GU(e.value)&&e.value!==""||t&&GU(e.defaultValue)&&e.defaultValue!=="")}function l3e(e){return Vr("MuiInputBase",e)}const o3e=Tr("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),op=o3e,u3e=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],EM=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${Qt(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},TM=(e,t)=>{const{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},m3e=e=>{const{classes:t,color:r,disabled:n,error:a,endAdornment:i,focused:s,formControl:l,fullWidth:o,hiddenLabel:u,multiline:m,readOnly:c,size:f,startAdornment:p,type:h}=e,d={root:["root",`color${Qt(r)}`,n&&"disabled",a&&"error",o&&"fullWidth",s&&"focused",l&&"formControl",f==="small"&&"sizeSmall",m&&"multiline",p&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",c&&"readOnly"],input:["input",n&&"disabled",h==="search"&&"inputTypeSearch",m&&"inputMultiline",f==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",c&&"readOnly"]};return Gr(d,l3e,t)},AM=$t("div",{name:"MuiInputBase",slot:"Root",overridesResolver:EM})(({theme:e,ownerState:t})=>Xe({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${op.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&Xe({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),kM=$t("input",{name:"MuiInputBase",slot:"Input",overridesResolver:TM})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light",n=Xe({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),a={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return Xe({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${op.formControl} &`]:{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${op.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),c3e=ot(i3e,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),f3e=Ke.exports.forwardRef(function(t,r){var n;const a=rs({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:s,autoFocus:l,className:o,components:u={},componentsProps:m={},defaultValue:c,disabled:f,disableInjectingGlobalStyles:p,endAdornment:h,fullWidth:d=!1,id:_,inputComponent:y="input",inputProps:g={},inputRef:S,maxRows:v,minRows:M,multiline:I=!1,name:D,onBlur:k,onChange:E,onClick:z,onFocus:B,onKeyDown:P,onKeyUp:F,placeholder:L,readOnly:H,renderSuffix:ie,rows:G,slotProps:pe={},slots:W={},startAdornment:ce,type:J="text",value:R}=a,V=Zt(a,u3e),Y=g.value!=null?g.value:R,{current:Z}=Ke.exports.useRef(Y!=null),Re=Ke.exports.useRef(),Je=Ke.exports.useCallback(x=>{},[]),xe=xn(Re,S,g.ref,Je),[be,et]=Ke.exports.useState(!1),Pe=h_(),Ne=CM({props:a,muiFormControl:Pe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Ne.focused=Pe?Pe.focused:be,Ke.exports.useEffect(()=>{!Pe&&f&&be&&(et(!1),k&&k())},[Pe,f,be,k]);const vt=Pe&&Pe.onFilled,T=Pe&&Pe.onEmpty,we=Ke.exports.useCallback(x=>{PH(x)?vt&&vt():T&&T()},[vt,T]);So(()=>{Z&&we({value:Y})},[Y,we,Z]);const Ue=x=>{if(Ne.disabled){x.stopPropagation();return}B&&B(x),g.onFocus&&g.onFocus(x),Pe&&Pe.onFocus?Pe.onFocus(x):et(!0)},K=x=>{k&&k(x),g.onBlur&&g.onBlur(x),Pe&&Pe.onBlur?Pe.onBlur(x):et(!1)},q=(x,...U)=>{if(!Z){const te=x.target||Re.current;if(te==null)throw new Error(bm(1));we({value:te.value})}g.onChange&&g.onChange(x,...U),E&&E(x,...U)};Ke.exports.useEffect(()=>{we(Re.current)},[]);const ge=x=>{Re.current&&x.currentTarget===x.target&&Re.current.focus(),z&&z(x)};let Be=y,$e=g;I&&Be==="input"&&(G?$e=Xe({type:void 0,minRows:G,maxRows:G},$e):$e=Xe({type:void 0,maxRows:v,minRows:M},$e),Be=nTe);const C=x=>{we(x.animationName==="mui-auto-fill-cancel"?Re.current:{value:"x"})};Ke.exports.useEffect(()=>{Pe&&Pe.setAdornedStart(Boolean(ce))},[Pe,ce]);const Ce=Xe({},a,{color:Ne.color||"primary",disabled:Ne.disabled,endAdornment:h,error:Ne.error,focused:Ne.focused,formControl:Pe,fullWidth:d,hiddenLabel:Ne.hiddenLabel,multiline:I,size:Ne.size,startAdornment:ce,type:J}),mt=m3e(Ce),tt=W.root||u.Root||AM,qe=pe.root||m.root||{},se=W.input||u.Input||kM;return $e=Xe({},$e,(n=pe.input)!=null?n:m.input),ur(Ke.exports.Fragment,{children:[!p&&c3e,ur(tt,Xe({},qe,!yh(tt)&&{ownerState:Xe({},Ce,qe.ownerState)},{ref:r,onClick:ge},V,{className:Jt(mt.root,qe.className,o,H&&"MuiInputBase-readOnly"),children:[ce,ot(kH.Provider,{value:null,children:ot(se,Xe({ownerState:Ce,"aria-invalid":Ne.error,"aria-describedby":i,autoComplete:s,autoFocus:l,defaultValue:c,disabled:Ne.disabled,id:_,onAnimationStart:C,name:D,placeholder:L,readOnly:H,required:Ne.required,rows:G,value:Y,onKeyDown:P,onKeyUp:F,type:J},$e,!yh(se)&&{as:Be,ownerState:Xe({},Ce,$e.ownerState)},{ref:xe,className:Jt(mt.input,$e.className,H&&"MuiInputBase-readOnly"),onBlur:K,onChange:q,onFocus:Ue}))}),h,ie?ie(Xe({},Ne,{startAdornment:ce})):null]}))]})}),PM=f3e;function p3e(e){return Vr("MuiInput",e)}const d3e=Xe({},op,Tr("MuiInput",["root","underline","input"])),ud=d3e;function h3e(e){return Vr("MuiOutlinedInput",e)}const _3e=Xe({},op,Tr("MuiOutlinedInput",["root","notchedOutline","input"])),Pu=_3e;function g3e(e){return Vr("MuiFilledInput",e)}const S3e=Xe({},op,Tr("MuiFilledInput",["root","underline","input"])),Xm=S3e,v3e=Rl(ot("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),y3e=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],M3e={entering:{opacity:1},entered:{opacity:1}},D3e=Ke.exports.forwardRef(function(t,r){const n=c_(),a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:l,easing:o,in:u,onEnter:m,onEntered:c,onEntering:f,onExit:p,onExited:h,onExiting:d,style:_,timeout:y=a,TransitionComponent:g=EH}=t,S=Zt(t,y3e),v=Ke.exports.useRef(null),M=xn(v,l.ref,r),I=L=>H=>{if(L){const ie=v.current;H===void 0?L(ie):L(ie,H)}},D=I(f),k=I((L,H)=>{TH(L);const ie=ev({style:_,timeout:y,easing:o},{mode:"enter"});L.style.webkitTransition=n.transitions.create("opacity",ie),L.style.transition=n.transitions.create("opacity",ie),m&&m(L,H)}),E=I(c),z=I(d),B=I(L=>{const H=ev({style:_,timeout:y,easing:o},{mode:"exit"});L.style.webkitTransition=n.transitions.create("opacity",H),L.style.transition=n.transitions.create("opacity",H),p&&p(L)}),P=I(h);return ot(g,Xe({appear:s,in:u,nodeRef:v,onEnter:k,onEntered:E,onEntering:D,onExit:B,onExited:P,onExiting:z,addEndListener:L=>{i&&i(v.current,L)},timeout:y},S,{children:(L,H)=>Ke.exports.cloneElement(l,Xe({style:Xe({opacity:0,visibility:L==="exited"&&!u?"hidden":void 0},M3e[L],_,l.props.style),ref:M},H))}))}),I3e=D3e;function O3e(e){return Vr("MuiBackdrop",e)}Tr("MuiBackdrop",["root","invisible"]);const L3e=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],b3e=e=>{const{classes:t,invisible:r}=e;return Gr({root:["root",r&&"invisible"]},O3e,t)},C3e=$t("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>Xe({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),E3e=Ke.exports.forwardRef(function(t,r){var n,a,i;const s=rs({props:t,name:"MuiBackdrop"}),{children:l,className:o,component:u="div",components:m={},componentsProps:c={},invisible:f=!1,open:p,slotProps:h={},slots:d={},TransitionComponent:_=I3e,transitionDuration:y}=s,g=Zt(s,L3e),S=Xe({},s,{component:u,invisible:f}),v=b3e(S),M=(n=h.root)!=null?n:c.root;return ot(_,Xe({in:p,timeout:y},g,{children:ot(C3e,Xe({"aria-hidden":!0},M,{as:(a=(i=d.root)!=null?i:m.Root)!=null?a:u,className:Jt(v.root,o,M?.className),ownerState:Xe({},S,M?.ownerState),classes:v,ref:r,children:l}))}))}),T3e=E3e,A3e=dH(),k3e=Dbe({themeId:l_,defaultTheme:A3e,defaultClassName:"MuiBox-root",generateClassName:zT.generate}),UH=k3e;function P3e(e){return Vr("MuiButton",e)}const U3e=Tr("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),yg=U3e,N3e=Ke.exports.createContext({}),w3e=N3e,x3e=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],V3e=e=>{const{color:t,disableElevation:r,fullWidth:n,size:a,variant:i,classes:s}=e,l={root:["root",i,`${i}${Qt(t)}`,`size${Qt(a)}`,`${i}Size${Qt(a)}`,t==="inherit"&&"colorInherit",r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Qt(a)}`],endIcon:["endIcon",`iconSize${Qt(a)}`]},o=Gr(l,P3e,s);return Xe({},s,o)},NH=e=>Xe({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),R3e=$t(d_,{shouldForwardProp:e=>Lo(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Qt(r.color)}`],t[`size${Qt(r.size)}`],t[`${r.variant}Size${Qt(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const a=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return Xe({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":Xe({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:ln(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ln(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ln(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":Xe({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${yg.focusVisible}`]:Xe({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${yg.disabled}`]:Xe({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${ln(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:a,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${yg.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${yg.disabled}`]:{boxShadow:"none"}}),F3e=$t("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${Qt(r.size)}`]]}})(({ownerState:e})=>Xe({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},NH(e))),B3e=$t("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${Qt(r.size)}`]]}})(({ownerState:e})=>Xe({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},NH(e))),H3e=Ke.exports.forwardRef(function(t,r){const n=Ke.exports.useContext(w3e),a=WT(n,t),i=rs({props:a,name:"MuiButton"}),{children:s,color:l="primary",component:o="button",className:u,disabled:m=!1,disableElevation:c=!1,disableFocusRipple:f=!1,endIcon:p,focusVisibleClassName:h,fullWidth:d=!1,size:_="medium",startIcon:y,type:g,variant:S="text"}=i,v=Zt(i,x3e),M=Xe({},i,{color:l,component:o,disabled:m,disableElevation:c,disableFocusRipple:f,fullWidth:d,size:_,type:g,variant:S}),I=V3e(M),D=y&&ot(F3e,{className:I.startIcon,ownerState:M,children:y}),k=p&&ot(B3e,{className:I.endIcon,ownerState:M,children:p});return ur(R3e,Xe({ownerState:M,className:Jt(n.className,I.root,u),component:o,disabled:m,focusRipple:!f,focusVisibleClassName:Jt(I.focusVisible,h),ref:r,type:g},v,{classes:I,children:[D,s,k]}))}),WU=H3e;function $3e(e){return Vr("PrivateSwitchBase",e)}Tr("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const j3e=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],G3e=e=>{const{classes:t,checked:r,disabled:n,edge:a}=e,i={root:["root",r&&"checked",n&&"disabled",a&&`edge${Qt(a)}`],input:["input"]};return Gr(i,$3e,t)},W3e=$t(d_)(({ownerState:e})=>Xe({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),z3e=$t("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),K3e=Ke.exports.forwardRef(function(t,r){const{autoFocus:n,checked:a,checkedIcon:i,className:s,defaultChecked:l,disabled:o,disableFocusRipple:u=!1,edge:m=!1,icon:c,id:f,inputProps:p,inputRef:h,name:d,onBlur:_,onChange:y,onFocus:g,readOnly:S,required:v=!1,tabIndex:M,type:I,value:D}=t,k=Zt(t,j3e),[E,z]=_h({controlled:a,default:Boolean(l),name:"SwitchBase",state:"checked"}),B=h_(),P=W=>{g&&g(W),B&&B.onFocus&&B.onFocus(W)},F=W=>{_&&_(W),B&&B.onBlur&&B.onBlur(W)},L=W=>{if(W.nativeEvent.defaultPrevented)return;const ce=W.target.checked;z(ce),y&&y(W,ce)};let H=o;B&&typeof H>"u"&&(H=B.disabled);const ie=I==="checkbox"||I==="radio",G=Xe({},t,{checked:E,disabled:H,disableFocusRipple:u,edge:m}),pe=G3e(G);return ur(W3e,Xe({component:"span",className:Jt(pe.root,s),centerRipple:!0,focusRipple:!u,disabled:H,tabIndex:null,role:void 0,onFocus:P,onBlur:F,ownerState:G,ref:r},k,{children:[ot(z3e,Xe({autoFocus:n,checked:a,defaultChecked:l,className:pe.input,disabled:H,id:ie?f:void 0,name:d,onChange:L,readOnly:S,ref:h,required:v,ownerState:G,tabIndex:M,type:I},I==="checkbox"&&D===void 0?{}:{value:D},p)),E?i:c]}))}),wH=K3e,q3e=Rl(ot("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Z3e=Rl(ot("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Y3e=Rl(ot("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function X3e(e){return Vr("MuiCheckbox",e)}const J3e=Tr("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),$I=J3e,Q3e=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],eAe=e=>{const{classes:t,indeterminate:r,color:n}=e,a={root:["root",r&&"indeterminate",`color${Qt(n)}`]},i=Gr(a,X3e,t);return Xe({},t,i)},tAe=$t(wH,{shouldForwardProp:e=>Lo(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,r.color!=="default"&&t[`color${Qt(r.color)}`]]}})(({theme:e,ownerState:t})=>Xe({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ln(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${$I.checked}, &.${$I.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${$I.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),rAe=ot(Z3e,{}),sAe=ot(q3e,{}),nAe=ot(Y3e,{}),aAe=Ke.exports.forwardRef(function(t,r){var n,a;const i=rs({props:t,name:"MuiCheckbox"}),{checkedIcon:s=rAe,color:l="primary",icon:o=sAe,indeterminate:u=!1,indeterminateIcon:m=nAe,inputProps:c,size:f="medium",className:p}=i,h=Zt(i,Q3e),d=u?m:o,_=u?m:s,y=Xe({},i,{color:l,indeterminate:u,size:f}),g=eAe(y);return ot(tAe,Xe({type:"checkbox",inputProps:Xe({"data-indeterminate":u},c),icon:Ke.exports.cloneElement(d,{fontSize:(n=d.props.fontSize)!=null?n:f}),checkedIcon:Ke.exports.cloneElement(_,{fontSize:(a=_.props.fontSize)!=null?a:f}),ownerState:y,ref:r,className:Jt(g.root,p)},h,{classes:g}))}),xH=aAe,iAe=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],lAe=$t("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>Xe({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),oAe=$t(T3e,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),uAe=Ke.exports.forwardRef(function(t,r){var n,a,i,s,l,o;const u=rs({name:"MuiModal",props:t}),{BackdropComponent:m=oAe,BackdropProps:c,classes:f,className:p,closeAfterTransition:h=!1,children:d,container:_,component:y,components:g={},componentsProps:S={},disableAutoFocus:v=!1,disableEnforceFocus:M=!1,disableEscapeKeyDown:I=!1,disablePortal:D=!1,disableRestoreFocus:k=!1,disableScrollLock:E=!1,hideBackdrop:z=!1,keepMounted:B=!1,onBackdropClick:P,onClose:F,open:L,slotProps:H,slots:ie,theme:G}=u,pe=Zt(u,iAe),[W,ce]=Ke.exports.useState(!0),J={container:_,closeAfterTransition:h,disableAutoFocus:v,disableEnforceFocus:M,disableEscapeKeyDown:I,disablePortal:D,disableRestoreFocus:k,disableScrollLock:E,hideBackdrop:z,keepMounted:B,onBackdropClick:P,onClose:F,open:L},R=Xe({},u,J,{exited:W}),V=(n=(a=ie?.root)!=null?a:g.Root)!=null?n:lAe,Y=(i=(s=ie?.backdrop)!=null?s:g.Backdrop)!=null?i:m,Z=(l=H?.root)!=null?l:S.root,Re=(o=H?.backdrop)!=null?o:S.backdrop;return ot(eTe,Xe({slots:{root:V,backdrop:Y},slotProps:{root:()=>Xe({},ub(Z,R),!yh(V)&&{as:y,theme:G},{className:Jt(p,Z?.className,f?.root,!R.open&&R.exited&&f?.hidden)}),backdrop:()=>Xe({},c,ub(Re,R),{className:Jt(Re?.className,f?.backdrop)})},onTransitionEnter:()=>ce(!1),onTransitionExited:()=>ce(!0),ref:r},pe,J,{children:d}))}),mAe=uAe,cAe=Tr("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),zU=cAe,fAe=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],pAe=e=>{const{classes:t,disableUnderline:r}=e,a=Gr({root:["root",!r&&"underline"],input:["input"]},g3e,t);return Xe({},t,a)},dAe=$t(AM,{shouldForwardProp:e=>Lo(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...EM(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var r;const n=e.palette.mode==="light",a=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return Xe({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Xm.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Xm.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(r=(e.vars||e).palette[t.color||"primary"])==null?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Xm.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Xm.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:a}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Xm.disabled}, .${Xm.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Xm.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&Xe({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),hAe=$t(kM,{name:"MuiFilledInput",slot:"Input",overridesResolver:TM})(({theme:e,ownerState:t})=>Xe({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),VH=Ke.exports.forwardRef(function(t,r){var n,a,i,s;const l=rs({props:t,name:"MuiFilledInput"}),{components:o={},componentsProps:u,fullWidth:m=!1,inputComponent:c="input",multiline:f=!1,slotProps:p,slots:h={},type:d="text"}=l,_=Zt(l,fAe),y=Xe({},l,{fullWidth:m,inputComponent:c,multiline:f,type:d}),g=pAe(l),S={root:{ownerState:y},input:{ownerState:y}},v=p??u?tl(p??u,S):S,M=(n=(a=h.root)!=null?a:o.Root)!=null?n:dAe,I=(i=(s=h.input)!=null?s:o.Input)!=null?i:hAe;return ot(PM,Xe({slots:{root:M,input:I},componentsProps:v,fullWidth:m,inputComponent:c,multiline:f,ref:r,type:d},_,{classes:g}))});VH.muiName="Input";const _Ae=VH;function gAe(e){return Vr("MuiFormControlLabel",e)}const SAe=Tr("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),Ed=SAe,vAe=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],yAe=e=>{const{classes:t,disabled:r,labelPlacement:n,error:a,required:i}=e,s={root:["root",r&&"disabled",`labelPlacement${Qt(n)}`,a&&"error",i&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",a&&"error"]};return Gr(s,gAe,t)},MAe=$t("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Ed.label}`]:t.label},t.root,t[`labelPlacement${Qt(r.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>Xe({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Ed.disabled}`]:{cursor:"default"}},t.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},t.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},t.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${Ed.label}`]:{[`&.${Ed.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),DAe=$t("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Ed.error}`]:{color:(e.vars||e).palette.error.main}})),IAe=Ke.exports.forwardRef(function(t,r){var n,a;const i=rs({props:t,name:"MuiFormControlLabel"}),{className:s,componentsProps:l={},control:o,disabled:u,disableTypography:m,label:c,labelPlacement:f="end",required:p,slotProps:h={}}=i,d=Zt(i,vAe),_=h_(),y=(n=u??o.props.disabled)!=null?n:_?.disabled,g=p??o.props.required,S={disabled:y,required:g};["checked","name","onChange","value","inputRef"].forEach(E=>{typeof o.props[E]>"u"&&typeof i[E]<"u"&&(S[E]=i[E])});const v=CM({props:i,muiFormControl:_,states:["error"]}),M=Xe({},i,{disabled:y,labelPlacement:f,required:g,error:v.error}),I=yAe(M),D=(a=h.typography)!=null?a:l.typography;let k=c;return k!=null&&k.type!==tv&&!m&&(k=ot(tv,Xe({component:"span"},D,{className:Jt(I.label,D?.className),children:k}))),ur(MAe,Xe({className:Jt(I.root,s),ownerState:M,ref:r},d,{children:[Ke.exports.cloneElement(o,S),k,g&&ur(DAe,{ownerState:M,"aria-hidden":!0,className:I.asterisk,children:["\u2009","*"]})]}))}),OAe=IAe,LAe=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function gb(e){return`scale(${e}, ${e**2})`}const bAe={entering:{opacity:1,transform:gb(1)},entered:{opacity:1,transform:"none"}},jI=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),RH=Ke.exports.forwardRef(function(t,r){const{addEndListener:n,appear:a=!0,children:i,easing:s,in:l,onEnter:o,onEntered:u,onEntering:m,onExit:c,onExited:f,onExiting:p,style:h,timeout:d="auto",TransitionComponent:_=EH}=t,y=Zt(t,LAe),g=Ke.exports.useRef(),S=Ke.exports.useRef(),v=c_(),M=Ke.exports.useRef(null),I=xn(M,i.ref,r),D=H=>ie=>{if(H){const G=M.current;ie===void 0?H(G):H(G,ie)}},k=D(m),E=D((H,ie)=>{TH(H);const{duration:G,delay:pe,easing:W}=ev({style:h,timeout:d,easing:s},{mode:"enter"});let ce;d==="auto"?(ce=v.transitions.getAutoHeightDuration(H.clientHeight),S.current=ce):ce=G,H.style.transition=[v.transitions.create("opacity",{duration:ce,delay:pe}),v.transitions.create("transform",{duration:jI?ce:ce*.666,delay:pe,easing:W})].join(","),o&&o(H,ie)}),z=D(u),B=D(p),P=D(H=>{const{duration:ie,delay:G,easing:pe}=ev({style:h,timeout:d,easing:s},{mode:"exit"});let W;d==="auto"?(W=v.transitions.getAutoHeightDuration(H.clientHeight),S.current=W):W=ie,H.style.transition=[v.transitions.create("opacity",{duration:W,delay:G}),v.transitions.create("transform",{duration:jI?W:W*.666,delay:jI?G:G||W*.333,easing:pe})].join(","),H.style.opacity=0,H.style.transform=gb(.75),c&&c(H)}),F=D(f),L=H=>{d==="auto"&&(g.current=setTimeout(H,S.current||0)),n&&n(M.current,H)};return Ke.exports.useEffect(()=>()=>{clearTimeout(g.current)},[]),ot(_,Xe({appear:a,in:l,nodeRef:M,onEnter:E,onEntered:z,onEntering:k,onExit:P,onExited:F,onExiting:B,addEndListener:L,timeout:d==="auto"?null:d},y,{children:(H,ie)=>Ke.exports.cloneElement(i,Xe({style:Xe({opacity:0,transform:gb(.75),visibility:H==="exited"&&!l?"hidden":void 0},bAe[H],h,i.props.style),ref:I},ie))}))});RH.muiSupportAuto=!0;const Sb=RH,CAe=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],EAe=e=>{const{classes:t,disableUnderline:r}=e,a=Gr({root:["root",!r&&"underline"],input:["input"]},p3e,t);return Xe({},t,a)},TAe=$t(AM,{shouldForwardProp:e=>Lo(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...EM(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),Xe({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ud.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ud.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ud.disabled}, .${ud.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${ud.disabled}:before`]:{borderBottomStyle:"dotted"}})}),AAe=$t(kM,{name:"MuiInput",slot:"Input",overridesResolver:TM})({}),FH=Ke.exports.forwardRef(function(t,r){var n,a,i,s;const l=rs({props:t,name:"MuiInput"}),{disableUnderline:o,components:u={},componentsProps:m,fullWidth:c=!1,inputComponent:f="input",multiline:p=!1,slotProps:h,slots:d={},type:_="text"}=l,y=Zt(l,CAe),g=EAe(l),v={root:{ownerState:{disableUnderline:o}}},M=h??m?tl(h??m,v):v,I=(n=(a=d.root)!=null?a:u.Root)!=null?n:TAe,D=(i=(s=d.input)!=null?s:u.Input)!=null?i:AAe;return ot(PM,Xe({slots:{root:I,input:D},slotProps:M,fullWidth:c,inputComponent:f,multiline:p,ref:r,type:_},y,{classes:g}))});FH.muiName="Input";const kAe=FH,PAe=Ke.exports.createContext({}),vb=PAe;function UAe(e){return Vr("MuiList",e)}Tr("MuiList",["root","padding","dense","subheader"]);const NAe=["children","className","component","dense","disablePadding","subheader"],wAe=e=>{const{classes:t,disablePadding:r,dense:n,subheader:a}=e;return Gr({root:["root",!r&&"padding",n&&"dense",a&&"subheader"]},UAe,t)},xAe=$t("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>Xe({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),VAe=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiList"}),{children:a,className:i,component:s="ul",dense:l=!1,disablePadding:o=!1,subheader:u}=n,m=Zt(n,NAe),c=Ke.exports.useMemo(()=>({dense:l}),[l]),f=Xe({},n,{component:s,dense:l,disablePadding:o}),p=wAe(f);return ot(vb.Provider,{value:c,children:ur(xAe,Xe({as:s,className:Jt(p.root,i),ref:r,ownerState:f},m,{children:[u,a]}))})}),RAe=VAe,FAe=Tr("MuiListItemIcon",["root","alignItemsFlexStart"]),KU=FAe,BAe=Tr("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),qU=BAe,HAe=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function GI(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function ZU(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function BH(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.indexOf(t.keys.join(""))===0}function md(e,t,r,n,a,i){let s=!1,l=a(e,t,t?r:!1);for(;l;){if(l===e.firstChild){if(s)return!1;s=!0}const o=n?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!BH(l,i)||o)l=a(e,l,r);else return l.focus(),!0}return!1}const $Ae=Ke.exports.forwardRef(function(t,r){const{actions:n,autoFocus:a=!1,autoFocusItem:i=!1,children:s,className:l,disabledItemsFocusable:o=!1,disableListWrap:u=!1,onKeyDown:m,variant:c="selectedMenu"}=t,f=Zt(t,HAe),p=Ke.exports.useRef(null),h=Ke.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});So(()=>{a&&p.current.focus()},[a]),Ke.exports.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(S,v)=>{const M=!p.current.style.width;if(S.clientHeight{const v=p.current,M=S.key,I=Sa(v).activeElement;if(M==="ArrowDown")S.preventDefault(),md(v,I,u,o,GI);else if(M==="ArrowUp")S.preventDefault(),md(v,I,u,o,ZU);else if(M==="Home")S.preventDefault(),md(v,null,u,o,GI);else if(M==="End")S.preventDefault(),md(v,null,u,o,ZU);else if(M.length===1){const D=h.current,k=M.toLowerCase(),E=performance.now();D.keys.length>0&&(E-D.lastTime>500?(D.keys=[],D.repeating=!0,D.previousKeyMatched=!0):D.repeating&&k!==D.keys[0]&&(D.repeating=!1)),D.lastTime=E,D.keys.push(k);const z=I&&!D.repeating&&BH(I,D);D.previousKeyMatched&&(z||md(v,I,!1,o,GI,D))?S.preventDefault():D.previousKeyMatched=!1}m&&m(S)},_=xn(p,r);let y=-1;Ke.exports.Children.forEach(s,(S,v)=>{!Ke.exports.isValidElement(S)||(S.props.disabled||(c==="selectedMenu"&&S.props.selected||y===-1)&&(y=v),y===v&&(S.props.disabled||S.props.muiSkipListHighlight||S.type.muiSkipListHighlight)&&(y+=1,y>=s.length&&(y=-1)))});const g=Ke.exports.Children.map(s,(S,v)=>{if(v===y){const M={};return i&&(M.autoFocus=!0),S.props.tabIndex===void 0&&c==="selectedMenu"&&(M.tabIndex=0),Ke.exports.cloneElement(S,M)}return S});return ot(RAe,Xe({role:"menu",ref:_,className:l,onKeyDown:d,tabIndex:a?0:-1},f,{children:g}))}),jAe=$Ae;function GAe(e){return Vr("MuiPopover",e)}Tr("MuiPopover",["root","paper"]);const WAe=["onEntering"],zAe=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function YU(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function XU(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function JU(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function WI(e){return typeof e=="function"?e():e}const KAe=e=>{const{classes:t}=e;return Gr({root:["root"],paper:["paper"]},GAe,t)},qAe=$t(mAe,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ZAe=$t(v3,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),YAe=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiPopover"}),{action:a,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:o="anchorEl",children:u,className:m,container:c,elevation:f=8,marginThreshold:p=16,open:h,PaperProps:d={},transformOrigin:_={vertical:"top",horizontal:"left"},TransitionComponent:y=Sb,transitionDuration:g="auto",TransitionProps:{onEntering:S}={}}=n,v=Zt(n.TransitionProps,WAe),M=Zt(n,zAe),I=Ke.exports.useRef(),D=xn(I,d.ref),k=Xe({},n,{anchorOrigin:s,anchorReference:o,elevation:f,marginThreshold:p,PaperProps:d,transformOrigin:_,TransitionComponent:y,transitionDuration:g,TransitionProps:v}),E=KAe(k),z=Ke.exports.useCallback(()=>{if(o==="anchorPosition")return l;const ce=WI(i),R=(ce&&ce.nodeType===1?ce:Sa(I.current).body).getBoundingClientRect();return{top:R.top+YU(R,s.vertical),left:R.left+XU(R,s.horizontal)}},[i,s.horizontal,s.vertical,l,o]),B=Ke.exports.useCallback(ce=>({vertical:YU(ce,_.vertical),horizontal:XU(ce,_.horizontal)}),[_.horizontal,_.vertical]),P=Ke.exports.useCallback(ce=>{const J={width:ce.offsetWidth,height:ce.offsetHeight},R=B(J);if(o==="none")return{top:null,left:null,transformOrigin:JU(R)};const V=z();let Y=V.top-R.vertical,Z=V.left-R.horizontal;const Re=Y+J.height,Je=Z+J.width,xe=Cm(WI(i)),be=xe.innerHeight-p,et=xe.innerWidth-p;if(Ybe){const Pe=Re-be;Y-=Pe,R.vertical+=Pe}if(Zet){const Pe=Je-et;Z-=Pe,R.horizontal+=Pe}return{top:`${Math.round(Y)}px`,left:`${Math.round(Z)}px`,transformOrigin:JU(R)}},[i,o,z,B,p]),[F,L]=Ke.exports.useState(h),H=Ke.exports.useCallback(()=>{const ce=I.current;if(!ce)return;const J=P(ce);J.top!==null&&(ce.style.top=J.top),J.left!==null&&(ce.style.left=J.left),ce.style.transformOrigin=J.transformOrigin,L(!0)},[P]),ie=(ce,J)=>{S&&S(ce,J),H()},G=()=>{L(!1)};Ke.exports.useEffect(()=>{h&&H()}),Ke.exports.useImperativeHandle(a,()=>h?{updatePosition:()=>{H()}}:null,[h,H]),Ke.exports.useEffect(()=>{if(!h)return;const ce=jT(()=>{H()}),J=Cm(i);return J.addEventListener("resize",ce),()=>{ce.clear(),J.removeEventListener("resize",ce)}},[i,h,H]);let pe=g;g==="auto"&&!y.muiSupportAuto&&(pe=void 0);const W=c||(i?Sa(WI(i)).body:void 0);return ot(qAe,Xe({BackdropProps:{invisible:!0},className:Jt(E.root,m),container:W,open:h,ref:r,ownerState:k},M,{children:ot(y,Xe({appear:!0,in:h,onEntering:ie,onExited:G,timeout:pe},v,{children:ot(ZAe,Xe({elevation:f},d,{ref:D,className:Jt(E.paper,d.className)},F?void 0:{style:Xe({},d.style,{opacity:0})},{ownerState:k,children:u}))}))}))}),XAe=YAe;function JAe(e){return Vr("MuiMenu",e)}Tr("MuiMenu",["root","paper","list"]);const QAe=["onEntering"],e5e=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],t5e={vertical:"top",horizontal:"right"},r5e={vertical:"top",horizontal:"left"},s5e=e=>{const{classes:t}=e;return Gr({root:["root"],paper:["paper"],list:["list"]},JAe,t)},n5e=$t(XAe,{shouldForwardProp:e=>Lo(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),a5e=$t(v3,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),i5e=$t(jAe,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),l5e=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:i,disableAutoFocusItem:s=!1,MenuListProps:l={},onClose:o,open:u,PaperProps:m={},PopoverClasses:c,transitionDuration:f="auto",TransitionProps:{onEntering:p}={},variant:h="selectedMenu"}=n,d=Zt(n.TransitionProps,QAe),_=Zt(n,e5e),y=c_(),g=y.direction==="rtl",S=Xe({},n,{autoFocus:a,disableAutoFocusItem:s,MenuListProps:l,onEntering:p,PaperProps:m,transitionDuration:f,TransitionProps:d,variant:h}),v=s5e(S),M=a&&!s&&u,I=Ke.exports.useRef(null),D=(z,B)=>{I.current&&I.current.adjustStyleForScrollbar(z,y),p&&p(z,B)},k=z=>{z.key==="Tab"&&(z.preventDefault(),o&&o(z,"tabKeyDown"))};let E=-1;return Ke.exports.Children.map(i,(z,B)=>{!Ke.exports.isValidElement(z)||z.props.disabled||(h==="selectedMenu"&&z.props.selected||E===-1)&&(E=B)}),ot(n5e,Xe({onClose:o,anchorOrigin:{vertical:"bottom",horizontal:g?"right":"left"},transformOrigin:g?t5e:r5e,PaperProps:Xe({as:a5e},m,{classes:Xe({},m.classes,{root:v.paper})}),className:v.root,open:u,ref:r,transitionDuration:f,TransitionProps:Xe({onEntering:D},d),ownerState:S},_,{classes:c,children:ot(i5e,Xe({onKeyDown:k,actions:I,autoFocus:a&&(E===-1||s),autoFocusItem:M,variant:h},l,{className:Jt(v.list,l.className),children:i}))}))}),HH=l5e;function o5e(e){return Vr("MuiMenuItem",e)}const u5e=Tr("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),cd=u5e,m5e=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],c5e=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},f5e=e=>{const{disabled:t,dense:r,divider:n,disableGutters:a,selected:i,classes:s}=e,o=Gr({root:["root",r&&"dense",t&&"disabled",!a&&"gutters",n&&"divider",i&&"selected"]},o5e,s);return Xe({},s,o)},p5e=$t(d_,{shouldForwardProp:e=>Lo(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:c5e})(({theme:e,ownerState:t})=>Xe({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${cd.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ln(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${cd.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ln(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${cd.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ln(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ln(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${cd.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${cd.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${zU.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${zU.inset}`]:{marginLeft:52},[`& .${qU.root}`]:{marginTop:0,marginBottom:0},[`& .${qU.inset}`]:{paddingLeft:36},[`& .${KU.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Xe({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${KU.root} svg`]:{fontSize:"1.25rem"}}))),d5e=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiMenuItem"}),{autoFocus:a=!1,component:i="li",dense:s=!1,divider:l=!1,disableGutters:o=!1,focusVisibleClassName:u,role:m="menuitem",tabIndex:c,className:f}=n,p=Zt(n,m5e),h=Ke.exports.useContext(vb),d=Ke.exports.useMemo(()=>({dense:s||h.dense||!1,disableGutters:o}),[h.dense,s,o]),_=Ke.exports.useRef(null);So(()=>{a&&_.current&&_.current.focus()},[a]);const y=Xe({},n,{dense:d.dense,divider:l,disableGutters:o}),g=f5e(n),S=xn(_,r);let v;return n.disabled||(v=c!==void 0?c:-1),ot(vb.Provider,{value:d,children:ot(p5e,Xe({ref:S,role:m,tabIndex:v,component:i,focusVisibleClassName:Jt(g.focusVisible,u),className:Jt(g.root,f)},p,{ownerState:y,classes:g}))})}),yb=d5e;function h5e(e){return Vr("MuiNativeSelect",e)}const _5e=Tr("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),y3=_5e,g5e=["className","disabled","error","IconComponent","inputRef","variant"],S5e=e=>{const{classes:t,variant:r,disabled:n,multiple:a,open:i,error:s}=e,l={select:["select",r,n&&"disabled",a&&"multiple",s&&"error"],icon:["icon",`icon${Qt(r)}`,i&&"iconOpen",n&&"disabled"]};return Gr(l,h5e,t)},$H=({ownerState:e,theme:t})=>Xe({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":Xe({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${y3.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),v5e=$t("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Lo,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${y3.multiple}`]:t.multiple}]}})($H),jH=({ownerState:e,theme:t})=>Xe({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${y3.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),y5e=$t("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Qt(r.variant)}`],r.open&&t.iconOpen]}})(jH),M5e=Ke.exports.forwardRef(function(t,r){const{className:n,disabled:a,error:i,IconComponent:s,inputRef:l,variant:o="standard"}=t,u=Zt(t,g5e),m=Xe({},t,{disabled:a,variant:o,error:i}),c=S5e(m);return ur(Ke.exports.Fragment,{children:[ot(v5e,Xe({ownerState:m,className:Jt(c.select,n),disabled:a,ref:l||r},u)),t.multiple?null:ot(y5e,{as:s,ownerState:m,className:c.icon})]})}),D5e=M5e;var QU;const I5e=["children","classes","className","label","notched"],O5e=$t("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),L5e=$t("legend")(({ownerState:e,theme:t})=>Xe({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&Xe({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function b5e(e){const{className:t,label:r,notched:n}=e,a=Zt(e,I5e),i=r!=null&&r!=="",s=Xe({},e,{notched:n,withLabel:i});return ot(O5e,Xe({"aria-hidden":!0,className:t,ownerState:s},a,{children:ot(L5e,{ownerState:s,children:i?ot("span",{children:r}):QU||(QU=ot("span",{className:"notranslate",children:"\u200B"}))})}))}const C5e=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],E5e=e=>{const{classes:t}=e,n=Gr({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},h3e,t);return Xe({},t,n)},T5e=$t(AM,{shouldForwardProp:e=>Lo(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:EM})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return Xe({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Pu.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Pu.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${Pu.focused} .${Pu.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Pu.error} .${Pu.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Pu.disabled} .${Pu.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&Xe({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),A5e=$t(b5e,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),k5e=$t(kM,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:TM})(({theme:e,ownerState:t})=>Xe({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),GH=Ke.exports.forwardRef(function(t,r){var n,a,i,s,l;const o=rs({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:m=!1,inputComponent:c="input",label:f,multiline:p=!1,notched:h,slots:d={},type:_="text"}=o,y=Zt(o,C5e),g=E5e(o),S=h_(),v=CM({props:o,muiFormControl:S,states:["required"]}),M=Xe({},o,{color:v.color||"primary",disabled:v.disabled,error:v.error,focused:v.focused,formControl:S,fullWidth:m,hiddenLabel:v.hiddenLabel,multiline:p,size:v.size,type:_}),I=(n=(a=d.root)!=null?a:u.Root)!=null?n:T5e,D=(i=(s=d.input)!=null?s:u.Input)!=null?i:k5e;return ot(PM,Xe({slots:{root:I,input:D},renderSuffix:k=>ot(A5e,{ownerState:M,className:g.notchedOutline,label:f!=null&&f!==""&&v.required?l||(l=ur(Ke.exports.Fragment,{children:[f,"\u2009","*"]})):f,notched:typeof h<"u"?h:Boolean(k.startAdornment||k.filled||k.focused)}),fullWidth:m,inputComponent:c,multiline:p,ref:r,type:_},y,{classes:Xe({},g,{notchedOutline:null})}))});GH.muiName="Input";const P5e=GH,eN=Rl(ot("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),tN=Rl(ot("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");function U5e(e){return Vr("MuiSelect",e)}const N5e=Tr("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),fd=N5e;var rN;const w5e=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],x5e=$t("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${fd.select}`]:t.select},{[`&.${fd.select}`]:t[r.variant]},{[`&.${fd.error}`]:t.error},{[`&.${fd.multiple}`]:t.multiple}]}})($H,{[`&.${fd.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),V5e=$t("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Qt(r.variant)}`],r.open&&t.iconOpen]}})(jH),R5e=$t("input",{shouldForwardProp:e=>uCe(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function sN(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function F5e(e){return e==null||typeof e=="string"&&!e.trim()}const B5e=e=>{const{classes:t,variant:r,disabled:n,multiple:a,open:i,error:s}=e,l={select:["select",r,n&&"disabled",a&&"multiple",s&&"error"],icon:["icon",`icon${Qt(r)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return Gr(l,U5e,t)},H5e=Ke.exports.forwardRef(function(t,r){const{"aria-describedby":n,"aria-label":a,autoFocus:i,autoWidth:s,children:l,className:o,defaultOpen:u,defaultValue:m,disabled:c,displayEmpty:f,error:p=!1,IconComponent:h,inputRef:d,labelId:_,MenuProps:y={},multiple:g,name:S,onBlur:v,onChange:M,onClose:I,onFocus:D,onOpen:k,open:E,readOnly:z,renderValue:B,SelectDisplayProps:P={},tabIndex:F,value:L,variant:H="standard"}=t,ie=Zt(t,w5e),[G,pe]=_h({controlled:L,default:m,name:"Select"}),[W,ce]=_h({controlled:E,default:u,name:"Select"}),J=Ke.exports.useRef(null),R=Ke.exports.useRef(null),[V,Y]=Ke.exports.useState(null),{current:Z}=Ke.exports.useRef(E!=null),[Re,Je]=Ke.exports.useState(),xe=xn(r,d),be=Ke.exports.useCallback(te=>{R.current=te,te&&Y(te)},[]),et=V?.parentNode;Ke.exports.useImperativeHandle(xe,()=>({focus:()=>{R.current.focus()},node:J.current,value:G}),[G]),Ke.exports.useEffect(()=>{u&&W&&V&&!Z&&(Je(s?null:et.clientWidth),R.current.focus())},[V,s]),Ke.exports.useEffect(()=>{i&&R.current.focus()},[i]),Ke.exports.useEffect(()=>{if(!_)return;const te=Sa(R.current).getElementById(_);if(te){const Se=()=>{getSelection().isCollapsed&&R.current.focus()};return te.addEventListener("click",Se),()=>{te.removeEventListener("click",Se)}}},[_]);const Pe=(te,Se)=>{te?k&&k(Se):I&&I(Se),Z||(Je(s?null:et.clientWidth),ce(te))},Ne=te=>{te.button===0&&(te.preventDefault(),R.current.focus(),Pe(!0,te))},vt=te=>{Pe(!1,te)},T=Ke.exports.Children.toArray(l),we=te=>{const Se=T.map(He=>He.props.value).indexOf(te.target.value);if(Se===-1)return;const de=T[Se];pe(de.props.value),M&&M(te,de)},Ue=te=>Se=>{let de;if(!!Se.currentTarget.hasAttribute("tabindex")){if(g){de=Array.isArray(G)?G.slice():[];const He=G.indexOf(te.props.value);He===-1?de.push(te.props.value):de.splice(He,1)}else de=te.props.value;if(te.props.onClick&&te.props.onClick(Se),G!==de&&(pe(de),M)){const He=Se.nativeEvent||Se,It=new He.constructor(He.type,He);Object.defineProperty(It,"target",{writable:!0,value:{value:de,name:S}}),M(It,te)}g||Pe(!1,Se)}},K=te=>{z||[" ","ArrowUp","ArrowDown","Enter"].indexOf(te.key)!==-1&&(te.preventDefault(),Pe(!0,te))},q=V!==null&&W,ge=te=>{!q&&v&&(Object.defineProperty(te,"target",{writable:!0,value:{value:G,name:S}}),v(te))};delete ie["aria-invalid"];let Be,$e;const C=[];let Ce=!1;(PH({value:G})||f)&&(B?Be=B(G):Ce=!0);const mt=T.map(te=>{if(!Ke.exports.isValidElement(te))return null;let Se;if(g){if(!Array.isArray(G))throw new Error(bm(2));Se=G.some(de=>sN(de,te.props.value)),Se&&Ce&&C.push(te.props.children)}else Se=sN(G,te.props.value),Se&&Ce&&($e=te.props.children);return Ke.exports.cloneElement(te,{"aria-selected":Se?"true":"false",onClick:Ue(te),onKeyUp:de=>{de.key===" "&&de.preventDefault(),te.props.onKeyUp&&te.props.onKeyUp(de)},role:"option",selected:Se,value:void 0,"data-value":te.props.value})});Ce&&(g?C.length===0?Be=null:Be=C.reduce((te,Se,de)=>(te.push(Se),de{const{classes:t}=e;return t},M3={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Lo(e)&&e!=="variant",slot:"Root"},W5e=$t(kAe,M3)(""),z5e=$t(P5e,M3)(""),K5e=$t(_Ae,M3)(""),WH=Ke.exports.forwardRef(function(t,r){const n=rs({name:"MuiSelect",props:t}),{autoWidth:a=!1,children:i,classes:s={},className:l,defaultOpen:o=!1,displayEmpty:u=!1,IconComponent:m=v3e,id:c,input:f,inputProps:p,label:h,labelId:d,MenuProps:_,multiple:y=!1,native:g=!1,onClose:S,onOpen:v,open:M,renderValue:I,SelectDisplayProps:D,variant:k="outlined"}=n,E=Zt(n,j5e),z=g?D5e:$5e,B=h_(),P=CM({props:n,muiFormControl:B,states:["variant","error"]}),F=P.variant||k,L=Xe({},n,{variant:F,classes:s}),H=G5e(L),ie=f||{standard:ot(W5e,{ownerState:L}),outlined:ot(z5e,{label:h,ownerState:L}),filled:ot(K5e,{ownerState:L})}[F],G=xn(r,ie.ref);return ot(Ke.exports.Fragment,{children:Ke.exports.cloneElement(ie,Xe({inputComponent:z,inputProps:Xe({children:i,error:P.error,IconComponent:m,variant:F,type:void 0,multiple:y},g?{id:c}:{autoWidth:a,defaultOpen:o,displayEmpty:u,labelId:d,MenuProps:_,onClose:S,onOpen:v,open:M,renderValue:I,SelectDisplayProps:Xe({id:c},D)},p,{classes:p?tl(H,p.classes):H},f?f.props.inputProps:{})},y&&g&&F==="outlined"?{notched:!0}:{},{ref:G,className:Jt(ie.props.className,l)},!f&&{variant:F},E))})});WH.muiName="Select";const q5e=WH;function Z5e(e){return Vr("MuiTooltip",e)}const Y5e=Tr("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),nm=Y5e,X5e=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function J5e(e){return Math.round(e*1e5)/1e5}const Q5e=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:a,placement:i}=e,s={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",a&&"touch",`tooltipPlacement${Qt(i.split("-")[0])}`],arrow:["arrow"]};return Gr(s,Z5e,t)},e4e=$t(AH,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>Xe({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${nm.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${nm.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${nm.arrow}`]:Xe({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${nm.arrow}`]:Xe({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),t4e=$t("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${Qt(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>Xe({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:ln(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${J5e(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${nm.popper}[data-popper-placement*="left"] &`]:Xe({transformOrigin:"right center"},t.isRtl?Xe({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Xe({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${nm.popper}[data-popper-placement*="right"] &`]:Xe({transformOrigin:"left center"},t.isRtl?Xe({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Xe({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${nm.popper}[data-popper-placement*="top"] &`]:Xe({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${nm.popper}[data-popper-placement*="bottom"] &`]:Xe({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),r4e=$t("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:ln(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Mg=!1,zI=null,pd={x:0,y:0};function Dg(e,t){return r=>{t&&t(r),e(r)}}const s4e=Ke.exports.forwardRef(function(t,r){var n,a,i,s,l,o,u,m,c,f,p,h,d,_,y,g,S,v,M;const I=rs({props:t,name:"MuiTooltip"}),{arrow:D=!1,children:k,components:E={},componentsProps:z={},describeChild:B=!1,disableFocusListener:P=!1,disableHoverListener:F=!1,disableInteractive:L=!1,disableTouchListener:H=!1,enterDelay:ie=100,enterNextDelay:G=0,enterTouchDelay:pe=700,followCursor:W=!1,id:ce,leaveDelay:J=0,leaveTouchDelay:R=1500,onClose:V,onOpen:Y,open:Z,placement:Re="bottom",PopperComponent:Je,PopperProps:xe={},slotProps:be={},slots:et={},title:Pe,TransitionComponent:Ne=Sb,TransitionProps:vt}=I,T=Zt(I,X5e),we=c_(),Ue=we.direction==="rtl",[K,q]=Ke.exports.useState(),[ge,Be]=Ke.exports.useState(null),$e=Ke.exports.useRef(!1),C=L||W,Ce=Ke.exports.useRef(),mt=Ke.exports.useRef(),tt=Ke.exports.useRef(),qe=Ke.exports.useRef(),[se,x]=_h({controlled:Z,default:!1,name:"Tooltip",state:"open"});let U=se;const te=ZS(ce),Se=Ke.exports.useRef(),de=Ke.exports.useCallback(()=>{Se.current!==void 0&&(document.body.style.WebkitUserSelect=Se.current,Se.current=void 0),clearTimeout(qe.current)},[]);Ke.exports.useEffect(()=>()=>{clearTimeout(Ce.current),clearTimeout(mt.current),clearTimeout(tt.current),de()},[de]);const He=Ee=>{clearTimeout(zI),Mg=!0,x(!0),Y&&!U&&Y(Ee)},It=sm(Ee=>{clearTimeout(zI),zI=setTimeout(()=>{Mg=!1},800+J),x(!1),V&&U&&V(Ee),clearTimeout(Ce.current),Ce.current=setTimeout(()=>{$e.current=!1},we.transitions.duration.shortest)}),Q=Ee=>{$e.current&&Ee.type!=="touchstart"||(K&&K.removeAttribute("title"),clearTimeout(mt.current),clearTimeout(tt.current),ie||Mg&&G?mt.current=setTimeout(()=>{He(Ee)},Mg?G:ie):He(Ee))},ee=Ee=>{clearTimeout(mt.current),clearTimeout(tt.current),tt.current=setTimeout(()=>{It(Ee)},J)},{isFocusVisibleRef:Ye,onBlur:Et,onFocus:De,ref:me}=GT(),[,nt]=Ke.exports.useState(!1),A=Ee=>{Et(Ee),Ye.current===!1&&(nt(!1),ee(Ee))},ne=Ee=>{K||q(Ee.currentTarget),De(Ee),Ye.current===!0&&(nt(!0),Q(Ee))},je=Ee=>{$e.current=!0;const Ve=k.props;Ve.onTouchStart&&Ve.onTouchStart(Ee)},Ge=Q,ue=ee,ye=Ee=>{je(Ee),clearTimeout(tt.current),clearTimeout(Ce.current),de(),Se.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",qe.current=setTimeout(()=>{document.body.style.WebkitUserSelect=Se.current,Q(Ee)},pe)},fe=Ee=>{k.props.onTouchEnd&&k.props.onTouchEnd(Ee),de(),clearTimeout(tt.current),tt.current=setTimeout(()=>{It(Ee)},R)};Ke.exports.useEffect(()=>{if(!U)return;function Ee(Ve){(Ve.key==="Escape"||Ve.key==="Esc")&&It(Ve)}return document.addEventListener("keydown",Ee),()=>{document.removeEventListener("keydown",Ee)}},[It,U]);const Qe=xn(k.ref,me,q,r);!Pe&&Pe!==0&&(U=!1);const We=Ke.exports.useRef(),lt=Ee=>{const Ve=k.props;Ve.onMouseMove&&Ve.onMouseMove(Ee),pd={x:Ee.clientX,y:Ee.clientY},We.current&&We.current.update()},yt={},gt=typeof Pe=="string";B?(yt.title=!U&>&&!F?Pe:null,yt["aria-describedby"]=U?te:null):(yt["aria-label"]=gt?Pe:null,yt["aria-labelledby"]=U&&!gt?te:null);const Ht=Xe({},yt,T,k.props,{className:Jt(T.className,k.props.className),onTouchStart:je,ref:Qe},W?{onMouseMove:lt}:{}),Fe={};H||(Ht.onTouchStart=ye,Ht.onTouchEnd=fe),F||(Ht.onMouseOver=Dg(Ge,Ht.onMouseOver),Ht.onMouseLeave=Dg(ue,Ht.onMouseLeave),C||(Fe.onMouseOver=Ge,Fe.onMouseLeave=ue)),P||(Ht.onFocus=Dg(ne,Ht.onFocus),Ht.onBlur=Dg(A,Ht.onBlur),C||(Fe.onFocus=ne,Fe.onBlur=A));const j=Ke.exports.useMemo(()=>{var Ee;let Ve=[{name:"arrow",enabled:Boolean(ge),options:{element:ge,padding:4}}];return(Ee=xe.popperOptions)!=null&&Ee.modifiers&&(Ve=Ve.concat(xe.popperOptions.modifiers)),Xe({},xe.popperOptions,{modifiers:Ve})},[ge,xe]),he=Xe({},I,{isRtl:Ue,arrow:D,disableInteractive:C,placement:Re,PopperComponentProp:Je,touch:$e.current}),Ae=Q5e(he),le=(n=(a=et.popper)!=null?a:E.Popper)!=null?n:e4e,ae=(i=(s=(l=et.transition)!=null?l:E.Transition)!=null?s:Ne)!=null?i:Sb,ve=(o=(u=et.tooltip)!=null?u:E.Tooltip)!=null?o:t4e,Me=(m=(c=et.arrow)!=null?c:E.Arrow)!=null?m:r4e,_e=bd(le,Xe({},xe,(f=be.popper)!=null?f:z.popper,{className:Jt(Ae.popper,xe?.className,(p=(h=be.popper)!=null?h:z.popper)==null?void 0:p.className)}),he),Oe=bd(ae,Xe({},vt,(d=be.transition)!=null?d:z.transition),he),ke=bd(ve,Xe({},(_=be.tooltip)!=null?_:z.tooltip,{className:Jt(Ae.tooltip,(y=(g=be.tooltip)!=null?g:z.tooltip)==null?void 0:y.className)}),he),Ie=bd(Me,Xe({},(S=be.arrow)!=null?S:z.arrow,{className:Jt(Ae.arrow,(v=(M=be.arrow)!=null?M:z.arrow)==null?void 0:v.className)}),he);return ur(Ke.exports.Fragment,{children:[Ke.exports.cloneElement(k,Ht),ot(le,Xe({as:Je??AH,placement:Re,anchorEl:W?{getBoundingClientRect:()=>({top:pd.y,left:pd.x,right:pd.x,bottom:pd.y,width:0,height:0})}:K,popperRef:We,open:K?U:!1,id:te,transition:!0},Fe,_e,{popperOptions:j,children:({TransitionProps:Ee})=>ot(ae,Xe({timeout:we.transitions.duration.shorter},Ee,Oe,{children:ur(ve,Xe({},ke,{children:[Pe,D?ot(Me,Xe({},Ie,{ref:Be})):null]}))}))}))]})}),KI=s4e;function n4e(e){return Vr("MuiSwitch",e)}const a4e=Tr("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Ca=a4e,i4e=["className","color","edge","size","sx"],l4e=e=>{const{classes:t,edge:r,size:n,color:a,checked:i,disabled:s}=e,l={root:["root",r&&`edge${Qt(r)}`,`size${Qt(n)}`],switchBase:["switchBase",`color${Qt(a)}`,i&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},o=Gr(l,n4e,t);return Xe({},t,o)},o4e=$t("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.edge&&t[`edge${Qt(r.edge)}`],t[`size${Qt(r.size)}`]]}})(({ownerState:e})=>Xe({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},e.edge==="start"&&{marginLeft:-8},e.edge==="end"&&{marginRight:-8},e.size==="small"&&{width:40,height:24,padding:7,[`& .${Ca.thumb}`]:{width:16,height:16},[`& .${Ca.switchBase}`]:{padding:4,[`&.${Ca.checked}`]:{transform:"translateX(16px)"}}})),u4e=$t(wH,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.switchBase,{[`& .${Ca.input}`]:t.input},r.color!=="default"&&t[`color${Qt(r.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${Ca.checked}`]:{transform:"translateX(20px)"},[`&.${Ca.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Ca.checked} + .${Ca.track}`]:{opacity:.5},[`&.${Ca.disabled} + .${Ca.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Ca.input}`]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>Xe({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:ln(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${Ca.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ln(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ca.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${e.palette.mode==="light"?u3(e.palette[t.color].main,.62):o3(e.palette[t.color].main,.55)}`}},[`&.${Ca.checked} + .${Ca.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),m4e=$t("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),c4e=$t("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),f4e=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiSwitch"}),{className:a,color:i="primary",edge:s=!1,size:l="medium",sx:o}=n,u=Zt(n,i4e),m=Xe({},n,{color:i,edge:s,size:l}),c=l4e(m),f=ot(c4e,{className:c.thumb,ownerState:m});return ur(o4e,{className:Jt(c.root,a),sx:o,ownerState:m,children:[ot(u4e,Xe({type:"checkbox",icon:f,checkedIcon:f,ref:r,ownerState:m},u,{classes:Xe({},c,{root:c.switchBase})})),ot(m4e,{className:c.track,ownerState:m})]})}),p4e=f4e,d4e=Ke.exports.createContext(),zH=d4e;function h4e(e){return Vr("MuiTable",e)}Tr("MuiTable",["root","stickyHeader"]);const _4e=["className","component","padding","size","stickyHeader"],g4e=e=>{const{classes:t,stickyHeader:r}=e;return Gr({root:["root",r&&"stickyHeader"]},h4e,t)},S4e=$t("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>Xe({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":Xe({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),nN="table",v4e=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiTable"}),{className:a,component:i=nN,padding:s="normal",size:l="medium",stickyHeader:o=!1}=n,u=Zt(n,_4e),m=Xe({},n,{component:i,padding:s,size:l,stickyHeader:o}),c=g4e(m),f=Ke.exports.useMemo(()=>({padding:s,size:l,stickyHeader:o}),[s,l,o]);return ot(zH.Provider,{value:f,children:ot(S4e,Xe({as:i,role:i===nN?null:"table",ref:r,className:Jt(c.root,a),ownerState:m},u))})}),y4e=v4e,M4e=Ke.exports.createContext(),UM=M4e;function D4e(e){return Vr("MuiTableBody",e)}Tr("MuiTableBody",["root"]);const I4e=["className","component"],O4e=e=>{const{classes:t}=e;return Gr({root:["root"]},D4e,t)},L4e=$t("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),b4e={variant:"body"},aN="tbody",C4e=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiTableBody"}),{className:a,component:i=aN}=n,s=Zt(n,I4e),l=Xe({},n,{component:i}),o=O4e(l);return ot(UM.Provider,{value:b4e,children:ot(L4e,Xe({className:Jt(o.root,a),as:i,ref:r,role:i===aN?null:"rowgroup",ownerState:l},s))})}),E4e=C4e;function T4e(e){return Vr("MuiTableCell",e)}const A4e=Tr("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),k4e=A4e,P4e=["align","className","component","padding","scope","size","sortDirection","variant"],U4e=e=>{const{classes:t,variant:r,align:n,padding:a,size:i,stickyHeader:s}=e,l={root:["root",r,s&&"stickyHeader",n!=="inherit"&&`align${Qt(n)}`,a!=="normal"&&`padding${Qt(a)}`,`size${Qt(i)}`]};return Gr(l,T4e,t)},N4e=$t("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${Qt(r.size)}`],r.padding!=="normal"&&t[`padding${Qt(r.padding)}`],r.align!=="inherit"&&t[`align${Qt(r.align)}`],r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>Xe({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid - ${e.palette.mode==="light"?u3(ln(e.palette.divider,1),.88):o3(ln(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${k4e.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),w4e=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiTableCell"}),{align:a="inherit",className:i,component:s,padding:l,scope:o,size:u,sortDirection:m,variant:c}=n,f=Zt(n,P4e),p=Ke.exports.useContext(zH),h=Ke.exports.useContext(UM),d=h&&h.variant==="head";let _;s?_=s:_=d?"th":"td";let y=o;_==="td"?y=void 0:!y&&d&&(y="col");const g=c||h&&h.variant,S=Xe({},n,{align:a,component:_,padding:l||(p&&p.padding?p.padding:"normal"),size:u||(p&&p.size?p.size:"medium"),sortDirection:m,stickyHeader:g==="head"&&p&&p.stickyHeader,variant:g}),v=U4e(S);let M=null;return m&&(M=m==="asc"?"ascending":"descending"),ot(N4e,Xe({as:_,ref:r,className:Jt(v.root,i),"aria-sort":M,scope:y,ownerState:S},f))}),Ea=w4e;function x4e(e){return Vr("MuiTableContainer",e)}Tr("MuiTableContainer",["root"]);const V4e=["className","component"],R4e=e=>{const{classes:t}=e;return Gr({root:["root"]},x4e,t)},F4e=$t("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),B4e=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiTableContainer"}),{className:a,component:i="div"}=n,s=Zt(n,V4e),l=Xe({},n,{component:i}),o=R4e(l);return ot(F4e,Xe({ref:r,as:i,className:Jt(o.root,a),ownerState:l},s))}),H4e=B4e;function $4e(e){return Vr("MuiTableHead",e)}Tr("MuiTableHead",["root"]);const j4e=["className","component"],G4e=e=>{const{classes:t}=e;return Gr({root:["root"]},$4e,t)},W4e=$t("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),z4e={variant:"head"},iN="thead",K4e=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiTableHead"}),{className:a,component:i=iN}=n,s=Zt(n,j4e),l=Xe({},n,{component:i}),o=G4e(l);return ot(UM.Provider,{value:z4e,children:ot(W4e,Xe({as:i,className:Jt(o.root,a),ref:r,role:i===iN?null:"rowgroup",ownerState:l},s))})}),q4e=K4e;function Z4e(e){return Vr("MuiToolbar",e)}Tr("MuiToolbar",["root","gutters","regular","dense"]);const Y4e=["className","component","disableGutters","variant"],X4e=e=>{const{classes:t,disableGutters:r,variant:n}=e;return Gr({root:["root",!r&&"gutters",n]},Z4e,t)},J4e=$t("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})(({theme:e,ownerState:t})=>Xe({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),Q4e=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiToolbar"}),{className:a,component:i="div",disableGutters:s=!1,variant:l="regular"}=n,o=Zt(n,Y4e),u=Xe({},n,{component:i,disableGutters:s,variant:l}),m=X4e(u);return ot(J4e,Xe({as:i,className:Jt(m.root,a),ref:r,ownerState:u},o))}),KH=Q4e,lN=Rl(ot("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),oN=Rl(ot("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");var uN,mN,cN,fN,pN,dN,hN,_N;const eke=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],tke=Ke.exports.forwardRef(function(t,r){const{backIconButtonProps:n,count:a,getItemAriaLabel:i,nextIconButtonProps:s,onPageChange:l,page:o,rowsPerPage:u,showFirstButton:m,showLastButton:c}=t,f=Zt(t,eke),p=c_(),h=g=>{l(g,0)},d=g=>{l(g,o-1)},_=g=>{l(g,o+1)},y=g=>{l(g,Math.max(0,Math.ceil(a/u)-1))};return ur("div",Xe({ref:r},f,{children:[m&&ot(Yo,{onClick:h,disabled:o===0,"aria-label":i("first",o),title:i("first",o),children:p.direction==="rtl"?uN||(uN=ot(tN,{})):mN||(mN=ot(eN,{}))}),ot(Yo,Xe({onClick:d,disabled:o===0,color:"inherit","aria-label":i("previous",o),title:i("previous",o)},n,{children:p.direction==="rtl"?cN||(cN=ot(oN,{})):fN||(fN=ot(lN,{}))})),ot(Yo,Xe({onClick:_,disabled:a!==-1?o>=Math.ceil(a/u)-1:!1,color:"inherit","aria-label":i("next",o),title:i("next",o)},s,{children:p.direction==="rtl"?pN||(pN=ot(lN,{})):dN||(dN=ot(oN,{}))})),c&&ot(Yo,{onClick:y,disabled:o>=Math.ceil(a/u)-1,"aria-label":i("last",o),title:i("last",o),children:p.direction==="rtl"?hN||(hN=ot(eN,{})):_N||(_N=ot(tN,{}))})]}))}),rke=tke;function ske(e){return Vr("MuiTablePagination",e)}const nke=Tr("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),_1=nke;var gN;const ake=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],ike=$t(Ea,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),lke=$t(KH,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>Xe({[`& .${_1.actions}`]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${_1.actions}`]:{flexShrink:0,marginLeft:20}})),oke=$t("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),uke=$t("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>Xe({},e.typography.body2,{flexShrink:0})),mke=$t(q5e,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>Xe({[`& .${_1.selectIcon}`]:t.selectIcon,[`& .${_1.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${_1.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),cke=$t(yb,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),fke=$t("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>Xe({},e.typography.body2,{flexShrink:0}));function pke({from:e,to:t,count:r}){return`${e}\u2013${t} of ${r!==-1?r:`more than ${t}`}`}function dke(e){return`Go to ${e} page`}const hke=e=>{const{classes:t}=e;return Gr({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},ske,t)},_ke=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiTablePagination"}),{ActionsComponent:a=rke,backIconButtonProps:i,className:s,colSpan:l,component:o=Ea,count:u,getItemAriaLabel:m=dke,labelDisplayedRows:c=pke,labelRowsPerPage:f="Rows per page:",nextIconButtonProps:p,onPageChange:h,onRowsPerPageChange:d,page:_,rowsPerPage:y,rowsPerPageOptions:g=[10,25,50,100],SelectProps:S={},showFirstButton:v=!1,showLastButton:M=!1}=n,I=Zt(n,ake),D=n,k=hke(D),E=S.native?"option":cke;let z;(o===Ea||o==="td")&&(z=l||1e3);const B=ZS(S.id),P=ZS(S.labelId),F=()=>u===-1?(_+1)*y:y===-1?u:Math.min(u,(_+1)*y);return ot(ike,Xe({colSpan:z,ref:r,as:o,ownerState:D,className:Jt(k.root,s)},I,{children:ur(lke,{className:k.toolbar,children:[ot(oke,{className:k.spacer}),g.length>1&&ot(uke,{className:k.selectLabel,id:P,children:f}),g.length>1&&ot(mke,Xe({variant:"standard"},!S.variant&&{input:gN||(gN=ot(PM,{}))},{value:y,onChange:d,id:B,labelId:P},S,{classes:Xe({},S.classes,{root:Jt(k.input,k.selectRoot,(S.classes||{}).root),select:Jt(k.select,(S.classes||{}).select),icon:Jt(k.selectIcon,(S.classes||{}).icon)}),children:g.map(L=>Ke.exports.createElement(E,Xe({},!yh(E)&&{ownerState:D},{className:k.menuItem,key:L.label?L.label:L,value:L.value?L.value:L}),L.label?L.label:L))})),ot(fke,{className:k.displayedRows,children:c({from:u===0?0:_*y+1,to:F(),count:u===-1?-1:u,page:_})}),ot(a,{className:k.actions,backIconButtonProps:i,count:u,nextIconButtonProps:p,onPageChange:h,page:_,rowsPerPage:y,showFirstButton:v,showLastButton:M,getItemAriaLabel:m})]})}))}),gke=_ke;function Ske(e){return Vr("MuiTableRow",e)}const vke=Tr("MuiTableRow",["root","selected","hover","head","footer"]),SN=vke,yke=["className","component","hover","selected"],Mke=e=>{const{classes:t,selected:r,hover:n,head:a,footer:i}=e;return Gr({root:["root",r&&"selected",n&&"hover",a&&"head",i&&"footer"]},Ske,t)},Dke=$t("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${SN.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${SN.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ln(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ln(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),vN="tr",Ike=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiTableRow"}),{className:a,component:i=vN,hover:s=!1,selected:l=!1}=n,o=Zt(n,yke),u=Ke.exports.useContext(UM),m=Xe({},n,{component:i,hover:s,selected:l,head:u&&u.variant==="head",footer:u&&u.variant==="footer"}),c=Mke(m);return ot(Dke,Xe({as:i,ref:r,className:Jt(c.root,a),role:i===vN?null:"row",ownerState:m},o))}),Mb=Ike,Oke=Rl(ot("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function Lke(e){return Vr("MuiTableSortLabel",e)}const bke=Tr("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]),qI=bke,Cke=["active","children","className","direction","hideSortIcon","IconComponent"],Eke=e=>{const{classes:t,direction:r,active:n}=e,a={root:["root",n&&"active"],icon:["icon",`iconDirection${Qt(r)}`]};return Gr(a,Lke,t)},Tke=$t(d_,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.active&&t.active]}})(({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${qI.icon}`]:{opacity:.5}},[`&.${qI.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${qI.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}})),Ake=$t("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,t[`iconDirection${Qt(r.direction)}`]]}})(({theme:e,ownerState:t})=>Xe({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},t.direction==="desc"&&{transform:"rotate(0deg)"},t.direction==="asc"&&{transform:"rotate(180deg)"})),kke=Ke.exports.forwardRef(function(t,r){const n=rs({props:t,name:"MuiTableSortLabel"}),{active:a=!1,children:i,className:s,direction:l="asc",hideSortIcon:o=!1,IconComponent:u=Oke}=n,m=Zt(n,Cke),c=Xe({},n,{active:a,direction:l,hideSortIcon:o,IconComponent:u}),f=Eke(c);return ur(Tke,Xe({className:Jt(f.root,s),component:"span",disableRipple:!0,ownerState:c,ref:r},m,{children:[i,o&&!a?null:ot(Ake,{as:u,className:Jt(f.icon),ownerState:c})]}))}),Pke=kke,yN=Rl(ot("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-2 6h-2v2h2v2h-2v2h-2v-2h2v-2h-2v-2h2v-2h-2V8h2v2h2v2z"}),"FolderZip"),MN=BT(function(){const{state:t}=qa.useContext(i_);return t.messages.length<1?ot(qa.Fragment,{}):ot("div",{className:"messages-container",children:t.messages.slice(0,4).map(({type:r,msg:n},a)=>ot("div",{className:`message message-${r}`,children:n},`message${a}`))})});var D3={},NM={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(NM);var ZI={};const Uke=LN(mTe);var DN;function I3(){return DN||(DN=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Uke}(ZI)),ZI}const O3=LN(vLe);var Nke=NM.exports;Object.defineProperty(D3,"__esModule",{value:!0});var qH=D3.default=void 0,wke=Nke(I3()),xke=O3,Vke=(0,wke.default)((0,xke.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");qH=D3.default=Vke;var L3={},Rke=NM.exports;Object.defineProperty(L3,"__esModule",{value:!0});var ZH=L3.default=void 0,Fke=Rke(I3()),Bke=O3,Hke=(0,Fke.default)((0,Bke.jsx)("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"}),"Download");ZH=L3.default=Hke;var b3={},$ke=NM.exports;Object.defineProperty(b3,"__esModule",{value:!0});var YH=b3.default=void 0,jke=$ke(I3()),Gke=O3,Wke=(0,jke.default)((0,Gke.jsx)("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList");YH=b3.default=Wke;const zke={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Kke=zke;er("@modusjs/table:trace");er("@modusjs/table:info");er("@modusjs/table:error");er("@modusjs/table:warn");const IN={"Sample Type":"$.type",Date:"$.date","Grower Name":"$.source.grower.id","Farm Name":"$.source.farm.id","Field Name":"$.source.field.id","Source Filename(s)":"$.lab.files[*].name",Lab:"$.lab.name"};function ON(e,t,r){return t[r]e[r]?1:0}function qke(e,t){return e==="desc"?(r,n)=>ON(r,n,t):(r,n)=>-ON(r,n,t)}function Zke(e,t){const r=e.map((n,a)=>[n,a]);return r.sort((n,a)=>{const i=t(n[0],a[0]);return i!==0?i:n[1]-a[1]}),r.map(n=>n[0])}const XH=[{id:"filename",numeric:!1,disablePadding:!0,label:"Source Filename(s)"},{id:"type",numeric:!1,disablePadding:!1,label:"Sample Type"},{id:"date",numeric:!1,disablePadding:!1,label:"Date"},{id:"lab",numeric:!1,disablePadding:!1,label:"Lab"},{id:"sampleCount",numeric:!0,disablePadding:!1,label:"# of Samples"},{id:"grower",numeric:!1,disablePadding:!1,label:"Grower Name"},{id:"farm",numeric:!1,disablePadding:!1,label:"Farm Name"},{id:"field",numeric:!1,disablePadding:!1,label:"Field Name"}];function Yke(e){const{onSelectAllClick:t,order:r,orderBy:n,numSelected:a,rowCount:i,onRequestSort:s}=e,l=o=>u=>{s(u,o)};return ot(q4e,{children:ur(Mb,{children:[ot(Ea,{padding:"checkbox",children:ot(xH,{color:"primary",indeterminate:a>0&&a0&&a===i,onChange:t,inputProps:{"aria-label":"select all desserts"}})}),XH.map(o=>ot(Ea,{align:"right",padding:o.disablePadding?"none":"normal",sortDirection:n===o.id?r:!1,children:ur(Pke,{active:n===o.id,direction:n===o.id?r:"asc",onClick:l(o.id),children:[o.label,n===o.id?ot(UH,{component:"span",sx:Kke,children:r==="desc"?"sorted descending":"sorted ascending"}):null]})},o.id))]})})}function Xke(e){const{actions:t}=Ke.exports.useContext(i_),{numSelected:r}=e,[n,a]=Ke.exports.useState(null),i=Boolean(n),s=o=>{a(o.currentTarget)},l=()=>{a(null)};return ur(KH,{sx:{pl:{sm:2},pr:{xs:1,sm:1},...r>0&&{bgcolor:o=>ln(o.palette.primary.main,o.palette.action.activatedOpacity)}},children:[r>0?ur(tv,{sx:{flex:"1 1 100%"},color:"inherit",variant:"subtitle1",component:"div",children:[r," selected"]}):ot(tv,{sx:{flex:"1 1 100%"},variant:"h6",id:"tableTitle",component:"div",children:"MODUS Lab Results"}),r>0?ur("div",{className:"toolbarButtonGroup",children:[ot(KI,{title:"Download",children:ot(Yo,{onClick:s,children:ot(ZH,{})})}),ot(KI,{title:"Delete",children:ot(Yo,{onClick:t.deleteSelected,children:ot(qH,{})})}),ur(HH,{anchorEl:n,id:"download-selection-menu",open:i,onClose:l,onClick:l,PaperProps:{elevation:0,sx:{overflow:"visible",filter:"drop-shadow(0px 2px 8px rgba(0,0,0,0.32))",mt:1.5,"& .MuiAvatar-root":{width:32,height:32,ml:-.5,mr:1},"&::before":{content:'""',display:"block",position:"absolute",top:0,right:14,width:10,height:10,bgcolor:"background.paper",transform:"translateY(-50%) rotate(45deg)",zIndex:0}}},transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"bottom"},children:[ot(yb,{onClick:()=>{t.downloadAsCsv(),l()},children:"Download as CSV"}),ot(yb,{onClick:()=>{t.downloadAsSlim(),l()},children:"Download as MODUS JSON"})]})]}):ot(KI,{title:"Filter list",children:ot(Yo,{children:ot(YH,{})})})]})}const Jke=BT(function(){const{state:t,actions:r}=Ke.exports.useContext(i_),n=Object.entries(t.files).map(([v,M])=>({id:v,sampleCount:Object.keys(M.samples).length,...Object.fromEntries(XH.filter(I=>IN[I.label]).map(I=>[I.id,bse.query(M,IN[I.label])[0]||""]))})),{order:a,orderBy:i,selected:s,page:l,dense:o,rowsPerPage:u}=t.table,m=r.setTable,c=(v,M)=>{m("order",i===M&&a==="asc"?"desc":"asc"),m("orderBy",M)},f=v=>{if(v.target.checked){const M=n.map(I=>I.id);m("selected",M);return}m("selected",[])},p=(v,M)=>{const I=s.indexOf(M);let D=[];I===-1?D=D.concat(s,M):I===0?D=D.concat(s.slice(1)):I===s.length-1?D=D.concat(s.slice(0,-1)):I>0&&(D=D.concat(s.slice(0,I),s.slice(I+1))),m("selected",D)},h=(v,M)=>{m("page",M)},d=v=>{m("rowsPerPage",parseInt(v.target.value,10)),m("page",0)},_=v=>{m("dense",v.target.checked)},y=v=>s.indexOf(v)!==-1,g=l>0?Math.max(0,(1+l)*u-n.length):0,S=Zke(n,qke(a,i)).slice(l*u,l*u+u);return ot("div",{className:"tab",children:t.output==="trellis"?ur(UH,{sx:{width:"100%"},children:[ur(v3,{sx:{width:"100%",mb:2},children:[ot(Xke,{numSelected:s.length}),ot(H4e,{children:ur(y4e,{sx:{minWidth:750},"aria-labelledby":"tableTitle",size:o?"small":"medium",children:[ot(Yke,{numSelected:s.length,order:a,orderBy:i,onSelectAllClick:f,onRequestSort:c,rowCount:n.length}),ur(E4e,{children:[S.map((v,M)=>{const I=y(v.id),D=`enhanced-table-checkbox-${M}`;return ur(Mb,{hover:!0,onClick:k=>p(k,v.id),role:"checkbox","aria-checked":I,tabIndex:-1,selected:I,sx:{cursor:"pointer"},children:[ot(Ea,{padding:"checkbox",children:ot(xH,{color:"primary",checked:I,inputProps:{"aria-labelledby":D}})}),ot(Ea,{component:"th",id:D,scope:"row",padding:"none",children:v.filename}),ot(Ea,{align:"right",children:v.type}),ot(Ea,{align:"right",children:v.date}),ot(Ea,{align:"right",children:v.lab}),ot(Ea,{align:"right",children:v.sampleCount}),ot(Ea,{align:"right",children:v.grower}),ot(Ea,{align:"right",children:v.farm}),ot(Ea,{align:"right",children:v.field})]},v.id)}),g>0&&ot(Mb,{style:{height:(o?33:53)*g},children:ot(Ea,{colSpan:6})})]})]})}),ot(gke,{rowsPerPageOptions:[5,10,25],component:"div",count:n.length,rowsPerPage:u,page:l,onPageChange:h,onRowsPerPageChange:d})]}),ot(OAe,{control:ot(p4e,{checked:o,onChange:_}),label:"Dense padding"})]}):null})}),Qke="/modus/assets/bigdemo.c28a3e1c.zip",ePe="/modus/assets/curateddemo.8ee1d3b0.zip";er("@modusjs/app#App:trace");const dd=er("@modusjs/app#App:info");er("@modusjs/app#App:error");er("@modusjs/app#App:warn");const tPe=BT(function(){const{state:t,actions:r}=Ke.exports.useContext(i_),n=({type:a,inout:i})=>async s=>{switch(s.preventDefault(),s.stopPropagation(),a){case"drag":t.inzone!==i&&(r.inzone(i||!1),i&&(s.dataTransfer.dropEffect="copy"));break;case"drop":dd("file dropped, evt = ",s),r.message("Reading file...");const l=[...s.dataTransfer.files],o=await Promise.all(l.map(async c=>{try{return await dh.fromFileBrowser({file:c},Object.values(t.labConfig.list))}catch(f){return dd("Failed to convert file: ",c.name,". Error was: ",f),[]}}));r.message("Converting...");const u=o.reduce((c,f)=>[...c,...f],[]);r.message(`Successfully converted ${u.length} result${u.length===1?"":"s"} to Modus`),dd("results: ",u),dd("Saving",t.output," type from results");const m=t.output==="modusjson2"?"json":t.output;t.output==="trellis"?r.toTrellis(u):(await dh.save({modus:u,outputtype:m}),dd("File successfully saved"),r.message("Conversion result saved."));break}};return ur("div",{className:"app",children:[ur("div",{className:"header",children:[ot("div",{children:ur("h1",{className:"header-title",children:[ot("img",{className:"header-logo",src:"fixingsoil-logo.png"}),ot("div",{children:"Modus Lab Results Converter"})]})}),ot("div",{style:{flexGrow:1}}),ot("div",{children:ot("a",{href:ePe,download:"curateddemo.zip",target:"_blank",children:ot(Yo,{color:"primary","aria-label":"download",children:ot(yN,{})})})})]}),ot("hr",{}),ur("div",{className:"output",children:[ot(MN,{}),ur("div",{className:"tagline",children:["Drop your soil, nutrient, water or nematode sample lab results here and get back a standard set of Modus JSON files or a standard CSV.",ot("br",{}),ot("br",{})]}),ur("div",{children:["Output Format: \xA0\xA0",ur("select",{value:t.output,onChange:a=>r.output(a.target.value),children:[ot("option",{value:"modusjson2",children:"Modus JSON v2"}),ot("option",{value:"json",children:"Modus JSON v1"}),ot("option",{value:"csv",children:"Standardized CSV"}),ot("option",{value:"trellis",children:"Sync to Trellis"})]})]})]}),t.output==="trellis"&&ur("div",{className:"oada-connect-container",children:[ot("h4",{children:"Trellis Connection"}),ur("div",{children:["Domain: \xA0\xA0",ot("input",{type:"text",value:t.trellis.domain,onChange:a=>r.trellis({domain:a.target.value})})]}),ur("div",{children:["Token: \xA0\xA0\xA0\xA0\xA0",ot("input",{type:"password",value:t.trellis.token,onChange:a=>r.trellis({token:a.target.value})}),t.trellis.conn?ot(WU,{variant:"text",disabled:!0}):ot(WU,{variant:"text",onClick:r.trellisConnect,children:"Connect"})]}),ot("div",{children:"\xA0"})]}),ot(MN,{}),ot("div",{className:"dropzone-container",children:t.output!=="trellis"||t.trellis.conn?ot("div",{className:"dropzone",onDragOver:n({type:"drag"}),onDrop:n({type:"drop"}),onDragEnter:n({type:"drag",inout:!0}),onDragLeave:n({type:"drag",inout:!1}),children:"Drop file here to download a standard MODUS output format."}):ot("div",{className:"dropzone",children:"Please connect to Trellis prior to dropping files."})}),ur("div",{style:{padding:"10px"},children:[ot("hr",{}),"Please note that no data leaves your browser unless you choose to send the output to your own Trellis. Your original and converted data never leave your computer."]}),ot(Jke,{}),ot("hr",{}),ur("div",{className:"footer",children:[ot("div",{style:{paddingBottom:"10px"},children:ot("b",{children:"Thanks to all our partners who made this work possible:"})}),ur("div",{style:{display:"flex",flexDirection:"row",padding:"10px",backgroundColor:"white",borderRadius:"5px"},children:[ot("div",{className:"partnerlogo",children:ot("a",{href:"https://oatscenter.org",children:ot("img",{style:{maxHeight:"50px"},src:"logo-oats.png"})})}),ot("div",{className:"partnerlogo",children:ot("a",{href:"https://farmfoundation.org",children:ot("img",{style:{maxHeight:"50px"},src:"logo-farmfoundation.png"})})}),ot("div",{className:"partnerlogo",children:ot("a",{href:"https://mixingbowlhub.com/",children:ot("img",{style:{maxHeight:"50px"},src:"logo-mixingbowlhub.png"})})}),ot("div",{className:"partnerlogo",children:ot("a",{href:"https://aggateway.org",children:ot("img",{style:{maxHeight:"50px"},src:"logo-aggateway.jpg"})})}),ot("div",{className:"partnerlogo",children:ot("a",{href:"https://semios.com",children:ot("img",{style:{maxHeight:"50px"},src:"logo-semios.png"})})}),ot("div",{className:"partnerlogo",children:ot("a",{href:"https://openteam.community",children:ot("img",{style:{maxHeight:"50px"},src:"logo-openteam.png"})})})]}),ur("div",{style:{paddingTop:"10px"},children:["and all participants in the\xA0",ot("a",{href:"https://farmfoundation.swoogo.com/soilhealthtech",children:'2022 "Fixing the Soil Health Tech Stack" Hackathon.'})]}),ot("a",{href:Qke,download:"bigdemo.zip",target:"_blank",children:ot(Yo,{color:"primary","aria-label":"download",children:ot(yN,{})})}),ur("div",{style:{paddingTop:"30px",width:"50%",textAlign:"center"},children:["In addition to the partners above, this work was funded in part by USDA AFRI grant\xA0",ot("a",{href:"https://portal.nifa.usda.gov/web/crisprojectpages/1027697-national-ag-producer-data-cooperative-a-strategic-framework-for-innovation.html",children:"2021-77039-35992"}),ot("br",{}),"through the\xA0",ot("a",{href:"https://agdatacoop.org",children:"NAPDC"})," from the\xA0",ot("a",{href:"https://unl.edu",children:"University of Nebraska-Lincoln"}),"\xA0",ot("br",{}),"to the\xA0",ot("a",{href:"https://oatscenter.org",children:"Open Ag Technology and Systems (OATS) Center"})," at\xA0",ot("a",{href:"https://purdue.edu",children:"Purdue University"}),"."]})]})]})});document.title+=" - 1.0.4";XI.createRoot(document.getElementById("root")).render(ot(qa.StrictMode,{children:ot(i_.Provider,{value:NB,children:ot(tPe,{})})}))});export default rPe(); diff --git a/assets/index.622fc4a8.js b/assets/index.622fc4a8.js new file mode 100644 index 0000000..865f041 --- /dev/null +++ b/assets/index.622fc4a8.js @@ -0,0 +1,728 @@ +var ZU=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var xSe=ZU((wSe,Mh)=>{function XU(e,t){for(var r=0;rn[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerpolicy&&(i.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?i.credentials="include":a.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(a){if(a.ep)return;a.ep=!0;const i=r(a);fetch(a.href,i)}})();var Zs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function B4(e){var t=e.default;if(typeof t=="function"){var r=function(){return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var de={exports:{}},or={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var sd=Symbol.for("react.element"),JU=Symbol.for("react.portal"),QU=Symbol.for("react.fragment"),e8=Symbol.for("react.strict_mode"),t8=Symbol.for("react.profiler"),r8=Symbol.for("react.provider"),n8=Symbol.for("react.context"),s8=Symbol.for("react.forward_ref"),a8=Symbol.for("react.suspense"),i8=Symbol.for("react.memo"),o8=Symbol.for("react.lazy"),ZE=Symbol.iterator;function l8(e){return e===null||typeof e!="object"?null:(e=ZE&&e[ZE]||e["@@iterator"],typeof e=="function"?e:null)}var H4={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$4=Object.assign,j4={};function uf(e,t,r){this.props=e,this.context=t,this.refs=j4,this.updater=r||H4}uf.prototype.isReactComponent={};uf.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};uf.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function G4(){}G4.prototype=uf.prototype;function mD(e,t,r){this.props=e,this.context=t,this.refs=j4,this.updater=r||H4}var pD=mD.prototype=new G4;pD.constructor=mD;$4(pD,uf.prototype);pD.isPureReactComponent=!0;var XE=Array.isArray,W4=Object.prototype.hasOwnProperty,dD={current:null},z4={key:!0,ref:!0,__self:!0,__source:!0};function K4(e,t,r){var n,a={},i=null,s=null;if(t!=null)for(n in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)W4.call(t,n)&&!z4.hasOwnProperty(n)&&(a[n]=t[n]);var o=arguments.length-2;if(o===1)a.children=r;else if(1>>1,k=ue[J];if(0>>1;Ja(q,le))Iea(Fe,q)?(ue[J]=Fe,ue[Ie]=le,J=Ie):(ue[J]=q,ue[z]=le,J=z);else if(Iea(Fe,le))ue[J]=Fe,ue[Ie]=le,J=Ie;else break e}}return F}function a(ue,F){var le=ue.sortIndex-F.sortIndex;return le!==0?le:ue.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,o=s.now();e.unstable_now=function(){return s.now()-o}}var l=[],u=[],c=1,f=null,m=3,d=!1,h=!1,p=!1,_=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(ue){for(var F=r(u);F!==null;){if(F.callback===null)n(u);else if(F.startTime<=ue)n(u),F.sortIndex=F.expirationTime,t(l,F);else break;F=r(u)}}function y(ue){if(p=!1,g(ue),!h)if(r(l)!==null)h=!0,te(M);else{var F=r(u);F!==null&&W(y,F.startTime-ue)}}function M(ue,F){h=!1,p&&(p=!1,S(T),T=-1),d=!0;var le=m;try{for(g(F),f=r(l);f!==null&&(!(f.expirationTime>F)||ue&&!V());){var J=f.callback;if(typeof J=="function"){f.callback=null,m=f.priorityLevel;var k=J(f.expirationTime<=F);F=e.unstable_now(),typeof k=="function"?f.callback=k:f===r(l)&&n(l),g(F)}else n(l);f=r(l)}if(f!==null)var U=!0;else{var z=r(u);z!==null&&W(y,z.startTime-F),U=!1}return U}finally{f=null,m=le,d=!1}}var I=!1,D=null,T=-1,b=5,N=-1;function V(){return!(e.unstable_now()-Nue||125J?(ue.sortIndex=le,t(u,ue),r(l)===null&&ue===r(u)&&(p?(S(T),T=-1):p=!0,W(y,le-J))):(ue.sortIndex=k,t(l,ue),h||d||(h=!0,te(M))),ue},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(ue){var F=m;return function(){var le=m;m=F;try{return ue.apply(this,arguments)}finally{m=le}}}})(Y4);(function(e){e.exports=Y4})(q4);/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Z4=de.exports,ba=q4.exports;function mt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),QS=Object.prototype.hasOwnProperty,p8=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,QE={},eb={};function d8(e){return QS.call(eb,e)?!0:QS.call(QE,e)?!1:p8.test(e)?eb[e]=!0:(QE[e]=!0,!1)}function h8(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function _8(e,t,r,n){if(t===null||typeof t>"u"||h8(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function $s(e,t,r,n,a,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var ds={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ds[e]=new $s(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ds[t]=new $s(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ds[e]=new $s(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ds[e]=new $s(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ds[e]=new $s(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ds[e]=new $s(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ds[e]=new $s(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ds[e]=new $s(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ds[e]=new $s(e,5,!1,e.toLowerCase(),null,!1,!1)});var _D=/[\-:]([a-z])/g;function gD(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_D,gD);ds[t]=new $s(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(_D,gD);ds[t]=new $s(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_D,gD);ds[t]=new $s(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ds[e]=new $s(e,1,!1,e.toLowerCase(),null,!1,!1)});ds.xlinkHref=new $s("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ds[e]=new $s(e,1,!1,e.toLowerCase(),null,!0,!0)});function vD(e,t,r,n){var a=ds.hasOwnProperty(t)?ds[t]:null;(a!==null?a.type!==0:n||!(2o||a[s]!==i[o]){var l=` +`+a[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=o);break}}}finally{Sv=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?rm(e):""}function g8(e){switch(e.tag){case 5:return rm(e.type);case 16:return rm("Lazy");case 13:return rm("Suspense");case 19:return rm("SuspenseList");case 0:case 2:case 15:return e=yv(e.type,!1),e;case 11:return e=yv(e.type.render,!1),e;case 1:return e=yv(e.type,!0),e;default:return""}}function ny(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case rc:return"Fragment";case tc:return"Portal";case ey:return"Profiler";case SD:return"StrictMode";case ty:return"Suspense";case ry:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Q4:return(e.displayName||"Context")+".Consumer";case J4:return(e._context.displayName||"Context")+".Provider";case yD:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case MD:return t=e.displayName||null,t!==null?t:ny(e.type)||"Memo";case hl:t=e._payload,e=e._init;try{return ny(e(t))}catch{}}return null}function v8(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ny(t);case 8:return t===SD?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Kl(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function tT(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function S8(e){var t=tT(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(s){n=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(s){n=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function qd(e){e._valueTracker||(e._valueTracker=S8(e))}function rT(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=tT(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Dh(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function sy(e,t){var r=t.checked;return dn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function rb(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Kl(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function nT(e,t){t=t.checked,t!=null&&vD(e,"checked",t,!1)}function ay(e,t){nT(e,t);var r=Kl(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?iy(e,t.type,r):t.hasOwnProperty("defaultValue")&&iy(e,t.type,Kl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function nb(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function iy(e,t,r){(t!=="number"||Dh(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var nm=Array.isArray;function Sc(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=Yd.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function np(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var _m={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},y8=["Webkit","ms","Moz","O"];Object.keys(_m).forEach(function(e){y8.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),_m[t]=_m[e]})});function oT(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||_m.hasOwnProperty(e)&&_m[e]?(""+t).trim():t+"px"}function lT(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,a=oT(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}var M8=dn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function uy(e,t){if(t){if(M8[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(mt(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(mt(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(mt(61))}if(t.style!=null&&typeof t.style!="object")throw Error(mt(62))}}function cy(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var fy=null;function DD(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var my=null,yc=null,Mc=null;function ib(e){if(e=od(e)){if(typeof my!="function")throw Error(mt(280));var t=e.stateNode;t&&(t=sg(t),my(e.stateNode,e.type,t))}}function uT(e){yc?Mc?Mc.push(e):Mc=[e]:yc=e}function cT(){if(yc){var e=yc,t=Mc;if(Mc=yc=null,ib(e),t)for(e=0;e>>=0,e===0?32:31-(k8(e)/w8|0)|0}var Zd=64,Xd=4194304;function sm(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function bh(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,i=e.pingedLanes,s=r&268435455;if(s!==0){var o=s&~a;o!==0?n=sm(o):(i&=s,i!==0&&(n=sm(i)))}else s=r&~a,s!==0?n=sm(s):i!==0&&(n=sm(i));if(n===0)return 0;if(t!==0&&t!==n&&(t&a)===0&&(a=n&-n,i=t&-t,a>=i||a===16&&(i&4194240)!==0))return t;if((n&4)!==0&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function ad(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ei(t),e[t]=r}function V8(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=vm),hb=String.fromCharCode(32),_b=!1;function xT(e,t){switch(e){case"keyup":return f7.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function AT(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var nc=!1;function p7(e,t){switch(e){case"compositionend":return AT(t);case"keypress":return t.which!==32?null:(_b=!0,hb);case"textInput":return e=t.data,e===hb&&_b?null:e;default:return null}}function d7(e,t){if(nc)return e==="compositionend"||!xD&&xT(e,t)?(e=CT(),$1=LD=bl=null,nc=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=yb(r)}}function NT(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?NT(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function UT(){for(var e=window,t=Dh();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Dh(e.document)}return t}function AD(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function I7(e){var t=UT(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&NT(r.ownerDocument.documentElement,r)){if(n!==null&&AD(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=r.textContent.length,i=Math.min(n.start,a);n=n.end===void 0?i:Math.min(n.end,a),!e.extend&&i>n&&(a=n,n=i,i=a),a=Mb(r,i);var s=Mb(r,n);a&&s&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,sc=null,vy=null,ym=null,Sy=!1;function Db(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Sy||sc==null||sc!==Dh(n)||(n=sc,"selectionStart"in n&&AD(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ym&&up(ym,n)||(ym=n,n=Th(vy,"onSelect"),0oc||(e.current=Ey[oc],Ey[oc]=null,oc--)}function zr(e,t){oc++,Ey[oc]=e.current,e.current=t}var ql={},Ls=au(ql),Qs=au(!1),n0=ql;function Fc(e,t){var r=e.type.contextTypes;if(!r)return ql;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},i;for(i in r)a[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function ea(e){return e=e.childContextTypes,e!=null}function Ah(){en(Qs),en(Ls)}function Tb(e,t,r){if(Ls.current!==ql)throw Error(mt(168));zr(Ls,t),zr(Qs,r)}function WT(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in t))throw Error(mt(108,v8(e)||"Unknown",a));return dn({},r,n)}function kh(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ql,n0=Ls.current,zr(Ls,e),zr(Qs,Qs.current),!0}function xb(e,t,r){var n=e.stateNode;if(!n)throw Error(mt(169));r?(e=WT(e,t,n0),n.__reactInternalMemoizedMergedChildContext=e,en(Qs),en(Ls),zr(Ls,e)):en(Qs),zr(Qs,r)}var Lo=null,ag=!1,Pv=!1;function zT(e){Lo===null?Lo=[e]:Lo.push(e)}function N7(e){ag=!0,zT(e)}function iu(){if(!Pv&&Lo!==null){Pv=!0;var e=0,t=Nr;try{var r=Lo;for(Nr=1;e>=s,a-=s,Ao=1<<32-Ei(t)+a|r<T?(b=D,D=null):b=D.sibling;var N=m(S,D,g[T],y);if(N===null){D===null&&(D=b);break}e&&D&&N.alternate===null&&t(S,D),v=i(N,v,T),I===null?M=N:I.sibling=N,I=N,D=b}if(T===g.length)return r(S,D),ln&&Du(S,T),M;if(D===null){for(;TT?(b=D,D=null):b=D.sibling;var V=m(S,D,N.value,y);if(V===null){D===null&&(D=b);break}e&&D&&V.alternate===null&&t(S,D),v=i(V,v,T),I===null?M=V:I.sibling=V,I=V,D=b}if(N.done)return r(S,D),ln&&Du(S,T),M;if(D===null){for(;!N.done;T++,N=g.next())N=f(S,N.value,y),N!==null&&(v=i(N,v,T),I===null?M=N:I.sibling=N,I=N);return ln&&Du(S,T),M}for(D=n(S,D);!N.done;T++,N=g.next())N=d(D,S,T,N.value,y),N!==null&&(e&&N.alternate!==null&&D.delete(N.key===null?T:N.key),v=i(N,v,T),I===null?M=N:I.sibling=N,I=N);return e&&D.forEach(function(A){return t(S,A)}),ln&&Du(S,T),M}function _(S,v,g,y){if(typeof g=="object"&&g!==null&&g.type===rc&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Kd:e:{for(var M=g.key,I=v;I!==null;){if(I.key===M){if(M=g.type,M===rc){if(I.tag===7){r(S,I.sibling),v=a(I,g.props.children),v.return=S,S=v;break e}}else if(I.elementType===M||typeof M=="object"&&M!==null&&M.$$typeof===hl&&Vb(M)===I.type){r(S,I.sibling),v=a(I,g.props),v.ref=Nf(S,I,g),v.return=S,S=v;break e}r(S,I);break}else t(S,I);I=I.sibling}g.type===rc?(v=zu(g.props.children,S.mode,y,g.key),v.return=S,S=v):(y=Z1(g.type,g.key,g.props,null,S.mode,y),y.ref=Nf(S,v,g),y.return=S,S=y)}return s(S);case tc:e:{for(I=g.key;v!==null;){if(v.key===I)if(v.tag===4&&v.stateNode.containerInfo===g.containerInfo&&v.stateNode.implementation===g.implementation){r(S,v.sibling),v=a(v,g.children||[]),v.return=S,S=v;break e}else{r(S,v);break}else t(S,v);v=v.sibling}v=$v(g,S.mode,y),v.return=S,S=v}return s(S);case hl:return I=g._init,_(S,v,I(g._payload),y)}if(nm(g))return h(S,v,g,y);if(xf(g))return p(S,v,g,y);s1(S,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,v!==null&&v.tag===6?(r(S,v.sibling),v=a(v,g),v.return=S,S=v):(r(S,v),v=Hv(g,S.mode,y),v.return=S,S=v),s(S)):r(S,v)}return _}var Hc=ex(!0),tx=ex(!1),ld={},so=au(ld),pp=au(ld),dp=au(ld);function Fu(e){if(e===ld)throw Error(mt(174));return e}function BD(e,t){switch(zr(dp,t),zr(pp,e),zr(so,ld),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ly(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ly(t,e)}en(so),zr(so,t)}function $c(){en(so),en(pp),en(dp)}function rx(e){Fu(dp.current);var t=Fu(so.current),r=ly(t,e.type);t!==r&&(zr(pp,e),zr(so,r))}function HD(e){pp.current===e&&(en(so),en(pp))}var cn=au(0);function Rh(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Nv=[];function $D(){for(var e=0;er?r:4,e(!0);var n=Uv.transition;Uv.transition={};try{e(!1),t()}finally{Nr=r,Uv.transition=n}}function vx(){return ii().memoizedState}function F7(e,t,r){var n=jl(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Sx(e))yx(t,r);else if(r=ZT(e,t,r,n),r!==null){var a=Fs();bi(r,e,n,a),Mx(r,t,n)}}function B7(e,t,r){var n=jl(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Sx(e))yx(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,o=i(s,r);if(a.hasEagerState=!0,a.eagerState=o,Ai(o,s)){var l=t.interleaved;l===null?(a.next=a,RD(t)):(a.next=l.next,l.next=a),t.interleaved=a;return}}catch{}finally{}r=ZT(e,t,a,n),r!==null&&(a=Fs(),bi(r,e,n,a),Mx(r,t,n))}}function Sx(e){var t=e.alternate;return e===pn||t!==null&&t===pn}function yx(e,t){Mm=Fh=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Mx(e,t,r){if((r&4194240)!==0){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,OD(e,r)}}var Bh={readContext:ai,useCallback:hs,useContext:hs,useEffect:hs,useImperativeHandle:hs,useInsertionEffect:hs,useLayoutEffect:hs,useMemo:hs,useReducer:hs,useRef:hs,useState:hs,useDebugValue:hs,useDeferredValue:hs,useTransition:hs,useMutableSource:hs,useSyncExternalStore:hs,useId:hs,unstable_isNewReconciler:!1},H7={readContext:ai,useCallback:function(e,t){return $i().memoizedState=[e,t===void 0?null:t],e},useContext:ai,useEffect:Fb,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,z1(4194308,4,px.bind(null,t,e),r)},useLayoutEffect:function(e,t){return z1(4194308,4,e,t)},useInsertionEffect:function(e,t){return z1(4,2,e,t)},useMemo:function(e,t){var r=$i();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=$i();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=F7.bind(null,pn,e),[n.memoizedState,e]},useRef:function(e){var t=$i();return e={current:e},t.memoizedState=e},useState:Rb,useDebugValue:KD,useDeferredValue:function(e){return $i().memoizedState=e},useTransition:function(){var e=Rb(!1),t=e[0];return e=R7.bind(null,e[1]),$i().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=pn,a=$i();if(ln){if(r===void 0)throw Error(mt(407));r=r()}else{if(r=t(),Qn===null)throw Error(mt(349));(a0&30)!==0||ax(n,t,r)}a.memoizedState=r;var i={value:r,getSnapshot:t};return a.queue=i,Fb(ox.bind(null,n,i,e),[e]),n.flags|=2048,gp(9,ix.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=$i(),t=Qn.identifierPrefix;if(ln){var r=ko,n=Ao;r=(n&~(1<<32-Ei(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=hp++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=s.createElement(r,{is:n.is}):(e=s.createElement(r),r==="select"&&(s=e,n.multiple?s.multiple=!0:n.size&&(s.size=n.size))):e=s.createElementNS(e,r),e[qi]=t,e[mp]=n,xx(e,t,!1,!1),t.stateNode=e;e:{switch(s=cy(r,n),r){case"dialog":qr("cancel",e),qr("close",e),a=n;break;case"iframe":case"object":case"embed":qr("load",e),a=n;break;case"video":case"audio":for(a=0;aGc&&(t.flags|=128,n=!0,Uf(i,!1),t.lanes=4194304)}else{if(!n)if(e=Rh(s),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Uf(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!ln)return _s(t),null}else 2*bn()-i.renderingStartTime>Gc&&r!==1073741824&&(t.flags|=128,n=!0,Uf(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(r=i.last,r!==null?r.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=bn(),t.sibling=null,r=cn.current,zr(cn,n?r&1|2:r&1),t):(_s(t),null);case 22:case 23:return QD(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&(t.mode&1)!==0?(ca&1073741824)!==0&&(_s(t),t.subtreeFlags&6&&(t.flags|=8192)):_s(t),null;case 24:return null;case 25:return null}throw Error(mt(156,t.tag))}function Y7(e,t){switch(wD(t),t.tag){case 1:return ea(t.type)&&Ah(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $c(),en(Qs),en(Ls),$D(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return HD(t),null;case 13:if(en(cn),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(mt(340));Bc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return en(cn),null;case 4:return $c(),null;case 10:return VD(t.type._context),null;case 22:case 23:return QD(),null;case 24:return null;default:return null}}var i1=!1,Ms=!1,Z7=typeof WeakSet=="function"?WeakSet:Set,Lt=null;function fc(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){vn(e,t,n)}else r.current=null}function Vy(e,t,r){try{r()}catch(n){vn(e,t,n)}}var qb=!1;function X7(e,t){if(yy=Lh,e=UT(),AD(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var a=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var s=0,o=-1,l=-1,u=0,c=0,f=e,m=null;t:for(;;){for(var d;f!==r||a!==0&&f.nodeType!==3||(o=s+a),f!==i||n!==0&&f.nodeType!==3||(l=s+n),f.nodeType===3&&(s+=f.nodeValue.length),(d=f.firstChild)!==null;)m=f,f=d;for(;;){if(f===e)break t;if(m===r&&++u===a&&(o=s),m===i&&++c===n&&(l=s),(d=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=d}r=o===-1||l===-1?null:{start:o,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(My={focusedElem:e,selectionRange:r},Lh=!1,Lt=t;Lt!==null;)if(t=Lt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Lt=e;else for(;Lt!==null;){t=Lt;try{var h=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var p=h.memoizedProps,_=h.memoizedState,S=t.stateNode,v=S.getSnapshotBeforeUpdate(t.elementType===t.type?p:gi(t.type,p),_);S.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(mt(163))}}catch(y){vn(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,Lt=e;break}Lt=t.return}return h=qb,qb=!1,h}function Dm(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var a=n=n.next;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,i!==void 0&&Vy(t,r,i)}a=a.next}while(a!==n)}}function lg(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Ry(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function wx(e){var t=e.alternate;t!==null&&(e.alternate=null,wx(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[qi],delete t[mp],delete t[Oy],delete t[w7],delete t[P7])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Px(e){return e.tag===5||e.tag===3||e.tag===4}function Yb(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Px(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Fy(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=xh));else if(n!==4&&(e=e.child,e!==null))for(Fy(e,t,r),e=e.sibling;e!==null;)Fy(e,t,r),e=e.sibling}function By(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(By(e,t,r),e=e.sibling;e!==null;)By(e,t,r),e=e.sibling}var us=null,vi=!1;function fl(e,t,r){for(r=r.child;r!==null;)Nx(e,t,r),r=r.sibling}function Nx(e,t,r){if(no&&typeof no.onCommitFiberUnmount=="function")try{no.onCommitFiberUnmount(eg,r)}catch{}switch(r.tag){case 5:Ms||fc(r,t);case 6:var n=us,a=vi;us=null,fl(e,t,r),us=n,vi=a,us!==null&&(vi?(e=us,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):us.removeChild(r.stateNode));break;case 18:us!==null&&(vi?(e=us,r=r.stateNode,e.nodeType===8?wv(e.parentNode,r):e.nodeType===1&&wv(e,r),op(e)):wv(us,r.stateNode));break;case 4:n=us,a=vi,us=r.stateNode.containerInfo,vi=!0,fl(e,t,r),us=n,vi=a;break;case 0:case 11:case 14:case 15:if(!Ms&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){a=n=n.next;do{var i=a,s=i.destroy;i=i.tag,s!==void 0&&((i&2)!==0||(i&4)!==0)&&Vy(r,t,s),a=a.next}while(a!==n)}fl(e,t,r);break;case 1:if(!Ms&&(fc(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(o){vn(r,t,o)}fl(e,t,r);break;case 21:fl(e,t,r);break;case 22:r.mode&1?(Ms=(n=Ms)||r.memoizedState!==null,fl(e,t,r),Ms=n):fl(e,t,r);break;default:fl(e,t,r)}}function Zb(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Z7),t.forEach(function(n){var a=iV.bind(null,e,n);r.has(n)||(r.add(n),n.then(a,a))})}}function di(e,t){var r=t.deletions;if(r!==null)for(var n=0;na&&(a=s),n&=~i}if(n=a,n=bn()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Q7(n/1960))-n,10e?16:e,Ll===null)var n=!1;else{if(e=Ll,Ll=null,jh=0,(pr&6)!==0)throw Error(mt(331));var a=pr;for(pr|=4,Lt=e.current;Lt!==null;){var i=Lt,s=i.child;if((Lt.flags&16)!==0){var o=i.deletions;if(o!==null){for(var l=0;lbn()-XD?Wu(e,0):ZD|=r),ta(e,t)}function jx(e,t){t===0&&((e.mode&1)===0?t=1:(t=Xd,Xd<<=1,(Xd&130023424)===0&&(Xd=4194304)));var r=Fs();e=Ko(e,t),e!==null&&(ad(e,t,r),ta(e,r))}function aV(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),jx(e,r)}function iV(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(r=a.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(mt(314))}n!==null&&n.delete(t),jx(e,r)}var Gx;Gx=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Qs.current)Js=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return Js=!1,K7(e,t,r);Js=(e.flags&131072)!==0}else Js=!1,ln&&(t.flags&1048576)!==0&&KT(t,Ph,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;K1(e,t),e=t.pendingProps;var a=Fc(t,Ls.current);Ic(t,r),a=GD(null,t,n,e,a,r);var i=WD();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ea(n)?(i=!0,kh(t)):i=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,FD(t),a.updater=ig,t.stateNode=a,a._reactInternals=t,xy(t,n,e,r),t=wy(null,t,n,!0,i,r)):(t.tag=0,ln&&i&&kD(t),Us(null,t,a,r),t=t.child),t;case 16:n=t.elementType;e:{switch(K1(e,t),e=t.pendingProps,a=n._init,n=a(n._payload),t.type=n,a=t.tag=lV(n),e=gi(n,e),a){case 0:t=ky(null,t,n,e,r);break e;case 1:t=Wb(null,t,n,e,r);break e;case 11:t=jb(null,t,n,e,r);break e;case 14:t=Gb(null,t,n,gi(n.type,e),r);break e}throw Error(mt(306,n,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:gi(n,a),ky(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:gi(n,a),Wb(e,t,n,a,r);case 3:e:{if(Lx(t),e===null)throw Error(mt(387));n=t.pendingProps,i=t.memoizedState,a=i.element,XT(e,t),Vh(t,n,null,r);var s=t.memoizedState;if(n=s.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){a=jc(Error(mt(423)),t),t=zb(e,t,n,r,a);break e}else if(n!==a){a=jc(Error(mt(424)),t),t=zb(e,t,n,r,a);break e}else for(ya=Bl(t.stateNode.containerInfo.firstChild),Ia=t,ln=!0,yi=null,r=tx(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Bc(),n===a){t=qo(e,t,r);break e}Us(e,t,n,r)}t=t.child}return t;case 5:return rx(t),e===null&&Ly(t),n=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,s=a.children,Dy(n,a)?s=null:i!==null&&Dy(n,i)&&(t.flags|=32),bx(e,t),Us(e,t,s,r),t.child;case 6:return e===null&&Ly(t),null;case 13:return Cx(e,t,r);case 4:return BD(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Hc(t,null,n,r):Us(e,t,n,r),t.child;case 11:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:gi(n,a),jb(e,t,n,a,r);case 7:return Us(e,t,t.pendingProps,r),t.child;case 8:return Us(e,t,t.pendingProps.children,r),t.child;case 12:return Us(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,a=t.pendingProps,i=t.memoizedProps,s=a.value,zr(Nh,n._currentValue),n._currentValue=s,i!==null)if(Ai(i.value,s)){if(i.children===a.children&&!Qs.current){t=qo(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var o=i.dependencies;if(o!==null){s=i.child;for(var l=o.firstContext;l!==null;){if(l.context===n){if(i.tag===1){l=Vo(-1,r&-r),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=r,l=i.alternate,l!==null&&(l.lanes|=r),Cy(i.return,r,t),o.lanes|=r;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(mt(341));s.lanes|=r,o=s.alternate,o!==null&&(o.lanes|=r),Cy(s,r,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Us(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,n=t.pendingProps.children,Ic(t,r),a=ai(a),n=n(a),t.flags|=1,Us(e,t,n,r),t.child;case 14:return n=t.type,a=gi(n,t.pendingProps),a=gi(n.type,a),Gb(e,t,n,a,r);case 15:return Ox(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:gi(n,a),K1(e,t),t.tag=1,ea(n)?(e=!0,kh(t)):e=!1,Ic(t,r),QT(t,n,a),xy(t,n,a,r),wy(null,t,n,!0,e,r);case 19:return Tx(e,t,r);case 22:return Ex(e,t,r)}throw Error(mt(156,t.tag))};function Wx(e,t){return gT(e,t)}function oV(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Qa(e,t,r,n){return new oV(e,t,r,n)}function tI(e){return e=e.prototype,!(!e||!e.isReactComponent)}function lV(e){if(typeof e=="function")return tI(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yD)return 11;if(e===MD)return 14}return 2}function Gl(e,t){var r=e.alternate;return r===null?(r=Qa(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Z1(e,t,r,n,a,i){var s=2;if(n=e,typeof e=="function")tI(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case rc:return zu(r.children,a,i,t);case SD:s=8,a|=8;break;case ey:return e=Qa(12,r,t,a|2),e.elementType=ey,e.lanes=i,e;case ty:return e=Qa(13,r,t,a),e.elementType=ty,e.lanes=i,e;case ry:return e=Qa(19,r,t,a),e.elementType=ry,e.lanes=i,e;case eT:return cg(r,a,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case J4:s=10;break e;case Q4:s=9;break e;case yD:s=11;break e;case MD:s=14;break e;case hl:s=16,n=null;break e}throw Error(mt(130,e==null?e:typeof e,""))}return t=Qa(s,r,t,a),t.elementType=e,t.type=n,t.lanes=i,t}function zu(e,t,r,n){return e=Qa(7,e,n,t),e.lanes=r,e}function cg(e,t,r,n){return e=Qa(22,e,n,t),e.elementType=eT,e.lanes=r,e.stateNode={isHidden:!1},e}function Hv(e,t,r){return e=Qa(6,e,null,t),e.lanes=r,e}function $v(e,t,r){return t=Qa(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function uV(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Dv(0),this.expirationTimes=Dv(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dv(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function rI(e,t,r,n,a,i,s,o,l){return e=new uV(e,t,r,o,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Qa(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},FD(i),e}function cV(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}t(),e.exports=Ta})(cf);const u1=fD(cf.exports);var sL=cf.exports;JS.createRoot=sL.createRoot,JS.hydrateRoot=sL.hydrateRoot;function dr(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;ne.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function MV(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function DV(e){var t=MV(e,"string");return typeof t=="symbol"?t:String(t)}var eo=Symbol("mobx-stored-annotations");function io(e){function t(r,n){cd(r,n,e)}return Object.assign(t,e)}function cd(e,t,r){Ro(e,eo)||gg(e,eo,Wc({},e[eo])),AV(r)||(e[eo][t]=r)}function IV(e){return Ro(e,eo)||gg(e,eo,Wc({},e[eo])),e[eo]}var qt=Symbol("mobx administration"),fd=function(){function e(r){r===void 0&&(r="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Dr.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=r}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(n){return n()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(n){return n()})},t.reportObserved=function(){return O9(this)},t.reportChanged=function(){Ma(),E9(this),Da()},t.toString=function(){return this.name_},e}(),lI=O0("Atom",fd);function s9(e,t,r){t===void 0&&(t=pc),r===void 0&&(r=pc);var n=new fd(e);return t!==pc&&TR(n,t),r!==pc&&w9(n,r),n}function OV(e,t){return e===t}function EV(e,t){return dI(e,t)}function bV(e,t){return dI(e,t,1)}function LV(e,t){return Object.is?Object.is(e,t):e===t?e!==0||1/e===1/t:e!==e&&t!==t}var Kh={identity:OV,structural:EV,default:LV,shallow:bV};function zc(e,t,r){return V9(e)?e:Array.isArray(e)?Zn.array(e,{name:r}):Yl(e)?Zn.object(e,void 0,{name:r}):pf(e)?Zn.map(e,{name:r}):ud(e)?Zn.set(e,{name:r}):typeof e=="function"&&!fI(e)&&!Xh(e)?Qx(e)?Dp(e):Mp(r,e):e}function CV(e,t,r){if(e==null||Ip(e)||Ig(e)||E0(e)||hf(e))return e;if(Array.isArray(e))return Zn.array(e,{name:r,deep:!1});if(Yl(e))return Zn.object(e,void 0,{name:r,deep:!1});if(pf(e))return Zn.map(e,{name:r,deep:!1});if(ud(e))return Zn.set(e,{name:r,deep:!1})}function Sg(e){return e}function TV(e,t){return dI(e,t)?t:e}var xV="override";function AV(e){return e.annotationType_===xV}function md(e,t){return{annotationType_:e,options_:t,make_:kV,extend_:wV}}function kV(e,t,r,n){var a;if((a=this.options_)!=null&&a.bound)return this.extend_(e,t,r,!1)===null?0:1;if(n===e.target_)return this.extend_(e,t,r,!1)===null?0:2;if(fI(r.value))return 1;var i=a9(e,this,t,r,!1);return ao(n,t,i),2}function wV(e,t,r,n){var a=a9(e,this,t,r);return e.defineProperty_(t,a,n)}function PV(e,t,r,n){t.annotationType_,n.value}function a9(e,t,r,n,a){var i,s,o,l,u,c,f;a===void 0&&(a=St.safeDescriptors),PV(e,t,r,n);var m=n.value;if((i=t.options_)!=null&&i.bound){var d;m=m.bind((d=e.proxy_)!=null?d:e.target_)}return{value:Kc((s=(o=t.options_)==null?void 0:o.name)!=null?s:r.toString(),m,(l=(u=t.options_)==null?void 0:u.autoAction)!=null?l:!1,(c=t.options_)!=null&&c.bound?(f=e.proxy_)!=null?f:e.target_:void 0),configurable:a?e.isPlainObject_:!0,enumerable:!1,writable:!a}}function i9(e,t){return{annotationType_:e,options_:t,make_:NV,extend_:UV}}function NV(e,t,r,n){var a;if(n===e.target_)return this.extend_(e,t,r,!1)===null?0:2;if((a=this.options_)!=null&&a.bound&&(!Ro(e.target_,t)||!Xh(e.target_[t]))&&this.extend_(e,t,r,!1)===null)return 0;if(Xh(r.value))return 1;var i=o9(e,this,t,r,!1,!1);return ao(n,t,i),2}function UV(e,t,r,n){var a,i=o9(e,this,t,r,(a=this.options_)==null?void 0:a.bound);return e.defineProperty_(t,i,n)}function VV(e,t,r,n){t.annotationType_,n.value}function o9(e,t,r,n,a,i){i===void 0&&(i=St.safeDescriptors),VV(e,t,r,n);var s=n.value;if(Xh(s)||(s=Dp(s)),a){var o;s=s.bind((o=e.proxy_)!=null?o:e.target_),s.isMobXFlow=!0}return{value:s,configurable:i?e.isPlainObject_:!0,enumerable:!1,writable:!i}}function uI(e,t){return{annotationType_:e,options_:t,make_:RV,extend_:FV}}function RV(e,t,r){return this.extend_(e,t,r,!1)===null?0:1}function FV(e,t,r,n){return BV(e,this,t,r),e.defineComputedProperty_(t,Wc({},this.options_,{get:r.get,set:r.set}),n)}function BV(e,t,r,n){t.annotationType_,n.get}function yg(e,t){return{annotationType_:e,options_:t,make_:HV,extend_:$V}}function HV(e,t,r){return this.extend_(e,t,r,!1)===null?0:1}function $V(e,t,r,n){var a,i;return jV(e,this),e.defineObservableProperty_(t,r.value,(a=(i=this.options_)==null?void 0:i.enhancer)!=null?a:zc,n)}function jV(e,t,r,n){t.annotationType_}var GV="true",WV=l9();function l9(e){return{annotationType_:GV,options_:e,make_:zV,extend_:KV}}function zV(e,t,r,n){var a,i;if(r.get)return Mg.make_(e,t,r,n);if(r.set){var s=Kc(t.toString(),r.set);return n===e.target_?e.defineProperty_(t,{configurable:St.safeDescriptors?e.isPlainObject_:!0,set:s})===null?0:2:(ao(n,t,{configurable:!0,set:s}),2)}if(n!==e.target_&&typeof r.value=="function"){var o;if(Qx(r.value)){var l,u=(l=this.options_)!=null&&l.autoBind?Dp.bound:Dp;return u.make_(e,t,r,n)}var c=(o=this.options_)!=null&&o.autoBind?Mp.bound:Mp;return c.make_(e,t,r,n)}var f=((a=this.options_)==null?void 0:a.deep)===!1?Zn.ref:Zn;if(typeof r.value=="function"&&(i=this.options_)!=null&&i.autoBind){var m;r.value=r.value.bind((m=e.proxy_)!=null?m:e.target_)}return f.make_(e,t,r,n)}function KV(e,t,r,n){var a,i;if(r.get)return Mg.extend_(e,t,r,n);if(r.set)return e.defineProperty_(t,{configurable:St.safeDescriptors?e.isPlainObject_:!0,set:Kc(t.toString(),r.set)},n);if(typeof r.value=="function"&&(a=this.options_)!=null&&a.autoBind){var s;r.value=r.value.bind((s=e.proxy_)!=null?s:e.target_)}var o=((i=this.options_)==null?void 0:i.deep)===!1?Zn.ref:Zn;return o.extend_(e,t,r,n)}var qV="observable",YV="observable.ref",ZV="observable.shallow",XV="observable.struct",u9={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(u9);function c1(e){return e||u9}var c9=yg(qV),JV=yg(YV,{enhancer:Sg}),QV=yg(ZV,{enhancer:CV}),eR=yg(XV,{enhancer:TV}),f9=io(c9);function f1(e){return e.deep===!0?zc:e.deep===!1?Sg:rR(e.defaultDecorator)}function tR(e){var t;return e?(t=e.defaultDecorator)!=null?t:l9(e):void 0}function rR(e){var t,r;return e&&(t=(r=e.options_)==null?void 0:r.enhancer)!=null?t:zc}function m9(e,t,r){if(l0(t)){cd(e,t,c9);return}return V9(e)?e:Yl(e)?Zn.object(e,t,r):Array.isArray(e)?Zn.array(e,t):pf(e)?Zn.map(e,t):ud(e)?Zn.set(e,t):typeof e=="object"&&e!==null?e:Zn.box(e,t)}Yx(m9,f9);var nR={box:function(t,r){var n=c1(r);return new Ec(t,f1(n),n.name,!0,n.equals)},array:function(t,r){var n=c1(r);return(St.useProxies===!1||n.proxy===!1?tF:zR)(t,f1(n),n.name)},map:function(t,r){var n=c1(r);return new H9(t,f1(n),n.name)},set:function(t,r){var n=c1(r);return new G9(t,f1(n),n.name)},object:function(t,r,n){return wR(St.useProxies===!1||n?.proxy===!1?Og({},n):$R({},n),t,r)},ref:io(JV),shallow:io(QV),deep:f9,struct:io(eR)},Zn=Yx(m9,nR),p9="computed",sR="computed.struct",d9=uI(p9),aR=uI(sR,{equals:Kh.structural}),Mg=function(t,r){if(l0(r))return cd(t,r,d9);if(Yl(t))return io(uI(p9,t));var n=Yl(r)?r:{};return n.get=t,n.name||(n.name=t.name||""),new Sp(n)};Object.assign(Mg,d9);Mg.struct=io(aR);var oL,lL,qh=0,iR=1,oR=(oL=(lL=zh(function(){},"name"))==null?void 0:lL.configurable)!=null?oL:!1,uL={value:"action",configurable:!0,writable:!1,enumerable:!1};function Kc(e,t,r,n){r===void 0&&(r=!1);function a(){return h9(e,r,t,n||this,arguments)}return a.isMobxAction=!0,oR&&(uL.value=e,ao(a,"name",uL)),a}function h9(e,t,r,n,a){var i=lR(e,t);try{return r.apply(n,a)}catch(s){throw i.error_=s,s}finally{uR(i)}}function lR(e,t,r,n){var a=!1,i=0,s=St.trackingDerivation,o=!t||!s;Ma();var l=St.allowStateChanges;o&&(df(),l=pd(!0));var u=cI(!0),c={runAsAction_:o,prevDerivation_:s,prevAllowStateChanges_:l,prevAllowStateReads_:u,notifySpy_:a,startTime_:i,actionId_:iR++,parentActionId_:qh};return qh=c.actionId_,c}function uR(e){qh!==e.actionId_&&dr(30),qh=e.parentActionId_,e.error_!==void 0&&(St.suppressReactionErrors=!0),dd(e.prevAllowStateChanges_),Em(e.prevAllowStateReads_),Da(),e.runAsAction_&&Wl(e.prevDerivation_),St.suppressReactionErrors=!1}function cR(e,t){var r=pd(e);try{return t()}finally{dd(r)}}function pd(e){var t=St.allowStateChanges;return St.allowStateChanges=e,t}function dd(e){St.allowStateChanges=e}var _9;_9=Symbol.toPrimitive;var Ec=function(e){n9(t,e);function t(n,a,i,s,o){var l;return i===void 0&&(i="ObservableValue"),o===void 0&&(o=Kh.default),l=e.call(this,i)||this,l.enhancer=void 0,l.name_=void 0,l.equals=void 0,l.hasUnreportedChange_=!1,l.interceptors_=void 0,l.changeListeners_=void 0,l.value_=void 0,l.dehancer=void 0,l.enhancer=a,l.name_=i,l.equals=o,l.value_=a(n,void 0,i),l}var r=t.prototype;return r.dehanceValue=function(a){return this.dehancer!==void 0?this.dehancer(a):a},r.set=function(a){this.value_,a=this.prepareNewValue_(a),a!==St.UNCHANGED&&this.setNewValue_(a)},r.prepareNewValue_=function(a){if(Xa(this)){var i=Ja(this,{object:this,type:oo,newValue:a});if(!i)return St.UNCHANGED;a=i.newValue}return a=this.enhancer(a,this.value_,this.name_),this.equals(this.value_,a)?St.UNCHANGED:a},r.setNewValue_=function(a){var i=this.value_;this.value_=a,this.reportChanged(),Li(this)&&Ci(this,{type:oo,object:this,newValue:a,oldValue:i})},r.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},r.intercept_=function(a){return hd(this,a)},r.observe_=function(a,i){return i&&a({observableKind:"value",debugObjectName:this.name_,object:this,type:oo,newValue:this.value_,oldValue:void 0}),_d(this,a)},r.raw=function(){return this.value_},r.toJSON=function(){return this.get()},r.toString=function(){return this.name_+"["+this.value_+"]"},r.valueOf=function(){return r9(this.get())},r[_9]=function(){return this.valueOf()},t}(fd),g9;g9=Symbol.toPrimitive;var Sp=function(){function e(r){this.dependenciesState_=Dr.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Dr.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Yh(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Ku.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,r.get||dr(31),this.derivation=r.get,this.name_=r.name||"ComputedValue",r.set&&(this.setter_=Kc("ComputedValue-setter",r.set)),this.equals_=r.equals||(r.compareStructural||r.struct?Kh.structural:Kh.default),this.scope_=r.context,this.requiresReaction_=r.requiresReaction,this.keepAlive_=!!r.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){hR(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(n){return n()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(n){return n()})},t.get=function(){if(this.isComputing_&&dr(32,this.name_,this.derivation),St.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)Ky(this)&&(this.warnAboutUntrackedRead_(),Ma(),this.value_=this.computeValue_(!1),Da());else if(O9(this),Ky(this)){var n=St.trackingContext;this.keepAlive_&&!n&&(St.trackingContext=this),this.trackAndCompute()&&dR(this),St.trackingContext=n}var a=this.value_;if(X1(a))throw a.cause;return a},t.set=function(n){if(this.setter_){this.isRunningSetter_&&dr(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,n)}finally{this.isRunningSetter_=!1}}else dr(34,this.name_)},t.trackAndCompute=function(){var n=this.value_,a=this.dependenciesState_===Dr.NOT_TRACKING_,i=this.computeValue_(!0),s=a||X1(n)||X1(i)||!this.equals_(n,i);return s&&(this.value_=i),s},t.computeValue_=function(n){this.isComputing_=!0;var a=pd(!1),i;if(n)i=v9(this,this.derivation,this.scope_);else if(St.disableErrorBoundaries===!0)i=this.derivation.call(this.scope_);else try{i=this.derivation.call(this.scope_)}catch(s){i=new Yh(s)}return dd(a),this.isComputing_=!1,i},t.suspend_=function(){this.keepAlive_||(qy(this),this.value_=void 0)},t.observe_=function(n,a){var i=this,s=!0,o=void 0;return OR(function(){var l=i.get();if(!s||a){var u=df();n({observableKind:"computed",debugObjectName:i.name_,type:oo,object:i,newValue:l,oldValue:o}),Wl(u)}s=!1,o=l})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return r9(this.get())},t[g9]=function(){return this.valueOf()},e}(),Dg=O0("ComputedValue",Sp),Dr;(function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"})(Dr||(Dr={}));var Ku;(function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"})(Ku||(Ku={}));var Yh=function(t){this.cause=void 0,this.cause=t};function X1(e){return e instanceof Yh}function Ky(e){switch(e.dependenciesState_){case Dr.UP_TO_DATE_:return!1;case Dr.NOT_TRACKING_:case Dr.STALE_:return!0;case Dr.POSSIBLY_STALE_:{for(var t=cI(!0),r=df(),n=e.observing_,a=n.length,i=0;in&&(n=o.dependenciesState_)}for(r.length=a,e.newObserving_=null,i=t.length;i--;){var l=t[i];l.diffValue_===0&&D9(l,e),l.diffValue_=0}for(;a--;){var u=r[a];u.diffValue_===1&&(u.diffValue_=0,pR(u,e))}n!==Dr.UP_TO_DATE_&&(e.dependenciesState_=n,e.onBecomeStale_())}function qy(e){var t=e.observing_;e.observing_=[];for(var r=t.length;r--;)D9(t[r],e);e.dependenciesState_=Dr.NOT_TRACKING_}function S9(e){var t=df();try{return e()}finally{Wl(t)}}function df(){var e=St.trackingDerivation;return St.trackingDerivation=null,e}function Wl(e){St.trackingDerivation=e}function cI(e){var t=St.allowStateReads;return St.allowStateReads=e,t}function Em(e){St.allowStateReads=e}function y9(e){if(e.dependenciesState_!==Dr.UP_TO_DATE_){e.dependenciesState_=Dr.UP_TO_DATE_;for(var t=e.observing_,r=t.length;r--;)t[r].lowestObserverState_=Dr.UP_TO_DATE_}}var J1=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},Q1=!0,M9=!1,St=function(){var e=iI();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Q1=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==new J1().version&&(Q1=!1),Q1?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new J1):(setTimeout(function(){M9||dr(35)},1),new J1)}();function mR(){if((St.pendingReactions.length||St.inBatch||St.isRunningReactions)&&dr(36),M9=!0,Q1){var e=iI();--e.__mobxInstanceCount===0&&(e.__mobxGlobals=void 0),St=new J1}}function pR(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function D9(e,t){e.observers_.delete(t),e.observers_.size===0&&I9(e)}function I9(e){e.isPendingUnobservation_===!1&&(e.isPendingUnobservation_=!0,St.pendingUnobservations.push(e))}function Ma(){St.inBatch++}function Da(){if(--St.inBatch===0){b9();for(var e=St.pendingUnobservations,t=0;t0&&I9(e),!1)}function E9(e){e.lowestObserverState_!==Dr.STALE_&&(e.lowestObserverState_=Dr.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===Dr.UP_TO_DATE_&&t.onBecomeStale_(),t.dependenciesState_=Dr.STALE_}))}function dR(e){e.lowestObserverState_!==Dr.STALE_&&(e.lowestObserverState_=Dr.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===Dr.POSSIBLY_STALE_?t.dependenciesState_=Dr.STALE_:t.dependenciesState_===Dr.UP_TO_DATE_&&(e.lowestObserverState_=Dr.UP_TO_DATE_)}))}function hR(e){e.lowestObserverState_===Dr.UP_TO_DATE_&&(e.lowestObserverState_=Dr.POSSIBLY_STALE_,e.observers_.forEach(function(t){t.dependenciesState_===Dr.UP_TO_DATE_&&(t.dependenciesState_=Dr.POSSIBLY_STALE_,t.onBecomeStale_())}))}var yp=function(){function e(r,n,a,i){r===void 0&&(r="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Dr.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=Ku.NONE,this.name_=r,this.onInvalidate_=n,this.errorHandler_=a,this.requiresObservable_=i}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,St.pendingReactions.push(this),b9())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){Ma(),this.isScheduled_=!1;var n=St.trackingContext;if(St.trackingContext=this,Ky(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(a){this.reportExceptionInDerivation_(a)}}St.trackingContext=n,Da()}},t.track=function(n){if(!this.isDisposed_){Ma(),this.isRunning_=!0;var a=St.trackingContext;St.trackingContext=this;var i=v9(this,n,void 0);St.trackingContext=a,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&qy(this),X1(i)&&this.reportExceptionInDerivation_(i.cause),Da()}},t.reportExceptionInDerivation_=function(n){var a=this;if(this.errorHandler_){this.errorHandler_(n,this);return}if(St.disableErrorBoundaries)throw n;var i="[mobx] uncaught error in '"+this+"'";St.suppressReactionErrors||console.error(i,n),St.globalReactionErrorHandlers.forEach(function(s){return s(n,a)})},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(Ma(),qy(this),Da()))},t.getDisposer_=function(){var n=this.dispose.bind(this);return n[qt]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(n){n===void 0&&(n=!1),FR(this,n)},e}(),_R=100,Yy=function(t){return t()};function b9(){St.inBatch>0||St.isRunningReactions||Yy(gR)}function gR(){St.isRunningReactions=!0;for(var e=St.pendingReactions,t=0;e.length>0;){++t===_R&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var r=e.splice(0),n=0,a=r.length;n0&&(t.dependencies=NR(e.observing_).map(N9)),t}function NR(e){return Array.from(new Set(e))}var UR=0;function U9(){this.message="FLOW_CANCELLED"}U9.prototype=Object.create(Error.prototype);var cL=i9("flow"),VR=i9("flow.bound",{bound:!0}),Dp=Object.assign(function(t,r){if(l0(r))return cd(t,r,cL);var n=t,a=n.name||"",i=function(){var o=this,l=arguments,u=++UR,c=ir(a+" - runid: "+u+" - init",n).apply(o,l),f,m=void 0,d=new Promise(function(h,p){var _=0;f=p;function S(y){m=void 0;var M;try{M=ir(a+" - runid: "+u+" - yield "+_++,c.next).call(c,y)}catch(I){return p(I)}g(M)}function v(y){m=void 0;var M;try{M=ir(a+" - runid: "+u+" - yield "+_++,c.throw).call(c,y)}catch(I){return p(I)}g(M)}function g(y){if(ki(y?.then)){y.then(g,p);return}return y.done?h(y.value):(m=Promise.resolve(y.value),m.then(S,v))}S(void 0)});return d.cancel=ir(a+" - runid: "+u+" - cancel",function(){try{m&&fL(m);var h=c.return(void 0),p=Promise.resolve(h.value);p.then(pc,pc),fL(p),f(new U9)}catch(_){f(_)}}),d};return i.isMobXFlow=!0,i},cL);Dp.bound=io(VR);function fL(e){ki(e.cancel)&&e.cancel()}function Xh(e){return e?.isMobXFlow===!0}function RR(e,t){return e?t!==void 0?Ip(e)?e[qt].values_.has(t):!1:Ip(e)||!!e[qt]||lI(e)||Zh(e)||Dg(e):!1}function V9(e){return RR(e)}function FR(){dr("trace() is not available in production builds");for(var e=!1,t=arguments.length,r=new Array(t),n=0;n0}function hd(e,t){var r=e.interceptors_||(e.interceptors_=[]);return r.push(t),Jx(function(){var n=r.indexOf(t);n!==-1&&r.splice(n,1)})}function Ja(e,t){var r=df();try{for(var n=[].concat(e.interceptors_||[]),a=0,i=n.length;a0}function _d(e,t){var r=e.changeListeners_||(e.changeListeners_=[]);return r.push(t),Jx(function(){var n=r.indexOf(t);n!==-1&&r.splice(n,1)})}function Ci(e,t){var r=df(),n=e.changeListeners_;if(!!n){n=n.slice();for(var a=0,i=n.length;a0?n.map(this.dehancer):n},t.intercept_=function(n){return hd(this,n)},t.observe_=function(n,a){return a===void 0&&(a=!1),a&&n({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),_d(this,n)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(n){(typeof n!="number"||isNaN(n)||n<0)&&dr("Out of range: "+n);var a=this.values_.length;if(n!==a)if(n>a){for(var i=new Array(n-a),s=0;s0&&q9(n+a+1)},t.spliceWithArray_=function(n,a,i){var s=this;this.atom_;var o=this.values_.length;if(n===void 0?n=0:n>o?n=o:n<0&&(n=Math.max(0,o+n)),arguments.length===1?a=o-n:a==null?a=0:a=Math.max(0,Math.min(a,o-n)),i===void 0&&(i=Wy),Xa(this)){var l=Ja(this,{object:this.proxy_,type:mL,index:n,removedCount:a,added:i});if(!l)return Wy;a=l.removedCount,i=l.added}if(i=i.length===0?i:i.map(function(f){return s.enhancer_(f,void 0)}),this.legacyMode_){var u=i.length-a;this.updateArrayLength_(o,u)}var c=this.spliceItemsIntoValues_(n,a,i);return(a!==0||i.length!==0)&&this.notifyArraySplice_(n,i,c),this.dehanceValues_(c)},t.spliceItemsIntoValues_=function(n,a,i){if(i.length=this.values_.length){console.warn("[mobx] Out of bounds read: "+n);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[n])},t.set_=function(n,a){var i=this.values_;if(this.legacyMode_&&n>i.length&&dr(17,n,i.length),n2?n-2:0),i=2;i-1?(this.splice(n,1),!0):!1}};Wn("concat",el);Wn("flat",el);Wn("includes",el);Wn("indexOf",el);Wn("join",el);Wn("lastIndexOf",el);Wn("slice",el);Wn("toString",el);Wn("toLocaleString",el);Wn("every",ou);Wn("filter",ou);Wn("find",ou);Wn("findIndex",ou);Wn("flatMap",ou);Wn("forEach",ou);Wn("map",ou);Wn("some",ou);Wn("reduce",R9);Wn("reduceRight",R9);function Wn(e,t){typeof Array.prototype[e]=="function"&&(Jh[e]=t(e))}function el(e){return function(){var t=this[qt];t.atom_.reportObserved();var r=t.dehanceValues_(t.values_);return r[e].apply(r,arguments)}}function ou(e){return function(t,r){var n=this,a=this[qt];a.atom_.reportObserved();var i=a.dehanceValues_(a.values_);return i[e](function(s,o){return t.call(r,s,o,n)})}}function R9(e){return function(){var t=this,r=this[qt];r.atom_.reportObserved();var n=r.dehanceValues_(r.values_),a=arguments[0];return arguments[0]=function(i,s,o){return a(i,s,o,t)},n[e].apply(n,arguments)}}var KR=O0("ObservableArrayAdministration",mI);function Ig(e){return _g(e)&&KR(e[qt])}var F9,B9,qR={},Cl="add",Qh="delete";F9=Symbol.iterator;B9=Symbol.toStringTag;var H9=function(){function e(r,n,a){var i=this;n===void 0&&(n=zc),a===void 0&&(a="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[qt]=qR,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=n,this.name_=a,ki(Map)||dr(18),this.keysAtom_=s9("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,cR(!0,function(){i.merge(r)})}var t=e.prototype;return t.has_=function(n){return this.data_.has(n)},t.has=function(n){var a=this;if(!St.trackingDerivation)return this.has_(n);var i=this.hasMap_.get(n);if(!i){var s=i=new Ec(this.has_(n),Sg,"ObservableMap.key?",!1);this.hasMap_.set(n,s),w9(s,function(){return a.hasMap_.delete(n)})}return i.get()},t.set=function(n,a){var i=this.has_(n);if(Xa(this)){var s=Ja(this,{type:i?oo:Cl,object:this,newValue:a,name:n});if(!s)return this;a=s.newValue}return i?this.updateValue_(n,a):this.addValue_(n,a),this},t.delete=function(n){var a=this;if(this.keysAtom_,Xa(this)){var i=Ja(this,{type:Qh,object:this,name:n});if(!i)return!1}if(this.has_(n)){var s=bm(),o=Li(this),l=o||s?{observableKind:"map",debugObjectName:this.name_,type:Qh,object:this,oldValue:this.data_.get(n).value_,name:n}:null;return To(function(){var u;a.keysAtom_.reportChanged(),(u=a.hasMap_.get(n))==null||u.setNewValue_(!1);var c=a.data_.get(n);c.setNewValue_(void 0),a.data_.delete(n)}),o&&Ci(this,l),!0}return!1},t.updateValue_=function(n,a){var i=this.data_.get(n);if(a=i.prepareNewValue_(a),a!==St.UNCHANGED){var s=bm(),o=Li(this),l=o||s?{observableKind:"map",debugObjectName:this.name_,type:oo,object:this,oldValue:i.value_,name:n,newValue:a}:null;i.setNewValue_(a),o&&Ci(this,l)}},t.addValue_=function(n,a){var i=this;this.keysAtom_,To(function(){var u,c=new Ec(a,i.enhancer_,"ObservableMap.key",!1);i.data_.set(n,c),a=c.value_,(u=i.hasMap_.get(n))==null||u.setNewValue_(!0),i.keysAtom_.reportChanged()});var s=bm(),o=Li(this),l=o||s?{observableKind:"map",debugObjectName:this.name_,type:Cl,object:this,name:n,newValue:a}:null;o&&Ci(this,l)},t.get=function(n){return this.has(n)?this.dehanceValue_(this.data_.get(n).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(n){return this.dehancer!==void 0?this.dehancer(n):n},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var n=this,a=this.keys();return Op({next:function(){var s=a.next(),o=s.done,l=s.value;return{done:o,value:o?void 0:n.get(l)}}})},t.entries=function(){var n=this,a=this.keys();return Op({next:function(){var s=a.next(),o=s.done,l=s.value;return{done:o,value:o?void 0:[l,n.get(l)]}}})},t[F9]=function(){return this.entries()},t.forEach=function(n,a){for(var i=dc(this),s;!(s=i()).done;){var o=s.value,l=o[0],u=o[1];n.call(a,u,l,this)}},t.merge=function(n){var a=this;return E0(n)&&(n=new Map(n)),To(function(){Yl(n)?vV(n).forEach(function(i){return a.set(i,n[i])}):Array.isArray(n)?n.forEach(function(i){var s=i[0],o=i[1];return a.set(s,o)}):pf(n)?(n.constructor!==Map&&dr(19,n),n.forEach(function(i,s){return a.set(s,i)})):n!=null&&dr(20,n)}),this},t.clear=function(){var n=this;To(function(){S9(function(){for(var a=dc(n.keys()),i;!(i=a()).done;){var s=i.value;n.delete(s)}})})},t.replace=function(n){var a=this;return To(function(){for(var i=YR(n),s=new Map,o=!1,l=dc(a.data_.keys()),u;!(u=l()).done;){var c=u.value;if(!i.has(c)){var f=a.delete(c);if(f)o=!0;else{var m=a.data_.get(c);s.set(c,m)}}}for(var d=dc(i.entries()),h;!(h=d()).done;){var p=h.value,_=p[0],S=p[1],v=a.data_.has(_);if(a.set(_,S),a.data_.has(_)){var g=a.data_.get(_);s.set(_,g),v||(o=!0)}}if(!o)if(a.data_.size!==s.size)a.keysAtom_.reportChanged();else for(var y=a.data_.keys(),M=s.keys(),I=y.next(),D=M.next();!I.done;){if(I.value!==D.value){a.keysAtom_.reportChanged();break}I=y.next(),D=M.next()}a.data_=s}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(n,a){return _d(this,n)},t.intercept_=function(n){return hd(this,n)},oI(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:B9,get:function(){return"Map"}}]),e}(),E0=O0("ObservableMap",H9);function YR(e){if(pf(e)||E0(e))return e;if(Array.isArray(e))return new Map(e);if(Yl(e)){var t=new Map;for(var r in e)t.set(r,e[r]);return t}else return dr(21,e)}var $9,j9,ZR={};$9=Symbol.iterator;j9=Symbol.toStringTag;var G9=function(){function e(r,n,a){n===void 0&&(n=zc),a===void 0&&(a="ObservableSet"),this.name_=void 0,this[qt]=ZR,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=a,ki(Set)||dr(22),this.atom_=s9(this.name_),this.enhancer_=function(i,s){return n(i,s,a)},r&&this.replace(r)}var t=e.prototype;return t.dehanceValue_=function(n){return this.dehancer!==void 0?this.dehancer(n):n},t.clear=function(){var n=this;To(function(){S9(function(){for(var a=dc(n.data_.values()),i;!(i=a()).done;){var s=i.value;n.delete(s)}})})},t.forEach=function(n,a){for(var i=dc(this),s;!(s=i()).done;){var o=s.value;n.call(a,o,o,this)}},t.add=function(n){var a=this;if(this.atom_,Xa(this)){var i=Ja(this,{type:Cl,object:this,newValue:n});if(!i)return this}if(!this.has(n)){To(function(){a.data_.add(a.enhancer_(n,void 0)),a.atom_.reportChanged()});var s=!1,o=Li(this),l=o||s?{observableKind:"set",debugObjectName:this.name_,type:Cl,object:this,newValue:n}:null;o&&Ci(this,l)}return this},t.delete=function(n){var a=this;if(Xa(this)){var i=Ja(this,{type:Qh,object:this,oldValue:n});if(!i)return!1}if(this.has(n)){var s=!1,o=Li(this),l=o||s?{observableKind:"set",debugObjectName:this.name_,type:Qh,object:this,oldValue:n}:null;return To(function(){a.atom_.reportChanged(),a.data_.delete(n)}),o&&Ci(this,l),!0}return!1},t.has=function(n){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(n))},t.entries=function(){var n=0,a=Array.from(this.keys()),i=Array.from(this.values());return Op({next:function(){var o=n;return n+=1,oGv){for(var t=Gv;t=0&&r++;break}e=vL(e),t=vL(t);var o=s==="[object Array]";if(!o){if(typeof e!="object"||typeof t!="object")return!1;var l=e.constructor,u=t.constructor;if(l!==u&&!(ki(l)&&l instanceof l&&ki(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(r===0)return!1;r<0&&(r=-1),n=n||[],a=a||[];for(var c=n.length;c--;)if(n[c]===e)return a[c]===t;if(n.push(e),a.push(t),o){if(c=e.length,c!==t.length)return!1;for(;c--;)if(!Xy(e[c],t[c],r-1,n,a))return!1}else{var f=Object.keys(e),m;if(c=f.length,Object.keys(t).length!==c)return!1;for(;c--;)if(m=f[c],!(Ro(t,m)&&Xy(e[m],t[m],r-1,n,a)))return!1}return n.pop(),a.pop(),!0}function vL(e){return Ig(e)?e.slice():pf(e)||E0(e)||ud(e)||hf(e)?Array.from(e.entries()):e}function Op(e){return e[Symbol.iterator]=rF,e}function rF(){return this}["Symbol","Map","Set"].forEach(function(e){var t=iI();typeof t[e]>"u"&&dr("MobX requires global '"+e+"' to be available or polyfilled")});typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__=="object"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:SR,extras:{getDebugName:Zy},$mobx:qt});var Jy={exports:{}},Wv,SL;function Z9(){if(SL)return Wv;SL=1;var e=1e3,t=e*60,r=t*60,n=r*24,a=n*7,i=n*365.25;Wv=function(c,f){f=f||{};var m=typeof c;if(m==="string"&&c.length>0)return s(c);if(m==="number"&&isFinite(c))return f.long?l(c):o(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function s(c){if(c=String(c),!(c.length>100)){var f=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(!!f){var m=parseFloat(f[1]),d=(f[2]||"ms").toLowerCase();switch(d){case"years":case"year":case"yrs":case"yr":case"y":return m*i;case"weeks":case"week":case"w":return m*a;case"days":case"day":case"d":return m*n;case"hours":case"hour":case"hrs":case"hr":case"h":return m*r;case"minutes":case"minute":case"mins":case"min":case"m":return m*t;case"seconds":case"second":case"secs":case"sec":case"s":return m*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return m;default:return}}}}function o(c){var f=Math.abs(c);return f>=n?Math.round(c/n)+"d":f>=r?Math.round(c/r)+"h":f>=t?Math.round(c/t)+"m":f>=e?Math.round(c/e)+"s":c+"ms"}function l(c){var f=Math.abs(c);return f>=n?u(c,f,n,"day"):f>=r?u(c,f,r,"hour"):f>=t?u(c,f,t,"minute"):f>=e?u(c,f,e,"second"):c+" ms"}function u(c,f,m,d){var h=f>=m*1.5;return Math.round(c/m)+" "+d+(h?"s":"")}return Wv}function nF(e){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=a,r.enabled=s,r.humanize=Z9(),r.destroy=u,Object.keys(e).forEach(c=>{r[c]=e[c]}),r.names=[],r.skips=[],r.formatters={};function t(c){let f=0;for(let m=0;m{if(I==="%%")return"%";y++;const T=r.formatters[D];if(typeof T=="function"){const b=_[y];I=T.call(S,b),_.splice(y,1),y--}return I}),r.formatArgs.call(S,_),(S.log||r.log).apply(S,_)}return p.namespace=c,p.useColors=r.useColors(),p.color=r.selectColor(c),p.extend=n,p.destroy=r.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>m!==null?m:(d!==r.namespaces&&(d=r.namespaces,h=r.enabled(c)),h),set:_=>{m=_}}),typeof r.init=="function"&&r.init(p),p}function n(c,f){const m=r(this.namespace+(typeof f>"u"?":":f)+c);return m.log=this.log,m}function a(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let f;const m=(typeof c=="string"?c:"").split(/[\s,]+/),d=m.length;for(f=0;f"-"+f)].join(",");return r.enable(""),c}function s(c){if(c[c.length-1]==="*")return!0;let f,m;for(f=0,m=r.skips.length;f{let l=!1;return()=>{l||(l=!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`."))}})(),t.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"];function r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;l.splice(1,0,u,"color: inherit");let c=0,f=0;l[0].replace(/%[a-zA-Z%]/g,m=>{m!=="%%"&&(c++,m==="%c"&&(f=c))}),l.splice(f,0,u)}t.log=console.debug||console.log||(()=>{});function a(l){try{l?t.storage.setItem("debug",l):t.storage.removeItem("debug")}catch{}}function i(){let l;try{l=t.storage.getItem("debug")}catch{}return!l&&typeof process<"u"&&"env"in process&&(l={}.DEBUG),l}function s(){try{return localStorage}catch{}}e.exports=sF(t);const{formatters:o}=e.exports;o.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(Jy,Jy.exports);const Vt=Jy.exports;var X9={exports:{}},zv,yL;function aF(){return yL||(yL=1,zv={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),zv}var Kv,ML;function J9(){if(ML)return Kv;ML=1;const e=aF(),t={};for(const a of Object.keys(e))t[e[a]]=a;const r={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};Kv=r;for(const a of Object.keys(r)){if(!("channels"in r[a]))throw new Error("missing channels property: "+a);if(!("labels"in r[a]))throw new Error("missing channel labels property: "+a);if(r[a].labels.length!==r[a].channels)throw new Error("channel and label counts mismatch: "+a);const{channels:i,labels:s}=r[a];delete r[a].channels,delete r[a].labels,Object.defineProperty(r[a],"channels",{value:i}),Object.defineProperty(r[a],"labels",{value:s})}r.rgb.hsl=function(a){const i=a[0]/255,s=a[1]/255,o=a[2]/255,l=Math.min(i,s,o),u=Math.max(i,s,o),c=u-l;let f,m;u===l?f=0:i===u?f=(s-o)/c:s===u?f=2+(o-i)/c:o===u&&(f=4+(i-s)/c),f=Math.min(f*60,360),f<0&&(f+=360);const d=(l+u)/2;return u===l?m=0:d<=.5?m=c/(u+l):m=c/(2-u-l),[f,m*100,d*100]},r.rgb.hsv=function(a){let i,s,o,l,u;const c=a[0]/255,f=a[1]/255,m=a[2]/255,d=Math.max(c,f,m),h=d-Math.min(c,f,m),p=function(_){return(d-_)/6/h+1/2};return h===0?(l=0,u=0):(u=h/d,i=p(c),s=p(f),o=p(m),c===d?l=o-s:f===d?l=1/3+i-o:m===d&&(l=2/3+s-i),l<0?l+=1:l>1&&(l-=1)),[l*360,u*100,d*100]},r.rgb.hwb=function(a){const i=a[0],s=a[1];let o=a[2];const l=r.rgb.hsl(a)[0],u=1/255*Math.min(i,Math.min(s,o));return o=1-1/255*Math.max(i,Math.max(s,o)),[l,u*100,o*100]},r.rgb.cmyk=function(a){const i=a[0]/255,s=a[1]/255,o=a[2]/255,l=Math.min(1-i,1-s,1-o),u=(1-i-l)/(1-l)||0,c=(1-s-l)/(1-l)||0,f=(1-o-l)/(1-l)||0;return[u*100,c*100,f*100,l*100]};function n(a,i){return(a[0]-i[0])**2+(a[1]-i[1])**2+(a[2]-i[2])**2}return r.rgb.keyword=function(a){const i=t[a];if(i)return i;let s=1/0,o;for(const l of Object.keys(e)){const u=e[l],c=n(a,u);c.04045?((i+.055)/1.055)**2.4:i/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,o=o>.04045?((o+.055)/1.055)**2.4:o/12.92;const l=i*.4124+s*.3576+o*.1805,u=i*.2126+s*.7152+o*.0722,c=i*.0193+s*.1192+o*.9505;return[l*100,u*100,c*100]},r.rgb.lab=function(a){const i=r.rgb.xyz(a);let s=i[0],o=i[1],l=i[2];s/=95.047,o/=100,l/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,o=o>.008856?o**(1/3):7.787*o+16/116,l=l>.008856?l**(1/3):7.787*l+16/116;const u=116*o-16,c=500*(s-o),f=200*(o-l);return[u,c,f]},r.hsl.rgb=function(a){const i=a[0]/360,s=a[1]/100,o=a[2]/100;let l,u,c;if(s===0)return c=o*255,[c,c,c];o<.5?l=o*(1+s):l=o+s-o*s;const f=2*o-l,m=[0,0,0];for(let d=0;d<3;d++)u=i+1/3*-(d-1),u<0&&u++,u>1&&u--,6*u<1?c=f+(l-f)*6*u:2*u<1?c=l:3*u<2?c=f+(l-f)*(2/3-u)*6:c=f,m[d]=c*255;return m},r.hsl.hsv=function(a){const i=a[0];let s=a[1]/100,o=a[2]/100,l=s;const u=Math.max(o,.01);o*=2,s*=o<=1?o:2-o,l*=u<=1?u:2-u;const c=(o+s)/2,f=o===0?2*l/(u+l):2*s/(o+s);return[i,f*100,c*100]},r.hsv.rgb=function(a){const i=a[0]/60,s=a[1]/100;let o=a[2]/100;const l=Math.floor(i)%6,u=i-Math.floor(i),c=255*o*(1-s),f=255*o*(1-s*u),m=255*o*(1-s*(1-u));switch(o*=255,l){case 0:return[o,m,c];case 1:return[f,o,c];case 2:return[c,o,m];case 3:return[c,f,o];case 4:return[m,c,o];case 5:return[o,c,f]}},r.hsv.hsl=function(a){const i=a[0],s=a[1]/100,o=a[2]/100,l=Math.max(o,.01);let u,c;c=(2-s)*o;const f=(2-s)*l;return u=s*l,u/=f<=1?f:2-f,u=u||0,c/=2,[i,u*100,c*100]},r.hwb.rgb=function(a){const i=a[0]/360;let s=a[1]/100,o=a[2]/100;const l=s+o;let u;l>1&&(s/=l,o/=l);const c=Math.floor(6*i),f=1-o;u=6*i-c,(c&1)!==0&&(u=1-u);const m=s+u*(f-s);let d,h,p;switch(c){default:case 6:case 0:d=f,h=m,p=s;break;case 1:d=m,h=f,p=s;break;case 2:d=s,h=f,p=m;break;case 3:d=s,h=m,p=f;break;case 4:d=m,h=s,p=f;break;case 5:d=f,h=s,p=m;break}return[d*255,h*255,p*255]},r.cmyk.rgb=function(a){const i=a[0]/100,s=a[1]/100,o=a[2]/100,l=a[3]/100,u=1-Math.min(1,i*(1-l)+l),c=1-Math.min(1,s*(1-l)+l),f=1-Math.min(1,o*(1-l)+l);return[u*255,c*255,f*255]},r.xyz.rgb=function(a){const i=a[0]/100,s=a[1]/100,o=a[2]/100;let l,u,c;return l=i*3.2406+s*-1.5372+o*-.4986,u=i*-.9689+s*1.8758+o*.0415,c=i*.0557+s*-.204+o*1.057,l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,l=Math.min(Math.max(0,l),1),u=Math.min(Math.max(0,u),1),c=Math.min(Math.max(0,c),1),[l*255,u*255,c*255]},r.xyz.lab=function(a){let i=a[0],s=a[1],o=a[2];i/=95.047,s/=100,o/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const l=116*s-16,u=500*(i-s),c=200*(s-o);return[l,u,c]},r.lab.xyz=function(a){const i=a[0],s=a[1],o=a[2];let l,u,c;u=(i+16)/116,l=s/500+u,c=u-o/200;const f=u**3,m=l**3,d=c**3;return u=f>.008856?f:(u-16/116)/7.787,l=m>.008856?m:(l-16/116)/7.787,c=d>.008856?d:(c-16/116)/7.787,l*=95.047,u*=100,c*=108.883,[l,u,c]},r.lab.lch=function(a){const i=a[0],s=a[1],o=a[2];let l;l=Math.atan2(o,s)*360/2/Math.PI,l<0&&(l+=360);const c=Math.sqrt(s*s+o*o);return[i,c,l]},r.lch.lab=function(a){const i=a[0],s=a[1],l=a[2]/360*2*Math.PI,u=s*Math.cos(l),c=s*Math.sin(l);return[i,u,c]},r.rgb.ansi16=function(a,i=null){const[s,o,l]=a;let u=i===null?r.rgb.hsv(a)[2]:i;if(u=Math.round(u/50),u===0)return 30;let c=30+(Math.round(l/255)<<2|Math.round(o/255)<<1|Math.round(s/255));return u===2&&(c+=60),c},r.hsv.ansi16=function(a){return r.rgb.ansi16(r.hsv.rgb(a),a[2])},r.rgb.ansi256=function(a){const i=a[0],s=a[1],o=a[2];return i===s&&s===o?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(s/255*5)+Math.round(o/255*5)},r.ansi16.rgb=function(a){let i=a%10;if(i===0||i===7)return a>50&&(i+=3.5),i=i/10.5*255,[i,i,i];const s=(~~(a>50)+1)*.5,o=(i&1)*s*255,l=(i>>1&1)*s*255,u=(i>>2&1)*s*255;return[o,l,u]},r.ansi256.rgb=function(a){if(a>=232){const u=(a-232)*10+8;return[u,u,u]}a-=16;let i;const s=Math.floor(a/36)/5*255,o=Math.floor((i=a%36)/6)/5*255,l=i%6/5*255;return[s,o,l]},r.rgb.hex=function(a){const s=(((Math.round(a[0])&255)<<16)+((Math.round(a[1])&255)<<8)+(Math.round(a[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},r.hex.rgb=function(a){const i=a.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!i)return[0,0,0];let s=i[0];i[0].length===3&&(s=s.split("").map(f=>f+f).join(""));const o=parseInt(s,16),l=o>>16&255,u=o>>8&255,c=o&255;return[l,u,c]},r.rgb.hcg=function(a){const i=a[0]/255,s=a[1]/255,o=a[2]/255,l=Math.max(Math.max(i,s),o),u=Math.min(Math.min(i,s),o),c=l-u;let f,m;return c<1?f=u/(1-c):f=0,c<=0?m=0:l===i?m=(s-o)/c%6:l===s?m=2+(o-i)/c:m=4+(i-s)/c,m/=6,m%=1,[m*360,c*100,f*100]},r.hsl.hcg=function(a){const i=a[1]/100,s=a[2]/100,o=s<.5?2*i*s:2*i*(1-s);let l=0;return o<1&&(l=(s-.5*o)/(1-o)),[a[0],o*100,l*100]},r.hsv.hcg=function(a){const i=a[1]/100,s=a[2]/100,o=i*s;let l=0;return o<1&&(l=(s-o)/(1-o)),[a[0],o*100,l*100]},r.hcg.rgb=function(a){const i=a[0]/360,s=a[1]/100,o=a[2]/100;if(s===0)return[o*255,o*255,o*255];const l=[0,0,0],u=i%1*6,c=u%1,f=1-c;let m=0;switch(Math.floor(u)){case 0:l[0]=1,l[1]=c,l[2]=0;break;case 1:l[0]=f,l[1]=1,l[2]=0;break;case 2:l[0]=0,l[1]=1,l[2]=c;break;case 3:l[0]=0,l[1]=f,l[2]=1;break;case 4:l[0]=c,l[1]=0,l[2]=1;break;default:l[0]=1,l[1]=0,l[2]=f}return m=(1-s)*o,[(s*l[0]+m)*255,(s*l[1]+m)*255,(s*l[2]+m)*255]},r.hcg.hsv=function(a){const i=a[1]/100,s=a[2]/100,o=i+s*(1-i);let l=0;return o>0&&(l=i/o),[a[0],l*100,o*100]},r.hcg.hsl=function(a){const i=a[1]/100,o=a[2]/100*(1-i)+.5*i;let l=0;return o>0&&o<.5?l=i/(2*o):o>=.5&&o<1&&(l=i/(2*(1-o))),[a[0],l*100,o*100]},r.hcg.hwb=function(a){const i=a[1]/100,s=a[2]/100,o=i+s*(1-i);return[a[0],(o-i)*100,(1-o)*100]},r.hwb.hcg=function(a){const i=a[1]/100,o=1-a[2]/100,l=o-i;let u=0;return l<1&&(u=(o-l)/(1-l)),[a[0],l*100,u*100]},r.apple.rgb=function(a){return[a[0]/65535*255,a[1]/65535*255,a[2]/65535*255]},r.rgb.apple=function(a){return[a[0]/255*65535,a[1]/255*65535,a[2]/255*65535]},r.gray.rgb=function(a){return[a[0]/100*255,a[0]/100*255,a[0]/100*255]},r.gray.hsl=function(a){return[0,0,a[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(a){return[0,100,a[0]]},r.gray.cmyk=function(a){return[0,0,0,a[0]]},r.gray.lab=function(a){return[a[0],0,0]},r.gray.hex=function(a){const i=Math.round(a[0]/100*255)&255,o=((i<<16)+(i<<8)+i).toString(16).toUpperCase();return"000000".substring(o.length)+o},r.rgb.gray=function(a){return[(a[0]+a[1]+a[2])/3/255*100]},Kv}var qv,DL;function iF(){if(DL)return qv;DL=1;const e=J9();function t(){const i={},s=Object.keys(e);for(let o=s.length,l=0;l1&&(l=u),s(l))};return"conversion"in s&&(o.conversion=s.conversion),o}function i(s){const o=function(...l){const u=l[0];if(u==null)return u;u.length>1&&(l=u);const c=s(l);if(typeof c=="object")for(let f=c.length,m=0;m{r[s]={},Object.defineProperty(r[s],"channels",{value:e[s].channels}),Object.defineProperty(r[s],"labels",{value:e[s].labels});const o=t(s);Object.keys(o).forEach(u=>{const c=o[u];r[s][u]=i(c),r[s][u].raw=a(c)})}),Yv=r,Yv}(function(e){const t=(c,f)=>(...m)=>`\x1B[${c(...m)+f}m`,r=(c,f)=>(...m)=>{const d=c(...m);return`\x1B[${38+f};5;${d}m`},n=(c,f)=>(...m)=>{const d=c(...m);return`\x1B[${38+f};2;${d[0]};${d[1]};${d[2]}m`},a=c=>c,i=(c,f,m)=>[c,f,m],s=(c,f,m)=>{Object.defineProperty(c,f,{get:()=>{const d=m();return Object.defineProperty(c,f,{value:d,enumerable:!0,configurable:!0}),d},enumerable:!0,configurable:!0})};let o;const l=(c,f,m,d)=>{o===void 0&&(o=oF());const h=d?10:0,p={};for(const[_,S]of Object.entries(o)){const v=_==="ansi16"?"ansi":_;_===f?p[v]=c(m,h):typeof S=="object"&&(p[v]=c(S[f],h))}return p};function u(){const c=new Map,f={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};f.color.gray=f.color.blackBright,f.bgColor.bgGray=f.bgColor.bgBlackBright,f.color.grey=f.color.blackBright,f.bgColor.bgGrey=f.bgColor.bgBlackBright;for(const[m,d]of Object.entries(f)){for(const[h,p]of Object.entries(d))f[h]={open:`\x1B[${p[0]}m`,close:`\x1B[${p[1]}m`},d[h]=f[h],c.set(p[0],p[1]);Object.defineProperty(f,m,{value:d,enumerable:!1})}return Object.defineProperty(f,"codes",{value:c,enumerable:!1}),f.color.close="\x1B[39m",f.bgColor.close="\x1B[49m",s(f.color,"ansi",()=>l(t,"ansi16",a,!1)),s(f.color,"ansi256",()=>l(r,"ansi256",a,!1)),s(f.color,"ansi16m",()=>l(n,"rgb",i,!1)),s(f.bgColor,"ansi",()=>l(t,"ansi16",a,!0)),s(f.bgColor,"ansi256",()=>l(r,"ansi256",a,!0)),s(f.bgColor,"ansi16m",()=>l(n,"rgb",i,!0)),f}Object.defineProperty(e,"exports",{enumerable:!0,get:u})})(X9);var lF={stdout:!1,stderr:!1};const uF=(e,t,r)=>{let n=e.indexOf(t);if(n===-1)return e;const a=t.length;let i=0,s="";do s+=e.substr(i,n-i)+t+r,i=n+a,n=e.indexOf(t,i);while(n!==-1);return s+=e.substr(i),s},cF=(e,t,r,n)=>{let a=0,i="";do{const s=e[n-1]==="\r";i+=e.substr(a,(s?n-1:n)-a)+t+(s?`\r +`:` +`)+r,a=n+1,n=e.indexOf(` +`,a)}while(n!==-1);return i+=e.substr(a),i};var fF={stringReplaceAll:uF,stringEncaseCRLFWithFirstIndex:cF},Zv,OL;function mF(){if(OL)return Zv;OL=1;const e=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,t=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,r=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,n=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,a=new Map([["n",` +`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function i(u){const c=u[0]==="u",f=u[1]==="{";return c&&!f&&u.length===5||u[0]==="x"&&u.length===3?String.fromCharCode(parseInt(u.slice(1),16)):c&&f?String.fromCodePoint(parseInt(u.slice(2,-1),16)):a.get(u)||u}function s(u,c){const f=[],m=c.trim().split(/\s*,\s*/g);let d;for(const h of m){const p=Number(h);if(!Number.isNaN(p))f.push(p);else if(d=h.match(r))f.push(d[2].replace(n,(_,S,v)=>S?i(S):v));else throw new Error(`Invalid Chalk template style argument: ${h} (in style '${u}')`)}return f}function o(u){t.lastIndex=0;const c=[];let f;for(;(f=t.exec(u))!==null;){const m=f[1];if(f[2]){const d=s(m,f[2]);c.push([m].concat(d))}else c.push([m])}return c}function l(u,c){const f={};for(const d of c)for(const h of d.styles)f[h[0]]=d.inverse?null:h.slice(1);let m=u;for(const[d,h]of Object.entries(f))if(!!Array.isArray(h)){if(!(d in m))throw new Error(`Unknown Chalk style: ${d}`);m=h.length>0?m[d](...h):m[d]}return m}return Zv=(u,c)=>{const f=[],m=[];let d=[];if(c.replace(e,(h,p,_,S,v,g)=>{if(p)d.push(i(p));else if(S){const y=d.join("");d=[],m.push(f.length===0?y:l(u,f)(y)),f.push({inverse:_,styles:o(S)})}else if(v){if(f.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(l(u,f)(d.join(""))),d=[],f.pop()}else d.push(g)}),m.push(d.join("")),f.length>0){const h=`Chalk template literal is missing ${f.length} closing bracket${f.length===1?"":"s"} (\`}\`)`;throw new Error(h)}return m.join("")},Zv}const Ep=X9.exports,{stdout:Qy,stderr:eM}=lF,{stringReplaceAll:pF,stringEncaseCRLFWithFirstIndex:dF}=fF,{isArray:e_}=Array,Q9=["ansi","ansi","ansi256","ansi16m"],_f=Object.create(null),hF=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=Qy?Qy.level:0;e.level=t.level===void 0?r:t.level};class _F{constructor(t){return eA(t)}}const eA=e=>{const t={};return hF(t,e),t.template=(...r)=>rA(t.template,...r),Object.setPrototypeOf(t,Eg.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=_F,t.template};function Eg(e){return eA(e)}for(const[e,t]of Object.entries(Ep))_f[e]={get(){const r=bg(this,hI(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};_f.visible={get(){const e=bg(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const tA=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of tA)_f[e]={get(){const{level:t}=this;return function(...r){const n=hI(Ep.color[Q9[t]][e](...r),Ep.color.close,this._styler);return bg(this,n,this._isEmpty)}}};for(const e of tA){const t="bg"+e[0].toUpperCase()+e.slice(1);_f[t]={get(){const{level:r}=this;return function(...n){const a=hI(Ep.bgColor[Q9[r]][e](...n),Ep.bgColor.close,this._styler);return bg(this,a,this._isEmpty)}}}}const gF=Object.defineProperties(()=>{},{..._f,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),hI=(e,t,r)=>{let n,a;return r===void 0?(n=e,a=t):(n=r.openAll+e,a=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:a,parent:r}},bg=(e,t,r)=>{const n=(...a)=>e_(a[0])&&e_(a[0].raw)?EL(n,rA(n,...a)):EL(n,a.length===1?""+a[0]:a.join(" "));return Object.setPrototypeOf(n,gF),n._generator=e,n._styler=t,n._isEmpty=r,n},EL=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(r===void 0)return t;const{openAll:n,closeAll:a}=r;if(t.indexOf("\x1B")!==-1)for(;r!==void 0;)t=pF(t,r.close,r.open),r=r.parent;const i=t.indexOf(` +`);return i!==-1&&(t=dF(t,a,n,i)),n+t+a};let Xv;const rA=(e,...t)=>{const[r]=t;if(!e_(r)||!e_(r.raw))return t.join(" ");const n=t.slice(1),a=[r.raw[0]];for(let i=1;i0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}}class iA extends vI{constructor(){super(...arguments),this.type=Cr.CDATA}get nodeType(){return 4}}class bp extends vI{constructor(){super(...arguments),this.type=Cr.Root}get nodeType(){return 9}}class oA extends vI{constructor(t,r,n=[],a=t==="script"?Cr.Script:t==="style"?Cr.Style:Cr.Tag){super(n),this.name=t,this.attribs=r,this.type=a}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var r,n;return{name:t,value:this.attribs[t],namespace:(r=this["x-attribsNamespace"])===null||r===void 0?void 0:r[t],prefix:(n=this["x-attribsPrefix"])===null||n===void 0?void 0:n[t]}})}}function Ft(e){return SF(e)}function Cg(e){return e.type===Cr.CDATA}function c0(e){return e.type===Cr.Text}function SI(e){return e.type===Cr.Comment}function TF(e){return e.type===Cr.Directive}function gf(e){return e.type===Cr.Root}function es(e){return Object.prototype.hasOwnProperty.call(e,"children")}function r_(e,t=!1){let r;if(c0(e))r=new t_(e.data);else if(SI(e))r=new sA(e.data);else if(Ft(e)){const n=t?Jv(e.children):[],a=new oA(e.name,{...e.attribs},n);n.forEach(i=>i.parent=a),e.namespace!=null&&(a.namespace=e.namespace),e["x-attribsNamespace"]&&(a["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(a["x-attribsPrefix"]={...e["x-attribsPrefix"]}),r=a}else if(Cg(e)){const n=t?Jv(e.children):[],a=new iA(n);n.forEach(i=>i.parent=a),r=a}else if(gf(e)){const n=t?Jv(e.children):[],a=new bp(n);n.forEach(i=>i.parent=a),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),r=a}else if(TF(e)){const n=new aA(e.name,e.data);e["x-name"]!=null&&(n["x-name"]=e["x-name"],n["x-publicId"]=e["x-publicId"],n["x-systemId"]=e["x-systemId"]),r=n}else throw new Error(`Not implemented yet: ${e.type}`);return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function Jv(e){const t=e.map(r=>r_(r,!0));for(let r=1;r65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function PF(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=wF.get(e))!==null&&t!==void 0?t:e}var TL;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.To_LOWER_BIT=32]="To_LOWER_BIT"})(TL||(TL={}));var qu;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(qu||(qu={}));function NF(e,t,r,n){const a=(t&qu.BRANCH_LENGTH)>>7,i=t&qu.JUMP_TABLE;if(a===0)return i!==0&&n===i?r:-1;if(i){const l=n-i;return l<0||l>a?-1:e[r+l]-1}let s=r,o=s+a-1;for(;s<=o;){const l=s+o>>>1,u=e[l];if(un)o=l-1;else return e[l+a]}return-1}const xL=/["&'<>$\x80-\uFFFF]/g,UF=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),VF=String.prototype.codePointAt!=null?(e,t)=>e.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function lA(e){let t="",r=0,n;for(;(n=xL.exec(e))!==null;){const a=n.index,i=e.charCodeAt(a),s=UF.get(i);s!==void 0?(t+=e.substring(r,a)+s,r=a+1):(t+=`${e.substring(r,a)}&#x${VF(e,a).toString(16)};`,r=xL.lastIndex+=Number((i&64512)===55296))}return t+e.substr(r)}function uA(e,t){return function(n){let a,i=0,s="";for(;a=e.exec(n);)i!==a.index&&(s+=n.substring(i,a.index)),s+=t.get(a[0].charCodeAt(0)),i=a.index+1;return s+n.substring(i)}}const RF=uA(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),FF=uA(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),BF=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),HF=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),$F=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function jF(e){return e.replace(/"/g,""")}function GF(e,t){var r;if(!e)return;const n=((r=t.encodeEntities)!==null&&r!==void 0?r:t.decodeEntities)===!1?jF:t.xmlMode||t.encodeEntities!=="utf8"?lA:RF;return Object.keys(e).map(a=>{var i,s;const o=(i=e[a])!==null&&i!==void 0?i:"";return t.xmlMode==="foreign"&&(a=(s=HF.get(a))!==null&&s!==void 0?s:a),!t.emptyAttrs&&!t.xmlMode&&o===""?a:`${a}="${n(o)}"`}).join(" ")}const AL=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Tg(e,t={}){const r="length"in e?e:[e];let n="";for(let a=0;a0&&(n+=Tg(e.children,t)),(t.xmlMode||!AL.has(e.name))&&(n+=``)),n}function YF(e){return`<${e.data}>`}function ZF(e,t){var r;let n=e.data||"";return((r=t.encodeEntities)!==null&&r!==void 0?r:t.decodeEntities)!==!1&&!(!t.xmlMode&&e.parent&&$F.has(e.parent.name))&&(n=t.xmlMode||t.encodeEntities!=="utf8"?lA(n):FF(n)),n}function XF(e){return``}function JF(e){return``}function cA(e,t){return Tg(e,t)}function QF(e,t){return es(e)?e.children.map(r=>cA(r,t)).join(""):""}function eh(e){return Array.isArray(e)?e.map(eh).join(""):Ft(e)?e.name==="br"?` +`:eh(e.children):Cg(e)?eh(e.children):c0(e)?e.data:""}function qc(e){return Array.isArray(e)?e.map(qc).join(""):es(e)&&!SI(e)?qc(e.children):c0(e)?e.data:""}function n_(e){return Array.isArray(e)?e.map(n_).join(""):es(e)&&(e.type===Cr.Tag||Cg(e))?n_(e.children):c0(e)?e.data:""}function xg(e){return es(e)?e.children:[]}function fA(e){return e.parent||null}function mA(e){const t=fA(e);if(t!=null)return xg(t);const r=[e];let{prev:n,next:a}=e;for(;n!=null;)r.unshift(n),{prev:n}=n;for(;a!=null;)r.push(a),{next:a}=a;return r}function eB(e,t){var r;return(r=e.attribs)===null||r===void 0?void 0:r[t]}function tB(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}function rB(e){return e.name}function yI(e){let{next:t}=e;for(;t!==null&&!Ft(t);)({next:t}=t);return t}function MI(e){let{prev:t}=e;for(;t!==null&&!Ft(t);)({prev:t}=t);return t}function b0(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){const t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}function nB(e,t){const r=t.prev=e.prev;r&&(r.next=t);const n=t.next=e.next;n&&(n.prev=t);const a=t.parent=e.parent;if(a){const i=a.children;i[i.lastIndexOf(e)]=t,e.parent=null}}function sB(e,t){if(b0(t),t.next=null,t.parent=e,e.children.push(t)>1){const r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null}function aB(e,t){b0(t);const{parent:r}=e,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){const a=r.children;a.splice(a.lastIndexOf(n),0,t)}}else r&&r.children.push(t)}function iB(e,t){if(b0(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){const r=e.children[1];r.prev=t,t.next=r}else t.next=null}function oB(e,t){b0(t);const{parent:r}=e;if(r){const n=r.children;n.splice(n.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}function Ag(e,t,r=!0,n=1/0){return Array.isArray(t)||(t=[t]),kg(e,t,r,n)}function kg(e,t,r,n){const a=[];for(const i of t){if(e(i)&&(a.push(i),--n<=0))break;if(r&&es(i)&&i.children.length>0){const s=kg(e,i.children,r,n);if(a.push(...s),n-=s.length,n<=0)break}}return a}function lB(e,t){return t.find(e)}function DI(e,t,r=!0){let n=null;for(let a=0;a0&&(n=DI(e,i.children,!0));else continue}return n}function pA(e,t){return t.some(r=>Ft(r)&&(e(r)||r.children.length>0&&pA(e,r.children)))}function uB(e,t){var r;const n=[],a=t.filter(Ft);let i;for(;i=a.shift();){const s=(r=i.children)===null||r===void 0?void 0:r.filter(Ft);s&&s.length>0&&a.unshift(...s),e(i)&&n.push(i)}return n}const s_={tag_name(e){return typeof e=="function"?t=>Ft(t)&&e(t.name):e==="*"?Ft:t=>Ft(t)&&t.name===e},tag_type(e){return typeof e=="function"?t=>e(t.type):t=>t.type===e},tag_contains(e){return typeof e=="function"?t=>c0(t)&&e(t.data):t=>c0(t)&&t.data===e}};function dA(e,t){return typeof t=="function"?r=>Ft(r)&&t(r.attribs[e]):r=>Ft(r)&&r.attribs[e]===t}function cB(e,t){return r=>e(r)||t(r)}function hA(e){const t=Object.keys(e).map(r=>{const n=e[r];return Object.prototype.hasOwnProperty.call(s_,r)?s_[r](n):dA(r,n)});return t.length===0?null:t.reduce(cB)}function fB(e,t){const r=hA(e);return r?r(t):!0}function mB(e,t,r,n=1/0){const a=hA(e);return a?Ag(a,t,r,n):[]}function pB(e,t,r=!0){return Array.isArray(t)||(t=[t]),DI(dA("id",e),t,r)}function vf(e,t,r=!0,n=1/0){return Ag(s_.tag_name(e),t,r,n)}function dB(e,t,r=!0,n=1/0){return Ag(s_.tag_type(e),t,r,n)}function hB(e){let t=e.length;for(;--t>=0;){const r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0){e.splice(t,1);continue}for(let n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e}var Wa;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(Wa||(Wa={}));function _A(e,t){const r=[],n=[];if(e===t)return 0;let a=es(e)?e:e.parent;for(;a;)r.unshift(a),a=a.parent;for(a=es(t)?t:t.parent;a;)n.unshift(a),a=a.parent;const i=Math.min(r.length,n.length);let s=0;for(;sl.indexOf(c)?o===t?Wa.FOLLOWING|Wa.CONTAINED_BY:Wa.FOLLOWING:o===e?Wa.PRECEDING|Wa.CONTAINS:Wa.PRECEDING}function Sf(e){return e=e.filter((t,r,n)=>!n.includes(t,r+1)),e.sort((t,r)=>{const n=_A(t,r);return n&Wa.PRECEDING?-1:n&Wa.FOLLOWING?1:0}),e}function _B(e){const t=a_(MB,e);return t?t.name==="feed"?gB(t):vB(t):null}function gB(e){var t;const r=e.children,n={type:"atom",items:vf("entry",r).map(s=>{var o;const{children:l}=s,u={media:gA(l)};qs(u,"id","id",l),qs(u,"title","title",l);const c=(o=a_("link",l))===null||o===void 0?void 0:o.attribs.href;c&&(u.link=c);const f=Bu("summary",l)||Bu("content",l);f&&(u.description=f);const m=Bu("updated",l);return m&&(u.pubDate=new Date(m)),u})};qs(n,"id","id",r),qs(n,"title","title",r);const a=(t=a_("link",r))===null||t===void 0?void 0:t.attribs.href;a&&(n.link=a),qs(n,"description","subtitle",r);const i=Bu("updated",r);return i&&(n.updated=new Date(i)),qs(n,"author","email",r,!0),n}function vB(e){var t,r;const n=(r=(t=a_("channel",e.children))===null||t===void 0?void 0:t.children)!==null&&r!==void 0?r:[],a={type:e.name.substr(0,3),id:"",items:vf("item",e.children).map(s=>{const{children:o}=s,l={media:gA(o)};qs(l,"id","guid",o),qs(l,"title","title",o),qs(l,"link","link",o),qs(l,"description","description",o);const u=Bu("pubDate",o);return u&&(l.pubDate=new Date(u)),l})};qs(a,"title","title",n),qs(a,"link","link",n),qs(a,"description","description",n);const i=Bu("lastBuildDate",n);return i&&(a.updated=new Date(i)),qs(a,"author","managingEditor",n,!0),a}const SB=["url","type","lang"],yB=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function gA(e){return vf("media:content",e).map(t=>{const{attribs:r}=t,n={medium:r.medium,isDefault:!!r.isDefault};for(const a of SB)r[a]&&(n[a]=r[a]);for(const a of yB)r[a]&&(n[a]=parseInt(r[a],10));return r.expression&&(n.expression=r.expression),n})}function a_(e,t){return vf(e,t,!0,1)[0]}function Bu(e,t,r=!1){return qc(vf(e,t,r,1)).trim()}function qs(e,t,r,n,a=!1){const i=Bu(r,n,a);i&&(e[t]=i)}function MB(e){return e==="rss"||e==="feed"||e==="rdf:RDF"}const wg=Object.freeze(Object.defineProperty({__proto__:null,isTag:Ft,isCDATA:Cg,isText:c0,isComment:SI,isDocument:gf,hasChildren:es,getOuterHTML:cA,getInnerHTML:QF,getText:eh,textContent:qc,innerText:n_,getChildren:xg,getParent:fA,getSiblings:mA,getAttributeValue:eB,hasAttrib:tB,getName:rB,nextElementSibling:yI,prevElementSibling:MI,removeElement:b0,replaceElement:nB,appendChild:sB,append:aB,prependChild:iB,prepend:oB,filter:Ag,find:kg,findOneChild:lB,findOne:DI,existsOne:pA,findAll:uB,testElement:fB,getElements:mB,getElementById:pB,getElementsByTagName:vf,getElementsByTagType:dB,removeSubsets:hB,get DocumentPosition(){return Wa},compareDocumentPosition:_A,uniqueSort:Sf,getFeed:_B},Symbol.toStringTag,{value:"Module"}));function vA(e,t,r){return e?e(t??e._root.children,null,void 0,r).toString():""}function DB(e,t){return!t&&typeof e=="object"&&e!=null&&!("length"in e)&&!("type"in e)}function IB(e,t){const r=DB(e)?(t=e,void 0):e,n={..._I,...this===null||this===void 0?void 0:this._options,...tM(t??{})};return vA(this,r,n)}function OB(e){const t={...this._options,xmlMode:!0};return vA(this,e,t)}function Lp(e){const t=e||(this?this.root():[]);let r="";for(let n=0;nr.toUpperCase())}function xB(e){return e.replace(/[A-Z]/g,"-$&").toLowerCase()}function hn(e,t){const r=e.length;for(let n=0;nr_(n,!0)):[r_(e,!0)],r=new bp(t);return t.forEach(n=>{n.parent=r}),t}var wu;(function(e){e[e.LowerA=97]="LowerA",e[e.LowerZ=122]="LowerZ",e[e.UpperA=65]="UpperA",e[e.UpperZ=90]="UpperZ",e[e.Exclamation=33]="Exclamation"})(wu||(wu={}));function nM(e){const t=e.indexOf("<");if(t<0||t>e.length-3)return!1;const r=e.charCodeAt(t+1);return(r>=wu.LowerA&&r<=wu.LowerZ||r>=wu.UpperA&&r<=wu.UpperZ||r===wu.Exclamation)&&e.includes(">",t+2)}const bc=Object.prototype.hasOwnProperty,Cp=/\s+/,eS="data-",wL={null:null,true:!0,false:!1},II=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,AB=/^{[^]*}$|^\[[^]*]$/;function i_(e,t,r){var n;if(!(!e||!Ft(e))){if((n=e.attribs)!==null&&n!==void 0||(e.attribs={}),!t)return e.attribs;if(bc.call(e.attribs,t))return!r&&II.test(t)?t:e.attribs[t];if(e.name==="option"&&t==="value")return Lp(e.children);if(e.name==="input"&&(e.attribs.type==="radio"||e.attribs.type==="checkbox")&&t==="value")return"on"}}function Lc(e,t,r){r===null?yA(e,t):e.attribs[t]=`${r}`}function kB(e,t){if(typeof e=="object"||t!==void 0){if(typeof t=="function"){if(typeof e!="string")throw new Error("Bad combination of arguments.");return hn(this,(r,n)=>{Ft(r)&&Lc(r,e,t.call(r,n,r.attribs[e]))})}return hn(this,r=>{!Ft(r)||(typeof e=="object"?Object.keys(e).forEach(n=>{const a=e[n];Lc(r,n,a)}):Lc(r,e,t))})}return arguments.length>1?this:i_(this[0],e,this.options.xmlMode)}function PL(e,t,r){return t in e?e[t]:!r&&II.test(t)?i_(e,t,!1)!==void 0:i_(e,t,r)}function tS(e,t,r,n){t in e?e[t]=r:Lc(e,t,!n&&II.test(t)?r?"":null:`${r}`)}function wB(e,t){var r;if(typeof e=="string"&&t===void 0){const n=this[0];if(!n||!Ft(n))return;switch(e){case"style":{const a=this.css(),i=Object.keys(a);return i.forEach((s,o)=>{a[o]=s}),a.length=i.length,a}case"tagName":case"nodeName":return n.name.toUpperCase();case"href":case"src":{const a=(r=n.attribs)===null||r===void 0?void 0:r[e];return typeof URL<"u"&&(e==="href"&&(n.tagName==="a"||n.name==="link")||e==="src"&&(n.tagName==="img"||n.tagName==="iframe"||n.tagName==="audio"||n.tagName==="video"||n.tagName==="source"))&&a!==void 0&&this.options.baseURI?new URL(a,this.options.baseURI).href:a}case"innerText":return n_(n);case"textContent":return qc(n);case"outerHTML":return this.clone().wrap("").parent().html();case"innerHTML":return this.html();default:return PL(n,e,this.options.xmlMode)}}if(typeof e=="object"||t!==void 0){if(typeof t=="function"){if(typeof e=="object")throw new Error("Bad combination of arguments.");return hn(this,(n,a)=>{Ft(n)&&tS(n,e,t.call(n,a,PL(n,e,this.options.xmlMode)),this.options.xmlMode)})}return hn(this,n=>{!Ft(n)||(typeof e=="object"?Object.keys(e).forEach(a=>{const i=e[a];tS(n,a,i,this.options.xmlMode)}):tS(n,e,t,this.options.xmlMode))})}}function NL(e,t,r){var n;const a=e;(n=a.data)!==null&&n!==void 0||(a.data={}),typeof t=="object"?Object.assign(a.data,t):typeof t=="string"&&r!==void 0&&(a.data[t]=r)}function UL(e,t){let r,n,a;t==null?(r=Object.keys(e.attribs).filter(i=>i.startsWith(eS)),n=r.map(i=>TB(i.slice(eS.length)))):(r=[eS+xB(t)],n=[t]);for(let i=0;i{Ft(i)&&(typeof e=="object"?NL(i,e):NL(i,e,t))}),this):bc.call(a.data,e)?a.data[e]:UL(a,e):UL(a)}function NB(e){const t=arguments.length===0,r=this[0];if(!r||!Ft(r))return t?void 0:this;switch(r.name){case"textarea":return this.text(e);case"select":{const n=this.find("option:selected");if(!t){if(this.attr("multiple")==null&&typeof e=="object")return this;this.find("option").removeAttr("selected");const a=typeof e!="object"?[e]:e;for(let i=0;iLp(a.children)):n.attr("value")}case"input":case"option":return t?this.attr("value"):this.attr("value",e)}}function yA(e,t){!e.attribs||!bc.call(e.attribs,t)||delete e.attribs[t]}function o_(e){return e?e.trim().split(Cp):[]}function UB(e){const t=o_(e);for(let r=0;r{Ft(n)&&yA(n,t[r])});return this}function VB(e){return this.toArray().some(t=>{const r=Ft(t)&&t.attribs.class;let n=-1;if(r&&e.length)for(;(n=r.indexOf(e,n+1))>-1;){const a=n+e.length;if((n===0||Cp.test(r[n-1]))&&(a===r.length||Cp.test(r[a])))return!0}return!1})}function MA(e){if(typeof e=="function")return hn(this,(n,a)=>{if(Ft(n)){const i=n.attribs.class||"";MA.call([n],e.call(n,a,i))}});if(!e||typeof e!="string")return this;const t=e.split(Cp),r=this.length;for(let n=0;n{Ft(a)&&DA.call([a],e.call(a,i,a.attribs.class||""))});const t=o_(e),r=t.length,n=arguments.length===0;return hn(this,a=>{if(!!Ft(a))if(n)a.attribs.class="";else{const i=o_(a.attribs.class);let s=!1;for(let o=0;o=0&&(i.splice(l,1),s=!0,o--)}s&&(a.attribs.class=i.join(" "))}})}function IA(e,t){if(typeof e=="function")return hn(this,(s,o)=>{Ft(s)&&IA.call([s],e.call(s,o,s.attribs.class||"",t),t)});if(!e||typeof e!="string")return this;const r=e.split(Cp),n=r.length,a=typeof t=="boolean"?t?1:-1:0,i=this.length;for(let s=0;s=0&&c<0?l.push(r[u]):a<=0&&c>=0&&l.splice(c,1)}o.attribs.class=l.join(" ")}return this}const RB=Object.freeze(Object.defineProperty({__proto__:null,attr:kB,prop:wB,data:PB,val:NB,removeAttr:UB,hasClass:VB,addClass:MA,removeClass:DA,toggleClass:IA},Symbol.toStringTag,{value:"Module"}));var Ut;(function(e){e.Attribute="attribute",e.Pseudo="pseudo",e.PseudoElement="pseudo-element",e.Tag="tag",e.Universal="universal",e.Adjacent="adjacent",e.Child="child",e.Descendant="descendant",e.Parent="parent",e.Sibling="sibling",e.ColumnCombinator="column-combinator"})(Ut||(Ut={}));var Fn;(function(e){e.Any="any",e.Element="element",e.End="end",e.Equals="equals",e.Exists="exists",e.Hyphen="hyphen",e.Not="not",e.Start="start"})(Fn||(Fn={}));const VL=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,FB=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,BB=new Map([[126,Fn.Element],[94,Fn.Start],[36,Fn.End],[42,Fn.Any],[33,Fn.Not],[124,Fn.Hyphen]]),HB=new Set(["has","not","matches","is","where","host","host-context"]);function Lm(e){switch(e.type){case Ut.Adjacent:case Ut.Child:case Ut.Descendant:case Ut.Parent:case Ut.Sibling:case Ut.ColumnCombinator:return!0;default:return!1}}const $B=new Set(["contains","icontains"]);function jB(e,t,r){const n=parseInt(t,16)-65536;return n!==n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320)}function Rf(e){return e.replace(FB,jB)}function rS(e){return e===39||e===34}function RL(e){return e===32||e===9||e===10||e===12||e===13}function Pg(e){const t=[],r=OA(t,`${e}`,0);if(r0&&r0&&Lm(n[n.length-1]))throw new Error("Did not expect successive traversals.")}function u(m){if(n.length>0&&n[n.length-1].type===Ut.Descendant){n[n.length-1].type=m;return}l(),n.push({type:m})}function c(m,d){n.push({type:Ut.Attribute,name:m,action:d,value:a(1),namespace:null,ignoreCase:"quirks"})}function f(){if(n.length&&n[n.length-1].type===Ut.Descendant&&n.pop(),n.length===0)throw new Error("Empty sub-selector");e.push(n)}if(i(0),t.length===r)return r;e:for(;r=0&&n>=1)):e.type===Ut.Pseudo&&(e.data?e.name==="has"||e.name==="contains"?n=0:Array.isArray(e.data)?(n=Math.min(...e.data.map(a=>Math.min(...a.map(bA)))),n<0&&(n=0)):n=2:n=3),n}const zB=/[-[\]{}()*+?.,\\^$|#\s]/g;function FL(e){return e.replace(zB,"\\$&")}const KB=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function hu(e,t){return typeof e.ignoreCase=="boolean"?e.ignoreCase:e.ignoreCase==="quirks"?!!t.quirksMode:!t.xmlMode&&KB.has(e.name)}const qB={equals(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;return hu(t,r)?(i=i.toLowerCase(),s=>{const o=n.getAttributeValue(s,a);return o!=null&&o.length===i.length&&o.toLowerCase()===i&&e(s)}):s=>n.getAttributeValue(s,a)===i&&e(s)},hyphen(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;const s=i.length;return hu(t,r)?(i=i.toLowerCase(),function(l){const u=n.getAttributeValue(l,a);return u!=null&&(u.length===s||u.charAt(s)==="-")&&u.substr(0,s).toLowerCase()===i&&e(l)}):function(l){const u=n.getAttributeValue(l,a);return u!=null&&(u.length===s||u.charAt(s)==="-")&&u.substr(0,s)===i&&e(l)}},element(e,t,r){const{adapter:n}=r,{name:a,value:i}=t;if(/\s/.test(i))return Xt.falseFunc;const s=new RegExp(`(?:^|\\s)${FL(i)}(?:$|\\s)`,hu(t,r)?"i":"");return function(l){const u=n.getAttributeValue(l,a);return u!=null&&u.length>=i.length&&s.test(u)&&e(l)}},exists(e,{name:t},{adapter:r}){return n=>r.hasAttrib(n,t)&&e(n)},start(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;const s=i.length;return s===0?Xt.falseFunc:hu(t,r)?(i=i.toLowerCase(),o=>{const l=n.getAttributeValue(o,a);return l!=null&&l.length>=s&&l.substr(0,s).toLowerCase()===i&&e(o)}):o=>{var l;return!!(!((l=n.getAttributeValue(o,a))===null||l===void 0)&&l.startsWith(i))&&e(o)}},end(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;const s=-i.length;return s===0?Xt.falseFunc:hu(t,r)?(i=i.toLowerCase(),o=>{var l;return((l=n.getAttributeValue(o,a))===null||l===void 0?void 0:l.substr(s).toLowerCase())===i&&e(o)}):o=>{var l;return!!(!((l=n.getAttributeValue(o,a))===null||l===void 0)&&l.endsWith(i))&&e(o)}},any(e,t,r){const{adapter:n}=r,{name:a,value:i}=t;if(i==="")return Xt.falseFunc;if(hu(t,r)){const s=new RegExp(FL(i),"i");return function(l){const u=n.getAttributeValue(l,a);return u!=null&&u.length>=i.length&&s.test(u)&&e(l)}}return s=>{var o;return!!(!((o=n.getAttributeValue(s,a))===null||o===void 0)&&o.includes(i))&&e(s)}},not(e,t,r){const{adapter:n}=r,{name:a}=t;let{value:i}=t;return i===""?s=>!!n.getAttributeValue(s,a)&&e(s):hu(t,r)?(i=i.toLowerCase(),s=>{const o=n.getAttributeValue(s,a);return(o==null||o.length!==i.length||o.toLowerCase()!==i)&&e(s)}):s=>n.getAttributeValue(s,a)!==i&&e(s)}},YB=new Set([9,10,12,13,32]),BL="0".charCodeAt(0),ZB="9".charCodeAt(0);function XB(e){if(e=e.trim().toLowerCase(),e==="even")return[2,0];if(e==="odd")return[2,1];let t=0,r=0,n=i(),a=s();if(t=BL&&e.charCodeAt(t)<=ZB;)u=u*10+(e.charCodeAt(t)-BL),t++;return t===l?null:u}function o(){for(;ti<=r;if(t===0)return i=>i===r;if(t===1)return r<0?Xt.trueFunc:i=>i>=r;const n=Math.abs(t),a=(r%n+n)%n;return t>1?i=>i>=r&&i%n===a:i=>i<=r&&i%n===a}function p1(e){return JB(XB(e))}function d1(e,t){return r=>{const n=t.getParent(r);return n!=null&&t.isTag(n)&&e(r)}}const sM={contains(e,t,{adapter:r}){return function(a){return e(a)&&r.getText(a).includes(t)}},icontains(e,t,{adapter:r}){const n=t.toLowerCase();return function(i){return e(i)&&r.getText(i).toLowerCase().includes(n)}},"nth-child"(e,t,{adapter:r,equals:n}){const a=p1(t);return a===Xt.falseFunc?Xt.falseFunc:a===Xt.trueFunc?d1(e,r):function(s){const o=r.getSiblings(s);let l=0;for(let u=0;u=0&&!n(s,o[u]);u--)r.isTag(o[u])&&l++;return a(l)&&e(s)}},"nth-of-type"(e,t,{adapter:r,equals:n}){const a=p1(t);return a===Xt.falseFunc?Xt.falseFunc:a===Xt.trueFunc?d1(e,r):function(s){const o=r.getSiblings(s);let l=0;for(let u=0;u=0;u--){const c=o[u];if(n(s,c))break;r.isTag(c)&&r.getName(c)===r.getName(s)&&l++}return a(l)&&e(s)}},root(e,t,{adapter:r}){return n=>{const a=r.getParent(n);return(a==null||!r.isTag(a))&&e(n)}},scope(e,t,r,n){const{equals:a}=r;return!n||n.length===0?sM.root(e,t,r):n.length===1?i=>a(n[0],i)&&e(i):i=>n.includes(i)&&e(i)},hover:nS("isHovered"),visited:nS("isVisited"),active:nS("isActive")};function nS(e){return function(r,n,{adapter:a}){const i=a[e];return typeof i!="function"?Xt.falseFunc:function(o){return i(o)&&r(o)}}}const HL={empty(e,{adapter:t}){return!t.getChildren(e).some(r=>t.isTag(r)||t.getText(r)!=="")},"first-child"(e,{adapter:t,equals:r}){if(t.prevElementSibling)return t.prevElementSibling(e)==null;const n=t.getSiblings(e).find(a=>t.isTag(a));return n!=null&&r(e,n)},"last-child"(e,{adapter:t,equals:r}){const n=t.getSiblings(e);for(let a=n.length-1;a>=0;a--){if(r(e,n[a]))return!0;if(t.isTag(n[a]))break}return!1},"first-of-type"(e,{adapter:t,equals:r}){const n=t.getSiblings(e),a=t.getName(e);for(let i=0;i=0;i--){const s=n[i];if(r(e,s))return!0;if(t.isTag(s)&&t.getName(s)===a)break}return!1},"only-of-type"(e,{adapter:t,equals:r}){const n=t.getName(e);return t.getSiblings(e).every(a=>r(e,a)||!t.isTag(a)||t.getName(a)!==n)},"only-child"(e,{adapter:t,equals:r}){return t.getSiblings(e).every(n=>r(e,n)||!t.isTag(n))}};function $L(e,t,r,n){if(r===null){if(e.length>n)throw new Error(`Pseudo-class :${t} requires an argument`)}else if(e.length===n)throw new Error(`Pseudo-class :${t} doesn't have any arguments`)}const QB={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is( + :is(button, input, select, textarea, optgroup, option)[disabled], + optgroup[disabled] > option, + fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) + )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},LA={};function eH(e,t){return e===Xt.falseFunc?Xt.falseFunc:r=>t.isTag(r)&&e(r)}function CA(e,t){const r=t.getSiblings(e);if(r.length<=1)return[];const n=r.indexOf(e);return n<0||n===r.length-1?[]:r.slice(n+1).filter(t.isTag)}function aM(e){return{xmlMode:!!e.xmlMode,lowerCaseAttributeNames:!!e.lowerCaseAttributeNames,lowerCaseTags:!!e.lowerCaseTags,quirksMode:!!e.quirksMode,cacheResults:!!e.cacheResults,pseudos:e.pseudos,adapter:e.adapter,equals:e.equals}}const sS=(e,t,r,n,a)=>{const i=a(t,aM(r),n);return i===Xt.trueFunc?e:i===Xt.falseFunc?Xt.falseFunc:s=>i(s)&&e(s)},aS={is:sS,matches:sS,where:sS,not(e,t,r,n,a){const i=a(t,aM(r),n);return i===Xt.falseFunc?e:i===Xt.trueFunc?Xt.falseFunc:s=>!i(s)&&e(s)},has(e,t,r,n,a){const{adapter:i}=r,s=aM(r);s.relativeSelector=!0;const o=t.some(c=>c.some(OI))?[LA]:void 0,l=a(t,s,o);if(l===Xt.falseFunc)return Xt.falseFunc;const u=eH(l,i);if(o&&l!==Xt.trueFunc){const{shouldTestNextSiblings:c=!1}=l;return f=>{if(!e(f))return!1;o[0]=f;const m=i.getChildren(f),d=c?[...m,...CA(f,i)]:m;return i.existsOne(u,d)}}return c=>e(c)&&i.existsOne(u,i.getChildren(c))}};function tH(e,t,r,n,a){var i;const{name:s,data:o}=t;if(Array.isArray(o)){if(!(s in aS))throw new Error(`Unknown pseudo-class :${s}(${o})`);return aS[s](e,o,r,n,a)}const l=(i=r.pseudos)===null||i===void 0?void 0:i[s],u=typeof l=="string"?l:QB[s];if(typeof u=="string"){if(o!=null)throw new Error(`Pseudo ${s} doesn't have any arguments`);const c=Pg(u);return aS.is(e,c,r,n,a)}if(typeof l=="function")return $L(l,s,o,1),c=>l(c,o)&&e(c);if(s in sM)return sM[s](e,o,r,n);if(s in HL){const c=HL[s];return $L(c,s,o,2),f=>c(f,r,o)&&e(f)}throw new Error(`Unknown pseudo-class :${s}`)}function iS(e,t){const r=t.getParent(e);return r&&t.isTag(r)?r:null}function rH(e,t,r,n,a){const{adapter:i,equals:s}=r;switch(t.type){case Ut.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case Ut.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case Ut.Attribute:{if(t.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!r.xmlMode||r.lowerCaseAttributeNames)&&(t.name=t.name.toLowerCase()),qB[t.action](e,t,r)}case Ut.Pseudo:return tH(e,t,r,n,a);case Ut.Tag:{if(t.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:o}=t;return(!r.xmlMode||r.lowerCaseTags)&&(o=o.toLowerCase()),function(u){return i.getName(u)===o&&e(u)}}case Ut.Descendant:{if(r.cacheResults===!1||typeof WeakSet>"u")return function(u){let c=u;for(;c=iS(c,i);)if(e(c))return!0;return!1};const o=new WeakSet;return function(u){let c=u;for(;c=iS(c,i);)if(!o.has(c)){if(i.isTag(c)&&e(c))return!0;o.add(c)}return!1}}case"_flexibleDescendant":return function(l){let u=l;do if(e(u))return!0;while(u=iS(u,i));return!1};case Ut.Parent:return function(l){return i.getChildren(l).some(u=>i.isTag(u)&&e(u))};case Ut.Child:return function(l){const u=i.getParent(l);return u!=null&&i.isTag(u)&&e(u)};case Ut.Sibling:return function(l){const u=i.getSiblings(l);for(let c=0;ct.some(TA)))}const nH={type:Ut.Descendant},sH={type:"_flexibleDescendant"},aH={type:Ut.Pseudo,name:"scope",data:null};function iH(e,{adapter:t},r){const n=!!r?.every(a=>{const i=t.isTag(a)&&t.getParent(a);return a===LA||i&&t.isTag(i)});for(const a of e){if(!(a.length>0&&OI(a[0])&&a[0].type!==Ut.Descendant))if(n&&!a.some(TA))a.unshift(nH);else continue;a.unshift(aH)}}function xA(e,t,r){var n;e.forEach(WB),r=(n=t.context)!==null&&n!==void 0?n:r;const a=Array.isArray(r),i=r&&(Array.isArray(r)?r:[r]);if(t.relativeSelector!==!1)iH(e,t,i);else if(e.some(l=>l.length>0&&OI(l[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let s=!1;const o=e.map(l=>{if(l.length>=2){const[u,c]=l;u.type!==Ut.Pseudo||u.name!=="scope"||(a&&c.type===Ut.Descendant?l[1]=sH:(c.type===Ut.Adjacent||c.type===Ut.Sibling)&&(s=!0))}return oH(l,t,i)}).reduce(lH,Xt.falseFunc);return o.shouldTestNextSiblings=s,o}function oH(e,t,r){var n;return e.reduce((a,i)=>a===Xt.falseFunc?Xt.falseFunc:rH(a,i,t,r,xA),(n=t.rootFunc)!==null&&n!==void 0?n:Xt.trueFunc)}function lH(e,t){return t===Xt.falseFunc||e===Xt.trueFunc?e:e===Xt.falseFunc||t===Xt.trueFunc?t:function(n){return e(n)||t(n)}}const AA=(e,t)=>e===t,uH={adapter:wg,equals:AA};function cH(e){var t,r,n,a;const i=e??uH;return(t=i.adapter)!==null&&t!==void 0||(i.adapter=wg),(r=i.equals)!==null&&r!==void 0||(i.equals=(a=(n=i.adapter)===null||n===void 0?void 0:n.equals)!==null&&a!==void 0?a:AA),i}function fH(e){return function(r,n,a){const i=cH(n);return e(r,i,a)}}const EI=fH(xA);function kA(e,t,r=!1){return r&&(e=mH(e,t)),Array.isArray(e)?t.removeSubsets(e):t.getChildren(e)}function mH(e,t){const r=Array.isArray(e)?e.slice(0):[e],n=r.length;for(let a=0;at.some(l_)):!1}function dH(e,t,r){const n=t!=null?parseInt(t,10):NaN;switch(e){case"first":return 1;case"nth":case"eq":return isFinite(n)?n>=0?n+1:1/0:0;case"lt":return isFinite(n)?n>=0?Math.min(n,r):1/0:0;case"gt":return isFinite(n)?1/0:0;case"odd":return 2*r;case"even":return 2*r-1;case"last":case"not":return 1/0}}function hH(e){for(;e.parent;)e=e.parent;return e}function bI(e){const t=[],r=[];for(const n of e)n.some(l_)?t.push(n):r.push(n);return[r,t]}const _H={type:Ut.Universal,namespace:null},gH={type:Ut.Pseudo,name:"scope",data:null};function wA(e,t,r={}){return PA([e],t,r)}function PA(e,t,r={}){if(typeof t=="function")return e.some(t);const[n,a]=bI(Pg(t));return n.length>0&&e.some(EI(n,r))||a.some(i=>VA(i,e,r).length>0)}function vH(e,t,r,n){const a=typeof r=="string"?parseInt(r,10):NaN;switch(e){case"first":case"lt":return t;case"last":return t.length>0?[t[t.length-1]]:t;case"nth":case"eq":return isFinite(a)&&Math.abs(a)s%2===0);case"odd":return t.filter((i,s)=>s%2===1);case"not":{const i=new Set(UA(r,t,n));return t.filter(s=>!i.has(s))}}}function NA(e,t,r={}){return UA(Pg(e),t,r)}function UA(e,t,r){if(t.length===0)return[];const[n,a]=bI(e);let i;if(n.length){const s=oM(t,n,r);if(a.length===0)return s;s.length&&(i=new Set(s))}for(let s=0;sFt(c)&&!i.has(c)):t).length===0)break;const u=VA(o,t,r);if(u.length)if(i)u.forEach(c=>i.add(c));else{if(s===a.length-1)return u;i=new Set(u)}}return typeof i<"u"?i.size===t.length?t:t.filter(s=>i.has(s)):[]}function VA(e,t,r){var n;if(e.some(Lm)){const a=(n=r.root)!==null&&n!==void 0?n:hH(t[0]),i={...r,context:t,relativeSelector:!1};return e.push(gH),u_(a,e,i,!0,t.length)}return u_(t,e,r,!1,t.length)}function SH(e,t,r={},n=1/0){if(typeof e=="function")return RA(t,e);const[a,i]=bI(Pg(e)),s=i.map(o=>u_(t,o,r,!0,n));return a.length&&s.push(iM(t,a,r,n)),s.length===0?[]:s.length===1?s[0]:Sf(s.reduce((o,l)=>[...o,...l]))}function u_(e,t,r,n,a){const i=t.findIndex(l_),s=t.slice(0,i),o=t[i],l=t.length-1===i?a:1/0,u=dH(o.name,o.data,l);if(u===0)return[];const f=(s.length===0&&!Array.isArray(e)?xg(e).filter(Ft):s.length===0?(Array.isArray(e)?e:[e]).filter(Ft):n||s.some(Lm)?iM(e,[s],r,u):oM(e,[s],r)).slice(0,u);let m=vH(o.name,f,o.data,r);if(m.length===0||t.length===i+1)return m;const d=t.slice(i+1),h=d.some(Lm);if(h){if(Lm(d[0])){const{type:p}=d[0];(p===Ut.Sibling||p===Ut.Adjacent)&&(m=kA(m,wg,!0)),d.unshift(_H)}r={...r,relativeSelector:!1,rootFunc:p=>m.includes(p)}}else r.rootFunc&&r.rootFunc!==Xt.trueFunc&&(r={...r,rootFunc:Xt.trueFunc});return d.some(l_)?u_(m,d,r,!1,a):h?iM(m,[d],r,a):oM(m,[d],r)}function iM(e,t,r,n){const a=EI(t,r,e);return RA(e,a,n)}function RA(e,t,r=1/0){const n=kA(e,wg,t.shouldTestNextSiblings);return kg(a=>Ft(a)&&t(a),n,!0,r)}function oM(e,t,r){const n=(Array.isArray(e)?e:[e]).filter(Ft);if(n.length===0)return n;const a=EI(t,r);return a===Xt.trueFunc?n:n.filter(a)}const yH=/^\s*[~+]/;function MH(e){var t;if(!e)return this._make([]);const r=this.toArray();if(typeof e!="string"){const i=lo(e)?e.toArray():[e];return this._make(i.filter(s=>r.some(o=>SA(o,s))))}const n=yH.test(e)?r:this.children().toArray(),a={context:r,root:(t=this._root)===null||t===void 0?void 0:t[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(SH(e,n,a))}function LI(e){return function(t,...r){return function(n){var a;let i=e(t,this);return n&&(i=xI(i,n,this.options.xmlMode,(a=this._root)===null||a===void 0?void 0:a[0])),this._make(this.length>1&&i.length>1?r.reduce((s,o)=>o(s),i):i)}}}const gd=LI((e,t)=>{const r=[];for(let n=0;n{const r=[];for(let n=0;n{const s=[];return hn(i,o=>{for(let l;(l=a(o))&&!r?.(l,s.length);o=l)s.push(l)}),s})(e,...t);return function(a,i){r=typeof a=="string"?o=>wA(o,a,this.options):a?vd(a):null;const s=n.call(this,i);return r=null,s}}function yf(e){return Array.from(new Set(e))}const DH=CI(({parent:e})=>e&&!gf(e)?e:null,yf),IH=gd(e=>{const t=[];for(;e.parent&&!gf(e.parent);)t.push(e.parent),e=e.parent;return t},Sf,e=>e.reverse()),OH=TI(({parent:e})=>e&&!gf(e)?e:null,Sf,e=>e.reverse());function EH(e){var t;const r=[];if(!e)return this._make(r);const n={xmlMode:this.options.xmlMode,root:(t=this._root)===null||t===void 0?void 0:t[0]},a=typeof e=="string"?i=>wA(i,e,n):vd(e);return hn(this,i=>{for(;i&&Ft(i);){if(a(i,0)){r.includes(i)||r.push(i);break}i=i.parent}}),this._make(r)}const bH=CI(e=>yI(e)),LH=gd(e=>{const t=[];for(;e.next;)e=e.next,Ft(e)&&t.push(e);return t},yf),CH=TI(e=>yI(e),yf),TH=CI(e=>MI(e)),xH=gd(e=>{const t=[];for(;e.prev;)e=e.prev,Ft(e)&&t.push(e);return t},yf),AH=TI(e=>MI(e),yf),kH=gd(e=>mA(e).filter(t=>Ft(t)&&t!==e),Sf),wH=gd(e=>xg(e).filter(Ft),yf);function PH(){const e=this.toArray().reduce((t,r)=>es(r)?t.concat(r.children):t,[]);return this._make(e)}function NH(e){let t=0;const r=this.length;for(;te.call(t,r,t):lo(e)?t=>Array.prototype.includes.call(e,t):function(t){return e===t}}function VH(e){var t;return this._make(xI(this.toArray(),e,this.options.xmlMode,(t=this._root)===null||t===void 0?void 0:t[0]))}function xI(e,t,r,n){return typeof t=="string"?NA(t,e,{xmlMode:r,root:n}):e.filter(vd(t))}function RH(e){const t=this.toArray();return typeof e=="string"?PA(t.filter(Ft),e,this.options):e?t.some(vd(e)):!1}function FH(e){let t=this.toArray();if(typeof e=="string"){const r=new Set(NA(e,t,this.options));t=t.filter(n=>!r.has(n))}else{const r=vd(e);t=t.filter((n,a)=>!r(n,a))}return this._make(t)}function BH(e){return this.filter(typeof e=="string"?`:has(${e})`:(t,r)=>this._make(r).find(e).length>0)}function HH(){return this.length>1?this._make(this[0]):this}function $H(){return this.length>0?this._make(this[this.length-1]):this}function jH(e){var t;return e=+e,e===0&&this.length<=1?this:(e<0&&(e=this.length+e),this._make((t=this[e])!==null&&t!==void 0?t:[]))}function GH(e){return e==null?this.toArray():this[e<0?this.length+e:e]}function WH(){return Array.prototype.slice.call(this)}function zH(e){let t,r;return e==null?(t=this.parent().children(),r=this[0]):typeof e=="string"?(t=this._make(e),r=this[0]):(t=this,r=lo(e)?e[0]:e),Array.prototype.indexOf.call(t,r)}function KH(e,t){return this._make(Array.prototype.slice.call(this,e,t))}function qH(){var e;return(e=this.prevObject)!==null&&e!==void 0?e:this._make([])}function YH(e,t){const r=this._make(e,t),n=Sf([...this.get(),...r.get()]);return this._make(n)}function ZH(e){return this.prevObject?this.add(e?this.prevObject.filter(e):this.prevObject):this}const XH=Object.freeze(Object.defineProperty({__proto__:null,find:MH,parent:DH,parents:IH,parentsUntil:OH,closest:EH,next:bH,nextAll:LH,nextUntil:CH,prev:TH,prevAll:xH,prevUntil:AH,siblings:kH,children:wH,contents:PH,each:NH,map:UH,filter:VH,filterArray:xI,is:RH,not:FH,has:BH,first:HH,last:$H,eq:jH,get:GH,toArray:WH,index:zH,slice:KH,end:qH,add:YH,addBack:ZH},Symbol.toStringTag,{value:"Module"}));function JH(e){return function(r,n,a,i){if(typeof Buffer<"u"&&Buffer.isBuffer(r)&&(r=r.toString()),typeof r=="string")return e(r,n,a,i);const s=r;if(!Array.isArray(s)&&gf(s))return s;const o=new bp([]);return f0(s,o),o}}function f0(e,t){const r=Array.isArray(e)?e:[e];t?t.children=r:t=null;for(let n=0;nr.concat(this._makeDomArray(n,t)),[]):typeof e=="string"?this._parse(e,this.options,!1,null).children:t?rM([e]):[e]}function FA(e){return function(...t){const r=this.length-1;return hn(this,(n,a)=>{if(!es(n))return;const i=typeof t[0]=="function"?t[0].call(n,a,this._render(n.children)):t,s=this._makeDomArray(i,a=e.length?null:e[t+r];for(let c=0;c-1&&(m.children.splice(h,1),a===m&&t>h&&o[0]--)}f.parent=a,f.prev&&(f.prev.next=(i=f.next)!==null&&i!==void 0?i:null),f.next&&(f.next.prev=(s=f.prev)!==null&&s!==void 0?s:null),f.prev=c===0?l:n[c-1],f.next=c===n.length-1?u:n[c+1]}return l&&(l.next=n[0]),u&&(u.prev=n[n.length-1]),e.splice(...o)}function e$(e){return(lo(e)?e:this._make(e)).append(this),this}function t$(e){return(lo(e)?e:this._make(e)).prepend(this),this}const r$=FA((e,t,r)=>{lu(t,t.length,0,e,r)}),n$=FA((e,t,r)=>{lu(t,0,0,e,r)});function BA(e){return function(t){const r=this.length-1,n=this.parents().last();for(let a=0;a{const{parent:n}=e;if(!n)return;const a=n.children,i=a.indexOf(e);f0([e],t),lu(a,i,0,r,n)}),a$=BA((e,t,r)=>{!es(e)||(f0(e.children,t),f0(r,e))});function i$(e){return this.parent(e).not("body").each((t,r)=>{this._make(r).replaceWith(r.children)}),this}function o$(e){const t=this[0];if(t){const r=this._make(typeof e=="function"?e.call(t,0,t):e).insertBefore(t);let n;for(let i=0;i{const{parent:a}=r;if(!es(r)||!a)return;const i=a.children,s=i.indexOf(r);if(s<0)return;const o=typeof e[0]=="function"?e[0].call(r,n,this._render(r.children)):e,l=this._makeDomArray(o,n{const n=this.clone().toArray(),{parent:a}=r;if(!a)return;const i=a.children,s=i.indexOf(r);s<0||(lu(i,s+1,0,n,a),t.push(...n))}),this._make(t)}function c$(...e){const t=this.length-1;return hn(this,(r,n)=>{const{parent:a}=r;if(!es(r)||!a)return;const i=a.children,s=i.indexOf(r);if(s<0)return;const o=typeof e[0]=="function"?e[0].call(r,n,this._render(r.children)):e,l=this._makeDomArray(o,n{const a=this.clone().toArray(),{parent:i}=n;if(!i)return;const s=i.children,o=s.indexOf(n);o<0||(lu(s,o,0,a,i),r.push(...a))}),this._make(r)}function m$(e){const t=e?this.filter(e):this;return hn(t,r=>{b0(r),r.prev=r.next=r.parent=null}),this}function p$(e){return hn(this,(t,r)=>{const{parent:n}=t;if(!n)return;const a=n.children,i=typeof e=="function"?e.call(t,r,t):e,s=this._makeDomArray(i);f0(s,null);const o=a.indexOf(t);lu(a,o,1,s,n),s.includes(t)||(t.parent=t.prev=t.next=null)})}function d$(){return hn(this,e=>{!es(e)||(e.children.forEach(t=>{t.next=t.prev=t.parent=null}),e.children.length=0)})}function h$(e){if(e===void 0){const t=this[0];return!t||!es(t)?null:this._render(t.children)}return hn(this,t=>{if(!es(t))return;t.children.forEach(n=>{n.next=n.prev=n.parent=null});const r=lo(e)?e.toArray():this._parse(`${e}`,this.options,!1,t).children;f0(r,t)})}function _$(){return this._render(this)}function g$(e){return e===void 0?Lp(this):typeof e=="function"?hn(this,(t,r)=>this._make(t).text(e.call(t,r,Lp([t])))):hn(this,t=>{if(!es(t))return;t.children.forEach(n=>{n.next=n.prev=n.parent=null});const r=new t_(`${e}`);f0(r,t)})}function v$(){return this._make(rM(this.get()))}const S$=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray:QH,appendTo:e$,prependTo:t$,append:r$,prepend:n$,wrap:s$,wrapInner:a$,unwrap:i$,wrapAll:o$,after:l$,insertAfter:u$,before:c$,insertBefore:f$,remove:m$,replaceWith:p$,empty:d$,html:h$,toString:_$,text:g$,clone:v$},Symbol.toStringTag,{value:"Module"}));function y$(e,t){if(e!=null&&t!=null||typeof e=="object"&&!Array.isArray(e))return hn(this,(r,n)=>{Ft(r)&&HA(r,e,t,n)});if(this.length!==0)return $A(this[0],e)}function HA(e,t,r,n){if(typeof t=="string"){const a=$A(e),i=typeof r=="function"?r.call(e,n,a[t]):r;i===""?delete a[t]:i!=null&&(a[t]=i),e.attribs.style=M$(a)}else typeof t=="object"&&Object.keys(t).forEach((a,i)=>{HA(e,a,t[a],i)})}function $A(e,t){if(!e||!Ft(e))return;const r=D$(e.attribs.style);if(typeof t=="string")return r[t];if(Array.isArray(t)){const n={};return t.forEach(a=>{r[a]!=null&&(n[a]=r[a])}),n}return r}function M$(e){return Object.keys(e).reduce((t,r)=>`${t}${t?" ":""}${r}: ${e[r]};`,"")}function D$(e){if(e=(e||"").trim(),!e)return{};const t={};let r;for(const n of e.split(";")){const a=n.indexOf(":");if(a<1||a===n.length-1){const i=n.trimEnd();i.length>0&&r!==void 0&&(t[r]+=`;${i}`)}else r=n.slice(0,a).trim(),t[r]=n.slice(a+1).trim()}return t}const I$=Object.freeze(Object.defineProperty({__proto__:null,css:y$},Symbol.toStringTag,{value:"Module"})),jL="input,select,textarea,keygen",O$=/%20/g,GL=/\r?\n/g;function E$(){return this.serializeArray().map(r=>`${encodeURIComponent(r.name)}=${encodeURIComponent(r.value)}`).join("&").replace(O$,"+")}function b$(){return this.map((e,t)=>{const r=this._make(t);return Ft(t)&&t.name==="form"?r.find(jL).toArray():r.filter(jL).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((e,t)=>{var r;const n=this._make(t),a=n.attr("name"),i=(r=n.val())!==null&&r!==void 0?r:"";return Array.isArray(i)?i.map(s=>({name:a,value:s.replace(GL,`\r +`)})):{name:a,value:i.replace(GL,`\r +`)}}).toArray()}const L$=Object.freeze(Object.defineProperty({__proto__:null,serialize:E$,serializeArray:b$},Symbol.toStringTag,{value:"Module"}));class Sd{constructor(t,r,n){if(this.length=0,this.options=n,this._root=r,t){for(let a=0;a=bt.Zero&&e<=bt.Nine}function x$(e){return e>=bt.LowerA&&e<=bt.LowerZ||e>=bt.UpperA&&e<=bt.UpperZ}function A$(e){return e>=bt.UpperA&&e<=bt.UpperF||e>=bt.LowerA&&e<=bt.LowerF}var Yi;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(Yi||(Yi={}));const js={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])};class k${constructor({xmlMode:t=!1,decodeEntities:r=!0},n){this.cbs=n,this.state=ut.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=ut.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=t,this.decodeEntities=r,this.entityTrie=t?kF:AF}reset(){this.state=ut.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=ut.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=ut.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===bt.Amp&&(this.state=ut.BeforeEntity)}stateSpecialStartSequence(t){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?h1(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=ut.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===bt.Gt||Io(t)){const r=this.index-this.currentSequence.length;if(this.sectionStart>14)-1;if(!this.allowLegacyEntity()&&t!==bt.Semi)this.trieIndex+=n;else{const a=this.index-this.entityExcess+1;a>this.sectionStart&&this.emitPartial(this.sectionStart,a),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,n===0&&this.emitNamedEntity()}}}emitNamedEntity(){if(this.state=this.baseState,this.entityResult===0)return;switch((this.entityTrie[this.entityResult]&qu.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~qu.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}stateBeforeNumericEntity(t){(t|32)===bt.LowerX?(this.entityExcess++,this.state=ut.InHexEntity):(this.state=ut.InNumericEntity,this.stateInNumericEntity(t))}emitNumericEntity(t){const r=this.index-this.entityExcess-1;r+2+Number(this.state===ut.InHexEntity)!==this.index&&(r>this.sectionStart&&this.emitPartial(this.sectionStart,r),this.sectionStart=this.index+Number(t),this.emitCodePoint(PF(this.entityResult))),this.state=this.baseState}stateInNumericEntity(t){t===bt.Semi?this.emitNumericEntity(!0):WL(t)?(this.entityResult=this.entityResult*10+(t-bt.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}stateInHexEntity(t){t===bt.Semi?this.emitNumericEntity(!0):WL(t)?(this.entityResult=this.entityResult*16+(t-bt.Zero),this.entityExcess++):A$(t)?(this.entityResult=this.entityResult*16+((t|32)-bt.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===ut.Text||this.baseState===ut.InSpecialTag)}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===ut.Text||this.state===ut.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===ut.InAttributeValueDq||this.state===ut.InAttributeValueSq||this.state===ut.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index0&&s.has(this.stack[this.stack.length-1]);){const o=this.stack.pop();(n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,o,!0)}this.isVoidElement(t)||(this.stack.push(t),YL.has(t)?this.foreignContext.push(!0):ZL.has(t)&&this.foreignContext.push(!1)),(i=(a=this.cbs).onopentagname)===null||i===void 0||i.call(a,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var r,n;this.startIndex=this.openTagStart,this.attribs&&((n=(r=this.cbs).onopentag)===null||n===void 0||n.call(r,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,r){var n,a,i,s,o,l;this.endIndex=r;let u=this.getSlice(t,r);if(this.lowerCaseTagNames&&(u=u.toLowerCase()),(YL.has(u)||ZL.has(u))&&this.foreignContext.pop(),this.isVoidElement(u))!this.options.xmlMode&&u==="br"&&((a=(n=this.cbs).onopentagname)===null||a===void 0||a.call(n,"br"),(s=(i=this.cbs).onopentag)===null||s===void 0||s.call(i,"br",{},!0),(l=(o=this.cbs).onclosetag)===null||l===void 0||l.call(o,"br",!1));else{const c=this.stack.lastIndexOf(u);if(c!==-1)if(this.cbs.onclosetag){let f=this.stack.length-c;for(;f--;)this.cbs.onclosetag(this.stack.pop(),f!==0)}else this.stack.length=c;else!this.options.xmlMode&&u==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=r+1}onselfclosingtag(t){this.endIndex=t,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var r,n;const a=this.tagname;this.endOpenTag(t),this.stack[this.stack.length-1]===a&&((n=(r=this.cbs).onclosetag)===null||n===void 0||n.call(r,a,!t),this.stack.pop())}onattribname(t,r){this.startIndex=t;const n=this.getSlice(t,r);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(t,r){this.attribvalue+=this.getSlice(t,r)}onattribentity(t){this.attribvalue+=CL(t)}onattribend(t,r){var n,a;this.endIndex=r,(a=(n=this.cbs).onattribute)===null||a===void 0||a.call(n,this.attribname,this.attribvalue,t===Yi.Double?'"':t===Yi.Single?"'":t===Yi.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){const r=t.search(N$);let n=r<0?t:t.substr(0,r);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(t,r){this.endIndex=r;const n=this.getSlice(t,r);if(this.cbs.onprocessinginstruction){const a=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${a}`,`!${n}`)}this.startIndex=r+1}onprocessinginstruction(t,r){this.endIndex=r;const n=this.getSlice(t,r);if(this.cbs.onprocessinginstruction){const a=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${a}`,`?${n}`)}this.startIndex=r+1}oncomment(t,r,n){var a,i,s,o;this.endIndex=r,(i=(a=this.cbs).oncomment)===null||i===void 0||i.call(a,this.getSlice(t,r-n)),(o=(s=this.cbs).oncommentend)===null||o===void 0||o.call(s),this.startIndex=r+1}oncdata(t,r,n){var a,i,s,o,l,u,c,f,m,d;this.endIndex=r;const h=this.getSlice(t,r-n);this.options.xmlMode||this.options.recognizeCDATA?((i=(a=this.cbs).oncdatastart)===null||i===void 0||i.call(a),(o=(s=this.cbs).ontext)===null||o===void 0||o.call(s,h),(u=(l=this.cbs).oncdataend)===null||u===void 0||u.call(l)):((f=(c=this.cbs).oncomment)===null||f===void 0||f.call(c,`[CDATA[${h}]]`),(d=(m=this.cbs).oncommentend)===null||d===void 0||d.call(m)),this.startIndex=r+1}onend(){var t,r;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}(r=(t=this.cbs).onend)===null||r===void 0||r.call(t)}reset(){var t,r,n,a;(r=(t=this.cbs).onreset)===null||r===void 0||r.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(a=(n=this.cbs).onparserinit)===null||a===void 0||a.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,r){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let n=this.buffers[0].slice(t-this.bufferOffset,r-this.bufferOffset);for(;r-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,r-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var r,n;if(this.ended){(n=(r=this.cbs).onerror)===null||n===void 0||n.call(r,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var r,n;if(this.ended){(n=(r=this.cbs).onerror)===null||n===void 0||n.call(r,Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}function GA(e){for(var t=[],r=0;r>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var im=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return t==255&&r==254?H$(e.slice(2)):t==254&&r==255?GA(e.slice(2)):t==65279?e.slice(1):e},_1=function(t){return String.fromCharCode(t)},JL=function(t){return String.fromCharCode(t)},Ol,Tl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Tp(e){for(var t="",r=0,n=0,a=0,i=0,s=0,o=0,l=0,u=0;u>2,n=e.charCodeAt(u++),s=(r&3)<<4|n>>4,a=e.charCodeAt(u++),o=(n&15)<<2|a>>6,l=a&63,isNaN(n)?o=l=64:isNaN(a)&&(l=64),t+=Tl.charAt(i)+Tl.charAt(s)+Tl.charAt(o)+Tl.charAt(l);return t}function La(e){var t="",r=0,n=0,a=0,i=0,s=0,o=0,l=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var u=0;u>4,t+=String.fromCharCode(r),o=Tl.indexOf(e.charAt(u++)),n=(s&15)<<4|o>>2,o!==64&&(t+=String.fromCharCode(n)),l=Tl.indexOf(e.charAt(u++)),a=(o&3)<<6|l,l!==64&&(t+=String.fromCharCode(a));return t}var er=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),tl=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(t,r){return r?new Buffer(t,r):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function Xl(e){return er?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function QL(e){return er?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var ga=function(t){return er?tl(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)&255})};function Ng(e){if(typeof ArrayBuffer>"u")return ga(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=e.charCodeAt(n)&255;return t}function uu(e){if(Array.isArray(e))return e.map(function(n){return String.fromCharCode(n)}).join("");for(var t=[],r=0;r"u")throw new Error("Unsupported");return new Uint8Array(e)}function PI(e){if(typeof ArrayBuffer>"u")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return PI(new Uint8Array(e));for(var t=new Array(e.length),r=0;r>6&31,a[r++]=128|s&63;else if(s>=55296&&s<57344){s=(s&1023)+64;var o=e.charCodeAt(++i)&1023;a[r++]=240|s>>8&7,a[r++]=128|s>>2&63,a[r++]=128|o>>6&15|(s&3)<<4,a[r++]=128|o&63}else a[r++]=224|s>>12&15,a[r++]=128|s>>6&63,a[r++]=128|s&63;r>n&&(t.push(a.slice(0,r)),r=0,a=Xl(65535),n=65530)}return t.push(a.slice(0,r)),Xn(t)}var Bs=/\u0000/g,om=/[\u0001-\u0006]/g;function Cc(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function Ii(e,t){var r=""+e;return r.length>=t?r:Sn("0",t-r.length)+r}function NI(e,t){var r=""+e;return r.length>=t?r:Sn(" ",t-r.length)+r}function f_(e,t){var r=""+e;return r.length>=t?r:r+Sn(" ",t-r.length)}function G$(e,t){var r=""+Math.round(e);return r.length>=t?r:Sn("0",t-r.length)+r}function W$(e,t){var r=""+e;return r.length>=t?r:Sn("0",t-r.length)+r}var eC=Math.pow(2,32);function F0(e,t){if(e>eC||e<-eC)return G$(e,t);var r=Math.round(e);return W$(r,t)}function m_(e,t){return t=t||0,e.length>=7+t&&(e.charCodeAt(t)|32)===103&&(e.charCodeAt(t+1)|32)===101&&(e.charCodeAt(t+2)|32)===110&&(e.charCodeAt(t+3)|32)===101&&(e.charCodeAt(t+4)|32)===114&&(e.charCodeAt(t+5)|32)===97&&(e.charCodeAt(t+6)|32)===108}var tC=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],oS=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function z$(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "',e}var Bt={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "'},rC={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},K$={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function p_(e,t,r){for(var n=e<0?-1:1,a=e*n,i=0,s=1,o=0,l=1,u=0,c=0,f=Math.floor(a);ut&&(u>t?(c=l,o=i):(c=u,o=s)),!r)return[0,n*o,c];var m=Math.floor(n*o/c);return[m,n*o-m*c,c]}function Hu(e,t,r){if(e>2958465||e<0)return null;var n=e|0,a=Math.floor(86400*(e-n)),i=0,s=[],o={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(o.u)<1e-6&&(o.u=0),t&&t.date1904&&(n+=1462),o.u>.9999&&(o.u=0,++a==86400&&(o.T=a=0,++n,++o.D)),n===60)s=r?[1317,10,29]:[1900,2,29],i=3;else if(n===0)s=r?[1317,8,29]:[1900,1,0],i=6;else{n>60&&--n;var l=new Date(1900,0,1);l.setDate(l.getDate()+n-1),s=[l.getFullYear(),l.getMonth()+1,l.getDate()],i=l.getDay(),n<60&&(i=(i+6)%7),r&&(i=Q$(l,s))}return o.y=s[0],o.m=s[1],o.d=s[2],o.S=a%60,a=Math.floor(a/60),o.M=a%60,a=Math.floor(a/60),o.H=a,o.q=i,o}var WA=new Date(1899,11,31,0,0,0),q$=WA.getTime(),Y$=new Date(1900,2,1,0,0,0);function zA(e,t){var r=e.getTime();return t?r-=1461*24*60*60*1e3:e>=Y$&&(r+=24*60*60*1e3),(r-(q$+(e.getTimezoneOffset()-WA.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function UI(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Z$(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function X$(e){var t=e<0?12:11,r=UI(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10),r.length<=t)?r:e.toExponential(5)}function J$(e){var t=UI(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function xp(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),r;return t>=-4&&t<=-1?r=e.toPrecision(10+t):Math.abs(t)<=9?r=X$(e):t===10?r=e.toFixed(10).substr(0,12):r=J$(e),UI(Z$(r.toUpperCase()))}function m0(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):xp(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return oi(14,zA(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function Q$(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function ej(e,t,r,n){var a="",i=0,s=0,o=r.y,l,u=0;switch(e){case 98:o=r.y+543;case 121:switch(t.length){case 1:case 2:l=o%100,u=2;break;default:l=o%1e4,u=4;break}break;case 109:switch(t.length){case 1:case 2:l=r.m,u=t.length;break;case 3:return oS[r.m-1][1];case 5:return oS[r.m-1][0];default:return oS[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:l=r.d,u=t.length;break;case 3:return tC[r.q][0];default:return tC[r.q][1]}break;case 104:switch(t.length){case 1:case 2:l=1+(r.H+11)%12,u=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:l=r.H,u=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:l=r.M,u=t.length;break;default:throw"bad minute format: "+t}break;case 115:if(t!="s"&&t!="ss"&&t!=".0"&&t!=".00"&&t!=".000")throw"bad second format: "+t;return r.u===0&&(t=="s"||t=="ss")?Ii(r.S,t.length):(n>=2?s=n===3?1e3:100:s=n===1?10:1,i=Math.round(s*(r.S+r.u)),i>=60*s&&(i=0),t==="s"?i===0?"0":""+i/s:(a=Ii(i,2+n),t==="ss"?a.substr(0,2):"."+a.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":l=r.D*24+r.H;break;case"[m]":case"[mm]":l=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":l=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}u=t.length===3?1:2;break;case 101:l=o,u=1;break}var c=u>0?Ii(l,u):"";return c}function xl(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,n=e.substr(0,r);r!=e.length;r+=t)n+=(n.length>0?",":"")+e.substr(r,t);return n}var KA=/%/g;function tj(e,t,r){var n=t.replace(KA,""),a=t.length-n.length;return Fo(e,n,r*Math.pow(10,2*a))+Sn("%",a)}function rj(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Fo(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function qA(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+qA(e,-t);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%a;if(i<0&&(i+=a),r=(t/Math.pow(10,i)).toPrecision(n+1+(a+i)%a),r.indexOf("e")===-1){var s=Math.floor(Math.log(t)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+i):r+="E+"+(s-i);r.substr(0,2)==="0.";)r=r.charAt(0)+r.substr(2,a)+"."+r.substr(2+a),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(o,l,u,c){return l+u+c.substr(0,(a+i)%a)+"."+c.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var YA=/# (\?+)( ?)\/( ?)(\d+)/;function nj(e,t,r){var n=parseInt(e[4],10),a=Math.round(t*n),i=Math.floor(a/n),s=a-i*n,o=n;return r+(i===0?"":""+i)+" "+(s===0?Sn(" ",e[1].length+1+e[4].length):NI(s,e[1].length)+e[2]+"/"+e[3]+Ii(o,e[4].length))}function sj(e,t,r){return r+(t===0?"":""+t)+Sn(" ",e[1].length+2+e[4].length)}var ZA=/^#*0*\.([0#]+)/,XA=/\).*[0#]/,JA=/\(###\) ###\\?-####/;function Vs(e){for(var t="",r,n=0;n!=e.length;++n)switch(r=e.charCodeAt(n)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(r)}return t}function nC(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function sC(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function aj(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function ij(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function Pa(e,t,r){if(e.charCodeAt(0)===40&&!t.match(XA)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Pa("n",n,r):"("+Pa("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return rj(e,t,r);if(t.indexOf("%")!==-1)return tj(e,t,r);if(t.indexOf("E")!==-1)return qA(t,r);if(t.charCodeAt(0)===36)return"$"+Pa(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,o,l=Math.abs(r),u=r<0?"-":"";if(t.match(/^00+$/))return u+F0(l,t.length);if(t.match(/^[#?]+$/))return a=F0(r,0),a==="0"&&(a=""),a.length>t.length?a:Vs(t.substr(0,t.length-a.length))+a;if(i=t.match(YA))return nj(i,l,u);if(t.match(/^#+0+$/))return u+F0(l,t.length-t.indexOf("0"));if(i=t.match(ZA))return a=nC(r,i[1].length).replace(/^([^\.]+)$/,"$1."+Vs(i[1])).replace(/\.$/,"."+Vs(i[1])).replace(/\.(\d*)$/,function(h,p){return"."+p+Sn("0",Vs(i[1]).length-p.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return u+nC(l,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return u+xl(F0(l,0));if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Pa(e,t,-r):xl(""+(Math.floor(r)+aj(r,i[1].length)))+"."+Ii(sC(r,i[1].length),i[1].length);if(i=t.match(/^#,#*,#0/))return Pa(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=Cc(Pa(e,t.replace(/[\\-]/g,""),r)),s=0,Cc(Cc(t.replace(/\\/g,"")).replace(/[0#]/g,function(h){return s=0?Bi("n",n,r):"("+Bi("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return oj(e,t,r);if(t.indexOf("%")!==-1)return lj(e,t,r);if(t.indexOf("E")!==-1)return QA(t,r);if(t.charCodeAt(0)===36)return"$"+Bi(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,o,l=Math.abs(r),u=r<0?"-":"";if(t.match(/^00+$/))return u+Ii(l,t.length);if(t.match(/^[#?]+$/))return a=""+r,r===0&&(a=""),a.length>t.length?a:Vs(t.substr(0,t.length-a.length))+a;if(i=t.match(YA))return sj(i,l,u);if(t.match(/^#+0+$/))return u+Ii(l,t.length-t.indexOf("0"));if(i=t.match(ZA))return a=(""+r).replace(/^([^\.]+)$/,"$1."+Vs(i[1])).replace(/\.$/,"."+Vs(i[1])),a=a.replace(/\.(\d*)$/,function(h,p){return"."+p+Sn("0",Vs(i[1]).length-p.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return u+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return u+xl(""+l);if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Bi(e,t,-r):xl(""+r)+"."+Sn("0",i[1].length);if(i=t.match(/^#,#*,#0/))return Bi(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=Cc(Bi(e,t.replace(/[\\-]/g,""),r)),s=0,Cc(Cc(t.replace(/\\/g,"")).replace(/[0#]/g,function(h){return s-1||r=="\\"&&e.charAt(t+1)=="-"&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t,(e.charAt(t)==" "||e.charAt(t)=="*")&&++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t-1;);break;case" ":++t;break;default:++t;break}return!1}function cj(e,t,r,n){for(var a=[],i="",s=0,o="",l="t",u,c,f,m="H";s=12?"P":"A"),p.t="T",m="h",s+=3):e.substr(s,5).toUpperCase()==="AM/PM"?(u!=null&&(p.v=u.H>=12?"PM":"AM"),p.t="T",s+=5,m="h"):e.substr(s,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348"?(u!=null&&(p.v=u.H>=12?"\u4E0B\u5348":"\u4E0A\u5348"),p.t="T",s+=5,m="h"):(p.t="t",++s),u==null&&p.t==="T")return"";a[a.length]=p,l=o;break;case"[":for(i=o;e.charAt(s++)!=="]"&&s-1&&(i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$",Mf(e)||(a[a.length]={t:"t",v:i}));break;case".":if(u!=null){for(i=o;++s-1;)i+=o;a[a.length]={t:"n",v:i};break;case"?":for(i=o;e.charAt(++s)===o;)i+=o;a[a.length]={t:o,v:i},l=o;break;case"*":++s,(e.charAt(s)==" "||e.charAt(s)=="*")&&++s;break;case"(":case")":a[a.length]={t:n===1?"t":o,v:o},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(i=o;s-1;)i+=e.charAt(s);a[a.length]={t:"D",v:i};break;case" ":a[a.length]={t:o,v:o},++s;break;case"$":a[a.length]={t:"t",v:"$"},++s;break;default:if(",$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP".indexOf(o)===-1)throw new Error("unrecognized character "+o+" in "+e);a[a.length]={t:"t",v:o},++s;break}var _=0,S=0,v;for(s=a.length-1,l="t";s>=0;--s)switch(a[s].t){case"h":case"H":a[s].t=m,l="h",_<1&&(_=1);break;case"s":(v=a[s].v.match(/\.0+$/))&&(S=Math.max(S,v[0].length-1)),_<3&&(_=3);case"d":case"y":case"M":case"e":l=a[s].t;break;case"m":l==="s"&&(a[s].t="M",_<2&&(_=2));break;case"X":break;case"Z":_<1&&a[s].v.match(/[Hh]/)&&(_=1),_<2&&a[s].v.match(/[Mm]/)&&(_=2),_<3&&a[s].v.match(/[Ss]/)&&(_=3)}switch(_){case 0:break;case 1:u.u>=.5&&(u.u=0,++u.S),u.S>=60&&(u.S=0,++u.M),u.M>=60&&(u.M=0,++u.H);break;case 2:u.u>=.5&&(u.u=0,++u.S),u.S>=60&&(u.S=0,++u.M);break}var g="",y;for(s=0;s0){g.charCodeAt(0)==40?(I=t<0&&g.charCodeAt(0)===45?-t:t,D=Fo("n",g,I)):(I=t<0&&n>1?-t:t,D=Fo("n",g,I),I<0&&a[0]&&a[0].t=="t"&&(D=D.substr(1),a[0].v="-"+a[0].v)),y=D.length-1;var T=a.length;for(s=0;s-1){T=s;break}var b=a.length;if(T===a.length&&D.indexOf("E")===-1){for(s=a.length-1;s>=0;--s)a[s]==null||"n?".indexOf(a[s].t)===-1||(y>=a[s].v.length-1?(y-=a[s].v.length,a[s].v=D.substr(y+1,a[s].v.length)):y<0?a[s].v="":(a[s].v=D.substr(0,y+1),y=-1),a[s].t="t",b=s);y>=0&&b=0;--s)if(!(a[s]==null||"n?".indexOf(a[s].t)===-1)){for(c=a[s].v.indexOf(".")>-1&&s===T?a[s].v.indexOf(".")-1:a[s].v.length-1,M=a[s].v.substr(c+1);c>=0;--c)y>=0&&(a[s].v.charAt(c)==="0"||a[s].v.charAt(c)==="#")&&(M=D.charAt(y--)+M);a[s].v=M,a[s].t="t",b=s}for(y>=0&&b-1&&s===T?a[s].v.indexOf(".")+1:0,M=a[s].v.substr(0,c);c-1&&(I=n>1&&t<0&&s>0&&a[s-1].v==="-"?-t:t,a[s].v=Fo(a[s].t,a[s].v,I),a[s].t="t");var N="";for(s=0;s!==a.length;++s)a[s]!=null&&(N+=a[s].v);return N}var aC=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function iC(e,t){if(t==null)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0;break}return!1}function fj(e,t){var r=uj(e),n=r.length,a=r[n-1].indexOf("@");if(n<4&&a>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof t!="number")return[4,r.length===4||a>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=a>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=a>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=a>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var i=t>0?r[0]:t<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[n,i];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var s=r[0].match(aC),o=r[1].match(aC);return iC(t,s)?[n,r[0]]:iC(t,o)?[n,r[1]]:[n,r[s!=null&&o!=null?2:1]]}return[n,i]}function oi(e,t,r){r==null&&(r={});var n="";switch(typeof e){case"string":e=="m/d/yy"&&r.dateNF?n=r.dateNF:n=e;break;case"number":e==14&&r.dateNF?n=r.dateNF:n=(r.table!=null?r.table:Bt)[e],n==null&&(n=r.table&&r.table[rC[e]]||Bt[rC[e]]),n==null&&(n=K$[e]||"General");break}if(m_(n,0))return m0(t,r);t instanceof Date&&(t=zA(t,r.date1904));var a=fj(n,t);if(m_(a[1]))return m0(t,r);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return cj(a[1],t,r,a[0])}function Bo(e,t){if(typeof t!="number"){t=+t||-1;for(var r=0;r<392;++r){if(Bt[r]==null){t<0&&(t=r);continue}if(Bt[r]==e){t=r;break}}t<0&&(t=391)}return Bt[t]=e,t}function Ug(e){for(var t=0;t!=392;++t)e[t]!==void 0&&Bo(e[t],t)}function Df(){Bt=z$()}var mj={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},t6=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function pj(e){var t=typeof e=="number"?Bt[e]:e;return t=t.replace(t6,"(\\d+)"),new RegExp("^"+t+"$")}function dj(e,t,r){var n=-1,a=-1,i=-1,s=-1,o=-1,l=-1;(t.match(t6)||[]).forEach(function(f,m){var d=parseInt(r[m+1],10);switch(f.toLowerCase().charAt(0)){case"y":n=d;break;case"d":i=d;break;case"h":s=d;break;case"s":l=d;break;case"m":s>=0?o=d:a=d;break}}),l>=0&&o==-1&&a>=0&&(o=a,a=-1);var u=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);u.length==7&&(u="0"+u),u.length==8&&(u="20"+u);var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return s==-1&&o==-1&&l==-1?u:n==-1&&a==-1&&i==-1?c:u+"T"+c}var hj=function(){var e={};e.version="1.2.0";function t(){for(var D=0,T=new Array(256),b=0;b!=256;++b)D=b,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,D=D&1?-306674912^D>>>1:D>>>1,T[b]=D;return typeof Int32Array<"u"?new Int32Array(T):T}var r=t();function n(D){var T=0,b=0,N=0,V=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(N=0;N!=256;++N)V[N]=D[N];for(N=0;N!=256;++N)for(b=D[N],T=256+N;T<4096;T+=256)b=V[T]=b>>>8^D[b&255];var A=[];for(N=1;N!=16;++N)A[N-1]=typeof Int32Array<"u"?V.subarray(N*256,N*256+256):V.slice(N*256,N*256+256);return A}var a=n(r),i=a[0],s=a[1],o=a[2],l=a[3],u=a[4],c=a[5],f=a[6],m=a[7],d=a[8],h=a[9],p=a[10],_=a[11],S=a[12],v=a[13],g=a[14];function y(D,T){for(var b=T^-1,N=0,V=D.length;N>>8^r[(b^D.charCodeAt(N++))&255];return~b}function M(D,T){for(var b=T^-1,N=D.length-15,V=0;V>8&255]^S[D[V++]^b>>16&255]^_[D[V++]^b>>>24]^p[D[V++]]^h[D[V++]]^d[D[V++]]^m[D[V++]]^f[D[V++]]^c[D[V++]]^u[D[V++]]^l[D[V++]]^o[D[V++]]^s[D[V++]]^i[D[V++]]^r[D[V++]];for(N+=15;V>>8^r[(b^D[V++])&255];return~b}function I(D,T){for(var b=T^-1,N=0,V=D.length,A=0,j=0;N>>8^r[(b^A)&255]:A<2048?(b=b>>>8^r[(b^(192|A>>6&31))&255],b=b>>>8^r[(b^(128|A&63))&255]):A>=55296&&A<57344?(A=(A&1023)+64,j=D.charCodeAt(N++)&1023,b=b>>>8^r[(b^(240|A>>8&7))&255],b=b>>>8^r[(b^(128|A>>2&63))&255],b=b>>>8^r[(b^(128|j>>6&15|(A&3)<<4))&255],b=b>>>8^r[(b^(128|j&63))&255]):(b=b>>>8^r[(b^(224|A>>12&15))&255],b=b>>>8^r[(b^(128|A>>6&63))&255],b=b>>>8^r[(b^(128|A&63))&255]);return~b}return e.table=r,e.bstr=y,e.buf=M,e.str=I,e}(),kt=function(){var t={};t.version="1.2.1";function r(w,ee){for(var se=w.split("/"),Z=ee.split("/"),X=0,re=0,fe=Math.min(se.length,Z.length);X>>1,w.write_shift(2,se);var Z=ee.getFullYear()-1980;Z=Z<<4|ee.getMonth()+1,Z=Z<<5|ee.getDate(),w.write_shift(2,Z)}function s(w){var ee=w.read_shift(2)&65535,se=w.read_shift(2)&65535,Z=new Date,X=se&31;se>>>=5;var re=se&15;se>>>=4,Z.setMilliseconds(0),Z.setFullYear(se+1980),Z.setMonth(re-1),Z.setDate(X);var fe=ee&31;ee>>>=5;var _e=ee&63;return ee>>>=6,Z.setHours(ee),Z.setMinutes(_e),Z.setSeconds(fe<<1),Z}function o(w){cs(w,0);for(var ee={},se=0;w.l<=w.length-4;){var Z=w.read_shift(2),X=w.read_shift(2),re=w.l+X,fe={};switch(Z){case 21589:se=w.read_shift(1),se&1&&(fe.mtime=w.read_shift(4)),X>5&&(se&2&&(fe.atime=w.read_shift(4)),se&4&&(fe.ctime=w.read_shift(4))),fe.mtime&&(fe.mt=new Date(fe.mtime*1e3));break}w.l=re,ee[Z]=fe}return ee}var l;function u(){return l||(l={})}function c(w,ee){if(w[0]==80&&w[1]==75)return Ae(w,ee);if((w[0]|32)==109&&(w[1]|32)==105)return rt(w,ee);if(w.length<512)throw new Error("CFB file size "+w.length+" < 512");var se=3,Z=512,X=0,re=0,fe=0,_e=0,ge=0,ye=[],pe=w.slice(0,512);cs(pe,0);var De=f(pe);switch(se=De[0],se){case 3:Z=512;break;case 4:Z=4096;break;case 0:if(De[1]==0)return Ae(w,ee);default:throw new Error("Major Version: Expected 3 or 4 saw "+se)}Z!==512&&(pe=w.slice(0,Z),cs(pe,28));var ke=w.slice(0,Z);m(pe,se);var qe=pe.read_shift(4,"i");if(se===3&&qe!==0)throw new Error("# Directory Sectors: Expected 0 saw "+qe);pe.l+=4,fe=pe.read_shift(4,"i"),pe.l+=4,pe.chk("00100000","Mini Stream Cutoff Size: "),_e=pe.read_shift(4,"i"),X=pe.read_shift(4,"i"),ge=pe.read_shift(4,"i"),re=pe.read_shift(4,"i");for(var je=-1,Ke=0;Ke<109&&(je=pe.read_shift(4,"i"),!(je<0));++Ke)ye[Ke]=je;var lt=d(w,Z);_(ge,re,lt,Z,ye);var vt=v(lt,fe,ye,Z);vt[fe].name="!Directory",X>0&&_e!==j&&(vt[_e].name="!MiniFAT"),vt[ye[0]].name="!FAT",vt.fat_addrs=ye,vt.ssz=Z;var Rt={},Ht=[],At=[],rs=[];g(fe,vt,lt,Ht,X,Rt,At,_e),h(At,rs,Ht),Ht.shift();var du={FileIndex:At,FullPaths:rs};return ee&&ee.raw&&(du.raw={header:ke,sectors:lt}),du}function f(w){if(w[w.l]==80&&w[w.l+1]==75)return[0,0];w.chk(O,"Header Signature: "),w.l+=16;var ee=w.read_shift(2,"u");return[w.read_shift(2,"u"),ee]}function m(w,ee){var se=9;switch(w.l+=2,se=w.read_shift(2)){case 9:if(ee!=3)throw new Error("Sector Shift: Expected 9 saw "+se);break;case 12:if(ee!=4)throw new Error("Sector Shift: Expected 12 saw "+se);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+se)}w.chk("0600","Mini Sector Shift: "),w.chk("000000000000","Reserved: ")}function d(w,ee){for(var se=Math.ceil(w.length/ee)-1,Z=[],X=1;X0&&fe>=0;)re.push(ee.slice(fe*A,fe*A+A)),X-=A,fe=Pu(se,fe*4);return re.length===0?tt(0):Xn(re).slice(0,w.size)}function _(w,ee,se,Z,X){var re=j;if(w===j){if(ee!==0)throw new Error("DIFAT chain shorter than expected")}else if(w!==-1){var fe=se[w],_e=(Z>>>2)-1;if(!fe)return;for(var ge=0;ge<_e&&(re=Pu(fe,ge*4))!==j;++ge)X.push(re);_(Pu(fe,Z-4),ee-1,se,Z,X)}}function S(w,ee,se,Z,X){var re=[],fe=[];X||(X=[]);var _e=Z-1,ge=0,ye=0;for(ge=ee;ge>=0;){X[ge]=!0,re[re.length]=ge,fe.push(w[ge]);var pe=se[Math.floor(ge*4/Z)];if(ye=ge*4&_e,Z<4+ye)throw new Error("FAT boundary crossed: "+ge+" 4 "+Z);if(!w[pe])break;ge=Pu(w[pe],ye)}return{nodes:re,data:vC([fe])}}function v(w,ee,se,Z){var X=w.length,re=[],fe=[],_e=[],ge=[],ye=Z-1,pe=0,De=0,ke=0,qe=0;for(pe=0;pe=X&&(ke-=X),!fe[ke]){ge=[];var je=[];for(De=ke;De>=0;){je[De]=!0,fe[De]=!0,_e[_e.length]=De,ge.push(w[De]);var Ke=se[Math.floor(De*4/Z)];if(qe=De*4&ye,Z<4+qe)throw new Error("FAT boundary crossed: "+De+" 4 "+Z);if(!w[Ke]||(De=Pu(w[Ke],qe),je[De]))break}re[ke]={nodes:_e,data:vC([ge])}}return re}function g(w,ee,se,Z,X,re,fe,_e){for(var ge=0,ye=Z.length?2:0,pe=ee[w].data,De=0,ke=0,qe;De0&&ge!==j&&(ee[ge].name="!StreamData")):Ke.size>=4096?(Ke.storage="fat",ee[Ke.start]===void 0&&(ee[Ke.start]=S(se,Ke.start,ee.fat_addrs,ee.ssz)),ee[Ke.start].name=Ke.name,Ke.content=ee[Ke.start].data.slice(0,Ke.size)):(Ke.storage="minifat",Ke.size<0?Ke.size=0:ge!==j&&Ke.start!==j&&ee[ge]&&(Ke.content=p(Ke,ee[ge].data,(ee[_e]||{}).data))),Ke.content&&cs(Ke.content,0),re[qe]=Ke,fe.push(Ke)}}function y(w,ee){return new Date((ha(w,ee+4)/1e7*Math.pow(2,32)+ha(w,ee)/1e7-11644473600)*1e3)}function M(w,ee){return u(),c(l.readFileSync(w),ee)}function I(w,ee){var se=ee&&ee.type;switch(se||er&&Buffer.isBuffer(w)&&(se="buffer"),se||"base64"){case"file":return M(w,ee);case"base64":return c(ga(La(w)),ee);case"binary":return c(ga(w),ee)}return c(w,ee)}function D(w,ee){var se=ee||{},Z=se.root||"Root Entry";if(w.FullPaths||(w.FullPaths=[]),w.FileIndex||(w.FileIndex=[]),w.FullPaths.length!==w.FileIndex.length)throw new Error("inconsistent CFB structure");w.FullPaths.length===0&&(w.FullPaths[0]=Z+"/",w.FileIndex[0]={name:Z,type:5}),se.CLSID&&(w.FileIndex[0].clsid=se.CLSID),T(w)}function T(w){var ee="Sh33tJ5";if(!kt.find(w,"/"+ee)){var se=tt(4);se[0]=55,se[1]=se[3]=50,se[2]=54,w.FileIndex.push({name:ee,type:2,content:se,size:4,L:69,R:69,C:69}),w.FullPaths.push(w.FullPaths[0]+ee),b(w)}}function b(w,ee){D(w);for(var se=!1,Z=!1,X=w.FullPaths.length-1;X>=0;--X){var re=w.FileIndex[X];switch(re.type){case 0:Z?se=!0:(w.FileIndex.pop(),w.FullPaths.pop());break;case 1:case 2:case 5:Z=!0,isNaN(re.R*re.L*re.C)&&(se=!0),re.R>-1&&re.L>-1&&re.R==re.L&&(se=!0);break;default:se=!0;break}}if(!(!se&&!ee)){var fe=new Date(1987,1,19),_e=0,ge=Object.create?Object.create(null):{},ye=[];for(X=0;X1?1:-1,De.size=0,De.type=5;else if(ke.slice(-1)=="/"){for(_e=X+1;_e=ye.length?-1:_e,_e=X+1;_e=ye.length?-1:_e,De.type=1}else n(w.FullPaths[X+1]||"")==n(ke)&&(De.R=X+1),De.type=2}}}function N(w,ee){var se=ee||{};if(se.fileType=="mad")return et(w,se);switch(b(w),se.fileType){case"zip":return B(w,se)}var Z=function(qe){for(var je=0,Ke=0,lt=0;lt0&&(Rt<4096?je+=Rt+63>>6:Ke+=Rt+511>>9)}}for(var Ht=qe.FullPaths.length+3>>2,At=je+7>>3,rs=je+127>>7,du=At+Ke+Ht+rs,ks=du+127>>7,zn=ks<=109?0:Math.ceil((ks-109)/127);du+ks+zn+127>>7>ks;)zn=++ks<=109?0:Math.ceil((ks-109)/127);var Kr=[1,zn,ks,rs,Ht,Ke,je,0];return qe.FileIndex[0].size=je<<6,Kr[7]=(qe.FileIndex[0].start=Kr[0]+Kr[1]+Kr[2]+Kr[3]+Kr[4]+Kr[5])+(Kr[6]+7>>3),Kr}(w),X=tt(Z[7]<<9),re=0,fe=0;{for(re=0;re<8;++re)X.write_shift(1,R[re]);for(re=0;re<8;++re)X.write_shift(2,0);for(X.write_shift(2,62),X.write_shift(2,3),X.write_shift(2,65534),X.write_shift(2,9),X.write_shift(2,6),re=0;re<3;++re)X.write_shift(2,0);for(X.write_shift(4,0),X.write_shift(4,Z[2]),X.write_shift(4,Z[0]+Z[1]+Z[2]+Z[3]-1),X.write_shift(4,0),X.write_shift(4,1<<12),X.write_shift(4,Z[3]?Z[0]+Z[1]+Z[2]-1:j),X.write_shift(4,Z[3]),X.write_shift(-4,Z[1]?Z[0]-1:j),X.write_shift(4,Z[1]),re=0;re<109;++re)X.write_shift(-4,re>9)));for(_e(Z[6]+7>>3);X.l&511;)X.write_shift(-4,W.ENDOFCHAIN);for(fe=re=0,ge=0;ge=4096)&&(pe.start=fe,_e(ye+63>>6)));for(;X.l&511;)X.write_shift(-4,W.ENDOFCHAIN);for(re=0;re=4096)if(X.l=pe.start+1<<9,er&&Buffer.isBuffer(pe.content))pe.content.copy(X,X.l,0,pe.size),X.l+=pe.size+511&-512;else{for(ge=0;ge0&&pe.size<4096)if(er&&Buffer.isBuffer(pe.content))pe.content.copy(X,X.l,0,pe.size),X.l+=pe.size+63&-64;else{for(ge=0;ge>16|ee>>8|ee)&255}for(var Me=typeof Uint8Array<"u",Re=Me?new Uint8Array(1<<8):[],be=0;be<1<<8;++be)Re[be]=Le(be);function ae(w,ee){var se=Re[w&255];return ee<=8?se>>>8-ee:(se=se<<8|Re[w>>8&255],ee<=16?se>>>16-ee:(se=se<<8|Re[w>>16&255],se>>>24-ee))}function dt(w,ee){var se=ee&7,Z=ee>>>3;return(w[Z]|(se<=6?0:w[Z+1]<<8))>>>se&3}function P(w,ee){var se=ee&7,Z=ee>>>3;return(w[Z]|(se<=5?0:w[Z+1]<<8))>>>se&7}function Ve(w,ee){var se=ee&7,Z=ee>>>3;return(w[Z]|(se<=4?0:w[Z+1]<<8))>>>se&15}function we(w,ee){var se=ee&7,Z=ee>>>3;return(w[Z]|(se<=3?0:w[Z+1]<<8))>>>se&31}function Y(w,ee){var se=ee&7,Z=ee>>>3;return(w[Z]|(se<=1?0:w[Z+1]<<8))>>>se&127}function Q(w,ee,se){var Z=ee&7,X=ee>>>3,re=(1<>>Z;return se<8-Z||(fe|=w[X+1]<<8-Z,se<16-Z)||(fe|=w[X+2]<<16-Z,se<24-Z)||(fe|=w[X+3]<<24-Z),fe&re}function Te(w,ee,se){var Z=ee&7,X=ee>>>3;return Z<=5?w[X]|=(se&7)<>8-Z),ee+3}function Ge(w,ee,se){var Z=ee&7,X=ee>>>3;return se=(se&1)<>>3;return se<<=Z,w[X]|=se&255,se>>>=8,w[X+1]=se,ee+8}function x(w,ee,se){var Z=ee&7,X=ee>>>3;return se<<=Z,w[X]|=se&255,se>>>=8,w[X+1]=se&255,w[X+2]=se>>>8,ee+16}function Ne(w,ee){var se=w.length,Z=2*se>ee?2*se:ee+5,X=0;if(se>=ee)return w;if(er){var re=QL(Z);if(w.copy)w.copy(re);else for(;X>Z-De,fe=(1<=0;--fe)ee[_e|fe<0;)ge[ge.l++]=_e[ye++]}return ge.l}function fe(_e,ge){for(var ye=0,pe=0,De=Me?new Uint16Array(32768):[];pe<_e.length;){var ke=Math.min(65535,_e.length-pe);if(ke<10){for(ye=Te(ge,ye,+(pe+ke==_e.length)),ye&7&&(ye+=8-(ye&7)),ge.l=ye/8|0,ge.write_shift(2,ke),ge.write_shift(2,~ke&65535);ke-- >0;)ge[ge.l++]=_e[pe++];ye=ge.l*8;continue}ye=Te(ge,ye,+(pe+ke==_e.length)+2);for(var qe=0;ke-- >0;){var je=_e[pe];qe=(qe<<5^je)&32767;var Ke=-1,lt=0;if((Ke=De[qe])&&(Ke|=pe&-32768,Ke>pe&&(Ke-=32768),Ke2){je=X[lt],je<=22?ye=ze(ge,ye,Re[je+1]>>1)-1:(ze(ge,ye,3),ye+=5,ze(ge,ye,Re[je-23]>>5),ye+=3);var vt=je<8?0:je-4>>2;vt>0&&(x(ge,ye,lt-Ie[je]),ye+=vt),je=ee[pe-Ke],ye=ze(ge,ye,Re[je]>>3),ye-=3;var Rt=je<4?0:je-2>>1;Rt>0&&(x(ge,ye,pe-Ke-Fe[je]),ye+=Rt);for(var Ht=0;Ht>8-je;for(var Ke=(1<<7-je)-1;Ke>=0;--Ke)Ce[qe|Ke<>>=3){case 16:for(re=3+dt(w,ee),ee+=2,qe=lt[lt.length-1];re-- >0;)lt.push(qe);break;case 17:for(re=3+P(w,ee),ee+=3;re-- >0;)lt.push(0);break;case 18:for(re=11+Y(w,ee),ee+=7;re-- >0;)lt.push(0);break;default:lt.push(qe),ge>>0,_e=0,ge=0;(Z&1)==0;){if(Z=P(w,se),se+=3,Z>>>1==0){se&7&&(se+=8-(se&7));var ye=w[se>>>3]|w[(se>>>3)+1]<<8;if(se+=32,ye>0)for(!ee&&fe0;)X[re++]=w[se>>>3],se+=8;continue}else Z>>1==1?(_e=9,ge=5):(se=ce(w,se),_e=gt,ge=oe);for(;;){!ee&&fe>>1==1?Ye[pe]:ne[pe];if(se+=De&15,De>>>=4,(De>>>8&255)===0)X[re++]=De;else{if(De==256)break;De-=257;var ke=De<8?0:De-4>>2;ke>5&&(ke=0);var qe=re+Ie[De];ke>0&&(qe+=Q(w,se,ke),se+=ke),pe=Q(w,se,ge),De=Z>>>1==1?G[pe]:ie[pe],se+=De&15,De>>>=4;var je=De<4?0:De-2>>1,Ke=Fe[De];for(je>0&&(Ke+=Q(w,se,je),se+=je),!ee&&fe>>3]:[X.slice(0,re),se+7>>>3]}function Ct(w,ee){var se=w.slice(w.l||0),Z=Ze(se,ee);return w.l+=Z[1],Z[0]}function Ue(w,ee){if(w)typeof console<"u"&&console.error(ee);else throw new Error(ee)}function Ae(w,ee){var se=w;cs(se,0);var Z=[],X=[],re={FileIndex:Z,FullPaths:X};D(re,{root:ee.root});for(var fe=se.length-4;(se[fe]!=80||se[fe+1]!=75||se[fe+2]!=5||se[fe+3]!=6)&&fe>=0;)--fe;se.l=fe+4,se.l+=4;var _e=se.read_shift(2);se.l+=6;var ge=se.read_shift(4);for(se.l=ge,fe=0;fe<_e;++fe){se.l+=20;var ye=se.read_shift(4),pe=se.read_shift(4),De=se.read_shift(2),ke=se.read_shift(2),qe=se.read_shift(2);se.l+=8;var je=se.read_shift(4),Ke=o(se.slice(se.l+De,se.l+De+ke));se.l+=De+ke+qe;var lt=se.l;se.l=je+4,nt(se,ye,pe,re,Ke),se.l=lt}return re}function nt(w,ee,se,Z,X){w.l+=2;var re=w.read_shift(2),fe=w.read_shift(2),_e=s(w);if(re&8257)throw new Error("Unsupported ZIP encryption");for(var ge=w.read_shift(4),ye=w.read_shift(4),pe=w.read_shift(4),De=w.read_shift(2),ke=w.read_shift(2),qe="",je=0;je0&&(se=se.slice(0,se.length-1),se=se.slice(0,se.lastIndexOf("/")+1),re.slice(0,se.length)!=se););var fe=(Z[1]||"").match(/boundary="(.*?)"/);if(!fe)throw new Error("MAD cannot find boundary");var _e="--"+(fe[1]||""),ge=[],ye=[],pe={FileIndex:ge,FullPaths:ye};D(pe);var De,ke=0;for(X=0;X=32&&qe<128&&++De;var Ke=De>=ke*4/5;X.push(Z),X.push("Content-Location: "+(se.root||"file:///C:/SheetJS/")+fe),X.push("Content-Transfer-Encoding: "+(Ke?"quoted-printable":"base64")),X.push("Content-Type: "+Xe(_e,fe)),X.push(""),X.push(Ke?Ee(pe):Qe(pe))}return X.push(Z+`--\r +`),X.join(`\r +`)}function ot(w){var ee={};return D(ee,w),ee}function Ot(w,ee,se,Z){var X=Z&&Z.unsafe;X||D(w);var re=!X&&kt.find(w,ee);if(!re){var fe=w.FullPaths[0];ee.slice(0,fe.length)==fe?fe=ee:(fe.slice(-1)!="/"&&(fe+="/"),fe=(fe+ee).replace("//","/")),re={name:a(ee),type:2},w.FileIndex.push(re),w.FullPaths.push(fe),X||kt.utils.cfb_gc(w)}return re.content=se,re.size=se?se.length:0,Z&&(Z.CLSID&&(re.clsid=Z.CLSID),Z.mt&&(re.mt=Z.mt),Z.ct&&(re.ct=Z.ct)),re}function Kt(w,ee){D(w);var se=kt.find(w,ee);if(se){for(var Z=0;Z3&&(n=!0),a[i].slice(a[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+a[i].slice(a[i].length-1));case"D":r*=24;case"H":r*=60;case"M":if(n)r*=60;else throw new Error("Unsupported ISO Duration Field: M")}t+=r*parseInt(a[i],10)}return t}var uC=new Date("2017-02-19T19:06:09.000Z"),n6=isNaN(uC.getFullYear())?new Date("2/19/17"):uC,Mj=n6.getFullYear()==2017;function tn(e,t){var r=new Date(e);if(Mj)return t>0?r.setTime(r.getTime()+r.getTimezoneOffset()*60*1e3):t<0&&r.setTime(r.getTime()-r.getTimezoneOffset()*60*1e3),r;if(e instanceof Date)return e;if(n6.getFullYear()==1917&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],i=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3)),i}function p0(e,t){if(er&&Buffer.isBuffer(e)){if(t){if(e[0]==255&&e[1]==254)return to(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return to(GA(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder<"u")try{if(t){if(e[0]==255&&e[1]==254)return to(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return to(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"\u20AC":"\x80","\u201A":"\x82",\u0192:"\x83","\u201E":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87","\u02C6":"\x88","\u2030":"\x89",\u0160:"\x8A","\u2039":"\x8B",\u0152:"\x8C",\u017D:"\x8E","\u2018":"\x91","\u2019":"\x92","\u201C":"\x93","\u201D":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02DC":"\x98","\u2122":"\x99",\u0161:"\x9A","\u203A":"\x9B",\u0153:"\x9C",\u017E:"\x9E",\u0178:"\x9F"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(i){return r[i]||i})}catch{}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function rn(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=rn(e[r]));return t}function Sn(e,t){for(var r="";r.length3&&Dj.indexOf(s)==-1)return r}else if(s.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||i>1)&&n!=101?t:e.match(/[^-0-9:,\/\\]/)?r:t}var Ij=function(){var e="abacaba".split(/(:?b)/i).length==5;return function(r,n,a){if(e||typeof n=="string")return r.split(n);for(var i=r.split(n),s=[i[0]],o=1;o\r +`,Ej=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,fC=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/mg,bj=/<[^>]*>/g,Ts=Cn.match(fC)?fC:bj,Lj=/<\w*:/,Cj=/<(\/?)\w+:/;function Wt(e,t,r){for(var n={},a=0,i=0;a!==e.length&&!((i=e.charCodeAt(a))===32||i===10||i===13);++a);if(t||(n[0]=e.slice(0,a)),a===e.length)return n;var s=e.match(Ej),o=0,l="",u=0,c="",f="",m=1;if(s)for(u=0;u!=s.length;++u){for(f=s[u],i=0;i!=f.length&&f.charCodeAt(i)!==61;++i);for(c=f.slice(0,i).trim();f.charCodeAt(i+1)==32;)++i;for(m=(a=f.charCodeAt(i+1))==34||a==39?1:0,l=f.slice(i+1+m,f.length-m),o=0;o!=c.length&&c.charCodeAt(o)!==58;++o);if(o===c.length)c.indexOf("_")>0&&(c=c.slice(0,c.indexOf("_"))),n[c]=l,r||(n[c.toLowerCase()]=l);else{var d=(o===5&&c.slice(0,5)==="xmlns"?"xmlns":"")+c.slice(o+1);if(n[d]&&c.slice(o-3,o)=="ext")continue;n[d]=l,r||(n[d.toLowerCase()]=l)}}return n}function ho(e){return e.replace(Cj,"<$1")}var l6={""":'"',"'":"'",">":">","<":"<","&":"&"},FI=Vg(l6),hr=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,t=/_x([\da-fA-F]{4})_/ig;return function r(n){var a=n+"",i=a.indexOf("-1?16:10))||o}).replace(t,function(o,l){return String.fromCharCode(parseInt(l,16))});var s=a.indexOf("]]>");return r(a.slice(0,i))+a.slice(i+9,s)+r(a.slice(s+3))}}(),BI=/[&<>'"]/g,Tj=/[\u0000-\u0008\u000b-\u001f]/g;function Pr(e){var t=e+"";return t.replace(BI,function(r){return FI[r]}).replace(Tj,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function mC(e){return Pr(e).replace(/ /g,"_x0020_")}var u6=/[\u0000-\u001f]/g;function HI(e){var t=e+"";return t.replace(BI,function(r){return FI[r]}).replace(/\n/g,"
").replace(u6,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function xj(e){var t=e+"";return t.replace(BI,function(r){return FI[r]}).replace(u6,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}var pC=function(){var e=/&#(\d+);/g;function t(r,n){return String.fromCharCode(parseInt(n,10))}return function(n){return n.replace(e,t)}}();function Aj(e){return e.replace(/(\r\n|[\r\n])/g," ")}function Qr(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function lS(e){for(var t="",r=0,n=0,a=0,i=0,s=0,o=0;r191&&n<224){s=(n&31)<<6,s|=a&63,t+=String.fromCharCode(s);continue}if(i=e.charCodeAt(r++),n<240){t+=String.fromCharCode((n&15)<<12|(a&63)<<6|i&63);continue}s=e.charCodeAt(r++),o=((n&7)<<18|(a&63)<<12|(i&63)<<6|s&63)-65536,t+=String.fromCharCode(55296+(o>>>10&1023)),t+=String.fromCharCode(56320+(o&1023))}return t}function dC(e){var t=Xl(2*e.length),r,n,a=1,i=0,s=0,o;for(n=0;n>>10&1023),r=56320+(r&1023)),s!==0&&(t[i++]=s&255,t[i++]=s>>>8,s=0),t[i++]=r%256,t[i++]=r>>>8;return t.slice(0,i).toString("ucs2")}function hC(e){return tl(e,"binary").toString("utf8")}var g1="foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3",Hr=er&&(hC(g1)==lS(g1)&&hC||dC(g1)==lS(g1)&&dC)||lS,to=er?function(e){return tl(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,a=0;r>6))),t.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(a&63)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)))}return t.join("")},Ap=function(){var e={};return function(r,n){var a=r+"|"+(n||"");return e[a]?e[a]:e[a]=new RegExp("<(?:\\w+:)?"+r+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)",n||"")}}(),c6=function(){var e=[["nbsp"," "],["middot","\xB7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]});return function(r){for(var n=r.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,` +`).replace(/<[^>]*>/g,""),a=0;a([\\s\\S]*?)","g")}}(),wj=/<\/?(?:vt:)?variant>/g,Pj=/<(?:vt:)([^>]*)>([\s\S]*)"+t+""}function kp(e){return Dn(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function ht(e,t,r){return"<"+e+(r!=null?kp(r):"")+(t!=null?(t.match(f6)?' xml:space="preserve"':"")+">"+t+""}function lM(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function Nj(e,t){switch(typeof e){case"string":var r=ht("vt:lpwstr",Pr(e));return t&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return ht((e|0)==e?"vt:i4":"vt:r8",Pr(String(e)));case"boolean":return ht("vt:bool",e?"true":"false")}if(e instanceof Date)return ht("vt:filetime",lM(e));throw new Error("Unable to serialize "+e)}function $I(e){if(er&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e=="string")return e;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return Hr(uu(PI(e)));throw new Error("Bad input format: expected Buffer or string")}var wp=/<(\/?)([^\s?>:\/]+)(?:[\s?:\/][^>]*)?>/mg,Bn={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},L0=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],da={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function Uj(e,t){for(var r=1-2*(e[t+7]>>>7),n=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),a=e[t+6]&15,i=5;i>=0;--i)a=a*256+e[t+i];return n==2047?a==0?r*(1/0):NaN:(n==0?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}function Vj(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,i=0,s=n?-t:t;isFinite(s)?s==0?a=i=0:(a=Math.floor(Math.log(s)/Math.LN2),i=s*Math.pow(2,52-a),a<=-1023&&(!isFinite(i)||i>4|n}var gC=function(e){for(var t=[],r=10240,n=0;n0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:tl(t)})):gC(e)}:gC,SC=function(e,t,r){for(var n=[],a=t;a0?Md(e,t+4,t+4+r-1):""},d6=p6,h6=function(e,t){var r=ha(e,t);return r>0?Md(e,t+4,t+4+r-1):""},_6=h6,g6=function(e,t){var r=2*ha(e,t);return r>0?Md(e,t+4,t+4+r-1):""},v6=g6,S6=function(t,r){var n=ha(t,r);return n>0?jI(t,r+4,r+4+n):""},y6=S6,M6=function(e,t){var r=ha(e,t);return r>0?Md(e,t+4,t+4+r):""},D6=M6,I6=function(e,t){return Uj(e,t)},h_=I6,GI=function(t){return Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array};er&&(d6=function(t,r){if(!Buffer.isBuffer(t))return p6(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},_6=function(t,r){if(!Buffer.isBuffer(t))return h6(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},v6=function(t,r){if(!Buffer.isBuffer(t))return g6(t,r);var n=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n-1)},y6=function(t,r){if(!Buffer.isBuffer(t))return S6(t,r);var n=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n)},D6=function(t,r){if(!Buffer.isBuffer(t))return M6(t,r);var n=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+n)},h_=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):I6(t,r)},GI=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array});var Z0=function(e,t){return e[t]},wo=function(e,t){return e[t+1]*(1<<8)+e[t]},Rj=function(e,t){var r=e[t+1]*256+e[t];return r<32768?r:(65535-r+1)*-1},ha=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Pu=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Fj=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Cm(e,t){var r="",n,a,i=[],s,o,l,u;switch(t){case"dbcs":if(u=this.l,er&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(l=0;l0?Pu:Fj)(this,this.l),this.l+=4,n):(a=ha(this,this.l),this.l+=4,a);case 8:case-8:if(t==="f")return e==8?a=h_(this,this.l):a=h_([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,a;e=8;case 16:r=m6(this,this.l,e);break}}return this.l+=e,r}var Bj=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},Hj=function(e,t,r){e[r]=t&255,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},$j=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255};function jj(e,t,r){var n=0,a=0;if(r==="dbcs"){for(a=0;a!=t.length;++a)$j(this,t.charCodeAt(a),this.l+2*a);n=2*t.length}else if(r==="sbcs"){for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=t.charCodeAt(a)&255;n=t.length}else if(r==="hex"){for(;a>8}for(;this.l>>=8,this[this.l+1]=t&255;break;case 3:n=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:n=4,Bj(this,t,this.l);break;case 8:if(n=8,r==="f"){Vj(this,t,this.l);break}case 16:break;case-4:n=4,Hj(this,t,this.l);break}return this.l+=n,this}function O6(e,t){var r=m6(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function cs(e,t){e.l=t,e.read_shift=Cm,e.chk=O6,e.write_shift=jj}function Cs(e,t){e.l+=t}function tt(e){var t=Xl(e);return cs(t,0),t}function rl(e,t,r){if(!!e){var n,a,i;cs(e,e.l||0);for(var s=e.length,o=0,l=0;e.ln.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&e.push(n),n=null)},i=function(u){return n&&u=128?1:0)+1,n>=128&&++i,n>=16384&&++i,n>=2097152&&++i;var s=e.next(i);a<=127?s.write_shift(1,a):(s.write_shift(1,(a&127)+128),s.write_shift(1,a>>7));for(var o=0;o!=4;++o)if(n>=128)s.write_shift(1,(n&127)+128),n>>=7;else{s.write_shift(1,n);break}n>0&&GI(r)&&e.push(r)}}function Tm(e,t,r){var n=rn(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function DC(e,t,r){var n=rn(e);return n.s=Tm(n.s,t.s,r),n.e=Tm(n.e,t.s,r),n}function xm(e,t){if(e.cRel&&e.c<0)for(e=rn(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=rn(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=$t(e);return!e.cRel&&e.cRel!=null&&(r=zj(r)),!e.rRel&&e.rRel!=null&&(r=Gj(r)),r}function uS(e,t){return e.s.r==0&&!e.s.rRel&&e.e.r==(t.biff>=12?1048575:t.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+fn(e.s.c)+":"+(e.e.cRel?"":"$")+fn(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(t.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+Ln(e.s.r)+":"+(e.e.rRel?"":"$")+Ln(e.e.r):xm(e.s,t.biff)+":"+xm(e.e,t.biff)}function WI(e){return parseInt(Wj(e),10)-1}function Ln(e){return""+(e+1)}function Gj(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Wj(e){return e.replace(/\$(\d+)$/,"$1")}function zI(e){for(var t=Kj(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function fn(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function zj(e){return e.replace(/^([A-Z])/,"$$$1")}function Kj(e){return e.replace(/^\$([A-Z])/,"$1")}function qj(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function mn(e){for(var t=0,r=0,n=0;n=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function $t(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function aa(e){var t=e.indexOf(":");return t==-1?{s:mn(e),e:mn(e)}:{s:mn(e.slice(0,t)),e:mn(e.slice(t+1))}}function Yt(e,t){return typeof t>"u"||typeof t=="number"?Yt(e.s,e.e):(typeof e!="string"&&(e=$t(e)),typeof t!="string"&&(t=$t(t)),e==t?e:e+":"+t)}function _r(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,i=e.length;for(r=0;n26);++n)r=26*r+a;for(t.s.c=--r,r=0;n9);++n)r=10*r+a;if(t.s.r=--r,n===i||a!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=i&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=i&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function IC(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=oi(e.z,r?jn(t):t)}catch{}try{return e.w=oi((e.XF||{}).numFmtId||(r?14:0),r?jn(t):t)}catch{return""+t}}function Yo(e,t,r){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),e.t=="e"?nl[e.v]||e.v:t==null?IC(e,e.v):IC(e,t))}function cu(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function E6(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense,i=e||(a?[]:{}),s=0,o=0;if(i&&n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var l=typeof n.origin=="string"?mn(n.origin):n.origin;s=l.r,o=l.c}i["!ref"]||(i["!ref"]="A1:A1")}var u={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var c=_r(i["!ref"]);u.s.c=c.s.c,u.s.r=c.s.r,u.e.c=Math.max(u.e.c,c.e.c),u.e.r=Math.max(u.e.r,c.e.r),s==-1&&(u.e.r=s=c.e.r+1)}for(var f=0;f!=t.length;++f)if(!!t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var m=0;m!=t[f].length;++m)if(!(typeof t[f][m]>"u")){var d={v:t[f][m]},h=s+f,p=o+m;if(u.s.r>h&&(u.s.r=h),u.s.c>p&&(u.s.c=p),u.e.r0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function Zj(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Xj(e,t){return t||(t=tt(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0),t}function KI(e,t){var r=e.l,n=e.read_shift(1),a=Os(e),i=[],s={t:a,h:a};if((n&1)!==0){for(var o=e.read_shift(4),l=0;l!=o;++l)i.push(Zj(e));s.r=i}else s.r=[{ich:0,ifnt:0}];return e.l=r+t,s}function Jj(e,t){var r=!1;return t==null&&(r=!0,t=tt(15+4*e.t.length)),t.write_shift(1,0),Jn(e.t,t),r?t.slice(0,t.l):t}var Qj=KI;function eG(e,t){var r=!1;return t==null&&(r=!0,t=tt(23+4*e.t.length)),t.write_shift(1,1),Jn(e.t,t),t.write_shift(4,1),Xj({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function ci(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function C0(e,t){return t==null&&(t=tt(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function T0(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function x0(e,t){return t==null&&(t=tt(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var tG=Os,b6=Jn;function qI(e){var t=e.read_shift(4);return t===0||t===4294967295?"":e.read_shift(t,"dbcs")}function __(e,t){var r=!1;return t==null&&(r=!0,t=tt(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var rG=Os,uM=qI,YI=__;function ZI(e){var t=e.slice(e.l,e.l+4),r=t[0]&1,n=t[0]&2;e.l+=4;var a=n===0?h_([0,0,0,0,t[0]&252,t[1],t[2],t[3]],0):Pu(t,0)>>2;return r?a/100:a}function L6(e,t){t==null&&(t=tt(4));var r=0,n=0,a=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29?n=1:a==(a|0)&&a>=-(1<<29)&&a<1<<29&&(n=1,r=1),n)t.write_shift(-4,((r?a:e)<<2)+(r+2));else throw new Error("unsupported RkNumber "+e)}function C6(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}function nG(e,t){return t||(t=tt(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t}var A0=C6,Of=nG;function Is(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function d0(e,t){return(t||tt(8)).write_shift(8,e,"f")}function sG(e){var t={},r=e.read_shift(1),n=r>>>1,a=e.read_shift(1),i=e.read_shift(2,"i"),s=e.read_shift(1),o=e.read_shift(1),l=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=a;var u=Yu[a];u&&(t.rgb=Np(u));break;case 2:t.rgb=Np([s,o,l]);break;case 3:t.theme=a;break}return i!=0&&(t.tint=i>0?i/32767:i/32768),t}function g_(e,t){if(t||(t=tt(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;e.index!=null?(t.write_shift(1,2),t.write_shift(1,e.index)):e.theme!=null?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),!e.rgb||e.theme!=null)t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);else{var n=e.rgb||"FFFFFF";typeof n=="number"&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.slice(4,6),16)),t.write_shift(1,255)}return t}function aG(e){var t=e.read_shift(1);e.l++;var r={fBold:t&1,fItalic:t&2,fUnderline:t&4,fStrikeout:t&8,fOutline:t&16,fShadow:t&32,fCondense:t&64,fExtend:t&128};return r}function iG(e,t){t||(t=tt(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t.write_shift(1,r),t.write_shift(1,0),t}function T6(e,t){var r={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},n=e.read_shift(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return r[e.read_shift(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return e.l-=4,e.read_shift(0,t==1?"lpstr":"lpwstr")}function oG(e){return T6(e,1)}function lG(e){return T6(e,2)}var XI=2,Ks=3,v1=11,OC=12,v_=19,S1=64,uG=65,cG=71,fG=4108,mG=4126,qn=80,x6=81,pG=[qn,x6],cM={1:{n:"CodePage",t:XI},2:{n:"Category",t:qn},3:{n:"PresentationFormat",t:qn},4:{n:"ByteCount",t:Ks},5:{n:"LineCount",t:Ks},6:{n:"ParagraphCount",t:Ks},7:{n:"SlideCount",t:Ks},8:{n:"NoteCount",t:Ks},9:{n:"HiddenCount",t:Ks},10:{n:"MultimediaClipCount",t:Ks},11:{n:"ScaleCrop",t:v1},12:{n:"HeadingPairs",t:fG},13:{n:"TitlesOfParts",t:mG},14:{n:"Manager",t:qn},15:{n:"Company",t:qn},16:{n:"LinksUpToDate",t:v1},17:{n:"CharacterCount",t:Ks},19:{n:"SharedDoc",t:v1},22:{n:"HyperlinksChanged",t:v1},23:{n:"AppVersion",t:Ks,p:"version"},24:{n:"DigSig",t:uG},26:{n:"ContentType",t:qn},27:{n:"ContentStatus",t:qn},28:{n:"Language",t:qn},29:{n:"Version",t:qn},255:{},2147483648:{n:"Locale",t:v_},2147483651:{n:"Behavior",t:v_},1919054434:{}},fM={1:{n:"CodePage",t:XI},2:{n:"Title",t:qn},3:{n:"Subject",t:qn},4:{n:"Author",t:qn},5:{n:"Keywords",t:qn},6:{n:"Comments",t:qn},7:{n:"Template",t:qn},8:{n:"LastAuthor",t:qn},9:{n:"RevNumber",t:qn},10:{n:"EditTime",t:S1},11:{n:"LastPrinted",t:S1},12:{n:"CreatedDate",t:S1},13:{n:"ModifiedDate",t:S1},14:{n:"PageCount",t:Ks},15:{n:"WordCount",t:Ks},16:{n:"CharCount",t:Ks},17:{n:"Thumbnail",t:cG},18:{n:"Application",t:qn},19:{n:"DocSecurity",t:Ks},255:{},2147483648:{n:"Locale",t:v_},2147483651:{n:"Behavior",t:v_},1919054434:{}},EC={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},dG=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function hG(e){return e.map(function(t){return[t>>16&255,t>>8&255,t&255]})}var _G=hG([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),Yu=rn(_G),nl={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},A6={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},mM={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},y1={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function JI(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function gG(e){var t=JI();if(!e||!e.match)return t;var r={};if((e.match(Ts)||[]).forEach(function(n){var a=Wt(n);switch(a[0].replace(Lj,"<")){case"0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}function k6(e,t){var r=vj(mM),n=[],a;n[n.length]=Cn,n[n.length]=ht("Types",null,{xmlns:Bn.CT,"xmlns:xsd":Bn.xsd,"xmlns:xsi":Bn.xsi}),n=n.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(l){return ht("Default",null,{Extension:l[0],ContentType:l[1]})}));var i=function(l){e[l]&&e[l].length>0&&(a=e[l][0],n[n.length]=ht("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:y1[l][t.bookType]||y1[l].xlsx}))},s=function(l){(e[l]||[]).forEach(function(u){n[n.length]=ht("Override",null,{PartName:(u[0]=="/"?"":"/")+u,ContentType:y1[l][t.bookType]||y1[l].xlsx})})},o=function(l){(e[l]||[]).forEach(function(u){n[n.length]=ht("Override",null,{PartName:(u[0]=="/"?"":"/")+u,ContentType:r[l][0]})})};return i("workbooks"),s("sheets"),s("charts"),o("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(o),o("vba"),o("comments"),o("threadedcomments"),o("drawings"),s("metadata"),o("people"),n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var nr={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Pp(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Am(e,t){var r={"!id":{}};if(!e)return r;t.charAt(0)!=="/"&&(t="/"+t);var n={};return(e.match(Ts)||[]).forEach(function(a){var i=Wt(a);if(i[0]==="2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function wr(e,t,r,n,a,i){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,i?a.TargetMode=i:[nr.HLINK,nr.XPATH,nr.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}var vG="application/vnd.oasis.opendocument.spreadsheet";function SG(e,t){for(var r=$I(e),n,a;n=wp.exec(r);)switch(n[3]){case"manifest":break;case"file-entry":if(a=Wt(n[0],!1),a.path=="/"&&a.type!==vG)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw n}}function yG(e){var t=[Cn];t.push(` +`),t.push(` +`);for(var r=0;r +`);return t.push(""),t.join("")}function bC(e,t,r){return[' +`,' +`,` +`].join("")}function MG(e,t){return[' +`,' +`,` +`].join("")}function DG(e){var t=[Cn];t.push(` +`);for(var r=0;r!=e.length;++r)t.push(bC(e[r][0],e[r][1])),t.push(MG("",e[r][0]));return t.push(bC("","Document","pkg")),t.push(""),t.join("")}function w6(){return'SheetJS '+c_.version+""}var ti=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],IG=function(){for(var e=new Array(ti.length),t=0;t]*>([\\s\\S]*?)")}return e}();function P6(e){var t={};e=Hr(e);for(var r=0;r0&&(t[n[1]]=hr(a[1])),n[2]==="date"&&t[n[1]]&&(t[n[1]]=tn(t[n[1]]))}return t}function cS(e,t,r,n,a){a[e]!=null||t==null||t===""||(a[e]=t,t=Pr(t),n[n.length]=r?ht(e,t,r):ms(e,t))}function N6(e,t){var r=t||{},n=[Cn,ht("cp:coreProperties",null,{"xmlns:cp":Bn.CORE_PROPS,"xmlns:dc":Bn.dc,"xmlns:dcterms":Bn.dcterms,"xmlns:dcmitype":Bn.dcmitype,"xmlns:xsi":Bn.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(e.CreatedDate!=null&&cS("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:lM(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),e.ModifiedDate!=null&&cS("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:lM(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var i=0;i!=ti.length;++i){var s=ti[i],o=r.Props&&r.Props[s[1]]!=null?r.Props[s[1]]:e?e[s[1]]:null;o===!0?o="1":o===!1?o="0":typeof o=="number"&&(o=String(o)),o!=null&&cS(s[0],o,null,n,a)}return n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var Zu=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],U6=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function V6(e,t,r,n){var a=[];if(typeof e=="string")a=_C(e,n);else for(var i=0;i0)for(var u=0;u!==a.length;u+=2){switch(l=+a[u+1].v,a[u].v){case"Worksheets":case"\u5DE5\u4F5C\u8868":case"\u041B\u0438\u0441\u0442\u044B":case"\u0623\u0648\u0631\u0627\u0642 \u0627\u0644\u0639\u0645\u0644":case"\u30EF\u30FC\u30AF\u30B7\u30FC\u30C8":case"\u05D2\u05DC\u05D9\u05D5\u05E0\u05D5\u05EA \u05E2\u05D1\u05D5\u05D3\u05D4":case"Arbeitsbl\xE4tter":case"\xC7al\u0131\u015Fma Sayfalar\u0131":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de c\xE1lculo":case"Planilhas":case"Regneark":case"Hojas de c\xE1lculo":case"Werkbladen":r.Worksheets=l,r.SheetNames=s.slice(o,o+l);break;case"Named Ranges":case"Rangos con nombre":case"\u540D\u524D\u4ED8\u304D\u4E00\u89A7":case"Benannte Bereiche":case"Navngivne omr\xE5der":r.NamedRanges=l,r.DefinedNames=s.slice(o,o+l);break;case"Charts":case"Diagramme":r.Chartsheets=l,r.ChartNames=s.slice(o,o+l);break}o+=l}}function OG(e,t,r){var n={};return t||(t={}),e=Hr(e),Zu.forEach(function(a){var i=(e.match(Ap(a[0]))||[])[1];switch(a[2]){case"string":i&&(t[a[1]]=hr(i));break;case"bool":t[a[1]]=i==="true";break;case"raw":var s=e.match(new RegExp("<"+a[0]+"[^>]*>([\\s\\S]*?)"));s&&s.length>0&&(n[a[1]]=s[1]);break}}),n.HeadingPairs&&n.TitlesOfParts&&V6(n.HeadingPairs,n.TitlesOfParts,t,r),t}function R6(e){var t=[],r=ht;return e||(e={}),e.Application="SheetJS",t[t.length]=Cn,t[t.length]=ht("Properties",null,{xmlns:Bn.EXT_PROPS,"xmlns:vt":Bn.vt}),Zu.forEach(function(n){if(e[n[1]]!==void 0){var a;switch(n[2]){case"string":a=Pr(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false";break}a!==void 0&&(t[t.length]=r(n[0],a))}}),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","Worksheets")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(n){return""+Pr(n)+""}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var EG=/<[^>]+>[^<]*/g;function bG(e,t){var r={},n="",a=e.match(EG);if(a)for(var i=0;i!=a.length;++i){var s=a[i],o=Wt(s);switch(o[0]){case"":n=null;break;default:if(s.indexOf(""),u=l[0].slice(4),c=l[1];switch(u){case"lpstr":case"bstr":case"lpwstr":r[n]=hr(c);break;case"bool":r[n]=Qr(c);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(c,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(c);break;case"filetime":case"date":r[n]=tn(c);break;case"cy":case"error":r[n]=hr(c);break;default:if(u.slice(-1)=="/")break;t.WTF&&typeof console<"u"&&console.warn("Unexpected",s,u,l)}}else if(s.slice(0,2)!=="2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var pM={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},fS;function LG(e,t,r){fS||(fS=Vg(pM)),t=fS[t]||t,e[t]=r}function CG(e,t){var r=[];return Dn(pM).map(function(n){for(var a=0;a'+a.join("")+""}function QI(e){var t=e.read_shift(4),r=e.read_shift(4);return new Date((r/1e7*Math.pow(2,32)+t/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function xG(e){var t=typeof e=="string"?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,n=r%Math.pow(2,32),a=(r-n)/Math.pow(2,32);n*=1e7,a*=1e7;var i=n/Math.pow(2,32)|0;i>0&&(n=n%Math.pow(2,32),a+=i);var s=tt(8);return s.write_shift(4,n),s.write_shift(4,a),s}function B6(e,t,r){var n=e.l,a=e.read_shift(0,"lpstr-cp");if(r)for(;e.l-n&3;)++e.l;return a}function H6(e,t,r){var n=e.read_shift(0,"lpwstr");return r&&(e.l+=4-(n.length+1&3)&3),n}function $6(e,t,r){return t===31?H6(e):B6(e,t,r)}function dM(e,t,r){return $6(e,t,r===!1?0:4)}function AG(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return $6(e,t,0)}function kG(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n){var a=e.l;r[n]=e.read_shift(0,"lpwstr").replace(Bs,""),e.l-a&2&&(e.l+=2)}return r}function wG(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n)r[n]=e.read_shift(0,"lpstr-cp").replace(Bs,"");return r}function PG(e){var t=e.l,r=S_(e,x6);e[e.l]==0&&e[e.l+1]==0&&e.l-t&2&&(e.l+=2);var n=S_(e,Ks);return[r,n]}function NG(e){for(var t=e.read_shift(4),r=[],n=0;n>2+1<<2),n}function j6(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(t&3)>0&&(e.l+=4-(t&3)&3),r}function UG(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function S_(e,t,r){var n=e.read_shift(2),a,i=r||{};if(e.l+=2,t!==OC&&n!==t&&pG.indexOf(t)===-1&&!((t&65534)==4126&&(n&65534)==4126))throw new Error("Expected type "+t+" saw "+n);switch(t===OC?n:t){case 2:return a=e.read_shift(2,"i"),i.raw||(e.l+=2),a;case 3:return a=e.read_shift(4,"i"),a;case 11:return e.read_shift(4)!==0;case 19:return a=e.read_shift(4),a;case 30:return B6(e,n,4).replace(Bs,"");case 31:return H6(e);case 64:return QI(e);case 65:return j6(e);case 71:return UG(e);case 80:return dM(e,n,!i.raw).replace(Bs,"");case 81:return AG(e,n).replace(Bs,"");case 4108:return NG(e);case 4126:case 4127:return n==4127?kG(e):wG(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+n)}}function CC(e,t){var r=tt(4),n=tt(4);switch(r.write_shift(4,e==80?31:e),e){case 3:n.write_shift(-4,t);break;case 5:n=tt(8),n.write_shift(8,t,"f");break;case 11:n.write_shift(4,t?1:0);break;case 64:n=xG(t);break;case 31:case 80:for(n=tt(4+2*(t.length+1)+(t.length%2?0:2)),n.write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return Xn([r,n])}function TC(e,t){var r=e.l,n=e.read_shift(4),a=e.read_shift(4),i=[],s=0,o=0,l=-1,u={};for(s=0;s!=a;++s){var c=e.read_shift(4),f=e.read_shift(4);i[s]=[c,f+r]}i.sort(function(v,g){return v[1]-g[1]});var m={};for(s=0;s!=a;++s){if(e.l!==i[s][1]){var d=!0;if(s>0&&t)switch(t[i[s-1][0]].t){case 2:e.l+2===i[s][1]&&(e.l+=2,d=!1);break;case 80:e.l<=i[s][1]&&(e.l=i[s][1],d=!1);break;case 4108:e.l<=i[s][1]&&(e.l=i[s][1],d=!1);break}if((!t||s==0)&&e.l<=i[s][1]&&(d=!1,e.l=i[s][1]),d)throw new Error("Read Error: Expected address "+i[s][1]+" at "+e.l+" :"+s)}if(t){var h=t[i[s][0]];if(m[h.n]=S_(e,h.t,{raw:!0}),h.p==="version"&&(m[h.n]=String(m[h.n]>>16)+"."+("0000"+String(m[h.n]&65535)).slice(-4)),h.n=="CodePage")switch(m[h.n]){case 0:m[h.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:Di(o=m[h.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+m[h.n])}}else if(i[s][0]===1){if(o=m.CodePage=S_(e,XI),Di(o),l!==-1){var p=e.l;e.l=i[l][1],u=LC(e,o),e.l=p}}else if(i[s][0]===0){if(o===0){l=s,e.l=i[s+1][1];continue}u=LC(e,o)}else{var _=u[i[s][0]],S;switch(e[e.l]){case 65:e.l+=4,S=j6(e);break;case 30:e.l+=4,S=dM(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4,S=dM(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,S=e.read_shift(4,"i");break;case 19:e.l+=4,S=e.read_shift(4);break;case 5:e.l+=4,S=e.read_shift(8,"f");break;case 11:e.l+=4,S=In(e,4);break;case 64:e.l+=4,S=tn(QI(e));break;default:throw new Error("unparsed value: "+e[e.l])}m[_]=S}}return e.l=r+n,m}var G6=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function VG(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function xC(e,t,r){var n=tt(8),a=[],i=[],s=8,o=0,l=tt(8),u=tt(8);if(l.write_shift(4,2),l.write_shift(4,1200),u.write_shift(4,1),i.push(l),a.push(u),s+=8+l.length,!t){u=tt(8),u.write_shift(4,0),a.unshift(u);var c=[tt(4)];for(c[0].write_shift(4,e.length),o=0;o-1||U6.indexOf(e[o][0])>-1)&&e[o][1]!=null){var m=e[o][1],d=0;if(t){d=+t[e[o][0]];var h=r[d];if(h.p=="version"&&typeof m=="string"){var p=m.split(".");m=(+p[0]<<16)+(+p[1]||0)}l=CC(h.t,m)}else{var _=VG(m);_==-1&&(_=31,m=String(m)),l=CC(_,m)}i.push(l),u=tt(8),u.write_shift(4,t?d:2+o),a.push(u),s+=8+l.length}var S=8*(i.length+1);for(o=0;o=12?2:1),a="sbcs-cont";if(r&&r.biff>=8,!r||r.biff==8){var i=e.read_shift(1);i&&(a="dbcs-cont")}else r.biff==12&&(a="wstr");r.biff>=2&&r.biff<=5&&(a="cpstr");var s=n?e.read_shift(n,a):"";return s}function HG(e){var t=e.read_shift(2),r=e.read_shift(1),n=r&4,a=r&8,i=1+(r&1),s=0,o,l={};a&&(s=e.read_shift(2)),n&&(o=e.read_shift(4));var u=i==2?"dbcs-cont":"sbcs-cont",c=t===0?"":e.read_shift(t,u);return a&&(e.l+=4*s),n&&(e.l+=o),l.t=c,a||(l.raw=""+l.t+"",l.r=l.t),l}function $G(e){var t=e.t||"",r=tt(3+0);r.write_shift(2,t.length),r.write_shift(1,1);var n=tt(2*t.length);n.write_shift(2*t.length,t,"utf16le");var a=[r,n];return Xn(a)}function h0(e,t,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var a=e.read_shift(1);return a===0?n=e.read_shift(t,"sbcs-cont"):n=e.read_shift(t,"dbcs-cont"),n}function Id(e,t,r){var n=e.read_shift(r&&r.biff==2?1:2);return n===0?(e.l++,""):h0(e,n,r)}function k0(e,t,r){if(r.biff>5)return Id(e,t,r);var n=e.read_shift(1);return n===0?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function K6(e,t,r){return r||(r=tt(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function jG(e){var t=e.read_shift(1);e.l++;var r=e.read_shift(2);return e.l+=2,[t,r]}function GG(e){var t=e.read_shift(4),r=e.l,n=!1;t>24&&(e.l+=t-24,e.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(n=!0),e.l=r);var a=e.read_shift((n?t-24:t)>>1,"utf16le").replace(Bs,"");return n&&(e.l+=24),a}function WG(e){for(var t=e.read_shift(2),r="";t-- >0;)r+="../";var n=e.read_shift(0,"lpstr-ansi");if(e.l+=2,e.read_shift(2)!=57005)throw new Error("Bad FileMoniker");var a=e.read_shift(4);if(a===0)return r+n.replace(/\\/g,"/");var i=e.read_shift(4);if(e.read_shift(2)!=3)throw new Error("Bad FileMoniker");var s=e.read_shift(i>>1,"utf16le").replace(Bs,"");return r+s}function zG(e,t){var r=e.read_shift(16);switch(r){case"e0c9ea79f9bace118c8200aa004ba90b":return GG(e);case"0303000000000000c000000000000046":return WG(e);default:throw new Error("Unsupported Moniker "+r)}}function M1(e){var t=e.read_shift(4),r=t>0?e.read_shift(t,"utf16le").replace(Bs,""):"";return r}function wC(e,t){t||(t=tt(6+e.length*2)),t.write_shift(4,1+e.length);for(var r=0;r-1?31:23;switch(n.charAt(0)){case"#":i=28;break;case".":i&=-3;break}t.write_shift(4,2),t.write_shift(4,i);var s=[8,6815827,6619237,4849780,83];for(r=0;r-1?n.slice(0,a):n;for(t.write_shift(4,2*(o.length+1)),r=0;r-1?n.slice(a+1):"",t)}else{for(s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r8?4:2,a=e.read_shift(n),i=e.read_shift(n,"i"),s=e.read_shift(n,"i");return[a,i,s]}function Z6(e){var t=e.read_shift(2),r=ZI(e);return[t,r]}function JG(e,t,r){e.l+=4,t-=4;var n=e.l+t,a=Dd(e,t,r),i=e.read_shift(2);if(n-=e.l,i!==n)throw new Error("Malformed AddinUdf: padding = "+n+" != "+i);return e.l+=i,a}function Bg(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),a=e.read_shift(2);return{s:{c:n,r:t},e:{c:a,r}}}function X6(e,t){return t||(t=tt(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function J6(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(1),a=e.read_shift(1);return{s:{c:n,r:t},e:{c:a,r}}}var QG=J6;function Q6(e){e.l+=4;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2);return e.l+=12,[r,t,n]}function eW(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}function tW(e){var t={};return e.l+=4,e.cf=e.read_shift(2),t}function gs(e){e.l+=2,e.l+=e.read_shift(2)}var rW={0:gs,4:gs,5:gs,6:gs,7:tW,8:gs,9:gs,10:gs,11:gs,12:gs,13:eW,14:gs,15:gs,16:gs,17:gs,18:gs,19:gs,20:gs,21:Q6};function nW(e,t){for(var r=e.l+t,n=[];e.l=2&&(r.dt=e.read_shift(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e.read_shift(t),r}function eO(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var i=tt(a);return i.write_shift(2,n),i.write_shift(2,t),a>4&&i.write_shift(2,29282),a>6&&i.write_shift(2,1997),a>8&&(i.write_shift(2,49161),i.write_shift(2,1),i.write_shift(2,1798),i.write_shift(2,0)),i}function sW(e,t){return t===0||e.read_shift(2),1200}function aW(e,t,r){if(r.enc)return e.l+=t,"";var n=e.l,a=k0(e,0,r);return e.read_shift(t+n-e.l),a}function iW(e,t){var r=!t||t.biff==8,n=tt(r?112:54);for(n.write_shift(t.biff==8?2:1,7),r&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(r?0:536870912));n.l=8?2:1,n=tt(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function cW(e,t){for(var r=e.l+t,n=e.read_shift(4),a=e.read_shift(4),i=[],s=0;s!=a&&e.l>15),a&=32767);var i={Unsynced:n&1,DyZero:(n&2)>>1,ExAsc:(n&4)>>2,ExDsc:(n&8)>>3};return[i,a]}function _W(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),a=e.read_shift(2),i=e.read_shift(2),s=e.read_shift(2),o=e.read_shift(2),l=e.read_shift(2),u=e.read_shift(2);return{Pos:[t,r],Dim:[n,a],Flags:i,CurTab:s,FirstTab:o,Selected:l,TabRatio:u}}function gW(){var e=tt(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function vW(e,t,r){if(r&&r.biff>=2&&r.biff<5)return{};var n=e.read_shift(2);return{RTL:n&64}}function SW(e){var t=tt(18),r=1718;return e&&e.RTL&&(r|=64),t.write_shift(2,r),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}function yW(){}function MW(e,t,r){var n={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}return n.name=Dd(e,0,r),n}function DW(e,t){var r=e.name||"Arial",n=t&&t.biff==5,a=n?15+r.length:16+2*r.length,i=tt(a);return i.write_shift(2,(e.sz||12)*20),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,r.length),n||i.write_shift(1,1),i.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le"),i}function IW(e){var t=_o(e);return t.isst=e.read_shift(4),t}function OW(e,t,r,n){var a=tt(10);return _0(e,t,n,a),a.write_shift(4,r),a}function EW(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=e.l+t,a=_o(e);r.biff==2&&e.l++;var i=Id(e,n-e.l,r);return a.val=i,a}function bW(e,t,r,n,a){var i=!a||a.biff==8,s=tt(6+2+ +i+(1+i)*r.length);return _0(e,t,n,s),s.write_shift(2,r.length),i&&s.write_shift(1,1),s.write_shift((1+i)*r.length,r,i?"utf16le":"sbcs"),s}function LW(e,t,r){var n=e.read_shift(2),a=k0(e,0,r);return[n,a]}function CW(e,t,r,n){var a=r&&r.biff==5;n||(n=tt(a?3+t.length:5+2*t.length)),n.write_shift(2,e),n.write_shift(a?1:2,t.length),a||n.write_shift(1,1),n.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var i=n.length>n.l?n.slice(0,n.l):n;return i.l==null&&(i.l=i.length),i}var TW=k0;function NC(e,t,r){var n=e.l+t,a=r.biff==8||!r.biff?4:2,i=e.read_shift(a),s=e.read_shift(a),o=e.read_shift(2),l=e.read_shift(2);return e.l=n,{s:{r:i,c:o},e:{r:s,c:l}}}function xW(e,t){var r=t.biff==8||!t.biff?4:2,n=tt(2*r+6);return n.write_shift(r,e.s.r),n.write_shift(r,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}function AW(e){var t=e.read_shift(2),r=e.read_shift(2),n=Z6(e);return{r:t,c:r,ixfe:n[0],rknum:n[1]}}function kW(e,t){for(var r=e.l+t-2,n=e.read_shift(2),a=e.read_shift(2),i=[];e.l>26],n.cellStyles&&(a.alc=i&7,a.fWrap=i>>3&1,a.alcV=i>>4&7,a.fJustLast=i>>7&1,a.trot=i>>8&255,a.cIndent=i>>16&15,a.fShrinkToFit=i>>20&1,a.iReadOrder=i>>22&2,a.fAtrNum=i>>26&1,a.fAtrFnt=i>>27&1,a.fAtrAlc=i>>28&1,a.fAtrBdr=i>>29&1,a.fAtrPat=i>>30&1,a.fAtrProt=i>>31&1,a.dgLeft=s&15,a.dgRight=s>>4&15,a.dgTop=s>>8&15,a.dgBottom=s>>12&15,a.icvLeft=s>>16&127,a.icvRight=s>>23&127,a.grbitDiag=s>>30&3,a.icvTop=o&127,a.icvBottom=o>>7&127,a.icvDiag=o>>14&127,a.dgDiag=o>>21&15,a.icvFore=l&127,a.icvBack=l>>7&127,a.fsxButton=l>>14&1),a}function NW(e,t,r){var n={};return n.ifnt=e.read_shift(2),n.numFmtId=e.read_shift(2),n.flags=e.read_shift(2),n.fStyle=n.flags>>2&1,t-=6,n.data=PW(e,t,n.fStyle,r),n}function UC(e,t,r,n){var a=r&&r.biff==5;n||(n=tt(a?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4));var i=0;return e.numFmtId>0&&a&&(i|=1024),n.write_shift(4,i),n.write_shift(4,0),a||n.write_shift(4,0),n.write_shift(2,0),n}function UW(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(t[0]!==0&&t[0]--,t[1]!==0&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function VW(e){var t=tt(8);return t.write_shift(4,0),t.write_shift(2,e[0]?e[0]+1:0),t.write_shift(2,e[1]?e[1]+1:0),t}function VC(e,t,r){var n=_o(e);(r.biff==2||t==9)&&++e.l;var a=BG(e);return n.val=a,n.t=a===!0||a===!1?"b":"e",n}function RW(e,t,r,n,a,i){var s=tt(8);return _0(e,t,n,s),z6(r,i,s),s}function FW(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=_o(e),a=Is(e);return n.val=a,n}function BW(e,t,r,n){var a=tt(14);return _0(e,t,n,a),d0(r,a),a}var RC=ZG;function HW(e,t,r){var n=e.l+t,a=e.read_shift(2),i=e.read_shift(2);if(r.sbcch=i,i==1025||i==14849)return[i,a];if(i<1||i>255)throw new Error("Unexpected SupBook type: "+i);for(var s=h0(e,i),o=[];n>e.l;)o.push(Id(e));return[i,a,s,o]}function FC(e,t,r){var n=e.read_shift(2),a,i={fBuiltIn:n&1,fWantAdvise:n>>>1&1,fWantPict:n>>>2&1,fOle:n>>>3&1,fOleLink:n>>>4&1,cf:n>>>5&1023,fIcon:n>>>15&1};return r.sbcch===14849&&(a=JG(e,t-2,r)),i.body=a||e.read_shift(t-2),typeof a=="string"&&(i.Name=a),i}var $W=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function BC(e,t,r){var n=e.l+t,a=e.read_shift(2),i=e.read_shift(1),s=e.read_shift(1),o=e.read_shift(r&&r.biff==2?1:2),l=0;(!r||r.biff>=5)&&(r.biff!=5&&(e.l+=2),l=e.read_shift(2),r.biff==5&&(e.l+=2),e.l+=4);var u=h0(e,s,r);a&32&&(u=$W[u.charCodeAt(0)]);var c=n-e.l;r&&r.biff==2&&--c;var f=n==e.l||o===0||!(c>0)?[]:nZ(e,c,r,o);return{chKey:i,Name:u,itab:l,rgce:f}}function ek(e,t,r){if(r.biff<8)return jW(e,t,r);for(var n=[],a=e.l+t,i=e.read_shift(r.biff>8?4:2);i--!==0;)n.push(XG(e,r.biff>8?12:6,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function jW(e,t,r){e[e.l+1]==3&&e[e.l]++;var n=Dd(e,t,r);return n.charCodeAt(0)==3?n.slice(1):n}function GW(e,t,r){if(r.biff<8){e.l+=t;return}var n=e.read_shift(2),a=e.read_shift(2),i=h0(e,n,r),s=h0(e,a,r);return[i,s]}function WW(e,t,r){var n=J6(e);e.l++;var a=e.read_shift(1);return t-=8,[sZ(e,t,r),a,n]}function HC(e,t,r){var n=QG(e);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[n,tZ(e,t,r)]}function zW(e){var t=e.read_shift(4)!==0,r=e.read_shift(4)!==0,n=e.read_shift(4);return[t,r,n]}function KW(e,t,r){if(!(r.biff<8)){var n=e.read_shift(2),a=e.read_shift(2),i=e.read_shift(2),s=e.read_shift(2),o=k0(e,0,r);return r.biff<8&&e.read_shift(1),[{r:n,c:a},o,s,i]}}function qW(e,t,r){return KW(e,t,r)}function YW(e,t){for(var r=[],n=e.read_shift(2);n--;)r.push(Bg(e));return r}function ZW(e){var t=tt(2+e.length*8);t.write_shift(2,e.length);for(var r=0;r=(c?o:2*o))break}if(a.length!==o&&a.length!==o*2)throw new Error("cchText: "+o+" != "+a.length);return e.l=n+t,{t:a}}catch{return e.l=n+t,{t:a}}}function tz(e,t){var r=Bg(e);e.l+=16;var n=KG(e,t-24);return[r,n]}function rz(e){var t=tt(24),r=mn(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t.write_shift(1,parseInt(n[a],16));return Xn([t,qG(e[1])])}function nz(e,t){e.read_shift(2);var r=Bg(e),n=e.read_shift((t-10)/2,"dbcs-cont");return n=n.replace(Bs,""),[r,n]}function sz(e){var t=e[1].Tooltip,r=tt(10+2*(t.length+1));r.write_shift(2,2048);var n=mn(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var a=0;a0;)r.push(Y6(e));return r}function lz(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(Y6(e));return r}function uz(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t}function tk(e,t,r){if(!r.cellStyles)return Cs(e,t);var n=r&&r.biff>=12?4:2,a=e.read_shift(n),i=e.read_shift(n),s=e.read_shift(n),o=e.read_shift(n),l=e.read_shift(2);n==2&&(e.l+=2);var u={s:a,e:i,w:s,ixfe:o,flags:l};return(r.biff>=5||!r.biff)&&(u.level=l>>8&7),u}function cz(e,t){var r=tt(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,e.width*256),r.write_shift(2,0);var n=0;return e.hidden&&(n|=1),r.write_shift(1,n),n=e.level||0,r.write_shift(1,n),r.write_shift(2,0),r}function fz(e,t){var r={};return t<32||(e.l+=16,r.header=Is(e),r.footer=Is(e),e.l+=2),r}function mz(e,t,r){var n={area:!1};if(r.biff!=5)return e.l+=t,n;var a=e.read_shift(1);return e.l+=3,a&16&&(n.area=!0),n}function pz(e){for(var t=tt(2*e),r=0;r1048576&&(p=1e6),f!=2&&(_=c.read_shift(2));var S=c.read_shift(2),v=l.codepage||1252;f!=2&&(c.l+=16,c.read_shift(1),c[c.l]!==0&&(v=e[c[c.l]]),c.l+=1,c.l+=2),h&&(c.l+=36);for(var g=[],y={},M=Math.min(c.length,f==2?521:_-10-(d?264:0)),I=h?32:11;c.l0;){if(c[c.l]===42){c.l+=S;continue}for(++c.l,u[++D]=[],T=0,T=0;T!=g.length;++T){var b=c.slice(c.l,c.l+g[T].len);c.l+=g[T].len,cs(b,0);var N=Ol.utils.decode(v,b);switch(g[T].type){case"C":N.trim().length&&(u[D][T]=N.replace(/\s+$/,""));break;case"D":N.length===8?u[D][T]=new Date(+N.slice(0,4),+N.slice(4,6)-1,+N.slice(6,8)):u[D][T]=N;break;case"F":u[D][T]=parseFloat(N.trim());break;case"+":case"I":u[D][T]=h?b.read_shift(-4,"i")^2147483648:b.read_shift(4,"i");break;case"L":switch(N.trim().toUpperCase()){case"Y":case"T":u[D][T]=!0;break;case"N":case"F":u[D][T]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+N+"|")}break;case"M":if(!m)throw new Error("DBF Unexpected MEMO for type "+f.toString(16));u[D][T]="##MEMO##"+(h?parseInt(N.trim(),10):b.read_shift(4));break;case"N":N=N.replace(/\u0000/g,"").trim(),N&&N!="."&&(u[D][T]=+N||0);break;case"@":u[D][T]=new Date(b.read_shift(-8,"f")-621356832e5);break;case"T":u[D][T]=new Date((b.read_shift(4)-2440588)*864e5+b.read_shift(4));break;case"Y":u[D][T]=b.read_shift(4,"i")/1e4+b.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":u[D][T]=-b.read_shift(-8,"f");break;case"B":if(d&&g[T].len==8){u[D][T]=b.read_shift(8,"f");break}case"G":case"P":b.l+=g[T].len;break;case"0":if(g[T].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+g[T].type)}}}if(f!=2&&c.l=0&&Di(+u.codepage),u.type=="string")throw new Error("Cannot write DBF to JS string");var c=ra(),f=D_(o,{header:1,raw:!0,cellDates:!0}),m=f[0],d=f.slice(1),h=o["!cols"]||[],p=0,_=0,S=0,v=1;for(p=0;p250&&(b=250),T=((h[p]||{}).DBF||{}).type,T=="C"&&h[p].DBF.len>b&&(b=h[p].DBF.len),D=="B"&&T=="N"&&(D="N",I[p]=h[p].DBF.dec,b=h[p].DBF.len),M[p]=D=="C"||T=="N"?b:i[D]||0,v+=M[p],y[p]=D}var V=c.next(32);for(V.write_shift(4,318902576),V.write_shift(4,d.length),V.write_shift(2,296+32*S),V.write_shift(2,v),p=0;p<4;++p)V.write_shift(4,0);for(V.write_shift(4,0|(+t[jA]||3)<<8),p=0,_=0;p":190,"?":191,"{":223},t=new RegExp("\x1BN("+Dn(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(m,d){var h=e[d];return typeof h=="number"?JL(h):h},n=function(m,d,h){var p=d.charCodeAt(0)-32<<4|h.charCodeAt(0)-48;return p==59?m:JL(p)};e["|"]=254;function a(m,d){switch(d.type){case"base64":return i(La(m),d);case"binary":return i(m,d);case"buffer":return i(er&&Buffer.isBuffer(m)?m.toString("binary"):uu(m),d);case"array":return i(p0(m),d)}throw new Error("Unrecognized type "+d.type)}function i(m,d){var h=m.split(/[\n\r]+/),p=-1,_=-1,S=0,v=0,g=[],y=[],M=null,I={},D=[],T=[],b=[],N=0,V;for(+d.codepage>=0&&Di(+d.codepage);S!==h.length;++S){N=0;var A=h[S].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),j=A.replace(/;;/g,"\0").split(";").map(function(q){return q.replace(/\u0000/g,";")}),O=j[0],R;if(A.length>0)switch(O){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":j[1].charAt(0)=="P"&&y.push(A.slice(3).replace(/;;/g,";"));break;case"C":var te=!1,W=!1,ue=!1,F=!1,le=-1,J=-1;for(v=1;v-1&&g[le][J];if(!U||!U[1])throw new Error("SYLK shared formula cannot find base");g[p][_][1]=yk(U[1],{r:p-le,c:_-J})}break;case"F":var z=0;for(v=1;v0?(D[p].hpt=N,D[p].hpx=Xc(N)):N===0&&(D[p].hidden=!0);break;default:if(d&&d.WTF)throw new Error("SYLK bad record "+A)}z<1&&(M=null);break;default:if(d&&d.WTF)throw new Error("SYLK bad record "+A)}}return D.length>0&&(I["!rows"]=D),T.length>0&&(I["!cols"]=T),d&&d.sheetRows&&(g=g.slice(0,d.sheetRows)),[g,I]}function s(m,d){var h=a(m,d),p=h[0],_=h[1],S=If(p,d);return Dn(_).forEach(function(v){S[v]=_[v]}),S}function o(m,d){return cu(s(m,d),d)}function l(m,d,h,p){var _="C;Y"+(h+1)+";X"+(p+1)+";K";switch(m.t){case"n":_+=m.v||0,m.f&&!m.F&&(_+=";E"+iO(m.f,{r:h,c:p}));break;case"b":_+=m.v?"TRUE":"FALSE";break;case"e":_+=m.w||m.v;break;case"d":_+='"'+(m.w||m.v)+'"';break;case"s":_+='"'+m.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return _}function u(m,d){d.forEach(function(h,p){var _="F;W"+(p+1)+" "+(p+1)+" ";h.hidden?_+="0":(typeof h.width=="number"&&!h.wpx&&(h.wpx=Up(h.width)),typeof h.wpx=="number"&&!h.wch&&(h.wch=Vp(h.wpx)),typeof h.wch=="number"&&(_+=Math.round(h.wch))),_.charAt(_.length-1)!=" "&&m.push(_)})}function c(m,d){d.forEach(function(h,p){var _="F;";h.hidden?_+="M0;":h.hpt?_+="M"+20*h.hpt+";":h.hpx&&(_+="M"+20*Rp(h.hpx)+";"),_.length>2&&m.push(_+"R"+(p+1))})}function f(m,d){var h=["ID;PWXL;N;E"],p=[],_=_r(m["!ref"]),S,v=Array.isArray(m),g=`\r +`;h.push("P;PGeneral"),h.push("F;P0;DG0G8;M255"),m["!cols"]&&u(h,m["!cols"]),m["!rows"]&&c(h,m["!rows"]),h.push("B;Y"+(_.e.r-_.s.r+1)+";X"+(_.e.c-_.s.c+1)+";D"+[_.s.c,_.s.r,_.e.c,_.e.r].join(" "));for(var y=_.s.r;y<=_.e.r;++y)for(var M=_.s.c;M<=_.e.c;++M){var I=$t({r:y,c:M});S=v?(m[y]||[])[M]:m[I],!(!S||S.v==null&&(!S.f||S.F))&&p.push(l(S,m,y,M))}return h.join(g)+g+p.join(g)+g+"E"+g}return{to_workbook:o,to_sheet:s,from_sheet:f}}(),nk=function(){function e(i,s){switch(s.type){case"base64":return t(La(i),s);case"binary":return t(i,s);case"buffer":return t(er&&Buffer.isBuffer(i)?i.toString("binary"):uu(i),s);case"array":return t(p0(i),s)}throw new Error("Unrecognized type "+s.type)}function t(i,s){for(var o=i.split(` +`),l=-1,u=-1,c=0,f=[];c!==o.length;++c){if(o[c].trim()==="BOT"){f[++l]=[],u=0;continue}if(!(l<0)){var m=o[c].trim().split(","),d=m[0],h=m[1];++c;for(var p=o[c]||"";(p.match(/["]/g)||[]).length&1&&c=0&&h[p].length===0;)--p;for(var _=10,S=0,v=0;v<=p;++v)S=h[v].indexOf(" "),S==-1?S=h[v].length:S++,_=Math.max(_,S);for(v=0;v<=p;++v){d[v]=[];var g=0;for(e(h[v].slice(0,_).trim(),d,v,g,m),g=1;g<=(h[v].length-_)/10+1;++g)e(h[v].slice(_+(g-1)*10,_+g*10).trim(),d,v,g,m)}return m.sheetRows&&(d=d.slice(0,m.sheetRows)),d}var r={44:",",9:" ",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function a(c){for(var f={},m=!1,d=0,h=0;d0&&N(),h["!ref"]=Yt(p),h}function s(c,f){return!(f&&f.PRN)||f.FS||c.slice(0,4)=="sep="||c.indexOf(" ")>=0||c.indexOf(",")>=0||c.indexOf(";")>=0?i(c,f):If(t(c,f),f)}function o(c,f){var m="",d=f.type=="string"?[0,0,0,0]:dO(c,f);switch(f.type){case"base64":m=La(c);break;case"binary":m=c;break;case"buffer":f.codepage==65001?m=c.toString("utf8"):f.codepage&&typeof Ol<"u"?m=Ol.utils.decode(f.codepage,c):m=er&&Buffer.isBuffer(c)?c.toString("binary"):uu(c);break;case"array":m=p0(c);break;case"string":m=c;break;default:throw new Error("Unrecognized type "+f.type)}return d[0]==239&&d[1]==187&&d[2]==191?m=Hr(m.slice(3)):f.type!="string"&&f.type!="buffer"&&f.codepage==65001?m=Hr(m):f.type=="binary"&&typeof Ol<"u"&&f.codepage&&(m=Ol.utils.decode(f.codepage,Ol.utils.encode(28591,m))),m.slice(0,19)=="socialcalc:version:"?sk.to_sheet(f.type=="string"?m:Hr(m),f):s(m,f)}function l(c,f){return cu(o(c,f),f)}function u(c){for(var f=[],m=_r(c["!ref"]),d,h=Array.isArray(c),p=m.s.r;p<=m.e.r;++p){for(var _=[],S=m.s.c;S<=m.e.c;++S){var v=$t({r:p,c:S});if(d=h?(c[p]||[])[S]:c[v],!d||d.v==null){_.push(" ");continue}for(var g=(d.w||(Yo(d),d.w)||"").slice(0,10);g.length<10;)g+=" ";_.push(g+(S===0?" ":""))}f.push(_.join(""))}return f.join(` +`)}return{to_workbook:l,to_sheet:o,from_sheet:u}}();function Lz(e,t){var r=t||{},n=!!r.WTF;r.WTF=!0;try{var a=rk.to_workbook(e,r);return r.WTF=n,a}catch(i){if(r.WTF=n,!i.message.match(/SYLK bad record ID/)&&n)throw i;return Zc.to_workbook(e,t)}}var Xu=function(){function e(k,U,z){if(!!k){cs(k,k.l||0);for(var q=z.Enum||le;k.l=16&&k[14]==5&&k[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(k[2]==2)z.Enum=le,e(k,function(Y,Q,Te){switch(Te){case 0:z.vers=Y,Y>=4096&&(z.qpro=!0);break;case 6:ae=Y;break;case 204:Y&&(Fe=Y);break;case 222:Fe=Y;break;case 15:case 51:z.qpro||(Y[1].v=Y[1].v.slice(1));case 13:case 14:case 16:Te==14&&(Y[2]&112)==112&&(Y[2]&15)>1&&(Y[2]&15)<15&&(Y[1].z=z.dateNF||Bt[14],z.cellDates&&(Y[1].t="d",Y[1].v=Fg(Y[1].v))),z.qpro&&Y[3]>Le&&(q["!ref"]=Yt(ae),Me[Ie]=q,Re.push(Ie),q=z.dense?[]:{},ae={s:{r:0,c:0},e:{r:0,c:0}},Le=Y[3],Ie=Fe||"Sheet"+(Le+1),Fe="");var Ge=z.dense?(q[Y[0].r]||[])[Y[0].c]:q[$t(Y[0])];if(Ge){Ge.t=Y[1].t,Ge.v=Y[1].v,Y[1].z!=null&&(Ge.z=Y[1].z),Y[1].f!=null&&(Ge.f=Y[1].f);break}z.dense?(q[Y[0].r]||(q[Y[0].r]=[]),q[Y[0].r][Y[0].c]=Y[1]):q[$t(Y[0])]=Y[1];break}},z);else if(k[2]==26||k[2]==14)z.Enum=J,k[2]==14&&(z.qpro=!0,k.l=0),e(k,function(Y,Q,Te){switch(Te){case 204:Ie=Y;break;case 22:Y[1].v=Y[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(Y[3]>Le&&(q["!ref"]=Yt(ae),Me[Ie]=q,Re.push(Ie),q=z.dense?[]:{},ae={s:{r:0,c:0},e:{r:0,c:0}},Le=Y[3],Ie="Sheet"+(Le+1)),dt>0&&Y[0].r>=dt)break;z.dense?(q[Y[0].r]||(q[Y[0].r]=[]),q[Y[0].r][Y[0].c]=Y[1]):q[$t(Y[0])]=Y[1],ae.e.c=0&&Di(+z.codepage),z.type=="string")throw new Error("Cannot write WK1 to JS string");var q=ra(),Ie=_r(k["!ref"]),Fe=Array.isArray(k),Le=[];_t(q,0,i(1030)),_t(q,6,l(Ie));for(var Me=Math.min(Ie.e.r,8191),Re=Ie.s.r;Re<=Me;++Re)for(var be=Ln(Re),ae=Ie.s.c;ae<=Ie.e.c;++ae){Re===Ie.s.r&&(Le[ae]=fn(ae));var dt=Le[ae]+be,P=Fe?(k[Re]||[])[ae]:k[dt];if(!(!P||P.t=="z"))if(P.t=="n")(P.v|0)==P.v&&P.v>=-32768&&P.v<=32767?_t(q,13,d(Re,ae,P.v)):_t(q,14,p(Re,ae,P.v));else{var Ve=Yo(P);_t(q,15,f(Re,ae,Ve.slice(0,239)))}}return _t(q,1),q.end()}function a(k,U){var z=U||{};if(+z.codepage>=0&&Di(+z.codepage),z.type=="string")throw new Error("Cannot write WK3 to JS string");var q=ra();_t(q,0,s(k));for(var Ie=0,Fe=0;Ie8191&&(z=8191),U.write_shift(2,z),U.write_shift(1,Ie),U.write_shift(1,q),U.write_shift(2,0),U.write_shift(2,0),U.write_shift(1,1),U.write_shift(1,2),U.write_shift(4,0),U.write_shift(4,0),U}function o(k,U,z){var q={s:{c:0,r:0},e:{c:0,r:0}};return U==8&&z.qpro?(q.s.c=k.read_shift(1),k.l++,q.s.r=k.read_shift(2),q.e.c=k.read_shift(1),k.l++,q.e.r=k.read_shift(2),q):(q.s.c=k.read_shift(2),q.s.r=k.read_shift(2),U==12&&z.qpro&&(k.l+=2),q.e.c=k.read_shift(2),q.e.r=k.read_shift(2),U==12&&z.qpro&&(k.l+=2),q.s.c==65535&&(q.s.c=q.e.c=q.s.r=q.e.r=0),q)}function l(k){var U=tt(8);return U.write_shift(2,k.s.c),U.write_shift(2,k.s.r),U.write_shift(2,k.e.c),U.write_shift(2,k.e.r),U}function u(k,U,z){var q=[{c:0,r:0},{t:"n",v:0},0,0];return z.qpro&&z.vers!=20768?(q[0].c=k.read_shift(1),q[3]=k.read_shift(1),q[0].r=k.read_shift(2),k.l+=2):(q[2]=k.read_shift(1),q[0].c=k.read_shift(2),q[0].r=k.read_shift(2)),q}function c(k,U,z){var q=k.l+U,Ie=u(k,U,z);if(Ie[1].t="s",z.vers==20768){k.l++;var Fe=k.read_shift(1);return Ie[1].v=k.read_shift(Fe,"utf8"),Ie}return z.qpro&&k.l++,Ie[1].v=k.read_shift(q-k.l,"cstr"),Ie}function f(k,U,z){var q=tt(7+z.length);q.write_shift(1,255),q.write_shift(2,U),q.write_shift(2,k),q.write_shift(1,39);for(var Ie=0;Ie=128?95:Fe)}return q.write_shift(1,0),q}function m(k,U,z){var q=u(k,U,z);return q[1].v=k.read_shift(2,"i"),q}function d(k,U,z){var q=tt(7);return q.write_shift(1,255),q.write_shift(2,U),q.write_shift(2,k),q.write_shift(2,z,"i"),q}function h(k,U,z){var q=u(k,U,z);return q[1].v=k.read_shift(8,"f"),q}function p(k,U,z){var q=tt(13);return q.write_shift(1,255),q.write_shift(2,U),q.write_shift(2,k),q.write_shift(8,z,"f"),q}function _(k,U,z){var q=k.l+U,Ie=u(k,U,z);if(Ie[1].v=k.read_shift(8,"f"),z.qpro)k.l=q;else{var Fe=k.read_shift(2);y(k.slice(k.l,k.l+Fe),Ie),k.l+=Fe}return Ie}function S(k,U,z){var q=U&32768;return U&=-32769,U=(q?k:0)+(U>=8192?U-16384:U),(q?"":"$")+(z?fn(U):Ln(U))}var v={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},g=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function y(k,U){cs(k,0);for(var z=[],q=0,Ie="",Fe="",Le="",Me="";k.lz.length){console.error("WK1 bad formula parse 0x"+Re.toString(16)+":|"+z.join("|")+"|");return}var P=z.slice(-q);z.length-=q,z.push(v[Re][0]+"("+P.join(",")+")")}else return Re<=7?console.error("WK1 invalid opcode "+Re.toString(16)):Re<=24?console.error("WK1 unsupported op "+Re.toString(16)):Re<=30?console.error("WK1 invalid opcode "+Re.toString(16)):Re<=115?console.error("WK1 unsupported function opcode "+Re.toString(16)):console.error("WK1 unrecognized opcode "+Re.toString(16))}}z.length==1?U[1].f=""+z[0]:console.error("WK1 bad formula parse |"+z.join("|")+"|")}function M(k){var U=[{c:0,r:0},{t:"n",v:0},0];return U[0].r=k.read_shift(2),U[3]=k[k.l++],U[0].c=k[k.l++],U}function I(k,U){var z=M(k);return z[1].t="s",z[1].v=k.read_shift(U-4,"cstr"),z}function D(k,U,z,q){var Ie=tt(6+q.length);Ie.write_shift(2,k),Ie.write_shift(1,z),Ie.write_shift(1,U),Ie.write_shift(1,39);for(var Fe=0;Fe=128?95:Le)}return Ie.write_shift(1,0),Ie}function T(k,U){var z=M(k);z[1].v=k.read_shift(2);var q=z[1].v>>1;if(z[1].v&1)switch(q&7){case 0:q=(q>>3)*5e3;break;case 1:q=(q>>3)*500;break;case 2:q=(q>>3)/20;break;case 3:q=(q>>3)/200;break;case 4:q=(q>>3)/2e3;break;case 5:q=(q>>3)/2e4;break;case 6:q=(q>>3)/16;break;case 7:q=(q>>3)/64;break}return z[1].v=q,z}function b(k,U){var z=M(k),q=k.read_shift(4),Ie=k.read_shift(4),Fe=k.read_shift(2);if(Fe==65535)return q===0&&Ie===3221225472?(z[1].t="e",z[1].v=15):q===0&&Ie===3489660928?(z[1].t="e",z[1].v=42):z[1].v=0,z;var Le=Fe&32768;return Fe=(Fe&32767)-16446,z[1].v=(1-Le*2)*(Ie*Math.pow(2,Fe+32)+q*Math.pow(2,Fe)),z}function N(k,U,z,q){var Ie=tt(14);if(Ie.write_shift(2,k),Ie.write_shift(1,z),Ie.write_shift(1,U),q==0)return Ie.write_shift(4,0),Ie.write_shift(4,0),Ie.write_shift(2,65535),Ie;var Fe=0,Le=0,Me=0,Re=0;return q<0&&(Fe=1,q=-q),Le=Math.log2(q)|0,q/=Math.pow(2,Le-31),Re=q>>>0,(Re&2147483648)==0&&(q/=2,++Le,Re=q>>>0),q-=Re,Re|=2147483648,Re>>>=0,q*=Math.pow(2,32),Me=q>>>0,Ie.write_shift(4,Me),Ie.write_shift(4,Re),Le+=16383+(Fe?32768:0),Ie.write_shift(2,Le),Ie}function V(k,U){var z=b(k);return k.l+=U-14,z}function A(k,U){var z=M(k),q=k.read_shift(4);return z[1].v=q>>6,z}function j(k,U){var z=M(k),q=k.read_shift(8,"f");return z[1].v=q,z}function O(k,U){var z=j(k);return k.l+=U-10,z}function R(k,U){return k[k.l+U-1]==0?k.read_shift(U,"cstr"):""}function te(k,U){var z=k[k.l++];z>U-1&&(z=U-1);for(var q="";q.length127?95:Ie}return z[z.l++]=0,z}var le={0:{n:"BOF",f:Pn},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:o},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:m},14:{n:"NUMBER",f:h},15:{n:"LABEL",f:c},16:{n:"FORMULA",f:_},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:c},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:R},222:{n:"SHEETNAMELP",f:te},65535:{n:""}},J={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:I},23:{n:"NUMBER17",f:b},24:{n:"NUMBER18",f:T},25:{n:"FORMULA19",f:V},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:ue},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:A},38:{n:"??"},39:{n:"NUMBER27",f:j},40:{n:"FORMULA28",f:O},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:R},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:W},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:n,book_to_wk3:a,to_workbook:t}}();function Cz(e){var t={},r=e.match(Ts),n=0,a=!1;if(r)for(;n!=r.length;++n){var i=Wt(r[n]);switch(i[0].replace(/\w*:/g,"")){case"":case"":t.shadow=1;break;case"":break;case"":case"":t.outline=1;break;case"":break;case"":case"":t.strike=1;break;case"":break;case"":case"":t.u=1;break;case"":break;case"":case"":t.b=1;break;case"":break;case"":case"":t.i=1;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":a=!1;break;default:if(i[0].charCodeAt(1)!==47&&!a)throw new Error("Unrecognized rich format "+i[0])}}return t}var Tz=function(){var e=Ap("t"),t=Ap("rPr");function r(i){var s=i.match(e);if(!s)return{t:"s",v:""};var o={t:"s",v:hr(s[1])},l=i.match(t);return l&&(o.s=Cz(l[1])),o}var n=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/;return function(s){return s.replace(n,"").split(a).map(r).filter(function(o){return o.v})}}(),xz=function(){var t=/(\r\n|\n)/g;function r(a,i,s){var o=[];a.u&&o.push("text-decoration: underline;"),a.uval&&o.push("text-underline-style:"+a.uval+";"),a.sz&&o.push("font-size:"+a.sz+"pt;"),a.outline&&o.push("text-effect: outline;"),a.shadow&&o.push("text-shadow: auto;"),i.push(''),a.b&&(i.push(""),s.push("")),a.i&&(i.push(""),s.push("")),a.strike&&(i.push(""),s.push(""));var l=a.valign||"";return l=="superscript"||l=="super"?l="sup":l=="subscript"&&(l="sub"),l!=""&&(i.push("<"+l+">"),s.push("")),s.push(""),a}function n(a){var i=[[],a.v,[]];return a.v?(a.s&&r(a.s,i[0],i[2]),i[0].join("")+i[1].replace(t,"
")+i[2].join("")):""}return function(i){return i.map(n).join("")}}(),Az=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,kz=/<(?:\w+:)?r>/,wz=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function tO(e,t){var r=t?t.cellHTML:!0,n={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=hr(Hr(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=Hr(e),r&&(n.h=HI(n.t))):e.match(kz)&&(n.r=Hr(e),n.t=hr(Hr((e.replace(wz,"").match(Az)||[]).join("").replace(Ts,""))),r&&(n.h=xz(Tz(n.r)))),n):{t:""}}var Pz=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Nz=/<(?:\w+:)?(?:si|sstItem)>/g,Uz=/<\/(?:\w+:)?(?:si|sstItem)>/;function Vz(e,t){var r=[],n="";if(!e)return r;var a=e.match(Pz);if(a){n=a[2].replace(Nz,"").split(Uz);for(var i=0;i!=n.length;++i){var s=tO(n[i].trim(),t);s!=null&&(r[r.length]=s)}a=Wt(a[1]),r.Count=a.count,r.Unique=a.uniqueCount}return r}var Rz=/^\s|\s$|[\t\n\r]/;function ak(e,t){if(!t.bookSST)return"";var r=[Cn];r[r.length]=ht("sst",null,{xmlns:L0[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(e[n]!=null){var a=e[n],i="";a.r?i+=a.r:(i+=""),i+="",r[r.length]=i}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function Fz(e){return[e.read_shift(4),e.read_shift(4)]}function Bz(e,t){var r=[],n=!1;return rl(e,function(i,s,o){switch(o){case 159:r.Count=i[0],r.Unique=i[1];break;case 19:r.push(i);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(s.T,!n||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}}),r}function Hz(e,t){return t||(t=tt(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var $z=Jj;function jz(e){var t=ra();ct(t,159,Hz(e));for(var r=0;r=4&&(e.l+=t-4),r}function Gz(e){var t={};return t.id=e.read_shift(0,"lpp4"),t.R=Ho(e,4),t.U=Ho(e,4),t.W=Ho(e,4),t}function Wz(e){for(var t=e.read_shift(4),r=e.l+t-4,n={},a=e.read_shift(4),i=[];a-- >0;)i.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(n.name=e.read_shift(0,"lpp4"),n.comps=i,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return n}function zz(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(Wz(e));return t}function Kz(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(e.read_shift(0,"lpp4"));return t}function qz(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=Ho(e,4),t.U=Ho(e,4),t.W=Ho(e,4),t}function Yz(e){var t=qz(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),e.read_shift(4)!=4)throw new Error("Bad !Primary record");return t}function ok(e,t){var r=e.l+t,n={};n.Flags=e.read_shift(4)&63,e.l+=4,n.AlgID=e.read_shift(4);var a=!1;switch(n.AlgID){case 26126:case 26127:case 26128:a=n.Flags==36;break;case 26625:a=n.Flags==4;break;case 0:a=n.Flags==16||n.Flags==4||n.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!a)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=e.read_shift(4),n.KeySize=e.read_shift(4),n.ProviderType=e.read_shift(4),e.l+=8,n.CSPName=e.read_shift(r-e.l>>1,"utf16le"),e.l=r,n}function lk(e,t){var r={},n=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),r.VerifierHash=e.slice(e.l,n),e.l=n,r}function Zz(e){var t=Ho(e);switch(t.Minor){case 2:return[t.Minor,Xz(e)];case 3:return[t.Minor,Jz()];case 4:return[t.Minor,Qz(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function Xz(e){var t=e.read_shift(4);if((t&63)!=36)throw new Error("EncryptionInfo mismatch");var r=e.read_shift(4),n=ok(e,r),a=lk(e,e.length-e.l);return{t:"Std",h:n,v:a}}function Jz(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Qz(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e.read_shift(e.length-e.l,"utf8"),n={};return r.replace(Ts,function(i){var s=Wt(i);switch(ho(s[0])){case"":break;case"":case"":break;case"":break;case"4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=e.read_shift(4),t-=4;var a=e.read_shift(4);return t-=4,r.EncryptionHeader=ok(e,a),t-=a,r.EncryptionVerifier=lk(e,t),r}function tK(e){var t={},r=t.EncryptionVersionInfo=Ho(e,4);if(r.Major!=1||r.Minor!=1)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}function rO(e){var t=0,r,n=ik(e),a=n.length+1,i,s,o,l,u;for(r=Xl(a),r[0]=n.length,i=1;i!=a;++i)r[i]=n[i-1];for(i=a-1;i>=0;--i)s=r[i],o=(t&16384)===0?0:1,l=t<<1&32767,u=o|l,t=u^s;return t^52811}var uk=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(s){return(s/2|s*128)&255},a=function(s,o){return n(s^o)},i=function(s){for(var o=t[s.length-1],l=104,u=s.length-1;u>=0;--u)for(var c=s[u],f=0;f!=7;++f)c&64&&(o^=r[l]),c*=2,--l;return o};return function(s){for(var o=ik(s),l=i(o),u=o.length,c=Xl(16),f=0;f!=16;++f)c[f]=0;var m,d,h;for((u&1)===1&&(m=l>>8,c[u]=a(e[0],m),--u,m=l&255,d=o[o.length-1],c[u]=a(d,m));u>0;)--u,m=l>>8,c[u]=a(o[u],m),--u,m=l&255,c[u]=a(o[u],m);for(u=15,h=15-o.length;h>0;)m=l>>8,c[u]=a(e[h],m),--u,--h,m=l&255,c[u]=a(o[u],m),--u,--h;return c}}(),rK=function(e,t,r,n,a){a||(a=t),n||(n=uk(e));var i,s;for(i=0;i!=t.length;++i)s=t[i],s^=n[r],s=(s>>5|s<<3)&255,a[i]=s,++r;return[a,r,n]},nK=function(e){var t=0,r=uk(e);return function(n){var a=rK("",n,t,r);return t=a[1],a[0]}};function sK(e,t,r,n){var a={key:Pn(e),verificationBytes:Pn(e)};return r.password&&(a.verifier=rO(r.password)),n.valid=a.verificationBytes===a.verifier,n.valid&&(n.insitu=nK(r.password)),a}function aK(e,t,r){var n=r||{};return n.Info=e.read_shift(2),e.l-=2,n.Info===1?n.Data=tK(e):n.Data=eK(e,t),n}function iK(e,t,r){var n={Type:r.biff>=8?e.read_shift(2):0};return n.Type?aK(e,t-2,n):sK(e,r.biff>=8?t:t-2,r,n),n}var ck=function(){function e(a,i){switch(i.type){case"base64":return t(La(a),i);case"binary":return t(a,i);case"buffer":return t(er&&Buffer.isBuffer(a)?a.toString("binary"):uu(a),i);case"array":return t(p0(a),i)}throw new Error("Unrecognized type "+i.type)}function t(a,i){var s=i||{},o=s.dense?[]:{},l=a.match(/\\trowd.*?\\row\b/g);if(!l.length)throw new Error("RTF missing table");var u={s:{c:0,r:0},e:{c:0,r:l.length-1}};return l.forEach(function(c,f){Array.isArray(o)&&(o[f]=[]);for(var m=/\\\w+\b/g,d=0,h,p=-1;h=m.exec(c);){switch(h[0]){case"\\cell":var _=c.slice(d,m.lastIndex-h[0].length);if(_[0]==" "&&(_=_.slice(1)),++p,_.length){var S={v:_,t:"s"};Array.isArray(o)?o[f][p]=S:o[$t({r:f,c:p})]=S}break}d=m.lastIndex}p>u.e.c&&(u.e.c=p)}),o["!ref"]=Yt(u),o}function r(a,i){return cu(e(a,i),i)}function n(a){for(var i=["{\\rtf1\\ansi"],s=_r(a["!ref"]),o,l=Array.isArray(a),u=s.s.r;u<=s.e.r;++u){i.push("\\trowd\\trautofit1");for(var c=s.s.c;c<=s.e.c;++c)i.push("\\cellx"+(c+1));for(i.push("\\pard\\intbl"),c=s.s.c;c<=s.e.c;++c){var f=$t({r:u,c});o=l?(a[u]||[])[c]:a[f],!(!o||o.v==null&&(!o.f||o.F))&&(i.push(" "+(o.w||(Yo(o),o.w))),i.push("\\cell"))}i.push("\\pard\\intbl\\row")}return i.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:n}}();function oK(e){var t=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function Np(e){for(var t=0,r=1;t!=3;++t)r=r*256+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function lK(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.max(t,r,n),i=Math.min(t,r,n),s=a-i;if(s===0)return[0,0,t];var o=0,l=0,u=a+i;switch(l=s/(u>1?2-u:u),a){case t:o=((r-n)/s+6)%6;break;case r:o=(n-t)/s+2;break;case n:o=(t-r)/s+4;break}return[o/6,l,u/2]}function uK(e){var t=e[0],r=e[1],n=e[2],a=r*2*(n<.5?n:1-n),i=n-a/2,s=[i,i,i],o=6*t,l;if(r!==0)switch(o|0){case 0:case 6:l=a*o,s[0]+=a,s[1]+=l;break;case 1:l=a*(2-o),s[0]+=l,s[1]+=a;break;case 2:l=a*(o-2),s[1]+=a,s[2]+=l;break;case 3:l=a*(4-o),s[1]+=l,s[2]+=a;break;case 4:l=a*(o-4),s[2]+=a,s[0]+=l;break;case 5:l=a*(6-o),s[2]+=l,s[0]+=a;break}for(var u=0;u!=3;++u)s[u]=Math.round(s[u]*255);return s}function y_(e,t){if(t===0)return e;var r=lK(oK(e));return t<0?r[2]=r[2]*(1+t):r[2]=1-(1-r[2])*(1-t),Np(uK(r))}var fk=6,cK=15,fK=1,Ds=fk;function Up(e){return Math.floor((e+Math.round(128/Ds)/256)*Ds)}function Vp(e){return Math.floor((e-5)/Ds*100+.5)/100}function M_(e){return Math.round((e*Ds+5)/Ds*256)/256}function mS(e){return M_(Vp(Up(e)))}function nO(e){var t=Math.abs(e-mS(e)),r=Ds;if(t>.005)for(Ds=fK;Ds":case"":break;case"":case"":a={},o.diagonalUp&&(a.diagonalUp=Qr(o.diagonalUp)),o.diagonalDown&&(a.diagonalDown=Qr(o.diagonalDown)),t.Borders.push(a);break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":break;case"":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+o[0]+" in borders")}})}function hK(e,t,r,n){t.Fills=[];var a={},i=!1;(e[0].match(Ts)||[]).forEach(function(s){var o=Wt(s);switch(ho(o[0])){case"":case"":break;case"":case"":a={},t.Fills.push(a);break;case"":break;case"":break;case"":t.Fills.push(a),a={};break;case"":o.patternType&&(a.patternType=o.patternType);break;case"":case"":break;case"":case"":break;case"":case"":break;case"":break;case"":break;case"":break;case"":break;case"":case"":break;case"":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+o[0]+" in fills")}})}function _K(e,t,r,n){t.Fonts=[];var a={},i=!1;(e[0].match(Ts)||[]).forEach(function(s){var o=Wt(s);switch(ho(o[0])){case"":case"":break;case"":break;case"
":case"":t.Fonts.push(a),a={};break;case"":case"":break;case"":a.bold=1;break;case"":a.italic=1;break;case"":a.underline=1;break;case"":a.strike=1;break;case"":a.outline=1;break;case"":a.shadow=1;break;case"":a.condense=1;break;case"":a.extend=1;break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":case"":break;case"":i=!1;break;case"":case"":break;case"":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+o[0]+" in fonts")}})}function gK(e,t,r){t.NumberFmt=[];for(var n=Dn(Bt),a=0;a":case"":case"":break;case"0){if(l>392){for(l=392;l>60&&t.NumberFmt[l]!=null;--l);t.NumberFmt[l]=o}Bo(o,l)}}break;case"":break;default:if(r.WTF)throw new Error("unrecognized "+s[0]+" in numFmts")}}}function vK(e){var t=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var n=r[0];n<=r[1];++n)e[n]!=null&&(t[t.length]=ht("numFmt",null,{numFmtId:n,formatCode:Pr(e[n])}))}),t.length===1?"":(t[t.length]="",t[0]=ht("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var I1=["numFmtId","fillId","fontId","borderId","xfId"],O1=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function SK(e,t,r){t.CellXf=[];var n,a=!1;(e[0].match(Ts)||[]).forEach(function(i){var s=Wt(i),o=0;switch(ho(s[0])){case"":case"":case"":break;case"":for(n=s,delete n[0],o=0;o392){for(o=392;o>60;--o)if(t.NumberFmt[n.numFmtId]==t.NumberFmt[o]){n.numFmtId=o;break}}t.CellXf.push(n);break;case"":break;case"":var l={};s.vertical&&(l.vertical=s.vertical),s.horizontal&&(l.horizontal=s.horizontal),s.textRotation!=null&&(l.textRotation=s.textRotation),s.indent&&(l.indent=s.indent),s.wrapText&&(l.wrapText=Qr(s.wrapText)),n.alignment=l;break;case"":break;case"":case"":break;case"":a=!1;break;case"":case"":break;case"":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+s[0]+" in cellXfs")}})}function yK(e){var t=[];return t[t.length]=ht("cellXfs",null),e.forEach(function(r){t[t.length]=ht("xf",null,r)}),t[t.length]="",t.length===2?"":(t[0]=ht("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var MK=function(){var t=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,a=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,i=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(o,l,u){var c={};if(!o)return c;o=o.replace(//mg,"").replace(//gm,"");var f;return(f=o.match(t))&&gK(f,c,u),(f=o.match(a))&&_K(f,c,l,u),(f=o.match(n))&&hK(f,c,l,u),(f=o.match(i))&&dK(f,c,l,u),(f=o.match(r))&&SK(f,c,u),c}}();function pk(e,t){var r=[Cn,ht("styleSheet",null,{xmlns:L0[0],"xmlns:vt":Bn.vt})],n;return e.SSF&&(n=vK(e.SSF))!=null&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',(n=yK(t.cellXfs))&&(r[r.length]=n),r[r.length]='',r[r.length]='',r[r.length]='',r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function DK(e,t){var r=e.read_shift(2),n=Os(e);return[r,n]}function IK(e,t,r){r||(r=tt(6+4*t.length)),r.write_shift(2,e),Jn(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return r.l==null&&(r.l=r.length),n}function OK(e,t,r){var n={};n.sz=e.read_shift(2)/20;var a=aG(e);a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1);var i=e.read_shift(2);switch(i===700&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var s=e.read_shift(1);s!=0&&(n.underline=s);var o=e.read_shift(1);o>0&&(n.family=o);var l=e.read_shift(1);switch(l>0&&(n.charset=l),e.l++,n.color=sG(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=Os(e),n}function EK(e,t){t||(t=tt(25+4*32)),t.write_shift(2,e.sz*20),iG(e,t),t.write_shift(2,e.bold?700:400);var r=0;e.vertAlign=="superscript"?r=1:e.vertAlign=="subscript"&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),g_(e.color,t);var n=0;return e.scheme=="major"&&(n=1),e.scheme=="minor"&&(n=2),t.write_shift(1,n),Jn(e.name,t),t.length>t.l?t.slice(0,t.l):t}var bK=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],pS,LK=Cs;function $C(e,t){t||(t=tt(4*3+8*7+16*1)),pS||(pS=Vg(bK));var r=pS[e.patternType];r==null&&(r=40),t.write_shift(4,r);var n=0;if(r!=40)for(g_({auto:1},t),g_({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function CK(e,t){var r=e.l+t,n=e.read_shift(2),a=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:a}}function dk(e,t,r){r||(r=tt(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);var n=0;return r.write_shift(1,n),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function Ff(e,t){return t||(t=tt(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var TK=Cs;function xK(e,t){return t||(t=tt(51)),t.write_shift(1,0),Ff(null,t),Ff(null,t),Ff(null,t),Ff(null,t),Ff(null,t),t.length>t.l?t.slice(0,t.l):t}function AK(e,t){return t||(t=tt(12+4*10)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,+e.builtinId),t.write_shift(1,0),__(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function kK(e,t,r){var n=tt(2052);return n.write_shift(4,e),__(t,n),__(r,n),n.length>n.l?n.slice(0,n.l):n}function wK(e,t,r){var n={};n.NumberFmt=[];for(var a in Bt)n.NumberFmt[a]=Bt[a];n.CellXf=[],n.Fonts=[];var i=[],s=!1;return rl(e,function(l,u,c){switch(c){case 44:n.NumberFmt[l[0]]=l[1],Bo(l[1],l[0]);break;case 43:n.Fonts.push(l),l.color.theme!=null&&t&&t.themeElements&&t.themeElements.clrScheme&&(l.color.rgb=y_(t.themeElements.clrScheme[l.color.theme].rgb,l.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:i[i.length-1]==617&&n.CellXf.push(l);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:i.push(c),s=!0;break;case 38:i.pop(),s=!1;break;default:if(u.T>0)i.push(c);else if(u.T<0)i.pop();else if(!s||r.WTF&&i[i.length-1]!=37)throw new Error("Unexpected record 0x"+c.toString(16))}}),n}function PK(e,t){if(!!t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&++r}),r!=0&&(ct(e,615,xi(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&ct(e,44,IK(a,t[a]))}),ct(e,616))}}function NK(e){var t=1;ct(e,611,xi(t)),ct(e,43,EK({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),ct(e,612)}function UK(e){var t=2;ct(e,603,xi(t)),ct(e,45,$C({patternType:"none"})),ct(e,45,$C({patternType:"gray125"})),ct(e,604)}function VK(e){var t=1;ct(e,613,xi(t)),ct(e,46,xK()),ct(e,614)}function RK(e){var t=1;ct(e,626,xi(t)),ct(e,47,dk({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),ct(e,627)}function FK(e,t){ct(e,617,xi(t.length)),t.forEach(function(r){ct(e,47,dk(r,0))}),ct(e,618)}function BK(e){var t=1;ct(e,619,xi(t)),ct(e,48,AK({xfId:0,builtinId:0,name:"Normal"})),ct(e,620)}function HK(e){var t=0;ct(e,505,xi(t)),ct(e,506)}function $K(e){var t=0;ct(e,508,kK(t,"TableStyleMedium9","PivotStyleMedium4")),ct(e,509)}function jK(e,t){var r=ra();return ct(r,278),PK(r,e.SSF),NK(r),UK(r),VK(r),RK(r),FK(r,t.cellXfs),BK(r),HK(r),$K(r),ct(r,279),r.end()}var GK=["","","","","","","","","","","",""];function WK(e,t,r){t.themeElements.clrScheme=[];var n={};(e[0].match(Ts)||[]).forEach(function(a){var i=Wt(a);switch(i[0]){case"":break;case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":case"":i[0].charAt(1)==="/"?(t.themeElements.clrScheme[GK.indexOf(i[0])]=n,n={}):n.name=i[0].slice(3,i[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+i[0]+" in clrScheme")}})}function zK(){}function KK(){}var qK=/]*)>[\s\S]*<\/a:clrScheme>/,YK=/]*)>[\s\S]*<\/a:fontScheme>/,ZK=/]*)>[\s\S]*<\/a:fmtScheme>/;function XK(e,t,r){t.themeElements={};var n;[["clrScheme",qK,WK],["fontScheme",YK,zK],["fmtScheme",ZK,KK]].forEach(function(a){if(!(n=e.match(a[1])))throw new Error(a[0]+" not found in themeElements");a[2](n,t,r)})}var JK=/]*)>[\s\S]*<\/a:themeElements>/;function hk(e,t){(!e||e.length===0)&&(e=sO());var r,n={};if(!(r=e.match(JK)))throw new Error("themeElements not found in theme");return XK(r[0],n,t),n.raw=e,n}function sO(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var r=[Cn];return r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r.join("")}function QK(e,t,r){var n=e.l+t,a=e.read_shift(4);if(a!==124226){if(!r.cellStyles){e.l=n;return}var i=e.slice(e.l);e.l=n;var s;try{s=o6(i,{type:"array"})}catch{return}var o=va(s,"theme/theme/theme1.xml",!0);if(!!o)return hk(o,r)}}function eq(e){return e.read_shift(4)}function tq(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=rq(e,4);break;case 2:t.xclrValue=q6(e);break;case 3:t.xclrValue=eq(e);break;case 4:e.l+=4;break}return e.l+=8,t}function rq(e,t){return Cs(e,t)}function nq(e,t){return Cs(e,t)}function sq(e){var t=e.read_shift(2),r=e.read_shift(2)-4,n=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=tq(e);break;case 6:n[1]=nq(e,r);break;case 14:case 15:n[1]=e.read_shift(r===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return n}function aq(e,t){var r=e.l+t;e.l+=2;var n=e.read_shift(2);e.l+=2;for(var a=e.read_shift(2),i=[];a-- >0;)i.push(sq(e,r-e.l));return{ixfe:n,ext:i}}function iq(e,t){t.forEach(function(r){switch(r[0]){}})}function oq(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Os(e)}}function lq(e){var t=tt(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),Jn(e.name,t),t.slice(0,t.l)}function uq(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}function cq(e){var t=tt(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":break;case"":i=2;break;case"":i=2;break;case"":case"":case"":break;case"":a=!1;break;case" + + + + + + + + + + + + + + + + + +`),e.join("")}function gq(e){var t=[];if(!e)return t;var r=1;return(e.match(Ts)||[]).forEach(function(n){var a=Wt(n);switch(a[0]){case"":case"":break;case"]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}var hc=1024;function gk(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[ht("xml",null,{"xmlns:v":da.v,"xmlns:o":da.o,"xmlns:x":da.x,"xmlns:mv":da.mv}).replace(/\/>/,">"),ht("o:shapelayout",ht("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),ht("v:shapetype",[ht("v:stroke",null,{joinstyle:"miter"}),ht("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];hc",u,ht("v:shadow",null,c),ht("v:path",null,{"o:connecttype":"none"}),'
','',"","",ms("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),ms("x:AutoFill","False"),ms("x:Row",String(s.r)),ms("x:Column",String(s.c)),i[1].hidden?"":"","",""])}),a.push(""),a.join("")}function jC(e,t,r,n){var a=Array.isArray(e),i;t.forEach(function(s){var o=mn(s.ref);if(a?(e[o.r]||(e[o.r]=[]),i=e[o.r][o.c]):i=e[s.ref],!i){i={t:"z"},a?e[o.r][o.c]=i:e[s.ref]=i;var l=_r(e["!ref"]||"BDWGO1000001:A1");l.s.r>o.r&&(l.s.r=o.r),l.e.ro.c&&(l.s.c=o.c),l.e.c=0;--f){if(!r&&i.c[f].T)return;r&&!i.c[f].T&&i.c.splice(f,1)}if(r&&n){for(f=0;f/))return[];var r=[],n=[],a=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);a&&a[1]&&a[1].split(/<\/\w*:?author>/).forEach(function(s){if(!(s===""||s.trim()==="")){var o=s.match(/<(?:\w+:)?author[^>]*>(.*)/);o&&r.push(o[1])}});var i=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return i&&i[1]&&i[1].split(/<\/\w*:?comment>/).forEach(function(s){if(!(s===""||s.trim()==="")){var o=s.match(/<(?:\w+:)?comment[^>]*>/);if(!!o){var l=Wt(o[0]),u={author:l.authorId&&r[l.authorId]||"sheetjsghost",ref:l.ref,guid:l.guid},c=mn(l.ref);if(!(t.sheetRows&&t.sheetRows<=c.r)){var f=s.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),m=!!f&&!!f[1]&&tO(f[1])||{r:"",t:"",h:""};u.r=m.r,m.r==""&&(m.t=m.h=""),u.t=(m.t||"").replace(/\r\n/g,` +`).replace(/\r/g,` +`),t.cellHTML&&(u.h=m.h),n.push(u)}}}}),n}function vk(e){var t=[Cn,ht("comments",null,{xmlns:L0[0]})],r=[];return t.push(""),e.forEach(function(n){n[1].forEach(function(a){var i=Pr(a.a);r.indexOf(i)==-1&&(r.push(i),t.push(""+i+"")),a.T&&a.ID&&r.indexOf("tc="+a.ID)==-1&&(r.push("tc="+a.ID),t.push("tc="+a.ID+""))})}),r.length==0&&(r.push("SheetJ5"),t.push("SheetJ5")),t.push(""),t.push(""),e.forEach(function(n){var a=0,i=[];if(n[1][0]&&n[1][0].T&&n[1][0].ID?a=r.indexOf("tc="+n[1][0].ID):n[1].forEach(function(l){l.a&&(a=r.indexOf(Pr(l.a))),i.push(l.t||"")}),t.push(''),i.length<=1)t.push(ms("t",Pr(i[0]||"")));else{for(var s=`Comment: + `+i[0]+` +`,o=1;o")}),t.push(""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function Iq(e,t){var r=[],n=!1,a={},i=0;return e.replace(Ts,function(o,l){var u=Wt(o);switch(ho(u[0])){case"":break;case"":a.t!=null&&r.push(a);break;case"":case"":a.t=e.slice(i,l).replace(/\r\n/g,` +`).replace(/\r/g,` +`);break;case"":n=!0;break;case"":n=!1;break;case"":case"
":case"":break;case"":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+u[0]+" in threaded comments")}return o}),r}function Oq(e,t,r){var n=[Cn,ht("ThreadedComments",null,{xmlns:Bn.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(a){var i="";(a[1]||[]).forEach(function(s,o){if(!s.T){delete s.ID;return}s.a&&t.indexOf(s.a)==-1&&t.push(s.a);var l={ref:a[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};o==0?i=l.id:l.parentId=i,s.ID=l.id,s.a&&(l.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),n.push(ht("threadedComment",ms("text",s.t||""),l))})}),n.push(""),n.join("")}function Eq(e,t){var r=[],n=!1;return e.replace(Ts,function(i){var s=Wt(i);switch(ho(s[0])){case"":break;case"":break;case"":case"":case"":break;case"":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+s[0]+" in threaded comments")}return i}),r}function bq(e){var t=[Cn,ht("personList",null,{xmlns:Bn.TCMNT,"xmlns:x":L0[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,n){t.push(ht("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push(""),t.join("")}function Lq(e){var t={};t.iauthor=e.read_shift(4);var r=A0(e);return t.rfx=r.s,t.ref=$t(r.s),e.l+=16,t}function Cq(e,t){return t==null&&(t=tt(36)),t.write_shift(4,e[1].iauthor),Of(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var Tq=Os;function xq(e){return Jn(e.slice(0,54))}function Aq(e,t){var r=[],n=[],a={},i=!1;return rl(e,function(o,l,u){switch(u){case 632:n.push(o);break;case 635:a=o;break;case 637:a.t=o.t,a.h=o.h,a.r=o.r;break;case 636:if(a.author=n[a.iauthor],delete a.iauthor,t.sheetRows&&a.rfx&&t.sheetRows<=a.rfx.r)break;a.t||(a.t=""),delete a.rfx,r.push(a);break;case 3072:break;case 35:i=!0;break;case 36:i=!1;break;case 37:break;case 38:break;default:if(!l.T){if(!i||t.WTF)throw new Error("Unexpected record 0x"+u.toString(16))}}}),r}function kq(e){var t=ra(),r=[];return ct(t,628),ct(t,630),e.forEach(function(n){n[1].forEach(function(a){r.indexOf(a.a)>-1||(r.push(a.a.slice(0,54)),ct(t,632,xq(a.a)))})}),ct(t,631),ct(t,633),e.forEach(function(n){n[1].forEach(function(a){a.iauthor=r.indexOf(a.a);var i={s:mn(n[0]),e:mn(n[0])};ct(t,635,Cq([i,a])),a.t&&a.t.length>0&&ct(t,637,eG(a)),ct(t,636),delete a.iauthor})}),ct(t,634),ct(t,629),t.end()}var wq="application/vnd.ms-office.vbaProject";function Pq(e){var t=kt.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(r,n){if(!(r.slice(-1)==="/"||!r.match(/_VBA_PROJECT_CUR/))){var a=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");kt.utils.cfb_add(t,a,e.FileIndex[n].content)}}),kt.write(t)}function Nq(e,t){t.FullPaths.forEach(function(r,n){if(n!=0){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");a.slice(-1)!=="/"&&kt.utils.cfb_add(e,a,t.FileIndex[n].content)}})}var Sk=["xlsb","xlsm","xlam","biff8","xla"];function Uq(){return{"!type":"dialog"}}function Vq(){return{"!type":"dialog"}}function Rq(){return{"!type":"macro"}}function Fq(){return{"!type":"macro"}}var xc=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(n,a,i,s){var o=!1,l=!1;i.length==0?l=!0:i.charAt(0)=="["&&(l=!0,i=i.slice(1,-1)),s.length==0?o=!0:s.charAt(0)=="["&&(o=!0,s=s.slice(1,-1));var u=i.length>0?parseInt(i,10)|0:0,c=s.length>0?parseInt(s,10)|0:0;return o?c+=t.c:--c,l?u+=t.r:--u,a+(o?"":"$")+fn(c)+(l?"":"$")+Ln(u)}return function(a,i){return t=i,a.replace(e,r)}}(),aO=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,iO=function(){return function(t,r){return t.replace(aO,function(n,a,i,s,o,l){var u=zI(s)-(i?0:r.c),c=WI(l)-(o?0:r.r),f=c==0?"":o?c+1:"["+c+"]",m=u==0?"":i?u+1:"["+u+"]";return a+"R"+f+"C"+m})}}();function yk(e,t){return e.replace(aO,function(r,n,a,i,s,o){return n+(a=="$"?a+i:fn(zI(i)+t.c))+(s=="$"?s+o:Ln(WI(o)+t.r))})}function Bq(e,t,r){var n=aa(t),a=n.s,i=mn(r),s={r:i.r-a.r,c:i.c-a.c};return yk(e,s)}function Hq(e){return e.length!=1}function GC(e){return e.replace(/_xlfn\./g,"")}function Tn(e){e.l+=1}function Ql(e,t){var r=e.read_shift(t==1?1:2);return[r&16383,r>>14&1,r>>15&1]}function Mk(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return Dk(e);r.biff==12&&(n=4)}var a=e.read_shift(n),i=e.read_shift(n),s=Ql(e,2),o=Ql(e,2);return{s:{r:a,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:o[0],cRel:o[1],rRel:o[2]}}}function Dk(e){var t=Ql(e,2),r=Ql(e,2),n=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function $q(e,t,r){if(r.biff<8)return Dk(e);var n=e.read_shift(r.biff==12?4:2),a=e.read_shift(r.biff==12?4:2),i=Ql(e,2),s=Ql(e,2);return{s:{r:n,c:i[0],cRel:i[1],rRel:i[2]},e:{r:a,c:s[0],cRel:s[1],rRel:s[2]}}}function Ik(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return jq(e);var n=e.read_shift(r&&r.biff==12?4:2),a=Ql(e,2);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function jq(e){var t=Ql(e,2),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function Gq(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:r&255,fQuoted:!!(r&16384),cRel:r>>15,rRel:r>>15}}function Wq(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return zq(e);var a=e.read_shift(n>=12?4:2),i=e.read_shift(2),s=(i&16384)>>14,o=(i&32768)>>15;if(i&=16383,o==1)for(;a>524287;)a-=1048576;if(s==1)for(;i>8191;)i=i-16384;return{r:a,c:i,cRel:s,rRel:o}}function zq(e){var t=e.read_shift(2),r=e.read_shift(1),n=(t&32768)>>15,a=(t&16384)>>14;return t&=16383,n==1&&t>=8192&&(t=t-16384),a==1&&r>=128&&(r=r-256),{r:t,c:r,cRel:a,rRel:n}}function Kq(e,t,r){var n=(e[e.l++]&96)>>5,a=Mk(e,r.biff>=2&&r.biff<=5?6:8,r);return[n,a]}function qq(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2,"i"),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}var s=Mk(e,i,r);return[n,a,s]}function Yq(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}function Zq(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}return e.l+=i,[n,a]}function Xq(e,t,r){var n=(e[e.l++]&96)>>5,a=$q(e,t-1,r);return[n,a]}function Jq(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r.biff==2?6:r.biff==12?14:7,[n]}function WC(e){var t=e[e.l+1]&1,r=1;return e.l+=4,[t,r]}function Qq(e,t,r){e.l+=2;for(var n=e.read_shift(r&&r.biff==2?1:2),a=[],i=0;i<=n;++i)a.push(e.read_shift(r&&r.biff==2?1:2));return a}function eY(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function tY(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function rY(e){var t=e[e.l+1]&255?1:0;return e.l+=2,[t,e.read_shift(2)]}function nY(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=r&&r.biff==2?3:4,[n]}function Ok(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function sY(e){return e.read_shift(2),Ok(e)}function aY(e){return e.read_shift(2),Ok(e)}function iY(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=Ik(e,0,r);return[n,a]}function oY(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=Wq(e,0,r);return[n,a]}function lY(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=e.read_shift(2);r&&r.biff==5&&(e.l+=12);var i=Ik(e,0,r);return[n,a,i]}function uY(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=e.read_shift(r&&r.biff<=3?1:2);return[mZ[a],Lk[a],n]}function cY(e,t,r){var n=e[e.l++],a=e.read_shift(1),i=r&&r.biff<=3?[n==88?-1:0,e.read_shift(1)]:fY(e);return[a,(i[0]===0?Lk:fZ)[i[1]]]}function fY(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function mY(e,t,r){e.l+=r&&r.biff==2?3:4}function pY(e,t,r){if(e.l++,r&&r.biff==12)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function dY(e){return e.l++,nl[e.read_shift(1)]}function hY(e){return e.l++,e.read_shift(2)}function _Y(e){return e.l++,e.read_shift(1)!==0}function gY(e){return e.l++,Is(e)}function vY(e,t,r){return e.l++,Dd(e,t-1,r)}function SY(e,t){var r=[e.read_shift(1)];if(t==12)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=In(e,1)?"TRUE":"FALSE",t!=12&&(e.l+=7);break;case 37:case 16:r[1]=nl[e[e.l]],e.l+=t==12?4:8;break;case 0:e.l+=8;break;case 1:r[1]=Is(e);break;case 2:r[1]=k0(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function yY(e,t,r){for(var n=e.read_shift(r.biff==12?4:2),a=[],i=0;i!=n;++i)a.push((r.biff==12?A0:Bg)(e));return a}function MY(e,t,r){var n=0,a=0;r.biff==12?(n=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,--a==0&&(a=256));for(var i=0,s=[];i!=n&&(s[i]=[]);++i)for(var o=0;o!=a;++o)s[i][o]=SY(e,r.biff);return s}function DY(e,t,r){var n=e.read_shift(1)>>>5&3,a=!r||r.biff>=8?4:2,i=e.read_shift(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,i]}function IY(e,t,r){if(r.biff==5)return OY(e);var n=e.read_shift(1)>>>5&3,a=e.read_shift(2),i=e.read_shift(4);return[n,a,i]}function OY(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}function EY(e,t,r){var n=e.read_shift(1)>>>5&3;e.l+=r&&r.biff==2?3:4;var a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function bY(e,t,r){var n=e.read_shift(1)>>>5&3,a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function LY(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,r.biff==12&&(e.l+=2),[n]}function CY(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2),i=4;if(r)switch(r.biff){case 5:i=15;break;case 12:i=6;break}return e.l+=i,[n,a]}var TY=Cs,xY=Cs,AY=Cs;function Od(e,t,r){return e.l+=2,[Gq(e)]}function oO(e){return e.l+=6,[]}var kY=Od,wY=oO,PY=oO,NY=Od;function Ek(e){return e.l+=2,[Pn(e),e.read_shift(2)&1]}var UY=Od,VY=Ek,RY=oO,FY=Od,BY=Od,HY=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function $Y(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a=e.read_shift(2),i=e.read_shift(2),s=HY[r>>2&31];return{ixti:t,coltype:r&3,rt:s,idx:n,c:a,C:i}}function jY(e){return e.l+=2,[e.read_shift(4)]}function GY(e,t,r){return e.l+=5,e.l+=2,e.l+=r.biff==2?1:4,["PTGSHEET"]}function WY(e,t,r){return e.l+=r.biff==2?4:5,["PTGENDSHEET"]}function zY(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function KY(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function qY(e){return e.l+=4,[0,0]}var zC={1:{n:"PtgExp",f:pY},2:{n:"PtgTbl",f:AY},3:{n:"PtgAdd",f:Tn},4:{n:"PtgSub",f:Tn},5:{n:"PtgMul",f:Tn},6:{n:"PtgDiv",f:Tn},7:{n:"PtgPower",f:Tn},8:{n:"PtgConcat",f:Tn},9:{n:"PtgLt",f:Tn},10:{n:"PtgLe",f:Tn},11:{n:"PtgEq",f:Tn},12:{n:"PtgGe",f:Tn},13:{n:"PtgGt",f:Tn},14:{n:"PtgNe",f:Tn},15:{n:"PtgIsect",f:Tn},16:{n:"PtgUnion",f:Tn},17:{n:"PtgRange",f:Tn},18:{n:"PtgUplus",f:Tn},19:{n:"PtgUminus",f:Tn},20:{n:"PtgPercent",f:Tn},21:{n:"PtgParen",f:Tn},22:{n:"PtgMissArg",f:Tn},23:{n:"PtgStr",f:vY},26:{n:"PtgSheet",f:GY},27:{n:"PtgEndSheet",f:WY},28:{n:"PtgErr",f:dY},29:{n:"PtgBool",f:_Y},30:{n:"PtgInt",f:hY},31:{n:"PtgNum",f:gY},32:{n:"PtgArray",f:Jq},33:{n:"PtgFunc",f:uY},34:{n:"PtgFuncVar",f:cY},35:{n:"PtgName",f:DY},36:{n:"PtgRef",f:iY},37:{n:"PtgArea",f:Kq},38:{n:"PtgMemArea",f:EY},39:{n:"PtgMemErr",f:TY},40:{n:"PtgMemNoMem",f:xY},41:{n:"PtgMemFunc",f:bY},42:{n:"PtgRefErr",f:LY},43:{n:"PtgAreaErr",f:Yq},44:{n:"PtgRefN",f:oY},45:{n:"PtgAreaN",f:Xq},46:{n:"PtgMemAreaN",f:zY},47:{n:"PtgMemNoMemN",f:KY},57:{n:"PtgNameX",f:IY},58:{n:"PtgRef3d",f:lY},59:{n:"PtgArea3d",f:qq},60:{n:"PtgRefErr3d",f:CY},61:{n:"PtgAreaErr3d",f:Zq},255:{}},YY={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},ZY={1:{n:"PtgElfLel",f:Ek},2:{n:"PtgElfRw",f:FY},3:{n:"PtgElfCol",f:kY},6:{n:"PtgElfRwV",f:BY},7:{n:"PtgElfColV",f:NY},10:{n:"PtgElfRadical",f:UY},11:{n:"PtgElfRadicalS",f:RY},13:{n:"PtgElfColS",f:wY},15:{n:"PtgElfColSV",f:PY},16:{n:"PtgElfRadicalLel",f:VY},25:{n:"PtgList",f:$Y},29:{n:"PtgSxName",f:jY},255:{}},XY={0:{n:"PtgAttrNoop",f:qY},1:{n:"PtgAttrSemi",f:nY},2:{n:"PtgAttrIf",f:tY},4:{n:"PtgAttrChoose",f:Qq},8:{n:"PtgAttrGoto",f:eY},16:{n:"PtgAttrSum",f:mY},32:{n:"PtgAttrBaxcel",f:WC},33:{n:"PtgAttrBaxcel",f:WC},64:{n:"PtgAttrSpace",f:sY},65:{n:"PtgAttrSpaceSemi",f:aY},128:{n:"PtgAttrIfError",f:rY},255:{}};function Ed(e,t,r,n){if(n.biff<8)return Cs(e,t);for(var a=e.l+t,i=[],s=0;s!==r.length;++s)switch(r[s][0]){case"PtgArray":r[s][1]=MY(e,0,n),i.push(r[s][1]);break;case"PtgMemArea":r[s][2]=yY(e,r[s][1],n),i.push(r[s][2]);break;case"PtgExp":n&&n.biff==12&&(r[s][1][1]=e.read_shift(4),i.push(r[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[s][0]}return t=a-e.l,t!==0&&i.push(Cs(e,t)),i}function bd(e,t,r){for(var n=e.l+t,a,i,s=[];n!=e.l;)t=n-e.l,i=e[e.l],a=zC[i]||zC[YY[i]],(i===24||i===25)&&(a=(i===24?ZY:XY)[e[e.l+1]]),!a||!a.f?Cs(e,t):s.push([a.n,a.f(e,t,r)]);return s}function JY(e){for(var t=[],r=0;r=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function eZ(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function bk(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),t==0?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return r.SID!=null?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(i){return i.Name}).join(";;");default:return e[n[0]][0][3]?(a=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function KC(e,t,r){var n=bk(e,t,r);return n=="#REF"?n:eZ(n,r)}function ys(e,t,r,n,a){var i=a&&a.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},o=[],l,u,c,f=0,m=0,d,h="";if(!e[0]||!e[0][0])return"";for(var p=-1,_="",S=0,v=e[0].length;S=0){switch(e[0][p][1][0]){case 0:_=Sn(" ",e[0][p][1][1]);break;case 1:_=Sn("\r",e[0][p][1][1]);break;default:if(_="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0])}u=u+_,p=-1}o.push(u+QY[g[0]]+l);break;case"PtgIsect":l=o.pop(),u=o.pop(),o.push(u+" "+l);break;case"PtgUnion":l=o.pop(),u=o.pop(),o.push(u+","+l);break;case"PtgRange":l=o.pop(),u=o.pop(),o.push(u+":"+l);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=Tm(g[1][1],s,a),o.push(xm(c,i));break;case"PtgRefN":c=r?Tm(g[1][1],r,a):g[1][1],o.push(xm(c,i));break;case"PtgRef3d":f=g[1][1],c=Tm(g[1][2],s,a),h=KC(n,f,a),o.push(h+"!"+xm(c,i));break;case"PtgFunc":case"PtgFuncVar":var y=g[1][0],M=g[1][1];y||(y=0),y&=127;var I=y==0?[]:o.slice(-y);o.length-=y,M==="User"&&(M=I.shift()),o.push(M+"("+I.join(",")+")");break;case"PtgBool":o.push(g[1]?"TRUE":"FALSE");break;case"PtgInt":o.push(g[1]);break;case"PtgNum":o.push(String(g[1]));break;case"PtgStr":o.push('"'+g[1].replace(/"/g,'""')+'"');break;case"PtgErr":o.push(g[1]);break;case"PtgAreaN":d=DC(g[1][1],r?{s:r}:s,a),o.push(uS(d,a));break;case"PtgArea":d=DC(g[1][1],s,a),o.push(uS(d,a));break;case"PtgArea3d":f=g[1][1],d=g[1][2],h=KC(n,f,a),o.push(h+"!"+uS(d,a));break;case"PtgAttrSum":o.push("SUM("+o.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":m=g[1][2];var D=(n.names||[])[m-1]||(n[0]||[])[m],T=D?D.Name:"SH33TJSNAME"+String(m);T&&T.slice(0,6)=="_xlfn."&&!a.xlfn&&(T=T.slice(6)),o.push(T);break;case"PtgNameX":var b=g[1][1];m=g[1][2];var N;if(a.biff<=5)b<0&&(b=-b),n[b]&&(N=n[b][m]);else{var V="";if(((n[b]||[])[0]||[])[0]==14849||(((n[b]||[])[0]||[])[0]==1025?n[b][m]&&n[b][m].itab>0&&(V=n.SheetNames[n[b][m].itab-1]+"!"):V=n.SheetNames[m-1]+"!"),n[b]&&n[b][m])V+=n[b][m].Name;else if(n[0]&&n[0][m])V+=n[0][m].Name;else{var A=(bk(n,b,a)||"").split(";;");A[m-1]?V=A[m-1]:V+="SH33TJSERRX"}o.push(V);break}N||(N={Name:"SH33TJSERRY"}),o.push(N.Name);break;case"PtgParen":var j="(",O=")";if(p>=0){switch(_="",e[0][p][1][0]){case 2:j=Sn(" ",e[0][p][1][1])+j;break;case 3:j=Sn("\r",e[0][p][1][1])+j;break;case 4:O=Sn(" ",e[0][p][1][1])+O;break;case 5:O=Sn("\r",e[0][p][1][1])+O;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0])}p=-1}o.push(j+o.pop()+O);break;case"PtgRefErr":o.push("#REF!");break;case"PtgRefErr3d":o.push("#REF!");break;case"PtgExp":c={c:g[1][1],r:g[1][0]};var R={c:r.c,r:r.r};if(n.sharedf[$t(c)]){var te=n.sharedf[$t(c)];o.push(ys(te,s,R,n,a))}else{var W=!1;for(l=0;l!=n.arrayf.length;++l)if(u=n.arrayf[l],!(c.cu[0].e.c)&&!(c.ru[0].e.r)){o.push(ys(u[1],s,R,n,a)),W=!0;break}W||o.push(g[1])}break;case"PtgArray":o.push("{"+JY(g[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":p=S;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":o.push("");break;case"PtgAreaErr":o.push("#REF!");break;case"PtgAreaErr3d":o.push("#REF!");break;case"PtgList":o.push("Table"+g[1].idx+"[#"+g[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(g));default:throw new Error("Unrecognized Formula Token: "+String(g))}var ue=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(a.biff!=3&&p>=0&&ue.indexOf(e[0][S][0])==-1){g=e[0][p];var F=!0;switch(g[1][0]){case 4:F=!1;case 0:_=Sn(" ",g[1][1]);break;case 5:F=!1;case 1:_=Sn("\r",g[1][1]);break;default:if(_="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+g[1][0])}o.push((F?_:"")+o.pop()+(F?"":_)),p=-1}}if(o.length>1&&a.WTF)throw new Error("bad formula stack");return o[0]}function tZ(e,t,r){var n=e.l+t,a=r.biff==2?1:2,i,s=e.read_shift(a);if(s==65535)return[[],Cs(e,t-2)];var o=bd(e,s,r);return t!==s+a&&(i=Ed(e,t-s-a,o,r)),e.l=n,[o,i]}function rZ(e,t,r){var n=e.l+t,a=r.biff==2?1:2,i,s=e.read_shift(a);if(s==65535)return[[],Cs(e,t-2)];var o=bd(e,s,r);return t!==s+a&&(i=Ed(e,t-s-a,o,r)),e.l=n,[o,i]}function nZ(e,t,r,n){var a=e.l+t,i=bd(e,n,r),s;return a!==e.l&&(s=Ed(e,a-e.l,i,r)),[i,s]}function sZ(e,t,r){var n=e.l+t,a,i=e.read_shift(2),s=bd(e,i,r);return i==65535?[[],Cs(e,t-2)]:(t!==i+2&&(a=Ed(e,n-i-2,s,r)),[s,a])}function aZ(e){var t;if(wo(e,e.l+6)!==65535)return[Is(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=e[e.l+2]===1,e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}function iZ(e){if(e==null){var t=tt(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}else if(typeof e=="number")return d0(e);return d0(0)}function dS(e,t,r){var n=e.l+t,a=_o(e);r.biff==2&&++e.l;var i=aZ(e),s=e.read_shift(1);r.biff!=2&&(e.read_shift(1),r.biff>=5&&e.read_shift(4));var o=rZ(e,n-e.l,r);return{cell:a,val:i[0],formula:o,shared:s>>3&1,tt:i[1]}}function oZ(e,t,r,n,a){var i=_0(t,r,a),s=iZ(e.v),o=tt(6),l=33;o.write_shift(2,l),o.write_shift(4,0);for(var u=tt(e.bf.length),c=0;c0?Ed(e,i,a,r):null;return[a,s]}var lZ=Hg,$g=Hg,uZ=Hg,cZ=Hg,fZ={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Lk={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},mZ={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function qC(e){return e.slice(0,3)=="of:"&&(e=e.slice(3)),e.charCodeAt(0)==61&&(e=e.slice(1),e.charCodeAt(0)==61&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,""),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(t,r){return r.replace(/\./g,"")}),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),e.replace(/[;~]/g,",").replace(/\|/g,";")}function pZ(e){var t="of:="+e.replace(aO,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function hS(e){var t=e.split(":"),r=t[0].split(".")[0];return[r,t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function dZ(e){return e.replace(/\./,"!")}var km={},Ac={},wm=typeof Map<"u";function lO(e,t,r){var n=0,a=e.length;if(r){if(wm?r.has(t):Object.prototype.hasOwnProperty.call(r,t)){for(var i=wm?r.get(t):r[t];n-1?(r.width=M_(n),r.customWidth=1):t.width!=null&&(r.width=t.width),t.hidden&&(r.hidden=!0),t.level!=null&&(r.outlineLevel=r.level=t.level),r}function Ju(e,t){if(!!e){var r=[.7,.7,.75,.75,.3,.3];t=="xlml"&&(r=[1,1,1,1,.5,.5]),e.left==null&&(e.left=r[0]),e.right==null&&(e.right=r[1]),e.top==null&&(e.top=r[2]),e.bottom==null&&(e.bottom=r[3]),e.header==null&&(e.header=r[4]),e.footer==null&&(e.footer=r[5])}}function fu(e,t,r){var n=r.revssf[t.z!=null?t.z:"General"],a=60,i=e.length;if(n==null&&r.ssf){for(;a<392;++a)if(r.ssf[a]==null){Bo(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}}for(a=0;a!=i;++a)if(e[a].numFmtId===n)return a;return e[i]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},i}function Ck(e,t,r,n,a,i){try{n.cellNF&&(e.z=Bt[t])}catch(o){if(n.WTF)throw o}if(!(e.t==="z"&&!n.cellStyles)){if(e.t==="d"&&typeof e.v=="string"&&(e.v=tn(e.v)),(!n||n.cellText!==!1)&&e.t!=="z")try{if(Bt[t]==null&&Bo(mj[t]||"General",t),e.t==="e")e.w=e.w||nl[e.v];else if(t===0)if(e.t==="n")(e.v|0)===e.v?e.w=e.v.toString(10):e.w=xp(e.v);else if(e.t==="d"){var s=jn(e.v);(s|0)===s?e.w=s.toString(10):e.w=xp(s)}else{if(e.v===void 0)return"";e.w=m0(e.v,Ac)}else e.t==="d"?e.w=oi(t,jn(e.v),Ac):e.w=oi(t,e.v,Ac)}catch(o){if(n.WTF)throw o}if(!!n.cellStyles&&r!=null)try{e.s=i.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=y_(a.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),n.WTF&&(e.s.fgColor.raw_rgb=a.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=y_(a.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),n.WTF&&(e.s.bgColor.raw_rgb=a.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(o){if(n.WTF&&i.Fills)throw o}}}function hZ(e,t,r){if(e&&e["!ref"]){var n=_r(e["!ref"]);if(n.e.c=0&&r.s.c>=0&&(e["!ref"]=Yt(r))}var gZ=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,vZ=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,SZ=/<(?:\w:)?hyperlink [^>]*>/mg,yZ=/"(\w*:\w*)"/,MZ=/<(?:\w:)?col\b[^>]*[\/]?>/g,DZ=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,IZ=/<(?:\w:)?pageMargins[^>]*\/>/g,Tk=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,OZ=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,EZ=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function bZ(e,t,r,n,a,i,s){if(!e)return e;n||(n={"!id":{}});var o=t.dense?[]:{},l={s:{r:2e6,c:2e6},e:{r:0,c:0}},u="",c="",f=e.match(vZ);f?(u=e.slice(0,f.index),c=e.slice(f.index+f[0].length)):u=c=e;var m=u.match(Tk);m?uO(m[0],o,a,r):(m=u.match(OZ))&&CZ(m[0],m[1]||"",o,a,r);var d=(u.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var h=u.slice(d,d+50).match(yZ);h&&_Z(o,h[1])}var p=u.match(EZ);p&&p[1]&&HZ(p[1],a);var _=[];if(t.cellStyles){var S=u.match(MZ);S&&UZ(_,S)}f&&GZ(f[1],o,t,l,i,s);var v=c.match(DZ);v&&(o["!autofilter"]=RZ(v[0]));var g=[],y=c.match(gZ);if(y)for(d=0;d!=y.length;++d)g[d]=_r(y[d].slice(y[d].indexOf('"')+1));var M=c.match(SZ);M&&wZ(o,M,n);var I=c.match(IZ);if(I&&(o["!margins"]=PZ(Wt(I[0]))),!o["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(o["!ref"]=Yt(l)),t.sheetRows>0&&o["!ref"]){var D=_r(o["!ref"]);t.sheetRows<=+D.e.r&&(D.e.r=t.sheetRows-1,D.e.r>l.e.r&&(D.e.r=l.e.r),D.e.rl.e.c&&(D.e.c=l.e.c),D.e.c0&&(o["!cols"]=_),g.length>0&&(o["!merges"]=g),o}function LZ(e){if(e.length===0)return"";for(var t='',r=0;r!=e.length;++r)t+='';return t+""}function uO(e,t,r,n){var a=Wt(e);r.Sheets[n]||(r.Sheets[n]={}),a.codeName&&(r.Sheets[n].CodeName=hr(Hr(a.codeName)))}function CZ(e,t,r,n,a){uO(e.slice(0,e.indexOf(">")),r,n,a)}function TZ(e,t,r,n,a){var i=!1,s={},o=null;if(n.bookType!=="xlsx"&&t.vbaraw){var l=t.SheetNames[r];try{t.Workbook&&(l=t.Workbook.Sheets[r].CodeName||l)}catch{}i=!0,s.codeName=to(Pr(l))}if(e&&e["!outline"]){var u={summaryBelow:1,summaryRight:1};e["!outline"].above&&(u.summaryBelow=0),e["!outline"].left&&(u.summaryRight=0),o=(o||"")+ht("outlinePr",null,u)}!i&&!o||(a[a.length]=ht("sheetPr",o,s))}var xZ=["objects","scenarios","selectLockedCells","selectUnlockedCells"],AZ=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function kZ(e){var t={sheet:1};return xZ.forEach(function(r){e[r]!=null&&e[r]&&(t[r]="1")}),AZ.forEach(function(r){e[r]!=null&&!e[r]&&(t[r]="0")}),e.password&&(t.password=rO(e.password).toString(16).toUpperCase()),ht("sheetProtection",null,t)}function wZ(e,t,r){for(var n=Array.isArray(e),a=0;a!=t.length;++a){var i=Wt(Hr(t[a]),!0);if(!i.ref)return;var s=((r||{})["!id"]||[])[i.id];s?(i.Target=s.Target,i.location&&(i.Target+="#"+hr(i.location))):(i.Target="#"+hr(i.location),s={Target:i.Target,TargetMode:"Internal"}),i.Rel=s,i.tooltip&&(i.Tooltip=i.tooltip,delete i.tooltip);for(var o=_r(i.ref),l=o.s.r;l<=o.e.r;++l)for(var u=o.s.c;u<=o.e.c;++u){var c=$t({c:u,r:l});n?(e[l]||(e[l]=[]),e[l][u]||(e[l][u]={t:"z",v:void 0}),e[l][u].l=i):(e[c]||(e[c]={t:"z",v:void 0}),e[c].l=i)}}}function PZ(e){var t={};return["left","right","top","bottom","header","footer"].forEach(function(r){e[r]&&(t[r]=parseFloat(e[r]))}),t}function NZ(e){return Ju(e),ht("pageMargins",null,e)}function UZ(e,t){for(var r=!1,n=0;n!=t.length;++n){var a=Wt(t[n],!0);a.hidden&&(a.hidden=Qr(a.hidden));var i=parseInt(a.min,10)-1,s=parseInt(a.max,10)-1;for(a.outlineLevel&&(a.level=+a.outlineLevel||0),delete a.min,delete a.max,a.width=+a.width,!r&&a.width&&(r=!0,nO(a.width)),Jl(a);i<=s;)e[i++]=rn(a)}}function VZ(e,t){for(var r=[""],n,a=0;a!=t.length;++a)!(n=t[a])||(r[r.length]=ht("col",null,jg(a,n)));return r[r.length]="",r.join("")}function RZ(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}function FZ(e,t,r,n){var a=typeof e.ref=="string"?e.ref:Yt(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=aa(a);s.s.r==s.e.r&&(s.e.r=aa(t["!ref"]).e.r,a=Yt(s));for(var o=0;oa-z][^>]*)?\/?>/;function HZ(e,t){t.Views||(t.Views=[{}]),(e.match(BZ)||[]).forEach(function(r,n){var a=Wt(r);t.Views[n]||(t.Views[n]={}),+a.zoomScale&&(t.Views[n].zoom=+a.zoomScale),Qr(a.rightToLeft)&&(t.Views[n].RTL=!0)})}function $Z(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),ht("sheetViews",ht("sheetView",null,a),{})}function jZ(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),e.v===void 0&&typeof e.f!="string"||e.t==="z"&&!e.f)return"";var a="",i=e.t,s=e.v;if(e.t!=="z")switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=nl[e.v];break;case"d":n&&n.cellDates?a=tn(e.v,-1).toISOString():(e=rn(e),e.t="n",a=""+(e.v=jn(tn(e.v)))),typeof e.z>"u"&&(e.z=Bt[14]);break;default:a=e.v;break}var o=ms("v",Pr(a)),l={r:t},u=fu(n.cellXfs,e,n);switch(u!==0&&(l.s=u),e.t){case"n":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){o=ms("v",""+lO(n.Strings,e.v,n.revStrings)),l.t="s";break}l.t="str";break}if(e.t!=i&&(e.t=i,e.v=s),typeof e.f=="string"&&e.f){var c=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;o=ht("f",Pr(e.f),c)+(e.v!=null?o:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(l.cm=1),ht("c",o,l)}var GZ=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,a=/ref=["']([^"']*)["']/,i=Ap("v"),s=Ap("f");return function(l,u,c,f,m,d){for(var h=0,p="",_=[],S=[],v=0,g=0,y=0,M="",I,D,T=0,b=0,N,V,A=0,j=0,O=Array.isArray(d.CellXf),R,te=[],W=[],ue=Array.isArray(u),F=[],le={},J=!1,k=!!c.sheetStubs,U=l.split(t),z=0,q=U.length;z!=q;++z){p=U[z].trim();var Ie=p.length;if(Ie===0)continue;var Fe=0;e:for(h=0;h":if(p[h-1]!="/"){++h;break e}if(c&&c.cellStyles){if(D=Wt(p.slice(Fe,h),!0),T=D.r!=null?parseInt(D.r,10):T+1,b=-1,c.sheetRows&&c.sheetRows=h)break;if(D=Wt(p.slice(Fe,h),!0),T=D.r!=null?parseInt(D.r,10):T+1,b=-1,!(c.sheetRows&&c.sheetRowsT-1&&(f.s.r=T-1),f.e.r":"")+p,S!=null&&S.length===2){for(v=0,M=S[1],g=0;g!=M.length&&!((y=M.charCodeAt(g)-64)<1||y>26);++g)v=26*v+y;--v,b=v}else++b;for(g=0;g!=p.length&&p.charCodeAt(g)!==62;++g);if(++g,D=Wt(p.slice(0,g),!0),D.r||(D.r=$t({r:T-1,c:b})),M=p.slice(g),I={t:""},(S=M.match(i))!=null&&S[1]!==""&&(I.v=hr(S[1])),c.cellFormula){if((S=M.match(s))!=null&&S[1]!==""){if(I.f=hr(Hr(S[1])).replace(/\r\n/g,` +`),c.xlfn||(I.f=GC(I.f)),S[0].indexOf('t="array"')>-1)I.F=(M.match(a)||[])[1],I.F.indexOf(":")>-1&&te.push([_r(I.F),I.F]);else if(S[0].indexOf('t="shared"')>-1){V=Wt(S[0]);var Me=hr(Hr(S[1]));c.xlfn||(Me=GC(Me)),W[parseInt(V.si,10)]=[V,Me,D.r]}}else(S=M.match(/]*\/>/))&&(V=Wt(S[0]),W[V.si]&&(I.f=Bq(W[V.si][1],W[V.si][2],D.r)));var Re=mn(D.r);for(g=0;g=te[g][0].s.r&&Re.r<=te[g][0].e.r&&Re.c>=te[g][0].s.c&&Re.c<=te[g][0].e.c&&(I.F=te[g][1])}if(D.t==null&&I.v===void 0)if(I.f||I.F)I.v=0,I.t="n";else if(k)I.t="z";else continue;else I.t=D.t||"n";switch(f.s.c>b&&(f.s.c=b),f.e.c"u"){if(!k)continue;I.t="z"}else N=km[parseInt(I.v,10)],I.v=N.t,I.r=N.r,c.cellHTML&&(I.h=N.h);break;case"str":I.t="s",I.v=I.v!=null?Hr(I.v):"",c.cellHTML&&(I.h=HI(I.v));break;case"inlineStr":S=M.match(n),I.t="s",S!=null&&(N=tO(S[1]))?(I.v=N.t,c.cellHTML&&(I.h=N.h)):I.v="";break;case"b":I.v=Qr(I.v);break;case"d":c.cellDates?I.v=tn(I.v,1):(I.v=jn(tn(I.v,1)),I.t="n");break;case"e":(!c||c.cellText!==!1)&&(I.w=I.v),I.v=A6[I.v];break}if(A=j=0,R=null,O&&D.s!==void 0&&(R=d.CellXf[D.s],R!=null&&(R.numFmtId!=null&&(A=R.numFmtId),c.cellStyles&&R.fillId!=null&&(j=R.fillId))),Ck(I,A,j,c,m,d),c.cellDates&&O&&I.t=="n"&&Mf(Bt[A])&&(I.t="d",I.v=Fg(I.v)),D.cm&&c.xlmeta){var be=(c.xlmeta.Cell||[])[+D.cm-1];be&&be.type=="XLDAPR"&&(I.D=!0)}if(ue){var ae=mn(D.r);u[ae.r]||(u[ae.r]=[]),u[ae.r][ae.c]=I}else u[D.r]=I}}}F.length>0&&(u["!rows"]=F)}}();function WZ(e,t,r,n){var a=[],i=[],s=_r(e["!ref"]),o="",l,u="",c=[],f=0,m=0,d=e["!rows"],h=Array.isArray(e),p={r:u},_,S=-1;for(m=s.s.c;m<=s.e.c;++m)c[m]=fn(m);for(f=s.s.r;f<=s.e.r;++f){for(i=[],u=Ln(f),m=s.s.c;m<=s.e.c;++m){l=c[m]+u;var v=h?(e[f]||[])[m]:e[l];v!==void 0&&(o=jZ(v,l,e,t))!=null&&i.push(o)}(i.length>0||d&&d[f])&&(p={r:u},d&&d[f]&&(_=d[f],_.hidden&&(p.hidden=1),S=-1,_.hpx?S=Rp(_.hpx):_.hpt&&(S=_.hpt),S>-1&&(p.ht=S,p.customHeight=1),_.level&&(p.outlineLevel=_.level)),a[a.length]=ht("row",i.join(""),p))}if(d)for(;f-1&&(p.ht=S,p.customHeight=1),_.level&&(p.outlineLevel=_.level),a[a.length]=ht("row","",p));return a.join("")}function xk(e,t,r,n){var a=[Cn,ht("worksheet",null,{xmlns:L0[0],"xmlns:r":Bn.r})],i=r.SheetNames[e],s=0,o="",l=r.Sheets[i];l==null&&(l={});var u=l["!ref"]||"A1",c=_r(u);if(c.e.c>16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+u+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575),u=Yt(c)}n||(n={}),l["!comments"]=[];var f=[];TZ(l,r,e,t,a),a[a.length]=ht("dimension",null,{ref:u}),a[a.length]=$Z(l,t,e,r),t.sheetFormat&&(a[a.length]=ht("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),l["!cols"]!=null&&l["!cols"].length>0&&(a[a.length]=VZ(l,l["!cols"])),a[s=a.length]="",l["!links"]=[],l["!ref"]!=null&&(o=WZ(l,t),o.length>0&&(a[a.length]=o)),a.length>s+1&&(a[a.length]="",a[s]=a[s].replace("/>",">")),l["!protect"]&&(a[a.length]=kZ(l["!protect"])),l["!autofilter"]!=null&&(a[a.length]=FZ(l["!autofilter"],l,r,e)),l["!merges"]!=null&&l["!merges"].length>0&&(a[a.length]=LZ(l["!merges"]));var m=-1,d,h=-1;return l["!links"].length>0&&(a[a.length]="",l["!links"].forEach(function(p){!p[1].Target||(d={ref:p[0]},p[1].Target.charAt(0)!="#"&&(h=wr(n,-1,Pr(p[1].Target).replace(/#.*$/,""),nr.HLINK),d["r:id"]="rId"+h),(m=p[1].Target.indexOf("#"))>-1&&(d.location=Pr(p[1].Target.slice(m+1))),p[1].Tooltip&&(d.tooltip=Pr(p[1].Tooltip)),a[a.length]=ht("hyperlink",null,d))}),a[a.length]=""),delete l["!links"],l["!margins"]!=null&&(a[a.length]=NZ(l["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(a[a.length]=ms("ignoredErrors",ht("ignoredError",null,{numberStoredAsText:1,sqref:u}))),f.length>0&&(h=wr(n,-1,"../drawings/drawing"+(e+1)+".xml",nr.DRAW),a[a.length]=ht("drawing",null,{"r:id":"rId"+h}),l["!drawing"]=f),l["!comments"].length>0&&(h=wr(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",nr.VML),a[a.length]=ht("legacyDrawing",null,{"r:id":"rId"+h}),l["!legacy"]=h),a.length>1&&(a[a.length]="",a[1]=a[1].replace("/>",">")),a.join("")}function zZ(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var a=e.read_shift(2);e.l+=1;var i=e.read_shift(1);return e.l=n,i&7&&(r.level=i&7),i&16&&(r.hidden=!0),i&32&&(r.hpt=a/20),r}function KZ(e,t,r){var n=tt(145),a=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var i=320;a.hpx?i=Rp(a.hpx)*20:a.hpt&&(i=a.hpt*20),n.write_shift(2,i),n.write_shift(1,0);var s=0;a.level&&(s|=a.level),a.hidden&&(s|=16),(a.hpx||a.hpt)&&(s|=32),n.write_shift(1,s),n.write_shift(1,0);var o=0,l=n.l;n.l+=4;for(var u={r:e,c:0},c=0;c<16;++c)if(!(t.s.c>c+1<<10||t.e.cn.l?n.slice(0,n.l):n}function qZ(e,t,r,n){var a=KZ(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&ct(e,0,a)}var YZ=A0,ZZ=Of;function XZ(){}function JZ(e,t){var r={},n=e[e.l];return++e.l,r.above=!(n&64),r.left=!(n&128),e.l+=18,r.name=tG(e),r}function QZ(e,t,r){r==null&&(r=tt(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r.write_shift(1,n);for(var a=1;a<3;++a)r.write_shift(1,0);return g_({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),b6(e,r),r.slice(0,r.l)}function eX(e){var t=ci(e);return[t]}function tX(e,t,r){return r==null&&(r=tt(8)),C0(t,r)}function rX(e){var t=T0(e);return[t]}function nX(e,t,r){return r==null&&(r=tt(4)),x0(t,r)}function sX(e){var t=ci(e),r=e.read_shift(1);return[t,r,"b"]}function aX(e,t,r){return r==null&&(r=tt(9)),C0(t,r),r.write_shift(1,e.v?1:0),r}function iX(e){var t=T0(e),r=e.read_shift(1);return[t,r,"b"]}function oX(e,t,r){return r==null&&(r=tt(5)),x0(t,r),r.write_shift(1,e.v?1:0),r}function lX(e){var t=ci(e),r=e.read_shift(1);return[t,r,"e"]}function uX(e,t,r){return r==null&&(r=tt(9)),C0(t,r),r.write_shift(1,e.v),r}function cX(e){var t=T0(e),r=e.read_shift(1);return[t,r,"e"]}function fX(e,t,r){return r==null&&(r=tt(8)),x0(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function mX(e){var t=ci(e),r=e.read_shift(4);return[t,r,"s"]}function pX(e,t,r){return r==null&&(r=tt(12)),C0(t,r),r.write_shift(4,t.v),r}function dX(e){var t=T0(e),r=e.read_shift(4);return[t,r,"s"]}function hX(e,t,r){return r==null&&(r=tt(8)),x0(t,r),r.write_shift(4,t.v),r}function _X(e){var t=ci(e),r=Is(e);return[t,r,"n"]}function gX(e,t,r){return r==null&&(r=tt(16)),C0(t,r),d0(e.v,r),r}function Ak(e){var t=T0(e),r=Is(e);return[t,r,"n"]}function vX(e,t,r){return r==null&&(r=tt(12)),x0(t,r),d0(e.v,r),r}function SX(e){var t=ci(e),r=ZI(e);return[t,r,"n"]}function yX(e,t,r){return r==null&&(r=tt(12)),C0(t,r),L6(e.v,r),r}function MX(e){var t=T0(e),r=ZI(e);return[t,r,"n"]}function DX(e,t,r){return r==null&&(r=tt(8)),x0(t,r),L6(e.v,r),r}function IX(e){var t=ci(e),r=KI(e);return[t,r,"is"]}function OX(e){var t=ci(e),r=Os(e);return[t,r,"str"]}function EX(e,t,r){return r==null&&(r=tt(12+4*e.v.length)),C0(t,r),Jn(e.v,r),r.length>r.l?r.slice(0,r.l):r}function bX(e){var t=T0(e),r=Os(e);return[t,r,"str"]}function LX(e,t,r){return r==null&&(r=tt(8+4*e.v.length)),x0(t,r),Jn(e.v,r),r.length>r.l?r.slice(0,r.l):r}function CX(e,t,r){var n=e.l+t,a=ci(e);a.r=r["!row"];var i=e.read_shift(1),s=[a,i,"b"];if(r.cellFormula){e.l+=2;var o=$g(e,n-e.l,r);s[3]=ys(o,null,a,r.supbooks,r)}else e.l=n;return s}function TX(e,t,r){var n=e.l+t,a=ci(e);a.r=r["!row"];var i=e.read_shift(1),s=[a,i,"e"];if(r.cellFormula){e.l+=2;var o=$g(e,n-e.l,r);s[3]=ys(o,null,a,r.supbooks,r)}else e.l=n;return s}function xX(e,t,r){var n=e.l+t,a=ci(e);a.r=r["!row"];var i=Is(e),s=[a,i,"n"];if(r.cellFormula){e.l+=2;var o=$g(e,n-e.l,r);s[3]=ys(o,null,a,r.supbooks,r)}else e.l=n;return s}function AX(e,t,r){var n=e.l+t,a=ci(e);a.r=r["!row"];var i=Os(e),s=[a,i,"str"];if(r.cellFormula){e.l+=2;var o=$g(e,n-e.l,r);s[3]=ys(o,null,a,r.supbooks,r)}else e.l=n;return s}var kX=A0,wX=Of;function PX(e,t){return t==null&&(t=tt(4)),t.write_shift(4,e),t}function NX(e,t){var r=e.l+t,n=A0(e),a=qI(e),i=Os(e),s=Os(e),o=Os(e);e.l=r;var l={rfx:n,relId:a,loc:i,display:o};return s&&(l.Tooltip=s),l}function UX(e,t){var r=tt(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Of({s:mn(e[0]),e:mn(e[0])},r),YI("rId"+t,r);var n=e[1].Target.indexOf("#"),a=n==-1?"":e[1].Target.slice(n+1);return Jn(a||"",r),Jn(e[1].Tooltip||"",r),Jn("",r),r.slice(0,r.l)}function VX(){}function RX(e,t,r){var n=e.l+t,a=C6(e),i=e.read_shift(1),s=[a];if(s[2]=i,r.cellFormula){var o=lZ(e,n-e.l,r);s[1]=o}else e.l=n;return s}function FX(e,t,r){var n=e.l+t,a=A0(e),i=[a];if(r.cellFormula){var s=cZ(e,n-e.l,r);i[1]=s,e.l=n}else e.l=n;return i}function BX(e,t,r){r==null&&(r=tt(18));var n=jg(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,(n.width||10)*256),r.write_shift(4,0);var a=0;return t.hidden&&(a|=1),typeof n.width=="number"&&(a|=2),t.level&&(a|=t.level<<8),r.write_shift(2,a),r}var kk=["left","right","top","bottom","header","footer"];function HX(e){var t={};return kk.forEach(function(r){t[r]=Is(e)}),t}function $X(e,t){return t==null&&(t=tt(6*8)),Ju(e),kk.forEach(function(r){d0(e[r],t)}),t}function jX(e){var t=e.read_shift(2);return e.l+=28,{RTL:t&32}}function GX(e,t,r){r==null&&(r=tt(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}function WX(e){var t=tt(24);return t.write_shift(4,4),t.write_shift(4,1),Of(e,t),t}function zX(e,t){return t==null&&(t=tt(16*4+2)),t.write_shift(2,e.password?rO(e.password):0),t.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(r){r[1]?t.write_shift(4,e[r[0]]!=null&&!e[r[0]]?1:0):t.write_shift(4,e[r[0]]!=null&&e[r[0]]?0:1)}),t}function KX(){}function qX(){}function YX(e,t,r,n,a,i,s){if(!e)return e;var o=t||{};n||(n={"!id":{}});var l=o.dense?[]:{},u,c={s:{r:2e6,c:2e6},e:{r:0,c:0}},f=!1,m=!1,d,h,p,_,S,v,g,y,M,I=[];o.biff=12,o["!row"]=0;var D=0,T=!1,b=[],N={},V=o.supbooks||a.supbooks||[[]];if(V.sharedf=N,V.arrayf=b,V.SheetNames=a.SheetNames||a.Sheets.map(function(ue){return ue.name}),!o.supbooks&&(o.supbooks=V,a.Names))for(var A=0;A=k[0].s.r&&d.r<=k[0].e.r&&S>=k[0].s.c&&S<=k[0].e.c&&(h.F=Yt(k[0]),T=!0)}!T&&F.length>3&&(h.f=F[3])}if(c.s.r>d.r&&(c.s.r=d.r),c.s.c>S&&(c.s.c=S),c.e.rd.r&&(c.s.r=d.r),c.s.c>S&&(c.s.c=S),c.e.r=F.s;)j[F.e--]={width:F.w/256,hidden:!!(F.flags&1),level:F.level},R||(R=!0,nO(F.w/256)),Jl(j[F.e+1]);break;case 161:l["!autofilter"]={ref:Yt(F)};break;case 476:l["!margins"]=F;break;case 147:a.Sheets[r]||(a.Sheets[r]={}),F.name&&(a.Sheets[r].CodeName=F.name),(F.above||F.left)&&(l["!outline"]={above:F.above,left:F.left});break;case 137:a.Views||(a.Views=[{}]),a.Views[0]||(a.Views[0]={}),F.RTL&&(a.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:f=!0;break;case 36:f=!1;break;case 37:f=!0;break;case 38:f=!1;break;default:if(!le.T){if(!f||o.WTF)throw new Error("Unexpected record 0x"+J.toString(16))}}},o),delete o.supbooks,delete o["!row"],!l["!ref"]&&(c.s.r<2e6||u&&(u.e.r>0||u.e.c>0||u.s.r>0||u.s.c>0))&&(l["!ref"]=Yt(u||c)),o.sheetRows&&l["!ref"]){var W=_r(l["!ref"]);o.sheetRows<=+W.e.r&&(W.e.r=o.sheetRows-1,W.e.r>c.e.r&&(W.e.r=c.e.r),W.e.rc.e.c&&(W.e.c=c.e.c),W.e.c0&&(l["!merges"]=I),j.length>0&&(l["!cols"]=j),O.length>0&&(l["!rows"]=O),l}function ZX(e,t,r,n,a,i,s){if(t.v===void 0)return!1;var o="";switch(t.t){case"b":o=t.v?"1":"0";break;case"d":t=rn(t),t.z=t.z||Bt[14],t.v=jn(tn(t.v)),t.t="n";break;case"n":case"e":o=""+t.v;break;default:o=t.v;break}var l={r,c:n};switch(l.s=fu(a.cellXfs,t,a),t.l&&i["!links"].push([$t(l),t.l]),t.c&&i["!comments"].push([$t(l),t.c]),t.t){case"s":case"str":return a.bookSST?(o=lO(a.Strings,t.v,a.revStrings),l.t="s",l.v=o,s?ct(e,18,hX(t,l)):ct(e,7,pX(t,l))):(l.t="str",s?ct(e,17,LX(t,l)):ct(e,6,EX(t,l))),!0;case"n":return t.v==(t.v|0)&&t.v>-1e3&&t.v<1e3?s?ct(e,13,DX(t,l)):ct(e,2,yX(t,l)):s?ct(e,16,vX(t,l)):ct(e,5,gX(t,l)),!0;case"b":return l.t="b",s?ct(e,15,oX(t,l)):ct(e,4,aX(t,l)),!0;case"e":return l.t="e",s?ct(e,14,fX(t,l)):ct(e,3,uX(t,l)),!0}return s?ct(e,12,nX(t,l)):ct(e,1,tX(t,l)),!0}function XX(e,t,r,n){var a=_r(t["!ref"]||"A1"),i,s="",o=[];ct(e,145);var l=Array.isArray(t),u=a.e.r;t["!rows"]&&(u=Math.max(a.e.r,t["!rows"].length-1));for(var c=a.s.r;c<=u;++c){s=Ln(c),qZ(e,t,a,c);var f=!1;if(c<=a.e.r)for(var m=a.s.c;m<=a.e.c;++m){c===a.s.r&&(o[m]=fn(m)),i=o[m]+s;var d=l?(t[c]||[])[m]:t[i];if(!d){f=!1;continue}f=ZX(e,d,c,m,n,t,f)}}ct(e,146)}function JX(e,t){!t||!t["!merges"]||(ct(e,177,PX(t["!merges"].length)),t["!merges"].forEach(function(r){ct(e,176,wX(r))}),ct(e,178))}function QX(e,t){!t||!t["!cols"]||(ct(e,390),t["!cols"].forEach(function(r,n){r&&ct(e,60,BX(n,r))}),ct(e,391))}function eJ(e,t){!t||!t["!ref"]||(ct(e,648),ct(e,649,WX(_r(t["!ref"]))),ct(e,650))}function tJ(e,t,r){t["!links"].forEach(function(n){if(!!n[1].Target){var a=wr(r,-1,n[1].Target.replace(/#.*$/,""),nr.HLINK);ct(e,494,UX(n,a))}}),delete t["!links"]}function rJ(e,t,r,n){if(t["!comments"].length>0){var a=wr(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",nr.VML);ct(e,551,YI("rId"+a)),t["!legacy"]=a}}function nJ(e,t,r,n){if(!!t["!autofilter"]){var a=t["!autofilter"],i=typeof a.ref=="string"?a.ref:Yt(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,o=aa(i);o.s.r==o.e.r&&(o.e.r=aa(t["!ref"]).e.r,i=Yt(o));for(var l=0;l16383||l.e.r>1048575){if(t.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],ct(a,129),(r.vbaraw||s["!outline"])&&ct(a,147,QZ(o,s["!outline"])),ct(a,148,ZZ(l)),sJ(a,s,r.Workbook),QX(a,s),XX(a,s,e,t),aJ(a,s),nJ(a,s,r,e),JX(a,s),tJ(a,s,n),s["!margins"]&&ct(a,476,$X(s["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&eJ(a,s),rJ(a,s,e,n),ct(a,130),a.end()}function oJ(e){var t=[],r=e.match(/^/),n;(e.match(/(.*?)<\/c:pt>/mg)||[]).forEach(function(i){var s=i.match(/(.*)<\/c:v><\/c:pt>/);!s||(t[+s[1]]=r?+s[2]:s[2])});var a=hr((e.match(/([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/(.*?)<\/c:f>/mg)||[]).forEach(function(i){n=i.replace(/<.*?>/g,"")}),[t,a,n]}function lJ(e,t,r,n,a,i){var s=i||{"!type":"chart"};if(!e)return i;var o=0,l=0,u="A",c={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(f){var m=oJ(f);c.s.r=c.s.c=0,c.e.c=o,u=fn(o),m[0].forEach(function(d,h){s[u+Ln(h)]={t:"n",v:d,z:m[1]},l=h}),c.e.r0&&(s["!ref"]=Yt(c)),s}function uJ(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var i={"!type":"chart","!drawel":null,"!rel":""},s,o=e.match(Tk);return o&&uO(o[0],i,a,r),(s=e.match(/drawing r:id="(.*?)"/))&&(i["!rel"]=s[1]),n["!id"][i["!rel"]]&&(i["!drawel"]=n["!id"][i["!rel"]]),i}function cJ(e,t){e.l+=10;var r=Os(e);return{name:r}}function fJ(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var i={"!type":"chart","!drawel":null,"!rel":""},s=!1;return rl(e,function(l,u,c){switch(c){case 550:i["!rel"]=l;break;case 651:a.Sheets[r]||(a.Sheets[r]={}),l.name&&(a.Sheets[r].CodeName=l.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:break;case 38:break;default:if(!(u.T>0)){if(!(u.T<0)){if(!s||t.WTF)throw new Error("Unexpected record 0x"+c.toString(16))}}}},t),n["!id"][i["!rel"]]&&(i["!drawel"]=n["!id"][i["!rel"]]),i}var cO=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],mJ=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],pJ=[],dJ=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function YC(e,t){for(var r=0;r!=e.length;++r)for(var n=e[r],a=0;a!=t.length;++a){var i=t[a];if(n[i[0]]==null)n[i[0]]=i[1];else switch(i[2]){case"bool":typeof n[i[0]]=="string"&&(n[i[0]]=Qr(n[i[0]]));break;case"int":typeof n[i[0]]=="string"&&(n[i[0]]=parseInt(n[i[0]],10));break}}}function ZC(e,t){for(var r=0;r!=t.length;++r){var n=t[r];if(e[n[0]]==null)e[n[0]]=n[1];else switch(n[2]){case"bool":typeof e[n[0]]=="string"&&(e[n[0]]=Qr(e[n[0]]));break;case"int":typeof e[n[0]]=="string"&&(e[n[0]]=parseInt(e[n[0]],10));break}}}function wk(e){ZC(e.WBProps,cO),ZC(e.CalcPr,dJ),YC(e.WBView,mJ),YC(e.Sheets,pJ),Ac.date1904=Qr(e.WBProps.date1904)}function hJ(e){return!e.Workbook||!e.Workbook.WBProps?"false":Qr(e.Workbook.WBProps.date1904)?"true":"false"}var _J="][*?/\\".split("");function Pk(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return _J.forEach(function(n){if(e.indexOf(n)!=-1){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}}),r}function gJ(e,t,r){e.forEach(function(n,a){Pk(n);for(var i=0;i22)throw new Error("Bad Code Name: Worksheet"+s)}})}function vJ(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];gJ(e.SheetNames,t,!!e.vbaraw);for(var r=0;r":break;case"":case"":break;case"":break;case"":cO.forEach(function(f){if(c[f[0]]!=null)switch(f[2]){case"bool":r.WBProps[f[0]]=Qr(c[f[0]]);break;case"int":r.WBProps[f[0]]=parseInt(c[f[0]],10);break;default:r.WBProps[f[0]]=c[f[0]]}}),c.codeName&&(r.WBProps.CodeName=Hr(c.codeName));break;case"":break;case"":break;case"":case"":break;case"":delete c[0],r.WBView.push(c);break;case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":break;case"":case"":n=!1;break;case"":i.Ref=hr(Hr(e.slice(s,u))),r.Names.push(i);break;case"":break;case"":delete c[0],r.CalcPr=c;break;case"":break;case"":case"":case"":break;case"":case"":case"":break;case"":case"":break;case"":break;case"":break;case"":case"":break;case"":case"":case"":break;case"":n=!1;break;case"":n=!0;break;case"":n=!1;break;case"0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(cO.forEach(function(o){e.Workbook.WBProps[o[0]]!=null&&e.Workbook.WBProps[o[0]]!=o[1]&&(n[o[0]]=e.Workbook.WBProps[o[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=ht("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],i=0;if(a&&a[0]&&!!a[0].Hidden){for(t[t.length]="",i=0;i!=e.SheetNames.length&&!(!a[i]||!a[i].Hidden);++i);i==e.SheetNames.length&&(i=0),t[t.length]='',t[t.length]=""}for(t[t.length]="",i=0;i!=e.SheetNames.length;++i){var s={name:Pr(e.SheetNames[i].slice(0,31))};if(s.sheetId=""+(i+1),s["r:id"]="rId"+(i+1),a[i])switch(a[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}t[t.length]=ht("sheet",null,s)}return t[t.length]="",r&&(t[t.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(o){var l={name:o.Name};o.Comment&&(l.comment=o.Comment),o.Sheet!=null&&(l.localSheetId=""+o.Sheet),o.Hidden&&(l.hidden="1"),o.Ref&&(t[t.length]=ht("definedName",Pr(o.Ref),l))}),t[t.length]=""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function MJ(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=uM(e),r.name=Os(e),r}function DJ(e,t){return t||(t=tt(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),YI(e.strRelID,t),Jn(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function IJ(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var a=t>8?Os(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(n&65536),r.backupFile=!!(n&64),r.checkCompatibility=!!(n&4096),r.date1904=!!(n&1),r.filterPrivacy=!!(n&8),r.hidePivotFieldList=!!(n&1024),r.promptedSolutions=!!(n&16),r.publishItems=!!(n&2048),r.refreshAllConnections=!!(n&262144),r.saveExternalLinkValues=!!(n&128),r.showBorderUnselectedTables=!!(n&4),r.showInkAnnotation=!!(n&32),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(n&32768),r.updateLinks=["userSet","never","always"][n>>8&3],r}function OJ(e,t){t||(t=tt(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),b6(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function EJ(e,t){var r={};return e.read_shift(4),r.ArchID=e.read_shift(4),e.l+=t-8,r}function bJ(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e.read_shift(4),i=rG(e),s=uZ(e,0,r),o=qI(e);e.l=n;var l={Name:i,Ptg:s};return a<268435455&&(l.Sheet=a),o&&(l.Comment=o),l}function LJ(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],a=!1;t||(t={}),t.biff=12;var i=[],s=[[]];return s.SheetNames=[],s.XTI=[],Fp[16]={n:"BrtFRTArchID$",f:EJ},rl(e,function(l,u,c){switch(c){case 156:s.SheetNames.push(l.name),r.Sheets.push(l);break;case 153:r.WBProps=l;break;case 39:l.Sheet!=null&&(t.SID=l.Sheet),l.Ref=ys(l.Ptg,null,null,s,t),delete t.SID,delete l.Ptg,i.push(l);break;case 1036:break;case 357:case 358:case 355:case 667:s[0].length?s.push([c,l]):s[0]=[c,l],s[s.length-1].XTI=[];break;case 362:s.length===0&&(s[0]=[],s[0].XTI=[]),s[s.length-1].XTI=s[s.length-1].XTI.concat(l),s.XTI=s.XTI.concat(l);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:n.push(c),a=!0;break;case 36:n.pop(),a=!1;break;case 37:n.push(c),a=!0;break;case 38:n.pop(),a=!1;break;case 16:break;default:if(!u.T){if(!a||t.WTF&&n[n.length-1]!=37&&n[n.length-1]!=35)throw new Error("Unexpected record 0x"+c.toString(16))}}},t),wk(r),r.Names=i,r.supbooks=s,r}function CJ(e,t){ct(e,143);for(var r=0;r!=t.SheetNames.length;++r){var n=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,a={Hidden:n,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};ct(e,156,DJ(a))}ct(e,144)}function TJ(e,t){t||(t=tt(127));for(var r=0;r!=4;++r)t.write_shift(4,0);return Jn("SheetJS",t),Jn(c_.version,t),Jn(c_.version,t),Jn("7262",t),t.length>t.l?t.slice(0,t.l):t}function xJ(e,t){t||(t=tt(29)),t.write_shift(-4,0),t.write_shift(-4,460),t.write_shift(4,28800),t.write_shift(4,17600),t.write_shift(4,500),t.write_shift(4,e),t.write_shift(4,e);var r=120;return t.write_shift(1,r),t.length>t.l?t.slice(0,t.l):t}function AJ(e,t){if(!(!t.Workbook||!t.Workbook.Sheets)){for(var r=t.Workbook.Sheets,n=0,a=-1,i=-1;na||(ct(e,135),ct(e,158,xJ(a)),ct(e,136))}}function kJ(e,t){var r=ra();return ct(r,131),ct(r,128,TJ()),ct(r,153,OJ(e.Workbook&&e.Workbook.WBProps||null)),AJ(r,e),CJ(r,e),ct(r,132),r.end()}function wJ(e,t,r){return t.slice(-4)===".bin"?LJ(e,r):yJ(e,r)}function PJ(e,t,r,n,a,i,s,o){return t.slice(-4)===".bin"?YX(e,n,r,a,i,s,o):bZ(e,n,r,a,i,s,o)}function NJ(e,t,r,n,a,i,s,o){return t.slice(-4)===".bin"?fJ(e,n,r,a,i):uJ(e,n,r,a,i)}function UJ(e,t,r,n,a,i,s,o){return t.slice(-4)===".bin"?Rq():Fq()}function VJ(e,t,r,n,a,i,s,o){return t.slice(-4)===".bin"?Uq():Vq()}function RJ(e,t,r,n){return t.slice(-4)===".bin"?wK(e,r,n):MK(e,r,n)}function FJ(e,t,r){return hk(e,r)}function BJ(e,t,r){return t.slice(-4)===".bin"?Bz(e,r):Vz(e,r)}function HJ(e,t,r){return t.slice(-4)===".bin"?Aq(e,r):Dq(e,r)}function $J(e,t,r){return t.slice(-4)===".bin"?Sq(e):gq(e)}function jJ(e,t,r,n){return r.slice(-4)===".bin"?yq(e,t,r,n):void 0}function GJ(e,t,r){return t.slice(-4)===".bin"?dq(e,t,r):_q(e,t,r)}function WJ(e,t,r){return(t.slice(-4)===".bin"?kJ:Nk)(e)}function zJ(e,t,r,n,a){return(t.slice(-4)===".bin"?iJ:xk)(e,r,n,a)}function KJ(e,t,r){return(t.slice(-4)===".bin"?jK:pk)(e,r)}function qJ(e,t,r){return(t.slice(-4)===".bin"?jz:ak)(e,r)}function YJ(e,t,r){return(t.slice(-4)===".bin"?kq:vk)(e)}function ZJ(e){return(e.slice(-4)===".bin"?hq:_k)()}var Uk=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Vk=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function hi(e,t){var r=e.split(/\s+/),n=[];if(t||(n[0]=r[0]),r.length===1)return n;var a=e.match(Uk),i,s,o,l;if(a)for(l=0;l!=a.length;++l)i=a[l].match(Vk),(s=i[1].indexOf(":"))===-1?n[i[1]]=i[2].slice(1,i[2].length-1):(i[1].slice(0,6)==="xmlns:"?o="xmlns"+i[1].slice(6):o=i[1].slice(s+1),n[o]=i[2].slice(1,i[2].length-1));return n}function XJ(e){var t=e.split(/\s+/),r={};if(t.length===1)return r;var n=e.match(Uk),a,i,s,o;if(n)for(o=0;o!=n.length;++o)a=n[o].match(Vk),(i=a[1].indexOf(":"))===-1?r[a[1]]=a[2].slice(1,a[2].length-1):(a[1].slice(0,6)==="xmlns:"?s="xmlns"+a[1].slice(6):s=a[1].slice(i+1),r[s]=a[2].slice(1,a[2].length-1));return r}var Pm;function JJ(e,t){var r=Pm[e]||hr(e);return r==="General"?m0(t):oi(r,t)}function QJ(e,t,r,n){var a=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":a=Qr(n);break;case"i2":case"int":a=parseInt(n,10);break;case"r4":case"float":a=parseFloat(n);break;case"date":case"dateTime.tz":a=tn(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[hr(t)]=a}function eQ(e,t,r){if(e.t!=="z"){if(!r||r.cellText!==!1)try{e.t==="e"?e.w=e.w||nl[e.v]:t==="General"?e.t==="n"?(e.v|0)===e.v?e.w=e.v.toString(10):e.w=xp(e.v):e.w=m0(e.v):e.w=JJ(t||"General",e.v)}catch(i){if(r.WTF)throw i}try{var n=Pm[t]||t||"General";if(r.cellNF&&(e.z=n),r.cellDates&&e.t=="n"&&Mf(n)){var a=Hu(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}catch(i){if(r.WTF)throw i}}}function tQ(e,t,r){if(r.cellStyles&&t.Interior){var n=t.Interior;n.Pattern&&(n.patternType=pK[n.Pattern]||n.Pattern)}e[t.ID]=t}function rQ(e,t,r,n,a,i,s,o,l,u){var c="General",f=n.StyleID,m={};u=u||{};var d=[],h=0;for(f===void 0&&o&&(f=o.StyleID),f===void 0&&s&&(f=s.StyleID);i[f]!==void 0&&(i[f].nf&&(c=i[f].nf),i[f].Interior&&d.push(i[f].Interior),!!i[f].Parent);)f=i[f].Parent;switch(r.Type){case"Boolean":n.t="b",n.v=Qr(e);break;case"String":n.t="s",n.r=pC(hr(e)),n.v=e.indexOf("<")>-1?hr(t||e).replace(/<.*?>/g,""):n.r;break;case"DateTime":e.slice(-1)!="Z"&&(e+="Z"),n.v=(tn(e)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3),n.v!==n.v?n.v=hr(e):n.v<60&&(n.v=n.v-1),(!c||c=="General")&&(c="yyyy-mm-dd");case"Number":n.v===void 0&&(n.v=+e),n.t||(n.t="n");break;case"Error":n.t="e",n.v=A6[e],u.cellText!==!1&&(n.w=e);break;default:e==""&&t==""?n.t="z":(n.t="s",n.v=pC(t||e));break}if(eQ(n,c,u),u.cellFormula!==!1)if(n.Formula){var p=hr(n.Formula);p.charCodeAt(0)==61&&(p=p.slice(1)),n.f=xc(p,a),delete n.Formula,n.ArrayRange=="RC"?n.F=xc("RC:RC",a):n.ArrayRange&&(n.F=xc(n.ArrayRange,a),l.push([_r(n.F),n.F]))}else for(h=0;h=l[h][0].s.r&&a.r<=l[h][0].e.r&&a.c>=l[h][0].s.c&&a.c<=l[h][0].e.c&&(n.F=l[h][1]);u.cellStyles&&(d.forEach(function(_){!m.patternType&&_.patternType&&(m.patternType=_.patternType)}),n.s=m),n.StyleID!==void 0&&(n.ixfe=n.StyleID)}function nQ(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,` +`).replace(/\r/g,` +`),e.v=e.w=e.ixfe=void 0}function _S(e,t){var r=t||{};Df();var n=im($I(e));(r.type=="binary"||r.type=="array"||r.type=="base64")&&(n=Hr(n));var a=n.slice(0,1024).toLowerCase(),i=!1;if(a=a.replace(/".*?"/g,""),(a.indexOf(">")&1023)>Math.min(a.indexOf(",")&1023,a.indexOf(";")&1023)){var s=rn(r);return s.type="string",Zc.to_workbook(n,s)}if(a.indexOf("=0&&(i=!0)}),i)return $Q(n,r);Pm={"General Number":"General","General Date":Bt[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":Bt[15],"Short Date":Bt[14],"Long Time":Bt[19],"Medium Time":Bt[18],"Short Time":Bt[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:Bt[2],Standard:Bt[4],Percent:Bt[10],Scientific:Bt[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var o,l=[],u,c={},f=[],m=r.dense?[]:{},d="",h={},p={},_=hi(''),S=0,v=0,g=0,y={s:{r:2e6,c:2e6},e:{r:0,c:0}},M={},I={},D="",T=0,b=[],N={},V={},A=0,j=[],O=[],R={},te=[],W,ue=!1,F=[],le=[],J={},k=0,U=0,z={Sheets:[],WBProps:{date1904:!1}},q={};wp.lastIndex=0,n=n.replace(//mg,"");for(var Ie="";o=wp.exec(n);)switch(o[3]=(Ie=o[3]).toLowerCase()){case"data":if(Ie=="data"){if(o[1]==="/"){if((u=l.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else o[0].charAt(o[0].length-2)!=="/"&&l.push([o[3],!0]);break}if(l[l.length-1][1])break;o[1]==="/"?rQ(n.slice(S,o.index),D,_,l[l.length-1][0]=="comment"?R:h,{c:v,r:g},M,te[v],p,F,r):(D="",_=hi(o[0]),S=o.index+o[0].length);break;case"cell":if(o[1]==="/")if(O.length>0&&(h.c=O),(!r.sheetRows||r.sheetRows>g)&&h.v!==void 0&&(r.dense?(m[g]||(m[g]=[]),m[g][v]=h):m[fn(v)+Ln(g)]=h),h.HRef&&(h.l={Target:hr(h.HRef)},h.HRefScreenTip&&(h.l.Tooltip=h.HRefScreenTip),delete h.HRef,delete h.HRefScreenTip),(h.MergeAcross||h.MergeDown)&&(k=v+(parseInt(h.MergeAcross,10)|0),U=g+(parseInt(h.MergeDown,10)|0),b.push({s:{c:v,r:g},e:{c:k,r:U}})),!r.sheetStubs)h.MergeAcross?v=k+1:++v;else if(h.MergeAcross||h.MergeDown){for(var Fe=v;Fe<=k;++Fe)for(var Le=g;Le<=U;++Le)(Fe>v||Le>g)&&(r.dense?(m[Le]||(m[Le]=[]),m[Le][Fe]={t:"z"}):m[fn(Fe)+Ln(Le)]={t:"z"});v=k+1}else++v;else h=XJ(o[0]),h.Index&&(v=+h.Index-1),vy.e.c&&(y.e.c=v),o[0].slice(-2)==="/>"&&++v,O=[];break;case"row":o[1]==="/"||o[0].slice(-2)==="/>"?(gy.e.r&&(y.e.r=g),o[0].slice(-2)==="/>"&&(p=hi(o[0]),p.Index&&(g=+p.Index-1)),v=0,++g):(p=hi(o[0]),p.Index&&(g=+p.Index-1),J={},(p.AutoFitHeight=="0"||p.Height)&&(J.hpx=parseInt(p.Height,10),J.hpt=Rp(J.hpx),le[g]=J),p.Hidden=="1"&&(J.hidden=!0,le[g]=J));break;case"worksheet":if(o[1]==="/"){if((u=l.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"));f.push(d),y.s.r<=y.e.r&&y.s.c<=y.e.c&&(m["!ref"]=Yt(y),r.sheetRows&&r.sheetRows<=y.e.r&&(m["!fullref"]=m["!ref"],y.e.r=r.sheetRows-1,m["!ref"]=Yt(y))),b.length&&(m["!merges"]=b),te.length>0&&(m["!cols"]=te),le.length>0&&(m["!rows"]=le),c[d]=m}else y={s:{r:2e6,c:2e6},e:{r:0,c:0}},g=v=0,l.push([o[3],!1]),u=hi(o[0]),d=hr(u.Name),m=r.dense?[]:{},b=[],F=[],le=[],q={name:d,Hidden:0},z.Sheets.push(q);break;case"table":if(o[1]==="/"){if((u=l.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else{if(o[0].slice(-2)=="/>")break;l.push([o[3],!1]),te=[],ue=!1}break;case"style":o[1]==="/"?tQ(M,I,r):I=hi(o[0]);break;case"numberformat":I.nf=hr(hi(o[0]).Format||"General"),Pm[I.nf]&&(I.nf=Pm[I.nf]);for(var Me=0;Me!=392&&Bt[Me]!=I.nf;++Me);if(Me==392){for(Me=57;Me!=392;++Me)if(Bt[Me]==null){Bo(I.nf,Me);break}}break;case"column":if(l[l.length-1][0]!=="table")break;if(W=hi(o[0]),W.Hidden&&(W.hidden=!0,delete W.Hidden),W.Width&&(W.wpx=parseInt(W.Width,10)),!ue&&W.wpx>10){ue=!0,Ds=fk;for(var Re=0;Re0&&(dt.Sheet=z.Sheets.length-1),z.Names.push(dt);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(o[0].slice(-2)==="/>")break;o[1]==="/"?D+=n.slice(T,o.index):T=o.index+o[0].length;break;case"interior":if(!r.cellStyles)break;I.Interior=hi(o[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if(o[0].slice(-2)==="/>")break;o[1]==="/"?LG(N,Ie,n.slice(A,o.index)):A=o.index+o[0].length;break;case"paragraphs":break;case"styles":case"workbook":if(o[1]==="/"){if((u=l.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else l.push([o[3],!1]);break;case"comment":if(o[1]==="/"){if((u=l.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"));nQ(R),O.push(R)}else l.push([o[3],!1]),u=hi(o[0]),R={a:u.Author};break;case"autofilter":if(o[1]==="/"){if((u=l.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else if(o[0].charAt(o[0].length-2)!=="/"){var P=hi(o[0]);m["!autofilter"]={ref:xc(P.Range).replace(/\$/g,"")},l.push([o[3],!0])}break;case"name":break;case"datavalidation":if(o[1]==="/"){if((u=l.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else o[0].charAt(o[0].length-2)!=="/"&&l.push([o[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if(o[1]==="/"){if((u=l.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else o[0].charAt(o[0].length-2)!=="/"&&l.push([o[3],!0]);break;case"null":break;default:if(l.length==0&&o[3]=="document"||l.length==0&&o[3]=="uof")return t5(n,r);var Ve=!0;switch(l[l.length-1][0]){case"officedocumentsettings":switch(o[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:Ve=!1}break;case"componentoptions":switch(o[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:Ve=!1}break;case"excelworkbook":switch(o[3]){case"date1904":z.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:Ve=!1}break;case"workbookoptions":switch(o[3]){case"owcversion":break;case"height":break;case"width":break;default:Ve=!1}break;case"worksheetoptions":switch(o[3]){case"visible":if(o[0].slice(-2)!=="/>")if(o[1]==="/")switch(n.slice(A,o.index)){case"SheetHidden":q.Hidden=1;break;case"SheetVeryHidden":q.Hidden=2;break}else A=o.index+o[0].length;break;case"header":m["!margins"]||Ju(m["!margins"]={},"xlml"),isNaN(+Wt(o[0]).Margin)||(m["!margins"].header=+Wt(o[0]).Margin);break;case"footer":m["!margins"]||Ju(m["!margins"]={},"xlml"),isNaN(+Wt(o[0]).Margin)||(m["!margins"].footer=+Wt(o[0]).Margin);break;case"pagemargins":var we=Wt(o[0]);m["!margins"]||Ju(m["!margins"]={},"xlml"),isNaN(+we.Top)||(m["!margins"].top=+we.Top),isNaN(+we.Left)||(m["!margins"].left=+we.Left),isNaN(+we.Right)||(m["!margins"].right=+we.Right),isNaN(+we.Bottom)||(m["!margins"].bottom=+we.Bottom);break;case"displayrighttoleft":z.Views||(z.Views=[]),z.Views[0]||(z.Views[0]={}),z.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":m["!outline"]||(m["!outline"]={}),m["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":m["!outline"]||(m["!outline"]={}),m["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:Ve=!1}break;case"pivottable":case"pivotcache":switch(o[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:Ve=!1}break;case"pagebreaks":switch(o[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:Ve=!1}break;case"autofilter":switch(o[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:Ve=!1}break;case"querytable":switch(o[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:Ve=!1}break;case"datavalidation":switch(o[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:Ve=!1}break;case"sorting":case"conditionalformatting":switch(o[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:Ve=!1}break;case"mapinfo":case"schema":case"data":switch(o[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:Ve=!1}break;case"smarttags":break;default:Ve=!1;break}if(Ve||o[3].match(/!\[CDATA/))break;if(!l[l.length-1][1])throw"Unrecognized tag: "+o[3]+"|"+l.join("|");if(l[l.length-1][0]==="customdocumentproperties"){if(o[0].slice(-2)==="/>")break;o[1]==="/"?QJ(V,Ie,j,n.slice(A,o.index)):(j=o,A=o.index+o[0].length);break}if(r.WTF)throw"Unrecognized tag: "+o[3]+"|"+l.join("|")}var Y={};return!r.bookSheets&&!r.bookProps&&(Y.Sheets=c),Y.SheetNames=f,Y.Workbook=z,Y.SSF=rn(Bt),Y.Props=N,Y.Custprops=V,Y}function _M(e,t){switch(mO(t=t||{}),t.type||"base64"){case"base64":return _S(La(e),t);case"binary":case"buffer":case"file":return _S(e,t);case"array":return _S(uu(e),t)}}function sQ(e,t){var r=[];return e.Props&&r.push(CG(e.Props,t)),e.Custprops&&r.push(TG(e.Props,e.Custprops)),r.join("")}function aQ(){return""}function iQ(e,t){var r=[''];return t.cellXfs.forEach(function(n,a){var i=[];i.push(ht("NumberFormat",null,{"ss:Format":Pr(Bt[n.numFmtId])}));var s={"ss:ID":"s"+(21+a)};r.push(ht("Style",i.join(""),s))}),ht("Styles",r.join(""))}function Rk(e){return ht("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+iO(e.Ref,{r:0,c:0})})}function oQ(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n"),e["!margins"].header&&a.push(ht("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(ht("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(ht("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(ht("Visible",n.Workbook.Sheets[r].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push(""),e["!protect"]&&(a.push(ms("ProtectContents","True")),e["!protect"].objects&&a.push(ms("ProtectObjects","True")),e["!protect"].scenarios&&a.push(ms("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?a.push(ms("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&a.push(ms("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(s){e["!protect"][s[0]]&&a.push("<"+s[1]+"/>")})),a.length==0?"":ht("WorksheetOptions",a.join(""),{xmlns:da.x})}function cQ(e){return e.map(function(t){var r=Aj(t.t||""),n=ht("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return ht("Comment",n,{"ss:Author":t.a})}).join("")}function fQ(e,t,r,n,a,i,s){if(!e||e.v==null&&e.f==null)return"";var o={};if(e.f&&(o["ss:Formula"]="="+Pr(iO(e.f,s))),e.F&&e.F.slice(0,t.length)==t){var l=mn(e.F.slice(t.length+1));o["ss:ArrayRange"]="RC:R"+(l.r==s.r?"":"["+(l.r-s.r)+"]")+"C"+(l.c==s.c?"":"["+(l.c-s.c)+"]")}if(e.l&&e.l.Target&&(o["ss:HRef"]=Pr(e.l.Target),e.l.Tooltip&&(o["x:HRefScreenTip"]=Pr(e.l.Tooltip))),r["!merges"])for(var u=r["!merges"],c=0;c!=u.length;++c)u[c].s.c!=s.c||u[c].s.r!=s.r||(u[c].e.c>u[c].s.c&&(o["ss:MergeAcross"]=u[c].e.c-u[c].s.c),u[c].e.r>u[c].s.r&&(o["ss:MergeDown"]=u[c].e.r-u[c].s.r));var f="",m="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":f="Number",m=String(e.v);break;case"b":f="Boolean",m=e.v?"1":"0";break;case"e":f="Error",m=nl[e.v];break;case"d":f="DateTime",m=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||Bt[14]);break;case"s":f="String",m=xj(e.v||"");break}var d=fu(n.cellXfs,e,n);o["ss:StyleID"]="s"+(21+d),o["ss:Index"]=s.c+1;var h=e.v!=null?m:"",p=e.t=="z"?"":''+h+"";return(e.c||[]).length>0&&(p+=cQ(e.c)),ht("Cell",p,o)}function mQ(e,t){var r='"}function pQ(e,t,r,n){if(!e["!ref"])return"";var a=_r(e["!ref"]),i=e["!merges"]||[],s=0,o=[];e["!cols"]&&e["!cols"].forEach(function(_,S){Jl(_);var v=!!_.width,g=jg(S,_),y={"ss:Index":S+1};v&&(y["ss:Width"]=Up(g.width)),_.hidden&&(y["ss:Hidden"]="1"),o.push(ht("Column",null,y))});for(var l=Array.isArray(e),u=a.s.r;u<=a.e.r;++u){for(var c=[mQ(u,(e["!rows"]||[])[u])],f=a.s.c;f<=a.e.c;++f){var m=!1;for(s=0;s!=i.length;++s)if(!(i[s].s.c>f)&&!(i[s].s.r>u)&&!(i[s].e.c"),c.length>2&&o.push(c.join(""))}return o.join("")}function dQ(e,t,r){var n=[],a=r.SheetNames[e],i=r.Sheets[a],s=i?lQ(i,t,e,r):"";return s.length>0&&n.push(""+s+""),s=i?pQ(i,t,e,r):"",s.length>0&&n.push(""+s+"
"),n.push(uQ(i,t,e,r)),n.join("")}function hQ(e,t){t||(t={}),e.SSF||(e.SSF=rn(Bt)),e.SSF&&(Df(),Ug(e.SSF),t.revssf=Rg(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],fu(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(sQ(e,t)),r.push(aQ()),r.push(""),r.push("");for(var n=0;n40||(r.l-=4,t.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4)||(n=r.read_shift(4),n!==1907505652)||(t.UnicodeClipboardFormat=lG(r),n=r.read_shift(4),n==0||n>40))return t;r.l-=4,t.Reserved2=r.read_shift(0,"lpwstr")}var gQ=[60,1084,2066,2165,2175];function vQ(e,t,r,n,a){var i=n,s=[],o=r.slice(r.l,r.l+i);if(a&&a.enc&&a.enc.insitu&&o.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:a.enc.insitu(o)}s.push(o),r.l+=i;for(var l=wo(r,r.l),u=gM[l],c=0;u!=null&&gQ.indexOf(l)>-1;)i=wo(r,r.l+2),c=r.l+4,l==2066?c+=4:(l==2165||l==2175)&&(c+=12),o=r.slice(c,r.l+4+i),s.push(o),r.l+=4+i,u=gM[l=wo(r,r.l)];var f=Xn(s);cs(f,0);var m=0;f.lens=[];for(var d=0;d1)&&!(ie.sheetRows&&H.r>=ie.sheetRows)){if(ie.cellStyles&&ne.XF&&ne.XF.data&&N(H,ne,ie),delete ne.ixfe,delete ne.XF,f=H,m=$t(H),(!s||!s.s||!s.e)&&(s={s:{r:0,c:0},e:{r:0,c:0}}),H.rs.e.r&&(s.e.r=H.r+1),H.c+1>s.e.c&&(s.e.c=H.c+1),ie.cellFormula&&ne.f){for(var Ce=0;CeH.c||v[Ce][0].s.r>H.r)&&!(v[Ce][0].e.c>8)!==Le)throw new Error("rt mismatch: "+be+"!="+Le);Re.r==12&&(e.l+=10,Me-=10)}var ae={};if(Le===10?ae=Re.f(e,Me,A):ae=vQ(Le,Re,e,Me,A),J==0&&[9,521,1033,2057].indexOf(le)===-1)continue;switch(Le){case 34:r.opts.Date1904=D.WBProps.date1904=ae;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(A.enc||(e.l=0),A.enc=ae,!t.password)throw new Error("File is password-protected");if(ae.valid==null)throw new Error("Encryption scheme unsupported");if(!ae.valid)throw new Error("Password is incorrect");break;case 92:A.lastuser=ae;break;case 66:var dt=Number(ae);switch(dt){case 21010:dt=1200;break;case 32768:dt=1e4;break;case 32769:dt=1252;break}Di(A.codepage=dt),Ie=!0;break;case 317:A.rrtabid=ae;break;case 25:A.winlocked=ae;break;case 439:r.opts.RefreshAll=ae;break;case 12:r.opts.CalcCount=ae;break;case 16:r.opts.CalcDelta=ae;break;case 17:r.opts.CalcIter=ae;break;case 13:r.opts.CalcMode=ae;break;case 14:r.opts.CalcPrecision=ae;break;case 95:r.opts.CalcSaveRecalc=ae;break;case 15:A.CalcRefMode=ae;break;case 2211:r.opts.FullCalc=ae;break;case 129:ae.fDialog&&(a["!type"]="dialog"),ae.fBelow||((a["!outline"]||(a["!outline"]={})).above=!0),ae.fRight||((a["!outline"]||(a["!outline"]={})).left=!0);break;case 224:M.push(ae);break;case 430:F.push([ae]),F[F.length-1].XTI=[];break;case 35:case 547:F[F.length-1].push(ae);break;case 24:case 536:q={Name:ae.Name,Ref:ys(ae.rgce,s,null,F,A)},ae.itab>0&&(q.Sheet=ae.itab-1),F.names.push(q),F[0]||(F[0]=[],F[0].XTI=[]),F[F.length-1].push(ae),ae.Name=="_xlnm._FilterDatabase"&&ae.itab>0&&ae.rgce&&ae.rgce[0]&&ae.rgce[0][0]&&ae.rgce[0][0][0]=="PtgArea3d"&&(z[ae.itab-1]={ref:Yt(ae.rgce[0][0][1][2])});break;case 22:A.ExternCount=ae;break;case 23:F.length==0&&(F[0]=[],F[0].XTI=[]),F[F.length-1].XTI=F[F.length-1].XTI.concat(ae),F.XTI=F.XTI.concat(ae);break;case 2196:if(A.biff<8)break;q!=null&&(q.Comment=ae[1]);break;case 18:a["!protect"]=ae;break;case 19:ae!==0&&A.WTF&&console.error("Password verifier: "+ae);break;case 133:i[ae.pos]=ae,A.snames.push(ae.name);break;case 10:{if(--J)break;if(s.e){if(s.e.r>0&&s.e.c>0){if(s.e.r--,s.e.c--,a["!ref"]=Yt(s),t.sheetRows&&t.sheetRows<=s.e.r){var P=s.e.r;s.e.r=t.sheetRows-1,a["!fullref"]=a["!ref"],a["!ref"]=Yt(s),s.e.r=P}s.e.r++,s.e.c++}O.length>0&&(a["!merges"]=O),R.length>0&&(a["!objects"]=R),te.length>0&&(a["!cols"]=te),W.length>0&&(a["!rows"]=W),D.Sheets.push(T)}u===""?c=a:n[u]=a,a=t.dense?[]:{}}break;case 9:case 521:case 1033:case 2057:{if(A.biff===8&&(A.biff={9:2,521:3,1033:4}[Le]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[ae.BIFFVer]||8),A.biffguess=ae.BIFFVer==0,ae.BIFFVer==0&&ae.dt==4096&&(A.biff=5,Ie=!0,Di(A.codepage=28591)),A.biff==8&&ae.BIFFVer==0&&ae.dt==16&&(A.biff=2),J++)break;if(a=t.dense?[]:{},A.biff<8&&!Ie&&(Ie=!0,Di(A.codepage=t.codepage||1252)),A.biff<5||ae.BIFFVer==0&&ae.dt==4096){u===""&&(u="Sheet1"),s={s:{r:0,c:0},e:{r:0,c:0}};var Ve={pos:e.l-Me,name:u};i[Ve.pos]=Ve,A.snames.push(u)}else u=(i[Fe]||{name:""}).name;ae.dt==32&&(a["!type"]="chart"),ae.dt==64&&(a["!type"]="macro"),O=[],R=[],A.arrayf=v=[],te=[],W=[],ue=!1,T={Hidden:(i[Fe]||{hs:0}).hs,name:u}}break;case 515:case 3:case 2:a["!type"]=="chart"&&(t.dense?(a[ae.r]||[])[ae.c]:a[$t({c:ae.c,r:ae.r})])&&++ae.c,g={ixfe:ae.ixfe,XF:M[ae.ixfe]||{},v:ae.val,t:"n"},k>0&&(g.z=U[g.ixfe>>8&63]),Fi(g,t,r.opts.Date1904),V({c:ae.c,r:ae.r},g,t);break;case 5:case 517:g={ixfe:ae.ixfe,XF:M[ae.ixfe],v:ae.val,t:ae.t},k>0&&(g.z=U[g.ixfe>>8&63]),Fi(g,t,r.opts.Date1904),V({c:ae.c,r:ae.r},g,t);break;case 638:g={ixfe:ae.ixfe,XF:M[ae.ixfe],v:ae.rknum,t:"n"},k>0&&(g.z=U[g.ixfe>>8&63]),Fi(g,t,r.opts.Date1904),V({c:ae.c,r:ae.r},g,t);break;case 189:for(var we=ae.c;we<=ae.C;++we){var Y=ae.rkrec[we-ae.c][0];g={ixfe:Y,XF:M[Y],v:ae.rkrec[we-ae.c][1],t:"n"},k>0&&(g.z=U[g.ixfe>>8&63]),Fi(g,t,r.opts.Date1904),V({c:we,r:ae.r},g,t)}break;case 6:case 518:case 1030:{if(ae.val=="String"){o=ae;break}if(g=E1(ae.val,ae.cell.ixfe,ae.tt),g.XF=M[g.ixfe],t.cellFormula){var Q=ae.formula;if(Q&&Q[0]&&Q[0][0]&&Q[0][0][0]=="PtgExp"){var Te=Q[0][0][1][0],Ge=Q[0][0][1][1],ze=$t({r:Te,c:Ge});S[ze]?g.f=""+ys(ae.formula,s,ae.cell,F,A):g.F=((t.dense?(a[Te]||[])[Ge]:a[ze])||{}).F}else g.f=""+ys(ae.formula,s,ae.cell,F,A)}k>0&&(g.z=U[g.ixfe>>8&63]),Fi(g,t,r.opts.Date1904),V(ae.cell,g,t),o=ae}break;case 7:case 519:if(o)o.val=ae,g=E1(ae,o.cell.ixfe,"s"),g.XF=M[g.ixfe],t.cellFormula&&(g.f=""+ys(o.formula,s,o.cell,F,A)),k>0&&(g.z=U[g.ixfe>>8&63]),Fi(g,t,r.opts.Date1904),V(o.cell,g,t),o=null;else throw new Error("String record expects Formula");break;case 33:case 545:{v.push(ae);var x=$t(ae[0].s);if(d=t.dense?(a[ae[0].s.r]||[])[ae[0].s.c]:a[x],t.cellFormula&&d){if(!o||!x||!d)break;d.f=""+ys(ae[1],s,ae[0],F,A),d.F=Yt(ae[0])}}break;case 1212:{if(!t.cellFormula)break;if(m){if(!o)break;S[$t(o.cell)]=ae[0],d=t.dense?(a[o.cell.r]||[])[o.cell.c]:a[$t(o.cell)],(d||{}).f=""+ys(ae[0],s,f,F,A)}}break;case 253:g=E1(l[ae.isst].t,ae.ixfe,"s"),l[ae.isst].h&&(g.h=l[ae.isst].h),g.XF=M[g.ixfe],k>0&&(g.z=U[g.ixfe>>8&63]),Fi(g,t,r.opts.Date1904),V({c:ae.c,r:ae.r},g,t);break;case 513:t.sheetStubs&&(g={ixfe:ae.ixfe,XF:M[ae.ixfe],t:"z"},k>0&&(g.z=U[g.ixfe>>8&63]),Fi(g,t,r.opts.Date1904),V({c:ae.c,r:ae.r},g,t));break;case 190:if(t.sheetStubs)for(var Ne=ae.c;Ne<=ae.C;++Ne){var it=ae.ixfe[Ne-ae.c];g={ixfe:it,XF:M[it],t:"z"},k>0&&(g.z=U[g.ixfe>>8&63]),Fi(g,t,r.opts.Date1904),V({c:Ne,r:ae.r},g,t)}break;case 214:case 516:case 4:g=E1(ae.val,ae.ixfe,"s"),g.XF=M[g.ixfe],k>0&&(g.z=U[g.ixfe>>8&63]),Fi(g,t,r.opts.Date1904),V({c:ae.c,r:ae.r},g,t);break;case 0:case 512:J===1&&(s=ae);break;case 252:l=ae;break;case 1054:if(A.biff==4){U[k++]=ae[1];for(var Je=0;Je=163&&Bo(ae[1],k+163)}else Bo(ae[1],ae[0]);break;case 30:{U[k++]=ae;for(var Ye=0;Ye=163&&Bo(ae,k+163)}break;case 229:O=O.concat(ae);break;case 93:R[ae.cmo[0]]=A.lastobj=ae;break;case 438:A.lastobj.TxO=ae;break;case 127:A.lastobj.ImData=ae;break;case 440:for(_=ae[0].s.r;_<=ae[0].e.r;++_)for(p=ae[0].s.c;p<=ae[0].e.c;++p)d=t.dense?(a[_]||[])[p]:a[$t({c:p,r:_})],d&&(d.l=ae[1]);break;case 2048:for(_=ae[0].s.r;_<=ae[0].e.r;++_)for(p=ae[0].s.c;p<=ae[0].e.c;++p)d=t.dense?(a[_]||[])[p]:a[$t({c:p,r:_})],d&&d.l&&(d.l.Tooltip=ae[1]);break;case 28:{if(A.biff<=5&&A.biff>=2)break;d=t.dense?(a[ae[0].r]||[])[ae[0].c]:a[$t(ae[0])];var G=R[ae[2]];d||(t.dense?(a[ae[0].r]||(a[ae[0].r]=[]),d=a[ae[0].r][ae[0].c]={t:"z"}):d=a[$t(ae[0])]={t:"z"},s.e.r=Math.max(s.e.r,ae[0].r),s.s.r=Math.min(s.s.r,ae[0].r),s.e.c=Math.max(s.e.c,ae[0].c),s.s.c=Math.min(s.s.c,ae[0].c)),d.c||(d.c=[]),h={a:ae[1],t:G.TxO.t},d.c.push(h)}break;case 2173:iq(M[ae.ixfe],ae.ext);break;case 125:{if(!A.cellStyles)break;for(;ae.e>=ae.s;)te[ae.e--]={width:ae.w/256,level:ae.level||0,hidden:!!(ae.flags&1)},ue||(ue=!0,nO(ae.w/256)),Jl(te[ae.e+1])}break;case 520:{var L={};ae.level!=null&&(W[ae.r]=L,L.level=ae.level),ae.hidden&&(W[ae.r]=L,L.hidden=!0),ae.hpt&&(W[ae.r]=L,L.hpt=ae.hpt,L.hpx=Xc(ae.hpt))}break;case 38:case 39:case 40:case 41:a["!margins"]||Ju(a["!margins"]={}),a["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[Le]]=ae;break;case 161:a["!margins"]||Ju(a["!margins"]={}),a["!margins"].header=ae.header,a["!margins"].footer=ae.footer;break;case 574:ae.RTL&&(D.Views[0].RTL=!0);break;case 146:I=ae;break;case 2198:j=ae;break;case 140:y=ae;break;case 442:u?T.CodeName=ae||T.name:D.WBProps.CodeName=ae||"ThisWorkbook";break}}else Re||console.error("Missing Info for XLS Record 0x"+Le.toString(16)),e.l+=Me}return r.SheetNames=Dn(i).sort(function(E,H){return Number(E)-Number(H)}).map(function(E){return i[E].name}),t.bookSheets||(r.Sheets=n),!r.SheetNames.length&&c["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=c)):r.Preamble=c,r.Sheets&&z.forEach(function(E,H){r.Sheets[r.SheetNames[H]]["!autofilter"]=E}),r.Strings=l,r.SSF=rn(Bt),A.enc&&(r.Encryption=A.enc),j&&(r.Themes=j),r.Metadata={},y!==void 0&&(r.Metadata.Country=y),F.names.length>0&&(D.Names=F.names),r.Workbook=D,r}var Nm={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function yQ(e,t,r){var n=kt.find(e,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var a=AC(n,cM,Nm.DSI);for(var i in a)t[i]=a[i]}catch(u){if(r.WTF)throw u}var s=kt.find(e,"/!SummaryInformation");if(s&&s.size>0)try{var o=AC(s,fM,Nm.SI);for(var l in o)t[l]==null&&(t[l]=o[l])}catch(u){if(r.WTF)throw u}t.HeadingPairs&&t.TitlesOfParts&&(V6(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}function MQ(e,t){var r=[],n=[],a=[],i=0,s,o=oC(cM,"n"),l=oC(fM,"n");if(e.Props)for(s=Dn(e.Props),i=0;i-1||U6.indexOf(a[i][0])>-1||a[i][1]!=null&&u.push(a[i]);n.length&&kt.utils.cfb_add(t,"/SummaryInformation",kC(n,Nm.SI,l,fM)),(r.length||u.length)&&kt.utils.cfb_add(t,"/DocumentSummaryInformation",kC(r,Nm.DSI,o,cM,u.length?u:null,Nm.UDI))}function Fk(e,t){t||(t={}),mO(t),wI(),t.codepage&&kI(t.codepage);var r,n;if(e.FullPaths){if(kt.find(e,"/encryption"))throw new Error("File is password-protected");r=kt.find(e,"!CompObj"),n=kt.find(e,"/Workbook")||kt.find(e,"/Book")}else{switch(t.type){case"base64":e=ga(La(e));break;case"binary":e=ga(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e));break}cs(e,0),n={content:e}}var a,i;if(r&&_Q(r),t.bookProps&&!t.bookSheets)a={};else{var s=er?"buffer":"array";if(n&&n.content)a=SQ(n.content,t);else if((i=kt.find(e,"PerfectOffice_MAIN"))&&i.content)a=Xu.to_workbook(i.content,(t.type=s,t));else if((i=kt.find(e,"NativeContent_MAIN"))&&i.content)a=Xu.to_workbook(i.content,(t.type=s,t));else throw(i=kt.find(e,"MN0"))&&i.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");t.bookVBA&&e.FullPaths&&kt.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(a.vbaraw=Pq(e))}var o={};return e.FullPaths&&yQ(e,o,t),a.Props=a.Custprops=o,t.bookFiles&&(a.cfb=e),a}function DQ(e,t){var r=t||{},n=kt.utils.cfb_new({root:"R"}),a="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":a="/Workbook",r.biff=8;break;case"biff5":a="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return kt.utils.cfb_add(n,a,Bk(e,r)),r.biff==8&&(e.Props||e.Custprops)&&MQ(e,n),r.biff==8&&e.vbaraw&&Nq(n,kt.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var Fp={0:{f:zZ},1:{f:eX},2:{f:SX},3:{f:lX},4:{f:sX},5:{f:_X},6:{f:OX},7:{f:mX},8:{f:AX},9:{f:xX},10:{f:CX},11:{f:TX},12:{f:rX},13:{f:MX},14:{f:cX},15:{f:iX},16:{f:Ak},17:{f:bX},18:{f:dX},19:{f:KI},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:bJ},40:{},42:{},43:{f:OK},44:{f:DK},45:{f:LK},46:{f:TK},47:{f:CK},48:{},49:{f:Yj},50:{},51:{f:uq},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:tk},62:{f:IX},63:{f:vq},64:{f:KX},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Cs,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:jX},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:JZ},148:{f:YZ,p:16},151:{f:VX},152:{},153:{f:IJ},154:{},155:{},156:{f:MJ},157:{},158:{},159:{T:1,f:Fz},160:{T:-1},161:{T:1,f:A0},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:kX},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:oq},336:{T:-1},337:{f:mq,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:uM},357:{},358:{},359:{},360:{T:1},361:{},362:{f:ek},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:RX},427:{f:FX},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:HX},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:XZ},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:NX},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:uM},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:Tq},633:{T:1},634:{T:-1},635:{T:1,f:Lq},636:{T:-1},637:{f:Qj},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:cJ},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:qX},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},gM={6:{f:dS},10:{f:ml},12:{f:Pn},13:{f:Pn},14:{f:In},15:{f:In},16:{f:Is},17:{f:In},18:{f:In},19:{f:Pn},20:{f:RC},21:{f:RC},23:{f:ek},24:{f:BC},25:{f:In},26:{},27:{},28:{f:qW},29:{},34:{f:In},35:{f:FC},38:{f:Is},39:{f:Is},40:{f:Is},41:{f:Is},42:{f:In},43:{f:In},47:{f:iK},49:{f:MW},51:{f:Pn},60:{},61:{f:_W},64:{f:In},65:{f:yW},66:{f:Pn},77:{},80:{},81:{},82:{},85:{f:Pn},89:{},90:{},91:{},92:{f:aW},93:{f:XW},94:{},95:{f:In},96:{},97:{},99:{f:In},125:{f:tk},128:{f:UW},129:{f:oW},130:{f:Pn},131:{f:In},132:{f:In},133:{f:lW},134:{},140:{f:az},141:{f:Pn},144:{},146:{f:lz},151:{},152:{},153:{},154:{},155:{},156:{f:Pn},157:{},158:{},160:{f:hz},161:{f:fz},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:kW},190:{f:wW},193:{f:ml},197:{},198:{},199:{},200:{},201:{},202:{f:In},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Pn},220:{},221:{f:In},222:{},224:{f:NW},225:{f:sW},226:{f:ml},227:{},229:{f:YW},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:cW},253:{f:IW},255:{f:mW},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:W6},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:In},353:{f:ml},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:HW},431:{f:In},432:{},433:{},434:{},437:{},438:{f:ez},439:{f:In},440:{f:tz},441:{},442:{f:Id},443:{},444:{f:Pn},445:{},446:{},448:{f:ml},449:{f:hW,r:2},450:{f:ml},512:{f:NC},513:{f:dz},515:{f:FW},516:{f:EW},517:{f:VC},519:{f:_z},520:{f:pW},523:{},545:{f:HC},549:{f:PC},566:{},574:{f:vW},638:{f:AW},659:{},1048:{},1054:{f:LW},1084:{},1212:{f:WW},2048:{f:nz},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:D1},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:ml},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:uz,r:12},2173:{f:aq,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:In,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:GW,r:12},2197:{},2198:{f:QK,r:12},2199:{},2200:{},2201:{},2202:{f:zW,r:12},2203:{f:ml},2204:{},2205:{},2206:{},2207:{},2211:{f:dW},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:Pn},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:mz},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:oz},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:NC},1:{},2:{f:Mz},3:{f:Sz},4:{f:vz},5:{f:VC},7:{f:Iz},8:{},9:{f:D1},11:{},22:{f:Pn},30:{f:TW},31:{},32:{},33:{f:HC},36:{},37:{f:PC},50:{f:Oz},62:{},52:{},67:{},68:{f:Pn},69:{},86:{},126:{},127:{f:gz},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:Ez},223:{},234:{},354:{},421:{},518:{f:dS},521:{f:D1},536:{f:BC},547:{f:FC},561:{},579:{},1030:{f:dS},1033:{f:D1},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function _t(e,t,r,n){var a=t;if(!isNaN(a)){var i=n||(r||[]).length||0,s=e.next(4);s.write_shift(2,a),s.write_shift(2,i),i>0&&GI(r)&&e.push(r)}}function IQ(e,t,r,n){var a=n||(r||[]).length||0;if(a<=8224)return _t(e,t,r,a);var i=t;if(!isNaN(i)){for(var s=r.parts||[],o=0,l=0,u=0;u+(s[o]||8224)<=8224;)u+=s[o]||8224,o++;var c=e.next(4);for(c.write_shift(2,i),c.write_shift(2,u),e.push(r.slice(l,l+u)),l+=u;l=0&&a<65536?_t(e,2,Dz(r,n,a)):_t(e,3,yz(r,n,a));return;case"b":case"e":_t(e,5,OQ(r,n,t.v,t.t));return;case"s":case"str":_t(e,4,EQ(r,n,(t.v||"").slice(0,255)));return}_t(e,1,Ld(null,r,n))}function LQ(e,t,r,n){var a=Array.isArray(t),i=_r(t["!ref"]||"A1"),s,o="",l=[];if(i.e.c>255||i.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),s=Yt(i)}for(var u=i.s.r;u<=i.e.r;++u){o=Ln(u);for(var c=i.s.c;c<=i.e.c;++c){u===i.s.r&&(l[c]=fn(c)),s=l[c]+o;var f=a?(t[u]||[])[c]:t[s];!f||bQ(e,f,u,c)}}}function CQ(e,t){for(var r=t||{},n=ra(),a=0,i=0;i255||d.e.r>=h){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,h-1)}_t(n,2057,eO(r,16,t)),_t(n,13,Ga(1)),_t(n,12,Ga(100)),_t(n,15,Rs(!0)),_t(n,17,Rs(!1)),_t(n,16,d0(.001)),_t(n,95,Rs(!0)),_t(n,42,Rs(!1)),_t(n,43,Rs(!1)),_t(n,130,Ga(1)),_t(n,128,VW([0,0])),_t(n,131,Rs(!1)),_t(n,132,Rs(!1)),u&&PQ(n,i["!cols"]),_t(n,512,xW(d,t)),u&&(i["!links"]=[]);for(var p=d.s.r;p<=d.e.r;++p){f=Ln(p);for(var _=d.s.c;_<=d.e.c;++_){p===d.s.r&&(m[_]=fn(_)),c=m[_]+f;var S=l?(i[p]||[])[_]:i[c];!S||(NQ(n,S,p,_,t),u&&S.l&&i["!links"].push([c,S.l]))}}var v=o.CodeName||o.name||a;return u&&_t(n,574,SW((s.Views||[])[0])),u&&(i["!merges"]||[]).length&&_t(n,229,ZW(i["!merges"])),u&&wQ(n,i),_t(n,442,K6(v)),u&&AQ(n,i),_t(n,10),n.end()}function VQ(e,t,r){var n=ra(),a=(e||{}).Workbook||{},i=a.Sheets||[],s=a.WBProps||{},o=r.biff==8,l=r.biff==5;if(_t(n,2057,eO(e,5,r)),r.bookType=="xla"&&_t(n,135),_t(n,225,o?Ga(1200):null),_t(n,193,RG(2)),l&&_t(n,191),l&&_t(n,192),_t(n,226),_t(n,92,iW("SheetJS",r)),_t(n,66,Ga(o?1200:1252)),o&&_t(n,353,Ga(0)),o&&_t(n,448),_t(n,317,pz(e.SheetNames.length)),o&&e.vbaraw&&_t(n,211),o&&e.vbaraw){var u=s.CodeName||"ThisWorkbook";_t(n,442,K6(u))}_t(n,156,Ga(17)),_t(n,25,Rs(!1)),_t(n,18,Rs(!1)),_t(n,19,Ga(0)),o&&_t(n,431,Rs(!1)),o&&_t(n,444,Ga(0)),_t(n,61,gW()),_t(n,64,Rs(!1)),_t(n,141,Ga(0)),_t(n,34,Rs(hJ(e)=="true")),_t(n,14,Rs(!0)),o&&_t(n,439,Rs(!1)),_t(n,218,Ga(0)),TQ(n,e,r),xQ(n,e.SSF,r),kQ(n,r),o&&_t(n,352,Rs(!1));var c=n.end(),f=ra();o&&_t(f,140,iz()),o&&r.Strings&&IQ(f,252,fW(r.Strings)),_t(f,10);var m=f.end(),d=ra(),h=0,p=0;for(p=0;p255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}}var i=t||{};switch(i.biff||2){case 8:case 5:return RQ(e,t);case 4:case 3:case 2:return CQ(e,t)}throw new Error("invalid type "+i.bookType+" for BIFF")}function XC(e,t){var r=t||{},n=r.dense?[]:{};e=e.replace(//g,"");var a=e.match(/");var i=e.match(/<\/table/i),s=a.index,o=i&&i.index||e.length,l=Ij(e.slice(s,o),/(:?]*>)/i,""),u=-1,c=0,f=0,m=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},h=[];for(s=0;s/i);for(o=0;o"))>-1;)g=g.slice(y+1);for(var M=0;M")));m=D.colspan?+D.colspan:1,((f=+D.rowspan)>1||m>1)&&h.push({s:{r:u,c},e:{r:u+(f||1)-1,c:c+m-1}});var T=D.t||D["data-t"]||"";if(!g.length){c+=m;continue}if(g=c6(g),d.s.r>u&&(d.s.r=u),d.e.rc&&(d.s.c=c),d.e.cr||a[u].s.c>s)&&!(a[u].e.r1&&(d.rowspan=o),l>1&&(d.colspan=l),n.editable?m=''+m+"":f&&(d["data-t"]=f&&f.t||"z",f.v!=null&&(d["data-v"]=f.v),f.z!=null&&(d["data-z"]=f.z),f.l&&(f.l.Target||"#").charAt(0)!="#"&&(m=''+m+"")),d.id=(n.id||"sjs")+"-"+c,i.push(ht("td",m,d))}}var h="";return h+i.join("")+""}var BQ='SheetJS Table Export',HQ="";function $Q(e,t){var r=e.match(/[\s\S]*?<\/table>/gi);if(!r||r.length==0)throw new Error("Invalid HTML: could not find
");if(r.length==1)return cu(XC(r[0],t),t);var n=_O();return r.forEach(function(a,i){gO(n,XC(a,t),"Sheet"+(i+1))}),n}function jQ(e,t,r){var n=[];return n.join("")+""}function Hk(e,t){var r=t||{},n=r.header!=null?r.header:BQ,a=r.footer!=null?r.footer:HQ,i=[n],s=aa(e["!ref"]);r.dense=Array.isArray(e),i.push(jQ(e,s,r));for(var o=s.s.r;o<=s.e.r;++o)i.push(FQ(e,s,o,r));return i.push("
"+a),i.join("")}function $k(e,t,r){var n=r||{},a=0,i=0;if(n.origin!=null)if(typeof n.origin=="number")a=n.origin;else{var s=typeof n.origin=="string"?mn(n.origin):n.origin;a=s.r,i=s.c}var o=t.getElementsByTagName("tr"),l=Math.min(n.sheetRows||1e7,o.length),u={s:{r:0,c:0},e:{r:a,c:i}};if(e["!ref"]){var c=aa(e["!ref"]);u.s.r=Math.min(u.s.r,c.s.r),u.s.c=Math.min(u.s.c,c.s.c),u.e.r=Math.max(u.e.r,c.e.r),u.e.c=Math.max(u.e.c,c.e.c),a==-1&&(u.e.r=a=c.e.r+1)}var f=[],m=0,d=e["!rows"]||(e["!rows"]=[]),h=0,p=0,_=0,S=0,v=0,g=0;for(e["!cols"]||(e["!cols"]=[]);h1||g>1)&&f.push({s:{r:p+a,c:S+i},e:{r:p+a+(v||1)-1,c:S+i+(g||1)-1}});var N={t:"s",v:D},V=I.getAttribute("data-t")||I.getAttribute("t")||"";D!=null&&(D.length==0?N.t=V||"z":n.raw||D.trim().length==0||V=="s"||(D==="TRUE"?N={t:"b",v:!0}:D==="FALSE"?N={t:"b",v:!1}:isNaN(Ti(D))?isNaN(Yc(D).getDate())||(N={t:"d",v:tn(D)},n.cellDates||(N={t:"n",v:jn(N.v)}),N.z=n.dateNF||Bt[14]):N={t:"n",v:Ti(D)})),N.z===void 0&&T!=null&&(N.z=T);var A="",j=I.getElementsByTagName("A");if(j&&j.length)for(var O=0;O=l&&(e["!fullref"]=Yt((u.e.r=o.length-h+p-1+a,u))),e}function jk(e,t){var r=t||{},n=r.dense?[]:{};return $k(n,e,t)}function GQ(e,t){return cu(jk(e,t),t)}function JC(e){var t="",r=WQ(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),t==="none"}function WQ(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}function zQ(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(//g," ").replace(//g,function(n,a){return Array(parseInt(a,10)+1).join(" ")}).replace(/]*\/>/g," ").replace(//g,` +`),r=hr(t.replace(/<[^>]*>/g,""));return[r]}var QC={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function Gk(e,t){var r=t||{},n=$I(e),a=[],i,s,o={name:""},l="",u=0,c,f,m={},d=[],h=r.dense?[]:{},p,_,S={value:""},v="",g=0,y=[],M=-1,I=-1,D={s:{r:1e6,c:1e7},e:{r:0,c:0}},T=0,b={},N=[],V={},A=0,j=0,O=[],R=1,te=1,W=[],ue={Names:[]},F={},le=["",""],J=[],k={},U="",z=0,q=!1,Ie=!1,Fe=0;for(wp.lastIndex=0,n=n.replace(//mg,"").replace(//gm,"");p=wp.exec(n);)switch(p[3]=p[3].replace(/_.*$/,"")){case"table":case"\u5DE5\u4F5C\u8868":p[1]==="/"?(D.e.c>=D.s.c&&D.e.r>=D.s.r?h["!ref"]=Yt(D):h["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=D.e.r&&(h["!fullref"]=h["!ref"],D.e.r=r.sheetRows-1,h["!ref"]=Yt(D)),N.length&&(h["!merges"]=N),O.length&&(h["!rows"]=O),c.name=c.\u540D\u79F0||c.name,typeof JSON<"u"&&JSON.stringify(c),d.push(c.name),m[c.name]=h,Ie=!1):p[0].charAt(p[0].length-2)!=="/"&&(c=Wt(p[0],!1),M=I=-1,D.s.r=D.s.c=1e7,D.e.r=D.e.c=0,h=r.dense?[]:{},N=[],O=[],Ie=!0);break;case"table-row-group":p[1]==="/"?--T:++T;break;case"table-row":case"\u884C":if(p[1]==="/"){M+=R,R=1;break}if(f=Wt(p[0],!1),f.\u884C\u53F7?M=f.\u884C\u53F7-1:M==-1&&(M=0),R=+f["number-rows-repeated"]||1,R<10)for(Fe=0;Fe0&&(O[M+Fe]={level:T});I=-1;break;case"covered-table-cell":p[1]!=="/"&&++I,r.sheetStubs&&(r.dense?(h[M]||(h[M]=[]),h[M][I]={t:"z"}):h[$t({r:M,c:I})]={t:"z"}),v="",y=[];break;case"table-cell":case"\u6570\u636E":if(p[0].charAt(p[0].length-2)==="/")++I,S=Wt(p[0],!1),te=parseInt(S["number-columns-repeated"]||"1",10),_={t:"z",v:null},S.formula&&r.cellFormula!=!1&&(_.f=qC(hr(S.formula))),(S.\u6570\u636E\u7C7B\u578B||S["value-type"])=="string"&&(_.t="s",_.v=hr(S["string-value"]||""),r.dense?(h[M]||(h[M]=[]),h[M][I]=_):h[$t({r:M,c:I})]=_),I+=te-1;else if(p[1]!=="/"){++I,v="",g=0,y=[],te=1;var Le=R?M+R-1:M;if(I>D.e.c&&(D.e.c=I),ID.e.r&&(D.e.r=Le),S=Wt(p[0],!1),J=[],k={},_={t:S.\u6570\u636E\u7C7B\u578B||S["value-type"],v:null},r.cellFormula)if(S.formula&&(S.formula=hr(S.formula)),S["number-matrix-columns-spanned"]&&S["number-matrix-rows-spanned"]&&(A=parseInt(S["number-matrix-rows-spanned"],10)||0,j=parseInt(S["number-matrix-columns-spanned"],10)||0,V={s:{r:M,c:I},e:{r:M+A-1,c:I+j-1}},_.F=Yt(V),W.push([V,_.F])),S.formula)_.f=qC(S.formula);else for(Fe=0;Fe=W[Fe][0].s.r&&M<=W[Fe][0].e.r&&I>=W[Fe][0].s.c&&I<=W[Fe][0].e.c&&(_.F=W[Fe][1]);switch((S["number-columns-spanned"]||S["number-rows-spanned"])&&(A=parseInt(S["number-rows-spanned"],10)||0,j=parseInt(S["number-columns-spanned"],10)||0,V={s:{r:M,c:I},e:{r:M+A-1,c:I+j-1}},N.push(V)),S["number-columns-repeated"]&&(te=parseInt(S["number-columns-repeated"],10)),_.t){case"boolean":_.t="b",_.v=Qr(S["boolean-value"]);break;case"float":_.t="n",_.v=parseFloat(S.value);break;case"percentage":_.t="n",_.v=parseFloat(S.value);break;case"currency":_.t="n",_.v=parseFloat(S.value);break;case"date":_.t="d",_.v=tn(S["date-value"]),r.cellDates||(_.t="n",_.v=jn(_.v)),_.z="m/d/yy";break;case"time":_.t="n",_.v=yj(S["time-value"])/86400,r.cellDates&&(_.t="d",_.v=Fg(_.v)),_.z="HH:MM:SS";break;case"number":_.t="n",_.v=parseFloat(S.\u6570\u636E\u6570\u503C);break;default:if(_.t==="string"||_.t==="text"||!_.t)_.t="s",S["string-value"]!=null&&(v=hr(S["string-value"]),y=[]);else throw new Error("Unsupported value type "+_.t)}}else{if(q=!1,_.t==="s"&&(_.v=v||"",y.length&&(_.R=y),q=g==0),F.Target&&(_.l=F),J.length>0&&(_.c=J,J=[]),v&&r.cellText!==!1&&(_.w=v),q&&(_.t="z",delete _.v),(!q||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=M))for(var Me=0;Me0;)h[M+Me][I+te]=rn(_);else for(h[$t({r:M+Me,c:I})]=_;--te>0;)h[$t({r:M+Me,c:I+te})]=rn(_);D.e.c<=I&&(D.e.c=I)}te=parseInt(S["number-columns-repeated"]||"1",10),I+=te-1,te=0,_={},v="",y=[]}F={};break;case"document":case"document-content":case"\u7535\u5B50\u8868\u683C\u6587\u6863":case"spreadsheet":case"\u4E3B\u4F53":case"scripts":case"styles":case"font-face-decls":case"master-styles":if(p[1]==="/"){if((i=a.pop())[0]!==p[3])throw"Bad state: "+i}else p[0].charAt(p[0].length-2)!=="/"&&a.push([p[3],!0]);break;case"annotation":if(p[1]==="/"){if((i=a.pop())[0]!==p[3])throw"Bad state: "+i;k.t=v,y.length&&(k.R=y),k.a=U,J.push(k)}else p[0].charAt(p[0].length-2)!=="/"&&a.push([p[3],!1]);U="",z=0,v="",g=0,y=[];break;case"creator":p[1]==="/"?U=n.slice(z,p.index):z=p.index+p[0].length;break;case"meta":case"\u5143\u6570\u636E":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if(p[1]==="/"){if((i=a.pop())[0]!==p[3])throw"Bad state: "+i}else p[0].charAt(p[0].length-2)!=="/"&&a.push([p[3],!1]);v="",g=0,y=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if(p[1]==="/"){if(b[o.name]=l,(i=a.pop())[0]!==p[3])throw"Bad state: "+i}else p[0].charAt(p[0].length-2)!=="/"&&(l="",o=Wt(p[0],!1),a.push([p[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(a[a.length-1][0]){case"time-style":case"date-style":s=Wt(p[0],!1),l+=QC[p[3]][s.style==="long"?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(a[a.length-1][0]){case"time-style":case"date-style":s=Wt(p[0],!1),l+=QC[p[3]][s.style==="long"?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(p[0].slice(-2)==="/>")break;if(p[1]==="/")switch(a[a.length-1][0]){case"number-style":case"date-style":case"time-style":l+=n.slice(u,p.index);break}else u=p.index+p[0].length;break;case"named-range":s=Wt(p[0],!1),le=hS(s["cell-range-address"]);var Re={Name:s.name,Ref:le[0]+"!"+le[1]};Ie&&(Re.Sheet=d.length),ue.Names.push(Re);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"\u7535\u5B50\u8868\u683C":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"\u6587\u672C\u4E32":if(["master-styles"].indexOf(a[a.length-1][0])>-1)break;if(p[1]==="/"&&(!S||!S["string-value"])){var be=zQ(n.slice(g,p.index));v=(v.length>0?v+` +`:"")+be[0]}else Wt(p[0],!1),g=p.index+p[0].length;break;case"s":break;case"database-range":if(p[1]==="/")break;try{le=hS(Wt(p[0])["target-range-address"]),m[le[0]]["!autofilter"]={ref:le[1]}}catch{}break;case"date":break;case"object":break;case"title":case"\u6807\u9898":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if(p[1]!=="/"){if(F=Wt(p[0],!1),!F.href)break;F.Target=hr(F.href),delete F.href,F.Target.charAt(0)=="#"&&F.Target.indexOf(".")>-1?(le=hS(F.Target.slice(1)),F.Target="#"+le[0]+"!"+le[1]):F.Target.match(/^\.\.[\\\/]/)&&(F.Target=F.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(p[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"\u8868:":case"\u5B57:":break;default:if(r.WTF)throw new Error(p)}}var ae={Sheets:m,SheetNames:d,Workbook:ue};return r.bookSheets&&delete ae.Sheets,ae}function e5(e,t){t=t||{},Ba(e,"META-INF/manifest.xml")&&SG(wn(e,"META-INF/manifest.xml"),t);var r=va(e,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var n=Gk(Hr(r),t);return Ba(e,"meta.xml")&&(n.Props=P6(wn(e,"meta.xml"))),n}function t5(e,t){return Gk(e,t)}var KQ=function(){var e=["",'',"",'',"",'',"",""].join(""),t=""+e+"";return function(){return Cn+t}}(),r5=function(){var e=function(i){return Pr(i).replace(/ +/g,function(s){return''}).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"")},t=` +`,r=` +`,n=function(i,s,o){var l=[];l.push(' +`);var u=0,c=0,f=aa(i["!ref"]||"A1"),m=i["!merges"]||[],d=0,h=Array.isArray(i);if(i["!cols"])for(c=0;c<=f.e.c;++c)l.push(" +`);var p="",_=i["!rows"]||[];for(u=0;u +`);for(;u<=f.e.r;++u){for(p=_[u]?' table:style-name="ro'+_[u].ods+'"':"",l.push(" +`),c=0;cc)&&!(m[d].s.r>u)&&!(m[d].e.c +`)}return l.push(` +`),l.join("")},a=function(i,s){i.push(` +`),i.push(` +`),i.push(` +`),i.push(` / +`),i.push(` +`),i.push(` / +`),i.push(` +`),i.push(` +`);var o=0;s.SheetNames.map(function(u){return s.Sheets[u]}).forEach(function(u){if(!!u&&u["!cols"]){for(var c=0;c +`),i.push(' +`),i.push(` +`),++o}}});var l=0;s.SheetNames.map(function(u){return s.Sheets[u]}).forEach(function(u){if(!!u&&u["!rows"]){for(var c=0;c +`),i.push(' +`),i.push(` +`),++l}}}),i.push(` +`),i.push(` +`),i.push(` +`),i.push(` +`),i.push(` +`)};return function(s,o){var l=[Cn],u=kp({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),c=kp({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});o.bookType=="fods"?(l.push(" +`),l.push(w6().replace(/office:document-meta/g,"office:meta"))):l.push(" +`),a(l,s),l.push(` +`),l.push(` +`);for(var f=0;f!=s.SheetNames.length;++f)l.push(n(s.Sheets[s.SheetNames[f]],s,f));return l.push(` +`),l.push(` +`),o.bookType=="fods"?l.push(""):l.push(""),l.join("")}}();function Wk(e,t){if(t.bookType=="fods")return r5(e,t);var r=RI(),n="",a=[],i=[];return n="mimetype",Zt(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",Zt(r,n,r5(e,t)),a.push([n,"text/xml"]),i.push([n,"ContentFile"]),n="styles.xml",Zt(r,n,KQ(e,t)),a.push([n,"text/xml"]),i.push([n,"StylesFile"]),n="meta.xml",Zt(r,n,Cn+w6()),a.push([n,"text/xml"]),i.push([n,"MetadataFile"]),n="manifest.rdf",Zt(r,n,DG(i)),a.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",Zt(r,n,yG(a)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function g0(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function vM(e){return typeof TextDecoder<"u"?new TextDecoder().decode(e):Hr(uu(e))}function qQ(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):ga(to(e))}function YQ(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n>1&1431655765,e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>>24}function ZQ(e,t){for(var r=(e[t+15]&127)<<7|e[t+14]>>1,n=e[t+14]&1,a=t+13;a>=t;--a)n=n*256+e[a];return(e[t+15]&128?-n:n)*Math.pow(10,r-6176)}function XQ(e,t,r){var n=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(n&127)<<1;for(var i=0;a>=1;++i,a/=256)e[t+i]=a&255;e[t+15]|=r>=0?0:128}function Bp(e,t){var r=t?t[0]:0,n=e[r]&127;e:if(e[r++]>=128&&(n|=(e[r]&127)<<7,e[r++]<128||(n|=(e[r]&127)<<14,e[r++]<128)||(n|=(e[r]&127)<<21,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,28),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,35),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,42),++r,e[r++]<128)))break e;return t&&(t[0]=r),n}function kr(e){var t=new Uint8Array(7);t[0]=e&127;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383||(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)||(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)||(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)||(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103))break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function Mn(e){var t=0,r=e[t]&127;e:if(e[t++]>=128){if(r|=(e[t]&127)<<7,e[t++]<128||(r|=(e[t]&127)<<14,e[t++]<128)||(r|=(e[t]&127)<<21,e[t++]<128))break e;r|=(e[t]&127)<<28}return r}function Mr(e){for(var t=[],r=[0];r[0]=128;);o=e.slice(l,r[0])}break;case 5:s=4,o=e.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,o=e.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=Bp(e,r),o=e.slice(r[0],r[0]+s),r[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(i," for Field ").concat(a," at offset ").concat(n))}var u={data:o,type:i};t[a]==null?t[a]=[u]:t[a].push(u)}return t}function is(e){var t=[];return e.forEach(function(r,n){r.forEach(function(a){!a.data||(t.push(kr(n*8+a.type)),a.type==2&&t.push(kr(a.data.length)),t.push(a.data))})}),eu(t)}function fO(e,t){return e?.map(function(r){return t(r.data)})||[]}function Na(e){for(var t,r=[],n=[0];n[0]>>0>0),r.push(s)}return r}function B0(e){var t=[];return e.forEach(function(r){var n=[];n[1]=[{data:kr(r.id),type:0}],n[2]=[],r.merge!=null&&(n[3]=[{data:kr(+!!r.merge),type:0}]);var a=[];r.messages.forEach(function(s){a.push(s.data),s.meta[3]=[{type:0,data:kr(s.data.length)}],n[2].push({data:is(s.meta),type:2})});var i=is(n);t.push(kr(i.length)),t.push(i),a.forEach(function(s){return t.push(s)})}),eu(t)}function JQ(e,t){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=Bp(t,r),a=[];r[0]>2;if(s<60)++s;else{var o=s-59;s=t[r[0]],o>1&&(s|=t[r[0]+1]<<8),o>2&&(s|=t[r[0]+2]<<16),o>3&&(s|=t[r[0]+3]<<24),s>>>=0,s++,r[0]+=o}a.push(t.slice(r[0],r[0]+s)),r[0]+=s;continue}else{var l=0,u=0;if(i==1?(u=(t[r[0]]>>2&7)+4,l=(t[r[0]++]&224)<<3,l|=t[r[0]++]):(u=(t[r[0]++]>>2)+1,i==2?(l=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(l=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),a=[eu(a)],l==0)throw new Error("Invalid offset 0");if(l>a[0].length)throw new Error("Invalid offset beyond length");if(u>=l)for(a.push(a[0].slice(-l)),u-=l;u>=a[a.length-1].length;)a.push(a[a.length-1]),u-=a[a.length-1].length;a.push(a[0].slice(-l,-l+u))}}var c=eu(a);if(c.length!=n)throw new Error("Unexpected length: ".concat(c.length," != ").concat(n));return c}function Ua(e){for(var t=[],r=0;r>8&255]))):n<=16777216?(s+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(s+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),s+=n,a[0]=0,a[1]=s&255,a[2]=s>>8&255,a[3]=s>>16&255,r+=n}return eu(t)}function QQ(e,t,r,n){var a=g0(e),i=a.getUint32(4,!0),s=(n>1?12:8)+n5(i&(n>1?3470:398))*4,o=-1,l=-1,u=NaN,c=new Date(2001,0,1);i&512&&(o=a.getUint32(s,!0),s+=4),s+=n5(i&(n>1?12288:4096))*4,i&16&&(l=a.getUint32(s,!0),s+=4),i&32&&(u=a.getFloat64(s,!0),s+=8),i&64&&(c.setTime(c.getTime()+a.getFloat64(s,!0)*1e3),s+=8);var f;switch(e[2]){case 0:break;case 2:f={t:"n",v:u};break;case 3:f={t:"s",v:t[l]};break;case 5:f={t:"d",v:c};break;case 6:f={t:"b",v:u>0};break;case 7:f={t:"n",v:u/86400};break;case 8:f={t:"e",v:0};break;case 9:if(o>-1)f={t:"s",v:r[o]};else if(l>-1)f={t:"s",v:t[l]};else if(!isNaN(u))f={t:"n",v:u};else throw new Error("Unsupported cell type ".concat(e.slice(0,4)));break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return f}function eee(e,t,r){var n=g0(e),a=n.getUint32(8,!0),i=12,s=-1,o=-1,l=NaN,u=NaN,c=new Date(2001,0,1);a&1&&(l=ZQ(e,i),i+=16),a&2&&(u=n.getFloat64(i,!0),i+=8),a&4&&(c.setTime(c.getTime()+n.getFloat64(i,!0)*1e3),i+=8),a&8&&(o=n.getUint32(i,!0),i+=4),a&16&&(s=n.getUint32(i,!0),i+=4);var f;switch(e[1]){case 0:break;case 2:f={t:"n",v:l};break;case 3:f={t:"s",v:t[o]};break;case 5:f={t:"d",v:c};break;case 6:f={t:"b",v:u>0};break;case 7:f={t:"n",v:u/86400};break;case 8:f={t:"e",v:0};break;case 9:if(s>-1)f={t:"s",v:r[s]};else throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(a&31," : ").concat(e.slice(0,4)));break;case 10:f={t:"n",v:l};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(a&31," : ").concat(e.slice(0,4)))}return f}function gS(e,t){var r=new Uint8Array(32),n=g0(r),a=12,i=0;switch(r[0]=5,e.t){case"n":r[1]=2,XQ(r,a,e.v),i|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,e.v?1:0,!0),i|=2,a+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,i,!0),r.slice(0,a)}function vS(e,t){var r=new Uint8Array(32),n=g0(r),a=12,i=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(a,e.v,!0),i|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,e.v?1:0,!0),i|=32,a+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,i,!0),r.slice(0,a)}function tee(e,t,r){switch(e[0]){case 0:case 1:case 2:case 3:return QQ(e,t,r,e[0]);case 5:return eee(e,t,r);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Ss(e){var t=Mr(e);return Bp(t[1][0].data)}function s5(e,t){var r=Mr(t.data),n=Mn(r[1][0].data),a=r[3],i=[];return(a||[]).forEach(function(s){var o=Mr(s.data),l=Mn(o[1][0].data)>>>0;switch(n){case 1:i[l]=vM(o[3][0].data);break;case 8:{var u=e[Ss(o[9][0].data)][0],c=Mr(u.data),f=e[Ss(c[1][0].data)][0],m=Mn(f.meta[1][0].data);if(m!=2001)throw new Error("2000 unexpected reference to ".concat(m));var d=Mr(f.data);i[l]=d[3].map(function(h){return vM(h.data)}).join("")}break}}),i}function ree(e,t){var r,n,a,i,s,o,l,u,c,f,m,d,h,p,_=Mr(e),S=Mn(_[1][0].data)>>>0,v=Mn(_[2][0].data)>>>0,g=((n=(r=_[8])==null?void 0:r[0])==null?void 0:n.data)&&Mn(_[8][0].data)>0||!1,y,M;if(((i=(a=_[7])==null?void 0:a[0])==null?void 0:i.data)&&t!=0)y=(o=(s=_[7])==null?void 0:s[0])==null?void 0:o.data,M=(u=(l=_[6])==null?void 0:l[0])==null?void 0:u.data;else if(((f=(c=_[4])==null?void 0:c[0])==null?void 0:f.data)&&t!=1)y=(d=(m=_[4])==null?void 0:m[0])==null?void 0:d.data,M=(p=(h=_[3])==null?void 0:h[0])==null?void 0:p.data;else throw"NUMBERS Tile missing ".concat(t," cell storage");for(var I=g?4:1,D=g0(y),T=[],b=0;b=1&&(V[T[T.length-1][0]]=M.subarray(T[T.length-1][1]*I)),{R:S,cells:V}}function nee(e,t){var r,n=Mr(t.data),a=(r=n?.[7])!=null&&r[0]?Mn(n[7][0].data)>>>0>0?1:0:-1,i=fO(n[5],function(s){return ree(s,a)});return{nrows:Mn(n[4][0].data)>>>0,data:i.reduce(function(s,o){return s[o.R]||(s[o.R]=[]),o.cells.forEach(function(l,u){if(s[o.R][u])throw new Error("Duplicate cell r=".concat(o.R," c=").concat(u));s[o.R][u]=l}),s},[])}}function see(e,t,r){var n,a=Mr(t.data),i={s:{r:0,c:0},e:{r:0,c:0}};if(i.e.r=(Mn(a[6][0].data)>>>0)-1,i.e.r<0)throw new Error("Invalid row varint ".concat(a[6][0].data));if(i.e.c=(Mn(a[7][0].data)>>>0)-1,i.e.c<0)throw new Error("Invalid col varint ".concat(a[7][0].data));r["!ref"]=Yt(i);var s=Mr(a[4][0].data),o=s5(e,e[Ss(s[4][0].data)][0]),l=(n=s[17])!=null&&n[0]?s5(e,e[Ss(s[17][0].data)][0]):[],u=Mr(s[3][0].data),c=0;u[1].forEach(function(f){var m=Mr(f.data),d=e[Ss(m[2][0].data)][0],h=Mn(d.meta[1][0].data);if(h!=6002)throw new Error("6001 unexpected reference to ".concat(h));var p=nee(e,d);p.data.forEach(function(_,S){_.forEach(function(v,g){var y=$t({r:c+S,c:g}),M=tee(v,o,l);M&&(r[y]=M)})}),c+=p.nrows})}function aee(e,t){var r=Mr(t.data),n={"!ref":"A1"},a=e[Ss(r[2][0].data)],i=Mn(a[0].meta[1][0].data);if(i!=6001)throw new Error("6000 unexpected reference to ".concat(i));return see(e,a[0],n),n}function iee(e,t){var r,n=Mr(t.data),a={name:(r=n[1])!=null&&r[0]?vM(n[1][0].data):"",sheets:[]},i=fO(n[2],Ss);return i.forEach(function(s){e[s].forEach(function(o){var l=Mn(o.meta[1][0].data);l==6e3&&a.sheets.push(aee(e,o))})}),a}function oee(e,t){var r=_O(),n=Mr(t.data),a=fO(n[1],Ss);if(a.forEach(function(i){e[i].forEach(function(s){var o=Mn(s.meta[1][0].data);if(o==2){var l=iee(e,s);l.sheets.forEach(function(u,c){gO(r,u,c==0?l.name:l.name+"_"+c,!0)})}})}),r.SheetNames.length==0)throw new Error("Empty NUMBERS file");return r}function SS(e){var t,r,n,a,i={},s=[];if(e.FullPaths.forEach(function(l){if(l.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),e.FileIndex.forEach(function(l){if(!!l.name.match(/\.iwa$/)){var u;try{u=Ua(l.content)}catch(f){return console.log("?? "+l.content.length+" "+(f.message||f))}var c;try{c=Na(u)}catch(f){return console.log("## "+(f.message||f))}c.forEach(function(f){i[f.id]=f.messages,s.push(f.id)})}}),!s.length)throw new Error("File has no messages");var o=((a=(n=(r=(t=i?.[1])==null?void 0:t[0])==null?void 0:r.meta)==null?void 0:n[1])==null?void 0:a[0].data)&&Mn(i[1][0].meta[1][0].data)==1&&i[1][0];if(o||s.forEach(function(l){i[l].forEach(function(u){var c=Mn(u.meta[1][0].data)>>>0;if(c==1)if(!o)o=u;else throw new Error("Document has multiple roots")})}),!o)throw new Error("Cannot find Document root");return oee(i,o)}function lee(e,t,r){var n,a,i,s;if(!((n=e[6])!=null&&n[0])||!((a=e[7])!=null&&a[0]))throw"Mutation only works on post-BNC storages!";var o=((s=(i=e[8])==null?void 0:i[0])==null?void 0:s.data)&&Mn(e[8][0].data)>0||!1;if(o)throw"Math only works with normal offsets";for(var l=0,u=g0(e[7][0].data),c=0,f=[],m=g0(e[4][0].data),d=0,h=[],p=0;p1&&console.error("The Numbers writer currently writes only the first table");var n=aa(r["!ref"]);n.s.r=n.s.c=0;var a=!1;n.e.c>9&&(a=!0,n.e.c=9),n.e.r>49&&(a=!0,n.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat(Yt(n)));var i=D_(r,{range:n,header:1}),s=["~Sh33tJ5~"];i.forEach(function(U){return U.forEach(function(z){typeof z=="string"&&s.push(z)})});var o={},l=[],u=kt.read(t.numbers,{type:"base64"});u.FileIndex.map(function(U,z){return[U,u.FullPaths[z]]}).forEach(function(U){var z=U[0],q=U[1];if(z.type==2&&!!z.name.match(/\.iwa/)){var Ie=z.content,Fe=Ua(Ie),Le=Na(Fe);Le.forEach(function(Me){l.push(Me.id),o[Me.id]={deps:[],location:q,type:Mn(Me.messages[0].meta[1][0].data)}})}}),l.sort(function(U,z){return U-z});var c=l.filter(function(U){return U>1}).map(function(U){return[U,kr(U)]});u.FileIndex.map(function(U,z){return[U,u.FullPaths[z]]}).forEach(function(U){var z=U[0];if(U[1],!!z.name.match(/\.iwa/)){var q=Na(Ua(z.content));q.forEach(function(Ie){Ie.messages.forEach(function(Fe){c.forEach(function(Le){Ie.messages.some(function(Me){return Mn(Me.meta[1][0].data)!=11006&&YQ(Me.data,Le[1])})&&o[Le[0]].deps.push(Ie.id)})})})}});for(var f=kt.find(u,o[1].location),m=Na(Ua(f.content)),d,h=0;h-1?"sheet":e==nr.CS?"chart":e==nr.DS?"dialog":e==nr.MS?"macro":e&&e.length?e:"sheet"}function fee(e,t){if(!e)return 0;try{e=t.map(function(n){return n.id||(n.id=n.strRelID),[n.name,e["!id"][n.id].Target,cee(e["!id"][n.id].Type)]})}catch{return null}return!e||e.length===0?null:e}function mee(e,t,r,n,a,i,s,o,l,u,c,f){try{i[n]=Am(va(e,r,!0),t);var m=wn(e,t),d;switch(o){case"sheet":d=PJ(m,t,a,l,i[n],u,c,f);break;case"chart":if(d=NJ(m,t,a,l,i[n],u,c,f),!d||!d["!drawel"])break;var h=lm(d["!drawel"].Target,t),p=Pp(h),_=Mq(va(e,h,!0),Am(va(e,p,!0),h)),S=lm(_,h),v=Pp(S);d=lJ(va(e,S,!0),S,l,Am(va(e,v,!0),S),u,d);break;case"macro":d=UJ(m,t,a,l,i[n],u,c,f);break;case"dialog":d=VJ(m,t,a,l,i[n],u,c,f);break;default:throw new Error("Unrecognized sheet type "+o)}s[n]=d;var g=[];i&&i[n]&&Dn(i[n]).forEach(function(y){var M="";if(i[n][y].Type==nr.CMNT){M=lm(i[n][y].Target,t);var I=HJ(wn(e,M,!0),M,l);if(!I||!I.length)return;jC(d,I,!1)}i[n][y].Type==nr.TCMNT&&(M=lm(i[n][y].Target,t),g=g.concat(Iq(wn(e,M,!0),l)))}),g&&g.length&&jC(d,g,!0,l.people||[])}catch(y){if(l.WTF)throw y}}function wa(e){return e.charAt(0)=="/"?e.slice(1):e}function pee(e,t){if(Df(),t=t||{},mO(t),Ba(e,"META-INF/manifest.xml")||Ba(e,"objectdata.xml"))return e5(e,t);if(Ba(e,"Index/Document.iwa")){if(typeof Uint8Array>"u")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof SS<"u"){if(e.FileIndex)return SS(e);var r=kt.utils.cfb_new();return cC(e).forEach(function(O){Zt(r,O,i6(e,O))}),SS(r)}throw new Error("Unsupported NUMBERS file")}if(!Ba(e,"[Content_Types].xml"))throw Ba(e,"index.xml.gz")?new Error("Unsupported NUMBERS 08 file"):Ba(e,"index.xml")?new Error("Unsupported NUMBERS 09 file"):new Error("Unsupported ZIP file");var n=cC(e),a=gG(va(e,"[Content_Types].xml")),i=!1,s,o;if(a.workbooks.length===0&&(o="xl/workbook.xml",wn(e,o,!0)&&a.workbooks.push(o)),a.workbooks.length===0){if(o="xl/workbook.bin",!wn(e,o,!0))throw new Error("Could not find workbook");a.workbooks.push(o),i=!0}a.workbooks[0].slice(-3)=="bin"&&(i=!0);var l={},u={};if(!t.bookSheets&&!t.bookProps){if(km=[],a.sst)try{km=BJ(wn(e,wa(a.sst)),a.sst,t)}catch(O){if(t.WTF)throw O}t.cellStyles&&a.themes.length&&(l=FJ(va(e,a.themes[0].replace(/^\//,""),!0)||"",a.themes[0],t)),a.style&&(u=RJ(wn(e,wa(a.style)),a.style,l,t))}a.links.map(function(O){try{var R=Am(va(e,Pp(wa(O))),O);return jJ(wn(e,wa(O)),R,O,t)}catch{}});var c=wJ(wn(e,wa(a.workbooks[0])),a.workbooks[0],t),f={},m="";a.coreprops.length&&(m=wn(e,wa(a.coreprops[0]),!0),m&&(f=P6(m)),a.extprops.length!==0&&(m=wn(e,wa(a.extprops[0]),!0),m&&OG(m,f,t)));var d={};(!t.bookSheets||t.bookProps)&&a.custprops.length!==0&&(m=va(e,wa(a.custprops[0]),!0),m&&(d=bG(m,t)));var h={};if((t.bookSheets||t.bookProps)&&(c.Sheets?s=c.Sheets.map(function(R){return R.name}):f.Worksheets&&f.SheetNames.length>0&&(s=f.SheetNames),t.bookProps&&(h.Props=f,h.Custprops=d),t.bookSheets&&typeof s<"u"&&(h.SheetNames=s),t.bookSheets?h.SheetNames:t.bookProps))return h;s={};var p={};t.bookDeps&&a.calcchain&&(p=$J(wn(e,wa(a.calcchain)),a.calcchain));var _=0,S={},v,g;{var y=c.Sheets;f.Worksheets=y.length,f.SheetNames=[];for(var M=0;M!=y.length;++M)f.SheetNames[M]=y[M].name}var I=i?"bin":"xml",D=a.workbooks[0].lastIndexOf("/"),T=(a.workbooks[0].slice(0,D+1)+"_rels/"+a.workbooks[0].slice(D+1)+".rels").replace(/^\//,"");Ba(e,T)||(T="xl/_rels/workbook."+I+".rels");var b=Am(va(e,T,!0),T.replace(/_rels.*/,"s5s"));(a.metadata||[]).length>=1&&(t.xlmeta=GJ(wn(e,wa(a.metadata[0])),a.metadata[0],t)),(a.people||[]).length>=1&&(t.people=Eq(wn(e,wa(a.people[0])),t)),b&&(b=fee(b,c.Sheets));var N=wn(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(_=0;_!=f.Worksheets;++_){var V="sheet";if(b&&b[_]?(v="xl/"+b[_][1].replace(/[\/]?xl\//,""),Ba(e,v)||(v=b[_][1]),Ba(e,v)||(v=T.replace(/_rels\/.*$/,"")+b[_][1]),V=b[_][2]):(v="xl/worksheets/sheet"+(_+1-N)+"."+I,v=v.replace(/sheet0\./,"sheet.")),g=v.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&t.sheets!=null)switch(typeof t.sheets){case"number":if(_!=t.sheets)continue e;break;case"string":if(f.SheetNames[_].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var A=!1,j=0;j!=t.sheets.length;++j)typeof t.sheets[j]=="number"&&t.sheets[j]==_&&(A=1),typeof t.sheets[j]=="string"&&t.sheets[j].toLowerCase()==f.SheetNames[_].toLowerCase()&&(A=1);if(!A)continue e}}mee(e,v,g,f.SheetNames[_],_,S,s,V,t,c,l,u)}return h={Directory:a,Workbook:c,Props:f,Custprops:d,Deps:p,Sheets:s,SheetNames:f.SheetNames,Strings:km,Styles:u,Themes:l,SSF:rn(Bt)},t&&t.bookFiles&&(e.files?(h.keys=n,h.files=e.files):(h.keys=[],h.files={},e.FullPaths.forEach(function(O,R){O=O.replace(/^Root Entry[\/]/,""),h.keys.push(O),h.files[O]=e.FileIndex[R]}))),t&&t.bookVBA&&(a.vba.length>0?h.vbaraw=wn(e,wa(a.vba[0]),!0):a.defaults&&a.defaults.bin===wq&&(h.vbaraw=wn(e,"xl/vbaProject.bin",!0))),h}function dee(e,t){var r=t||{},n="Workbook",a=kt.find(e,n);try{if(n="/!DataSpaces/Version",a=kt.find(e,n),!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(Gz(a.content),n="/!DataSpaces/DataSpaceMap",a=kt.find(e,n),!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var i=zz(a.content);if(i.length!==1||i[0].comps.length!==1||i[0].comps[0].t!==0||i[0].name!=="StrongEncryptionDataSpace"||i[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",a=kt.find(e,n),!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var s=Kz(a.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",a=kt.find(e,n),!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);Yz(a.content)}catch{}if(n="/EncryptionInfo",a=kt.find(e,n),!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var o=Zz(a.content);if(n="/EncryptedPackage",a=kt.find(e,n),!a||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(o[0]==4&&typeof decrypt_agile<"u")return decrypt_agile(o[1],a.content,r.password||"",r);if(o[0]==2&&typeof decrypt_std76<"u")return decrypt_std76(o[1],a.content,r.password||"",r);throw new Error("File is password-protected")}function hee(e,t){return t.bookType=="ods"?Wk(e,t):t.bookType=="numbers"?uee(e,t):t.bookType=="xlsb"?_ee(e,t):gee(e,t)}function _ee(e,t){hc=1024,e&&!e.SSF&&(e.SSF=rn(Bt)),e&&e.SSF&&(Df(),Ug(e.SSF),t.revssf=Rg(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,wm?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r=t.bookType=="xlsb"?"bin":"xml",n=Sk.indexOf(t.bookType)>-1,a=JI();pO(t=t||{});var i=RI(),s="",o=0;if(t.cellXfs=[],fu(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",Zt(i,s,N6(e.Props,t)),a.coreprops.push(s),wr(t.rels,2,s,nr.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var l=[],u=0;u0&&(s="docProps/custom.xml",Zt(i,s,F6(e.Custprops)),a.custprops.push(s),wr(t.rels,4,s,nr.CUST_PROPS)),o=1;o<=e.SheetNames.length;++o){var c={"!id":{}},f=e.Sheets[e.SheetNames[o-1]],m=(f||{})["!type"]||"sheet";switch(m){case"chart":default:s="xl/worksheets/sheet"+o+"."+r,Zt(i,s,zJ(o-1,s,t,e,c)),a.sheets.push(s),wr(t.wbrels,-1,"worksheets/sheet"+o+"."+r,nr.WS[0])}if(f){var d=f["!comments"],h=!1,p="";d&&d.length>0&&(p="xl/comments"+o+"."+r,Zt(i,p,YJ(d,p)),a.comments.push(p),wr(c,-1,"../comments"+o+"."+r,nr.CMNT),h=!0),f["!legacy"]&&h&&Zt(i,"xl/drawings/vmlDrawing"+o+".vml",gk(o,f["!comments"])),delete f["!comments"],delete f["!legacy"]}c["!id"].rId1&&Zt(i,Pp(s),Tc(c))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,Zt(i,s,qJ(t.Strings,s,t)),a.strs.push(s),wr(t.wbrels,-1,"sharedStrings."+r,nr.SST)),s="xl/workbook."+r,Zt(i,s,WJ(e,s)),a.workbooks.push(s),wr(t.rels,1,s,nr.WB),s="xl/theme/theme1.xml",Zt(i,s,sO(e.Themes,t)),a.themes.push(s),wr(t.wbrels,-1,"theme/theme1.xml",nr.THEME),s="xl/styles."+r,Zt(i,s,KJ(e,s,t)),a.styles.push(s),wr(t.wbrels,-1,"styles."+r,nr.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",Zt(i,s,e.vbaraw),a.vba.push(s),wr(t.wbrels,-1,"vbaProject.bin",nr.VBA)),s="xl/metadata."+r,Zt(i,s,ZJ(s)),a.metadata.push(s),wr(t.wbrels,-1,"metadata."+r,nr.XLMETA),Zt(i,"[Content_Types].xml",k6(a,t)),Zt(i,"_rels/.rels",Tc(t.rels)),Zt(i,"xl/_rels/workbook."+r+".rels",Tc(t.wbrels)),delete t.revssf,delete t.ssf,i}function gee(e,t){hc=1024,e&&!e.SSF&&(e.SSF=rn(Bt)),e&&e.SSF&&(Df(),Ug(e.SSF),t.revssf=Rg(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,wm?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=Sk.indexOf(t.bookType)>-1,a=JI();pO(t=t||{});var i=RI(),s="",o=0;if(t.cellXfs=[],fu(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",Zt(i,s,N6(e.Props,t)),a.coreprops.push(s),wr(t.rels,2,s,nr.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var l=[],u=0;u0&&(s="docProps/custom.xml",Zt(i,s,F6(e.Custprops)),a.custprops.push(s),wr(t.rels,4,s,nr.CUST_PROPS));var c=["SheetJ5"];for(t.tcid=0,o=1;o<=e.SheetNames.length;++o){var f={"!id":{}},m=e.Sheets[e.SheetNames[o-1]],d=(m||{})["!type"]||"sheet";switch(d){case"chart":default:s="xl/worksheets/sheet"+o+"."+r,Zt(i,s,xk(o-1,t,e,f)),a.sheets.push(s),wr(t.wbrels,-1,"worksheets/sheet"+o+"."+r,nr.WS[0])}if(m){var h=m["!comments"],p=!1,_="";if(h&&h.length>0){var S=!1;h.forEach(function(v){v[1].forEach(function(g){g.T==!0&&(S=!0)})}),S&&(_="xl/threadedComments/threadedComment"+o+"."+r,Zt(i,_,Oq(h,c,t)),a.threadedcomments.push(_),wr(f,-1,"../threadedComments/threadedComment"+o+"."+r,nr.TCMNT)),_="xl/comments"+o+"."+r,Zt(i,_,vk(h)),a.comments.push(_),wr(f,-1,"../comments"+o+"."+r,nr.CMNT),p=!0}m["!legacy"]&&p&&Zt(i,"xl/drawings/vmlDrawing"+o+".vml",gk(o,m["!comments"])),delete m["!comments"],delete m["!legacy"]}f["!id"].rId1&&Zt(i,Pp(s),Tc(f))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,Zt(i,s,ak(t.Strings,t)),a.strs.push(s),wr(t.wbrels,-1,"sharedStrings."+r,nr.SST)),s="xl/workbook."+r,Zt(i,s,Nk(e)),a.workbooks.push(s),wr(t.rels,1,s,nr.WB),s="xl/theme/theme1.xml",Zt(i,s,sO(e.Themes,t)),a.themes.push(s),wr(t.wbrels,-1,"theme/theme1.xml",nr.THEME),s="xl/styles."+r,Zt(i,s,pk(e,t)),a.styles.push(s),wr(t.wbrels,-1,"styles."+r,nr.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",Zt(i,s,e.vbaraw),a.vba.push(s),wr(t.wbrels,-1,"vbaProject.bin",nr.VBA)),s="xl/metadata."+r,Zt(i,s,_k()),a.metadata.push(s),wr(t.wbrels,-1,"metadata."+r,nr.XLMETA),c.length>1&&(s="xl/persons/person.xml",Zt(i,s,bq(c)),a.people.push(s),wr(t.wbrels,-1,"persons/person.xml",nr.PEOPLE)),Zt(i,"[Content_Types].xml",k6(a,t)),Zt(i,"_rels/.rels",Tc(t.rels)),Zt(i,"xl/_rels/workbook."+r+".rels",Tc(t.wbrels)),delete t.revssf,delete t.ssf,i}function dO(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=La(e.slice(0,12));break;case"binary":r=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function vee(e,t){return kt.find(e,"EncryptedPackage")?dee(e,t):Fk(e,t)}function See(e,t){var r,n=e,a=t||{};return a.type||(a.type=er&&Buffer.isBuffer(e)?"buffer":"base64"),r=o6(n,a),pee(r,a)}function Kk(e,t){var r=0;e:for(;r=2&&a[3]===0||a[2]===0&&(a[3]===8||a[3]===9)))return Xu.to_workbook(n,r);break;case 3:case 131:case 139:case 140:return hM.to_workbook(n,r);case 123:if(a[1]===92&&a[2]===114&&a[3]===116)return ck.to_workbook(n,r);break;case 10:case 13:case 32:return yee(n,r);case 137:if(a[1]===80&&a[2]===78&&a[3]===71)throw new Error("PNG Image File is not a spreadsheet");break}return bz.indexOf(a[0])>-1&&a[2]<=12&&a[3]<=31?hM.to_workbook(n,r):yS(e,n,r,i)}function qk(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return yd(t.file,kt.write(e,{type:er?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return kt.write(e,t)}function Iee(e,t){var r=rn(t||{}),n=hee(e,r);return Oee(n,r)}function Oee(e,t){var r={},n=er?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?kt.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if(typeof Deno<"u"&&typeof a=="string"){if(t.type=="binary"||t.type=="base64")return a;a=new Uint8Array(Ng(a))}return t.password&&typeof encrypt_agile<"u"?qk(encrypt_agile(a,t.password),t):t.type==="file"?yd(t.file,a):t.type=="string"?Hr(a):a}function Eee(e,t){var r=t||{},n=DQ(e,r);return qk(n,r)}function Hi(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return Tp(to(n));case"binary":return to(n);case"string":return e;case"file":return yd(t.file,n,"utf8");case"buffer":return er?tl(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):Hi(n,{type:"binary"}).split("").map(function(a){return a.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function bee(e,t){switch(t.type){case"base64":return Tp(e);case"binary":return e;case"string":return e;case"file":return yd(t.file,e,"binary");case"buffer":return er?tl(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function b1(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n0&&(a=0);var f=Ln(l.s.r),m=[],d=[],h=0,p=0,_=Array.isArray(e),S=l.s.r,v=0,g={};_&&!e[S]&&(e[S]=[]);var y=u.skipHidden&&e["!cols"]||[],M=u.skipHidden&&e["!rows"]||[];for(v=l.s.c;v<=l.e.c;++v)if(!(y[v]||{}).hidden)switch(m[v]=fn(v),r=_?e[S][v]:e[m[v]+f],n){case 1:i[v]=v-l.s.c;break;case 2:i[v]=m[v];break;case 3:i[v]=u.header[v-l.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),o=s=Yo(r,null,u),p=g[s]||0,!p)g[s]=1;else{do o=s+"_"+p++;while(g[o]);g[s]=p,g[o]=1}i[v]=o}for(S=l.s.r+a;S<=l.e.r;++S)if(!(M[S]||{}).hidden){var I=Tee(e,l,S,m,n,i,_,u);(I.isempty===!1||(n===1?u.blankrows!==!1:!!u.blankrows))&&(d[h++]=I.row)}return d.length=h,d}var a5=/"/g;function xee(e,t,r,n,a,i,s,o){for(var l=!0,u=[],c="",f=Ln(r),m=t.s.c;m<=t.e.c;++m)if(!!n[m]){var d=o.dense?(e[r]||[])[m]:e[n[m]+f];if(d==null)c="";else if(d.v!=null){l=!1,c=""+(o.rawNumbers&&d.t=="n"?d.v:Yo(d,null,o));for(var h=0,p=0;h!==c.length;++h)if((p=c.charCodeAt(h))===a||p===i||p===34||o.forceQuotes){c='"'+c.replace(a5,'""')+'"';break}c=="ID"&&(c='"ID"')}else d.f!=null&&!d.F?(l=!1,c="="+d.f,c.indexOf(",")>=0&&(c='"'+c.replace(a5,'""')+'"')):c="";u.push(c)}return o.blankrows===!1&&l?null:u.join(s)}function hO(e,t){var r=[],n=t??{};if(e==null||e["!ref"]==null)return"";var a=_r(e["!ref"]),i=n.FS!==void 0?n.FS:",",s=i.charCodeAt(0),o=n.RS!==void 0?n.RS:` +`,l=o.charCodeAt(0),u=new RegExp((i=="|"?"\\|":i)+"+$"),c="",f=[];n.dense=Array.isArray(e);for(var m=n.skipHidden&&e["!cols"]||[],d=n.skipHidden&&e["!rows"]||[],h=a.s.c;h<=a.e.c;++h)(m[h]||{}).hidden||(f[h]=fn(h));for(var p=0,_=a.s.r;_<=a.e.r;++_)(d[_]||{}).hidden||(c=xee(e,a,_,f,s,l,i,n),c!=null&&(n.strip&&(c=c.replace(u,"")),(c||n.blankrows!==!1)&&r.push((p++?o:"")+c)));return delete n.dense,r.join("")}function Zk(e,t){t||(t={}),t.FS=" ",t.RS=` +`;var r=hO(e,t);return r}function Aee(e){var t="",r,n="";if(e==null||e["!ref"]==null)return[];var a=_r(e["!ref"]),i="",s=[],o,l=[],u=Array.isArray(e);for(o=a.s.c;o<=a.e.c;++o)s[o]=fn(o);for(var c=a.s.r;c<=a.e.r;++c)for(i=Ln(c),o=a.s.c;o<=a.e.c;++o)if(t=s[o]+i,r=u?(e[c]||[])[o]:e[t],n="",r!==void 0){if(r.F!=null){if(t=r.F,!r.f)continue;n=r.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}l[l.length]=t+"="+n}return l}function Xk(e,t,r){var n=r||{},a=+!n.skipHeader,i=e||{},s=0,o=0;if(i&&n.origin!=null)if(typeof n.origin=="number")s=n.origin;else{var l=typeof n.origin=="string"?mn(n.origin):n.origin;s=l.r,o=l.c}var u,c={s:{c:0,r:0},e:{c:o,r:s+t.length-1+a}};if(i["!ref"]){var f=_r(i["!ref"]);c.e.c=Math.max(c.e.c,f.e.c),c.e.r=Math.max(c.e.r,f.e.r),s==-1&&(s=f.e.r+1,c.e.r=s+t.length-1+a)}else s==-1&&(s=0,c.e.r=t.length-1+a);var m=n.header||[],d=0;t.forEach(function(p,_){Dn(p).forEach(function(S){(d=m.indexOf(S))==-1&&(m[d=m.length]=S);var v=p[S],g="z",y="",M=$t({c:o+d,r:s+_+a});u=Hp(i,M),v&&typeof v=="object"&&!(v instanceof Date)?i[M]=v:(typeof v=="number"?g="n":typeof v=="boolean"?g="b":typeof v=="string"?g="s":v instanceof Date?(g="d",n.cellDates||(g="n",v=jn(v)),y=n.dateNF||Bt[14]):v===null&&n.nullError&&(g="e",v=0),u?(u.t=g,u.v=v,delete u.w,delete u.R,y&&(u.z=y)):i[M]=u={t:g,v},y&&(u.z=y))})}),c.e.c=Math.max(c.e.c,o+m.length-1);var h=Ln(s);if(a)for(d=0;d=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}else if(typeof t=="string"){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}else throw new Error("Cannot find sheet |"+t+"|")}function _O(){return{SheetNames:[],Sheets:{}}}function gO(e,t,r,n){var a=1;if(!r)for(;a<=65535&&e.SheetNames.indexOf(r="Sheet"+a)!=-1;++a,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var i=r.match(/(^.*?)(\d+)$/);a=i&&+i[2]||0;var s=i&&i[1]||r;for(++a;a<=65535&&e.SheetNames.indexOf(r=s+a)!=-1;++a);}if(Pk(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function Pee(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=wee(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r}function Nee(e,t){return e.z=t,e}function Jk(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function Uee(e,t,r){return Jk(e,"#"+t,r)}function Vee(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})}function Ree(e,t,r,n){for(var a=typeof t!="string"?t:_r(t),i=typeof t=="string"?t:Yt(t),s=a.s.r;s<=a.e.r;++s)for(var o=a.s.c;o<=a.e.c;++o){var l=Hp(e,s,o);l.t="n",l.F=i,delete l.v,s==a.s.r&&o==a.s.c&&(l.f=r,n&&(l.D=!0))}return e}var I_={encode_col:fn,encode_row:Ln,encode_cell:$t,encode_range:Yt,decode_col:zI,decode_row:WI,split_cell:qj,decode_cell:mn,decode_range:aa,format_cell:Yo,sheet_add_aoa:E6,sheet_add_json:Xk,sheet_add_dom:$k,aoa_to_sheet:If,json_to_sheet:kee,table_to_sheet:jk,table_to_book:GQ,sheet_to_csv:hO,sheet_to_txt:Zk,sheet_to_json:D_,sheet_to_html:Hk,sheet_to_formulae:Aee,sheet_to_row_object_array:D_,sheet_get_cell:Hp,book_new:_O,book_append_sheet:gO,book_set_sheet_visibility:Pee,cell_set_number_format:Nee,cell_set_hyperlink:Jk,cell_set_internal_link:Uee,cell_add_comment:Vee,sheet_set_array_formula:Ree,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};class Al extends Error{constructor(t,r,n){super(t),this.name=this.constructor.name,r&&(this.info=r),n&&(this.cause=n),this._oErrorTags}withInfo(t){return this.info=t,this}withCause(t){return this.cause=t,this}static tag(t,r,n){const a=t;a._oErrorTags||(a._oErrorTags=[]);let i;return Error.captureStackTrace?(i={name:"TaggedError",message:r,info:n},Error.captureStackTrace(i,Al.tag)):i=new Fee(r||"",n),a._oErrorTags.length>=Al.maxTags&&(a._oErrorTags[1]===i5?a._oErrorTags.splice(2,1):a._oErrorTags[1]=i5),a._oErrorTags.push(i),t}static getFullInfo(t){const r={};if(!t)return r;const n=t;if(n.cause&&Object.assign(r,Al.getFullInfo(n.cause)),typeof n.info=="object"&&Object.assign(r,n.info),n._oErrorTags)for(const a of n._oErrorTags)Object.assign(r,a.info);return r}static getFullStack(t){if(!t)return"";const r=t;let n=r.stack||"(no stack)";Array.isArray(r._oErrorTags)&&r._oErrorTags.length&&(n+=` +${r._oErrorTags.map(i=>i.stack).join(` +`)}`);const a=r.cause&&Al.getFullStack(r.cause);return a&&(n+=` +caused by: +`+Bee(a)),n}}Al.maxTags=100;class Fee extends Al{}const i5={name:"TaggedError",message:"... dropped tags",stack:"TaggedError: ... dropped tags"};function Bee(e){return e.replace(/^/gm," ")}var Qk=Al;const Hee={"A&L Great Lakes Laboratory - Fort Wayne, IN":{Soil:{name:"A&L Great Lakes Laboratory - Fort Wayne, IN",type:"Soil",analytes:{Clay:{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003"},Sand:{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003"},Silt:{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003"},HCO3_P:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Sodium Bicarbonate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_045",CsvHeader:"HCO3_P"},CA_PCT:{Element:"Base Saturation - Ca",ValueUnit:"%",ExtractionMethod:"EPA 3050 Digestion Acid Recoverable",MeasurementMethod:"Calculated",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",CsvHeader:"CA_PCT"},MG_PCT:{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"MG_PCT"},K_PCT:{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"K_PCT"},NA_PCT:{Element:"Base Saturation - H",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",CsvHeader:"NA_PCT"},B:{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017",CsvHeader:"B"},BUFFER_PH:{Element:"Buffer pH",ValueUnit:"standard pH unit",ExtractionMethod:"SMP",MeasurementMethod:"H+ ISE",ModusTestID:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_009",CsvHeader:"BUFFER_PH"},CA:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:'"ICP, AAS"',UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-NH4AC.05",CsvHeader:"CA"},"Cation Exchange Capacity":{Element:"Cation Exchange Capacity",ValueUnit:"cmol/kg",ExtractionMethod:"Potassium",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_009"},CL:{Element:"Chloride",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"Titration",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CL.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_016",CsvHeader:"CL"},CU:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Hydrochloric Acid",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_CU_010",CsvHeader:"CU"},"Exchangeable Potassium Percentage":{Element:"Exchangeable Potassium Percentage",ValueUnit:"%",ExtractionMethod:"1.0 M KCl",MeasurementMethod:"Calculation",UCUM_ValueUnit:"%",ModusTestID:"S-EKP.19",ModusTestIDv2:"L_MODV2_SOIL_XKP_001"},FE:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"Hydrochloric Acid",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_FE_011",CsvHeader:"FE"},MG:{Element:"Magnesium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_MG_030",CsvHeader:"MG"},MN:{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Hydrochloric Acid",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_MN_009",CsvHeader:"MN"},OM:{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_003",CsvHeader:"OM"},P2:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 2",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_006",CsvHeader:"P2"},P1:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",CsvHeader:"P1"},K:{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:'"ICP, AAS"',UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-NH4AC.05",CsvHeader:"K"},NA:{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_NA_001",CsvHeader:"NA"},NH4:{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4-KCL.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_005",CsvHeader:"NH4"},NO4_N:{Element:"NO4_N",CsvHeader:"NO4_N"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},SO4_S:{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-S-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_S_002",CsvHeader:"SO4_S"},S:{Element:"S",CsvHeader:"S"},ZN:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"Hydrochloric Acid",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_009",CsvHeader:"ZN"}}}},"A&L Western Agricultural Labs - Modesto, CA":{Soil:{name:"A&L Western Agricultural Labs - Modesto, CA",type:"Soil",analytes:{Moisture:{Element:"Moisture",ValueUnit:"%"},"Calcium Carbonate":{Element:"Calcium Carbonate"},AL:{Element:"Aluminum",ValueUnit:"ppm",CsvHeader:"AL"},Moisture2:{Element:"Moisture",ValueUnit:"%"},B:{Element:"Boron",ValueUnit:"ppm",CsvHeader:"B"},B_SAT:{Element:"Base Saturation - B",ValueUnit:"meq/100 g",CsvHeader:"B_SAT"},BUFFER_PH:{Element:"Buffer pH",ValueUnit:"standard pH unit",ExtractionMethod:"Sikora 1",MeasurementMethod:"H+ ISE",ModusTestID:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_007",CsvHeader:"BUFFER_PH"},"C:N Ratio":{Element:"C:N Ratio",ValueUnit:"none"},CA:{Element:"Calcium",ValueUnit:"%",CsvHeader:"CA"},CA_PCT:{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"CA_PCT"},CA_SAT:{Element:"Base Saturation - Mg",ValueUnit:"meq/100 g",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"CA_SAT"},CEC:{Element:"Cation Exchange Capacity",ValueUnit:"meq/100 g",CsvHeader:"CEC"},CL:{Element:"Chloride",ValueUnit:"%",CsvHeader:"CL"},CO3:{Element:"Carbonate",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_004",CsvHeader:"CO3"},CU:{Element:"Copper",ValueUnit:"ppm",CsvHeader:"CU"},EC:{Element:"Electrical Conductivity",CsvHeader:"EC"},ENR:{Element:"Estimated Nitrogen Release",ValueUnit:"lb/ac",ExtractionMethod:"Calculation",MeasurementMethod:"Calculation",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-ENR.19",ModusTestIDv2:"L_MODV2_SOIL_ENR_001",CsvHeader:"ENR"},ESP:{Element:"Exchangeable Sodium Percentage",ValueUnit:"%",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Calculation",UCUM_ValueUnit:"%",ModusTestID:"S-ESP.19",ModusTestIDv2:"L_MODV2_SOIL_XNAP_001",CsvHeader:"ESP"},FE:{Element:"Iron",ValueUnit:"ppm",CsvHeader:"FE"},H:{Element:"Hydrogen",ValueUnit:"meq/100 g",CsvHeader:"H"},H_PCT:{Element:"Base Saturation - H",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",CsvHeader:"H_PCT"},HCO3:{Element:"Bicarbonate",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"meq/L",ModusTestID:"S-HCO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_HCO3_001",CsvHeader:"HCO3"},K:{Element:"Potassium",ValueUnit:"%",CsvHeader:"K"},K_PCT:{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"K_PCT"},EX__LIME:{Element:"Lime Recommendation",ValueUnit:"none",ExtractionMethod:"SMP",MeasurementMethod:"Calculation",UCUM_ValueUnit:"[ston_av]/[acr_us]",ModusTestID:"S-LR-SMP",ModusTestIDv2:"L_MODV2_SOIL_LREC_007",CsvHeader:"EX__LIME"},MG:{Element:"Magnesium",ValueUnit:"%",CsvHeader:"MG"},MG_PCT:{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"MG_PCT"},MG_SAT:{Element:"Base Saturation - Mg",ValueUnit:"meq/100 g",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"MG_SAT"},MN:{Element:"Manganese",ValueUnit:"ppm",CsvHeader:"MN"},MO:{Element:"Molybdenum",ValueUnit:"ppm",CsvHeader:"MO"},NA:{Element:"Sodium",ValueUnit:"%",CsvHeader:"NA"},NA_PCT:{Element:"Base Saturation - Na",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",CsvHeader:"NA_PCT"},NA_SAT:{Element:"Base Saturation - Na",ValueUnit:"meq/100 g",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",CsvHeader:"NA_SAT"},NH4:{Element:"Ammonium-Nitrogen",ValueUnit:"ppm",CsvHeader:"NH4"},NO3_N:{Element:"Nitrate-Nitrogen",ValueUnit:"ppm",CsvHeader:"NO3_N"},OM:{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"OM"},"Organic Carbon":{Element:"Organic Carbon"},Sand:{Element:"Sand",ValueUnit:"%"},SAT_PCT:{Element:"Saturation Paste %",ValueUnit:"%",ExtractionMethod:"Balance",MeasurementMethod:"Calculated",UCUM_ValueUnit:"%",ModusTestID:"S-SP%.19",ModusTestIDv2:"L_MODV2_SOIL_SS",CsvHeader:"SAT_PCT"},P1:{Element:"Phosphorus",ValueUnit:"ppm",ExtractionMethod:"Bray 1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",CsvHeader:"P1"},P2:{Element:"Phosphorus",ValueUnit:"ppm",CsvHeader:"P2"},HCO3_P:{Element:"Phosphorus",ValueUnit:"ppm",CsvHeader:"HCO3_P"},S:{Element:"Sulfur",ValueUnit:"%",CsvHeader:"S"},SAR:{Element:"Sodium Adsorption Ratio",ValueUnit:"Ratio",CsvHeader:"SAR"},"Silt+Clay":{Element:"Silt+Clay",ValueUnit:"%"},SO4_S:{Element:"Sulfate-Sulfur",ValueUnit:"ppm",CsvHeader:"SO4_S"},PH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Saturated Paste",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-SP.02",ModusTestIDv2:"L_MODV2_SOIL_PH_013",CsvHeader:"PH"},S__SALTS:{Element:"Soluble Salts",ValueUnit:"mmhos/cm",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001",CsvHeader:"S__SALTS"},TN:{Element:'"Nitrogen, Total"',CsvHeader:"TN"},ZN:{Element:"Zinc",ValueUnit:"ppm",CsvHeader:"ZN"},K_EXT:{Element:"K_EXT",ValueUnit:"ppm",CsvHeader:"K_EXT"},N:{Element:"Nitrogen",ValueUnit:"%",CsvHeader:"N"},P:{Element:"Phosphorus",ValueUnit:"%",CsvHeader:"P"},PO4_P:{Element:"Phosphate",ValueUnit:"ppm",CsvHeader:"PO4_P"}}}},"Ag Test LLC - Kittitas, WA":{Soil:{name:"Ag Test LLC - Kittitas, WA",type:"Soil",analytes:{Iron:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003"},"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"}}}},"AGQ Labs USA - Oxnard, CA":{Soil:{name:"AGQ Labs USA - Oxnard, CA",type:"Soil",analytes:{Copper:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_002"},"Electrical Conductivity":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:5.03",ModusTestIDv2:"L_MODV2_SOIL_EC_003"},Iron:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003"},Manganese:{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_002"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:2.5.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_007"},Zinc:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_002"}}}},"AgroLab, Inc. - Harrington, DE":{Soil:{name:"AgroLab, Inc. - Harrington, DE",type:"Soil",analytes:{pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"}}}},"AGVISE Laboratories - Benson, MN & Northwood, ND":{Soil:{name:"AGVISE Laboratories - Benson, MN & Northwood, ND",type:"Soil",analytes:{"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"},"Permanganate-Oxidizable Carbon (POXC)":{Element:"Permanganate-Oxidizable Carbon (POXC)",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Permanganate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-AC-KMNO4.01",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_001"},"ACE nitrogen (soil protein index)":{Element:"ACE nitrogen (soil protein index)",ValueUnit:"g/kg",ExtractionMethod:"Soil Protein",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/g",ModusTestID:"S-SP-ACE-OT",ModusTestIDv2:"L_MODV2_SOIL_ACEN_001"},"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Calcium Chloride",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_002"},pH2:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_010"},pH3:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},"Aggregate Stability":{Element:"Aggregate Stability",ValueUnit:"%",ExtractionMethod:"Incubation",MeasurementMethod:"Visual",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_002"},"Electrical Conductivity":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001"}}}},"American Agricultural Lab - Olsen's Agricultural Lab, McCook, NE":{Soil:{name:"American Agricultural Lab - Olsen's Agricultural Lab, McCook, NE",type:"Soil",analytes:{"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"},"Electrical Conductivity":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001"}}}},"BI labs":{Soil:{name:"BI labs",type:"Soil",analytes:{"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:2.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_006"},"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"},"Organic Carbon":{Element:"Organic Carbon",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)"},Antioxidants:{Element:"Antioxidants",ValueUnit:"FRAP units per 100 g Fresh weight",ExtractionMethod:"FRAP",MeasurementMethod:"Reflectance"},Brix:{Element:"Brix",MeasurementMethod:"Refraction"},Calcium:{Element:"Calcium",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"},Potassium:{Element:"Potassium",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"},Magnesium:{Element:"Magnesium",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"},Phosphorus:{Element:"Phosphorus",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"},"Polyphenols (total)":{Element:"Polyphenols (total)",ValueUnit:"mg GAE per 100 g Fresh Weight",ExtractionMethod:"Folin Ciocalteau Method",MeasurementMethod:"Reflectance"},"Protein (total)":{Element:"Protein (total)",ValueUnit:"%",ExtractionMethod:"Lowry Method",MeasurementMethod:"Reflectance"},Sulfur:{Element:"Sulfur",ValueUnit:"mg per 100 g fresh weight",MeasurementMethod:"x ray fluorescence spectroscopy"}}}},"Brookside Laboratories, Inc. - New Bremen, OH":{Soil:{name:"Brookside Laboratories, Inc. - New Bremen, OH",type:"Soil",analytes:{"Estimated Nitrogen Release":{Element:"Estimated Nitrogen Release",ValueUnit:"lb/ac",ExtractionMethod:"Calculation",MeasurementMethod:"Calculation",UCUM_ValueUnit:"[lb_av]/[acr_us]",ModusTestIDv2:"L_MODV2_SOIL_ENR_001"},"Organic Matter":{Element:"Organic Matter",CsvHeader:"Organic Matter"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestIDv2:"L_MODV2_SOIL_PH_005",CsvHeader:"pH"},"SMP Buffer":{Element:"Buffer pH",ValueUnit:"standard pH unit",ExtractionMethod:"SMP",MeasurementMethod:"H+ ISE",ModusTestIDv2:"L_MODV2_SOIL_BPH_009",CsvHeader:"SMP Buffer"},"Ca H3A":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CA_014",CsvHeader:"Ca H3A"},"Mg H3A":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_MG_015",CsvHeader:"Mg H3A"},"K H3A":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_K_019",CsvHeader:"K H3A"},"Na H3A":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_NA_009",CsvHeader:"Na H3A"},"S H3A":{Element:"Sulfur",CsvHeader:"S H3A"},"B H3A":{Element:"Boron",CsvHeader:"B H3A"},"Fe H3A":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_FE_010",CsvHeader:"Fe H3A"},"Mn H3A":{Element:"Manganese",CsvHeader:"Mn H3A"},"Cu H3A":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CU_009",CsvHeader:"Cu H3A"},"Zn H3A":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",CsvHeader:"Zn H3A"},"Al H3A":{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_AL_010",CsvHeader:"Al H3A"},"P H3A":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_P_020",CsvHeader:"P H3A"},"Soluble Salts":{Element:"Soluble Salts",CsvHeader:"Soluble Salts"},"NO3 H3A":{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",CsvHeader:"NO3 H3A"},"PO4 H3A":{Element:"Phosphate",CsvHeader:"PO4 H3A"},"one day C":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001",CsvHeader:"one day C"},WEOC:{Element:"Water Extractable Organic Carbon (WEOC)",ValueUnit:"g",ExtractionMethod:"Slurry",MeasurementMethod:"TOC Analyzer",ModusTestIDv2:"L_MODV2_SOIL_WEOC_001",CsvHeader:"WEOC"},WEN:{Element:"Water Extractable Nitrogen (WEN)",ValueUnit:"mg/kg",ExtractionMethod:"Water / Reciprocating Shaker / Centrifuge",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_WEN_001",CsvHeader:"WEN"},"NH4 H3A":{Element:"Ammonium",CsvHeader:"NH4 H3A"}}}},"Cornell Soil Health Lab":{Soil:{name:"Cornell Soil Health Lab",type:"Soil",analytes:{"Active Carbon":{Element:"Potential Oxidizable Carbon",ValueUnit:"mg/kg",ExtractionMethod:'"Permanganate, Oxidizable Carbon"',MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-POXC.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTOXC_001",CsvHeader:"Active Carbon"},"Moisture Content, Moisture Content":{Element:"Moisture Content, Moisture Content",ValueUnit:"%",ExtractionMethod:"15 Bar Moisture Tension, Oven",MeasurementMethod:"Gravimetric, Gravimetric",UCUM_ValueUnit:"%, %",ModusTestIDv2:"L_MODV2_SOIL_GWC_15BAR_001,L_MODV2_SOIL_GWC_001"},"Bulk Density":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Core Extraction",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestIDv2:"L_MODV2_SOIL_BD_003"},"Calcium Carbonate":{Element:"Calcium Carbonate",ValueUnit:"%",ExtractionMethod:"Pressure Calcimeter",MeasurementMethod:"CO2 Displacement",UCUM_ValueUnit:"%",ModusTestID:"S-CACO3.14",ModusTestIDv2:"L_MODV2_SOIL_CACO3_003"},"4-day respiration":{Element:"Electrical Conductivity",ValueUnit:"mg/g",ExtractionMethod:"CO2 Respiration",MeasurementMethod:"Conductivity",UCUM_ValueUnit:"mg/g",ModusTestIDv2:"L_MODV2_SOIL_RESP_4DAY_C_NAOH_OT",CsvHeader:"4-day respiration"},"Soluble Salts":{Element:"Soluble Salts",ValueUnit:"mmho/cm",ExtractionMethod:"5:1 Water Extraction",MeasurementMethod:"Calculated",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-SS.19"},"ACE Soil Protein Index,protein":{Element:"ACE nitrogen (soil protein index)",ValueUnit:"g/kg",ExtractionMethod:"Soil Protein",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/g",ModusTestID:"S-SP-ACE-OT",ModusTestIDv2:"L_MODV2_SOIL_ACEN_001",CsvHeader:"ACE Soil Protein Index,protein"},Aluminum:{Element:"Al (Mod Morgan)",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-Al-MMOR-OT",ModusTestIDv2:"L_MOD2_SOIL_MMOR_AL_OT",CsvHeader:"Aluminum"},Boron:{Element:"B (Mod Morgan)",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-MMOR-OT",ModusTestIDv2:"L_MOD2_SOIL_MMOR_B_OT",CsvHeader:"Boron"},Calcium:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_024",CsvHeader:"Calcium"},Copper:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-Cu-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_CU_017",CsvHeader:"Copper"},Iron:{Element:"Fe (Mod Morgan)",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-Fe-MMOR-OT",ModusTestIDv2:"L_MOD2_SOIL_MMOR_FE_OT",CsvHeader:"Iron"},"Extractable Potassium,Potassium":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_K_034",CsvHeader:"Extractable Potassium,Potassium"},Magnesium:{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_024",CsvHeader:"Magnesium"},"Minor Elements,Additional nutrients score":{Element:'"Plant nutrient suite- Mg, Fe,Mn,Z, Al,Ca,Cu,S,B", Unnamed record',ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",CsvHeader:"Minor Elements,Additional nutrients score"},Manganese:{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_MN_017",CsvHeader:"Manganese"},"Extractable Phosphorus,Phosphorus":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_036",CsvHeader:"Extractable Phosphorus,Phosphorus"},Sulfer:{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-S-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_S_028",CsvHeader:"Sulfer"},Zinc:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"Modified Morgan",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_ZN_018",CsvHeader:"Zinc"},"soil moisture 15bar":{Element:"Moisture Content",ValueUnit:"%",ExtractionMethod:"15 Bar Moisture Tension",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-15BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_15BAR_001",CsvHeader:"soil moisture 15bar"},"soil moisture 0.1bar":{Element:"Moisture",ValueUnit:"%",ExtractionMethod:"0.1 Bar Moisture Tension",MeasurementMethod:"Pressure Plate",UCUM_ValueUnit:"%",ModusTestID:"S-MOIST-0.1BMT-PP-OT",ModusTestIDv2:"L_MOD2_SOIL_MOIST_0.1_PP_OT",CsvHeader:"soil moisture 0.1bar"},"Organic Matter,Loss on Ignition %":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"Organic Matter,Loss on Ignition %"},"Permanganate-Oxidizable Carbon (POXC)":{Element:"Permanganate-Oxidizable Carbon (POXC)",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Permanganate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-AC-KMNO4.01",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_002"},"modeling of collected data":{Element:"modeling of collected data",ValueUnit:"g/kg",ExtractionMethod:"modeling of collected data to predict ACE protein",MeasurementMethod:"prediction of ACE protein"},"Available Water Capacity,AWC 0.1-15":{Element:"modeling of collected data",ValueUnit:"grams of water per grams of soil",ExtractionMethod:"modeling of collected data to predict AWC",MeasurementMethod:"prediction of Available Water Capacity",CsvHeader:"Available Water Capacity,AWC 0.1-15"},"Soil Organic Carbon":{Element:"Soil Organic Carbon",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-OM-CORNELL-OT",ModusTestIDv2:"L_MOD2_SOIL_OC_OT",CsvHeader:"Soil Organic Carbon"},"Soil pH":{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:2.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_006",CsvHeader:"Soil pH"},"Soil Respiration":{Element:"CO2 Respiration",ValueUnit:"mg CO2 / g dry weight soil/ 4 days",ExtractionMethod:"CO2 Respiration",MeasurementMethod:"Conductivity",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_RESP_4DAY_C_KOH_OT",CsvHeader:"Soil Respiration"},"Measured Soil Textural Class,texture":{Element:"Textural Classification",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"Gravimetric",ModusTestID:"S-TEXTURE-SS-TA-USDA-OT",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_001",CsvHeader:"Measured Soil Textural Class,texture"},"Clay.clay%":{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.11",ModusTestIDv2:"L_MODV2_SOIL_CLAY_004",CsvHeader:"Clay.clay%"},"Sand,sand%":{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SAND_001",CsvHeader:"Sand,sand%"},"Silt,silt%":{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SILT_004",CsvHeader:"Silt,silt%"},"Subsurface Hardness":{Element:"Sub-surface hardness",ValueUnit:"pounds per square inch (psi)",ExtractionMethod:"Compression pressure",MeasurementMethod:"Steady insertion in field soil",ModusTestID:"S-SSH-CORNELL-OT",CsvHeader:"Subsurface Hardness"},"Surface Hardness":{Element:"Surface Hardness",ValueUnit:"pounds per square inch (psi)",ExtractionMethod:"resistance",MeasurementMethod:"soil compaction tester (penetrometer)",CsvHeader:"Surface Hardness"},"Total C":{Element:'"Carbon, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-TC-COMB.15",ModusTestIDv2:"L_MODV2_SOIL_TC_001",CsvHeader:"Total C"},"Total Carbon:Total Nitrogen":{Element:"Total Carbon:Total Nitrogen",ValueUnit:"%",ExtractionMethod:"Dry Combustion",MeasurementMethod:"Calculation",ModusTestID:"S-TC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TCTN_001"},"Total N":{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002",CsvHeader:"Total N"},"Aggregate Stability,wet aggregate stability":{Element:"Aggregate Stability",ValueUnit:"%",ExtractionMethod:"Slaking",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-AS-S-DW-G-OT",ModusTestIDv2:"L_MOD2_SOIL_DW_G_OT",CsvHeader:"Aggregate Stability,wet aggregate stability"}}}},"Cquester Analytics":{Soil:{name:"Cquester Analytics",type:"Soil",analytes:{"Bulk density (corrected for coarse material)":{Element:"Bulk Density",ValueUnit:"g/cm3",CsvHeader:"Bulk density (corrected for coarse material)"},"Inorganic carbon":{Element:"Inorganic carbon",ValueUnit:"%",CsvHeader:"Inorganic carbon"},"Organic carbon":{Element:"Organic Carbon",ValueUnit:"%",CsvHeader:"Organic carbon"},"Total nitrogen":{Element:'"Nitrogen, Total"',ValueUnit:"%",CsvHeader:"Total nitrogen"},pH:{Element:"pH",ValueUnit:"standard pH unit",CsvHeader:"pH"},"Sand content":{Element:"Sand",ValueUnit:"%",CsvHeader:"Sand content"},"Silt content":{Element:"Silt",ValueUnit:"%",CsvHeader:"Silt content"},"Clay content":{Element:"Clay",ValueUnit:"%",CsvHeader:"Clay content"},"Dissolved organic matter mass":{Element:"Dissolved organic matter mass",ValueUnit:"%",CsvHeader:"Dissolved organic matter mass"},"Dissolved organic matter carbon":{Element:"Dissolved organic matter carbon",ValueUnit:"%",CsvHeader:"Dissolved organic matter carbon"},"Light particulate organic matter mass":{Element:"Light particulate organic matter mass",ValueUnit:"%",CsvHeader:"Light particulate organic matter mass"},"Light particulate organic matter carbon":{Element:"Light particulate organic matter carbon",ValueUnit:"%",CsvHeader:"Light particulate organic matter carbon"},"Heavy particulate organic matter mass":{Element:"Heavy particulate organic matter mass",ValueUnit:"%",CsvHeader:"Heavy particulate organic matter mass"},"Heavy particulate organic matter carbon":{Element:"Heavy particulate organic matter carbon",ValueUnit:"%",CsvHeader:"Heavy particulate organic matter carbon"},"Mineral associated organic matter mass":{Element:"Mineral associated organic matter mass",ValueUnit:"%",CsvHeader:"Mineral associated organic matter mass"},"Mineral associated organic matter carbon":{Element:"Mineral associated organic matter carbon",ValueUnit:"%",CsvHeader:"Mineral associated organic matter carbon"}}}},"Demo Lab":{Soil:{name:"Demo Lab",type:"Soil",analytes:{pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Calcium Chloride",MeasurementMethod:"H+ ISE",ModusTestIDv2:"L_MODV2_SOIL_PH_004",CsvHeader:"pH"},"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"mg/kg",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"}}}},"Kuo Testing Laboratories":{Soil:{name:"Kuo Testing Laboratories",type:"Soil",analytes:{Al_DTPA:{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"DTPA-Sorbitol",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_AL_006",CsvHeader:"Al_DTPA"},AlMeh:{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_AL_012",CsvHeader:"AlMeh"},AlSatPas:{Element:"Aluminum",ValueUnit:"mg/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/L",ModusTestIDv2:"L_MODV2_SOIL_AL_022",CsvHeader:"AlSatPas"},As_DTPA:{Element:"Arsenic",CsvHeader:"As_DTPA"},B:{Element:"Boron",CsvHeader:"B"},Ba_DTPA:{Element:"Barium",CsvHeader:"Ba_DTPA"},Be_DTPA:{Element:"Be_DTPA",CsvHeader:"Be_DTPA"},BH3A:{Element:"Boron",CsvHeader:"BH3A"},Bicarb:{Element:"Bicarbonate",CsvHeader:"Bicarb"},Biomass:{Element:"Biomass",CsvHeader:"Biomass"},BMeh:{Element:"Boron",CsvHeader:"BMeh"},BSatPas:{Element:"Boron",CsvHeader:"BSatPas"},Ca:{Element:"Calcium",CsvHeader:"Ca"},Ca_SAR:{Element:"Ca_SAR",CsvHeader:"Ca_SAR"},CaH3A:{Element:"CaH3A",CsvHeader:"CaH3A"},CaMeh:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CA_014",CsvHeader:"CaMeh"},CaSatPas:{Element:"Calcium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestIDv2:"L_MODV2_SOIL_CA_031",CsvHeader:"CaSatPas"},CCE:{Element:"CCE",CsvHeader:"CCE"},Cd_DTPA:{Element:"Cadmium",CsvHeader:"Cd_DTPA"},CEC:{Element:"Cation Exchange Capacity",CsvHeader:"CEC"},Cl:{Element:"Chloride",CsvHeader:"Cl"},Clay:{Element:"Clay",CsvHeader:"Clay"},Co_DTPA:{Element:"Cobalt",CsvHeader:"Co_DTPA"},CO2:{Element:"CO2 Respiration",CsvHeader:"CO2"},Cr_DTPA:{Element:"Chromium",CsvHeader:"Cr_DTPA"},Cu:{Element:"Copper",CsvHeader:"Cu"},CuH3A:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CU_009",CsvHeader:"CuH3A"},CuMeh:{Element:"Copper",CsvHeader:"CuMeh"},CuSatPas:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_CU_022",CsvHeader:"CuSatPas"},Density:{Element:"Bulk Density",CsvHeader:"Density"},ECE:{Element:"ECE",CsvHeader:"ECE"},ecSP:{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestIDv2:"L_MODV2_SOIL_EC_004",CsvHeader:"ecSP"},Eff:{Element:"Eff",CsvHeader:"Eff"},ESP:{Element:"Exchangeable Sodium Percentage",ValueUnit:"%",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Calculation",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_XNAP_001",CsvHeader:"ESP"},Fe:{Element:"Iron",CsvHeader:"Fe"},FeH3A:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_FE_010",CsvHeader:"FeH3A"},FeMeh:{Element:"Iron",CsvHeader:"FeMeh"},FeSatPas:{Element:"Iron",ValueUnit:"mg/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/L",ModusTestIDv2:"L_MODV2_SOIL_FE_021",CsvHeader:"FeSatPas"},H2O_Na:{Element:"H2O_Na",CsvHeader:"H2O_Na"},K:{Element:"Potassium",CsvHeader:"K"},KH3A:{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_K_019",CsvHeader:"KH3A"},KMeh:{Element:"KMeh",CsvHeader:"KMeh"},KSatPas:{Element:"Potassium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestIDv2:"L_MODV2_SOIL_K_042",CsvHeader:"KSatPas"},LOI:{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"LOI"},Mg:{Element:"Magnesium",CsvHeader:"Mg"},Mg_SAR:{Element:"Magnesium",CsvHeader:"Mg_SAR"},MgH3A:{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_MG_015",CsvHeader:"MgH3A"},MgMeh:{Element:"Magnesium",CsvHeader:"MgMeh"},MgSatPas:{Element:"Magnesium",CsvHeader:"MgSatPas"},MinN:{Element:"MinN",CsvHeader:"MinN"},Mn:{Element:"Manganese",CsvHeader:"Mn"},MnH3A:{Element:"Manganese",CsvHeader:"MnH3A"},MnMeh:{Element:"Manganese",CsvHeader:"MnMeh"},MnSatPas:{Element:"Manganese",CsvHeader:"MnSatPas"},Mo_DTPA:{Element:"Molybdenum",CsvHeader:"Mo_DTPA"},Moisture:{Element:"Moisture",CsvHeader:"Moisture"},Na:{Element:"Sodium",CsvHeader:"Na"},Na_SAR:{Element:"Sodium",CsvHeader:"Na_SAR"},NaH3A:{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_NA_009",CsvHeader:"NaH3A"},NaMeh:{Element:"Sodium",CsvHeader:"NaMeh"},NaSatPas:{Element:"Sodium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestIDv2:"L_MODV2_SOIL_NA_019",CsvHeader:"NaSatPas"},NH4:{Element:"Ammonium",CsvHeader:"NH4"},Ni_DTPA:{Element:"Nickel",CsvHeader:"Ni_DTPA"},NO2:{Element:"Nitrite-Nitrogen",CsvHeader:"NO2"},NO3:{Element:"Nitrate",CsvHeader:"NO3"},OM:{Element:"Organic Matter",CsvHeader:"OM"},P_Morgan:{Element:"Phosphorus",CsvHeader:"P_Morgan"},Pb_DTPA:{Element:"Lead",CsvHeader:"Pb_DTPA"},PBic:{Element:"PBic",CsvHeader:"PBic"},PBray:{Element:"Phosphorus",CsvHeader:"PBray"},PBrayP2:{Element:"Phosphorus",CsvHeader:"PBrayP2"},pH:{Element:"pH",CsvHeader:"pH"},PH3A:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_P_020",CsvHeader:"PH3A"},phSP:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Saturated Paste",MeasurementMethod:"H+ ISE",ModusTestIDv2:"L_MODV2_SOIL_PH_013",CsvHeader:"phSP"},PMeh:{Element:"Phosphorus",CsvHeader:"PMeh"},PMN:{Element:"PMN",CsvHeader:"PMN"},PSatPas:{Element:"Phosphorus",CsvHeader:"PSatPas"},S_DTPA:{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"DTPA-Sorbitol",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_S_015",CsvHeader:"S_DTPA"},Sand:{Element:"Sand",CsvHeader:"Sand"},SAR:{Element:"Sodium Adsorption Ratio",CsvHeader:"SAR"},Sb_DTPA:{Element:"Antimony",CsvHeader:"Sb_DTPA"},Se_DTPA:{Element:"Selenium",CsvHeader:"Se_DTPA"},SH3A:{Element:"Sulfur",CsvHeader:"SH3A"},Si_DTPA:{Element:"Silicon",CsvHeader:"Si_DTPA"},Silt:{Element:"Silt",CsvHeader:"Silt"},SMeh:{Element:"Sulfur",CsvHeader:"SMeh"},SMP_Qtr:{Element:"SMP_Qtr",CsvHeader:"SMP_Qtr"},SMPBuffer:{Element:"SMPBuffer",CsvHeader:"SMPBuffer"},SO4:{Element:"Sulfate-Sulfur",CsvHeader:"SO4"},Sr_DTPA:{Element:"Strontium",CsvHeader:"Sr_DTPA"},SS:{Element:"Soluble Salts",CsvHeader:"SS"},SSatPas:{Element:"Sulfur",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"meq/L",ModusTestIDv2:"L_MODV2_SOIL_S_036",CsvHeader:"SSatPas"},Ti_DTPA:{Element:"Ti_DTPA",CsvHeader:"Ti_DTPA"},TICarb:{Element:"TICarb",CsvHeader:"TICarb"},TKN:{Element:"TKN",CsvHeader:"TKN"},TOCarb:{Element:'"Organic Carbon, Total"',CsvHeader:"TOCarb"},TotalAl:{Element:'"Aluminum, Total"',CsvHeader:"TotalAl"},TotalB:{Element:"TotalB",CsvHeader:"TotalB"},TotalC:{Element:'"Carbon, Total"',CsvHeader:"TotalC"},TotalCa:{Element:"TotalCa",CsvHeader:"TotalCa"},TotalCu:{Element:"TotalCu",CsvHeader:"TotalCu"},TotalFe:{Element:"TotalFe",CsvHeader:"TotalFe"},TotalK:{Element:'"Potassium, Total"',CsvHeader:"TotalK"},TotalMg:{Element:"TotalMg",CsvHeader:"TotalMg"},TotalMn:{Element:"TotalMn",CsvHeader:"TotalMn"},TotalMo:{Element:"TotalMo",CsvHeader:"TotalMo"},TotalNa:{Element:"TotalNa",CsvHeader:"TotalNa"},TotalP:{Element:'"Phosphorus, Total "',CsvHeader:"TotalP"},TotalS:{Element:'"Sulfur, Total"',CsvHeader:"TotalS"},TotalZn:{Element:"TotalZn",CsvHeader:"TotalZn"},TVS:{Element:"TVS",CsvHeader:"TVS"},V_DTPA:{Element:"V_DTPA",CsvHeader:"V_DTPA"},WHC:{Element:"WHC",CsvHeader:"WHC"},Zn:{Element:"Zinc",CsvHeader:"Zn"},ZnH3A:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",CsvHeader:"ZnH3A"},ZnMeh:{Element:"Zinc",CsvHeader:"ZnMeh"},ZnSatPas:{Element:"Zinc",ValueUnit:"mg/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/L",ModusTestIDv2:"L_MODV2_SOIL_ZN_024",CsvHeader:"ZnSatPas"},MNaasi:{Element:"MNaasi",CsvHeader:"MNaasi"},MNaasi_Dead:{Element:"MNaasi_Dead",CsvHeader:"MNaasi_Dead"},MHapla:{Element:"MHapla",CsvHeader:"MHapla"},MHapla_Dead:{Element:"MHapla_Dead",CsvHeader:"MHapla_Dead"},MChit:{Element:"MChit",CsvHeader:"MChit"},MChit_Dead:{Element:"MChit_Dead",CsvHeader:"MChit_Dead"},RootLesion:{Element:"RootLesion",CsvHeader:"RootLesion"},RootLesion_Dead:{Element:"RootLesion_Dead",CsvHeader:"RootLesion_Dead"},StubbyRoot:{Element:"StubbyRoot",CsvHeader:"StubbyRoot"},StubbyRoot_Dead:{Element:"StubbyRoot_Dead",CsvHeader:"StubbyRoot_Dead"},Stunt:{Element:"Stunt",CsvHeader:"Stunt"},Pin:{Element:"Pin",CsvHeader:"Pin"},Spiral:{Element:"Spiral",CsvHeader:"Spiral"},Stem:{Element:"Stem",CsvHeader:"Stem"},Ring:{Element:"Ring",CsvHeader:"Ring"},Dagger:{Element:"Dagger",CsvHeader:"Dagger"},Sheath:{Element:"Sheath",CsvHeader:"Sheath"},LarvalCyst:{Element:"LarvalCyst",CsvHeader:"LarvalCyst"},Activity:{Element:"Activity",CsvHeader:"Activity"},Total:{Element:"Total",CsvHeader:"Total"},Sikora:{Element:"Sikora",CsvHeader:"Sikora"}}}},"Logan Labs":{Soil:{name:"Logan Labs",type:"Soil",analytes:{"Base Saturation - Ca":{Element:"Base Saturation - Ca",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CABS_001"},"Base Saturation - K":{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001"},"Base Saturation - Mg":{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001"},"Base Saturation - Na":{Element:"Base Saturation - Na",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001"},Clay:{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003"},Sand:{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003"},Silt:{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003"},Aluminum:{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-AL-M3.05",ModusTestIDv2:"L_MODV2_SOIL_AL_012"},Bicarbonate:{Element:"Bicarbonate",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-HCO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_002"},Boron:{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017"},Calcium:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021"},Carbonate:{Element:"Carbonate",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_004"},Chloride:{Element:"Chloride",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Ion Selective Electrode",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CL-SP.02",ModusTestIDv2:"L_MODV2_SOIL_CL_014"},"Electrical Conductivity":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:2.03",ModusTestIDv2:"L_MODV2_SOIL_EC_002"},Copper:{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CU_014"},Iron:{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-M3.05",ModusTestIDv2:"L_MODV2_SOIL_FE_015"},Magnesium:{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022"},Manganese:{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015"},"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},Phosphorus:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-M3.04",ModusTestIDv2:"L_MODV2_SOIL_P_033"},Potassium:{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-M3.05",ModusTestIDv2:"L_MODV2_SOIL_K_031"},Sodium:{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_NA_013"},"Sodium Adsorption Ratio":{Element:"Sodium Adsorption Ratio",ValueUnit:"Ratio",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Calculation",ModusTestID:"S-SAR-SP.00",ModusTestIDv2:"L_MODV2_SOIL_SAR_003"},"Soluble Salts":{Element:"Soluble Salts",ValueUnit:"mg/kg",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001"},Sulfur:{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-S-M3.05",ModusTestIDv2:"L_MODV2_SOIL_S_026"},"Cation Exchange Capacity":{Element:"Cation Exchange Capacity",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_001"},Zinc:{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_015"}}}},"MSU - Rabin's Methods":{Soil:{name:"MSU - Rabin's Methods",type:"Soil",analytes:{Phosphorus:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004"},"Bulk Density":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Core Extraction",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Core.00",ModusTestIDv2:"L_MODV2_SOIL_BD_003"},Calcium:{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021"},"Cation Exchange Capacity":{Element:"Cation Exchange Capacity",ValueUnit:"cmol/kg",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008"},Clay:{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.11",ModusTestIDv2:"L_MODV2_SOIL_CLAY_004"},"Ammonium-Nitrogen":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4N-2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_008"},Potassium:{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-M3.05",ModusTestIDv2:"L_MODV2_SOIL_K_031"},Magnesium:{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022"},"Potential Mineralizable Nitrogen, Potentially Mineralizable Nitrogen (PMN)":{Element:"Potential Mineralizable Nitrogen, Potentially Mineralizable Nitrogen (PMN)",ValueUnit:"mg/kg",ExtractionMethod:"Permanganate Mineralizable Nitrogen, Potassium Chloride",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-PMN.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTMN_001"},pH:{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005"},"Potential Oxidizable Carbon":{Element:"Potential Oxidizable Carbon",ValueUnit:"mg/kg",ExtractionMethod:'"Permanganate, Oxidizable Carbon"',MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-POXC.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTOXC_001"},Sand:{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SAND_004"},Silt:{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SILT_004"},"Organic Matter":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Walkley-Black",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-WB.01.09",ModusTestIDv2:"L_MODV2_SOIL_OM_005"},'"Nitrogen, Total"':{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002"}}}},"RegenAg Labs":{Soil:{name:"RegenAg Labs",type:"Soil",analytes:{"% Clay":{Element:"Clay",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003",CsvHeader:"% Clay"},"% Sand":{Element:"Sand",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003",CsvHeader:"% Sand"},"% Silt":{Element:"Silt",ValueUnit:"%",ExtractionMethod:"Sodium Hexametaphosphate Solution / Electrical Mixer",MeasurementMethod:"Hydrometer",UCUM_ValueUnit:"%",ModusTestID:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003",CsvHeader:"% Silt"},"1:1 Electrical Conductivity, mmho/cm":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"EC Slurry",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001",CsvHeader:"1:1 Electrical Conductivity, mmho/cm"},"1N KCl-Ammonium,1N KCl-NH4":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4-KCL.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_005",CsvHeader:"1N KCl-Ammonium,1N KCl-NH4"},"1N KCl-Nitrate,1N KCl-NO3":{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Potassium Chloride",MeasurementMethod:"Cd Red/Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NO3-KCL.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_013",CsvHeader:"1N KCl-Nitrate,1N KCl-NO3"},"Gram(+):Gram(-),Gram+:Gram-":{Element:"Gram(+):Gram(-),Gram+:Gram-",CsvHeader:"Gram(+):Gram(-),Gram+:Gram-"},"Base Saturation":{Element:"Base Saturation",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001",CsvHeader:"Base Saturation"},"Bray1-Phosphate,Bray P1":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",CsvHeader:"Bray1-Phosphate,Bray P1"},"Bray2-Phosphate,Bray P2":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Bray 2",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_006",CsvHeader:"Bray2-Phosphate,Bray P2"},"Bulk Density":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Core Extraction",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Core.00",ModusTestIDv2:"L_MODV2_SOIL_BD_003",CsvHeader:"Bulk Density"},"Bulk Density Coarse":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Coarse",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Coarse.15",ModusTestIDv2:"L_MODV2_SOIL_BD_002",CsvHeader:"Bulk Density Coarse"},"Bulk Density Fine":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Fine",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Fine.15",ModusTestIDv2:"L_MODV2_SOIL_BD_004",CsvHeader:"Bulk Density Fine"},"Bulk Density Total Dry Weight":{Element:"Bulk Density",ValueUnit:"g/cm3",ExtractionMethod:"Scoop",MeasurementMethod:"Weight",UCUM_ValueUnit:"g/cm3",ModusTestID:"S-BD-Scoop.00",ModusTestIDv2:"L_MODV2_SOIL_BD_005",CsvHeader:"Bulk Density Total Dry Weight"},"Calcium,% Ca Sat":{Element:"Base Saturation - Ca",ValueUnit:"%",ExtractionMethod:"EPA 3050 Digestion Acid Recoverable",MeasurementMethod:"Calculated",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",CsvHeader:"Calcium,% Ca Sat"},"Calcium,M3-% Ca Sat":{Element:"Base Saturation - Ca",ValueUnit:"%",ExtractionMethod:"EPA 3050 Digestion Acid Recoverable",MeasurementMethod:"Calculated",UCUM_ValueUnit:"%",ModusTestID:"S-BS-CA.19",CsvHeader:"Calcium,M3-% Ca Sat"},"CaNO3-Chloride,CaNO3-Cl":{Element:"Chloride",ValueUnit:"ppm",ExtractionMethod:"Calcium Nitrate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-CL-HG.01",ModusTestIDv2:"L_MODV2_SOIL_CL_004",CsvHeader:"CaNO3-Chloride,CaNO3-Cl"},CEC:{Element:"Cation Exchange Capacity",ValueUnit:"cmol/kg",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008",CsvHeader:"CEC"},"DTPA-Cobalt,DTPA-Co":{Element:"Cobalt",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CO-DTPA.04",ModusTestIDv2:"L_MODV2_SOIL_CO_003",CsvHeader:"DTPA-Cobalt,DTPA-Co"},"DTPA-Copper,DTPA-Cu":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_002",CsvHeader:"DTPA-Copper,DTPA-Cu"},"DTPA-Iron,DTPA-Fe":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003",CsvHeader:"DTPA-Iron,DTPA-Fe"},"DTPA-Manganese,DTPA-Mn":{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_002",CsvHeader:"DTPA-Manganese,DTPA-Mn"},"DTPA-Zinc,DTPA-Zn":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"DTPA",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_002",CsvHeader:"DTPA-Zinc,DTPA-Zn"},"Excess Lime":{Element:"Calcium Carbonate",ValueUnit:"none",ExtractionMethod:"1.0 N HCl",MeasurementMethod:"Observation",ModusTestID:"S-CACO3-1NHCL.24",CsvHeader:"Excess Lime"},"Fungi:Bacteria":{Element:"Fungi:Bacteria",CsvHeader:"Fungi:Bacteria"},"H2O-Boron,Hot H2O-B":{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Slurry",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-HW.05",ModusTestIDv2:"L_MODV2_SOIL_B_004",CsvHeader:"H2O-Boron,Hot H2O-B"},"H2O-Molybdenum,Hot H2O-Moly":{Element:"Molybdenum",ValueUnit:"mg/kg",ExtractionMethod:"Slurry",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MO-HOTH2O.04",ModusTestIDv2:"L_MODV2_SOIL_MO_022",CsvHeader:"H2O-Molybdenum,Hot H2O-Moly"},"H3A ICAP Aluminum,H3A Aluminum, ppm Al":{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-AL-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_AL_010",CsvHeader:"H3A ICAP Aluminum,H3A Aluminum, ppm Al"},"H3A Ammonium, ppm NH4-N":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_003",CsvHeader:"H3A Ammonium, ppm NH4-N"},"H3A ICAP Calcium,H3A Calcium, ppm Ca":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CA_014",CsvHeader:"H3A ICAP Calcium,H3A Calcium, ppm Ca"},"H3A ICAP Copper,H3A Copper, ppm Cu":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CU_009",CsvHeader:"H3A ICAP Copper,H3A Copper, ppm Cu"},"H3A ICAP Iron,H3A Iron, ppm Fe":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-FE-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_FE_010",CsvHeader:"H3A ICAP Iron,H3A Iron, ppm Fe"},"H3A ICAP Magnesium,H3A Magnessium, ppm Mg":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_MG_015",CsvHeader:"H3A ICAP Magnesium,H3A Magnessium, ppm Mg"},"H3A ICAP Manganese,H3A Manganese, ppm Mn":{Element:"H3A ICAP Manganese,H3A Manganese, ppm Mn",CsvHeader:"H3A ICAP Manganese,H3A Manganese, ppm Mn"},"H3A Nitrate,H3A Nitrate, ppm NO3-N":{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NO3-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",CsvHeader:"H3A Nitrate,H3A Nitrate, ppm NO3-N"},"H3A ICAP Potassium,H3A Potassium, ppm K":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_K_019",CsvHeader:"H3A ICAP Potassium,H3A Potassium, ppm K"},"H3A ICAP Sodium,H3A Sodium, ppm Na":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_NA_009",CsvHeader:"H3A ICAP Sodium,H3A Sodium, ppm Na"},"H3A ICAP Sulfur,H3A Sulfur, ppm S":{Element:"Sulfur, Sulfur",ValueUnit:"kg/ha",ExtractionMethod:"H3A-1, H3A-1",MeasurementMethod:"ICP-OES, ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_020,L_MODV2_SOIL_S_021",CsvHeader:"H3A ICAP Sulfur,H3A Sulfur, ppm S"},"H3A ICAP Zinc,H3A Zinc, ppm Zn":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",CsvHeader:"H3A ICAP Zinc,H3A Zinc, ppm Zn"},"H3A Inorganic Phosphorus,H3A Inorganic Phosphorus, ppm PO4-P":{Element:"H3A Inorganic Phosphorus,H3A Inorganic Phosphorus, ppm PO4-P",CsvHeader:"H3A Inorganic Phosphorus,H3A Inorganic Phosphorus, ppm PO4-P"},"H3A Organic Phosphorus,H3A Organic Phosphorus, ppm P":{Element:"H3A Organic Phosphorus,H3A Organic Phosphorus, ppm P",CsvHeader:"H3A Organic Phosphorus,H3A Organic Phosphorus, ppm P"},"H3A Total Phosphorus,H3A Total Phosphorus, ppm P":{Element:"H3A Total Phosphorus,H3A Total Phosphorus, ppm P",CsvHeader:"H3A Total Phosphorus,H3A Total Phosphorus, ppm P"},Hydrogen:{Element:"Base Saturation - H",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",CsvHeader:"Hydrogen"},"Hydrogen,M3-% H Sat":{Element:"Base Saturation - H",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",CsvHeader:"Hydrogen,M3-% H Sat"},"M3-Aluminum,M3-Al":{Element:"Aluminum",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-AL-M3.05",ModusTestIDv2:"L_MODV2_SOIL_AL_012",CsvHeader:"M3-Aluminum,M3-Al"},"M3-Base Saturation,M3-% Base Sat":{Element:"Base Saturation",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001",CsvHeader:"M3-Base Saturation,M3-% Base Sat"},"M3-Boron,M3-B":{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017",CsvHeader:"M3-Boron,M3-B"},"M3-Calcium,M3-Ca":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021",CsvHeader:"M3-Calcium,M3-Ca"},"M3-CEC,M3-CEC":{Element:"Cation Exchange Capacity",ValueUnit:"cmol/kg",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"cmol/kg",ModusTestID:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008",CsvHeader:"M3-CEC,M3-CEC"},"M3-Cobalt,M3-Co":{Element:"Cobalt",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CO-M3.04",ModusTestIDv2:"L_MODV2_SOIL_CO_006",CsvHeader:"M3-Cobalt,M3-Co"},"M3-Copper,M3-Cu":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CU_014",CsvHeader:"M3-Copper,M3-Cu"},"M3-Iron,M3-Fe":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-FE-M3.05",ModusTestIDv2:"L_MODV2_SOIL_FE_015",CsvHeader:"M3-Iron,M3-Fe"},"M3-Magnesium,M3-Mg":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022",CsvHeader:"M3-Magnesium,M3-Mg"},"M3-Manganese,M3-Mn":{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015",CsvHeader:"M3-Manganese,M3-Mn"},"M3-Molybdenum,M3-Moly":{Element:"Molybdenum",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MO-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MO_014",CsvHeader:"M3-Molybdenum,M3-Moly"},"M3-Phosphate,M3-PO4":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_032",CsvHeader:"M3-Phosphate,M3-PO4"},"M3-Phosphorus,M3-P":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-M3.04",ModusTestIDv2:"L_MODV2_SOIL_P_033",CsvHeader:"M3-Phosphorus,M3-P"},"M3-Potassium,M3-K":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3 ICP",MeasurementMethod:"AES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-M3.06",CsvHeader:"M3-Potassium,M3-K"},"M3-Sodium,M3-Na":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_NA_013",CsvHeader:"M3-Sodium,M3-Na"},"M3-Sulfur,M3-S":{Element:"Sulfur",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-S-M3.05",ModusTestIDv2:"L_MODV2_SOIL_S_026",CsvHeader:"M3-Sulfur,M3-S"},"M3-Zinc,M3-Zn":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_015",CsvHeader:"M3-Zinc,M3-Zn"},"Magnesium,% Mg Sat":{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"Magnesium,% Mg Sat"},"Magnesium,M3-% Mg Sat":{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"Magnesium,M3-% Mg Sat"},Moisture:{Element:"Moisture",ValueUnit:"%",ExtractionMethod:"Gravimetric (As-received)",MeasurementMethod:"Mass Change",UCUM_ValueUnit:"%",ModusTestID:"S-MOIST-GRAVAR.15",CsvHeader:"Moisture"},"NH4OAc-Calcium,NH4OAc-Ca":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_CA_003",CsvHeader:"NH4OAc-Calcium,NH4OAc-Ca"},"NH4OAc-Magnesium,NH4OAc-Mg":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_MG_002",CsvHeader:"NH4OAc-Magnesium,NH4OAc-Mg"},"NH4OAc-Potassium,NH4OAc-K":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:'"ICP, AAS"',UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-NH4AC.05",CsvHeader:"NH4OAc-Potassium,NH4OAc-K"},"NH4OAc-Sodium,NH4OAc-Na":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"Ammonium Acetate",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_NA_001",CsvHeader:"NH4OAc-Sodium,NH4OAc-Na"},"Olsen-Phosphate,Olsen P":{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"Sodium Bicarbonate",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_045",CsvHeader:"Olsen-Phosphate,Olsen P"},"Organic Matter, % LOI":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"Organic Matter, % LOI"},"1:1 Soil pH,Soil pH 1:1":{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005",CsvHeader:"1:1 Soil pH,Soil pH 1:1"},"Potassium,% K Sat":{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"Potassium,% K Sat"},"Potassium,M3-% K Sat":{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"Potassium,M3-% K Sat"},"Protozoa Biomass":{Element:"Protozoa Biomass",CsvHeader:"Protozoa Biomass"},"Soil Health Calculation":{Element:"Soil Health Calculation",CsvHeader:"Soil Health Calculation"},"SAR Bicarbonate,SAR-Bicarb":{Element:"Bicarbonate",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-HCO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_002",CsvHeader:"SAR Bicarbonate,SAR-Bicarb"},"SAR Calcium,SAR-Ca":{Element:"Calcium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_CA_031",CsvHeader:"SAR Calcium,SAR-Ca"},"SAR Chloride,SAR-Cl":{Element:"Chloride",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Titration",UCUM_ValueUnit:"meq/L",ModusTestID:"S-CL-SP.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_010",CsvHeader:"SAR Chloride,SAR-Cl"},"SAR Electrical Conductivity,SAR-EC":{Element:"Electrical Conductivity",ValueUnit:"dS/m",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"dS/m",ModusTestID:"S-EC-SP.03",ModusTestIDv2:"L_MODV2_SOIL_EC_004",CsvHeader:"SAR Electrical Conductivity,SAR-EC"},"SAR Magnesium,SAR-Mg":{Element:"Magnesium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestID:"S-MG-SP.05",ModusTestIDv2:"L_MODV2_SOIL_MG_030",CsvHeader:"SAR Magnesium,SAR-Mg"},"SAR pH,SAR-pH":{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Saturated Paste",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-SP.02",ModusTestIDv2:"L_MODV2_SOIL_PH_013",CsvHeader:"SAR pH,SAR-pH"},"SAR Sodium,SAR-Na":{Element:"Sodium",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"meq/L",ModusTestID:"S-NA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_NA_019",CsvHeader:"SAR Sodium,SAR-Na"},"SAR Sulfur,SAR-S":{Element:"Sulfur",ValueUnit:"meq/L",ExtractionMethod:"Saturated Paste",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"meq/L",ModusTestID:"S-SO4-SP.04",ModusTestIDv2:"L_MODV2_SOIL_S_036",CsvHeader:"SAR Sulfur,SAR-S"},"Saturated Paste Moisture,SAR-Moisture":{Element:"Moisture Content",ValueUnit:"%",ExtractionMethod:"Saturated paste moisture",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-MOIST-SP.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_002",CsvHeader:"Saturated Paste Moisture,SAR-Moisture"},"Sikora BpH,Sikora BpH":{Element:"Buffer pH",ValueUnit:"standard pH unit",ExtractionMethod:"Sikora 1",MeasurementMethod:"H+ ISE",ModusTestID:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_007",CsvHeader:"Sikora BpH,Sikora BpH"},"Sodium,M3-% Na Sat":{Element:"Base Saturation - Na",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",CsvHeader:"Sodium,M3-% Na Sat"},"Sodium Absorption Ratio,SAR":{Element:"Sodium Adsorption Ratio",ValueUnit:"Ratio",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Calculation",ModusTestID:"S-SAR-SP.00",ModusTestIDv2:"L_MODV2_SOIL_SAR_003",CsvHeader:"Sodium Absorption Ratio,SAR"},"Soil Respiration, ppm CO2-C":{Element:"Soil Respiration, ppm CO2-C",CsvHeader:"Soil Respiration, ppm CO2-C"},"1:1 Soluble Salt":{Element:"1:1 Soluble Salt",CsvHeader:"1:1 Soluble Salt"},"TC:TN Ratio,LECO Tot. C : Tot. N":{Element:"Total Carbon:Total Nitrogen",ValueUnit:"none",ExtractionMethod:"Dry Combustion",MeasurementMethod:"Calculation",ModusTestID:"S-TC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TCTN_001",CsvHeader:"TC:TN Ratio,LECO Tot. C : Tot. N"},"Texture Class,Texture":{Element:"Textural Classification",ValueUnit:"Texture Classification",ExtractionMethod:"Calculation",MeasurementMethod:"Gravimetric",ModusTestID:"S-TEXTURE.19",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_001",CsvHeader:"Texture Class,Texture"},"TOC:TN Ratio,LECO Org. C : Tot. N":{Element:"Total Organic Carbon: Total Nitrogen",ValueUnit:"none",ExtractionMethod:"Dry Combustion",MeasurementMethod:"Calculation",ModusTestID:"S-TOC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TOCTN_001",CsvHeader:"TOC:TN Ratio,LECO Org. C : Tot. N"},"Total Aluminum,Tot. Al":{Element:"Aluminum",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-AL-NA.04",ModusTestIDv2:"L_MODV2_SOIL_AL_014",CsvHeader:"Total Aluminum,Tot. Al"},"Boron, ppm B,Total Boron":{Element:"Boron",ValueUnit:"mg/kg",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-B-NA.04",ModusTestIDv2:"L_MODV2_SOIL_B_019",CsvHeader:"Boron, ppm B,Total Boron"},"Calcium, % Ca,Total Calcium":{Element:"Calcium",ValueUnit:"%",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"%",ModusTestID:"S-CA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CA_025",CsvHeader:"Calcium, % Ca,Total Calcium"},"Total Carbon,LECO Tot. C":{Element:'"Carbon, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-TC-COMB.15",ModusTestIDv2:"L_MODV2_SOIL_TC_001",CsvHeader:"Total Carbon,LECO Tot. C"},"Copper, ppm Cu,Total Copper":{Element:"Copper",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-CU-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CU_018",CsvHeader:"Copper, ppm Cu,Total Copper"},"Iron, ppm Fe,Total Iron":{Element:"Iron",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-FE-NA.04",ModusTestIDv2:"L_MODV2_SOIL_FE_017",CsvHeader:"Iron, ppm Fe,Total Iron"},"Magnesium, % Mg,Total Magnesium":{Element:"Base Saturation - Mg",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-MG-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",CsvHeader:"Magnesium, % Mg,Total Magnesium"},"Manganese, ppm Mn,Total Manganese":{Element:"Manganese",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-MN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MN_018",CsvHeader:"Manganese, ppm Mn,Total Manganese"},"Molybdenum, ppm Mo,Total Molybdenum":{Element:"Molybdenum",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-MO-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_015",CsvHeader:"Molybdenum, ppm Mo,Total Molybdenum"},"Total Nitrogen,LECO Tot. N":{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002",CsvHeader:"Total Nitrogen,LECO Tot. N"},"Phosphorus, % P,Total Phosphorus":{Element:"Phosphorus",ValueUnit:"%",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"%",ModusTestID:"S-P-NA.04",ModusTestIDv2:"L_MODV2_SOIL_P_038",CsvHeader:"Phosphorus, % P,Total Phosphorus"},"Potassium, % K,Total Postassium":{Element:"Base Saturation - K",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-K-NA.04",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",CsvHeader:"Potassium, % K,Total Postassium"},"Sodium, % Na,Total Sodium":{Element:"Sodium",ValueUnit:"%",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"%",ModusTestID:"S-NA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_NA_015",CsvHeader:"Sodium, % Na,Total Sodium"},"Sulfur, % S,Total Sulfur":{Element:"Sulfur",ValueUnit:"%",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"%",ModusTestID:"S-S-NA.04",ModusTestIDv2:"L_MODV2_SOIL_S_030",CsvHeader:"Sulfur, % S,Total Sulfur"},"Zinc, ppm Zn,Total Zinc":{Element:"Zinc",ValueUnit:"ppm",ExtractionMethod:"Nitric Acid",MeasurementMethod:"ICP",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-ZN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_019",CsvHeader:"Zinc, ppm Zn,Total Zinc"},"H2O Total Organic C,H2O Total Org. C, ppm C":{Element:"Organic Carbon",ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TOC.16",ModusTestIDv2:"L_MODV2_SOIL_OC_001",CsvHeader:"H2O Total Organic C,H2O Total Org. C, ppm C"},"H2O Organic N,H2O Org. N, ppm N":{Element:"H2O Organic N,H2O Org. N, ppm N",CsvHeader:"H2O Organic N,H2O Org. N, ppm N"},"H2O Total N,H2O Total N, ppm N":{Element:"H2O Total N,H2O Total N, ppm N",CsvHeader:"H2O Total N,H2O Total N, ppm N"}}}},"Soil Health Institute":{Soil:{name:"Soil Health Institute",type:"Soil",analytes:{"Organic Carbon":{Element:"Organic Carbon",ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_OC_001"},'"Nitrogen, Total"':{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestIDv2:"L_MODV2_SOIL_TN_002"}}}},"Soiltest Farm Consultants, Inc. - Moses Lake, WA":{Soil:{name:"Soiltest Farm Consultants, Inc. - Moses Lake, WA",type:"Soil",analytes:{"1:1 pH":{Element:"pH",CsvHeader:"1:1 pH"},B:{Element:"Boron",CsvHeader:"B"},"B REC":{Element:"B REC",CsvHeader:"B REC"},"Bray P":{Element:"Phosphorus",CsvHeader:"Bray P"},CA:{Element:"Calcium",CsvHeader:"CA"},"CaCl2 pH":{Element:"pH",CsvHeader:"CaCl2 pH"},CEC:{Element:"Cation Exchange Capacity",CsvHeader:"CEC"},Cl:{Element:"Chloride",CsvHeader:"Cl"},"Cl REC":{Element:"Cl REC",CsvHeader:"Cl REC"},CU:{Element:"Copper",CsvHeader:"CU"},"CU REC":{Element:"CU REC",CsvHeader:"CU REC"},EFF:{Element:"EFF",CsvHeader:"EFF"},"ELEMS REC":{Element:"ELEMS REC",CsvHeader:"ELEMS REC"},ENR:{Element:"Estimated Nitrogen Release",CsvHeader:"ENR"},FE:{Element:"Iron",CsvHeader:"FE"},"FE REC":{Element:"FE REC",CsvHeader:"FE REC"},gypsum:{Element:"Gypsum Recommendation",CsvHeader:"gypsum"},HYD:{Element:"Hydrogen",CsvHeader:"HYD"},K:{Element:"Potassium",CsvHeader:"K"},"K2O5 REC":{Element:"K2O5 REC",CsvHeader:"K2O5 REC"},"KCL ext Al":{Element:"KCL ext Al",CsvHeader:"KCL ext Al"},LIME:{Element:"Lime Index",CsvHeader:"LIME"},"LIME 6:5":{Element:"Lime Index",CsvHeader:"LIME 6:5"},Manure:{Element:"Manure",CsvHeader:"Manure"},MG:{Element:"Magnesium",CsvHeader:"MG"},"MG REC":{Element:"MG REC",CsvHeader:"MG REC"},MN:{Element:"Manganese",CsvHeader:"MN"},"MN REC":{Element:"MN REC",CsvHeader:"MN REC"},Moisture:{Element:"Moisture",CsvHeader:"Moisture"},"N REC":{Element:"N REC",CsvHeader:"N REC"},NA:{Element:"Sodium",CsvHeader:"NA"},"NH4-N":{Element:"Ammonium",CsvHeader:"NH4-N"},NO31:{Element:"Nitrate",CsvHeader:"NO31"},NO32:{Element:"Nitrate",CsvHeader:"NO32"},"Olsen P":{Element:"Phosphorus",CsvHeader:"Olsen P"},OM:{Element:"Organic Matter",CsvHeader:"OM"},"OTHER P":{Element:"OTHER P",CsvHeader:"OTHER P"},"P2O5 REC":{Element:"P2O5 REC",CsvHeader:"P2O5 REC"},PERCA:{Element:"Base Saturation - Ca",CsvHeader:"PERCA"},PERH:{Element:"Base Saturation - H",CsvHeader:"PERH"},PERK:{Element:"Base Saturation - K",CsvHeader:"PERK"},PERMG:{Element:"Base Saturation - Mg",CsvHeader:"PERMG"},PERNA:{Element:"Base Saturation - Na",CsvHeader:"PERNA"},S:{Element:"Sulfur",CsvHeader:"S"},"S REC":{Element:"S REC",CsvHeader:"S REC"},"SMP/A&E":{Element:"SMP/A&E",CsvHeader:"SMP/A&E"},SOLSALT:{Element:"Soluble Salts",CsvHeader:"SOLSALT"},"Yield Goal Units":{Element:"Yield Goal Units",CsvHeader:"Yield Goal Units"},ZN:{Element:"Zinc",CsvHeader:"ZN"},"ZN REC":{Element:"ZN REC",CsvHeader:"ZN REC"}}}},"University of Georgia Extension Ag & Environmental Services Labs - Athens, GA":{Soil:{name:"University of Georgia Extension Ag & Environmental Services Labs - Athens, GA",type:"Soil",analytes:{"Al aluminum":{Element:"Al aluminum",CsvHeader:"Al aluminum"},"As arsenic":{Element:"As arsenic",CsvHeader:"As arsenic"},"B boron":{Element:"B boron",CsvHeader:"B boron"},Ca:{Element:"Ca",CsvHeader:"Ca"},"Ca calcium":{Element:"Ca calcium",CsvHeader:"Ca calcium"},"Cd cadmium":{Element:"Cd cadmium",CsvHeader:"Cd cadmium"},"Cr chromium":{Element:"Cr chromium",CsvHeader:"Cr chromium"},"Cu copper":{Element:"Cu copper",CsvHeader:"Cu copper"},"Fe iron":{Element:"Fe iron",CsvHeader:"Fe iron"},K:{Element:"K",CsvHeader:"K"},"K potassium":{Element:"K potassium",CsvHeader:"K potassium"},LBC:{Element:"LBC",CsvHeader:"LBC"},LBCeq:{Element:"LBCeq",CsvHeader:"LBCeq"},Mg:{Element:"Mg",CsvHeader:"Mg"},"Mg magnesium":{Element:"Mg magnesium",CsvHeader:"Mg magnesium"},Mn:{Element:"Mn",CsvHeader:"Mn"},"Mn manganese":{Element:"Mn manganese",CsvHeader:"Mn manganese"},"Mo molybdenum":{Element:"Mo molybdenum",CsvHeader:"Mo molybdenum"},"Na sodium":{Element:"Na sodium",CsvHeader:"Na sodium"},"Ni nickel":{Element:"Ni nickel",CsvHeader:"Ni nickel"},OM:{Element:"OM",CsvHeader:"OM"},P:{Element:"P",CsvHeader:"P"},"P phosphorus":{Element:"P phosphorus",CsvHeader:"P phosphorus"},"Pb lead":{Element:"Pb lead",CsvHeader:"Pb lead"},pH:{Element:"pH",CsvHeader:"pH"},"S sulfur":{Element:"S sulfur",CsvHeader:"S sulfur"},Zn:{Element:"Zn",CsvHeader:"Zn"},"Zn zinc":{Element:"Zn zinc",CsvHeader:"Zn zinc"}}}},"Ward Laboratories, Inc. - Kearney, NE":{Soil:{name:"Ward Laboratories, Inc. - Kearney, NE",type:"Soil",analytes:{"Aluminum ppm Al":{Element:"Aluminum ppm Al",CsvHeader:"Aluminum ppm Al"},"Base Saturation":{Element:"Base Saturation",ValueUnit:"%",ExtractionMethod:"Calculation",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"%",ModusTestID:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001"},"Boron ppm B":{Element:"Boron ppm B",CsvHeader:"Boron ppm B"},"Bray P-1 ppm P":{Element:"Bray P-1 ppm P",CsvHeader:"Bray P-1 ppm P"},"Bray P-2 ppm P":{Element:"Bray P-2 ppm P",CsvHeader:"Bray P-2 ppm P"},"WDRF Buffer pH":{Element:"WDRF Buffer pH",CsvHeader:"WDRF Buffer pH"},"Calcium ppm Ca":{Element:"Calcium",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021",CsvHeader:"Calcium ppm Ca"},"Chloride ppm Cl":{Element:"Chloride ppm Cl",CsvHeader:"Chloride ppm Cl"},"Copper ppm Cu":{Element:"Copper",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-CU-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CU_009",CsvHeader:"Copper ppm Cu"},"Excess Lime":{Element:"Excess Lime",CsvHeader:"Excess Lime"},"Ammonium-Nitrogen":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_003"},'"Nitrogen, Total"':{Element:'"Nitrogen, Total"',ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002"},"Ammonium-Nitrogen2":{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"Slurry",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NH4N-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_002"},"Nitrate-Nitrogen":{Element:"Nitrate-Nitrogen",ValueUnit:"meq/L",ExtractionMethod:"Slurry",MeasurementMethod:"Cd Red/Spectrophotometric",UCUM_ValueUnit:"meq/L",ModusTestID:"S-NO3-W1:1.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_005"},'"Nitrogen, Total"2':{Element:'"Nitrogen, Total"',ValueUnit:"ppm",ExtractionMethod:"Slurry",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-TN-W.01",ModusTestIDv2:"L_MODV2_SOIL_TN_003"},"Organic Carbon":{Element:"Organic Carbon",ValueUnit:"%",ExtractionMethod:"Combustion",MeasurementMethod:"Combustion Analyzer",UCUM_ValueUnit:"%",ModusTestID:"S-TOC.16",ModusTestIDv2:"L_MODV2_SOIL_OC_001"},"Iron ppm Fe":{Element:"Iron",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-FE-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_FE_010",CsvHeader:"Iron ppm Fe"},"Magnesium ppm Mg":{Element:"Magnesium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MG-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_MG_015",CsvHeader:"Magnesium ppm Mg"},"Manganese ppm Mn":{Element:"Manganese",ValueUnit:"mg/kg",ExtractionMethod:"Mehlich 3",MeasurementMethod:"ICP-OES / AAS",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015",CsvHeader:"Manganese ppm Mn"},"Nitrate-N ppm N":{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NO3-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",CsvHeader:"Nitrate-N ppm N"},"2N KCl NO3-N ppm N":{Element:"2N KCl NO3-N ppm N",CsvHeader:"2N KCl NO3-N ppm N"},"Organic Matter LOI %":{Element:"Organic Matter",ValueUnit:"%",ExtractionMethod:"Loss on Ignition (LOI)",MeasurementMethod:"Gravimetric",UCUM_ValueUnit:"%",ModusTestID:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",CsvHeader:"Organic Matter LOI %"},"1:1 Soil pH":{Element:"pH",ValueUnit:"standard pH unit",ExtractionMethod:"Slurry",MeasurementMethod:"H+ ISE",ModusTestID:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005",CsvHeader:"1:1 Soil pH"},Phosphorus:{Element:"Phosphorus",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-P-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_P_020"},"Potassium ppm K":{Element:"Potassium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-K-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_K_019",CsvHeader:"Potassium ppm K"},"Olsen P ppm P":{Element:"Olsen P ppm P",CsvHeader:"Olsen P ppm P"},"Sodium ppm Na":{Element:"Sodium",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-NA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_NA_009",CsvHeader:"Sodium ppm Na"},"CO2 Respiration":{Element:"CO2 Respiration",ValueUnit:"%",ExtractionMethod:"Respiration",MeasurementMethod:"Spectrophotometric",UCUM_ValueUnit:"%",ModusTestID:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001"},"1:1 S Salts mmho/cm":{Element:"Soluble Salts",ValueUnit:"mg/kg",ExtractionMethod:"Saturated Paste",MeasurementMethod:"Electrical Conductivity",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001",CsvHeader:"1:1 S Salts mmho/cm"},"Sulfate-S ppm S":{Element:"Sulfur",ValueUnit:"kg/ha",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"[ppm]",ModusTestID:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_020",CsvHeader:"Sulfate-S ppm S"},"CEC/Sum of Cations me/100g":{Element:"CEC/Sum of Cations me/100g",CsvHeader:"CEC/Sum of Cations me/100g"},"Zinc ppm Zn":{Element:"Zinc",ValueUnit:"mg/kg",ExtractionMethod:"H3A-1",MeasurementMethod:"ICP-OES",UCUM_ValueUnit:"mg/kg",ModusTestID:"S-ZN-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",CsvHeader:"Zinc ppm Zn"},"Total Carbon %":{Element:"Total Carbon",ValueUnit:"%",UCUM_ValueUnit:"%",CsvHeader:"Total Carbon %"},"lbs N/A":{Element:"lbs N/A",CsvHeader:"lbs N/A"},"Texture No":{Element:"Texture No",CsvHeader:"Texture No"},"%H Sat":{Element:"%H Sat",CsvHeader:"%H Sat"},"%K Sat":{Element:"%K Sat",CsvHeader:"%K Sat"},"%Ca Sat":{Element:"%Ca Sat",CsvHeader:"%Ca Sat"},"%Mg Sat":{Element:"%Mg Sat",CsvHeader:"%Mg Sat"},"%Na Sat":{Element:"%Na Sat",CsvHeader:"%Na Sat"},"KCl NH4-N ppm":{Element:"KCl NH4-N ppm",CsvHeader:"KCl NH4-N ppm"},"Mehlich P-II ppm P":{Element:"Mehlich P-II ppm P",CsvHeader:"Mehlich P-II ppm P"},"Mehlich P-III ppm P":{Element:"Mehlich P-III ppm P",CsvHeader:"Mehlich P-III ppm P"},"Salt pH":{Element:"Salt pH",CsvHeader:"Salt pH"},"Salt Buffer pH":{Element:"Salt Buffer pH",CsvHeader:"Salt Buffer pH"},"WB OM %":{Element:"WB OM %",CsvHeader:"WB OM %"},"Total N ppm":{Element:"Total N ppm",CsvHeader:"Total N ppm"},"Soil Moisture %":{Element:"Soil Moisture %",CsvHeader:"Soil Moisture %"},"Total P ppm":{Element:"Total P ppm",CsvHeader:"Total P ppm"},"Total Zn ppm":{Element:"Total Zn ppm",CsvHeader:"Total Zn ppm"},"Nitrite-N ppm":{Element:"Nitrite-N ppm",CsvHeader:"Nitrite-N ppm"},"% Sand":{Element:"% Sand",CsvHeader:"% Sand"},"% Silt":{Element:"% Silt",CsvHeader:"% Silt"},"% Clay":{Element:"% Clay",CsvHeader:"% Clay"},Texture:{Element:"Texture",CsvHeader:"Texture"},"Paste % Sat":{Element:"Paste % Sat",CsvHeader:"Paste % Sat"},"Paste pH":{Element:"Paste pH",CsvHeader:"Paste pH"},"Paste EC mmho/cm":{Element:"Paste EC mmho/cm",CsvHeader:"Paste EC mmho/cm"},"Paste HCO3 ppm":{Element:"Paste HCO3 ppm",CsvHeader:"Paste HCO3 ppm"},"Paste Cl ppm":{Element:"Paste Cl ppm",CsvHeader:"Paste Cl ppm"},"Paste Ca ppm":{Element:"Paste Ca ppm",CsvHeader:"Paste Ca ppm"},"Paste Mg ppm":{Element:"Paste Mg ppm",CsvHeader:"Paste Mg ppm"},"Paste Na ppm":{Element:"Paste Na ppm",CsvHeader:"Paste Na ppm"},"Paste S ppm":{Element:"Paste S ppm",CsvHeader:"Paste S ppm"},"Paste SAR":{Element:"Paste SAR",CsvHeader:"Paste SAR"},"Crop 1":{Element:"Crop 1",CsvHeader:"Crop 1"},"YG 1":{Element:"YG 1",CsvHeader:"YG 1"},"Nitrogen Rec":{Element:"Nitrogen Rec",CsvHeader:"Nitrogen Rec"},"P2O5 Rec":{Element:"P2O5 Rec",CsvHeader:"P2O5 Rec"},"K2O Rec":{Element:"K2O Rec",CsvHeader:"K2O Rec"},"Sulfur Rec":{Element:"Sulfur Rec",CsvHeader:"Sulfur Rec"},"Zinc Rec":{Element:"Zinc Rec",CsvHeader:"Zinc Rec"},"Magnesium Rec":{Element:"Magnesium Rec",CsvHeader:"Magnesium Rec"},"Iron Rec":{Element:"Iron Rec",CsvHeader:"Iron Rec"},"Manganese Rec":{Element:"Manganese Rec",CsvHeader:"Manganese Rec"},"Copper Rec":{Element:"Copper Rec",CsvHeader:"Copper Rec"},"Boron Rec":{Element:"Boron Rec",CsvHeader:"Boron Rec"},"Lime Rec":{Element:"Lime Rec",CsvHeader:"Lime Rec"},"Crop 2":{Element:"Crop 2",CsvHeader:"Crop 2"},"YG 2":{Element:"YG 2",CsvHeader:"YG 2"},"Crop 3":{Element:"Crop 3",CsvHeader:"Crop 3"},"YG 3":{Element:"YG 3",CsvHeader:"YG 3"},"Organic Carbon %":{Element:"Organic Carbon %",CsvHeader:"Organic Carbon %"},"Water Soluble K":{Element:"Water Soluble K",CsvHeader:"Water Soluble K"},"H2O NO3-N":{Element:"H2O NO3-N",CsvHeader:"H2O NO3-N"},"Total Dry Weight":{Element:"Total Dry Weight",CsvHeader:"Total Dry Weight"},"Total S":{Element:"Total S",CsvHeader:"Total S"},"PSNT N/A":{Element:"PSNT N/A",CsvHeader:"PSNT N/A"},"H2O Ca":{Element:"H2O Ca",CsvHeader:"H2O Ca"},"Paste CO3 ppm":{Element:"Paste CO3 ppm",CsvHeader:"Paste CO3 ppm"},"Phosphorus M3 ICAP ppm P":{Element:"Phosphorus M3 ICAP ppm P",CsvHeader:"Phosphorus M3 ICAP ppm P"},"Potassium M3 ICAP ppm K":{Element:"Potassium M3 ICAP ppm K",CsvHeader:"Potassium M3 ICAP ppm K"},"Sulfur M3 ICAP ppm S":{Element:"Sulfur M3 ICAP ppm S",CsvHeader:"Sulfur M3 ICAP ppm S"},"Zinc M3 ICAP ppm Zn":{Element:"Zinc M3 ICAP ppm Zn",CsvHeader:"Zinc M3 ICAP ppm Zn"},"Iron M3 ICAP ppm Fe":{Element:"Iron M3 ICAP ppm Fe",CsvHeader:"Iron M3 ICAP ppm Fe"},"Manganese M3 ICAP ppm Mn":{Element:"Manganese M3 ICAP ppm Mn",CsvHeader:"Manganese M3 ICAP ppm Mn"},"Copper M3 ICAP ppm Cu":{Element:"Copper M3 ICAP ppm Cu",CsvHeader:"Copper M3 ICAP ppm Cu"},"Calcium M3 ICAP ppm Ca":{Element:"Calcium M3 ICAP ppm Ca",CsvHeader:"Calcium M3 ICAP ppm Ca"},"Magnesium M3 ICAP ppm Mg":{Element:"Magnesium M3 ICAP ppm Mg",CsvHeader:"Magnesium M3 ICAP ppm Mg"},"Sodium M3 ICAP ppm Na":{Element:"Sodium M3 ICAP ppm Na",CsvHeader:"Sodium M3 ICAP ppm Na"},"Boron M3 ICAP ppm B":{Element:"Boron M3 ICAP ppm B",CsvHeader:"Boron M3 ICAP ppm B"},"1N KCl NO3-N ppm N":{Element:"1N KCl NO3-N ppm N",CsvHeader:"1N KCl NO3-N ppm N"},"KCl NH4-N ppm (Old)":{Element:"KCl NH4-N ppm (Old)",CsvHeader:"KCl NH4-N ppm (Old)"},"2N KCl NO3-N ppm N (Old)":{Element:"2N KCl NO3-N ppm N (Old)",CsvHeader:"2N KCl NO3-N ppm N (Old)"},"2N KCL NO3 Lbs-Acre":{Element:"2N KCL NO3 Lbs-Acre",CsvHeader:"2N KCL NO3 Lbs-Acre"},"Ammonium Lbs-Acre":{Element:"Ammonium Lbs-Acre",CsvHeader:"Ammonium Lbs-Acre"},"Aluminium M3 ICAP ppm Al":{Element:"Aluminium M3 ICAP ppm Al",CsvHeader:"Aluminium M3 ICAP ppm Al"},"Organic C H2O ppm":{Element:"Organic C H2O ppm",CsvHeader:"Organic C H2O ppm"},"Organic N H2O ppm":{Element:"Organic N H2O ppm",CsvHeader:"Organic N H2O ppm"},"Organic C:N H2O":{Element:"Organic C:N H2O",CsvHeader:"Organic C:N H2O"},"PSNT ppm N":{Element:"PSNT ppm N",CsvHeader:"PSNT ppm N"},"Sikora pH":{Element:"Sikora pH",CsvHeader:"Sikora pH"},"Sikora Buffer":{Element:"Sikora Buffer",CsvHeader:"Sikora Buffer"},"Bulk Density":{Element:"Bulk Density",CsvHeader:"Bulk Density"},"2:1 Soil pH":{Element:"2:1 Soil pH",CsvHeader:"2:1 Soil pH"},"2:1 Soluble Salts":{Element:"2:1 Soluble Salts",CsvHeader:"2:1 Soluble Salts"},"POX-C ppm C":{Element:"POX-C ppm C",CsvHeader:"POX-C ppm C"},"Aggregate Stability 1-2mm %":{Element:"Aggregate Stability 1-2mm %",CsvHeader:"Aggregate Stability 1-2mm %"},"Aggregate Stability 1-2mm in bulk soil %":{Element:"Aggregate Stability 1-2mm in bulk soil %",CsvHeader:"Aggregate Stability 1-2mm in bulk soil %"},"Available Water g H2O g-1 soil":{Element:"Available Water g H2O g-1 soil",CsvHeader:"Available Water g H2O g-1 soil"},"Available Water inch H2O inch-1 of soil":{Element:"Available Water inch H2O inch-1 of soil",CsvHeader:"Available Water inch H2O inch-1 of soil"},"Total Available Water inches H2O sample-1":{Element:"Total Available Water inches H2O sample-1",CsvHeader:"Total Available Water inches H2O sample-1"},"Field Capacity % (wt.)":{Element:"Field Capacity % (wt.)",CsvHeader:"Field Capacity % (wt.)"},"Permanent Wilting Point % (wt.":{Element:"Permanent Wilting Point % (wt.",CsvHeader:"Permanent Wilting Point % (wt."},"Total K ppm K":{Element:"Total K ppm K",CsvHeader:"Total K ppm K"},"Total C Concentration %":{Element:"Total C Concentration %",CsvHeader:"Total C Concentration %"},"Total C lbs/Acre":{Element:"Total C lbs/Acre",CsvHeader:"Total C lbs/Acre"},"Total N Concentration %":{Element:"Total N Concentration %",CsvHeader:"Total N Concentration %"},"Total N lbs/Acre":{Element:"Total N lbs/Acre",CsvHeader:"Total N lbs/Acre"},"Total C:N lbs/Acre Ratio":{Element:"Total C:N lbs/Acre Ratio",CsvHeader:"Total C:N lbs/Acre Ratio"},"Total P Concentration %":{Element:"Total P Concentration %",CsvHeader:"Total P Concentration %"},"Total P lbs/Acre":{Element:"Total P lbs/Acre",CsvHeader:"Total P lbs/Acre"},"Total P2O5 Concentration %":{Element:"Total P2O5 Concentration %",CsvHeader:"Total P2O5 Concentration %"},"Total P2O5 lbs/Acre":{Element:"Total P2O5 lbs/Acre",CsvHeader:"Total P2O5 lbs/Acre"},"Total K Concentration %":{Element:"Total K Concentration %",CsvHeader:"Total K Concentration %"},"Total K lbs/Acre":{Element:"Total K lbs/Acre",CsvHeader:"Total K lbs/Acre"},"Total K2O Concentration %":{Element:"Total K2O Concentration %",CsvHeader:"Total K2O Concentration %"},"Total K2O lbs/Acre":{Element:"Total K2O lbs/Acre",CsvHeader:"Total K2O lbs/Acre"},"Total Ca Concentration %":{Element:"Total Ca Concentration %",CsvHeader:"Total Ca Concentration %"},"Total Ca lbs/Acre":{Element:"Total Ca lbs/Acre",CsvHeader:"Total Ca lbs/Acre"},"Total Mg Concentration %":{Element:"Total Mg Concentration %",CsvHeader:"Total Mg Concentration %"},"Total Mg lbs/Acre":{Element:"Total Mg lbs/Acre",CsvHeader:"Total Mg lbs/Acre"},"Total S Concentration %":{Element:"Total S Concentration %",CsvHeader:"Total S Concentration %"},"Total S lbs/Acre":{Element:"Total S lbs/Acre",CsvHeader:"Total S lbs/Acre"},"Total Zn Concentration ppm":{Element:"Total Zn Concentration ppm",CsvHeader:"Total Zn Concentration ppm"},"Total Zn lbs/Acre":{Element:"Total Zn lbs/Acre",CsvHeader:"Total Zn lbs/Acre"},"Total Fe Concentration ppm":{Element:"Total Fe Concentration ppm",CsvHeader:"Total Fe Concentration ppm"},"Total Fe lbs/Acre":{Element:"Total Fe lbs/Acre",CsvHeader:"Total Fe lbs/Acre"},"Total Mn Concentration ppm":{Element:"Total Mn Concentration ppm",CsvHeader:"Total Mn Concentration ppm"},"Total Mn lbs/Acre":{Element:"Total Mn lbs/Acre",CsvHeader:"Total Mn lbs/Acre"},"Total Cu Concentration ppm":{Element:"Total Cu Concentration ppm",CsvHeader:"Total Cu Concentration ppm"},"Total Cu lbs/Acre":{Element:"Total Cu lbs/Acre",CsvHeader:"Total Cu lbs/Acre"},"Total B Concentration ppm":{Element:"Total B Concentration ppm",CsvHeader:"Total B Concentration ppm"},"Total B lbs/Acre":{Element:"Total B lbs/Acre",CsvHeader:"Total B lbs/Acre"},"Total Mo Concentration ppm":{Element:"Total Mo Concentration ppm",CsvHeader:"Total Mo Concentration ppm"},"Total Mo lbs/Acre":{Element:"Total Mo lbs/Acre",CsvHeader:"Total Mo lbs/Acre"},"Total Ni ppm Ni":{Element:"Total Ni ppm Ni",CsvHeader:"Total Ni ppm Ni"},"Total As ppm As":{Element:"Total As ppm As",CsvHeader:"Total As ppm As"},"Total Cd ppm Cd":{Element:"Total Cd ppm Cd",CsvHeader:"Total Cd ppm Cd"},"Total Pb ppm Pb":{Element:"Total Pb ppm Pb",CsvHeader:"Total Pb ppm Pb"},"Rocks grams":{Element:"Rocks grams",CsvHeader:"Rocks grams"},"Roots grams":{Element:"Roots grams",CsvHeader:"Roots grams"},"Total Cr ppm Cr":{Element:"Total Cr ppm Cr",CsvHeader:"Total Cr ppm Cr"},"Total Co ppm Co":{Element:"Total Co ppm Co",CsvHeader:"Total Co ppm Co"},"Total Se ppm Se":{Element:"Total Se ppm Se",CsvHeader:"Total Se ppm Se"},"Total Mo ppm Mo":{Element:"Total Mo ppm Mo",CsvHeader:"Total Mo ppm Mo"},"H2O NH4-N":{Element:"H2O NH4-N",CsvHeader:"H2O NH4-N"},"Sample Density g/cc":{Element:"Sample Density g/cc",CsvHeader:"Sample Density g/cc"},"Molybdenum Hot Water ppm Mo":{Element:"Molybdenum Hot Water ppm Mo",CsvHeader:"Molybdenum Hot Water ppm Mo"},"H2O P":{Element:"H2O P",CsvHeader:"H2O P"},"Texture By Feel":{Element:"Texture By Feel",CsvHeader:"Texture By Feel"},"Comprehensive Bulk Density":{Element:"Comprehensive Bulk Density",CsvHeader:"Comprehensive Bulk Density"},"H3A K":{Element:"H3A K",CsvHeader:"H3A K"},"CO2 Soil Respiration":{Element:"CO2 Soil Respiration",CsvHeader:"CO2 Soil Respiration"},"Rock Volume cm3":{Element:"Rock Volume cm3",CsvHeader:"Rock Volume cm3"},"Rock Density g/cm3":{Element:"Rock Density g/cm3",CsvHeader:"Rock Density g/cm3"},"Ace Protein g/Kg":{Element:"Ace Protein g/Kg",CsvHeader:"Ace Protein g/Kg"}}}}},ew={L_MODV2_SOIL_ACIDT_002:{Element:"Acidity",ModusTestID:"S-Acidity.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_ASAR_001:{Element:"adjusted sodium adsorption ratio",ModusTestID:"S-SARJ-SP.00",ValueUnit:"Ratio"},L_MODV2_SOIL_AL_001:{Element:"Aluminum",ModusTestID:"S-AL-BACL2.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_AL_002:{Element:"Aluminum",ModusTestID:"S-AL-OX.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_003:{Element:"Aluminum",ModusTestID:"S-TAL-RAR.23",ValueUnit:"%"},L_MODV2_SOIL_AL_004:{Element:"Aluminum",ModusTestID:"S-AL-CACL2.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_005:{Element:"Aluminum",ModusTestID:"S-AL.19",ValueUnit:"%"},L_MODV2_SOIL_AL_006:{Element:"Aluminum",ModusTestID:"S-AL-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_010:{Element:"Aluminum",ModusTestID:"S-AL-H3A.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_011:{Element:"Aluminum",ModusTestID:"S-AL-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_012:{Element:"Aluminum",ModusTestID:"S-AL-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_014:{Element:"Aluminum",ModusTestID:"S-AL-NA.04",ValueUnit:"ppm"},L_MODV2_SOIL_AL_018:{Element:"Aluminum",ModusTestID:"S-AL-1KCL.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_020:{Element:"Aluminum",ModusTestID:"S-Al-KCL.12",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_022:{Element:"Aluminum",ModusTestID:"S-AL-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_AMINON_001:{Element:"Amino Nitrogen",ModusTestID:"S-AN-12.00"},L_MODV2_SOIL_NH4N_002:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4N-W1:1.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_003:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4-H3A1.01.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_004:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4-RES.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_005:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4-KCL.01.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_006:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4-KCL.09",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_007:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4N-05KCL.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_008:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4N-2KCL.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4N_009:{Element:"Ammonium-Nitrogen",ModusTestID:"S-NH4N-SP.01",ValueUnit:"mg/L"},L_MODV2_SOIL_SB_001:{Element:"Antimony",ModusTestID:"S-SB-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_AS_001:{Element:"Arsenic",ModusTestID:"S-AS-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_AS_002:{Element:"Arsenic",ModusTestID:"S-AS-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_AS_003:{Element:"Arsenic",ModusTestID:"S-AS-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_BA_001:{Element:"Barium",ModusTestID:"S-BA-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_BS_001:{Element:"Base Saturation",ModusTestID:"S-BS.19",ValueUnit:"%"},L_MODV2_SOIL_HBS_001:{Element:"Base Saturation - H",ModusTestID:"S-BS-H.19",ValueUnit:"%"},L_MODV2_SOIL_KBS_001:{Element:"Base Saturation - K",ModusTestID:"S-BS-K.19",ValueUnit:"%"},L_MODV2_SOIL_MGBS_001:{Element:"Base Saturation - Mg",ModusTestID:"S-BS-MG.19",ValueUnit:"%"},L_MODV2_SOIL_NABS_001:{Element:"Base Saturation - Na",ModusTestID:"S-BS-NA.19",ValueUnit:"%"},L_MODV2_SOIL_HCO3_001:{Element:"Bicarbonate",ModusTestID:"S-HCO3-SP.19",ValueUnit:"meq/L"},L_MODV2_SOIL_HCO3_004:{Element:"Bicarbonate",ModusTestID:"S-HCO3-W1:1.12",ValueUnit:"meq/L"},L_MODV2_SOIL_HCO3_005:{Element:"Bicarbonate",ModusTestID:"S-HCO3-ALK.01",ValueUnit:"meq/L"},L_MODV2_SOIL_B_001:{Element:"Boron",ModusTestID:"S-B-CACL2.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_003:{Element:"Boron",ModusTestID:"S-B-HW.01.10",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_004:{Element:"Boron",ModusTestID:"S-B-HW.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_005:{Element:"Boron",ModusTestID:"S-B-W1:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_006:{Element:"Boron",ModusTestID:"S-B-W1:2.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_007:{Element:"Boron",ModusTestID:"S-B-W1:5.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_008:{Element:"Boron",ModusTestID:"S-B-W1:5.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_009:{Element:"Boron",ModusTestID:"S-B-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_010:{Element:"Boron",ModusTestID:"S-B-SP.04",ValueUnit:"meq/L"},L_MODV2_SOIL_B_011:{Element:"Boron",ModusTestID:"S-B-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_012:{Element:"Boron",ModusTestID:"S-B-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_015:{Element:"Boron",ModusTestID:"S-B-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_016:{Element:"Boron",ModusTestID:"S-B-M1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_017:{Element:"Boron",ModusTestID:"S-B-M3.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_019:{Element:"Boron",ModusTestID:"S-B-NA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_BPH_001:{Element:"Buffer pH",ModusTestID:"S-BPH-AEB.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_002:{Element:"Buffer pH",ModusTestID:"S-BPH-MAEB.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_003:{Element:"Buffer pH",ModusTestID:"S-BPH.19",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_004:{Element:"Buffer pH",ModusTestID:"S-BPH-MEB.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_007:{Element:"Buffer pH",ModusTestID:"S-BPH-SIK1.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_008:{Element:"Buffer pH",ModusTestID:"S-BPH-SIK2.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_009:{Element:"Buffer pH",ModusTestID:"S-BPH-SMPB.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_010:{Element:"Buffer pH",ModusTestID:"S-BPH-WB.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_011:{Element:"Buffer pH",ModusTestID:"S-BPH-MWB.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BD_001:{Element:"Bulk Density",ModusTestID:"S-BD-Clod.00",ValueUnit:"g/cm3"},L_MODV2_SOIL_BD_002:{Element:"Bulk Density",ModusTestID:"S-BD-Coarse.15",ValueUnit:"g/cm3"},L_MODV2_SOIL_BD_003:{Element:"Bulk Density",ModusTestID:"S-BD-Core.00",ValueUnit:"g/cm3"},L_MODV2_SOIL_BD_004:{Element:"Bulk Density",ModusTestID:"S-BD-Fine.15",ValueUnit:"g/cm3"},L_MODV2_SOIL_BD_005:{Element:"Bulk Density",ModusTestID:"S-BD-Scoop.00",ValueUnit:"g/cm3"},L_MODV2_SOIL_BD_006:{Element:"Bulk Density",ModusTestID:"S-BD.19",ValueUnit:"g/cm3"},L_MODV2_SOIL_CNRATIO_002:{Element:"C:N Ratio",ModusTestID:"S-C:N.16",ValueUnit:"Ratio"},L_MODV2_SOIL_CNRATIO_003:{Element:"C:N Ratio",ModusTestID:"S-C:N.19",ValueUnit:"Ratio"},L_MODV2_SOIL_CNRATIO_004:{Element:"C:N Ratio",ModusTestID:"S-C:N-Haney.19",ValueUnit:"Ratio"},L_MODV2_SOIL_CAEMGP_001:{Element:"Ca + exchangable Mg",ModusTestID:"S-CAEMG-M1.19"},L_MODV2_SOIL_CAKRATIO_001:{Element:"Ca:K ratio",ModusTestID:"S-CA:KM1.19"},L_MODV2_SOIL_CAMGRATIO_001:{Element:"Ca:Mg ratio",ModusTestID:"S-CA:MG.19"},L_MODV2_SOIL_CAMGRATIO_002:{Element:"Ca:Mg ratio",ModusTestID:"S-CA:MG-AA.19"},L_MODV2_SOIL_CAMGRATIO_003:{Element:"Ca:Mg ratio",ModusTestID:"S-CA:MG-BACL2.19"},L_MODV2_SOIL_CAMGRATIO_004:{Element:"Ca:Mg ratio",ModusTestID:"S-CA:MG-PWAA.19"},L_MODV2_SOIL_CANO3RATIO_001:{Element:"Ca:NO3 ratio",ModusTestID:"S-CA:NO3.19"},L_MODV2_SOIL_CAMGKRATIO_001:{Element:"Ca+Mg:K ratio",ModusTestID:"S-CAMG:KM1.19"},L_MODV2_SOIL_CD_001:{Element:"Cadmium",ModusTestID:"S-CD-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_CD_002:{Element:"Cadmium",ModusTestID:"S-CD-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CD_005:{Element:"Cadmium",ModusTestID:"S-CD-EPA6010B.00"},L_MODV2_SOIL_CA_001:{Element:"Calcium",ModusTestID:"S-CA-PWAA.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CA_002:{Element:"Calcium",ModusTestID:"S-CA-AA.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_003:{Element:"Calcium",ModusTestID:"S-CA-NH4AC.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_005:{Element:"Calcium",ModusTestID:"S-CA-NH4CL.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CA_006:{Element:"Calcium",ModusTestID:"S-CA-PNA4CL.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CA_007:{Element:"Calcium",ModusTestID:"S-CA-BACL2.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CA_008:{Element:"Calcium",ModusTestID:"S-CA-INDX.19",ValueUnit:"none"},L_MODV2_SOIL_CA_009:{Element:"Calcium",ModusTestID:"S-CA-M3AA.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_010:{Element:"Calcium",ModusTestID:"S-CA-W1:1.05",ValueUnit:"meq/L"},L_MODV2_SOIL_CA_011:{Element:"Calcium",ModusTestID:"S-CA-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_012:{Element:"Calcium",ModusTestID:"S-CA-W5:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_013:{Element:"Calcium",ModusTestID:"S-CA-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_014:{Element:"Calcium",ModusTestID:"S-CA-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_016:{Element:"Calcium",ModusTestID:"S-CA-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_017:{Element:"Calcium",ModusTestID:"S-CA-LANC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_018:{Element:"Calcium",ModusTestID:"S-CA-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_019:{Element:"Calcium",ModusTestID:"S-CA-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_020:{Element:"Calcium",ModusTestID:"S-CA.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_021:{Element:"Calcium",ModusTestID:"S-CA-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_023:{Element:"Calcium",ModusTestID:"S-CA-MOR.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_024:{Element:"Calcium",ModusTestID:"S-CA-MMOR.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_025:{Element:"Calcium",ModusTestID:"S-CA-NA.04",ValueUnit:"%"},L_MODV2_SOIL_CA_026:{Element:"Calcium",ModusTestID:"S-CA-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_CA_027:{Element:"Calcium",ModusTestID:"S-CA-PRS.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_030:{Element:"Calcium",ModusTestID:"S-CA-KCL-01.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_031:{Element:"Calcium",ModusTestID:"S-CA-SP.05",ValueUnit:"meq/L"},L_MODV2_SOIL_CA_032:{Element:"Calcium",ModusTestID:"S-CA-TRG.06",ValueUnit:"mg/kg"},L_MODV2_SOIL_CACO3_001:{Element:"Calcium Carbonate",ModusTestID:"S-CACO3-AA.02",ValueUnit:"%"},L_MODV2_SOIL_CACO3_002:{Element:"Calcium Carbonate",ModusTestID:"S-CACO3-OxA.12",ValueUnit:"%"},L_MODV2_SOIL_CACO3_003:{Element:"Calcium Carbonate",ModusTestID:"S-CACO3.14",ValueUnit:"%"},L_MODV2_SOIL_CACO3_004:{Element:"Calcium Carbonate",ModusTestID:"S-CACO3.12",ValueUnit:"%"},L_MODV2_SOIL_CACO3_005:{Element:"Calcium Carbonate",ModusTestID:"S-CACO3.15",ValueUnit:"%"},L_MODV2_SOIL_C_001:{Element:"Carbon",ModusTestID:"S-C-W-04",ValueUnit:"mg/kg"},L_MODV2_SOIL_TC_001:{Element:'"carbon, total"',ModusTestID:"S-TC-COMB.15",ValueUnit:"%"},L_MODV2_SOIL_CO3_001:{Element:"Carbonate",ModusTestID:"S-CO3-AA.02",ValueUnit:"%"},L_MODV2_SOIL_CO3_002:{Element:"Carbonate",ModusTestID:"S-CO3-W1:1.12",ValueUnit:"meq/L"},L_MODV2_SOIL_CO3_003:{Element:"Carbonate",ModusTestID:"S-CO3-SP.19",ValueUnit:"meq/L"},L_MODV2_SOIL_CO3_004:{Element:"Carbonate",ModusTestID:"S-CO3-SP.12",ValueUnit:"meq/L"},L_MODV2_SOIL_CO3QUAL_001:{Element:'"carbonates, qualitative"',ModusTestID:"S-CACO3.11",ValueUnit:"none"},L_MODV2_SOIL_CEC_001:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-AA.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_CEC_002:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-NH4N.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CEC_003:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-PWAA.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_CEC_005:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-BACL2.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CEC_006:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-BACLAA.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CEC_007:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-CA.05",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CEC_008:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC.19",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CEC_009:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-K.05",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CEC_010:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-AG-THU.05",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CEC_011:{Element:"Cation Exchange Capacity",ModusTestID:"S-CEC-NA.05",ValueUnit:"cmol/kg"},L_MODV2_SOIL_CROSS_001:{Element:"cation ratio of structural stability",ModusTestID:"S-CROSS-W5:1.19",ValueUnit:"none"},L_MODV2_SOIL_CATANRATIO_001:{Element:"Cation:Anion Ratio",ModusTestID:"S-C:A.19"},L_MODV2_SOIL_CL_004:{Element:"Chloride",ModusTestID:"S-CL-HG.01",ValueUnit:"ppm"},L_MODV2_SOIL_CL_005:{Element:"Chloride",ModusTestID:"S-CL-W1:1.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_CL_006:{Element:"Chloride",ModusTestID:"S-CL-W1:1.01.04",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_007:{Element:"Chloride",ModusTestID:"S-CL-W1:1.08",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_008:{Element:"Chloride",ModusTestID:"S-CL-W1:1.17",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_009:{Element:"Chloride",ModusTestID:"S-CL-EPA3000.00",ValueUnit:"mg/L"},L_MODV2_SOIL_CL_010:{Element:"Chloride",ModusTestID:"S-CL-SP.01.04",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_011:{Element:"Chloride",ModusTestID:"S-CL-SP.12.06",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_012:{Element:"Chloride",ModusTestID:"S-CL-SP.17",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_013:{Element:"Chloride",ModusTestID:"S-CL-SP.01",ValueUnit:"mg/L"},L_MODV2_SOIL_CL_014:{Element:"Chloride",ModusTestID:"S-CL-SP.02",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_015:{Element:"Chloride",ModusTestID:"S-CL-SP.08",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_016:{Element:"Chloride",ModusTestID:"S-CL.01.04",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_017:{Element:"Chloride",ModusTestID:"S-CL.12.06",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_018:{Element:"Chloride",ModusTestID:"S-CL-1:5.02",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_019:{Element:"Chloride",ModusTestID:"S-CL-1:5.17",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_020:{Element:"Chloride",ModusTestID:"S-CL-1:5H2O.01",ValueUnit:"meq/L"},L_MODV2_SOIL_CR_001:{Element:"Chromium",ModusTestID:"S-CR-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_CR_002:{Element:"Chromium",ModusTestID:"S-CR-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CR_005:{Element:"Chromium",ModusTestID:"S-CR-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_CLAY_001:{Element:"Clay",ModusTestID:"S-CLAY-SV.19",ValueUnit:"%"},L_MODV2_SOIL_CLAY_002:{Element:"Clay",ModusTestID:"S-CLAY.22",ValueUnit:"%"},L_MODV2_SOIL_CLAY_003:{Element:"Clay",ModusTestID:"S-CLAY-SED.10",ValueUnit:"%"},L_MODV2_SOIL_CLAY_004:{Element:"Clay",ModusTestID:"S-CLAY-SED.11,S-CLAY-ST-OT",ValueUnit:"%"},L_MODV2_SOIL_CO2RESP_001:{Element:"CO2 Respiration",ModusTestID:"S-CO2-RESP.01",ValueUnit:"%"},L_MODV2_SOIL_CO_001:{Element:"Cobalt",ModusTestID:"S-CO-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_CO_003:{Element:"Cobalt",ModusTestID:"S-CO-DTPA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CO_004:{Element:"Cobalt",ModusTestID:"S-CO-EPA2007.00",ValueUnit:"mg/L"},L_MODV2_SOIL_CO_005:{Element:"Cobalt",ModusTestID:"S-CO-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CO_006:{Element:"Cobalt",ModusTestID:"S-CO-M3.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_COLOR_001:{Element:"Color",ModusTestID:"S-Color.24",ValueUnit:"none"},L_MODV2_SOIL_CU_002:{Element:"Copper",ModusTestID:"S-CU-DTPA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_003:{Element:"Copper",ModusTestID:"S-CU-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_004:{Element:"Copper",ModusTestID:"S-CU-EDTA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_005:{Element:"Copper",ModusTestID:"S-CU-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_008:{Element:"Copper",ModusTestID:"S-CU-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_009:{Element:"Copper",ModusTestID:"S-CU-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_010:{Element:"Copper",ModusTestID:"S-CU-HCL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_011:{Element:"Copper",ModusTestID:"S-CU-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_012:{Element:"Copper",ModusTestID:"S-CU-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_013:{Element:"Copper",ModusTestID:"S-CU-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_014:{Element:"Copper",ModusTestID:"S-CU-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_018:{Element:"Copper",ModusTestID:"S-CU-NA.04",ValueUnit:"ppm"},L_MODV2_SOIL_CU_022:{Element:"Copper",ModusTestID:"S-CU-SP.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_CUINDEX_001:{Element:"Copper Index",ModusTestID:"S-CU-NCINDX",ValueUnit:"none"},L_MODV2_SOIL_DM_001:{Element:"Deleterious material",ModusTestID:"S-DM.15",ValueUnit:"%"},L_MODV2_SOIL_DINDEX_001:{Element:"Dispersion Index",ModusTestID:"S-DI.24",ValueUnit:"none"},L_MODV2_SOIL_EC_001:{Element:"Electrical Conductivity",ModusTestID:"S-EC-1:1.03",ValueUnit:"dS/m"},L_MODV2_SOIL_EC_002:{Element:"Electrical Conductivity",ModusTestID:"S-EC-1:2.03",ValueUnit:"dS/m"},L_MODV2_SOIL_EC_003:{Element:"Electrical Conductivity",ModusTestID:"S-EC-1:5.03",ValueUnit:"dS/m"},L_MODV2_SOIL_EC_004:{Element:"Electrical Conductivity",ModusTestID:"S-EC-SP.03",ValueUnit:"dS/m"},L_MODV2_SOIL_EC_005:{Element:"Electrical Conductivity",ModusTestID:"S-EC.CALC.19",ValueUnit:"dS/m"},L_MODV2_SOIL_ESI_001:{Element:"Electrochemical Stability Index",ModusTestID:"S-ESI.19",ValueUnit:"none"},L_MODV2_SOIL_EMERSON_001:{Element:"Emerson Class",ModusTestID:"S-EMERSON.19",ValueUnit:"none"},L_MODV2_SOIL_ENR_001:{Element:"Estimated Nitrogen Release",ModusTestID:"S-ENR.19",ValueUnit:"lb/ac"},L_MODV2_SOIL_XACIDT_001:{Element:"Exchangeable Acidity",ModusTestID:"S-AC-KCL.12",ValueUnit:"cmol/kg"},L_MODV2_SOIL_XAL_001:{Element:"Exchangeable Aluminum",ModusTestID:"S-EAL-KCL.19",ValueUnit:"%"},L_MODV2_SOIL_XCAP_001:{Element:"Exchangeable Calcium Percentage",ModusTestID:"S-ECAP.19",ValueUnit:"%"},L_MODV2_SOIL_XH_001:{Element:"Exchangeable Hydrogen",ModusTestID:"S-EH-KCL.12",ValueUnit:"meq/100 g"},L_MODV2_SOIL_XHP_001:{Element:"Exchangeable Hydrogen Percentage",ModusTestID:"S-EHP.19",ValueUnit:"%"},L_MODV2_SOIL_XMGP_001:{Element:"Exchangeable Magnesium Percentage",ModusTestID:"S-EMGP.19",ValueUnit:"%"},L_MODV2_SOIL_XKP_001:{Element:"Exchangeable Potassium Percentage",ModusTestID:"S-EKP.19",ValueUnit:"%"},L_MODV2_SOIL_XNAP_001:{Element:"Exchangeable Sodium Percentage",ModusTestID:"S-ESP.19",ValueUnit:"%"},L_MODV2_SOIL_F_001:{Element:"Fluoride",ModusTestID:"S-F-EPA3000.00",ValueUnit:"mg/L"},L_MODV2_SOIL_GTRI_001:{Element:"Grass Tetany Risk Index",ModusTestID:"S-GTRI-PWAA.19",ValueUnit:"none"},L_MODV2_SOIL_GTRI_002:{Element:"Grass Tetany Risk Index",ModusTestID:"S-GTRI-AA.19",ValueUnit:"none"},L_MODV2_SOIL_GTRI_003:{Element:"Grass Tetany Risk Index",ModusTestID:"S-GTRI-BACL2.19",ValueUnit:"none"},L_MODV2_SOIL_GRAVEL_001:{Element:"Gravel",ModusTestID:"S-GRAVEL.19",ValueUnit:"%"},L_MODV2_SOIL_GYPREC_001:{Element:"Gypsum Recommendation",ModusTestID:"S-GYPR.19",ValueUnit:"tons/ac"},L_MODV2_SOIL_HEAL_001:{Element:"H+EAlP",ModusTestID:"S-HEAL-SMP.19",ValueUnit:"none"},L_MODV2_SOIL_HM_001:{Element:"Humic Matter",ModusTestID:"S-HA-FSPA.01",ValueUnit:"%"},L_MODV2_SOIL_HM_002:{Element:"Humic Matter",ModusTestID:"S.HM-NaOH",ValueUnit:"%"},L_MODV2_SOIL_HAL_001:{Element:"Hydrogen+Aluminum",ModusTestID:"S-H+AL-SMP.02",ValueUnit:"meq/100 g"},L_MODV2_SOIL_OH_001:{Element:"Hydroxide",ModusTestID:"S-OH-SM2320B18.12",ValueUnit:"mg/L"},L_MODV2_SOIL_FE_001:{Element:"Iron",ModusTestID:"S-FE-OX.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_003:{Element:"Iron",ModusTestID:"S-FE-DTPA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_004:{Element:"Iron",ModusTestID:"S-FE-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_005:{Element:"Iron",ModusTestID:"S-FE-EDTA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_006:{Element:"Iron",ModusTestID:"S-FE-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_007:{Element:"Iron",ModusTestID:"S-FE-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_010:{Element:"Iron",ModusTestID:"S-FE-H3A.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_011:{Element:"Iron",ModusTestID:"S-FE-HCL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_012:{Element:"Iron",ModusTestID:"S-FE-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_013:{Element:"Iron",ModusTestID:"S-FE-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_014:{Element:"Iron",ModusTestID:"S-FE-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_015:{Element:"Iron",ModusTestID:"S-FE-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_017:{Element:"Iron",ModusTestID:"S-FE-NA.04",ValueUnit:"ppm"},L_MODV2_SOIL_FE_021:{Element:"Iron",ModusTestID:"S-FE-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_KBRATIO_001:{Element:"K:B ratio",ModusTestID:"S-K:B.19",ValueUnit:"none"},L_MODV2_SOIL_KBRATIO_002:{Element:"K:B ratio",ModusTestID:"S-K:B-M3.19",ValueUnit:"none"},L_MODV2_SOIL_KMGRATIO_001:{Element:"K:Mg ratio",ModusTestID:"S-K:MG-PWAA.19",ValueUnit:"none"},L_MODV2_SOIL_KMGRATIO_002:{Element:"K:Mg ratio",ModusTestID:"S-K:MG-AA.19",ValueUnit:"none"},L_MODV2_SOIL_KMGRATIO_003:{Element:"K:Mg ratio",ModusTestID:"S-K:MG-BACL2.19",ValueUnit:"none"},L_MODV2_SOIL_KMGRATIO_004:{Element:"K:Mg ratio",ModusTestID:"S-K:MG.19",ValueUnit:"none"},L_MODV2_SOIL_KNARATIO_001:{Element:"K:Na ratio",ModusTestID:"S-K:Na-M3.19",ValueUnit:"none"},L_MODV2_SOIL_KNARATIO_002:{Element:"K:Na ratio",ModusTestID:"S-K:Na.19",ValueUnit:"none"},L_MODV2_SOIL_PB_001:{Element:"Lead",ModusTestID:"S-PB-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_PB_002:{Element:"Lead",ModusTestID:"S-PB-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_PB_003:{Element:"Lead",ModusTestID:"S-PB-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_LINDEX_001:{Element:"Lime Index",ModusTestID:"S-LIME-INDX.19",ValueUnit:"none"},L_MODV2_SOIL_LREC_001:{Element:"Lime Recommendation",ModusTestID:"S-LR-AEB",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_002:{Element:"Lime Recommendation",ModusTestID:"S-LR-MAEB",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_003:{Element:"Lime Recommendation",ModusTestID:"S-LR-MB",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_004:{Element:"Lime Recommendation",ModusTestID:"S-LR-MWB",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_005:{Element:"Lime Recommendation",ModusTestID:"S-LR-SIK1",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_006:{Element:"Lime Recommendation",ModusTestID:"S-LR-SIK2",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_007:{Element:"Lime Recommendation",ModusTestID:"S-LR-SMP",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_008:{Element:"Lime Recommendation",ModusTestID:"S-LR-TA",ValueUnit:"tons/ac"},L_MODV2_SOIL_LREC_009:{Element:"Lime Recommendation",ModusTestID:"S-LR-WB",ValueUnit:"tons/ac"},L_MODV2_SOIL_LI_001:{Element:"Lithium",ModusTestID:"S-LI-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_001:{Element:"Magnesium",ModusTestID:"S-MG-PWAA.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_MG_002:{Element:"Magnesium",ModusTestID:"S-MG-NH4AC.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_003:{Element:"Magnesium",ModusTestID:"S-MG-NH4CL.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_MG_004:{Element:"Magnesium",ModusTestID:"S-MG-PNA4CL.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_MG_005:{Element:"Magnesium",ModusTestID:"S-MG-BACL2.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_MG_007:{Element:"Magnesium",ModusTestID:"S-MG.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_008:{Element:"Magnesium",ModusTestID:"S-MG-W1:1.05",ValueUnit:"meq/L"},L_MODV2_SOIL_MG_009:{Element:"Magnesium",ModusTestID:"S-MG-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_010:{Element:"Magnesium",ModusTestID:"S-MG-W5:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_011:{Element:"Magnesium",ModusTestID:"S-MG-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_012:{Element:"Magnesium",ModusTestID:"S-MG-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_015:{Element:"Magnesium",ModusTestID:"S-MG-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_017:{Element:"Magnesium",ModusTestID:"S-MG-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_018:{Element:"Magnesium",ModusTestID:"S-MG-LANC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_019:{Element:"Magnesium",ModusTestID:"S-MG-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_020:{Element:"Magnesium",ModusTestID:"S-MG-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_022:{Element:"Magnesium",ModusTestID:"S-MG-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_023:{Element:"Magnesium",ModusTestID:"S-MG-MOR.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_024:{Element:"Magnesium",ModusTestID:"S-MG-MMOR.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_025:{Element:"Magnesium",ModusTestID:"S-MG-NA.04",ValueUnit:"%"},L_MODV2_SOIL_MG_027:{Element:"Magnesium",ModusTestID:"S-MG-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_MG_028:{Element:"Magnesium",ModusTestID:"S-MG-PRS.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_029:{Element:"Magnesium",ModusTestID:"S-MG-KCL-01.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_030:{Element:"Magnesium",ModusTestID:"S-MG-SP.05",ValueUnit:"meq/L"},L_MODV2_SOIL_MG_031:{Element:"Magnesium",ModusTestID:"S-MG-TRG.06",ValueUnit:"mg/kg"},L_MODV2_SOIL_MGINDEX_001:{Element:"Magnesium Index",ModusTestID:"S-MG-INDX.19",ValueUnit:"none"},L_MODV2_SOIL_MN_002:{Element:"Manganese",ModusTestID:"S-MN-DTPA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_003:{Element:"Manganese",ModusTestID:"S-MN-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_004:{Element:"Manganese",ModusTestID:"S-MN-EDTA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_005:{Element:"Manganese",ModusTestID:"S-MN-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_009:{Element:"Manganese",ModusTestID:"S-MN-HCL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_010:{Element:"Manganese",ModusTestID:"S-MN-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_011:{Element:"Manganese",ModusTestID:"S-MN-LANC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_012:{Element:"Manganese",ModusTestID:"S-MN-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_013:{Element:"Manganese",ModusTestID:"S-MN-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_015:{Element:"Manganese",ModusTestID:"S-MN-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_018:{Element:"Manganese",ModusTestID:"S-MN-NA.04",ValueUnit:"ppm"},L_MODV2_SOIL_MN_019:{Element:"Manganese",ModusTestID:"S-MN-PHOS.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_024:{Element:"Manganese",ModusTestID:"S-MN-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_MNINDEX_001:{Element:"Manganese Index",ModusTestID:"S-MN-NCINDX",ValueUnit:"none"},L_MODV2_SOIL_HG_001:{Element:"Mercury",ModusTestID:"S-HG-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MGKRATIO_001:{Element:"Mg:K ratio",ModusTestID:"S-MG:K.19",ValueUnit:"none"},L_MODV2_SOIL_MNCURATIO_001:{Element:"Mn:Cu ratio",ModusTestID:"S-Mn:Cu-M3.19",ValueUnit:"none"},L_MODV2_SOIL_MNCURATIO_002:{Element:"Mn:Cu ratio",ModusTestID:"S-Mn:Cu.19",ValueUnit:"none"},L_MODV2_SOIL_MNZNRATIO_001:{Element:"Mn:Zn ratio",ModusTestID:"S-Mn:Zn-M3.19",ValueUnit:"none"},L_MODV2_SOIL_MNZNRATIO_002:{Element:"Mn:Zn ratio",ModusTestID:"S-Mn:Zn.19",ValueUnit:"none"},L_MODV2_SOIL_GAWC_001:{Element:"moisture content",ModusTestID:"S-AW.14",ValueUnit:"%"},L_MODV2_SOIL_GWC_001:{Element:"moisture content",ModusTestID:"S-MOIST-GRAV.00",ValueUnit:"%"},L_MODV2_SOIL_GWC_002:{Element:"moisture content",ModusTestID:"S-MOIST-SP.00",ValueUnit:"%"},L_MODV2_SOIL_GWC_03BAR_001:{Element:"moisture content",ModusTestID:"S-0.3BAR.14",ValueUnit:"%"},L_MODV2_SOIL_GWC_15BAR_001:{Element:"moisture content",ModusTestID:"S-15BAR.14",ValueUnit:"%"},L_MODV2_SOIL_MO_001:{Element:"Molybdenum",ModusTestID:"S-MO-OA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_002:{Element:"Molybdenum",ModusTestID:"S-MO-OA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_003:{Element:"Molybdenum",ModusTestID:"S-MO-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_MO_005:{Element:"Molybdenum",ModusTestID:"S-MO-CACL2.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_006:{Element:"Molybdenum",ModusTestID:"S-MO-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_009:{Element:"Molybdenum",ModusTestID:"S-MO-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_010:{Element:"Molybdenum",ModusTestID:"S-MO-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_011:{Element:"Molybdenum",ModusTestID:"S-MO-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_012:{Element:"Molybdenum",ModusTestID:"S-MO-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_014:{Element:"Molybdenum",ModusTestID:"S-MO-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_015:{Element:"Molybdenum",ModusTestID:"S-MO-NA.04",ValueUnit:"ppm"},L_MODV2_SOIL_MO_018:{Element:"Molybdenum",ModusTestID:"S-MO-PRS.04",ValueUnit:"ug/10cm2"},L_MODV2_SOIL_MO_019:{Element:"Molybdenum",ModusTestID:"S-MO-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_MO_020:{Element:"Molybdenum",ModusTestID:"S-MO-PRS.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_021:{Element:"Molybdenum",ModusTestID:"S-MO-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_MO_022:{Element:"Molybdenum",ModusTestID:"S-MO-HOTH2O.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NI_001:{Element:"Nickel",ModusTestID:"S-NI-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_NI_002:{Element:"Nickel",ModusTestID:"S-NI-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_001:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3N-ALSO4B.02",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_004:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-CTA.01.02",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_005:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-W1:1.01.01",ValueUnit:"meq/L"},L_MODV2_SOIL_NO3N_006:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3N-EPA3000.00",ValueUnit:"mg/L"},L_MODV2_SOIL_NO3N_007:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3N-EPA3532.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_008:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-H3A1.01.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_009:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-RES.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_010:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-1:5.01.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_011:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-1:5.02",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_012:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-1:5.09",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_013:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-KCL.01.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_014:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3N.2KCL.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_015:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3N-05KCL.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_016:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-5K2SO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_017:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3N-SP.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_018:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-SP.01.01",ValueUnit:"meq/L"},L_MODV2_SOIL_NO3N_019:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-SP.02",ValueUnit:"meq/L"},L_MODV2_SOIL_NO3N_020:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-SP.02.02",ValueUnit:"meq/L"},L_MODV2_SOIL_NO3N_021:{Element:"Nitrate-Nitrogen",ModusTestID:"S-NO3-BIC.01.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO2N_001:{Element:"Nitrite-Nitrogen",ModusTestID:"S-NO2-KCL.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_TKN_001:{Element:'"Nitrogen, Total"',ModusTestID:"S-TKN.01",ValueUnit:"%"},L_MODV2_SOIL_TKN_002:{Element:'"Nitrogen, Total"',ModusTestID:"S-TKN.01.05",ValueUnit:"%"},L_MODV2_SOIL_TKN_003:{Element:'"Nitrogen, Total"',ModusTestID:"S-TKN.09",ValueUnit:"%"},L_MODV2_SOIL_TKN_004:{Element:'"Nitrogen, Total"',ModusTestID:"S-TKN.18",ValueUnit:"%"},L_MODV2_SOIL_TKN_005:{Element:'"Nitrogen, Total"',ModusTestID:"S-TN.01.05",ValueUnit:"%"},L_MODV2_SOIL_TKN_006:{Element:'"Nitrogen, Total"',ModusTestID:"S-TN.09",ValueUnit:"%"},L_MODV2_SOIL_TKN_007:{Element:'"Nitrogen, Total"',ModusTestID:"S-TN.18",ValueUnit:"%"},L_MODV2_SOIL_TN_001:{Element:'"Nitrogen, Total"',ModusTestID:"S-TKN.19",ValueUnit:"%"},L_MODV2_SOIL_TN_002:{Element:'"Nitrogen, Total"',ModusTestID:"S-TN.16",ValueUnit:"%"},L_MODV2_SOIL_TN_003:{Element:'"Nitrogen, Total"',ModusTestID:"S-TN-W.01"},L_MODV2_SOIL_TN_004:{Element:'"Nitrogen, Total"',ModusTestID:"S-TN-RES.01",ValueUnit:"lb/ac/day"},L_MODV2_SOIL_TIN_001:{Element:'"Nitrogen, Total Inorganic"',ModusTestID:"S-TIN.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_NULL_001:{Element:"Null",ModusTestID:"S-XX.00",ValueUnit:"none"},L_MODV2_SOIL_OC_001:{Element:"Organic Carbon",ModusTestID:"S-TOC.16",ValueUnit:"%"},L_MODV2_SOIL_OC_002:{Element:"Organic Carbon",ModusTestID:"S-OC-WB.01",ValueUnit:"%"},L_MODV2_SOIL_OC_003:{Element:"Organic Carbon",ModusTestID:"S-OC-WB.01",ValueUnit:"%"},L_MODV2_SOIL_OC_004:{Element:"Organic Carbon",ModusTestID:"S-OC-WB.12",ValueUnit:"%"},L_MODV2_SOIL_OC_005:{Element:"Organic Carbon",ModusTestID:"S-TOC-W1:10.16",ValueUnit:"mg/kg"},L_MODV2_SOIL_TOC_001:{Element:'"Organic Carbon, Total"',ModusTestID:"S-TOC.12.09",ValueUnit:"%"},L_MODV2_SOIL_OM_001:{Element:"Organic Matter",ModusTestID:"S-OM.19",ValueUnit:"%"},L_MODV2_SOIL_OM_002:{Element:"Organic Matter",ModusTestID:"S-SOM-Color.19",ValueUnit:"%"},L_MODV2_SOIL_OM_003:{Element:"Organic Matter",ModusTestID:"S-OM-DUMAS.16",ValueUnit:"%"},L_MODV2_SOIL_OM_004:{Element:"Organic Matter",ModusTestID:"S-SOM-LOI.15",ValueUnit:"%"},L_MODV2_SOIL_OM_005:{Element:"Organic Matter",ModusTestID:"S-SOM-WB.01.09",ValueUnit:"%"},L_MODV2_SOIL_OM_006:{Element:"Organic Matter",ModusTestID:"S-SOM-WB.12.09",ValueUnit:"%"},L_MODV2_SOIL_ON_001:{Element:"Organic Nitrogen",ModusTestID:"S-ON.19",ValueUnit:"mg/L"},L_MODV2_SOIL_OTHER_001:{Element:"Other",ModusTestID:"S-OTHER.19",ValueUnit:"none"},L_MODV2_SOIL_PCURATIO_001:{Element:"P:Cu ratio",ModusTestID:"S-P:Cu-M3.19",ValueUnit:"none"},L_MODV2_SOIL_PCURATIO_002:{Element:"P:Cu ratio",ModusTestID:"S-P:Cu.19",ValueUnit:"none"},L_MODV2_SOIL_PMNRATIO_001:{Element:"P:Mn ratio",ModusTestID:"S-P:Mn-M3.19",ValueUnit:"none"},L_MODV2_SOIL_PMNRATIO_002:{Element:"P:Mn ratio",ModusTestID:"S-P:Mn.19",ValueUnit:"none"},L_MODV2_SOIL_PSRATIO_001:{Element:"P:S ratio",ModusTestID:"S-P:S-M3.19",ValueUnit:"none"},L_MODV2_SOIL_PSRATIO_002:{Element:"P:S ratio",ModusTestID:"S-P:S.19",ValueUnit:"none"},L_MODV2_SOIL_PZNRATIO_001:{Element:"P:Zn ratio",ModusTestID:"S-P:Zn-M3.19",ValueUnit:"none"},L_MODV2_SOIL_PZNRATIO_002:{Element:"P:Zn ratio",ModusTestID:"S-P:Zn.19",ValueUnit:"none"},L_MODV2_SOIL_MNO4OXC_001:{Element:"permanganate-oxidizable carbon (POXC)",ModusTestID:"S-AC-KMNO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_PH_002:{Element:"pH",ModusTestID:"S-PH-1:1.02.08",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_003:{Element:"pH",ModusTestID:"S-PH-1:2.02.08",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_004:{Element:"pH",ModusTestID:"S-PH-1:2.02.08",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_005:{Element:"pH",ModusTestID:"S-PH-1:1.02.07",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_006:{Element:"pH",ModusTestID:"S-PH-1:2.02.07",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_007:{Element:"pH",ModusTestID:"S-PH-1:2.5.02.07",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_008:{Element:"pH",ModusTestID:"S-pH-1:5H2O.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_010:{Element:"pH",ModusTestID:"S-PH-1:1KCL.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_011:{Element:"pH",ModusTestID:"S-PH-1:5.02.08",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_012:{Element:"pH",ModusTestID:"S-pH-1:5KCL.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PH_013:{Element:"pH",ModusTestID:"S-PH-SP.02",ValueUnit:"standard pH unit"},L_MODV2_SOIL_P_001:{Element:"Phosphorus",ModusTestID:"S-P-AA-NH4AC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_003:{Element:"Phosphorus",ModusTestID:"S-P-AR.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_004:{Element:"Phosphorus",ModusTestID:"S-P-B1-1:10.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_005:{Element:"Phosphorus",ModusTestID:"S-P-B1-1:7.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_006:{Element:"Phosphorus",ModusTestID:"S-P-B2-1:10.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_007:{Element:"Phosphorus",ModusTestID:"S-P-B2-1:7.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_008:{Element:"Phosphorus",ModusTestID:"S-P-BK.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_009:{Element:"Phosphorus",ModusTestID:"S-P-LACTATE.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_010:{Element:"Phosphorus",ModusTestID:"S-P-CACL2.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_011:{Element:"Phosphorus",ModusTestID:"S-P-M3BRAYP1.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_013:{Element:"Phosphorus",ModusTestID:"S-P-CALD.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_014:{Element:"Phosphorus",ModusTestID:"S-P-W1:1.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_015:{Element:"Phosphorus",ModusTestID:"S-P-W1:5.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_016:{Element:"Phosphorus",ModusTestID:"S-P-W10:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_017:{Element:"Phosphorus",ModusTestID:"S-P-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_018:{Element:"Phosphorus",ModusTestID:"S-P-DGT.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_019:{Element:"Phosphorus",ModusTestID:"S-P-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_020:{Element:"Phosphorus",ModusTestID:"S-P-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_021:{Element:"Phosphorus",ModusTestID:"S-P-RES.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_022:{Element:"Phosphorus",ModusTestID:"S-P-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_023:{Element:"Phosphorus",ModusTestID:"S-P-KEL.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_024:{Element:"Phosphorus",ModusTestID:"S-P-MKEL.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_025:{Element:"Phosphorus",ModusTestID:"S-P-LANC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_026:{Element:"Phosphorus",ModusTestID:"S-P-M1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_027:{Element:"Phosphorus",ModusTestID:"S-P-M1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_029:{Element:"Phosphorus",ModusTestID:"S-P-M2.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_032:{Element:"Phosphorus",ModusTestID:"S-P-M3.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_033:{Element:"Phosphorus",ModusTestID:"S-P-M3.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_035:{Element:"Phosphorus",ModusTestID:"S-P-MOR.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_036:{Element:"Phosphorus",ModusTestID:"S-P-MMOR.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_037:{Element:"Phosphorus",ModusTestID:"S-P-MMOR.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_038:{Element:"Phosphorus",ModusTestID:"S-P-NA.04",ValueUnit:"%"},L_MODV2_SOIL_P_039:{Element:"Phosphorus",ModusTestID:"S-P-PRS.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_042:{Element:"Phosphorus",ModusTestID:"S-P-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_P_044:{Element:"Phosphorus",ModusTestID:"S-P-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_P_045:{Element:"Phosphorus",ModusTestID:"S-P-BIC.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_046:{Element:"Phosphorus",ModusTestID:"S-P-H2SO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_047:{Element:"Phosphorus",ModusTestID:"S-P-TRG.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_PBUFINDEX_001:{Element:"Phosphorus Buffer Index",ModusTestID:"S-PBI.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_PBUFINDEX_002:{Element:"Phosphorus Buffer Index",ModusTestID:"S-PBI-BIC.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_PBUFINDEX_003:{Element:"Phosphorus Buffer Index",ModusTestID:"S-PBI-COL.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_PBUFINDEX_004:{Element:"Phosphorus Buffer Index",ModusTestID:"S-PBI-CACL2.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_PERINDEX_001:{Element:"Phosphorus Environmental Risk Index",ModusTestID:"S-PERI.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_PFF_001:{Element:"Phosphorus Fixation Factor",ModusTestID:"S-PFF-M3.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_PINDEX_001:{Element:"Potassium Index",ModusTestID:"S-K-INDX.19",ValueUnit:"none"},L_MODV2_SOIL_PINDEX_002:{Element:"Potassium Index",ModusTestID:"S-K-NCINDX",ValueUnit:"none"},L_MODV2_SOIL_PINDEX_003:{Element:"Phosphorus Index",ModusTestID:"S-P-NCINDX",ValueUnit:"mg/kg"},L_MODV2_SOIL_PRATIO_001:{Element:"Phosphorus Ratio",ModusTestID:"S-PR-M3.23",ValueUnit:"none"},L_MODV2_SOIL_PRI_001:{Element:"Phosphorus Retention Index",ModusTestID:"S-PRI-KCL.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_PSINDEX_001:{Element:"Phosphorus Saturation Index",ModusTestID:"S-PSI.M3.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_PSINDEX_002:{Element:"Phosphorus Saturation Index",ModusTestID:"S-PSI.M3O.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_TP_001:{Element:'"phosphorus, total\xA0"',ModusTestID:"S-TP-H2SO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_TP_002:{Element:'"phosphorus, total\xA0"',ModusTestID:"S-TP-NA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_001:{Element:"Potassium",ModusTestID:"S-K-PWAA.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_K_004:{Element:"Potassium",ModusTestID:"S-K-NH4CL.23",ValueUnit:"meq/100 g"},L_MODV2_SOIL_K_005:{Element:"Potassium",ModusTestID:"S-K-PNA4CL.23",ValueUnit:"meq/100 g"},L_MODV2_SOIL_K_006:{Element:"Potassium",ModusTestID:"S-K-BACL2.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_K_017:{Element:"Potassium",ModusTestID:"S-K-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_019:{Element:"Potassium",ModusTestID:"S-K-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_020:{Element:"Potassium",ModusTestID:"S-K-HCL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_021:{Element:"Potassium",ModusTestID:"S-K-HCL.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_023:{Element:"Potassium",ModusTestID:"S-K-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_027:{Element:"Potassium",ModusTestID:"S-K-LANC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_028:{Element:"Potassium",ModusTestID:"S-K-M3.20",ValueUnit:"ppm"},L_MODV2_SOIL_K_035:{Element:"Potassium",ModusTestID:"S-K-HNO3.07",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_036:{Element:"Potassium",ModusTestID:"S-K-HNO3.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_037:{Element:"Potassium",ModusTestID:"S-K-NA.04",ValueUnit:"%"},L_MODV2_SOIL_K_038:{Element:"Potassium",ModusTestID:"S-K-PRS.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_039:{Element:"Potassium",ModusTestID:"S-K-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_K_042:{Element:"Potassium",ModusTestID:"S-K-SP.05",ValueUnit:"meq/L"},L_MODV2_SOIL_K_047:{Element:"Potassium",ModusTestID:"S-K-W5:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_048:{Element:"Potassium",ModusTestID:"S-K.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_050:{Element:"potassium\xA0",ModusTestID:"S-K-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_KFF_001:{Element:"Potassium Fixation Factor",ModusTestID:"S-KFF-M3.04",ValueUnit:"%"},L_MODV2_SOIL_TK_002:{Element:'"potassium, total\xA0"',ModusTestID:"S-TKP.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_POTMN_001:{Element:"potentially mineralizable nitrogen (PMN)",ValueUnit:"mg/kg"},L_MODV2_SOIL_POTOXC_001:{Element:"Potential Oxidizable Carbon",ModusTestID:"S-POXC.01.0",ValueUnit:"mg/kg"},L_MODV2_SOIL_RZM_001:{Element:"Rootzone Moisture",ModusTestID:"S-RZM.00",ValueUnit:"%"},L_MODV2_SOIL_SAND_001:{Element:"Sand",ModusTestID:"S-SAND-SV.19",ValueUnit:"%"},L_MODV2_SOIL_SAND_002:{Element:"Sand",ModusTestID:"S-SAND.22",ValueUnit:"%"},L_MODV2_SOIL_SAND_003:{Element:"Sand",ModusTestID:"S-SAND-SED.10",ValueUnit:"%"},L_MODV2_SOIL_SAND_004:{Element:"Sand",ModusTestID:"S-SAND-SED.11",ValueUnit:"%"},L_MODV2_SOIL_SANDC_001:{Element:"sand - coarse",ModusTestID:"S-SANDC.BAL.19",ValueUnit:"%"},L_MODV2_SOIL_SANDC_002:{Element:"sand - coarse",ModusTestID:"S-SANDC.HYDRO.19",ValueUnit:"%"},L_MODV2_SOIL_SANDC_003:{Element:"sand - coarse",ModusTestID:"S-SANDC-SV.19",ValueUnit:"%"},L_MODV2_SOIL_SANDF_001:{Element:"sand - fine",ModusTestID:"S-SANDF.DAL.19",ValueUnit:"%"},L_MODV2_SOIL_SANDF_002:{Element:"sand - fine",ModusTestID:"S-SANDF-HYDRO.19",ValueUnit:"%"},L_MODV2_SOIL_SANDF_003:{Element:"sand - fine",ModusTestID:"S-SANDF-SV.19",ValueUnit:"%"},L_MODV2_SOIL_SS:{Element:"Saturation Paste %",ModusTestID:"S-SP%.19",ValueUnit:"%"},L_MODV2_SOIL_SE_001:{Element:"Selenium",ModusTestID:"S-SE-AR.07",ValueUnit:"ug/kg"},L_MODV2_SOIL_SE_003:{Element:"Selenium",ModusTestID:"S-SE-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SI_001:{Element:"Silicon",ModusTestID:"S-SI-AA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SI_003:{Element:"Silicon",ModusTestID:"S-SI-CACL2.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_SI_004:{Element:"Silicon",ModusTestID:"S-SI-KCL.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SI_005:{Element:"Silicon",ModusTestID:"S-SI-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_SI_006:{Element:"Silicon",ModusTestID:"S-SI-H2SO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_SILT_001:{Element:"Silt",ModusTestID:"S-SILT-SV.19",ValueUnit:"%"},L_MODV2_SOIL_SILT_002:{Element:"Silt",ModusTestID:"S-SILT.22",ValueUnit:"%"},L_MODV2_SOIL_SILT_003:{Element:"Silt",ModusTestID:"S-SILT-SED.10",ValueUnit:"%"},L_MODV2_SOIL_SILT_004:{Element:"Silt",ModusTestID:"S-SILT-SED.11,S-SILT-ST-OT",ValueUnit:"%"},L_MODV2_SOIL_SILTCLAY_001:{Element:"Silt+Clay",ModusTestID:"S-SI+C-SV",ValueUnit:"%"},L_MODV2_SOIL_AG_001:{Element:"Silver",ModusTestID:"S-AG-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SLAKING_001:{Element:"Slaking",ModusTestID:"S-Slaking.24",ValueUnit:"none"},L_MODV2_SOIL_NA_001:{Element:"Sodium",ModusTestID:"S-NA-NH4AC.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_002:{Element:"Sodium",ModusTestID:"S-NA-NH4CL.23",ValueUnit:"meq/100 g"},L_MODV2_SOIL_NA_003:{Element:"Sodium",ModusTestID:"S-NA-PNA4CL.23",ValueUnit:"meq/100 g"},L_MODV2_SOIL_NA_004:{Element:"Sodium",ModusTestID:"S-NA-BACL2.23",ValueUnit:"cmol/kg"},L_MODV2_SOIL_NA_006:{Element:"Sodium",ModusTestID:"S-NA-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_008:{Element:"Sodium",ModusTestID:"S-NA-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_009:{Element:"Sodium",ModusTestID:"S-NA-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_010:{Element:"Sodium",ModusTestID:"S-NA-LANC.04",ValueUnit:"lb/ac"},L_MODV2_SOIL_NA_011:{Element:"Sodium",ModusTestID:"S-NA-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_012:{Element:"Sodium",ModusTestID:"S-NA-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_013:{Element:"Sodium",ModusTestID:"S-NA-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_015:{Element:"Sodium",ModusTestID:"S-NA-NA.04",ValueUnit:"%"},L_MODV2_SOIL_NA_016:{Element:"Sodium",ModusTestID:"S-NA-PRS.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_017:{Element:"Sodium",ModusTestID:"S-NA-KCL-01.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_018:{Element:"Sodium",ModusTestID:"S-NA-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_019:{Element:"Sodium",ModusTestID:"S-NA-SP.05",ValueUnit:"meq/L"},L_MODV2_SOIL_NA_020:{Element:"Sodium",ModusTestID:"S-NA-W:1:1.05",ValueUnit:"meq/L"},L_MODV2_SOIL_NA_021:{Element:"Sodium",ModusTestID:"S-NA-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_022:{Element:"Sodium",ModusTestID:"S-NA-W5:1.12",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_023:{Element:"Sodium",ModusTestID:"S-NA-W5:1.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_024:{Element:"Sodium",ModusTestID:"S-NA.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_SAR_001:{Element:"Sodium Adsorption Ratio",ModusTestID:"S-SAR-AA.19",ValueUnit:"ratio"},L_MODV2_SOIL_SAR_002:{Element:"Sodium Adsorption Ratio",ModusTestID:"S-SAR-W5:1.19",ValueUnit:"none"},L_MODV2_SOIL_SAR_003:{Element:"Sodium Adsorption Ratio",ModusTestID:"S-SAR-SP.00",ValueUnit:"Ratio"},L_MODV2_SOIL_SOLIDS_001:{Element:'"solids, total"',ModusTestID:"S-SOLIDS.19",ValueUnit:"%"},L_MODV2_SOIL_SS_001:{Element:"Soluble Salts",ModusTestID:"S-SS.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_SSINDEX_001:{Element:"Soluble Salts Index",ModusTestID:"S-SS-NCINDX.19",ValueUnit:"none"},L_MODV2_SOIL_SR_001:{Element:"Strontium",ModusTestID:"S-SR-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SO4S_001:{Element:"Sulfate-Sulfur",ModusTestID:"S-SO4-1:5.13",ValueUnit:"mg/kg"},L_MODV2_SOIL_SO4S_003:{Element:"Sulfate-Sulfur",ModusTestID:"S-S-W5:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SO4S_004:{Element:"Sulfate-Sulfur",ModusTestID:"S-SO4-W1:1.13",ValueUnit:"meq/L"},L_MODV2_SOIL_SO4S_005:{Element:"Sulfate-Sulfur",ModusTestID:"S-SO4-EPA300.04",ValueUnit:"mg/L"},L_MODV2_SOIL_SO4S_006:{Element:"Sulfate-Sulfur",ModusTestID:"S-SO4-SP.08",ValueUnit:"meq/L"},L_MODV2_SOIL_SO4S_007:{Element:"Sulfate-Sulfur",ModusTestID:"S-SO4-SP.13",ValueUnit:"meq/L"},L_MODV2_SOIL_S_001:{Element:"Sulfur",ModusTestID:"S-S-NH4AC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_002:{Element:"Sulfur",ModusTestID:"S-S-NH4AC.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_003:{Element:"Sulfur",ModusTestID:"S-S-NH4AC.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_004:{Element:"Sulfur",ModusTestID:"S-S-CACL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_005:{Element:"Sulfur",ModusTestID:"S-SO4-CaCl.04.08",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_007:{Element:"Sulfur",ModusTestID:"S-SO4-1:5.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_009:{Element:"Sulfur",ModusTestID:"S-S.16",ValueUnit:"%"},L_MODV2_SOIL_S_010:{Element:"Sulfur",ModusTestID:"S-SO4-1:5H2O.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_011:{Element:"Sulfur",ModusTestID:"S-SO4-W1:1.04",ValueUnit:"meq/L"},L_MODV2_SOIL_S_012:{Element:"Sulfur",ModusTestID:"S-S-W1:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_013:{Element:"Sulfur",ModusTestID:"S-S-W20:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_014:{Element:"Sulfur",ModusTestID:"S-S-W5:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_015:{Element:"Sulfur",ModusTestID:"S-S-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_016:{Element:"Sulfur",ModusTestID:"S-S-EPA6010B.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_017:{Element:"Sulfur",ModusTestID:"S-S-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_020:{Element:"Sulfur",ModusTestID:"S-S-H3A.04",ValueUnit:"kg/ha"},L_MODV2_SOIL_S_021:{Element:"Sulfur",ModusTestID:"S-S-H3A.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_022:{Element:"Sulfur",ModusTestID:"S-SO4-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_023:{Element:"Sulfur",ModusTestID:"S-SO4-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_024:{Element:"Sulfur",ModusTestID:"S-S-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_025:{Element:"Sulfur",ModusTestID:"S-S-LANC.04",ValueUnit:"kg/ha"},L_MODV2_SOIL_S_026:{Element:"Sulfur",ModusTestID:"S-S-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_028:{Element:"Sulfur",ModusTestID:"S-S-MMOR.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_029:{Element:"Sulfur",ModusTestID:"S-S-MMOR.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_030:{Element:"Sulfur",ModusTestID:"S-S-NA.04",ValueUnit:"%"},L_MODV2_SOIL_S_031:{Element:"Sulfur",ModusTestID:"S-SO4-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_S_034:{Element:"Sulfur",ModusTestID:"S-S-0.25MKCL.23",ValueUnit:"kg/ha"},L_MODV2_SOIL_S_035:{Element:"Sulfur",ModusTestID:"S-S-KCL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_036:{Element:"Sulfur",ModusTestID:"S-SO4-SP.04",ValueUnit:"meq/L"},L_MODV2_SOIL_SINDEX_001:{Element:"Sulfur Index",ModusTestID:"S-S-NCINDX",ValueUnit:"none"},L_MODV2_SOIL_TEXTURE_001:{Element:"Textural Classification",ModusTestID:"S-TEXTURE.19",ValueUnit:"Texture Classification"},L_MODV2_SOIL_TEXTURE_002:{Element:"Textural Classification",ModusTestID:"S-TEXTURE.01",ValueUnit:"none"},L_MODV2_SOIL_TEXTURE_003:{Element:"Textural Classification",ModusTestID:"S-TEXTURE.22",ValueUnit:"Texture Classification"},L_MODV2_SOIL_SN_001:{Element:"Tin",ModusTestID:"S-SN-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_TITACIDT_001:{Element:"Titratable Acidity",ModusTestID:"S-H-MEAS.12",ValueUnit:"cmol/kg"},L_MODV2_SOIL_TCTN_001:{Element:"Total Carbon:Total Nitrogen",ModusTestID:"S-TC:TN.19",ValueUnit:"none"},L_MODV2_SOIL_TOCTN_001:{Element:"Total Organic Carbon: Total Nitrogen",ModusTestID:"S-TOC:TN.19",ValueUnit:"none"},L_MODV2_SOIL_UNKNOWN_001:{Element:"Unknown",ModusTestID:"S-UNKNOWN.00",ValueUnit:"none"},L_MODV2_SOIL_UREA_001:{Element:"Urea",ModusTestID:"S-UREA-NH4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_WSC_001:{Element:"water soluble carbon",ModusTestID:"S-SARJ-SP.00",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_002:{Element:"Zinc",ModusTestID:"S-ZN-DTPA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_003:{Element:"Zinc",ModusTestID:"S-ZN-DTPA-SORB.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_004:{Element:"Zinc",ModusTestID:"S-ZN-EDTA.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_005:{Element:"Zinc",ModusTestID:"S-ZN-EPA3050.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_008:{Element:"Zinc",ModusTestID:"S-ZN-H3A1.01.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_009:{Element:"Zinc",ModusTestID:"S-ZN-HCL.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_010:{Element:"Zinc",ModusTestID:"S-ZN-RES.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_011:{Element:"Zinc",ModusTestID:"S-ZN-LANC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_012:{Element:"Zinc",ModusTestID:"S-ZN-M1.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_013:{Element:"Zinc",ModusTestID:"S-ZN-M2.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_014:{Element:"Zinc",ModusTestID:"S-ZN-M3DTPA.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_015:{Element:"Zinc",ModusTestID:"S-ZN-M3.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_019:{Element:"Zinc",ModusTestID:"S-ZN-NA.04",ValueUnit:"ppm"},L_MODV2_SOIL_ZN_020:{Element:"Zinc",ModusTestID:"S-ZN-PRS.04",ValueUnit:"ug/10cm2"},L_MODV2_SOIL_ZN_021:{Element:"Zinc",ModusTestID:"S-ZN-PRS.04",ValueUnit:"mg/m2"},L_MODV2_SOIL_ZN_024:{Element:"Zinc",ModusTestID:"S-ZN-SP.04",ValueUnit:"mg/L"},L_MODV2_SOIL_ZINDEX_001:{Element:"Zinc index",ModusTestID:"S-ZN-NCINDX",ValueUnit:"none"},L_MODV2_SOIL_ZNCURATIO_001:{Element:"Zn:Cu ratio",ModusTestID:"S-Zn:Cu-M3.19",ValueUnit:"none"},L_MODV2_SOIL_ZNCURATIO_002:{Element:"Zn:Cu ratio",ModusTestID:"S-Zn:Cu.19",ValueUnit:"none"},L_MODV2_SOIL_ACEN_001:{Element:"ACE nitrogen (soil protein index)",ModusTestID:"S-SP-ACE-OT",ValueUnit:"g/kg"},L_MODV2_SOIL_ACIDT_001:{Element:"Acidity",ValueUnit:"meq/cmol"},L_MODV2_SOIL_ASTAB_00:{Element:"Aggregate Stability",ValueUnit:"%"},L_MODV2_SOIL_ASTAB_001:{Element:"Aggregate Stability",ValueUnit:"%"},L_MODV2_SOIL_ASTAB_002:{Element:"Aggregate Stability",ValueUnit:"%"},L_MODV2_SOIL_ASTAB_003:{Element:"Aggregate Stability",ValueUnit:"%"},L_MODV2_SOIL_AL_007:{Element:"Aluminum",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_008:{Element:"Aluminum",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_009:{Element:"Aluminum",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_013:{Element:"Aluminum",ValueUnit:"mg/dm3"},L_MODV2_SOIL_AL_015:{Element:"Aluminum",ValueUnit:"mg/m2"},L_MODV2_SOIL_AL_016:{Element:"Aluminum",ValueUnit:"mg/m2"},L_MODV2_SOIL_AL_017:{Element:"Aluminum",ValueUnit:"mg/m2"},L_MODV2_SOIL_AL_019:{Element:"Aluminum",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_021:{Element:"Aluminum",ValueUnit:"mg/kg"},L_MODV2_SOIL_AL_023:{Element:"Aluminum",ValueUnit:"mg/kg"},L_MODV2_SOIL_NH4_001:{Element:"ammonium",ValueUnit:"mg/m2"},L_MODV2_SOIL_NH4_002:{Element:"ammonium",ValueUnit:"mg/m2"},L_MODV2_SOIL_NH4_003:{Element:"ammonium",ValueUnit:"mg/m2"},L_MODV2_SOIL_NH4N_001:{Element:"Ammonium-Nitrogen",ValueUnit:"mg/kg"},L_MODV2_SOIL_AS_004:{Element:"Arsenic",ValueUnit:"mg/kg"},L_MODV2_SOIL_AS_005:{Element:"Arsenic",ValueUnit:"mg/kg"},L_MODV2_SOIL_ARYLS_001:{Element:"arylsulfatase",ValueUnit:"nmol/h/mg"},L_MODV2_SOIL_AWHC_001:{Element:"available water holding capacity",ValueUnit:"mg/kg"},L_MODV2_SOIL_BA_002:{Element:"Barium",ValueUnit:"mg/kg"},L_MODV2_SOIL_BA_003:{Element:"Barium",ValueUnit:"mg/kg"},L_MODV2_SOIL_BA_004:{Element:"Barium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CABS_001:{Element:"Base Saturation - Ca",ModusTestID:"S-BS-CA.19",ValueUnit:"%"},L_MODV2_SOIL_BGLUCO_001:{Element:"beta-glucosidase",ValueUnit:"U/mg"},L_MODV2_SOIL_HCO3_002:{Element:"Bicarbonate",ModusTestID:"S-HCO3-SP.12",ValueUnit:"meq/L"},L_MODV2_SOIL_HCO3_003:{Element:"Bicarbonate",ValueUnit:"meq/L"},L_MODV2_SOIL_B_002:{Element:"Boron",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_013:{Element:"Boron",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_014:{Element:"Boron",ValueUnit:"mg/kg"},L_MODV2_SOIL_B_018:{Element:"Boron",ValueUnit:"mg/dm3"},L_MODV2_SOIL_B_020:{Element:"Boron",ValueUnit:"mg/m2"},L_MODV2_SOIL_B_021:{Element:"Boron",ValueUnit:"mg/m2"},L_MODV2_SOIL_B_022:{Element:"Boron",ValueUnit:"mg/kg"},L_MODV2_SOIL_BPH_005:{Element:"Buffer pH",ValueUnit:"standard pH unit"},L_MODV2_SOIL_BPH_006:{Element:"Buffer pH",ValueUnit:"standard pH unit"},L_MODV2_SOIL_CNRATIO_001:{Element:"C:N Ratio",ValueUnit:"Ratio"},L_MODV2_SOIL_CD_003:{Element:"Cadmium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CD_004:{Element:"Cadmium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CD_006:{Element:"Cadmium",ValueUnit:"mg/m2"},L_MODV2_SOIL_CD_007:{Element:"Cadmium",ValueUnit:"mg/m2"},L_MODV2_SOIL_CD_008:{Element:"Cadmium",ValueUnit:"mg/m2"},L_MODV2_SOIL_CD_009:{Element:"Cadmium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CD_010:{Element:"Cadmium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_004:{Element:"Calcium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_015:{Element:"Calcium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CA_022:{Element:"Calcium",ValueUnit:"mg/dm3"},L_MODV2_SOIL_CA_028:{Element:"Calcium",ValueUnit:"mg/m2"},L_MODV2_SOIL_CA_029:{Element:"Calcium",ValueUnit:"mg/m2"},L_MODV2_SOIL_CO3_005:{Element:"Carbonate",ValueUnit:"meq/L"},L_MODV2_SOIL_CEC_004:{Element:"Cation Exchange Capacity",ValueUnit:"mg/kg"},L_MODV2_SOIL_CL_001:{Element:"Chloride",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_002:{Element:"Chloride",ValueUnit:"meq/L"},L_MODV2_SOIL_CL_003:{Element:"Chloride",ValueUnit:"meq/L"},L_MODV2_SOIL_CR_003:{Element:"Chromium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CR_004:{Element:"Chromium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CR_006:{Element:"Chromium",ValueUnit:"mg/kg"},L_MODV2_SOIL_CO_002:{Element:"Cobalt",ValueUnit:"mg/kg"},L_MODV2_SOIL_CO_007:{Element:"Cobalt",ValueUnit:"mg/kg"},L_MODV2_SOIL_CO_008:{Element:"Cobalt",ValueUnit:"mg/kg"},L_MODV2_SOIL_CO_009:{Element:"Cobalt",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_001:{Element:"Copper",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_006:{Element:"Copper",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_007:{Element:"Copper",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_015:{Element:"Copper",ValueUnit:"mg/dm3"},L_MODV2_SOIL_CU_016:{Element:"Copper",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_017:{Element:"Copper",ModusTestID:"S-Cu-MMOR-OT",ValueUnit:"mg/kg"},L_MODV2_SOIL_CU_019:{Element:"Copper",ValueUnit:"mg/m2"},L_MODV2_SOIL_CU_020:{Element:"Copper",ValueUnit:"mg/m2"},L_MODV2_SOIL_CU_021:{Element:"Copper",ValueUnit:"mg/m2"},L_MODV2_SOIL_DON_001:{Element:"dissolved organic nitrogen (DON)",ValueUnit:"mg/kg"},L_MODV2_SOIL_GENOM_001:{Element:"genomics"},L_MODV2_SOIL_FE_002:{Element:"Iron",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_008:{Element:"Iron",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_009:{Element:"Iron",ValueUnit:"mg/kg"},L_MODV2_SOIL_FE_016:{Element:"Iron",ValueUnit:"mg/dm3"},L_MODV2_SOIL_FE_018:{Element:"Iron",ValueUnit:"mg/m2"},L_MODV2_SOIL_FE_019:{Element:"Iron",ValueUnit:"mg/m2"},L_MODV2_SOIL_FE_020:{Element:"Iron",ValueUnit:"mg/m2"},L_MODV2_SOIL_PB_004:{Element:"Lead",ValueUnit:"mg/kg"},L_MODV2_SOIL_PB_005:{Element:"Lead",ValueUnit:"mg/kg"},L_MODV2_SOIL_PB_006:{Element:"Lead",ValueUnit:"mg/m2"},L_MODV2_SOIL_PB_007:{Element:"Lead",ValueUnit:"mg/m2"},L_MODV2_SOIL_PB_008:{Element:"Lead",ValueUnit:"mg/m2"},L_MODV2_SOIL_PB_009:{Element:"Lead",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_006:{Element:"Magnesium",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_013:{Element:"Magnesium",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_014:{Element:"Magnesium",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_016:{Element:"Magnesium",ValueUnit:"mg/kg"},L_MODV2_SOIL_MG_021:{Element:"Magnesium",ValueUnit:"mg/dm3"},L_MODV2_SOIL_MG_026:{Element:"Magnesium",ValueUnit:"mg/m2"},L_MODV2_SOIL_MN_001:{Element:"Manganese",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_006:{Element:"Manganese",ModusTestID:"S-MN-EPA3050.05",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_007:{Element:"Manganese",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_008:{Element:"Manganese",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_014:{Element:"Manganese",ValueUnit:"mg/dm3"},L_MODV2_SOIL_MN_016:{Element:"Manganese",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_017:{Element:"Manganese",ModusTestID:"S-Mn-MMOR-OT",ValueUnit:"mg/kg"},L_MODV2_SOIL_MN_020:{Element:"Manganese",ValueUnit:"mg/m2"},L_MODV2_SOIL_MN_021:{Element:"Manganese",ValueUnit:"mg/m2"},L_MODV2_SOIL_MN_022:{Element:"Manganese",ValueUnit:"mg/m2"},L_MODV2_SOIL_MN_023:{Element:"Manganese",ValueUnit:"mg/kg"},L_MODV2_SOIL_HG_002:{Element:"Mercury",ValueUnit:"mg/kg"},L_MODV2_SOIL_HG_003:{Element:"Mercury",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_004:{Element:"Molybdenum",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_007:{Element:"Molybdenum",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_008:{Element:"Molybdenum",ValueUnit:"mg/kg"},L_MODV2_SOIL_MO_013:{Element:"Molybdenum",ValueUnit:"mg/dm3"},L_MODV2_SOIL_MO_016:{Element:"Molybdenum",ValueUnit:"mg/m2"},L_MODV2_SOIL_MO_017:{Element:"Molybdenum",ValueUnit:"mg/m2"},L_MODV2_SOIL_NI_003:{Element:"Nickel",ValueUnit:"mg/kg"},L_MODV2_SOIL_NI_004:{Element:"Nickel",ValueUnit:"mg/kg"},L_MODV2_SOIL_NI_005:{Element:"Nickel",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3_001:{Element:"nitrate",ValueUnit:"mg/m2"},L_MODV2_SOIL_NO3_002:{Element:"nitrate",ValueUnit:"mg/m2"},L_MODV2_SOIL_NO3N_002:{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg"},L_MODV2_SOIL_NO3N_003:{Element:"Nitrate-Nitrogen",ValueUnit:"mg/kg"},L_MODV2_SOIL_NMR_001:{Element:"nitrogen mineralization rate",ValueUnit:"mg/kg"},L_MODV2_SOIL_PARTDENS_001:{Element:"particle density",ValueUnit:"g/cm3"},L_MODV2_SOIL_POM_001:{Element:"particulate organic matter 53-2000 um",ValueUnit:"g/kg"},L_MODV2_SOIL_MNO4OXC_002:{Element:"permanganate-oxidizable carbon (POXC)",ValueUnit:"mg/kg"},L_MODV2_SOIL_PH_001:{Element:"pH",ValueUnit:"mg/kg"},L_MODV2_SOIL_PH_009:{Element:"pH",ValueUnit:"standard pH unit"},L_MODV2_SOIL_PO4_001:{Element:"phosphate",ValueUnit:"mg/kg"},L_MODV2_SOIL_PLFA_001:{Element:"phospholipid fatty acid (PLFA)",ModusTestID:"S-MD-BS-C-OT",ValueUnit:"ng/g"},L_MODV2_SOIL_PMONOEST_001:{Element:"phosphomonoesterase",ValueUnit:"ug/g"},L_MODV2_SOIL_P_002:{Element:"Phosphorus",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_012:{Element:"Phosphorus",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_028:{Element:"Phosphorus",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_030:{Element:"Phosphorus",ValueUnit:"mg/dm3"},L_MODV2_SOIL_P_031:{Element:"Phosphorus",ValueUnit:"mg/dm3"},L_MODV2_SOIL_P_034:{Element:"Phosphorus",ValueUnit:"mg/kg"},L_MODV2_SOIL_P_040:{Element:"Phosphorus",ValueUnit:"mg/m2"},L_MODV2_SOIL_P_041:{Element:"Phosphorus",ValueUnit:"mg/m2"},L_MODV2_SOIL_P_043:{Element:"Phosphorus",ValueUnit:"mg/L"},L_MODV2_SOIL_P_048:{Element:"Phosphorus",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_002:{Element:"Potassium",ModusTestID:"S-K-AA-NH4AC.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_003:{Element:"Potassium",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_007:{Element:"Potassium",ModusTestID:"S-K-B1-1:10.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_008:{Element:"Potassium",ModusTestID:"S-K-B1-1:7.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_009:{Element:"Potassium",ModusTestID:"S-K-B2-1:10.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_010:{Element:"Potassium",ModusTestID:"S-K-LACTATE.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_011:{Element:"Potassium",ModusTestID:"S-K-CACL2.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_012:{Element:"Potassium",ModusTestID:"S-K-M3BRAYP1.19",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_013:{Element:"Potassium",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_014:{Element:"Potassium",ModusTestID:"S-K-CALD.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_015:{Element:"Potassium",ModusTestID:"S-K-W1:5.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_016:{Element:"Potassium",ModusTestID:"S-K-W10:1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_018:{Element:"Potassium",ModusTestID:"S-K-DGT.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_022:{Element:"Potassium",ModusTestID:"S-K-RES.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_024:{Element:"Potassium",ModusTestID:"S-K-KEL.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_025:{Element:"Potassium",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_026:{Element:"Potassium",ModusTestID:"S-K-MKEL.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_029:{Element:"Potassium",ModusTestID:"S-K-M1.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_030:{Element:"Potassium",ModusTestID:"S-K-M2.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_031:{Element:"Potassium",ModusTestID:"S-K-M3.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_032:{Element:"Potassium",ValueUnit:"mg/dm3"},L_MODV2_SOIL_K_033:{Element:"Potassium",ModusTestID:"S-K-MOR.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_034:{Element:"Potassium",ModusTestID:"S-K-MMOR.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_040:{Element:"Potassium",ValueUnit:"mg/m2"},L_MODV2_SOIL_K_041:{Element:"Potassium",ValueUnit:"mg/m2"},L_MODV2_SOIL_K_043:{Element:"Potassium",ModusTestID:"S-K-BIC.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_044:{Element:"Potassium",ModusTestID:"S-K-H2SO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_045:{Element:"Potassium",ModusTestID:"S-K-TRG.01.03",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_046:{Element:"Potassium",ValueUnit:"mg/kg"},L_MODV2_SOIL_K_049:{Element:"potassium\xA0",ModusTestID:"S-K-AR.23",ValueUnit:"mg/kg"},L_MODV2_SOIL_KFF_002:{Element:"Potassium Fixation Factor",ModusTestID:"S-KFF-M3.05",ValueUnit:"%"},L_MODV2_SOIL_KFF_003:{Element:"Potassium Fixation Factor",ModusTestID:"S-KFF-M3.06",ValueUnit:"%"},L_MODV2_SOIL_TK_001:{Element:'"potassium, total\xA0"',ModusTestID:"S-TK-H2SO4.01",ValueUnit:"mg/kg"},L_MODV2_SOIL_TK_003:{Element:'"potassium, total\xA0"',ModusTestID:"S-TK-NA.04",ValueUnit:"mg/kg"},L_MODV2_SOIL_SREF_001:{Element:"reflectance",ValueUnit:"Reflectance percentage (R%)"},L_MODV2_SOIL_SANDC_004:{Element:"sand - coarse",ValueUnit:"%"},L_MODV2_SOIL_SANDF_004:{Element:"sand - fine",ValueUnit:"%"},L_MODV2_SOIL_SANDM_001:{Element:"sand - medium",ValueUnit:"%"},L_MODV2_SOIL_SANDVC_001:{Element:"sand - very coarse",ValueUnit:"%"},L_MODV2_SOIL_SANDVF_001:{Element:"sand - very fine",ValueUnit:"%"},L_MODV2_SOIL_SHC_001:{Element:"saturated hydraulic conductivity",ValueUnit:"in/hr"},L_MODV2_SOIL_SE_002:{Element:"Selenium",ValueUnit:"mg/kg"},L_MODV2_SOIL_SE_004:{Element:"Selenium",ValueUnit:"mg/kg"},L_MODV2_SOIL_SE_005:{Element:"Selenium",ValueUnit:"mg/kg"},L_MODV2_SOIL_SE_006:{Element:"Selenium",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_001:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_002:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_003:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_004:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_005:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_006:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_007:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_008:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_009:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_010:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_011:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_012:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_STCM_013:{Element:"short-term carbon mineralization",ValueUnit:"mg/kg"},L_MODV2_SOIL_SI_002:{Element:"Silicon",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_005:{Element:"Sodium",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_007:{Element:"Sodium",ValueUnit:"mg/kg"},L_MODV2_SOIL_NA_014:{Element:"Sodium",ValueUnit:"mg/dm3"},L_MODV2_SOIL_SR_002:{Element:"Strontium",ValueUnit:"mg/kg"},L_MODV2_SOIL_SO4S_002:{Element:"Sulfate-Sulfur",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_006:{Element:"Sulfur",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_008:{Element:"Sulfur",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_018:{Element:"Sulfur",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_019:{Element:"Sulfur",ValueUnit:"mg/kg"},L_MODV2_SOIL_S_027:{Element:"Sulfur",ValueUnit:"mg/dm3"},L_MODV2_SOIL_S_032:{Element:"Sulfur",ValueUnit:"mg/m2"},L_MODV2_SOIL_S_033:{Element:"Sulfur",ValueUnit:"mg/m2"},L_MODV2_SOIL_SN_002:{Element:"Tin",ValueUnit:"mg/kg"},L_MODV2_SOIL_SN_003:{Element:"Tin",ValueUnit:"mg/kg"},L_MODV2_SOIL_WEN_001:{Element:"water extractable nitrogen (WEN)",ValueUnit:"mg/kg"},L_MODV2_SOIL_WEOC_001:{Element:"water extractable organic carbon (WEOC)",ValueUnit:"g"},L_MODV2_SOIL_TDN_001:{Element:"water extractable organic nitrogen (TDN)",ValueUnit:"mg/g"},L_MODV2_SOIL_WEON_001:{Element:"water extractable organic nitrogen (WEON)",ValueUnit:"mg/kg"},L_MODV2_SOIL_WSCN_001:{Element:"water soluble C:N ratio",ValueUnit:"ratio"},L_MODV2_SOIL_WSOC_001:{Element:"water-soluble organic carbon (WSOC)",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_001:{Element:"Zinc",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_006:{Element:"Zinc",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_007:{Element:"Zinc",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_016:{Element:"Zinc",ValueUnit:"mg/dm3"},L_MODV2_SOIL_ZN_017:{Element:"Zinc",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_018:{Element:"Zinc",ModusTestID:"S-Zn-MMOR-OT",ValueUnit:"mg/kg"},L_MODV2_SOIL_ZN_022:{Element:"Zinc",ValueUnit:"mg/m2"},L_MODV2_SOIL_ZN_023:{Element:"Zinc",ValueUnit:"mg/m2"}},SM={"S-Acidity.19":{Element:"Acidity",ModusTestIDv1:"S-Acidity.19",ModusTestIDv2:"L_MODV2_SOIL_ACIDT_002",Units:["mg/kg",null]},"S-SARJ-SP.00":{Element:"water soluble carbon",ModusTestIDv1:"S-SARJ-SP.00",ModusTestIDv2:"L_MODV2_SOIL_WSC_001",Units:["mg/kg","ppm"]},"S-AL-BACL2.23":{Element:"Aluminum",ModusTestIDv1:"S-AL-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_AL_001",Units:["cmol/kg","meq/100g"]},"S-AL-OX.23":{Element:"Aluminum",ModusTestIDv1:"S-AL-OX.23",ModusTestIDv2:"L_MODV2_SOIL_AL_002",Units:["mg/kg","ppm"]},"S-TAL-RAR.23":{Element:"Aluminum",ModusTestIDv1:"S-TAL-RAR.23",ModusTestIDv2:"L_MODV2_SOIL_AL_003",Units:["%",null]},"S-AL-CACL2.23":{Element:"Aluminum",ModusTestIDv1:"S-AL-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_AL_004",Units:["mg/kg","ppm"]},"S-AL.19":{Element:"Aluminum",ModusTestIDv1:"S-AL.19",ModusTestIDv2:"L_MODV2_SOIL_AL_005",Units:["%",null]},"S-AL-DTPA-SORB.05":{Element:"Aluminum",ModusTestIDv1:"S-AL-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_AL_006",Units:["mg/kg","ppm"]},"S-AL-H3A.04":{Element:"Aluminum",ModusTestIDv1:"S-AL-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_AL_010",Units:["mg/kg","ppm"]},"S-AL-RES.04":{Element:"Aluminum",ModusTestIDv1:"S-AL-RES.04",ModusTestIDv2:"L_MODV2_SOIL_AL_011",Units:["mg/kg","ppm"]},"S-AL-M3.05":{Element:"Aluminum",ModusTestIDv1:"S-AL-M3.05",ModusTestIDv2:"L_MODV2_SOIL_AL_012",Units:["mg/kg","ppm"]},"S-AL-NA.04":{Element:"Aluminum",ModusTestIDv1:"S-AL-NA.04",ModusTestIDv2:"L_MODV2_SOIL_AL_014",Units:["ppm",null]},"S-AL-1KCL.23":{Element:"Aluminum",ModusTestIDv1:"S-AL-1KCL.23",ModusTestIDv2:"L_MODV2_SOIL_AL_018",Units:["mg/kg","ppm"]},"S-Al-KCL.12":{Element:"Aluminum",ModusTestIDv1:"S-Al-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_AL_020",Units:["mg/kg","ppm"]},"S-AL-SP.04":{Element:"Aluminum",ModusTestIDv1:"S-AL-SP.04",ModusTestIDv2:"L_MODV2_SOIL_AL_022",Units:["mg/L",null]},"S-AN-12.00":{Element:"Amino Nitrogen",ModusTestIDv1:"S-AN-12.00",ModusTestIDv2:"L_MODV2_SOIL_AMINON_001",Units:[null,null]},"S-NH4N-W1:1.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_002",Units:["mg/kg","ppm"]},"S-NH4-H3A1.01.05":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_003",Units:["mg/kg","ppm"]},"S-NH4-RES.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-RES.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_004",Units:["mg/kg","ppm"]},"S-NH4-KCL.01.05":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-KCL.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_005",Units:["mg/kg","ppm"]},"S-NH4-KCL.09":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-KCL.09",ModusTestIDv2:"L_MODV2_SOIL_NH4N_006",Units:["mg/kg","ppm"]},"S-NH4N-05KCL.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-05KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_007",Units:["mg/kg","ppm"]},"S-NH4N-2KCL.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_008",Units:["mg/kg","ppm"]},"S-NH4N-SP.01":{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-SP.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_009",Units:["mg/L",null]},"S-SB-EPA3050.04":{Element:"Antimony",ModusTestIDv1:"S-SB-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SB_001",Units:["mg/kg","ppm"]},"S-AS-AR.07":{Element:"Arsenic",ModusTestIDv1:"S-AS-AR.07",ModusTestIDv2:"L_MODV2_SOIL_AS_001",Units:["ug/kg","ppb"]},"S-AS-EPA6010B.00":{Element:"Arsenic",ModusTestIDv1:"S-AS-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_AS_002",Units:["mg/kg","ppm"]},"S-AS-EPA3050.04":{Element:"Arsenic",ModusTestIDv1:"S-AS-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_AS_003",Units:["mg/kg","ppm"]},"S-BA-EPA3050.04":{Element:"Barium",ModusTestIDv1:"S-BA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_BA_001",Units:["mg/kg","ppm"]},"S-BS.19":{Element:"Base Saturation",ModusTestIDv1:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001",Units:["%",null]},"S-BS-H.19":{Element:"Base Saturation - H",ModusTestIDv1:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",Units:["%",null]},"S-BS-K.19":{Element:"Base Saturation - K",ModusTestIDv1:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",Units:["%",null]},"S-BS-MG.19":{Element:"Base Saturation - Mg",ModusTestIDv1:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",Units:["%",null]},"S-BS-NA.19":{Element:"Base Saturation - Na",ModusTestIDv1:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",Units:["%",null]},"S-HCO3-SP.19":{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_HCO3_001",Units:["meq/L",null]},"S-HCO3-W1:1.12":{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-W1:1.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_004",Units:["meq/L",null]},"S-HCO3-ALK.01":{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-ALK.01",ModusTestIDv2:"L_MODV2_SOIL_HCO3_005",Units:["meq/L",null]},"S-B-CACL2.23":{Element:"Boron",ModusTestIDv1:"S-B-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_B_001",Units:["mg/kg","ppm"]},"S-B-HW.01.10":{Element:"Boron",ModusTestIDv1:"S-B-HW.01.10",ModusTestIDv2:"L_MODV2_SOIL_B_003",Units:["mg/kg","ppm"]},"S-B-HW.05":{Element:"Boron",ModusTestIDv1:"S-B-HW.05",ModusTestIDv2:"L_MODV2_SOIL_B_004",Units:["mg/kg","ppm"]},"S-B-W1:1.04":{Element:"Boron",ModusTestIDv1:"S-B-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_B_005",Units:["mg/kg","ppm"]},"S-B-W1:2.01":{Element:"Boron",ModusTestIDv1:"S-B-W1:2.01",ModusTestIDv2:"L_MODV2_SOIL_B_006",Units:["mg/kg","ppm"]},"S-B-W1:5.01":{Element:"Boron",ModusTestIDv1:"S-B-W1:5.01",ModusTestIDv2:"L_MODV2_SOIL_B_007",Units:["mg/kg","ppm"]},"S-B-W1:5.23":{Element:"Boron",ModusTestIDv1:"S-B-W1:5.23",ModusTestIDv2:"L_MODV2_SOIL_B_008",Units:["mg/kg","ppm"]},"S-B-W20:1.04":{Element:"Boron",ModusTestIDv1:"S-B-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_B_009",Units:["mg/kg","ppm"]},"S-B-SP.04":{Element:"Boron",ModusTestIDv1:"S-B-SP.04",ModusTestIDv2:"L_MODV2_SOIL_B_010",Units:["meq/L",null]},"S-B-DTPA-SORB.05":{Element:"Boron",ModusTestIDv1:"S-B-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_B_011",Units:["mg/kg","ppm"]},"S-B-EPA3050.04":{Element:"Boron",ModusTestIDv1:"S-B-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_B_012",Units:["mg/kg","ppm"]},"S-B-RES.04":{Element:"Boron",ModusTestIDv1:"S-B-RES.04",ModusTestIDv2:"L_MODV2_SOIL_B_015",Units:["mg/kg","ppm"]},"S-B-M1.04":{Element:"Boron",ModusTestIDv1:"S-B-M1.04",ModusTestIDv2:"L_MODV2_SOIL_B_016",Units:["mg/kg","ppm"]},"S-B-M3.04":{Element:"Boron",ModusTestIDv1:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017",Units:["mg/kg","ppm"]},"S-B-NA.04":{Element:"Boron",ModusTestIDv1:"S-B-NA.04",ModusTestIDv2:"L_MODV2_SOIL_B_019",Units:["mg/kg","ppm"]},"S-BPH-AEB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-AEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_001",Units:["standard pH unit",null]},"S-BPH-MAEB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MAEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_002",Units:["standard pH unit",null]},"S-BPH.19":{Element:"Buffer pH",ModusTestIDv1:"S-BPH.19",ModusTestIDv2:"L_MODV2_SOIL_BPH_003",Units:["standard pH unit",null]},"S-BPH-MEB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_004",Units:["standard pH unit",null]},"S-BPH-SIK1.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_007",Units:["standard pH unit",null]},"S-BPH-SIK2.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SIK2.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_008",Units:["standard pH unit",null]},"S-BPH-SMPB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SMPB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_009",Units:["standard pH unit",null]},"S-BPH-WB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-WB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_010",Units:["standard pH unit",null]},"S-BPH-MWB.02":{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MWB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_011",Units:["standard pH unit",null]},"S-BD-Clod.00":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Clod.00",ModusTestIDv2:"L_MODV2_SOIL_BD_001",Units:["g/cm3",null]},"S-BD-Coarse.15":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Coarse.15",ModusTestIDv2:"L_MODV2_SOIL_BD_002",Units:["g/cm3",null]},"S-BD-Core.00":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Core.00",ModusTestIDv2:"L_MODV2_SOIL_BD_003",Units:["g/cm3",null]},"S-BD-Fine.15":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Fine.15",ModusTestIDv2:"L_MODV2_SOIL_BD_004",Units:["g/cm3",null]},"S-BD-Scoop.00":{Element:"Bulk Density",ModusTestIDv1:"S-BD-Scoop.00",ModusTestIDv2:"L_MODV2_SOIL_BD_005",Units:["g/cm3",null]},"S-BD.19":{Element:"Bulk Density",ModusTestIDv1:"S-BD.19",ModusTestIDv2:"L_MODV2_SOIL_BD_006",Units:["g/cm3",null]},"S-C:N.16":{Element:"C:N Ratio",ModusTestIDv1:"S-C:N.16",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_002",Units:["Ratio",null]},"S-C:N.19":{Element:"C:N Ratio",ModusTestIDv1:"S-C:N.19",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_003",Units:["Ratio",null]},"S-C:N-Haney.19":{Element:"C:N Ratio",ModusTestIDv1:"S-C:N-Haney.19",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_004",Units:["Ratio",null]},"S-CAEMG-M1.19":{Element:"Ca + exchangable Mg",ModusTestIDv1:"S-CAEMG-M1.19",ModusTestIDv2:"L_MODV2_SOIL_CAEMGP_001",Units:[null,null]},"S-CA:KM1.19":{Element:"Ca:K ratio",ModusTestIDv1:"S-CA:KM1.19",ModusTestIDv2:"L_MODV2_SOIL_CAKRATIO_001",Units:[null,null]},"S-CA:MG.19":{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_001",Units:[null,null]},"S-CA:MG-AA.19":{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-AA.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_002",Units:[null,null]},"S-CA:MG-BACL2.19":{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_003",Units:[null,null]},"S-CA:MG-PWAA.19":{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_004",Units:[null,null]},"S-CA:NO3.19":{Element:"Ca:NO3 ratio",ModusTestIDv1:"S-CA:NO3.19",ModusTestIDv2:"L_MODV2_SOIL_CANO3RATIO_001",Units:[null,null]},"S-CAMG:KM1.19":{Element:"Ca+Mg:K ratio",ModusTestIDv1:"S-CAMG:KM1.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGKRATIO_001",Units:[null,null]},"S-CD-AR.07":{Element:"Cadmium",ModusTestIDv1:"S-CD-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CD_001",Units:["ug/kg","ppb"]},"S-CD-EPA3050.04":{Element:"Cadmium",ModusTestIDv1:"S-CD-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CD_002",Units:["mg/kg","ppm"]},"S-CD-EPA6010B.00":{Element:"Cadmium",ModusTestIDv1:"S-CD-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CD_005",Units:[null,null]},"S-CA-PWAA.23":{Element:"Calcium",ModusTestIDv1:"S-CA-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_CA_001",Units:["cmol/kg","%"]},"S-CA-AA.23":{Element:"Calcium",ModusTestIDv1:"S-CA-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CA_002",Units:["mg/kg","ppm"]},"S-CA-NH4AC.05":{Element:"Calcium",ModusTestIDv1:"S-CA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_CA_003",Units:["mg/kg","ppm"]},"S-CA-NH4CL.23":{Element:"Calcium",ModusTestIDv1:"S-CA-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_CA_005",Units:["cmol/kg","meq/100g"]},"S-CA-PNA4CL.23":{Element:"Calcium",ModusTestIDv1:"S-CA-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_CA_006",Units:["cmol/kg","meq/100g"]},"S-CA-BACL2.23":{Element:"Calcium",ModusTestIDv1:"S-CA-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_CA_007",Units:["cmol/kg","meq/100g"]},"S-CA-INDX.19":{Element:"Calcium",ModusTestIDv1:"S-CA-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_CA_008",Units:["none",null]},"S-CA-M3AA.19":{Element:"Calcium",ModusTestIDv1:"S-CA-M3AA.19",ModusTestIDv2:"L_MODV2_SOIL_CA_009",Units:["mg/kg","ppm"]},"S-CA-W1:1.05":{Element:"Calcium",ModusTestIDv1:"S-CA-W1:1.05",ModusTestIDv2:"L_MODV2_SOIL_CA_010",Units:["meq/L",null]},"S-CA-W20:1.04":{Element:"Calcium",ModusTestIDv1:"S-CA-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_CA_011",Units:["mg/kg","ppm"]},"S-CA-W5:1.04":{Element:"Calcium",ModusTestIDv1:"S-CA-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_CA_012",Units:["mg/kg","ppm"]},"S-CA-EPA3050.04":{Element:"Calcium",ModusTestIDv1:"S-CA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CA_013",Units:["mg/kg","ppm"]},"S-CA-H3A1.01.04":{Element:"Calcium",ModusTestIDv1:"S-CA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CA_014",Units:["mg/kg","ppm"]},"S-CA-RES.04":{Element:"Calcium",ModusTestIDv1:"S-CA-RES.04",ModusTestIDv2:"L_MODV2_SOIL_CA_016",Units:["mg/kg","ppm"]},"S-CA-LANC.04":{Element:"Calcium",ModusTestIDv1:"S-CA-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_CA_017",Units:["mg/kg","ppm"]},"S-CA-M1.05":{Element:"Calcium",ModusTestIDv1:"S-CA-M1.05",ModusTestIDv2:"L_MODV2_SOIL_CA_018",Units:["mg/kg","ppm"]},"S-CA-M2.05":{Element:"Calcium",ModusTestIDv1:"S-CA-M2.05",ModusTestIDv2:"L_MODV2_SOIL_CA_019",Units:["mg/kg","ppm"]},"S-CA.19":{Element:"Calcium",ModusTestIDv1:"S-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CA_020",Units:["mg/kg","ppm"]},"S-CA-M3.05":{Element:"Calcium",ModusTestIDv1:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021",Units:["mg/kg","ppm"]},"S-CA-MOR.05":{Element:"Calcium",ModusTestIDv1:"S-CA-MOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_023",Units:["mg/kg","ppm"]},"S-CA-MMOR.05":{Element:"Calcium",ModusTestIDv1:"S-CA-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_024",Units:["mg/kg","ppm"]},"S-CA-NA.04":{Element:"Calcium",ModusTestIDv1:"S-CA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CA_025",Units:["%",null]},"S-CA-PRS.04":{Element:"Calcium",ModusTestIDv1:"S-CA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_CA_027",Units:["mg/kg","ppm"]},"S-CA-KCL-01.05":{Element:"Calcium",ModusTestIDv1:"S-CA-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_CA_030",Units:["mg/kg","ppm"]},"S-CA-SP.05":{Element:"Calcium",ModusTestIDv1:"S-CA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_CA_031",Units:["meq/L",null]},"S-CA-TRG.06":{Element:"Calcium",ModusTestIDv1:"S-CA-TRG.06",ModusTestIDv2:"L_MODV2_SOIL_CA_032",Units:["mg/kg","ppm"]},"S-CACO3-AA.02":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3-AA.02",ModusTestIDv2:"L_MODV2_SOIL_CACO3_001",Units:["%",null]},"S-CACO3-OxA.12":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3-OxA.12",ModusTestIDv2:"L_MODV2_SOIL_CACO3_002",Units:["%",null]},"S-CACO3.14":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.14",ModusTestIDv2:"L_MODV2_SOIL_CACO3_003",Units:["%",null]},"S-CACO3.12":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.12",ModusTestIDv2:"L_MODV2_SOIL_CACO3_004",Units:["%",null]},"S-CACO3.15":{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.15",ModusTestIDv2:"L_MODV2_SOIL_CACO3_005",Units:["%",null]},"S-C-W-04":{Element:"Carbon",ModusTestIDv1:"S-C-W-04",ModusTestIDv2:"L_MODV2_SOIL_C_001",Units:["mg/kg","ppm"]},"S-TC-COMB.15":{Element:'"carbon, total"',ModusTestIDv1:"S-TC-COMB.15",ModusTestIDv2:"L_MODV2_SOIL_TC_001",Units:["%",null]},"S-CO3-AA.02":{Element:"Carbonate",ModusTestIDv1:"S-CO3-AA.02",ModusTestIDv2:"L_MODV2_SOIL_CO3_001",Units:["%",null]},"S-CO3-W1:1.12":{Element:"Carbonate",ModusTestIDv1:"S-CO3-W1:1.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_002",Units:["meq/L",null]},"S-CO3-SP.19":{Element:"Carbonate",ModusTestIDv1:"S-CO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_CO3_003",Units:["meq/L",null]},"S-CO3-SP.12":{Element:"Carbonate",ModusTestIDv1:"S-CO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_004",Units:["meq/L",null]},"S-CACO3.11":{Element:'"carbonates, qualitative"',ModusTestIDv1:"S-CACO3.11",ModusTestIDv2:"L_MODV2_SOIL_CO3QUAL_001",Units:["none",null]},"S-CEC-AA.23":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_001",Units:["mg/kg","ppm"]},"S-CEC-NH4N.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-NH4N.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_002",Units:["mg/kg","ppm"]},"S-CEC-PWAA.23":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_003",Units:["mg/kg","ppm"]},"S-CEC-BACL2.23":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_005",Units:["cmol/kg","meq/100g"]},"S-CEC-BACLAA.23":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-BACLAA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_006",Units:["cmol/kg","meq/100g"]},"S-CEC-CA.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-CA.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_007",Units:["cmol/kg","meq/100g"]},"S-CEC.19":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008",Units:["cmol/kg","meq/100g"]},"S-CEC-K.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-K.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_009",Units:["cmol/kg","meq/100g"]},"S-CEC-AG-THU.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-AG-THU.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_010",Units:["cmol/kg","meq/100g"]},"S-CEC-NA.05":{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-NA.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_011",Units:["cmol/kg","meq/100g"]},"S-CROSS-W5:1.19":{Element:"cation ratio of structural stability",ModusTestIDv1:"S-CROSS-W5:1.19",ModusTestIDv2:"L_MODV2_SOIL_CROSS_001",Units:["none",null]},"S-C:A.19":{Element:"Cation:Anion Ratio",ModusTestIDv1:"S-C:A.19",ModusTestIDv2:"L_MODV2_SOIL_CATANRATIO_001",Units:[null,null]},"S-CL-HG.01":{Element:"Chloride",ModusTestIDv1:"S-CL-HG.01",ModusTestIDv2:"L_MODV2_SOIL_CL_004",Units:["ppm","mg/kg"]},"S-CL-W1:1.01":{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_CL_005",Units:["mg/kg","ppm"]},"S-CL-W1:1.01.04":{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_006",Units:["meq/L",null]},"S-CL-W1:1.08":{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.08",ModusTestIDv2:"L_MODV2_SOIL_CL_007",Units:["meq/L",null]},"S-CL-W1:1.17":{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.17",ModusTestIDv2:"L_MODV2_SOIL_CL_008",Units:["meq/L",null]},"S-CL-EPA3000.00":{Element:"Chloride",ModusTestIDv1:"S-CL-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_CL_009",Units:["mg/L",null]},"S-CL-SP.01.04":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_010",Units:["meq/L",null]},"S-CL-SP.12.06":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.12.06",ModusTestIDv2:"L_MODV2_SOIL_CL_011",Units:["meq/L",null]},"S-CL-SP.17":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.17",ModusTestIDv2:"L_MODV2_SOIL_CL_012",Units:["meq/L",null]},"S-CL-SP.01":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.01",ModusTestIDv2:"L_MODV2_SOIL_CL_013",Units:["mg/L",null]},"S-CL-SP.02":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.02",ModusTestIDv2:"L_MODV2_SOIL_CL_014",Units:["meq/L",null]},"S-CL-SP.08":{Element:"Chloride",ModusTestIDv1:"S-CL-SP.08",ModusTestIDv2:"L_MODV2_SOIL_CL_015",Units:["meq/L",null]},"S-CL.01.04":{Element:"Chloride",ModusTestIDv1:"S-CL.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_016",Units:["meq/L",null]},"S-CL.12.06":{Element:"Chloride",ModusTestIDv1:"S-CL.12.06",ModusTestIDv2:"L_MODV2_SOIL_CL_017",Units:["meq/L",null]},"S-CL-1:5.02":{Element:"Chloride",ModusTestIDv1:"S-CL-1:5.02",ModusTestIDv2:"L_MODV2_SOIL_CL_018",Units:["meq/L",null]},"S-CL-1:5.17":{Element:"Chloride",ModusTestIDv1:"S-CL-1:5.17",ModusTestIDv2:"L_MODV2_SOIL_CL_019",Units:["meq/L",null]},"S-CL-1:5H2O.01":{Element:"Chloride",ModusTestIDv1:"S-CL-1:5H2O.01",ModusTestIDv2:"L_MODV2_SOIL_CL_020",Units:["meq/L",null]},"S-CR-AR.07":{Element:"Chromium",ModusTestIDv1:"S-CR-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CR_001",Units:["ug/kg","ppb"]},"S-CR-EPA3050.04":{Element:"Chromium",ModusTestIDv1:"S-CR-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CR_002",Units:["mg/kg","ppm"]},"S-CR-EPA6010B.00":{Element:"Chromium",ModusTestIDv1:"S-CR-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CR_005",Units:["mg/kg","ppm"]},"S-CLAY-SV.19":{Element:"Clay",ModusTestIDv1:"S-CLAY-SV.19",ModusTestIDv2:"L_MODV2_SOIL_CLAY_001",Units:["%",null]},"S-CLAY.22":{Element:"Clay",ModusTestIDv1:"S-CLAY.22",ModusTestIDv2:"L_MODV2_SOIL_CLAY_002",Units:["%",null]},"S-CLAY-SED.10":{Element:"Clay",ModusTestIDv1:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003",Units:["%",null]},"S-CLAY-SED.11,S-CLAY-ST-OT":{Element:"Clay",ModusTestIDv1:"S-CLAY-SED.11,S-CLAY-ST-OT",ModusTestIDv2:"L_MODV2_SOIL_CLAY_004",Units:["%",null]},"S-CO2-RESP.01":{Element:"CO2 Respiration",ModusTestIDv1:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001",Units:["%",null]},"S-CO-AR.07":{Element:"Cobalt",ModusTestIDv1:"S-CO-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CO_001",Units:["ug/kg","ppb"]},"S-CO-DTPA.04":{Element:"Cobalt",ModusTestIDv1:"S-CO-DTPA.04",ModusTestIDv2:"L_MODV2_SOIL_CO_003",Units:["mg/kg","ppm"]},"S-CO-EPA2007.00":{Element:"Cobalt",ModusTestIDv1:"S-CO-EPA2007.00",ModusTestIDv2:"L_MODV2_SOIL_CO_004",Units:["mg/L",null]},"S-CO-EPA3050.04":{Element:"Cobalt",ModusTestIDv1:"S-CO-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CO_005",Units:["mg/kg","ppm"]},"S-CO-M3.04":{Element:"Cobalt",ModusTestIDv1:"S-CO-M3.04",ModusTestIDv2:"L_MODV2_SOIL_CO_006",Units:["mg/kg","ppm"]},"S-Color.24":{Element:"Color",ModusTestIDv1:"S-Color.24",ModusTestIDv2:"L_MODV2_SOIL_COLOR_001",Units:["none",null]},"S-CU-DTPA.05":{Element:"Copper",ModusTestIDv1:"S-CU-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_002",Units:["mg/kg","ppm"]},"S-CU-DTPA-SORB.05":{Element:"Copper",ModusTestIDv1:"S-CU-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_CU_003",Units:["mg/kg","ppm"]},"S-CU-EDTA.05":{Element:"Copper",ModusTestIDv1:"S-CU-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_004",Units:["mg/kg","ppm"]},"S-CU-EPA3050.04":{Element:"Copper",ModusTestIDv1:"S-CU-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CU_005",Units:["mg/kg","ppm"]},"S-CU-EPA6010B.00":{Element:"Copper",ModusTestIDv1:"S-CU-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CU_008",Units:["mg/kg",null]},"S-CU-H3A1.01.04":{Element:"Copper",ModusTestIDv1:"S-CU-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CU_009",Units:["mg/kg","ppm"]},"S-CU-HCL.05":{Element:"Copper",ModusTestIDv1:"S-CU-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_CU_010",Units:["mg/kg","ppm"]},"S-CU-RES.04":{Element:"Copper",ModusTestIDv1:"S-CU-RES.04",ModusTestIDv2:"L_MODV2_SOIL_CU_011",Units:["mg/kg","ppm"]},"S-CU-M1.05":{Element:"Copper",ModusTestIDv1:"S-CU-M1.05",ModusTestIDv2:"L_MODV2_SOIL_CU_012",Units:["mg/kg","ppm"]},"S-CU-M2.05":{Element:"Copper",ModusTestIDv1:"S-CU-M2.05",ModusTestIDv2:"L_MODV2_SOIL_CU_013",Units:["mg/kg","ppm"]},"S-CU-M3.05":{Element:"Copper",ModusTestIDv1:"S-CU-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CU_014",Units:["mg/kg","ppm"]},"S-CU-NA.04":{Element:"Copper",ModusTestIDv1:"S-CU-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CU_018",Units:["ppm",null]},"S-CU-SP.04":{Element:"Copper",ModusTestIDv1:"S-CU-SP.04",ModusTestIDv2:"L_MODV2_SOIL_CU_022",Units:["mg/kg","ppm"]},"S-CU-NCINDX":{Element:"Copper Index",ModusTestIDv1:"S-CU-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_CUINDEX_001",Units:["none",null]},"S-DM.15":{Element:"Deleterious material",ModusTestIDv1:"S-DM.15",ModusTestIDv2:"L_MODV2_SOIL_DM_001",Units:["%",null]},"S-DI.24":{Element:"Dispersion Index",ModusTestIDv1:"S-DI.24",ModusTestIDv2:"L_MODV2_SOIL_DINDEX_001",Units:["none",null]},"S-EC-1:1.03":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001",Units:["dS/m","mmho/cm"]},"S-EC-1:2.03":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:2.03",ModusTestIDv2:"L_MODV2_SOIL_EC_002",Units:["dS/m","mmho/cm"]},"S-EC-1:5.03":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:5.03",ModusTestIDv2:"L_MODV2_SOIL_EC_003",Units:["dS/m","mmho/cm"]},"S-EC-SP.03":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-SP.03",ModusTestIDv2:"L_MODV2_SOIL_EC_004",Units:["dS/m","mmho/cm"]},"S-EC.CALC.19":{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC.CALC.19",ModusTestIDv2:"L_MODV2_SOIL_EC_005",Units:["dS/m",null]},"S-ESI.19":{Element:"Electrochemical Stability Index",ModusTestIDv1:"S-ESI.19",ModusTestIDv2:"L_MODV2_SOIL_ESI_001",Units:["none",null]},"S-EMERSON.19":{Element:"Emerson Class",ModusTestIDv1:"S-EMERSON.19",ModusTestIDv2:"L_MODV2_SOIL_EMERSON_001",Units:["none",null]},"S-ENR.19":{Element:"Estimated Nitrogen Release",ModusTestIDv1:"S-ENR.19",ModusTestIDv2:"L_MODV2_SOIL_ENR_001",Units:["lb/ac","kg/ha"]},"S-AC-KCL.12":{Element:"Exchangeable Acidity",ModusTestIDv1:"S-AC-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_XACIDT_001",Units:["cmol/kg","meq/100 g"]},"S-EAL-KCL.19":{Element:"Exchangeable Aluminum",ModusTestIDv1:"S-EAL-KCL.19",ModusTestIDv2:"L_MODV2_SOIL_XAL_001",Units:["%",null]},"S-ECAP.19":{Element:"Exchangeable Calcium Percentage",ModusTestIDv1:"S-ECAP.19",ModusTestIDv2:"L_MODV2_SOIL_XCAP_001",Units:["%",null]},"S-EH-KCL.12":{Element:"Exchangeable Hydrogen",ModusTestIDv1:"S-EH-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_XH_001",Units:["meq/100 g","cmol/kg"]},"S-EHP.19":{Element:"Exchangeable Hydrogen Percentage",ModusTestIDv1:"S-EHP.19",ModusTestIDv2:"L_MODV2_SOIL_XHP_001",Units:["%",null]},"S-EMGP.19":{Element:"Exchangeable Magnesium Percentage",ModusTestIDv1:"S-EMGP.19",ModusTestIDv2:"L_MODV2_SOIL_XMGP_001",Units:["%",null]},"S-EKP.19":{Element:"Exchangeable Potassium Percentage",ModusTestIDv1:"S-EKP.19",ModusTestIDv2:"L_MODV2_SOIL_XKP_001",Units:["%",null]},"S-ESP.19":{Element:"Exchangeable Sodium Percentage",ModusTestIDv1:"S-ESP.19",ModusTestIDv2:"L_MODV2_SOIL_XNAP_001",Units:["%",null]},"S-F-EPA3000.00":{Element:"Fluoride",ModusTestIDv1:"S-F-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_F_001",Units:["mg/L",null]},"S-GTRI-PWAA.19":{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_001",Units:["none",null]},"S-GTRI-AA.19":{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-AA.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_002",Units:["none",null]},"S-GTRI-BACL2.19":{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_003",Units:["none",null]},"S-GRAVEL.19":{Element:"Gravel",ModusTestIDv1:"S-GRAVEL.19",ModusTestIDv2:"L_MODV2_SOIL_GRAVEL_001",Units:["%",null]},"S-GYPR.19":{Element:"Gypsum Recommendation",ModusTestIDv1:"S-GYPR.19",ModusTestIDv2:"L_MODV2_SOIL_GYPREC_001",Units:["tons/ac",null]},"S-HEAL-SMP.19":{Element:"H+EAlP",ModusTestIDv1:"S-HEAL-SMP.19",ModusTestIDv2:"L_MODV2_SOIL_HEAL_001",Units:["none",null]},"S-HA-FSPA.01":{Element:"Humic Matter",ModusTestIDv1:"S-HA-FSPA.01",ModusTestIDv2:"L_MODV2_SOIL_HM_001",Units:["%",null]},"S.HM-NaOH":{Element:"Humic Matter",ModusTestIDv1:"S.HM-NaOH",ModusTestIDv2:"L_MODV2_SOIL_HM_002",Units:["%",null]},"S-H+AL-SMP.02":{Element:"Hydrogen+Aluminum",ModusTestIDv1:"S-H+AL-SMP.02",ModusTestIDv2:"L_MODV2_SOIL_HAL_001",Units:["meq/100 g",null]},"S-OH-SM2320B18.12":{Element:"Hydroxide",ModusTestIDv1:"S-OH-SM2320B18.12",ModusTestIDv2:"L_MODV2_SOIL_OH_001",Units:["mg/L",null]},"S-FE-OX.23":{Element:"Iron",ModusTestIDv1:"S-FE-OX.23",ModusTestIDv2:"L_MODV2_SOIL_FE_001",Units:["mg/kg","ppm"]},"S-FE-DTPA.05":{Element:"Iron",ModusTestIDv1:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003",Units:["mg/kg","ppm"]},"S-FE-DTPA-SORB.05":{Element:"Iron",ModusTestIDv1:"S-FE-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_FE_004",Units:["mg/kg","ppm"]},"S-FE-EDTA.05":{Element:"Iron",ModusTestIDv1:"S-FE-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_005",Units:["mg/kg","ppm"]},"S-FE-EPA6010B.00":{Element:"Iron",ModusTestIDv1:"S-FE-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_FE_006",Units:["mg/kg","ppm"]},"S-FE-EPA3050.04":{Element:"Iron",ModusTestIDv1:"S-FE-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_FE_007",Units:["mg/kg","ppm"]},"S-FE-H3A.04":{Element:"Iron",ModusTestIDv1:"S-FE-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_FE_010",Units:["mg/kg","ppm"]},"S-FE-HCL.05":{Element:"Iron",ModusTestIDv1:"S-FE-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_FE_011",Units:["mg/kg","ppm"]},"S-FE-RES.04":{Element:"Iron",ModusTestIDv1:"S-FE-RES.04",ModusTestIDv2:"L_MODV2_SOIL_FE_012",Units:["mg/kg","ppm"]},"S-FE-M1.05":{Element:"Iron",ModusTestIDv1:"S-FE-M1.05",ModusTestIDv2:"L_MODV2_SOIL_FE_013",Units:["mg/kg","ppm"]},"S-FE-M2.05":{Element:"Iron",ModusTestIDv1:"S-FE-M2.05",ModusTestIDv2:"L_MODV2_SOIL_FE_014",Units:["mg/kg","ppm"]},"S-FE-M3.05":{Element:"Iron",ModusTestIDv1:"S-FE-M3.05",ModusTestIDv2:"L_MODV2_SOIL_FE_015",Units:["mg/kg","ppm"]},"S-FE-NA.04":{Element:"Iron",ModusTestIDv1:"S-FE-NA.04",ModusTestIDv2:"L_MODV2_SOIL_FE_017",Units:["ppm",null]},"S-FE-SP.04":{Element:"Iron",ModusTestIDv1:"S-FE-SP.04",ModusTestIDv2:"L_MODV2_SOIL_FE_021",Units:["mg/L",null]},"S-K:B.19":{Element:"K:B ratio",ModusTestIDv1:"S-K:B.19",ModusTestIDv2:"L_MODV2_SOIL_KBRATIO_001",Units:["none","ppm"]},"S-K:B-M3.19":{Element:"K:B ratio",ModusTestIDv1:"S-K:B-M3.19",ModusTestIDv2:"L_MODV2_SOIL_KBRATIO_002",Units:["none",null]},"S-K:MG-PWAA.19":{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_001",Units:["none",null]},"S-K:MG-AA.19":{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-AA.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_002",Units:["none",null]},"S-K:MG-BACL2.19":{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_003",Units:["none",null]},"S-K:MG.19":{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_004",Units:["none",null]},"S-K:Na-M3.19":{Element:"K:Na ratio",ModusTestIDv1:"S-K:Na-M3.19",ModusTestIDv2:"L_MODV2_SOIL_KNARATIO_001",Units:["none",null]},"S-K:Na.19":{Element:"K:Na ratio",ModusTestIDv1:"S-K:Na.19",ModusTestIDv2:"L_MODV2_SOIL_KNARATIO_002",Units:["none","ppm"]},"S-PB-AR.07":{Element:"Lead",ModusTestIDv1:"S-PB-AR.07",ModusTestIDv2:"L_MODV2_SOIL_PB_001",Units:["ug/kg","ppb"]},"S-PB-EPA6010B.00":{Element:"Lead",ModusTestIDv1:"S-PB-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_PB_002",Units:["mg/kg","ppm"]},"S-PB-EPA3050.04":{Element:"Lead",ModusTestIDv1:"S-PB-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_PB_003",Units:["mg/kg","ppm"]},"S-LIME-INDX.19":{Element:"Lime Index",ModusTestIDv1:"S-LIME-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_LINDEX_001",Units:["none",null]},"S-LR-AEB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-AEB",ModusTestIDv2:"L_MODV2_SOIL_LREC_001",Units:["tons/ac","kg/ha"]},"S-LR-MAEB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MAEB",ModusTestIDv2:"L_MODV2_SOIL_LREC_002",Units:["tons/ac","kg/ha"]},"S-LR-MB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MB",ModusTestIDv2:"L_MODV2_SOIL_LREC_003",Units:["tons/ac","kg/ha"]},"S-LR-MWB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MWB",ModusTestIDv2:"L_MODV2_SOIL_LREC_004",Units:["tons/ac","kg/ha"]},"S-LR-SIK1":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SIK1",ModusTestIDv2:"L_MODV2_SOIL_LREC_005",Units:["tons/ac","kg/ha"]},"S-LR-SIK2":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SIK2",ModusTestIDv2:"L_MODV2_SOIL_LREC_006",Units:["tons/ac","kg/ha"]},"S-LR-SMP":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SMP",ModusTestIDv2:"L_MODV2_SOIL_LREC_007",Units:["tons/ac","kg/ha"]},"S-LR-TA":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-TA",ModusTestIDv2:"L_MODV2_SOIL_LREC_008",Units:["tons/ac","kg/ha"]},"S-LR-WB":{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-WB",ModusTestIDv2:"L_MODV2_SOIL_LREC_009",Units:["tons/ac","kg/ha"]},"S-LI-EPA3050.04":{Element:"Lithium",ModusTestIDv1:"S-LI-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_LI_001",Units:["mg/kg","ppm"]},"S-MG-PWAA.23":{Element:"Magnesium",ModusTestIDv1:"S-MG-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_MG_001",Units:["cmol/kg","%"]},"S-MG-NH4AC.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_MG_002",Units:["mg/kg","ppm"]},"S-MG-NH4CL.23":{Element:"Magnesium",ModusTestIDv1:"S-MG-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_MG_003",Units:["cmol/kg","meq/100g"]},"S-MG-PNA4CL.23":{Element:"Magnesium",ModusTestIDv1:"S-MG-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_MG_004",Units:["cmol/kg","meq/100g"]},"S-MG-BACL2.23":{Element:"Magnesium",ModusTestIDv1:"S-MG-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_MG_005",Units:["cmol/kg","meq/100g"]},"S-MG.19":{Element:"Magnesium",ModusTestIDv1:"S-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MG_007",Units:["mg/kg","ppm"]},"S-MG-W1:1.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-W1:1.05",ModusTestIDv2:"L_MODV2_SOIL_MG_008",Units:["meq/L",null]},"S-MG-W20:1.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_MG_009",Units:["mg/kg","ppm"]},"S-MG-W5:1.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_MG_010",Units:["mg/kg","ppm"]},"S-MG-EPA6010B.00":{Element:"Magnesium",ModusTestIDv1:"S-MG-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_MG_011",Units:["mg/kg","ppm"]},"S-MG-EPA3050.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_MG_012",Units:["mg/kg","ppm"]},"S-MG-H3A1.01.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_MG_015",Units:["mg/kg","ppm"]},"S-MG-RES.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MG_017",Units:["mg/kg","ppm"]},"S-MG-LANC.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_MG_018",Units:["mg/kg","ppm"]},"S-MG-M1.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MG_019",Units:["mg/kg","ppm"]},"S-MG-M2.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MG_020",Units:["mg/kg","ppm"]},"S-MG-M3.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022",Units:["mg/kg","ppm"]},"S-MG-MOR.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-MOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_023",Units:["mg/kg","ppm"]},"S-MG-MMOR.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_024",Units:["mg/kg","ppm"]},"S-MG-NA.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MG_025",Units:["%",null]},"S-MG-PRS.04":{Element:"Magnesium",ModusTestIDv1:"S-MG-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MG_028",Units:["mg/kg","ppm"]},"S-MG-KCL-01.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_MG_029",Units:["mg/kg","ppm"]},"S-MG-SP.05":{Element:"Magnesium",ModusTestIDv1:"S-MG-SP.05",ModusTestIDv2:"L_MODV2_SOIL_MG_030",Units:["meq/L",null]},"S-MG-TRG.06":{Element:"Magnesium",ModusTestIDv1:"S-MG-TRG.06",ModusTestIDv2:"L_MODV2_SOIL_MG_031",Units:["mg/kg","ppm"]},"S-MG-INDX.19":{Element:"Magnesium Index",ModusTestIDv1:"S-MG-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_MGINDEX_001",Units:["none",null]},"S-MN-DTPA.05":{Element:"Manganese",ModusTestIDv1:"S-MN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_002",Units:["mg/kg","ppm"]},"S-MN-DTPA-SORB.05":{Element:"Manganese",ModusTestIDv1:"S-MN-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_MN_003",Units:["mg/kg","ppm"]},"S-MN-EDTA.05":{Element:"Manganese",ModusTestIDv1:"S-MN-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_004",Units:["mg/kg","ppm"]},"S-MN-EPA6010B.00":{Element:"Manganese",ModusTestIDv1:"S-MN-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_MN_005",Units:["mg/kg","ppm"]},"S-MN-HCL.05":{Element:"Manganese",ModusTestIDv1:"S-MN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_MN_009",Units:["mg/kg","ppm"]},"S-MN-RES.04":{Element:"Manganese",ModusTestIDv1:"S-MN-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MN_010",Units:["mg/kg","ppm"]},"S-MN-LANC.04":{Element:"Manganese",ModusTestIDv1:"S-MN-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_MN_011",Units:["mg/kg","ppm"]},"S-MN-M1.05":{Element:"Manganese",ModusTestIDv1:"S-MN-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MN_012",Units:["mg/kg","ppm"]},"S-MN-M2.05":{Element:"Manganese",ModusTestIDv1:"S-MN-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MN_013",Units:["mg/kg","ppm"]},"S-MN-M3.05":{Element:"Manganese",ModusTestIDv1:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015",Units:["mg/kg","ppm"]},"S-MN-NA.04":{Element:"Manganese",ModusTestIDv1:"S-MN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MN_018",Units:["ppm",null]},"S-MN-PHOS.05":{Element:"Manganese",ModusTestIDv1:"S-MN-PHOS.05",ModusTestIDv2:"L_MODV2_SOIL_MN_019",Units:["mg/kg","ppm"]},"S-MN-SP.04":{Element:"Manganese",ModusTestIDv1:"S-MN-SP.04",ModusTestIDv2:"L_MODV2_SOIL_MN_024",Units:["mg/L",null]},"S-MN-NCINDX":{Element:"Manganese Index",ModusTestIDv1:"S-MN-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_MNINDEX_001",Units:["none",null]},"S-HG-EPA3050.04":{Element:"Mercury",ModusTestIDv1:"S-HG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_HG_001",Units:["mg/kg","ppm"]},"S-MG:K.19":{Element:"Mg:K ratio",ModusTestIDv1:"S-MG:K.19",ModusTestIDv2:"L_MODV2_SOIL_MGKRATIO_001",Units:["none",null]},"S-Mn:Cu-M3.19":{Element:"Mn:Cu ratio",ModusTestIDv1:"S-Mn:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_MNCURATIO_001",Units:["none",null]},"S-Mn:Cu.19":{Element:"Mn:Cu ratio",ModusTestIDv1:"S-Mn:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_MNCURATIO_002",Units:["none","ppm"]},"S-Mn:Zn-M3.19":{Element:"Mn:Zn ratio",ModusTestIDv1:"S-Mn:Zn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_MNZNRATIO_001",Units:["none",null]},"S-Mn:Zn.19":{Element:"Mn:Zn ratio",ModusTestIDv1:"S-Mn:Zn.19",ModusTestIDv2:"L_MODV2_SOIL_MNZNRATIO_002",Units:["none","ppm"]},"S-AW.14":{Element:"moisture content",ModusTestIDv1:"S-AW.14",ModusTestIDv2:"L_MODV2_SOIL_GAWC_001",Units:["%","in/ft"]},"S-MOIST-GRAV.00":{Element:"moisture content",ModusTestIDv1:"S-MOIST-GRAV.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_001",Units:["%",null]},"S-MOIST-SP.00":{Element:"moisture content",ModusTestIDv1:"S-MOIST-SP.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_002",Units:["%",null]},"S-0.3BAR.14":{Element:"moisture content",ModusTestIDv1:"S-0.3BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_03BAR_001",Units:["%","in/ft"]},"S-15BAR.14":{Element:"moisture content",ModusTestIDv1:"S-15BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_15BAR_001",Units:["%","in/ft"]},"S-MO-OA.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-OA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_002",Units:["mg/kg","ppm"]},"S-MO-AR.07":{Element:"Molybdenum",ModusTestIDv1:"S-MO-AR.07",ModusTestIDv2:"L_MODV2_SOIL_MO_003",Units:["ug/kg","ppb"]},"S-MO-CACL2.23":{Element:"Molybdenum",ModusTestIDv1:"S-MO-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_MO_005",Units:["mg/kg","ppm"]},"S-MO-EPA3050.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_MO_006",Units:["mg/kg","ppm"]},"S-MO-RES.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MO_010",Units:["mg/kg","ppm"]},"S-MO-M1.05":{Element:"Molybdenum",ModusTestIDv1:"S-MO-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MO_011",Units:["mg/kg","ppm"]},"S-MO-M2.05":{Element:"Molybdenum",ModusTestIDv1:"S-MO-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MO_012",Units:["mg/kg","ppm"]},"S-MO-M3.05":{Element:"Molybdenum",ModusTestIDv1:"S-MO-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MO_014",Units:["mg/kg","ppm"]},"S-MO-NA.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_015",Units:["ppm",null]},"S-MO-PRS.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MO_020",Units:["mg/kg","ppm"]},"S-MO-SP.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-SP.04",ModusTestIDv2:"L_MODV2_SOIL_MO_021",Units:["mg/L",null]},"S-MO-HOTH2O.04":{Element:"Molybdenum",ModusTestIDv1:"S-MO-HOTH2O.04",ModusTestIDv2:"L_MODV2_SOIL_MO_022",Units:["mg/kg","ppm"]},"S-NI-EPA6010B.00":{Element:"Nickel",ModusTestIDv1:"S-NI-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_NI_001",Units:["mg/kg","ppm"]},"S-NI-EPA3050.04":{Element:"Nickel",ModusTestIDv1:"S-NI-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_NI_002",Units:["mg/kg","ppm"]},"S-NO3N-ALSO4B.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-ALSO4B.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_001",Units:["mg/kg","ppm"]},"S-NO3-CTA.01.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-CTA.01.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_004",Units:["mg/kg","ppm"]},"S-NO3-W1:1.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-W1:1.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_005",Units:["meq/L",null]},"S-NO3N-EPA3000.00":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_NO3N_006",Units:["mg/L",null]},"S-NO3N-EPA3532.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-EPA3532.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_007",Units:["mg/kg",null]},"S-NO3-H3A1.01.05":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",Units:["mg/kg","ppm"]},"S-NO3-RES.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-RES.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_009",Units:["mg/kg","ppm"]},"S-NO3-1:5.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_010",Units:["mg/kg","ppm"]},"S-NO3-1:5.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_011",Units:["mg/kg","ppm"]},"S-NO3-1:5.09":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.09",ModusTestIDv2:"L_MODV2_SOIL_NO3N_012",Units:["mg/kg","ppm"]},"S-NO3-KCL.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-KCL.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_013",Units:["mg/kg","ppm"]},"S-NO3N.2KCL.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N.2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_014",Units:["mg/kg","ppm"]},"S-NO3N-05KCL.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-05KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_015",Units:["mg/kg","ppm"]},"S-NO3-5K2SO4.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-5K2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_016",Units:["mg/kg","ppm"]},"S-NO3N-SP.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-SP.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_017",Units:["mg/kg","ppm"]},"S-NO3-SP.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_018",Units:["meq/L",null]},"S-NO3-SP.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_019",Units:["meq/L",null]},"S-NO3-SP.02.02":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.02.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_020",Units:["meq/L",null]},"S-NO3-BIC.01.01":{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-BIC.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_021",Units:["mg/kg","ppm"]},"S-NO2-KCL.01":{Element:"Nitrite-Nitrogen",ModusTestIDv1:"S-NO2-KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO2N_001",Units:["mg/kg","ppm"]},"S-TKN.01":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.01",ModusTestIDv2:"L_MODV2_SOIL_TKN_001",Units:["%",null]},"S-TKN.01.05":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.01.05",ModusTestIDv2:"L_MODV2_SOIL_TKN_002",Units:["%",null]},"S-TKN.09":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.09",ModusTestIDv2:"L_MODV2_SOIL_TKN_003",Units:["%",null]},"S-TKN.18":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.18",ModusTestIDv2:"L_MODV2_SOIL_TKN_004",Units:["%",null]},"S-TN.01.05":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.01.05",ModusTestIDv2:"L_MODV2_SOIL_TKN_005",Units:["%",null]},"S-TN.09":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.09",ModusTestIDv2:"L_MODV2_SOIL_TKN_006",Units:["%",null]},"S-TN.18":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.18",ModusTestIDv2:"L_MODV2_SOIL_TKN_007",Units:["%",null]},"S-TKN.19":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.19",ModusTestIDv2:"L_MODV2_SOIL_TN_001",Units:["%",null]},"S-TN.16":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002",Units:["%",null]},"S-TN-W.01":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN-W.01",ModusTestIDv2:"L_MODV2_SOIL_TN_003",Units:[null,null]},"S-TN-RES.01":{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN-RES.01",ModusTestIDv2:"L_MODV2_SOIL_TN_004",Units:["lb/ac/day","kg/ha/day"]},"S-TIN.19":{Element:'"Nitrogen, Total Inorganic"',ModusTestIDv1:"S-TIN.19",ModusTestIDv2:"L_MODV2_SOIL_TIN_001",Units:["mg/kg","ppm"]},"S-XX.00":{Element:"Null",ModusTestIDv1:"S-XX.00",ModusTestIDv2:"L_MODV2_SOIL_NULL_001",Units:["none",null]},"S-TOC.16":{Element:"Organic Carbon",ModusTestIDv1:"S-TOC.16",ModusTestIDv2:"L_MODV2_SOIL_OC_001",Units:["%",null]},"S-OC-WB.01":{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.01",ModusTestIDv2:"L_MODV2_SOIL_OC_003",Units:["%",null]},"S-OC-WB.12":{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.12",ModusTestIDv2:"L_MODV2_SOIL_OC_004",Units:["%",null]},"S-TOC-W1:10.16":{Element:"Organic Carbon",ModusTestIDv1:"S-TOC-W1:10.16",ModusTestIDv2:"L_MODV2_SOIL_OC_005",Units:["mg/kg","ppm"]},"S-TOC.12.09":{Element:'"Organic Carbon, Total"',ModusTestIDv1:"S-TOC.12.09",ModusTestIDv2:"L_MODV2_SOIL_TOC_001",Units:["%","g/kg"]},"S-OM.19":{Element:"Organic Matter",ModusTestIDv1:"S-OM.19",ModusTestIDv2:"L_MODV2_SOIL_OM_001",Units:["%",null]},"S-SOM-Color.19":{Element:"Organic Matter",ModusTestIDv1:"S-SOM-Color.19",ModusTestIDv2:"L_MODV2_SOIL_OM_002",Units:["%",null]},"S-OM-DUMAS.16":{Element:"Organic Matter",ModusTestIDv1:"S-OM-DUMAS.16",ModusTestIDv2:"L_MODV2_SOIL_OM_003",Units:["%",null]},"S-SOM-LOI.15":{Element:"Organic Matter",ModusTestIDv1:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",Units:["%",null]},"S-SOM-WB.01.09":{Element:"Organic Matter",ModusTestIDv1:"S-SOM-WB.01.09",ModusTestIDv2:"L_MODV2_SOIL_OM_005",Units:["%",null]},"S-SOM-WB.12.09":{Element:"Organic Matter",ModusTestIDv1:"S-SOM-WB.12.09",ModusTestIDv2:"L_MODV2_SOIL_OM_006",Units:["%",null]},"S-ON.19":{Element:"Organic Nitrogen",ModusTestIDv1:"S-ON.19",ModusTestIDv2:"L_MODV2_SOIL_ON_001",Units:["mg/L",null]},"S-OTHER.19":{Element:"Other",ModusTestIDv1:"S-OTHER.19",ModusTestIDv2:"L_MODV2_SOIL_OTHER_001",Units:["none",null]},"S-P:Cu-M3.19":{Element:"P:Cu ratio",ModusTestIDv1:"S-P:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PCURATIO_001",Units:["none",null]},"S-P:Cu.19":{Element:"P:Cu ratio",ModusTestIDv1:"S-P:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_PCURATIO_002",Units:["none","ppm"]},"S-P:Mn-M3.19":{Element:"P:Mn ratio",ModusTestIDv1:"S-P:Mn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PMNRATIO_001",Units:["none",null]},"S-P:Mn.19":{Element:"P:Mn ratio",ModusTestIDv1:"S-P:Mn.19",ModusTestIDv2:"L_MODV2_SOIL_PMNRATIO_002",Units:["none","ppm"]},"S-P:S-M3.19":{Element:"P:S ratio",ModusTestIDv1:"S-P:S-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PSRATIO_001",Units:["none",null]},"S-P:S.19":{Element:"P:S ratio",ModusTestIDv1:"S-P:S.19",ModusTestIDv2:"L_MODV2_SOIL_PSRATIO_002",Units:["none","ppm"]},"S-P:Zn-M3.19":{Element:"P:Zn ratio",ModusTestIDv1:"S-P:Zn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PZNRATIO_001",Units:["none",null]},"S-P:Zn.19":{Element:"P:Zn ratio",ModusTestIDv1:"S-P:Zn.19",ModusTestIDv2:"L_MODV2_SOIL_PZNRATIO_002",Units:["none","ppm"]},"S-AC-KMNO4.01":{Element:"permanganate-oxidizable carbon (POXC)",ModusTestIDv1:"S-AC-KMNO4.01",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_001",Units:["mg/kg","ppm"]},"S-PH-1:1.02.08":{Element:"pH",ModusTestIDv1:"S-PH-1:1.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_002",Units:["standard pH unit",null]},"S-PH-1:2.02.08":{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_004",Units:["standard pH unit",null]},"S-PH-1:1.02.07":{Element:"pH",ModusTestIDv1:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005",Units:["standard pH unit",null]},"S-PH-1:2.02.07":{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_006",Units:["standard pH unit",null]},"S-PH-1:2.5.02.07":{Element:"pH",ModusTestIDv1:"S-PH-1:2.5.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_007",Units:["standard pH unit",null]},"S-pH-1:5H2O.02":{Element:"pH",ModusTestIDv1:"S-pH-1:5H2O.02",ModusTestIDv2:"L_MODV2_SOIL_PH_008",Units:["standard pH unit",null]},"S-PH-1:1KCL.02":{Element:"pH",ModusTestIDv1:"S-PH-1:1KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_010",Units:["standard pH unit",null]},"S-PH-1:5.02.08":{Element:"pH",ModusTestIDv1:"S-PH-1:5.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_011",Units:["standard pH unit",null]},"S-pH-1:5KCL.02":{Element:"pH",ModusTestIDv1:"S-pH-1:5KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_012",Units:["standard pH unit",null]},"S-PH-SP.02":{Element:"pH",ModusTestIDv1:"S-PH-SP.02",ModusTestIDv2:"L_MODV2_SOIL_PH_013",Units:["standard pH unit",null]},"S-P-AA-NH4AC.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-AA-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_P_001",Units:["mg/kg","ppm"]},"S-P-AR.23":{Element:"Phosphorus",ModusTestIDv1:"S-P-AR.23",ModusTestIDv2:"L_MODV2_SOIL_P_003",Units:["mg/kg","ppm"]},"S-P-B1-1:10.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",Units:["mg/kg","ppm"]},"S-P-B1-1:7.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-B1-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_005",Units:["mg/kg","ppm"]},"S-P-B2-1:10.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_006",Units:["mg/kg","ppm"]},"S-P-B2-1:7.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-B2-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_007",Units:["mg/kg","ppm"]},"S-P-BK.23":{Element:"Phosphorus",ModusTestIDv1:"S-P-BK.23",ModusTestIDv2:"L_MODV2_SOIL_P_008",Units:["mg/kg","ppm"]},"S-P-LACTATE.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-LACTATE.01",ModusTestIDv2:"L_MODV2_SOIL_P_009",Units:["mg/kg","ppm"]},"S-P-CACL2.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_P_010",Units:["mg/kg","ppm"]},"S-P-M3BRAYP1.19":{Element:"Phosphorus",ModusTestIDv1:"S-P-M3BRAYP1.19",ModusTestIDv2:"L_MODV2_SOIL_P_011",Units:["mg/kg","ppm"]},"S-P-CALD.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-CALD.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_013",Units:["mg/kg","ppm"]},"S-P-W1:1.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_P_014",Units:["mg/kg","ppm"]},"S-P-W1:5.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-W1:5.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_015",Units:["mg/kg","ppm"]},"S-P-W10:1.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-W10:1.04",ModusTestIDv2:"L_MODV2_SOIL_P_016",Units:["mg/kg","ppm"]},"S-P-W20:1.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_P_017",Units:["mg/kg","ppm"]},"S-P-DGT.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-DGT.01",ModusTestIDv2:"L_MODV2_SOIL_P_018",Units:["mg/kg","ppm"]},"S-P-EPA3050.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_P_019",Units:["mg/kg","ppm"]},"S-P-H3A1.01.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_P_020",Units:["mg/kg","ppm"]},"S-P-RES.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-RES.01",ModusTestIDv2:"L_MODV2_SOIL_P_021",Units:["mg/kg","ppm"]},"S-P-RES.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-RES.04",ModusTestIDv2:"L_MODV2_SOIL_P_022",Units:["mg/kg","ppm"]},"S-P-KEL.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-KEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_023",Units:["mg/kg","ppm"]},"S-P-MKEL.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-MKEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_024",Units:["mg/kg","ppm"]},"S-P-LANC.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_P_025",Units:["mg/kg","ppm"]},"S-P-M1.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-M1.04",ModusTestIDv2:"L_MODV2_SOIL_P_027",Units:["mg/kg","ppm"]},"S-P-M2.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-M2.04",ModusTestIDv2:"L_MODV2_SOIL_P_029",Units:["mg/kg","ppm"]},"S-P-M3.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_032",Units:["mg/kg","ppm"]},"S-P-M3.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-M3.04",ModusTestIDv2:"L_MODV2_SOIL_P_033",Units:["mg/kg","ppm"]},"S-P-MOR.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-MOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_035",Units:["mg/kg","ppm"]},"S-P-MMOR.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_037",Units:["mg/kg","ppm"]},"S-P-NA.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-NA.04",ModusTestIDv2:"L_MODV2_SOIL_P_038",Units:["%",null]},"S-P-PRS.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_P_042",Units:["mg/m2",null]},"S-P-SP.04":{Element:"Phosphorus",ModusTestIDv1:"S-P-SP.04",ModusTestIDv2:"L_MODV2_SOIL_P_044",Units:["mg/L",null]},"S-P-BIC.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_045",Units:["mg/kg","ppm"]},"S-P-H2SO4.01":{Element:"Phosphorus",ModusTestIDv1:"S-P-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_P_046",Units:["mg/kg","ppm"]},"S-P-TRG.01.03":{Element:"Phosphorus",ModusTestIDv1:"S-P-TRG.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_047",Units:["mg/kg","ppm"]},"S-PBI.19":{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_001",Units:["mg/kg","ppm"]},"S-PBI-BIC.19":{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-BIC.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_002",Units:["mg/kg","ppm"]},"S-PBI-COL.19":{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-COL.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_003",Units:["mg/kg","ppm"]},"S-PBI-CACL2.01":{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_004",Units:["mg/kg","ppm"]},"S-PERI.19":{Element:"Phosphorus Environmental Risk Index",ModusTestIDv1:"S-PERI.19",ModusTestIDv2:"L_MODV2_SOIL_PERINDEX_001",Units:["mg/kg","ppm"]},"S-PFF-M3.04":{Element:"Phosphorus Fixation Factor",ModusTestIDv1:"S-PFF-M3.04",ModusTestIDv2:"L_MODV2_SOIL_PFF_001",Units:["mg/kg","ppm"]},"S-P-INDX":{Element:"Phosphorus Index",ModusTestIDv1:"S-P-INDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_001",Units:["mg/kg","ppm"]},"S-P-INDX.19":{Element:"Phosphorus Index",ModusTestIDv1:"S-P-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_002",Units:["mg/kg","ppm"]},"S-P-NCINDX":{Element:"Phosphorus Index",ModusTestIDv1:"S-P-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_003",Units:["mg/kg","ppm"]},"S-PR-M3.23":{Element:"Phosphorus Ratio",ModusTestIDv1:"S-PR-M3.23",ModusTestIDv2:"L_MODV2_SOIL_PRATIO_001",Units:["none",null]},"S-PRI-KCL.01":{Element:"Phosphorus Retention Index",ModusTestIDv1:"S-PRI-KCL.01",ModusTestIDv2:"L_MODV2_SOIL_PRI_001",Units:["mg/kg","ppm"]},"S-PSI.M3.19":{Element:"Phosphorus Saturation Index",ModusTestIDv1:"S-PSI.M3.19",ModusTestIDv2:"L_MODV2_SOIL_PSINDEX_001",Units:["mg/kg","ppm"]},"S-PSI.M3O.19":{Element:"Phosphorus Saturation Index",ModusTestIDv1:"S-PSI.M3O.19",ModusTestIDv2:"L_MODV2_SOIL_PSINDEX_002",Units:["mg/kg","ppm"]},"S-TP-H2SO4.01":{Element:'"phosphorus, total\xA0"',ModusTestIDv1:"S-TP-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_TP_001",Units:["mg/kg","ppm"]},"S-TP-NA.04":{Element:'"phosphorus, total\xA0"',ModusTestIDv1:"S-TP-NA.04",ModusTestIDv2:"L_MODV2_SOIL_TP_002",Units:["mg/kg","ppm"]},"S-K-PWAA.23":{Element:"Potassium",ModusTestIDv1:"S-K-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_K_001",Units:["cmol/kg","%"]},"S-K-NH4CL.23":{Element:"Potassium",ModusTestIDv1:"S-K-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_K_004",Units:["meq/100 g",null]},"S-K-PNA4CL.23":{Element:"Potassium",ModusTestIDv1:"S-K-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_K_005",Units:["meq/100 g",null]},"S-K-BACL2.23":{Element:"Potassium",ModusTestIDv1:"S-K-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_K_006",Units:["cmol/kg","%"]},"S-K-W20:1.04":{Element:"Potassium",ModusTestIDv1:"S-K-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_017",Units:["mg/kg","ppm"]},"S-K-H3A1.01.04":{Element:"Potassium",ModusTestIDv1:"S-K-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_K_019",Units:["mg/kg","ppm"]},"S-K-HCL.05":{Element:"Potassium",ModusTestIDv1:"S-K-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_K_020",Units:["mg/kg","ppm"]},"S-K-HCL.23":{Element:"Potassium",ModusTestIDv1:"S-K-HCL.23",ModusTestIDv2:"L_MODV2_SOIL_K_021",Units:["mg/kg","ppm"]},"S-K-RES.04":{Element:"Potassium",ModusTestIDv1:"S-K-RES.04",ModusTestIDv2:"L_MODV2_SOIL_K_023",Units:["mg/kg","ppm"]},"S-K-LANC.04":{Element:"Potassium",ModusTestIDv1:"S-K-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_K_027",Units:["mg/kg","ppm"]},"S-K-M3.20":{Element:"Potassium",ModusTestIDv1:"S-K-M3.20",ModusTestIDv2:"L_MODV2_SOIL_K_028",Units:["ppm",null]},"S-K-HNO3.07":{Element:"Potassium",ModusTestIDv1:"S-K-HNO3.07",ModusTestIDv2:"L_MODV2_SOIL_K_035",Units:["mg/kg","ppm"]},"S-K-HNO3.23":{Element:"Potassium",ModusTestIDv1:"S-K-HNO3.23",ModusTestIDv2:"L_MODV2_SOIL_K_036",Units:["mg/kg","ppm"]},"S-K-NA.04":{Element:"Potassium",ModusTestIDv1:"S-K-NA.04",ModusTestIDv2:"L_MODV2_SOIL_K_037",Units:["%",null]},"S-K-PRS.04":{Element:"Potassium",ModusTestIDv1:"S-K-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_K_039",Units:["mg/m2",null]},"S-K-SP.05":{Element:"Potassium",ModusTestIDv1:"S-K-SP.05",ModusTestIDv2:"L_MODV2_SOIL_K_042",Units:["meq/L",null]},"S-K-W5:1.04":{Element:"Potassium",ModusTestIDv1:"S-K-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_047",Units:["mg/kg",null]},"S-K.19":{Element:"Potassium",ModusTestIDv1:"S-K.19",ModusTestIDv2:"L_MODV2_SOIL_K_048",Units:["mg/kg","ppm"]},"S-K-EPA3050.04":{Element:"potassium\xA0",ModusTestIDv1:"S-K-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_K_050",Units:["mg/kg","ppm"]},"S-KFF-M3.04":{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.04",ModusTestIDv2:"L_MODV2_SOIL_KFF_001",Units:["%",null]},"S-K-INDX.19":{Element:"Potassium Index",ModusTestIDv1:"S-K-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_001",Units:["none",null]},"S-K-NCINDX":{Element:"Potassium Index",ModusTestIDv1:"S-K-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_002",Units:["none",null]},"S-TKP.01":{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TKP.01",ModusTestIDv2:"L_MODV2_SOIL_TK_002",Units:["mg/kg","ppm"]},"S-PMN.01.0":{Element:"Potential Mineralizable Nitrogen",ModusTestIDv1:"S-PMN.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTMN_001",Units:["mg/kg","ppm"]},"S-POXC.01.0":{Element:"Potential Oxidizable Carbon",ModusTestIDv1:"S-POXC.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTOXC_001",Units:["mg/kg","ppm"]},"S-RZM.00":{Element:"Rootzone Moisture",ModusTestIDv1:"S-RZM.00",ModusTestIDv2:"L_MODV2_SOIL_RZM_001",Units:["%",null]},"S-SAND-SV.19":{Element:"Sand",ModusTestIDv1:"S-SAND-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SAND_001",Units:["%",null]},"S-SAND.22":{Element:"Sand",ModusTestIDv1:"S-SAND.22",ModusTestIDv2:"L_MODV2_SOIL_SAND_002",Units:["%",null]},"S-SAND-SED.10":{Element:"Sand",ModusTestIDv1:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003",Units:["%",null]},"S-SAND-SED.11":{Element:"Sand",ModusTestIDv1:"S-SAND-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SAND_004",Units:["%",null]},"S-SANDC.BAL.19":{Element:"sand - coarse",ModusTestIDv1:"S-SANDC.BAL.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_001",Units:["%",null]},"S-SANDC.HYDRO.19":{Element:"sand - coarse",ModusTestIDv1:"S-SANDC.HYDRO.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_002",Units:["%",null]},"S-SANDC-SV.19":{Element:"sand - coarse",ModusTestIDv1:"S-SANDC-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_003",Units:["%",null]},"S-SANDF.DAL.19":{Element:"sand - fine",ModusTestIDv1:"S-SANDF.DAL.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_001",Units:["%",null]},"S-SANDF-HYDRO.19":{Element:"sand - fine",ModusTestIDv1:"S-SANDF-HYDRO.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_002",Units:["%",null]},"S-SANDF-SV.19":{Element:"sand - fine",ModusTestIDv1:"S-SANDF-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_003",Units:["%",null]},"S-SP%.19":{Element:"Saturation Paste %",ModusTestIDv1:"S-SP%.19",ModusTestIDv2:"L_MODV2_SOIL_SS",Units:["%",null]},"S-SE-AR.07":{Element:"Selenium",ModusTestIDv1:"S-SE-AR.07",ModusTestIDv2:"L_MODV2_SOIL_SE_001",Units:["ug/kg","ppb"]},"S-SE-EPA3050.04":{Element:"Selenium",ModusTestIDv1:"S-SE-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SE_003",Units:["mg/kg","ppm"]},"S-SI-AA.04":{Element:"Silicon",ModusTestIDv1:"S-SI-AA.04",ModusTestIDv2:"L_MODV2_SOIL_SI_001",Units:["mg/kg","ppm"]},"S-SI-CACL2.01":{Element:"Silicon",ModusTestIDv1:"S-SI-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_SI_003",Units:["mg/kg","ppm"]},"S-SI-KCL.04":{Element:"Silicon",ModusTestIDv1:"S-SI-KCL.04",ModusTestIDv2:"L_MODV2_SOIL_SI_004",Units:["mg/kg","ppm"]},"S-SI-SP.04":{Element:"Silicon",ModusTestIDv1:"S-SI-SP.04",ModusTestIDv2:"L_MODV2_SOIL_SI_005",Units:["mg/L",null]},"S-SI-H2SO4.01":{Element:"Silicon",ModusTestIDv1:"S-SI-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_SI_006",Units:["mg/kg","ppm"]},"S-SILT-SV.19":{Element:"Silt",ModusTestIDv1:"S-SILT-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SILT_001",Units:["%",null]},"S-SILT.22":{Element:"Silt",ModusTestIDv1:"S-SILT.22",ModusTestIDv2:"L_MODV2_SOIL_SILT_002",Units:["%",null]},"S-SILT-SED.10":{Element:"Silt",ModusTestIDv1:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003",Units:["%",null]},"S-SILT-SED.11,S-SILT-ST-OT":{Element:"Silt",ModusTestIDv1:"S-SILT-SED.11,S-SILT-ST-OT",ModusTestIDv2:"L_MODV2_SOIL_SILT_004",Units:["%",null]},"S-SI+C-SV":{Element:"Silt+Clay",ModusTestIDv1:"S-SI+C-SV",ModusTestIDv2:"L_MODV2_SOIL_SILTCLAY_001",Units:["%",null]},"S-AG-EPA3050.04":{Element:"Silver",ModusTestIDv1:"S-AG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_AG_001",Units:["mg/kg","ppm"]},"S-Slaking.24":{Element:"Slaking",ModusTestIDv1:"S-Slaking.24",ModusTestIDv2:"L_MODV2_SOIL_SLAKING_001",Units:["none",null]},"S-NA-NH4AC.05":{Element:"Sodium",ModusTestIDv1:"S-NA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_NA_001",Units:["mg/kg","ppm"]},"S-NA-NH4CL.23":{Element:"Sodium",ModusTestIDv1:"S-NA-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_NA_002",Units:["meq/100 g",null]},"S-NA-PNA4CL.23":{Element:"Sodium",ModusTestIDv1:"S-NA-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_NA_003",Units:["meq/100 g",null]},"S-NA-BACL2.23":{Element:"Sodium",ModusTestIDv1:"S-NA-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_NA_004",Units:["cmol/kg","%"]},"S-NA-EPA3050.04":{Element:"Sodium",ModusTestIDv1:"S-NA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_NA_006",Units:["mg/kg","ppm"]},"S-NA-EPA6010B.00":{Element:"Sodium",ModusTestIDv1:"S-NA-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_NA_008",Units:["mg/kg","ppm"]},"S-NA-H3A1.01.04":{Element:"Sodium",ModusTestIDv1:"S-NA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_NA_009",Units:["mg/kg","ppm"]},"S-NA-LANC.04":{Element:"Sodium",ModusTestIDv1:"S-NA-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_NA_010",Units:["lb/ac","ppm"]},"S-NA-M1.05":{Element:"Sodium",ModusTestIDv1:"S-NA-M1.05",ModusTestIDv2:"L_MODV2_SOIL_NA_011",Units:["mg/kg","ppm"]},"S-NA-M2.05":{Element:"Sodium",ModusTestIDv1:"S-NA-M2.05",ModusTestIDv2:"L_MODV2_SOIL_NA_012",Units:["mg/kg","ppm"]},"S-NA-M3.05":{Element:"Sodium",ModusTestIDv1:"S-NA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_NA_013",Units:["mg/kg","ppm"]},"S-NA-NA.04":{Element:"Sodium",ModusTestIDv1:"S-NA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_NA_015",Units:["%",null]},"S-NA-PRS.04":{Element:"Sodium",ModusTestIDv1:"S-NA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_NA_016",Units:["mg/kg","ppm"]},"S-NA-KCL-01.05":{Element:"Sodium",ModusTestIDv1:"S-NA-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_NA_017",Units:["mg/kg","ppm"]},"S-NA-RES.04":{Element:"Sodium",ModusTestIDv1:"S-NA-RES.04",ModusTestIDv2:"L_MODV2_SOIL_NA_018",Units:["mg/kg","ppm"]},"S-NA-SP.05":{Element:"Sodium",ModusTestIDv1:"S-NA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_NA_019",Units:["meq/L",null]},"S-NA-W:1:1.05":{Element:"Sodium",ModusTestIDv1:"S-NA-W:1:1.05",ModusTestIDv2:"L_MODV2_SOIL_NA_020",Units:["meq/L",null]},"S-NA-W20:1.04":{Element:"Sodium",ModusTestIDv1:"S-NA-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_NA_021",Units:["mg/kg",null]},"S-NA-W5:1.12":{Element:"Sodium",ModusTestIDv1:"S-NA-W5:1.12",ModusTestIDv2:"L_MODV2_SOIL_NA_022",Units:["mg/kg",null]},"S-NA-W5:1.23":{Element:"Sodium",ModusTestIDv1:"S-NA-W5:1.23",ModusTestIDv2:"L_MODV2_SOIL_NA_023",Units:["mg/kg","mg/L"]},"S-NA.19":{Element:"Sodium",ModusTestIDv1:"S-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NA_024",Units:["mg/kg","ppm"]},"S-SAR-AA.19":{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-AA.19",ModusTestIDv2:"L_MODV2_SOIL_SAR_001",Units:["ratio",null]},"S-SAR-W5:1.19":{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-W5:1.19",ModusTestIDv2:"L_MODV2_SOIL_SAR_002",Units:["none",null]},"S-SAR-SP.00":{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-SP.00",ModusTestIDv2:"L_MODV2_SOIL_SAR_003",Units:["Ratio",null]},"S-SOLIDS.19":{Element:'"solids, total"',ModusTestIDv1:"S-SOLIDS.19",ModusTestIDv2:"L_MODV2_SOIL_SOLIDS_001",Units:["%",null]},"S-SS.19":{Element:"Soluble Salts",ModusTestIDv1:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001",Units:["mg/kg","ppm"]},"S-SS-NCINDX.19":{Element:"Soluble Salts Index",ModusTestIDv1:"S-SS-NCINDX.19",ModusTestIDv2:"L_MODV2_SOIL_SSINDEX_001",Units:["none",null]},"S-SR-EPA3050.04":{Element:"Strontium",ModusTestIDv1:"S-SR-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SR_001",Units:["mg/kg","ppm"]},"S-SO4-1:5.13":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-1:5.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_001",Units:["mg/kg","ppm"]},"S-S-W5:1.04":{Element:"Sulfur",ModusTestIDv1:"S-S-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_014",Units:["mg/kg","ppm"]},"S-SO4-W1:1.13":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-W1:1.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_004",Units:["meq/L",null]},"S-SO4-EPA300.04":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-EPA300.04",ModusTestIDv2:"L_MODV2_SOIL_SO4S_005",Units:["mg/L",null]},"S-SO4-SP.08":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-SP.08",ModusTestIDv2:"L_MODV2_SOIL_SO4S_006",Units:["meq/L",null]},"S-SO4-SP.13":{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-SP.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_007",Units:["meq/L",null]},"S-S-NH4AC.04":{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_S_001",Units:["mg/kg","ppm"]},"S-S-NH4AC.05":{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_S_002",Units:["mg/kg","ppm"]},"S-S-NH4AC.23":{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.23",ModusTestIDv2:"L_MODV2_SOIL_S_003",Units:["mg/kg","ppm"]},"S-S-CACL.05":{Element:"Sulfur",ModusTestIDv1:"S-S-CACL.05",ModusTestIDv2:"L_MODV2_SOIL_S_004",Units:["mg/kg","ppm"]},"S-SO4-CaCl.04.08":{Element:"Sulfur",ModusTestIDv1:"S-SO4-CaCl.04.08",ModusTestIDv2:"L_MODV2_SOIL_S_005",Units:["mg/kg","ppm"]},"S-SO4-1:5.05":{Element:"Sulfur",ModusTestIDv1:"S-SO4-1:5.05",ModusTestIDv2:"L_MODV2_SOIL_S_007",Units:["mg/kg","ppm"]},"S-S.16":{Element:"Sulfur",ModusTestIDv1:"S-S.16",ModusTestIDv2:"L_MODV2_SOIL_S_009",Units:["%",null]},"S-SO4-1:5H2O.23":{Element:"Sulfur",ModusTestIDv1:"S-SO4-1:5H2O.23",ModusTestIDv2:"L_MODV2_SOIL_S_010",Units:["mg/kg","ppm"]},"S-SO4-W1:1.04":{Element:"Sulfur",ModusTestIDv1:"S-SO4-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_011",Units:["meq/L",null]},"S-S-W1:1.04":{Element:"Sulfur",ModusTestIDv1:"S-S-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_012",Units:["mg/kg","ppm"]},"S-S-W20:1.04":{Element:"Sulfur",ModusTestIDv1:"S-S-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_013",Units:["mg/kg","ppm"]},"S-S-DTPA-SORB.05":{Element:"Sulfur",ModusTestIDv1:"S-S-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_S_015",Units:["mg/kg","ppm"]},"S-S-EPA6010B.00":{Element:"Sulfur",ModusTestIDv1:"S-S-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_S_016",Units:["mg/kg","ppm"]},"S-S-EPA3050.04":{Element:"Sulfur",ModusTestIDv1:"S-S-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_S_017",Units:["mg/kg","ppm"]},"S-S-H3A.04":{Element:"Sulfur",ModusTestIDv1:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_021",Units:["mg/kg","ppm"]},"S-SO4-RES.04":{Element:"Sulfur",ModusTestIDv1:"S-SO4-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_023",Units:["mg/kg","ppm"]},"S-S-RES.04":{Element:"Sulfur",ModusTestIDv1:"S-S-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_024",Units:["mg/kg","ppm"]},"S-S-LANC.04":{Element:"Sulfur",ModusTestIDv1:"S-S-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_S_025",Units:["kg/ha","lb/ac"]},"S-S-M3.05":{Element:"Sulfur",ModusTestIDv1:"S-S-M3.05",ModusTestIDv2:"L_MODV2_SOIL_S_026",Units:["mg/kg","ppm"]},"S-S-MMOR.05":{Element:"Sulfur",ModusTestIDv1:"S-S-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_S_029",Units:["mg/kg","ppm"]},"S-S-NA.04":{Element:"Sulfur",ModusTestIDv1:"S-S-NA.04",ModusTestIDv2:"L_MODV2_SOIL_S_030",Units:["%",null]},"S-SO4-PRS.04":{Element:"Sulfur",ModusTestIDv1:"S-SO4-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_S_031",Units:["mg/m2",null]},"S-S-0.25MKCL.23":{Element:"Sulfur",ModusTestIDv1:"S-S-0.25MKCL.23",ModusTestIDv2:"L_MODV2_SOIL_S_034",Units:["kg/ha","lb/ac"]},"S-S-KCL.05":{Element:"Sulfur",ModusTestIDv1:"S-S-KCL.05",ModusTestIDv2:"L_MODV2_SOIL_S_035",Units:["mg/kg","ppm"]},"S-SO4-SP.04":{Element:"Sulfur",ModusTestIDv1:"S-SO4-SP.04",ModusTestIDv2:"L_MODV2_SOIL_S_036",Units:["meq/L",null]},"S-S-NCINDX":{Element:"Sulfur Index",ModusTestIDv1:"S-S-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_SINDEX_001",Units:["none",null]},"S-TEXTURE.19":{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.19",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_001",Units:["Texture Classification",null]},"S-TEXTURE.01":{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.01",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_002",Units:["none",null]},"S-TEXTURE.22":{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.22",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_003",Units:["Texture Classification",null]},"S-SN-EPA3050.04":{Element:"Tin",ModusTestIDv1:"S-SN-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SN_001",Units:["mg/kg","ppm"]},"S-H-MEAS.12":{Element:"Titratable Acidity",ModusTestIDv1:"S-H-MEAS.12",ModusTestIDv2:"L_MODV2_SOIL_TITACIDT_001",Units:["cmol/kg","meq/100 g"]},"S-TC:TN.19":{Element:"Total Carbon:Total Nitrogen",ModusTestIDv1:"S-TC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TCTN_001",Units:["none",null]},"S-TOC:TN.19":{Element:"Total Organic Carbon: Total Nitrogen",ModusTestIDv1:"S-TOC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TOCTN_001",Units:["none",null]},"S-UNKNOWN.00":{Element:"Unknown",ModusTestIDv1:"S-UNKNOWN.00",ModusTestIDv2:"L_MODV2_SOIL_UNKNOWN_001",Units:["none",null]},"S-UREA-NH4.01":{Element:"Urea",ModusTestIDv1:"S-UREA-NH4.01",ModusTestIDv2:"L_MODV2_SOIL_UREA_001",Units:["mg/kg","ppm"]},"S-ZN-DTPA.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_002",Units:["mg/kg","ppm"]},"S-ZN-DTPA-SORB.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_003",Units:["mg/kg","ppm"]},"S-ZN-EDTA.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_004",Units:["mg/kg","ppm"]},"S-ZN-EPA3050.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_005",Units:["mg/kg","ppm"]},"S-ZN-H3A1.01.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",Units:["mg/kg","ppm"]},"S-ZN-HCL.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_009",Units:["mg/kg","ppm"]},"S-ZN-RES.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-RES.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_010",Units:["mg/kg","ppm"]},"S-ZN-LANC.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_011",Units:["mg/kg","ppm"]},"S-ZN-M1.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-M1.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_012",Units:["mg/kg","ppm"]},"S-ZN-M2.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-M2.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_013",Units:["mg/kg","ppm"]},"S-ZN-M3DTPA.19":{Element:"Zinc",ModusTestIDv1:"S-ZN-M3DTPA.19",ModusTestIDv2:"L_MODV2_SOIL_ZN_014",Units:["mg/kg","ppm"]},"S-ZN-M3.05":{Element:"Zinc",ModusTestIDv1:"S-ZN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_015",Units:["mg/kg","ppm"]},"S-ZN-NA.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_019",Units:["ppm",null]},"S-ZN-PRS.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_021",Units:["mg/m2",null]},"S-ZN-SP.04":{Element:"Zinc",ModusTestIDv1:"S-ZN-SP.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_024",Units:["mg/L",null]},"S-ZN-NCINDX":{Element:"Zinc index",ModusTestIDv1:"S-ZN-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_ZINDEX_001",Units:["none",null]},"S-Zn:Cu-M3.19":{Element:"Zn:Cu ratio",ModusTestIDv1:"S-Zn:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_ZNCURATIO_001",Units:["none",null]},"S-Zn:Cu.19":{Element:"Zn:Cu ratio",ModusTestIDv1:"S-Zn:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_ZNCURATIO_002",Units:["none","ppm"]},"S-SP-ACE-OT":{Element:"ACE nitrogen (soil protein index)",ModusTestIDv1:"S-SP-ACE-OT",ModusTestIDv2:"L_MODV2_SOIL_ACEN_001",Units:["g/kg",null]},"S-BS-CA.19":{Element:"Base Saturation - Ca",ModusTestIDv1:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CABS_001",Units:["%",null]},"S-HCO3-SP.12":{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_002",Units:["meq/L",null]},"S-Cu-MMOR-OT":{Element:"Copper",ModusTestIDv1:"S-Cu-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_CU_017",Units:["mg/kg","ppm"]},"S-MN-EPA3050.05":{Element:"Manganese",ModusTestIDv1:"S-MN-EPA3050.05",ModusTestIDv2:"L_MODV2_SOIL_MN_006",Units:["mg/kg","ppm"]},"S-Mn-MMOR-OT":{Element:"Manganese",ModusTestIDv1:"S-Mn-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_MN_017",Units:["mg/kg","ppm"]},"S-MD-BS-C-OT":{Element:"phospholipid fatty acid (PLFA)",ModusTestIDv1:"S-MD-BS-C-OT",ModusTestIDv2:"L_MODV2_SOIL_PLFA_001",Units:["ng/g",null]},"S-K-AA-NH4AC.04":{Element:"Potassium",ModusTestIDv1:"S-K-AA-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_K_002",Units:["mg/kg","ppm"]},"S-K-B1-1:10.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_007",Units:["mg/kg","ppm"]},"S-K-B1-1:7.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-B1-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_008",Units:["mg/kg","ppm"]},"S-K-B2-1:10.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_009",Units:["mg/kg","ppm"]},"S-K-LACTATE.01":{Element:"Potassium",ModusTestIDv1:"S-K-LACTATE.01",ModusTestIDv2:"L_MODV2_SOIL_K_010",Units:["mg/kg","ppm"]},"S-K-CACL2.01":{Element:"Potassium",ModusTestIDv1:"S-K-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_K_011",Units:["mg/kg","ppm"]},"S-K-M3BRAYP1.19":{Element:"Potassium",ModusTestIDv1:"S-K-M3BRAYP1.19",ModusTestIDv2:"L_MODV2_SOIL_K_012",Units:["mg/kg","ppm"]},"S-K-CALD.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-CALD.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_014",Units:["mg/kg","ppm"]},"S-K-W1:5.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-W1:5.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_015",Units:["mg/kg","ppm"]},"S-K-W10:1.04":{Element:"Potassium",ModusTestIDv1:"S-K-W10:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_016",Units:["mg/kg","ppm"]},"S-K-DGT.01":{Element:"Potassium",ModusTestIDv1:"S-K-DGT.01",ModusTestIDv2:"L_MODV2_SOIL_K_018",Units:["mg/kg","ppm"]},"S-K-RES.01":{Element:"Potassium",ModusTestIDv1:"S-K-RES.01",ModusTestIDv2:"L_MODV2_SOIL_K_022",Units:["mg/kg","ppm"]},"S-K-KEL.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-KEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_024",Units:["mg/kg","ppm"]},"S-K-MKEL.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-MKEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_026",Units:["mg/kg","ppm"]},"S-K-M1.04":{Element:"Potassium",ModusTestIDv1:"S-K-M1.04",ModusTestIDv2:"L_MODV2_SOIL_K_029",Units:["mg/kg","ppm"]},"S-K-M2.04":{Element:"Potassium",ModusTestIDv1:"S-K-M2.04",ModusTestIDv2:"L_MODV2_SOIL_K_030",Units:["mg/kg","ppm"]},"S-K-M3.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_031",Units:["mg/kg","ppm"]},"S-K-MOR.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-MOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_033",Units:["mg/kg","ppm"]},"S-K-MMOR.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_034",Units:["mg/kg","ppm"]},"S-K-BIC.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_043",Units:["mg/kg","ppm"]},"S-K-H2SO4.01":{Element:"Potassium",ModusTestIDv1:"S-K-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_K_044",Units:["mg/kg","ppm"]},"S-K-TRG.01.03":{Element:"Potassium",ModusTestIDv1:"S-K-TRG.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_045",Units:["mg/kg","ppm"]},"S-K-AR.23":{Element:"potassium\xA0",ModusTestIDv1:"S-K-AR.23",ModusTestIDv2:"L_MODV2_SOIL_K_049",Units:["mg/kg","ppm"]},"S-KFF-M3.05":{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.05",ModusTestIDv2:"L_MODV2_SOIL_KFF_002",Units:["%",null]},"S-KFF-M3.06":{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.06",ModusTestIDv2:"L_MODV2_SOIL_KFF_003",Units:["%",null]},"S-TK-H2SO4.01":{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TK-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_TK_001",Units:["mg/kg","ppm"]},"S-TK-NA.04":{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TK-NA.04",ModusTestIDv2:"L_MODV2_SOIL_TK_003",Units:["mg/kg","ppm"]},"S-Zn-MMOR-OT":{Element:"Zinc",ModusTestIDv1:"S-Zn-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_ZN_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ACIDT_002:{Element:"Acidity",ModusTestIDv1:"S-Acidity.19",ModusTestIDv2:"L_MODV2_SOIL_ACIDT_002",Units:["mg/kg",null]},L_MODV2_SOIL_ASAR_001:{Element:"adjusted sodium adsorption ratio",ModusTestIDv1:"S-SARJ-SP.00",ModusTestIDv2:"L_MODV2_SOIL_ASAR_001",Units:["Ratio",null]},L_MODV2_SOIL_AL_001:{Element:"Aluminum",ModusTestIDv1:"S-AL-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_AL_001",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_AL_002:{Element:"Aluminum",ModusTestIDv1:"S-AL-OX.23",ModusTestIDv2:"L_MODV2_SOIL_AL_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_003:{Element:"Aluminum",ModusTestIDv1:"S-TAL-RAR.23",ModusTestIDv2:"L_MODV2_SOIL_AL_003",Units:["%",null]},L_MODV2_SOIL_AL_004:{Element:"Aluminum",ModusTestIDv1:"S-AL-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_AL_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_005:{Element:"Aluminum",ModusTestIDv1:"S-AL.19",ModusTestIDv2:"L_MODV2_SOIL_AL_005",Units:["%",null]},L_MODV2_SOIL_AL_006:{Element:"Aluminum",ModusTestIDv1:"S-AL-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_AL_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_010:{Element:"Aluminum",ModusTestIDv1:"S-AL-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_AL_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_011:{Element:"Aluminum",ModusTestIDv1:"S-AL-RES.04",ModusTestIDv2:"L_MODV2_SOIL_AL_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_012:{Element:"Aluminum",ModusTestIDv1:"S-AL-M3.05",ModusTestIDv2:"L_MODV2_SOIL_AL_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_014:{Element:"Aluminum",ModusTestIDv1:"S-AL-NA.04",ModusTestIDv2:"L_MODV2_SOIL_AL_014",Units:["ppm",null]},L_MODV2_SOIL_AL_018:{Element:"Aluminum",ModusTestIDv1:"S-AL-1KCL.23",ModusTestIDv2:"L_MODV2_SOIL_AL_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_020:{Element:"Aluminum",ModusTestIDv1:"S-Al-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_AL_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_022:{Element:"Aluminum",ModusTestIDv1:"S-AL-SP.04",ModusTestIDv2:"L_MODV2_SOIL_AL_022",Units:["mg/L",null]},L_MODV2_SOIL_AMINON_001:{Element:"Amino Nitrogen",ModusTestIDv1:"S-AN-12.00",ModusTestIDv2:"L_MODV2_SOIL_AMINON_001",Units:[null,null]},L_MODV2_SOIL_NH4N_002:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_003:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_004:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-RES.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_005:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-KCL.01.05",ModusTestIDv2:"L_MODV2_SOIL_NH4N_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_006:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4-KCL.09",ModusTestIDv2:"L_MODV2_SOIL_NH4N_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_007:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-05KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_008:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4N_009:{Element:"Ammonium-Nitrogen",ModusTestIDv1:"S-NH4N-SP.01",ModusTestIDv2:"L_MODV2_SOIL_NH4N_009",Units:["mg/L",null]},L_MODV2_SOIL_SB_001:{Element:"Antimony",ModusTestIDv1:"S-SB-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SB_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AS_001:{Element:"Arsenic",ModusTestIDv1:"S-AS-AR.07",ModusTestIDv2:"L_MODV2_SOIL_AS_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_AS_002:{Element:"Arsenic",ModusTestIDv1:"S-AS-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_AS_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AS_003:{Element:"Arsenic",ModusTestIDv1:"S-AS-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_AS_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BA_001:{Element:"Barium",ModusTestIDv1:"S-BA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_BA_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BS_001:{Element:"Base Saturation",ModusTestIDv1:"S-BS.19",ModusTestIDv2:"L_MODV2_SOIL_BS_001",Units:["%",null]},L_MODV2_SOIL_HBS_001:{Element:"Base Saturation - H",ModusTestIDv1:"S-BS-H.19",ModusTestIDv2:"L_MODV2_SOIL_HBS_001",Units:["%",null]},L_MODV2_SOIL_KBS_001:{Element:"Base Saturation - K",ModusTestIDv1:"S-BS-K.19",ModusTestIDv2:"L_MODV2_SOIL_KBS_001",Units:["%",null]},L_MODV2_SOIL_MGBS_001:{Element:"Base Saturation - Mg",ModusTestIDv1:"S-BS-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MGBS_001",Units:["%",null]},L_MODV2_SOIL_NABS_001:{Element:"Base Saturation - Na",ModusTestIDv1:"S-BS-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NABS_001",Units:["%",null]},L_MODV2_SOIL_HCO3_001:{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_HCO3_001",Units:["meq/L",null]},L_MODV2_SOIL_HCO3_004:{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-W1:1.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_004",Units:["meq/L",null]},L_MODV2_SOIL_HCO3_005:{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-ALK.01",ModusTestIDv2:"L_MODV2_SOIL_HCO3_005",Units:["meq/L",null]},L_MODV2_SOIL_B_001:{Element:"Boron",ModusTestIDv1:"S-B-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_B_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_003:{Element:"Boron",ModusTestIDv1:"S-B-HW.01.10",ModusTestIDv2:"L_MODV2_SOIL_B_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_004:{Element:"Boron",ModusTestIDv1:"S-B-HW.05",ModusTestIDv2:"L_MODV2_SOIL_B_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_005:{Element:"Boron",ModusTestIDv1:"S-B-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_B_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_006:{Element:"Boron",ModusTestIDv1:"S-B-W1:2.01",ModusTestIDv2:"L_MODV2_SOIL_B_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_007:{Element:"Boron",ModusTestIDv1:"S-B-W1:5.01",ModusTestIDv2:"L_MODV2_SOIL_B_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_008:{Element:"Boron",ModusTestIDv1:"S-B-W1:5.23",ModusTestIDv2:"L_MODV2_SOIL_B_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_009:{Element:"Boron",ModusTestIDv1:"S-B-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_B_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_010:{Element:"Boron",ModusTestIDv1:"S-B-SP.04",ModusTestIDv2:"L_MODV2_SOIL_B_010",Units:["meq/L",null]},L_MODV2_SOIL_B_011:{Element:"Boron",ModusTestIDv1:"S-B-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_B_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_012:{Element:"Boron",ModusTestIDv1:"S-B-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_B_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_015:{Element:"Boron",ModusTestIDv1:"S-B-RES.04",ModusTestIDv2:"L_MODV2_SOIL_B_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_016:{Element:"Boron",ModusTestIDv1:"S-B-M1.04",ModusTestIDv2:"L_MODV2_SOIL_B_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_017:{Element:"Boron",ModusTestIDv1:"S-B-M3.04",ModusTestIDv2:"L_MODV2_SOIL_B_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_019:{Element:"Boron",ModusTestIDv1:"S-B-NA.04",ModusTestIDv2:"L_MODV2_SOIL_B_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BPH_001:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-AEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_001",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_002:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MAEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_002",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_003:{Element:"Buffer pH",ModusTestIDv1:"S-BPH.19",ModusTestIDv2:"L_MODV2_SOIL_BPH_003",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_004:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MEB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_004",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_007:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SIK1.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_007",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_008:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SIK2.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_008",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_009:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-SMPB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_009",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_010:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-WB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_010",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_011:{Element:"Buffer pH",ModusTestIDv1:"S-BPH-MWB.02",ModusTestIDv2:"L_MODV2_SOIL_BPH_011",Units:["standard pH unit",null]},L_MODV2_SOIL_BD_001:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Clod.00",ModusTestIDv2:"L_MODV2_SOIL_BD_001",Units:["g/cm3",null]},L_MODV2_SOIL_BD_002:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Coarse.15",ModusTestIDv2:"L_MODV2_SOIL_BD_002",Units:["g/cm3",null]},L_MODV2_SOIL_BD_003:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Core.00",ModusTestIDv2:"L_MODV2_SOIL_BD_003",Units:["g/cm3",null]},L_MODV2_SOIL_BD_004:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Fine.15",ModusTestIDv2:"L_MODV2_SOIL_BD_004",Units:["g/cm3",null]},L_MODV2_SOIL_BD_005:{Element:"Bulk Density",ModusTestIDv1:"S-BD-Scoop.00",ModusTestIDv2:"L_MODV2_SOIL_BD_005",Units:["g/cm3",null]},L_MODV2_SOIL_BD_006:{Element:"Bulk Density",ModusTestIDv1:"S-BD.19",ModusTestIDv2:"L_MODV2_SOIL_BD_006",Units:["g/cm3",null]},L_MODV2_SOIL_CNRATIO_002:{Element:"C:N Ratio",ModusTestIDv1:"S-C:N.16",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_002",Units:["Ratio",null]},L_MODV2_SOIL_CNRATIO_003:{Element:"C:N Ratio",ModusTestIDv1:"S-C:N.19",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_003",Units:["Ratio",null]},L_MODV2_SOIL_CNRATIO_004:{Element:"C:N Ratio",ModusTestIDv1:"S-C:N-Haney.19",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_004",Units:["Ratio",null]},L_MODV2_SOIL_CAEMGP_001:{Element:"Ca + exchangable Mg",ModusTestIDv1:"S-CAEMG-M1.19",ModusTestIDv2:"L_MODV2_SOIL_CAEMGP_001",Units:[null,null]},L_MODV2_SOIL_CAKRATIO_001:{Element:"Ca:K ratio",ModusTestIDv1:"S-CA:KM1.19",ModusTestIDv2:"L_MODV2_SOIL_CAKRATIO_001",Units:[null,null]},L_MODV2_SOIL_CAMGRATIO_001:{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_001",Units:[null,null]},L_MODV2_SOIL_CAMGRATIO_002:{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-AA.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_002",Units:[null,null]},L_MODV2_SOIL_CAMGRATIO_003:{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_003",Units:[null,null]},L_MODV2_SOIL_CAMGRATIO_004:{Element:"Ca:Mg ratio",ModusTestIDv1:"S-CA:MG-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGRATIO_004",Units:[null,null]},L_MODV2_SOIL_CANO3RATIO_001:{Element:"Ca:NO3 ratio",ModusTestIDv1:"S-CA:NO3.19",ModusTestIDv2:"L_MODV2_SOIL_CANO3RATIO_001",Units:[null,null]},L_MODV2_SOIL_CAMGKRATIO_001:{Element:"Ca+Mg:K ratio",ModusTestIDv1:"S-CAMG:KM1.19",ModusTestIDv2:"L_MODV2_SOIL_CAMGKRATIO_001",Units:[null,null]},L_MODV2_SOIL_CD_001:{Element:"Cadmium",ModusTestIDv1:"S-CD-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CD_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_CD_002:{Element:"Cadmium",ModusTestIDv1:"S-CD-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CD_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CD_005:{Element:"Cadmium",ModusTestIDv1:"S-CD-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CD_005",Units:[null,null]},L_MODV2_SOIL_CA_001:{Element:"Calcium",ModusTestIDv1:"S-CA-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_CA_001",Units:["cmol/kg","%"]},L_MODV2_SOIL_CA_002:{Element:"Calcium",ModusTestIDv1:"S-CA-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CA_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_003:{Element:"Calcium",ModusTestIDv1:"S-CA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_CA_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_005:{Element:"Calcium",ModusTestIDv1:"S-CA-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_CA_005",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CA_006:{Element:"Calcium",ModusTestIDv1:"S-CA-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_CA_006",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CA_007:{Element:"Calcium",ModusTestIDv1:"S-CA-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_CA_007",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CA_008:{Element:"Calcium",ModusTestIDv1:"S-CA-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_CA_008",Units:["none",null]},L_MODV2_SOIL_CA_009:{Element:"Calcium",ModusTestIDv1:"S-CA-M3AA.19",ModusTestIDv2:"L_MODV2_SOIL_CA_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_010:{Element:"Calcium",ModusTestIDv1:"S-CA-W1:1.05",ModusTestIDv2:"L_MODV2_SOIL_CA_010",Units:["meq/L",null]},L_MODV2_SOIL_CA_011:{Element:"Calcium",ModusTestIDv1:"S-CA-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_CA_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_012:{Element:"Calcium",ModusTestIDv1:"S-CA-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_CA_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_013:{Element:"Calcium",ModusTestIDv1:"S-CA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CA_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_014:{Element:"Calcium",ModusTestIDv1:"S-CA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CA_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_016:{Element:"Calcium",ModusTestIDv1:"S-CA-RES.04",ModusTestIDv2:"L_MODV2_SOIL_CA_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_017:{Element:"Calcium",ModusTestIDv1:"S-CA-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_CA_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_018:{Element:"Calcium",ModusTestIDv1:"S-CA-M1.05",ModusTestIDv2:"L_MODV2_SOIL_CA_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_019:{Element:"Calcium",ModusTestIDv1:"S-CA-M2.05",ModusTestIDv2:"L_MODV2_SOIL_CA_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_020:{Element:"Calcium",ModusTestIDv1:"S-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CA_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_021:{Element:"Calcium",ModusTestIDv1:"S-CA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CA_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_023:{Element:"Calcium",ModusTestIDv1:"S-CA-MOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_024:{Element:"Calcium",ModusTestIDv1:"S-CA-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_CA_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_025:{Element:"Calcium",ModusTestIDv1:"S-CA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CA_025",Units:["%",null]},L_MODV2_SOIL_CA_026:{Element:"Calcium",ModusTestIDv1:"S-CA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_CA_026",Units:["mg/m2",null]},L_MODV2_SOIL_CA_027:{Element:"Calcium",ModusTestIDv1:"S-CA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_CA_027",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_030:{Element:"Calcium",ModusTestIDv1:"S-CA-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_CA_030",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_031:{Element:"Calcium",ModusTestIDv1:"S-CA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_CA_031",Units:["meq/L",null]},L_MODV2_SOIL_CA_032:{Element:"Calcium",ModusTestIDv1:"S-CA-TRG.06",ModusTestIDv2:"L_MODV2_SOIL_CA_032",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CACO3_001:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3-AA.02",ModusTestIDv2:"L_MODV2_SOIL_CACO3_001",Units:["%",null]},L_MODV2_SOIL_CACO3_002:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3-OxA.12",ModusTestIDv2:"L_MODV2_SOIL_CACO3_002",Units:["%",null]},L_MODV2_SOIL_CACO3_003:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.14",ModusTestIDv2:"L_MODV2_SOIL_CACO3_003",Units:["%",null]},L_MODV2_SOIL_CACO3_004:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.12",ModusTestIDv2:"L_MODV2_SOIL_CACO3_004",Units:["%",null]},L_MODV2_SOIL_CACO3_005:{Element:"Calcium Carbonate",ModusTestIDv1:"S-CACO3.15",ModusTestIDv2:"L_MODV2_SOIL_CACO3_005",Units:["%",null]},L_MODV2_SOIL_C_001:{Element:"Carbon",ModusTestIDv1:"S-C-W-04",ModusTestIDv2:"L_MODV2_SOIL_C_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TC_001:{Element:'"carbon, total"',ModusTestIDv1:"S-TC-COMB.15",ModusTestIDv2:"L_MODV2_SOIL_TC_001",Units:["%",null]},L_MODV2_SOIL_CO3_001:{Element:"Carbonate",ModusTestIDv1:"S-CO3-AA.02",ModusTestIDv2:"L_MODV2_SOIL_CO3_001",Units:["%",null]},L_MODV2_SOIL_CO3_002:{Element:"Carbonate",ModusTestIDv1:"S-CO3-W1:1.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_002",Units:["meq/L",null]},L_MODV2_SOIL_CO3_003:{Element:"Carbonate",ModusTestIDv1:"S-CO3-SP.19",ModusTestIDv2:"L_MODV2_SOIL_CO3_003",Units:["meq/L",null]},L_MODV2_SOIL_CO3_004:{Element:"Carbonate",ModusTestIDv1:"S-CO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_CO3_004",Units:["meq/L",null]},L_MODV2_SOIL_CO3QUAL_001:{Element:'"carbonates, qualitative"',ModusTestIDv1:"S-CACO3.11",ModusTestIDv2:"L_MODV2_SOIL_CO3QUAL_001",Units:["none",null]},L_MODV2_SOIL_CEC_001:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-AA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CEC_002:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-NH4N.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CEC_003:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CEC_005:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_005",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_006:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-BACLAA.23",ModusTestIDv2:"L_MODV2_SOIL_CEC_006",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_007:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-CA.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_007",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_008:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC.19",ModusTestIDv2:"L_MODV2_SOIL_CEC_008",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_009:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-K.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_009",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_010:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-AG-THU.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_010",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CEC_011:{Element:"Cation Exchange Capacity",ModusTestIDv1:"S-CEC-NA.05",ModusTestIDv2:"L_MODV2_SOIL_CEC_011",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_CROSS_001:{Element:"cation ratio of structural stability",ModusTestIDv1:"S-CROSS-W5:1.19",ModusTestIDv2:"L_MODV2_SOIL_CROSS_001",Units:["none",null]},L_MODV2_SOIL_CATANRATIO_001:{Element:"Cation:Anion Ratio",ModusTestIDv1:"S-C:A.19",ModusTestIDv2:"L_MODV2_SOIL_CATANRATIO_001",Units:[null,null]},L_MODV2_SOIL_CL_004:{Element:"Chloride",ModusTestIDv1:"S-CL-HG.01",ModusTestIDv2:"L_MODV2_SOIL_CL_004",Units:["ppm","mg/kg"]},L_MODV2_SOIL_CL_005:{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_CL_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CL_006:{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_006",Units:["meq/L",null]},L_MODV2_SOIL_CL_007:{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.08",ModusTestIDv2:"L_MODV2_SOIL_CL_007",Units:["meq/L",null]},L_MODV2_SOIL_CL_008:{Element:"Chloride",ModusTestIDv1:"S-CL-W1:1.17",ModusTestIDv2:"L_MODV2_SOIL_CL_008",Units:["meq/L",null]},L_MODV2_SOIL_CL_009:{Element:"Chloride",ModusTestIDv1:"S-CL-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_CL_009",Units:["mg/L",null]},L_MODV2_SOIL_CL_010:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_010",Units:["meq/L",null]},L_MODV2_SOIL_CL_011:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.12.06",ModusTestIDv2:"L_MODV2_SOIL_CL_011",Units:["meq/L",null]},L_MODV2_SOIL_CL_012:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.17",ModusTestIDv2:"L_MODV2_SOIL_CL_012",Units:["meq/L",null]},L_MODV2_SOIL_CL_013:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.01",ModusTestIDv2:"L_MODV2_SOIL_CL_013",Units:["mg/L",null]},L_MODV2_SOIL_CL_014:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.02",ModusTestIDv2:"L_MODV2_SOIL_CL_014",Units:["meq/L",null]},L_MODV2_SOIL_CL_015:{Element:"Chloride",ModusTestIDv1:"S-CL-SP.08",ModusTestIDv2:"L_MODV2_SOIL_CL_015",Units:["meq/L",null]},L_MODV2_SOIL_CL_016:{Element:"Chloride",ModusTestIDv1:"S-CL.01.04",ModusTestIDv2:"L_MODV2_SOIL_CL_016",Units:["meq/L",null]},L_MODV2_SOIL_CL_017:{Element:"Chloride",ModusTestIDv1:"S-CL.12.06",ModusTestIDv2:"L_MODV2_SOIL_CL_017",Units:["meq/L",null]},L_MODV2_SOIL_CL_018:{Element:"Chloride",ModusTestIDv1:"S-CL-1:5.02",ModusTestIDv2:"L_MODV2_SOIL_CL_018",Units:["meq/L",null]},L_MODV2_SOIL_CL_019:{Element:"Chloride",ModusTestIDv1:"S-CL-1:5.17",ModusTestIDv2:"L_MODV2_SOIL_CL_019",Units:["meq/L",null]},L_MODV2_SOIL_CL_020:{Element:"Chloride",ModusTestIDv1:"S-CL-1:5H2O.01",ModusTestIDv2:"L_MODV2_SOIL_CL_020",Units:["meq/L",null]},L_MODV2_SOIL_CR_001:{Element:"Chromium",ModusTestIDv1:"S-CR-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CR_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_CR_002:{Element:"Chromium",ModusTestIDv1:"S-CR-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CR_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CR_005:{Element:"Chromium",ModusTestIDv1:"S-CR-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CR_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CLAY_001:{Element:"Clay",ModusTestIDv1:"S-CLAY-SV.19",ModusTestIDv2:"L_MODV2_SOIL_CLAY_001",Units:["%",null]},L_MODV2_SOIL_CLAY_002:{Element:"Clay",ModusTestIDv1:"S-CLAY.22",ModusTestIDv2:"L_MODV2_SOIL_CLAY_002",Units:["%",null]},L_MODV2_SOIL_CLAY_003:{Element:"Clay",ModusTestIDv1:"S-CLAY-SED.10",ModusTestIDv2:"L_MODV2_SOIL_CLAY_003",Units:["%",null]},L_MODV2_SOIL_CLAY_004:{Element:"Clay",ModusTestIDv1:"S-CLAY-SED.11,S-CLAY-ST-OT",ModusTestIDv2:"L_MODV2_SOIL_CLAY_004",Units:["%",null]},L_MODV2_SOIL_CO2RESP_001:{Element:"CO2 Respiration",ModusTestIDv1:"S-CO2-RESP.01",ModusTestIDv2:"L_MODV2_SOIL_CO2RESP_001",Units:["%",null]},L_MODV2_SOIL_CO_001:{Element:"Cobalt",ModusTestIDv1:"S-CO-AR.07",ModusTestIDv2:"L_MODV2_SOIL_CO_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_CO_003:{Element:"Cobalt",ModusTestIDv1:"S-CO-DTPA.04",ModusTestIDv2:"L_MODV2_SOIL_CO_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_004:{Element:"Cobalt",ModusTestIDv1:"S-CO-EPA2007.00",ModusTestIDv2:"L_MODV2_SOIL_CO_004",Units:["mg/L",null]},L_MODV2_SOIL_CO_005:{Element:"Cobalt",ModusTestIDv1:"S-CO-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CO_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_006:{Element:"Cobalt",ModusTestIDv1:"S-CO-M3.04",ModusTestIDv2:"L_MODV2_SOIL_CO_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_COLOR_001:{Element:"Color",ModusTestIDv1:"S-Color.24",ModusTestIDv2:"L_MODV2_SOIL_COLOR_001",Units:["none",null]},L_MODV2_SOIL_CU_002:{Element:"Copper",ModusTestIDv1:"S-CU-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_003:{Element:"Copper",ModusTestIDv1:"S-CU-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_CU_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_004:{Element:"Copper",ModusTestIDv1:"S-CU-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_CU_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_005:{Element:"Copper",ModusTestIDv1:"S-CU-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_CU_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_008:{Element:"Copper",ModusTestIDv1:"S-CU-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_CU_008",Units:["mg/kg",null]},L_MODV2_SOIL_CU_009:{Element:"Copper",ModusTestIDv1:"S-CU-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_CU_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_010:{Element:"Copper",ModusTestIDv1:"S-CU-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_CU_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_011:{Element:"Copper",ModusTestIDv1:"S-CU-RES.04",ModusTestIDv2:"L_MODV2_SOIL_CU_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_012:{Element:"Copper",ModusTestIDv1:"S-CU-M1.05",ModusTestIDv2:"L_MODV2_SOIL_CU_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_013:{Element:"Copper",ModusTestIDv1:"S-CU-M2.05",ModusTestIDv2:"L_MODV2_SOIL_CU_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_014:{Element:"Copper",ModusTestIDv1:"S-CU-M3.05",ModusTestIDv2:"L_MODV2_SOIL_CU_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_018:{Element:"Copper",ModusTestIDv1:"S-CU-NA.04",ModusTestIDv2:"L_MODV2_SOIL_CU_018",Units:["ppm",null]},L_MODV2_SOIL_CU_022:{Element:"Copper",ModusTestIDv1:"S-CU-SP.04",ModusTestIDv2:"L_MODV2_SOIL_CU_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CUINDEX_001:{Element:"Copper Index",ModusTestIDv1:"S-CU-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_CUINDEX_001",Units:["none",null]},L_MODV2_SOIL_DM_001:{Element:"Deleterious material",ModusTestIDv1:"S-DM.15",ModusTestIDv2:"L_MODV2_SOIL_DM_001",Units:["%",null]},L_MODV2_SOIL_DINDEX_001:{Element:"Dispersion Index",ModusTestIDv1:"S-DI.24",ModusTestIDv2:"L_MODV2_SOIL_DINDEX_001",Units:["none",null]},L_MODV2_SOIL_EC_001:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:1.03",ModusTestIDv2:"L_MODV2_SOIL_EC_001",Units:["dS/m","mmho/cm"]},L_MODV2_SOIL_EC_002:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:2.03",ModusTestIDv2:"L_MODV2_SOIL_EC_002",Units:["dS/m","mmho/cm"]},L_MODV2_SOIL_EC_003:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-1:5.03",ModusTestIDv2:"L_MODV2_SOIL_EC_003",Units:["dS/m","mmho/cm"]},L_MODV2_SOIL_EC_004:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC-SP.03",ModusTestIDv2:"L_MODV2_SOIL_EC_004",Units:["dS/m","mmho/cm"]},L_MODV2_SOIL_EC_005:{Element:"Electrical Conductivity",ModusTestIDv1:"S-EC.CALC.19",ModusTestIDv2:"L_MODV2_SOIL_EC_005",Units:["dS/m",null]},L_MODV2_SOIL_ESI_001:{Element:"Electrochemical Stability Index",ModusTestIDv1:"S-ESI.19",ModusTestIDv2:"L_MODV2_SOIL_ESI_001",Units:["none",null]},L_MODV2_SOIL_EMERSON_001:{Element:"Emerson Class",ModusTestIDv1:"S-EMERSON.19",ModusTestIDv2:"L_MODV2_SOIL_EMERSON_001",Units:["none",null]},L_MODV2_SOIL_ENR_001:{Element:"Estimated Nitrogen Release",ModusTestIDv1:"S-ENR.19",ModusTestIDv2:"L_MODV2_SOIL_ENR_001",Units:["lb/ac","kg/ha"]},L_MODV2_SOIL_XACIDT_001:{Element:"Exchangeable Acidity",ModusTestIDv1:"S-AC-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_XACIDT_001",Units:["cmol/kg","meq/100 g"]},L_MODV2_SOIL_XAL_001:{Element:"Exchangeable Aluminum",ModusTestIDv1:"S-EAL-KCL.19",ModusTestIDv2:"L_MODV2_SOIL_XAL_001",Units:["%",null]},L_MODV2_SOIL_XCAP_001:{Element:"Exchangeable Calcium Percentage",ModusTestIDv1:"S-ECAP.19",ModusTestIDv2:"L_MODV2_SOIL_XCAP_001",Units:["%",null]},L_MODV2_SOIL_XH_001:{Element:"Exchangeable Hydrogen",ModusTestIDv1:"S-EH-KCL.12",ModusTestIDv2:"L_MODV2_SOIL_XH_001",Units:["meq/100 g","cmol/kg"]},L_MODV2_SOIL_XHP_001:{Element:"Exchangeable Hydrogen Percentage",ModusTestIDv1:"S-EHP.19",ModusTestIDv2:"L_MODV2_SOIL_XHP_001",Units:["%",null]},L_MODV2_SOIL_XMGP_001:{Element:"Exchangeable Magnesium Percentage",ModusTestIDv1:"S-EMGP.19",ModusTestIDv2:"L_MODV2_SOIL_XMGP_001",Units:["%",null]},L_MODV2_SOIL_XKP_001:{Element:"Exchangeable Potassium Percentage",ModusTestIDv1:"S-EKP.19",ModusTestIDv2:"L_MODV2_SOIL_XKP_001",Units:["%",null]},L_MODV2_SOIL_XNAP_001:{Element:"Exchangeable Sodium Percentage",ModusTestIDv1:"S-ESP.19",ModusTestIDv2:"L_MODV2_SOIL_XNAP_001",Units:["%",null]},L_MODV2_SOIL_F_001:{Element:"Fluoride",ModusTestIDv1:"S-F-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_F_001",Units:["mg/L",null]},L_MODV2_SOIL_GTRI_001:{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_001",Units:["none",null]},L_MODV2_SOIL_GTRI_002:{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-AA.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_002",Units:["none",null]},L_MODV2_SOIL_GTRI_003:{Element:"Grass Tetany Risk Index",ModusTestIDv1:"S-GTRI-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_GTRI_003",Units:["none",null]},L_MODV2_SOIL_GRAVEL_001:{Element:"Gravel",ModusTestIDv1:"S-GRAVEL.19",ModusTestIDv2:"L_MODV2_SOIL_GRAVEL_001",Units:["%",null]},L_MODV2_SOIL_GYPREC_001:{Element:"Gypsum Recommendation",ModusTestIDv1:"S-GYPR.19",ModusTestIDv2:"L_MODV2_SOIL_GYPREC_001",Units:["tons/ac",null]},L_MODV2_SOIL_HEAL_001:{Element:"H+EAlP",ModusTestIDv1:"S-HEAL-SMP.19",ModusTestIDv2:"L_MODV2_SOIL_HEAL_001",Units:["none",null]},L_MODV2_SOIL_HM_001:{Element:"Humic Matter",ModusTestIDv1:"S-HA-FSPA.01",ModusTestIDv2:"L_MODV2_SOIL_HM_001",Units:["%",null]},L_MODV2_SOIL_HM_002:{Element:"Humic Matter",ModusTestIDv1:"S.HM-NaOH",ModusTestIDv2:"L_MODV2_SOIL_HM_002",Units:["%",null]},L_MODV2_SOIL_HAL_001:{Element:"Hydrogen+Aluminum",ModusTestIDv1:"S-H+AL-SMP.02",ModusTestIDv2:"L_MODV2_SOIL_HAL_001",Units:["meq/100 g",null]},L_MODV2_SOIL_OH_001:{Element:"Hydroxide",ModusTestIDv1:"S-OH-SM2320B18.12",ModusTestIDv2:"L_MODV2_SOIL_OH_001",Units:["mg/L",null]},L_MODV2_SOIL_FE_001:{Element:"Iron",ModusTestIDv1:"S-FE-OX.23",ModusTestIDv2:"L_MODV2_SOIL_FE_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_003:{Element:"Iron",ModusTestIDv1:"S-FE-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_004:{Element:"Iron",ModusTestIDv1:"S-FE-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_FE_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_005:{Element:"Iron",ModusTestIDv1:"S-FE-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_FE_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_006:{Element:"Iron",ModusTestIDv1:"S-FE-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_FE_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_007:{Element:"Iron",ModusTestIDv1:"S-FE-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_FE_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_010:{Element:"Iron",ModusTestIDv1:"S-FE-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_FE_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_011:{Element:"Iron",ModusTestIDv1:"S-FE-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_FE_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_012:{Element:"Iron",ModusTestIDv1:"S-FE-RES.04",ModusTestIDv2:"L_MODV2_SOIL_FE_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_013:{Element:"Iron",ModusTestIDv1:"S-FE-M1.05",ModusTestIDv2:"L_MODV2_SOIL_FE_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_014:{Element:"Iron",ModusTestIDv1:"S-FE-M2.05",ModusTestIDv2:"L_MODV2_SOIL_FE_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_015:{Element:"Iron",ModusTestIDv1:"S-FE-M3.05",ModusTestIDv2:"L_MODV2_SOIL_FE_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_017:{Element:"Iron",ModusTestIDv1:"S-FE-NA.04",ModusTestIDv2:"L_MODV2_SOIL_FE_017",Units:["ppm",null]},L_MODV2_SOIL_FE_021:{Element:"Iron",ModusTestIDv1:"S-FE-SP.04",ModusTestIDv2:"L_MODV2_SOIL_FE_021",Units:["mg/L",null]},L_MODV2_SOIL_KBRATIO_001:{Element:"K:B ratio",ModusTestIDv1:"S-K:B.19",ModusTestIDv2:"L_MODV2_SOIL_KBRATIO_001",Units:["none","ppm"]},L_MODV2_SOIL_KBRATIO_002:{Element:"K:B ratio",ModusTestIDv1:"S-K:B-M3.19",ModusTestIDv2:"L_MODV2_SOIL_KBRATIO_002",Units:["none",null]},L_MODV2_SOIL_KMGRATIO_001:{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-PWAA.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_001",Units:["none",null]},L_MODV2_SOIL_KMGRATIO_002:{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-AA.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_002",Units:["none",null]},L_MODV2_SOIL_KMGRATIO_003:{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG-BACL2.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_003",Units:["none",null]},L_MODV2_SOIL_KMGRATIO_004:{Element:"K:Mg ratio",ModusTestIDv1:"S-K:MG.19",ModusTestIDv2:"L_MODV2_SOIL_KMGRATIO_004",Units:["none",null]},L_MODV2_SOIL_KNARATIO_001:{Element:"K:Na ratio",ModusTestIDv1:"S-K:Na-M3.19",ModusTestIDv2:"L_MODV2_SOIL_KNARATIO_001",Units:["none",null]},L_MODV2_SOIL_KNARATIO_002:{Element:"K:Na ratio",ModusTestIDv1:"S-K:Na.19",ModusTestIDv2:"L_MODV2_SOIL_KNARATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_PB_001:{Element:"Lead",ModusTestIDv1:"S-PB-AR.07",ModusTestIDv2:"L_MODV2_SOIL_PB_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_PB_002:{Element:"Lead",ModusTestIDv1:"S-PB-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_PB_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PB_003:{Element:"Lead",ModusTestIDv1:"S-PB-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_PB_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_LINDEX_001:{Element:"Lime Index",ModusTestIDv1:"S-LIME-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_LINDEX_001",Units:["none",null]},L_MODV2_SOIL_LREC_001:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-AEB",ModusTestIDv2:"L_MODV2_SOIL_LREC_001",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_002:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MAEB",ModusTestIDv2:"L_MODV2_SOIL_LREC_002",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_003:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MB",ModusTestIDv2:"L_MODV2_SOIL_LREC_003",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_004:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-MWB",ModusTestIDv2:"L_MODV2_SOIL_LREC_004",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_005:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SIK1",ModusTestIDv2:"L_MODV2_SOIL_LREC_005",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_006:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SIK2",ModusTestIDv2:"L_MODV2_SOIL_LREC_006",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_007:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-SMP",ModusTestIDv2:"L_MODV2_SOIL_LREC_007",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_008:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-TA",ModusTestIDv2:"L_MODV2_SOIL_LREC_008",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LREC_009:{Element:"Lime Recommendation",ModusTestIDv1:"S-LR-WB",ModusTestIDv2:"L_MODV2_SOIL_LREC_009",Units:["tons/ac","kg/ha"]},L_MODV2_SOIL_LI_001:{Element:"Lithium",ModusTestIDv1:"S-LI-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_LI_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_001:{Element:"Magnesium",ModusTestIDv1:"S-MG-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_MG_001",Units:["cmol/kg","%"]},L_MODV2_SOIL_MG_002:{Element:"Magnesium",ModusTestIDv1:"S-MG-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_MG_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_003:{Element:"Magnesium",ModusTestIDv1:"S-MG-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_MG_003",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_MG_004:{Element:"Magnesium",ModusTestIDv1:"S-MG-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_MG_004",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_MG_005:{Element:"Magnesium",ModusTestIDv1:"S-MG-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_MG_005",Units:["cmol/kg","meq/100g"]},L_MODV2_SOIL_MG_007:{Element:"Magnesium",ModusTestIDv1:"S-MG.19",ModusTestIDv2:"L_MODV2_SOIL_MG_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_008:{Element:"Magnesium",ModusTestIDv1:"S-MG-W1:1.05",ModusTestIDv2:"L_MODV2_SOIL_MG_008",Units:["meq/L",null]},L_MODV2_SOIL_MG_009:{Element:"Magnesium",ModusTestIDv1:"S-MG-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_MG_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_010:{Element:"Magnesium",ModusTestIDv1:"S-MG-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_MG_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_011:{Element:"Magnesium",ModusTestIDv1:"S-MG-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_MG_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_012:{Element:"Magnesium",ModusTestIDv1:"S-MG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_MG_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_015:{Element:"Magnesium",ModusTestIDv1:"S-MG-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_MG_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_017:{Element:"Magnesium",ModusTestIDv1:"S-MG-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MG_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_018:{Element:"Magnesium",ModusTestIDv1:"S-MG-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_MG_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_019:{Element:"Magnesium",ModusTestIDv1:"S-MG-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MG_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_020:{Element:"Magnesium",ModusTestIDv1:"S-MG-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MG_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_022:{Element:"Magnesium",ModusTestIDv1:"S-MG-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MG_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_023:{Element:"Magnesium",ModusTestIDv1:"S-MG-MOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_024:{Element:"Magnesium",ModusTestIDv1:"S-MG-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_MG_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_025:{Element:"Magnesium",ModusTestIDv1:"S-MG-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MG_025",Units:["%",null]},L_MODV2_SOIL_MG_027:{Element:"Magnesium",ModusTestIDv1:"S-MG-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MG_027",Units:["mg/m2",null]},L_MODV2_SOIL_MG_028:{Element:"Magnesium",ModusTestIDv1:"S-MG-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MG_028",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_029:{Element:"Magnesium",ModusTestIDv1:"S-MG-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_MG_029",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_030:{Element:"Magnesium",ModusTestIDv1:"S-MG-SP.05",ModusTestIDv2:"L_MODV2_SOIL_MG_030",Units:["meq/L",null]},L_MODV2_SOIL_MG_031:{Element:"Magnesium",ModusTestIDv1:"S-MG-TRG.06",ModusTestIDv2:"L_MODV2_SOIL_MG_031",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MGINDEX_001:{Element:"Magnesium Index",ModusTestIDv1:"S-MG-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_MGINDEX_001",Units:["none",null]},L_MODV2_SOIL_MN_002:{Element:"Manganese",ModusTestIDv1:"S-MN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_003:{Element:"Manganese",ModusTestIDv1:"S-MN-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_MN_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_004:{Element:"Manganese",ModusTestIDv1:"S-MN-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_MN_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_005:{Element:"Manganese",ModusTestIDv1:"S-MN-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_MN_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_009:{Element:"Manganese",ModusTestIDv1:"S-MN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_MN_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_010:{Element:"Manganese",ModusTestIDv1:"S-MN-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MN_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_011:{Element:"Manganese",ModusTestIDv1:"S-MN-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_MN_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_012:{Element:"Manganese",ModusTestIDv1:"S-MN-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MN_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_013:{Element:"Manganese",ModusTestIDv1:"S-MN-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MN_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_015:{Element:"Manganese",ModusTestIDv1:"S-MN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MN_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_018:{Element:"Manganese",ModusTestIDv1:"S-MN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MN_018",Units:["ppm",null]},L_MODV2_SOIL_MN_019:{Element:"Manganese",ModusTestIDv1:"S-MN-PHOS.05",ModusTestIDv2:"L_MODV2_SOIL_MN_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_024:{Element:"Manganese",ModusTestIDv1:"S-MN-SP.04",ModusTestIDv2:"L_MODV2_SOIL_MN_024",Units:["mg/L",null]},L_MODV2_SOIL_MNINDEX_001:{Element:"Manganese Index",ModusTestIDv1:"S-MN-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_MNINDEX_001",Units:["none",null]},L_MODV2_SOIL_HG_001:{Element:"Mercury",ModusTestIDv1:"S-HG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_HG_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MGKRATIO_001:{Element:"Mg:K ratio",ModusTestIDv1:"S-MG:K.19",ModusTestIDv2:"L_MODV2_SOIL_MGKRATIO_001",Units:["none",null]},L_MODV2_SOIL_MNCURATIO_001:{Element:"Mn:Cu ratio",ModusTestIDv1:"S-Mn:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_MNCURATIO_001",Units:["none",null]},L_MODV2_SOIL_MNCURATIO_002:{Element:"Mn:Cu ratio",ModusTestIDv1:"S-Mn:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_MNCURATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_MNZNRATIO_001:{Element:"Mn:Zn ratio",ModusTestIDv1:"S-Mn:Zn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_MNZNRATIO_001",Units:["none",null]},L_MODV2_SOIL_MNZNRATIO_002:{Element:"Mn:Zn ratio",ModusTestIDv1:"S-Mn:Zn.19",ModusTestIDv2:"L_MODV2_SOIL_MNZNRATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_GAWC_001:{Element:"moisture content",ModusTestIDv1:"S-AW.14",ModusTestIDv2:"L_MODV2_SOIL_GAWC_001",Units:["%","in/ft"]},L_MODV2_SOIL_GWC_001:{Element:"moisture content",ModusTestIDv1:"S-MOIST-GRAV.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_001",Units:["%",null]},L_MODV2_SOIL_GWC_002:{Element:"moisture content",ModusTestIDv1:"S-MOIST-SP.00",ModusTestIDv2:"L_MODV2_SOIL_GWC_002",Units:["%",null]},L_MODV2_SOIL_GWC_03BAR_001:{Element:"moisture content",ModusTestIDv1:"S-0.3BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_03BAR_001",Units:["%","in/ft"]},L_MODV2_SOIL_GWC_15BAR_001:{Element:"moisture content",ModusTestIDv1:"S-15BAR.14",ModusTestIDv2:"L_MODV2_SOIL_GWC_15BAR_001",Units:["%","in/ft"]},L_MODV2_SOIL_MO_001:{Element:"Molybdenum",ModusTestIDv1:"S-MO-OA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_002:{Element:"Molybdenum",ModusTestIDv1:"S-MO-OA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_003:{Element:"Molybdenum",ModusTestIDv1:"S-MO-AR.07",ModusTestIDv2:"L_MODV2_SOIL_MO_003",Units:["ug/kg","ppb"]},L_MODV2_SOIL_MO_005:{Element:"Molybdenum",ModusTestIDv1:"S-MO-CACL2.23",ModusTestIDv2:"L_MODV2_SOIL_MO_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_006:{Element:"Molybdenum",ModusTestIDv1:"S-MO-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_MO_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_009:{Element:"Molybdenum",ModusTestIDv1:"S-MO-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MO_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_010:{Element:"Molybdenum",ModusTestIDv1:"S-MO-RES.04",ModusTestIDv2:"L_MODV2_SOIL_MO_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_011:{Element:"Molybdenum",ModusTestIDv1:"S-MO-M1.05",ModusTestIDv2:"L_MODV2_SOIL_MO_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_012:{Element:"Molybdenum",ModusTestIDv1:"S-MO-M2.05",ModusTestIDv2:"L_MODV2_SOIL_MO_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_014:{Element:"Molybdenum",ModusTestIDv1:"S-MO-M3.05",ModusTestIDv2:"L_MODV2_SOIL_MO_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_015:{Element:"Molybdenum",ModusTestIDv1:"S-MO-NA.04",ModusTestIDv2:"L_MODV2_SOIL_MO_015",Units:["ppm",null]},L_MODV2_SOIL_MO_018:{Element:"Molybdenum",ModusTestIDv1:"S-MO-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MO_018",Units:["ug/10cm2",null]},L_MODV2_SOIL_MO_019:{Element:"Molybdenum",ModusTestIDv1:"S-MO-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MO_019",Units:["mg/m2",null]},L_MODV2_SOIL_MO_020:{Element:"Molybdenum",ModusTestIDv1:"S-MO-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_MO_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_021:{Element:"Molybdenum",ModusTestIDv1:"S-MO-SP.04",ModusTestIDv2:"L_MODV2_SOIL_MO_021",Units:["mg/L",null]},L_MODV2_SOIL_MO_022:{Element:"Molybdenum",ModusTestIDv1:"S-MO-HOTH2O.04",ModusTestIDv2:"L_MODV2_SOIL_MO_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NI_001:{Element:"Nickel",ModusTestIDv1:"S-NI-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_NI_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NI_002:{Element:"Nickel",ModusTestIDv1:"S-NI-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_NI_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_001:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-ALSO4B.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_004:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-CTA.01.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_005:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-W1:1.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_005",Units:["meq/L",null]},L_MODV2_SOIL_NO3N_006:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-EPA3000.00",ModusTestIDv2:"L_MODV2_SOIL_NO3N_006",Units:["mg/L",null]},L_MODV2_SOIL_NO3N_007:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-EPA3532.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_007",Units:["mg/kg",null]},L_MODV2_SOIL_NO3N_008:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-H3A1.01.05",ModusTestIDv2:"L_MODV2_SOIL_NO3N_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_009:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-RES.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_010:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_011:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_012:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-1:5.09",ModusTestIDv2:"L_MODV2_SOIL_NO3N_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_013:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-KCL.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_014:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N.2KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_015:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-05KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_016:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-5K2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_017:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3N-SP.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_018:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_018",Units:["meq/L",null]},L_MODV2_SOIL_NO3N_019:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_019",Units:["meq/L",null]},L_MODV2_SOIL_NO3N_020:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-SP.02.02",ModusTestIDv2:"L_MODV2_SOIL_NO3N_020",Units:["meq/L",null]},L_MODV2_SOIL_NO3N_021:{Element:"Nitrate-Nitrogen",ModusTestIDv1:"S-NO3-BIC.01.01",ModusTestIDv2:"L_MODV2_SOIL_NO3N_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO2N_001:{Element:"Nitrite-Nitrogen",ModusTestIDv1:"S-NO2-KCL.01",ModusTestIDv2:"L_MODV2_SOIL_NO2N_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TKN_001:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.01",ModusTestIDv2:"L_MODV2_SOIL_TKN_001",Units:["%",null]},L_MODV2_SOIL_TKN_002:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.01.05",ModusTestIDv2:"L_MODV2_SOIL_TKN_002",Units:["%",null]},L_MODV2_SOIL_TKN_003:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.09",ModusTestIDv2:"L_MODV2_SOIL_TKN_003",Units:["%",null]},L_MODV2_SOIL_TKN_004:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.18",ModusTestIDv2:"L_MODV2_SOIL_TKN_004",Units:["%",null]},L_MODV2_SOIL_TKN_005:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.01.05",ModusTestIDv2:"L_MODV2_SOIL_TKN_005",Units:["%",null]},L_MODV2_SOIL_TKN_006:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.09",ModusTestIDv2:"L_MODV2_SOIL_TKN_006",Units:["%",null]},L_MODV2_SOIL_TKN_007:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.18",ModusTestIDv2:"L_MODV2_SOIL_TKN_007",Units:["%",null]},L_MODV2_SOIL_TN_001:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TKN.19",ModusTestIDv2:"L_MODV2_SOIL_TN_001",Units:["%",null]},L_MODV2_SOIL_TN_002:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN.16",ModusTestIDv2:"L_MODV2_SOIL_TN_002",Units:["%",null]},L_MODV2_SOIL_TN_003:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN-W.01",ModusTestIDv2:"L_MODV2_SOIL_TN_003",Units:[null,null]},L_MODV2_SOIL_TN_004:{Element:'"Nitrogen, Total"',ModusTestIDv1:"S-TN-RES.01",ModusTestIDv2:"L_MODV2_SOIL_TN_004",Units:["lb/ac/day","kg/ha/day"]},L_MODV2_SOIL_TIN_001:{Element:'"Nitrogen, Total Inorganic"',ModusTestIDv1:"S-TIN.19",ModusTestIDv2:"L_MODV2_SOIL_TIN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NULL_001:{Element:"Null",ModusTestIDv1:"S-XX.00",ModusTestIDv2:"L_MODV2_SOIL_NULL_001",Units:["none",null]},L_MODV2_SOIL_OC_001:{Element:"Organic Carbon",ModusTestIDv1:"S-TOC.16",ModusTestIDv2:"L_MODV2_SOIL_OC_001",Units:["%",null]},L_MODV2_SOIL_OC_002:{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.01",ModusTestIDv2:"L_MODV2_SOIL_OC_002",Units:["%",null]},L_MODV2_SOIL_OC_003:{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.01",ModusTestIDv2:"L_MODV2_SOIL_OC_003",Units:["%",null]},L_MODV2_SOIL_OC_004:{Element:"Organic Carbon",ModusTestIDv1:"S-OC-WB.12",ModusTestIDv2:"L_MODV2_SOIL_OC_004",Units:["%",null]},L_MODV2_SOIL_OC_005:{Element:"Organic Carbon",ModusTestIDv1:"S-TOC-W1:10.16",ModusTestIDv2:"L_MODV2_SOIL_OC_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TOC_001:{Element:'"Organic Carbon, Total"',ModusTestIDv1:"S-TOC.12.09",ModusTestIDv2:"L_MODV2_SOIL_TOC_001",Units:["%","g/kg"]},L_MODV2_SOIL_OM_001:{Element:"Organic Matter",ModusTestIDv1:"S-OM.19",ModusTestIDv2:"L_MODV2_SOIL_OM_001",Units:["%",null]},L_MODV2_SOIL_OM_002:{Element:"Organic Matter",ModusTestIDv1:"S-SOM-Color.19",ModusTestIDv2:"L_MODV2_SOIL_OM_002",Units:["%",null]},L_MODV2_SOIL_OM_003:{Element:"Organic Matter",ModusTestIDv1:"S-OM-DUMAS.16",ModusTestIDv2:"L_MODV2_SOIL_OM_003",Units:["%",null]},L_MODV2_SOIL_OM_004:{Element:"Organic Matter",ModusTestIDv1:"S-SOM-LOI.15",ModusTestIDv2:"L_MODV2_SOIL_OM_004",Units:["%",null]},L_MODV2_SOIL_OM_005:{Element:"Organic Matter",ModusTestIDv1:"S-SOM-WB.01.09",ModusTestIDv2:"L_MODV2_SOIL_OM_005",Units:["%",null]},L_MODV2_SOIL_OM_006:{Element:"Organic Matter",ModusTestIDv1:"S-SOM-WB.12.09",ModusTestIDv2:"L_MODV2_SOIL_OM_006",Units:["%",null]},L_MODV2_SOIL_ON_001:{Element:"Organic Nitrogen",ModusTestIDv1:"S-ON.19",ModusTestIDv2:"L_MODV2_SOIL_ON_001",Units:["mg/L",null]},L_MODV2_SOIL_OTHER_001:{Element:"Other",ModusTestIDv1:"S-OTHER.19",ModusTestIDv2:"L_MODV2_SOIL_OTHER_001",Units:["none",null]},L_MODV2_SOIL_PCURATIO_001:{Element:"P:Cu ratio",ModusTestIDv1:"S-P:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PCURATIO_001",Units:["none",null]},L_MODV2_SOIL_PCURATIO_002:{Element:"P:Cu ratio",ModusTestIDv1:"S-P:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_PCURATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_PMNRATIO_001:{Element:"P:Mn ratio",ModusTestIDv1:"S-P:Mn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PMNRATIO_001",Units:["none",null]},L_MODV2_SOIL_PMNRATIO_002:{Element:"P:Mn ratio",ModusTestIDv1:"S-P:Mn.19",ModusTestIDv2:"L_MODV2_SOIL_PMNRATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_PSRATIO_001:{Element:"P:S ratio",ModusTestIDv1:"S-P:S-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PSRATIO_001",Units:["none",null]},L_MODV2_SOIL_PSRATIO_002:{Element:"P:S ratio",ModusTestIDv1:"S-P:S.19",ModusTestIDv2:"L_MODV2_SOIL_PSRATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_PZNRATIO_001:{Element:"P:Zn ratio",ModusTestIDv1:"S-P:Zn-M3.19",ModusTestIDv2:"L_MODV2_SOIL_PZNRATIO_001",Units:["none",null]},L_MODV2_SOIL_PZNRATIO_002:{Element:"P:Zn ratio",ModusTestIDv1:"S-P:Zn.19",ModusTestIDv2:"L_MODV2_SOIL_PZNRATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_MNO4OXC_001:{Element:"permanganate-oxidizable carbon (POXC)",ModusTestIDv1:"S-AC-KMNO4.01",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PH_002:{Element:"pH",ModusTestIDv1:"S-PH-1:1.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_002",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_003:{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_003",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_004:{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_004",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_005:{Element:"pH",ModusTestIDv1:"S-PH-1:1.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_005",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_006:{Element:"pH",ModusTestIDv1:"S-PH-1:2.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_006",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_007:{Element:"pH",ModusTestIDv1:"S-PH-1:2.5.02.07",ModusTestIDv2:"L_MODV2_SOIL_PH_007",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_008:{Element:"pH",ModusTestIDv1:"S-pH-1:5H2O.02",ModusTestIDv2:"L_MODV2_SOIL_PH_008",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_010:{Element:"pH",ModusTestIDv1:"S-PH-1:1KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_010",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_011:{Element:"pH",ModusTestIDv1:"S-PH-1:5.02.08",ModusTestIDv2:"L_MODV2_SOIL_PH_011",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_012:{Element:"pH",ModusTestIDv1:"S-pH-1:5KCL.02",ModusTestIDv2:"L_MODV2_SOIL_PH_012",Units:["standard pH unit",null]},L_MODV2_SOIL_PH_013:{Element:"pH",ModusTestIDv1:"S-PH-SP.02",ModusTestIDv2:"L_MODV2_SOIL_PH_013",Units:["standard pH unit",null]},L_MODV2_SOIL_P_001:{Element:"Phosphorus",ModusTestIDv1:"S-P-AA-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_P_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_003:{Element:"Phosphorus",ModusTestIDv1:"S-P-AR.23",ModusTestIDv2:"L_MODV2_SOIL_P_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_004:{Element:"Phosphorus",ModusTestIDv1:"S-P-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_005:{Element:"Phosphorus",ModusTestIDv1:"S-P-B1-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_006:{Element:"Phosphorus",ModusTestIDv1:"S-P-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_007:{Element:"Phosphorus",ModusTestIDv1:"S-P-B2-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_008:{Element:"Phosphorus",ModusTestIDv1:"S-P-BK.23",ModusTestIDv2:"L_MODV2_SOIL_P_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_009:{Element:"Phosphorus",ModusTestIDv1:"S-P-LACTATE.01",ModusTestIDv2:"L_MODV2_SOIL_P_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_010:{Element:"Phosphorus",ModusTestIDv1:"S-P-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_P_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_011:{Element:"Phosphorus",ModusTestIDv1:"S-P-M3BRAYP1.19",ModusTestIDv2:"L_MODV2_SOIL_P_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_013:{Element:"Phosphorus",ModusTestIDv1:"S-P-CALD.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_014:{Element:"Phosphorus",ModusTestIDv1:"S-P-W1:1.01",ModusTestIDv2:"L_MODV2_SOIL_P_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_015:{Element:"Phosphorus",ModusTestIDv1:"S-P-W1:5.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_016:{Element:"Phosphorus",ModusTestIDv1:"S-P-W10:1.04",ModusTestIDv2:"L_MODV2_SOIL_P_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_017:{Element:"Phosphorus",ModusTestIDv1:"S-P-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_P_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_018:{Element:"Phosphorus",ModusTestIDv1:"S-P-DGT.01",ModusTestIDv2:"L_MODV2_SOIL_P_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_019:{Element:"Phosphorus",ModusTestIDv1:"S-P-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_P_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_020:{Element:"Phosphorus",ModusTestIDv1:"S-P-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_P_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_021:{Element:"Phosphorus",ModusTestIDv1:"S-P-RES.01",ModusTestIDv2:"L_MODV2_SOIL_P_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_022:{Element:"Phosphorus",ModusTestIDv1:"S-P-RES.04",ModusTestIDv2:"L_MODV2_SOIL_P_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_023:{Element:"Phosphorus",ModusTestIDv1:"S-P-KEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_024:{Element:"Phosphorus",ModusTestIDv1:"S-P-MKEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_025:{Element:"Phosphorus",ModusTestIDv1:"S-P-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_P_025",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_026:{Element:"Phosphorus",ModusTestIDv1:"S-P-M1.04",ModusTestIDv2:"L_MODV2_SOIL_P_026",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_027:{Element:"Phosphorus",ModusTestIDv1:"S-P-M1.04",ModusTestIDv2:"L_MODV2_SOIL_P_027",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_029:{Element:"Phosphorus",ModusTestIDv1:"S-P-M2.04",ModusTestIDv2:"L_MODV2_SOIL_P_029",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_032:{Element:"Phosphorus",ModusTestIDv1:"S-P-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_032",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_033:{Element:"Phosphorus",ModusTestIDv1:"S-P-M3.04",ModusTestIDv2:"L_MODV2_SOIL_P_033",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_035:{Element:"Phosphorus",ModusTestIDv1:"S-P-MOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_035",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_036:{Element:"Phosphorus",ModusTestIDv1:"S-P-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_036",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_037:{Element:"Phosphorus",ModusTestIDv1:"S-P-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_037",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_038:{Element:"Phosphorus",ModusTestIDv1:"S-P-NA.04",ModusTestIDv2:"L_MODV2_SOIL_P_038",Units:["%",null]},L_MODV2_SOIL_P_039:{Element:"Phosphorus",ModusTestIDv1:"S-P-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_P_039",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_042:{Element:"Phosphorus",ModusTestIDv1:"S-P-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_P_042",Units:["mg/m2",null]},L_MODV2_SOIL_P_044:{Element:"Phosphorus",ModusTestIDv1:"S-P-SP.04",ModusTestIDv2:"L_MODV2_SOIL_P_044",Units:["mg/L",null]},L_MODV2_SOIL_P_045:{Element:"Phosphorus",ModusTestIDv1:"S-P-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_045",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_046:{Element:"Phosphorus",ModusTestIDv1:"S-P-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_P_046",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_047:{Element:"Phosphorus",ModusTestIDv1:"S-P-TRG.01.03",ModusTestIDv2:"L_MODV2_SOIL_P_047",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PBUFINDEX_001:{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PBUFINDEX_002:{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-BIC.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PBUFINDEX_003:{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-COL.19",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PBUFINDEX_004:{Element:"Phosphorus Buffer Index",ModusTestIDv1:"S-PBI-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_PBUFINDEX_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PERINDEX_001:{Element:"Phosphorus Environmental Risk Index",ModusTestIDv1:"S-PERI.19",ModusTestIDv2:"L_MODV2_SOIL_PERINDEX_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PFF_001:{Element:"Phosphorus Fixation Factor",ModusTestIDv1:"S-PFF-M3.04",ModusTestIDv2:"L_MODV2_SOIL_PFF_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PINDEX_001:{Element:"Potassium Index",ModusTestIDv1:"S-K-INDX.19",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_001",Units:["none",null]},L_MODV2_SOIL_PINDEX_002:{Element:"Potassium Index",ModusTestIDv1:"S-K-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_002",Units:["none",null]},L_MODV2_SOIL_PINDEX_003:{Element:"Phosphorus Index",ModusTestIDv1:"S-P-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_PINDEX_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PRATIO_001:{Element:"Phosphorus Ratio",ModusTestIDv1:"S-PR-M3.23",ModusTestIDv2:"L_MODV2_SOIL_PRATIO_001",Units:["none",null]},L_MODV2_SOIL_PRI_001:{Element:"Phosphorus Retention Index",ModusTestIDv1:"S-PRI-KCL.01",ModusTestIDv2:"L_MODV2_SOIL_PRI_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PSINDEX_001:{Element:"Phosphorus Saturation Index",ModusTestIDv1:"S-PSI.M3.19",ModusTestIDv2:"L_MODV2_SOIL_PSINDEX_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PSINDEX_002:{Element:"Phosphorus Saturation Index",ModusTestIDv1:"S-PSI.M3O.19",ModusTestIDv2:"L_MODV2_SOIL_PSINDEX_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TP_001:{Element:'"phosphorus, total\xA0"',ModusTestIDv1:"S-TP-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_TP_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TP_002:{Element:'"phosphorus, total\xA0"',ModusTestIDv1:"S-TP-NA.04",ModusTestIDv2:"L_MODV2_SOIL_TP_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_001:{Element:"Potassium",ModusTestIDv1:"S-K-PWAA.23",ModusTestIDv2:"L_MODV2_SOIL_K_001",Units:["cmol/kg","%"]},L_MODV2_SOIL_K_004:{Element:"Potassium",ModusTestIDv1:"S-K-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_K_004",Units:["meq/100 g",null]},L_MODV2_SOIL_K_005:{Element:"Potassium",ModusTestIDv1:"S-K-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_K_005",Units:["meq/100 g",null]},L_MODV2_SOIL_K_006:{Element:"Potassium",ModusTestIDv1:"S-K-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_K_006",Units:["cmol/kg","%"]},L_MODV2_SOIL_K_017:{Element:"Potassium",ModusTestIDv1:"S-K-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_019:{Element:"Potassium",ModusTestIDv1:"S-K-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_K_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_020:{Element:"Potassium",ModusTestIDv1:"S-K-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_K_020",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_021:{Element:"Potassium",ModusTestIDv1:"S-K-HCL.23",ModusTestIDv2:"L_MODV2_SOIL_K_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_023:{Element:"Potassium",ModusTestIDv1:"S-K-RES.04",ModusTestIDv2:"L_MODV2_SOIL_K_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_027:{Element:"Potassium",ModusTestIDv1:"S-K-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_K_027",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_028:{Element:"Potassium",ModusTestIDv1:"S-K-M3.20",ModusTestIDv2:"L_MODV2_SOIL_K_028",Units:["ppm",null]},L_MODV2_SOIL_K_035:{Element:"Potassium",ModusTestIDv1:"S-K-HNO3.07",ModusTestIDv2:"L_MODV2_SOIL_K_035",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_036:{Element:"Potassium",ModusTestIDv1:"S-K-HNO3.23",ModusTestIDv2:"L_MODV2_SOIL_K_036",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_037:{Element:"Potassium",ModusTestIDv1:"S-K-NA.04",ModusTestIDv2:"L_MODV2_SOIL_K_037",Units:["%",null]},L_MODV2_SOIL_K_038:{Element:"Potassium",ModusTestIDv1:"S-K-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_K_038",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_039:{Element:"Potassium",ModusTestIDv1:"S-K-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_K_039",Units:["mg/m2",null]},L_MODV2_SOIL_K_042:{Element:"Potassium",ModusTestIDv1:"S-K-SP.05",ModusTestIDv2:"L_MODV2_SOIL_K_042",Units:["meq/L",null]},L_MODV2_SOIL_K_047:{Element:"Potassium",ModusTestIDv1:"S-K-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_047",Units:["mg/kg",null]},L_MODV2_SOIL_K_048:{Element:"Potassium",ModusTestIDv1:"S-K.19",ModusTestIDv2:"L_MODV2_SOIL_K_048",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_050:{Element:"potassium\xA0",ModusTestIDv1:"S-K-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_K_050",Units:["mg/kg","ppm"]},L_MODV2_SOIL_KFF_001:{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.04",ModusTestIDv2:"L_MODV2_SOIL_KFF_001",Units:["%",null]},L_MODV2_SOIL_TK_002:{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TKP.01",ModusTestIDv2:"L_MODV2_SOIL_TK_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_POTMN_001:{Element:"potentially mineralizable nitrogen (PMN)",ModusTestIDv2:"L_MODV2_SOIL_POTMN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_POTOXC_001:{Element:"Potential Oxidizable Carbon",ModusTestIDv1:"S-POXC.01.0",ModusTestIDv2:"L_MODV2_SOIL_POTOXC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_RZM_001:{Element:"Rootzone Moisture",ModusTestIDv1:"S-RZM.00",ModusTestIDv2:"L_MODV2_SOIL_RZM_001",Units:["%",null]},L_MODV2_SOIL_SAND_001:{Element:"Sand",ModusTestIDv1:"S-SAND-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SAND_001",Units:["%",null]},L_MODV2_SOIL_SAND_002:{Element:"Sand",ModusTestIDv1:"S-SAND.22",ModusTestIDv2:"L_MODV2_SOIL_SAND_002",Units:["%",null]},L_MODV2_SOIL_SAND_003:{Element:"Sand",ModusTestIDv1:"S-SAND-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SAND_003",Units:["%",null]},L_MODV2_SOIL_SAND_004:{Element:"Sand",ModusTestIDv1:"S-SAND-SED.11",ModusTestIDv2:"L_MODV2_SOIL_SAND_004",Units:["%",null]},L_MODV2_SOIL_SANDC_001:{Element:"sand - coarse",ModusTestIDv1:"S-SANDC.BAL.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_001",Units:["%",null]},L_MODV2_SOIL_SANDC_002:{Element:"sand - coarse",ModusTestIDv1:"S-SANDC.HYDRO.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_002",Units:["%",null]},L_MODV2_SOIL_SANDC_003:{Element:"sand - coarse",ModusTestIDv1:"S-SANDC-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SANDC_003",Units:["%",null]},L_MODV2_SOIL_SANDF_001:{Element:"sand - fine",ModusTestIDv1:"S-SANDF.DAL.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_001",Units:["%",null]},L_MODV2_SOIL_SANDF_002:{Element:"sand - fine",ModusTestIDv1:"S-SANDF-HYDRO.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_002",Units:["%",null]},L_MODV2_SOIL_SANDF_003:{Element:"sand - fine",ModusTestIDv1:"S-SANDF-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SANDF_003",Units:["%",null]},L_MODV2_SOIL_SS:{Element:"Saturation Paste %",ModusTestIDv1:"S-SP%.19",ModusTestIDv2:"L_MODV2_SOIL_SS",Units:["%",null]},L_MODV2_SOIL_SE_001:{Element:"Selenium",ModusTestIDv1:"S-SE-AR.07",ModusTestIDv2:"L_MODV2_SOIL_SE_001",Units:["ug/kg","ppb"]},L_MODV2_SOIL_SE_003:{Element:"Selenium",ModusTestIDv1:"S-SE-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SE_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SI_001:{Element:"Silicon",ModusTestIDv1:"S-SI-AA.04",ModusTestIDv2:"L_MODV2_SOIL_SI_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SI_003:{Element:"Silicon",ModusTestIDv1:"S-SI-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_SI_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SI_004:{Element:"Silicon",ModusTestIDv1:"S-SI-KCL.04",ModusTestIDv2:"L_MODV2_SOIL_SI_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SI_005:{Element:"Silicon",ModusTestIDv1:"S-SI-SP.04",ModusTestIDv2:"L_MODV2_SOIL_SI_005",Units:["mg/L",null]},L_MODV2_SOIL_SI_006:{Element:"Silicon",ModusTestIDv1:"S-SI-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_SI_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SILT_001:{Element:"Silt",ModusTestIDv1:"S-SILT-SV.19",ModusTestIDv2:"L_MODV2_SOIL_SILT_001",Units:["%",null]},L_MODV2_SOIL_SILT_002:{Element:"Silt",ModusTestIDv1:"S-SILT.22",ModusTestIDv2:"L_MODV2_SOIL_SILT_002",Units:["%",null]},L_MODV2_SOIL_SILT_003:{Element:"Silt",ModusTestIDv1:"S-SILT-SED.10",ModusTestIDv2:"L_MODV2_SOIL_SILT_003",Units:["%",null]},L_MODV2_SOIL_SILT_004:{Element:"Silt",ModusTestIDv1:"S-SILT-SED.11,S-SILT-ST-OT",ModusTestIDv2:"L_MODV2_SOIL_SILT_004",Units:["%",null]},L_MODV2_SOIL_SILTCLAY_001:{Element:"Silt+Clay",ModusTestIDv1:"S-SI+C-SV",ModusTestIDv2:"L_MODV2_SOIL_SILTCLAY_001",Units:["%",null]},L_MODV2_SOIL_AG_001:{Element:"Silver",ModusTestIDv1:"S-AG-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_AG_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SLAKING_001:{Element:"Slaking",ModusTestIDv1:"S-Slaking.24",ModusTestIDv2:"L_MODV2_SOIL_SLAKING_001",Units:["none",null]},L_MODV2_SOIL_NA_001:{Element:"Sodium",ModusTestIDv1:"S-NA-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_NA_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_002:{Element:"Sodium",ModusTestIDv1:"S-NA-NH4CL.23",ModusTestIDv2:"L_MODV2_SOIL_NA_002",Units:["meq/100 g",null]},L_MODV2_SOIL_NA_003:{Element:"Sodium",ModusTestIDv1:"S-NA-PNA4CL.23",ModusTestIDv2:"L_MODV2_SOIL_NA_003",Units:["meq/100 g",null]},L_MODV2_SOIL_NA_004:{Element:"Sodium",ModusTestIDv1:"S-NA-BACL2.23",ModusTestIDv2:"L_MODV2_SOIL_NA_004",Units:["cmol/kg","%"]},L_MODV2_SOIL_NA_006:{Element:"Sodium",ModusTestIDv1:"S-NA-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_NA_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_008:{Element:"Sodium",ModusTestIDv1:"S-NA-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_NA_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_009:{Element:"Sodium",ModusTestIDv1:"S-NA-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_NA_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_010:{Element:"Sodium",ModusTestIDv1:"S-NA-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_NA_010",Units:["lb/ac","ppm"]},L_MODV2_SOIL_NA_011:{Element:"Sodium",ModusTestIDv1:"S-NA-M1.05",ModusTestIDv2:"L_MODV2_SOIL_NA_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_012:{Element:"Sodium",ModusTestIDv1:"S-NA-M2.05",ModusTestIDv2:"L_MODV2_SOIL_NA_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_013:{Element:"Sodium",ModusTestIDv1:"S-NA-M3.05",ModusTestIDv2:"L_MODV2_SOIL_NA_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_015:{Element:"Sodium",ModusTestIDv1:"S-NA-NA.04",ModusTestIDv2:"L_MODV2_SOIL_NA_015",Units:["%",null]},L_MODV2_SOIL_NA_016:{Element:"Sodium",ModusTestIDv1:"S-NA-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_NA_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_017:{Element:"Sodium",ModusTestIDv1:"S-NA-KCL-01.05",ModusTestIDv2:"L_MODV2_SOIL_NA_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_018:{Element:"Sodium",ModusTestIDv1:"S-NA-RES.04",ModusTestIDv2:"L_MODV2_SOIL_NA_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_019:{Element:"Sodium",ModusTestIDv1:"S-NA-SP.05",ModusTestIDv2:"L_MODV2_SOIL_NA_019",Units:["meq/L",null]},L_MODV2_SOIL_NA_020:{Element:"Sodium",ModusTestIDv1:"S-NA-W:1:1.05",ModusTestIDv2:"L_MODV2_SOIL_NA_020",Units:["meq/L",null]},L_MODV2_SOIL_NA_021:{Element:"Sodium",ModusTestIDv1:"S-NA-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_NA_021",Units:["mg/kg",null]},L_MODV2_SOIL_NA_022:{Element:"Sodium",ModusTestIDv1:"S-NA-W5:1.12",ModusTestIDv2:"L_MODV2_SOIL_NA_022",Units:["mg/kg",null]},L_MODV2_SOIL_NA_023:{Element:"Sodium",ModusTestIDv1:"S-NA-W5:1.23",ModusTestIDv2:"L_MODV2_SOIL_NA_023",Units:["mg/kg","mg/L"]},L_MODV2_SOIL_NA_024:{Element:"Sodium",ModusTestIDv1:"S-NA.19",ModusTestIDv2:"L_MODV2_SOIL_NA_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SAR_001:{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-AA.19",ModusTestIDv2:"L_MODV2_SOIL_SAR_001",Units:["ratio",null]},L_MODV2_SOIL_SAR_002:{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-W5:1.19",ModusTestIDv2:"L_MODV2_SOIL_SAR_002",Units:["none",null]},L_MODV2_SOIL_SAR_003:{Element:"Sodium Adsorption Ratio",ModusTestIDv1:"S-SAR-SP.00",ModusTestIDv2:"L_MODV2_SOIL_SAR_003",Units:["Ratio",null]},L_MODV2_SOIL_SOLIDS_001:{Element:'"solids, total"',ModusTestIDv1:"S-SOLIDS.19",ModusTestIDv2:"L_MODV2_SOIL_SOLIDS_001",Units:["%",null]},L_MODV2_SOIL_SS_001:{Element:"Soluble Salts",ModusTestIDv1:"S-SS.19",ModusTestIDv2:"L_MODV2_SOIL_SS_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SSINDEX_001:{Element:"Soluble Salts Index",ModusTestIDv1:"S-SS-NCINDX.19",ModusTestIDv2:"L_MODV2_SOIL_SSINDEX_001",Units:["none",null]},L_MODV2_SOIL_SR_001:{Element:"Strontium",ModusTestIDv1:"S-SR-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SR_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SO4S_001:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-1:5.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SO4S_003:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-S-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_SO4S_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SO4S_004:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-W1:1.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_004",Units:["meq/L",null]},L_MODV2_SOIL_SO4S_005:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-EPA300.04",ModusTestIDv2:"L_MODV2_SOIL_SO4S_005",Units:["mg/L",null]},L_MODV2_SOIL_SO4S_006:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-SP.08",ModusTestIDv2:"L_MODV2_SOIL_SO4S_006",Units:["meq/L",null]},L_MODV2_SOIL_SO4S_007:{Element:"Sulfate-Sulfur",ModusTestIDv1:"S-SO4-SP.13",ModusTestIDv2:"L_MODV2_SOIL_SO4S_007",Units:["meq/L",null]},L_MODV2_SOIL_S_001:{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_S_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_002:{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.05",ModusTestIDv2:"L_MODV2_SOIL_S_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_003:{Element:"Sulfur",ModusTestIDv1:"S-S-NH4AC.23",ModusTestIDv2:"L_MODV2_SOIL_S_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_004:{Element:"Sulfur",ModusTestIDv1:"S-S-CACL.05",ModusTestIDv2:"L_MODV2_SOIL_S_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_005:{Element:"Sulfur",ModusTestIDv1:"S-SO4-CaCl.04.08",ModusTestIDv2:"L_MODV2_SOIL_S_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_007:{Element:"Sulfur",ModusTestIDv1:"S-SO4-1:5.05",ModusTestIDv2:"L_MODV2_SOIL_S_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_009:{Element:"Sulfur",ModusTestIDv1:"S-S.16",ModusTestIDv2:"L_MODV2_SOIL_S_009",Units:["%",null]},L_MODV2_SOIL_S_010:{Element:"Sulfur",ModusTestIDv1:"S-SO4-1:5H2O.23",ModusTestIDv2:"L_MODV2_SOIL_S_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_011:{Element:"Sulfur",ModusTestIDv1:"S-SO4-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_011",Units:["meq/L",null]},L_MODV2_SOIL_S_012:{Element:"Sulfur",ModusTestIDv1:"S-S-W1:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_013:{Element:"Sulfur",ModusTestIDv1:"S-S-W20:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_014:{Element:"Sulfur",ModusTestIDv1:"S-S-W5:1.04",ModusTestIDv2:"L_MODV2_SOIL_S_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_015:{Element:"Sulfur",ModusTestIDv1:"S-S-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_S_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_016:{Element:"Sulfur",ModusTestIDv1:"S-S-EPA6010B.00",ModusTestIDv2:"L_MODV2_SOIL_S_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_017:{Element:"Sulfur",ModusTestIDv1:"S-S-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_S_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_020:{Element:"Sulfur",ModusTestIDv1:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_020",Units:["kg/ha","lb/ac"]},L_MODV2_SOIL_S_021:{Element:"Sulfur",ModusTestIDv1:"S-S-H3A.04",ModusTestIDv2:"L_MODV2_SOIL_S_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_022:{Element:"Sulfur",ModusTestIDv1:"S-SO4-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_023:{Element:"Sulfur",ModusTestIDv1:"S-SO4-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_024:{Element:"Sulfur",ModusTestIDv1:"S-S-RES.04",ModusTestIDv2:"L_MODV2_SOIL_S_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_025:{Element:"Sulfur",ModusTestIDv1:"S-S-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_S_025",Units:["kg/ha","lb/ac"]},L_MODV2_SOIL_S_026:{Element:"Sulfur",ModusTestIDv1:"S-S-M3.05",ModusTestIDv2:"L_MODV2_SOIL_S_026",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_028:{Element:"Sulfur",ModusTestIDv1:"S-S-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_S_028",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_029:{Element:"Sulfur",ModusTestIDv1:"S-S-MMOR.05",ModusTestIDv2:"L_MODV2_SOIL_S_029",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_030:{Element:"Sulfur",ModusTestIDv1:"S-S-NA.04",ModusTestIDv2:"L_MODV2_SOIL_S_030",Units:["%",null]},L_MODV2_SOIL_S_031:{Element:"Sulfur",ModusTestIDv1:"S-SO4-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_S_031",Units:["mg/m2",null]},L_MODV2_SOIL_S_034:{Element:"Sulfur",ModusTestIDv1:"S-S-0.25MKCL.23",ModusTestIDv2:"L_MODV2_SOIL_S_034",Units:["kg/ha","lb/ac"]},L_MODV2_SOIL_S_035:{Element:"Sulfur",ModusTestIDv1:"S-S-KCL.05",ModusTestIDv2:"L_MODV2_SOIL_S_035",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_036:{Element:"Sulfur",ModusTestIDv1:"S-SO4-SP.04",ModusTestIDv2:"L_MODV2_SOIL_S_036",Units:["meq/L",null]},L_MODV2_SOIL_SINDEX_001:{Element:"Sulfur Index",ModusTestIDv1:"S-S-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_SINDEX_001",Units:["none",null]},L_MODV2_SOIL_TEXTURE_001:{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.19",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_001",Units:["Texture Classification",null]},L_MODV2_SOIL_TEXTURE_002:{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.01",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_002",Units:["none",null]},L_MODV2_SOIL_TEXTURE_003:{Element:"Textural Classification",ModusTestIDv1:"S-TEXTURE.22",ModusTestIDv2:"L_MODV2_SOIL_TEXTURE_003",Units:["Texture Classification",null]},L_MODV2_SOIL_SN_001:{Element:"Tin",ModusTestIDv1:"S-SN-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_SN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TITACIDT_001:{Element:"Titratable Acidity",ModusTestIDv1:"S-H-MEAS.12",ModusTestIDv2:"L_MODV2_SOIL_TITACIDT_001",Units:["cmol/kg","meq/100 g"]},L_MODV2_SOIL_TCTN_001:{Element:"Total Carbon:Total Nitrogen",ModusTestIDv1:"S-TC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TCTN_001",Units:["none",null]},L_MODV2_SOIL_TOCTN_001:{Element:"Total Organic Carbon: Total Nitrogen",ModusTestIDv1:"S-TOC:TN.19",ModusTestIDv2:"L_MODV2_SOIL_TOCTN_001",Units:["none",null]},L_MODV2_SOIL_UNKNOWN_001:{Element:"Unknown",ModusTestIDv1:"S-UNKNOWN.00",ModusTestIDv2:"L_MODV2_SOIL_UNKNOWN_001",Units:["none",null]},L_MODV2_SOIL_UREA_001:{Element:"Urea",ModusTestIDv1:"S-UREA-NH4.01",ModusTestIDv2:"L_MODV2_SOIL_UREA_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_WSC_001:{Element:"water soluble carbon",ModusTestIDv1:"S-SARJ-SP.00",ModusTestIDv2:"L_MODV2_SOIL_WSC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_002:{Element:"Zinc",ModusTestIDv1:"S-ZN-DTPA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_003:{Element:"Zinc",ModusTestIDv1:"S-ZN-DTPA-SORB.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_004:{Element:"Zinc",ModusTestIDv1:"S-ZN-EDTA.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_005:{Element:"Zinc",ModusTestIDv1:"S-ZN-EPA3050.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_008:{Element:"Zinc",ModusTestIDv1:"S-ZN-H3A1.01.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_009:{Element:"Zinc",ModusTestIDv1:"S-ZN-HCL.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_010:{Element:"Zinc",ModusTestIDv1:"S-ZN-RES.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_011:{Element:"Zinc",ModusTestIDv1:"S-ZN-LANC.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_012:{Element:"Zinc",ModusTestIDv1:"S-ZN-M1.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_013:{Element:"Zinc",ModusTestIDv1:"S-ZN-M2.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_014:{Element:"Zinc",ModusTestIDv1:"S-ZN-M3DTPA.19",ModusTestIDv2:"L_MODV2_SOIL_ZN_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_015:{Element:"Zinc",ModusTestIDv1:"S-ZN-M3.05",ModusTestIDv2:"L_MODV2_SOIL_ZN_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_019:{Element:"Zinc",ModusTestIDv1:"S-ZN-NA.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_019",Units:["ppm",null]},L_MODV2_SOIL_ZN_020:{Element:"Zinc",ModusTestIDv1:"S-ZN-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_020",Units:["ug/10cm2",null]},L_MODV2_SOIL_ZN_021:{Element:"Zinc",ModusTestIDv1:"S-ZN-PRS.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_021",Units:["mg/m2",null]},L_MODV2_SOIL_ZN_024:{Element:"Zinc",ModusTestIDv1:"S-ZN-SP.04",ModusTestIDv2:"L_MODV2_SOIL_ZN_024",Units:["mg/L",null]},L_MODV2_SOIL_ZINDEX_001:{Element:"Zinc index",ModusTestIDv1:"S-ZN-NCINDX",ModusTestIDv2:"L_MODV2_SOIL_ZINDEX_001",Units:["none",null]},L_MODV2_SOIL_ZNCURATIO_001:{Element:"Zn:Cu ratio",ModusTestIDv1:"S-Zn:Cu-M3.19",ModusTestIDv2:"L_MODV2_SOIL_ZNCURATIO_001",Units:["none",null]},L_MODV2_SOIL_ZNCURATIO_002:{Element:"Zn:Cu ratio",ModusTestIDv1:"S-Zn:Cu.19",ModusTestIDv2:"L_MODV2_SOIL_ZNCURATIO_002",Units:["none","ppm"]},L_MODV2_SOIL_ACEN_001:{Element:"ACE nitrogen (soil protein index)",ModusTestIDv1:"S-SP-ACE-OT",ModusTestIDv2:"L_MODV2_SOIL_ACEN_001",Units:["g/kg",null]},L_MODV2_SOIL_ACIDT_001:{Element:"Acidity",ModusTestIDv2:"L_MODV2_SOIL_ACIDT_001",Units:["meq/cmol",null]},L_MODV2_SOIL_ASTAB_00:{Element:"Aggregate Stability",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_00",Units:["%",null]},L_MODV2_SOIL_ASTAB_001:{Element:"Aggregate Stability",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_001",Units:["%",null]},L_MODV2_SOIL_ASTAB_002:{Element:"Aggregate Stability",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_002",Units:["%",null]},L_MODV2_SOIL_ASTAB_003:{Element:"Aggregate Stability",ModusTestIDv2:"L_MODV2_SOIL_ASTAB_003",Units:["%",null]},L_MODV2_SOIL_AL_007:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_008:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_009:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_013:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_013",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_AL_015:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_015",Units:["mg/m2",null]},L_MODV2_SOIL_AL_016:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_016",Units:["mg/m2",null]},L_MODV2_SOIL_AL_017:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_017",Units:["mg/m2",null]},L_MODV2_SOIL_AL_019:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_021:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_021",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AL_023:{Element:"Aluminum",ModusTestIDv2:"L_MODV2_SOIL_AL_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NH4_001:{Element:"ammonium",ModusTestIDv2:"L_MODV2_SOIL_NH4_001",Units:["mg/m2",null]},L_MODV2_SOIL_NH4_002:{Element:"ammonium",ModusTestIDv2:"L_MODV2_SOIL_NH4_002",Units:["mg/m2",null]},L_MODV2_SOIL_NH4_003:{Element:"ammonium",ModusTestIDv2:"L_MODV2_SOIL_NH4_003",Units:["mg/m2",null]},L_MODV2_SOIL_NH4N_001:{Element:"Ammonium-Nitrogen",ModusTestIDv2:"L_MODV2_SOIL_NH4N_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AS_004:{Element:"Arsenic",ModusTestIDv2:"L_MODV2_SOIL_AS_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_AS_005:{Element:"Arsenic",ModusTestIDv2:"L_MODV2_SOIL_AS_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ARYLS_001:{Element:"arylsulfatase",ModusTestIDv2:"L_MODV2_SOIL_ARYLS_001",Units:["nmol/h/mg",null]},L_MODV2_SOIL_AWHC_001:{Element:"available water holding capacity",ModusTestIDv2:"L_MODV2_SOIL_AWHC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BA_002:{Element:"Barium",ModusTestIDv2:"L_MODV2_SOIL_BA_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BA_003:{Element:"Barium",ModusTestIDv2:"L_MODV2_SOIL_BA_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BA_004:{Element:"Barium",ModusTestIDv2:"L_MODV2_SOIL_BA_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CABS_001:{Element:"Base Saturation - Ca",ModusTestIDv1:"S-BS-CA.19",ModusTestIDv2:"L_MODV2_SOIL_CABS_001",Units:["%",null]},L_MODV2_SOIL_BGLUCO_001:{Element:"beta-glucosidase",ModusTestIDv2:"L_MODV2_SOIL_BGLUCO_001",Units:["U/mg",null]},L_MODV2_SOIL_HCO3_002:{Element:"Bicarbonate",ModusTestIDv1:"S-HCO3-SP.12",ModusTestIDv2:"L_MODV2_SOIL_HCO3_002",Units:["meq/L",null]},L_MODV2_SOIL_HCO3_003:{Element:"Bicarbonate",ModusTestIDv2:"L_MODV2_SOIL_HCO3_003",Units:["meq/L",null]},L_MODV2_SOIL_B_002:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_013:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_014:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_B_018:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_018",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_B_020:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_020",Units:["mg/m2",null]},L_MODV2_SOIL_B_021:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_021",Units:["mg/m2",null]},L_MODV2_SOIL_B_022:{Element:"Boron",ModusTestIDv2:"L_MODV2_SOIL_B_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_BPH_005:{Element:"Buffer pH",ModusTestIDv2:"L_MODV2_SOIL_BPH_005",Units:["standard pH unit",null]},L_MODV2_SOIL_BPH_006:{Element:"Buffer pH",ModusTestIDv2:"L_MODV2_SOIL_BPH_006",Units:["standard pH unit",null]},L_MODV2_SOIL_CNRATIO_001:{Element:"C:N Ratio",ModusTestIDv2:"L_MODV2_SOIL_CNRATIO_001",Units:["Ratio",null]},L_MODV2_SOIL_CD_003:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CD_004:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CD_006:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_006",Units:["mg/m2",null]},L_MODV2_SOIL_CD_007:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_007",Units:["mg/m2",null]},L_MODV2_SOIL_CD_008:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_008",Units:["mg/m2",null]},L_MODV2_SOIL_CD_009:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CD_010:{Element:"Cadmium",ModusTestIDv2:"L_MODV2_SOIL_CD_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_004:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_015:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CA_022:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_022",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_CA_028:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_028",Units:["mg/m2",null]},L_MODV2_SOIL_CA_029:{Element:"Calcium",ModusTestIDv2:"L_MODV2_SOIL_CA_029",Units:["mg/m2",null]},L_MODV2_SOIL_CO3_005:{Element:"Carbonate",ModusTestIDv2:"L_MODV2_SOIL_CO3_005",Units:["meq/L",null]},L_MODV2_SOIL_CEC_004:{Element:"Cation Exchange Capacity",ModusTestIDv2:"L_MODV2_SOIL_CEC_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CL_001:{Element:"Chloride",ModusTestIDv2:"L_MODV2_SOIL_CL_001",Units:["meq/L",null]},L_MODV2_SOIL_CL_002:{Element:"Chloride",ModusTestIDv2:"L_MODV2_SOIL_CL_002",Units:["meq/L",null]},L_MODV2_SOIL_CL_003:{Element:"Chloride",ModusTestIDv2:"L_MODV2_SOIL_CL_003",Units:["meq/L",null]},L_MODV2_SOIL_CR_003:{Element:"Chromium",ModusTestIDv2:"L_MODV2_SOIL_CR_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CR_004:{Element:"Chromium",ModusTestIDv2:"L_MODV2_SOIL_CR_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CR_006:{Element:"Chromium",ModusTestIDv2:"L_MODV2_SOIL_CR_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_002:{Element:"Cobalt",ModusTestIDv2:"L_MODV2_SOIL_CO_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_007:{Element:"Cobalt",ModusTestIDv2:"L_MODV2_SOIL_CO_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_008:{Element:"Cobalt",ModusTestIDv2:"L_MODV2_SOIL_CO_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CO_009:{Element:"Cobalt",ModusTestIDv2:"L_MODV2_SOIL_CO_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_001:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_006:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_007:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_015:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_015",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_CU_016:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_017:{Element:"Copper",ModusTestIDv1:"S-Cu-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_CU_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_CU_019:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_019",Units:["mg/m2",null]},L_MODV2_SOIL_CU_020:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_020",Units:["mg/m2",null]},L_MODV2_SOIL_CU_021:{Element:"Copper",ModusTestIDv2:"L_MODV2_SOIL_CU_021",Units:["mg/m2",null]},L_MODV2_SOIL_DON_001:{Element:"dissolved organic nitrogen (DON)",ModusTestIDv2:"L_MODV2_SOIL_DON_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_GENOM_001:{Element:"genomics",ModusTestIDv2:"L_MODV2_SOIL_GENOM_001",Units:[null,null]},L_MODV2_SOIL_FE_002:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_008:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_009:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_FE_016:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_016",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_FE_018:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_018",Units:["mg/m2",null]},L_MODV2_SOIL_FE_019:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_019",Units:["mg/m2",null]},L_MODV2_SOIL_FE_020:{Element:"Iron",ModusTestIDv2:"L_MODV2_SOIL_FE_020",Units:["mg/m2",null]},L_MODV2_SOIL_PB_004:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PB_005:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PB_006:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_006",Units:["mg/m2",null]},L_MODV2_SOIL_PB_007:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_007",Units:["mg/m2",null]},L_MODV2_SOIL_PB_008:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_008",Units:["mg/m2",null]},L_MODV2_SOIL_PB_009:{Element:"Lead",ModusTestIDv2:"L_MODV2_SOIL_PB_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_006:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_013:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_014:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_016:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MG_021:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_021",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_MG_026:{Element:"Magnesium",ModusTestIDv2:"L_MODV2_SOIL_MG_026",Units:["mg/m2",null]},L_MODV2_SOIL_MN_001:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_006:{Element:"Manganese",ModusTestIDv1:"S-MN-EPA3050.05",ModusTestIDv2:"L_MODV2_SOIL_MN_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_007:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_008:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_014:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_014",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_MN_016:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_017:{Element:"Manganese",ModusTestIDv1:"S-Mn-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_MN_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MN_020:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_020",Units:["mg/m2",null]},L_MODV2_SOIL_MN_021:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_021",Units:["mg/m2",null]},L_MODV2_SOIL_MN_022:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_022",Units:["mg/m2",null]},L_MODV2_SOIL_MN_023:{Element:"Manganese",ModusTestIDv2:"L_MODV2_SOIL_MN_023",Units:["mg/kg","ppm"]},L_MODV2_SOIL_HG_002:{Element:"Mercury",ModusTestIDv2:"L_MODV2_SOIL_HG_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_HG_003:{Element:"Mercury",ModusTestIDv2:"L_MODV2_SOIL_HG_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_004:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_007:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_008:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_MO_013:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_013",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_MO_016:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_016",Units:["mg/m2",null]},L_MODV2_SOIL_MO_017:{Element:"Molybdenum",ModusTestIDv2:"L_MODV2_SOIL_MO_017",Units:["mg/m2",null]},L_MODV2_SOIL_NI_003:{Element:"Nickel",ModusTestIDv2:"L_MODV2_SOIL_NI_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NI_004:{Element:"Nickel",ModusTestIDv2:"L_MODV2_SOIL_NI_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NI_005:{Element:"Nickel",ModusTestIDv2:"L_MODV2_SOIL_NI_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3_001:{Element:"nitrate",ModusTestIDv2:"L_MODV2_SOIL_NO3_001",Units:["mg/m2",null]},L_MODV2_SOIL_NO3_002:{Element:"nitrate",ModusTestIDv2:"L_MODV2_SOIL_NO3_002",Units:["mg/m2",null]},L_MODV2_SOIL_NO3N_002:{Element:"Nitrate-Nitrogen",ModusTestIDv2:"L_MODV2_SOIL_NO3N_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NO3N_003:{Element:"Nitrate-Nitrogen",ModusTestIDv2:"L_MODV2_SOIL_NO3N_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NMR_001:{Element:"nitrogen mineralization rate",ModusTestIDv2:"L_MODV2_SOIL_NMR_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PARTDENS_001:{Element:"particle density",ModusTestIDv2:"L_MODV2_SOIL_PARTDENS_001",Units:["g/cm3",null]},L_MODV2_SOIL_POM_001:{Element:"particulate organic matter 53-2000 um",ModusTestIDv2:"L_MODV2_SOIL_POM_001",Units:["g/kg",null]},L_MODV2_SOIL_MNO4OXC_002:{Element:"permanganate-oxidizable carbon (POXC)",ModusTestIDv2:"L_MODV2_SOIL_MNO4OXC_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PH_001:{Element:"pH",ModusTestIDv2:"L_MODV2_SOIL_PH_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PH_009:{Element:"pH",ModusTestIDv2:"L_MODV2_SOIL_PH_009",Units:["standard pH unit",null]},L_MODV2_SOIL_PO4_001:{Element:"phosphate",ModusTestIDv2:"L_MODV2_SOIL_PO4_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_PLFA_001:{Element:"phospholipid fatty acid (PLFA)",ModusTestIDv1:"S-MD-BS-C-OT",ModusTestIDv2:"L_MODV2_SOIL_PLFA_001",Units:["ng/g",null]},L_MODV2_SOIL_PMONOEST_001:{Element:"phosphomonoesterase",ModusTestIDv2:"L_MODV2_SOIL_PMONOEST_001",Units:["ug/g","mg/kg,ppm"]},L_MODV2_SOIL_P_002:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_012:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_028:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_028",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_030:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_030",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_P_031:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_031",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_P_034:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_034",Units:["mg/kg","ppm"]},L_MODV2_SOIL_P_040:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_040",Units:["mg/m2",null]},L_MODV2_SOIL_P_041:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_041",Units:["mg/m2",null]},L_MODV2_SOIL_P_043:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_043",Units:["mg/L",null]},L_MODV2_SOIL_P_048:{Element:"Phosphorus",ModusTestIDv2:"L_MODV2_SOIL_P_048",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_002:{Element:"Potassium",ModusTestIDv1:"S-K-AA-NH4AC.04",ModusTestIDv2:"L_MODV2_SOIL_K_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_003:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_007:{Element:"Potassium",ModusTestIDv1:"S-K-B1-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_008:{Element:"Potassium",ModusTestIDv1:"S-K-B1-1:7.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_009:{Element:"Potassium",ModusTestIDv1:"S-K-B2-1:10.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_009",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_010:{Element:"Potassium",ModusTestIDv1:"S-K-LACTATE.01",ModusTestIDv2:"L_MODV2_SOIL_K_010",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_011:{Element:"Potassium",ModusTestIDv1:"S-K-CACL2.01",ModusTestIDv2:"L_MODV2_SOIL_K_011",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_012:{Element:"Potassium",ModusTestIDv1:"S-K-M3BRAYP1.19",ModusTestIDv2:"L_MODV2_SOIL_K_012",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_013:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_013",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_014:{Element:"Potassium",ModusTestIDv1:"S-K-CALD.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_014",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_015:{Element:"Potassium",ModusTestIDv1:"S-K-W1:5.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_015",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_016:{Element:"Potassium",ModusTestIDv1:"S-K-W10:1.04",ModusTestIDv2:"L_MODV2_SOIL_K_016",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_018:{Element:"Potassium",ModusTestIDv1:"S-K-DGT.01",ModusTestIDv2:"L_MODV2_SOIL_K_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_022:{Element:"Potassium",ModusTestIDv1:"S-K-RES.01",ModusTestIDv2:"L_MODV2_SOIL_K_022",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_024:{Element:"Potassium",ModusTestIDv1:"S-K-KEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_024",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_025:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_025",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_026:{Element:"Potassium",ModusTestIDv1:"S-K-MKEL.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_026",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_029:{Element:"Potassium",ModusTestIDv1:"S-K-M1.04",ModusTestIDv2:"L_MODV2_SOIL_K_029",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_030:{Element:"Potassium",ModusTestIDv1:"S-K-M2.04",ModusTestIDv2:"L_MODV2_SOIL_K_030",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_031:{Element:"Potassium",ModusTestIDv1:"S-K-M3.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_031",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_032:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_032",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_K_033:{Element:"Potassium",ModusTestIDv1:"S-K-MOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_033",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_034:{Element:"Potassium",ModusTestIDv1:"S-K-MMOR.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_034",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_040:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_040",Units:["mg/m2",null]},L_MODV2_SOIL_K_041:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_041",Units:["mg/m2",null]},L_MODV2_SOIL_K_043:{Element:"Potassium",ModusTestIDv1:"S-K-BIC.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_043",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_044:{Element:"Potassium",ModusTestIDv1:"S-K-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_K_044",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_045:{Element:"Potassium",ModusTestIDv1:"S-K-TRG.01.03",ModusTestIDv2:"L_MODV2_SOIL_K_045",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_046:{Element:"Potassium",ModusTestIDv2:"L_MODV2_SOIL_K_046",Units:["mg/kg","ppm"]},L_MODV2_SOIL_K_049:{Element:"potassium\xA0",ModusTestIDv1:"S-K-AR.23",ModusTestIDv2:"L_MODV2_SOIL_K_049",Units:["mg/kg","ppm"]},L_MODV2_SOIL_KFF_002:{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.05",ModusTestIDv2:"L_MODV2_SOIL_KFF_002",Units:["%",null]},L_MODV2_SOIL_KFF_003:{Element:"Potassium Fixation Factor",ModusTestIDv1:"S-KFF-M3.06",ModusTestIDv2:"L_MODV2_SOIL_KFF_003",Units:["%",null]},L_MODV2_SOIL_TK_001:{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TK-H2SO4.01",ModusTestIDv2:"L_MODV2_SOIL_TK_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_TK_003:{Element:'"potassium, total\xA0"',ModusTestIDv1:"S-TK-NA.04",ModusTestIDv2:"L_MODV2_SOIL_TK_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SREF_001:{Element:"reflectance",ModusTestIDv2:"L_MODV2_SOIL_SREF_001",Units:["Reflectance percentage (R%)",null]},L_MODV2_SOIL_SANDC_004:{Element:"sand - coarse",ModusTestIDv2:"L_MODV2_SOIL_SANDC_004",Units:["%",null]},L_MODV2_SOIL_SANDF_004:{Element:"sand - fine",ModusTestIDv2:"L_MODV2_SOIL_SANDF_004",Units:["%",null]},L_MODV2_SOIL_SANDM_001:{Element:"sand - medium",ModusTestIDv2:"L_MODV2_SOIL_SANDM_001",Units:["%",null]},L_MODV2_SOIL_SANDVC_001:{Element:"sand - very coarse",ModusTestIDv2:"L_MODV2_SOIL_SANDVC_001",Units:["%",null]},L_MODV2_SOIL_SANDVF_001:{Element:"sand - very fine",ModusTestIDv2:"L_MODV2_SOIL_SANDVF_001",Units:["%",null]},L_MODV2_SOIL_SHC_001:{Element:"saturated hydraulic conductivity",ModusTestIDv2:"L_MODV2_SOIL_SHC_001",Units:["in/hr","cm3/hr"]},L_MODV2_SOIL_SE_002:{Element:"Selenium",ModusTestIDv2:"L_MODV2_SOIL_SE_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SE_004:{Element:"Selenium",ModusTestIDv2:"L_MODV2_SOIL_SE_004",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SE_005:{Element:"Selenium",ModusTestIDv2:"L_MODV2_SOIL_SE_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SE_006:{Element:"Selenium",ModusTestIDv2:"L_MODV2_SOIL_SE_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_STCM_001:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_001",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_002:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_002",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_003:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_003",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_004:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_004",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_005:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_005",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_006:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_006",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_007:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_007",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_008:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_008",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_009:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_009",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_010:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_010",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_011:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_011",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_012:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_012",Units:["mg/kg",null]},L_MODV2_SOIL_STCM_013:{Element:"short-term carbon mineralization",ModusTestIDv2:"L_MODV2_SOIL_STCM_013",Units:["mg/kg",null]},L_MODV2_SOIL_SI_002:{Element:"Silicon",ModusTestIDv2:"L_MODV2_SOIL_SI_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_005:{Element:"Sodium",ModusTestIDv2:"L_MODV2_SOIL_NA_005",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_007:{Element:"Sodium",ModusTestIDv2:"L_MODV2_SOIL_NA_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_NA_014:{Element:"Sodium",ModusTestIDv2:"L_MODV2_SOIL_NA_014",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_SR_002:{Element:"Strontium",ModusTestIDv2:"L_MODV2_SOIL_SR_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SO4S_002:{Element:"Sulfate-Sulfur",ModusTestIDv2:"L_MODV2_SOIL_SO4S_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_006:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_008:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_008",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_018:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_019:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_019",Units:["mg/kg","ppm"]},L_MODV2_SOIL_S_027:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_027",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_S_032:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_032",Units:["mg/m2",null]},L_MODV2_SOIL_S_033:{Element:"Sulfur",ModusTestIDv2:"L_MODV2_SOIL_S_033",Units:["mg/m2",null]},L_MODV2_SOIL_SN_002:{Element:"Tin",ModusTestIDv2:"L_MODV2_SOIL_SN_002",Units:["mg/kg","ppm"]},L_MODV2_SOIL_SN_003:{Element:"Tin",ModusTestIDv2:"L_MODV2_SOIL_SN_003",Units:["mg/kg","ppm"]},L_MODV2_SOIL_WEN_001:{Element:"water extractable nitrogen (WEN)",ModusTestIDv2:"L_MODV2_SOIL_WEN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_WEOC_001:{Element:"water extractable organic carbon (WEOC)",ModusTestIDv2:"L_MODV2_SOIL_WEOC_001",Units:["g",null]},L_MODV2_SOIL_TDN_001:{Element:"water extractable organic nitrogen (TDN)",ModusTestIDv2:"L_MODV2_SOIL_TDN_001",Units:["mg/g",null]},L_MODV2_SOIL_WEON_001:{Element:"water extractable organic nitrogen (WEON)",ModusTestIDv2:"L_MODV2_SOIL_WEON_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_WSCN_001:{Element:"water soluble C:N ratio",ModusTestIDv2:"L_MODV2_SOIL_WSCN_001",Units:["ratio",null]},L_MODV2_SOIL_WSOC_001:{Element:"water-soluble organic carbon (WSOC)",ModusTestIDv2:"L_MODV2_SOIL_WSOC_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_001:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_001",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_006:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_006",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_007:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_007",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_016:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_016",Units:["mg/dm3","mg/kg"]},L_MODV2_SOIL_ZN_017:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_017",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_018:{Element:"Zinc",ModusTestIDv1:"S-Zn-MMOR-OT",ModusTestIDv2:"L_MODV2_SOIL_ZN_018",Units:["mg/kg","ppm"]},L_MODV2_SOIL_ZN_022:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_022",Units:["mg/m2",null]},L_MODV2_SOIL_ZN_023:{Element:"Zinc",ModusTestIDv2:"L_MODV2_SOIL_ZN_023",Units:["mg/m2",null]}};var Oa={},sl={};Object.defineProperty(sl,"__esModule",{value:!0});sl.Ucum=void 0;var $ee={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:'',closeEmphHTML_:"",bracesMsg_:"FYI - annotations (text in curly braces {}) are ignored, except that an annotation without a leading symbol implies the default unit 1 (the unity).",needMoleWeightMsg_:"Did you wish to convert between mass and moles? The molecular weight of the substance represented by the units is required to perform the conversion.",csvCols_:{"case-sensitive code":"csCode_","LOINC property":"loincProperty_","name (display)":"name_",synonyms:"synonyms_",source:"source_",category:"category_",Guidance:"guidance_"},inputKey_:"case-sensitive code",specUnits_:{"B[10.nV]":"specialUnitOne","[m/s2/Hz^(1/2)]":"specialUnitTwo"}};sl.Ucum=$ee;var Gg={},Jc={},Wg={};Object.defineProperty(Wg,"__esModule",{value:!0});Wg.Prefix=void 0;class jee{constructor(t){if(t.code_===void 0||t.code_===null||t.name_===void 0||t.name_===null||t.value_===void 0||t.value_===null||t.exp_===void 0)throw new Error("Prefix constructor called missing one or more parameters. Prefix codes (cs or ci), name, value and exponent must all be specified and all but the exponent must not be null.");this.code_=t.code_,this.ciCode_=t.ciCode_,this.name_=t.name_,this.printSymbol_=t.printSymbol_,typeof t.value_=="string"?this.value_=parseFloat(t.value_):this.value_=t.value_,this.exp_=t.exp_}getValue(){return this.value_}getCode(){return this.code_}getCiCode(){return this.ciCode_}getName(){return this.name_}getPrintSymbol(){return this.printSymbol_}getExp(){return this.exp_}equals(t){return this.code_===t.code_&&this.ciCode_===t.ciCode_&&this.name_===t.name_&&this.printSymbol_===t.printSymbol_&&this.value_===t.value_&&this.exp_===t.exp_}}Wg.Prefix=jee;var v0={};Object.defineProperty(v0,"__esModule",{value:!0});v0.PrefixTables=v0.PrefixTablesFactory=void 0;class tw{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let t="",r=Object.keys(this.byValue_),n=r.length;for(let a=0;a=1&&(n=t.substr(r+L1.codeSep_.length),t=t.substr(0,r));let a=this.unitNames_[t];if(a){let i=a.length;if(n&&i>1){let s=0;for(;a[s].csCode_!==n&&s0&&(n+=r),t[f]==="dim_")c.dim_!==null&&c.dim_!==void 0&&c.dim_.dimVec_ instanceof Array?n+="["+c.dim_.dimVec_.join(",")+"]":n+="";else{let m=c[t[f]];typeof m=="string"?n+=m.replace(/[\n\r]/g," "):n+=m}n+=`\r +`}}return n}printUnits(t,r){t===void 0&&(t=!1),r===void 0&&(r="|");let n="",a=this.codeOrder_.length,i="csCode"+r;t&&(i+="ciCode"+r),i+="name"+r,t&&(i+="isBase"+r),i+="magnitude"+r+"dimension"+r+"from unit(s)"+r+"value"+r+"function"+r,t&&(i+="property"+r+"printSymbol"+r+"synonyms"+r+"source"+r+"class"+r+"isMetric"+r+"variable"+r+"isSpecial"+r+"isAbitrary"+r),i+="comment",n=i+` +`;for(let s=0;s=Gs.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[t]=1}}setElementAt(t,r){if(!C1(t)||t<0||t>=Gs.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${t})`);this.dimVec_||this.assignZero(),r==null&&(r=1),this.dimVec_[t]=r}getElementAt(t){if(!C1(t)||t<0||t>=Gs.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${t})`);let r=null;return this.dimVec_&&(r=this.dimVec_[t]),r}getProperty(t){let r=t.charAt(t.length-1)==="_"?t:t+"_";return this[r]}toString(){let t=null;return this.dimVec_&&(t="["+this.dimVec_.join(", ")+"]"),t}add(t){if(!t instanceof Nu)throw new Error(`Dimension.add called with an invalid parameter - ${typeof t} instead of a Dimension object`);if(this.dimVec_&&t.dimVec_)for(let r=0;r{r==="dim_"?this.dim_?t.dim_=this.dim_.clone():t.dim_=null:t[r]=this[r]}),t}assign(t){Object.getOwnPropertyNames(t).forEach(r=>{r==="dim_"?t.dim_?this.dim_=t.dim_.clone():this.dim_=null:this[r]=t[r]})}equals(t){return this.magnitude_===t.magnitude_&&this.cnv_===t.cnv_&&this.cnvPfx_===t.cnvPfx_&&(this.dim_===null&&t.dim_===null||this.dim_.equals(t.dim_))}fullEquals(t){let r=Object.keys(this).sort(),n=Object.keys(t).sort(),a=r.length,i=a===n.length;for(let s=0;s0){let r=t.replace("/","!").replace(".","/").replace("!",".");switch(r.charAt(0)){case".":t=r.substr(1);break;case"/":t=r;break;default:t="/"+r}}return t}_concatStrs(t,r,n,a,i){return this._buildOneString(t,a,i)+r+this._buildOneString(n,a,i)}_buildOneString(t,r,n){let a="";return nte.isNumericString(t)||t.charAt(0)==="("&&t.endsWith(")")||t.charAt(0)==="["&&t.endsWith("]")?a=t:/[./* ]/.test(t)?a=r+t+n:a=t,a}power(t){if(this.cnv_!=null)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let n=this.csCode_.match(/([./]|[^./]+)/g),a=n.length;for(let i=0;i=0;u--){let c=parseInt(s[u]);if(!DS(c)){if((s[u]==="-"||s[u]==="+")&&u--,u(lte(e[r])?ote.apply(t,SO(e[r]).map(n=>[r,...[].concat(n)])):t.push(r),t),[])}function yO(e){return e.map(t=>Array.isArray(t)?t:[t])}function ute(e,t){if(e.join()!==yO(SO(t)).join())throw new Error("Object of unusual structure");return e.map(r=>{let n=t;return r.forEach(a=>{if(n=n[a],n===void 0)throw new Error("Object of unusual structure")}),n})}function cte(e,t){let r={};return e.forEach((n,a)=>{let i=r;for(let s=0;sg
","iso1000",!1,null,null,1,!1,!1,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",.9,!1],[!1,"arc minute","'","'","plane angle",.0002908882086657216,[0,0,0,1,0,0,0],"'","iso1000",!1,null,null,1,!1,!1,0,"arcminutes; arcmin; arc minutes; arc mins","UCUM","Angle","Clinical","equal to 1/60 degree; used in optometry and opthamology (e.g. visual acuity tests)","deg/60","DEG/60","1",1,!1],[!1,"arc second","''","''","plane angle",484813681109536e-20,[0,0,0,1,0,0,0],"''","iso1000",!1,null,null,1,!1,!1,0,"arcseconds; arcsecs","UCUM","Angle","Clinical","equal to 1/60 arcminute = 1/3600 degree; used in optometry and opthamology (e.g. visual acuity tests)","'/60","'/60","1",1,!1],[!1,"Liters","l","L","volume",.001,[3,0,0,0,0,0,0],"l","iso1000",!0,null,null,1,!1,!1,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical",'Because lower case "l" can be read as the number "1", though this is a valid UCUM units. UCUM strongly reccomends using "L"',"dm3","DM3","1",1,!1],[!1,"Liters","L","L","volume",.001,[3,0,0,0,0,0,0],"L","iso1000",!0,null,null,1,!1,!1,0,"cubic decimeters; decimeters cubed; decimetres; dm3; dm^3; litres; liters, LT ","UCUM","Vol","Clinical",'Because lower case "l" can be read as the number "1", though this is a valid UCUM units. UCUM strongly reccomends using "L"',"l",null,"1",1,!1],[!1,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",!0,null,null,1,!1,!1,0,"100 m2; 100 m^2; 100 square meter; meters squared; metres","UCUM","Area","Clinical","metric base unit for area defined as 100 m^2","m2","M2","100",100,!1],[!1,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",!1,null,null,1,!1,!1,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,!1],[!1,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",!1,null,null,1,!1,!1,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,!1],[!1,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",!1,null,null,1,!1,!1,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,!1],[!1,"tropical year","a_t","ANN_T","time",31556925216e-3,[0,1,0,0,0,0,0],"at","iso1000",!1,null,null,1,!1,!1,0,"solar years; a tropical; years","UCUM","Time","Clinical","has an average of 365.242181 days but is constantly changing.","d","D","365.24219",365.24219,!1],[!1,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"aj","iso1000",!1,null,null,1,!1,!1,0,"mean Julian yr; a julian; years","UCUM","Time","Clinical","has an average of 365.25 days, and in everyday use, has been replaced by the Gregorian year. However, this unit is used in astronomy to calculate light year. ","d","D","365.25",365.25,!1],[!1,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"ag","iso1000",!1,null,null,1,!1,!1,0,"mean Gregorian yr; a gregorian; years","UCUM","Time","Clinical","has an average of 365.2425 days and is the most internationally used civil calendar.","d","D","365.2425",365.2425,!1],[!1,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",!1,null,null,1,!1,!1,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,!1],[!1,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",!1,null,null,1,!1,!1,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,!1],[!1,"synodal month","mo_s","MO_S","time",2551442976e-3,[0,1,0,0,0,0,0],"mos","iso1000",!1,null,null,1,!1,!1,0,"Moon; synodic month; lunar month; mo-s; mo s; months; moons","UCUM","Time","Nonclinical","has an average of 29.53 days per month, unit used in astronomy","d","D","29.53059",29.53059,!1],[!1,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"moj","iso1000",!1,null,null,1,!1,!1,0,"mo-julian; mo Julian; months","UCUM","Time","Clinical","has an average of 30.435 days per month","a_j/12","ANN_J/12","1",1,!1],[!1,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mog","iso1000",!1,null,null,1,!1,!1,0,"months; month-gregorian; mo-gregorian","UCUM","Time","Clinical","has an average 30.436875 days per month and is from the most internationally used civil calendar.","a_g/12","ANN_G/12","1",1,!1],[!1,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",!1,null,null,1,!1,!1,0,"months; duration","UCUM","Time","Clinical","based on Julian calendar which has an average of 30.435 days per month (this unit is used in astronomy but not in everyday life - see mo_g)","mo_j","MO_J","1",1,!1],[!1,"metric ton","t","TNE","mass",1e6,[0,0,1,0,0,0,0],"t","iso1000",!0,null,null,1,!1,!1,0,"tonnes; megagrams; tons","UCUM","Mass","Nonclinical","equal to 1000 kg used in the US (recognized by NIST as metric ton), and internationally (recognized as tonne)","kg","KG","1e3",1e3,!1],[!1,"bar","bar","BAR","pressure",1e8,[-1,-2,1,0,0,0,0],"bar","iso1000",!0,null,null,1,!1,!1,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",1e5,!1],[!1,"unified atomic mass unit","u","AMU","mass",16605402e-31,[0,0,1,0,0,0,0],"u","iso1000",!0,null,null,1,!1,!1,0,"unified atomic mass units; amu; Dalton; Da","UCUM","Mass","Clinical","the mass of 1/12 of an unbound Carbon-12 atom nuclide equal to 1.6606x10^-27 kg ","g","G","1.6605402e-24",16605402e-31,!1],[!1,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",!1,null,null,1,!1,!1,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,!1],[!1,"parsec","pc","PRS","length",3085678e10,[1,0,0,0,0,0,0],"pc","iso1000",!0,null,null,1,!1,!1,0,"parsecs","UCUM","Len","Clinical","unit of length equal to 3.26 light years, nad used to measure large distances to objects outside our Solar System","m","M","3.085678e16",3085678e10,!1],[!1,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"c","const",!0,null,null,1,!1,!1,0,"speed of light","UCUM","Vel","Constant","equal to 299792458 m/s (approximately 3 x 10^8 m/s)","m/s","M/S","299792458",299792458,!1],[!1,"Planck constant","[h]","[H]","action",66260755e-38,[2,-1,1,0,0,0,0],"h","const",!0,null,null,1,!1,!1,0,"Planck's constant","UCUM","","Constant","constant = 6.62607004 \xD7 10-34 m2.kg/s; defined as quantum of action","J.s","J.S","6.6260755e-34",66260755e-41,!1],[!1,"Boltzmann constant","[k]","[K]","(unclassified)",1380658e-26,[2,-2,1,0,-1,0,0],"k","const",!0,null,null,1,!1,!1,0,"k; kB","UCUM","","Constant","physical constant relating energy at the individual particle level with temperature = 1.38064852 \xD710^\u221223 J/K","J/K","J/K","1.380658e-23",1380658e-29,!1],[!1,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8854187817000001e-30,[-3,2,-1,0,0,2,0],"\u03B50","const",!0,null,null,1,!1,!1,0,"\u03B50; Electric Constant; vacuum permittivity; permittivity of free space ","UCUM","","Constant","approximately equal to 8.854\u2009\xD7 10^\u221212 F/m (farads per meter)","F/m","F/M","8.854187817e-12",8854187817e-21,!1],[!1,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",.0012566370614359172,[1,0,1,0,0,-2,0],"\u03BC0","const",!0,null,null,1,!1,!1,0,"\u03BC0; vacuum permeability; permeability of free space; magnetic constant","UCUM","","Constant","equal to 4\u03C0\xD710^\u22127 N/A2 (Newtons per square ampere) \u2248 1.2566\xD710^\u22126 H/m (Henry per meter)","N/A2","4.[PI].10*-7.N/A2","1",12566370614359173e-22,!1],[!1,"elementary charge","[e]","[E]","electric charge",160217733e-27,[0,0,0,0,0,1,0],"e","const",!0,null,null,1,!1,!1,0,"e; q; electric charges","UCUM","","Constant","the magnitude of the electric charge carried by a single electron or proton \u2248 1.60217\xD710^-19 Coulombs","C","C","1.60217733e-19",160217733e-27,!1],[!1,"electronvolt","eV","EV","energy",160217733e-24,[2,-2,1,0,0,0,0],"eV","iso1000",!0,null,null,1,!1,!1,0,"Electron Volts; electronvolts","UCUM","Eng","Clinical","unit of kinetic energy = 1 V * 1.602\xD710^\u221219 C = 1.6\xD710\u221219 Joules","[e].V","[E].V","1",1,!1],[!1,"electron mass","[m_e]","[M_E]","mass",91093897e-35,[0,0,1,0,0,0,0],"me","const",!0,null,null,1,!1,!1,0,"electron rest mass; me","UCUM","Mass","Constant","approximately equal to 9.10938356 \xD7 10-31 kg; defined as the mass of a stationary electron","g","g","9.1093897e-28",91093897e-35,!1],[!1,"proton mass","[m_p]","[M_P]","mass",16726231e-31,[0,0,1,0,0,0,0],"mp","const",!0,null,null,1,!1,!1,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622\xD710\u221227 kg","g","g","1.6726231e-24",16726231e-31,!1],[!1,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",667259e-19,[3,-2,-1,0,0,0,0],"G","const",!0,null,null,1,!1,!1,0,"G; gravitational constant; Newton's constant","UCUM","","Constant","gravitational constant = 6.674\xD710\u221211 N\u22C5m2/kg2","m3.kg-1.s-2","M3.KG-1.S-2","6.67259e-11",667259e-16,!1],[!1,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"gn","const",!0,null,null,1,!1,!1,0,"standard gravity; g; \u02610; \u0261n","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,!1],[!1,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",!1,null,null,1,!1,!1,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,!1],[!1,"standard atmosphere","atm","ATM","pressure",101325e3,[-1,-2,1,0,0,0,0],"atm","const",!1,null,null,1,!1,!1,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,!1],[!1,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",!0,null,null,1,!1,!1,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88\xD710^12 mi","[c].a_j","[C].ANN_J","1",1,!1],[!1,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",!0,null,null,1,!1,!1,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,!1],[!1,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",!0,null,null,1,!1,!1,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,!1],[!1,"Gal","Gal","GL","acceleration",.01,[1,-2,0,0,0,0,0],"Gal","cgs",!0,null,null,1,!1,!1,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,!1],[!1,"dyne","dyn","DYN","force",.01,[1,-2,1,0,0,0,0],"dyn","cgs",!0,null,null,1,!1,!1,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,!1],[!1,"erg","erg","ERG","energy",1e-4,[2,-2,1,0,0,0,0],"erg","cgs",!0,null,null,1,!1,!1,0,"10^-7 Joules, 10-7 Joules; 100 nJ; 100 nanoJoules; 1 dyne cm; 1 g.cm2/s2","UCUM","Eng","Clinical","unit of energy = 1 dyne centimeter = 10^-7 Joules","dyn.cm","DYN.CM","1",1,!1],[!1,"Poise","P","P","dynamic viscosity",100,[-1,-1,1,0,0,0,0],"P","cgs",!0,null,null,1,!1,!1,0,"dynamic viscosity; poises","UCUM","Visc","Clinical","unit of dynamic viscosity where 1 Poise = 1/10 Pascal second","dyn.s/cm2","DYN.S/CM2","1",1,!1],[!1,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",!0,null,null,1,!1,!1,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,!1],[!1,"Stokes","St","ST","kinematic viscosity",1e-4,[2,-1,0,0,0,0,0],"St","cgs",!0,null,null,1,!1,!1,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,!1],[!1,"Maxwell","Mx","MX","flux of magnetic induction",1e-5,[2,-1,1,0,0,-1,0],"Mx","cgs",!0,null,null,1,!1,!1,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,!1],[!1,"Gauss","G","GS","magnetic flux density",.1,[0,-1,1,0,0,-1,0],"Gs","cgs",!0,null,null,1,!1,!1,0,"magnetic fields; magnetic flux density; induction; B","UCUM","magnetic","Clinical","CGS unit of magnetic flux density, known as magnetic field B; defined as one maxwell unit per square centimeter (see Oersted for CGS unit for H field)","T","T","1e-4",1e-4,!1],[!1,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",!0,null,null,1,!1,!1,0,"H magnetic B field; Oersteds","UCUM","","Clinical","CGS unit of the auxiliary magnetic field H defined as 1 dyne per unit pole = 1000/4\u03C0 amperes per meter (see Gauss for CGS unit for B field)","A/m","/[PI].A/M","250",79.57747154594767,!1],[!1,"Gilbert","Gb","GB","magnetic tension",.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",!0,null,null,1,!1,!1,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,!1],[!1,"stilb","sb","SB","lum. intensity density",1e4,[-2,0,0,0,0,0,1],"sb","cgs",!0,null,null,1,!1,!1,0,"stilbs","UCUM","","Obsolete","unit of luminance; equal to and replaced by unit candela per square centimeter (cd/cm2)","cd/cm2","CD/CM2","1",1,!1],[!1,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",!0,null,null,1,!1,!1,0,"luminance; lamberts","UCUM","","Clinical","unit of luminance defined as 1 lambert = 1/ \u03C0 candela per square meter","cd/cm2/[pi]","CD/CM2/[PI]","1",1,!1],[!1,"phot","ph","PHT","illuminance",1e-4,[-2,0,0,2,0,0,1],"ph","cgs",!0,null,null,1,!1,!1,0,"phots","UCUM","","Clinical","CGS photometric unit of illuminance, or luminous flux through an area equal to 10000 lumens per square meter = 10000 lux","lx","LX","1e-4",1e-4,!1],[!1,"Curie","Ci","CI","radioactivity",37e9,[0,-1,0,0,0,0,0],"Ci","cgs",!0,null,null,1,!1,!1,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37e9,!1],[!1,"Roentgen","R","ROE","ion dose",258e-9,[0,0,-1,0,0,1,0],"R","cgs",!0,null,null,1,!1,!1,0,"r\xF6ntgen; Roentgens","UCUM","","Clinical","unit of exposure of X-rays and gamma rays in air; unit used primarily in the US but strongly discouraged by NIST","C/kg","C/KG","2.58e-4",258e-6,!1],[!1,"radiation absorbed dose","RAD","[RAD]","energy dose",.01,[2,-2,0,0,0,0,0],"RAD","cgs",!0,null,null,1,!1,!1,0,"doses","UCUM","","Clinical","unit of radiation absorbed dose used primarily in the US with base units 100 ergs per gram of material. Also see the SI unit Gray (Gy).","erg/g","ERG/G","100",100,!1],[!1,"radiation equivalent man","REM","[REM]","dose equivalent",.01,[2,-2,0,0,0,0,0],"REM","cgs",!0,null,null,1,!1,!1,0,"Roentgen Equivalent in Man; rems; dose equivalents","UCUM","","Clinical","unit of equivalent dose which measures the effect of radiation on humans equal to 0.01 sievert. Used primarily in the US. Also see SI unit Sievert (Sv)","RAD","[RAD]","1",1,!1],[!1,"inch","[in_i]","[IN_I]","length",.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",!1,null,null,1,!1,!1,0,"inches; in; international inch; body height","UCUM","Len","Clinical","standard unit for inch in the US and internationally","cm","CM","254e-2",2.54,!1],[!1,"foot","[ft_i]","[FT_I]","length",.3048,[1,0,0,0,0,0,0],"ft","intcust",!1,null,null,1,!1,!1,0,"ft; fts; foot; international foot; feet; international feet; height","UCUM","Len","Clinical","unit used in the US and internationally","[in_i]","[IN_I]","12",12,!1],[!1,"yard","[yd_i]","[YD_I]","length",.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",!1,null,null,1,!1,!1,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,!1],[!1,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",!1,null,null,1,!1,!1,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,!1],[!1,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",!1,null,null,1,!1,!1,0,"international fathoms","UCUM","Len","Nonclinical","unit used in the US and internationally to measure depth of water; same length as the US fathom","[ft_i]","[FT_I]","6",6,!1],[!1,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",!1,null,null,1,!1,!1,0,"nautical mile; nautical miles; international nautical mile; international nautical miles; nm; n.m.; nmi","UCUM","Len","Nonclinical","standard unit used in the US and internationally","m","M","1852",1852,!1],[!1,"knot","[kn_i]","[KN_I]","velocity",.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",!1,null,null,1,!1,!1,0,"kn; kt; international knots","UCUM","Vel","Nonclinical","defined as equal to one nautical mile (1.852 km) per hour","[nmi_i]/h","[NMI_I]/H","1",1,!1],[!1,"square inch","[sin_i]","[SIN_I]","area",.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"in2; in^2; inches squared; sq inch; inches squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[in_i]2","[IN_I]2","1",1,!1],[!1,"square foot","[sft_i]","[SFT_I]","area",.09290304,[2,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"ft2; ft^2; ft squared; sq ft; feet; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[ft_i]2","[FT_I]2","1",1,!1],[!1,"square yard","[syd_i]","[SYD_I]","area",.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"yd2; yd^2; sq. yds; yards squared; international","UCUM","Area","Clinical","standard unit used in the US and internationally","[yd_i]2","[YD_I]2","1",1,!1],[!1,"cubic inch","[cin_i]","[CIN_I]","volume",16387064000000003e-21,[3,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"in3; in^3; in*3; inches^3; inches*3; cu. in; cu in; cubic inches; inches cubed; cin","UCUM","Vol","Clinical","standard unit used in the US and internationally","[in_i]3","[IN_I]3","1",1,!1],[!1,"cubic foot","[cft_i]","[CFT_I]","volume",.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"ft3; ft^3; ft*3; cu. ft; cubic feet; cubed; [ft_i]3; international","UCUM","Vol","Clinical","","[ft_i]3","[FT_I]3","1",1,!1],[!1,"cubic yard","[cyd_i]","[CYD_I]","volume",.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",!1,null,null,1,!1,!1,0,"cubic yards; cubic yds; cu yards; CYs; yards^3; yd^3; yds^3; yd3; yds3","UCUM","Vol","Nonclinical","standard unit used in the US and internationally","[yd_i]3","[YD_I]3","1",1,!1],[!1,"board foot","[bf_i]","[BF_I]","volume",.002359737216,[3,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"BDFT; FBM; BF; board feet; international","UCUM","Vol","Nonclinical","unit of volume used to measure lumber","[in_i]3","[IN_I]3","144",144,!1],[!1,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",!1,null,null,1,!1,!1,0,"crd I; international cords","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3","[ft_i]3","[FT_I]3","128",128,!1],[!1,"mil","[mil_i]","[MIL_I]","length",25400000000000004e-21,[1,0,0,0,0,0,0],"mil","intcust",!1,null,null,1,!1,!1,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",.001,!1],[!1,"circular mil","[cml_i]","[CML_I]","area",5067074790974979e-25,[2,0,0,0,0,0,0],"circ.mil","intcust",!1,null,null,1,!1,!1,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,!1],[!1,"hand","[hd_i]","[HD_I]","height of horses",.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",!1,null,null,1,!1,!1,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,!1],[!1,"foot - US","[ft_us]","[FT_US]","length",.3048006096012192,[1,0,0,0,0,0,0],"ftus","us-lengths",!1,null,null,1,!1,!1,0,"US foot; foot US; us ft; ft us; height; visual distance; feet","UCUM","Len","Obsolete","Better to use [ft_i] which refers to the length used worldwide, including in the US; [ft_us] may be confused with land survey units. ","m/3937","M/3937","1200",1200,!1],[!1,"yard - US","[yd_us]","[YD_US]","length",.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US yards; us yds; distance","UCUM","Len; Nrat","Obsolete","Better to use [yd_i] which refers to the length used worldwide, including in the US; [yd_us] refers to unit used in land surveys in the US","[ft_us]","[FT_US]","3",3,!1],[!1,"inch - US","[in_us]","[IN_US]","length",.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US inches; in us; us in; inch US","UCUM","Len","Obsolete","Better to use [in_i] which refers to the length used worldwide, including in the US","[ft_us]/12","[FT_US]/12","1",1,!1],[!1,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,!1],[!1,"Gunter's chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"surveyor's chain; Surveyor's chain USA; Gunter\u2019s measurement; surveyor\u2019s measurement; Gunter's Chain USA","UCUM","Len","Obsolete","historical unit used for land survey used only in the US","[rd_us]","[RD_US]","4",4,!1],[!1,"link for Gunter's chain - US","[lk_us]","[LK_US]","length",.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"Links for Gunter's Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,!1],[!1,"Ramden's chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"Ramsden's chain; engineer's chains","UCUM","Len","Obsolete","distance measuring device used for\xA0land survey","[ft_us]","[FT_US]","100",100,!1],[!1,"link for Ramden's chain - US","[rlk_us]","[RLK_US]","length",.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"links for Ramsden's chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,!1],[!1,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US fathoms; fathom USA; fth us","UCUM","Len","Obsolete","same length as the international fathom - better to use international fathom ([fth_i])","[ft_us]","[FT_US]","6",6,!1],[!1,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,!1],[!1,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"U.S. Survey Miles; US statute miles; survey mi; US mi; distance","UCUM","Len","Nonclinical","Better to use [mi_i] which refers to the length used worldwide, including in the US","[fur_us]","[FUR_US]","8",8,!1],[!1,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"Acre USA Survey; Acre USA; survey acres","UCUM","Area","Nonclinical","an older unit based on pre 1959 US statute lengths that is still sometimes used in the US only for land survey purposes. ","[rd_us]2","[RD_US]2","160",160,!1],[!1,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"rod2; rod^2; sq. rod; rods squared","UCUM","Area","Nonclinical","Used only in the US to measure land area, based on US statute land survey length units","[rd_us]2","[RD_US]2","1",1,!1],[!1,"square mile - US","[smi_us]","[SMI_US]","area",2589998470319521e-9,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"mi2; mi^2; sq mi; miles squared","UCUM","Area","Nonclinical","historical unit used only in the US for land survey purposes (based on the US survey mile), not the internationally recognized [mi_i]","[mi_us]2","[MI_US]2","1",1,!1],[!1,"section","[sct]","[SCT]","area",2589998470319521e-9,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"sct; sections","UCUM","Area","Nonclinical","tract of land approximately equal to 1 mile square containing 640 acres","[mi_us]2","[MI_US]2","1",1,!1],[!1,"township","[twp]","[TWP]","area",9323994493150276e-8,[2,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,!1],[!1,"mil - US","[mil_us]","[MIL_US]","length",254000508001016e-19,[1,0,0,0,0,0,0],null,"us-lengths",!1,null,null,1,!1,!1,0,"thou, thousandth; mils","UCUM","Len","Obsolete","better to use [mil_i] which is based on the internationally recognized inch","[in_us]","[IN_US]","1e-3",.001,!1],[!1,"inch - British","[in_br]","[IN_BR]","length",.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,!1],[!1,"foot - British","[ft_br]","[FT_BR]","length",.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,!1],[!1,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,!1],[!1,"Gunter's chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"Gunter's Chain British; Gunters Chain British; Surveyor's Chain British","UCUM","Len","Obsolete","historical unit used for land survey used only in Great Britain","[rd_br]","[RD_BR]","4",4,!1],[!1,"link for Gunter's chain - British","[lk_br]","[LK_BR]","length",.2011678416,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"Links for Gunter's Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,!1],[!1,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,!1],[!1,"pace - British","[pc_br]","[PC_BR]","length",.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British paces; br pc","UCUM","Len","Nonclinical","traditional unit of length equal to 152.4 centimeters, or 1.52 meter. ","[ft_br]","[FT_BR]","2.5",2.5,!1],[!1,"yard - British","[yd_br]","[YD_BR]","length",.91439928,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,!1],[!1,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,!1],[!1,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,!1],[!1,"knot - British","[kn_br]","[KN_BR]","velocity",.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,!1],[!1,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",!1,null,null,1,!1,!1,0,"Imperial acres; British; a; ac; ar; acr","UCUM","Area","Nonclinical","the standard unit for acre used in the US and internationally","[yd_br]2","[YD_BR]2","4840",4840,!1],[!1,"gallon - US","[gal_us]","[GAL_US]","fluid volume",.0037854117840000006,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US gallons; US liquid gallon; gal us; Queen Anne's wine gallon","UCUM","Vol","Nonclinical","only gallon unit used in the US; [gal_us] is only used in some other countries in South American and Africa to measure gasoline volume","[in_i]3","[IN_I]3","231",231,!1],[!1,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",.158987294928,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"bbl","UCUM","Vol","Nonclinical","[bbl_us] is the standard unit for oil barrel, which is a unit only used in the US to measure the volume oil. ","[gal_us]","[GAL_US]","42",42,!1],[!1,"quart - US","[qt_us]","[QT_US]","fluid volume",.0009463529460000001,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,!1],[!1,"pint - US","[pt_us]","[PT_US]","fluid volume",.00047317647300000007,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US pints; pint US; liquid pint; pt us; us pt","UCUM","Vol","Clinical","Used only in the US","[qt_us]/2","[QT_US]/2","1",1,!1],[!1,"gill - US","[gil_us]","[GIL_US]","fluid volume",.00011829411825000002,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US gills; gil us","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in the US","[pt_us]/4","[PT_US]/4","1",1,!1],[!1,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",29573529562500005e-21,[3,0,0,0,0,0,0],"oz fl","us-volumes",!1,null,null,1,!1,!1,0,"US fluid ounces; fl ozs; FO; fl. oz.; foz us","UCUM","Vol","Clinical","unit used only in the US","[gil_us]/4","[GIL_US]/4","1",1,!1],[!1,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",36966911953125006e-22,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US fluid drams; fdr us","UCUM","Vol","Nonclinical","equal to 1/8 US fluid ounce = 3.69 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_us]/8","[FOZ_US]/8","1",1,!1],[!1,"minim - US","[min_us]","[MIN_US]","fluid volume",61611519921875e-21,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"min US; US min; \u264F US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,!1],[!1,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US cord; US cords; crd us; us crd","UCUM","Vol","Nonclinical","unit of measure of dry volume used to measure firewood equal 128 ft3 (the same as international cord [cr_i])","[ft_i]3","[FT_I]3","128",128,!1],[!1,"bushel - US","[bu_us]","[BU_US]","dry volume",.03523907016688001,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US bushels; US bsh; US bu","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[in_i]3","[IN_I]3","2150.42",2150.42,!1],[!1,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",.004404883770860001,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"Corn Gallon British; Dry Gallon US; Gallons Historical; Grain Gallon British; Winchester Corn Gallon; historical winchester gallons; wi gal","UCUM","Vol","Obsolete","historical unit of dry volume no longer used","[bu_us]/8","[BU_US]/8","1",1,!1],[!1,"peck - US","[pk_us]","[PK_US]","dry volume",.008809767541720002,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"US pecks; US pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[bu_us]/4","[BU_US]/4","1",1,!1],[!1,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",.0011012209427150002,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"dry quarts; dry quart US; US dry quart; dry qt; us dry qt; dqt; dqt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[pk_us]/8","[PK_US]/8","1",1,!1],[!1,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",.0005506104713575001,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"dry pints; dry pint US; US dry pint; dry pt; dpt; dpt us","UCUM","Vol","Nonclinical","historical unit of dry volume only in the US, but is rarely used today","[dqt_us]/2","[DQT_US]/2","1",1,!1],[!1,"tablespoon - US","[tbs_us]","[TBS_US]","volume",14786764781250002e-21,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"Tbs; tbsp; tbs us; US tablespoons","UCUM","Vol","Clinical","unit defined as 0.5 US fluid ounces or 3 teaspoons - used only in the US. See [tbs_m] for the unit used internationally and in the US for nutrional labelling. ","[foz_us]/2","[FOZ_US]/2","1",1,!1],[!1,"teaspoon - US","[tsp_us]","[TSP_US]","volume",49289215937500005e-22,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"tsp; t; US teaspoons","UCUM","Vol","Nonclinical","unit defined as 1/6 US fluid ounces - used only in the US. See [tsp_m] for the unit used internationally and in the US for nutrional labelling. ","[tbs_us]/3","[TBS_US]/3","1",1,!1],[!1,"cup - US customary","[cup_us]","[CUP_US]","volume",.00023658823650000004,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"cup us; us cups","UCUM","Vol","Nonclinical","Unit defined as 1/2 US pint or 16 US tablespoons \u2248 236.59 mL, which is not the standard unit defined by the FDA of 240 mL - see [cup_m] (metric cup)","[tbs_us]","[TBS_US]","16",16,!1],[!1,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",29999999999999997e-21,[3,0,0,0,0,0,0],"oz fl","us-volumes",!1,null,null,1,!1,!1,0,"metric fluid ounces; fozs m; fl ozs m","UCUM","Vol","Clinical","unit used only in the US for nutritional labelling, as set by the FDA","mL","ML","30",30,!1],[!1,"cup - US legal","[cup_m]","[CUP_M]","volume",.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"cup m; metric cups","UCUM","Vol","Clinical","standard unit equal to 240 mL used in the US for nutritional labelling, as defined by the FDA. Note that this is different from the US customary cup (236.59 mL) and the metric cup used in Commonwealth nations (250 mL).","mL","ML","240",240,!1],[!1,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",49999999999999996e-22,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,!1],[!1,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",14999999999999999e-21,[3,0,0,0,0,0,0],null,"us-volumes",!1,null,null,1,!1,!1,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,!1],[!1,"gallon- British","[gal_br]","[GAL_BR]","volume",.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"imperial gallons, UK gallons; British gallons; br gal; imp gal","UCUM","Vol","Nonclinical","Used only in Great Britain and other Commonwealth countries","l","L","4.54609",4.54609,!1],[!1,"peck - British","[pk_br]","[PK_BR]","volume",.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"imperial pecks; British pecks; br pk; imp pk","UCUM","Vol","Nonclinical","unit of dry volume rarely used today (can be used to measure volume of apples)","[gal_br]","[GAL_BR]","2",2,!1],[!1,"bushel - British","[bu_br]","[BU_BR]","volume",.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British bushels; imperial; br bsh; br bu; imp","UCUM","Vol","Obsolete","Historical unit of dry volume that is rarely used today","[pk_br]","[PK_BR]","4",4,!1],[!1,"quart - British","[qt_br]","[QT_BR]","volume",.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British quarts; imperial quarts; br qts","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gal_br]/4","[GAL_BR]/4","1",1,!1],[!1,"pint - British","[pt_br]","[PT_BR]","volume",.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British pints; imperial pints; pt br; br pt; imp pt; pt imp","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[qt_br]/2","[QT_BR]/2","1",1,!1],[!1,"gill - British","[gil_br]","[GIL_BR]","volume",.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"imperial gills; British gills; imp gill, br gill","UCUM","Vol","Nonclinical","only used in the context of alcohol volume in Great Britain","[pt_br]/4","[PT_BR]/4","1",1,!1],[!1,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",28413062500000005e-21,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British fluid ounces; Imperial fluid ounces; br fozs; imp fozs; br fl ozs","UCUM","Vol","Clinical","Used only in Great Britain and other Commonwealth countries","[gil_br]/5","[GIL_BR]/5","1",1,!1],[!1,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",35516328125000006e-22,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"British fluid drams; fdr br","UCUM","Vol","Nonclinical","equal to 1/8 Imperial fluid ounce = 3.55 mL; used informally to mean small amount of liquor, especially Scotch whiskey","[foz_br]/8","[FOZ_BR]/8","1",1,!1],[!1,"minim - British","[min_br]","[MIN_BR]","volume",5919388020833334e-23,[3,0,0,0,0,0,0],null,"brit-volumes",!1,null,null,1,!1,!1,0,"min br; br min; \u264F br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,!1],[!1,"grain","[gr]","[GR]","mass",.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,!1],[!1,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",!1,null,null,1,!1,!1,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7e3,!1],[!1,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",!1,null,null,1,!1,!1,0,"lbfs; US lbf; US pound forces","UCUM","Force","Clinical","only rarely needed in health care - see [lb_av] which is the more common unit to express weight","[lb_av].[g]","[LB_AV].[G]","1",1,!1],[!1,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",!1,null,null,1,!1,!1,0,"ounces; international ounces; avoirdupois ounces; av ozs","UCUM","Mass","Clinical","standard unit used in the US and internationally","[lb_av]/16","[LB_AV]/16","1",1,!1],[!1,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"Dram; drams avoirdupois; avoidupois dram; international dram","UCUM","Mass","Clinical","unit from the avoirdupois system, which is used in the US and internationally","[oz_av]/16","[OZ_AV]/16","1",1,!1],[!1,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,!1],[!1,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,!1],[!1,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,!1],[!1,"long ton - British","[lton_av]","[LTON_AV]","mass",1.0160469088000001e6,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"imperial tons; weight tons; British long tons; long ton avoirdupois","UCUM","Mass","Nonclinical","Used only in Great Britain and other Commonwealth countries","[lcwt_av]","[LCWT_AV]","20",20,!1],[!1,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",!1,null,null,1,!1,!1,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,!1],[!1,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",!1,null,null,1,!1,!1,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,!1],[!1,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",!1,null,null,1,!1,!1,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,!1],[!1,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",!1,null,null,1,!1,!1,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,!1],[!1,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,!1],[!1,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"\u0292; drachm; apothecaries drams; dr ap; dram ap","UCUM","Mass","Nonclinical","unit still used in the US occasionally to measure amount of drugs in pharmacies","[sc_ap]","[SC_AP]","3",3,!1],[!1,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,!1],[!1,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,!1],[!1,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",!1,null,null,1,!1,!1,0,"metric ounces; m ozs","UCUM","Mass","Clinical","see [oz_av] (the avoirdupois ounce) for the standard ounce used internationally; [oz_m] is equal to 28 grams and is based on the apothecaries' system of mass units which is used in some US pharmacies. ","g","g","28",28,!1],[!1,"line","[lne]","[LNE]","length",.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,!1],[!1,"point (typography)","[pnt]","[PNT]","length",.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter's length","[lne]/6","[LNE]/6","1",1,!1],[!1,"pica (typography)","[pca]","[PCA]","length",.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter's length","[pnt]","[PNT]","12",12,!1],[!1,"Printer's point (typography)","[pnt_pr]","[PNT_PR]","length",.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter's length","[in_i]","[IN_I]","0.013837",.013837,!1],[!1,"Printer's pica (typography)","[pca_pr]","[PCA_PR]","length",.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"pca pr; Printer's picas","UCUM","Len","Nonclinical","typography unit for typesetter's length","[pnt_pr]","[PNT_PR]","12",12,!1],[!1,"pied","[pied]","[PIED]","length",.3248,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,!1],[!1,"pouce","[pouce]","[POUCE]","length",.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,!1],[!1,"ligne","[ligne]","[LIGNE]","length",.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,!1],[!1,"didot","[didot]","[DIDOT]","length",.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter's length","[ligne]/6","[LIGNE]/6","1",1,!1],[!1,"cicero","[cicero]","[CICERO]","length",.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",!1,null,null,1,!1,!1,0,"Didot's pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter's length","[didot]","[DIDOT]","12",12,!1],[!1,"degrees Fahrenheit","[degF]","[DEGF]","temperature",.5555555555555556,[0,0,0,0,1,0,0],"\xB0F","heat",!1,null,"degF",1,!0,!1,0,"\xB0F; deg F","UCUM","Temp","Clinical","","K",null,null,.5555555555555556,!1],[!1,"degrees Rankine","[degR]","[degR]","temperature",.5555555555555556,[0,0,0,0,1,0,0],"\xB0R","heat",!1,null,null,1,!1,!1,0,"\xB0R; \xB0Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,!1],[!1,"degrees R\xE9aumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"\xB0R\xE9","heat",!1,null,"degRe",1,!0,!1,0,"\xB0R\xE9, \xB0Re, \xB0r; R\xE9aumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,!1],[!1,"calorie at 15\xB0C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal15\xB0C","heat",!0,null,null,1,!1,!1,0,"calorie 15 C; cals 15 C; calories at 15 C","UCUM","Enrg","Nonclinical","equal to 4.1855 joules; calorie most often used in engineering","J","J","4.18580",4.1858,!1],[!1,"calorie at 20\xB0C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal20\xB0C","heat",!0,null,null,1,!1,!1,0,"calorie 20 C; cal 20 C; calories at 20 C","UCUM","Enrg","Clinical","equal to 4.18190 joules. ","J","J","4.18190",4.1819,!1],[!1,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"calm","heat",!0,null,null,1,!1,!1,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,!1],[!1,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"calIT","heat",!0,null,null,1,!1,!1,0,"calories IT; IT cals; international steam table calories","UCUM","Enrg","Nonclinical","used in engineering steam tables and defined as 1/860 international watt-hour; equal to 4.1868 joules","J","J","4.1868",4.1868,!1],[!1,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"calth","heat",!0,null,null,1,!1,!1,0,"thermochemical calories; th cals","UCUM","Enrg","Clinical","equal to 4.184 joules; used as the unit in medicine and biochemistry (equal to cal)","J","J","4.184",4.184,!1],[!1,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",!0,null,null,1,!1,!1,0,"gram calories; small calories","UCUM","Enrg","Clinical","equal to 4.184 joules (the same value as the thermochemical calorie, which is the most common calorie used in medicine and biochemistry)","cal_th","CAL_TH","1",1,!1],[!1,"nutrition label Calories","[Cal]","[CAL]","energy",4184e3,[2,-2,1,0,0,0,0],"Cal","heat",!1,null,null,1,!1,!1,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,!1],[!1,"British thermal unit at 39\xB0F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu39\xB0F","heat",!1,null,null,1,!1,!1,0,"BTU 39F; BTU 39 F; B.T.U. 39 F; B.Th.U. 39 F; BThU 39 F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05967 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05967",1.05967,!1],[!1,"British thermal unit at 59\xB0F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu59\xB0F","heat",!1,null,null,1,!1,!1,0,"BTU 59 F; BTU 59F; B.T.U. 59 F; B.Th.U. 59 F; BThU 59F; British thermal units","UCUM","Eng","Nonclinical","equal to 1.05480 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05480",1.0548,!1],[!1,"British thermal unit at 60\xB0F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu60\xB0F","heat",!1,null,null,1,!1,!1,0,"BTU 60 F; BTU 60F; B.T.U. 60 F; B.Th.U. 60 F; BThU 60 F; British thermal units 60 F","UCUM","Eng","Nonclinical","equal to 1.05468 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05468",1.05468,!1],[!1,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btum","heat",!1,null,null,1,!1,!1,0,"BTU mean; B.T.U. mean; B.Th.U. mean; BThU mean; British thermal units mean; ","UCUM","Eng","Nonclinical","equal to 1.05587 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05587",1.05587,!1],[!1,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",105505585262e-5,[2,-2,1,0,0,0,0],"BtuIT","heat",!1,null,null,1,!1,!1,0,"BTU IT; B.T.U. IT; B.Th.U. IT; BThU IT; British thermal units IT","UCUM","Eng","Nonclinical","equal to 1.055 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.05505585262",1.05505585262,!1],[!1,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btuth","heat",!1,null,null,1,!1,!1,0,"BTU Th; B.T.U. Th; B.Th.U. Th; BThU Th; thermochemical British thermal units","UCUM","Eng","Nonclinical","equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","kJ","kJ","1.054350",1.05435,!1],[!1,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",!1,null,null,1,!1,!1,0,"BTU; B.T.U. ; B.Th.U.; BThU; British thermal units","UCUM","Eng","Nonclinical","equal to the thermochemical British thermal unit equal to 1.054350 kJ; used as a measure of power in the electric power, steam generation, heating, and air conditioning industries","[Btu_th]","[BTU_TH]","1",1,!1],[!1,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",!1,null,null,1,!1,!1,0,"imperial horsepowers","UCUM","EngRat","Nonclinical","refers to mechanical horsepower, which is unit used to measure engine power primarily in the US. ","[ft_i].[lbf_av]/s","[FT_I].[LBF_AV]/S","550",550,!1],[!1,"tex","tex","TEX","linear mass density (of textile thread)",.001,[-1,0,1,0,0,0,0],"tex","heat",!0,null,null,1,!1,!1,0,"linear mass density; texes","UCUM","","Clinical","unit of linear mass density for fibers equal to gram per 1000 meters","g/km","G/KM","1",1,!1],[!1,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",!1,null,null,1,!1,!1,0,"den; deniers","UCUM","","Nonclinical","equal to the mass in grams per 9000 meters of the fiber (1 denier = 1 strand of silk)","g/9/km","G/9/KM","1",1,!1],[!1,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m\xA0HO2","clinical",!0,null,null,1,!1,!1,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,!1],[!1,"meter of mercury column","m[Hg]","M[HG]","pressure",133322e3,[-1,-2,1,0,0,0,0],"m\xA0Hg","clinical",!0,null,null,1,!1,!1,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,!1],[!1,"inch of water column","[in_i'H2O]","[IN_I'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in\xA0HO2","clinical",!1,null,null,1,!1,!1,0,"inches WC; inAq; in H2O; inch of water gauge; iwg; pressure","UCUM","Pres","Clinical","unit of pressure, especially in respiratory and ventilation care","m[H2O].[in_i]/m","M[H2O].[IN_I]/M","1",1,!1],[!1,"inch of mercury column","[in_i'Hg]","[IN_I'HG]","pressure",3.3863788000000003e6,[-1,-2,1,0,0,0,0],"in\xA0Hg","clinical",!1,null,null,1,!1,!1,0,"inHg; in Hg; pressure; inches","UCUM","Pres","Clinical","unit of pressure used in US to measure barometric pressure and occasionally blood pressure (see mm[Hg] for unit used internationally)","m[Hg].[in_i]/m","M[HG].[IN_I]/M","1",1,!1],[!1,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322e6,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",!1,null,null,1,!1,!1,0,"peripheral vascular resistance units; peripheral resistance unit; peripheral resistance units; PRU","UCUM","FldResist","Clinical","used to assess blood flow in the capillaries; equal to 1 mmH.min/mL = 133.3 Pa\xB7min/mL","mm[Hg].s/ml","MM[HG].S/ML","1",1,!1],[!1,"Wood unit","[wood'U]","[WOOD'U]","fluid resistance",799932e4,[-4,-1,1,0,0,0,0],"Wood U.","clinical",!1,null,null,1,!1,!1,0,"hybrid reference units; HRU; mmHg.min/L; vascular resistance","UCUM","Pres","Clinical","simplified unit of measurement for for measuring pulmonary vascular resistance that uses pressure; equal to mmHg.min/L","mm[Hg].min/L","MM[HG].MIN/L","1",1,!1],[!1,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",!1,null,"inv",1,!1,!1,0,"diopters; diop; dioptre; dpt; refractive power","UCUM","InvLen","Clinical","unit of optical power of lens represented by inverse meters (m^-1)","m","/M","1",1,!1],[!1,"prism diopter (magnifying power)","[p'diop]","[P'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",!1,null,"tanTimes100",1,!0,!1,0,"diopters; dioptres; p diops; pdiop; dpt; pdptr; \u0394; cm/m; centimeter per meter; centimetre; metre","UCUM","Angle","Clinical","unit for prism correction in eyeglass prescriptions","rad",null,null,1,!1],[!1,"percent of slope","%[slope]","%[SLOPE]","slope",.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",!1,null,"100tan",1,!0,!1,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,!1],[!1,"mesh","[mesh_i]","[MESH_I]","lineic number",.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",!1,null,"inv",1,!1,!1,0,"meshes","UCUM","NLen (lineic number)","Clinical","traditional unit of length defined as the number of strands or particles per inch","[in_i]","/[IN_I]","1",1,!1],[!1,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",!1,null,null,1,!1,!1,0,"Charri\xE8res, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,!1],[!1,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",!1,null,null,1,!1,!1,0,"drop dosing units; metric drops; gtt","UCUM","Vol","Clinical","standard unit used in the US and internationally for clinical medicine but note that although [drp] is defined as 1/20 milliliter, in practice, drop sizes will vary due to external factors","ml/20","ML/20","1",1,!1],[!1,"Hounsfield unit","[hnsf'U]","[HNSF'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",!1,null,null,1,!1,!1,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,!1],[!1,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5833333333333334e-26,[3,-1,-1,0,0,0,0],"MET","clinical",!1,null,null,1,!1,!1,0,"metabolic equivalents","UCUM","RelEngRat","Clinical","unit used to measure rate of energy expenditure per power in treadmill and other functional tests","mL/min/kg","ML/MIN/KG","3.5",3.5,!1],[!1,"homeopathic potency of decimal series (retired)","[hp'_X]","[HP'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",!1,null,"hpX",1,!0,!1,0,null,"UCUM",null,null,null,"1",null,null,1,!1],[!1,"homeopathic potency of centesimal series (retired)","[hp'_C]","[HP'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",!1,null,"hpC",1,!0,!1,0,null,"UCUM",null,null,null,"1",null,null,1,!1],[!1,"homeopathic potency of millesimal series (retired)","[hp'_M]","[HP'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",!1,null,"hpM",1,!0,!1,0,null,"UCUM",null,null,null,"1",null,null,1,!1],[!1,"homeopathic potency of quintamillesimal series (retired)","[hp'_Q]","[HP'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",!1,null,"hpQ",1,!0,!1,0,null,"UCUM",null,null,null,"1",null,null,1,!1],[!1,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"equivalent","eq","EQ","amount of substance",60221367e16,[0,0,0,0,0,0,0],"eq","chemical",!0,null,null,1,!1,!1,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"osmole","osm","OSM","amount of substance (dissolved particles)",60221367e16,[0,0,0,0,0,0,0],"osm","chemical",!0,null,null,1,!1,!1,1,"osmoles; osmols","UCUM","Osmol","Clinical","the number of moles of solute that contribute to the osmotic pressure of a solution","mol","MOL","1",1,!1],[!1,"pH","[pH]","[PH]","acidity",60221366999999994e10,[-3,0,0,0,0,0,0],"pH","chemical",!1,null,"pH",1,!0,!1,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,!1],[!1,"gram percent","g%","G%","mass concentration",1e4,[-3,0,1,0,0,0,0],"g%","chemical",!0,null,null,1,!1,!1,0,"gram %; gram%; grams per deciliter; g/dL; gm per dL; gram percents","UCUM","MCnc","Clinical","equivalent to unit gram per deciliter (g/dL), a unit often used in medical tests to represent solution concentrations","g/dl","G/DL","1",1,!1],[!1,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",!1,null,null,1,!1,!1,0,"Sv; 10^-13 seconds; 100 fs; 100 femtoseconds","UCUM","Time","Clinical","unit of time used in measuring particle's sedimentation rate, usually after centrifugation. ","s","10*-13.S","1",1e-13,!1],[!1,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",!1,null,null,1,!1,!1,0,"HPF","UCUM","Area","Clinical",`area visible under the maximum magnification power of the objective in microscopy (usually 400x) +`,"1","1","1",1,!1],[!1,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",!1,null,null,1,!1,!1,0,"LPF; fields","UCUM","Area","Clinical",`area visible under the low magnification of the objective in microscopy (usually 100 x) +`,"1","1","100",100,!1],[!1,"katal","kat","KAT","catalytic activity",60221367e16,[0,-1,0,0,0,0,0],"kat","chemical",!0,null,null,1,!1,!1,1,"mol/secs; moles per second; mol*sec-1; mol*s-1; mol.s-1; katals; catalytic activity; enzymatic; enzyme units; activities","UCUM","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"enzyme unit","U","U","catalytic activity",100368945e8,[0,-1,0,0,0,0,0],"U","chemical",!0,null,null,1,!1,!1,1,"micromoles per minute; umol/min; umol per minute; umol min-1; enzymatic activity; enzyme activity","UCUM","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",!0,null,null,1,!1,!0,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","1",1,!1],[!1,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",!0,null,null,1,!1,!0,0,"international units; IE; F2","UCUM","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"arbitary unit","[arb'U]","[ARB'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",!1,null,null,1,!1,!0,0,"arbitary units; arb units; arbU","UCUM","Arb","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,!1],[!1,"United States Pharmacopeia unit","[USP'U]","[USP'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",!1,null,null,1,!1,!0,0,"USP U; USP'U","UCUM","Arb","Clinical","a dose unit to express potency of drugs and vitamins defined by the United States Pharmacopoeia; usually 1 USP = 1 IU","1","1","1",1,!1],[!1,"GPL unit","[GPL'U]","[GPL'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,!1],[!1,"MPL unit","[MPL'U]","[MPL'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"MPL units; MPL U; MPL'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,!1],[!1,"APL unit","[APL'U]","[APL'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"APL units; APL U; IgA anticardiolipin; IgA Phospholipid; biologic activity of","UCUM","AMass; ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,!1],[!1,"Bethesda unit","[beth'U]","[BETH'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,!1],[!1,"anti factor Xa unit","[anti'Xa'U]","[ANTI'XA'U]","biologic activity of factor Xa inhibitor (heparin)",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"units","UCUM","ACnc","Clinical","[anti'Xa'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,!1],[!1,"Todd unit","[todd'U]","[TODD'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,!1],[!1,"Dye unit","[dye'U]","[DYE'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"units","UCUM","CCnc","Obsolete","equivalent to the Somogyi unit, which is an enzyme unit for amylase but better to use U, the standard enzyme unit for measuring catalytic activity","1","1","1",1,!1],[!1,"Somogyi unit","[smgy'U]","[SMGY'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"Somogyi units; smgy U","UCUM","CAct","Clinical","measures the enzymatic activity of amylase in blood serum - better to use base units mg/mL ","1","1","1",1,!1],[!1,"Bodansky unit","[bdsk'U]","[BDSK'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,!1],[!1,"King-Armstrong unit","[ka'U]","[KA'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,!1],[!1,"Kunkel unit","[knk'U]","[KNK'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,null,"UCUM",null,null,null,"1","1","1",1,!1],[!1,"Mac Lagan unit","[mclg'U]","[MCLG'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"galactose index; galactose tolerance test; thymol turbidity test unit; mclg U; units; indexes","UCUM","ACnc","Obsolete","unit for liver tests - previously used in thymol turbidity tests for liver disease diagnoses, and now is sometimes referred to in the oral galactose tolerance test","1","1","1",1,!1],[!1,"tuberculin unit","[tb'U]","[TB'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,!1],[!1,"50% cell culture infectious dose","[CCID_50]","[CCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"CCID50","chemical",!1,null,null,1,!1,!0,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,!1],[!1,"50% tissue culture infectious dose","[TCID_50]","[TCID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"TCID50","chemical",!1,null,null,1,!1,!0,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,!1],[!1,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID50","chemical",!1,null,null,1,!1,!0,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,!1],[!1,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",!1,null,null,1,!1,!0,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,!1],[!1,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",!1,null,null,1,!1,!0,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,!1],[!1,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",!1,null,null,1,!1,!0,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,!1],[!1,"index of reactivity (allergen)","[IR]","[IR]","amount of an allergen callibrated through in-vivo testing using the Stallergenes\xAE method.",1,[0,0,0,0,0,0,0],"IR","chemical",!1,null,null,1,!1,!0,0,"IR; indexes","UCUM","Acnc","Clinical","amount of an allergen callibrated through in-vivo testing using the Stallergenes method. Usually reported in tests as IR/mL","1","1","1",1,!1],[!1,"bioequivalent allergen unit","[BAU]","[BAU]","amount of an allergen callibrated through in-vivo testing based on the ID50EAL method of (intradermal dilution for 50mm sum of erythema diameters",1,[0,0,0,0,0,0,0],"BAU","chemical",!1,null,null,1,!1,!0,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,!1],[!1,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",!1,null,null,1,!1,!0,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,!1],[!1,"allergen unit for Ambrosia artemisiifolia","[Amb'a'1'U]","[AMB'A'1'U]","procedure defined amount of the major allergen of ragweed.",1,[0,0,0,0,0,0,0],"Amb a 1 U","chemical",!1,null,null,1,!1,!0,0,"Amb a 1 unit; Antigen E; AgE U; allergen units","UCUM","Arb","Clinical","Amb a 1 is the major allergen in short ragweed, and can be converted Bioequivalent allergen units (BAU) where 350 Amb a 1 U/mL = 100,000 BAU/mL","1","1","1",1,!1],[!1,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",!1,null,null,1,!1,!0,0,"protein nitrogen units; PNU","UCUM","Mass","Clinical","defined as 0.01 ug of phosphotungstic acid-precipitable protein nitrogen. Being replaced by bioequivalent allergy units (BAU).","1","1","1",1,!1],[!1,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",!1,null,null,1,!1,!0,0,"Lf doses","UCUM","Arb","Clinical","the antigen content forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,!1],[!1,"D-antigen unit (polio)","[D'ag'U]","[D'AG'U]","procedure defined amount of a poliomyelitis d-antigen substance",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"DAgU; units","UCUM","Acnc","Clinical","unit of potency of poliovirus vaccine used for poliomyelitis prevention reported as D antigen units/mL. The unit is poliovirus type-specific.","1","1","1",1,!1],[!1,"fibrinogen equivalent units","[FEU]","[FEU]","amount of fibrinogen broken down into the measured d-dimers",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"FEU","UCUM","MCnc","Clinical","Note both the FEU and DDU units are used to report D-dimer measurements. 1 DDU = 1/2 FFU","1","1","1",1,!1],[!1,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,!1],[!1,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",!1,null,null,1,!1,!0,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,!1],[!1,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",!0,null,"ln",1,!0,!1,0,"nepers","UCUM","LogRto","Clinical","logarithmic unit for ratios of measurements of physical field and power quantities, such as gain and loss of electronic signals","1",null,null,1,!1],[!1,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",!0,null,"lg",1,!0,!1,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,!1],[!1,"bel sound pressure","B[SPL]","B[SPL]","pressure level",.02,[-1,-2,1,0,0,0,0],"B(SPL)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,2e-5,!1],[!1,"bel volt","B[V]","B[V]","electric potential level",1e3,[2,-2,1,0,0,-1,0],"B(V)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,!1],[!1,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel mV; B mV; millivolt bels; 10^-3V bels; 10*-3V ","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","mV",null,null,1,!1],[!1,"bel microvolt","B[uV]","B[UV]","electric potential level",.001,[2,-2,1,0,0,-1,0],"B(\u03BCV)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel uV; B uV; microvolts bels; 10^-6V bel; 10*-6V bel","UCUM","LogRto","Clinical","used to express power gain in electrical circuits","uV",null,null,1,!1],[!1,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",10000000000000003e-21,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",!0,null,"lgTimes2",1,!0,!1,0,"bel 10 nV; B 10 nV; 10 nanovolts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","nV",null,null,10,!1],[!1,"bel watt","B[W]","B[W]","power level",1e3,[2,-3,1,0,0,0,0],"B(W)","levels",!0,null,"lg",1,!0,!1,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,!1],[!1,"bel kilowatt","B[kW]","B[KW]","power level",1e6,[2,-3,1,0,0,0,0],"B(kW)","levels",!0,null,"lg",1,!0,!1,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,!1],[!1,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",!0,null,null,1,!1,!1,0,"st\xE8re; m3; cubic meter; m^3; meters cubed; metre","UCUM","Vol","Nonclinical","equal to one cubic meter, usually used for measuring firewoord","m3","M3","1",1,!1],[!1,"\xC5ngstr\xF6m","Ao","AO","length",10000000000000002e-26,[1,0,0,0,0,0,0],"\xC5","misc",!1,null,null,1,!1,!1,0,"\xC5; Angstroms; Ao; \xC5ngstr\xF6ms","UCUM","Len","Clinical","equal to 10^-10 meters; used to express wave lengths and atom scaled differences ","nm","NM","0.1",.1,!1],[!1,"barn","b","BRN","action area",9999999999999999e-44,[2,0,0,0,0,0,0],"b","misc",!1,null,null,1,!1,!1,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,!1],[!1,"technical atmosphere","att","ATT","pressure",9806649999999999e-8,[-1,-2,1,0,0,0,0],"at","misc",!1,null,null,1,!1,!1,0,"at; tech atm; tech atmosphere; kgf/cm2; atms; atmospheres","UCUM","Pres","Obsolete","non-SI unit of pressure equal to one kilogram-force per square centimeter","kgf/cm2","KGF/CM2","1",1,!1],[!1,"mho","mho","MHO","electric conductance",.001,[-2,1,-1,0,0,2,0],"mho","misc",!0,null,null,1,!1,!1,0,"siemens; ohm reciprocals; \u03A9^\u22121; \u03A9-1 ","UCUM","","Obsolete","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","S","S","1",1,!1],[!1,"pound per square inch","[psi]","[PSI]","pressure",6894757293168359e-9,[-1,-2,1,0,0,0,0],"psi","misc",!1,null,null,1,!1,!1,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,!1],[!1,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",!1,null,null,1,!1,!1,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,!1],[!1,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",!1,null,null,1,!1,!1,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4\u03C0sr (sr = steradian) ","[pi].sr","[PI].SR","4",4,!1],[!1,"metric carat","[car_m]","[CAR_M]","mass",.2,[0,0,1,0,0,0,0],"ctm","misc",!1,null,null,1,!1,!1,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",.2,!1],[!1,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",.041666666666666664,[0,0,0,0,0,0,0],"ctAu","misc",!1,null,null,1,!1,!1,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,!1],[!1,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",!1,null,null,1,!1,!1,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,!1],[!1,"meter per square seconds per square root of hertz","[m/s2/Hz^(1/2)]","[M/S2/HZ^(1/2)]","amplitude spectral density",1,[2,-3,0,0,0,0,0],null,"misc",!1,null,"sqrt",1,!0,!1,0,"m/s2/(Hz^.5); m/s2/(Hz^(1/2)); m per s2 per Hz^1/2","UCUM","","Constant",`measures amplitude spectral density, and is equal to the square root of power spectral density + `,"m2/s4/Hz",null,null,1,!1],[!1,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bits","infotech",!1,null,"ld",1,!0,!1,0,"bit-s; bit s; bit logarithmic","UCUM","LogA","Nonclinical",`defined as the log base 2 of the number of distinct signals; cannot practically be used to express more than 1000 bits + +In information theory, the definition of the amount of self-information and information entropy is often expressed with the binary logarithm (log base 2)`,"1",null,null,1,!1],[!1,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",!0,null,null,1,!1,!1,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,!1],[!1,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",!0,null,null,1,!1,!1,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,!1],[!1,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",!0,null,"inv",1,!1,!1,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,!1],[!1,"per twelve hour","/(12.h)","/HR","",23148148148148147e-21,[0,-1,0,0,0,0,0],"/h",null,!1,null,null,1,!1,!1,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,!1],[!1,"per arbitrary unit","/[arb'U]","/[ARB'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,!1,null,null,1,!1,!0,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,!1],[!1,"per high power field","/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,!1,null,null,1,!1,!1,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"per international unit","/[IU]","/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,!1,null,null,1,!1,!0,0,"international units; /IU; per IU","LOINC","InvA","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)",null,null,null,null,!1],[!1,"per low power field","/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,!1,null,null,1,!1,!1,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"per 10 billion ","/10*10","/10*10","",1e-10,[0,0,0,0,0,0,0],"/1010<.sup>",null,!1,null,null,1,!1,!1,0,"/10^10; per 10*10","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per trillion ","/10*12","/10*12","",1e-12,[0,0,0,0,0,0,0],"/1012<.sup>",null,!1,null,null,1,!1,!1,0,"/10^12; per 10*12","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per thousand","/10*3","/10*3","",.001,[0,0,0,0,0,0,0],"/103<.sup>",null,!1,null,null,1,!1,!1,0,"/10^3; per 10*3","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per million","/10*6","/10*6","",1e-6,[0,0,0,0,0,0,0],"/106<.sup>",null,!1,null,null,1,!1,!1,0,"/10^6; per 10*6;","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per billion","/10*9","/10*9","",1e-9,[0,0,0,0,0,0,0],"/109<.sup>",null,!1,null,null,1,!1,!1,0,"/10^9; per 10*9","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per 100","/100","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"per hundred; 10^2; 10*2","LOINC","NFr","Clinical","used for counting entities, e.g. blood cells; usually these kinds of terms have numerators such as moles or milligrams, and counting that amount per the number in the denominator",null,null,null,null,!1],[!1,"per 100 cells","/100{cells}","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,!1],[!1,"per 100 neutrophils","/100{neutrophils}","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,!1],[!1,"per 100 spermatozoa","/100{spermatozoa}","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,!1],[!1,"per 100 white blood cells","/100{WBCs}","","",.01,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,!1],[!1,"per year","/a","/ANN","",3168808781402895e-23,[0,-1,0,0,0,0,0],"/a",null,!1,null,null,1,!1,!1,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per centimeter of water","/cm[H2O]","/CM[H2O]","",10197162129779282e-21,[1,2,-1,0,0,0,0],"/cm\xA0HO2<.r>",null,!1,null,null,1,!1,!1,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,!1],[!1,"per day","/d","/D","",11574074074074073e-21,[0,-1,0,0,0,0,0],"/d",null,!1,null,null,1,!1,!1,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per deciliter","/dL","/DL","",1e4,[-3,0,0,0,0,0,0],"/dL",null,!1,null,null,1,!1,!1,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,!1],[!1,"per gram","/g","/G","",1,[0,0,-1,0,0,0,0],"/g",null,!1,null,null,1,!1,!1,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,!1],[!1,"per hour","/h","/HR","",.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,!1,null,null,1,!1,!1,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per kilogram","/kg","/KG","",.001,[0,0,-1,0,0,0,0],"/kg",null,!1,null,null,1,!1,!1,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,!1],[!1,"per liter","/L","/L","",1e3,[-3,0,0,0,0,0,0],"/L",null,!1,null,null,1,!1,!1,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,!1],[!1,"per square meter","/m2","/M2","",1,[-2,0,0,0,0,0,0],"/m2<.sup>",null,!1,null,null,1,!1,!1,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"per cubic meter","/m3","/M3","",1,[-3,0,0,0,0,0,0],"/m3<.sup>",null,!1,null,null,1,!1,!1,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,!1],[!1,"per milligram","/mg","/MG","",1e3,[0,0,-1,0,0,0,0],"/mg",null,!1,null,null,1,!1,!1,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,!1],[!1,"per minute","/min","/MIN","",.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,!1,null,null,1,!1,!1,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per milliliter","/mL","/ML","",1e6,[-3,0,0,0,0,0,0],"/mL",null,!1,null,null,1,!1,!1,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,!1],[!1,"per millimeter","/mm","/MM","",1e3,[-1,0,0,0,0,0,0],"/mm",null,!1,null,null,1,!1,!1,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,!1],[!1,"per month","/mo","/MO","",3802570537683474e-22,[0,-1,0,0,0,0,0],"/mo",null,!1,null,null,1,!1,!1,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per second","/s","/S","",1,[0,-1,0,0,0,0,0],"/s",null,!1,null,null,1,!1,!1,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"per enzyme unit","/U","/U","",9963241120049633e-32,[0,1,0,0,0,0,0],"/U",null,!1,null,null,1,!1,!1,-1,"/enzyme units; per U","LOINC","InvC; NCat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,!1],[!1,"per microliter","/uL","/UL","",9999999999999999e-7,[-3,0,0,0,0,0,0],"/\u03BCL",null,!1,null,null,1,!1,!1,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,!1],[!1,"per week","/wk","/WK","",16534391534391535e-22,[0,-1,0,0,0,0,0],"/wk",null,!1,null,null,1,!1,!1,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,!1],[!1,"APL unit per milliliter","[APL'U]/mL","[APL'U]/ML","biologic activity of anticardiolipin IgA",1e6,[-3,0,0,0,0,0,0],"/mL","chemical",!1,null,null,1,!1,!0,0,"APL/mL; APL'U/mL; APL U/mL; APL/milliliter; IgA anticardiolipin units per milliliter; IgA Phospholipid Units; millilitre; biologic activity of","LOINC","ACnc","Clinical","Units for an anti phospholipid syndrome test","1","1","1",1,!1],[!1,"arbitrary unit per milliliter","[arb'U]/mL","[ARB'U]/ML","arbitrary",1e6,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",!1,null,null,1,!1,!0,0,"arb'U/mL; arbU/mL; arb U/mL; arbitrary units per milliliter; millilitre","LOINC","ACnc","Clinical","relative unit of measurement to show the ratio of test measurement to reference measurement","1","1","1",1,!1],[!1,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1e3,[-3,0,0,0,0,0,0],"CFU/L","chemical",!1,null,null,1,!1,!0,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,!1],[!1,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1e6,[-3,0,0,0,0,0,0],"CFU/mL","chemical",!1,null,null,1,!1,!0,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,!1],[!1,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ftus)/(ftus)","us-lengths",!1,null,null,1,!1,!1,0,"ft/ft; ft per ft; feet per feet; visual acuity","","LenRto","Clinical","distance ratio to measure 20:20 vision","m/3937","M/3937","1200",1200,!1],[!1,"GPL unit per milliliter","[GPL'U]/mL","[GPL'U]/ML","biologic activity of anticardiolipin IgG",1e6,[-3,0,0,0,0,0,0],"/mL","chemical",!1,null,null,1,!1,!0,0,"GPL U/mL; GPL'U/mL; GPL/mL; GPL U per mL; IgG Phospholipid Units per milliliters; IgG anticardiolipin units; millilitres ","LOINC","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,!1],[!1,"international unit per 2 hour","[IU]/(2.h)","[IU]/HR","arbitrary",.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",!0,null,null,1,!1,!0,0,"IU/2hrs; IU/2 hours; IU per 2 hrs; international units per 2 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per 24 hour","[IU]/(24.h)","[IU]/HR","arbitrary",11574074074074073e-21,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",!0,null,null,1,!1,!0,0,"IU/24hr; IU/24 hours; IU per 24 hrs; international units per 24 hours","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per day","[IU]/d","[IU]/D","arbitrary",11574074074074073e-21,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",!0,null,null,1,!1,!0,0,"IU/dy; IU/days; IU per dys; international units per day","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",1e4,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",!0,null,null,1,!1,!0,0,"IU/dL; IU per dL; international units per deciliters; decilitres","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",!0,null,null,1,!1,!0,0,"IU/gm; IU/gram; IU per gm; IU per g; international units per gram","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",!0,null,null,1,!1,!0,0,"IU/hrs; IU per hours; international units per hour","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",!0,null,null,1,!1,!0,0,"IU/kg; IU/kilogram; IU per kg; units","LOINC","ACnt","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per kilogram per day","[IU]/kg/d","[IU]/KG/D","arbitrary",11574074074074074e-24,[0,-1,-1,0,0,0,0],"(i.U.)/kg/d","chemical",!0,null,null,1,!1,!0,0,"IU/kg/dy; IU/kg/day; IU/kilogram/day; IU per kg per day; units","LOINC","ACntRat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1e3,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",!0,null,null,1,!1,!0,0,"IU/L; IU/liter; IU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",!0,null,null,1,!1,!0,0,"IU/min; IU/minute; IU per minute; international units","LOINC","ARat","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1e6,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",!0,null,null,1,!1,!0,0,"IU/mL; IU per mL; international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"MPL unit per milliliter","[MPL'U]/mL","[MPL'U]/ML","biologic activity of anticardiolipin IgM",1e6,[-3,0,0,0,0,0,0],"/mL","chemical",!1,null,null,1,!1,!0,0,"MPL/mL; MPL U/mL; MPL'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical",`units for antiphospholipid test +`,"1","1","1",1,!1],[!1,"number per high power field","{#}/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,!1,null,null,1,!1,!1,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"number per low power field","{#}/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,!1,null,null,1,!1,!1,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,!1],[!1,"IgA antiphosphatidylserine unit ","{APS'U}","","",1,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,!1],[!1,"EIA index","{EIA_index}","","",1,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,!1],[!1,"kaolin clotting time","{KCT'U}","","",1,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"KCT","LOINC","Time","Clinical","sensitive\xA0test to detect\xA0lupus anticoagulants; measured in seconds",null,null,null,null,!1],[!1,"IgM antiphosphatidylserine unit","{MPS'U}","","",1,[0,0,0,0,0,0,0],null,null,!1,null,null,1,!1,!1,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,!1],[!1,"trillion per liter","10*12/L","(10*12)/L","number",1e15,[-3,0,0,0,0,0,0],"(1012)/L","dimless",!1,null,null,1,!1,!1,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10^3 (used for cell count)","10*3","10*3","number",1e3,[0,0,0,0,0,0,0],"103","dimless",!1,null,null,1,!1,!1,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,!1],[!1,"thousand per liter","10*3/L","(10*3)/L","number",1e6,[-3,0,0,0,0,0,0],"(103)/L","dimless",!1,null,null,1,!1,!1,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1e9,[-3,0,0,0,0,0,0],"(103)/mL","dimless",!1,null,null,1,!1,!1,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"thousand per microliter","10*3/uL","(10*3)/UL","number",9999999999999999e-4,[-3,0,0,0,0,0,0],"(103)/\u03BCL","dimless",!1,null,null,1,!1,!1,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",1e13,[-3,0,0,0,0,0,0],"(104)/\u03BCL","dimless",!1,null,null,1,!1,!1,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10^5 ","10*5","10*5","number",1e5,[0,0,0,0,0,0,0],"105","dimless",!1,null,null,1,!1,!1,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,!1],[!1,"10^6","10*6","10*6","number",1e6,[0,0,0,0,0,0,0],"106","dimless",!1,null,null,1,!1,!1,0,"","LOINC","Num","Clinical","","1","1","10",10,!1],[!1,"million colony forming unit per liter","10*6.[CFU]/L","(10*6).[CFU]/L","number",1e9,[-3,0,0,0,0,0,0],"(106).CFU/L","dimless",!1,null,null,1,!1,!0,0,"10*6 CFU/L; 10^6 CFU/L; 10^6CFU; 10^6 CFU per liter; million colony forming units; litre","LOINC","ACnc","Clinical","","1","1","10",10,!1],[!1,"million international unit","10*6.[IU]","(10*6).[IU]","number",1e6,[0,0,0,0,0,0,0],"(106).(i.U.)","dimless",!1,null,null,1,!1,!0,0,"10*6 IU; 10^6 IU; international units","LOINC","arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","1","1","10",10,!1],[!1,"million per 24 hour","10*6/(24.h)","(10*6)/HR","number",11.574074074074074,[0,-1,0,0,0,0,0],"(106)/h","dimless",!1,null,null,1,!1,!1,0,"10*6/24hrs; 10^6/24 hrs; 10*6 per 24 hrs; 10^6 per 24 hours","LOINC","NRat","Clinical","","1","1","10",10,!1],[!1,"million per kilogram","10*6/kg","(10*6)/KG","number",1e3,[0,0,-1,0,0,0,0],"(106)/kg","dimless",!1,null,null,1,!1,!1,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,!1],[!1,"million per liter","10*6/L","(10*6)/L","number",1e9,[-3,0,0,0,0,0,0],"(106)/L","dimless",!1,null,null,1,!1,!1,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"million per milliliter","10*6/mL","(10*6)/ML","number",1e12,[-3,0,0,0,0,0,0],"(106)/mL","dimless",!1,null,null,1,!1,!1,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"million per microliter","10*6/uL","(10*6)/UL","number",1e15,[-3,0,0,0,0,0,0],"(106)/\u03BCL","dimless",!1,null,null,1,!1,!1,0,"10^6/uL; 10^6 per uL; 10^6/mcl; 10^6 per mcl; 10^6 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10^8","10*8","10*8","number",1e8,[0,0,0,0,0,0,0],"108","dimless",!1,null,null,1,!1,!1,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,!1],[!1,"billion per liter","10*9/L","(10*9)/L","number",1e12,[-3,0,0,0,0,0,0],"(109)/L","dimless",!1,null,null,1,!1,!1,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"billion per milliliter","10*9/mL","(10*9)/ML","number",1e15,[-3,0,0,0,0,0,0],"(109)/mL","dimless",!1,null,null,1,!1,!1,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"billion per microliter","10*9/uL","(10*9)/UL","number",1e18,[-3,0,0,0,0,0,0],"(109)/\u03BCL","dimless",!1,null,null,1,!1,!1,0,"10^9/uL; 10^9 per uL; 10^9/mcl; 10^9 per mcl; 10*9 per uL; 10*9 per mcl; 10*9/mcl; 10^9 per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,!1],[!1,"10 liter per minute per square meter","10.L/(min.m2)","L/(MIN.M2)","",.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m2))",null,!1,null,null,1,!1,!1,0,"10 liters per minutes per square meter; 10 L per min per m2; m^2; 10 L/(min*m2); 10L/(min*m^2); litres; sq. meter; metre; meters squared","LOINC","ArVRat","Clinical","",null,null,null,null,!1],[!1,"10 liter per minute","10.L/min","L/MIN","",.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,!1,null,null,1,!1,!1,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,!1],[!1,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","(UN.S)/(CM5.M2)","",1e8,[-6,-1,1,0,0,0,0],"(\u03BCN.s)/(cm5).(m2)",null,!1,null,null,1,!1,!1,0,"dyne seconds per centimeter5 and square meter; dyn.s/(cm5.m2); dyn.s/cm5/m2; cm^5; m^2","LOINC","","Clinical","unit to measure systemic vascular resistance per body surface area",null,null,null,null,!1],[!1,"24 hour","24.h","HR","",86400,[0,1,0,0,0,0,0],"h",null,!1,null,null,1,!1,!1,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",!0,null,null,1,!1,!1,0,"A/m; amp/meter; magnetic field strength; H; B; amperes per meter; metre","LOINC","","Clinical","unit of magnetic field strength","C/s","C/S","1",1,!1],[!0,"centigram","cg","CG","mass",.01,[0,0,1,0,0,0,0],"cg",null,!1,"M",null,1,!1,!1,0,"centigrams; cg; cgm","LOINC","Mass","Clinical","",null,null,null,null,!1],[!1,"centiliter","cL","CL","volume",1e-5,[3,0,0,0,0,0,0],"cL","iso1000",!0,null,null,1,!1,!1,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!0,"centimeter","cm","CM","length",.01,[1,0,0,0,0,0,0],"cm",null,!1,"L",null,1,!1,!1,0,"centimeters; centimetres","LOINC","Len","Clinical","",null,null,null,null,!1],[!1,"centimeter of water","cm[H2O]","CM[H2O]","pressure",98066.5,[-1,-2,1,0,0,0,0],"cm\xA0HO2","clinical",!0,null,null,1,!1,!1,0,"cm H2O; cmH2O; centimetres; pressure","LOINC","Pres","Clinical","unit of pressure mostly applies to blood pressure","kPa","KPAL","980665e-5",9.80665,!1],[!1,"centimeter of water per liter per second","cm[H2O]/L/s","(CM[H2O]/L)/S","pressure",98066500,[-4,-3,1,0,0,0,0],"(cm\xA0HO2)/L/s","clinical",!0,null,null,1,!1,!1,0,"cm[H2O]/(L/s); cm[H2O].s/L; cm H2O/L/sec; cmH2O/L/sec; cmH2O/Liter; cmH2O per L per secs; centimeters of water per liters per second; centimetres; litres; cm[H2O]/(L/s)","LOINC","PresRat","Clinical","unit used to measure mean pulmonary resistance","kPa","KPAL","980665e-5",9.80665,!1],[!1,"centimeter of water per second per meter","cm[H2O]/s/m","(CM[H2O]/S)/M","pressure",98066.5,[-2,-3,1,0,0,0,0],"(cm\xA0HO2)/s/m","clinical",!0,null,null,1,!1,!1,0,"cm[H2O]/(s.m); cm H2O/s/m; cmH2O; cmH2O/sec/m; cmH2O per secs per meters; centimeters of water per seconds per meter; centimetres; metre","LOINC","PresRat","Clinical","unit used to measure pulmonary pressure time product","kPa","KPAL","980665e-5",9.80665,!1],[!1,"centimeter of mercury","cm[Hg]","CM[HG]","pressure",1333220,[-1,-2,1,0,0,0,0],"cm\xA0Hg","clinical",!0,null,null,1,!1,!1,0,"centimeters of mercury; centimetres; cmHg; cm Hg","LOINC","Pres","Clinical","unit of pressure where 1 cmHg = 10 torr","kPa","KPAL","133.3220",133.322,!1],[!0,"square centimeter","cm2","CM2","length",1e-4,[2,0,0,0,0,0,0],"cm2",null,!1,"L",null,1,!1,!1,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,!1],[!0,"square centimeter per second","cm2/s","CM2/S","length",1e-4,[2,-1,0,0,0,0,0],"(cm2)/s",null,!1,"L",null,1,!1,!1,0,"cm^2/sec; square centimeters per second; sq cm per sec; cm2; centimeters squared; centimetres","LOINC","AreaRat","Clinical","",null,null,null,null,!1],[!1,"centipoise","cP","CP","dynamic viscosity",1,[-1,-1,1,0,0,0,0],"cP","cgs",!0,null,null,1,!1,!1,0,"cps; centiposes","LOINC","Visc","Clinical","unit of dynamic viscosity in the CGS system with base units: 10^\u22123 Pa.s = 1 mPa\xB7.s (1 millipascal second)","dyn.s/cm2","DYN.S/CM2","1",1,!1],[!1,"centistoke","cSt","CST","kinematic viscosity",10000000000000002e-22,[2,-1,0,0,0,0,0],"cSt","cgs",!0,null,null,1,!1,!1,0,"centistokes","LOINC","Visc","Clinical","unit for kinematic viscosity with base units of mm^2/s (square millimeter per second)","cm2/s","CM2/S","1",1,!1],[!1,"dekaliter per minute","daL/min","DAL/MIN","volume",.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",!0,null,null,1,!1,!1,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m2)","iso1000",!0,null,null,1,!1,!1,0,"daL/min/m^2; daL/minute/m2; sq. meter; dekaliters per minutes per square meter; meter squared; dekalitres; metre","LOINC","ArVRat","Clinical","The area usually is the body surface area used to normalize cardiovascular measures for patient's size","l",null,"1",1,!1],[!1,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",!0,null,"lg",.1,!0,!1,0,"decibels","LOINC","LogRto","Clinical","unit most commonly used in acoustics as unit of sound pressure level. (also see B[SPL] or bel sound pressure level). ","1",null,null,1,!1],[!1,"degree per second","deg/s","DEG/S","plane angle",.017453292519943295,[0,-1,0,1,0,0,0],"\xB0/s","iso1000",!1,null,null,1,!1,!1,0,"deg/sec; deg per sec; \xB0/sec; twist rate; angular speed; rotational speed","LOINC","ARat","Clinical","unit of angular (rotational) speed used to express turning rate","[pi].rad/360","[PI].RAD/360","2",2,!1],[!0,"decigram","dg","DG","mass",.1,[0,0,1,0,0,0,0],"dg",null,!1,"M",null,1,!1,!1,0,"decigrams; dgm; 0.1 grams; 1/10 gm","LOINC","Mass","Clinical","equal to 1/10 gram",null,null,null,null,!1],[!1,"deciliter","dL","DL","volume",1e-4,[3,0,0,0,0,0,0],"dL","iso1000",!0,null,null,1,!1,!1,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,!1],[!0,"decimeter","dm","DM","length",.1,[1,0,0,0,0,0,0],"dm",null,!1,"L",null,1,!1,!1,0,"decimeters; decimetres; 0.1 meters; 1/10 m; 10 cm; centimeters","LOINC","Len","Clinical","equal to 1/10 meter or 10 centimeters",null,null,null,null,!1],[!0,"square decimeter per square second","dm2/s2","DM2/S2","length",.010000000000000002,[2,-2,0,0,0,0,0],"(dm2)/(s2)",null,!1,"L",null,1,!1,!1,0,"dm2 per s2; dm^2/s^2; decimeters squared per second squared; sq dm; sq sec","LOINC","EngMass (massic energy)","Clinical","units for energy per unit mass or Joules per kilogram (J/kg = kg.m2/s2/kg = m2/s2) ",null,null,null,null,!1],[!1,"dyne second per centimeter per square meter","dyn.s/(cm.m2)","(DYN.S)/(CM.M2)","force",1,[-2,-1,1,0,0,0,0],"(dyn.s)/(cm.(m2))","cgs",!0,null,null,1,!1,!1,0,"(dyn*s)/(cm*m2); (dyn*s)/(cm*m^2); dyn s per cm per m2; m^2; dyne seconds per centimeters per square meter; centimetres; sq. meter; squared","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,!1],[!1,"dyne second per centimeter","dyn.s/cm","(DYN.S)/CM","force",1,[0,-1,1,0,0,0,0],"(dyn.s)/cm","cgs",!0,null,null,1,!1,!1,0,"(dyn*s)/cm; dyn sec per cm; seconds; centimetre; dyne seconds","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,!1],[!1,"equivalent per liter","eq/L","EQ/L","amount of substance",60221366999999994e10,[-3,0,0,0,0,0,0],"eq/L","chemical",!0,null,null,1,!1,!1,1,"eq/liter; eq/litre; eqs; equivalents per liter; litre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"equivalent per milliliter","eq/mL","EQ/ML","amount of substance",60221367e22,[-3,0,0,0,0,0,0],"eq/mL","chemical",!0,null,null,1,!1,!1,1,"equivalent/milliliter; equivalents per milliliter; eq per mL; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"equivalent per millimole","eq/mmol","EQ/MMOL","amount of substance",1e3,[0,0,0,0,0,0,0],"eq/mmol","chemical",!0,null,null,1,!1,!1,0,"equivalent/millimole; equivalents per millimole; eq per mmol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"equivalent per micromole","eq/umol","EQ/UMOL","amount of substance",1e6,[0,0,0,0,0,0,0],"eq/\u03BCmol","chemical",!0,null,null,1,!1,!1,0,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!0,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,!1,"M",null,1,!1,!1,0,"fg; fgm; femtograms; weight","LOINC","Mass","Clinical","equal to 10^-15 grams",null,null,null,null,!1],[!1,"femtoliter","fL","FL","volume",1e-18,[3,0,0,0,0,0,0],"fL","iso1000",!0,null,null,1,!1,!1,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,!1],[!0,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,!1,"L",null,1,!1,!1,0,"femtometres; femtometers","LOINC","Len","Clinical","equal to 10^-15 meters",null,null,null,null,!1],[!1,"femtomole","fmol","FMOL","amount of substance",602213670,[0,0,0,0,0,0,0],"fmol","si",!0,null,null,1,!1,!1,1,"femtomoles","LOINC","EntSub","Clinical","equal to 10^-15 moles","10*23","10*23","6.0221367",6.0221367,!1],[!1,"femtomole per gram","fmol/g","FMOL/G","amount of substance",602213670,[0,0,-1,0,0,0,0],"fmol/g","si",!0,null,null,1,!1,!1,1,"femtomoles; fmol/gm; fmol per gm","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"femtomole per liter","fmol/L","FMOL/L","amount of substance",60221367e4,[-3,0,0,0,0,0,0],"fmol/L","si",!0,null,null,1,!1,!1,1,"femtomoles; fmol per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"femtomole per milligram","fmol/mg","FMOL/MG","amount of substance",60221367e4,[0,0,-1,0,0,0,0],"fmol/mg","si",!0,null,null,1,!1,!1,1,"fmol per mg; femtomoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"femtomole per milliliter","fmol/mL","FMOL/ML","amount of substance",60221367e7,[-3,0,0,0,0,0,0],"fmol/mL","si",!0,null,null,1,!1,!1,1,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!0,"gram meter","g.m","G.M","mass",1,[1,0,1,0,0,0,0],"g.m",null,!1,"M",null,1,!1,!1,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,!1],[!0,"gram per 100 gram","g/(100.g)","G/G","mass",.01,[0,0,0,0,0,0,0],"g/g",null,!1,"M",null,1,!1,!1,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"gram per 12 hour","g/(12.h)","G/HR","mass",23148148148148147e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 24 hour","g/(24.h)","G/HR","mass",11574074074074073e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; gm/dy; gm per dy; grams per day","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 3 days","g/(3.d)","G/D","mass",3858024691358025e-21,[0,-1,1,0,0,0,0],"g/d",null,!1,"M",null,1,!1,!1,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 4 hour","g/(4.h)","G/HR","mass",6944444444444444e-20,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 48 hour","g/(48.h)","G/HR","mass",5787037037037037e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 5 hour","g/(5.h)","G/HR","mass",5555555555555556e-20,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 6 hour","g/(6.h)","G/HR","mass",46296296296296294e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per 72 hour","g/(72.h)","G/HR","mass",3858024691358025e-21,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per cubic centimeter","g/cm3","G/CM3","mass",999999.9999999999,[-3,0,1,0,0,0,0],"g/(cm3)",null,!1,"M",null,1,!1,!1,0,"g/cm^3; gm per cm3; g per cm^3; grams per centimeter cubed; cu. cm; centimetre; g/mL; gram per milliliter; millilitre","LOINC","MCnc","Clinical","g/cm3 = g/mL",null,null,null,null,!1],[!0,"gram per day","g/d","G/D","mass",11574074074074073e-21,[0,-1,1,0,0,0,0],"g/d",null,!1,"M",null,1,!1,!1,0,"gm/dy; gm per dy; grams per day; gm/24hrs; gm/24 hrs; gm per 24 hrs; 24hrs; grams per 24 hours; serving","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per deciliter","g/dL","G/DL","mass",1e4,[-3,0,1,0,0,0,0],"g/dL",null,!1,"M",null,1,!1,!1,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"gram per gram","g/g","G/G","mass",1,[0,0,0,0,0,0,0],"g/g",null,!1,"M",null,1,!1,!1,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,!1],[!0,"gram per hour","g/h","G/HR","mass",.0002777777777777778,[0,-1,1,0,0,0,0],"g/h",null,!1,"M",null,1,!1,!1,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per hour per square meter","g/h/m2","(G/HR)/M2","mass",.0002777777777777778,[-2,-1,1,0,0,0,0],"(g/h)/(m2)",null,!1,"M",null,1,!1,!1,0,"gm/hr/m2; gm/h/m2; /m^2; sq. m; g per hr per m2; grams per hours per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,!1],[!0,"gram per kilogram","g/kg ","G/KG","mass",.001,[0,0,0,0,0,0,0],"g/kg",null,!1,"M",null,1,!1,!1,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/HR","mass",3472222222222222e-23,[0,-1,0,0,0,0,0],"(g/kg)/h",null,!1,"M",null,1,!1,!1,0,"g/(8.kg.h); gm/kg/8hrs; 8 hrs; g per kg per 8 hrs; 8hrs; grams per kilograms per 8 hours; shift","LOINC","MCntRat; RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a 8 hours, divided by the subject's body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,!1],[!0,"gram per kilogram per day","g/kg/d","(G/KG)/D","mass",11574074074074074e-24,[0,-1,0,0,0,0,0],"(g/kg)/d",null,!1,"M",null,1,!1,!1,0,"g/(kg.d); gm/kg/dy; gm per kg per dy; grams per kilograms per day","LOINC","RelMRat","Clinical","unit often used to describe mass in grams of protein consumed in a day, divided by the subject's body weight in kilograms. Also used to measure mass dose rate per body mass",null,null,null,null,!1],[!0,"gram per kilogram per hour","g/kg/h","(G/KG)/HR","mass",27777777777777776e-23,[0,-1,0,0,0,0,0],"(g/kg)/h",null,!1,"M",null,1,!1,!1,0,"g/(kg.h); g/kg/hr; g per kg per hrs; grams per kilograms per hour","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,!1],[!0,"gram per kilogram per minute","g/kg/min","(G/KG)/MIN","mass",16666666666666667e-21,[0,-1,0,0,0,0,0],"(g/kg)/min",null,!1,"M",null,1,!1,!1,0,"g/(kg.min); g/kg/min; g per kg per min; grams per kilograms per minute","LOINC","MCntRat; RelMRat","Clinical","unit used to measure mass dose rate per body mass",null,null,null,null,!1],[!0,"gram per liter","g/L","G/L","mass",1e3,[-3,0,1,0,0,0,0],"g/L",null,!1,"M",null,1,!1,!1,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"gram per square meter","g/m2","G/M2","mass",1,[-2,0,1,0,0,0,0],"g/(m2)",null,!1,"M",null,1,!1,!1,0,"g/m^2; gram/square meter; g/sq m; g per m2; g per m^2; grams per square meter; meters squared; metre","LOINC","ArMass","Clinical","Tests measure myocardial mass (heart ventricle system) per body surface area; unit used to measure mass dose per body surface area",null,null,null,null,!1],[!0,"gram per milligram","g/mg","G/MG","mass",1e3,[0,0,0,0,0,0,0],"g/mg",null,!1,"M",null,1,!1,!1,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,!1],[!0,"gram per minute","g/min","G/MIN","mass",.016666666666666666,[0,-1,1,0,0,0,0],"g/min",null,!1,"M",null,1,!1,!1,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"gram per milliliter","g/mL","G/ML","mass",1e6,[-3,0,1,0,0,0,0],"g/mL",null,!1,"M",null,1,!1,!1,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"gram per millimole","g/mmol","G/MMOL","mass",16605401866749388e-37,[0,0,1,0,0,0,0],"g/mmol",null,!1,"M",null,1,!1,!1,-1,"grams per millimole; g per mmol","LOINC","Ratio","Clinical","",null,null,null,null,!1],[!1,"joule per liter","J/L","J/L","energy",1e6,[-1,-2,1,0,0,0,0],"J/L","si",!0,null,null,1,!1,!1,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,!1],[!0,"degree Kelvin per Watt","K/W","K/W","temperature",.001,[-2,3,-1,0,1,0,0],"K/W",null,!1,"C",null,1,!1,!1,0,"degree Kelvin/Watt; K per W; thermal ohm; thermal resistance; degrees","LOINC","TempEngRat","Clinical","unit for absolute thermal resistance equal to the reciprocal of thermal conductance. Unit used for tests to measure work of breathing",null,null,null,null,!1],[!1,"kilo international unit per liter","k[IU]/L","K[IU]/L","arbitrary",1e6,[-3,0,0,0,0,0,0],"(ki.U.)/L","chemical",!0,null,null,1,!1,!0,0,"kIU/L; kIU per L; kIU per liter; kilo international units; litre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/L","[iU]","[IU]","1",1,!1],[!1,"kilo international unit per milliliter","k[IU]/mL","K[IU]/ML","arbitrary",1e9,[-3,0,0,0,0,0,0],"(ki.U.)/mL","chemical",!0,null,null,1,!1,!0,0,"kIU/mL; kIU per mL; kIU per milliliter; kilo international units; millilitre; allergens; allergy units","LOINC","ACnc","Clinical","IgE has an WHO reference standard so IgE allergen testing can be reported as k[IU]/mL","[iU]","[IU]","1",1,!1],[!1,"katal per kilogram","kat/kg","KAT/KG","catalytic activity",60221367e13,[0,-1,-1,0,0,0,0],"kat/kg","chemical",!0,null,null,1,!1,!1,1,"kat per kg; katals per kilogram; mol/s/kg; moles per seconds per kilogram","LOINC","CCnt","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"katal per liter","kat/L","KAT/L","catalytic activity",60221366999999994e10,[-3,-1,0,0,0,0,0],"kat/L","chemical",!0,null,null,1,!1,!1,1,"kat per L; katals per liter; litre; mol/s/L; moles per seconds per liter","LOINC","CCnc","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"kilocalorie","kcal","KCAL","energy",4184e3,[2,-2,1,0,0,0,0],"kcal","heat",!0,null,null,1,!1,!1,0,"kilogram calories; large calories; food calories; kcals","LOINC","EngRat","Clinical","It is equal to 1000 calories (equal to 4.184 kJ). But in practical usage, kcal refers to food calories which excludes caloric content in fiber and other constitutes that is not digestible by humans. Also see nutrition label Calories ([Cal])","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per 24 hour","kcal/(24.h)","KCAL/HR","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",!0,null,null,1,!1,!1,0,"kcal/24hrs; kcal/24 hrs; kcal per 24hrs; kilocalories per 24 hours; kilojoules; kJ/24hr; kJ/(24.h); kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","","EngRat","Clinical","","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",!0,null,null,1,!1,!1,0,"kcal/oz; kcal per ozs; large calories per ounces; food calories; servings; international","LOINC","EngCnt","Clinical","used in nutrition to represent calorie of food","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",!0,null,null,1,!1,!1,0,"kcal/dy; kcal per day; kilocalories per days; kilojoules; kJ/dy; kilojoules per days; intake; calories burned; metabolic rate; food calories","LOINC","EngRat","Clinical","unit in nutrition for food intake (measured in calories) in a day","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",!0,null,null,1,!1,!1,0,"kcal/hrs; kcals per hr; intake; kilocalories per hours; kilojoules","LOINC","EngRat","Clinical","used in nutrition to represent caloric requirement or consumption","cal_th","CAL_TH","1",1,!1],[!1,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/HR","energy",.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",!0,null,null,1,!1,!1,0,"kcal/kg/24hrs; 24 hrs; kcal per kg per 24hrs; kilocalories per kilograms per 24 hours; kilojoules","LOINC","EngCntRat","Clinical","used in nutrition to represent caloric requirement per day based on subject's body weight in kilograms","cal_th","CAL_TH","1",1,!1],[!0,"kilogram","kg","KG","mass",1e3,[0,0,1,0,0,0,0],"kg",null,!1,"M",null,1,!1,!1,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,!1],[!0,"kilogram meter per second","kg.m/s","(KG.M)/S","mass",1e3,[1,-1,1,0,0,0,0],"(kg.m)/s",null,!1,"M",null,1,!1,!1,0,"kg*m/s; kg.m per sec; kg*m per sec; p; momentum","LOINC","","Clinical","unit for momentum = mass times velocity",null,null,null,null,!1],[!0,"kilogram per second per square meter","kg/(s.m2)","KG/(S.M2)","mass",1e3,[-2,-1,1,0,0,0,0],"kg/(s.(m2))",null,!1,"M",null,1,!1,!1,0,"kg/(s*m2); kg/(s*m^2); kg per s per m2; per sec; per m^2; kilograms per seconds per square meter; meter squared; metre","LOINC","ArMRat","Clinical","",null,null,null,null,!1],[!0,"kilogram per hour","kg/h","KG/HR","mass",.2777777777777778,[0,-1,1,0,0,0,0],"kg/h",null,!1,"M",null,1,!1,!1,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"kilogram per liter","kg/L","KG/L","mass",1e6,[-3,0,1,0,0,0,0],"kg/L",null,!1,"M",null,1,!1,!1,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"kilogram per square meter","kg/m2","KG/M2","mass",1e3,[-2,0,1,0,0,0,0],"kg/(m2)",null,!1,"M",null,1,!1,!1,0,"kg/m^2; kg/sq. m; kg per m2; per m^2; per sq. m; kilograms; meter squared; metre; BMI","LOINC","Ratio","Clinical","units for body mass index (BMI)",null,null,null,null,!1],[!0,"kilogram per cubic meter","kg/m3","KG/M3","mass",1e3,[-3,0,1,0,0,0,0],"kg/(m3)",null,!1,"M",null,1,!1,!1,0,"kg/m^3; kg/cu. m; kg per m3; per m^3; per cu. m; kilograms; meters cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"kilogram per minute","kg/min","KG/MIN","mass",16.666666666666668,[0,-1,1,0,0,0,0],"kg/min",null,!1,"M",null,1,!1,!1,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"kilogram per mole","kg/mol","KG/MOL","mass",16605401866749388e-37,[0,0,1,0,0,0,0],"kg/mol",null,!1,"M",null,1,!1,!1,-1,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,!1],[!0,"kilogram per second","kg/s","KG/S","mass",1e3,[0,-1,1,0,0,0,0],"kg/s",null,!1,"M",null,1,!1,!1,0,"kg/sec; kilogram/second; kg per sec; kilograms; second","LOINC","MRat","Clinical","",null,null,null,null,!1],[!1,"kiloliter","kL","KL","volume",1,[3,0,0,0,0,0,0],"kL","iso1000",!0,null,null,1,!1,!1,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!0,"kilometer","km","KM","length",1e3,[1,0,0,0,0,0,0],"km",null,!1,"L",null,1,!1,!1,0,"kilometers; kilometres; distance","LOINC","Len","Clinical","",null,null,null,null,!1],[!1,"kilopascal","kPa","KPAL","pressure",1e6,[-1,-2,1,0,0,0,0],"kPa","si",!0,null,null,1,!1,!1,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,!1],[!0,"kilosecond","ks","KS","time",1e3,[0,1,0,0,0,0,0],"ks",null,!1,"T",null,1,!1,!1,0,"kiloseconds; ksec","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"kilo enzyme unit","kU","KU","catalytic activity",100368945e11,[0,-1,0,0,0,0,0],"kU","chemical",!0,null,null,1,!1,!1,1,"units; mmol/min; millimoles per minute","LOINC","CAct","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"kilo enzyme unit per gram","kU/g","KU/G","catalytic activity",100368945e11,[0,-1,-1,0,0,0,0],"kU/g","chemical",!0,null,null,1,!1,!1,1,"units per grams; kU per gm","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"kilo enzyme unit per liter","kU/L","KU/L","catalytic activity",100368945e14,[-3,-1,0,0,0,0,0],"kU/L","chemical",!0,null,null,1,!1,!1,1,"units per liter; litre; enzymatic activity; enzyme activity per volume; activities","LOINC","ACnc; CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"kilo enzyme unit per milliliter","kU/mL","KU/ML","catalytic activity",100368945e17,[-3,-1,0,0,0,0,0],"kU/mL","chemical",!0,null,null,1,!1,!1,1,"kU per mL; units per milliliter; millilitre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 kU = 1 mmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"Liters per 24 hour","L/(24.h)","L/HR","volume",11574074074074074e-24,[3,-1,0,0,0,0,0],"L/h","iso1000",!0,null,null,1,!1,!1,0,"L/24hrs; L/24 hrs; L per 24hrs; liters per 24 hours; day; dy; litres; volume flow rate","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per 8 hour","L/(8.h)","L/HR","volume",3472222222222222e-23,[3,-1,0,0,0,0,0],"L/h","iso1000",!0,null,null,1,!1,!1,0,"L/8hrs; L/8 hrs; L per 8hrs; liters per 8 hours; litres; volume flow rate; shift","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",16666666666666667e-21,[1,-1,0,0,0,0,0],"L/(min.(m2))","iso1000",!0,null,null,1,!1,!1,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,!1],[!1,"Liters per day","L/d","L/D","volume",11574074074074074e-24,[3,-1,0,0,0,0,0],"L/d","iso1000",!0,null,null,1,!1,!1,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per hour","L/h","L/HR","volume",27777777777777776e-23,[3,-1,0,0,0,0,0],"L/h","iso1000",!0,null,null,1,!1,!1,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per kilogram","L/kg","L/KG","volume",1e-6,[3,0,-1,0,0,0,0],"L/kg","iso1000",!0,null,null,1,!1,!1,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,!1],[!1,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",!0,null,null,1,!1,!1,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,!1],[!1,"Liters per minute","L/min","L/MIN","volume",16666666666666667e-21,[3,-1,0,0,0,0,0],"L/min","iso1000",!0,null,null,1,!1,!1,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",16666666666666667e-21,[1,-1,0,0,0,0,0],"(L/min)/(m2)","iso1000",!0,null,null,1,!1,!1,0,"L/(min.m2); L/min/m^2; L/min/sq. meter; L per min per m2; m^2; liters per minutes per square meter; meter squared; litres; metre ","","ArVRat","Clinical","unit for tests that measure cardiac output per body surface area (cardiac index)","l",null,"1",1,!1],[!1,"Liters per second","L/s","L/S","volume",.001,[3,-1,0,0,0,0,0],"L/s","iso1000",!0,null,null,1,!1,!1,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,!1],[!1,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",.001,[3,-3,0,0,0,0,0],"(L/s)/(s2)","iso1000",!0,null,null,1,!1,!1,0,"L/s/s^2; L/sec/sec2; L/sec/sec^2; L/sec/sq. sec; L per s per s2; L per sec per sec2; s^2; sec^2; liters per seconds per square second; second squared; litres ","LOINC","ArVRat","Clinical","unit for tests that measure cardiac output/body surface area","l",null,"1",1,!1],[!1,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m2)","si",!0,null,null,1,!1,!1,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,!1],[!0,"meter per second","m/s","M/S","length",1,[1,-1,0,0,0,0,0],"m/s",null,!1,"L",null,1,!1,!1,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,!1],[!0,"meter per square second","m/s2","M/S2","length",1,[1,-2,0,0,0,0,0],"m/(s2)",null,!1,"L",null,1,!1,!1,0,"m/s^2; m/sq. sec; m per s2; per s^2; meters per square second; second squared; sq second; metres; acceleration","LOINC","Accel","Clinical","unit of acceleration",null,null,null,null,!1],[!1,"milli international unit per liter","m[IU]/L","M[IU]/L","arbitrary",1,[-3,0,0,0,0,0,0],"(mi.U.)/L","chemical",!0,null,null,1,!1,!0,0,"mIU/L; m IU/L; mIU per liter; units; litre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"milli international unit per milliliter","m[IU]/mL","M[IU]/ML","arbitrary",1000.0000000000001,[-3,0,0,0,0,0,0],"(mi.U.)/mL","chemical",!0,null,null,1,!1,!0,0,"mIU/mL; m IU/mL; mIU per mL; milli international units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!0,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m2",null,!1,"L",null,1,!1,!1,0,"m^2; sq m; square meters; meters squared; metres","LOINC","Area","Clinical","unit often used to represent body surface area",null,null,null,null,!1],[!0,"square meter per second","m2/s","M2/S","length",1,[2,-1,0,0,0,0,0],"(m2)/s",null,!1,"L",null,1,!1,!1,0,"m^2/sec; m2 per sec; m^2 per sec; sq m/sec; meters squared/seconds; sq m per sec; meters squared; metres","LOINC","ArRat","Clinical","",null,null,null,null,!1],[!0,"cubic meter per second","m3/s","M3/S","length",1,[3,-1,0,0,0,0,0],"(m3)/s",null,!1,"L",null,1,!1,!1,0,"m^3/sec; m3 per sec; m^3 per sec; cu m/sec; cubic meters per seconds; meters cubed; metres","LOINC","VRat","Clinical","",null,null,null,null,!1],[!1,"milliampere","mA","MA","electric current",.001,[0,-1,0,0,0,1,0],"mA","si",!0,null,null,1,!1,!1,0,"mamp; milliamperes","LOINC","ElpotRat","Clinical","unit of electric current","C/s","C/S","1",1,!1],[!1,"millibar","mbar","MBAR","pressure",1e5,[-1,-2,1,0,0,0,0],"mbar","iso1000",!0,null,null,1,!1,!1,0,"millibars","LOINC","Pres","Clinical","unit of pressure","Pa","PAL","1e5",1e5,!1],[!1,"millibar second per liter","mbar.s/L","(MBAR.S)/L","pressure",1e8,[-4,-1,1,0,0,0,0],"(mbar.s)/L","iso1000",!0,null,null,1,!1,!1,0,"mbar*s/L; mbar.s per L; mbar*s per L; millibar seconds per liter; millibar second per litre","LOINC","","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",1e5,!1],[!1,"millibar per liter per second","mbar/L/s","(MBAR/L)/S","pressure",1e8,[-4,-3,1,0,0,0,0],"(mbar/L)/s","iso1000",!0,null,null,1,!1,!1,0,"mbar/(L.s); mbar/L/sec; mbar/liter/second; mbar per L per sec; mbar per liter per second; millibars per liters per seconds; litres","LOINC","PresCncRat","Clinical","unit to measure expiratory resistance","Pa","PAL","1e5",1e5,!1],[!1,"milliequivalent","meq","MEQ","amount of substance",60221367e13,[0,0,0,0,0,0,0],"meq","chemical",!0,null,null,1,!1,!1,1,"milliequivalents; meqs","LOINC","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per 2 hour","meq/(2.h)","MEQ/HR","amount of substance",836407875e8,[0,-1,0,0,0,0,0],"meq/h","chemical",!0,null,null,1,!1,!1,1,"meq/2hrs; meq/2 hrs; meq per 2 hrs; milliequivalents per 2 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per 24 hour","meq/(24.h)","MEQ/HR","amount of substance",6970065625e6,[0,-1,0,0,0,0,0],"meq/h","chemical",!0,null,null,1,!1,!1,1,"meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per 8 hour","meq/(8.h)","MEQ/HR","amount of substance",20910196875e6,[0,-1,0,0,0,0,0],"meq/h","chemical",!0,null,null,1,!1,!1,1,"meq/8hrs; meq/8 hrs; meq per 8 hrs; milliequivalents per 8 hours; shift","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625e6,[0,-1,0,0,0,0,0],"meq/d","chemical",!0,null,null,1,!1,!1,1,"meq/dy; meq per day; milliquivalents per days; meq/24hrs; meq/24 hrs; meq per 24 hrs; milliequivalents per 24 hours","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6022136699999999e9,[-3,0,0,0,0,0,0],"meq/dL","chemical",!0,null,null,1,!1,!1,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",60221367e13,[0,0,-1,0,0,0,0],"meq/g","chemical",!0,null,null,1,!1,!1,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575e9,[0,-1,0,0,0,0,0],"meq/h","chemical",!0,null,null,1,!1,!1,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"meq/kg","chemical",!0,null,null,1,!1,!1,1,"meq per kg; milliequivalents per kilogram","LOINC","SCnt","Clinical","equivalence equals moles per valence; used to measure dose per patient body mass","mol","MOL","1",1,!1],[!1,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575e6,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",!0,null,null,1,!1,!1,1,"meq/(kg.h); meq/kg/hr; meq per kg per hr; milliequivalents per kilograms per hour","LOINC","SCntRat","Clinical","equivalence equals moles per valence; unit used to measure dose rate per patient body mass","mol","MOL","1",1,!1],[!1,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",60221367e16,[-3,0,0,0,0,0,0],"meq/L","chemical",!0,null,null,1,!1,!1,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",60221367e13,[-2,0,0,0,0,0,0],"meq/(m2)","chemical",!0,null,null,1,!1,!1,1,"meq/m^2; meq/sq. m; milliequivalents per square meter; meter squared; metre","LOINC","ArSub","Clinical","equivalence equals moles per valence; note that the use of m2 in clinical units ofter refers to body surface area","mol","MOL","1",1,!1],[!1,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",100368945e11,[0,-1,0,0,0,0,0],"meq/min","chemical",!0,null,null,1,!1,!1,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!1,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",60221367e19,[-3,0,0,0,0,0,0],"meq/mL","chemical",!0,null,null,1,!1,!1,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,!1],[!0,"milligram","mg","MG","mass",.001,[0,0,1,0,0,0,0],"mg",null,!1,"M",null,1,!1,!1,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,!1],[!0,"milligram per 10 hour","mg/(10.h)","MG/HR","mass",27777777777777777e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per 12 hour","mg/(12.h)","MG/HR","mass",23148148148148148e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/12hrs; mg/12 hrs; per 12 hrs; 12hrs; milligrams per 12 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,!1],[!0,"milligram per 2 hour","mg/(2.h)","MG/HR","mass",13888888888888888e-23,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/2hrs; mg/2 hrs; mg per 2 hrs; 2hrs; milligrams per 2 hours","LOINC","MRat","Clinical","units used for tests in urine",null,null,null,null,!1],[!0,"milligram per 24 hour","mg/(24.h)","MG/HR","mass",11574074074074074e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/kg/dy; mg per kg per day; milligrams per kilograms per days","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per 6 hour","mg/(6.h)","MG/HR","mass",46296296296296295e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per 72 hour","mg/(72.h)","MG/HR","mass",3858024691358025e-24,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per 8 hour","mg/(8.h)","MG/HR","mass",3472222222222222e-23,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per day","mg/d","MG/D","mass",11574074074074074e-24,[0,-1,1,0,0,0,0],"mg/d",null,!1,"M",null,1,!1,!1,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per deciliter","mg/dL","MG/DL","mass",10,[-3,0,1,0,0,0,0],"mg/dL",null,!1,"M",null,1,!1,!1,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"milligram per gram","mg/g","MG/G","mass",.001,[0,0,0,0,0,0,0],"mg/g",null,!1,"M",null,1,!1,!1,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,!1],[!0,"milligram per hour","mg/h","MG/HR","mass",27777777777777776e-23,[0,-1,1,0,0,0,0],"mg/h",null,!1,"M",null,1,!1,!1,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per kilogram","mg/kg","MG/KG","mass",1e-6,[0,0,0,0,0,0,0],"mg/kg",null,!1,"M",null,1,!1,!1,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/HR","mass",3472222222222222e-26,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,!1,"M",null,1,!1,!1,0,"mg/(8.h.kg); mg/kg/8hrs; mg/kg/8 hrs; mg per kg per 8hrs; 8 hrs; milligrams per kilograms per 8 hours; shift","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"milligram per kilogram per day","mg/kg/d","(MG/KG)/D","mass",11574074074074074e-27,[0,-1,0,0,0,0,0],"(mg/kg)/d",null,!1,"M",null,1,!1,!1,0,"mg/(kg.d); mg/(kg.24.h)mg/kg/dy; mg per kg per day; milligrams per kilograms per days; mg/kg/(24.h); mg/kg/24hrs; 24 hrs; 24 hours","LOINC","RelMRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"milligram per kilogram per hour","mg/kg/h","(MG/KG)/HR","mass",27777777777777777e-26,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,!1,"M",null,1,!1,!1,0,"mg/(kg.h); mg/kg/hr; mg per kg per hr; milligrams per kilograms per hour","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"milligram per kilogram per minute","mg/kg/min","(MG/KG)/MIN","mass",16666666666666667e-24,[0,-1,0,0,0,0,0],"(mg/kg)/min",null,!1,"M",null,1,!1,!1,0,"mg/(kg.min); mg per kg per min; milligrams per kilograms per minute","LOINC","RelMRat; MCntRat","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"milligram per liter","mg/L","MG/L","mass",1,[-3,0,1,0,0,0,0],"mg/L",null,!1,"M",null,1,!1,!1,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"milligram per square meter","mg/m2","MG/M2","mass",.001,[-2,0,1,0,0,0,0],"mg/(m2)",null,!1,"M",null,1,!1,!1,0,"mg/m^2; mg/sq. m; mg per m2; mg per m^2; mg per sq. milligrams; meter squared; metre","LOINC","ArMass","Clinical","",null,null,null,null,!1],[!0,"milligram per cubic meter","mg/m3","MG/M3","mass",.001,[-3,0,1,0,0,0,0],"mg/(m3)",null,!1,"M",null,1,!1,!1,0,"mg/m^3; mg/cu. m; mg per m3; milligrams per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"milligram per milligram","mg/mg","MG/MG","mass",1,[0,0,0,0,0,0,0],"mg/mg",null,!1,"M",null,1,!1,!1,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,!1],[!0,"milligram per minute","mg/min","MG/MIN","mass",16666666666666667e-21,[0,-1,1,0,0,0,0],"mg/min",null,!1,"M",null,1,!1,!1,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"milligram per milliliter","mg/mL","MG/ML","mass",1000.0000000000001,[-3,0,1,0,0,0,0],"mg/mL",null,!1,"M",null,1,!1,!1,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"milligram per millimole","mg/mmol","MG/MMOL","mass",1660540186674939e-39,[0,0,1,0,0,0,0],"mg/mmol",null,!1,"M",null,1,!1,!1,-1,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,!1],[!0,"milligram per week","mg/wk","MG/WK","mass",16534391534391535e-25,[0,-1,1,0,0,0,0],"mg/wk",null,!1,"M",null,1,!1,!1,0,"mg/week; mg per wk; milligrams per weeks; milligram/week","LOINC","Mrat","Clinical","",null,null,null,null,!1],[!1,"milliliter","mL","ML","volume",1e-6,[3,0,0,0,0,0,0],"mL","iso1000",!0,null,null,1,!1,!1,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 10 hour","mL/(10.h)","ML/HR","volume",27777777777777777e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 12 hour","mL/(12.h)","ML/HR","volume",23148148148148147e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 2 hour","mL/(2.h)","ML/HR","volume",13888888888888888e-26,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 24 hour","mL/(24.h)","ML/HR","volume",11574074074074074e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/24hrs; ml/24 hrs; mL per 24hrs; 24 hrs; milliliters per 24 hours; millilitres; ml/dy; /day; ml per dy; days; fluid outputs; fluid inputs; flow rate","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 4 hour","mL/(4.h)","ML/HR","volume",6944444444444444e-26,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 5 hour","mL/(5.h)","ML/HR","volume",55555555555555553e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 6 hour","mL/(6.h)","ML/HR","volume",46296296296296294e-27,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 72 hour","mL/(72.h)","ML/HR","volume",38580246913580245e-28,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 8 hour","mL/(8.h)","ML/HR","volume",3472222222222222e-26,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/HR)/KG","volume",3472222222222222e-29,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",!0,null,null,1,!1,!1,0,"mL/kg/(8.h); ml/8h/kg; ml/8 h/kg; ml/8hr/kg; ml/8 hr/kgr; mL per 8h per kg; 8 h; 8hr; 8 hr; milliliters per 8 hours per kilogram; millilitres; shift","LOINC","VRatCnt","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,!1],[!1,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",!0,null,null,1,!1,!1,0,"mL/sin; mL/in2; mL/in^2; mL per sin; in2; in^2; sq. in; milliliters per square inch; inch squared","LOINC","ArVol","Clinical","","l",null,"1",1,!1],[!1,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",10197162129779282e-27,[4,2,-1,0,0,0,0],"mL/(cm\xA0HO2)","iso1000",!0,null,null,1,!1,!1,0,"milliliters per centimeter of water; millilitre per centimetre of water; millilitres per centimetre of water; mL/cmH2O; mL/cm H2O; mL per cmH2O; mL per cm H2O","LOINC","Compli","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,!1],[!1,"milliliter per day","mL/d","ML/D","volume",11574074074074074e-27,[3,-1,0,0,0,0,0],"mL/d","iso1000",!0,null,null,1,!1,!1,0,"ml/day; ml per day; milliliters per day; 24 hours; 24hrs; millilitre;","LOINC","VRat","Clinical","usually used to measure fluid output or input; flow rate","l",null,"1",1,!1],[!1,"milliliter per deciliter","mL/dL","ML/DL","volume",.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",!0,null,null,1,!1,!1,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,!1],[!1,"milliliter per hour","mL/h","ML/HR","volume",27777777777777777e-26,[3,-1,0,0,0,0,0],"mL/h","iso1000",!0,null,null,1,!1,!1,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per kilogram","mL/kg","ML/KG","volume",9999999999999999e-25,[3,0,-1,0,0,0,0],"mL/kg","iso1000",!0,null,null,1,!1,!1,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,!1],[!1,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/HR","volume",3472222222222222e-29,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",!0,null,null,1,!1,!1,0,"mL/(8.h.kg); mL/kg/8hrs; mL/kg/8 hrs; mL per kg per 8hrs; 8 hrs; milliliters per kilograms per 8 hours; millilitres; shift","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,!1],[!1,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",11574074074074072e-30,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",!0,null,null,1,!1,!1,0,"mL/(kg.d); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; mg/kg/24hrs; 24 hrs; per 24 hours millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,!1],[!1,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",27777777777777774e-29,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",!0,null,null,1,!1,!1,0,"mL/(kg.h); mL/kg/hr; mL per kg per hr; milliliters per kilograms per hour; millilitres","LOINC","VCntRat; RelEngRat","Clinical","unit used to measure renal excretion volume rate per body mass","l",null,"1",1,!1],[!1,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",16666666666666664e-27,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",!0,null,null,1,!1,!1,0,"mL/(kg.min); mL/kg/dy; mL per kg per day; milliliters per kilograms per day; millilitres","LOINC","RelEngRat","Clinical","used for tests that measure activity metabolic rate compared to standard resting metabolic rate ","l",null,"1",1,!1],[!1,"milliliter per square meter","mL/m2","ML/M2","volume",1e-6,[1,0,0,0,0,0,0],"mL/(m2)","iso1000",!0,null,null,1,!1,!1,0,"mL/m^2; mL/sq. meter; mL per m2; m^2; sq. meter; milliliters per square meter; millilitres; meter squared","LOINC","ArVol","Clinical","used for tests that relate to heart work - e.g. ventricular stroke volume; atrial volume per body surface area","l",null,"1",1,!1],[!1,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",!0,null,null,1,!1,!1,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,!1],[!1,"milliliter per minute","mL/min","ML/MIN","volume",16666666666666667e-24,[3,-1,0,0,0,0,0],"mL/min","iso1000",!0,null,null,1,!1,!1,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",16666666666666667e-24,[1,-1,0,0,0,0,0],"(mL/min)/(m2)","iso1000",!0,null,null,1,!1,!1,0,"ml/min/m^2; ml/min/sq. meter; mL per min per m2; m^2; sq. meter; milliliters per minutes per square meter; millilitres; metre; meter squared","LOINC","ArVRat","Clinical","unit used to measure volume per body surface area; oxygen consumption index","l",null,"1",1,!1],[!1,"milliliter per millimeter","mL/mm","ML/MM","volume",.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",!0,null,null,1,!1,!1,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,!1],[!1,"milliliter per second","mL/s","ML/S","volume",1e-6,[3,-1,0,0,0,0,0],"mL/s","iso1000",!0,null,null,1,!1,!1,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,!1],[!0,"millimeter","mm","MM","length",.001,[1,0,0,0,0,0,0],"mm",null,!1,"L",null,1,!1,!1,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,!1],[!0,"millimeter per hour","mm/h","MM/HR","length",27777777777777776e-23,[1,-1,0,0,0,0,0],"mm/h",null,!1,"L",null,1,!1,!1,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,!1],[!0,"millimeter per minute","mm/min","MM/MIN","length",16666666666666667e-21,[1,-1,0,0,0,0,0],"mm/min",null,!1,"L",null,1,!1,!1,0,"mm per min; millimeters per minute; millimetres","LOINC","Vel","Clinical","",null,null,null,null,!1],[!1,"millimeter of water","mm[H2O]","MM[H2O]","pressure",9806.65,[-1,-2,1,0,0,0,0],"mm\xA0HO2","clinical",!0,null,null,1,!1,!1,0,"mmH2O; mm H2O; millimeters of water; millimetres","LOINC","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,!1],[!1,"millimeter of mercury","mm[Hg]","MM[HG]","pressure",133322,[-1,-2,1,0,0,0,0],"mm\xA0Hg","clinical",!0,null,null,1,!1,!1,0,"mmHg; mm Hg; millimeters of mercury; millimetres","LOINC","Pres; PPres; Ratio","Clinical","1 mm[Hg] = 1 torr; unit to measure blood pressure","kPa","KPAL","133.3220",133.322,!1],[!0,"square millimeter","mm2","MM2","length",1e-6,[2,0,0,0,0,0,0],"mm2",null,!1,"L",null,1,!1,!1,0,"mm^2; sq. mm.; sq. millimeters; millimeters squared; millimetres","LOINC","Area","Clinical","",null,null,null,null,!1],[!1,"millimole","mmol","MMOL","amount of substance",60221367e13,[0,0,0,0,0,0,0],"mmol","si",!0,null,null,1,!1,!1,1,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 12 hour","mmol/(12.h)","MMOL/HR","amount of substance",1394013125e7,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/12hrs; mmol/12 hrs; mmol per 12 hrs; 12hrs; millimoles per 12 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 2 hour","mmol/(2.h)","MMOL/HR","amount of substance",836407875e8,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/2hrs; mmol/2 hrs; mmol per 2 hrs; 2hrs; millimoles per 2 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 24 hour","mmol/(24.h)","MMOL/HR","amount of substance",6970065625e6,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 5 hour","mmol/(5.h)","MMOL/HR","amount of substance",33456315e9,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/5hrs; mmol/5 hrs; mmol per 5 hrs; 5hrs; millimoles per 5 hours","LOINC","SRat","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 6 hour","mmol/(6.h)","MMOL/HR","amount of substance",278802625e8,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/6hrs; mmol/6 hrs; mmol per 6 hrs; 6hrs; millimoles per 6 hours","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per 8 hour","mmol/(8.h)","MMOL/HR","amount of substance",20910196875e6,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/8hrs; mmol/8 hrs; mmol per 8 hrs; 8hrs; millimoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625e6,[0,-1,0,0,0,0,0],"mmol/d","si",!0,null,null,1,!1,!1,1,"mmol/24hrs; mmol/24 hrs; mmol per 24 hrs; 24hrs; millimoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6022136699999999e9,[-3,0,0,0,0,0,0],"mmol/dL","si",!0,null,null,1,!1,!1,1,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per gram","mmol/g","MMOL/G","amount of substance",60221367e13,[0,0,-1,0,0,0,0],"mmol/g","si",!0,null,null,1,!1,!1,1,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575e9,[0,-1,0,0,0,0,0],"mmol/h","si",!0,null,null,1,!1,!1,1,"mmol/hr; mmol per hr; millimoles per hour","LOINC","SRat","Clinical","unit for tests related to urine","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"mmol/kg","si",!0,null,null,1,!1,!1,1,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/HR","amount of substance",20910196875e3,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",!0,null,null,1,!1,!1,1,"mmol/(8.h.kg); mmol/kg/8hrs; mmol/kg/8 hrs; mmol per kg per 8hrs; 8 hrs; millimoles per kilograms per 8 hours; shift","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625e3,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",!0,null,null,1,!1,!1,1,"mmol/kg/dy; mmol/kg/day; mmol per kg per dy; millimoles per kilograms per day","LOINC","RelSRat","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575e6,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",!0,null,null,1,!1,!1,1,"mmol/kg/hr; mmol per kg per hr; millimoles per kilograms per hour","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",100368945e8,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",!0,null,null,1,!1,!1,1,"mmol/(kg.min); mmol/kg/min; mmol per kg per min; millimoles per kilograms per minute","LOINC","CCnt","Clinical","unit used to measure molar dose rate per patient body mass; note that the unit for the enzyme unit U = umol/min. mmol/kg/min = kU/kg; ","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per liter","mmol/L","MMOL/L","amount of substance",60221367e16,[-3,0,0,0,0,0,0],"mmol/L","si",!0,null,null,1,!1,!1,1,"mmol per L; millimoles per liter; litre","LOINC","SCnc","Clinical","unit for tests related to doses","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",60221367e13,[-2,0,0,0,0,0,0],"mmol/(m2)","si",!0,null,null,1,!1,!1,1,"mmol/m^2; mmol/sq. meter; mmol per m2; m^2; sq. meter; millimoles; meter squared; metre","LOINC","ArSub","Clinical","unit used to measure molar dose per patient body surface area","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",100368945e11,[0,-1,0,0,0,0,0],"mmol/min","si",!0,null,null,1,!1,!1,1,"mmol per min; millimoles per minute","LOINC","Srat; CAct","Clinical","unit for the enzyme unit U = umol/min. mmol/min = kU","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",!0,null,null,1,!1,!1,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",.001,[0,0,0,0,0,0,0],"mmol/mol","si",!0,null,null,1,!1,!1,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",60221367e16,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",!0,null,null,1,!1,!1,1,"mmol/sec/L; mmol per s per L; per sec; millimoles per seconds per liter; litre","LOINC","CCnc ","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per kilogram","mol/kg","MOL/KG","amount of substance",60221367e13,[0,0,-1,0,0,0,0],"mol/kg","si",!0,null,null,1,!1,!1,1,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",60221367e13,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",!0,null,null,1,!1,!1,1,"mol/kg/sec; mol per kg per sec; moles per kilograms per second; mols","LOINC","CCnt","Clinical","unit of catalytic activity (mol/s) per mass (kg)","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per liter","mol/L","MOL/L","amount of substance",60221366999999994e10,[-3,0,0,0,0,0,0],"mol/L","si",!0,null,null,1,!1,!1,1,"mol per L; moles per liter; litre; moles; mols","LOINC","SCnc","Clinical","unit often used in tests measuring oxygen content","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",60221367e16,[-3,0,0,0,0,0,0],"mol/(m3)","si",!0,null,null,1,!1,!1,1,"mol/m^3; mol/cu. m; mol per m3; m^3; cu. meter; mols; moles; meters cubed; metre; mole per kiloliter; kilolitre; mol/kL","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per milliliter","mol/mL","MOL/ML","amount of substance",60221367e22,[-3,0,0,0,0,0,0],"mol/mL","si",!0,null,null,1,!1,!1,1,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",!0,null,null,1,!1,!1,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"mole per second","mol/s","MOL/S","amount of substance",60221367e16,[0,-1,0,0,0,0,0],"mol/s","si",!0,null,null,1,!1,!1,1,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",60221367e13,[0,0,0,0,0,0,0],"mosm","chemical",!0,null,null,1,!1,!1,1,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,!1],[!1,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",60221367e10,[0,0,-1,0,0,0,0],"mosm/kg","chemical",!0,null,null,1,!1,!1,1,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,!1],[!1,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",60221367e16,[-3,0,0,0,0,0,0],"mosm/L","chemical",!0,null,null,1,!1,!1,1,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,!1],[!1,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",!0,null,null,1,!1,!1,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,!1],[!1,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",!0,null,null,1,!1,!1,0,"mPa*s; millipoise; mP; dynamic viscosity","LOINC","Visc","Clinical","base units for millipoise, a measurement of dynamic viscosity","N/m2","N/M2","1",1,!1],[!0,"megasecond","Ms","MAS","time",1e6,[0,1,0,0,0,0,0],"Ms",null,!1,"T",null,1,!1,!1,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,!1],[!0,"millisecond","ms","MS","time",.001,[0,1,0,0,0,0,0],"ms",null,!1,"T",null,1,!1,!1,0,"milliseconds; duration","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"milli enzyme unit per gram","mU/g","MU/G","catalytic activity",100368945e5,[0,-1,-1,0,0,0,0],"mU/g","chemical",!0,null,null,1,!1,!1,1,"mU per gm; milli enzyme units per gram; enzyme activity; enzymatic activity per mass","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"milli enzyme unit per liter","mU/L","MU/L","catalytic activity",100368945e8,[-3,-1,0,0,0,0,0],"mU/L","chemical",!0,null,null,1,!1,!1,1,"mU per liter; litre; milli enzyme units enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"milli enzyme unit per milligram","mU/mg","MU/MG","catalytic activity",100368945e8,[0,-1,-1,0,0,0,0],"mU/mg","chemical",!0,null,null,1,!1,!1,1,"mU per mg; milli enzyme units per milligram","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"milli enzyme unit per milliliter","mU/mL","MU/ML","catalytic activity",100368945e11,[-3,-1,0,0,0,0,0],"mU/mL","chemical",!0,null,null,1,!1,!1,1,"mU per mL; milli enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"milli enzyme unit per milliliter per minute","mU/mL/min","(MU/ML)/MIN","catalytic activity",167281575e9,[-3,-2,0,0,0,0,0],"(mU/mL)/min","chemical",!0,null,null,1,!1,!1,1,"mU per mL per min; mU per milliliters per minute; millilitres; milli enzyme units; enzymatic activity; enzyme activity","LOINC","CCncRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 mU = 1 nmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"millivolt","mV","MV","electric potential",1,[2,-2,1,0,0,-1,0],"mV","si",!0,null,null,1,!1,!1,0,"millivolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,!1],[!1,"Newton centimeter","N.cm","N.CM","force",10,[2,-2,1,0,0,0,0],"N.cm","si",!0,null,null,1,!1,!1,0,"N*cm; Ncm; N cm; Newton*centimeters; Newton* centimetres; torque; work","LOINC","","Clinical",`as a measurement of work, N.cm = 1/100 Joules; +note that N.m is the standard unit of measurement for torque (although dimensionally equivalent to Joule), and N.cm can also be thought of as a torqe unit`,"kg.m/s2","KG.M/S2","1",1,!1],[!1,"Newton second","N.s","N.S","force",1e3,[1,-1,1,0,0,0,0],"N.s","si",!0,null,null,1,!1,!1,0,"Newton*seconds; N*s; N s; Ns; impulse; imp","LOINC","","Clinical","standard unit of impulse","kg.m/s2","KG.M/S2","1",1,!1],[!0,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,!1,"M",null,1,!1,!1,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,!1],[!0,"nanogram per 24 hour","ng/(24.h)","NG/HR","mass",11574074074074075e-30,[0,-1,1,0,0,0,0],"ng/h",null,!1,"M",null,1,!1,!1,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per 8 hour","ng/(8.h)","NG/HR","mass",34722222222222224e-30,[0,-1,1,0,0,0,0],"ng/h",null,!1,"M",null,1,!1,!1,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per million","ng/10*6","NG/(10*6)","mass",1e-15,[0,0,1,0,0,0,0],"ng/(106)",null,!1,"M",null,1,!1,!1,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,!1],[!0,"nanogram per day","ng/d","NG/D","mass",11574074074074075e-30,[0,-1,1,0,0,0,0],"ng/d",null,!1,"M",null,1,!1,!1,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per deciliter","ng/dL","NG/DL","mass",1e-5,[-3,0,1,0,0,0,0],"ng/dL",null,!1,"M",null,1,!1,!1,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"nanogram per gram","ng/g","NG/G","mass",1e-9,[0,0,0,0,0,0,0],"ng/g",null,!1,"M",null,1,!1,!1,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"nanogram per hour","ng/h","NG/HR","mass",2777777777777778e-28,[0,-1,1,0,0,0,0],"ng/h",null,!1,"M",null,1,!1,!1,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per kilogram","ng/kg","NG/KG","mass",1e-12,[0,0,0,0,0,0,0],"ng/kg",null,!1,"M",null,1,!1,!1,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/HR","mass",3472222222222222e-32,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,!1,"M",null,1,!1,!1,0,"ng/(8.h.kg); ng/kg/8hrs; ng/kg/8 hrs; ng per kg per 8hrs; 8 hrs; nanograms per kilograms per 8 hours; shift","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"nanogram per kilogram per hour","ng/kg/h","(NG/KG)/HR","mass",27777777777777775e-32,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,!1,"M",null,1,!1,!1,0,"ng/(kg.h); ng/kg/hr; ng per kg per hr; nanograms per kilograms per hour","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"nanogram per kilogram per minute","ng/kg/min","(NG/KG)/MIN","mass",16666666666666667e-30,[0,-1,0,0,0,0,0],"(ng/kg)/min",null,!1,"M",null,1,!1,!1,0,"ng/(kg.min); ng per kg per min; nanograms per kilograms per minute","LOINC","MRtoRat ","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"nanogram per liter","ng/L","NG/L","mass",1e-6,[-3,0,1,0,0,0,0],"ng/L",null,!1,"M",null,1,!1,!1,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"nanogram per square meter","ng/m2","NG/M2","mass",1e-9,[-2,0,1,0,0,0,0],"ng/(m2)",null,!1,"M",null,1,!1,!1,0,"ng/m^2; ng/sq. m; ng per m2; m^2; sq. meter; nanograms; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,!1],[!0,"nanogram per milligram","ng/mg","NG/MG","mass",1e-6,[0,0,0,0,0,0,0],"ng/mg",null,!1,"M",null,1,!1,!1,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"nanogram per milligram per hour","ng/mg/h","(NG/MG)/HR","mass",27777777777777777e-26,[0,-1,0,0,0,0,0],"(ng/mg)/h",null,!1,"M",null,1,!1,!1,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,!1],[!0,"nanogram per minute","ng/min","NG/MIN","mass",16666666666666667e-27,[0,-1,1,0,0,0,0],"ng/min",null,!1,"M",null,1,!1,!1,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per millliiter","ng/mL","NG/ML","mass",.001,[-3,0,1,0,0,0,0],"ng/mL",null,!1,"M",null,1,!1,!1,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"nanogram per milliliter per hour","ng/mL/h","(NG/ML)/HR","mass",27777777777777776e-23,[-3,-1,1,0,0,0,0],"(ng/mL)/h",null,!1,"M",null,1,!1,!1,0,"ng/mL/hr; ng per mL per mL; nanograms per milliliter per hour; nanogram per millilitre per hour; nanograms per millilitre per hour; enzymatic activity per volume; enzyme activity per milliliters","LOINC","CCnc","Clinical","tests that measure enzymatic activity",null,null,null,null,!1],[!0,"nanogram per second","ng/s","NG/S","mass",1e-9,[0,-1,1,0,0,0,0],"ng/s",null,!1,"M",null,1,!1,!1,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"nanogram per enzyme unit","ng/U","NG/U","mass",9963241120049634e-41,[0,1,1,0,0,0,0],"ng/U",null,!1,"M",null,1,!1,!1,-1,"ng per U; nanograms per enzyme unit","LOINC","CMass","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)",null,null,null,null,!1],[!1,"nanokatal","nkat","NKAT","catalytic activity",60221367e7,[0,-1,0,0,0,0,0],"nkat","chemical",!0,null,null,1,!1,!1,1,"nanokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"nanoliter","nL","NL","volume",10000000000000002e-28,[3,0,0,0,0,0,0],"nL","iso1000",!0,null,null,1,!1,!1,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!0,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,!1,"L",null,1,!1,!1,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,!1],[!0,"nanometer per second per liter","nm/s/L","(NM/S)/L","length",1e-6,[-2,-1,0,0,0,0,0],"(nm/s)/L",null,!1,"L",null,1,!1,!1,0,"nm/sec/liter; nm/sec/litre; nm per s per l; nm per sec per l; nanometers per second per liter; nanometre per second per litre; nanometres per second per litre","LOINC","VelCnc","Clinical","",null,null,null,null,!1],[!1,"nanomole","nmol","NMOL","amount of substance",60221367e7,[0,0,0,0,0,0,0],"nmol","si",!0,null,null,1,!1,!1,1,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per 24 hour","nmol/(24.h)","NMOL/HR","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",!0,null,null,1,!1,!1,1,"nmol/24hr; nmol/24 hr; nanomoles per 24 hours; nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per day","nmol/d","NMOL/D","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/d","si",!0,null,null,1,!1,!1,1,"nmol/day; nanomoles per day; nmol per day; nanomole/day; nanomol/day; nmol/24hr; nmol/24 hr; nanomoles per 24 hours; ","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per deciliter","nmol/dL","NMOL/DL","amount of substance",60221367e11,[-3,0,0,0,0,0,0],"nmol/dL","si",!0,null,null,1,!1,!1,1,"nmol per dL; nanomoles per deciliter; nanomole per decilitre; nanomoles per decilitre; nanomole/deciliter; nanomole/decilitre; nanomol/deciliter; nanomol/decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per gram","nmol/g","NMOL/G","amount of substance",60221367e7,[0,0,-1,0,0,0,0],"nmol/g","si",!0,null,null,1,!1,!1,1,"nmol per gram; nanomoles per gram; nanomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per hour per liter","nmol/h/L","(NMOL/HR)/L","amount of substance",167281575e6,[-3,-1,0,0,0,0,0],"(nmol/h)/L","si",!0,null,null,1,!1,!1,1,"nmol/hrs/L; nmol per hrs per L; nanomoles per hours per liter; litre; enzymatic activity per volume; enzyme activities","LOINC","CCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per liter","nmol/L","NMOL/L","amount of substance",60221367e10,[-3,0,0,0,0,0,0],"nmol/L","si",!0,null,null,1,!1,!1,1,"nmol per L; nanomoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milligram","nmol/mg","NMOL/MG","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"nmol/mg","si",!0,null,null,1,!1,!1,1,"nmol per mg; nanomoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milligram per hour","nmol/mg/h","(NMOL/MG)/HR","amount of substance",167281575e6,[0,-1,-1,0,0,0,0],"(nmol/mg)/h","si",!0,null,null,1,!1,!1,1,"nmol/mg/hr; nmol per mg per hr; nanomoles per milligrams per hour","LOINC","SCntRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milligram of protein","nmol/mg{prot}","NMOL/MG","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"nmol/mg","si",!0,null,null,1,!1,!1,1,"nanomoles; nmol/mg prot; nmol per mg prot","LOINC","Ratio; CCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per minute","nmol/min","NMOL/MIN","amount of substance",100368945e5,[0,-1,0,0,0,0,0],"nmol/min","si",!0,null,null,1,!1,!1,1,"nmol per min; nanomoles per minute; milli enzyme units; enzyme activity per volume; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/min = mU (milli enzyme unit)","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per minute per milliliter","nmol/min/mL","(NMOL/MIN)/ML","amount of substance",100368945e11,[-3,-1,0,0,0,0,0],"(nmol/min)/mL","si",!0,null,null,1,!1,!1,1,"nmol per min per mL; nanomoles per minutes per milliliter; millilitre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milliliter","nmol/mL","NMOL/ML","amount of substance",60221367e13,[-3,0,0,0,0,0,0],"nmol/mL","si",!0,null,null,1,!1,!1,1,"nmol per mL; nanomoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milliliter per hour","nmol/mL/h","(NMOL/ML)/HR","amount of substance",167281575e9,[-3,-1,0,0,0,0,0],"(nmol/mL)/h","si",!0,null,null,1,!1,!1,1,"nmol/mL/hr; nmol per mL per hr; nanomoles per milliliters per hour; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per milliliter per minute","nmol/mL/min","(NMOL/ML)/MIN","amount of substance",100368945e11,[-3,-1,0,0,0,0,0],"(nmol/mL)/min","si",!0,null,null,1,!1,!1,1,"nmol per mL per min; nanomoles per milliliters per min; millilitres; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. nmol/mL/min = mU/mL","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per millimole","nmol/mmol","NMOL/MMOL","amount of substance",1e-6,[0,0,0,0,0,0,0],"nmol/mmol","si",!0,null,null,1,!1,!1,0,"nmol per mmol; nanomoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per millimole of creatinine","nmol/mmol{creat}","NMOL/MMOL","amount of substance",1e-6,[0,0,0,0,0,0,0],"nmol/mmol","si",!0,null,null,1,!1,!1,0,"nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per mole","nmol/mol","NMOL/MOL","amount of substance",1e-9,[0,0,0,0,0,0,0],"nmol/mol","si",!0,null,null,1,!1,!1,0,"nmol per mole; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per nanomole","nmol/nmol","NMOL/NMOL","amount of substance",1,[0,0,0,0,0,0,0],"nmol/nmol","si",!0,null,null,1,!1,!1,0,"nmol per nmol; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per second","nmol/s","NMOL/S","amount of substance",60221367e7,[0,-1,0,0,0,0,0],"nmol/s","si",!0,null,null,1,!1,!1,1,"nmol/sec; nmol per sec; nanomoles per sercond; milli enzyme units; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,!1],[!1,"nanomole per second per liter","nmol/s/L","(NMOL/S)/L","amount of substance",60221367e10,[-3,-1,0,0,0,0,0],"(nmol/s)/L","si",!0,null,null,1,!1,!1,1,"nmol/sec/L; nmol per s per L; nmol per sec per L; nanomoles per seconds per liter; litre; milli enzyme units per volume; enzyme activity; enzymatic activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min.","10*23","10*23","6.0221367",6.0221367,!1],[!0,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,!1,"T",null,1,!1,!1,0,"nanoseconds","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"nanoenzyme unit per milliliter","nU/mL","NU/ML","catalytic activity",100368945e5,[-3,-1,0,0,0,0,0],"nU/mL","chemical",!0,null,null,1,!1,!1,1,"nU per mL; nanoenzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 fU = pmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"Ohm meter","Ohm.m","OHM.M","electric resistance",1e3,[3,-1,1,0,0,-2,0],"\u03A9.m","si",!0,null,null,1,!1,!1,0,"electric resistivity; meters; metres","LOINC","","Clinical","unit of electric resistivity","V/A","V/A","1",1,!1],[!1,"osmole per kilogram","osm/kg","OSM/KG","amount of substance (dissolved particles)",60221367e13,[0,0,-1,0,0,0,0],"osm/kg","chemical",!0,null,null,1,!1,!1,1,"osm per kg; osmoles per kilogram; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,!1],[!1,"osmole per liter","osm/L","OSM/L","amount of substance (dissolved particles)",60221366999999994e10,[-3,0,0,0,0,0,0],"osm/L","chemical",!0,null,null,1,!1,!1,1,"osm per L; osmoles per liter; litre; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,!1],[!1,"picoampere","pA","PA","electric current",1e-12,[0,-1,0,0,0,1,0],"pA","si",!0,null,null,1,!1,!1,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,!1],[!0,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,!1,"M",null,1,!1,!1,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,!1],[!0,"picogram per deciliter","pg/dL","PG/DL","mass",9999999999999999e-24,[-3,0,1,0,0,0,0],"pg/dL",null,!1,"M",null,1,!1,!1,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"picogram per liter","pg/L","PG/L","mass",1e-9,[-3,0,1,0,0,0,0],"pg/L",null,!1,"M",null,1,!1,!1,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"picogram per milligram","pg/mg","PG/MG","mass",1e-9,[0,0,0,0,0,0,0],"pg/mg",null,!1,"M",null,1,!1,!1,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"picogram per milliliter","pg/mL","PG/ML","mass",1e-6,[-3,0,1,0,0,0,0],"pg/mL",null,!1,"M",null,1,!1,!1,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"picogram per millimeter","pg/mm","PG/MM","mass",1e-9,[-1,0,1,0,0,0,0],"pg/mm",null,!1,"M",null,1,!1,!1,0,"pg per mm; picogram/millimeter; picogram/millimetre; picograms per millimeter; millimetre","LOINC","Lineic Mass","Clinical","",null,null,null,null,!1],[!1,"picokatal","pkat","PKAT","catalytic activity",60221367e4,[0,-1,0,0,0,0,0],"pkat","chemical",!0,null,null,1,!1,!1,1,"pkats; picokatals","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"picoliter","pL","PL","volume",1e-15,[3,0,0,0,0,0,0],"pL","iso1000",!0,null,null,1,!1,!1,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!0,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,!1,"L",null,1,!1,!1,0,"picometers; picometres","LOINC","Len","Clinical","",null,null,null,null,!1],[!1,"picomole","pmol","PMOL","amount of substance",60221367e4,[0,0,0,0,0,0,0],"pmol","si",!0,null,null,1,!1,!1,1,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per 24 hour","pmol/(24.h)","PMOL/HR","amount of substance",6970065625e-3,[0,-1,0,0,0,0,0],"pmol/h","si",!0,null,null,1,!1,!1,1,"pmol/24hrs; pmol/24 hrs; pmol per 24 hrs; 24hrs; days; dy; picomoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per day","pmol/d","PMOL/D","amount of substance",6970065625e-3,[0,-1,0,0,0,0,0],"pmol/d","si",!0,null,null,1,!1,!1,1,"pmol/dy; pmol per day; 24 hours; 24hrs; 24 hrs; picomoles","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per deciliter","pmol/dL","PMOL/DL","amount of substance",60221367e8,[-3,0,0,0,0,0,0],"pmol/dL","si",!0,null,null,1,!1,!1,1,"pmol per dL; picomoles per deciliter; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per gram","pmol/g","PMOL/G","amount of substance",60221367e4,[0,0,-1,0,0,0,0],"pmol/g","si",!0,null,null,1,!1,!1,1,"pmol per gm; picomoles per gram; picomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per hour per milliliter ","pmol/h/mL","(PMOL/HR)/ML","amount of substance",167281575e6,[-3,-1,0,0,0,0,0],"(pmol/h)/mL","si",!0,null,null,1,!1,!1,1,"pmol/hrs/mL; pmol per hrs per mL; picomoles per hour per milliliter; millilitre; micro enzyme units per volume; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. ","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per liter","pmol/L","PMOL/L","amount of substance",60221367e7,[-3,0,0,0,0,0,0],"pmol/L","si",!0,null,null,1,!1,!1,1,"picomole/liter; pmol per L; picomoles; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per minute","pmol/min","PMOL/MIN","amount of substance",10036894500,[0,-1,0,0,0,0,0],"pmol/min","si",!0,null,null,1,!1,!1,1,"picomole/minute; pmol per min; picomoles per minute; micro enzyme units; enzymatic activity; enzyme activity","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. pmol/min = uU (micro enzyme unit)","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per milliliter","pmol/mL","PMOL/ML","amount of substance",60221367e10,[-3,0,0,0,0,0,0],"pmol/mL","si",!0,null,null,1,!1,!1,1,"picomole/milliliter; picomole/millilitre; pmol per mL; picomoles; millilitre; picomols; pmols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"picomole per micromole","pmol/umol","PMOL/UMOL","amount of substance",1e-6,[0,0,0,0,0,0,0],"pmol/\u03BCmol","si",!0,null,null,1,!1,!1,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!0,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,!1,"T",null,1,!1,!1,0,"picoseconds; psec","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"picotesla","pT","PT","magnetic flux density",1e-9,[0,-1,1,0,0,-1,0],"pT","si",!0,null,null,1,!1,!1,0,"picoteslas","LOINC","","Clinical","SI unit of magnetic field strength for magnetic field B","Wb/m2","WB/M2","1",1,!1],[!1,"enzyme unit per 12 hour","U/(12.h)","U/HR","catalytic activity",23233552083333334e-5,[0,-2,0,0,0,0,0],"U/h","chemical",!0,null,null,1,!1,!1,1,"U/12hrs; U/ 12hrs; U per 12 hrs; 12hrs; enzyme units per 12 hours; enzyme activity; enzymatic activity per time; umol per min per 12 hours; micromoles per minute per 12 hours; umol/min/12hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per 2 hour","U/(2.h)","U/HR","catalytic activity",1394013125e3,[0,-2,0,0,0,0,0],"U/h","chemical",!0,null,null,1,!1,!1,1,"U/2hrs; U/ 2hrs; U per 2 hrs; 2hrs; enzyme units per 2 hours; enzyme activity; enzymatic activity per time; umol per minute per 2 hours; micromoles per minute; umol/min/2hr; umol per min per 2hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per 24 hour","U/(24.h)","U/HR","catalytic activity",11616776041666667e-5,[0,-2,0,0,0,0,0],"U/h","chemical",!0,null,null,1,!1,!1,1,"U/24hrs; U/ 24hrs; U per 24 hrs; 24hrs; enzyme units per 24 hours; enzyme activity; enzymatic activity per time; micromoles per minute per 24 hours; umol/min/24hr; umol per min per 24hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per 10","U/10","U","catalytic activity",100368945e7,[0,-1,0,0,0,0,0],"U","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/10; U per 10; enzyme units per 10; enzymatic activity; enzyme activity; micromoles per minute; umol/min/10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",100368945e-2,[0,-1,0,0,0,0,0],"U/(1010)","chemical",!0,null,null,1,!1,!1,1,"U per 10*10; enzyme units per 10*10; U per 10 billion; enzyme units; enzymatic activity; micromoles per minute per 10 billion; umol/min/10*10","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(1012)","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/10*12; U per 10*12; enzyme units per 10*12; enzyme units per trillion; enzymatic activity; micromoles per minute per trillion; umol/min/10*12; umol per min per 10*12","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(106)","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/10*6; U per 10*6; enzyme units per 10*6; enzyme units; enzymatic activity per volume; micromoles per minute per million; umol/min/10*6; umol per min per 10*6","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",100368945e-1,[0,-1,0,0,0,0,0],"U/(109)","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/10*9; U per 10*9; enzyme units per 10*9; enzymatic activity per volume; micromoles per minute per billion; umol/min/10*9; umol per min per 10*9","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per day","U/d","U/D","catalytic activity",11616776041666667e-5,[0,-2,0,0,0,0,0],"U/d","chemical",!0,null,null,1,!1,!1,1,"U/dy; enzyme units per day; enzyme units; enzyme activity; enzymatic activity per time; micromoles per minute per day; umol/min/day; umol per min per day","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945e12,[-3,-1,0,0,0,0,0],"U/dL","chemical",!0,null,null,1,!1,!1,1,"U per dL; enzyme units per deciliter; decilitre; micromoles per minute per deciliter; umol/min/dL; umol per min per dL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per gram","U/g","U/G","catalytic activity",100368945e8,[0,-1,-1,0,0,0,0],"U/g","chemical",!0,null,null,1,!1,!1,1,"U/gm; U per gm; enzyme units per gram; micromoles per minute per gram; umol/min/g; umol per min per g","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per hour","U/h","U/HR","catalytic activity",278802625e4,[0,-2,0,0,0,0,0],"U/h","chemical",!0,null,null,1,!1,!1,1,"U/hr; U per hr; enzyme units per hour; micromoles per minute per hour; umol/min/hr; umol per min per hr","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per liter","U/L","U/L","catalytic activity",100368945e11,[-3,-1,0,0,0,0,0],"U/L","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/liter; enzyme unit/litre; U per L; enzyme units per liter; enzyme unit per litre; micromoles per minute per liter; umol/min/L; umol per min per L","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575e6,[0,-2,0,0,0,0,0],"U/min","chemical",!0,null,null,1,!1,!1,1,"enzyme unit/minute; U per min; enzyme units; umol/min/min; micromoles per minute per minute; micromoles per min per min; umol","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",100368945e14,[-3,-1,0,0,0,0,0],"U/mL","chemical",!0,null,null,1,!1,!1,1,"U per mL; enzyme units per milliliter; millilitre; micromoles per minute per milliliter; umol/min/mL; umol per min per mL","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"enzyme unit per second","U/s","U/S","catalytic activity",100368945e8,[0,-2,0,0,0,0,0],"U/s","chemical",!0,null,null,1,!1,!1,1,"U/sec; U per second; enzyme units per second; micromoles per minute per second; umol/min/sec; umol per min per sec","LOINC","CRat","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min)","umol/min","UMOL/MIN","1",1,!1],[!1,"micro international unit","u[IU]","U[IU]","arbitrary",1e-6,[0,0,0,0,0,0,0],"\u03BCi.U.","chemical",!0,null,null,1,!1,!0,0,"uIU; u IU; microinternational units","LOINC","Arb","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",.001,[-3,0,0,0,0,0,0],"(\u03BCi.U.)/L","chemical",!0,null,null,1,!1,!0,0,"uIU/L; u IU/L; uIU per L; microinternational units per liter; litre; ","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(\u03BCi.U.)/mL","chemical",!0,null,null,1,!1,!0,0,"uIU/mL; u IU/mL; uIU per mL; microinternational units per milliliter; millilitre","LOINC","ACnc","Clinical","International units (IU) are analyte and reference specimen specific arbitrary units (held at WHO)","[iU]","[IU]","1",1,!1],[!1,"microequivalent","ueq","UEQ","amount of substance",60221367e10,[0,0,0,0,0,0,0],"\u03BCeq","chemical",!0,null,null,1,!1,!1,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,!1],[!1,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",60221367e13,[-3,0,0,0,0,0,0],"\u03BCeq/L","chemical",!0,null,null,1,!1,!1,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,!1],[!1,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",60221367000000003e7,[-3,0,0,0,0,0,0],"\u03BCeq/mL","chemical",!0,null,null,1,!1,!1,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,!1],[!0,"microgram","ug","UG","mass",1e-6,[0,0,1,0,0,0,0],"\u03BCg",null,!1,"M",null,1,!1,!1,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,!1],[!0,"microgram per 100 gram","ug/(100.g)","UG/G","mass",1e-8,[0,0,0,0,0,0,0],"\u03BCg/g",null,!1,"M",null,1,!1,!1,0,"ug/100gm; ug/100 gm; mcg; ug per 100g; 100 gm; mcg per 100g; micrograms per 100 grams","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"microgram per 24 hour","ug/(24.h)","UG/HR","mass",11574074074074074e-27,[0,-1,1,0,0,0,0],"\u03BCg/h",null,!1,"M",null,1,!1,!1,0,"ug/24hrs; ug/24 hrs; mcg/24hrs; ug per 24hrs; mcg per 24hrs; 24 hrs; micrograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per 8 hour","ug/(8.h)","UG/HR","mass",3472222222222222e-26,[0,-1,1,0,0,0,0],"\u03BCg/h",null,!1,"M",null,1,!1,!1,0,"ug/8hrs; ug/8 hrs; mcg/8hrs; ug per 8hrs; mcg per 8hrs; 8 hrs; micrograms per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per square foot (international)","ug/[sft_i]","UG/[SFT_I]","mass",10763910416709721e-21,[-2,0,1,0,0,0,0],"\u03BCg",null,!1,"M",null,1,!1,!1,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,!1],[!0,"microgram per day","ug/d","UG/D","mass",11574074074074074e-27,[0,-1,1,0,0,0,0],"\u03BCg/d",null,!1,"M",null,1,!1,!1,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per deciliter","ug/dL","UG/DL","mass",.009999999999999998,[-3,0,1,0,0,0,0],"\u03BCg/dL",null,!1,"M",null,1,!1,!1,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"microgram per gram","ug/g","UG/G","mass",1e-6,[0,0,0,0,0,0,0],"\u03BCg/g",null,!1,"M",null,1,!1,!1,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"microgram per hour","ug/h","UG/HR","mass",27777777777777777e-26,[0,-1,1,0,0,0,0],"\u03BCg/h",null,!1,"M",null,1,!1,!1,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per kilogram","ug/kg","UG/KG","mass",9999999999999999e-25,[0,0,0,0,0,0,0],"\u03BCg/kg",null,!1,"M",null,1,!1,!1,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/HR","mass",3472222222222222e-29,[0,-1,0,0,0,0,0],"(\u03BCg/kg)/h",null,!1,"M",null,1,!1,!1,0,"ug/kg/8hrs; mcg/kg/8hrs; ug/kg/8 hrs; mcg/kg/8 hrs; ug per kg per 8hrs; 8 hrs; mcg per kg per 8hrs; micrograms per kilograms per 8 hours; shift","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per kilogram per day","ug/kg/d","(UG/KG)/D","mass",11574074074074072e-30,[0,-1,0,0,0,0,0],"(\u03BCg/kg)/d",null,!1,"M",null,1,!1,!1,0,"ug/(kg.d); ug/kg/dy; mcg/kg/day; ug per kg per dy; 24 hours; 24hrs; mcg; kilograms; microgram per kilogram and day","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per kilogram per hour","ug/kg/h","(UG/KG)/HR","mass",27777777777777774e-29,[0,-1,0,0,0,0,0],"(\u03BCg/kg)/h",null,!1,"M",null,1,!1,!1,0,"ug/(kg.h); ug/kg/hr; mcg/kg/hr; ug per kg per hr; mcg per kg per hr; kilograms","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per kilogram per minute","ug/kg/min","(UG/KG)/MIN","mass",16666666666666664e-27,[0,-1,0,0,0,0,0],"(\u03BCg/kg)/min",null,!1,"M",null,1,!1,!1,0,"ug/kg/min; ug/kg/min; mcg/kg/min; ug per kg per min; mcg; micrograms per kilograms per minute ","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per liter","ug/L","UG/L","mass",.001,[-3,0,1,0,0,0,0],"\u03BCg/L",null,!1,"M",null,1,!1,!1,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/HR","mass",11574074074074074e-24,[-3,-1,1,0,0,0,0],"(\u03BCg/L)/h",null,!1,"M",null,1,!1,!1,0,"ug/L/24hrs; ug/L/24 hrs; mcg/L/24hrs; ug per L per 24hrs; 24 hrs; day; dy mcg; micrograms per liters per 24 hours; litres","LOINC","","Clinical","unit used to measure mass dose rate per patient body mass",null,null,null,null,!1],[!0,"microgram per square meter","ug/m2","UG/M2","mass",1e-6,[-2,0,1,0,0,0,0],"\u03BCg/(m2)",null,!1,"M",null,1,!1,!1,0,"ug/m^2; ug/sq. m; mcg/m2; mcg/m^2; mcg/sq. m; ug per m2; m^2; sq. meter; mcg; micrograms per square meter; meter squared; metre","LOINC","ArMass","Clinical","unit used to measure mass dose per patient body surface area",null,null,null,null,!1],[!0,"microgram per cubic meter","ug/m3","UG/M3","mass",1e-6,[-3,0,1,0,0,0,0],"\u03BCg/(m3)",null,!1,"M",null,1,!1,!1,0,"ug/m^3; ug/cu. m; mcg/m3; mcg/m^3; mcg/cu. m; ug per m3; ug per m^3; ug per cu. m; mcg; micrograms per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"microgram per milligram","ug/mg","UG/MG","mass",.001,[0,0,0,0,0,0,0],"\u03BCg/mg",null,!1,"M",null,1,!1,!1,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!0,"microgram per minute","ug/min","UG/MIN","mass",16666666666666667e-24,[0,-1,1,0,0,0,0],"\u03BCg/min",null,!1,"M",null,1,!1,!1,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,!1],[!0,"microgram per milliliter","ug/mL","UG/ML","mass",1,[-3,0,1,0,0,0,0],"\u03BCg/mL",null,!1,"M",null,1,!1,!1,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,!1],[!0,"microgram per millimole","ug/mmol","UG/MMOL","mass",1660540186674939e-42,[0,0,1,0,0,0,0],"\u03BCg/mmol",null,!1,"M",null,1,!1,!1,-1,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,!1],[!0,"microgram per nanogram","ug/ng","UG/NG","mass",999.9999999999999,[0,0,0,0,0,0,0],"\u03BCg/ng",null,!1,"M",null,1,!1,!1,0,"ug per ng; mcg/ng; mcg per ng; micrograms per nanogram","LOINC","MCnt","Clinical","",null,null,null,null,!1],[!1,"microkatal","ukat","UKAT","catalytic activity",60221367e10,[0,-1,0,0,0,0,0],"\u03BCkat","chemical",!0,null,null,1,!1,!1,1,"microkatals; ukats","LOINC","CAct","Clinical","kat is a unit of catalytic activity with base units = mol/s. Rarely used because its units are too large to practically express catalytic activity. See enzyme unit [U] which is the standard unit for catalytic activity.","mol/s","MOL/S","1",1,!1],[!1,"microliter","uL","UL","volume",1e-9,[3,0,0,0,0,0,0],"\u03BCL","iso1000",!0,null,null,1,!1,!1,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,!1],[!1,"microliter per 2 hour","uL/(2.h)","UL/HR","volume",1388888888888889e-28,[3,-1,0,0,0,0,0],"\u03BCL/h","iso1000",!0,null,null,1,!1,!1,0,"uL/2hrs; uL/2 hrs; mcg/2hr; mcg per 2hr; uL per 2hr; uL per 2 hrs; microliters per 2 hours; microlitres ","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!1,"microliter per hour","uL/h","UL/HR","volume",2777777777777778e-28,[3,-1,0,0,0,0,0],"\u03BCL/h","iso1000",!0,null,null,1,!1,!1,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,!1],[!0,"micrometer","um","UM","length",1e-6,[1,0,0,0,0,0,0],"\u03BCm",null,!1,"L",null,1,!1,!1,0,"micrometers; micrometres; \u03BCm; microns","LOINC","Len","Clinical","Unit of length that is usually used in tests related to the eye",null,null,null,null,!1],[!0,"microns per second","um/s","UM/S","length",1e-6,[1,-1,0,0,0,0,0],"\u03BCm/s",null,!1,"L",null,1,!1,!1,0,"um/sec; micron/second; microns/second; um per sec; micrometers per second; micrometres","LOINC","Vel","Clinical","",null,null,null,null,!1],[!1,"micromole","umol","UMOL","amount of substance",60221367e10,[0,0,0,0,0,0,0],"\u03BCmol","si",!0,null,null,1,!1,!1,1,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per 2 hour","umol/(2.h)","UMOL/HR","amount of substance",836407875e5,[0,-1,0,0,0,0,0],"\u03BCmol/h","si",!0,null,null,1,!1,!1,1,"umol/2hrs; umol/2 hrs; umol per 2 hrs; 2hrs; micromoles per 2 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per 24 hour","umol/(24.h)","UMOL/HR","amount of substance",6970065625e3,[0,-1,0,0,0,0,0],"\u03BCmol/h","si",!0,null,null,1,!1,!1,1,"umol/24hrs; umol/24 hrs; umol per 24 hrs; per 24hrs; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per 8 hour","umol/(8.h)","UMOL/HR","amount of substance",20910196875e3,[0,-1,0,0,0,0,0],"\u03BCmol/h","si",!0,null,null,1,!1,!1,1,"umol/8hr; umol/8 hr; umol per 8 hr; umol per 8hr; umols per 8hr; umol per 8 hours; micromoles per 8 hours; shift","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625e3,[0,-1,0,0,0,0,0],"\u03BCmol/d","si",!0,null,null,1,!1,!1,1,"umol/day; umol per day; umols per day; umol per days; micromoles per days; umol/24hr; umol/24 hr; umol per 24 hr; umol per 24hr; umols per 24hr; umol per 24 hours; micromoles per 24 hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",60221367e14,[-3,0,0,0,0,0,0],"\u03BCmol/dL","si",!0,null,null,1,!1,!1,1,"micromole/deciliter; micromole/decilitre; umol per dL; micromoles per deciliters; micromole per decilitres","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per gram","umol/g","UMOL/G","amount of substance",60221367e10,[0,0,-1,0,0,0,0],"\u03BCmol/g","si",!0,null,null,1,!1,!1,1,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575e6,[0,-1,0,0,0,0,0],"\u03BCmol/h","si",!0,null,null,1,!1,!1,1,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",60221367e7,[0,0,-1,0,0,0,0],"\u03BCmol/kg","si",!0,null,null,1,!1,!1,1,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per liter","umol/L","UMOL/L","amount of substance",60221367e13,[-3,0,0,0,0,0,0],"\u03BCmol/L","si",!0,null,null,1,!1,!1,1,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575e9,[-3,-1,0,0,0,0,0],"(\u03BCmol/L)/h","si",!0,null,null,1,!1,!1,1,"umol/liter/hr; umol/litre/hr; umol per L per hr; umol per liter per hour; micromoles per liters per hour; litre","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min; umol/L/h is a derived unit of enzyme units","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",60221367e13,[0,0,-1,0,0,0,0],"\u03BCmol/mg","si",!0,null,null,1,!1,!1,1,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per minute","umol/min","UMOL/MIN","amount of substance",100368945e8,[0,-1,0,0,0,0,0],"\u03BCmol/min","si",!0,null,null,1,!1,!1,1,"micromole/minute; umol per min; micromoles per minute; enzyme units","LOINC","CAct","Clinical","unit for the enzyme unit U = umol/min","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",100368945e8,[0,-1,-1,0,0,0,0],"(\u03BCmol/min)/g","si",!0,null,null,1,!1,!1,1,"umol/min/gm; umol per min per gm; micromoles per minutes per gram; U/g; enzyme units","LOINC","CCnt","Clinical","unit for the enzyme unit U = umol/min. umol/min/g = U/g","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",100368945e11,[-3,-1,0,0,0,0,0],"(\u03BCmol/min)/L","si",!0,null,null,1,!1,!1,1,"umol/min/liter; umol/minute/liter; micromoles per minutes per liter; litre; enzyme units; U/L","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/min/L = U/L","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",60221367000000003e7,[-3,0,0,0,0,0,0],"\u03BCmol/mL","si",!0,null,null,1,!1,!1,1,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",100368945e14,[-3,-1,0,0,0,0,0],"(\u03BCmol/mL)/min","si",!0,null,null,1,!1,!1,1,"umol per mL per min; micromoles per milliliters per minute; millilitres","LOINC","CCnc","Clinical","unit for the enzyme unit U = umol/min. umol/mL/min = U/mL","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",.001,[0,0,0,0,0,0,0],"\u03BCmol/mmol","si",!0,null,null,1,!1,!1,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",1e-6,[0,0,0,0,0,0,0],"\u03BCmol/mol","si",!0,null,null,1,!1,!1,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"\u03BCmol/\u03BCmol","si",!0,null,null,1,!1,!1,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,!1],[!1,"microOhm","uOhm","UOHM","electric resistance",.001,[2,-1,1,0,0,-2,0],"\u03BC\u03A9","si",!0,null,null,1,!1,!1,0,"microOhms; \xB5\u03A9","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,!1],[!0,"microsecond","us","US","time",1e-6,[0,1,0,0,0,0,0],"\u03BCs",null,!1,"T",null,1,!1,!1,0,"microseconds","LOINC","Time","Clinical","",null,null,null,null,!1],[!1,"micro enzyme unit per gram","uU/g","UU/G","catalytic activity",10036894500,[0,-1,-1,0,0,0,0],"\u03BCU/g","chemical",!0,null,null,1,!1,!1,1,"uU per gm; micro enzyme units per gram; micro enzymatic activity per mass; enzyme activity","LOINC","CCnt","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"micro enzyme unit per liter","uU/L","UU/L","catalytic activity",100368945e5,[-3,-1,0,0,0,0,0],"\u03BCU/L","chemical",!0,null,null,1,!1,!1,1,"uU per L; micro enzyme units per liter; litre; enzymatic activity per volume; enzyme activity ","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"micro enzyme unit per milliliter","uU/mL","UU/ML","catalytic activity",100368945e8,[-3,-1,0,0,0,0,0],"\u03BCU/mL","chemical",!0,null,null,1,!1,!1,1,"uU per mL; micro enzyme units per milliliter; millilitre; enzymatic activity per volume; enzyme activity","LOINC","CCnc","Clinical","1 U is the standard enzyme unit which equals 1 micromole substrate catalyzed per minute (1 umol/min); 1 uU = 1pmol/min","umol/min","UMOL/MIN","1",1,!1],[!1,"microvolt","uV","UV","electric potential",.001,[2,-2,1,0,0,-1,0],"\u03BCV","si",!0,null,null,1,!1,!1,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,!1]]},_te={license:pte,prefixes:dte,units:hte};Object.defineProperty(Jc,"__esModule",{value:!0});Jc.ucumJsonDefs=Jc.UcumJsonDefs=void 0;var gte=Wg,vte=v0,Ste=Cd,l5=al,u5=qg.unpackArray;class sw{loadJsonDefs(){const t=_te;if(t.prefixes=u5(t.prefixes),t.units=u5(t.units),l5.UnitTables.getInstance().unitsCount()===0){let r=vte.PrefixTables.getInstance(),n=t.prefixes,a=n.length;for(let l=0;l0)i[0]=null,i[1]=null;else{this.retMsg_.length>0;let s=null;for(s in ss.specUnits_)for(;t.indexOf(s)!==-1;)t=t.replace(s,ss.specUnits_[s]);if(t.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");i=this._parseTheString(t,a);let o=i[0];(ws.isIntegerUnit(o)||typeof o=="number")&&(o=new Bf({csCode_:a,magnitude_:o,name_:a}),i[0]=o)}return i[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(i[3]=this.suggestions_),i}_parseTheString(t,r){let n=null,a=this.retMsg_.length>0,i=this._processParens(t,r);a=i[2];let s=[];if(!a){t=i[0],r=i[1];let o=this._makeUnitsArray(t,r);if(a=o[2],!a){s=o[0],r=o[1];let l=s.length;for(let u=0;u=0){let f=this._getParensUnit(c,r);a||(a=f[1]),a||(s[u].un=f[0])}else{let f=this._makeUnit(c,r);f[0]===null?a=!0:(s[u].un=f[0],r=f[1])}}}}return a||(s[0]===null||s[0]===" "||s[0].un===void 0||s[0].un===null)&&this.retMsg_.length===0&&(this.retMsg_.push(`Unit string (${r}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),a=!0),a||(n=this._performUnitArithmetic(s,r)),[n,r]}_getAnnotations(t){let r=t.indexOf("{");for(;r>=0;){let a=t.indexOf("}");if(a<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+t.substr(r)+this.closeEmph_),r=-1;else{let i=t.substring(r,a+1),s=this.annotations_.length.toString();t=t.replace(i,this.braceFlag_+s+this.braceFlag_),this.annotations_.push(i),r=t.indexOf("{")}}let n=t.indexOf("}");return n>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+t.substring(0,n+1)+this.closeEmph_),t}_processParens(t,r){let n=[],a=0,i=!1,s=this.parensUnits_.length,o=0;for(;t!==""&&!i;){let l=0,u=0,c=t.indexOf("(");if(c<0){let f=t.indexOf(")");if(f>=0){let m=`Missing open parenthesis for close parenthesis at ${t.substring(0,f+o)}${this.openEmph_}${t.substr(f,1)}${this.closeEmph_}`;f0&&(n[a++]=t.substr(0,c));let m=0,d=c+1;for(;d0&&(s=t.substr(0,i-1));let o=t.lastIndexOf(this.parensFlag_),l=null;o+this.pFlagLen_=0){let c=this._getAnnoText(s,r);if(c[1]||c[2])throw new Error(`Text found before the parentheses (${s}) included an annotation along with other text for parenthetical unit ${a.csCode_}`);t+=c[0],this.retMsg_.push(`The annotation ${c[0]} before the unit code is invalid. +`+this.vcMsgStart_+t+this.vcMsgEnd_)}else this.suggestions_?n=this._getSuggestions(s)!=="succeeded":(this.retMsg_.push(`${s} preceding the unit code ${t} is invalid. Unable to make a substitution.`),n=!0);if(l)if(l.indexOf(this.braceFlag_)>=0){let c=this._getAnnoText(l,r);if(c[1]||c[2])throw new Error(`Text found after the parentheses (${l}) included an annotation along with other text for parenthetical unit ${a.csCode_}`);t+=c[0]}else ws.isNumericString(l)?(t+=l,a=a.power(Number(l)),this.retMsg_.push(`An exponent (${l}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification. + `+this.vcMsgStart_+t+this.vcMsgEnd_)):this.suggestions_?n=this._getSuggestions(s)!=="succeeded":(this.retMsg_.push(`Text ${l} following the unit code ${t} is invalid. Unable to make a substitution.`),n=!0);return n||(a?ws.isIntegerUnit(a)?a=new Bf({csCode_:a,magnitude_:a,name_:a}):a.csCode_=t:a=new Bf({csCode_:t,magnitude_:1,name_:t})),[a,n]}_getAnnoText(t,r){let n=t.indexOf(this.braceFlag_),a=n>0?t.substring(0,n):null;n!==0&&(t=t.substr(n));let i=t.indexOf(this.braceFlag_,1),s=i+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${o} found in ${t} that was created from ${r}`);return t=this.annotations_[l],[t,a,s]}_getSuggestions(t){let r=ws.getSynonyms(t);if(r.status==="succeeded"){let n={};n.msg=`${t} is not a valid UCUM code. We found possible units that might be what was meant:`,n.invalidUnit=t;let a=r.units.length;n.units=[];for(let i=0;i=0){let a=this._getUnitWithAnnotation(t,r);n=a[0],n&&(r=a[1])}else{if(t.indexOf("^")>-1){let a=t.replace("^","*");n=this.utabs_.getUnitByCode(a),n&&(n=n.clone(),n.csCode_=n.csCode_.replace("*","^"),n.ciCode_=n.ciCode_.replace("*","^"))}if(!n){let a="["+t+"]";n=this.utabs_.getUnitByCode(a),n&&(n=n.clone(),r=r.replace(t,a),this.retMsg_.push(`${t} is not a valid unit expression, but ${a} is. +`+this.vcMsgStart_+`${a} (${n.name_})${this.vcMsgEnd_}`))}if(!n){let a=this.utabs_.getUnitByName(t);if(a&&a.length>0){n=a[0].clone();let i="The UCUM code for "+t+" is "+n.csCode_+`. +`+this.vcMsgStart_+n.csCode_+this.vcMsgEnd_,s=!1;for(let u=0;u"+v+"",csCode_:S+v,ciCode_:p+v,printSymbol_:_+""+v+""})}}}}return[n,r]}_getUnitWithAnnotation(t,r){let n=null,a=this._getAnnoText(t,r),i=a[0],s=a[1],o=a[2];this.bracesMsg_&&this.retMsg_.indexOf(this.bracesMsg_)===-1&&this.retMsg_.push(this.bracesMsg_);let l=this.retMsg_.length;if(!s&&!o){let u="["+i.substring(1,i.length-1)+"]",c=this._makeUnit(u,r);c[0]?(n=c[0],r=r.replace(i,u),this.retMsg_.push(`${i} is not a valid unit expression, but ${u} is. +`+this.vcMsgStart_+`${u} (${n.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>l&&this.retMsg_.pop(),t=1,n=1)}else if(s&&!o)if(ws.isIntegerUnit(s))n=s;else{let u=this._makeUnit(s,r);u[0]?(n=u[0],n.csCode_+=i,r=u[1]):this.retMsg_.push(`Unable to find a unit for ${s} that precedes the annotation ${i}.`)}else if(!s&&o)if(ws.isIntegerUnit(o))n=o+i,this.retMsg_.push(`The annotation ${i} before the ``${o} is invalid.\n`+this.vcMsgStart_+n+this.vcMsgEnd_);else{let u=this._makeUnit(o,r);u[0]?(n=u[0],n.csCode_+=i,r=n.csCode_,this.retMsg_.push(`The annotation ${i} before the unit code is invalid. +`+this.vcMsgStart_+n.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${s} that follows the annotation ${i}.`)}else this.retMsg_.push(`Unable to find a unit for ${s}${i}${o}. +We are not sure how to interpret text both before and after the annotation. Sorry`);return[n,r]}_performUnitArithmetic(t,r){let n=t[0].un;ws.isIntegerUnit(n)&&(n=new Bf({csCode_:n,magnitude_:Number(n),name_:n}));let a=t.length,i=!1;for(let s=1;s mole conversion cannot be executed for two mole-based units. No conversion was attempted.");if(o.moleExp_===0&&u.moleExp_===0)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed when neither unit is mole-based. No conversion was attempted.");if(!o.isMoleMassCommensurable(u))throw new Error(`Sorry. ${t} cannot be converted to ${n}.`);o.moleExp_!==0?s.toVal=o.convertMolToMass(r,u,i):s.toVal=o.convertMassToMol(r,u,i)}s.status="succeeded",s.fromUnit=o,s.toUnit=u}catch(c){s.status="failed",s.msg.push(c.message)}}catch(o){o.message==bte.needMoleWeightMsg_?s.status="failed":s.status="error",s.msg.push(o.message)}return s}checkSynonyms(t){let r={};return t==null?(r.status="error",r.msg="No term specified for synonym search."):r=c5.getSynonyms(t),r}getSpecifiedUnit(t,r,n){n===void 0&&(n=!1);let a={};if(a.retMsg=[],!t)a.retMsg.push("No unit string specified.");else{let i=IS.getInstance();t=t.trim();let s=i.getUnitByCode(t);if(s)a.unit=s,a.origString=t;else try{let o=this.uStrParser_.parseString(t,r,n);a.unit=o[0],a.origString=o[1],o[2]&&(a.retMsg=o[2]),a.suggestions=o[3]}catch(o){console.log(`Unit requested for unit string ${t}.request unsuccessful; error thrown = `+o.message),a.retMsg.unshift(`${t} is not a valid unit. ${o.message}`)}}return a}commensurablesList(t){let r=[],n=null,a=this.getSpecifiedUnit(t,"validate",!1),i=a.unit;if(a.retMsg.length>0&&(r=a.retMsg),!i)r.push(`Could not find unit ${t}.`);else{let s=null,o=i.getProperty("dim_");if(!o)r.push("No commensurable units were found for "+t);else{try{s=o.getProperty("dimVec_")}catch(l){r.push(l.message),l.message==="Dimension does not have requested property(dimVec_)"&&(s=null)}s&&(n=IS.getInstance().getUnitsByDimension(s))}}return[n,r]}}Gg.UcumLhcUtils=MM;MM.getInstance=function(){return new MM};Object.defineProperty(Oa,"__esModule",{value:!0});Oa.UnitTables=Oa.UcumLhcUtils=Oa.Ucum=void 0;var Cte=sl.Ucum;Oa.Ucum=Cte;var Tte=Gg.UcumLhcUtils;Oa.UcumLhcUtils=Tte;var xte=al.UnitTables;Oa.UnitTables=xte;Vt("@modusjs/units:error");const Qc=Vt("@modusjs/units:warn"),MO=Vt("@modusjs/units:info"),DM=Vt("@modusjs/units:trace"),Ate="The molecular weight of the substance represented by the units is required to perform the conversion",kte=/^Base Saturation - /;function ow(e,t,r){e=Array.isArray(e)?e:[e],t=t===void 0?[]:Array.isArray(t)?t:[t],t=Pte(e,t),e=f5(e),t=f5(t);let n=e.map((a,i)=>{let s=t[i];if(!s.UCUM_ValueUnit||!a.UCUM_ValueUnit)return MO(`No conversion performed on element [${a.Element}]. The element is either unitless or the input/output units were unrecognized.`),a;DM(`convertUnits - Element [${a.Element}]; from units [${a.UCUM_ValueUnit}] to units [${s.UCUM_ValueUnit}]; Value: ${a.Value}`);let o=Oa.UcumLhcUtils.getInstance().convertUnitTo(a.UCUM_ValueUnit,a.Value||0,s.UCUM_ValueUnit,!1);if(o.status!=="succeeded")if(o.msg.some(l=>l.includes(Ate))){if(kte.test(a.Element)&&["%","meq/(100.g)"].includes(a.UCUM_ValueUnit))return wte(e,a,s);let l=a.Element.replace(/^Base Saturation - /,"");return DM(`Molecular weight was needed for Element ${l}. Using value: ${m5[l].adjusted}`),o=Oa.UcumLhcUtils.getInstance().convertUnitTo(a.UCUM_ValueUnit,a.Value||0,s.UCUM_ValueUnit,!1,m5[a.Element].adjusted),{...a,ValueUnit:s.ValueUnit,Value:o.toVal||0}}else return Qc(`Unit conversion for element [${a.Element}] with input units [${a.ValueUnit}] and output units [${s.UCUM_ValueUnit}] failed with error: ${o.msg}. Falling back to input value and units.`),a;return{...a,ValueUnit:s.ValueUnit,Value:o.toVal||0}});return n=n.map(a=>(delete a.CsvHeader,delete a.UCUM_ValueUnit,a)),r&&(n=n.filter(a=>Object.keys(ew).includes(a.ModusTestIDv2))),n}function OS(e,t,r){const n=Vm[t]??t,a=Vm[r]??r;let i=Oa.UcumLhcUtils.getInstance().validateUnitString(n,!0);return i.status!=="valid"?(Qc(`Input units [${t}] are unrecognized: ${i.error??i.msg}. No unit conversion can be performed.`),e):(i=Oa.UcumLhcUtils.getInstance().validateUnitString(a,!0),i.status!=="valid"?(Qc(`Input units [${r}] are unrecognized: ${i.error??i.msg}. No unit conversion can be performed.`),e):Oa.UcumLhcUtils.getInstance().convertUnitTo(n,e,a,!1))}function wte(e,t,r){let n=e.find(a=>a.Element==="Cation Exchange Capacity"&&a.UCUM_ValueUnit==="meq/(100.g)");return n===void 0?(Qc("Base Saturation Elements require CEC in order to convert between % and meq/100g"),t):t.UCUM_ValueUnit==="%"?{...t,ValueUnit:"meq/100 g",UCUM_ValueUnit:"meq/(100.g)",Value:t.Value!==void 0&&n.Value!==void 0?n.Value*(t.Value/100):void 0}:{...t,ValueUnit:r.ValueUnit,UCUM_ValueUnit:r.UCUM_ValueUnit,Value:t.Value!==void 0&&n.Value!==void 0?100*t.Value/n.Value:void 0}}function Pte(e,t){return t=e.map(r=>{let n=t.find(a=>a.CsvHeader===r.CsvHeader);return n?(MO(`Conversion supplied for csv header ${r.CsvHeader}, so modus standard units will not be used.`),n):r.ModusTestIDv2?ew[r.ModusTestIDv2]:r}),t}const Vm={"g/cc":"g/cm3","bu/ac":"[bu_us]/[acr_us]","Sum of Cation me/100g":"meq/(100.g)","cmol(+)/kg":"cmol/kg",ppm:"[ppm]",ppb:"[ppb]","mmhos/cm":"mmho/cm",lb:"[lb_av]","lb/ac":"[lb_av]/[acr_us]","kg/ac":"kg/[acr_us]","kg/ha":"kg/har","kg/ha/day":"kh/har/d","meq/100g":"meq/(100.g)","meq/100 g":"meq/(100.g)","% BS":"%","% CEC":"%","million lb/ac":"(1000000.[lb_av])/[acr_us]","lb/ac/day":"[lb_av]/[acr_us]/d","kg/ac/day":"kg/[acr_us]/d","in/ft":"[in_i]/[ft_i]","tons/ac":"[ston_av]/[acr_us]","standard unit":"none","standard pH unit":"none","s.u.":"none",in:"[in_i]",ft:"[ft_i]",Ratio:"none"};function f5(e,t){return e?.map(r=>{if(MO(r),r.ValueUnit==="none")return r.UCUM_ValueUnit=r.ValueUnit,r;if(r.ValueUnit===void 0||r.ValueUnit==="")return Qc(`Units of element [${r.Element}] were [${r.ValueUnit}]. Keeping and ignoring unit validation.`),{...r,UCUM_ValueUnit:void 0};if(Vm[r.ValueUnit])return DM(`Using alias units "${Vm[r.ValueUnit]}" instead of "${r.ValueUnit}" for element [${r.Element}] in order to satisfy the conversion library.`),{...r,UCUM_ValueUnit:Vm[r.ValueUnit]};{let n=Oa.UcumLhcUtils.getInstance().validateUnitString(r.ValueUnit,!0);if(n.status!=="valid"){if(t)throw new Error(`Units of element [${r.Element}] were [${r.ValueUnit}] and caused the following error: ${n.error??n.msg}.`);Qc(`Units of element [${r.Element}] were [${r.ValueUnit}] and caused the following error: ${n.error??n.msg}. No unit conversion will be performed.`)}}return{...r,UCUM_ValueUnit:r.ValueUnit}})}const m5={Al:{molecularWeight:26.98,charge:3,adjusted:3/26.98},B:{molecularWeight:10.811,charge:1,adjusted:10.811},C:{molecularWeight:12.01,charge:1,adjusted:12.01},Ca:{molecularWeight:40.08,charge:2,adjusted:2/40.08},Cl:{molecularWeight:35.45,charge:-1,adjusted:35.45},CO3:{molecularWeight:60.01,charge:-2,adjusted:2/60.01},Cu:{molecularWeight:63.556,charge:2,adjusted:2/63.546},Fe:{molecularWeight:55.85,charge:2,adjusted:2/55.85},HCO3:{molecularWeight:61.02,charge:-1,adjusted:61.02},H:{molecularWeight:18.04,charge:1,adjusted:18.04},K:{molecularWeight:39.1,charge:1,adjusted:39.1},Mg:{molecularWeight:24.31,charge:2,adjusted:2/24.31},Mn:{molecularWeight:54.94,charge:2,adjusted:2/54.94},Mo:{molecularWeight:95.94,charge:-1,adjusted:2/95.94},Na:{molecularWeight:22.99,charge:1,adjusted:22.99},"NH-4":{molecularWeight:18.04,charge:1,adjusted:18.04},S:{molecularWeight:96.06,charge:-2,adjusted:2/96.06},"SO-4":{molecularWeight:96.06,charge:-2,adjusted:2/96.06},Zn:{molecularWeight:65.38,charge:2,adjusted:2/65.38}};function kl(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var lw={exports:{}};/*! + +JSZip v3.10.1 - A JavaScript class for generating and reading zip files + + +(c) 2009-2016 Stuart Knightley +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. + +JSZip uses the library pako released under the MIT license : +https://github.com/nodeca/pako/blob/main/LICENSE +*/(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,a,i){function s(u,c){if(!a[u]){if(!n[u]){var f=typeof kl=="function"&&kl;if(!c&&f)return f(u,!0);if(o)return o(u,!0);var m=new Error("Cannot find module '"+u+"'");throw m.code="MODULE_NOT_FOUND",m}var d=a[u]={exports:{}};n[u][0].call(d.exports,function(h){var p=n[u][1][h];return s(p||h)},d,d.exports,r,n,a,i)}return a[u].exports}for(var o=typeof kl=="function"&&kl,l=0;l>2,d=(3&u)<<4|c>>4,h=1>6:64,p=2>4,c=(15&m)<<4|(d=o.indexOf(l.charAt(p++)))>>2,f=(3&d)<<6|(h=o.indexOf(l.charAt(p++))),v[_++]=u,d!==64&&(v[_++]=c),h!==64&&(v[_++]=f);return v}},{"./support":30,"./utils":32}],2:[function(r,n,a){var i=r("./external"),s=r("./stream/DataWorker"),o=r("./stream/Crc32Probe"),l=r("./stream/DataLengthProbe");function u(c,f,m,d,h){this.compressedSize=c,this.uncompressedSize=f,this.crc32=m,this.compression=d,this.compressedContent=h}u.prototype={getContentWorker:function(){var c=new s(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),f=this;return c.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),c},getCompressedWorker:function(){return new s(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(c,f,m){return c.pipe(new o).pipe(new l("uncompressedSize")).pipe(f.compressWorker(m)).pipe(new l("compressedSize")).withStreamInfo("compression",f)},n.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(r,n,a){var i=r("./stream/GenericWorker");a.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},a.DEFLATE=r("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(r,n,a){var i=r("./utils"),s=function(){for(var o,l=[],u=0;u<256;u++){o=u;for(var c=0;c<8;c++)o=1&o?3988292384^o>>>1:o>>>1;l[u]=o}return l}();n.exports=function(o,l){return o!==void 0&&o.length?i.getTypeOf(o)!=="string"?function(u,c,f,m){var d=s,h=m+f;u^=-1;for(var p=m;p>>8^d[255&(u^c[p])];return-1^u}(0|l,o,o.length,0):function(u,c,f,m){var d=s,h=m+f;u^=-1;for(var p=m;p>>8^d[255&(u^c.charCodeAt(p))];return-1^u}(0|l,o,o.length,0):0}},{"./utils":32}],5:[function(r,n,a){a.base64=!1,a.binary=!1,a.dir=!1,a.createFolders=!0,a.date=null,a.compression=null,a.compressionOptions=null,a.comment=null,a.unixPermissions=null,a.dosPermissions=null},{}],6:[function(r,n,a){var i=null;i=typeof Promise<"u"?Promise:r("lie"),n.exports={Promise:i}},{lie:37}],7:[function(r,n,a){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=r("pako"),o=r("./utils"),l=r("./stream/GenericWorker"),u=i?"uint8array":"array";function c(f,m){l.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=m,this.meta={}}a.magic="\b\0",o.inherits(c,l),c.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(o.transformTo(u,f.data),!1)},c.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var f=this;this._pako.onData=function(m){f.push({data:m,meta:f.meta})}},a.compressWorker=function(f){return new c("Deflate",f)},a.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(r,n,a){function i(d,h){var p,_="";for(p=0;p>>=8;return _}function s(d,h,p,_,S,v){var g,y,M=d.file,I=d.compression,D=v!==u.utf8encode,T=o.transformTo("string",v(M.name)),b=o.transformTo("string",u.utf8encode(M.name)),N=M.comment,V=o.transformTo("string",v(N)),A=o.transformTo("string",u.utf8encode(N)),j=b.length!==M.name.length,O=A.length!==N.length,R="",te="",W="",ue=M.dir,F=M.date,le={crc32:0,compressedSize:0,uncompressedSize:0};h&&!p||(le.crc32=d.crc32,le.compressedSize=d.compressedSize,le.uncompressedSize=d.uncompressedSize);var J=0;h&&(J|=8),D||!j&&!O||(J|=2048);var k=0,U=0;ue&&(k|=16),S==="UNIX"?(U=798,k|=function(q,Ie){var Fe=q;return q||(Fe=Ie?16893:33204),(65535&Fe)<<16}(M.unixPermissions,ue)):(U=20,k|=function(q){return 63&(q||0)}(M.dosPermissions)),g=F.getUTCHours(),g<<=6,g|=F.getUTCMinutes(),g<<=5,g|=F.getUTCSeconds()/2,y=F.getUTCFullYear()-1980,y<<=4,y|=F.getUTCMonth()+1,y<<=5,y|=F.getUTCDate(),j&&(te=i(1,1)+i(c(T),4)+b,R+="up"+i(te.length,2)+te),O&&(W=i(1,1)+i(c(V),4)+A,R+="uc"+i(W.length,2)+W);var z="";return z+=` +\0`,z+=i(J,2),z+=I.magic,z+=i(g,2),z+=i(y,2),z+=i(le.crc32,4),z+=i(le.compressedSize,4),z+=i(le.uncompressedSize,4),z+=i(T.length,2),z+=i(R.length,2),{fileRecord:f.LOCAL_FILE_HEADER+z+T+R,dirRecord:f.CENTRAL_FILE_HEADER+i(U,2)+z+i(V.length,2)+"\0\0\0\0"+i(k,4)+i(_,4)+T+R+V}}var o=r("../utils"),l=r("../stream/GenericWorker"),u=r("../utf8"),c=r("../crc32"),f=r("../signature");function m(d,h,p,_){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=h,this.zipPlatform=p,this.encodeFileName=_,this.streamFiles=d,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(m,l),m.prototype.push=function(d){var h=d.meta.percent||0,p=this.entriesCount,_=this._sources.length;this.accumulate?this.contentBuffer.push(d):(this.bytesWritten+=d.data.length,l.prototype.push.call(this,{data:d.data,meta:{currentFile:this.currentFile,percent:p?(h+100*(p-_-1))/p:100}}))},m.prototype.openedSource=function(d){this.currentSourceOffset=this.bytesWritten,this.currentFile=d.file.name;var h=this.streamFiles&&!d.file.dir;if(h){var p=s(d,h,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:p.fileRecord,meta:{percent:0}})}else this.accumulate=!0},m.prototype.closedSource=function(d){this.accumulate=!1;var h=this.streamFiles&&!d.file.dir,p=s(d,h,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(p.dirRecord),h)this.push({data:function(_){return f.DATA_DESCRIPTOR+i(_.crc32,4)+i(_.compressedSize,4)+i(_.uncompressedSize,4)}(d),meta:{percent:100}});else for(this.push({data:p.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},m.prototype.flush=function(){for(var d=this.bytesWritten,h=0;h=this.index;l--)u=(u<<8)+this.byteAt(l);return this.index+=o,u},readString:function(o){return i.transformTo("string",this.readData(o))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var o=this.readInt(4);return new Date(Date.UTC(1980+(o>>25&127),(o>>21&15)-1,o>>16&31,o>>11&31,o>>5&63,(31&o)<<1))}},n.exports=s},{"../utils":32}],19:[function(r,n,a){var i=r("./Uint8ArrayReader");function s(o){i.call(this,o)}r("../utils").inherits(s,i),s.prototype.readData=function(o){this.checkOffset(o);var l=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,l},n.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(r,n,a){var i=r("./DataReader");function s(o){i.call(this,o)}r("../utils").inherits(s,i),s.prototype.byteAt=function(o){return this.data.charCodeAt(this.zero+o)},s.prototype.lastIndexOfSignature=function(o){return this.data.lastIndexOf(o)-this.zero},s.prototype.readAndCheckSignature=function(o){return o===this.readData(4)},s.prototype.readData=function(o){this.checkOffset(o);var l=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,l},n.exports=s},{"../utils":32,"./DataReader":18}],21:[function(r,n,a){var i=r("./ArrayReader");function s(o){i.call(this,o)}r("../utils").inherits(s,i),s.prototype.readData=function(o){if(this.checkOffset(o),o===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+o);return this.index+=o,l},n.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(r,n,a){var i=r("../utils"),s=r("../support"),o=r("./ArrayReader"),l=r("./StringReader"),u=r("./NodeBufferReader"),c=r("./Uint8ArrayReader");n.exports=function(f){var m=i.getTypeOf(f);return i.checkSupport(m),m!=="string"||s.uint8array?m==="nodebuffer"?new u(f):s.uint8array?new c(i.transformTo("uint8array",f)):new o(i.transformTo("array",f)):new l(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(r,n,a){a.LOCAL_FILE_HEADER="PK",a.CENTRAL_FILE_HEADER="PK",a.CENTRAL_DIRECTORY_END="PK",a.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",a.ZIP64_CENTRAL_DIRECTORY_END="PK",a.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(r,n,a){var i=r("./GenericWorker"),s=r("../utils");function o(l){i.call(this,"ConvertWorker to "+l),this.destType=l}s.inherits(o,i),o.prototype.processChunk=function(l){this.push({data:s.transformTo(this.destType,l.data),meta:l.meta})},n.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(r,n,a){var i=r("./GenericWorker"),s=r("../crc32");function o(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}r("../utils").inherits(o,i),o.prototype.processChunk=function(l){this.streamInfo.crc32=s(l.data,this.streamInfo.crc32||0),this.push(l)},n.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(r,n,a){var i=r("../utils"),s=r("./GenericWorker");function o(l){s.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}i.inherits(o,s),o.prototype.processChunk=function(l){if(l){var u=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=u+l.data.length}s.prototype.processChunk.call(this,l)},n.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(r,n,a){var i=r("../utils"),s=r("./GenericWorker");function o(l){s.call(this,"DataWorker");var u=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(c){u.dataIsReady=!0,u.data=c,u.max=c&&c.length||0,u.type=i.getTypeOf(c),u.isPaused||u._tickAndRepeat()},function(c){u.error(c)})}i.inherits(o,s),o.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,u=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,u);break;case"uint8array":l=this.data.subarray(this.index,u);break;case"array":case"nodebuffer":l=this.data.slice(this.index,u)}return this.index=u,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},n.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(r,n,a){function i(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,o){return this._listeners[s].push(o),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,o){if(this._listeners[s])for(var l=0;l "+s:s}},n.exports=i},{}],29:[function(r,n,a){var i=r("../utils"),s=r("./ConvertWorker"),o=r("./GenericWorker"),l=r("../base64"),u=r("../support"),c=r("../external"),f=null;if(u.nodestream)try{f=r("../nodejs/NodejsStreamOutputAdapter")}catch{}function m(h,p){return new c.Promise(function(_,S){var v=[],g=h._internalType,y=h._outputType,M=h._mimeType;h.on("data",function(I,D){v.push(I),p&&p(D)}).on("error",function(I){v=[],S(I)}).on("end",function(){try{var I=function(D,T,b){switch(D){case"blob":return i.newBlob(i.transformTo("arraybuffer",T),b);case"base64":return l.encode(T);default:return i.transformTo(D,T)}}(y,function(D,T){var b,N=0,V=null,A=0;for(b=0;b"u")a.blob=!1;else{var i=new ArrayBuffer(0);try{a.blob=new Blob([i],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(i),a.blob=s.getBlob("application/zip").size===0}catch{a.blob=!1}}}try{a.nodestream=!!r("readable-stream").Readable}catch{a.nodestream=!1}},{"readable-stream":16}],31:[function(r,n,a){for(var i=r("./utils"),s=r("./support"),o=r("./nodejsUtils"),l=r("./stream/GenericWorker"),u=new Array(256),c=0;c<256;c++)u[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;u[254]=u[254]=1;function f(){l.call(this,"utf-8 decode"),this.leftOver=null}function m(){l.call(this,"utf-8 encode")}a.utf8encode=function(d){return s.nodebuffer?o.newBufferFrom(d,"utf-8"):function(h){var p,_,S,v,g,y=h.length,M=0;for(v=0;v>>6:(_<65536?p[g++]=224|_>>>12:(p[g++]=240|_>>>18,p[g++]=128|_>>>12&63),p[g++]=128|_>>>6&63),p[g++]=128|63&_);return p}(d)},a.utf8decode=function(d){return s.nodebuffer?i.transformTo("nodebuffer",d).toString("utf-8"):function(h){var p,_,S,v,g=h.length,y=new Array(2*g);for(p=_=0;p>10&1023,y[_++]=56320|1023&S)}return y.length!==_&&(y.subarray?y=y.subarray(0,_):y.length=_),i.applyFromCharCode(y)}(d=i.transformTo(s.uint8array?"uint8array":"array",d))},i.inherits(f,l),f.prototype.processChunk=function(d){var h=i.transformTo(s.uint8array?"uint8array":"array",d.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var p=h;(h=new Uint8Array(p.length+this.leftOver.length)).set(this.leftOver,0),h.set(p,this.leftOver.length)}else h=this.leftOver.concat(h);this.leftOver=null}var _=function(v,g){var y;for((g=g||v.length)>v.length&&(g=v.length),y=g-1;0<=y&&(192&v[y])==128;)y--;return y<0||y===0?g:y+u[v[y]]>g?y:g}(h),S=h;_!==h.length&&(s.uint8array?(S=h.subarray(0,_),this.leftOver=h.subarray(_,h.length)):(S=h.slice(0,_),this.leftOver=h.slice(_,h.length))),this.push({data:a.utf8decode(S),meta:d.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:a.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},a.Utf8DecodeWorker=f,i.inherits(m,l),m.prototype.processChunk=function(d){this.push({data:a.utf8encode(d.data),meta:d.meta})},a.Utf8EncodeWorker=m},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(r,n,a){var i=r("./support"),s=r("./base64"),o=r("./nodejsUtils"),l=r("./external");function u(p){return p}function c(p,_){for(var S=0;S>8;this.dir=!!(16&this.externalFileAttributes),d==0&&(this.dosPermissions=63&this.externalFileAttributes),d==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var d=i(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=d.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=d.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=d.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=d.readInt(4))}},readExtraFields:function(d){var h,p,_,S=d.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});d.index+4>>6:(d<65536?m[_++]=224|d>>>12:(m[_++]=240|d>>>18,m[_++]=128|d>>>12&63),m[_++]=128|d>>>6&63),m[_++]=128|63&d);return m},a.buf2binstring=function(f){return c(f,f.length)},a.binstring2buf=function(f){for(var m=new i.Buf8(f.length),d=0,h=m.length;d>10&1023,v[h++]=56320|1023&p)}return c(v,h)},a.utf8border=function(f,m){var d;for((m=m||f.length)>f.length&&(m=f.length),d=m-1;0<=d&&(192&f[d])==128;)d--;return d<0||d===0?m:d+l[f[d]]>m?d:m}},{"./common":41}],43:[function(r,n,a){n.exports=function(i,s,o,l){for(var u=65535&i|0,c=i>>>16&65535|0,f=0;o!==0;){for(o-=f=2e3>>1:s>>>1;o[l]=s}return o}();n.exports=function(s,o,l,u){var c=i,f=u+l;s^=-1;for(var m=u;m>>8^c[255&(s^o[m])];return-1^s}},{}],46:[function(r,n,a){var i,s=r("../utils/common"),o=r("./trees"),l=r("./adler32"),u=r("./crc32"),c=r("./messages"),f=0,m=4,d=0,h=-2,p=-1,_=4,S=2,v=8,g=9,y=286,M=30,I=19,D=2*y+1,T=15,b=3,N=258,V=N+b+1,A=42,j=113,O=1,R=2,te=3,W=4;function ue(P,Ve){return P.msg=c[Ve],Ve}function F(P){return(P<<1)-(4P.avail_out&&(we=P.avail_out),we!==0&&(s.arraySet(P.output,Ve.pending_buf,Ve.pending_out,we,P.next_out),P.next_out+=we,Ve.pending_out+=we,P.total_out+=we,P.avail_out-=we,Ve.pending-=we,Ve.pending===0&&(Ve.pending_out=0))}function k(P,Ve){o._tr_flush_block(P,0<=P.block_start?P.block_start:-1,P.strstart-P.block_start,Ve),P.block_start=P.strstart,J(P.strm)}function U(P,Ve){P.pending_buf[P.pending++]=Ve}function z(P,Ve){P.pending_buf[P.pending++]=Ve>>>8&255,P.pending_buf[P.pending++]=255&Ve}function q(P,Ve){var we,Y,Q=P.max_chain_length,Te=P.strstart,Ge=P.prev_length,ze=P.nice_match,x=P.strstart>P.w_size-V?P.strstart-(P.w_size-V):0,Ne=P.window,it=P.w_mask,Je=P.prev,Ye=P.strstart+N,G=Ne[Te+Ge-1],L=Ne[Te+Ge];P.prev_length>=P.good_match&&(Q>>=2),ze>P.lookahead&&(ze=P.lookahead);do if(Ne[(we=Ve)+Ge]===L&&Ne[we+Ge-1]===G&&Ne[we]===Ne[Te]&&Ne[++we]===Ne[Te+1]){Te+=2,we++;do;while(Ne[++Te]===Ne[++we]&&Ne[++Te]===Ne[++we]&&Ne[++Te]===Ne[++we]&&Ne[++Te]===Ne[++we]&&Ne[++Te]===Ne[++we]&&Ne[++Te]===Ne[++we]&&Ne[++Te]===Ne[++we]&&Ne[++Te]===Ne[++we]&&Tex&&--Q!=0);return Ge<=P.lookahead?Ge:P.lookahead}function Ie(P){var Ve,we,Y,Q,Te,Ge,ze,x,Ne,it,Je=P.w_size;do{if(Q=P.window_size-P.lookahead-P.strstart,P.strstart>=Je+(Je-V)){for(s.arraySet(P.window,P.window,Je,Je,0),P.match_start-=Je,P.strstart-=Je,P.block_start-=Je,Ve=we=P.hash_size;Y=P.head[--Ve],P.head[Ve]=Je<=Y?Y-Je:0,--we;);for(Ve=we=Je;Y=P.prev[--Ve],P.prev[Ve]=Je<=Y?Y-Je:0,--we;);Q+=Je}if(P.strm.avail_in===0)break;if(Ge=P.strm,ze=P.window,x=P.strstart+P.lookahead,Ne=Q,it=void 0,it=Ge.avail_in,Ne=b)for(Te=P.strstart-P.insert,P.ins_h=P.window[Te],P.ins_h=(P.ins_h<=b&&(P.ins_h=(P.ins_h<=b)if(Y=o._tr_tally(P,P.strstart-P.match_start,P.match_length-b),P.lookahead-=P.match_length,P.match_length<=P.max_lazy_match&&P.lookahead>=b){for(P.match_length--;P.strstart++,P.ins_h=(P.ins_h<=b&&(P.ins_h=(P.ins_h<=b&&P.match_length<=P.prev_length){for(Q=P.strstart+P.lookahead-b,Y=o._tr_tally(P,P.strstart-1-P.prev_match,P.prev_length-b),P.lookahead-=P.prev_length-1,P.prev_length-=2;++P.strstart<=Q&&(P.ins_h=(P.ins_h<P.pending_buf_size-5&&(we=P.pending_buf_size-5);;){if(P.lookahead<=1){if(Ie(P),P.lookahead===0&&Ve===f)return O;if(P.lookahead===0)break}P.strstart+=P.lookahead,P.lookahead=0;var Y=P.block_start+we;if((P.strstart===0||P.strstart>=Y)&&(P.lookahead=P.strstart-Y,P.strstart=Y,k(P,!1),P.strm.avail_out===0)||P.strstart-P.block_start>=P.w_size-V&&(k(P,!1),P.strm.avail_out===0))return O}return P.insert=0,Ve===m?(k(P,!0),P.strm.avail_out===0?te:W):(P.strstart>P.block_start&&(k(P,!1),P.strm.avail_out),O)}),new Me(4,4,8,4,Fe),new Me(4,5,16,8,Fe),new Me(4,6,32,32,Fe),new Me(4,4,16,16,Le),new Me(8,16,32,32,Le),new Me(8,16,128,128,Le),new Me(8,32,128,256,Le),new Me(32,128,258,1024,Le),new Me(32,258,258,4096,Le)],a.deflateInit=function(P,Ve){return dt(P,Ve,v,15,8,0)},a.deflateInit2=dt,a.deflateReset=ae,a.deflateResetKeep=be,a.deflateSetHeader=function(P,Ve){return P&&P.state?P.state.wrap!==2?h:(P.state.gzhead=Ve,d):h},a.deflate=function(P,Ve){var we,Y,Q,Te;if(!P||!P.state||5>8&255),U(Y,Y.gzhead.time>>16&255),U(Y,Y.gzhead.time>>24&255),U(Y,Y.level===9?2:2<=Y.strategy||Y.level<2?4:0),U(Y,255&Y.gzhead.os),Y.gzhead.extra&&Y.gzhead.extra.length&&(U(Y,255&Y.gzhead.extra.length),U(Y,Y.gzhead.extra.length>>8&255)),Y.gzhead.hcrc&&(P.adler=u(P.adler,Y.pending_buf,Y.pending,0)),Y.gzindex=0,Y.status=69):(U(Y,0),U(Y,0),U(Y,0),U(Y,0),U(Y,0),U(Y,Y.level===9?2:2<=Y.strategy||Y.level<2?4:0),U(Y,3),Y.status=j);else{var Ge=v+(Y.w_bits-8<<4)<<8;Ge|=(2<=Y.strategy||Y.level<2?0:Y.level<6?1:Y.level===6?2:3)<<6,Y.strstart!==0&&(Ge|=32),Ge+=31-Ge%31,Y.status=j,z(Y,Ge),Y.strstart!==0&&(z(Y,P.adler>>>16),z(Y,65535&P.adler)),P.adler=1}if(Y.status===69)if(Y.gzhead.extra){for(Q=Y.pending;Y.gzindex<(65535&Y.gzhead.extra.length)&&(Y.pending!==Y.pending_buf_size||(Y.gzhead.hcrc&&Y.pending>Q&&(P.adler=u(P.adler,Y.pending_buf,Y.pending-Q,Q)),J(P),Q=Y.pending,Y.pending!==Y.pending_buf_size));)U(Y,255&Y.gzhead.extra[Y.gzindex]),Y.gzindex++;Y.gzhead.hcrc&&Y.pending>Q&&(P.adler=u(P.adler,Y.pending_buf,Y.pending-Q,Q)),Y.gzindex===Y.gzhead.extra.length&&(Y.gzindex=0,Y.status=73)}else Y.status=73;if(Y.status===73)if(Y.gzhead.name){Q=Y.pending;do{if(Y.pending===Y.pending_buf_size&&(Y.gzhead.hcrc&&Y.pending>Q&&(P.adler=u(P.adler,Y.pending_buf,Y.pending-Q,Q)),J(P),Q=Y.pending,Y.pending===Y.pending_buf_size)){Te=1;break}Te=Y.gzindexQ&&(P.adler=u(P.adler,Y.pending_buf,Y.pending-Q,Q)),Te===0&&(Y.gzindex=0,Y.status=91)}else Y.status=91;if(Y.status===91)if(Y.gzhead.comment){Q=Y.pending;do{if(Y.pending===Y.pending_buf_size&&(Y.gzhead.hcrc&&Y.pending>Q&&(P.adler=u(P.adler,Y.pending_buf,Y.pending-Q,Q)),J(P),Q=Y.pending,Y.pending===Y.pending_buf_size)){Te=1;break}Te=Y.gzindexQ&&(P.adler=u(P.adler,Y.pending_buf,Y.pending-Q,Q)),Te===0&&(Y.status=103)}else Y.status=103;if(Y.status===103&&(Y.gzhead.hcrc?(Y.pending+2>Y.pending_buf_size&&J(P),Y.pending+2<=Y.pending_buf_size&&(U(Y,255&P.adler),U(Y,P.adler>>8&255),P.adler=0,Y.status=j)):Y.status=j),Y.pending!==0){if(J(P),P.avail_out===0)return Y.last_flush=-1,d}else if(P.avail_in===0&&F(Ve)<=F(we)&&Ve!==m)return ue(P,-5);if(Y.status===666&&P.avail_in!==0)return ue(P,-5);if(P.avail_in!==0||Y.lookahead!==0||Ve!==f&&Y.status!==666){var ze=Y.strategy===2?function(x,Ne){for(var it;;){if(x.lookahead===0&&(Ie(x),x.lookahead===0)){if(Ne===f)return O;break}if(x.match_length=0,it=o._tr_tally(x,0,x.window[x.strstart]),x.lookahead--,x.strstart++,it&&(k(x,!1),x.strm.avail_out===0))return O}return x.insert=0,Ne===m?(k(x,!0),x.strm.avail_out===0?te:W):x.last_lit&&(k(x,!1),x.strm.avail_out===0)?O:R}(Y,Ve):Y.strategy===3?function(x,Ne){for(var it,Je,Ye,G,L=x.window;;){if(x.lookahead<=N){if(Ie(x),x.lookahead<=N&&Ne===f)return O;if(x.lookahead===0)break}if(x.match_length=0,x.lookahead>=b&&0x.lookahead&&(x.match_length=x.lookahead)}if(x.match_length>=b?(it=o._tr_tally(x,1,x.match_length-b),x.lookahead-=x.match_length,x.strstart+=x.match_length,x.match_length=0):(it=o._tr_tally(x,0,x.window[x.strstart]),x.lookahead--,x.strstart++),it&&(k(x,!1),x.strm.avail_out===0))return O}return x.insert=0,Ne===m?(k(x,!0),x.strm.avail_out===0?te:W):x.last_lit&&(k(x,!1),x.strm.avail_out===0)?O:R}(Y,Ve):i[Y.level].func(Y,Ve);if(ze!==te&&ze!==W||(Y.status=666),ze===O||ze===te)return P.avail_out===0&&(Y.last_flush=-1),d;if(ze===R&&(Ve===1?o._tr_align(Y):Ve!==5&&(o._tr_stored_block(Y,0,0,!1),Ve===3&&(le(Y.head),Y.lookahead===0&&(Y.strstart=0,Y.block_start=0,Y.insert=0))),J(P),P.avail_out===0))return Y.last_flush=-1,d}return Ve!==m?d:Y.wrap<=0?1:(Y.wrap===2?(U(Y,255&P.adler),U(Y,P.adler>>8&255),U(Y,P.adler>>16&255),U(Y,P.adler>>24&255),U(Y,255&P.total_in),U(Y,P.total_in>>8&255),U(Y,P.total_in>>16&255),U(Y,P.total_in>>24&255)):(z(Y,P.adler>>>16),z(Y,65535&P.adler)),J(P),0=we.w_size&&(Te===0&&(le(we.head),we.strstart=0,we.block_start=0,we.insert=0),Ne=new s.Buf8(we.w_size),s.arraySet(Ne,Ve,it-we.w_size,we.w_size,0),Ve=Ne,it=we.w_size),Ge=P.avail_in,ze=P.next_in,x=P.input,P.avail_in=it,P.next_in=0,P.input=Ve,Ie(we);we.lookahead>=b;){for(Y=we.strstart,Q=we.lookahead-(b-1);we.ins_h=(we.ins_h<>>=b=T>>>24,g-=b,(b=T>>>16&255)===0)R[c++]=65535&T;else{if(!(16&b)){if((64&b)==0){T=y[(65535&T)+(v&(1<>>=b,g-=b),g<15&&(v+=O[l++]<>>=b=T>>>24,g-=b,!(16&(b=T>>>16&255))){if((64&b)==0){T=M[(65535&T)+(v&(1<>>=b,g-=b,(b=c-f)>3,v&=(1<<(g-=N<<3))-1,i.next_in=l,i.next_out=c,i.avail_in=l>>24&255)+(A>>>8&65280)+((65280&A)<<8)+((255&A)<<24)}function v(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function g(A){var j;return A&&A.state?(j=A.state,A.total_in=A.total_out=j.total=0,A.msg="",j.wrap&&(A.adler=1&j.wrap),j.mode=h,j.last=0,j.havedict=0,j.dmax=32768,j.head=null,j.hold=0,j.bits=0,j.lencode=j.lendyn=new i.Buf32(p),j.distcode=j.distdyn=new i.Buf32(_),j.sane=1,j.back=-1,m):d}function y(A){var j;return A&&A.state?((j=A.state).wsize=0,j.whave=0,j.wnext=0,g(A)):d}function M(A,j){var O,R;return A&&A.state?(R=A.state,j<0?(O=0,j=-j):(O=1+(j>>4),j<48&&(j&=15)),j&&(j<8||15=W.wsize?(i.arraySet(W.window,j,O-W.wsize,W.wsize,0),W.wnext=0,W.whave=W.wsize):(R<(te=W.wsize-W.wnext)&&(te=R),i.arraySet(W.window,j,O-R,te,W.wnext),(R-=te)?(i.arraySet(W.window,j,O-R,R,0),W.wnext=R,W.whave=W.wsize):(W.wnext+=te,W.wnext===W.wsize&&(W.wnext=0),W.whave>>8&255,O.check=o(O.check,Te,2,0),k=J=0,O.mode=2;break}if(O.flags=0,O.head&&(O.head.done=!1),!(1&O.wrap)||(((255&J)<<8)+(J>>8))%31){A.msg="incorrect header check",O.mode=30;break}if((15&J)!=8){A.msg="unknown compression method",O.mode=30;break}if(k-=4,P=8+(15&(J>>>=4)),O.wbits===0)O.wbits=P;else if(P>O.wbits){A.msg="invalid window size",O.mode=30;break}O.dmax=1<>8&1),512&O.flags&&(Te[0]=255&J,Te[1]=J>>>8&255,O.check=o(O.check,Te,2,0)),k=J=0,O.mode=3;case 3:for(;k<32;){if(F===0)break e;F--,J+=R[W++]<>>8&255,Te[2]=J>>>16&255,Te[3]=J>>>24&255,O.check=o(O.check,Te,4,0)),k=J=0,O.mode=4;case 4:for(;k<16;){if(F===0)break e;F--,J+=R[W++]<>8),512&O.flags&&(Te[0]=255&J,Te[1]=J>>>8&255,O.check=o(O.check,Te,2,0)),k=J=0,O.mode=5;case 5:if(1024&O.flags){for(;k<16;){if(F===0)break e;F--,J+=R[W++]<>>8&255,O.check=o(O.check,Te,2,0)),k=J=0}else O.head&&(O.head.extra=null);O.mode=6;case 6:if(1024&O.flags&&(F<(q=O.length)&&(q=F),q&&(O.head&&(P=O.head.extra_len-O.length,O.head.extra||(O.head.extra=new Array(O.head.extra_len)),i.arraySet(O.head.extra,R,W,q,P)),512&O.flags&&(O.check=o(O.check,R,q,W)),F-=q,W+=q,O.length-=q),O.length))break e;O.length=0,O.mode=7;case 7:if(2048&O.flags){if(F===0)break e;for(q=0;P=R[W+q++],O.head&&P&&O.length<65536&&(O.head.name+=String.fromCharCode(P)),P&&q>9&1,O.head.done=!0),A.adler=O.check=0,O.mode=12;break;case 10:for(;k<32;){if(F===0)break e;F--,J+=R[W++]<>>=7&k,k-=7&k,O.mode=27;break}for(;k<3;){if(F===0)break e;F--,J+=R[W++]<>>=1)){case 0:O.mode=14;break;case 1:if(N(O),O.mode=20,j!==6)break;J>>>=2,k-=2;break e;case 2:O.mode=17;break;case 3:A.msg="invalid block type",O.mode=30}J>>>=2,k-=2;break;case 14:for(J>>>=7&k,k-=7&k;k<32;){if(F===0)break e;F--,J+=R[W++]<>>16^65535)){A.msg="invalid stored block lengths",O.mode=30;break}if(O.length=65535&J,k=J=0,O.mode=15,j===6)break e;case 15:O.mode=16;case 16:if(q=O.length){if(F>>=5,k-=5,O.ndist=1+(31&J),J>>>=5,k-=5,O.ncode=4+(15&J),J>>>=4,k-=4,286>>=3,k-=3}for(;O.have<19;)O.lens[Ge[O.have++]]=0;if(O.lencode=O.lendyn,O.lenbits=7,we={bits:O.lenbits},Ve=u(0,O.lens,0,19,O.lencode,0,O.work,we),O.lenbits=we.bits,Ve){A.msg="invalid code lengths set",O.mode=30;break}O.have=0,O.mode=19;case 19:for(;O.have>>16&255,Re=65535&Q,!((Le=Q>>>24)<=k);){if(F===0)break e;F--,J+=R[W++]<>>=Le,k-=Le,O.lens[O.have++]=Re;else{if(Re===16){for(Y=Le+2;k>>=Le,k-=Le,O.have===0){A.msg="invalid bit length repeat",O.mode=30;break}P=O.lens[O.have-1],q=3+(3&J),J>>>=2,k-=2}else if(Re===17){for(Y=Le+3;k>>=Le)),J>>>=3,k-=3}else{for(Y=Le+7;k>>=Le)),J>>>=7,k-=7}if(O.have+q>O.nlen+O.ndist){A.msg="invalid bit length repeat",O.mode=30;break}for(;q--;)O.lens[O.have++]=P}}if(O.mode===30)break;if(O.lens[256]===0){A.msg="invalid code -- missing end-of-block",O.mode=30;break}if(O.lenbits=9,we={bits:O.lenbits},Ve=u(c,O.lens,0,O.nlen,O.lencode,0,O.work,we),O.lenbits=we.bits,Ve){A.msg="invalid literal/lengths set",O.mode=30;break}if(O.distbits=6,O.distcode=O.distdyn,we={bits:O.distbits},Ve=u(f,O.lens,O.nlen,O.ndist,O.distcode,0,O.work,we),O.distbits=we.bits,Ve){A.msg="invalid distances set",O.mode=30;break}if(O.mode=20,j===6)break e;case 20:O.mode=21;case 21:if(6<=F&&258<=le){A.next_out=ue,A.avail_out=le,A.next_in=W,A.avail_in=F,O.hold=J,O.bits=k,l(A,z),ue=A.next_out,te=A.output,le=A.avail_out,W=A.next_in,R=A.input,F=A.avail_in,J=O.hold,k=O.bits,O.mode===12&&(O.back=-1);break}for(O.back=0;Me=(Q=O.lencode[J&(1<>>16&255,Re=65535&Q,!((Le=Q>>>24)<=k);){if(F===0)break e;F--,J+=R[W++]<>be)])>>>16&255,Re=65535&Q,!(be+(Le=Q>>>24)<=k);){if(F===0)break e;F--,J+=R[W++]<>>=be,k-=be,O.back+=be}if(J>>>=Le,k-=Le,O.back+=Le,O.length=Re,Me===0){O.mode=26;break}if(32&Me){O.back=-1,O.mode=12;break}if(64&Me){A.msg="invalid literal/length code",O.mode=30;break}O.extra=15&Me,O.mode=22;case 22:if(O.extra){for(Y=O.extra;k>>=O.extra,k-=O.extra,O.back+=O.extra}O.was=O.length,O.mode=23;case 23:for(;Me=(Q=O.distcode[J&(1<>>16&255,Re=65535&Q,!((Le=Q>>>24)<=k);){if(F===0)break e;F--,J+=R[W++]<>be)])>>>16&255,Re=65535&Q,!(be+(Le=Q>>>24)<=k);){if(F===0)break e;F--,J+=R[W++]<>>=be,k-=be,O.back+=be}if(J>>>=Le,k-=Le,O.back+=Le,64&Me){A.msg="invalid distance code",O.mode=30;break}O.offset=Re,O.extra=15&Me,O.mode=24;case 24:if(O.extra){for(Y=O.extra;k>>=O.extra,k-=O.extra,O.back+=O.extra}if(O.offset>O.dmax){A.msg="invalid distance too far back",O.mode=30;break}O.mode=25;case 25:if(le===0)break e;if(q=z-le,O.offset>q){if((q=O.offset-q)>O.whave&&O.sane){A.msg="invalid distance too far back",O.mode=30;break}Ie=q>O.wnext?(q-=O.wnext,O.wsize-q):O.wnext-q,q>O.length&&(q=O.length),Fe=O.window}else Fe=te,Ie=ue-O.offset,q=O.length;for(leD?(b=Ie[Fe+_[j]],k[U+_[j]]):(b=96,0),v=1<>ue)+(g-=v)]=T<<24|b<<16|N|0,g!==0;);for(v=1<>=1;if(v!==0?(J&=v-1,J+=v):J=0,j++,--z[A]==0){if(A===R)break;A=f[m+_[j]]}if(te>>7)]}function U(Q,Te){Q.pending_buf[Q.pending++]=255&Te,Q.pending_buf[Q.pending++]=Te>>>8&255}function z(Q,Te,Ge){Q.bi_valid>S-Ge?(Q.bi_buf|=Te<>S-Q.bi_valid,Q.bi_valid+=Ge-S):(Q.bi_buf|=Te<>>=1,Ge<<=1,0<--Te;);return Ge>>>1}function Fe(Q,Te,Ge){var ze,x,Ne=new Array(_+1),it=0;for(ze=1;ze<=_;ze++)Ne[ze]=it=it+Ge[ze-1]<<1;for(x=0;x<=Te;x++){var Je=Q[2*x+1];Je!==0&&(Q[2*x]=Ie(Ne[Je]++,Je))}}function Le(Q){var Te;for(Te=0;Te>1;1<=Ge;Ge--)be(Q,Ne,Ge);for(x=Ye;Ge=Q.heap[1],Q.heap[1]=Q.heap[Q.heap_len--],be(Q,Ne,1),ze=Q.heap[1],Q.heap[--Q.heap_max]=Ge,Q.heap[--Q.heap_max]=ze,Ne[2*x]=Ne[2*Ge]+Ne[2*ze],Q.depth[x]=(Q.depth[Ge]>=Q.depth[ze]?Q.depth[Ge]:Q.depth[ze])+1,Ne[2*Ge+1]=Ne[2*ze+1]=x,Q.heap[1]=x++,be(Q,Ne,1),2<=Q.heap_len;);Q.heap[--Q.heap_max]=Q.heap[1],function(L,E){var H,ne,ie,Ce,gt,oe,ce=E.dyn_tree,Ze=E.max_code,Ct=E.stat_desc.static_tree,Ue=E.stat_desc.has_stree,Ae=E.stat_desc.extra_bits,nt=E.stat_desc.extra_base,B=E.stat_desc.max_length,he=0;for(Ce=0;Ce<=_;Ce++)L.bl_count[Ce]=0;for(ce[2*L.heap[L.heap_max]+1]=0,H=L.heap_max+1;H>=7;x>>=1)if(1&G&&Je.dyn_ltree[2*Ye]!==0)return s;if(Je.dyn_ltree[18]!==0||Je.dyn_ltree[20]!==0||Je.dyn_ltree[26]!==0)return o;for(Ye=32;Ye>>3,(Ne=Q.static_len+3+7>>>3)<=x&&(x=Ne)):x=Ne=Ge+5,Ge+4<=x&&Te!==-1?Y(Q,Te,Ge,ze):Q.strategy===4||Ne===x?(z(Q,2+(ze?1:0),3),ae(Q,V,A)):(z(Q,4+(ze?1:0),3),function(Je,Ye,G,L){var E;for(z(Je,Ye-257,5),z(Je,G-1,5),z(Je,L-4,4),E=0;E>>8&255,Q.pending_buf[Q.d_buf+2*Q.last_lit+1]=255&Te,Q.pending_buf[Q.l_buf+Q.last_lit]=255&Ge,Q.last_lit++,Te===0?Q.dyn_ltree[2*Ge]++:(Q.matches++,Te--,Q.dyn_ltree[2*(O[Ge]+f+1)]++,Q.dyn_dtree[2*k(Te)]++),Q.last_lit===Q.lit_bufsize-1},a._tr_align=function(Q){z(Q,2,3),q(Q,g,V),function(Te){Te.bi_valid===16?(U(Te,Te.bi_buf),Te.bi_buf=0,Te.bi_valid=0):8<=Te.bi_valid&&(Te.pending_buf[Te.pending++]=255&Te.bi_buf,Te.bi_buf>>=8,Te.bi_valid-=8)}(Q)}},{"../utils/common":41}],53:[function(r,n,a){n.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(r,n,a){(function(i){(function(s,o){if(!s.setImmediate){var l,u,c,f,m=1,d={},h=!1,p=s.document,_=Object.getPrototypeOf&&Object.getPrototypeOf(s);_=_&&_.setTimeout?_:s,l={}.toString.call(s.process)==="[object process]"?function(y){process.nextTick(function(){v(y)})}:function(){if(s.postMessage&&!s.importScripts){var y=!0,M=s.onmessage;return s.onmessage=function(){y=!1},s.postMessage("","*"),s.onmessage=M,y}}()?(f="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",g,!1):s.attachEvent("onmessage",g),function(y){s.postMessage(f+y,"*")}):s.MessageChannel?((c=new MessageChannel).port1.onmessage=function(y){v(y.data)},function(y){c.port2.postMessage(y)}):p&&"onreadystatechange"in p.createElement("script")?(u=p.documentElement,function(y){var M=p.createElement("script");M.onreadystatechange=function(){v(y),M.onreadystatechange=null,u.removeChild(M),M=null},u.appendChild(M)}):function(y){setTimeout(v,0,y)},_.setImmediate=function(y){typeof y!="function"&&(y=new Function(""+y));for(var M=new Array(arguments.length-1),I=0;I"u"?i===void 0?this:i:self)}).call(this,typeof Zs<"u"?Zs:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(lw);const uw=lw.exports;/** + * @license + * Copyright 2022 Open Ag Data Alliance + * + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */class cw extends TypeError{constructor(t,r){const[n]=r,a=n?`@oada/types assert failed at path "${n.instancePath}": ${n.message}`:"@oada/types assert failed";super(a),this.input=t,this.errors=r,this.input=t,this.errors=r}}var O_={exports:{}},mu={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.formatNames=e.fastFormats=e.fullFormats=void 0;function t(b,N){return{validate:b,compare:N}}e.fullFormats={date:t(i,s),time:t(l,u),"date-time":t(f,m),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:p,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:T,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:S,int32:{type:"number",validate:y},int64:{type:"number",validate:M},float:{type:"number",validate:I},double:{type:"number",validate:I},password:!0,binary:!0},e.fastFormats={...e.fullFormats,date:t(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,s),time:t(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,u),"date-time":t(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,m),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},e.formatNames=Object.keys(e.fullFormats);function r(b){return b%4===0&&(b%100!==0||b%400===0)}const n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,a=[0,31,28,31,30,31,30,31,31,30,31,30,31];function i(b){const N=n.exec(b);if(!N)return!1;const V=+N[1],A=+N[2],j=+N[3];return A>=1&&A<=12&&j>=1&&j<=(A===2&&r(V)?29:a[A])}function s(b,N){if(!!(b&&N))return b>N?1:bN?1:b=v}function M(b){return Number.isInteger(b)}function I(){return!0}const D=/[^\\]\\Z/;function T(b){if(D.test(b))return!1;try{return new RegExp(b),!0}catch{return!1}}})(mu);O_.exports=rr;O_.exports.default=rr;const Nte={$id:"https://formats.openag.io/modus/slim/v1/0.schema.json",$schema:"http://json-schema.org/draft-07/schema#",$comment:"A Flatter version of modus v1",description:` + This schema is expected to handle both the original "submission" and "result" schemas + in Modus. In this schema, a "submission" is simply a "result" with some things not + filled out (like the results, obviously). + + The general structure of this schema is one of a global "default" which can be overridden + in particular samples with the same schema, just specifying the keys that differ from + the default. i.e. the "lab" key at the top level can specify things about the lab that + are common across all samples, but then the "lab" key under any given sample would specify + things that the lab needs to record that are specific to the sample. + `,$defs:{id:{type:"string",description:"A sufficiently unique string to identify things, in any form."},aliasid:{type:"string",description:"A reference to an id that can be found physically on a sample such as a bar code or QR code"},sourcedId:{type:"object",properties:{source:{enum:["local"],description:` + A string representing the place that assigned this id. If the id does not come + from any official list, use "local". The value of this id should be considered + unique within the source list. If "local" is used, in order to ensure global + uniqueness, a random (or at least sufficiently unique) string should be generated. + For example, the id "ABCLabs_RoanokeVA" is sufficiently unique to represent an ID + for that particular lab, and preferred to simply a UUID. A given "local" should + use the same unique string to represent the same thing in subsequent documents. + `},value:{type:"string",description:"The actual sufficiently-unique string that is the id from this souce."}}},person:{type:"object",description:"Used for contacts at the lab and the source",properties:{name:{type:"string"},phone:{type:"string"},address:{type:"string"},email:{type:"string",format:"email"}}},client:{type:"object",description:"A description of the client of either the lab or the source.",properties:{accountNumber:{type:"string"},name:{type:"string"},address:{type:"string"},contact:{$ref:"#/$defs/person",description:"Who to contact at the client about this report."}}},report:{type:"object",description:` + This represents information about this document as seen by either the lab or th source, + depending on which key this report is under (lab or source). + i.e. this Modus document is a "report". This is different than how Modus v1.0 used the word + report, which was to represent PDF files separate from the Modus file. This schema places + those things under the files key.`,properties:{id:{$ref:"#/$defs/id",description:` + The id of this document at the lab or source, depending on which key it is under, + (lab or source). If the lab creates this document first, + then it should use this id also as the top-level id on the document, unless + it is not sufficiently random to avoid conflict with other labs' documents. + In that case, the lab should assign a UUID to the top level and use its own + internal id here. + `},date:{type:"string",format:"date",description:"Date the results were added to this report by the lab."}}},files:{description:` + Some labs include either a URI or a base64-encoded PDF in their Modus v1 files. + This files object is simply an unordered set of files, keyed by random string + identifiers. If the file is to be referened in the samples, the file must have an + id and the id must be the same as the key in this files object. There can be multiple + associdate files (PDF, XLSX, CSV, etc.). The file type should be inferrable from the + name on each file object. + `,additionalProperties:{type:"object",description:` + If you want to include the actual file, base64 encode it and put it in the base64 key. + Otheriwse, it can be at a URI. The file type should be inferred from the extension on + the name (i.e. something.pdf). + `,properties:{id:{type:"string",description:` + An ID for the file. If you want to refer to the file in the any given samples, + you need this id in order to refer to it with fileid. + `},name:{type:"string",description:"The filename of the file."},description:{type:"string"},uri:{type:"string",format:"uri"},base64:{type:"string",description:"The base64-encoded bytes of the file."}}}},depth:{type:"object",properties:{name:{type:"string",description:` + A human-readable version of this depth. Entirely optional and here primarily for + backwards compatibility. If an older file or spreadsheet uses a string for the depth + that is not easily parsable, it can be put as the name for posterity. If you know the + starting/ending depths, just put those in their resepective places instead. + `},top:{type:"number",description:"The top of the depth range being sampled. Should be less than the bottom."},bottom:{type:"number",description:"The bottom of the depth range being sampled. Should be greater than top."},units:{type:"string",description:'Any valid UCUM string representing a length, such as "in" or "cm".'}}},geolocation:{type:"object",description:` + Represents where a sample was taken. This can be global for all samples (i.e. a field boundary), + or, more ideally, a lat/lon for each point. If you just have a lat/lon point in the WGS84 datum, + just put the lat/lon in this object. For all other geometries, use geojson. If both lat/lon and + geojson are present for a geolocation, lat/lon takes precedence. + `,properties:{lat:{type:"number",description:"Latitude in the WGS84 datum"},lon:{type:"number",description:"Longitude in the WGS84 datum"},geojson:{type:"object",description:"GeoJSON representation of this location."}}},lab:{type:"object",description:` + This represents information about and for the lab that is producing the results. + It exists at the top-level of the document for any items that apply to all samples + and results in the document, and then it can also exist within samples or results + to specify things specific to that sample or result. Each sample or result's lab + object should be considered a "deep merge" of the top-level lab object and the + more specific lab object within the sample. Any keys present in both the top-level + lab object AND the sample-level object should be considered to be overridden in the + sample-level object (i.e. they replace the top-level key in the merge). + `,properties:{id:{$ref:"#/$defs/sourcedId"},name:{type:"string"},contact:{type:"object",description:"Information about how to contact the lab",properties:{name:{type:"string"},phone:{type:"string"},address:{type:"string"},email:{type:"string",format:"email"}}},client:{$ref:"#/$defs/client",description:"Info on the lab's client, as seen by the lab."},dateReceived:{type:"string",format:"date-time",description:"Day and time the lab received the samples. Could be overriden per-sample if needed."},dateProcessed:{type:"string",format:"date-time",description:"Day and time the lab processed the samples. Could be overriden per-sample if needed."},report:{$ref:"#/$defs/report",description:` + Information about this Modus document (id, date, etc.) as seen from the lab's + perspective. Refer to the $def for more informaiton. + `},files:{$ref:"#/$defs/files",description:` + Information representing other files associated with this Modus document at the lab. + Refer to the $defs for more information. + `},sampleid:{type:"string",description:` + ID of the sample assigned by the lab. This is not likely to be meaningful at the top-level, + and should therefore only appear in the sample's version of the lab key. + `},aliasid:{$ref:"#/$defs/aliasid",description:` + An id for a sample that can be found physically on it such as a bar code or QR code, as seen by the lab. + `},fileids:{type:"array",description:` + An array of fileid's in the list of files which are associated with this sample. Like sampleid, + this is not likely meaningful at the top level and should only really appear in the sample-specific + lab keys. + `,items:{type:"string",description:"Refers to a file in the list of files which is associated with this sample."}}}},source:{type:"object",description:` + This object represents information about the "source" of the samples. It is generally + about whomever sent the samples to the lab, and may original at the source, or be added + by the lab if known. It's purpose is primarily to identify this document and relate it + to other data at the source, such as a field where the samples were taken. The lab should + passthru anything found here when adding results if the source originated the document. + `,properties:{id:{$ref:"#/$defs/sourcedId",description:` + An identifier for the source. If self-assigned, use the "local" source. Please + refer to the id for the lab above: this follows the same rules and conventions. + `},date:{type:"string",format:"date",description:` + Date samples were collected at the source. If known, this should be the date used + as the top-level date for the document. This can be overridden per-sample under the + source key in each sample, so different samples can have different dates representing + different dates of collection. + `},contact:{$ref:"#/$defs/person",description:"Who to contact at the source for this document."},client:{$ref:"#/$defs/person",description:"If the source is submitting on behalf of their own client, put that info here."},report:{$ref:"#/$defs/report",description:` + Information about this Modus document (id, date, etc.) as seen from the source's + perspective. Refer to the $def for more informaiton. + `},files:{$ref:"#/$defs/files",description:` + Information representing other files associated with this Modus document at the source. + Refer to the $defs for more information. + `},grower:{type:"object",properties:{id:{$ref:"#/$defs/id"},name:{type:"string"}}},farm:{type:"object",properties:{id:{$ref:"#/$defs/id"},name:{type:"string"}}},field:{type:"object",properties:{id:{$ref:"#/$defs/id"},name:{type:"string"}}},subfield:{type:"object",properties:{id:{$ref:"#/$defs/id"},name:{type:"string"}}},sampleid:{type:"string",description:` + ID of the sample assigned by the source. This is not likely to be meaningful + at the top-level and therefore should only be used within the source key in + each sample. + `},aliasid:{$ref:"#/$defs/aliasid",description:` + An id for a sample that can be found physically on it such as a bar code or QR code, as seen by the source. + `},fileids:{type:"array",description:` + An array of fileid's in the list of files which are associated with this sample. Like sampleid, + this is not likely meaningful at the top level and should only really appear in the sample-specific + lab keys. + `,items:{type:"string",description:"Refers to a file in the list of files which is associated with this sample."}}}}},type:"object",properties:{_type:{const:"application/vnd.modus.slim.v1.0+json",description:"Content type for API responses. Must also be present on the document."},id:{$ref:"#/$defs/id",description:` + The "id" on the overall document is set by the original creator and should not be modified. + Both the lab and source have the option to set their own internal ID's in their respective + areas. It is expected (but not required) that if the lab originally creates the document, + the id on the document will be the same as the id under the lab key, and similar for the + source. Any two documents with the same top-level id should be considered the same. + `},date:{type:"string",format:"date",description:` + This is intended as the most significant, known date at the time of document creation. + It will be used as the primary "date" that systems can use to index this document. + Ideally, it is the date that the samples were collected in the field. However, in the + event that date is not known, for example if the lab is the first creator of the document + and the lab does not know the date the samples were collected, then the lab should assign + the date as the earliest date of significance, i.e. the date the lab received the samples. + Should a better date be determined later (i.e. the source receives the document from the + lab and can put in the actual sample collection date), the date should be changed to the + more significant date. + `},name:{type:"string",description:` + An optional short string that the source may use as a human-readable means of identifying + the group of samples in this document. + `},description:{type:"string",description:` + If the name is not long enough, more information can be put here about this group of + samples. + `},type:{enum:["soil","plant-tissue","nematode","water","residue"],description:` + This represents the type of samples and results to be found in this document. Mixing-and-matching + samples and types is not allowed: create multiple documents if you need to do that. "type" here + is top-level: i.e. it applies to all samples and results in this document. + `},depth:{$ref:"#/$defs/depth",description:` + If all or most of the samples in this document were taken at the same depth, you can place the depth + here globally and then override any sample-specific depths within the individual samples. + `},geolocation:{$ref:"#/$defs/geolocation",description:` + Any geolocation information that relates to all samples globally should go here. For example, + a boundary containing all the points that were sampled. If you have point-specific location + information, it should go in the sample-specific geolocation key under each sample. + `},crop:{},lab:{$ref:"#/$defs/lab",description:` + See description in the $defs. This represents global information about and for the lab + which applies docuent-wide (i.e. all samples and all results). + `},source:{$ref:"#/$defs/source",description:` + See description in the $defs. This represents global information about and for the source + which applies document-wide (i.e. all samples and all results). + `},samples:{description:` + The list of samples, keyed by their respective id's. + `,additionalProperties:{type:"object",properties:{id:{$ref:"#/$defs/id",description:` + An ID for this sample, assigned by whomever first creates this document containing this sample. It must + be the same as the key in the samples object (i.e. where this sample resides in the list). It must + be unique at least within this document. If you want a globally unique sampleid, prefix this id with the + id at the top-level of this document. + + If the lab creates this document first, this should be the same as the lab.sampleid. If the source + creates this sample first, it should be the same as the source.sampleid. However, it can also just + be assigned as something other than both, so this is just a recommendation. + `},lab:{$ref:"#/$defs/lab",description:` + Sample-specific overrides for anything in the top-level lab key. + `},source:{$ref:"#/$defs/source",description:` + Sample-specific overrides for anything in the top-level source key. + `},depth:{$ref:"#/$defs/depth",description:"The depth that this sample was taken. Overrides the top-level depth for this sample."},geolocation:{$ref:"#/$defs/geolocation",description:` + Geolocation where this sample was taken. Can be lat/lon (preferred) or geojson. + Refer to the $ref for more information. + `},results:{type:"object",description:` + A list of all the lab results associated with this sample, keyed by a sufficiently-unique string. + Note that since some analytes could be present multiple times, this should just be a random string. + `,additionalProperties:{type:"object",properties:{analyte:{type:"string",description:` + This should be the part of the Modus 2.0 test ID that is between the third and + fourth underscores: L_MODV2_SOIL_B_016 -> analyte: B. Refer to the Modus 2.0 spreadsheet + for the complete list of known analytes. + `},value:{description:` + The value of this lab result for this analyte. If it is numeric in nature, the type + should be number. If it cannot be reprented as a number, then it should be a string. + `,oneOf:[{type:"number"},{type:"string"}]},units:{type:"string",description:"The units for this value. Any UCUM-compliant string should be valid."},modusTestID:{type:"string",description:` + The Modus v2.0 (preferred) ID for the test that produced this result, or the Modus v1.0 + test ID. If neither is known, do not include this key. It is recommended to always + include the Modus v2.0 test ID if it is known. + `}}}}}}}},required:["id","date","type"],examples:[{_type:"application/vnd.modus.slim.v1.0+json",id:"ece3a2a8-4340-48b1-ae1f-d48d1f1e1692",date:"2021-09-24",name:"Samples taken last sunday",type:"soil",lab:{id:{source:"local",value:"1"},name:"A & L Great Lakes Laboratories",contact:{name:"A & L Great Lakes Laboratories",phone:"260.483.4759",address:`3505 Conestoga Dr. +Fort Wayne, IN 46808`},dateReceived:"2021-09-24T00:00:00.000",dateProcessed:"2021-09-28T00:00:00.000",clientAccount:{accountNumber:"30039",company:"THE ANDERSONS FARM CTR - GPS",city:"N MANCHESTER",state:"IN"},report:{id:"F21271-0035",date:"2021-09-25"}},source:{report:{id:"02iojfkeldjsldfssdf"},grower:{id:"dfj20foekdlf",name:"CARL AULT"},farm:{id:"kdjf02ijfoeklew",name:"ENYART"},field:{id:"idkjf20fijoed",name:"EAST50"}},samples:{"0djfi2iekldsfj02i":{lab:{sampleid:"28_051"},source:{sampleid:"ABC-1"},results:{kfj290ji:{analyte:"PH",value:7,units:"none",modusTestID:"S-PH-1:1.02.07"},"2fj290ji":{analyte:"OM",value:2.4,units:"%",modusTestID:"S-SOM-LOI.15"},"3fj290ji":{analyte:"P",value:34,units:"ppm",modusTestID:"S-P-B1-1:10.01.03"},"4fj290ji":{analyte:"K",value:161,units:"ppm",modusTestID:"S-K-NH4AC.05"},"5fj290ji":{analyte:"CA",value:1150,units:"ppm",modusTestID:"S-CA-NH4AC.05"},"6fj290ji":{analyte:"Mg",value:240,units:"ppm",modusTestID:"S-MG-NH4AC.05"},"7fj290ji":{analyte:"CEC",value:8.2,units:"meq/100g",modusTestID:"S-CEC.19"},"8fj290ji":{analyte:"CABS",value:70.4,units:"%",modusTestID:"S-BS-CA.19"},"9fj290ji":{analyte:"MGBS",value:24.5,units:"%",modusTestID:"S-BS-MG.19"},"0fj290ji":{analyte:"KBS",value:5.1,units:"%",modusTestID:"S-BS-K.19"},"11j290ji":{analyte:"SO4S",value:7,units:"ppm",modusTestID:"S-S-NH4AC.05"},"12j290ji":{analyte:"ZN",value:3.3,units:"ppm",modusTestID:"S-ZN-HCL.05"},"13j290ji":{analyte:"MN",value:46,units:"ppm",modusTestID:"S-MN-HCL.05"},"14j290ji":{analyte:"B",value:.7,units:"ppm",modusTestID:"S-B-M3.04"}}}}}]},DO=mu.fullFormats.date,fw={type:"object",properties:{source:{enum:["local"],description:` + A string representing the place that assigned this id. If the id does not come + from any official list, use "local". The value of this id should be considered + unique within the source list. If "local" is used, in order to ensure global + uniqueness, a random (or at least sufficiently unique) string should be generated. + For example, the id "ABCLabs_RoanokeVA" is sufficiently unique to represent an ID + for that particular lab, and preferred to simply a UUID. A given "local" should + use the same unique string to represent the same thing in subsequent documents. + `},value:{type:"string",description:"The actual sufficiently-unique string that is the id from this souce."}}},E_=/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,p5=mu.fullFormats["date-time"],mw=mu.fullFormats.uri;function Ws(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.accountNumber!==void 0){const u=s;if(typeof e.accountNumber!="string")return Ws.errors=[{instancePath:t+"/accountNumber",schemaPath:"#/properties/accountNumber/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=u===s}else var o=!0;if(o){if(e.name!==void 0){const u=s;if(typeof e.name!="string")return Ws.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=u===s}else var o=!0;if(o){if(e.address!==void 0){const u=s;if(typeof e.address!="string")return Ws.errors=[{instancePath:t+"/address",schemaPath:"#/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=u===s}else var o=!0;if(o)if(e.contact!==void 0){let u=e.contact;const c=s;if(u&&typeof u=="object"&&!Array.isArray(u)){if(u.name!==void 0){const m=s;if(typeof u.name!="string")return Ws.errors=[{instancePath:t+"/contact/name",schemaPath:"#/$defs/person/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=m===s}else var l=!0;if(l){if(u.phone!==void 0){const m=s;if(typeof u.phone!="string")return Ws.errors=[{instancePath:t+"/contact/phone",schemaPath:"#/$defs/person/properties/phone/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=m===s}else var l=!0;if(l){if(u.address!==void 0){const m=s;if(typeof u.address!="string")return Ws.errors=[{instancePath:t+"/contact/address",schemaPath:"#/$defs/person/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=m===s}else var l=!0;if(l)if(u.email!==void 0){let m=u.email;const d=s;if(typeof m=="string"){if(!E_.test(m))return Ws.errors=[{instancePath:t+"/contact/email",schemaPath:"#/$defs/person/properties/email/format",keyword:"format",params:{format:"email"},message:'must match format "email"'}],!1}else return Ws.errors=[{instancePath:t+"/contact/email",schemaPath:"#/$defs/person/properties/email/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=d===s}else var l=!0}}}else return Ws.errors=[{instancePath:t+"/contact",schemaPath:"#/$defs/person/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=c===s}else var o=!0}}}else return Ws.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ws.errors=i,s===0}function Mi(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.id!==void 0){const l=s;if(typeof e.id!="string")return Mi.errors=[{instancePath:t+"/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=l===s}else var o=!0;if(o)if(e.date!==void 0){let l=e.date;const u=s;if(typeof l=="string"){if(!DO.validate(l))return Mi.errors=[{instancePath:t+"/date",schemaPath:"#/properties/date/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return Mi.errors=[{instancePath:t+"/date",schemaPath:"#/properties/date/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=u===s}else var o=!0}else return Mi.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Mi.errors=i,s===0}function mr(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.id!==void 0){let d=e.id;const h=s;if(s===s)if(d&&typeof d=="object"&&!Array.isArray(d)){if(d.source!==void 0){const _=s;if(d.source!=="local")return mr.errors=[{instancePath:t+"/id/source",schemaPath:"#/$defs/sourcedId/properties/source/enum",keyword:"enum",params:{allowedValues:fw.properties.source.enum},message:"must be equal to one of the allowed values"}],!1;var o=_===s}else var o=!0;if(o)if(d.value!==void 0){const _=s;if(typeof d.value!="string")return mr.errors=[{instancePath:t+"/id/value",schemaPath:"#/$defs/sourcedId/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=_===s}else var o=!0}else return mr.errors=[{instancePath:t+"/id",schemaPath:"#/$defs/sourcedId/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=h===s}else var l=!0;if(l){if(e.name!==void 0){const d=s;if(typeof e.name!="string")return mr.errors=[{instancePath:t+"/name",schemaPath:"#/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=d===s}else var l=!0;if(l){if(e.contact!==void 0){let d=e.contact;const h=s;if(s===h)if(d&&typeof d=="object"&&!Array.isArray(d)){if(d.name!==void 0){const _=s;if(typeof d.name!="string")return mr.errors=[{instancePath:t+"/contact/name",schemaPath:"#/properties/contact/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=_===s}else var u=!0;if(u){if(d.phone!==void 0){const _=s;if(typeof d.phone!="string")return mr.errors=[{instancePath:t+"/contact/phone",schemaPath:"#/properties/contact/properties/phone/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=_===s}else var u=!0;if(u){if(d.address!==void 0){const _=s;if(typeof d.address!="string")return mr.errors=[{instancePath:t+"/contact/address",schemaPath:"#/properties/contact/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=_===s}else var u=!0;if(u)if(d.email!==void 0){let _=d.email;const S=s;if(s===S&&s===S)if(typeof _=="string"){if(!E_.test(_))return mr.errors=[{instancePath:t+"/contact/email",schemaPath:"#/properties/contact/properties/email/format",keyword:"format",params:{format:"email"},message:'must match format "email"'}],!1}else return mr.errors=[{instancePath:t+"/contact/email",schemaPath:"#/properties/contact/properties/email/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=S===s}else var u=!0}}}else return mr.errors=[{instancePath:t+"/contact",schemaPath:"#/properties/contact/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=h===s}else var l=!0;if(l){if(e.client!==void 0){const d=s;Ws(e.client,{instancePath:t+"/client",parentData:e,parentDataProperty:"client",rootData:a})||(i=i===null?Ws.errors:i.concat(Ws.errors),s=i.length);var l=d===s}else var l=!0;if(l){if(e.dateReceived!==void 0){let d=e.dateReceived;const h=s;if(s===h&&s===h)if(typeof d=="string"){if(!p5.validate(d))return mr.errors=[{instancePath:t+"/dateReceived",schemaPath:"#/properties/dateReceived/format",keyword:"format",params:{format:"date-time"},message:'must match format "date-time"'}],!1}else return mr.errors=[{instancePath:t+"/dateReceived",schemaPath:"#/properties/dateReceived/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=h===s}else var l=!0;if(l){if(e.dateProcessed!==void 0){let d=e.dateProcessed;const h=s;if(s===h&&s===h)if(typeof d=="string"){if(!p5.validate(d))return mr.errors=[{instancePath:t+"/dateProcessed",schemaPath:"#/properties/dateProcessed/format",keyword:"format",params:{format:"date-time"},message:'must match format "date-time"'}],!1}else return mr.errors=[{instancePath:t+"/dateProcessed",schemaPath:"#/properties/dateProcessed/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=h===s}else var l=!0;if(l){if(e.report!==void 0){const d=s;Mi(e.report,{instancePath:t+"/report",parentData:e,parentDataProperty:"report",rootData:a})||(i=i===null?Mi.errors:i.concat(Mi.errors),s=i.length);var l=d===s}else var l=!0;if(l){if(e.files!==void 0){let d=e.files;const h=s;if(d&&typeof d=="object"&&!Array.isArray(d))for(const _ in d){let S=d[_];const v=s;if(s===v)if(S&&typeof S=="object"&&!Array.isArray(S)){if(S.id!==void 0){const g=s;if(typeof S.id!="string")return mr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/id",schemaPath:"#/$defs/files/additionalProperties/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=g===s}else var c=!0;if(c){if(S.name!==void 0){const g=s;if(typeof S.name!="string")return mr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/name",schemaPath:"#/$defs/files/additionalProperties/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=g===s}else var c=!0;if(c){if(S.description!==void 0){const g=s;if(typeof S.description!="string")return mr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/description",schemaPath:"#/$defs/files/additionalProperties/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=g===s}else var c=!0;if(c){if(S.uri!==void 0){let g=S.uri;const y=s;if(s===y&&s===y)if(typeof g=="string"){if(!mw(g))return mr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/uri",schemaPath:"#/$defs/files/additionalProperties/properties/uri/format",keyword:"format",params:{format:"uri"},message:'must match format "uri"'}],!1}else return mr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/uri",schemaPath:"#/$defs/files/additionalProperties/properties/uri/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=y===s}else var c=!0;if(c)if(S.base64!==void 0){const g=s;if(typeof S.base64!="string")return mr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1")+"/base64",schemaPath:"#/$defs/files/additionalProperties/properties/base64/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=g===s}else var c=!0}}}}else return mr.errors=[{instancePath:t+"/files/"+_.replace(/~/g,"~0").replace(/\//g,"~1"),schemaPath:"#/$defs/files/additionalProperties/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=v===s;if(!f)break}var l=h===s}else var l=!0;if(l){if(e.sampleid!==void 0){const d=s;if(typeof e.sampleid!="string")return mr.errors=[{instancePath:t+"/sampleid",schemaPath:"#/properties/sampleid/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=d===s}else var l=!0;if(l){if(e.aliasid!==void 0){const d=s;if(typeof e.aliasid!="string")return mr.errors=[{instancePath:t+"/aliasid",schemaPath:"#/$defs/aliasid/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=d===s}else var l=!0;if(l)if(e.fileids!==void 0){let d=e.fileids;const h=s;if(s===h)if(Array.isArray(d)){var m=!0;const _=d.length;for(let S=0;S<_;S++){const v=s;if(typeof d[S]!="string")return mr.errors=[{instancePath:t+"/fileids/"+S,schemaPath:"#/properties/fileids/items/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=v===s;if(!m)break}}else return mr.errors=[{instancePath:t+"/fileids",schemaPath:"#/properties/fileids/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var l=h===s}else var l=!0}}}}}}}}}}else return mr.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return mr.errors=i,s===0}function jt(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.id!==void 0){let v=e.id;const g=s;if(s===s)if(v&&typeof v=="object"&&!Array.isArray(v)){if(v.source!==void 0){const M=s;if(v.source!=="local")return jt.errors=[{instancePath:t+"/id/source",schemaPath:"#/$defs/sourcedId/properties/source/enum",keyword:"enum",params:{allowedValues:fw.properties.source.enum},message:"must be equal to one of the allowed values"}],!1;var o=M===s}else var o=!0;if(o)if(v.value!==void 0){const M=s;if(typeof v.value!="string")return jt.errors=[{instancePath:t+"/id/value",schemaPath:"#/$defs/sourcedId/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=M===s}else var o=!0}else return jt.errors=[{instancePath:t+"/id",schemaPath:"#/$defs/sourcedId/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=g===s}else var l=!0;if(l){if(e.date!==void 0){let v=e.date;const g=s;if(s===g&&s===g)if(typeof v=="string"){if(!DO.validate(v))return jt.errors=[{instancePath:t+"/date",schemaPath:"#/properties/date/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return jt.errors=[{instancePath:t+"/date",schemaPath:"#/properties/date/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=g===s}else var l=!0;if(l){if(e.contact!==void 0){let v=e.contact;const g=s;if(s===s)if(v&&typeof v=="object"&&!Array.isArray(v)){if(v.name!==void 0){const I=s;if(typeof v.name!="string")return jt.errors=[{instancePath:t+"/contact/name",schemaPath:"#/$defs/person/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=I===s}else var u=!0;if(u){if(v.phone!==void 0){const I=s;if(typeof v.phone!="string")return jt.errors=[{instancePath:t+"/contact/phone",schemaPath:"#/$defs/person/properties/phone/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=I===s}else var u=!0;if(u){if(v.address!==void 0){const I=s;if(typeof v.address!="string")return jt.errors=[{instancePath:t+"/contact/address",schemaPath:"#/$defs/person/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=I===s}else var u=!0;if(u)if(v.email!==void 0){let I=v.email;const D=s;if(s===D&&s===D)if(typeof I=="string"){if(!E_.test(I))return jt.errors=[{instancePath:t+"/contact/email",schemaPath:"#/$defs/person/properties/email/format",keyword:"format",params:{format:"email"},message:'must match format "email"'}],!1}else return jt.errors=[{instancePath:t+"/contact/email",schemaPath:"#/$defs/person/properties/email/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=D===s}else var u=!0}}}else return jt.errors=[{instancePath:t+"/contact",schemaPath:"#/$defs/person/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=g===s}else var l=!0;if(l){if(e.client!==void 0){let v=e.client;const g=s;if(s===s)if(v&&typeof v=="object"&&!Array.isArray(v)){if(v.name!==void 0){const I=s;if(typeof v.name!="string")return jt.errors=[{instancePath:t+"/client/name",schemaPath:"#/$defs/person/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=I===s}else var c=!0;if(c){if(v.phone!==void 0){const I=s;if(typeof v.phone!="string")return jt.errors=[{instancePath:t+"/client/phone",schemaPath:"#/$defs/person/properties/phone/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=I===s}else var c=!0;if(c){if(v.address!==void 0){const I=s;if(typeof v.address!="string")return jt.errors=[{instancePath:t+"/client/address",schemaPath:"#/$defs/person/properties/address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=I===s}else var c=!0;if(c)if(v.email!==void 0){let I=v.email;const D=s;if(s===D&&s===D)if(typeof I=="string"){if(!E_.test(I))return jt.errors=[{instancePath:t+"/client/email",schemaPath:"#/$defs/person/properties/email/format",keyword:"format",params:{format:"email"},message:'must match format "email"'}],!1}else return jt.errors=[{instancePath:t+"/client/email",schemaPath:"#/$defs/person/properties/email/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=D===s}else var c=!0}}}else return jt.errors=[{instancePath:t+"/client",schemaPath:"#/$defs/person/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=g===s}else var l=!0;if(l){if(e.report!==void 0){const v=s;Mi(e.report,{instancePath:t+"/report",parentData:e,parentDataProperty:"report",rootData:a})||(i=i===null?Mi.errors:i.concat(Mi.errors),s=i.length);var l=v===s}else var l=!0;if(l){if(e.files!==void 0){let v=e.files;const g=s;if(v&&typeof v=="object"&&!Array.isArray(v))for(const M in v){let I=v[M];const D=s;if(s===D)if(I&&typeof I=="object"&&!Array.isArray(I)){if(I.id!==void 0){const T=s;if(typeof I.id!="string")return jt.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/id",schemaPath:"#/$defs/files/additionalProperties/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=T===s}else var f=!0;if(f){if(I.name!==void 0){const T=s;if(typeof I.name!="string")return jt.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/name",schemaPath:"#/$defs/files/additionalProperties/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=T===s}else var f=!0;if(f){if(I.description!==void 0){const T=s;if(typeof I.description!="string")return jt.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/description",schemaPath:"#/$defs/files/additionalProperties/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=T===s}else var f=!0;if(f){if(I.uri!==void 0){let T=I.uri;const b=s;if(s===b&&s===b)if(typeof T=="string"){if(!mw(T))return jt.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/uri",schemaPath:"#/$defs/files/additionalProperties/properties/uri/format",keyword:"format",params:{format:"uri"},message:'must match format "uri"'}],!1}else return jt.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/uri",schemaPath:"#/$defs/files/additionalProperties/properties/uri/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=b===s}else var f=!0;if(f)if(I.base64!==void 0){const T=s;if(typeof I.base64!="string")return jt.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1")+"/base64",schemaPath:"#/$defs/files/additionalProperties/properties/base64/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=T===s}else var f=!0}}}}else return jt.errors=[{instancePath:t+"/files/"+M.replace(/~/g,"~0").replace(/\//g,"~1"),schemaPath:"#/$defs/files/additionalProperties/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var m=D===s;if(!m)break}var l=g===s}else var l=!0;if(l){if(e.grower!==void 0){let v=e.grower;const g=s;if(s===g)if(v&&typeof v=="object"&&!Array.isArray(v)){if(v.id!==void 0){const M=s;if(typeof v.id!="string")return jt.errors=[{instancePath:t+"/grower/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var d=M===s}else var d=!0;if(d)if(v.name!==void 0){const M=s;if(typeof v.name!="string")return jt.errors=[{instancePath:t+"/grower/name",schemaPath:"#/properties/grower/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var d=M===s}else var d=!0}else return jt.errors=[{instancePath:t+"/grower",schemaPath:"#/properties/grower/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=g===s}else var l=!0;if(l){if(e.farm!==void 0){let v=e.farm;const g=s;if(s===g)if(v&&typeof v=="object"&&!Array.isArray(v)){if(v.id!==void 0){const M=s;if(typeof v.id!="string")return jt.errors=[{instancePath:t+"/farm/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var h=M===s}else var h=!0;if(h)if(v.name!==void 0){const M=s;if(typeof v.name!="string")return jt.errors=[{instancePath:t+"/farm/name",schemaPath:"#/properties/farm/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var h=M===s}else var h=!0}else return jt.errors=[{instancePath:t+"/farm",schemaPath:"#/properties/farm/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=g===s}else var l=!0;if(l){if(e.field!==void 0){let v=e.field;const g=s;if(s===g)if(v&&typeof v=="object"&&!Array.isArray(v)){if(v.id!==void 0){const M=s;if(typeof v.id!="string")return jt.errors=[{instancePath:t+"/field/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var p=M===s}else var p=!0;if(p)if(v.name!==void 0){const M=s;if(typeof v.name!="string")return jt.errors=[{instancePath:t+"/field/name",schemaPath:"#/properties/field/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var p=M===s}else var p=!0}else return jt.errors=[{instancePath:t+"/field",schemaPath:"#/properties/field/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=g===s}else var l=!0;if(l){if(e.subfield!==void 0){let v=e.subfield;const g=s;if(s===g)if(v&&typeof v=="object"&&!Array.isArray(v)){if(v.id!==void 0){const M=s;if(typeof v.id!="string")return jt.errors=[{instancePath:t+"/subfield/id",schemaPath:"#/$defs/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var _=M===s}else var _=!0;if(_)if(v.name!==void 0){const M=s;if(typeof v.name!="string")return jt.errors=[{instancePath:t+"/subfield/name",schemaPath:"#/properties/subfield/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var _=M===s}else var _=!0}else return jt.errors=[{instancePath:t+"/subfield",schemaPath:"#/properties/subfield/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=g===s}else var l=!0;if(l){if(e.sampleid!==void 0){const v=s;if(typeof e.sampleid!="string")return jt.errors=[{instancePath:t+"/sampleid",schemaPath:"#/properties/sampleid/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=v===s}else var l=!0;if(l){if(e.aliasid!==void 0){const v=s;if(typeof e.aliasid!="string")return jt.errors=[{instancePath:t+"/aliasid",schemaPath:"#/$defs/aliasid/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=v===s}else var l=!0;if(l)if(e.fileids!==void 0){let v=e.fileids;const g=s;if(s===g)if(Array.isArray(v)){var S=!0;const M=v.length;for(let I=0;I=55296&&a<=56319&&n=",limit:1},message:"must be >= 1"}],!1;var o=m===s}else var o=!0;if(o){if(e.ExpirationDate!==void 0){let f=e.ExpirationDate;const m=s;if(typeof f=="string"){if(!tu.validate(f))return Br.errors=[{instancePath:t+"/ExpirationDate",schemaPath:"#/properties/ExpirationDate/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return Br.errors=[{instancePath:t+"/ExpirationDate",schemaPath:"#/properties/ExpirationDate/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=m===s}else var o=!0;if(o)if(e.RecID!==void 0){let f=e.RecID;const m=s;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)))return Br.errors=[{instancePath:t+"/RecID",schemaPath:"#/properties/RecID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(typeof f=="number"&&(f<1||isNaN(f)))return Br.errors=[{instancePath:t+"/RecID",schemaPath:"#/properties/RecID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var o=m===s}else var o=!0}}}}}else return Br.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Br.errors=i,s===0}function vl(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(Array.isArray(e)){var o=!0;const l=e.length;for(let u=0;u=",limit:0},message:"must be >= 0"}],!1;var f=nt===s}else var f=!0;if(f){if(ce.EndingDepth!==void 0){let Ae=ce.EndingDepth;const nt=s;if(!(typeof Ae=="number"&&!(Ae%1)&&!isNaN(Ae)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof Ae=="number"&&(Ae<0||isNaN(Ae)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var f=nt===s}else var f=!0;if(f){if(ce.ColumnDepth!==void 0){let Ae=ce.ColumnDepth;const nt=s;if(!(typeof Ae=="number"&&!(Ae%1)&&!isNaN(Ae)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof Ae=="number"&&(Ae<0||isNaN(Ae)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var f=nt===s}else var f=!0;if(f){if(ce.DepthUnit!==void 0){const Ae=s;if(typeof ce.DepthUnit!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=Ae===s}else var f=!0;if(f)if(ce.DepthID!==void 0){let Ae=ce.DepthID;const nt=s;if(!(typeof Ae=="number"&&!(Ae%1)&&!isNaN(Ae)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof Ae=="number"&&(Ae<1||isNaN(Ae)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var f=nt===s}else var f=!0}}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var c=Ze===s;if(!c)break}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var m=ie===s}else var m=!0;if(m){if(E.RecommendationRefs!==void 0){const ne=s;Sl(E.RecommendationRefs,{instancePath:t+"/Events/"+x+"/EventSamples/Soil/RecommendationRefs",parentData:E,parentDataProperty:"RecommendationRefs",rootData:a})||(i=i===null?Sl.errors:i.concat(Sl.errors),s=i.length);var m=ne===s}else var m=!0;if(m)if(E.SoilSamples!==void 0){let ne=E.SoilSamples;const ie=s;if(s===ie)if(Array.isArray(ne)){var d=!0;const gt=ne.length;for(let oe=0;oe=",limit:0},message:"must be >= 0"}],!1;var _=ot===s}else var _=!0;if(_){if(Pe.SubSampleID!==void 0){const et=s;if(typeof Pe.SubSampleID!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var _=et===s}else var _=!0;if(_)if(Pe.Geometry!==void 0){let et=Pe.Geometry;const ot=s;if(s===ot)if(et&&typeof et=="object"&&!Array.isArray(et)){if(et.epsg!==void 0){let Kt=et.epsg;if(!(typeof Kt=="number"&&!(Kt%1)&&!isNaN(Kt)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=ot===s}else var _=!0}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var p=xe===s;if(!p)break}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var h=he===s}else var h=!0;if(h)if(Ue.TestPackages!==void 0){let B=Ue.TestPackages;const he=s;if(s===he)if(Array.isArray(B)){var S=!0;const Qe=B.length;for(let Ee=0;Ee1){const xe={};for(;Ee--;){let rt=B[Ee];if(typeof rt=="string"){if(typeof xe[rt]=="number")return Pe=xe[rt],He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ee,j:Pe},message:"must NOT have duplicate items (items ## "+Pe+" and "+Ee+" are identical)"}],!1;xe[rt]=Ee}}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var h=he===s}else var h=!0}}}}}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=Ae===s}else var v=!0;if(v){if(ce.Depths!==void 0){let Ue=ce.Depths;const Ae=s;if(s===Ae)if(Array.isArray(Ue)){var g=!0;const B=Ue.length;for(let he=0;he=",limit:0},message:"must be >= 0"}],!1;var b=Ot===s}else var b=!0;if(b){if(xe.SubSampleID!==void 0){const ot=s;if(typeof xe.SubSampleID!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var b=ot===s}else var b=!0;if(b)if(xe.Geometry!==void 0){let ot=xe.Geometry;const Ot=s;if(s===Ot)if(ot&&typeof ot=="object"&&!Array.isArray(ot)){if(ot.epsg!==void 0){let Qt=ot.epsg;if(!(typeof Qt=="number"&&!(Qt%1)&&!isNaN(Qt)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var b=Ot===s}else var b=!0}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var T=rt===s;if(!T)break}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=Xe===s}else var D=!0;if(D)if(Ae.TestPackages!==void 0){let he=Ae.TestPackages;const Xe=s;if(s===Xe)if(Array.isArray(he)){var N=!0;const Ee=he.length;for(let Pe=0;Pe1){const rt={};for(;Pe--;){let et=he[Pe];if(typeof et=="string"){if(typeof rt[et]=="number")return xe=rt[et],He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Pe,j:xe},message:"must NOT have duplicate items (items ## "+xe+" and "+Pe+" are identical)"}],!1;rt[et]=Pe}}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=Xe===s}else var D=!0}}}}}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var V=nt===s}else var V=!0;if(V)if(Ze.Comments!==void 0){const Ae=s;if(typeof Ze.Comments!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var V=Ae===s}else var V=!0}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/properties/PlantSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var I=Ct===s;if(!I)break}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/properties/PlantSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var M=Ce===s}else var M=!0}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var y=H===s}else var y=!0;if(y){if(Ye.Nematode!==void 0){let E=Ye.Nematode;const H=s;if(s===H)if(E&&typeof E=="object"&&!Array.isArray(E)){if(E.DepthRefs!==void 0){let ie=E.DepthRefs;const Ce=s;if(s===s)if(Array.isArray(ie)){var A=!0;const oe=ie.length;for(let ce=0;ce=",limit:0},message:"must be >= 0"}],!1;var j=B===s}else var j=!0;if(j){if(Ze.EndingDepth!==void 0){let nt=Ze.EndingDepth;const B=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===B&&typeof nt=="number"&&(nt<0||isNaN(nt)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var j=B===s}else var j=!0;if(j){if(Ze.ColumnDepth!==void 0){let nt=Ze.ColumnDepth;const B=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===B&&typeof nt=="number"&&(nt<0||isNaN(nt)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var j=B===s}else var j=!0;if(j){if(Ze.DepthUnit!==void 0){const nt=s;if(typeof Ze.DepthUnit!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var j=nt===s}else var j=!0;if(j)if(Ze.DepthID!==void 0){let nt=Ze.DepthID;const B=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===B&&typeof nt=="number"&&(nt<1||isNaN(nt)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var j=B===s}else var j=!0}}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var A=Ct===s;if(!A)break}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var O=Ce===s}else var O=!0;if(O)if(E.NematodeSamples!==void 0){let ie=E.NematodeSamples;const Ce=s;if(s===Ce)if(Array.isArray(ie)){var R=!0;const oe=ie.length;for(let ce=0;ce=",limit:0},message:"must be >= 0"}],!1;var ue=Ot===s}else var ue=!0;if(ue){if(xe.SubSampleID!==void 0){const ot=s;if(typeof xe.SubSampleID!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var ue=ot===s}else var ue=!0;if(ue)if(xe.Geometry!==void 0){let ot=xe.Geometry;const Ot=s;if(s===Ot)if(ot&&typeof ot=="object"&&!Array.isArray(ot)){if(ot.epsg!==void 0){let Qt=ot.epsg;if(!(typeof Qt=="number"&&!(Qt%1)&&!isNaN(Qt)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ue=Ot===s}else var ue=!0}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var W=rt===s;if(!W)break}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var te=Xe===s}else var te=!0;if(te)if(Ae.TestPackages!==void 0){let he=Ae.TestPackages;const Xe=s;if(s===Xe)if(Array.isArray(he)){var F=!0;const Ee=he.length;for(let Pe=0;Pe1){const rt={};for(;Pe--;){let et=he[Pe];if(typeof et=="string"){if(typeof rt[et]=="number")return xe=rt[et],He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Pe,j:xe},message:"must NOT have duplicate items (items ## "+xe+" and "+Pe+" are identical)"}],!1;rt[et]=Pe}}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var te=Xe===s}else var te=!0}}}}}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var le=nt===s}else var le=!0;if(le){if(Ze.Depths!==void 0){let Ae=Ze.Depths;const nt=s;if(s===nt)if(Array.isArray(Ae)){var J=!0;const he=Ae.length;for(let Xe=0;Xe=",limit:1},message:"must be >= 1"}],!1}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/Depths/"+Xe,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var J=Ee===s;if(!J)break}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/Depths",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var le=nt===s}else var le=!0;if(le)if(Ze.Comments!==void 0){const Ae=s;if(typeof Ze.Comments!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var le=Ae===s}else var le=!0}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var R=Ct===s;if(!R)break}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var O=Ce===s}else var O=!0}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var y=H===s}else var y=!0;if(y){if(Ye.Water!==void 0){let E=Ye.Water;const H=s;if(s===H)if(E&&typeof E=="object"&&!Array.isArray(E)){if(E.WaterSamples!==void 0){let ie=E.WaterSamples;if(s===s)if(Array.isArray(ie)){var k=!0;const gt=ie.length;for(let oe=0;oe=",limit:0},message:"must be >= 0"}],!1;var q=ot===s}else var q=!0;if(q){if(Pe.SubSampleID!==void 0){const et=s;if(typeof Pe.SubSampleID!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var q=et===s}else var q=!0;if(q)if(Pe.Geometry!==void 0){let et=Pe.Geometry;const ot=s;if(s===ot)if(et&&typeof et=="object"&&!Array.isArray(et)){if(et.epsg!==void 0){let Kt=et.epsg;if(!(typeof Kt=="number"&&!(Kt%1)&&!isNaN(Kt)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var q=ot===s}else var q=!0}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var z=xe===s;if(!z)break}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var U=he===s}else var U=!0;if(U)if(Ue.TestPackages!==void 0){let B=Ue.TestPackages;const he=s;if(s===he)if(Array.isArray(B)){var Ie=!0;const Qe=B.length;for(let Ee=0;Ee1){const xe={};for(;Ee--;){let rt=B[Ee];if(typeof rt=="string"){if(typeof xe[rt]=="number")return Pe=xe[rt],He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ee,j:Pe},message:"must NOT have duplicate items (items ## "+Pe+" and "+Ee+" are identical)"}],!1;xe[rt]=Ee}}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var U=he===s}else var U=!0}}}}}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Fe=Ae===s}else var Fe=!0;if(Fe){if(ce.Source!==void 0){const Ue=s;if(typeof ce.Source!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/Source",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/items/properties/Source/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Fe=Ue===s}else var Fe=!0;if(Fe){if(ce.NutrientResults!==void 0){let Ue=ce.NutrientResults;const Ae=s;if(s===s)if(Array.isArray(Ue)){var Le=!0;const he=Ue.length;for(let Xe=0;Xe=",limit:0},message:"must be >= 0"}],!1;var dt=ot===s}else var dt=!0;if(dt){if(Pe.SubSampleID!==void 0){const et=s;if(typeof Pe.SubSampleID!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var dt=et===s}else var dt=!0;if(dt)if(Pe.Geometry!==void 0){let et=Pe.Geometry;const ot=s;if(s===ot)if(et&&typeof et=="object"&&!Array.isArray(et)){if(et.epsg!==void 0){let Kt=et.epsg;if(!(typeof Kt=="number"&&!(Kt%1)&&!isNaN(Kt)))return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var dt=ot===s}else var dt=!0}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ae=xe===s;if(!ae)break}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var be=he===s}else var be=!0;if(be)if(Ue.TestPackages!==void 0){let B=Ue.TestPackages;const he=s;if(s===he)if(Array.isArray(B)){var P=!0;const Qe=B.length;for(let Ee=0;Ee1){const xe={};for(;Ee--;){let rt=B[Ee];if(typeof rt=="string"){if(typeof xe[rt]=="number")return Pe=xe[rt],He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ee,j:Pe},message:"must NOT have duplicate items (items ## "+Pe+" and "+Ee+" are identical)"}],!1;xe[rt]=Ee}}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var be=he===s}else var be=!0}}}}}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ve=Ae===s}else var Ve=!0;if(Ve){if(ce.ResidueResults!==void 0){let Ue=ce.ResidueResults;const Ae=s;if(s===s)if(Array.isArray(Ue)){var we=!0;const he=Ue.length;for(let Xe=0;Xe50)return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/maxLength",keyword:"maxLength",params:{limit:50},message:"must NOT have more than 50 characters"}],!1;if(T_(xe)<1)return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters"}],!1}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Y=rt===s}else var Y=!0;if(Y){if(Qe.Value!==void 0){const xe=s;if(typeof Qe.Value!="number")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/Value",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/Value/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var Y=xe===s}else var Y=!0;if(Y){if(Qe.ValueUnit!==void 0){const xe=s;if(typeof Qe.ValueUnit!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/ValueUnit",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Y=xe===s}else var Y=!0;if(Y){if(Qe.ValueType!==void 0){const xe=s;if(typeof Qe.ValueType!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/ValueType",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Y=xe===s}else var Y=!0;if(Y)if(Qe.ValueDesc!==void 0){const xe=s;if(typeof Qe.ValueDesc!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueDesc/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Y=xe===s}else var Y=!0}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe,schemaPath:"./global.schema.json#/$defs/ResidueResults/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var we=Ee===s;if(!we)break}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults",schemaPath:"./global.schema.json#/$defs/ResidueResults/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Ve=Ae===s}else var Ve=!0;if(Ve)if(ce.Comments!==void 0){const Ue=s;if(typeof ce.Comments!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ve=Ue===s}else var Ve=!0}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Re=Ze===s;if(!Re)break}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var y=H===s}else var y=!0}}}}else return He.errors=[{instancePath:t+"/Events/"+x+"/EventSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=G===s}else var u=!0;if(u){if(Ne.Comments!==void 0){const Ye=s;if(typeof Ne.Comments!="string")return He.errors=[{instancePath:t+"/Events/"+x+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=Ye===s}else var u=!0;if(u)if(Ne.ModusSubmit!==void 0){const Ye=s;He(Ne.ModusSubmit,{instancePath:t+"/Events/"+x+"/ModusSubmit",parentData:Ne,parentDataProperty:"ModusSubmit",rootData:a})||(i=i===null?He.errors:i.concat(He.errors),s=i.length);var u=Ye===s}else var u=!0}}}}}}else return He.errors=[{instancePath:t+"/Events/"+x,schemaPath:"#/properties/Events/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=it===s;if(!l)break}}else return He.errors=[{instancePath:t+"/Events",schemaPath:"#/properties/Events/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var o=Te===s}else var o=!0;if(o)if(e.Version!==void 0){const Q=s;if(typeof e.Version!="string")return He.errors=[{instancePath:t+"/Version",schemaPath:"#/properties/Version/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=Q===s}else var o=!0}}else return He.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return He.errors=i,s===0}function Se(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){if(e._type!==void 0){const Ct=s;if(e._type!=="application/vnd.modus.v1.modus-result+json")return Se.errors=[{instancePath:t+"/_type",schemaPath:"#/properties/_type/const",keyword:"const",params:{allowedValue:"application/vnd.modus.v1.modus-result+json"},message:"must be equal to constant"}],!1;var o=Ct===s}else var o=!0;if(o){if(e.Events!==void 0){let Ct=e.Events;const Ue=s;if(s===Ue)if(Array.isArray(Ct)){var l=!0;const nt=Ct.length;for(let B=0;B=",limit:0},message:"must be >= 0"}],!1;var m=re===s}else var m=!0;if(m){if(w.EndingDepth!==void 0){let X=w.EndingDepth;const re=s;if(!(typeof X=="number"&&!(X%1)&&!isNaN(X)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/DepthRefs/"+We+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===re&&typeof X=="number"&&(X<0||isNaN(X)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/DepthRefs/"+We+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var m=re===s}else var m=!0;if(m){if(w.ColumnDepth!==void 0){let X=w.ColumnDepth;const re=s;if(!(typeof X=="number"&&!(X%1)&&!isNaN(X)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/DepthRefs/"+We+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===re&&typeof X=="number"&&(X<0||isNaN(X)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/DepthRefs/"+We+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var m=re===s}else var m=!0;if(m){if(w.DepthUnit!==void 0){const X=s;if(typeof w.DepthUnit!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/DepthRefs/"+We+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var m=X===s}else var m=!0;if(m)if(w.DepthID!==void 0){let X=w.DepthID;const re=s;if(!(typeof X=="number"&&!(X%1)&&!isNaN(X)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/DepthRefs/"+We+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===re&&typeof X=="number"&&(X<1||isNaN(X)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/DepthRefs/"+We+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var m=re===s}else var m=!0}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/DepthRefs/"+We,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var f=ee===s;if(!f)break}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var d=Ot===s}else var d=!0;if(d){if(rt.RecommendationRefs!==void 0){const ot=s;vl(rt.RecommendationRefs,{instancePath:t+"/Events/"+B+"/EventSamples/Soil/RecommendationRefs",parentData:rt,parentDataProperty:"RecommendationRefs",rootData:a})||(i=i===null?vl.errors:i.concat(vl.errors),s=i.length);var d=ot===s}else var d=!0;if(d)if(rt.SoilSamples!==void 0){let ot=rt.SoilSamples;const Ot=s;if(s===Ot)if(Array.isArray(ot)){var h=!0;const Qt=ot.length;for(let We=0;We=",limit:0},message:"must be >= 0"}],!1;var S=Ke===s}else var S=!0;if(S){if(De.SubSampleID!==void 0){const je=s;if(typeof De.SubSampleID!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/SoilSamples/"+We+"/SampleMetaData/SubSamples/"+pe+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var S=je===s}else var S=!0;if(S)if(De.Geometry!==void 0){let je=De.Geometry;const Ke=s;if(s===Ke)if(je&&typeof je=="object"&&!Array.isArray(je)){if(je.epsg!==void 0){let vt=je.epsg;if(!(typeof vt=="number"&&!(vt%1)&&!isNaN(vt)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/SoilSamples/"+We+"/SampleMetaData/SubSamples/"+pe+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/SoilSamples/"+We+"/SampleMetaData/SubSamples/"+pe+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var S=Ke===s}else var S=!0}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/SoilSamples/"+We+"/SampleMetaData/SubSamples/"+pe,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=ke===s;if(!_)break}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/SoilSamples/"+We+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var p=_e===s}else var p=!0;if(p)if(Z.TestPackages!==void 0){let fe=Z.TestPackages;const _e=s;if(s===_e)if(Array.isArray(fe)){var v=!0;const ye=fe.length;for(let pe=0;pe1){const ke={};for(;pe--;){let qe=fe[pe];if(typeof qe=="string"){if(typeof ke[qe]=="number")return De=ke[qe],Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/SoilSamples/"+We+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:pe,j:De},message:"must NOT have duplicate items (items ## "+De+" and "+pe+" are identical)"}],!1;ke[qe]=pe}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/SoilSamples/"+We+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var p=_e===s}else var p=!0}}}}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Soil/SoilSamples/"+We+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var g=X===s}else var g=!0;if(g){if(w.Depths!==void 0){let Z=w.Depths;const X=s;if(s===X)if(Array.isArray(Z)){var y=!0;const fe=Z.length;for(let _e=0;_e=",limit:0},message:"must be >= 0"}],!1;var F=lt===s}else var F=!0;if(F){if(ke.SubSampleID!==void 0){const Ke=s;if(typeof ke.SubSampleID!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Plant/PlantSamples/"+w+"/SampleMetaData/SubSamples/"+De+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var F=Ke===s}else var F=!0;if(F)if(ke.Geometry!==void 0){let Ke=ke.Geometry;const lt=s;if(s===lt)if(Ke&&typeof Ke=="object"&&!Array.isArray(Ke)){if(Ke.epsg!==void 0){let Rt=Ke.epsg;if(!(typeof Rt=="number"&&!(Rt%1)&&!isNaN(Rt)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Plant/PlantSamples/"+w+"/SampleMetaData/SubSamples/"+De+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Plant/PlantSamples/"+w+"/SampleMetaData/SubSamples/"+De+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var F=lt===s}else var F=!0}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Plant/PlantSamples/"+w+"/SampleMetaData/SubSamples/"+De,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ue=qe===s;if(!ue)break}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Plant/PlantSamples/"+w+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var W=ge===s}else var W=!0;if(W)if(X.TestPackages!==void 0){let _e=X.TestPackages;const ge=s;if(s===ge)if(Array.isArray(_e)){var le=!0;const pe=_e.length;for(let De=0;De1){const qe={};for(;De--;){let je=_e[De];if(typeof je=="string"){if(typeof qe[je]=="number")return ke=qe[je],Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Plant/PlantSamples/"+w+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:De,j:ke},message:"must NOT have duplicate items (items ## "+ke+" and "+De+" are identical)"}],!1;qe[je]=De}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Plant/PlantSamples/"+w+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var W=ge===s}else var W=!0}}}}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Plant/PlantSamples/"+w+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var J=re===s}else var J=!0;if(J){if(ee.NutrientResults!==void 0){let X=ee.NutrientResults;const re=s;if(s===s)if(Array.isArray(X)){var k=!0;const ge=X.length;for(let ye=0;ye=",limit:0},message:"must be >= 0"}],!1;var Le=fe===s}else var Le=!0;if(Le){if(ee.EndingDepth!==void 0){let re=ee.EndingDepth;const fe=s;if(!(typeof re=="number"&&!(re%1)&&!isNaN(re)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/DepthRefs/"+w+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===fe&&typeof re=="number"&&(re<0||isNaN(re)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/DepthRefs/"+w+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var Le=fe===s}else var Le=!0;if(Le){if(ee.ColumnDepth!==void 0){let re=ee.ColumnDepth;const fe=s;if(!(typeof re=="number"&&!(re%1)&&!isNaN(re)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/DepthRefs/"+w+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===fe&&typeof re=="number"&&(re<0||isNaN(re)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/DepthRefs/"+w+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var Le=fe===s}else var Le=!0;if(Le){if(ee.DepthUnit!==void 0){const re=s;if(typeof ee.DepthUnit!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/DepthRefs/"+w+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Le=re===s}else var Le=!0;if(Le)if(ee.DepthID!==void 0){let re=ee.DepthID;const fe=s;if(!(typeof re=="number"&&!(re%1)&&!isNaN(re)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/DepthRefs/"+w+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===fe&&typeof re=="number"&&(re<1||isNaN(re)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/DepthRefs/"+w+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var Le=fe===s}else var Le=!0}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/DepthRefs/"+w,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Fe=se===s;if(!Fe)break}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Me=Kt===s}else var Me=!0;if(Me)if(rt.NematodeSamples!==void 0){let Ot=rt.NematodeSamples;const Kt=s;if(s===Kt)if(Array.isArray(Ot)){var Re=!0;const We=Ot.length;for(let w=0;w=",limit:0},message:"must be >= 0"}],!1;var dt=lt===s}else var dt=!0;if(dt){if(ke.SubSampleID!==void 0){const Ke=s;if(typeof ke.SubSampleID!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/NematodeSamples/"+w+"/SampleMetaData/SubSamples/"+De+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var dt=Ke===s}else var dt=!0;if(dt)if(ke.Geometry!==void 0){let Ke=ke.Geometry;const lt=s;if(s===lt)if(Ke&&typeof Ke=="object"&&!Array.isArray(Ke)){if(Ke.epsg!==void 0){let Rt=Ke.epsg;if(!(typeof Rt=="number"&&!(Rt%1)&&!isNaN(Rt)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/NematodeSamples/"+w+"/SampleMetaData/SubSamples/"+De+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/NematodeSamples/"+w+"/SampleMetaData/SubSamples/"+De+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var dt=lt===s}else var dt=!0}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/NematodeSamples/"+w+"/SampleMetaData/SubSamples/"+De,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ae=qe===s;if(!ae)break}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/NematodeSamples/"+w+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var be=ge===s}else var be=!0;if(be)if(X.TestPackages!==void 0){let _e=X.TestPackages;const ge=s;if(s===ge)if(Array.isArray(_e)){var P=!0;const pe=_e.length;for(let De=0;De1){const qe={};for(;De--;){let je=_e[De];if(typeof je=="string"){if(typeof qe[je]=="number")return ke=qe[je],Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/NematodeSamples/"+w+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:De,j:ke},message:"must NOT have duplicate items (items ## "+ke+" and "+De+" are identical)"}],!1;qe[je]=De}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/NematodeSamples/"+w+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var be=ge===s}else var be=!0}}}}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/NematodeSamples/"+w+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ve=re===s}else var Ve=!0;if(Ve){if(ee.Depths!==void 0){let X=ee.Depths;const re=s;if(s===re)if(Array.isArray(X)){var we=!0;const _e=X.length;for(let ge=0;ge<_e;ge++){let ye=X[ge];const pe=s;if(s===pe)if(ye&&typeof ye=="object"&&!Array.isArray(ye)){if(ye.NematodeResults!==void 0){let ke=ye.NematodeResults;const qe=s;if(s===s)if(Array.isArray(ke)){var Y=!0;const Ke=ke.length;for(let lt=0;lt=",limit:1},message:"must be >= 1"}],!1;var ze=qe===s}else var ze=!0}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/NematodeSamples/"+w+"/Depths/"+ge,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var we=pe===s;if(!we)break}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/NematodeSamples/"+w+"/Depths",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Ve=re===s}else var Ve=!0;if(Ve)if(ee.Comments!==void 0){const X=s;if(typeof ee.Comments!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/NematodeSamples/"+w+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ve=X===s}else var Ve=!0}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/NematodeSamples/"+w,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Re=se===s;if(!Re)break}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode/NematodeSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Me=Kt===s}else var Me=!0}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Nematode",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var O=et===s}else var O=!0;if(O){if(Ee.Water!==void 0){let rt=Ee.Water;const et=s;if(s===et)if(rt&&typeof rt=="object"&&!Array.isArray(rt)){if(rt.WaterSamples!==void 0){let Ot=rt.WaterSamples;if(s===s)if(Array.isArray(Ot)){var x=!0;const Qt=Ot.length;for(let We=0;We=",limit:0},message:"must be >= 0"}],!1;var Je=Ke===s}else var Je=!0;if(Je){if(De.SubSampleID!==void 0){const je=s;if(typeof De.SubSampleID!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/SampleMetaData/SubSamples/"+pe+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Je=je===s}else var Je=!0;if(Je)if(De.Geometry!==void 0){let je=De.Geometry;const Ke=s;if(s===Ke)if(je&&typeof je=="object"&&!Array.isArray(je)){if(je.epsg!==void 0){let vt=je.epsg;if(!(typeof vt=="number"&&!(vt%1)&&!isNaN(vt)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/SampleMetaData/SubSamples/"+pe+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/SampleMetaData/SubSamples/"+pe+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Je=Ke===s}else var Je=!0}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/SampleMetaData/SubSamples/"+pe,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var it=ke===s;if(!it)break}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Ne=_e===s}else var Ne=!0;if(Ne)if(Z.TestPackages!==void 0){let fe=Z.TestPackages;const _e=s;if(s===_e)if(Array.isArray(fe)){var Ye=!0;const ye=fe.length;for(let pe=0;pe1){const ke={};for(;pe--;){let qe=fe[pe];if(typeof qe=="string"){if(typeof ke[qe]=="number")return De=ke[qe],Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:pe,j:De},message:"must NOT have duplicate items (items ## "+De+" and "+pe+" are identical)"}],!1;ke[qe]=pe}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Ne=_e===s}else var Ne=!0}}}}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var G=X===s}else var G=!0;if(G){if(w.Source!==void 0){const Z=s;if(typeof w.Source!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/Source",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/items/properties/Source/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var G=Z===s}else var G=!0;if(G){if(w.NutrientResults!==void 0){let Z=w.NutrientResults;const X=s;if(s===s)if(Array.isArray(Z)){var L=!0;const _e=Z.length;for(let ge=0;ge<_e;ge++){let ye=Z[ge];const pe=s;if(s===pe)if(ye&&typeof ye=="object"&&!Array.isArray(ye)){if(ye.Element!==void 0){const ke=s;if(typeof ye.Element!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/NutrientResults/"+ge+"/Element",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/Element/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var E=ke===s}else var E=!0;if(E){if(ye.Value!==void 0){const ke=s;if(typeof ye.Value!="number")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/NutrientResults/"+ge+"/Value",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/Value/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var E=ke===s}else var E=!0;if(E){if(ye.ValueUnit!==void 0){const ke=s;if(typeof ye.ValueUnit!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/NutrientResults/"+ge+"/ValueUnit",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var E=ke===s}else var E=!0;if(E){if(ye.ModusTestID!==void 0){const ke=s;if(typeof ye.ModusTestID!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/NutrientResults/"+ge+"/ModusTestID",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ModusTestID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var E=ke===s}else var E=!0;if(E){if(ye.ValueType!==void 0){let ke=ye.ValueType;const qe=s;if(typeof ke!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/NutrientResults/"+ge+"/ValueType",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(ke==="Measured"||ke==="Percent"||ke==="Calculated"||ke==="Index"))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/NutrientResults/"+ge+"/ValueType",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueType/enum",keyword:"enum",params:{allowedValues:gl.items.properties.ValueType.enum},message:"must be equal to one of the allowed values"}],!1;var E=qe===s}else var E=!0;if(E)if(ye.ValueDesc!==void 0){let ke=ye.ValueDesc;const qe=s;if(typeof ke!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/NutrientResults/"+ge+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueDesc/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;if(!(ke==="Very Low"||ke==="Low"||ke==="Medium"||ke==="Optimum"||ke==="Very High"||ke==="VL"||ke==="L"||ke==="M"||ke==="O"||ke==="VH"||ke==="High"||ke==="H"))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/NutrientResults/"+ge+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/NutrientResults/items/properties/ValueDesc/enum",keyword:"enum",params:{allowedValues:gl.items.properties.ValueDesc.enum},message:"must be equal to one of the allowed values"}],!1;var E=qe===s}else var E=!0}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/NutrientResults/"+ge,schemaPath:"./global.schema.json#/$defs/NutrientResults/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var L=pe===s;if(!L)break}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/NutrientResults",schemaPath:"./global.schema.json#/$defs/NutrientResults/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var G=X===s}else var G=!0;if(G)if(w.Comments!==void 0){const Z=s;if(typeof w.Comments!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var G=Z===s}else var G=!0}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples/"+We,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var x=ee===s;if(!x)break}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water/WaterSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Water",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var O=et===s}else var O=!0;if(O)if(Ee.Residue!==void 0){let rt=Ee.Residue;const et=s;if(s===et)if(rt&&typeof rt=="object"&&!Array.isArray(rt)){if(rt.ResidueSamples!==void 0){let Ot=rt.ResidueSamples;if(s===s)if(Array.isArray(Ot)){var H=!0;const Qt=Ot.length;for(let We=0;We=",limit:0},message:"must be >= 0"}],!1;var Ce=Ke===s}else var Ce=!0;if(Ce){if(De.SubSampleID!==void 0){const je=s;if(typeof De.SubSampleID!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/SampleMetaData/SubSamples/"+pe+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ce=je===s}else var Ce=!0;if(Ce)if(De.Geometry!==void 0){let je=De.Geometry;const Ke=s;if(s===Ke)if(je&&typeof je=="object"&&!Array.isArray(je)){if(je.epsg!==void 0){let vt=je.epsg;if(!(typeof vt=="number"&&!(vt%1)&&!isNaN(vt)))return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/SampleMetaData/SubSamples/"+pe+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/SampleMetaData/SubSamples/"+pe+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ce=Ke===s}else var Ce=!0}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/SampleMetaData/SubSamples/"+pe,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ie=ke===s;if(!ie)break}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ne=_e===s}else var ne=!0;if(ne)if(Z.TestPackages!==void 0){let fe=Z.TestPackages;const _e=s;if(s===_e)if(Array.isArray(fe)){var gt=!0;const ye=fe.length;for(let pe=0;pe1){const ke={};for(;pe--;){let qe=fe[pe];if(typeof qe=="string"){if(typeof ke[qe]=="number")return De=ke[qe],Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:pe,j:De},message:"must NOT have duplicate items (items ## "+De+" and "+pe+" are identical)"}],!1;ke[qe]=pe}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var ne=_e===s}else var ne=!0}}}}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var oe=X===s}else var oe=!0;if(oe){if(w.ResidueResults!==void 0){let Z=w.ResidueResults;const X=s;if(s===s)if(Array.isArray(Z)){var ce=!0;const _e=Z.length;for(let ge=0;ge<_e;ge++){let ye=Z[ge];const pe=s;if(s===pe)if(ye&&typeof ye=="object"&&!Array.isArray(ye)){if(ye.CASRN!==void 0){let ke=ye.CASRN;const qe=s;if(s===qe)if(typeof ke=="string"){if(T_(ke)>50)return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/ResidueResults/"+ge+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/maxLength",keyword:"maxLength",params:{limit:50},message:"must NOT have more than 50 characters"}],!1;if(T_(ke)<1)return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/ResidueResults/"+ge+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters"}],!1}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/ResidueResults/"+ge+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ze=qe===s}else var Ze=!0;if(Ze){if(ye.Value!==void 0){const ke=s;if(typeof ye.Value!="number")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/ResidueResults/"+ge+"/Value",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/Value/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var Ze=ke===s}else var Ze=!0;if(Ze){if(ye.ValueUnit!==void 0){const ke=s;if(typeof ye.ValueUnit!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/ResidueResults/"+ge+"/ValueUnit",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ze=ke===s}else var Ze=!0;if(Ze){if(ye.ValueType!==void 0){const ke=s;if(typeof ye.ValueType!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/ResidueResults/"+ge+"/ValueType",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ze=ke===s}else var Ze=!0;if(Ze)if(ye.ValueDesc!==void 0){const ke=s;if(typeof ye.ValueDesc!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/ResidueResults/"+ge+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueDesc/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ze=ke===s}else var Ze=!0}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/ResidueResults/"+ge,schemaPath:"./global.schema.json#/$defs/ResidueResults/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ce=pe===s;if(!ce)break}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/ResidueResults",schemaPath:"./global.schema.json#/$defs/ResidueResults/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var oe=X===s}else var oe=!0;if(oe)if(w.Comments!==void 0){const Z=s;if(typeof w.Comments!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var oe=Z===s}else var oe=!0}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples/"+We,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var H=ee===s;if(!H)break}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue/ResidueSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples/Residue",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var O=et===s}else var O=!0}}}}else return Se.errors=[{instancePath:t+"/Events/"+B+"/EventSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var c=Pe===s}else var c=!0;if(c){if(he.Comments!==void 0){const Ee=s;if(typeof he.Comments!="string")return Se.errors=[{instancePath:t+"/Events/"+B+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=Ee===s}else var c=!0;if(c)if(he.ModusSubmit!==void 0){const Ee=s;He(he.ModusSubmit,{instancePath:t+"/Events/"+B+"/ModusSubmit",parentData:he,parentDataProperty:"ModusSubmit",rootData:a})||(i=i===null?He.errors:i.concat(He.errors),s=i.length);var c=Ee===s}else var c=!0}}}}}else return Se.errors=[{instancePath:t+"/Events/"+B,schemaPath:"#/properties/Events/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=Xe===s;if(!l)break}}else return Se.errors=[{instancePath:t+"/Events",schemaPath:"#/properties/Events/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var o=Ue===s}else var o=!0;if(o)if(e.Version!==void 0){const Ct=s;if(typeof e.Version!="string")return Se.errors=[{instancePath:t+"/Version",schemaPath:"#/properties/Version/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=Ct===s}else var o=!0}}else return Se.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Se.errors=i,s===0}function Vte(e){if(!b_.exports(e))throw new cw(e,b_.exports.errors)}var Rte=Object.prototype.hasOwnProperty,Fte=Object.prototype.toString,Bte=function(t,r,n){if(Fte.call(r)!=="[object Function]")throw new TypeError("iterator must be a function");var a=t.length;if(a===+a)for(var i=0;i>>0,n;for(n=0;n0)for(r=0;r=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var LO=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,T1=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,bS={},kc={};function Nt(e,t,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),e&&(kc[e]=a),t&&(kc[t[0]]=function(){return fo(a.apply(this,arguments),t[1],t[2])}),r&&(kc[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Kte(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function qte(e){var t=e.match(LO),r,n;for(r=0,n=t.length;r=0&&T1.test(e);)e=e.replace(T1,n),T1.lastIndex=0,r-=1;return e}var Yte={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Zte(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(LO).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var Xte="Invalid date";function Jte(){return this._invalidDate}var Qte="%d",ere=/\d{1,2}/;function tre(e){return this._ordinal.replace("%d",e)}var rre={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function nre(e,t,r,n){var a=this._relativeTime[r];return vo(a)?a(e,t,r,n):a.replace(/%d/i,e)}function sre(e,t){var r=this._relativeTime[e>0?"future":"past"];return vo(r)?r(t):r.replace(/%s/i,t)}var Fm={};function xs(e,t){var r=e.toLowerCase();Fm[r]=Fm[r+"s"]=Fm[t]=e}function mi(e){return typeof e=="string"?Fm[e]||Fm[e.toLowerCase()]:void 0}function CO(e){var t={},r,n;for(n in e)Ir(e,n)&&(r=mi(n),r&&(t[r]=e[n]));return t}var Mw={};function As(e,t){Mw[e]=t}function are(e){var t=[],r;for(r in e)Ir(e,r)&&t.push({unit:r,priority:Mw[r]});return t.sort(function(n,a){return n.priority-a.priority}),t}function Jg(e){return e%4===0&&e%100!==0||e%400===0}function Ya(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function sr(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=Ya(t)),r}function Ef(e,t){return function(r){return r!=null?(Dw(this,e,r),Dt.updateOffset(this,t),this):x_(this,e)}}function x_(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Dw(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&Jg(e.year())&&e.month()===1&&e.date()===29?(r=sr(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),s2(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function ire(e){return e=mi(e),vo(this[e])?this[e]():this}function ore(e,t){if(typeof e=="object"){e=CO(e);var r=are(e),n,a=r.length;for(n=0;n68?1900:2e3)};var kw=Ef("FullYear",!0);function bre(){return Jg(this.year())}function Lre(e,t,r,n,a,i,s){var o;return e<100&&e>=0?(o=new Date(e+400,t,r,n,a,i,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,a,i,s),o}function $p(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function k_(e,t,r){var n=7+t-r,a=(7+$p(e,0,n).getUTCDay()-t)%7;return-a+n-1}function ww(e,t,r,n,a){var i=(7+r-n)%7,s=k_(e,n,a),o=1+7*(t-1)+i+s,l,u;return o<=0?(l=e-1,u=Bm(l)+o):o>Bm(e)?(l=e+1,u=o-Bm(e)):(l=e,u=o),{year:l,dayOfYear:u}}function jp(e,t,r){var n=k_(e.year(),t,r),a=Math.floor((e.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=e.year()-1,i=a+$o(s,t,r)):a>$o(e.year(),t,r)?(i=a-$o(e.year(),t,r),s=e.year()+1):(s=e.year(),i=a),{week:i,year:s}}function $o(e,t,r){var n=k_(e,t,r),a=k_(e+1,t,r);return(Bm(e)-n+a)/7}Nt("w",["ww",2],"wo","week");Nt("W",["WW",2],"Wo","isoWeek");xs("week","w");xs("isoWeek","W");As("week",5);As("isoWeek",5);Et("w",sn);Et("ww",sn,Aa);Et("W",sn);Et("WW",sn,Aa);kd(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=sr(e)});function Cre(e){return jp(e,this._week.dow,this._week.doy).week}var Tre={dow:0,doy:6};function xre(){return this._week.dow}function Are(){return this._week.doy}function kre(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function wre(e){var t=jp(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}Nt("d",0,"do","day");Nt("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});Nt("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});Nt("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});Nt("e",0,0,"weekday");Nt("E",0,0,"isoWeekday");xs("day","d");xs("weekday","e");xs("isoWeekday","E");As("day",11);As("weekday",11);As("isoWeekday",11);Et("d",sn);Et("e",sn);Et("E",sn);Et("dd",function(e,t){return t.weekdaysMinRegex(e)});Et("ddd",function(e,t){return t.weekdaysShortRegex(e)});Et("dddd",function(e,t){return t.weekdaysRegex(e)});kd(["dd","ddd","dddd"],function(e,t,r,n){var a=r._locale.weekdaysParse(e,n,r._strict);a!=null?t.d=a:Jt(r).invalidWeekday=e});kd(["d","e","E"],function(e,t,r,n){t[n]=sr(e)});function Pre(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Nre(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function AO(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Ure="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pw="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Vre="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rre=Ad,Fre=Ad,Bre=Ad;function Hre(e,t){var r=wi(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?AO(r,this._week.dow):e?r[e.day()]:r}function $re(e){return e===!0?AO(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function jre(e){return e===!0?AO(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gre(e,t,r){var n,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=go([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=On.call(this._weekdaysParse,s),a!==-1?a:null):t==="ddd"?(a=On.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=On.call(this._minWeekdaysParse,s),a!==-1?a:null):t==="dddd"?(a=On.call(this._weekdaysParse,s),a!==-1||(a=On.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=On.call(this._minWeekdaysParse,s),a!==-1?a:null)):t==="ddd"?(a=On.call(this._shortWeekdaysParse,s),a!==-1||(a=On.call(this._weekdaysParse,s),a!==-1)?a:(a=On.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=On.call(this._minWeekdaysParse,s),a!==-1||(a=On.call(this._weekdaysParse,s),a!==-1)?a:(a=On.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function Wre(e,t,r){var n,a,i;if(this._weekdaysParseExact)return Gre.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=go([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function zre(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Pre(e,this.localeData()),this.add(e-t,"d")):t}function Kre(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function qre(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Nre(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Yre(e){return this._weekdaysParseExact?(Ir(this,"_weekdaysRegex")||kO.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Ir(this,"_weekdaysRegex")||(this._weekdaysRegex=Rre),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zre(e){return this._weekdaysParseExact?(Ir(this,"_weekdaysRegex")||kO.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ir(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fre),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xre(e){return this._weekdaysParseExact?(Ir(this,"_weekdaysRegex")||kO.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ir(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Bre),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function kO(){function e(c,f){return f.length-c.length}var t=[],r=[],n=[],a=[],i,s,o,l,u;for(i=0;i<7;i++)s=go([2e3,1]).day(i),o=_a(this.weekdaysMin(s,"")),l=_a(this.weekdaysShort(s,"")),u=_a(this.weekdays(s,"")),t.push(o),r.push(l),n.push(u),a.push(o),a.push(l),a.push(u);t.sort(e),r.sort(e),n.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function wO(){return this.hours()%12||12}function Jre(){return this.hours()||24}Nt("H",["HH",2],0,"hour");Nt("h",["hh",2],0,wO);Nt("k",["kk",2],0,Jre);Nt("hmm",0,0,function(){return""+wO.apply(this)+fo(this.minutes(),2)});Nt("hmmss",0,0,function(){return""+wO.apply(this)+fo(this.minutes(),2)+fo(this.seconds(),2)});Nt("Hmm",0,0,function(){return""+this.hours()+fo(this.minutes(),2)});Nt("Hmmss",0,0,function(){return""+this.hours()+fo(this.minutes(),2)+fo(this.seconds(),2)});function Nw(e,t){Nt(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Nw("a",!0);Nw("A",!1);xs("hour","h");As("hour",13);function Uw(e,t){return t._meridiemParse}Et("a",Uw);Et("A",Uw);Et("H",sn);Et("h",sn);Et("k",sn);Et("HH",sn,Aa);Et("hh",sn,Aa);Et("kk",sn,Aa);Et("hmm",Ew);Et("hmmss",bw);Et("Hmm",Ew);Et("Hmmss",bw);$r(["H","HH"],$n);$r(["k","kk"],function(e,t,r){var n=sr(e);t[$n]=n===24?0:n});$r(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});$r(["h","hh"],function(e,t,r){t[$n]=sr(e),Jt(r).bigHour=!0});$r("hmm",function(e,t,r){var n=e.length-2;t[$n]=sr(e.substr(0,n)),t[Oi]=sr(e.substr(n)),Jt(r).bigHour=!0});$r("hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[$n]=sr(e.substr(0,n)),t[Oi]=sr(e.substr(n,2)),t[No]=sr(e.substr(a)),Jt(r).bigHour=!0});$r("Hmm",function(e,t,r){var n=e.length-2;t[$n]=sr(e.substr(0,n)),t[Oi]=sr(e.substr(n))});$r("Hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[$n]=sr(e.substr(0,n)),t[Oi]=sr(e.substr(n,2)),t[No]=sr(e.substr(a))});function Qre(e){return(e+"").toLowerCase().charAt(0)==="p"}var ene=/[ap]\.?m?\.?/i,tne=Ef("Hours",!0);function rne(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var Vw={calendar:Wte,longDateFormat:Yte,invalidDate:Xte,ordinal:Qte,dayOfMonthOrdinalParse:ere,relativeTime:rre,months:_re,monthsShort:Lw,week:Tre,weekdays:Ure,weekdaysMin:Vre,weekdaysShort:Pw,meridiemParse:ene},on={},$f={},Gp;function nne(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r0;){if(a=a2(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&nne(i,n)>=r-1)break;r--}t++}return Gp}function ane(e){return e.match("^[^/\\\\]*$")!=null}function a2(e){var t=null,r;if(on[e]===void 0&&typeof Mh<"u"&&Mh&&Mh.exports&&ane(e))try{t=Gp._abbr,r=require,r("./locale/"+e),zl(t)}catch{on[e]=null}return on[e]}function zl(e,t){var r;return e&&(zs(t)?r=il(e):r=PO(e,t),r?Gp=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Gp._abbr}function PO(e,t){if(t!==null){var r,n=Vw;if(t.abbr=e,on[e]!=null)Sw("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=on[e]._config;else if(t.parentLocale!=null)if(on[t.parentLocale]!=null)n=on[t.parentLocale]._config;else if(r=a2(t.parentLocale),r!=null)n=r._config;else return $f[t.parentLocale]||($f[t.parentLocale]=[]),$f[t.parentLocale].push({name:e,config:t}),null;return on[e]=new bO(OM(n,t)),$f[e]&&$f[e].forEach(function(a){PO(a.name,a.config)}),zl(e),on[e]}else return delete on[e],null}function ine(e,t){if(t!=null){var r,n,a=Vw;on[e]!=null&&on[e].parentLocale!=null?on[e].set(OM(on[e]._config,t)):(n=a2(e),n!=null&&(a=n._config),t=OM(a,t),n==null&&(t.abbr=e),r=new bO(t),r.parentLocale=on[e],on[e]=r),zl(e)}else on[e]!=null&&(on[e].parentLocale!=null?(on[e]=on[e].parentLocale,e===zl()&&zl(e)):on[e]!=null&&delete on[e]);return on[e]}function il(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Gp;if(!wi(e)){if(t=a2(e),t)return t;e=[e]}return sne(e)}function one(){return EM(on)}function NO(e){var t,r=e._a;return r&&Jt(e).overflow===-2&&(t=r[Po]<0||r[Po]>11?Po:r[Xi]<1||r[Xi]>s2(r[Es],r[Po])?Xi:r[$n]<0||r[$n]>24||r[$n]===24&&(r[Oi]!==0||r[No]!==0||r[$u]!==0)?$n:r[Oi]<0||r[Oi]>59?Oi:r[No]<0||r[No]>59?No:r[$u]<0||r[$u]>999?$u:-1,Jt(e)._overflowDayOfYear&&(tXi)&&(t=Xi),Jt(e)._overflowWeeks&&t===-1&&(t=pre),Jt(e)._overflowWeekday&&t===-1&&(t=dre),Jt(e).overflow=t),e}var lne=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,une=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,cne=/Z|[+-]\d\d(?::?\d\d)?/,x1=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],LS=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],fne=/^\/?Date\((-?\d+)/i,mne=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,pne={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Rw(e){var t,r,n=e._i,a=lne.exec(n)||une.exec(n),i,s,o,l,u=x1.length,c=LS.length;if(a){for(Jt(e).iso=!0,t=0,r=u;tBm(s)||e._dayOfYear===0)&&(Jt(e)._overflowDayOfYear=!0),r=$p(s,0,e._dayOfYear),e._a[Po]=r.getUTCMonth(),e._a[Xi]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=a[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[$n]===24&&e._a[Oi]===0&&e._a[No]===0&&e._a[$u]===0&&(e._nextDay=!0,e._a[$n]=0),e._d=(e._useUTC?$p:Lre).apply(null,n),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[$n]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(Jt(e).weekdayMismatch=!0)}}function Mne(e){var t,r,n,a,i,s,o,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,s=4,r=X0(t.GG,e._a[Es],jp(nn(),1,4).year),n=X0(t.W,1),a=X0(t.E,1),(a<1||a>7)&&(l=!0)):(i=e._locale._week.dow,s=e._locale._week.doy,u=jp(nn(),i,s),r=X0(t.gg,e._a[Es],u.year),n=X0(t.w,u.week),t.d!=null?(a=t.d,(a<0||a>6)&&(l=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(l=!0)):a=i),n<1||n>$o(r,i,s)?Jt(e)._overflowWeeks=!0:l!=null?Jt(e)._overflowWeekday=!0:(o=ww(r,n,a,i,s),e._a[Es]=o.year,e._dayOfYear=o.dayOfYear)}Dt.ISO_8601=function(){};Dt.RFC_2822=function(){};function VO(e){if(e._f===Dt.ISO_8601){Rw(e);return}if(e._f===Dt.RFC_2822){Fw(e);return}e._a=[],Jt(e).empty=!0;var t=""+e._i,r,n,a,i,s,o=t.length,l=0,u,c;for(a=yw(e._f,e._locale).match(LO)||[],c=a.length,r=0;r0&&Jt(e).unusedInput.push(s),t=t.slice(t.indexOf(n)+n.length),l+=n.length),kc[i]?(n?Jt(e).empty=!1:Jt(e).unusedTokens.push(i),mre(i,n,e)):e._strict&&!n&&Jt(e).unusedTokens.push(i);Jt(e).charsLeftOver=o-l,t.length>0&&Jt(e).unusedInput.push(t),e._a[$n]<=12&&Jt(e).bigHour===!0&&e._a[$n]>0&&(Jt(e).bigHour=void 0),Jt(e).parsedDateParts=e._a.slice(0),Jt(e).meridiem=e._meridiem,e._a[$n]=Dne(e._locale,e._a[$n],e._meridiem),u=Jt(e).era,u!==null&&(e._a[Es]=e._locale.erasConvertYear(u,e._a[Es])),UO(e),NO(e)}function Dne(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Ine(e){var t,r,n,a,i,s,o=!1,l=e._f.length;if(l===0){Jt(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;athis?this:e:Xg()});function $w(e,t){var r,n;if(t.length===1&&wi(t[0])&&(t=t[0]),!t.length)return nn();for(r=t[0],n=1;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Gne(){if(!zs(this._isDSTShifted))return this._isDSTShifted;var e={},t;return EO(e,this),e=Bw(e),e._a?(t=e._isUTC?go(e._a):nn(e._a),this._isDSTShifted=this.isValid()&&Nne(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Wne(){return this.isValid()?!this._isUTC:!1}function zne(){return this.isValid()?this._isUTC:!1}function Gw(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Kne=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,qne=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ni(e,t){var r=e,n=null,a,i,s;return rh(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Zo(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=Kne.exec(e))?(a=n[1]==="-"?-1:1,r={y:0,d:sr(n[Xi])*a,h:sr(n[$n])*a,m:sr(n[Oi])*a,s:sr(n[No])*a,ms:sr(LM(n[$u]*1e3))*a}):(n=qne.exec(e))?(a=n[1]==="-"?-1:1,r={y:_u(n[2],a),M:_u(n[3],a),w:_u(n[4],a),d:_u(n[5],a),h:_u(n[6],a),m:_u(n[7],a),s:_u(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=Yne(nn(r.from),nn(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new i2(r),rh(e)&&Ir(e,"_locale")&&(i._locale=e._locale),rh(e)&&Ir(e,"_isValid")&&(i._isValid=e._isValid),i}Ni.fn=i2.prototype;Ni.invalid=Pne;function _u(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function g5(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Yne(e,t){var r;return e.isValid()&&t.isValid()?(t=FO(t,e),e.isBefore(t)?r=g5(e,t):(r=g5(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Ww(e,t){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(Sw(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=Ni(r,n),zw(this,a,e),this}}function zw(e,t,r,n){var a=t._milliseconds,i=LM(t._days),s=LM(t._months);!e.isValid()||(n=n??!0,s&&Tw(e,x_(e,"Month")+s*r),i&&Dw(e,"Date",x_(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),n&&Dt.updateOffset(e,i||s))}var Zne=Ww(1,"add"),Xne=Ww(-1,"subtract");function Kw(e){return typeof e=="string"||e instanceof String}function Jne(e){return Pi(e)||Td(e)||Kw(e)||Zo(e)||ese(e)||Qne(e)||e===null||e===void 0}function Qne(e){var t=Qu(e)&&!IO(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=n.length;for(a=0;ar.valueOf():r.valueOf()9999?th(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):vo(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",th(r,"Z")):th(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function dse(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+n+a+i)}function hse(e){e||(e=this.isUtc()?Dt.defaultFormatUtc:Dt.defaultFormat);var t=th(this,e);return this.localeData().postformat(t)}function _se(e,t){return this.isValid()&&(Pi(e)&&e.isValid()||nn(e).isValid())?Ni({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function gse(e){return this.from(nn(),e)}function vse(e,t){return this.isValid()&&(Pi(e)&&e.isValid()||nn(e).isValid())?Ni({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Sse(e){return this.to(nn(),e)}function qw(e){var t;return e===void 0?this._locale._abbr:(t=il(e),t!=null&&(this._locale=t),this)}var Yw=fi("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Zw(){return this._locale}var w_=1e3,wc=60*w_,P_=60*wc,Xw=(365*400+97)*24*P_;function Pc(e,t){return(e%t+t)%t}function Jw(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Xw:new Date(e,t,r).valueOf()}function Qw(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Xw:Date.UTC(e,t,r)}function yse(e){var t,r;if(e=mi(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Qw:Jw,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Pc(t+(this._isUTC?0:this.utcOffset()*wc),P_);break;case"minute":t=this._d.valueOf(),t-=Pc(t,wc);break;case"second":t=this._d.valueOf(),t-=Pc(t,w_);break}return this._d.setTime(t),Dt.updateOffset(this,!0),this}function Mse(e){var t,r;if(e=mi(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Qw:Jw,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=P_-Pc(t+(this._isUTC?0:this.utcOffset()*wc),P_)-1;break;case"minute":t=this._d.valueOf(),t+=wc-Pc(t,wc)-1;break;case"second":t=this._d.valueOf(),t+=w_-Pc(t,w_)-1;break}return this._d.setTime(t),Dt.updateOffset(this,!0),this}function Dse(){return this._d.valueOf()-(this._offset||0)*6e4}function Ise(){return Math.floor(this.valueOf()/1e3)}function Ose(){return new Date(this.valueOf())}function Ese(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function bse(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Lse(){return this.isValid()?this.toISOString():null}function Cse(){return OO(this)}function Tse(){return wl({},Jt(this))}function xse(){return Jt(this).overflow}function Ase(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Nt("N",0,0,"eraAbbr");Nt("NN",0,0,"eraAbbr");Nt("NNN",0,0,"eraAbbr");Nt("NNNN",0,0,"eraName");Nt("NNNNN",0,0,"eraNarrow");Nt("y",["y",1],"yo","eraYear");Nt("y",["yy",2],0,"eraYear");Nt("y",["yyy",3],0,"eraYear");Nt("y",["yyyy",4],0,"eraYear");Et("N",BO);Et("NN",BO);Et("NNN",BO);Et("NNNN",$se);Et("NNNNN",jse);$r(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var a=r._locale.erasParse(e,n,r._strict);a?Jt(r).era=a:Jt(r).invalidEra=e});Et("y",bf);Et("yy",bf);Et("yyy",bf);Et("yyyy",bf);Et("yo",Gse);$r(["y","yy","yyy","yyyy"],Es);$r(["yo"],function(e,t,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Es]=r._locale.eraYearOrdinalParse(e,a):t[Es]=parseInt(e,10)});function kse(e,t){var r,n,a,i=this._eras||il("en")._eras;for(r=0,n=i.length;r=0)return i[n]}function Pse(e,t){var r=e.since<=e.until?1:-1;return t===void 0?Dt(e.since).year():Dt(e.since).year()+(t-e.offset)*r}function Nse(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;ei&&(t=i),Xse.call(this,e,t,r,n,a))}function Xse(e,t,r,n,a){var i=ww(e,t,r,n,a),s=$p(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}Nt("Q",0,"Qo","quarter");xs("quarter","Q");As("quarter",7);Et("Q",Iw);$r("Q",function(e,t){t[Po]=(sr(e)-1)*3});function Jse(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}Nt("D",["DD",2],"Do","date");xs("date","D");As("date",9);Et("D",sn);Et("DD",sn,Aa);Et("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});$r(["D","DD"],Xi);$r("Do",function(e,t){t[Xi]=sr(e.match(sn)[0])});var tP=Ef("Date",!0);Nt("DDD",["DDDD",3],"DDDo","dayOfYear");xs("dayOfYear","DDD");As("dayOfYear",4);Et("DDD",e2);Et("DDDD",Ow);$r(["DDD","DDDD"],function(e,t,r){r._dayOfYear=sr(e)});function Qse(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}Nt("m",["mm",2],0,"minute");xs("minute","m");As("minute",14);Et("m",sn);Et("mm",sn,Aa);$r(["m","mm"],Oi);var eae=Ef("Minutes",!1);Nt("s",["ss",2],0,"second");xs("second","s");As("second",15);Et("s",sn);Et("ss",sn,Aa);$r(["s","ss"],No);var tae=Ef("Seconds",!1);Nt("S",0,0,function(){return~~(this.millisecond()/100)});Nt(0,["SS",2],0,function(){return~~(this.millisecond()/10)});Nt(0,["SSS",3],0,"millisecond");Nt(0,["SSSS",4],0,function(){return this.millisecond()*10});Nt(0,["SSSSS",5],0,function(){return this.millisecond()*100});Nt(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});Nt(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});Nt(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});Nt(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});xs("millisecond","ms");As("millisecond",16);Et("S",e2,Iw);Et("SS",e2,Aa);Et("SSS",e2,Ow);var Pl,rP;for(Pl="SSSS";Pl.length<=9;Pl+="S")Et(Pl,bf);function rae(e,t){t[$u]=sr(("0."+e)*1e3)}for(Pl="S";Pl.length<=9;Pl+="S")$r(Pl,rae);rP=Ef("Milliseconds",!1);Nt("z",0,0,"zoneAbbr");Nt("zz",0,0,"zoneName");function nae(){return this._isUTC?"UTC":""}function sae(){return this._isUTC?"Coordinated Universal Time":""}var pt=xd.prototype;pt.add=Zne;pt.calendar=nse;pt.clone=sse;pt.diff=fse;pt.endOf=Mse;pt.format=hse;pt.from=_se;pt.fromNow=gse;pt.to=vse;pt.toNow=Sse;pt.get=ire;pt.invalidAt=xse;pt.isAfter=ase;pt.isBefore=ise;pt.isBetween=ose;pt.isSame=lse;pt.isSameOrAfter=use;pt.isSameOrBefore=cse;pt.isValid=Cse;pt.lang=Yw;pt.locale=qw;pt.localeData=Zw;pt.max=Cne;pt.min=Lne;pt.parsingFlags=Tse;pt.set=ore;pt.startOf=yse;pt.subtract=Xne;pt.toArray=Ese;pt.toObject=bse;pt.toDate=Ose;pt.toISOString=pse;pt.inspect=dse;typeof Symbol<"u"&&Symbol.for!=null&&(pt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});pt.toJSON=Lse;pt.toString=mse;pt.unix=Ise;pt.valueOf=Dse;pt.creationData=Ase;pt.eraName=Nse;pt.eraNarrow=Use;pt.eraAbbr=Vse;pt.eraYear=Rse;pt.year=kw;pt.isLeapYear=bre;pt.weekYear=Wse;pt.isoWeekYear=zse;pt.quarter=pt.quarters=Jse;pt.month=xw;pt.daysInMonth=Ire;pt.week=pt.weeks=kre;pt.isoWeek=pt.isoWeeks=wre;pt.weeksInYear=Yse;pt.weeksInWeekYear=Zse;pt.isoWeeksInYear=Kse;pt.isoWeeksInISOWeekYear=qse;pt.date=tP;pt.day=pt.days=zre;pt.weekday=Kre;pt.isoWeekday=qre;pt.dayOfYear=Qse;pt.hour=pt.hours=tne;pt.minute=pt.minutes=eae;pt.second=pt.seconds=tae;pt.millisecond=pt.milliseconds=rP;pt.utcOffset=Vne;pt.utc=Fne;pt.local=Bne;pt.parseZone=Hne;pt.hasAlignedHourOffset=$ne;pt.isDST=jne;pt.isLocal=Wne;pt.isUtcOffset=zne;pt.isUtc=Gw;pt.isUTC=Gw;pt.zoneAbbr=nae;pt.zoneName=sae;pt.dates=fi("dates accessor is deprecated. Use date instead.",tP);pt.months=fi("months accessor is deprecated. Use month instead",xw);pt.years=fi("years accessor is deprecated. Use year instead",kw);pt.zone=fi("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Rne);pt.isDSTShifted=fi("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Gne);function aae(e){return nn(e*1e3)}function iae(){return nn.apply(null,arguments).parseZone()}function nP(e){return e}var Or=bO.prototype;Or.calendar=zte;Or.longDateFormat=Zte;Or.invalidDate=Jte;Or.ordinal=tre;Or.preparse=nP;Or.postformat=nP;Or.relativeTime=nre;Or.pastFuture=sre;Or.set=Gte;Or.eras=kse;Or.erasParse=wse;Or.erasConvertYear=Pse;Or.erasAbbrRegex=Bse;Or.erasNameRegex=Fse;Or.erasNarrowRegex=Hse;Or.months=Sre;Or.monthsShort=yre;Or.monthsParse=Dre;Or.monthsRegex=Ere;Or.monthsShortRegex=Ore;Or.week=Cre;Or.firstDayOfYear=Are;Or.firstDayOfWeek=xre;Or.weekdays=Hre;Or.weekdaysMin=jre;Or.weekdaysShort=$re;Or.weekdaysParse=Wre;Or.weekdaysRegex=Yre;Or.weekdaysShortRegex=Zre;Or.weekdaysMinRegex=Xre;Or.isPM=Qre;Or.meridiem=rne;function N_(e,t,r,n){var a=il(),i=go().set(n,t);return a[r](i,e)}function sP(e,t,r){if(Zo(e)&&(t=e,e=void 0),e=e||"",t!=null)return N_(e,t,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=N_(e,n,r,"month");return a}function $O(e,t,r,n){typeof e=="boolean"?(Zo(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Zo(t)&&(r=t,t=void 0),t=t||"");var a=il(),i=e?a._week.dow:0,s,o=[];if(r!=null)return N_(t,(r+i)%7,n,"day");for(s=0;s<7;s++)o[s]=N_(t,(s+i)%7,n,"day");return o}function oae(e,t){return sP(e,t,"months")}function lae(e,t){return sP(e,t,"monthsShort")}function uae(e,t,r){return $O(e,t,r,"weekdays")}function cae(e,t,r){return $O(e,t,r,"weekdaysShort")}function fae(e,t,r){return $O(e,t,r,"weekdaysMin")}zl("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=sr(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});Dt.lang=fi("moment.lang is deprecated. Use moment.locale instead.",zl);Dt.langData=fi("moment.langData is deprecated. Use moment.localeData instead.",il);var Do=Math.abs;function mae(){var e=this._data;return this._milliseconds=Do(this._milliseconds),this._days=Do(this._days),this._months=Do(this._months),e.milliseconds=Do(e.milliseconds),e.seconds=Do(e.seconds),e.minutes=Do(e.minutes),e.hours=Do(e.hours),e.months=Do(e.months),e.years=Do(e.years),this}function aP(e,t,r,n){var a=Ni(t,r);return e._milliseconds+=n*a._milliseconds,e._days+=n*a._days,e._months+=n*a._months,e._bubble()}function pae(e,t){return aP(this,e,t,1)}function dae(e,t){return aP(this,e,t,-1)}function v5(e){return e<0?Math.floor(e):Math.ceil(e)}function hae(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,a,i,s,o,l;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=v5(TM(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,a=Ya(e/1e3),n.seconds=a%60,i=Ya(a/60),n.minutes=i%60,s=Ya(i/60),n.hours=s%24,t+=Ya(s/24),l=Ya(iP(t)),r+=l,t-=v5(TM(l)),o=Ya(r/12),r%=12,n.days=t,n.months=r,n.years=o,this}function iP(e){return e*4800/146097}function TM(e){return e*146097/4800}function _ae(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=mi(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+iP(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(TM(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function gae(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+sr(this._months/12)*31536e6:NaN}function ol(e){return function(){return this.as(e)}}var vae=ol("ms"),Sae=ol("s"),yae=ol("m"),Mae=ol("h"),Dae=ol("d"),Iae=ol("w"),Oae=ol("M"),Eae=ol("Q"),bae=ol("y");function Lae(){return Ni(this)}function Cae(e){return e=mi(e),this.isValid()?this[e+"s"]():NaN}function P0(e){return function(){return this.isValid()?this._data[e]:NaN}}var Tae=P0("milliseconds"),xae=P0("seconds"),Aae=P0("minutes"),kae=P0("hours"),wae=P0("days"),Pae=P0("months"),Nae=P0("years");function Uae(){return Ya(this.days()/7)}var bo=Math.round,_c={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Vae(e,t,r,n,a){return a.relativeTime(t||1,!!r,e,n)}function Rae(e,t,r,n){var a=Ni(e).abs(),i=bo(a.as("s")),s=bo(a.as("m")),o=bo(a.as("h")),l=bo(a.as("d")),u=bo(a.as("M")),c=bo(a.as("w")),f=bo(a.as("y")),m=i<=r.ss&&["s",i]||i0,m[4]=n,Vae.apply(null,m)}function Fae(e){return e===void 0?bo:typeof e=="function"?(bo=e,!0):!1}function Bae(e,t){return _c[e]===void 0?!1:t===void 0?_c[e]:(_c[e]=t,e==="s"&&(_c.ss=t-1),!0)}function Hae(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=_c,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},_c,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),a=this.localeData(),i=Rae(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var CS=Math.abs;function $0(e){return(e>0)-(e<0)||+e}function l2(){if(!this.isValid())return this.localeData().invalidDate();var e=CS(this._milliseconds)/1e3,t=CS(this._days),r=CS(this._months),n,a,i,s,o=this.asSeconds(),l,u,c,f;return o?(n=Ya(e/60),a=Ya(n/60),e%=60,n%=60,i=Ya(r/12),r%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",u=$0(this._months)!==$0(o)?"-":"",c=$0(this._days)!==$0(o)?"-":"",f=$0(this._milliseconds)!==$0(o)?"-":"",l+"P"+(i?u+i+"Y":"")+(r?u+r+"M":"")+(t?c+t+"D":"")+(a||n||e?"T":"")+(a?f+a+"H":"")+(n?f+n+"M":"")+(e?f+s+"S":"")):"P0D"}var cr=i2.prototype;cr.isValid=wne;cr.abs=mae;cr.add=pae;cr.subtract=dae;cr.as=_ae;cr.asMilliseconds=vae;cr.asSeconds=Sae;cr.asMinutes=yae;cr.asHours=Mae;cr.asDays=Dae;cr.asWeeks=Iae;cr.asMonths=Oae;cr.asQuarters=Eae;cr.asYears=bae;cr.valueOf=gae;cr._bubble=hae;cr.clone=Lae;cr.get=Cae;cr.milliseconds=Tae;cr.seconds=xae;cr.minutes=Aae;cr.hours=kae;cr.days=wae;cr.weeks=Uae;cr.months=Pae;cr.years=Nae;cr.humanize=Hae;cr.toISOString=l2;cr.toString=l2;cr.toJSON=l2;cr.locale=qw;cr.localeData=Zw;cr.toIsoString=fi("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",l2);cr.lang=Yw;Nt("X",0,0,"unix");Nt("x",0,0,"valueOf");Et("x",r2);Et("X",ure);$r("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});$r("x",function(e,t,r){r._d=new Date(sr(e))});//! moment.js +Dt.version="2.29.4";$te(nn);Dt.fn=pt;Dt.min=Tne;Dt.max=xne;Dt.now=Ane;Dt.utc=go;Dt.unix=aae;Dt.months=oae;Dt.isDate=Td;Dt.locale=zl;Dt.invalid=Xg;Dt.duration=Ni;Dt.isMoment=Pi;Dt.weekdays=uae;Dt.parseZone=iae;Dt.localeData=il;Dt.isDuration=rh;Dt.monthsShort=lae;Dt.weekdaysMin=fae;Dt.defineLocale=PO;Dt.updateLocale=ine;Dt.locales=one;Dt.weekdaysShort=cae;Dt.normalizeUnits=mi;Dt.relativeTimeRounding=Fae;Dt.relativeTimeThreshold=Bae;Dt.calendarFormat=rse;Dt.prototype=pt;Dt.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const $ae=24*60*60,jae=$ae*1e3,Gae=25567+2,Wae=e=>Object.prototype.toString.call(e)==="[object Date]"&&!isNaN(e.getTime());var zae=e=>{if(!Number(e))throw new Error("wrong input format");const r=(e-Gae)*jae,n=new Date(r);if(!Wae(n))throw new Error("wrong excel date input");return n},oP={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Zs,function(){var r=1e3,n=6e4,a=36e5,i="millisecond",s="second",o="minute",l="hour",u="day",c="week",f="month",m="quarter",d="year",h="date",p="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g=function(j,O,R){var te=String(j);return!te||te.length>=O?j:""+Array(O+1-te.length).join(R)+j},y={s:g,z:function(j){var O=-j.utcOffset(),R=Math.abs(O),te=Math.floor(R/60),W=R%60;return(O<=0?"+":"-")+g(te,2,"0")+":"+g(W,2,"0")},m:function j(O,R){if(O.date()1)return j(F[0])}else{var le=O.name;I[le]=O,W=le}return!te&&W&&(M=W),W||!te&&M},b=function(j,O){if(D(j))return j.clone();var R=typeof O=="object"?O:{};return R.date=j,R.args=arguments,new V(R)},N=y;N.l=T,N.i=D,N.w=function(j,O){return b(j,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var V=function(){function j(R){this.$L=T(R.locale,null,!0),this.parse(R)}var O=j.prototype;return O.parse=function(R){this.$d=function(te){var W=te.date,ue=te.utc;if(W===null)return new Date(NaN);if(N.u(W))return new Date;if(W instanceof Date)return new Date(W);if(typeof W=="string"&&!/Z$/i.test(W)){var F=W.match(_);if(F){var le=F[2]-1||0,J=(F[7]||"0").substring(0,3);return ue?new Date(Date.UTC(F[1],le,F[3]||1,F[4]||0,F[5]||0,F[6]||0,J)):new Date(F[1],le,F[3]||1,F[4]||0,F[5]||0,F[6]||0,J)}}return new Date(W)}(R),this.$x=R.x||{},this.init()},O.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},O.$utils=function(){return N},O.isValid=function(){return this.$d.toString()!==p},O.isSame=function(R,te){var W=b(R);return this.startOf(te)<=W&&W<=this.endOf(te)},O.isAfter=function(R,te){return b(R)",o[s.Identifier]="Identifier",o[s.Keyword]="Keyword",o[s.NullLiteral]="Null",o[s.NumericLiteral]="Numeric",o[s.Punctuator]="Punctuator",o[s.StringLiteral]="String",o[s.RegularExpression]="RegularExpression",l=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],u={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},c={Data:1,Get:2,Set:4},f={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},m={NonAsciiIdentifierStart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]"),NonAsciiIdentifierPart:new RegExp("[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0\u08A2-\u08AC\u08E4-\u08FE\u0900-\u0963\u0966-\u096F\u0971-\u0977\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1D00-\u1DE6\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA697\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]")};function T(C,K){if(!C)throw new Error("ASSERT: "+K)}function b(C){return C>=48&&C<=57}function N(C){return"0123456789abcdefABCDEF".indexOf(C)>=0}function V(C){return"01234567".indexOf(C)>=0}function A(C){return C===32||C===9||C===11||C===12||C===160||C>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(C)>=0}function j(C){return C===10||C===13||C===8232||C===8233}function O(C){return C==64||C===36||C===95||C>=65&&C<=90||C>=97&&C<=122||C===92||C>=128&&m.NonAsciiIdentifierStart.test(String.fromCharCode(C))}function R(C){return C===36||C===95||C>=65&&C<=90||C>=97&&C<=122||C>=48&&C<=57||C===92||C>=128&&m.NonAsciiIdentifierPart.test(String.fromCharCode(C))}function te(C){switch(C){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function W(C){switch(C){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function ue(C){return C==="eval"||C==="arguments"}function F(C){if(p&&W(C))return!0;switch(C.length){case 2:return C==="if"||C==="in"||C==="do";case 3:return C==="var"||C==="for"||C==="new"||C==="try"||C==="let";case 4:return C==="this"||C==="else"||C==="case"||C==="void"||C==="with"||C==="enum";case 5:return C==="while"||C==="break"||C==="catch"||C==="throw"||C==="const"||C==="yield"||C==="class"||C==="super";case 6:return C==="return"||C==="typeof"||C==="delete"||C==="switch"||C==="export"||C==="import";case 7:return C==="default"||C==="finally"||C==="extends";case 8:return C==="function"||C==="continue"||C==="debugger";case 10:return C==="instanceof";default:return!1}}function le(C,K,me,Be,st){var Mt;T(typeof me=="number","Comment must have valid position"),!(I.lastCommentStart>=me)&&(I.lastCommentStart=me,Mt={type:C,value:K},D.range&&(Mt.range=[me,Be]),D.loc&&(Mt.loc=st),D.comments.push(Mt),D.attachComment&&(D.leadingComments.push(Mt),D.trailingComments.push(Mt)))}function J(C){var K,me,Be,st;for(K=_-C,me={start:{line:S,column:_-v-C}};_=g&&G({},f.UnexpectedToken,"ILLEGAL");else if(me===42){if(h.charCodeAt(_+1)===47){++_,++_,D.comments&&(Be=h.slice(C+2,_-2),K.end={line:S,column:_-v},le("Block",Be,C,_,K));return}++_}else++_;G({},f.UnexpectedToken,"ILLEGAL")}function U(){var C,K;for(K=_===0;_>>=")return _+=4,{type:s.Punctuator,value:tr,lineNumber:S,lineStart:v,start:C,end:_};if(Mt=tr.substr(0,3),Mt===">>>"||Mt==="<<="||Mt===">>=")return _+=3,{type:s.Punctuator,value:Mt,lineNumber:S,lineStart:v,start:C,end:_};if(st=Mt.substr(0,2),Be===st[1]&&"+-<>&|".indexOf(Be)>=0||st==="=>")return _+=2,{type:s.Punctuator,value:st,lineNumber:S,lineStart:v,start:C,end:_};if("<>=!+-*%&|^/".indexOf(Be)>=0)return++_,{type:s.Punctuator,value:Be,lineNumber:S,lineStart:v,start:C,end:_};G({},f.UnexpectedToken,"ILLEGAL")}function Me(C){for(var K="";_=0&&_0&&(Be=D.tokens[D.tokens.length-1],Be.range[0]===C&&Be.type==="Punctuator"&&(Be.value==="/"||Be.value==="/=")&&D.tokens.pop()),D.tokens.push({type:"RegularExpression",value:me.literal,range:[C,_],loc:K})),me}function Q(C){return C.type===s.Identifier||C.type===s.Keyword||C.type===s.BooleanLiteral||C.type===s.NullLiteral}function Te(){var C,K;if(C=D.tokens[D.tokens.length-1],!C)return Y();if(C.type==="Punctuator"){if(C.value==="]")return Le();if(C.value===")")return K=D.tokens[D.openParenToken-1],K&&K.type==="Keyword"&&(K.value==="if"||K.value==="while"||K.value==="for"||K.value==="with")?Y():Le();if(C.value==="}"){if(D.tokens[D.openCurlyToken-3]&&D.tokens[D.openCurlyToken-3].type==="Keyword"){if(K=D.tokens[D.openCurlyToken-4],!K)return Le()}else if(D.tokens[D.openCurlyToken-4]&&D.tokens[D.openCurlyToken-4].type==="Keyword"){if(K=D.tokens[D.openCurlyToken-5],!K)return Y()}else return Le();return l.indexOf(K.value)>=0?Le():Y()}return Y()}return C.type==="Keyword"?Y():Le()}function Ge(){var C;return U(),_>=g?{type:s.EOF,lineNumber:S,lineStart:v,start:_,end:_}:(C=h.charCodeAt(_),O(C)?Fe():C===40||C===41||C===59?Le():C===39||C===34?ae():C===46?b(h.charCodeAt(_+1))?be():Le():b(C)?be():D.tokenize&&C===47?Te():Le())}function ze(){var C,K,me;return U(),C={start:{line:S,column:_-v}},K=Ge(),C.end={line:S,column:_-v},K.type!==s.EOF&&(me=h.slice(K.start,K.end),D.tokens.push({type:o[K.type],value:me,range:[K.start,K.end],loc:C})),K}function x(){var C;return C=M,_=C.end,S=C.lineNumber,v=C.lineStart,M=typeof D.tokens<"u"?ze():Ge(),_=C.end,S=C.lineNumber,v=C.lineStart,C}function Ne(){var C,K,me;C=_,K=S,me=v,M=typeof D.tokens<"u"?ze():Ge(),_=C,S=K,v=me}function it(C,K){this.line=C,this.column=K}function Je(C,K,me,Be){this.start=new it(C,K),this.end=new it(me,Be)}d={name:"SyntaxTree",processComment:function(C){var K,me;if(!(C.type===u.Program&&C.body.length>0)){for(D.trailingComments.length>0?D.trailingComments[0].range[0]>=C.range[1]?(me=D.trailingComments,D.trailingComments=[]):D.trailingComments.length=0:D.bottomRightStack.length>0&&D.bottomRightStack[D.bottomRightStack.length-1].trailingComments&&D.bottomRightStack[D.bottomRightStack.length-1].trailingComments[0].range[0]>=C.range[1]&&(me=D.bottomRightStack[D.bottomRightStack.length-1].trailingComments,delete D.bottomRightStack[D.bottomRightStack.length-1].trailingComments);D.bottomRightStack.length>0&&D.bottomRightStack[D.bottomRightStack.length-1].range[0]>=C.range[0];)K=D.bottomRightStack.pop();K?K.leadingComments&&K.leadingComments[K.leadingComments.length-1].range[1]<=C.range[0]&&(C.leadingComments=K.leadingComments,delete K.leadingComments):D.leadingComments.length>0&&D.leadingComments[D.leadingComments.length-1].range[1]<=C.range[0]&&(C.leadingComments=D.leadingComments,D.leadingComments=[]),me&&(C.trailingComments=me),D.bottomRightStack.push(C)}},markEnd:function(C,K){return D.range&&(C.range=[K.start,_]),D.loc&&(C.loc=new Je(K.startLineNumber===void 0?K.lineNumber:K.startLineNumber,K.start-(K.startLineStart===void 0?K.lineStart:K.startLineStart),S,_-v),this.postProcess(C)),D.attachComment&&this.processComment(C),C},postProcess:function(C){return D.source&&(C.loc.source=D.source),C},createArrayExpression:function(C){return{type:u.ArrayExpression,elements:C}},createAssignmentExpression:function(C,K,me){return{type:u.AssignmentExpression,operator:C,left:K,right:me}},createBinaryExpression:function(C,K,me){var Be=C==="||"||C==="&&"?u.LogicalExpression:u.BinaryExpression;return{type:Be,operator:C,left:K,right:me}},createBlockStatement:function(C){return{type:u.BlockStatement,body:C}},createBreakStatement:function(C){return{type:u.BreakStatement,label:C}},createCallExpression:function(C,K){return{type:u.CallExpression,callee:C,arguments:K}},createCatchClause:function(C,K){return{type:u.CatchClause,param:C,body:K}},createConditionalExpression:function(C,K,me){return{type:u.ConditionalExpression,test:C,consequent:K,alternate:me}},createContinueStatement:function(C){return{type:u.ContinueStatement,label:C}},createDebuggerStatement:function(){return{type:u.DebuggerStatement}},createDoWhileStatement:function(C,K){return{type:u.DoWhileStatement,body:C,test:K}},createEmptyStatement:function(){return{type:u.EmptyStatement}},createExpressionStatement:function(C){return{type:u.ExpressionStatement,expression:C}},createForStatement:function(C,K,me,Be){return{type:u.ForStatement,init:C,test:K,update:me,body:Be}},createForInStatement:function(C,K,me){return{type:u.ForInStatement,left:C,right:K,body:me,each:!1}},createFunctionDeclaration:function(C,K,me,Be){return{type:u.FunctionDeclaration,id:C,params:K,defaults:me,body:Be,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(C,K,me,Be){return{type:u.FunctionExpression,id:C,params:K,defaults:me,body:Be,rest:null,generator:!1,expression:!1}},createIdentifier:function(C){return{type:u.Identifier,name:C}},createIfStatement:function(C,K,me){return{type:u.IfStatement,test:C,consequent:K,alternate:me}},createLabeledStatement:function(C,K){return{type:u.LabeledStatement,label:C,body:K}},createLiteral:function(C){return{type:u.Literal,value:C.value,raw:h.slice(C.start,C.end)}},createMemberExpression:function(C,K,me){return{type:u.MemberExpression,computed:C==="[",object:K,property:me}},createNewExpression:function(C,K){return{type:u.NewExpression,callee:C,arguments:K}},createObjectExpression:function(C){return{type:u.ObjectExpression,properties:C}},createPostfixExpression:function(C,K){return{type:u.UpdateExpression,operator:C,argument:K,prefix:!1}},createProgram:function(C){return{type:u.Program,body:C}},createProperty:function(C,K,me){return{type:u.Property,key:K,value:me,kind:C}},createReturnStatement:function(C){return{type:u.ReturnStatement,argument:C}},createSequenceExpression:function(C){return{type:u.SequenceExpression,expressions:C}},createSwitchCase:function(C,K){return{type:u.SwitchCase,test:C,consequent:K}},createSwitchStatement:function(C,K){return{type:u.SwitchStatement,discriminant:C,cases:K}},createThisExpression:function(){return{type:u.ThisExpression}},createThrowStatement:function(C){return{type:u.ThrowStatement,argument:C}},createTryStatement:function(C,K,me,Be){return{type:u.TryStatement,block:C,guardedHandlers:K,handlers:me,finalizer:Be}},createUnaryExpression:function(C,K){return C==="++"||C==="--"?{type:u.UpdateExpression,operator:C,argument:K,prefix:!0}:{type:u.UnaryExpression,operator:C,argument:K,prefix:!0}},createVariableDeclaration:function(C,K){return{type:u.VariableDeclaration,declarations:C,kind:K}},createVariableDeclarator:function(C,K){return{type:u.VariableDeclarator,id:C,init:K}},createWhileStatement:function(C,K){return{type:u.WhileStatement,test:C,body:K}},createWithStatement:function(C,K){return{type:u.WithStatement,object:C,body:K}}};function Ye(){var C,K,me,Be;return C=_,K=S,me=v,U(),Be=S!==K,_=C,S=K,v=me,Be}function G(C,K){var me,Be=Array.prototype.slice.call(arguments,2),st=K.replace(/%(\d)/g,function(Mt,tr){return T(tr>="||C===">>>="||C==="&="||C==="^="||C==="|=")}function oe(){var C;if(h.charCodeAt(_)===59||ie(";")){x();return}C=S,U(),S===C&&M.type!==s.EOF&&!ie("}")&&E(M)}function ce(C){return C.type===u.Identifier||C.type===u.MemberExpression}function Ze(){var C=[],K;for(K=M,H("[");!ie("]");)ie(",")?(x(),C.push(null)):(C.push(w()),ie("]")||H(","));return x(),y.markEnd(y.createArrayExpression(C),K)}function Ct(C,K){var me,Be,st;return me=p,st=M,Be=_v(),K&&p&&ue(C[0].name)&&L(K,f.StrictParamName),p=me,y.markEnd(y.createFunctionExpression(null,C,[],Be),st)}function Ue(){var C,K;return K=M,C=x(),C.type===s.StringLiteral||C.type===s.NumericLiteral?(p&&C.octal&&L(C,f.StrictOctalLiteral),y.markEnd(y.createLiteral(C),K)):y.markEnd(y.createIdentifier(C.value),K)}function Ae(){var C,K,me,Be,st,Mt;if(C=M,Mt=M,C.type===s.Identifier)return me=Ue(),C.value==="get"&&!ie(":")?(K=Ue(),H("("),H(")"),Be=Ct([]),y.markEnd(y.createProperty("get",K,Be),Mt)):C.value==="set"&&!ie(":")?(K=Ue(),H("("),C=M,C.type!==s.Identifier?(H(")"),L(C,f.UnexpectedToken,C.value),Be=Ct([])):(st=[X()],H(")"),Be=Ct(st,C)),y.markEnd(y.createProperty("set",K,Be),Mt)):(H(":"),Be=w(),y.markEnd(y.createProperty("init",me,Be),Mt));if(C.type===s.EOF||C.type===s.Punctuator)E(C);else return K=Ue(),H(":"),Be=w(),y.markEnd(y.createProperty("init",K,Be),Mt)}function nt(){var C=[],K,me,Be,st,Mt={},tr=String,Rr;for(Rr=M,H("{");!ie("}");)K=Ae(),K.key.type===u.Identifier?me=K.key.name:me=tr(K.key.value),st=K.kind==="init"?c.Data:K.kind==="get"?c.Get:c.Set,Be="$"+me,Object.prototype.hasOwnProperty.call(Mt,Be)?(Mt[Be]===c.Data?p&&st===c.Data?L({},f.StrictDuplicateProperty):st!==c.Data&&L({},f.AccessorDataProperty):st===c.Data?L({},f.AccessorDataProperty):Mt[Be]&st&&L({},f.AccessorGetSet),Mt[Be]|=st):Mt[Be]=st,C.push(K),ie("}")||H(",");return H("}"),y.markEnd(y.createObjectExpression(C),Rr)}function B(){var C;return H("("),C=ee(),H(")"),C}function he(){var C,K,me,Be;if(ie("("))return B();if(ie("["))return Ze();if(ie("{"))return nt();if(C=M.type,Be=M,C===s.Identifier)me=y.createIdentifier(x().value);else if(C===s.StringLiteral||C===s.NumericLiteral)p&&M.octal&&L(M,f.StrictOctalLiteral),me=y.createLiteral(x());else if(C===s.Keyword){if(Ce("function"))return WU();Ce("this")?(x(),me=y.createThisExpression()):E(x())}else C===s.BooleanLiteral?(K=x(),K.value=K.value==="true",me=y.createLiteral(K)):C===s.NullLiteral?(K=x(),K.value=null,me=y.createLiteral(K)):ie("/")||ie("/=")?(typeof D.tokens<"u"?me=y.createLiteral(Y()):me=y.createLiteral(we()),Ne()):E(x());return y.markEnd(me,Be)}function Xe(){var C=[];if(H("("),!ie(")"))for(;_":case"<=":case">=":case"instanceof":me=7;break;case"in":me=K?7:0;break;case"<<":case">>":case">>>":me=8;break;case"+":case"-":me=9;break;case"*":case"/":case"%":me=11;break}return me}function Qt(){var C,K,me,Be,st,Mt,tr,Rr,ns,Kn;if(C=M,ns=Ot(),Be=M,st=Kt(Be,I.allowIn),st===0)return ns;for(Be.prec=st,x(),K=[C,M],tr=Ot(),Mt=[ns,Be,tr];(st=Kt(M,I.allowIn))>0;){for(;Mt.length>2&&st<=Mt[Mt.length-2].prec;)tr=Mt.pop(),Rr=Mt.pop().value,ns=Mt.pop(),me=y.createBinaryExpression(Rr,ns,tr),K.pop(),C=K[K.length-1],y.markEnd(me,C),Mt.push(me);Be=x(),Be.prec=st,Mt.push(Be),K.push(M),me=Ot(),Mt.push(me)}for(Kn=Mt.length-1,me=Mt[Kn],K.pop();Kn>1;)me=y.createBinaryExpression(Mt[Kn-1].value,Mt[Kn-2],me),Kn-=2,C=K.pop(),y.markEnd(me,C);return me}function We(){var C,K,me,Be,st;return st=M,C=Qt(),ie("?")&&(x(),K=I.allowIn,I.allowIn=!0,me=w(),I.allowIn=K,H(":"),Be=w(),C=y.createConditionalExpression(C,me,Be),y.markEnd(C,st)),C}function w(){var C,K,me,Be,st;return C=M,st=M,Be=K=We(),gt()&&(ce(K)||L({},f.InvalidLHSInAssignment),p&&K.type===u.Identifier&&ue(K.name)&&L(C,f.StrictLHSAssignment),C=x(),me=w(),Be=y.markEnd(y.createAssignmentExpression(C.value,K,me),st)),Be}function ee(){var C,K=M;if(C=w(),ie(",")){for(C=y.createSequenceExpression([C]);_"u"));)C.push(K);return C}function Z(){var C,K;return K=M,H("{"),C=se(),H("}"),y.markEnd(y.createBlockStatement(C),K)}function X(){var C,K;return K=M,C=x(),C.type!==s.Identifier&&E(C),y.markEnd(y.createIdentifier(C.value),K)}function re(C){var K=null,me,Be;return Be=M,me=X(),p&&ue(me.name)&&L({},f.StrictVarName),C==="const"?(H("="),K=w()):ie("=")&&(x(),K=w()),y.markEnd(y.createVariableDeclarator(me,K),Be)}function fe(C){var K=[];do{if(K.push(re(C)),!ie(","))break;x()}while(_"u"&&H(";")),typeof Be>"u"&&(ie(";")||(K=ee()),H(";"),ie(")")||(me=ee())),H(")"),tr=I.inIteration,I.inIteration=!0,Mt=oa(),I.inIteration=tr,typeof Be>"u"?y.createForStatement(C,K,me,Mt):y.createForInStatement(Be,st,Mt)}function lt(){var C=null,K;return ne("continue"),h.charCodeAt(_)===59?(x(),I.inIteration||G({},f.IllegalContinue),y.createContinueStatement(null)):Ye()?(I.inIteration||G({},f.IllegalContinue),y.createContinueStatement(null)):(M.type===s.Identifier&&(C=X(),K="$"+C.name,Object.prototype.hasOwnProperty.call(I.labelSet,K)||G({},f.UnknownLabel,C.name)),oe(),C===null&&!I.inIteration&&G({},f.IllegalContinue),y.createContinueStatement(C))}function vt(){var C=null,K;return ne("break"),h.charCodeAt(_)===59?(x(),I.inIteration||I.inSwitch||G({},f.IllegalBreak),y.createBreakStatement(null)):Ye()?(I.inIteration||I.inSwitch||G({},f.IllegalBreak),y.createBreakStatement(null)):(M.type===s.Identifier&&(C=X(),K="$"+C.name,Object.prototype.hasOwnProperty.call(I.labelSet,K)||G({},f.UnknownLabel,C.name)),oe(),C===null&&!(I.inIteration||I.inSwitch)&&G({},f.IllegalBreak),y.createBreakStatement(C))}function Rt(){var C=null;return ne("return"),I.inFunctionBody||L({},f.IllegalReturn),h.charCodeAt(_)===32&&O(h.charCodeAt(_+1))?(C=ee(),oe(),y.createReturnStatement(C)):Ye()?y.createReturnStatement(null):(ie(";")||!ie("}")&&M.type!==s.EOF&&(C=ee()),oe(),y.createReturnStatement(C))}function Ht(){var C,K;return p&&(U(),L({},f.StrictModeWith)),ne("with"),H("("),C=ee(),H(")"),K=oa(),y.createWithStatement(C,K)}function At(){var C,K=[],me,Be;for(Be=M,Ce("default")?(x(),C=null):(ne("case"),C=ee()),H(":");_"u"));)K.push(C);return H("}"),I.labelSet=Mt,I.inIteration=tr,I.inSwitch=Rr,I.inFunctionBody=ns,y.markEnd(y.createBlockStatement(K),Kn)}function br(C){var K,me=[],Be,st,Mt,tr,Rr;if(H("("),!ie(")"))for(Mt={};_"u"));)K.push(C);return K}function KU(){var C,K;return U(),Ne(),K=M,p=!1,C=zU(),y.markEnd(y.createProgram(C),K)}function YE(){var C,K,me,Be=[];for(C=0;C0?1:0,v=0,g=h.length,M=null,I={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},D={},K=K||{},K.tokens=!0,D.tokens=[],D.tokenize=!0,D.openParenToken=-1,D.openCurlyToken=-1,D.range=typeof K.range=="boolean"&&K.range,D.loc=typeof K.loc=="boolean"&&K.loc,typeof K.comment=="boolean"&&K.comment&&(D.comments=[]),typeof K.tolerant=="boolean"&&K.tolerant&&(D.errors=[]);try{if(Ne(),M.type===s.EOF)return D.tokens;for(Be=x();M.type!==s.EOF;)try{Be=x()}catch(Mt){if(Be=M,D.errors){D.errors.push(Mt);break}else throw Mt}YE(),st=D.tokens,typeof D.comments<"u"&&(st.comments=D.comments),typeof D.errors<"u"&&(st.errors=D.errors)}catch(Mt){throw Mt}finally{D={}}return st}function YU(C,K){var me,Be;Be=String,typeof C!="string"&&!(C instanceof String)&&(C=Be(C)),y=d,h=C,_=0,S=h.length>0?1:0,v=0,g=h.length,M=null,I={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},D={},typeof K<"u"&&(D.range=typeof K.range=="boolean"&&K.range,D.loc=typeof K.loc=="boolean"&&K.loc,D.attachComment=typeof K.attachComment=="boolean"&&K.attachComment,D.loc&&K.source!==null&&K.source!==void 0&&(D.source=Be(K.source)),typeof K.tokens=="boolean"&&K.tokens&&(D.tokens=[]),typeof K.comment=="boolean"&&K.comment&&(D.comments=[]),typeof K.tolerant=="boolean"&&K.tolerant&&(D.errors=[]),D.attachComment&&(D.range=!0,D.comments=[],D.bottomRightStack=[],D.trailingComments=[],D.leadingComments=[]));try{me=KU(),typeof D.comments<"u"&&(me.comments=D.comments),typeof D.tokens<"u"&&(YE(),me.tokens=D.tokens),typeof D.errors<"u"&&(me.errors=D.errors)}catch(st){throw st}finally{D={}}return me}i.version="1.2.2",i.tokenize=qU,i.parse=YU,i.Syntax=function(){var C,K={};typeof Object.create=="function"&&(K=Object.create(null));for(C in u)u.hasOwnProperty(C)&&(K[C]=u[C]);return typeof Object.freeze=="function"&&Object.freeze(K),K}()})},{}],1:[function(r,n,a){(function(i){var s=function(){var o={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(m,d,h,p,_,S,v){p.ast||(p.ast=l,l.initialize());var g=S.length-1;switch(_){case 1:return p.ast.set({expression:{type:"root",value:S[g]}}),p.ast.unshift(),p.ast.yield();case 2:return p.ast.set({expression:{type:"root",value:S[g-1]}}),p.ast.unshift(),p.ast.yield();case 3:return p.ast.unshift(),p.ast.yield();case 4:return p.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:S[g-1]}}),p.ast.unshift(),p.ast.yield();case 5:break;case 6:break;case 7:p.ast.set({operation:"member"}),p.ast.push();break;case 8:p.ast.set({operation:"subscript"}),p.ast.push();break;case 9:p.ast.set({scope:"child"});break;case 10:p.ast.set({scope:"descendant"});break;case 11:break;case 12:p.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:p.ast.set({expression:{type:"wildcard",value:S[g]}});break;case 15:p.ast.set({expression:{type:"identifier",value:S[g]}});break;case 16:p.ast.set({expression:{type:"script_expression",value:S[g]}});break;case 17:p.ast.set({expression:{type:"numeric_literal",value:parseInt(S[g])}});break;case 18:break;case 19:p.ast.set({scope:"child"});break;case 20:p.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:S[g].length>1?p.ast.set({expression:{type:"union",value:S[g]}}):this.$=S[g];break;case 25:this.$=[S[g]];break;case 26:this.$=S[g-2].concat(S[g]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(S[g])}},p.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:S[g]}},p.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:S[g]}},p.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:S[g]}},p.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:S[g]}},p.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:S[g]}},p.ast.set(this.$);break;case 33:this.$=S[g];break;case 34:this.$=S[g];break}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(m,d){if(d.recoverable)this.trace(m);else throw new Error(m)},parse:function(m){var d=this,h=[0],p=[null],_=[],S=this.table,v="",g=0,y=0,M=2,I=1,D=_.slice.call(arguments,1);this.lexer.setInput(m),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var T=this.lexer.yylloc;_.push(T);var b=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function N(){var J;return J=d.lexer.lex()||I,typeof J!="number"&&(J=d.symbols_[J]||J),J}for(var V,A,j,O,R={},te,W,ue,F;;){if(A=h[h.length-1],this.defaultActions[A]?j=this.defaultActions[A]:((V===null||typeof V>"u")&&(V=N()),j=S[A]&&S[A][V]),typeof j>"u"||!j.length||!j[0]){var le="";F=[];for(te in S[A])this.terminals_[te]&&te>M&&F.push("'"+this.terminals_[te]+"'");this.lexer.showPosition?le="Parse error on line "+(g+1)+`: +`+this.lexer.showPosition()+` +Expecting `+F.join(", ")+", got '"+(this.terminals_[V]||V)+"'":le="Parse error on line "+(g+1)+": Unexpected "+(V==I?"end of input":"'"+(this.terminals_[V]||V)+"'"),this.parseError(le,{text:this.lexer.match,token:this.terminals_[V]||V,line:this.lexer.yylineno,loc:T,expected:F})}if(j[0]instanceof Array&&j.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+V);switch(j[0]){case 1:h.push(V),p.push(this.lexer.yytext),_.push(this.lexer.yylloc),h.push(j[1]),V=null,y=this.lexer.yyleng,v=this.lexer.yytext,g=this.lexer.yylineno,T=this.lexer.yylloc;break;case 2:if(W=this.productions_[j[1]][1],R.$=p[p.length-W],R._$={first_line:_[_.length-(W||1)].first_line,last_line:_[_.length-1].last_line,first_column:_[_.length-(W||1)].first_column,last_column:_[_.length-1].last_column},b&&(R._$.range=[_[_.length-(W||1)].range[0],_[_.length-1].range[1]]),O=this.performAction.apply(R,[v,y,g,this.yy,j[1],p,_].concat(D)),typeof O<"u")return O;W&&(h=h.slice(0,-1*W*2),p=p.slice(0,-1*W),_=_.slice(0,-1*W)),h.push(this.productions_[j[1]][0]),p.push(R.$),_.push(R._$),ue=S[h[h.length-2]][h[h.length-1]],h.push(ue);break;case 3:return!0}}return!0}},l={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(f){for(var m in f)this._node[m]=f[m];return this._node},node:function(f){return arguments.length&&(this._node=f),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var f=this._nodes;return this.initialize(),f}},u=function(){var f={EOF:1,parseError:function(d,h){if(this.yy.parser)this.yy.parser.parseError(d,h);else throw new Error(d)},setInput:function(m){return this._input=m,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var d=m.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},unput:function(m){var d=m.length,h=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var p=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1&&(this.yylineno-=h.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===p.length?this.yylloc.first_column:0)+p[p.length-h.length].length-h[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). +`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(m){this.unput(this.match.slice(m))},pastInput:function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var m=this.pastInput(),d=new Array(m.length+1).join("-");return m+this.upcomingInput()+` +`+d+"^"},test_match:function(m,d){var h,p,_;if(this.options.backtrack_lexer&&(_={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(_.yylloc.range=this.yylloc.range.slice(0))),p=m[0].match(/(?:\r\n?|\n).*/g),p&&(this.yylineno+=p.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:p?p[p.length-1].length-p[p.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+m[0].length},this.yytext+=m[0],this.match+=m[0],this.matches=m,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(m[0].length),this.matched+=m[0],h=this.performAction.call(this,this.yy,this,d,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),h)return h;if(this._backtrack){for(var S in _)this[S]=_[S];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var m,d,h,p;this._more||(this.yytext="",this.match="");for(var _=this._currentRules(),S=0;S<_.length;S++)if(h=this._input.match(this.rules[_[S]]),h&&(!d||h[0].length>d[0].length)){if(d=h,p=S,this.options.backtrack_lexer){if(m=this.test_match(h,_[S]),m!==!1)return m;if(this._backtrack){d=!1;continue}else return!1}else if(!this.options.flex)break}return d?(m=this.test_match(d,_[p]),m!==!1?m:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. +`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var d=this.next();return d||this.lex()},begin:function(d){this.conditionStack.push(d)},popState:function(){var d=this.conditionStack.length-1;return d>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(d){return d=this.conditionStack.length-1-Math.abs(d||0),d>=0?this.conditionStack[d]:"INITIAL"},pushState:function(d){this.begin(d)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(d,h,p,_){switch(p){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return h.yytext=h.yytext.substr(1,h.yyleng-2),32;case 11:return h.yytext=h.yytext.substr(1,h.yyleng-2),33;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return f}();o.lexer=u;function c(){this.yy={}}return c.prototype=o,o.Parser=c,new c}();typeof r<"u"&&typeof a<"u"&&(a.parser=s,a.Parser=s.Parser,a.parse=function(){return s.parse.apply(s,arguments)},a.main=function(l){l[1]||(console.log("Usage: "+l[0]+" FILE"),i.exit(1));var u=r("fs").readFileSync(r("path").normalize(l[1]),"utf8");return a.parser.parse(u)},typeof n<"u"&&r.main===n&&a.main(i.argv.slice(1)))}).call(this,r("_process"))},{_process:14,fs:12,path:13}],2:[function(r,n,a){n.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(r,n,a){var i=r("./dict"),s=r("fs"),o={lex:{macros:{esc:"\\\\",int:i.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[i.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[i.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[i.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};s.readFileSync&&(o.moduleInclude=s.readFileSync(r.resolve("../include/module.js")),o.actionInclude=s.readFileSync(r.resolve("../include/action.js"))),n.exports=o},{"./dict":2,fs:12}],4:[function(r,n,a){var i=r("./aesprim"),s=r("./slice"),o=r("static-eval"),l=r("underscore").uniq,u=function(){return this.initialize.apply(this,arguments)};u.prototype.initialize=function(){this.traverse=d(!0),this.descend=d()},u.prototype.keys=Object.keys,u.prototype.resolve=function(g){var y=[g.operation,g.scope,g.expression.type].join("-"),M=this._fns[y];if(!M)throw new Error("couldn't resolve key: "+y);return M.bind(this)},u.prototype.register=function(g,y){if(!y instanceof Function)throw new Error("handler must be a function");this._fns[g]=y},u.prototype._fns={"member-child-identifier":function(g,y){var M=g.expression.value,I=y.value;if(I instanceof Object&&M in I)return[{value:I[M],path:y.path.concat(M)}]},"member-descendant-identifier":p(function(g,y,M){return g==M}),"subscript-child-numeric_literal":h(function(g,y,M){return g===M}),"member-child-numeric_literal":h(function(g,y,M){return String(g)===String(M)}),"subscript-descendant-numeric_literal":p(function(g,y,M){return g===M}),"member-child-wildcard":h(function(){return!0}),"member-descendant-wildcard":p(function(){return!0}),"subscript-descendant-wildcard":p(function(){return!0}),"subscript-child-wildcard":h(function(){return!0}),"subscript-child-slice":function(g,y){if(f(y.value)){var M=g.expression.value.split(":").map(v),I=y.value.map(function(D,T){return{value:D,path:y.path.concat(T)}});return s.apply(null,[I].concat(M))}},"subscript-child-union":function(g,y){var M=[];return g.expression.value.forEach(function(I){var D={operation:"subscript",scope:"child",expression:I.expression},T=this.resolve(D),b=T(D,y);b&&(M=M.concat(b))},this),S(M)},"subscript-descendant-union":function(g,y,M){var I=r(".."),D=this,T=[],b=I.nodes(y,"$..*").slice(1);return b.forEach(function(N){T.length>=M||g.expression.value.forEach(function(V){var A={operation:"subscript",scope:"child",expression:V.expression},j=D.resolve(A),O=j(A,N);T=T.concat(O)})}),S(T)},"subscript-child-filter_expression":function(g,y,M){var I=g.expression.value.slice(2,-1),D=i.parse(I).body[0].expression,T=function(b,N){return _(D,{"@":N})};return this.descend(y,null,T,M)},"subscript-descendant-filter_expression":function(g,y,M){var I=g.expression.value.slice(2,-1),D=i.parse(I).body[0].expression,T=function(b,N){return _(D,{"@":N})};return this.traverse(y,null,T,M)},"subscript-child-script_expression":function(g,y){var M=g.expression.value.slice(1,-1);return c(y,M,"$[{{value}}]")},"member-child-script_expression":function(g,y){var M=g.expression.value.slice(1,-1);return c(y,M,"$.{{value}}")},"member-descendant-script_expression":function(g,y){var M=g.expression.value.slice(1,-1);return c(y,M,"$..value")}},u.prototype._fns["subscript-child-string_literal"]=u.prototype._fns["member-child-identifier"],u.prototype._fns["member-descendant-numeric_literal"]=u.prototype._fns["subscript-descendant-string_literal"]=u.prototype._fns["member-descendant-identifier"];function c(g,y,M){var I=r("./index"),D=i.parse(y).body[0].expression,T=_(D,{"@":g.value}),b=M.replace(/\{\{\s*value\s*\}\}/g,T),N=I.nodes(g.value,b);return N.forEach(function(V){V.path=g.path.concat(V.path.slice(1))}),N}function f(g){return Array.isArray(g)}function m(g){return g&&!(g instanceof Array)&&g instanceof Object}function d(g){return function(y,M,I,D){var T=y.value,b=y.path,N=[],V=function(A,j){f(A)?(A.forEach(function(O,R){N.length>=D||I(R,O,M)&&N.push({path:j.concat(R),value:O})}),A.forEach(function(O,R){N.length>=D||g&&V(O,j.concat(R))})):m(A)&&(this.keys(A).forEach(function(O){N.length>=D||I(O,A[O],M)&&N.push({path:j.concat(O),value:A[O]})}),this.keys(A).forEach(function(O){N.length>=D||g&&V(A[O],j.concat(O))}))}.bind(this);return V(T,b),N}}function h(g){return function(y,M,I){return this.descend(M,y.expression.value,g,I)}}function p(g){return function(y,M,I){return this.traverse(M,y.expression.value,g,I)}}function _(){try{return o.apply(this,arguments)}catch{}}function S(g){return g=g.filter(function(y){return y}),l(g,function(y){return y.path.map(function(M){return String(M).replace("-","--")}).join("-")})}function v(g){var y=String(g);return y.match(/^-?[0-9]+$/)?parseInt(y):null}n.exports=u},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(r,n,a){var i=r("assert"),s=r("./dict"),o=r("./parser"),l=r("./handlers"),u=function(){this.initialize.apply(this,arguments)};u.prototype.initialize=function(){this.parser=new o,this.handlers=new l},u.prototype.parse=function(m){return i.ok(c(m),"we need a path"),this.parser.parse(m)},u.prototype.parent=function(m,d){i.ok(m instanceof Object,"obj needs to be an object"),i.ok(d,"we need a path");var h=this.nodes(m,d)[0];return h.path.pop(),this.value(m,h.path)},u.prototype.apply=function(m,d,h){i.ok(m instanceof Object,"obj needs to be an object"),i.ok(d,"we need a path"),i.equal(typeof h,"function","fn needs to be function");var p=this.nodes(m,d).sort(function(_,S){return S.path.length-_.path.length});return p.forEach(function(_){var S=_.path.pop(),v=this.value(m,this.stringify(_.path)),g=_.value=h.call(m,v[S]);v[S]=g},this),p},u.prototype.value=function(m,d,h){if(i.ok(m instanceof Object,"obj needs to be an object"),i.ok(d,"we need a path"),arguments.length>=3){var p=this.nodes(m,d).shift();if(!p)return this._vivify(m,d,h);var _=p.path.slice(-1).shift(),S=this.parent(m,this.stringify(p.path));S[_]=h}return this.query(m,this.stringify(d),1).shift()},u.prototype._vivify=function(m,d,h){var p=this;i.ok(m instanceof Object,"obj needs to be an object"),i.ok(d,"we need a path");var _=this.parser.parse(d).map(function(v){return v.expression.value}),S=function(v,g){var y=v.pop(),M=p.value(m,v);M||(S(v.concat(),typeof y=="string"?{}:[]),M=p.value(m,v)),M[y]=g};return S(_,h),this.query(m,d)[0]},u.prototype.query=function(m,d,h){i.ok(m instanceof Object,"obj needs to be an object"),i.ok(c(d),"we need a path");var p=this.nodes(m,d,h).map(function(_){return _.value});return p},u.prototype.paths=function(m,d,h){i.ok(m instanceof Object,"obj needs to be an object"),i.ok(d,"we need a path");var p=this.nodes(m,d,h).map(function(_){return _.path});return p},u.prototype.nodes=function(m,d,h){if(i.ok(m instanceof Object,"obj needs to be an object"),i.ok(d,"we need a path"),h===0)return[];var p=this.parser.parse(d),_=this.handlers,S=[{path:["$"],value:m}],v=[];return p.length&&p[0].expression.type=="root"&&p.shift(),p.length?(p.forEach(function(g,y){if(!(v.length>=h)){var M=_.resolve(g),I=[];S.forEach(function(D){if(!(v.length>=h)){var T=M(g,D,h);y==p.length-1?v=v.concat(T||[]):I=I.concat(T||[])}}),S=I}}),h?v.slice(0,h):v):S},u.prototype.stringify=function(m){i.ok(m,"we need a path");var d="$",h={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return m=this._normalize(m),m.forEach(function(p){if(p.expression.type!="root"){var _=[p.scope,p.operation].join("-"),S=h[_],v;if(p.expression.type=="string_literal"?v=JSON.stringify(p.expression.value):v=p.expression.value,!S)throw new Error("couldn't find template "+_);d+=S.replace(/{{value}}/,v)}}),d},u.prototype._normalize=function(m){if(i.ok(m,"we need a path"),typeof m=="string")return this.parser.parse(m);if(Array.isArray(m)&&typeof m[0]=="string"){var d=[{expression:{type:"root",value:"$"}}];return m.forEach(function(h,p){if(!(h=="$"&&p===0))if(typeof h=="string"&&h.match("^"+s.identifier+"$"))d.push({operation:"member",scope:"child",expression:{value:h,type:"identifier"}});else{var _=typeof h=="number"?"numeric_literal":"string_literal";d.push({operation:"subscript",scope:"child",expression:{value:h,type:_}})}}),d}else if(Array.isArray(m)&&typeof m[0]=="object")return m;throw new Error("couldn't understand path "+m)};function c(m){return Object.prototype.toString.call(m)=="[object String]"}u.Handlers=l,u.Parser=o;var f=new u;f.JSONPath=u,n.exports=f},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(r,n,a){var i=r("./grammar"),s=r("../generated/parser"),o=function(){var l=new s.Parser,u=l.parseError;return l.yy.parseError=function(){l.yy.ast&&l.yy.ast.initialize(),u.apply(l,arguments)},l};o.grammar=i,n.exports=o},{"../generated/parser":1,"./grammar":3}],7:[function(r,n,a){n.exports=function(s,o,l,u){if(typeof o=="string")throw new Error("start cannot be a string");if(typeof l=="string")throw new Error("end cannot be a string");if(typeof u=="string")throw new Error("step cannot be a string");var c=s.length;if(u===0)throw new Error("step cannot be zero");if(u=u?i(u):1,o=o<0?c+o:o,l=l<0?c+l:l,o=i(o===0?0:o||(u>0?0:c-1)),l=i(l===0?0:l||(u>0?c:-1)),o=u>0?Math.max(0,o):Math.min(c,o),l=u>0?Math.min(l,c):Math.max(-1,l),u>0&&l<=o)return[];if(u<0&&o<=l)return[];for(var f=[],m=o;m!=l&&!(u<0&&m<=l||u>0&&m>=l);m+=u)f.push(s[m]);return f};function i(s){return String(s).match(/^[0-9]+$/)?parseInt(s):Number.isFinite(s)?parseInt(s,10):0}},{}],8:[function(r,n,a){var i=r("util/"),s=Array.prototype.slice,o=Object.prototype.hasOwnProperty,l=n.exports=d;l.AssertionError=function(M){this.name="AssertionError",this.actual=M.actual,this.expected=M.expected,this.operator=M.operator,M.message?(this.message=M.message,this.generatedMessage=!1):(this.message=f(this),this.generatedMessage=!0);var I=M.stackStartFunction||m;if(Error.captureStackTrace)Error.captureStackTrace(this,I);else{var D=new Error;if(D.stack){var T=D.stack,b=I.name,N=T.indexOf(` +`+b);if(N>=0){var V=T.indexOf(` +`,N+1);T=T.substring(V+1)}this.stack=T}}},i.inherits(l.AssertionError,Error);function u(y,M){return i.isUndefined(M)?""+M:i.isNumber(M)&&!isFinite(M)||i.isFunction(M)||i.isRegExp(M)?M.toString():M}function c(y,M){return i.isString(y)?y.length=0;V--)if(T[V]!=b[V])return!1;for(V=T.length-1;V>=0;V--)if(N=T[V],!h(y[N],M[N]))return!1;return!0}l.notDeepEqual=function(M,I,D){h(M,I)&&m(M,I,D,"notDeepEqual",l.notDeepEqual)},l.strictEqual=function(M,I,D){M!==I&&m(M,I,D,"===",l.strictEqual)},l.notStrictEqual=function(M,I,D){M===I&&m(M,I,D,"!==",l.notStrictEqual)};function S(y,M){return!y||!M?!1:Object.prototype.toString.call(M)=="[object RegExp]"?M.test(y):y instanceof M?!0:M.call({},y)===!0}function v(y,M,I,D){var T;i.isString(I)&&(D=I,I=null);try{M()}catch(b){T=b}if(D=(I&&I.name?" ("+I.name+").":".")+(D?" "+D:"."),y&&!T&&m(T,I,"Missing expected exception"+D),!y&&S(T,I)&&m(T,I,"Got unwanted exception"+D),y&&T&&I&&!S(T,I)||!y&&T)throw T}l.throws=function(y,M,I){v.apply(this,[!0].concat(s.call(arguments)))},l.doesNotThrow=function(y,M){v.apply(this,[!1].concat(s.call(arguments)))},l.ifError=function(y){if(y)throw y};var g=Object.keys||function(y){var M=[];for(var I in y)o.call(y,I)&&M.push(I);return M}},{"util/":11}],9:[function(r,n,a){typeof Object.create=="function"?n.exports=function(s,o){s.super_=o,s.prototype=Object.create(o.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}})}:n.exports=function(s,o){s.super_=o;var l=function(){};l.prototype=o.prototype,s.prototype=new l,s.prototype.constructor=s}},{}],10:[function(r,n,a){n.exports=function(s){return s&&typeof s=="object"&&typeof s.copy=="function"&&typeof s.fill=="function"&&typeof s.readUInt8=="function"}},{}],11:[function(r,n,a){(function(i,s){var o=/%[sdj%]/g;a.format=function(U){if(!b(U)){for(var z=[],q=0;q=Fe)return Re;switch(Re){case"%s":return String(Ie[q++]);case"%d":return Number(Ie[q++]);case"%j":try{return JSON.stringify(Ie[q++])}catch{return"[Circular]"}default:return Re}}),Me=Ie[q];q=3&&(q.depth=arguments[2]),arguments.length>=4&&(q.colors=arguments[3]),M(z)?q.showHidden=z:z&&a._extend(q,z),V(q.showHidden)&&(q.showHidden=!1),V(q.depth)&&(q.depth=2),V(q.colors)&&(q.colors=!1),V(q.customInspect)&&(q.customInspect=!0),q.colors&&(q.stylize=f),h(q,U,q.depth)}a.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function f(U,z){var q=c.styles[z];return q?"\x1B["+c.colors[q][0]+"m"+U+"\x1B["+c.colors[q][1]+"m":U}function m(U,z){return U}function d(U){var z={};return U.forEach(function(q,Ie){z[q]=!0}),z}function h(U,z,q){if(U.customInspect&&z&&te(z.inspect)&&z.inspect!==a.inspect&&!(z.constructor&&z.constructor.prototype===z)){var Ie=z.inspect(q,U);return b(Ie)||(Ie=h(U,Ie,q)),Ie}var Fe=p(U,z);if(Fe)return Fe;var Le=Object.keys(z),Me=d(Le);if(U.showHidden&&(Le=Object.getOwnPropertyNames(z)),R(z)&&(Le.indexOf("message")>=0||Le.indexOf("description")>=0))return _(z);if(Le.length===0){if(te(z)){var Re=z.name?": "+z.name:"";return U.stylize("[Function"+Re+"]","special")}if(A(z))return U.stylize(RegExp.prototype.toString.call(z),"regexp");if(O(z))return U.stylize(Date.prototype.toString.call(z),"date");if(R(z))return _(z)}var be="",ae=!1,dt=["{","}"];if(y(z)&&(ae=!0,dt=["[","]"]),te(z)){var P=z.name?": "+z.name:"";be=" [Function"+P+"]"}if(A(z)&&(be=" "+RegExp.prototype.toString.call(z)),O(z)&&(be=" "+Date.prototype.toUTCString.call(z)),R(z)&&(be=" "+_(z)),Le.length===0&&(!ae||z.length==0))return dt[0]+be+dt[1];if(q<0)return A(z)?U.stylize(RegExp.prototype.toString.call(z),"regexp"):U.stylize("[Object]","special");U.seen.push(z);var Ve;return ae?Ve=S(U,z,q,Me,Le):Ve=Le.map(function(we){return v(U,z,q,Me,we,ae)}),U.seen.pop(),g(Ve,be,dt)}function p(U,z){if(V(z))return U.stylize("undefined","undefined");if(b(z)){var q="'"+JSON.stringify(z).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return U.stylize(q,"string")}if(T(z))return U.stylize(""+z,"number");if(M(z))return U.stylize(""+z,"boolean");if(I(z))return U.stylize("null","null")}function _(U){return"["+Error.prototype.toString.call(U)+"]"}function S(U,z,q,Ie,Fe){for(var Le=[],Me=0,Re=z.length;Me-1&&(Le?Re=Re.split(` +`).map(function(ae){return" "+ae}).join(` +`).substr(2):Re=` +`+Re.split(` +`).map(function(ae){return" "+ae}).join(` +`))):Re=U.stylize("[Circular]","special")),V(Me)){if(Le&&Fe.match(/^\d+$/))return Re;Me=JSON.stringify(""+Fe),Me.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Me=Me.substr(1,Me.length-2),Me=U.stylize(Me,"name")):(Me=Me.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Me=U.stylize(Me,"string"))}return Me+": "+Re}function g(U,z,q){var Ie=U.reduce(function(Fe,Le){return Le.indexOf(` +`)>=0,Fe+Le.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ie>60?q[0]+(z===""?"":z+` + `)+" "+U.join(`, + `)+" "+q[1]:q[0]+z+" "+U.join(", ")+" "+q[1]}function y(U){return Array.isArray(U)}a.isArray=y;function M(U){return typeof U=="boolean"}a.isBoolean=M;function I(U){return U===null}a.isNull=I;function D(U){return U==null}a.isNullOrUndefined=D;function T(U){return typeof U=="number"}a.isNumber=T;function b(U){return typeof U=="string"}a.isString=b;function N(U){return typeof U=="symbol"}a.isSymbol=N;function V(U){return U===void 0}a.isUndefined=V;function A(U){return j(U)&&ue(U)==="[object RegExp]"}a.isRegExp=A;function j(U){return typeof U=="object"&&U!==null}a.isObject=j;function O(U){return j(U)&&ue(U)==="[object Date]"}a.isDate=O;function R(U){return j(U)&&(ue(U)==="[object Error]"||U instanceof Error)}a.isError=R;function te(U){return typeof U=="function"}a.isFunction=te;function W(U){return U===null||typeof U=="boolean"||typeof U=="number"||typeof U=="string"||typeof U=="symbol"||typeof U>"u"}a.isPrimitive=W,a.isBuffer=r("./support/isBuffer");function ue(U){return Object.prototype.toString.call(U)}function F(U){return U<10?"0"+U.toString(10):U.toString(10)}var le=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function J(){var U=new Date,z=[F(U.getHours()),F(U.getMinutes()),F(U.getSeconds())].join(":");return[U.getDate(),le[U.getMonth()],z].join(" ")}a.log=function(){console.log("%s - %s",J(),a.format.apply(a,arguments))},a.inherits=r("inherits"),a._extend=function(U,z){if(!z||!j(z))return U;for(var q=Object.keys(z),Ie=q.length;Ie--;)U[q[Ie]]=z[q[Ie]];return U};function k(U,z){return Object.prototype.hasOwnProperty.call(U,z)}}).call(this,r("_process"),typeof Zs<"u"?Zs:typeof self<"u"?self:typeof window<"u"?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(r,n,a){},{}],13:[function(r,n,a){(function(i){function s(c,f){for(var m=0,d=c.length-1;d>=0;d--){var h=c[d];h==="."?c.splice(d,1):h===".."?(c.splice(d,1),m++):m&&(c.splice(d,1),m--)}if(f)for(;m--;m)c.unshift("..");return c}a.resolve=function(){for(var c="",f=!1,m=arguments.length-1;m>=-1&&!f;m--){var d=m>=0?arguments[m]:i.cwd();if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;c=d+"/"+c,f=d.charAt(0)==="/"}return c=s(l(c.split("/"),function(h){return!!h}),!f).join("/"),(f?"/":"")+c||"."},a.normalize=function(c){var f=a.isAbsolute(c),m=u(c,-1)==="/";return c=s(l(c.split("/"),function(d){return!!d}),!f).join("/"),!c&&!f&&(c="."),c&&m&&(c+="/"),(f?"/":"")+c},a.isAbsolute=function(c){return c.charAt(0)==="/"},a.join=function(){var c=Array.prototype.slice.call(arguments,0);return a.normalize(l(c,function(f,m){if(typeof f!="string")throw new TypeError("Arguments to path.join must be strings");return f}).join("/"))},a.relative=function(c,f){c=a.resolve(c).substr(1),f=a.resolve(f).substr(1);function m(g){for(var y=0;y=0&&g[M]==="";M--);return y>M?[]:g.slice(y,M-y+1)}for(var d=m(c.split("/")),h=m(f.split("/")),p=Math.min(d.length,h.length),_=p,S=0;S=1;--p)if(f=c.charCodeAt(p),f===47){if(!h){d=p;break}}else h=!1;return d===-1?m?"/":".":m&&d===1?"/":c.slice(0,d)};function o(c){typeof c!="string"&&(c=c+"");var f=0,m=-1,d=!0,h;for(h=c.length-1;h>=0;--h)if(c.charCodeAt(h)===47){if(!d){f=h+1;break}}else m===-1&&(d=!1,m=h+1);return m===-1?"":c.slice(f,m)}a.basename=function(c,f){var m=o(c);return f&&m.substr(-1*f.length)===f&&(m=m.substr(0,m.length-f.length)),m},a.extname=function(c){typeof c!="string"&&(c=c+"");for(var f=-1,m=0,d=-1,h=!0,p=0,_=c.length-1;_>=0;--_){var S=c.charCodeAt(_);if(S===47){if(!h){m=_+1;break}continue}d===-1&&(h=!1,d=_+1),S===46?f===-1?f=_:p!==1&&(p=1):f!==-1&&(p=-1)}return f===-1||d===-1||p===0||p===1&&f===d-1&&f===m+1?"":c.slice(f,d)};function l(c,f){if(c.filter)return c.filter(f);for(var m=[],d=0;d1)for(var I=1;I"?_>M:I===">="?_>=M:I==="|"?_|M:I==="&"?_&M:I==="^"?_^M:I==="&&"?_&&M:I==="||"?_||M:l}else{if(f.type==="Identifier")return{}.hasOwnProperty.call(o,f.name)?o[f.name]:l;if(f.type==="ThisExpression")return{}.hasOwnProperty.call(o,"this")?o.this:l;if(f.type==="CallExpression"){var D=c(f.callee);if(D===l||typeof D!="function")return l;var T=f.callee.object?c(f.callee.object):l;T===l&&(T=null);for(var b=[],p=0,_=f.arguments.length;p<_;p++){var S=c(f.arguments[p]);if(S===l)return l;b.push(S)}return D.apply(T,b)}else if(f.type==="MemberExpression"){var v=c(f.object);if(v===l||typeof v=="function")return l;if(f.property.type==="Identifier")return v[f.property.name];var g=c(f.property);return g===l?l:v[g]}else if(f.type==="ConditionalExpression"){var d=c(f.test);return d===l?l:c(d?f.consequent:f.alternate)}else if(f.type==="ExpressionStatement"){var d=c(f.expression);return d===l?l:d}else{if(f.type==="ReturnStatement")return c(f.argument);if(f.type==="FunctionExpression"){var N=f.body.body,V={};Object.keys(o).forEach(function(le){V[le]=o[le]});for(var p=0;p[e,{...t,CsvHeader:e}]));const sie={name:"TomKat Ranch",type:"Soil",mappings:nie,analytes:xM,examplesKey:"tomkat_historic"},aie={SAMPLEID:"FMISSampleID",LABNUM:"SampleNumber",REPORTNUM:["LabEventID","LabReportID"],DATESAMPL:void 0,DATESUB:["ReportDate","DateReceived"],CLIENT:"ClientAccountNumber",GROWER:"Grower",PERSON:"ClientName",TIMESUB:void 0,CROP:"Crop",PLANTPART:"PlantPart",TYPE:void 0,TEST_A:void 0,TEST_B:void 0,TEST_C:void 0},iie={N:{ValueUnit:"%",Element:"N"},P:{ValueUnit:"%",Element:"Phosphorus"},K:{ValueUnit:"%",Element:"K"},MG:{ValueUnit:"%",Element:"Mg"},CA:{ValueUnit:"%",Element:"Ca"},NA:{ValueUnit:"%",Element:"Na"},NO3_N:{ValueUnit:"ppm",Element:"NO3-N"},S:{ValueUnit:"%",Element:"S"},ZN:{ValueUnit:"ppm",Element:"Zn"},MN:{ValueUnit:"ppm",Element:"Mn"},FE:{ValueUnit:"ppm",Element:"Fe"},CU:{ValueUnit:"ppm",Element:"Cu"},B:{ValueUnit:"ppm",Element:"B"},CL:{ValueUnit:"%",Element:"Cl"},MO:{ValueUnit:"ppm",Element:"Mo"},AL:{ValueUnit:"ppm",Element:"Al"},PO4_P:{ValueUnit:"meq/100g",Element:"PO4_P"},K_EXT:{ValueUnit:"meq/100g",Element:"Potassium Extracted"},SO4_S:{ValueUnit:"ppm",Element:"SO4-S"}},oie={name:"A&L Western Agricultural Labs - Modesto, CA",type:"Plant",mappings:aie,analytes:iie,examplesKey:"a_l_west"},lie={IncKey:"FMISSampleID",RequestIncKey:void 0,Client:"ClientCompany",Grower:"Grower",Sampler:void 0,LabNo:"SampleNumber",RptNo:"LabReportID",Date:"DateReceived",SampleDate:"ReportDate",Field:"Field",SampleID:void 0,Crop:"Crop",StartingDepth:"StartingDepth",EndingDepth:"EndingDepth",Test:void 0,ProjectId:void 0,ProjectNumber:void 0,ProjectName:void 0,MODUSEvent:"ReportID"},uie={name:"Kuo Testing Laboratories",type:"Soil",mappings:lie,examplesKey:"kuo"},cie={"Sample Location":"Field","Sample ID1":"FMISSampleID","Sample ID2":void 0,"Lab Number":"SampleNumber","Client Number":"ClientAccountNumber","Client Name":"ClientAccountName","Sample Date":["ReportDate","DateReceived"],"Consultant Name":"Grower"},fie={name:"Brookside Laboratories, Inc. - New Bremen, OH",type:"Soil",mappings:cie,examplesKey:"brookside"},mie={"Sample ID":"SampleNumber"},pie={name:"Cquester Analytics",type:"Soil",mappings:mie,examplesKey:"cquester"},die={Lab:"SampleNumber","Point ID":"FMISSampleID",Date:["ReportDate","DateReceived"]},hie={"Al\naluminum":{ValueUnit:"ppm",Element:"Al",ModusTestID:""},"As\narsenic":{ValueUnit:"ppm",Element:"As",ModusTestID:""},"B\nboron":{ValueUnit:"ppm",Element:"B",ModusTestID:""},"Ca\ncalcium":{ValueUnit:"ppm",Element:"Ca",ModusTestID:""},"Cd\ncadmium":{ValueUnit:"ppm",Element:"Cd",ModusTestID:""},"Cr\nchromium":{ValueUnit:"ppm",Element:"Cr",ModusTestID:""},"Cu\ncopper":{ValueUnit:"ppm",Element:"Cu",ModusTestID:""},"Fe\niron":{ValueUnit:"ppm",Element:"Fe",ModusTestID:""},"K\npotassium":{ValueUnit:"ppm",Element:"K",ModusTestID:""},"Mg\nmagnesium":{ValueUnit:"ppm",Element:"Mg",ModusTestID:""},"Mn\nmanganese":{ValueUnit:"ppm",Element:"Mn",ModusTestID:""},"Mo\nmolybdenum":{ValueUnit:"ppm",Element:"Mo",ModusTestID:""},"Na\nsodium":{ValueUnit:"ppm",Element:"Na",ModusTestID:""},"Ni\nnickel":{ValueUnit:"ppm",Element:"Ni",ModusTestID:""},"P\nphosphorus":{ValueUnit:"ppm",Element:"P",ModusTestID:""},"Pb\nlead":{ValueUnit:"ppm",Element:"Pb",ModusTestID:""},"S\nsulfur":{ValueUnit:"ppm",Element:"S",ModusTestID:""},"Zn\nzinc":{ValueUnit:"ppm",Element:"Zn",ModusTestID:""}},_ie={name:"University of Georgia Extension Ag & Environmental Services Labs - Athens, GA",mappings:die,analytes:hie,examplesKey:"UGA",type:"Soil"},gie={"Kind Of Sample":void 0,"Lab No":"SampleNumber","Cust No":"ClientAccountNumber",Name:"ClientName",Company:"ClientCompany","Address 1":"ClientAddress","Address 2":void 0,City:"ClientCity",State:"ClientState",Zip:"ClientZip",Grower:"GrowerName","Field ID":"FieldName","Sample ID":"FMISSampleID","Date Recd":"DateReceived","Date Rept":"DateProcessed","B Depth":"StartingDepth","E Depth":"EndingDepth","Past Crop":void 0},vie={},Sie={name:"Ward Laboratories, Inc. - Kearney, NE",mappings:gie,analytes:vie,examplesKey:"ward",type:"Soil"};Vt("@modusjs/convert#labConfigs:warn");let uP=[Zae,Jae,eie,oie,fie,sie,rie,uie,pie,_ie,Sie];const cP=Hee,Hm=Object.fromEntries(Object.entries(cP).map(([e,t])=>[e,Object.fromEntries(Object.entries(t).map(([r,n])=>{const a=uP.find(i=>i.name===e&&i.type===r);return[r,fP(a,n)]}))]));uP.filter(e=>!cP[e.name]?.[e.type]).forEach(e=>{Hm[e.name]=Hm[e.name]??{},Hm[e.name][e.type]=fP(e)});function fP(e,t){if(!e&&!t)throw new Error("At least one of local or industry lab config must be supplied");let r={...t,...e,mappings:{...t?.mappings,...e?.mappings},analytes:{...t?.analytes,...e?.analytes}};return{...r,units:Object.fromEntries(Object.entries(r.analytes).map(([n,a])=>[n,a?.ValueUnit])),headers:[...Object.keys(r.analytes),...Object.keys(r.mappings||{})]}}const jO=new Map(Object.values(Hm).map(e=>Object.values(e).map((t,r)=>[`${t.name}-${t.type??r}`,t])).flat(1)),yie={ReportDate:{type:"event",path:"$.EventMetaData.EventDate",fullpath:"$.Events.*.EventMetaData.EventDate",parse:"date",description:"Top-level date assigned to this MODUS event",slim:"/date"},ReportID:{type:"event",path:"$.EventMetaData.EventCode",fullpath:"$.Events.*.EventMetaData.EventCode",description:"Top-level code assigned to this MODUS event",slim:"/id"},ReportType:{type:"event",path:"$.EventMetaData.EventType",fullpath:"$.Events.*.EventMetaData.EventCode",description:"Top-level code assigned to this MODUS event",slim:"/id"},Crop:{path:"$.EventMetaData.EventType.Plant.Crop",fullpath:"$.Events.*.EventMetaData.EventType.Plant.Crop",description:"Crop name of the plant tissue sample submitted",slim:"/crop"},PlantPart:{type:"event",path:"$.EventType.Plant.PlantPart",fullpath:"$.Events.*.EventMetaData.EventType.Plant.PlantPart",description:"Plant part name of the plant tissue sample submitted",slim:"/plantPart"},Grower:{type:"event",path:"$.FMISMetaData.FMISProfile.Grower",fullpath:"$.Events.*.FMISMetaData.FMISProfile.Grower",description:"Grower name assigned by the FMIS that submitted the samples",slim:"/source/grower/id"},GrowerName:{type:"event",path:"$.FMISMetaData.FMISProfile.Grower",fullpath:"$.Events.*.FMISMetaData.FMISProfile.Grower",description:"Grower name assigned by the FMIS that submitted the samples",slim:"/source/grower/name"},FarmName:{type:"event",path:"$.FMISMetaData.FMISProfile.Farm",fullpath:"$.Events.*.FMISMetaData.FMISProfile.Farm",description:"Farm name assigned by the FMIS that submitted the samples",slim:"/source/farm/name"},Farm:{type:"event",path:"$.FMISMetaData.FMISProfile.Farm",fullpath:"$.Events.*.FMISMetaData.FMISProfile.Farm",description:"Farm name assigned by the FMIS that submitted the samples",slim:"/source/farm/id"},Field:{type:"event",path:"$.FMISMetaData.FMISProfile.Field",fullpath:"$.Events.*.FMISMetaData.FMISProfile.Field",description:"Field name assigned by the FMIS that submitted the samples",slim:"/source/field/id"},FieldName:{type:"event",path:"$.FMISMetaData.FMISProfile.Field",fullpath:"$.Events.*.FMISMetaData.FMISProfile.Field",description:"Field name assigned by the FMIS that submitted the samples",slim:"/source/field/name"},SubField:{type:"event",path:'$.FMISMetaData.FMISProfile["Sub-Field"]',fullpath:'$.Events.*.FMISMetaData.FMISProfile["Sub-Field"]',description:"Subfield name assigned by the FMIS that submitted the samples",slim:"/source/subfield/id"},SubFieldName:{type:"event",path:'$.FMISMetaData.FMISProfile["Sub-Field"]',fullpath:'$.Events.*.FMISMetaData.FMISProfile["Sub-Field"]',description:"Subfield name assigned by the FMIS that submitted the samples",slim:"/source/subfield/name"},LabEventID:{type:"event",path:"$.LabMetaData.LabEventID",fullpath:"$.Events.*.LabMetaData.LabEventID",parse:"string",description:"The ID of the sample processing event as assigned by the lab",slim:"/lab/report/id"},LabID:{type:"event",path:"$.LabMetaData.LabID",fullpath:"$.Events.*.LabMetaData.LabID",parse:"string",description:"The ID of the lab that performed the analysis.",slim:"/lab/id"},DateProcessed:{type:"event",path:"$.LabMetaData.ProcessedDate",fullpath:"$.Events.*.LabMetaData.ProcessedDate",parse:"date",description:"Date samples processed by the lab",slim:"/lab/dateProcessed"},DateReceived:{type:"event",path:"$.LabMetaData.ReceivedDate",fullpath:"$.Events.*.LabMetaData.ReceivedDate",parse:"date",description:"Date samples received by the lab",slim:"/lab/dateReceived"},LabContactName:{type:"event",path:"$.LabMetaData.Contact.Name",fullpath:"$.Events.*.LabMetaData.Contact.Name",description:"The name of the lab contact that submitted the samples.",slim:"/lab/contact/name"},LabContactAddress:{type:"event",path:"$.LabMetaData.Contact.Address",fullpath:"$.Events.*.LabMetaData.Contact.Address",description:"The street address of the lab client that submitted the samples.",slim:"/lab/contact/address"},LabContactPhone:{type:"event",path:"$.LabMetaData.Contact.Phone",fullpath:"$.Events.*.LabMetaData.Contact.Phone]",description:"The phone number of the lab contact.",slim:"/lab/contact/phone"},ClientAddress:{type:"event",path:"$.LabMetaData.ClientAccount['Address 1']",fullpath:"$.Events.*.LabMetaData.ClientAccount['Address 1']",description:"The street address of the lab client that submitted the samples.",slim:"/lab/clientAccount/address"},ClientAddress2:{type:"event",path:"$.LabMetaData.ClientAccount['Address 2']",fullpath:"$.Events.*.LabMetaData.ClientAccount['Address 2']",description:"The street address (line 2) of the lab client that submitted the samples."},ClientName:{type:"event",path:"$.LabMetaData.ClientAccount.Name",fullpath:"$.Events.*.LabMetaData.ClientAccount.Name",parse:"string",description:"The name of the lab client that submitted the samples.",slim:"/lab/clientAccount/name"},ClientAccountNumber:{type:"event",path:"$.LabMetaData.ClientAccount.AccountNumber",fullpath:"$.Events.*.LabMetaData.ClientAccount.AccountNumber",parse:"string",description:"The account number of the lab client that submitted the samples.",slim:"/lab/clientAccount/accountNumber"},ClientZip:{type:"event",path:"$.LabMetaData.ClientAccount.Zip",fullpath:"$.Events.*.LabMetaData.ClientAccount.Zip",description:"The zip code of the lab client that submitted the samples.",slim:"/lab/clientAccount/zip"},ClientState:{type:"event",path:"$.LabMetaData.ClientAccount.State",fullpath:"$.Events.*.LabMetaData.ClientAccount.State",description:"The state of the lab client that submitted the samples.",slim:"/lab/clientAccount/state"},ClientCity:{type:"event",path:"$.LabMetaData.ClientAccount.City",fullpath:"$.Events.*.LabMetaData.ClientAccount.City",description:"The city of the lab client that submitted the samples.",slim:"/lab/clientAccount/city"},ClientCompany:{type:"event",path:"$.LabMetaData.ClientAccount.Company",fullpath:"$.Events.*.LabMetaData.ClientAccount.Company",description:"The company name of the lab client that submitted the samples.",slim:"/lab/clientAccount/company"},ClientPhone:{type:"event",path:"$.LabMetaData.ClientAccount.Phone",fullpath:"$.Events.*.LabMetaData.ClientAccount.Phone]",description:"The phone number of the lab contact.",slim:"/lab/clientAccount/phone"},LabReportID:{type:"report",path:"$.LabMetaData.Reports.*.LabReportID",fullpath:"$.Events.*.LabMetaData.Reports.*.LabReportID",parse:"string",description:"ID of the Lab Report",slim:"/lab/report/id"},SampleNumber:{type:"sample",path:"$.SampleMetaData.SampleNumber",fullpath:"$.Events.*.EventSamples.Soil.SoilSamples.*.SampleMetaData.SampleNumber",parse:"string",description:"Sample number as numbered by the lab",slim:"/lab/sampleid"},SampleContainerID:{type:"sample",path:"$.SampleMetaData.SampleContainerID",fullpath:"$.Events.*.EventSamples.Soil.SoilSamples.*.SampleMetaData.SampleContainerID",parse:"string",description:"Sample container ID as submitted by the client",slim:"/source/containerid"},FMISSampleID:{type:"sample",path:"$.SampleMetaData.FMISSampleID",fullpath:"$.Events.*.EventSamples.Soil.SoilSamples*.FMISSampleID",description:"Sample ID assigned by the FMIS that submitted the samples",slim:"/source/sampleid"},StartingDepth:{type:"depth",path:"$.StartingDepth",fullpath:"$.Events.*.EventSamples.Soil.DepthRefs.*.StartingDepth",parse:"number",description:"Starting depth (top) of the soil sample",slim:"/depth/top"},EndingDepth:{type:"depth",path:"$.EndingDepth",fullpath:"$.Events.*.EventSamples.Soil.DepthRefs.*.EndingDepth",description:"Ending depth (bottom) of the soil sample",slim:"/depth/bottom"},ColumnDepth:{type:"depth",path:"$.EndingDepth",fullpath:"$.Events.*.EventSamples.Soil.DepthRefs.*.EndingDepth",description:"Column depth (top to bottom) of the soil sample"}};function mP(e){return e instanceof Date?e:(""+e).length===8&&parseInt(""+e)?(e=""+e,new Date(`${e.substring(0,4)}-${e.substring(4,6)}-${e.substring(6)}`)):+e<1e5&&+e>100?new Date(Kae(zae(e)).format("YYYY-MM-DD")):new Date(""+e).toString()!=="Invalid Date"?new Date(""+e):Dt(""+e,"DD-MM-YYYY").toString()!=="Invalid Date"?new Date(Dt(""+e,"DD-MM-YYYY").toString()):new Date(e).toString()!=="Invalid Date"?new Date(e):new Date(e)}function Mie(e,t){switch(t.parse){case"number":return+e;case"date":return e==="NA"?!1:e&&mP(e).toISOString().split("T")[0];case"string":return""+e;default:return e}}const Die=Vt("@modusjs/convert#labs-automated:info"),GO=Vt("@modusjs/convert#labs-automated:trace"),pP=Vt("@modusjs/convert#labs-automated:warn"),Iie=Vt("@modusjs/convert#labs-automated:error");function Oie(e,t){const r=t||Array.from(jO.values());pP("Attempting to identify header matches individually.");let n=r.map(u=>Object.fromEntries(Object.entries(u.mappings).map(([c,f])=>[um(c),f]))),a={};e.forEach(u=>{const c=um(u);let f=n.find(m=>m[c]);f!==void 0&&(a[u]=f[u])});let i=e.filter(u=>!a[u]);if(!Object.values(a).find(u=>u==="ReportDate")){let u=Eie(e);a[u]="ReportDate",i=i.filter(c=>c!==u)}let s=r.map(u=>Object.fromEntries(Object.entries(u.analytes).map(([c,f])=>[um(f.CsvHeader||f.Element),f]))).flat(1),o={};i.forEach(u=>{const c=um(u);let f=s.find(m=>m[c]);f&&(o[u]={Element:f[u].Element})}),i=i.filter(u=>!o[u]);const l=Object.fromEntries(Object.entries(o).map(([u,c])=>[u,c?.ValueUnit]));return i.length>0&&GO("Remaining unrecognized headers:",i),{units:l,analytes:o,headers:e,name:"Automated",type:"Automated",mappings:a}}function Eie(e){let t=e.sort().find(r=>r.toUpperCase().match(/DATE/));if(e.find(r=>r.match(/DATESUB/)))return GO("Found DATESUB column, using that for date."),t="DATESUB",t;throw Iie("No date column in sheet, columns are:",e),new Error("Could not find a column containing 'date' in the name to use as the date in sheet. A date is required.")}function bie({headers:e,sheetname:t,labConfigs:r}){let n=(r||Array.from(jO.values())).find(a=>Lie(e,a));if(n)return Die(`Recognized sheet ${t!==void 0?`[${t}] `:""}as lab: ${n.name}`),n;pP("No matches found while attempting to autodetect LabConfig.")}function Lie(e,t){return e.every(r=>{if(t.headers.indexOf(r)<=-1){let n=/[_\d]+$/;if(n.test(r)){const a=r.replace(n,"");if(t.headers.indexOf(a)>-1)return!0}GO(`Header string "${r}" not in ${t.name} LabConfig`)}return t.headers.indexOf(r)>-1})}function um(e){const t={};for(const[r,n]of Object.entries(e)){const a=r.toUpperCase().replace(/([ _]|-)*/g,"");t[a]=typeof n=="object"?um(n):n}return t}function $m(e,t,r){return r?Object.entries(r.mappings).find(([a,i])=>(Array.isArray(i)?i.some(s=>s===e):i===e)&&t.includes(a))?.[0]:void 0}function Ar(e,t,r){if(!e)return;let n=$m(t,Object.keys(e),r);if(n){let a=yie[t];return Mie(e[n],a)}return""}var e0={exports:{}},dP={exports:{}};(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(r,n){return r<>>32-n},rotr:function(r,n){return r<<32-n|r>>>n},endian:function(r){if(r.constructor==Number)return t.rotl(r,8)&16711935|t.rotl(r,24)&4278255360;for(var n=0;n0;r--)n.push(Math.floor(Math.random()*256));return n},bytesToWords:function(r){for(var n=[],a=0,i=0;a>>5]|=r[a]<<24-i%32;return n},wordsToBytes:function(r){for(var n=[],a=0;a>>5]>>>24-a%32&255);return n},bytesToHex:function(r){for(var n=[],a=0;a>>4).toString(16)),n.push((r[a]&15).toString(16));return n.join("")},hexToBytes:function(r){for(var n=[],a=0;a>>6*(3-s)&63)):n.push("=");return n.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var n=[],a=0,i=0;a>>6-i*2);return n}};dP.exports=t})();var AM={utf8:{stringToBytes:function(e){return AM.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(AM.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r + * @license MIT + */var Cie=function(e){return e!=null&&(hP(e)||Tie(e)||!!e._isBuffer)};function hP(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Tie(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&hP(e.slice(0,0))}(function(){var e=dP.exports,t=S5.utf8,r=Cie,n=S5.bin,a=function(i,s){i.constructor==String?s&&s.encoding==="binary"?i=n.stringToBytes(i):i=t.stringToBytes(i):r(i)?i=Array.prototype.slice.call(i,0):!Array.isArray(i)&&i.constructor!==Uint8Array&&(i=i.toString());for(var o=e.bytesToWords(i),l=i.length*8,u=1732584193,c=-271733879,f=-1732584194,m=271733878,d=0;d>>24)&16711935|(o[d]<<24|o[d]>>>8)&4278255360;o[l>>>5]|=128<>>9<<4)+14]=l;for(var h=a._ff,p=a._gg,_=a._hh,S=a._ii,d=0;d>>0,c=c+g>>>0,f=f+y>>>0,m=m+M>>>0}return e.endian([u,c,f,m])};a._ff=function(i,s,o,l,u,c,f){var m=i+(s&o|~s&l)+(u>>>0)+f;return(m<>>32-c)+s},a._gg=function(i,s,o,l,u,c,f){var m=i+(s&l|o&~l)+(u>>>0)+f;return(m<>>32-c)+s},a._hh=function(i,s,o,l,u,c,f){var m=i+(s^o^l)+(u>>>0)+f;return(m<>>32-c)+s},a._ii=function(i,s,o,l,u,c,f){var m=i+(o^(s|~l))+(u>>>0)+f;return(m<>>32-c)+s},a._blocksize=16,a._digestsize=16,e0.exports=function(i,s){if(i==null)throw new Error("Illegal argument "+i);var o=e.wordsToBytes(a(i,s));return s&&s.asBytes?o:s&&s.asString?n.bytesToString(o):e.bytesToHex(o)}})();const y5=Vt("@modusjs/convert#csv:error"),_P=Vt("@modusjs/convert#csv:error"),xie=Vt("@modusjs/convert#csv:info"),wd=Vt("@modusjs/convert#csv:trace"),M5=/^Base Saturation - /;function Aie({wb:e,str:t,arrbuf:r,base64:n}){if(!e)try{t&&(e=Um(t,{type:"string",cellDates:!0})),r&&(e=Um(r,{type:"array",cellDates:!0})),n&&(e=Um(n,{type:"base64",cellDates:!0}))}catch(a){throw Qk.tag(a,"Failed to parse input data with xlsx/csv reader")}if(!e)throw new Error("No readable input data found.");return e}function kie({wb:e,str:t,arrbuf:r,base64:n,format:a,lab:i,labConfigs:s,filename:o,allowOverrides:l=!0}){return Fie({...wie({wb:e,str:t,arrbuf:r,base64:n,format:a,lab:i,labConfigs:s}),filename:o,allowOverrides:l})}function wie({wb:e,str:t,arrbuf:r,base64:n,format:a,lab:i,labConfigs:s,filename:o}){switch(e=Aie({wb:e,str:t,arrbuf:r,base64:n}),a||(a="generic"),a){case"generic":return Rie({wb:e,lab:i,labConfigs:s});default:throw new Error(`format type ${a} not currently supported`)}}function Pie(e){const t=e.SheetNames.find(D5);let r;t&&(r={rows:I_.sheet_to_json(e.Sheets[t],{raw:!1}).map(WO),sheetname:t},wd("metadatasheet:",r.sheetname));const a=(e.SheetNames.length>1&&e.SheetNames.some(i=>i.toLowerCase().includes("raw"))?e.SheetNames.filter(i=>i.toLocaleLowerCase().includes("raw")):e.SheetNames).filter(i=>!D5(i)).map(i=>{const s=e.Sheets[i],o=I_.sheet_to_json(s,{defval:""}),l=o.map(c=>Object.fromEntries(Object.entries(c).filter(([f,m])=>!f.startsWith("__EMPTY")).map(([f,m])=>[f.trim(),m]))).filter($ie),u=[...new Set(l.map(c=>Object.keys(c)).reduce((c,f)=>c.concat(f),[]))];return{sheetname:i,allrows:o,rows:l,colnames:u}});return{metadatasheet:r,datasheets:a}}function Nie(e,t){const r={};for(const n of e.rows){const a=Ar(n,"SampleNumber",t)||n.POINTID||n.FMISSAMPLEID||n.SAMPLEID;!a||(r[a]=n)}return r}function Uie({datasheets:e,allowImprovise:t,labConfigs:r}){const n=e.map(({sheetname:a,colnames:i})=>bie({headers:i,sheetname:a})).find(a=>a);return n&&xie(`Using LabConfig: ${n.name}`),t?n||e.map(({colnames:a})=>Oie(a)).find(a=>a):n}function Vie(e,t){return e.reduce((r,n)=>{let a=t?n[t]:"Unknown Date";return a==="NA"&&(a="Unknown Date"),a!=="Unknown Date"&&(a=mP(a)),a=a instanceof Date?a.toISOString().split("T")[0]:a,wd("Determined row date from column",t,"as",a),a?(r[a]||(r[a]=[]),r[a].push(n),r):(_P("WARNING: row does not have the column we chose for the date (",t,"), the row is: ",n),r)},{})}function Rie({wb:e,lab:t,labConfigs:r}){const{metadatasheet:n,datasheets:a}=Pie(e),i=t&&typeof t=="string"?jO.get(t):Uie({datasheets:a});i||_P("LabConfig was either not supplied or not auto-detected. It may parse if using standardized CSV input...");let s;return n&&(s=Nie(n,i)),wd("datasheets:",a),{datasheets:a,labConfig:i,pointMeta:s}}function Fie({datasheets:e,labConfig:t,pointMeta:r,filename:n,allowOverrides:a=!0}){const i=[];for(const{sheetname:s,allrows:o,rows:l,colnames:u}of e){let c=a?Hie(o):void 0;wd("Have",l.length,"rows from sheetname: ",s);let f=Object.fromEntries(u.map(h=>[h,{...zie(h,t),unitsOverride:c?.[h]}])),m="ReportDate"in l[0]?"ReportDate":$m("ReportDate",u,t)??u.find(h=>h.toUpperCase().match(/DATE/));m||y5("No date column in sheet",s,", columns are:",u);const d=Vie(l,m);for(const[h,p]of Object.entries(d)){if(h==="Unknown Date")continue;let _={date:h,lab:{},samples:{}};lr(_,"/type",(t?.type||Ar(p[0],"LabType",t)||"Soil").toLowerCase()),_.type==="plant"&&(_.type="plant-tissue");for(const[S,v]of p.entries()){lr(_,"/lab/name",Ar(v,"LabName",t)||t?.name),lr(_,"/lab/report/id",Ar(v,"LabReportID",t)),lr(_,"/id",Ar(v,"ReportID",t)||Ar(v,"LabEventtID",t)),lr(_,"/lab/dateProcessed",Ar(v,"DateProcessed",t)||h),_.lab.dateProcessed&&!_.lab.dateProcessed.includes("T")&&(_.lab.dateProcessed+="T00:00:00+00:00"),lr(_,"/lab/dateReceived",Ar(v,"DateReceived",t)||h),_.lab.dateReceived&&!_.lab.dateReceived.includes("T")&&(_.lab.dateReceived+="T00:00:00+00:00"),lr(_,"/lab/contact/name",Ar(v,"LabContactName",t)),lr(_,"/lab/contact/address",Ar(v,"LabContactAddress",t)),lr(_,"/lab/contact/Phone",Ar(v,"LabContactPhone",t)),lr(_,"/lab/clientAccount/accountNumber",Ar(v,"ClientAccountNumber",t)),lr(_,"/lab/clientAccount/name",Ar(v,"ClientName",t)),lr(_,"/lab/clientAccount/company",Ar(v,"ClientCompany",t)),lr(_,"/lab/clientAccount/address",Ar(v,"ClientAddress",t)),lr(_,"/lab/clientAccount/city",Ar(v,"ClientCity",t)),lr(_,"/lab/clientAccount/state",Ar(v,"ClientState",t)),lr(_,"/lab/clientAccount/zip",Ar(v,"ClientZip",t)),lr(_,"/lab/files",[{name:n}]);let g=""+Ar(v,"SampleContainerID",t)||""+Ar(v,"SampleNumber",t)||""+Ar(v,"FMISSampleID",t),y=1,M=g;for(;Wr.has(_,`/samples/${M}`);)y++,M=`${g}-${y}`;g=M;const I=r?.[g];lr(_,"/source/grower/name",la(v,"GrowerName",t,I)),lr(_,"/source/grower/id",la(v,"Grower",t,I)),lr(_,"/source/farm/name",la(v,"FarmName",t,I)),lr(_,"/source/farm/id",la(v,"Farm",t,I)),lr(_,"/source/field/name",la(v,"FieldName",t,I)),lr(_,"/source/field/id",la(v,"Field",t,I)),lr(_,"/source/subfield/name",la(v,"SubFieldName",t,I)),lr(_,"/source/subfield/id",la(v,"SubField",t,I));let D=Kie({row:v,headers:f,labConfig:t});D=Bie({nutrientResults:D,unitOverrides:c,labConfig:t,headers:f}),D=ow(D),lr(_,`/samples/${g}/source/sampleid`,la(v,"FMISSampleID",t,I)),lr(_,`/samples/${g}/lab/containerid`,Ar(v,"SampleContainerID",t)),lr(_,`/samples/${g}/lab/sampleid`,Ar(v,"SampleNumber",t)),lr(_,`/samples/${g}/results`,Object.fromEntries(D.map(b=>{const N={};return b.Element&&(N.analyte=b.Element),b.CsvHeader&&(N.csvHeader=b.CsvHeader),b.ModusTestID&&(N.modusTestID=b.ModusTestID),b.ModusTestIDv2&&(N.modusTestID=b.ModusTestIDv2),b.UCUM_ValueUnit&&(N.ucumUnits=b.UCUM_ValueUnit),b.ValueUnit&&(N.units=b.ValueUnit),(b.Value||b.Value===0)&&(N.value=b.Value),b.ValueDesc&&(N.valueDescription=b.ValueDesc),b.ValueType&&(N.valueType=b.ValueType),[`${g}-${e0.exports(JSON.stringify(N))}`,N]}))),Object.entries(t?.mappings||{}).filter(([b,N])=>N===void 0).map(([b,N])=>b).forEach(([b,N])=>{}),_.type==="soil"&&lr(_,`/samples/${g}/depth`,qie(v,f,t)),_.type==="plant-tissue"&&(lr(_,"/source/crop",la(v,"Crop",t,I)),lr(_,"/source/growthStage",la(v,"GrowthStage",t,I)),lr(_,"/source/subGrowthStage",la(v,"SubGrowthStage",t,I)),lr(_,"/source/plantPart",la(v,"PlantPart",t,I)));let T=I5(I)||I5(v);T&&lr(_,`/samples/${g}/geolocation`,T)}_.id||(_.id=e0.exports(JSON.stringify(_)));try{pw(_)}catch(S){throw y5("assertSlim failed for sheetname",s,", group date",h),Qk.tag(S,`Could not construct a valid Slim from sheet ${s}, group date ${h}`)}i.push(_)}}return i}function WO(e){const t={};for(const[r,n]of Object.entries(e)){const a=r.toUpperCase().replace(/([ _]|-)*/g,"");t[a]=typeof n=="object"?WO(n):n}return t}function D5(e){return e.replace(/([ _,]|-)*/g,"").toUpperCase().match("POINTMETA")}function Bie({nutrientResults:e,headers:t,unitOverrides:r,labConfig:n}){return e.map(a=>{const i=Object.values(t).find(u=>u.original===a.CsvHeader),s=i?.original?r?.[i?.original]:void 0,o=i?.units,l=i?n?.units?.[i.original]:void 0;return wd(`Ordered unit prioritization of ${a.Element}: Override:[${s}] > Header:[${o}] > LabConfig:[${l}]`),{...a,ValueUnit:s||o||l}})}function Hie(e){const t={},r=e.filter(gP);for(const n of r)for(const[a,i]of Object.entries(n))!i||typeof i=="string"&&i.trim()==="UNITS"||(t[a]=i);return t}function la(e,t,r,n){let a=Ar(e,t,r)||Ar(n,t,r);return a===void 0?a:""+a}function $ie(e){const t=!Gie(e),r=!gP(e),n=!jie(e);return t&&r&&n}function jie(e){if(typeof e!="object")return!0;for(const t of Object.values(e))if(t)return!1;return!0}function Gie(e){return!!Object.values(e).find(t=>typeof t=="string"&&t.trim()==="COMMENT")}function gP(e){return!!Object.values(e).find(t=>typeof t=="string"&&t.trim()==="UNITS")}function I5(e){if(e===void 0)return;let t=WO(e),r=Object.keys(t).find(s=>s.includes("LONGITUDE")),n=Object.keys(t).find(s=>s.includes("LATITUDE"));if(t.LONG&&(r="LONG"),t.LNG&&(r="LNG"),t.LON&&(r="LON"),t.LAT&&(n="LAT"),!r||!n)return;let a=+t[r],i=+t[n];return{lon:a,lat:i}}function O5(e,t,r){const n=e.indexOf(t),a=e.lastIndexOf(r);if(!(n<0))return n>e.length-1?"":a<0?e.slice(n+1):e.slice(n+1,a)}function Wie(e,t){const n=(Array.isArray(t)?t:[t]).map(i=>e.indexOf(i)).filter(i=>i>-1);if(n.length===0)return e;const a=Math.min(...n);return e.slice(0,a)}function zie(e,t){e=e.trim().replace(/\n/g," ").replace(/ +/g," ");const r=Wie(e,["(","["]).trim()||e,n=O5(e,"[","]")?.trim();e=e.replace(`${n}`,"");const a=O5(e,"(",")")?.trim(),i=t?.analytes[r]||{Element:r};return{original:e,element:r,modusid:a,units:n,nutrientResult:i}}function Kie({row:e,headers:t,labConfig:r}){let n=Object.keys(e).filter(a=>r?.analytes[a]?typeof e[a]=="string"&&e[a]!==""||typeof e[a]=="number":a.toLowerCase().includes("depth")?!1:!!(t?.[a]?.units||t?.[a]?.modusid)).map(a=>{let i=isNaN(+e[a])?e[a]:+e[a];return r?.analytes?.[a]?{...r.analytes[a],Value:i}:{Element:t[a].element,ValueUnit:t?.[a]?.units,ModusTestID:t?.[a]?.modusid,CsvHeader:t?.[a]?.original,Value:i}});return n.filter((a,i)=>!n.some((s,o)=>a.Element===s.Element&&i!==o&&M5.test(a.Element)&&M5.test(s.Element)&&a.ValueUnit!=="%"))}function qie(e,t,r){let n=typeof r?.depthInfo!="function"?r?.depthInfo:r?.depthInfo(e);const a=Object.keys(e),i={};let s=$m("StartingDepth",a,r),o=s?e[s]:void 0,l=s?t[s]?.unitsOverride:void 0;i.top=Ar(e,"StartingDepth",r)||n?.StartingDepth||0;let u=$m("EndingDepth",a,r),c=u?e[u]:void 0,f=u?t[u]?.unitsOverride:void 0;i.bottom=Ar(e,"EndingDepth",r)||n?.EndingDepth||i.top;let m=$m("ColumnDepth",a,r),d=m?e[m]:void 0,h=m?t[m]?.unitsOverride:void 0,p;if(d||[" to "," - "].some(S=>[o,c,d].some(v=>{if(typeof v=="string"&&v?.match(S)){const g=v.split(S);i.top=parseInt(g[0])||0,i.bottom=parseInt(g[1])||0,g[1]?.includes("cm")&&(p="cm"),g[1]?.includes("mm")&&(p="mm"),g[1]?.includes("in")&&(p="in")}})),i.bottom===0)return;const _=l||f||h;return i.units=_||p||Ar(e,"DepthUnit",r)||n?.DepthUnit,i.units||delete i.units,i.name=Ar(e,"DepthName",r)||n?.Name||i.bottom===0?"Unknown Depth":`${i.top} to ${i.bottom}${i.units?" "+i.units:""}`,i}function lr(e,t,r,n){const i=(Wr.has(e,t)?Wr.get(e,t):void 0)??r;i!==void 0&&(Array.isArray(i)&&i.length>0||i||i===0||i===!1)&&Wr.set(e,t,i)}var vP={exports:{}};/** @license + * + * Copyright (C) 2012 K. Arthur Endsley (kaendsle@mtu.edu) + * Michigan Tech Research Institute (MTRI) + * 3600 Green Court, Suite 100, Ann Arbor, MI, 48105 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + */(function(e,t){(function(r,n){e.exports=n()})(Zs,function(){var r,n,a;return a=function(i){if(i instanceof a)return i;if(!(this instanceof a))return new a(i);this._wrapped=i},r=function(i,s){return i.substring(0,s.length)===s},n=function(i,s){return i.substring(i.length-s.length)===s},a.delimiter=" ",a.isArray=function(i){return!!(i&&i.constructor===Array)},a.trim=function(i,s){for(s=s||" ";r(i,s);)i=i.substring(1);for(;n(i,s);)i=i.substring(0,i.length-1);return i},a.Wkt=function(i){this.delimiter=a.delimiter||" ",this.wrapVertices=!0,this.regExes={typeStr:/^\s*(\w+)\s*\(\s*(.*)\s*\)\s*$/,spaces:/\s+|\+/,numeric:/-*\d+(\.*\d+)?/,comma:/\s*,\s*/,parenComma:/\)\s*,\s*\(/,coord:/-*\d+\.*\d+ -*\d+\.*\d+/,doubleParenComma:/\)\s*\)\s*,\s*\(\s*\(/,ogcTypes:/^(multi)?(point|line|polygon|box)?(string)?$/i,crudeJson:/^{.*"(type|coordinates|geometries|features)":.*}$/},this._stripWhitespaceAndParens=function(s){var o=s.trim(),l=o.replace(/^\(?(.*?)\)?$/,"$1");return l},this.components=void 0,i&&typeof i=="string"?this.read(i):i&&typeof i!==void 0&&this.fromObject(i)},a.Wkt.prototype.isCollection=function(){switch(this.type.slice(0,5)){case"multi":return!0;case"polyg":return!0;default:return!1}},a.Wkt.prototype.sameCoords=function(i,s){return i.x===s.x&&i.y===s.y},a.Wkt.prototype.fromObject=function(i){var s;return i.hasOwnProperty("type")&&i.hasOwnProperty("coordinates")?s=this.fromJson(i):s=this.deconstruct.call(this,i),this.components=s.components,this.isRectangle=s.isRectangle||!1,this.type=s.type,this},a.Wkt.prototype.toObject=function(i){var s=this.construct[this.type].call(this,i);return typeof s=="object"&&!a.isArray(s)&&(s.properties=this.properties),s},a.Wkt.prototype.toString=function(i){return this.write()},a.Wkt.prototype.fromJson=function(i){var s,o,l,u,c,f;if(this.type=i.type.toLowerCase(),this.components=[],i.hasOwnProperty("geometry"))return this.fromJson(i.geometry),this.properties=i.properties,this;if(u=i.coordinates,!a.isArray(u[0]))this.components.push({x:u[0],y:u[1]});else for(s in u)if(u.hasOwnProperty(s))if(!a.isArray(u[s][0]))this.type==="multipoint"?this.components.push([{x:u[s][0],y:u[s][1]}]):this.components.push({x:u[s][0],y:u[s][1]});else{f=[];for(o in u[s])if(u[s].hasOwnProperty(o))if(!a.isArray(u[s][o][0]))f.push({x:u[s][o][0],y:u[s][o][1]});else{c=[];for(l in u[s][o])u[s][o].hasOwnProperty(l)&&c.push({x:u[s][o][l][0],y:u[s][o][l][1]});f.push(c)}this.components.push(f)}return this},a.Wkt.prototype.toJson=function(){var i,s,o,l,u,c,f;if(i=this.components,s={coordinates:[],type:function(){var m,d,h;d=this.regExes.ogcTypes.exec(this.type).slice(1),h=[];for(m in d)d.hasOwnProperty(m)&&d[m]!==void 0&&h.push(d[m].toLowerCase().slice(0,1).toUpperCase()+d[m].toLowerCase().slice(1));return h}.call(this).join("")},this.type.toLowerCase()==="box"){s.type="Polygon",s.bbox=[];for(o in i)i.hasOwnProperty(o)&&(s.bbox=s.bbox.concat([i[o].x,i[o].y]));return s.coordinates=[[[i[0].x,i[0].y],[i[0].x,i[1].y],[i[1].x,i[1].y],[i[1].x,i[0].y],[i[0].x,i[0].y]]],s}for(o in i)if(i.hasOwnProperty(o))if(a.isArray(i[o])){f=[];for(l in i[o])if(i[o].hasOwnProperty(l))if(a.isArray(i[o][l])){c=[];for(u in i[o][l])i[o][l].hasOwnProperty(u)&&c.push([i[o][l][u].x,i[o][l][u].y]);f.push(c)}else i[o].length>1?f.push([i[o][l].x,i[o][l].y]):f=f.concat([i[o][l].x,i[o][l].y]);s.coordinates.push(f)}else i.length>1?s.coordinates.push([i[o].x,i[o].y]):s.coordinates=s.coordinates.concat([i[o].x,i[o].y]);return s},a.Wkt.prototype.merge=function(i){var s=this.type.slice(0,5);if(this.type!==i.type&&this.type.slice(5,this.type.length)!==i.type)throw TypeError("The input geometry types must agree or the calling this.Wkt.Wkt instance must be a multigeometry of the other");switch(s){case"point":this.components=[this.components.concat(i.components)];break;case"multi":this.components=this.components.concat(i.type.slice(0,5)==="multi"?i.components:[i.components]);break;default:this.components=[this.components,i.components];break}return s!=="multi"&&(this.type="multi"+this.type),this},a.Wkt.prototype.read=function(i){var s;if(s=this.regExes.typeStr.exec(i),s)this.type=s[1].toLowerCase(),this.base=s[2],this.ingest[this.type]&&(this.components=this.ingest[this.type].apply(this,[this.base]));else if(this.regExes.crudeJson.test(i))if(typeof JSON=="object"&&typeof JSON.parse=="function")this.fromJson(JSON.parse(i));else throw console.log("JSON.parse() is not available; cannot parse GeoJSON strings"),{name:"JSONError",message:"JSON.parse() is not available; cannot parse GeoJSON strings"};else throw console.log("Invalid WKT string provided to read()"),{name:"WKTError",message:"Invalid WKT string provided to read()"};return this},a.Wkt.prototype.write=function(i){var s,o,l;for(i=i||this.components,o=[],o.push(this.type.toUpperCase()+"("),s=0;s0&&o.push(","),!this.extract[this.type])return null;l=this.extract[this.type].apply(this,[i[s]]),this.isCollection()&&this.type!=="multipoint"?o.push("("+l+")"):(o.push(l),s!==i.length-1&&this.type!=="multipoint"&&o.push(","))}return o.push(")"),o.join("")},a.Wkt.prototype.extract={point:function(i){return String(i.x)+this.delimiter+String(i.y)},multipoint:function(i){var s,o=[],l;for(s=0;s2&&(m=m.filter(function(p){return p!=""})),m.length===2){var d=m[0],h=m[1];u.push({x:parseFloat(d),y:parseFloat(h)})}}l.push(u)}return l},box:function(i){var s,o,l;for(o=this.ingest.multipoint.apply(this,[i]),l=[],s=0;sObject.keys(n)[0].toLowerCase()),t.type==="plant"&&(t.type="plant-tissue"),zt(r,"/LabMetaData/LabID",t,"/lab/id/value"),zt(r,"/LabMetaData/LabID",t,"/lab/id/source",()=>"local"),zt(r,"/LabMetaData/LabName",t,"/lab/name"),zt(r,"/LabMetaData/Contact/Name",t,"/lab/contact/name"),zt(r,"/LabMetaData/Contact/Phone",t,"/lab/contact/phone"),zt(r,"/LabMetaData/Contact/Address",t,"/lab/contact/address"),zt(r,"/LabMetaData/Contact/Email",t,"/lab/contact/email"),zt(r,"/LabMetaData/Contact/State",t,"/lab/contact/state"),zt(r,"/LabMetaData/ReceivedDate",t,"/lab/dateReceived"),t?.lab?.dateReceived&&(t.lab.dateReceived=Dt(t.lab.dateReceived).toISOString()),zt(r,"/LabMetaData/ProcessedDate",t,"/lab/dateProcessed"),t?.lab?.dateProcessed&&(t.lab.dateProcessed=Dt(t.lab.dateProcessed).toISOString()),zt(r,"/LabMetaData/ClientAccount/Name",t,"/lab/clientAccount/name"),zt(r,"/LabMetaData/ClientAccount/AccountNumber",t,"/lab/clientAccount/accountNumber"),zt(r,"/LabMetaData/ClientAccount/Company",t,"/lab/clientAccount/company"),zt(r,"/LabMetaData/ClientAccount/City",t,"/lab/clientAccount/city"),zt(r,"/LabMetaData/ClientAccount/State",t,"/lab/clientAccount/state"),zt(r,"/FMISMetaData/FMISEventID",t,"/source/report/id"),zt(r,"/FMISMetaData/FMISProfile/Grower",t,"/source/grower/name"),zt(r,"/FMISMetaData/FMISProfile/Farm",t,"/source/farm/name"),zt(r,"/FMISMetaData/FMISProfile/Field",t,"/source/field/name"),zt(r,"/FMISMetaData/FMISProfile/Sub-Field",t,"/source/subfield/name"),zt(r,"/LabMetaData/ProcessedDate",t,"/lab/report/date"),t.lab?.report?.date&&(t.lab.report.date=t.lab.report.date.split("T")[0]),zt(r,"/LabMetaData/Reports/0/LabReportID",t,"/lab/report/id"),zt(r,"/LabMetaData/Reports",t,"/lab/files",n=>n.map(a=>{const i={};return zt(a,"/ReportID",i,"/id"),zt(a,"/LabReportID",i,"/id"),zt(a,"/FileDescription",i,"/description"),zt(a,"/File/URL/Path",i,"/uri"),zt(a,"/File/URL/FileName",i,"/name"),zt(a,"/File/FileData/FileName",i,"/name"),zt(a,"/File/FileData/FileData",i,"/name"),i})),t.lab.files.length===0&&delete t.lab.files;for(const[n,a]of Object.entries(r.EventSamples)){const i=n==="Soil"?a.DepthRefs.map(o=>({name:o.Name,top:o.StartingDepth,bottom:o.EndingDepth,units:o.DepthUnit})):void 0;i&&i.length===1&&(t.depth=i[0]);const s=`${n}Samples`;for(const o of a[s]){const l={};let u=Wr.has(o,"/SampleMetaData/FMISSampleID")?Wr.get(o,"/SampleMetaData/FMISSampleID"):Wr.has(o,"/SampleMetaData/SampleNumber")?Wr.get(o,"/SampleMetaData/SampleNumber"):Wr.has(o,"/SampleMetaData/SampleContainerID")?Wr.get(o,"/SampleMetaData/SampleContainerID"):void 0;zt(o,"/SampleMetaData/SampleNumber",l,"/lab/sampleid"),zt(o,"/SampleMetaData/SampleContainerID",l,"/source/sampleid");const c=n==="Soil"?o.Depths.map(f=>f.NutrientResults).flat(1):o.NutrientResults;l.results=Object.fromEntries(c.map(f=>{const m={};return zt(f,"/ModusTestID",m,"/analyte",d=>d.split("_")[3]),zt(f,"/Element",m,"/analyte"),zt(f,"/ModusTestID",m,"/modusTestID"),zt(f,"/ValueUnit",m,"/units"),zt(f,"/Value",m,"/value"),[`${u}-${e0.exports(JSON.stringify(m))}`,m]})),zt(o,"/SampleMetaData/Geometry",l,"/geolocation",({wkt:f})=>{if(f.toLowerCase().startsWith("point")){const m=f.split("(")[1].replace(/\)$/,"").split(" ");return{lat:+m[1],lon:+m[0]}}return{geojson:new Yie.Wkt().read(f).toJson()}}),n==="Plant"&&(zt(r,"/EventMetaData/EventType/Plant/Crop/Name",t,"/crop/name"),zt(r,"/EventMetaData/EventType/Plant/PlantPart",t,"/plantPart"),zt(r,"/EventMetaData/EventType/Plant/Crop/GrowthStage/Name",t,"/crop/growthStage"),zt(r,"/EventMetaData/EventType/Plant/Crop/SubGrowthStage/Name",t,"/crop/subGrowthStage")),u=u||e0.exports(JSON.stringify(l)),t.samples=t.samples||{},t.samples[u]=l}}t.id||(t.id=e0.exports(JSON.stringify(t)))}return t}function zt(e,t,r,n,a){if(Wr.has(e,t)){const i=Wr.has(r,n)?Wr.get(r,n):void 0,s=a?a(Wr.get(e,t))??i:Wr.get(e,t)??i;(Array.isArray(s)&&s.length>0||s||s===0)&&Wr.set(r,n,s)}}function Zie(e){const t=Object.fromEntries(Object.entries(Wr.dict(e)).filter(([n,a])=>!n.startsWith("/samples")));return{samples:Object.fromEntries(Object.entries(e.samples||{}).map(([n,a])=>{for(const[i,s]of Object.entries(t))Wr.has(a,i)||Wr.set(a,i,s);return[n,a]})),id:"",type:"soil",date:""}}function b5(e,t){const r=Zie(JSON.parse(JSON.stringify(e)));return e.type,Object.entries(r.samples||{}).map(([n,a])=>{let i=Object.fromEntries(Object.entries(Wr.dict(a)||{}).filter(([o,l])=>!o.includes("/results")).map(([o,l])=>[o.replace(/^\//,"").replace(/\//g,"."),l])),s=Xie(a.results);return{...i,...s}})}function Xie(e){return Object.fromEntries(Object.values(e).map(t=>[`${t.analyte}${t.modusTestID?` (${t.modusTestID})`:""} [${t.units?t.units:""}]`,t.value]))}function Jie(e){let t=[];Array.isArray(e)?t=e.map(n=>b5(n)).flat(1):t=b5(e);let r=I_.json_to_sheet(t);return{wb:{Sheets:{Sheet1:r},SheetNames:["Sheet1"]},str:I_.sheet_to_csv(r)}}const Qie=Vt("@modusjs/convert#tojson:error"),gu=Vt("@modusjs/convert#tojson:error");Vt("@modusjs/convert#tojson:info");const eoe=Vt("@modusjs/convert#tojson:trace"),SP=["xml","csv","xlsx","json","zip"];async function yP(e,t){Array.isArray(e)||(e=[e]);let r=[];for(const n of e){const a=n.format||"generic";let i=zO(n.filename);if(!i){gu("WARNING: unable to determine file type from filename",n.filename,". Supported types are:",SP,". Skipping file.");continue}if((i==="csv"||i==="xlsx")&&!L5.find(f=>f===a)){gu("ERROR: format",a,"is not supported for file",n.filename,". Supported formats are: ",L5,". Skipping file.");continue}switch(i){case"xlsx":case"zip":if(!n.arrbuf&&!n.base64){gu("Type of",n.filename,"was",i,"but that must be an ArrayBuffer or Base64 encoded string. Skipping.");continue}break;case"csv":case"xml":case"json":if(!n.str){gu("CSV, XML, and JSON input files must be strings, but file",n.filename,"is not.");continue}}const s={original_filename:n.filename,original_type:i},o=i,l=n.filename;let u="",c=null;try{switch(i){case"zip":const f=await toe(n);r=[...r,...f];break;case"json":c=typeof n.str=="string"?JSON.parse(n.str):n.str,(c._type==="application/vnd.modus.v1.modus-result+json"||c.Events)&&(c=E5(c)),pw(c),u=TS({modus:c,type:o,filename:l}),r.push({modus:c,output_filename:u,...s});break;case"xml":c=foe(n.str),u=TS({modus:c,type:o,filename:l}),c&&((c._type==="application/vnd.modus.v1.modus-result+json"||c.Events)&&(c=E5(c)),r.push({modus:c,output_filename:u,...s}));break;case"csv":case"xlsx":let m;i==="csv"?m={str:n.str,format:a,filename:l}:n.arrbuf?m={arrbuf:n.arrbuf,format:a,filename:l}:m={base64:n.base64,format:a,filename:l};const d=kie({...m,labConfigs:t});for(const[h,p]of d.entries()){const _={modus:p,type:o,filename:l};d.length>1&&(_.index=h),u=TS(_),r.push({modus:p,output_filename:u,...s})}break}}catch(f){if(f.errors&&f.input&&Array.isArray(f.errors)){gu("ERROR: failed to validate file",n.filename);for(const m of f.errors)gu("Path",m.instancePath,m.message)}else gu("ERROR: failed to read file",n.filename),console.log(f);continue}}return r}function TS({modus:e,index:t,filename:r,type:n}){let i=r.replace(/\.(xml|csv|xlsx|zip)$/,".json");const s=Wr.has(e,"/lab/files/0/description")?Wr.get(e,"/lab/files/0/description"):"";return(n==="xlsx"||n==="csv"||n==="zip")&&s?i=i.replace(/\.json$/,`${s.replace(/[^a-zA-Z0-9_\\-]*/g,"")}.json`):typeof t<"u"&&(i=i.replace(/\.json$/,`_${t}.json`)),i}function zO(e){return e.match(/\.xml$/)?"xml":e.match(/\.csv$/)?"csv":e.match(/\.xlsx$/)?"xlsx":e.match(/.json$/)?"json":e.match(/.zip/)?"zip":null}async function toe(e){let t={};const r=e.arrbuf||e.base64;if(e.base64&&(t={base64:!0}),!r)throw Qie("ERROR: Zip input file had neither arrbuf nor base64. At least one is required."),new Error("Zip must have either array buffer or base64-encoded string");const n=await uw.loadAsync(r,t);let a=[];for(const i of Object.values(n.files)){if(i.dir)continue;const s=zO(i.name),o=i.name.replace(/^(.*[\/\\])*/g,"");eoe("Found file",o,"of type",s,"in zip");let l={filename:o,format:e.format};switch(s){case"zip":case"xlsx":l.arrbuf=await i.async("arraybuffer");break;case"xml":case"csv":case"json":l.str=await i.async("string");break}a.push(l)}return yP(a)}Vt("@modusjs/convert#csv:error");const roe=Vt("@modusjs/convert#csv:error");Vt("@modusjs/convert#csv:info");Vt("@modusjs/convert#csv:trace");const A1="cm",L5=["generic"];function noe(e){return e=soe(e),e=aoe(e),e}function soe(e){let t=(e.Events||[]).map(r=>(r.EventSamples?.Soil&&(r.EventSamples.Soil.DepthRefs=r.EventSamples.Soil.DepthRefs?.map(n=>{const a=OS(n.StartingDepth,n.DepthUnit,A1),i=OS(n.EndingDepth,n.DepthUnit,A1),s=OS(n.ColumnDepth,n.DepthUnit,A1);return a?.status==="failed"||i?.status==="failed"||s?.status==="failed"?(roe("Standardizing soil depth units failed. Falling back to input."),n):{...n,StartingDepth:Math.round(a.toVal),EndingDepth:Math.round(i.toVal),ColumnDepth:Math.round(s.toVal),DepthUnit:A1}})),r));return{...e,Events:t}}function aoe(e,t){let r=(e.Events||[]).map(n=>{let a=Object.fromEntries(Object.entries(n.EventSamples||{}).map(([i,s])=>{let o=`${i}Samples`;return i==="Soil"&&(s[o]=s[o].map(l=>({...l,Depths:l.Depths.map(u=>({...u,NutrientResults:ow(u.NutrientResults.map(c=>({...c,Element:SM[c.ModusTestID]?.Element||c.Element,ModusTestIDv2:SM[c.ModusTestID]?.ModusTestIDv2||c.ModusTestIDv2})),t)}))}))),[i,s]}));return{...n,EventSamples:a}});return{...e,Events:r}}var MP={exports:{}};MP.exports=$e;MP.exports.default=$e;const Gf={description:"Metadata for a sample in the sample event",type:"object",properties:{SampleNumber:{description:"Sample Number give the sample by during sample collection",type:"string"},FMISSampleID:{description:"Unique ID assigned by an FMIS for the sample",type:"string"},SampleContainerID:{description:"Unique ID for the sample bag or container. i.e. Bar code",type:"string"},SampleGroupID:{description:"ID number to reference different samples as one group",type:"integer"},ReportID:{description:"ID number indicating lab report to which this sample belongs.",type:["number","string"]},OverwriteResult:{description:"Flag to indicate if this result is to overwrite any previous results. e.g. for correcting a mistake.",type:"boolean"},Geometry:{description:"WKT Geometry Source: http://en.wikipedia.org/wiki/Well-known_text Limit types to Point, Polygon and MultiPolygon",type:"object",properties:{epsg:{description:"Projection ID of the Geometry Source: http://spatialreference.org/ref/?page=1 Default is WGS84 - Lat,Lon epsg: 4326",type:"integer",default:4326}}},SubSamples:{description:"Sub Samples is where the location of the cores within a sample can be recorded",type:"array",items:{description:"One sub sample / core",type:"object",properties:{SubSampleNumber:{description:"ID number assigned during collection.",type:"integer",minimum:0},SubSampleID:{description:"Unique ID for the sub-sample assigned by an FMIS",type:"string"},Geometry:{description:"WKT Geometry Source: http://en.wikipedia.org/wiki/Well-known_text Limit types to Point, Polygon and MultiPolygon",type:"object",properties:{epsg:{description:"Projection ID of the Geometry Source: http://spatialreference.org/ref/?page=1 Default is WGS84 - Lat,Lon epsg: 4326",type:"integer",default:4326}}}}}},TestPackages:{description:"The lab test packages used for the sample.",type:"array",uniqueItems:!0,items:{type:"string"}}}},C5={description:"Nutrient results of a sample",type:"array",items:{description:"Result for a single element",type:"object",properties:{Element:{description:'Nutrient Element. See "Element List for Modus.xlsx" for supported elements',type:"string"},Value:{description:"The value of the element",type:"number"},ValueUnit:{description:"Unit of measure for the value",type:"string"},ModusTestID:{description:'Analysis Name from "Soil Analysis Nomenclature Modus.xlsx" or "Botanical Analysis Nomenclature Modus.xlsx"',type:"string"},ValueType:{description:"Type definition of the value",type:"string",enum:["Measured","Percent","Calculated","Index"]},ValueDesc:{description:"Value description assigned by the lab.",type:"string",enum:["Very Low","Low","Medium","Optimum","Very High","VL","L","M","O","VH","High","H"]}}}},Wp=mu.fullFormats.date;function kn(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.Soil!==void 0){const m=s;if(e.Soil!==!0)return kn.errors=[{instancePath:t+"/Soil",schemaPath:"#/properties/Soil/const",keyword:"const",params:{allowedValue:!0},message:"must be equal to constant"}],!1;var o=m===s}else var o=!0;if(o){if(e.Plant!==void 0){let m=e.Plant;const d=s;if(m&&typeof m=="object"&&!Array.isArray(m)){if(m.PlantPart!==void 0){const p=s;if(typeof m.PlantPart!="string")return kn.errors=[{instancePath:t+"/Plant/PlantPart",schemaPath:"#/properties/Plant/properties/PlantPart/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=p===s}else var l=!0;if(l)if(m.Crop!==void 0){let p=m.Crop;const _=s;if(p&&typeof p=="object"&&!Array.isArray(p)){if(p.Name!==void 0){const v=s;if(typeof p.Name!="string")return kn.errors=[{instancePath:t+"/Plant/Crop/Name",schemaPath:"#/$defs/Crop/properties/Name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=v===s}else var u=!0;if(u){if(p.ClientID!==void 0){const v=s;if(typeof p.ClientID!="string")return kn.errors=[{instancePath:t+"/Plant/Crop/ClientID",schemaPath:"#/$defs/Crop/properties/ClientID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=v===s}else var u=!0;if(u){if(p.GrowthStage!==void 0){let v=p.GrowthStage;const g=s;if(v&&typeof v=="object"&&!Array.isArray(v)){if(v.Name!==void 0){const M=s;if(typeof v.Name!="string")return kn.errors=[{instancePath:t+"/Plant/Crop/GrowthStage/Name",schemaPath:"#/$defs/Crop/properties/GrowthStage/properties/Name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=M===s}else var c=!0;if(c)if(v.ClientID!==void 0){const M=s;if(typeof v.ClientID!="string")return kn.errors=[{instancePath:t+"/Plant/Crop/GrowthStage/ClientID",schemaPath:"#/$defs/Crop/properties/GrowthStage/properties/ClientID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var c=M===s}else var c=!0}else return kn.errors=[{instancePath:t+"/Plant/Crop/GrowthStage",schemaPath:"#/$defs/Crop/properties/GrowthStage/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=g===s}else var u=!0;if(u)if(p.SubGrowthStage!==void 0){let v=p.SubGrowthStage;const g=s;if(v&&typeof v=="object"&&!Array.isArray(v)){if(v.Name!==void 0){const M=s;if(typeof v.Name!="string")return kn.errors=[{instancePath:t+"/Plant/Crop/SubGrowthStage/Name",schemaPath:"#/$defs/Crop/properties/SubGrowthStage/properties/Name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=M===s}else var f=!0;if(f)if(v.ClientID!==void 0){const M=s;if(typeof v.ClientID!="string")return kn.errors=[{instancePath:t+"/Plant/Crop/SubGrowthStage/ClientID",schemaPath:"#/$defs/Crop/properties/SubGrowthStage/properties/ClientID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=M===s}else var f=!0}else return kn.errors=[{instancePath:t+"/Plant/Crop/SubGrowthStage",schemaPath:"#/$defs/Crop/properties/SubGrowthStage/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=g===s}else var u=!0}}}else return kn.errors=[{instancePath:t+"/Plant/Crop",schemaPath:"#/$defs/Crop/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=_===s}else var l=!0}else return kn.errors=[{instancePath:t+"/Plant",schemaPath:"#/properties/Plant/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=d===s}else var o=!0;if(o){if(e.Nematode!==void 0){const m=s;if(e.Nematode!==!0)return kn.errors=[{instancePath:t+"/Nematode",schemaPath:"#/properties/Nematode/const",keyword:"const",params:{allowedValue:!0},message:"must be equal to constant"}],!1;var o=m===s}else var o=!0;if(o){if(e.Water!==void 0){const m=s;if(e.Water!==!0)return kn.errors=[{instancePath:t+"/Water",schemaPath:"#/properties/Water/const",keyword:"const",params:{allowedValue:!0},message:"must be equal to constant"}],!1;var o=m===s}else var o=!0;if(o)if(e.Residue!==void 0){const m=s;if(e.Residue!==!0)return kn.errors=[{instancePath:t+"/Residue",schemaPath:"#/properties/Residue/const",keyword:"const",params:{allowedValue:!0},message:"must be equal to constant"}],!1;var o=m===s}else var o=!0}}}}else return kn.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return kn.errors=i,s===0}function Wi(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.EventCode!==void 0){const l=s;if(typeof e.EventCode!="string")return Wi.errors=[{instancePath:t+"/EventCode",schemaPath:"#/properties/EventCode/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=l===s}else var o=!0;if(o){if(e.EventDate!==void 0){let l=e.EventDate;const u=s;if(s===u&&s===u)if(typeof l=="string"){if(!Wp.validate(l))return Wi.errors=[{instancePath:t+"/EventDate",schemaPath:"#/properties/EventDate/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return Wi.errors=[{instancePath:t+"/EventDate",schemaPath:"#/properties/EventDate/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=u===s}else var o=!0;if(o){if(e.EventType!==void 0){const l=s;kn(e.EventType,{instancePath:t+"/EventType",parentData:e,parentDataProperty:"EventType",rootData:a})||(i=i===null?kn.errors:i.concat(kn.errors),s=i.length);var o=l===s}else var o=!0;if(o)if(e.EventExpirationDate!==void 0){let l=e.EventExpirationDate;const u=s;if(s===u&&s===u)if(typeof l=="string"){if(!Wp.validate(l))return Wi.errors=[{instancePath:t+"/EventExpirationDate",schemaPath:"#/properties/EventExpirationDate/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return Wi.errors=[{instancePath:t+"/EventExpirationDate",schemaPath:"#/properties/EventExpirationDate/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=u===s}else var o=!0}}}else return Wi.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Wi.errors=i,s===0}const ioe={description:"Metadata related to the testing lab",type:"object",properties:{LabName:{description:"The name of the lab that ran the results",type:"string"},LabID:{description:"ID for the lab that ran the results",type:"string"},LabEventID:{description:"Internal Lab ID for the event",type:"string"},Contact:{description:"Contact information at the lab",type:"object",properties:{Name:{type:"string"},PhoneNumber:{type:"string"},Address:{type:"string"}}},TestPackageRefs:{$ref:"#/$defs/TestPackageRefs"},ReceivedDate:{description:"The date/time the sample where received at the lab",anyOf:[{type:"string",format:"date-time"},{type:"string",format:"date"}]},ProcessedDate:{description:"The date/time the sample was processed by the lab",anyOf:[{type:"string",format:"date-time"},{type:"string",format:"date"}]},Reports:{description:"List of lab reports",type:"array",items:{type:"object",properties:{ReportID:{description:"Incrementing reference number to associate this report data to individual samples",type:["number","string"]},LabReportID:{description:"ID the lab has assigned to the report",type:"string"},FileDescription:{description:"Description of the report file",type:"string"},File:{description:"The file data for the report. The lab has the choice to pass a URL or embed the file data.",anyOf:[{type:"object",properties:{URL:{description:"The url path to the report file",type:"object",properties:{FileName:{description:"The name for the file",type:"string"},Path:{description:"The path to the file",type:"string"}},required:["Path"]}}},{type:"object",properties:{FileData:{description:"The file data",type:"object",properties:{FileName:{description:"The name for the file",type:"string"},FileData:{description:"File data base64 encoded",type:"string"}},required:["FileData"]}}}]}}}},ClientAccount:{description:"End user lab account information",type:"object",properties:{AccountNumber:{type:"string"},Name:{type:"string"},Company:{type:"string"},City:{type:"string"},State:{type:"string"}}}}},ooe=new RegExp("^[0-9]+$","u"),T5=mu.fullFormats["date-time"];function yr(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){if(e.LabName!==void 0){const g=s;if(typeof e.LabName!="string")return yr.errors=[{instancePath:t+"/LabName",schemaPath:"#/properties/LabName/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=g===s}else var o=!0;if(o){if(e.LabID!==void 0){const g=s;if(typeof e.LabID!="string")return yr.errors=[{instancePath:t+"/LabID",schemaPath:"#/properties/LabID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=g===s}else var o=!0;if(o){if(e.LabEventID!==void 0){const g=s;if(typeof e.LabEventID!="string")return yr.errors=[{instancePath:t+"/LabEventID",schemaPath:"#/properties/LabEventID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=g===s}else var o=!0;if(o){if(e.Contact!==void 0){let g=e.Contact;const y=s;if(s===y)if(g&&typeof g=="object"&&!Array.isArray(g)){if(g.Name!==void 0){const I=s;if(typeof g.Name!="string")return yr.errors=[{instancePath:t+"/Contact/Name",schemaPath:"#/properties/Contact/properties/Name/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=I===s}else var l=!0;if(l){if(g.PhoneNumber!==void 0){const I=s;if(typeof g.PhoneNumber!="string")return yr.errors=[{instancePath:t+"/Contact/PhoneNumber",schemaPath:"#/properties/Contact/properties/PhoneNumber/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=I===s}else var l=!0;if(l)if(g.Address!==void 0){const I=s;if(typeof g.Address!="string")return yr.errors=[{instancePath:t+"/Contact/Address",schemaPath:"#/properties/Contact/properties/Address/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=I===s}else var l=!0}}else return yr.errors=[{instancePath:t+"/Contact",schemaPath:"#/properties/Contact/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=y===s}else var o=!0;if(o){if(e.TestPackageRefs!==void 0){let g=e.TestPackageRefs;const y=s;if(s===s)if(Array.isArray(g)){var u=!0;const D=g.length;for(let T=0;T=",limit:1},message:"must be >= 1"}],!1;var o=m===s}else var o=!0;if(o){if(e.ExpirationDate!==void 0){let f=e.ExpirationDate;const m=s;if(typeof f=="string"){if(!Wp.validate(f))return Jr.errors=[{instancePath:t+"/ExpirationDate",schemaPath:"#/properties/ExpirationDate/format",keyword:"format",params:{format:"date"},message:'must match format "date"'}],!1}else return Jr.errors=[{instancePath:t+"/ExpirationDate",schemaPath:"#/properties/ExpirationDate/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=m===s}else var o=!0;if(o)if(e.RecID!==void 0){let f=e.RecID;const m=s;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)))return Jr.errors=[{instancePath:t+"/RecID",schemaPath:"#/properties/RecID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(typeof f=="number"&&(f<1||isNaN(f)))return Jr.errors=[{instancePath:t+"/RecID",schemaPath:"#/properties/RecID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var o=m===s}else var o=!0}}}}}else return Jr.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Jr.errors=i,s===0}function jm(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(Array.isArray(e)){var o=!0;const l=e.length;for(let u=0;u=",limit:0},message:"must be >= 0"}],!1;var f=nt===s}else var f=!0;if(f){if(ce.EndingDepth!==void 0){let Ae=ce.EndingDepth;const nt=s;if(!(typeof Ae=="number"&&!(Ae%1)&&!isNaN(Ae)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof Ae=="number"&&(Ae<0||isNaN(Ae)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var f=nt===s}else var f=!0;if(f){if(ce.ColumnDepth!==void 0){let Ae=ce.ColumnDepth;const nt=s;if(!(typeof Ae=="number"&&!(Ae%1)&&!isNaN(Ae)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof Ae=="number"&&(Ae<0||isNaN(Ae)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var f=nt===s}else var f=!0;if(f){if(ce.DepthUnit!==void 0){const Ae=s;if(typeof ce.DepthUnit!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var f=Ae===s}else var f=!0;if(f)if(ce.DepthID!==void 0){let Ae=ce.DepthID;const nt=s;if(!(typeof Ae=="number"&&!(Ae%1)&&!isNaN(Ae)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===nt&&typeof Ae=="number"&&(Ae<1||isNaN(Ae)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var f=nt===s}else var f=!0}}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs/"+oe,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var c=Ze===s;if(!c)break}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var m=ie===s}else var m=!0;if(m){if(E.RecommendationRefs!==void 0){const ne=s;yl(E.RecommendationRefs,{instancePath:t+"/Events/"+x+"/EventSamples/Soil/RecommendationRefs",parentData:E,parentDataProperty:"RecommendationRefs",rootData:a})||(i=i===null?yl.errors:i.concat(yl.errors),s=i.length);var m=ne===s}else var m=!0;if(m)if(E.SoilSamples!==void 0){let ne=E.SoilSamples;const ie=s;if(s===ie)if(Array.isArray(ne)){var d=!0;const gt=ne.length;for(let oe=0;oe=",limit:0},message:"must be >= 0"}],!1;var _=ot===s}else var _=!0;if(_){if(Pe.SubSampleID!==void 0){const et=s;if(typeof Pe.SubSampleID!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var _=et===s}else var _=!0;if(_)if(Pe.Geometry!==void 0){let et=Pe.Geometry;const ot=s;if(s===ot)if(et&&typeof et=="object"&&!Array.isArray(et)){if(et.epsg!==void 0){let Kt=et.epsg;if(!(typeof Kt=="number"&&!(Kt%1)&&!isNaN(Kt)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var _=ot===s}else var _=!0}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var p=xe===s;if(!p)break}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var h=he===s}else var h=!0;if(h)if(Ue.TestPackages!==void 0){let B=Ue.TestPackages;const he=s;if(s===he)if(Array.isArray(B)){var S=!0;const Qe=B.length;for(let Ee=0;Ee1){const xe={};for(;Ee--;){let rt=B[Ee];if(typeof rt=="string"){if(typeof xe[rt]=="number")return Pe=xe[rt],$e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ee,j:Pe},message:"must NOT have duplicate items (items ## "+Pe+" and "+Ee+" are identical)"}],!1;xe[rt]=Ee}}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var h=he===s}else var h=!0}}}}}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Soil/SoilSamples/"+oe+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var v=Ae===s}else var v=!0;if(v){if(ce.Depths!==void 0){let Ue=ce.Depths;const Ae=s;if(s===Ae)if(Array.isArray(Ue)){var g=!0;const B=Ue.length;for(let he=0;he=",limit:0},message:"must be >= 0"}],!1;var b=Ot===s}else var b=!0;if(b){if(xe.SubSampleID!==void 0){const ot=s;if(typeof xe.SubSampleID!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var b=ot===s}else var b=!0;if(b)if(xe.Geometry!==void 0){let ot=xe.Geometry;const Ot=s;if(s===Ot)if(ot&&typeof ot=="object"&&!Array.isArray(ot)){if(ot.epsg!==void 0){let Qt=ot.epsg;if(!(typeof Qt=="number"&&!(Qt%1)&&!isNaN(Qt)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var b=Ot===s}else var b=!0}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var T=rt===s;if(!T)break}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=Xe===s}else var D=!0;if(D)if(Ae.TestPackages!==void 0){let he=Ae.TestPackages;const Xe=s;if(s===Xe)if(Array.isArray(he)){var N=!0;const Ee=he.length;for(let Pe=0;Pe1){const rt={};for(;Pe--;){let et=he[Pe];if(typeof et=="string"){if(typeof rt[et]=="number")return xe=rt[et],$e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Pe,j:xe},message:"must NOT have duplicate items (items ## "+xe+" and "+Pe+" are identical)"}],!1;rt[et]=Pe}}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var D=Xe===s}else var D=!0}}}}}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var V=nt===s}else var V=!0;if(V)if(Ze.Comments!==void 0){const Ae=s;if(typeof Ze.Comments!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var V=Ae===s}else var V=!0}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples/"+ce,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/properties/PlantSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var I=Ct===s;if(!I)break}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant/PlantSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/properties/PlantSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var M=Ce===s}else var M=!0}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Plant",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Plant/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var y=H===s}else var y=!0;if(y){if(Ye.Nematode!==void 0){let E=Ye.Nematode;const H=s;if(s===H)if(E&&typeof E=="object"&&!Array.isArray(E)){if(E.DepthRefs!==void 0){let ie=E.DepthRefs;const Ce=s;if(s===s)if(Array.isArray(ie)){var A=!0;const oe=ie.length;for(let ce=0;ce=",limit:0},message:"must be >= 0"}],!1;var j=B===s}else var j=!0;if(j){if(Ze.EndingDepth!==void 0){let nt=Ze.EndingDepth;const B=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===B&&typeof nt=="number"&&(nt<0||isNaN(nt)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/EndingDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/EndingDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var j=B===s}else var j=!0;if(j){if(Ze.ColumnDepth!==void 0){let nt=Ze.ColumnDepth;const B=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===B&&typeof nt=="number"&&(nt<0||isNaN(nt)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/ColumnDepth",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/ColumnDepth/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"}],!1;var j=B===s}else var j=!0;if(j){if(Ze.DepthUnit!==void 0){const nt=s;if(typeof Ze.DepthUnit!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/DepthUnit",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var j=nt===s}else var j=!0;if(j)if(Ze.DepthID!==void 0){let nt=Ze.DepthID;const B=s;if(!(typeof nt=="number"&&!(nt%1)&&!isNaN(nt)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1;if(s===B&&typeof nt=="number"&&(nt<1||isNaN(nt)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce+"/DepthID",schemaPath:"./global.schema.json#/$defs/DepthRefs/items/properties/DepthID/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"}],!1;var j=B===s}else var j=!0}}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs/"+ce,schemaPath:"./global.schema.json#/$defs/DepthRefs/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var A=Ct===s;if(!A)break}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/DepthRefs",schemaPath:"./global.schema.json#/$defs/DepthRefs/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var O=Ce===s}else var O=!0;if(O)if(E.NematodeSamples!==void 0){let ie=E.NematodeSamples;const Ce=s;if(s===Ce)if(Array.isArray(ie)){var R=!0;const oe=ie.length;for(let ce=0;ce=",limit:0},message:"must be >= 0"}],!1;var ue=Ot===s}else var ue=!0;if(ue){if(xe.SubSampleID!==void 0){const ot=s;if(typeof xe.SubSampleID!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var ue=ot===s}else var ue=!0;if(ue)if(xe.Geometry!==void 0){let ot=xe.Geometry;const Ot=s;if(s===Ot)if(ot&&typeof ot=="object"&&!Array.isArray(ot)){if(ot.epsg!==void 0){let Qt=ot.epsg;if(!(typeof Qt=="number"&&!(Qt%1)&&!isNaN(Qt)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ue=Ot===s}else var ue=!0}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/SubSamples/"+Pe,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var W=rt===s;if(!W)break}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var te=Xe===s}else var te=!0;if(te)if(Ae.TestPackages!==void 0){let he=Ae.TestPackages;const Xe=s;if(s===Xe)if(Array.isArray(he)){var F=!0;const Ee=he.length;for(let Pe=0;Pe1){const rt={};for(;Pe--;){let et=he[Pe];if(typeof et=="string"){if(typeof rt[et]=="number")return xe=rt[et],$e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Pe,j:xe},message:"must NOT have duplicate items (items ## "+xe+" and "+Pe+" are identical)"}],!1;rt[et]=Pe}}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var te=Xe===s}else var te=!0}}}}}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var le=nt===s}else var le=!0;if(le){if(Ze.Depths!==void 0){let Ae=Ze.Depths;const nt=s;if(s===nt)if(Array.isArray(Ae)){var J=!0;const he=Ae.length;for(let Xe=0;Xe=",limit:1},message:"must be >= 1"}],!1}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/Depths/"+Xe,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var J=Ee===s;if(!J)break}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/Depths",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/properties/Depths/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var le=nt===s}else var le=!0;if(le)if(Ze.Comments!==void 0){const Ae=s;if(typeof Ze.Comments!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var le=Ae===s}else var le=!0}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples/"+ce,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var R=Ct===s;if(!R)break}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode/NematodeSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/properties/NematodeSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var O=Ce===s}else var O=!0}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Nematode",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Nematode/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var y=H===s}else var y=!0;if(y){if(Ye.Water!==void 0){let E=Ye.Water;const H=s;if(s===H)if(E&&typeof E=="object"&&!Array.isArray(E)){if(E.WaterSamples!==void 0){let ie=E.WaterSamples;if(s===s)if(Array.isArray(ie)){var k=!0;const gt=ie.length;for(let oe=0;oe=",limit:0},message:"must be >= 0"}],!1;var q=ot===s}else var q=!0;if(q){if(Pe.SubSampleID!==void 0){const et=s;if(typeof Pe.SubSampleID!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var q=et===s}else var q=!0;if(q)if(Pe.Geometry!==void 0){let et=Pe.Geometry;const ot=s;if(s===ot)if(et&&typeof et=="object"&&!Array.isArray(et)){if(et.epsg!==void 0){let Kt=et.epsg;if(!(typeof Kt=="number"&&!(Kt%1)&&!isNaN(Kt)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var q=ot===s}else var q=!0}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var z=xe===s;if(!z)break}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var U=he===s}else var U=!0;if(U)if(Ue.TestPackages!==void 0){let B=Ue.TestPackages;const he=s;if(s===he)if(Array.isArray(B)){var Ie=!0;const Qe=B.length;for(let Ee=0;Ee1){const xe={};for(;Ee--;){let rt=B[Ee];if(typeof rt=="string"){if(typeof xe[rt]=="number")return Pe=xe[rt],$e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ee,j:Pe},message:"must NOT have duplicate items (items ## "+Pe+" and "+Ee+" are identical)"}],!1;xe[rt]=Ee}}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var U=he===s}else var U=!0}}}}}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Fe=Ae===s}else var Fe=!0;if(Fe){if(ce.Source!==void 0){const Ue=s;if(typeof ce.Source!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Water/WaterSamples/"+oe+"/Source",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Water/properties/WaterSamples/items/properties/Source/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Fe=Ue===s}else var Fe=!0;if(Fe){if(ce.NutrientResults!==void 0){let Ue=ce.NutrientResults;const Ae=s;if(s===s)if(Array.isArray(Ue)){var Le=!0;const he=Ue.length;for(let Xe=0;Xe=",limit:0},message:"must be >= 0"}],!1;var dt=ot===s}else var dt=!0;if(dt){if(Pe.SubSampleID!==void 0){const et=s;if(typeof Pe.SubSampleID!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/SubSampleID",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/SubSampleID/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var dt=et===s}else var dt=!0;if(dt)if(Pe.Geometry!==void 0){let et=Pe.Geometry;const ot=s;if(s===ot)if(et&&typeof et=="object"&&!Array.isArray(et)){if(et.epsg!==void 0){let Kt=et.epsg;if(!(typeof Kt=="number"&&!(Kt%1)&&!isNaN(Kt)))return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/Geometry/epsg",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/properties/epsg/type",keyword:"type",params:{type:"integer"},message:"must be integer"}],!1}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee+"/Geometry",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/properties/Geometry/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var dt=ot===s}else var dt=!0}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/SubSamples/"+Ee,schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var ae=xe===s;if(!ae)break}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/SubSamples",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/SubSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var be=he===s}else var be=!0;if(be)if(Ue.TestPackages!==void 0){let B=Ue.TestPackages;const he=s;if(s===he)if(Array.isArray(B)){var P=!0;const Qe=B.length;for(let Ee=0;Ee1){const xe={};for(;Ee--;){let rt=B[Ee];if(typeof rt=="string"){if(typeof xe[rt]=="number")return Pe=xe[rt],$e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/uniqueItems",keyword:"uniqueItems",params:{i:Ee,j:Pe},message:"must NOT have duplicate items (items ## "+Pe+" and "+Ee+" are identical)"}],!1;xe[rt]=Ee}}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData/TestPackages",schemaPath:"./global.schema.json#/$defs/SampleMetaData/properties/TestPackages/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var be=he===s}else var be=!0}}}}}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/SampleMetaData",schemaPath:"./global.schema.json#/$defs/SampleMetaData/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Ve=Ae===s}else var Ve=!0;if(Ve){if(ce.ResidueResults!==void 0){let Ue=ce.ResidueResults;const Ae=s;if(s===s)if(Array.isArray(Ue)){var we=!0;const he=Ue.length;for(let Xe=0;Xe50)return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/maxLength",keyword:"maxLength",params:{limit:50},message:"must NOT have more than 50 characters"}],!1;if(x5(xe)<1)return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/minLength",keyword:"minLength",params:{limit:1},message:"must NOT have fewer than 1 characters"}],!1}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/CASRN",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/CASRN/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Y=rt===s}else var Y=!0;if(Y){if(Qe.Value!==void 0){const xe=s;if(typeof Qe.Value!="number")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/Value",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/Value/type",keyword:"type",params:{type:"number"},message:"must be number"}],!1;var Y=xe===s}else var Y=!0;if(Y){if(Qe.ValueUnit!==void 0){const xe=s;if(typeof Qe.ValueUnit!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/ValueUnit",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueUnit/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Y=xe===s}else var Y=!0;if(Y){if(Qe.ValueType!==void 0){const xe=s;if(typeof Qe.ValueType!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/ValueType",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueType/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Y=xe===s}else var Y=!0;if(Y)if(Qe.ValueDesc!==void 0){const xe=s;if(typeof Qe.ValueDesc!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe+"/ValueDesc",schemaPath:"./global.schema.json#/$defs/ResidueResults/items/properties/ValueDesc/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Y=xe===s}else var Y=!0}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults/"+Xe,schemaPath:"./global.schema.json#/$defs/ResidueResults/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var we=Ee===s;if(!we)break}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/ResidueResults",schemaPath:"./global.schema.json#/$defs/ResidueResults/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var Ve=Ae===s}else var Ve=!0;if(Ve)if(ce.Comments!==void 0){const Ue=s;if(typeof ce.Comments!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var Ve=Ue===s}else var Ve=!0}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples/"+oe,schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var Re=Ze===s;if(!Re)break}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue/ResidueSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/properties/ResidueSamples/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples/Residue",schemaPath:"#/properties/Events/items/properties/EventSamples/properties/Residue/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var y=H===s}else var y=!0}}}}else return $e.errors=[{instancePath:t+"/Events/"+x+"/EventSamples",schemaPath:"#/properties/Events/items/properties/EventSamples/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=G===s}else var u=!0;if(u){if(Ne.Comments!==void 0){const Ye=s;if(typeof Ne.Comments!="string")return $e.errors=[{instancePath:t+"/Events/"+x+"/Comments",schemaPath:"./global.schema.json#/$defs/Comments/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var u=Ye===s}else var u=!0;if(u)if(Ne.ModusSubmit!==void 0){const Ye=s;$e(Ne.ModusSubmit,{instancePath:t+"/Events/"+x+"/ModusSubmit",parentData:Ne,parentDataProperty:"ModusSubmit",rootData:a})||(i=i===null?$e.errors:i.concat($e.errors),s=i.length);var u=Ye===s}else var u=!0}}}}}}else return $e.errors=[{instancePath:t+"/Events/"+x,schemaPath:"#/properties/Events/items/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var l=it===s;if(!l)break}}else return $e.errors=[{instancePath:t+"/Events",schemaPath:"#/properties/Events/type",keyword:"type",params:{type:"array"},message:"must be array"}],!1;var o=Te===s}else var o=!0;if(o)if(e.Version!==void 0){const Q=s;if(typeof e.Version!="string")return $e.errors=[{instancePath:t+"/Version",schemaPath:"#/properties/Version/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=Q===s}else var o=!0}}else return $e.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return $e.errors=i,s===0}const loe=Vt("@modusjs/convert#xml:error"),DP=Vt("@modusjs/convert#xml:error");Vt("@modusjs/convert:info");const uoe=Vt("@modusjs/convert:trace"),{red:coe,yellow:IP}=vF;function foe(e){const t=moe(e);if(Wr.has(t,"/Events/0/EventSamples/Soil/SoilSamples")){let r=Wr.get(t,"/Events/0/EventSamples/Soil/SoilSamples");r=r.map(n=>(n.NutrientRecommendations&&(n.NutrientRecommendations=n.NutrientRecommendations.map(a=>(Array.isArray(a)||(a=[a]),a.map(i=>({...i,RecID:""+i.RecID}))))),n)),Wr.set(t,"/Events/0/EventSamples/Soil/SoilSamples",r)}return Vte(t),t}function moe(e){const t=R$(e,{xmlMode:!0}),r=({xml:u,opts:c,path:f})=>{const m={};if(f=f||"",!u)return null;const{emptyTagsBecomeTrue:d}=c;c.emptyTagsBecomeTrue=!1;for(const h of u.attributes)c.ignoreKeys[h.name]||(m[h.name]=s({str:h.value,tagname:h.name,path:`${f}/${h.name}`,opts:c}));for(const h of u.children){if(!Ft(h)||c.ignoreKeys[h.tagName])continue;const p=`${f}/${h.tagName}`;if(c.overrides?.[h.tagName]){const S=c.overrides[h.tagName];switch(S.type){case"keyedSet":m[h.tagName]=n({xml:h,id_attrib:S.id_attrib,opts:c,path:p});break;case"accumulateArray":i({ret:m,tag:S.finalKeynameForArrayInParent,xml:h,opts:c,path:p});break;case"array":m[h.tagName]=a({xml:h,opts:c,path:p});break;case"emptyTagsBecomeTrue":m[h.tagName]=r({xml:h,opts:{...c,emptyTagsBecomeTrue:!0},path:p});break}continue}if(poe(h)>0){m[h.tagName]=r({xml:h,opts:c,path:p});continue}if(d&&h.children.length===0){m[h.tagName]=!0;continue}const _=t(h).text().trim();_!==""&&(m[h.tagName]=s({str:_,tagname:h.tagName,path:p,opts:c}))}return m};function n({xml:u,id_attrib:c,opts:f,path:m}){if(!u)return null;let d={};for(const h of u.children){if(!Ft(h))continue;const p=h.attribs[c];if(!p){DP(IP("WARNING:"),"key ",h.tagName," under ",u.tagName,"at path",m,"does not contain required ID attribute ",c,", ignoring"),uoe("Attributes available are: ",h.attribs);continue}d[p]=r({xml:h,opts:f,path:`${m}/${p}`})}return d}function a({xml:u,opts:c,path:f}){const m=[];for(const d of u.children){if(!Ft(d))continue;const h=r({xml:d,opts:c,path:`${f}/${d.tagName}`});h&&m.push(h)}return m}function i({ret:u,tag:c,xml:f,opts:m,path:d}){Array.isArray(u[c])||(u[c]=[]);const h=r({xml:f,opts:m,path:d});h&&u[c].push(h)}function s({str:u,tagname:c,path:f,opts:m}){return!!m.parseAsNumbers[c]&&!m.pathRegexParseAsStrings.find(h=>f.match(h))?+u:u.toLowerCase()==="false"?!1:u.toLowerCase()==="true"?!0:u}const o=doe(t("ModusResult"));if(!o)throw loe(coe("ERROR:")," no ModusResult found in file."),new Error("No ModusResult found.");let l=r({xml:o,opts:{overrides:{Event:{type:"accumulateArray",finalKeynameForArrayInParent:"Events"},Reports:{type:"array"},DepthRefs:{type:"array"},Depths:{type:"array"},SoilSample:{type:"accumulateArray",finalKeynameForArrayInParent:"SoilSamples"},PlantSample:{type:"accumulateArray",finalKeynameForArrayInParent:"PlantSamples"},NutrientResults:{type:"array"},EventType:{type:"emptyTagsBecomeTrue"},FMISAllowedLabEquations:{type:"array"},SiteAttributes:{type:"array"},RecommendationRefs:{type:"array"},RecommendationRequests:{type:"array"},NutrientRecommendations:{type:"array"},NutrientRecommendation:{type:"array"},NematodeResults:{type:"array"},LifeStageValues:{type:"array"},ResidueResults:{type:"array"},TextureResults:{type:"array"},SensorResults:{type:"array"},SubSamples:{type:"array"},TestPackages:{type:"array"},TestPackageRefs:{type:"array"},Variables:{type:"array"},NematodeSample:{type:"accumulateArray",finalKeynameForArrayInParent:"NematodeSamples"},WaterSample:{type:"accumulateArray",finalKeynameForArrayInParent:"WaterSamples"},ResidueSample:{type:"accumulateArray",finalKeynameForArrayInParent:"ResidueSamples"},Warnings:{type:"array"}},parseAsNumbers:{SampleGroupID:!0,ReportID:!0,epsg:!0,SubSampleNumber:!0,StartingDepth:!0,EndingDepth:!0,ColumnDepth:!0,DepthID:!0,DisplayOrder:!0,RecID:!0,Value:!0},pathRegexParseAsStrings:[/Variables\/[^\/]+\/Value/,/LifeStageValues\/[^\/]+\/Value/,/Depths\/[^\/]+\/DepthID/],ignoreKeys:{"xmlns:xsi":!0,"xsi:noNamespaceSchemaLocation":!0}}});return l=noe(l),l._type="application/vnd.modus.v1.modus-result+json",l}function poe(e){if(!e.children)return 0;let t=0;for(const r of e.children)Ft(r)&&t++;return t}function doe(e){const t=e.toArray().filter(Ft);return t.length<1?null:(t.length>1&&DP(IP("WARNING:"),`Tag ${t[0].tagName} can only exist once at this level, but multiple tags found. Only using first one.`),t[0])}Vt("@modusjs/convert#html:error");Vt("@modusjs/convert#html:info");Vt("@modusjs/convert#html:trace");var zp={exports:{}},OP={exports:{}};(function(e,t){(function(r,n){n()})(Zs,function(){function r(u,c){return typeof c>"u"?c={autoBom:!1}:typeof c!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),c={autoBom:!c}),c.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob(["\uFEFF",u],{type:u.type}):u}function n(u,c,f){var m=new XMLHttpRequest;m.open("GET",u),m.responseType="blob",m.onload=function(){l(m.response,c,f)},m.onerror=function(){console.error("could not download file")},m.send()}function a(u){var c=new XMLHttpRequest;c.open("HEAD",u,!1);try{c.send()}catch{}return 200<=c.status&&299>=c.status}function i(u){try{u.dispatchEvent(new MouseEvent("click"))}catch{var c=document.createEvent("MouseEvents");c.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),u.dispatchEvent(c)}}var s=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Zs=="object"&&Zs.global===Zs?Zs:void 0,o=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=s.saveAs||(typeof window!="object"||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(u,c,f){var m=s.URL||s.webkitURL,d=document.createElement("a");c=c||u.name||"download",d.download=c,d.rel="noopener",typeof u=="string"?(d.href=u,d.origin===location.origin?i(d):a(d.href)?n(u,c,f):i(d,d.target="_blank")):(d.href=m.createObjectURL(u),setTimeout(function(){m.revokeObjectURL(d.href)},4e4),setTimeout(function(){i(d)},0))}:"msSaveOrOpenBlob"in navigator?function(u,c,f){if(c=c||u.name||"download",typeof u!="string")navigator.msSaveOrOpenBlob(r(u,f),c);else if(a(u))n(u,c,f);else{var m=document.createElement("a");m.href=u,m.target="_blank",setTimeout(function(){i(m)})}}:function(u,c,f,m){if(m=m||open("","_blank"),m&&(m.document.title=m.document.body.innerText="downloading..."),typeof u=="string")return n(u,c,f);var d=u.type==="application/octet-stream",h=/constructor/i.test(s.HTMLElement)||s.safari,p=/CriOS\/[\d]+/.test(navigator.userAgent);if((p||d&&h||o)&&typeof FileReader<"u"){var _=new FileReader;_.onloadend=function(){var g=_.result;g=p?g:g.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=g:location=g,m=null},_.readAsDataURL(u)}else{var S=s.URL||s.webkitURL,v=S.createObjectURL(u);m?m.location=v:location.href=v,m=null,setTimeout(function(){S.revokeObjectURL(v)},4e4)}});s.saveAs=l.saveAs=l,e.exports=l})})(OP);var hoe=function(t){return atob(t)},kM={exports:{}};(function(e,t){(function(r){function n(a,i){if(a instanceof Boolean||typeof a=="boolean"||(i instanceof Object||(i={}),i.hasOwnProperty("allowBlank")&&!i.allowBlank&&a===""))return!1;var s="(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+/]{3}=)?";return i.mime&&(s="(data:\\w+\\/[a-zA-Z\\+\\-\\.]+;base64,)?"+s),i.paddingRequired===!1&&(s="(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}(==)?|[A-Za-z0-9+\\/]{3}=?)?"),new RegExp("^"+s+"$","gi").test(a)}e.exports&&(t=e.exports=n),t.isBase64=n})()})(kM,kM.exports);var EP=hoe,_oe=kM.exports,goe=function(t){if(typeof t!="string")throw Error("Argument should be a string");return/^data\:/i.test(t)?voe(t):(_oe(t)&&(t=EP(t)),bP(t))};function bP(e){for(var t=new Uint8Array(e.length),r=0;r=0&&(n=n.substr(a+1)),a=n.lastIndexOf("."),a>=0&&(n=n.substr(a+1)),LP[n]||t}};LP={"3gp":"video/3gpp",a:"application/octet-stream",ai:"application/postscript",aif:"audio/x-aiff",aiff:"audio/x-aiff",asc:"application/pgp-signature",asf:"video/x-ms-asf",asm:"text/x-asm",asx:"video/x-ms-asf",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",bat:"application/x-msdownload",bin:"application/octet-stream",bmp:"image/bmp",bz2:"application/x-bzip2",c:"text/x-csrc",cab:"application/vnd.ms-cab-compressed",can:"application/candor",cc:"text/x-c++src",chm:"application/vnd.ms-htmlhelp",class:"application/octet-stream",com:"application/x-msdownload",conf:"text/plain",cpp:"text/x-c",crt:"application/x-x509-ca-cert",css:"text/css",csv:"text/csv",cxx:"text/x-c",deb:"application/x-debian-package",der:"application/x-x509-ca-cert",diff:"text/x-diff",djv:"image/vnd.djvu",djvu:"image/vnd.djvu",dll:"application/x-msdownload",dmg:"application/octet-stream",doc:"application/msword",dot:"application/msword",dtd:"application/xml-dtd",dvi:"application/x-dvi",ear:"application/java-archive",eml:"message/rfc822",eps:"application/postscript",exe:"application/x-msdownload",f:"text/x-fortran",f77:"text/x-fortran",f90:"text/x-fortran",flv:"video/x-flv",for:"text/x-fortran",gem:"application/octet-stream",gemspec:"text/x-script.ruby",gif:"image/gif",gyp:"text/x-script.python",gypi:"text/x-script.python",gz:"application/x-gzip",h:"text/x-chdr",hh:"text/x-c++hdr",htm:"text/html",html:"text/html",ico:"image/vnd.microsoft.icon",ics:"text/calendar",ifb:"text/calendar",iso:"application/octet-stream",jar:"application/java-archive",java:"text/x-java-source",jnlp:"application/x-java-jnlp-file",jpeg:"image/jpeg",jpg:"image/jpeg",js:"application/javascript",json:"application/json",less:"text/css",log:"text/plain",lua:"text/x-script.lua",luac:"application/x-bytecode.lua",makefile:"text/x-makefile",m3u:"audio/x-mpegurl",m4v:"video/mp4",man:"text/troff",manifest:"text/cache-manifest",markdown:"text/x-markdown",mathml:"application/mathml+xml",mbox:"application/mbox",mdoc:"text/troff",md:"text/x-markdown",me:"text/troff",mid:"audio/midi",midi:"audio/midi",mime:"message/rfc822",mml:"application/mathml+xml",mng:"video/x-mng",mov:"video/quicktime",mp3:"audio/mpeg",mp4:"video/mp4",mp4v:"video/mp4",mpeg:"video/mpeg",mpg:"video/mpeg",ms:"text/troff",msi:"application/x-msdownload",odp:"application/vnd.oasis.opendocument.presentation",ods:"application/vnd.oasis.opendocument.spreadsheet",odt:"application/vnd.oasis.opendocument.text",ogg:"application/ogg",p:"text/x-pascal",pas:"text/x-pascal",pbm:"image/x-portable-bitmap",pdf:"application/pdf",pem:"application/x-x509-ca-cert",pgm:"image/x-portable-graymap",pgp:"application/pgp-encrypted",pkg:"application/octet-stream",pl:"text/x-script.perl",pm:"text/x-script.perl-module",png:"image/png",pnm:"image/x-portable-anymap",ppm:"image/x-portable-pixmap",pps:"application/vnd.ms-powerpoint",ppt:"application/vnd.ms-powerpoint",ps:"application/postscript",psd:"image/vnd.adobe.photoshop",py:"text/x-script.python",qt:"video/quicktime",ra:"audio/x-pn-realaudio",rake:"text/x-script.ruby",ram:"audio/x-pn-realaudio",rar:"application/x-rar-compressed",rb:"text/x-script.ruby",rdf:"application/rdf+xml",roff:"text/troff",rpm:"application/x-redhat-package-manager",rss:"application/rss+xml",rtf:"application/rtf",ru:"text/x-script.ruby",s:"text/x-asm",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-sh",sig:"application/pgp-signature",snd:"audio/basic",so:"application/octet-stream",svg:"image/svg+xml",svgz:"image/svg+xml",swf:"application/x-shockwave-flash",t:"text/troff",tar:"application/x-tar",tbz:"application/x-bzip-compressed-tar",tci:"application/x-topcloud",tcl:"application/x-tcl",tex:"application/x-tex",texi:"application/x-texinfo",texinfo:"application/x-texinfo",text:"text/plain",tif:"image/tiff",tiff:"image/tiff",torrent:"application/x-bittorrent",tr:"text/troff",ttf:"application/x-font-ttf",txt:"text/plain",vcf:"text/x-vcard",vcs:"text/x-vcalendar",vrml:"model/vrml",war:"application/java-archive",wav:"audio/x-wav",webapp:"application/x-web-app-manifest+json",webm:"video/webm",wma:"audio/x-ms-wma",wmv:"video/x-ms-wmv",wmx:"video/x-ms-wmx",wrl:"model/vrml",wsdl:"application/wsdl+xml",xbm:"image/x-xbitmap",xhtml:"application/xhtml+xml",xls:"application/vnd.ms-excel",xml:"application/xml",xpm:"image/x-xpixmap",xsl:"application/xml",xslt:"application/xslt+xml",yaml:"text/yaml",yml:"text/yaml",zip:"application/zip"};var boe=Object.prototype.toString,Loe=function(e){return e instanceof Blob||boe.call(e)==="[object Blob]"},Coe=Ooe,Toe=Eoe("application/octect-stream"),xoe=Loe,Aoe=function(t,r){if(!xoe(t)&&!(t instanceof File)){t=Coe(t);var n=Toe(r||"");t=new Blob([t],{type:n})}return t},CP=OP.exports.saveAs,TP=Aoe,vu=null;zp.exports=KO;zp.exports.save=KO;zp.exports.saveSync=koe;function KO(e,t){if(typeof e=="string"&&(typeof t!="string"||t.length>e.length)){var r=t;t=e,e=r}var n=TP(e,t);return vu?vu.then(function(){return vu=KO(e,t),vu}):(vu=new Promise(function(a,i){CP(n,t),window.addEventListener("focus",function s(){vu=null,window.removeEventListener("focus",s),a()})}),vu)}function koe(e,t){return CP(TP(e,t),t)}const xP=Vt("@modusjs/convert#file:error");Vt("@modusjs/convert#file:error");const k5=Vt("@modusjs/convert#file:info"),w5=Vt("@modusjs/convert#file:trace");function woe(e){let{modus:t,filename:r,outdir:n,outputtype:a}=e;if(Array.isArray(t)||(t=[t]),t.length<1)return xP("computeSaveFilename: FAIL: there were no modus results"),"";const i=!!n;return n=n?.trim().replace(/\/$/,"")||".",a!=="json"?r=r||`modus_conversion.${a}`:r=r||t[0].output_filename||"modus_results.json",!r.match(/^\//)&&i&&(r=`${n}/${r}`),r}async function u2(e){let{modus:t,outputtype:r,outdir:n,filename:a,compact:i}=e;if(Array.isArray(t)||(t=[t]),t.length<1)throw xP("Save failed, there were no results to save."),new Error("ERROR: save failed, there were no results to save.");switch(a=woe(e),r){case"csv":case"xlsx":const{wb:s}=Jie(t.map(f=>f.modus));Cee(s,a,{bookType:r}),k5("Saved ",r,"to",a);break;case"json":if(t.length===1){const f=i?JSON.stringify(t[0].modus):JSON.stringify(t[0].modus,null," ");await zp.exports(f,a)}else return w5("Multiple JSON conversions results found, saving as zip instead of individual JSON files. Map over them and call save one at a time to save each, or use the node-specific file save."),u2({modus:t,outputtype:"zip",outdir:n,compact:i});break;case"zip":const o=new uw,l=o.folder("modus_conversion");if(!l)throw new Error("Failed to create zip folder when building zip file for download.");let u=0;for(const f of t){const m=i?JSON.stringify(f.modus):JSON.stringify(f.modus,null," ");l.file(f.output_filename||`modus_result${u++===0?"":` (${u-1})`}.json`,m)}const c=await o.generateAsync({type:"arraybuffer"});w5("zip array buffer has",c.byteLength,"bytes"),await zp.exports(c,a),k5("Saved zipfile successfully to",a);break}}const P5=Vt("@modusjs/convert#browser/file:error");Vt("@modusjs/convert#browser/file:info");Vt("@modusjs/convert#browser/file:trace");async function AP(e,t){Array.isArray(e)||(e=[e]);const r=e.map(async a=>{try{const i=zO(a.file.name);if(!i)return P5("File",a.file.name,"has unknown type, skipping. Supported types are:",SP),null;const s={filename:a.file.name};switch(a.format&&(s.format=a.format),i){case"xml":case"csv":case"json":s.str=await Poe(a.file);break;case"xlsx":case"zip":s.arrbuf=await Noe(a.file);break}return s}catch(i){return P5("File",a.file.name,"failed to read. Skipping. Error was:",i),null}}),n=await Promise.all(r);return yP(n.filter(a=>!!a),t)}async function Poe(e){return new Promise((t,r)=>{const n=new FileReader;return n.onload=function(a){return a.target?.result?t(a.target.result.toString()):r(`Failed to read file ${e.name}: no result found in onload`)},n.onerror=n.onabort=a=>r(a),n.readAsText(e)})}async function Noe(e){return new Promise((t,r)=>{const n=new FileReader;return n.onload=function(a){return a.target?.result?t(a.target.result):r(`Failed to read file ${e.name} as ArrayBuffer: no result found in onload`)},n.onerror=n.onabort=a=>r(a),n.readAsArrayBuffer(e)})}Vt("@modusjs/app#state:warn");Vt("@modusjs/apps#state:info");const Uoe=Object.fromEntries(Object.entries(Hm).map(([e,t])=>Object.entries(t||{}).map(([r,n])=>[`${e} - ${r==="undefined"?"Soil":r}`,n])).flat(1)),yt=Zn({tab:"1",messages:[],output:"modusjson2",trellis:{domain:"https://localhost",token:"god"},inzone:!1,headless:!1,labConfig:{select:{},list:Uoe},files:{},table:{order:"asc",orderBy:"filename",selected:[],page:0,dense:!0,rowsPerPage:25,files:{}}});function kP(e,t){return function(){return e.apply(t,arguments)}}const{toString:Voe}=Object.prototype,{getPrototypeOf:qO}=Object,c2=(e=>t=>{const r=Voe.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),So=e=>(e=e.toLowerCase(),t=>c2(t)===e),f2=e=>t=>typeof t===e,{isArray:Lf}=Array,Kp=f2("undefined");function Roe(e){return e!==null&&!Kp(e)&&e.constructor!==null&&!Kp(e.constructor)&&ri(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const wP=So("ArrayBuffer");function Foe(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&wP(e.buffer),t}const Boe=f2("string"),ri=f2("function"),PP=f2("number"),m2=e=>e!==null&&typeof e=="object",Hoe=e=>e===!0||e===!1,sh=e=>{if(c2(e)!=="object")return!1;const t=qO(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$oe=So("Date"),joe=So("File"),Goe=So("Blob"),Woe=So("FileList"),zoe=e=>m2(e)&&ri(e.pipe),Koe=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ri(e.append)&&((t=c2(e))==="formdata"||t==="object"&&ri(e.toString)&&e.toString()==="[object FormData]"))},qoe=So("URLSearchParams"),Yoe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Pd(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,a;if(typeof e!="object"&&(e=[e]),Lf(e))for(n=0,a=e.length;n0;)if(a=r[n],t===a.toLowerCase())return a;return null}const UP=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),VP=e=>!Kp(e)&&e!==UP;function wM(){const{caseless:e}=VP(this)&&this||{},t={},r=(n,a)=>{const i=e&&NP(t,a)||a;sh(t[i])&&sh(n)?t[i]=wM(t[i],n):sh(n)?t[i]=wM({},n):Lf(n)?t[i]=n.slice():t[i]=n};for(let n=0,a=arguments.length;n(Pd(t,(a,i)=>{r&&ri(a)?e[i]=kP(a,r):e[i]=a},{allOwnKeys:n}),e),Xoe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Joe=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Qoe=(e,t,r,n)=>{let a,i,s;const o={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)s=a[i],(!n||n(s,e,t))&&!o[s]&&(t[s]=e[s],o[s]=!0);e=r!==!1&&qO(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},ele=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},tle=e=>{if(!e)return null;if(Lf(e))return e;let t=e.length;if(!PP(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},rle=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&qO(Uint8Array)),nle=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},sle=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},ale=So("HTMLFormElement"),ile=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),N5=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),ole=So("RegExp"),RP=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Pd(r,(a,i)=>{let s;(s=t(a,i,e))!==!1&&(n[i]=s||a)}),Object.defineProperties(e,n)},lle=e=>{RP(e,(t,r)=>{if(ri(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(!!ri(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},ule=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return Lf(e)?n(e):n(String(e).split(t)),r},cle=()=>{},fle=(e,t)=>(e=+e,Number.isFinite(e)?e:t),xS="abcdefghijklmnopqrstuvwxyz",U5="0123456789",FP={DIGIT:U5,ALPHA:xS,ALPHA_DIGIT:xS+xS.toUpperCase()+U5},mle=(e=16,t=FP.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function ple(e){return!!(e&&ri(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const dle=e=>{const t=new Array(10),r=(n,a)=>{if(m2(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[a]=n;const i=Lf(n)?[]:{};return Pd(n,(s,o)=>{const l=r(s,a+1);!Kp(l)&&(i[o]=l)}),t[a]=void 0,i}}return n};return r(e,0)},hle=So("AsyncFunction"),_le=e=>e&&(m2(e)||ri(e))&&ri(e.then)&&ri(e.catch),at={isArray:Lf,isArrayBuffer:wP,isBuffer:Roe,isFormData:Koe,isArrayBufferView:Foe,isString:Boe,isNumber:PP,isBoolean:Hoe,isObject:m2,isPlainObject:sh,isUndefined:Kp,isDate:$oe,isFile:joe,isBlob:Goe,isRegExp:ole,isFunction:ri,isStream:zoe,isURLSearchParams:qoe,isTypedArray:rle,isFileList:Woe,forEach:Pd,merge:wM,extend:Zoe,trim:Yoe,stripBOM:Xoe,inherits:Joe,toFlatObject:Qoe,kindOf:c2,kindOfTest:So,endsWith:ele,toArray:tle,forEachEntry:nle,matchAll:sle,isHTMLForm:ale,hasOwnProperty:N5,hasOwnProp:N5,reduceDescriptors:RP,freezeMethods:lle,toObjectSet:ule,toCamelCase:ile,noop:cle,toFiniteNumber:fle,findKey:NP,global:UP,isContextDefined:VP,ALPHABET:FP,generateString:mle,isSpecCompliantForm:ple,toJSONObject:dle,isAsyncFn:hle,isThenable:_le};function ur(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a)}at.inherits(ur,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:at.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const BP=ur.prototype,HP={};["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","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{HP[e]={value:e}});Object.defineProperties(ur,HP);Object.defineProperty(BP,"isAxiosError",{value:!0});ur.from=(e,t,r,n,a,i)=>{const s=Object.create(BP);return at.toFlatObject(e,s,function(l){return l!==Error.prototype},o=>o!=="isAxiosError"),ur.call(s,e.message,t,r,n,a),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const gle=null;function PM(e){return at.isPlainObject(e)||at.isArray(e)}function $P(e){return at.endsWith(e,"[]")?e.slice(0,-2):e}function V5(e,t,r){return e?e.concat(t).map(function(a,i){return a=$P(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function vle(e){return at.isArray(e)&&!e.some(PM)}const Sle=at.toFlatObject(at,{},null,function(t){return/^is[A-Z]/.test(t)});function p2(e,t,r){if(!at.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=at.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,_){return!at.isUndefined(_[p])});const n=r.metaTokens,a=r.visitor||c,i=r.dots,s=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&at.isSpecCompliantForm(t);if(!at.isFunction(a))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(at.isDate(h))return h.toISOString();if(!l&&at.isBlob(h))throw new ur("Blob is not supported. Use a Buffer instead.");return at.isArrayBuffer(h)||at.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,p,_){let S=h;if(h&&!_&&typeof h=="object"){if(at.endsWith(p,"{}"))p=n?p:p.slice(0,-2),h=JSON.stringify(h);else if(at.isArray(h)&&vle(h)||(at.isFileList(h)||at.endsWith(p,"[]"))&&(S=at.toArray(h)))return p=$P(p),S.forEach(function(g,y){!(at.isUndefined(g)||g===null)&&t.append(s===!0?V5([p],y,i):s===null?p:p+"[]",u(g))}),!1}return PM(h)?!0:(t.append(V5(_,p,i),u(h)),!1)}const f=[],m=Object.assign(Sle,{defaultVisitor:c,convertValue:u,isVisitable:PM});function d(h,p){if(!at.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+p.join("."));f.push(h),at.forEach(h,function(S,v){(!(at.isUndefined(S)||S===null)&&a.call(t,S,at.isString(v)?v.trim():v,p,m))===!0&&d(S,p?p.concat(v):[v])}),f.pop()}}if(!at.isObject(e))throw new TypeError("data must be an object");return d(e),t}function R5(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function YO(e,t){this._pairs=[],e&&p2(e,this,t)}const jP=YO.prototype;jP.append=function(t,r){this._pairs.push([t,r])};jP.toString=function(t){const r=t?function(n){return t.call(this,n,R5)}:R5;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function yle(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function GP(e,t,r){if(!t)return e;const n=r&&r.encode||yle,a=r&&r.serialize;let i;if(a?i=a(t,r):i=at.isURLSearchParams(t)?t.toString():new YO(t,r).toString(n),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Mle{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){at.forEach(this.handlers,function(n){n!==null&&t(n)})}}const F5=Mle,WP={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dle=typeof URLSearchParams<"u"?URLSearchParams:YO,Ile=typeof FormData<"u"?FormData:null,Ole=typeof Blob<"u"?Blob:null,Ele={isBrowser:!0,classes:{URLSearchParams:Dle,FormData:Ile,Blob:Ole},protocols:["http","https","file","blob","url","data"]},zP=typeof window<"u"&&typeof document<"u",ble=(e=>zP&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Lle=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Cle=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:zP,hasStandardBrowserWebWorkerEnv:Lle,hasStandardBrowserEnv:ble},Symbol.toStringTag,{value:"Module"})),ro={...Cle,...Ele};function Tle(e,t){return p2(e,new ro.classes.URLSearchParams,Object.assign({visitor:function(r,n,a,i){return ro.isNode&&at.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function xle(e){return at.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Ale(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n=r.length;return s=!s&&at.isArray(a)?a.length:s,l?(at.hasOwnProp(a,s)?a[s]=[a[s],n]:a[s]=n,!o):((!a[s]||!at.isObject(a[s]))&&(a[s]=[]),t(r,n,a[s],i)&&at.isArray(a[s])&&(a[s]=Ale(a[s])),!o)}if(at.isFormData(e)&&at.isFunction(e.entries)){const r={};return at.forEachEntry(e,(n,a)=>{t(xle(n),a,r,0)}),r}return null}function kle(e,t,r){if(at.isString(e))try{return(t||JSON.parse)(e),at.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const ZO={transitional:WP,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=at.isObject(t);if(i&&at.isHTMLForm(t)&&(t=new FormData(t)),at.isFormData(t))return a?JSON.stringify(KP(t)):t;if(at.isArrayBuffer(t)||at.isBuffer(t)||at.isStream(t)||at.isFile(t)||at.isBlob(t))return t;if(at.isArrayBufferView(t))return t.buffer;if(at.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Tle(t,this.formSerializer).toString();if((o=at.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return p2(o?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||a?(r.setContentType("application/json",!1),kle(t)):t}],transformResponse:[function(t){const r=this.transitional||ZO.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(t&&at.isString(t)&&(n&&!this.responseType||a)){const s=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(o){if(s)throw o.name==="SyntaxError"?ur.from(o,ur.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ro.classes.FormData,Blob:ro.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};at.forEach(["delete","get","head","post","put","patch"],e=>{ZO.headers[e]={}});const XO=ZO,wle=at.toObjectSet(["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"]),Ple=e=>{const t={};let r,n,a;return e&&e.split(` +`).forEach(function(s){a=s.indexOf(":"),r=s.substring(0,a).trim().toLowerCase(),n=s.substring(a+1).trim(),!(!r||t[r]&&wle[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},B5=Symbol("internals");function Wf(e){return e&&String(e).trim().toLowerCase()}function ah(e){return e===!1||e==null?e:at.isArray(e)?e.map(ah):String(e)}function Nle(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Ule=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function AS(e,t,r,n,a){if(at.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!at.isString(t)){if(at.isString(n))return t.indexOf(n)!==-1;if(at.isRegExp(n))return n.test(t)}}function Vle(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Rle(e,t){const r=at.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,i,s){return this[n].call(this,t,a,i,s)},configurable:!0})})}class d2{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(o,l,u){const c=Wf(l);if(!c)throw new Error("header name must be a non-empty string");const f=at.findKey(a,c);(!f||a[f]===void 0||u===!0||u===void 0&&a[f]!==!1)&&(a[f||l]=ah(o))}const s=(o,l)=>at.forEach(o,(u,c)=>i(u,c,l));return at.isPlainObject(t)||t instanceof this.constructor?s(t,r):at.isString(t)&&(t=t.trim())&&!Ule(t)?s(Ple(t),r):t!=null&&i(r,t,n),this}get(t,r){if(t=Wf(t),t){const n=at.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return Nle(a);if(at.isFunction(r))return r.call(this,a,n);if(at.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Wf(t),t){const n=at.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||AS(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function i(s){if(s=Wf(s),s){const o=at.findKey(n,s);o&&(!r||AS(n,n[o],o,r))&&(delete n[o],a=!0)}}return at.isArray(t)?t.forEach(i):i(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const i=r[n];(!t||AS(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const r=this,n={};return at.forEach(this,(a,i)=>{const s=at.findKey(n,i);if(s){r[s]=ah(a),delete r[i];return}const o=t?Vle(i):String(i).trim();o!==i&&delete r[i],r[o]=ah(a),n[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return at.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&at.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[B5]=this[B5]={accessors:{}}).accessors,a=this.prototype;function i(s){const o=Wf(s);n[o]||(Rle(a,s),n[o]=!0)}return at.isArray(t)?t.forEach(i):i(t),this}}d2.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);at.reduceDescriptors(d2.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});at.freezeMethods(d2);const jo=d2;function kS(e,t){const r=this||XO,n=t||r,a=jo.from(n.headers);let i=n.data;return at.forEach(e,function(o){i=o.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function qP(e){return!!(e&&e.__CANCEL__)}function Nd(e,t,r){ur.call(this,e??"canceled",ur.ERR_CANCELED,t,r),this.name="CanceledError"}at.inherits(Nd,ur,{__CANCEL__:!0});function Fle(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new ur("Request failed with status code "+r.status,[ur.ERR_BAD_REQUEST,ur.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const Ble=ro.hasStandardBrowserEnv?{write(e,t,r,n,a,i){const s=[e+"="+encodeURIComponent(t)];at.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),at.isString(n)&&s.push("path="+n),at.isString(a)&&s.push("domain="+a),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Hle(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function $le(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function YP(e,t){return e&&!Hle(t)?$le(e,t):t}const jle=ro.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function a(i){let s=i;return t&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=a(window.location.href),function(s){const o=at.isString(s)?a(s):s;return o.protocol===n.protocol&&o.host===n.host}}():function(){return function(){return!0}}();function Gle(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Wle(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,i=0,s;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=n[i];s||(s=u),r[a]=l,n[a]=u;let f=i,m=0;for(;f!==a;)m+=r[f++],f=f%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),u-s{const i=a.loaded,s=a.lengthComputable?a.total:void 0,o=i-r,l=n(o),u=i<=s;r=i;const c={loaded:i,total:s,progress:s?i/s:void 0,bytes:o,rate:l||void 0,estimated:l&&s&&u?(s-i)/l:void 0,event:a};c[t?"download":"upload"]=!0,e(c)}}const zle=typeof XMLHttpRequest<"u",Kle=zle&&function(e){return new Promise(function(r,n){let a=e.data;const i=jo.from(e.headers).normalize();let{responseType:s,withXSRFToken:o}=e,l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let c;if(at.isFormData(a)){if(ro.hasStandardBrowserEnv||ro.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((c=i.getContentType())!==!1){const[p,..._]=c?c.split(";").map(S=>S.trim()).filter(Boolean):[];i.setContentType([p||"multipart/form-data",..._].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(p+":"+_))}const m=YP(e.baseURL,e.url);f.open(e.method.toUpperCase(),GP(m,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function d(){if(!f)return;const p=jo.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),S={data:!s||s==="text"||s==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:p,config:e,request:f};Fle(function(g){r(g),u()},function(g){n(g),u()},S),f=null}if("onloadend"in f?f.onloadend=d:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(d)},f.onabort=function(){!f||(n(new ur("Request aborted",ur.ECONNABORTED,e,f)),f=null)},f.onerror=function(){n(new ur("Network Error",ur.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let _=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const S=e.transitional||WP;e.timeoutErrorMessage&&(_=e.timeoutErrorMessage),n(new ur(_,S.clarifyTimeoutError?ur.ETIMEDOUT:ur.ECONNABORTED,e,f)),f=null},ro.hasStandardBrowserEnv&&(o&&at.isFunction(o)&&(o=o(e)),o||o!==!1&&jle(m))){const p=e.xsrfHeaderName&&e.xsrfCookieName&&Ble.read(e.xsrfCookieName);p&&i.set(e.xsrfHeaderName,p)}a===void 0&&i.setContentType(null),"setRequestHeader"in f&&at.forEach(i.toJSON(),function(_,S){f.setRequestHeader(S,_)}),at.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),s&&s!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",H5(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",H5(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=p=>{!f||(n(!p||p.type?new Nd(null,e,f):p),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=Gle(m);if(h&&ro.protocols.indexOf(h)===-1){n(new ur("Unsupported protocol "+h+":",ur.ERR_BAD_REQUEST,e));return}f.send(a||null)})},NM={http:gle,xhr:Kle};at.forEach(NM,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const $5=e=>`- ${e}`,qle=e=>at.isFunction(e)||e===null||e===!1,ZP={getAdapter:e=>{e=at.isArray(e)?e:[e];const{length:t}=e;let r,n;const a={};for(let i=0;i`adapter ${o} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since : +`+i.map($5).join(` +`):" "+$5(i[0]):"as no adapter specified";throw new ur("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n},adapters:NM};function wS(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Nd(null,e)}function j5(e){return wS(e),e.headers=jo.from(e.headers),e.data=kS.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ZP.getAdapter(e.adapter||XO.adapter)(e).then(function(n){return wS(e),n.data=kS.call(e,e.transformResponse,n),n.headers=jo.from(n.headers),n},function(n){return qP(n)||(wS(e),n&&n.response&&(n.response.data=kS.call(e,e.transformResponse,n.response),n.response.headers=jo.from(n.response.headers))),Promise.reject(n)})}const G5=e=>e instanceof jo?e.toJSON():e;function ef(e,t){t=t||{};const r={};function n(u,c,f){return at.isPlainObject(u)&&at.isPlainObject(c)?at.merge.call({caseless:f},u,c):at.isPlainObject(c)?at.merge({},c):at.isArray(c)?c.slice():c}function a(u,c,f){if(at.isUndefined(c)){if(!at.isUndefined(u))return n(void 0,u,f)}else return n(u,c,f)}function i(u,c){if(!at.isUndefined(c))return n(void 0,c)}function s(u,c){if(at.isUndefined(c)){if(!at.isUndefined(u))return n(void 0,u)}else return n(void 0,c)}function o(u,c,f){if(f in t)return n(u,c);if(f in e)return n(void 0,u)}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken: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:o,headers:(u,c)=>a(G5(u),G5(c),!0)};return at.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||a,m=f(e[c],t[c],c);at.isUndefined(m)&&f!==o||(r[c]=m)}),r}const XP="1.6.7",JO={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{JO[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const W5={};JO.transitional=function(t,r,n){function a(i,s){return"[Axios v"+XP+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,o)=>{if(t===!1)throw new ur(a(s," has been removed"+(r?" in "+r:"")),ur.ERR_DEPRECATED);return r&&!W5[s]&&(W5[s]=!0,console.warn(a(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,o):!0}};function Yle(e,t,r){if(typeof e!="object")throw new ur("options must be an object",ur.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],s=t[i];if(s){const o=e[i],l=o===void 0||s(o,i,e);if(l!==!0)throw new ur("option "+i+" must be "+l,ur.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ur("Unknown option "+i,ur.ERR_BAD_OPTION)}}const UM={assertOptions:Yle,validators:JO},pl=UM.validators;class U_{constructor(t){this.defaults=t,this.interceptors={request:new F5,response:new F5}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=` +`+i):n.stack=i}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=ef(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&UM.assertOptions(n,{silentJSONParsing:pl.transitional(pl.boolean),forcedJSONParsing:pl.transitional(pl.boolean),clarifyTimeoutError:pl.transitional(pl.boolean)},!1),a!=null&&(at.isFunction(a)?r.paramsSerializer={serialize:a}:UM.assertOptions(a,{encode:pl.function,serialize:pl.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&at.merge(i.common,i[r.method]);i&&at.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),r.headers=jo.concat(s,i);const o=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(l=l&&p.synchronous,o.unshift(p.fulfilled,p.rejected))});const u=[];this.interceptors.response.forEach(function(p){u.push(p.fulfilled,p.rejected)});let c,f=0,m;if(!l){const h=[j5.bind(this),void 0];for(h.unshift.apply(h,o),h.push.apply(h,u),m=h.length,c=Promise.resolve(r);f{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const s=new Promise(o=>{n.subscribe(o),i=o}).then(a);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,o){n.reason||(n.reason=new Nd(i,s,o),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new QO(function(a){t=a}),cancel:t}}}const Zle=QO;function Xle(e){return function(r){return e.apply(null,r)}}function Jle(e){return at.isObject(e)&&e.isAxiosError===!0}const VM={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(VM).forEach(([e,t])=>{VM[t]=e});const Qle=VM;function JP(e){const t=new ih(e),r=kP(ih.prototype.request,t);return at.extend(r,ih.prototype,t,{allOwnKeys:!0}),at.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return JP(ef(e,a))},r}const Vn=JP(XO);Vn.Axios=ih;Vn.CanceledError=Nd;Vn.CancelToken=Zle;Vn.isCancel=qP;Vn.VERSION=XP;Vn.toFormData=p2;Vn.AxiosError=ur;Vn.Cancel=Vn.CanceledError;Vn.all=function(t){return Promise.all(t)};Vn.spread=Xle;Vn.isAxiosError=Jle;Vn.mergeConfig=ef;Vn.AxiosHeaders=jo;Vn.formToJSON=e=>KP(at.isHTMLForm(e)?new FormData(e):e);Vn.getAdapter=ZP.getAdapter;Vn.HttpStatusCode=Qle;Vn.default=Vn;const eue=Vn;var RM={exports:{}};function tue(e){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=a,r.enabled=s,r.humanize=Z9(),r.destroy=u,Object.keys(e).forEach(c=>{r[c]=e[c]}),r.names=[],r.skips=[],r.formatters={};function t(c){let f=0;for(let m=0;m{if(I==="%%")return"%";y++;const T=r.formatters[D];if(typeof T=="function"){const b=_[y];I=T.call(S,b),_.splice(y,1),y--}return I}),r.formatArgs.call(S,_),(S.log||r.log).apply(S,_)}return p.namespace=c,p.useColors=r.useColors(),p.color=r.selectColor(c),p.extend=n,p.destroy=r.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>m!==null?m:(d!==r.namespaces&&(d=r.namespaces,h=r.enabled(c)),h),set:_=>{m=_}}),typeof r.init=="function"&&r.init(p),p}function n(c,f){const m=r(this.namespace+(typeof f>"u"?":":f)+c);return m.log=this.log,m}function a(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let f;const m=(typeof c=="string"?c:"").split(/[\s,]+/),d=m.length;for(f=0;f"-"+f)].join(",");return r.enable(""),c}function s(c){if(c[c.length-1]==="*")return!0;let f,m;for(f=0,m=r.skips.length;f{let l=!1;return()=>{l||(l=!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`."))}})(),t.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"];function r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function n(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;l.splice(1,0,u,"color: inherit");let c=0,f=0;l[0].replace(/%[a-zA-Z%]/g,m=>{m!=="%%"&&(c++,m==="%c"&&(f=c))}),l.splice(f,0,u)}t.log=console.debug||console.log||(()=>{});function a(l){try{l?t.storage.setItem("debug",l):t.storage.removeItem("debug")}catch{}}function i(){let l;try{l=t.storage.getItem("debug")}catch{}return!l&&typeof process<"u"&&"env"in process&&(l={}.DEBUG),l}function s(){try{return localStorage}catch{}}e.exports=rue(t);const{formatters:o}=e.exports;o.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(RM,RM.exports);const Ui=RM.exports,nue={};function ft(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function jr(e,t,r,n,a){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?a.call(e,r):a?a.value=r:t.set(e,r),r}var Go={},h2={};h2.byteLength=iue;h2.toByteArray=lue;h2.fromByteArray=fue;var Ji=[],Ha=[],sue=typeof Uint8Array<"u"?Uint8Array:Array,PS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var j0=0,aue=PS.length;j00)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function iue(e){var t=QP(e),r=t[0],n=t[1];return(r+n)*3/4-n}function oue(e,t,r){return(t+r)*3/4-r}function lue(e){var t,r=QP(e),n=r[0],a=r[1],i=new sue(oue(e,n,a)),s=0,o=a>0?n-4:n,l;for(l=0;l>16&255,i[s++]=t>>8&255,i[s++]=t&255;return a===2&&(t=Ha[e.charCodeAt(l)]<<2|Ha[e.charCodeAt(l+1)]>>4,i[s++]=t&255),a===1&&(t=Ha[e.charCodeAt(l)]<<10|Ha[e.charCodeAt(l+1)]<<4|Ha[e.charCodeAt(l+2)]>>2,i[s++]=t>>8&255,i[s++]=t&255),i}function uue(e){return Ji[e>>18&63]+Ji[e>>12&63]+Ji[e>>6&63]+Ji[e&63]}function cue(e,t,r){for(var n,a=[],i=t;io?o:s+i));return n===1?(t=e[r-1],a.push(Ji[t>>2]+Ji[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],a.push(Ji[t>>10]+Ji[t>>4&63]+Ji[t<<2&63]+"=")),a.join("")}var eE={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */eE.read=function(e,t,r,n,a){var i,s,o=a*8-n-1,l=(1<>1,c=-7,f=r?a-1:0,m=r?-1:1,d=e[t+f];for(f+=m,i=d&(1<<-c)-1,d>>=-c,c+=o;c>0;i=i*256+e[t+f],f+=m,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=n;c>0;s=s*256+e[t+f],f+=m,c-=8);if(i===0)i=1-u;else{if(i===l)return s?NaN:(d?-1:1)*(1/0);s=s+Math.pow(2,n),i=i-u}return(d?-1:1)*s*Math.pow(2,i-n)};eE.write=function(e,t,r,n,a,i){var s,o,l,u=i*8-a-1,c=(1<>1,m=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:i-1,h=n?1:-1,p=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+f>=1?t+=m/l:t+=m*Math.pow(2,1-f),t*l>=2&&(s++,l/=2),s+f>=c?(o=0,s=c):s+f>=1?(o=(t*l-1)*Math.pow(2,a),s=s+f):(o=t*Math.pow(2,f-1)*Math.pow(2,a),s=0));a>=8;e[r+d]=o&255,d+=h,o/=256,a-=8);for(s=s<0;e[r+d]=s&255,d+=h,s/=256,u-=8);e[r+d-h]|=p*128};/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */(function(e){const t=h2,r=eE,n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=o,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a,o.TYPED_ARRAY_SUPPORT=i(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{const G=new Uint8Array(1),L={foo:function(){return 42}};return Object.setPrototypeOf(L,Uint8Array.prototype),Object.setPrototypeOf(G,L),G.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(!!o.isBuffer(this))return this.byteOffset}});function s(G){if(G>a)throw new RangeError('The value "'+G+'" is invalid for option "size"');const L=new Uint8Array(G);return Object.setPrototypeOf(L,o.prototype),L}function o(G,L,E){if(typeof G=="number"){if(typeof L=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(G)}return l(G,L,E)}o.poolSize=8192;function l(G,L,E){if(typeof G=="string")return m(G,L);if(ArrayBuffer.isView(G))return h(G);if(G==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof G);if(x(G,ArrayBuffer)||G&&x(G.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(x(G,SharedArrayBuffer)||G&&x(G.buffer,SharedArrayBuffer)))return p(G,L,E);if(typeof G=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const H=G.valueOf&&G.valueOf();if(H!=null&&H!==G)return o.from(H,L,E);const ne=_(G);if(ne)return ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof G[Symbol.toPrimitive]=="function")return o.from(G[Symbol.toPrimitive]("string"),L,E);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof G)}o.from=function(G,L,E){return l(G,L,E)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function u(G){if(typeof G!="number")throw new TypeError('"size" argument must be of type number');if(G<0)throw new RangeError('The value "'+G+'" is invalid for option "size"')}function c(G,L,E){return u(G),G<=0?s(G):L!==void 0?typeof E=="string"?s(G).fill(L,E):s(G).fill(L):s(G)}o.alloc=function(G,L,E){return c(G,L,E)};function f(G){return u(G),s(G<0?0:S(G)|0)}o.allocUnsafe=function(G){return f(G)},o.allocUnsafeSlow=function(G){return f(G)};function m(G,L){if((typeof L!="string"||L==="")&&(L="utf8"),!o.isEncoding(L))throw new TypeError("Unknown encoding: "+L);const E=g(G,L)|0;let H=s(E);const ne=H.write(G,L);return ne!==E&&(H=H.slice(0,ne)),H}function d(G){const L=G.length<0?0:S(G.length)|0,E=s(L);for(let H=0;H=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return G|0}function v(G){return+G!=G&&(G=0),o.alloc(+G)}o.isBuffer=function(L){return L!=null&&L._isBuffer===!0&&L!==o.prototype},o.compare=function(L,E){if(x(L,Uint8Array)&&(L=o.from(L,L.offset,L.byteLength)),x(E,Uint8Array)&&(E=o.from(E,E.offset,E.byteLength)),!o.isBuffer(L)||!o.isBuffer(E))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(L===E)return 0;let H=L.length,ne=E.length;for(let ie=0,Ce=Math.min(H,ne);iene.length?(o.isBuffer(Ce)||(Ce=o.from(Ce)),Ce.copy(ne,ie)):Uint8Array.prototype.set.call(ne,Ce,ie);else if(o.isBuffer(Ce))Ce.copy(ne,ie);else throw new TypeError('"list" argument must be an Array of Buffers');ie+=Ce.length}return ne};function g(G,L){if(o.isBuffer(G))return G.length;if(ArrayBuffer.isView(G)||x(G,ArrayBuffer))return G.byteLength;if(typeof G!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof G);const E=G.length,H=arguments.length>2&&arguments[2]===!0;if(!H&&E===0)return 0;let ne=!1;for(;;)switch(L){case"ascii":case"latin1":case"binary":return E;case"utf8":case"utf-8":return Y(G).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E*2;case"hex":return E>>>1;case"base64":return Ge(G).length;default:if(ne)return H?-1:Y(G).length;L=(""+L).toLowerCase(),ne=!0}}o.byteLength=g;function y(G,L,E){let H=!1;if((L===void 0||L<0)&&(L=0),L>this.length||((E===void 0||E>this.length)&&(E=this.length),E<=0)||(E>>>=0,L>>>=0,E<=L))return"";for(G||(G="utf8");;)switch(G){case"hex":return F(this,L,E);case"utf8":case"utf-8":return O(this,L,E);case"ascii":return W(this,L,E);case"latin1":case"binary":return ue(this,L,E);case"base64":return j(this,L,E);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,L,E);default:if(H)throw new TypeError("Unknown encoding: "+G);G=(G+"").toLowerCase(),H=!0}}o.prototype._isBuffer=!0;function M(G,L,E){const H=G[L];G[L]=G[E],G[E]=H}o.prototype.swap16=function(){const L=this.length;if(L%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let E=0;EE&&(L+=" ... "),""},n&&(o.prototype[n]=o.prototype.inspect),o.prototype.compare=function(L,E,H,ne,ie){if(x(L,Uint8Array)&&(L=o.from(L,L.offset,L.byteLength)),!o.isBuffer(L))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof L);if(E===void 0&&(E=0),H===void 0&&(H=L?L.length:0),ne===void 0&&(ne=0),ie===void 0&&(ie=this.length),E<0||H>L.length||ne<0||ie>this.length)throw new RangeError("out of range index");if(ne>=ie&&E>=H)return 0;if(ne>=ie)return-1;if(E>=H)return 1;if(E>>>=0,H>>>=0,ne>>>=0,ie>>>=0,this===L)return 0;let Ce=ie-ne,gt=H-E;const oe=Math.min(Ce,gt),ce=this.slice(ne,ie),Ze=L.slice(E,H);for(let Ct=0;Ct2147483647?E=2147483647:E<-2147483648&&(E=-2147483648),E=+E,Ne(E)&&(E=ne?0:G.length-1),E<0&&(E=G.length+E),E>=G.length){if(ne)return-1;E=G.length-1}else if(E<0)if(ne)E=0;else return-1;if(typeof L=="string"&&(L=o.from(L,H)),o.isBuffer(L))return L.length===0?-1:D(G,L,E,H,ne);if(typeof L=="number")return L=L&255,typeof Uint8Array.prototype.indexOf=="function"?ne?Uint8Array.prototype.indexOf.call(G,L,E):Uint8Array.prototype.lastIndexOf.call(G,L,E):D(G,[L],E,H,ne);throw new TypeError("val must be string, number or Buffer")}function D(G,L,E,H,ne){let ie=1,Ce=G.length,gt=L.length;if(H!==void 0&&(H=String(H).toLowerCase(),H==="ucs2"||H==="ucs-2"||H==="utf16le"||H==="utf-16le")){if(G.length<2||L.length<2)return-1;ie=2,Ce/=2,gt/=2,E/=2}function oe(Ze,Ct){return ie===1?Ze[Ct]:Ze.readUInt16BE(Ct*ie)}let ce;if(ne){let Ze=-1;for(ce=E;ceCe&&(E=Ce-gt),ce=E;ce>=0;ce--){let Ze=!0;for(let Ct=0;Ctne&&(H=ne)):H=ne;const ie=L.length;H>ie/2&&(H=ie/2);let Ce;for(Ce=0;Ce>>0,isFinite(H)?(H=H>>>0,ne===void 0&&(ne="utf8")):(ne=H,H=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const ie=this.length-E;if((H===void 0||H>ie)&&(H=ie),L.length>0&&(H<0||E<0)||E>this.length)throw new RangeError("Attempt to write outside buffer bounds");ne||(ne="utf8");let Ce=!1;for(;;)switch(ne){case"hex":return T(this,L,E,H);case"utf8":case"utf-8":return b(this,L,E,H);case"ascii":case"latin1":case"binary":return N(this,L,E,H);case"base64":return V(this,L,E,H);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,L,E,H);default:if(Ce)throw new TypeError("Unknown encoding: "+ne);ne=(""+ne).toLowerCase(),Ce=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function j(G,L,E){return L===0&&E===G.length?t.fromByteArray(G):t.fromByteArray(G.slice(L,E))}function O(G,L,E){E=Math.min(G.length,E);const H=[];let ne=L;for(;ne239?4:ie>223?3:ie>191?2:1;if(ne+gt<=E){let oe,ce,Ze,Ct;switch(gt){case 1:ie<128&&(Ce=ie);break;case 2:oe=G[ne+1],(oe&192)===128&&(Ct=(ie&31)<<6|oe&63,Ct>127&&(Ce=Ct));break;case 3:oe=G[ne+1],ce=G[ne+2],(oe&192)===128&&(ce&192)===128&&(Ct=(ie&15)<<12|(oe&63)<<6|ce&63,Ct>2047&&(Ct<55296||Ct>57343)&&(Ce=Ct));break;case 4:oe=G[ne+1],ce=G[ne+2],Ze=G[ne+3],(oe&192)===128&&(ce&192)===128&&(Ze&192)===128&&(Ct=(ie&15)<<18|(oe&63)<<12|(ce&63)<<6|Ze&63,Ct>65535&&Ct<1114112&&(Ce=Ct))}}Ce===null?(Ce=65533,gt=1):Ce>65535&&(Ce-=65536,H.push(Ce>>>10&1023|55296),Ce=56320|Ce&1023),H.push(Ce),ne+=gt}return te(H)}const R=4096;function te(G){const L=G.length;if(L<=R)return String.fromCharCode.apply(String,G);let E="",H=0;for(;HH)&&(E=H);let ne="";for(let ie=L;ieH&&(L=H),E<0?(E+=H,E<0&&(E=0)):E>H&&(E=H),EE)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(L,E,H){L=L>>>0,E=E>>>0,H||J(L,E,this.length);let ne=this[L],ie=1,Ce=0;for(;++Ce>>0,E=E>>>0,H||J(L,E,this.length);let ne=this[L+--E],ie=1;for(;E>0&&(ie*=256);)ne+=this[L+--E]*ie;return ne},o.prototype.readUint8=o.prototype.readUInt8=function(L,E){return L=L>>>0,E||J(L,1,this.length),this[L]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(L,E){return L=L>>>0,E||J(L,2,this.length),this[L]|this[L+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(L,E){return L=L>>>0,E||J(L,2,this.length),this[L]<<8|this[L+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(L,E){return L=L>>>0,E||J(L,4,this.length),(this[L]|this[L+1]<<8|this[L+2]<<16)+this[L+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(L,E){return L=L>>>0,E||J(L,4,this.length),this[L]*16777216+(this[L+1]<<16|this[L+2]<<8|this[L+3])},o.prototype.readBigUInt64LE=Je(function(L){L=L>>>0,dt(L,"offset");const E=this[L],H=this[L+7];(E===void 0||H===void 0)&&P(L,this.length-8);const ne=E+this[++L]*2**8+this[++L]*2**16+this[++L]*2**24,ie=this[++L]+this[++L]*2**8+this[++L]*2**16+H*2**24;return BigInt(ne)+(BigInt(ie)<>>0,dt(L,"offset");const E=this[L],H=this[L+7];(E===void 0||H===void 0)&&P(L,this.length-8);const ne=E*2**24+this[++L]*2**16+this[++L]*2**8+this[++L],ie=this[++L]*2**24+this[++L]*2**16+this[++L]*2**8+H;return(BigInt(ne)<>>0,E=E>>>0,H||J(L,E,this.length);let ne=this[L],ie=1,Ce=0;for(;++Ce=ie&&(ne-=Math.pow(2,8*E)),ne},o.prototype.readIntBE=function(L,E,H){L=L>>>0,E=E>>>0,H||J(L,E,this.length);let ne=E,ie=1,Ce=this[L+--ne];for(;ne>0&&(ie*=256);)Ce+=this[L+--ne]*ie;return ie*=128,Ce>=ie&&(Ce-=Math.pow(2,8*E)),Ce},o.prototype.readInt8=function(L,E){return L=L>>>0,E||J(L,1,this.length),this[L]&128?(255-this[L]+1)*-1:this[L]},o.prototype.readInt16LE=function(L,E){L=L>>>0,E||J(L,2,this.length);const H=this[L]|this[L+1]<<8;return H&32768?H|4294901760:H},o.prototype.readInt16BE=function(L,E){L=L>>>0,E||J(L,2,this.length);const H=this[L+1]|this[L]<<8;return H&32768?H|4294901760:H},o.prototype.readInt32LE=function(L,E){return L=L>>>0,E||J(L,4,this.length),this[L]|this[L+1]<<8|this[L+2]<<16|this[L+3]<<24},o.prototype.readInt32BE=function(L,E){return L=L>>>0,E||J(L,4,this.length),this[L]<<24|this[L+1]<<16|this[L+2]<<8|this[L+3]},o.prototype.readBigInt64LE=Je(function(L){L=L>>>0,dt(L,"offset");const E=this[L],H=this[L+7];(E===void 0||H===void 0)&&P(L,this.length-8);const ne=this[L+4]+this[L+5]*2**8+this[L+6]*2**16+(H<<24);return(BigInt(ne)<>>0,dt(L,"offset");const E=this[L],H=this[L+7];(E===void 0||H===void 0)&&P(L,this.length-8);const ne=(E<<24)+this[++L]*2**16+this[++L]*2**8+this[++L];return(BigInt(ne)<>>0,E||J(L,4,this.length),r.read(this,L,!0,23,4)},o.prototype.readFloatBE=function(L,E){return L=L>>>0,E||J(L,4,this.length),r.read(this,L,!1,23,4)},o.prototype.readDoubleLE=function(L,E){return L=L>>>0,E||J(L,8,this.length),r.read(this,L,!0,52,8)},o.prototype.readDoubleBE=function(L,E){return L=L>>>0,E||J(L,8,this.length),r.read(this,L,!1,52,8)};function k(G,L,E,H,ne,ie){if(!o.isBuffer(G))throw new TypeError('"buffer" argument must be a Buffer instance');if(L>ne||LG.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(L,E,H,ne){if(L=+L,E=E>>>0,H=H>>>0,!ne){const gt=Math.pow(2,8*H)-1;k(this,L,E,H,gt,0)}let ie=1,Ce=0;for(this[E]=L&255;++Ce>>0,H=H>>>0,!ne){const gt=Math.pow(2,8*H)-1;k(this,L,E,H,gt,0)}let ie=H-1,Ce=1;for(this[E+ie]=L&255;--ie>=0&&(Ce*=256);)this[E+ie]=L/Ce&255;return E+H},o.prototype.writeUint8=o.prototype.writeUInt8=function(L,E,H){return L=+L,E=E>>>0,H||k(this,L,E,1,255,0),this[E]=L&255,E+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(L,E,H){return L=+L,E=E>>>0,H||k(this,L,E,2,65535,0),this[E]=L&255,this[E+1]=L>>>8,E+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(L,E,H){return L=+L,E=E>>>0,H||k(this,L,E,2,65535,0),this[E]=L>>>8,this[E+1]=L&255,E+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(L,E,H){return L=+L,E=E>>>0,H||k(this,L,E,4,4294967295,0),this[E+3]=L>>>24,this[E+2]=L>>>16,this[E+1]=L>>>8,this[E]=L&255,E+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(L,E,H){return L=+L,E=E>>>0,H||k(this,L,E,4,4294967295,0),this[E]=L>>>24,this[E+1]=L>>>16,this[E+2]=L>>>8,this[E+3]=L&255,E+4};function U(G,L,E,H,ne){ae(L,H,ne,G,E,7);let ie=Number(L&BigInt(4294967295));G[E++]=ie,ie=ie>>8,G[E++]=ie,ie=ie>>8,G[E++]=ie,ie=ie>>8,G[E++]=ie;let Ce=Number(L>>BigInt(32)&BigInt(4294967295));return G[E++]=Ce,Ce=Ce>>8,G[E++]=Ce,Ce=Ce>>8,G[E++]=Ce,Ce=Ce>>8,G[E++]=Ce,E}function z(G,L,E,H,ne){ae(L,H,ne,G,E,7);let ie=Number(L&BigInt(4294967295));G[E+7]=ie,ie=ie>>8,G[E+6]=ie,ie=ie>>8,G[E+5]=ie,ie=ie>>8,G[E+4]=ie;let Ce=Number(L>>BigInt(32)&BigInt(4294967295));return G[E+3]=Ce,Ce=Ce>>8,G[E+2]=Ce,Ce=Ce>>8,G[E+1]=Ce,Ce=Ce>>8,G[E]=Ce,E+8}o.prototype.writeBigUInt64LE=Je(function(L,E=0){return U(this,L,E,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=Je(function(L,E=0){return z(this,L,E,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(L,E,H,ne){if(L=+L,E=E>>>0,!ne){const oe=Math.pow(2,8*H-1);k(this,L,E,H,oe-1,-oe)}let ie=0,Ce=1,gt=0;for(this[E]=L&255;++ie>0)-gt&255;return E+H},o.prototype.writeIntBE=function(L,E,H,ne){if(L=+L,E=E>>>0,!ne){const oe=Math.pow(2,8*H-1);k(this,L,E,H,oe-1,-oe)}let ie=H-1,Ce=1,gt=0;for(this[E+ie]=L&255;--ie>=0&&(Ce*=256);)L<0&>===0&&this[E+ie+1]!==0&&(gt=1),this[E+ie]=(L/Ce>>0)-gt&255;return E+H},o.prototype.writeInt8=function(L,E,H){return L=+L,E=E>>>0,H||k(this,L,E,1,127,-128),L<0&&(L=255+L+1),this[E]=L&255,E+1},o.prototype.writeInt16LE=function(L,E,H){return L=+L,E=E>>>0,H||k(this,L,E,2,32767,-32768),this[E]=L&255,this[E+1]=L>>>8,E+2},o.prototype.writeInt16BE=function(L,E,H){return L=+L,E=E>>>0,H||k(this,L,E,2,32767,-32768),this[E]=L>>>8,this[E+1]=L&255,E+2},o.prototype.writeInt32LE=function(L,E,H){return L=+L,E=E>>>0,H||k(this,L,E,4,2147483647,-2147483648),this[E]=L&255,this[E+1]=L>>>8,this[E+2]=L>>>16,this[E+3]=L>>>24,E+4},o.prototype.writeInt32BE=function(L,E,H){return L=+L,E=E>>>0,H||k(this,L,E,4,2147483647,-2147483648),L<0&&(L=4294967295+L+1),this[E]=L>>>24,this[E+1]=L>>>16,this[E+2]=L>>>8,this[E+3]=L&255,E+4},o.prototype.writeBigInt64LE=Je(function(L,E=0){return U(this,L,E,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=Je(function(L,E=0){return z(this,L,E,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function q(G,L,E,H,ne,ie){if(E+H>G.length)throw new RangeError("Index out of range");if(E<0)throw new RangeError("Index out of range")}function Ie(G,L,E,H,ne){return L=+L,E=E>>>0,ne||q(G,L,E,4),r.write(G,L,E,H,23,4),E+4}o.prototype.writeFloatLE=function(L,E,H){return Ie(this,L,E,!0,H)},o.prototype.writeFloatBE=function(L,E,H){return Ie(this,L,E,!1,H)};function Fe(G,L,E,H,ne){return L=+L,E=E>>>0,ne||q(G,L,E,8),r.write(G,L,E,H,52,8),E+8}o.prototype.writeDoubleLE=function(L,E,H){return Fe(this,L,E,!0,H)},o.prototype.writeDoubleBE=function(L,E,H){return Fe(this,L,E,!1,H)},o.prototype.copy=function(L,E,H,ne){if(!o.isBuffer(L))throw new TypeError("argument should be a Buffer");if(H||(H=0),!ne&&ne!==0&&(ne=this.length),E>=L.length&&(E=L.length),E||(E=0),ne>0&&ne=this.length)throw new RangeError("Index out of range");if(ne<0)throw new RangeError("sourceEnd out of bounds");ne>this.length&&(ne=this.length),L.length-E>>0,H=H===void 0?this.length:H>>>0,L||(L=0);let ie;if(typeof L=="number")for(ie=E;ie2**32?ne=Re(String(E)):typeof E=="bigint"&&(ne=String(E),(E>BigInt(2)**BigInt(32)||E<-(BigInt(2)**BigInt(32)))&&(ne=Re(ne)),ne+="n"),H+=` It must be ${L}. Received ${ne}`,H},RangeError);function Re(G){let L="",E=G.length;const H=G[0]==="-"?1:0;for(;E>=H+4;E-=3)L=`_${G.slice(E-3,E)}${L}`;return`${G.slice(0,E)}${L}`}function be(G,L,E){dt(L,"offset"),(G[L]===void 0||G[L+E]===void 0)&&P(L,G.length-(E+1))}function ae(G,L,E,H,ne,ie){if(G>E||G3?L===0||L===BigInt(0)?gt=`>= 0${Ce} and < 2${Ce} ** ${(ie+1)*8}${Ce}`:gt=`>= -(2${Ce} ** ${(ie+1)*8-1}${Ce}) and < 2 ** ${(ie+1)*8-1}${Ce}`:gt=`>= ${L}${Ce} and <= ${E}${Ce}`,new Le.ERR_OUT_OF_RANGE("value",gt,G)}be(H,ne,ie)}function dt(G,L){if(typeof G!="number")throw new Le.ERR_INVALID_ARG_TYPE(L,"number",G)}function P(G,L,E){throw Math.floor(G)!==G?(dt(G,E),new Le.ERR_OUT_OF_RANGE(E||"offset","an integer",G)):L<0?new Le.ERR_BUFFER_OUT_OF_BOUNDS:new Le.ERR_OUT_OF_RANGE(E||"offset",`>= ${E?1:0} and <= ${L}`,G)}const Ve=/[^+/0-9A-Za-z-_]/g;function we(G){if(G=G.split("=")[0],G=G.trim().replace(Ve,""),G.length<2)return"";for(;G.length%4!==0;)G=G+"=";return G}function Y(G,L){L=L||1/0;let E;const H=G.length;let ne=null;const ie=[];for(let Ce=0;Ce55295&&E<57344){if(!ne){if(E>56319){(L-=3)>-1&&ie.push(239,191,189);continue}else if(Ce+1===H){(L-=3)>-1&&ie.push(239,191,189);continue}ne=E;continue}if(E<56320){(L-=3)>-1&&ie.push(239,191,189),ne=E;continue}E=(ne-55296<<10|E-56320)+65536}else ne&&(L-=3)>-1&&ie.push(239,191,189);if(ne=null,E<128){if((L-=1)<0)break;ie.push(E)}else if(E<2048){if((L-=2)<0)break;ie.push(E>>6|192,E&63|128)}else if(E<65536){if((L-=3)<0)break;ie.push(E>>12|224,E>>6&63|128,E&63|128)}else if(E<1114112){if((L-=4)<0)break;ie.push(E>>18|240,E>>12&63|128,E>>6&63|128,E&63|128)}else throw new Error("Invalid code point")}return ie}function Q(G){const L=[];for(let E=0;E>8,ne=E%256,ie.push(ne),ie.push(H);return ie}function Ge(G){return t.toByteArray(we(G))}function ze(G,L,E,H){let ne;for(ne=0;ne=L.length||ne>=G.length);++ne)L[ne+E]=G[ne];return ne}function x(G,L){return G instanceof L||G!=null&&G.constructor!=null&&G.constructor.name!=null&&G.constructor.name===L.name}function Ne(G){return G!==G}const it=function(){const G="0123456789abcdef",L=new Array(256);for(let E=0;E<16;++E){const H=E*16;for(let ne=0;ne<16;++ne)L[H+ne]=G[E]+G[ne]}return L}();function Je(G){return typeof BigInt>"u"?Ye:G}function Ye(){throw new Error("BigInt not supported")}})(Go);var eN={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function a(l,u,c){this.fn=l,this.context=u,this.once=c||!1}function i(l,u,c,f,m){if(typeof c!="function")throw new TypeError("The listener must be a function");var d=new a(c,f||l,m),h=r?r+u:u;return l._events[h]?l._events[h].fn?l._events[h]=[l._events[h],d]:l._events[h].push(d):(l._events[h]=d,l._eventsCount++),l}function s(l,u){--l._eventsCount===0?l._events=new n:delete l._events[u]}function o(){this._events=new n,this._eventsCount=0}o.prototype.eventNames=function(){var u=[],c,f;if(this._eventsCount===0)return u;for(f in c=this._events)t.call(c,f)&&u.push(r?f.slice(1):f);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(c)):u},o.prototype.listeners=function(u){var c=r?r+u:u,f=this._events[c];if(!f)return[];if(f.fn)return[f.fn];for(var m=0,d=f.length,h=new Array(d);mglobalThis.DOMException===void 0?new mue(e):new DOMException(e),K5=e=>{const t=e.reason===void 0?z5("This operation was aborted."):e.reason;return t instanceof Error?t:z5(t)};function pue(e,t,r,n){let a;const i=new Promise((s,o)=>{if(typeof t!="number"||Math.sign(t)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${t}\``);if(t===Number.POSITIVE_INFINITY){s(e);return}if(n={customTimers:{setTimeout,clearTimeout},...n},n.signal){const{signal:l}=n;l.aborted&&o(K5(l)),l.addEventListener("abort",()=>{o(K5(l))})}a=n.customTimers.setTimeout.call(void 0,()=>{if(typeof r=="function"){try{s(r())}catch(c){o(c)}return}const l=typeof r=="string"?r:`Promise timed out after ${t} milliseconds`,u=r instanceof Error?r:new tN(l);typeof e.cancel=="function"&&e.cancel(),o(u)},t),(async()=>{try{s(await e)}catch(l){o(l)}finally{n.customTimers.clearTimeout.call(void 0,a)}})()});return i.clear=()=>{clearTimeout(a),a=void 0},i}function due(e,t,r){let n=0,a=e.length;for(;a>0;){const i=Math.trunc(a/2);let s=n+i;r(e[s],t)<=0?(n=++s,a-=i+1):a=i}return n}var Su=globalThis&&globalThis.__classPrivateFieldGet||function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},Oo;class hue{constructor(){Oo.set(this,[])}enqueue(t,r){r={priority:0,...r};const n={priority:r.priority,run:t};if(this.size&&Su(this,Oo,"f")[this.size-1].priority>=r.priority){Su(this,Oo,"f").push(n);return}const a=due(Su(this,Oo,"f"),n,(i,s)=>s.priority-i.priority);Su(this,Oo,"f").splice(a,0,n)}dequeue(){const t=Su(this,Oo,"f").shift();return t?.run}filter(t){return Su(this,Oo,"f").filter(r=>r.priority===t.priority).map(r=>r.run)}get size(){return Su(this,Oo,"f").length}}Oo=new WeakMap;var un=globalThis&&globalThis.__classPrivateFieldSet||function(e,t,r,n,a){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!a)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?a.call(e,r):a?a.value=r:t.set(e,r),r},Tt=globalThis&&globalThis.__classPrivateFieldGet||function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},En,Gm,Wm,El,R_,zm,oh,_i,cm,ua,lh,fa,Km,Ml,uh,q5,Y5,rN,Z5,X5,ch,NS,US,F_,nN,fh;class sN extends Error{}class aN extends V_{constructor(t){var r,n,a,i;if(super(),En.add(this),Gm.set(this,void 0),Wm.set(this,void 0),El.set(this,0),R_.set(this,void 0),zm.set(this,void 0),oh.set(this,0),_i.set(this,void 0),cm.set(this,void 0),ua.set(this,void 0),lh.set(this,void 0),fa.set(this,0),Km.set(this,void 0),Ml.set(this,void 0),uh.set(this,void 0),Object.defineProperty(this,"timeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),t={carryoverConcurrencyCount:!1,intervalCap:Number.POSITIVE_INFINITY,interval:0,concurrency:Number.POSITIVE_INFINITY,autoStart:!0,queueClass:hue,...t},!(typeof t.intervalCap=="number"&&t.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${(n=(r=t.intervalCap)===null||r===void 0?void 0:r.toString())!==null&&n!==void 0?n:""}\` (${typeof t.intervalCap})`);if(t.interval===void 0||!(Number.isFinite(t.interval)&&t.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${(i=(a=t.interval)===null||a===void 0?void 0:a.toString())!==null&&i!==void 0?i:""}\` (${typeof t.interval})`);un(this,Gm,t.carryoverConcurrencyCount,"f"),un(this,Wm,t.intervalCap===Number.POSITIVE_INFINITY||t.interval===0,"f"),un(this,R_,t.intervalCap,"f"),un(this,zm,t.interval,"f"),un(this,ua,new t.queueClass,"f"),un(this,lh,t.queueClass,"f"),this.concurrency=t.concurrency,this.timeout=t.timeout,un(this,uh,t.throwOnTimeout===!0,"f"),un(this,Ml,t.autoStart===!1,"f")}get concurrency(){return Tt(this,Km,"f")}set concurrency(t){if(!(typeof t=="number"&&t>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${t}\` (${typeof t})`);un(this,Km,t,"f"),Tt(this,En,"m",F_).call(this)}async add(t,r={}){return r={timeout:this.timeout,throwOnTimeout:Tt(this,uh,"f"),...r},new Promise((n,a)=>{Tt(this,ua,"f").enqueue(async()=>{var i,s,o;un(this,fa,(s=Tt(this,fa,"f"),s++,s),"f"),un(this,El,(o=Tt(this,El,"f"),o++,o),"f");try{if(!((i=r.signal)===null||i===void 0)&&i.aborted)throw new sN("The task was aborted.");let l=t({signal:r.signal});r.timeout&&(l=pue(Promise.resolve(l),r.timeout)),r.signal&&(l=Promise.race([l,Tt(this,En,"m",nN).call(this,r.signal)]));const u=await l;n(u),this.emit("completed",u)}catch(l){if(l instanceof tN&&!r.throwOnTimeout){n();return}a(l),this.emit("error",l)}finally{Tt(this,En,"m",rN).call(this)}},r),this.emit("add"),Tt(this,En,"m",ch).call(this)})}async addAll(t,r){return Promise.all(t.map(async n=>this.add(n,r)))}start(){return Tt(this,Ml,"f")?(un(this,Ml,!1,"f"),Tt(this,En,"m",F_).call(this),this):this}pause(){un(this,Ml,!0,"f")}clear(){un(this,ua,new(Tt(this,lh,"f")),"f")}async onEmpty(){Tt(this,ua,"f").size!==0&&await Tt(this,En,"m",fh).call(this,"empty")}async onSizeLessThan(t){Tt(this,ua,"f").sizeTt(this,ua,"f").size{Tt(this,En,"m",Z5).call(this)},r),"f"),!0}return!1},ch=function(){if(Tt(this,ua,"f").size===0)return Tt(this,_i,"f")&&clearInterval(Tt(this,_i,"f")),un(this,_i,void 0,"f"),this.emit("empty"),Tt(this,fa,"f")===0&&this.emit("idle"),!1;if(!Tt(this,Ml,"f")){const t=!Tt(this,En,"a",X5);if(Tt(this,En,"a",q5)&&Tt(this,En,"a",Y5)){const r=Tt(this,ua,"f").dequeue();return r?(this.emit("active"),r(),t&&Tt(this,En,"m",NS).call(this),!0):!1}}return!1},NS=function(){Tt(this,Wm,"f")||Tt(this,_i,"f")!==void 0||(un(this,_i,setInterval(()=>{Tt(this,En,"m",US).call(this)},Tt(this,zm,"f")),"f"),un(this,oh,Date.now()+Tt(this,zm,"f"),"f"))},US=function(){Tt(this,El,"f")===0&&Tt(this,fa,"f")===0&&Tt(this,_i,"f")&&(clearInterval(Tt(this,_i,"f")),un(this,_i,void 0,"f")),un(this,El,Tt(this,Gm,"f")?Tt(this,fa,"f"):0,"f"),Tt(this,En,"m",F_).call(this)},F_=function(){for(;Tt(this,En,"m",ch).call(this););},nN=async function(t){return new Promise((r,n)=>{t.addEventListener("abort",()=>{n(new sN("The task was aborted."))},{once:!0})})},fh=async function(t,r){return new Promise(n=>{const a=()=>{r&&!r()||(this.off(t,a),n())};this.on(t,a)})};var ll=function(){this.type=null,this._setSubtypeAndSuffix(null),this.parameters={}};ll.prototype.isValid=function(){return this.type!==null&&this.subtype!==null&&this.subtype!=="example"};ll.prototype._setSubtypeAndSuffix=function(e){if(this.subtype=e,this.subtypeFacets=[],this.suffix=null,e)if(e.indexOf("+")>-1&&e.substr(-1)!=="+"){var t=e.split("+",2);this.subtype=t[0],this.subtypeFacets=t[0].split("."),this.suffix=t[1]}else this.subtypeFacets=e.split(".")};ll.prototype.hasSuffix=function(){return!!this.suffix};ll.prototype._firstSubtypeFacetEquals=function(e){return this.subtypeFacets.length>0&&this.subtypeFacets[0]===e};ll.prototype.isVendor=function(){return this._firstSubtypeFacetEquals("vnd")};ll.prototype.isPersonal=function(){return this._firstSubtypeFacetEquals("prs")};ll.prototype.isExperimental=function(){return this._firstSubtypeFacetEquals("x")||this.subtype.substring(0,2).toLowerCase()==="x-"};ll.prototype.asString=function(){var e="";if(this.isValid()){e=e+this.type+"/"+this.subtype,this.hasSuffix()&&(e=e+"+"+this.suffix);var t=Object.keys(this.parameters);if(t.length>0){var r=[],n=this;t.sort(function(a,i){return a.localeCompare(i)}).forEach(function(a){r.push(a+"="+_ue(n.parameters[a]))}),e=e+";"+r.join(";")}}return e};var _ue=function(e){return e.indexOf(";")>-1?'"'+e+'"':e},gue=function(e){return e.substr(0,1)==='"'&&e.substr(-1)==='"'?e.substr(1,e.length-2):e},vue=/^(application|audio|font|image|message|model|multipart|text|video|\*)\/([a-zA-Z0-9!#$%^&\*_\-\+{}\|'.`~]{1,127})(;.*)?$/,Sue=/;(?=(?:[^\"]*\"[^\"]*\")*(?![^\"]*\"))/,yue=function(e){var t=new ll;if(e){var r=e.match(vue);r&&!(r[1]==="*"&&r[2]!=="*")&&(t.type=r[1],t._setSubtypeAndSuffix(r[2]),r[3]&&r[3].substr(1).split(Sue).forEach(function(n){var a=n.split("=",2);a.length===2&&(t.parameters[a[0].toLowerCase().trim()]=gue(a[1].trim()))}))}return t};const Mue="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function J5(e){if(e.byteLength!==20)throw new Error("incorrect buffer size");let t=new Array(27).fill("0"),r=27,n=new Array(5);n[0]=e.getUint32(0,!1),n[1]=e.getUint32(4,!1),n[2]=e.getUint32(8,!1),n[3]=e.getUint32(12,!1),n[4]=e.getUint32(16,!1);const a=4294967296n,i=62n;for(;n.length!=0;){let s=[],o=0;for(const l of n){let u=BigInt(l)+BigInt(o)*a,c=u/i;o=Number(u%i),(s.length!==0||c!==0n)&&s.push(Number(c))}r--,t[r]=Mue.charAt(o),n=s}return t.join("")}function Due(e,t){return t?4294967295-(Math.round(e/1e3)-14e8):Math.round(e/1e3)-14e8}function Iue(){return crypto.getRandomValues(new Uint8Array(16))}function _2(e=!1,t=Date.now()){const r=new ArrayBuffer(20),n=new DataView(r),a=Due(t,e);let i=0;n.setUint32(i,a,!1),i+=4;const s=Iue();for(const o of s)n.setUint8(i++,o);return e?"z"+J5(n):J5(n)}/** + * @license + * Copyright 2022 Open Ag Data Alliance + * + * Use of this source code is governed by an MIT-style + * license that can be found in the LICENSE file or at + * https://opensource.org/licenses/MIT. + */class iN extends TypeError{constructor(t,r){const[n]=r,a=n?`@oada/types assert failed at path "${n.instancePath}": ${n.message}`:"@oada/types assert failed";super(a),this.input=t,this.errors=r,this.input=t,this.errors=r}}var B_={exports:{}};B_.exports=Ra;B_.exports.default=Ra;const Oue={$id:"https://formats.openag.io/oada/websockets/request.schema.json",$schema:"http://json-schema.org/draft-07/schema#",description:"This is the format of an OADA websocket request (client to server)",definitions:{id:{type:"string"}},type:"object",required:["requestId","path","method","headers"],properties:{requestId:{$ref:"#/definitions/id"},path:{$ref:"../../oada.schema.json#/definitions/path"},method:{anyOf:[{$comment:"Standard HTTP methods",$ref:"../../oada.schema.json#/definitions/method"},{$comment:"WebSocket only methods",enum:["watch","head-watch","get-watch","put-watch","post-watch","delete-watch","unwatch","ping"]}]},headers:{type:"object",required:["authorization"],properties:{authorization:{type:"string"}}},data:{description:"The optional data payload of the request"}}},Eue={description:"The request methods (a la HTTP) supported by OADA",enum:["head","get","put","post","delete"]},bue=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function Ra(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(e&&typeof e=="object"&&!Array.isArray(e)){let u;if(e.requestId===void 0&&(u="requestId")||e.path===void 0&&(u="path")||e.method===void 0&&(u="method")||e.headers===void 0&&(u="headers"))return Ra.errors=[{instancePath:t,schemaPath:"#/required",keyword:"required",params:{missingProperty:u},message:"must have required property '"+u+"'"}],!1;if(e.requestId!==void 0){const c=s;if(typeof e.requestId!="string")return Ra.errors=[{instancePath:t+"/requestId",schemaPath:"#/definitions/id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=c===s}else var o=!0;if(o){if(e.path!==void 0){let c=e.path;const f=s,m=s;if(s===m&&s===m)if(typeof c=="string"){if(!bue.test(c))return Ra.errors=[{instancePath:t+"/path",schemaPath:"../../oada.schema.json#/definitions/path/format",keyword:"format",params:{format:"uri-reference"},message:'must match format "uri-reference"'}],!1}else return Ra.errors=[{instancePath:t+"/path",schemaPath:"../../oada.schema.json#/definitions/path/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var o=f===s}else var o=!0;if(o){if(e.method!==void 0){let c=e.method;const f=s,m=s;let d=!1;const h=s;if(!(c==="head"||c==="get"||c==="put"||c==="post"||c==="delete")){const _={instancePath:t+"/method",schemaPath:"../../oada.schema.json#/definitions/method/enum",keyword:"enum",params:{allowedValues:Eue.enum},message:"must be equal to one of the allowed values"};i===null?i=[_]:i.push(_),s++}var l=h===s;if(d=d||l,!d){const _=s;if(!(c==="watch"||c==="head-watch"||c==="get-watch"||c==="put-watch"||c==="post-watch"||c==="delete-watch"||c==="unwatch"||c==="ping")){const v={instancePath:t+"/method",schemaPath:"#/properties/method/anyOf/1/enum",keyword:"enum",params:{allowedValues:Oue.properties.method.anyOf[1].enum},message:"must be equal to one of the allowed values"};i===null?i=[v]:i.push(v),s++}var l=_===s;d=d||l}if(d)s=m,i!==null&&(m?i.length=m:i=null);else{const _={instancePath:t+"/method",schemaPath:"#/properties/method/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};return i===null?i=[_]:i.push(_),s++,Ra.errors=i,!1}var o=f===s}else var o=!0;if(o)if(e.headers!==void 0){let c=e.headers;const f=s;if(s===f)if(c&&typeof c=="object"&&!Array.isArray(c)){let d;if(c.authorization===void 0&&(d="authorization"))return Ra.errors=[{instancePath:t+"/headers",schemaPath:"#/properties/headers/required",keyword:"required",params:{missingProperty:d},message:"must have required property '"+d+"'"}],!1;if(c.authorization!==void 0&&typeof c.authorization!="string")return Ra.errors=[{instancePath:t+"/headers/authorization",schemaPath:"#/properties/headers/properties/authorization/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1}else return Ra.errors=[{instancePath:t+"/headers",schemaPath:"#/properties/headers/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var o=f===s}else var o=!0}}}else return Ra.errors=[{instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;return Ra.errors=i,s===0}function oN(e){if(!B_.exports(e))throw new iN(e,B_.exports.errors)}/** + * @license + * Copyright 2021 Open Ag Data Alliance + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function Lue(e){return Array.isArray(e)}function Cue(e){return Lue(e)?e:[e]}function Q5(e){return`/${e.join("/")}`}function VS(e){const t=e.split("/");return t.length>0&&t[0]===""&&t.shift(),t.length>0&&t[t.length-1]===""&&t.pop(),t}function FM(e,t){let r=e;for(const n of t)if(n in r)r=r[n];else if("*"in r)r=r["*"];else throw new Error(`Specified path /${t.join("/")} does not exist in the tree.`);return r}function Tue(e,t){const r=t.slice().reverse();let n=e;for(const a of r)n={[a]:n};return n}class lN extends Error{get code(){return"REQUEST_TIMEDOUT"}get name(){return"TimeoutError"}constructor(t){super("Request timed out"),Object.assign(this,t)}}async function tf(e){if(e instanceof Error)return e;const t=`${e.status}`;let r={};try{r=await e.json?.()??e.data}catch{}const n=e.message??r?.message??(e.statusText?`${e.status} ${e.statusText}`:`${e.status}`);return Object.assign(new Error(n),{code:t,...e})}var S0={exports:{}};(function(e,t){var r=typeof self<"u"?self:Zs,n=function(){function i(){this.fetch=!1,this.DOMException=r.DOMException}return i.prototype=r,new i}();(function(i){(function(s){var o={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function l(O){return O&&DataView.prototype.isPrototypeOf(O)}if(o.arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(O){return O&&u.indexOf(Object.prototype.toString.call(O))>-1};function f(O){if(typeof O!="string"&&(O=String(O)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(O))throw new TypeError("Invalid character in header field name");return O.toLowerCase()}function m(O){return typeof O!="string"&&(O=String(O)),O}function d(O){var R={next:function(){var te=O.shift();return{done:te===void 0,value:te}}};return o.iterable&&(R[Symbol.iterator]=function(){return R}),R}function h(O){this.map={},O instanceof h?O.forEach(function(R,te){this.append(te,R)},this):Array.isArray(O)?O.forEach(function(R){this.append(R[0],R[1])},this):O&&Object.getOwnPropertyNames(O).forEach(function(R){this.append(R,O[R])},this)}h.prototype.append=function(O,R){O=f(O),R=m(R);var te=this.map[O];this.map[O]=te?te+", "+R:R},h.prototype.delete=function(O){delete this.map[f(O)]},h.prototype.get=function(O){return O=f(O),this.has(O)?this.map[O]:null},h.prototype.has=function(O){return this.map.hasOwnProperty(f(O))},h.prototype.set=function(O,R){this.map[f(O)]=m(R)},h.prototype.forEach=function(O,R){for(var te in this.map)this.map.hasOwnProperty(te)&&O.call(R,this.map[te],te,this)},h.prototype.keys=function(){var O=[];return this.forEach(function(R,te){O.push(te)}),d(O)},h.prototype.values=function(){var O=[];return this.forEach(function(R){O.push(R)}),d(O)},h.prototype.entries=function(){var O=[];return this.forEach(function(R,te){O.push([te,R])}),d(O)},o.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function p(O){if(O.bodyUsed)return Promise.reject(new TypeError("Already read"));O.bodyUsed=!0}function _(O){return new Promise(function(R,te){O.onload=function(){R(O.result)},O.onerror=function(){te(O.error)}})}function S(O){var R=new FileReader,te=_(R);return R.readAsArrayBuffer(O),te}function v(O){var R=new FileReader,te=_(R);return R.readAsText(O),te}function g(O){for(var R=new Uint8Array(O),te=new Array(R.length),W=0;W-1?R:O}function T(O,R){R=R||{};var te=R.body;if(O instanceof T){if(O.bodyUsed)throw new TypeError("Already read");this.url=O.url,this.credentials=O.credentials,R.headers||(this.headers=new h(O.headers)),this.method=O.method,this.mode=O.mode,this.signal=O.signal,!te&&O._bodyInit!=null&&(te=O._bodyInit,O.bodyUsed=!0)}else this.url=String(O);if(this.credentials=R.credentials||this.credentials||"same-origin",(R.headers||!this.headers)&&(this.headers=new h(R.headers)),this.method=D(R.method||this.method||"GET"),this.mode=R.mode||this.mode||null,this.signal=R.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&te)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(te)}T.prototype.clone=function(){return new T(this,{body:this._bodyInit})};function b(O){var R=new FormData;return O.trim().split("&").forEach(function(te){if(te){var W=te.split("="),ue=W.shift().replace(/\+/g," "),F=W.join("=").replace(/\+/g," ");R.append(decodeURIComponent(ue),decodeURIComponent(F))}}),R}function N(O){var R=new h,te=O.replace(/\r?\n[\t ]+/g," ");return te.split(/\r?\n/).forEach(function(W){var ue=W.split(":"),F=ue.shift().trim();if(F){var le=ue.join(":").trim();R.append(F,le)}}),R}M.call(T.prototype);function V(O,R){R||(R={}),this.type="default",this.status=R.status===void 0?200:R.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in R?R.statusText:"OK",this.headers=new h(R.headers),this.url=R.url||"",this._initBody(O)}M.call(V.prototype),V.prototype.clone=function(){return new V(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},V.error=function(){var O=new V(null,{status:0,statusText:""});return O.type="error",O};var A=[301,302,303,307,308];V.redirect=function(O,R){if(A.indexOf(R)===-1)throw new RangeError("Invalid status code");return new V(null,{status:R,headers:{location:O}})},s.DOMException=i.DOMException;try{new s.DOMException}catch{s.DOMException=function(R,te){this.message=R,this.name=te;var W=Error(R);this.stack=W.stack},s.DOMException.prototype=Object.create(Error.prototype),s.DOMException.prototype.constructor=s.DOMException}function j(O,R){return new Promise(function(te,W){var ue=new T(O,R);if(ue.signal&&ue.signal.aborted)return W(new s.DOMException("Aborted","AbortError"));var F=new XMLHttpRequest;function le(){F.abort()}F.onload=function(){var J={status:F.status,statusText:F.statusText,headers:N(F.getAllResponseHeaders()||"")};J.url="responseURL"in F?F.responseURL:J.headers.get("X-Request-URL");var k="response"in F?F.response:F.responseText;te(new V(k,J))},F.onerror=function(){W(new TypeError("Network request failed"))},F.ontimeout=function(){W(new TypeError("Network request failed"))},F.onabort=function(){W(new s.DOMException("Aborted","AbortError"))},F.open(ue.method,ue.url,!0),ue.credentials==="include"?F.withCredentials=!0:ue.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&o.blob&&(F.responseType="blob"),ue.headers.forEach(function(J,k){F.setRequestHeader(k,J)}),ue.signal&&(ue.signal.addEventListener("abort",le),F.onreadystatechange=function(){F.readyState===4&&ue.signal.removeEventListener("abort",le)}),F.send(typeof ue._bodyInit>"u"?null:ue._bodyInit)})}return j.polyfill=!0,i.fetch||(i.fetch=j,i.Headers=h,i.Request=T,i.Response=V),s.Headers=h,s.Request=T,s.Response=V,s.fetch=j,Object.defineProperty(s,"__esModule",{value:!0}),s})({})})(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var a=n;t=a.fetch,t.default=a.fetch,t.fetch=a.fetch,t.Headers=a.Headers,t.Request=a.Request,t.Response=a.Response,e.exports=t})(S0,S0.exports);const xue=fD(S0.exports);/** + * @license + * Copyright 2022 Open Ag Data Alliance + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const{AbortController:Aue}=window;/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */var BM=function(e,t){return BM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)n.hasOwnProperty(a)&&(r[a]=n[a])},BM(e,t)};function uN(e,t){BM(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function kue(e){var t=typeof Symbol=="function"&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function wue(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,i=[],s;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(o){s={error:o}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i}function Pue(){for(var e=[],t=0;t + * https://github.com/pladaria/reconnecting-websocket + * License MIT + */var Vue=function(){if(typeof WebSocket<"u")return WebSocket},Rue=function(e){return typeof e<"u"&&!!e&&e.CLOSING===2},yu={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0,startClosed:!1,debug:!1},Fue=function(){function e(t,r,n){var a=this;n===void 0&&(n={}),this._listeners={error:[],message:[],open:[],close:[]},this._retryCount=-1,this._shouldReconnect=!0,this._connectLock=!1,this._binaryType="blob",this._closeCalled=!1,this._messageQueue=[],this.onclose=null,this.onerror=null,this.onmessage=null,this.onopen=null,this._handleOpen=function(i){a._debug("open event");var s=a._options.minUptime,o=s===void 0?yu.minUptime:s;clearTimeout(a._connectTimeout),a._uptimeTimeout=setTimeout(function(){return a._acceptOpen()},o),a._ws.binaryType=a._binaryType,a._messageQueue.forEach(function(l){return a._ws.send(l)}),a._messageQueue=[],a.onopen&&a.onopen(i),a._listeners.open.forEach(function(l){return a._callEventListener(i,l)})},this._handleMessage=function(i){a._debug("message event"),a.onmessage&&a.onmessage(i),a._listeners.message.forEach(function(s){return a._callEventListener(i,s)})},this._handleError=function(i){a._debug("error event",i.message),a._disconnect(void 0,i.message==="TIMEOUT"?"timeout":void 0),a.onerror&&a.onerror(i),a._debug("exec error listeners"),a._listeners.error.forEach(function(s){return a._callEventListener(i,s)}),a._connect()},this._handleClose=function(i){a._debug("close event"),a._clearTimeouts(),a._shouldReconnect&&a._connect(),a.onclose&&a.onclose(i),a._listeners.close.forEach(function(s){return a._callEventListener(i,s)})},this._url=t,this._protocols=r,this._options=n,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}return Object.defineProperty(e,"CONNECTING",{get:function(){return 0},enumerable:!0,configurable:!0}),Object.defineProperty(e,"OPEN",{get:function(){return 1},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSING",{get:function(){return 2},enumerable:!0,configurable:!0}),Object.defineProperty(e,"CLOSED",{get:function(){return 3},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CONNECTING",{get:function(){return e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"OPEN",{get:function(){return e.OPEN},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSING",{get:function(){return e.CLOSING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"CLOSED",{get:function(){return e.CLOSED},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"binaryType",{get:function(){return this._ws?this._ws.binaryType:this._binaryType},set:function(t){this._binaryType=t,this._ws&&(this._ws.binaryType=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"retryCount",{get:function(){return Math.max(this._retryCount,0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"bufferedAmount",{get:function(){var t=this._messageQueue.reduce(function(r,n){return typeof n=="string"?r+=n.length:n instanceof Blob?r+=n.size:r+=n.byteLength,r},0);return t+(this._ws?this._ws.bufferedAmount:0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extensions",{get:function(){return this._ws?this._ws.extensions:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this._ws?this._ws.protocol:""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readyState",{get:function(){return this._ws?this._ws.readyState:this._options.startClosed?e.CLOSED:e.CONNECTING},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._ws?this._ws.url:""},enumerable:!0,configurable:!0}),e.prototype.close=function(t,r){if(t===void 0&&(t=1e3),this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(t,r)},e.prototype.reconnect=function(t,r){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(t,r),this._connect())},e.prototype.send=function(t){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",t),this._ws.send(t);else{var r=this._options.maxEnqueuedMessages,n=r===void 0?yu.maxEnqueuedMessages:r;this._messageQueue.length"],t))},e.prototype._getNextDelay=function(){var t=this._options,r=t.reconnectionDelayGrowFactor,n=r===void 0?yu.reconnectionDelayGrowFactor:r,a=t.minReconnectionDelay,i=a===void 0?yu.minReconnectionDelay:a,s=t.maxReconnectionDelay,o=s===void 0?yu.maxReconnectionDelay:s,l=0;return this._retryCount>0&&(l=i*Math.pow(n,this._retryCount-1),l>o&&(l=o)),this._debug("next delay",l),l},e.prototype._wait=function(){var t=this;return new Promise(function(r){setTimeout(r,t._getNextDelay())})},e.prototype._getNextUrl=function(t){if(typeof t=="string")return Promise.resolve(t);if(typeof t=="function"){var r=t();if(typeof r=="string")return Promise.resolve(r);if(r.then)return r}throw Error("Invalid URL")},e.prototype._connect=function(){var t=this;if(!(this._connectLock||!this._shouldReconnect)){this._connectLock=!0;var r=this._options,n=r.maxRetries,a=n===void 0?yu.maxRetries:n,i=r.connectionTimeout,s=i===void 0?yu.connectionTimeout:i,o=r.WebSocket,l=o===void 0?Vue():o;if(this._retryCount>=a){this._debug("max retries reached",this._retryCount,">=",a);return}if(this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),!Rue(l))throw Error("No valid WebSocket class provided");this._wait().then(function(){return t._getNextUrl(t._url)}).then(function(u){t._closeCalled||(t._debug("connect",{url:u,protocols:t._protocols}),t._ws=t._protocols?new l(u,t._protocols):new l(u),t._ws.binaryType=t._binaryType,t._connectLock=!1,t._addListeners(),t._connectTimeout=setTimeout(function(){return t._handleTimeout()},s))})}},e.prototype._handleTimeout=function(){this._debug("timeout event"),this._handleError(new Nue(Error("TIMEOUT"),this))},e.prototype._disconnect=function(t,r){if(t===void 0&&(t=1e3),this._clearTimeouts(),!!this._ws){this._removeListeners();try{this._ws.close(t,r),this._handleClose(new Uue(t,r,this))}catch{}}},e.prototype._acceptOpen=function(){this._debug("accept open"),this._retryCount=0},e.prototype._callEventListener=function(t,r){"handleEvent"in r?r.handleEvent(t):r(t)},e.prototype._removeListeners=function(){!this._ws||(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))},e.prototype._addListeners=function(){!this._ws||(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))},e.prototype._clearTimeouts=function(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)},e}(),J0=null;typeof WebSocket<"u"?J0=WebSocket:typeof MozWebSocket<"u"?J0=MozWebSocket:typeof global<"u"?J0=global.WebSocket||global.MozWebSocket:typeof window<"u"?J0=window.WebSocket||window.MozWebSocket:typeof self<"u"&&(J0=self.WebSocket||self.MozWebSocket);const Bue=J0;function fN(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,qp(e,t)}function HM(e){return HM=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},HM(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},qp(e,t)}function Hue(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function mh(e,t,r){return Hue()?mh=Reflect.construct:mh=function(a,i,s){var o=[null];o.push.apply(o,i);var l=Function.bind.apply(a,o),u=new l;return s&&qp(u,s.prototype),u},mh.apply(null,arguments)}function $ue(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function H_(e){var t=typeof Map=="function"?new Map:void 0;return H_=function(n){if(n===null||!$ue(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return mh(n,arguments,HM(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),qp(a,n)},H_(e)}function mN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var tE=function(e){fN(t,e);function t(r,n,a){var i;return i=e.call(this,r+" must be "+n+", "+typeof a+" given")||this,i.name=i.constructor.name,i.message=r+" must be "+n+", "+typeof a+" given",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(mN(i),i.constructor):i.stack=new Error(r+" must be "+n+", "+typeof a+" given").stack,i.code="ERR_INVALID_ARG_TYPE",i}return t}(H_(Error)),e3=function(e){fN(t,e);function t(){var r;return r=e.call(this,"The operation was aborted")||this,r.name=r.constructor.name,r.message="The operation was aborted",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(mN(r),r.constructor):r.stack=new Error("The operation was aborted").stack,r.code="ABORT_ERR",r}return t}(H_(Error));function jue(e,t){if(e===null||typeof e!="object")throw new tE(t,"Object",e)}function Gue(e,t){if(typeof e!="boolean")throw new tE(t,"boolean",e)}function Wue(e,t){if(typeof e<"u"&&(e===null||typeof e!="object"||!("aborted"in e)))throw new tE(t,"AbortSignal",e)}function g2(e,t,r){e===void 0&&(e=1),r===void 0&&(r={});var n=[].concat(t??[]);try{jue(r,"options")}catch(c){return Promise.reject(c)}var a=r,i=a.signal,s=a.ref,o=s===void 0?!0:s;try{Wue(i,"options.signal")}catch(c){return Promise.reject(c)}try{Gue(o,"options.ref")}catch(c){return Promise.reject(c)}if(i!=null&&i.aborted)return Promise.reject(new e3);var l,u=new Promise(function(c,f){var m=setTimeout.apply(void 0,[function(){return c(t)},e].concat(n));o||m==null||m.unref==null||m.unref(),i&&(l=function(){clearTimeout(m),f(new e3)},i.addEventListener("abort",l))});return typeof l<"u"&&u.finally(function(){return i.removeEventListener("abort",l)}),u}var $_={exports:{}};$_.exports=j_;$_.exports.default=j_;const t3={description:"An element of a change array representing a single change to a single resource",allOf:[{type:"object",required:["type","body","path","resource_id"],properties:{type:{description:"Indicates the type of change that occurred.",enum:["merge","delete"]},path:{description:'JSON Pointer to the descendant of this resource which changed (or "" for this resource)',$ref:"../../oada.schema.json#/definitions/path"},resource_id:{description:"The `_id` of the resource which actually changed",$ref:"../../oada.schema.json#/definitions/_id"}}},{oneOf:[{type:"object",required:["body"],properties:{body:{$comment:"Should probably narrow this schema down",description:"The contents of what changed",type:"object",required:["_rev"],properties:{_rev:{$ref:"../../oada.schema.json#/definitions/_rev"}}}}},{type:"object",required:["type","body"],properties:{type:{enum:["delete"]},body:{type:"null"}}}]}]},zue=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,Kue=new RegExp("^resources/.*$","u");function $a(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;const o=s;if(s===o)if(e&&typeof e=="object"&&!Array.isArray(e)){let m;if(e.type===void 0&&(m="type")||e.body===void 0&&(m="body")||e.path===void 0&&(m="path")||e.resource_id===void 0&&(m="resource_id"))return $a.errors=[{instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:m},message:"must have required property '"+m+"'"}],!1;if(e.type!==void 0){let d=e.type;const h=s;if(!(d==="merge"||d==="delete"))return $a.errors=[{instancePath:t+"/type",schemaPath:"#/allOf/0/properties/type/enum",keyword:"enum",params:{allowedValues:t3.allOf[0].properties.type.enum},message:"must be equal to one of the allowed values"}],!1;var l=h===s}else var l=!0;if(l){if(e.path!==void 0){let d=e.path;const h=s,p=s;if(s===p&&s===p)if(typeof d=="string"){if(!zue.test(d))return $a.errors=[{instancePath:t+"/path",schemaPath:"../../oada.schema.json#/definitions/path/format",keyword:"format",params:{format:"uri-reference"},message:'must match format "uri-reference"'}],!1}else return $a.errors=[{instancePath:t+"/path",schemaPath:"../../oada.schema.json#/definitions/path/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=h===s}else var l=!0;if(l)if(e.resource_id!==void 0){let d=e.resource_id;const h=s;if(s===s)if(typeof d=="string"){if(!Kue.test(d))return $a.errors=[{instancePath:t+"/resource_id",schemaPath:"../../oada.schema.json#/definitions/_id/pattern",keyword:"pattern",params:{pattern:"^resources/.*$"},message:'must match pattern "^resources/.*$"'}],!1}else return $a.errors=[{instancePath:t+"/resource_id",schemaPath:"../../oada.schema.json#/definitions/_id/type",keyword:"type",params:{type:"string"},message:"must be string"}],!1;var l=h===s}else var l=!0}}else return $a.errors=[{instancePath:t,schemaPath:"#/allOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"}],!1;var u=o===s;if(u){const m=s,d=s;let h=!1,p=null;const _=s;if(s===_)if(e&&typeof e=="object"&&!Array.isArray(e)){let g;if(e.body===void 0&&(g="body")){const y={instancePath:t,schemaPath:"#/allOf/1/oneOf/0/required",keyword:"required",params:{missingProperty:g},message:"must have required property '"+g+"'"};i===null?i=[y]:i.push(y),s++}else if(e.body!==void 0){let y=e.body;if(s===s)if(y&&typeof y=="object"&&!Array.isArray(y)){let I;if(y._rev===void 0&&(I="_rev")){const D={instancePath:t+"/body",schemaPath:"#/allOf/1/oneOf/0/properties/body/required",keyword:"required",params:{missingProperty:I},message:"must have required property '"+I+"'"};i===null?i=[D]:i.push(D),s++}else if(y._rev!==void 0){let D=y._rev;if(!(typeof D=="number"&&!(D%1)&&!isNaN(D))){const T={instancePath:t+"/body/_rev",schemaPath:"../../oada.schema.json#/definitions/_rev/type",keyword:"type",params:{type:"integer"},message:"must be integer"};i===null?i=[T]:i.push(T),s++}}}else{const I={instancePath:t+"/body",schemaPath:"#/allOf/1/oneOf/0/properties/body/type",keyword:"type",params:{type:"object"},message:"must be object"};i===null?i=[I]:i.push(I),s++}}}else{const g={instancePath:t,schemaPath:"#/allOf/1/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};i===null?i=[g]:i.push(g),s++}var f=_===s;f&&(h=!0,p=0);const S=s;if(s===S)if(e&&typeof e=="object"&&!Array.isArray(e)){let g;if(e.type===void 0&&(g="type")||e.body===void 0&&(g="body")){const y={instancePath:t,schemaPath:"#/allOf/1/oneOf/1/required",keyword:"required",params:{missingProperty:g},message:"must have required property '"+g+"'"};i===null?i=[y]:i.push(y),s++}else{if(e.type!==void 0){const y=s;if(e.type!=="delete"){const M={instancePath:t+"/type",schemaPath:"#/allOf/1/oneOf/1/properties/type/enum",keyword:"enum",params:{allowedValues:t3.allOf[1].oneOf[1].properties.type.enum},message:"must be equal to one of the allowed values"};i===null?i=[M]:i.push(M),s++}var c=y===s}else var c=!0;if(c)if(e.body!==void 0){const y=s;if(e.body!==null){const I={instancePath:t+"/body",schemaPath:"#/allOf/1/oneOf/1/properties/body/type",keyword:"type",params:{type:"null"},message:"must be null"};i===null?i=[I]:i.push(I),s++}var c=y===s}else var c=!0}}else{const g={instancePath:t,schemaPath:"#/allOf/1/oneOf/1/type",keyword:"type",params:{type:"object"},message:"must be object"};i===null?i=[g]:i.push(g),s++}var f=S===s;if(f&&h?(h=!1,p=[p,1]):f&&(h=!0,p=1),h)s=d,i!==null&&(d?i.length=d:i=null);else{const g={instancePath:t,schemaPath:"#/allOf/1/oneOf",keyword:"oneOf",params:{passingSchemas:p},message:"must match exactly one schema in oneOf"};return i===null?i=[g]:i.push(g),s++,$a.errors=i,!1}var u=m===s}return $a.errors=i,s===0}function j_(e,{instancePath:t="",parentData:r,parentDataProperty:n,rootData:a=e}={}){let i=null,s=0;if(s===0)if(Array.isArray(e)){var o=!0;const l=e.length;for(let u=0;u=this.highWaterMark&&!this.isPaused&&(this.isPaused=!0,this.eventHandlers.highWater?this.eventHandlers.highWater():console&&console.warn(`EventIterator queue reached ${this.pushQueue.length} items`))}stop(){if(!this.isStopped){this.isStopped=!0,this.remove();for(const t of this.pullQueue)t.resolve({value:void 0,done:!0});this.pullQueue.length=0}}fail(t){if(!this.isStopped)if(this.isStopped=!0,this.remove(),this.pullQueue.length){for(const r of this.pullQueue)r.reject(t);this.pullQueue.length=0}else{const r=Promise.reject(t);r.catch(()=>{}),this.pushQueue.push(r)}}remove(){Promise.resolve().then(()=>{this.removeCallback&&this.removeCallback()})}[Symbol.asyncIterator](){return{next:t=>{const r=this.pushQueue.shift();return r?(this.lowWaterMark!==void 0&&this.pushQueue.length<=this.lowWaterMark&&this.isPaused&&(this.isPaused=!1,this.eventHandlers.lowWater&&this.eventHandlers.lowWater()),r):this.isStopped?Promise.resolve({value:void 0,done:!0}):new Promise((n,a)=>{this.pullQueue.push({resolve:n,reject:a})})},return:()=>(this.isStopped=!0,this.pushQueue.length=0,this.remove(),Promise.resolve({value:void 0,done:!0}))}}}class dN{constructor(t,{highWaterMark:r=100,lowWaterMark:n=1}={}){const a=new e0e;a.highWaterMark=r,a.lowWaterMark=n,a.removeCallback=t({push:i=>a.push(i),stop:()=>a.stop(),fail:i=>a.fail(i),on:(i,s)=>{a.eventHandlers[i]=s}})||(()=>{}),this[Symbol.asyncIterator]=()=>a[Symbol.asyncIterator](),Object.freeze(this)}}S2.EventIterator=dN;S2.default=dN;Object.defineProperty(v2,"__esModule",{value:!0});const sE=S2;v2.EventIterator=sE.EventIterator;function t0e(e,t,r){return new sE.EventIterator(({push:n})=>(this.addEventListener(e,n,t),()=>this.removeEventListener(e,n,t)),r)}var hN=v2.subscribe=t0e;v2.default=sE.EventIterator;/** + * @license + * Copyright 2021 Open Ag Data Alliance + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */async function*r0e(...[e,t,r]){yield*hN.call(e,t,r)}async function $M(...[e,t]){const r=hN.call(e,t);for await(const n of r)return n;throw new Error(`Failed to await event ${t}`)}/** + * @license + * Copyright 2021 Open Ag Data Alliance + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const _N=Ui("@oada/client:errors:warn"),n0e=Ui("@oada/client:errors:trace"),s0e=5*60*1e4;async function n3(e,t,...r){const a=new S0.exports.Headers(e.headers).get("Retry-After"),i=a?Number(a)*1e3||Number(new Date(a))-Date.now():s0e;return _N("Received %s, retrying in %d ms",e.status,i),await g2(i),y2(t,...r)}async function a0e(e,t,...r){return _N(e,"Connection reset, retrying in 10000 ms"),await g2(1e4),y2(t,...r)}async function y2(e,...t){try{return await e(...t)}catch(r){const n=r?.[0]?.error??r?.[0]??r?.error??r;switch(n0e(n,"Attempting to handle error"),`${n.status??r?.code}`){case"429":return await n3(n,e,...t);case"503":{if(new S0.exports.Headers(n.headers).has("Retry-After"))return await n3(n,e,...t);break}case"ECONNRESET":return await a0e(n,e,...t)}throw await tf(r)}}/** + * @license + * Copyright 2021 Open Ag Data Alliance + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */var ph,gc,Nc,Ou,Q0,Eu,G_,gN,vN;const fm=Ui("@oada/client:ws:trace"),i0e=Ui("@oada/client:ws:error");class o0e extends Bue{constructor(t,r=[],{maxPayload:n=0,...a}={}){super(t,r,{maxPayload:n,...a})}}class aE extends V_{constructor(t,{concurrency:r=10,userAgent:n}){super(),ph.add(this),gc.set(this,void 0),Nc.set(this,void 0),Ou.set(this,void 0),Q0.set(this,new V_),Eu.set(this,void 0),G_.set(this,void 0),jr(this,G_,n,"f"),jr(this,Nc,t.replace(/^http/,"ws"),"f"),jr(this,Ou,1,"f");const a=new Fue(ft(this,Nc,"f"),[],{connectionTimeout:30*1e3,WebSocket:o0e}),i=$M(a,"open").then(()=>a),s=$M(a,"error").then(([o])=>{throw o});jr(this,gc,Promise.race([i,s]),"f"),a.addEventListener("open",()=>{fm("Connection opened"),jr(this,Ou,2,"f"),this.emit("open")}),a.addEventListener("close",()=>{fm("Connection closed"),jr(this,Ou,0,"f"),this.emit("close")}),a.addEventListener("error",o=>{fm(o,"Connection error")}),a.addEventListener("message",ft(this,ph,"m",vN).bind(this)),jr(this,Eu,new aN({concurrency:r}),"f"),ft(this,Eu,"f").on("active",()=>{fm("WS Queue. Size: %d pending: %d",ft(this,Eu,"f").size,ft(this,Eu,"f").pending)})}async disconnect(){ft(this,Ou,"f")!==0&&(await ft(this,gc,"f")).close()}isConnected(){return ft(this,Ou,"f")===2}async awaitConnection(){await ft(this,gc,"f")}async request(t,{timeout:r,signal:n}={}){return ft(this,Eu,"f").add(async()=>y2(ft(this,ph,"m",gN).bind(this),t,{timeout:r,signal:n}))}}gc=new WeakMap,Nc=new WeakMap,Ou=new WeakMap,Q0=new WeakMap,Eu=new WeakMap,G_=new WeakMap,ph=new WeakSet,gN=async function(t,{timeout:r,signal:n}={}){const a=await ft(this,gc,"f"),i=t.requestId??_2();t.requestId=i,oN(t);const{headers:s,watch:o,method:l}=t,u=[$M(ft(this,Q0,"f"),`response:${i}`)],c={...t,headers:{"user-agent":ft(this,G_,"f"),...s},method:o?l==="head"?"watch":`${l}-watch`:l};a.send(JSON.stringify(c)),r&&u.push(g2(r).then(()=>{throw new lN(t)}));const[f]=await Promise.race(u);if(f.status>=200&&f.status<300){if(o){const m=r0e(ft(this,Q0,"f"),`change:${i}`,{signal:n});return[f,m]}return[f]}throw await tf(f)},vN=function(t){try{const r=JSON.parse(String(t.data)),n=Array.isArray(r.requestId)?r.requestId:[r.requestId];if(Que(r))for(const a of n)ft(this,Q0,"f").emit(`response:${a}`,r);else if(Xue(r)){que(r.change);const a=r.change.map(({body:i,...s})=>({...s,body:i}));for(const i of n){const s={requestId:[i],resourceId:r.resourceId,change:a};ft(this,Q0,"f").emit(`change:${i}`,s)}}else throw new Error("Invalid websocket payload received")}catch(r){i0e("[Websocket %s] Received invalid response. Ignoring.",ft(this,Nc,"f")),fm(r,"[Websocket %s] Received invalid response",ft(this,Nc,"f"))}};/** + * @license + * Copyright 2021 Open Ag Data Alliance + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */var W_,Si,mm,bu,Lu,dh,hh,_h,xo,Cu,SN;const ma=Ui("@oada/client:http:trace"),l0e=Ui("@oada/client:http:error");function u0e({userAgent:e}){return S0.exports.context?S0.exports.context({userAgent:e}):{fetch:xue}}function c0e(e){const t=yue(e);return[t.subtype,t.suffix].includes("json")}async function f0e(e){return c0e(e.headers.get("content-type"))?await e.json():Go.Buffer.from(await e.arrayBuffer())}class jM extends V_{constructor(t,r,{concurrency:n=10,userAgent:a}){super(),W_.add(this),Si.set(this,void 0),mm.set(this,void 0),bu.set(this,void 0),Lu.set(this,void 0),dh.set(this,void 0),hh.set(this,void 0),_h.set(this,void 0),xo.set(this,void 0),Cu.set(this,void 0),jr(this,xo,u0e({userAgent:a}),"f"),jr(this,Si,t.startsWith("http")?t:`https://${t}`,"f"),jr(this,Si,ft(this,Si,"f").replace(/\/$/,""),"f"),jr(this,mm,r,"f"),jr(this,bu,1,"f"),ma("Opening HTTP connection to HEAD %s/bookmarks w/authorization: Bearer %s",ft(this,Si,"f"),ft(this,mm,"f")),jr(this,dh,ft(this,xo,"f").fetch(`${ft(this,Si,"f")}/bookmarks`,{method:"HEAD",headers:{authorization:`Bearer ${ft(this,mm,"f")}`}}).then(i=>{ma("Initial HEAD returned status: ",i.status),i.status<400?(ma('Initial HEAD succeeded, emitting "open"'),jr(this,bu,2,"f"),this.emit("open")):(ma('Initial HEAD failed, emitting "close"'),jr(this,bu,0,"f"),this.emit("close"))}),"f"),jr(this,hh,n,"f"),jr(this,_h,a,"f"),jr(this,Lu,new aN({concurrency:n}),"f"),ft(this,Lu,"f").on("active",()=>{ma("HTTP Queue. Size: %d pending: %d",ft(this,Lu,"f").size,ft(this,Lu,"f").pending)})}async disconnect(){jr(this,bu,0,"f"),"disconnectAll"in ft(this,xo,"f")&&await ft(this,xo,"f").disconnectAll(),await ft(this,Cu,"f")?.disconnect(),this.emit("close")}isConnected(){return ft(this,bu,"f")===2}async awaitConnection(){await ft(this,dh,"f")}async request(t,{timeout:r,signal:n}={}){return ma(t,"Starting http request"),t.watch||t.method==="unwatch"?(ma("WATCH/UNWATCH not currently supported for http(2), falling-back to ws"),ft(this,Cu,"f")||(jr(this,Cu,new aE(ft(this,Si,"f"),{concurrency:ft(this,hh,"f"),userAgent:ft(this,_h,"f")}),"f"),await ft(this,Cu,"f").awaitConnection()),ft(this,Cu,"f").request(t,{timeout:r,signal:n})):(t.requestId||(t.requestId=_2()),ma("Adding http request w/ id %s to the queue",t.requestId),ft(this,Lu,"f").add(async()=>y2(ft(this,W_,"m",SN).bind(this),t,r)))}}Si=new WeakMap,mm=new WeakMap,bu=new WeakMap,Lu=new WeakMap,dh=new WeakMap,hh=new WeakMap,_h=new WeakMap,xo=new WeakMap,Cu=new WeakMap,W_=new WeakSet,SN=async function e(t,r){ma("Pulled request %s from queue, starting on it",t.requestId),oN(t),ma("Req looks like socket request, awaiting race of timeout and fetch to %s%s",ft(this,Si,"f"),t.path);let n=!1,a=!1,i;r&&(i=new Aue,setTimeout(()=>{n||(a=!0,i.abort())},r));const s=Go.Buffer.isBuffer(t.data)?t.data:JSON.stringify(t.data);try{const o=await ft(this,xo,"f").fetch(new URL(t.path,ft(this,Si,"f")).toString(),{method:t.method.toUpperCase(),signal:i?.signal,timeout:r,body:s,headers:t.headers});if(n=!0,ma("Fetch did not throw, checking status of %s",o.status),!o.ok)throw ma("result.status %s is not 2xx, throwing",o.status),await tf(o);ma("result.status ok, pulling headers");const l=Object.fromEntries(o.headers.entries()),u=t.method.toUpperCase()==="HEAD"?void 0:await f0e(o);return[{requestId:t.requestId,status:o.status,statusText:o.statusText,headers:l,data:u}]}catch(o){if(a)throw new lN(t);switch(o?.code){case"ERR_HTTP2_INVALID_SESSION":return l0e("HTTP/2 session was killed, reconnecting"),"disconnect"in ft(this,xo,"f")&&await ft(this,xo,"f").disconnect(ft(this,Si,"f")),ft(this,W_,"m",e).call(this,t,r);default:throw o}}};/** + * @license + * Copyright 2021 Open Ag Data Alliance + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const m0e=Ui("@oada/client:auto:error");function s3(e){const t=new URL(e);switch(t.protocol){case"http2:":return Object.assign(t,{port:Number(t.port)||80,protocols:["h2"]});case"https:":return Object.assign(t,{port:Number(t.port)||443,protocols:["h2","http/1.1","http/1.0"]});case"http:":return Object.assign(t,{port:Number(t.port)||80,protocols:["http/1.1","http/1.0"]});default:throw new Error(`Unsupported domain protocol: ${t.protocol}`)}}function yN(e){try{return s3(e)}catch{return s3(`https://${e}`)}}async function p0e({domain:e,token:t,concurrency:r,userAgent:n}){try{const{hostname:a,port:i,protocols:s}=yN(e),{alpnProtocol:o}=await nue({host:a,servername:a,port:i,rejectUnauthorized:!1,ALPNProtocols:s});switch(o){case"h2":return new jM(e,t,{concurrency:r,userAgent:n});case"http/1.1":case"http/1.0":return new aE(e,{concurrency:r,userAgent:n});default:throw new Error(`Unsupported ALPN protocol: ${o}`)}}catch(a){return m0e(a,"Failed to auto pick connection type, falling back to HTTP"),new jM(e,t,{concurrency:r,userAgent:n})}}var M2={exports:{}};const{AbortController:MN,AbortSignal:d0e}=typeof self<"u"?self:typeof window<"u"?window:void 0;M2.exports=MN;M2.exports.AbortSignal=d0e;M2.exports.default=MN;var D2={};Object.defineProperty(D2,"__esModule",{value:!0});D2.default=Yp;D2.formatKeys=DN;function Yp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new Map,n=r.get(e);if(n)return n;if(Array.isArray(e)){var a=[];r.set(e,a);for(var i=0;i{};/** + * @license + * Copyright 2021 Open Ag Data Alliance + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */var pa,Va,Tu,xu,as,Za,IN,RS,GM,ON,EN,i3,o3,l3;const Co=Ui("@oada/client:client:trace"),u3=Ui("@oada/client:client:info"),_0e=Ui("@oada/client:client:warn"),g0e=Ui("@oada/client:client:error");async function v0e(e,t,r){try{for await(const n of e)try{await t(n)}catch(a){g0e(a,`Error in watch callback for watch ${r}`)}}finally{await e.return?.()}}class iE{constructor({domain:t,token:r="",concurrency:n=1,userAgent:a=`${{}.npm_package_name}/${{}.npm_package_version}`,connection:i="http"}){switch(pa.add(this),Va.set(this,void 0),Tu.set(this,void 0),xu.set(this,void 0),as.set(this,void 0),Za.set(this,void 0),jr(this,Tu,t,"f"),jr(this,Va,r,"f"),jr(this,xu,n,"f"),jr(this,Za,new Map,"f"),i){case"auto":throw new Error('Connection type "auto" is not supported');case"ws":{jr(this,as,new aE(ft(this,Tu,"f"),{concurrency:ft(this,xu,"f"),userAgent:a}),"f");break}case"http":{jr(this,as,new jM(ft(this,Tu,"f"),ft(this,Va,"f"),{concurrency:ft(this,xu,"f"),userAgent:a}),"f");break}default:jr(this,as,i,"f")}}clone(t){return new iE({domain:ft(this,Tu,"f"),token:t,concurrency:ft(this,xu,"f"),connection:ft(this,as,"f")})}getToken(){return ft(this,Va,"f")}getDomain(){return ft(this,Tu,"f")}getConcurrency(){return ft(this,xu,"f")}async disconnect(){return ft(this,as,"f").disconnect()}async awaitConnection(){return ft(this,as,"f").awaitConnection()}async get(t){const[r]=await ft(this,as,"f").request({method:"get",headers:{...t.headers,authorization:`Bearer ${ft(this,Va,"f")}`},path:t.path},{timeout:t.timeout});if(t.tree){const n=VS(t.path),a=FM(t.tree,n);r.data=await ft(this,pa,"m",IN).call(this,t.path,a,r.data??{})}return r}async watch(t){const r=new M2.exports.AbortController,n={};t.rev&&(n["x-oada-rev"]=`${t.rev}`);let a="";if(t.persist?.name){const{name:h,recordLapsedTimeout:p}=t.persist;a=`${t.path}/_meta/watchPersists/${h}`;let _;const{data:S}=await this.get({path:`${t.path}/_meta`}),v=typeof S=="object"&&!Go.Buffer.isBuffer(S)&&!Array.isArray(S)?Number(S?._rev):void 0;try{const{data:y}=await this.get({path:a});typeof y=="object"&&!Go.Buffer.isBuffer(y)&&!Array.isArray(y)&&(_=Number(y?.rev),n["x-oada-rev"]=_.toString(),Co("Watch persist found _meta entry for [%s]. Setting x-oada-rev header to %d",h,_)),_||(Co("Watch persist found _meta entry for [%s], but 'rev' is undefined. Writing 'rev' as %d",h,_),await this.put({path:`${a}/rev`,data:v}),_=Number(v))}catch{_=Number(v);let y;if(typeof _=="number"){const{headers:M}=await this.post({path:"/resources",data:{rev:_}});y=M["content-location"]?.replace(/^\//,"")}y&&(await this.put({path:a,data:{_id:y}}),Co(`Watch persist did not find _meta entry for [${h}]. Current resource _rev is ${_}. Not setting x-oada-rev header. _meta entry created.`))}let g;try{const{data:y}=await this.get({path:`${a}/items`});g=y&&!Go.Buffer.isBuffer(y)?y:{}}catch(y){if(y?.code==="404")g={};else throw y}ft(this,Za,"f").set(a,{lastCheck:void 0,recordLapsedTimeout:p,lastRev:_,items:new Map,recorded:new Map(Object.entries(g).map(([y,M])=>[Number(y),M]))})}ft(this,as,"f").on("open",()=>{r.abort()});const{persist:i,path:s,timeout:o,initialMethod:l="head"}=t,[u,c]=await ft(this,as,"f").request({watch:!0,method:l,headers:{...t.headers,...n,authorization:`Bearer ${ft(this,Va,"f")}`},path:s},{timeout:o,signal:r.signal});if(u.status!==200)throw new Error("Watch request failed!");const f=Array.isArray(u.requestId)?u.requestId[0]:u.requestId;async function*m(){try{for await(const[h]of c){let p;if(i){const _=h?.change.find(S=>S.path==="")?.body;typeof _=="object"&&_!==null&&!Array.isArray(_)&&(p=_._rev,a&&ft(this,Za,"f").has(a)&&ft(this,Za,"f").get(a).items.set(Number(p),Date.now()))}if(t.type==="tree")yield a3(h.change);else if(!t.type||t.type==="single"){for(const _ of h.change)if(yield a3(_),_.path===""){const S=_.body?._rev;if(S)Co("Updated the rev of request %s to %s",h.requestId[0],S);else throw new Error("The _rev field is missing.")}}i&&typeof p=="number"&&ft(this,Za,"f").has(a)&&await ft(this,pa,"m",EN).call(this,a,p)}}finally{await this.unwatch(f)}if(r.signal.aborted){const{changes:h}=await this.watch(t);yield*h}}if("watchCallback"in t){const h=m.call(this),{watchCallback:p}=t;return v0e(h,p,f),f}const d=m.call(this);return{...u,changes:d}}async unwatch(t){Co("Unwatch requestId=%s",t);const[r]=await ft(this,as,"f").request({path:"",headers:{authorization:""},method:"unwatch",requestId:t});return r}async put(t){const r=VS(t.path);t.tree&&await ft(this,pa,"m",ON).call(this,t.tree,r);const n=await ft(this,pa,"m",GM).call(this,t,r),a=t.etagIfMatch&&Cue(t.etagIfMatch),[i]=await ft(this,as,"f").request({method:"put",headers:{...t.headers,authorization:`Bearer ${ft(this,Va,"f")}`,"content-type":n,...a&&{"if-match":a.join(", ")}},path:t.path,data:t.data},{timeout:t.timeout});return i}async post(t){const r=VS(t.path),{data:n,tree:a,path:i,timeout:s,headers:o}=t;if(a){const c=_2();return this.put({...t,path:(i.endsWith("/")?i:`${i}/`)+c})}const l=await ft(this,pa,"m",GM).call(this,t,r),[u]=await ft(this,as,"f").request({method:"post",headers:{...o,authorization:`Bearer ${ft(this,Va,"f")}`,"content-type":l},path:i,data:n},{timeout:s});return u}async head(t){const[r]=await ft(this,as,"f").request({method:"head",headers:{...t.headers,authorization:`Bearer ${ft(this,Va,"f")}`},path:t.path},{timeout:t.timeout});return r}async delete(t){const[r]=await ft(this,as,"f").request({method:"delete",headers:{...t.headers,authorization:`Bearer ${ft(this,Va,"f")}`},path:t.path},{timeout:t.timeout});return r}async ensure(t){try{const[r]=await ft(this,as,"f").request({method:"head",headers:{...t.headers,authorization:`Bearer ${ft(this,Va,"f")}`},path:t.path},{timeout:t.timeout});return r}catch(r){if(r?.code!=="404")throw await tf(r);return Co("Path to ensure did not exist. Creating"),await this.put(t)}}}Va=new WeakMap,Tu=new WeakMap,xu=new WeakMap,as=new WeakMap,Za=new WeakMap,pa=new WeakSet,IN=async function e(t,r,n){if(!r||!n)throw new Error("Path mismatch.");if(r._type&&({data:n={}}=await this.get({path:t})),Go.Buffer.isBuffer(n)||!n)return n;const a=[];if("*"in r)for(const[i,s]of Object.entries(n))["_meta","_changes"].indexOf(i)>-1&&!(i in r)||typeof s=="object"&&a.push({treeKey:"*",dataKey:i});else for(const i of Object.keys(r??{}))typeof n[i]=="object"&&a.push({treeKey:i,dataKey:i});return await Promise.all(a.map(async i=>{const s=`${t}/${i.dataKey}`;try{const o=await ft(this,pa,"m",e).call(this,s,r[i.treeKey],n[i.dataKey]);if(Go.Buffer.isBuffer(o))throw new TypeError("Non JSON is not supported.");n[i.dataKey]=o}catch(o){_0e(o,`Failed to recursively GET ${s}`)}})),n},RS=async function(t,r){let n=null,a=[];for await(const i of Array.from(r.keys()).reverse()){const s=r.slice(0,i+1),o=FM(t,s);if(!o._type)continue;const l=o._type,u=Q5(s),c=await ft(this,pa,"m",l3).call(this,u);if(c.exist){n&&a.length>0&&await this.put({path:Q5(a),contentType:l,data:n,etagIfMatch:c.etag});return}const f=a.slice(i+1),m=n?Tue(n,f):{},d=await ft(this,pa,"m",o3).call(this,l,m);n="_rev"in o?{_id:d,_rev:0}:{_id:d},a=s.slice()}},GM=async function({contentType:t,data:r,tree:n},a){if(t)return t;if(Go.Buffer.isBuffer(r)){const i=await h0e();if(i?.mime)return i.mime}else{const i=r?._type;if(i)return i}if(n){const{_type:i}=FM(n,a);if(i)return i}return"application/json"},ON=async function(t,r){const n=new Set(["412","422"]),a=5;for await(const i of Array.from({length:a-1}).keys())try{await ft(this,pa,"m",RS).call(this,t,r);return}catch(s){if(n.has(s?.code))await g2(100*((i+1)**2+Math.random()));else throw await tf(s)}await ft(this,pa,"m",RS).call(this,t,r)},EN=async function(t,r){if(Co("Persisting watch for path %s to rev %d",t,r),ft(this,Za,"f").has(t)){let{lastRev:n,recorded:a,items:i,recordLapsedTimeout:s,lastCheck:o}=ft(this,Za,"f").get(t);if(s!==void 0){a.has(r)&&(u3("Lapsed rev [%d] on path %s is now resolved. Removing from 'items' list.",r,t),await this.delete({path:`${t}/items/${r}`}));const l=Date.now();(o===void 0||o+s>l)&&await ft(this,pa,"m",i3).call(this,t,l),ft(this,Za,"f").get(t).lastCheck=l}for(i.set(Number(r),!0);i.get(n+1)===!0;)n++,ft(this,Za,"f").get(t).lastRev=n,i.delete(Number(n));await this.put({path:`${t}/rev`,data:n}),Co("Persisted watch: path: [%s], rev: [%d]",t,n)}},i3=async function(t,r){Co("Checking for lapsed revs for path [%s] time: [%s]",t,r);const{items:n,recorded:a,recordLapsedTimeout:i}=ft(this,Za,"f").get(t);for(const[s,o]of n)if(i!==void 0&&typeof o=="number"&&r>Number(o)+i){const l=`${t}/items/${s}`;u3("Recording lapsed rev: %s",l),await this.put({path:l,data:o}),n.set(Number(s),!0),a.set(Number(s),!0)}},o3=async function(t,r){const a=`resources/${_2()}`;return await this.put({path:`/${a}`,data:r,contentType:t}),a},l3=async function(t){if(t==="/resources")return{exist:!0};try{const r=await this.head({path:t});if(r.status===200)return{exist:!0,etag:r.headers.etag};if(r.status===404)return{exist:!1}}catch(r){if(r?.code==="404")return{exist:!1};if(r?.code==="403"&&t.startsWith("/resources"))return{exist:!1};throw await tf(r)}throw new Error("Status code is neither 200 nor 404.")};/** + * @license + * Copyright 2021 Open Ag Data Alliance + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function S0e(e){return yN(e).toString()}async function y0e({connection:e="auto",concurrency:t=1,userAgent:r=`${{}.npm_package_name}/${{}.npm_package_version}`,...n}){const a=e==="auto"?await p0e({concurrency:t,userAgent:r,...n}):e,i=new iE({...n,domain:S0e(n.domain),connection:a});return await i.awaitConnection(),i}let vc;const M0e=Vt("@modusjs/app#actions:error"),D0e=Vt("@modusjs/app#actions:warn"),t0=Vt("@modusjs/app#actions:info");[...new Set(Object.values(SM).map(e=>e.Element))];const I0e=ir("selectLabConfig",e=>{yt.labConfig.selected=e.target.value}),O0e=ir("showLabConfig",()=>{yt.labConfig.show=!yt.labConfig.show}),E0e=ir("changeTab",(e,t)=>{yt.tab=t}),b0e=ir("cancelConfig",()=>{delete yt.labConfig.config,yt.messages=[]}),L0e=ir("saveConfig",()=>{const e=JSON.parse(JSON.stringify(yt.labConfig.config)),t=`${e.name}-${e.type}`;yt.labConfig.list[t]=e,delete yt.labConfig.config,N0(`Configuration successfully saved as '${e.name}'`)}),C0e=ir("selectLabName",e=>{yt.labConfig.select.name=e.target.value}),T0e=ir("selectLabType",e=>{yt.labConfig.select.type=e.target.value;const t=`${yt.labConfig.select.name} - ${yt.labConfig.select.type}`;yt.labConfig.config=yt.labConfig.list[t],yt.labConfig.config.name=yt.labConfig.config.name||yt.labConfig.select.name,yt.labConfig.config.type=yt.labConfig.config.type||yt.labConfig.select.type,yt.labConfig.select={}}),x0e=ir("cancelAnalyte",()=>{delete yt.labConfig.analyteEditor}),A0e=ir("saveAnalyte",()=>{const{CsvHeader:e}=yt.labConfig?.analyteEditor;yt.labConfig.config.analytes[e]=yt.labConfig?.analyteEditor,yt.labConfig.config.units[e]=yt.labConfig?.analyteEditor?.ValueUnit,delete yt.labConfig.analyteEditor}),k0e=ir("addNutrientResult",()=>{yt.labConfig.analyteEditor={}}),w0e=ir("cancelMapping",()=>{delete yt.labConfig.mappingEditor}),P0e=ir("saveMapping",()=>{const{CsvHeader:e,modus:t}=yt.labConfig.mappingEditor;yt.labConfig.config.mappings[e]=t,delete yt.labConfig.mappingEditor}),N0e=ir("addMapping",()=>{yt.labConfig.mappingEditor={}}),U0e=ir("handleLCMappingChange",({evt:e,key:t})=>{yt.labConfig.mappingEditor=yt.labConfig.mappingEditor||{},yt.labConfig.mappingEditor={...yt.labConfig.mappingEditor,[t]:e.target.value},console.log(yt.labConfig.mappingEditor)}),V0e=ir("handleLCAnalyteChange",({key:e,evt:t})=>{yt.labConfig.analyteEditor=yt.labConfig.analyteEditor||{},yt.labConfig.analyteEditor={...yt.labConfig.analyteEditor,[e]:t.target.value},console.log(yt.labConfig.analyteEditor)}),R0e=ir("handleLCNameChange",e=>{yt.labConfig.config.name=e.target.value}),F0e=ir("handleLCTypeChange",e=>{yt.labConfig.config.type=e.target.value}),N0=ir("message",e=>{typeof e=="string"&&(e={type:"good",msg:e}),yt.messages=[...yt.messages,e],yt.messages.length>4&&WM(),setTimeout(WM,8e3)}),WM=ir("popMessage",()=>{t0("popping message.."),yt.messages=yt.messages.slice(1)}),B0e=ir("output",e=>{yt.output=e}),H0e=ir("trellis",async e=>{typeof e.domain<"u"&&(yt.trellis.domain=e.domain),typeof e.token<"u"&&(yt.trellis.token=e.token)}),$0e=ir("inzone",e=>{yt.inzone=e}),zM=ir("headless",e=>{yt.headless=e}),j0e=ir("setTable",(e,t)=>{yt.table[e]=t}),oE=ir("fetchTrellisData",async()=>{let{data:e}=await vc.get({path:"/bookmarks/lab-results/"}),t=Object.keys(e).filter(r=>!r.startsWith("_"));for await(const r of t){await new Promise(i=>setTimeout(i,50));let{data:n}=await vc.get({path:`/bookmarks/lab-results/${r}/event-date-index/`}),a=Object.keys(n).filter(i=>!i.startsWith("_"));for await(const i of a){await new Promise(l=>setTimeout(l,50));let{data:s}=await vc.get({path:`/bookmarks/lab-results/${r}/event-date-index/${i}/md5-index`}),o=Object.keys(s).filter(l=>!l.startsWith("_"));for await(const l of o){await new Promise(c=>setTimeout(c,50));let{data:u}=await vc.get({path:`/bookmarks/lab-results/${r}/event-date-index/${i}/md5-index/${l}`});u0(()=>{yt.files[l]=u})}}}}),G0e=ir("trellisConnect",async()=>{const{domain:e,token:t}=yt.trellis,r=await y0e({domain:e,token:t});W0e(r),u0(()=>yt.trellis.conn=!0),N0(`Connected to your Trellis at ${e}`),oE()});function W0e(e){vc=e}const z0e=ir("putDoc",async e=>{try{const t=yt.trellis.conn;for await(const{modus:r}of e){let n=e0.exports(bN(r)),{type:a,date:i}=r,s=`/bookmarks/lab-results/${a}/event-date-index/${i}/md5-index/${n}`;i&&n&&(t0(`Putting to path: ${s}`),console.log(`Putting to path: ${s}`),await eue({method:"put",url:`https://localhost${s}`,data:r,headers:{Authorization:`Bearer ${yt.trellis.token}`,"Content-Type":"application/json"}}),u0(()=>{yt.files[n]=r}),t0("waiting"),console.log("waiting"),await new Promise(o=>setTimeout(o,250)))}N0(`Successfully saved ${e.length} result${e.length===1?"":"s"} to your Trellis.`),t0("Successfully wrote results to trellis"),u0(oE())}catch(t){console.error(`toTrellis Errored: ${t}`),M0e(`toTrellis Errored: ${t}`)}});function bN(e){if(typeof e=="number"){const i=e.toString();return i.match(/\./)&&D0e("You cannot serialize a floating point number with a hashing function and expect it to work consistently across all systems. Use a string."),i}if(typeof e=="string")return'"'+e+'"';if(typeof e=="boolean")return e?"true":"false";var t=Array.isArray(e),r=t?"[":"{",n=t?"]":"}";if(!e)return"null";const a=Object.keys(e).sort();return r+a.reduce(function(i,s,o){return t||(i+='"'+s+'":'),i+=bN(e[s]),o{for await(const e of yt.table.selected){let{date:t,type:r}=yt.files[e];const n=`/bookmarks/lab-results/${r}/event-date-index/${t}/md5-index/${e}`;N0(`Removing modus result ${e} from Trellis.`),t0(`Putting to path: ${n}`),await vc.delete({path:n}),await new Promise(a=>setTimeout(a,250)),u0(()=>{yt.files=Object.fromEntries(Object.entries(yt.files).filter(([a,i])=>e!==a)),yt.table.selected=yt.table.selected.filter(a=>e!==a)})}}),q0e=ir("downloadAsSlim",async()=>{let e=yt.table.selected.map(t=>({modus:yt.files[t]}));await u2({modus:e,outputtype:"json"}),u0(()=>yt.table.selected=[]),t0("File successfully saved"),N0("Conversion result saved.")}),Y0e=ir("downloadAsCsv",async()=>{let e=yt.table.selected.map(t=>({modus:yt.files[t]}));await u2({modus:e,outputtype:"csv"}),u0(()=>yt.table.selected=[]),t0("File successfully saved"),N0("Conversion result saved.")}),Z0e=Object.freeze(Object.defineProperty({__proto__:null,selectLabConfig:I0e,showLabConfig:O0e,changeTab:E0e,cancelConfig:b0e,saveConfig:L0e,selectLabName:C0e,selectLabType:T0e,cancelAnalyte:x0e,saveAnalyte:A0e,addNutrientResult:k0e,cancelMapping:w0e,saveMapping:P0e,addMapping:N0e,handleLCMappingChange:U0e,handleLCAnalyteChange:V0e,handleLCNameChange:R0e,handleLCTypeChange:F0e,message:N0,popMessage:WM,output:B0e,trellis:H0e,inzone:$0e,headless:zM,setTable:j0e,fetchTrellisData:oE,trellisConnect:G0e,toTrellis:z0e,deleteSelected:K0e,downloadAsSlim:q0e,downloadAsCsv:Y0e},Symbol.toStringTag,{value:"Module"})),k1=Vt("@modusjs/app#initialize:info");async function c3(){X0e()?(zM(!0),new URLSearchParams(window.location.search).get("domain"),window.addEventListener("message",async({data:t,origin:r,source:n})=>{if(k1("Received message: ",t," from origin: ",r),!n){k1("ERROR: source is null, it should be a reference to the calling window.");return}if(!t.request){k1("Received invalid message data: no request field."),n.postMessage({...t,result:null,message:"Invalid message data: no request field"});return}switch(t.request){case"toJSON":const a=await AP({file:t.file});k1("Conversion successful, posting result back to caller:",a),n.postMessage({...t,result:a});break}})):zM(!1)}function X0e(){return!!new URLSearchParams(window.location.search).get("headless")}const LN={state:yt,actions:Z0e},Ud=de.exports.createContext(LN);c3&&c3();if(!de.exports.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!jR)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function J0e(e){e()}function Q0e(e){e||(e=J0e),kR({reactionScheduler:e})}function ece(e){return PR(e)}var f3=typeof FinalizationRegistry>"u"?void 0:FinalizationRegistry;function CN(e){var t={reaction:e,mounted:!1,changedBeforeMount:!1,cleanAt:Date.now()+tce};return t}var tce=1e4,rce=1e4;function nce(e){var t=new Map,r=1,n=new e(function(i){var s=t.get(i);s&&(s.reaction.dispose(),t.delete(i))});return{addReactionToTrack:function(a,i,s){var o=r++;return n.register(s,o,a),a.current=CN(i),a.current.finalizationRegistryCleanupToken=o,t.set(o,a.current),a.current},recordReactionAsCommitted:function(a){n.unregister(a),a.current&&a.current.finalizationRegistryCleanupToken&&t.delete(a.current.finalizationRegistryCleanupToken)},forceCleanupTimerToRunNowForTests:function(){},resetCleanupScheduleForTests:function(){}}}var sce=globalThis&&globalThis.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function ace(){var e=new Set,t;function r(){t&&(clearTimeout(t),o())}function n(){var l,u;if(e.size>0){try{for(var c=sce(e),f=c.next();!f.done;f=c.next()){var m=f.value,d=m.current;d&&(d.reaction.dispose(),m.current=null)}}catch(h){l={error:h}}finally{try{f&&!f.done&&(u=c.return)&&u.call(c)}finally{if(l)throw l.error}}e.clear()}t&&(clearTimeout(t),t=void 0)}function a(){t===void 0&&(t=setTimeout(o,rce))}function i(l){e.add(l),a()}function s(l){e.delete(l)}function o(){t=void 0;var l=Date.now();e.forEach(function(u){var c=u.current;c&&l>=c.cleanAt&&(c.reaction.dispose(),u.current=null,e.delete(u))}),e.size>0&&a()}return{addReactionToTrack:function(l,u,c){return l.current=CN(u),i(l),l.current},recordReactionAsCommitted:s,forceCleanupTimerToRunNowForTests:r,resetCleanupScheduleForTests:n}}var TN=f3?nce(f3):ace(),ice=TN.addReactionToTrack,oce=TN.recordReactionAsCommitted,m3=globalThis&&globalThis.__read||function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,i=[],s;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(o){s={error:o}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i};function p3(e){return"observer".concat(e)}var lce=function(){function e(){}return e}();function uce(){return new lce}function cce(e,t){t===void 0&&(t="observed");var r=m3(Xs.useState(uce),1),n=r[0],a=m3(Xs.useState(),2),i=a[1],s=function(){return i([])},o=Xs.useRef(null);if(!o.current)var l=new yp(p3(t),function(){u.mounted?s():u.changedBeforeMount=!0}),u=ice(o,l,n);var c=o.current.reaction;Xs.useDebugValue(c,ece),Xs.useEffect(function(){return oce(o),o.current?(o.current.mounted=!0,o.current.changedBeforeMount&&(o.current.changedBeforeMount=!1,s())):(o.current={reaction:new yp(p3(t),function(){s()}),mounted:!0,changedBeforeMount:!1,cleanAt:1/0},s()),function(){o.current.reaction.dispose(),o.current=null}},[]);var f,m;if(c.track(function(){try{f=e()}catch(d){m=d}}),m)throw m;return f}var xN=typeof Symbol=="function"&&Symbol.for,d3=xN?Symbol.for("react.forward_ref"):typeof de.exports.forwardRef=="function"&&de.exports.forwardRef(function(e){return null}).$$typeof,h3=xN?Symbol.for("react.memo"):typeof de.exports.memo=="function"&&de.exports.memo(function(e){return null}).$$typeof;function lE(e,t){var r;if(h3&&e.$$typeof===h3)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var n=(r=t?.forwardRef)!==null&&r!==void 0?r:!1,a=e,i=e.displayName||e.name;if(d3&&e.$$typeof===d3&&(n=!0,a=e.render,typeof a!="function"))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var s=function(o,l){return cce(function(){return a(o,l)},i)};return i!==""&&(s.displayName=i),e.contextTypes&&(s.contextTypes=e.contextTypes),n&&(s=de.exports.forwardRef(s)),s=de.exports.memo(s),mce(e,s),s}var fce={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function mce(e,t){Object.keys(e).forEach(function(r){fce[r]||Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})}globalThis&&globalThis.__read;Q0e(cf.exports.unstable_batchedUpdates);const pce={black:"#000",white:"#fff"},Zp=pce,dce={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},G0=dce,hce={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},W0=hce,_ce={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},z0=_ce,gce={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},K0=gce,vce={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},q0=vce,Sce={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},zf=Sce,yce={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Mce=yce;function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[r]=AN(e[r])}),t}function ni(e,t,r={clone:!0}){const n=r.clone?ve({},e):e;return Uu(e)&&Uu(t)&&Object.keys(t).forEach(a=>{a!=="__proto__"&&(Uu(t[a])&&a in e&&Uu(e[a])?n[a]=ni(e[a],t[a],r):r.clone?n[a]=Uu(t[a])?AN(t[a]):t[a]:n[a]=t[a])}),n}function ru(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;rr==null?t:function(...a){t.apply(this,a),r.apply(this,a)},()=>{})}function fE(e,t=166){let r;function n(...a){const i=()=>{e.apply(this,a)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function Ece(e,t){return()=>null}function bce(e,t){return de.exports.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function bs(e){return e&&e.ownerDocument||document}function nu(e){return bs(e).defaultView||window}function Lce(e,t){return()=>null}function z_(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Cce=typeof window<"u"?de.exports.useLayoutEffect:de.exports.useEffect,mo=Cce;let _3=0;function Tce(e){const[t,r]=de.exports.useState(e),n=e||t;return de.exports.useEffect(()=>{t==null&&(_3+=1,r(`mui-${_3}`))},[t]),n}const g3=XS["useId"];function K_(e){if(g3!==void 0){const t=g3();return e??t}return Tce(e)}function xce(e,t,r,n,a){return null}function Xp({controlled:e,default:t,name:r,state:n="value"}){const{current:a}=de.exports.useRef(e!==void 0),[i,s]=de.exports.useState(t),o=a?e:i,l=de.exports.useCallback(u=>{a||s(u)},[]);return[o,l]}function Nl(e){const t=de.exports.useRef(e);return mo(()=>{t.current=e}),de.exports.useCallback((...r)=>(0,t.current)(...r),[])}function Gn(...e){return de.exports.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{z_(r,t)})},e)}let w2=!0,qM=!1,v3;const Ace={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function kce(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&Ace[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function wce(e){e.metaKey||e.altKey||e.ctrlKey||(w2=!0)}function FS(){w2=!1}function Pce(){this.visibilityState==="hidden"&&qM&&(w2=!0)}function Nce(e){e.addEventListener("keydown",wce,!0),e.addEventListener("mousedown",FS,!0),e.addEventListener("pointerdown",FS,!0),e.addEventListener("touchstart",FS,!0),e.addEventListener("visibilitychange",Pce,!0)}function Uce(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return w2||kce(t)}function mE(){const e=de.exports.useCallback(a=>{a!=null&&Nce(a.ownerDocument)},[]),t=de.exports.useRef(!1);function r(){return t.current?(qM=!0,window.clearTimeout(v3),v3=window.setTimeout(()=>{qM=!1},100),t.current=!1,!0):!1}function n(a){return Uce(a)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function wN(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function pE(e,t){const r=ve({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=ve({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const a=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=a:!a||!Object.keys(a)?r[n]=i:(r[n]=ve({},i),Object.keys(a).forEach(s=>{r[n][s]=pE(a[s],i[s])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function gr(e,t,r=void 0){const n={};return Object.keys(e).forEach(a=>{n[a]=e[a].reduce((i,s)=>{if(s){const o=t(s);o!==""&&i.push(o),r&&r[s]&&i.push(r[s])}return i},[]).join(" ")}),n}const S3=e=>e,Vce=()=>{let e=S3;return{configure(t){e=t},generate(t){return e(t)},reset(){e=S3}}},Rce=Vce(),dE=Rce,Fce={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function fr(e,t,r="Mui"){const n=Fce[t];return n?`${r}-${n}`:`${dE.generate(e)}-${t}`}function ar(e,t,r="Mui"){const n={};return t.forEach(a=>{n[a]=fr(e,a,r)}),n}const Vd="$$material";function xt(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i=0)&&(r[a]=e[a]);return r}function PN(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Bce=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Hce=PN(function(e){return Bce.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function $ce(e){if(e.sheet)return e.sheet;for(var t=0;t0?fs(Cf,--ia):0,rf--,Nn===10&&(rf=1,N2--),Nn}function Ea(){return Nn=ia2||Qp(Nn)>3?"":" "}function efe(e,t){for(;--t&&Ea()&&!(Nn<48||Nn>102||Nn>57&&Nn<65||Nn>70&&Nn<97););return Rd(e,gh()+(t<6&&uo()==32&&Ea()==32))}function ZM(e){for(;Ea();)switch(Nn){case e:return ia;case 34:case 39:e!==34&&e!==39&&ZM(Nn);break;case 40:e===41&&ZM(e);break;case 92:Ea();break}return ia}function tfe(e,t){for(;Ea()&&e+Nn!==47+10;)if(e+Nn===42+42&&uo()===47)break;return"/*"+Rd(t,ia-1)+"*"+P2(e===47?e:Ea())}function rfe(e){for(;!Qp(uo());)Ea();return Rd(e,ia)}function nfe(e){return BN(Sh("",null,null,null,[""],e=FN(e),0,[0],e))}function Sh(e,t,r,n,a,i,s,o,l){for(var u=0,c=0,f=s,m=0,d=0,h=0,p=1,_=1,S=1,v=0,g="",y=a,M=i,I=n,D=g;_;)switch(h=v,v=Ea()){case 40:if(h!=108&&fs(D,f-1)==58){YM(D+=Tr(vh(v),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:D+=vh(v);break;case 9:case 10:case 13:case 32:D+=Qce(h);break;case 92:D+=efe(gh()-1,7);continue;case 47:switch(uo()){case 42:case 47:w1(sfe(tfe(Ea(),gh()),t,r),l);break;default:D+="/"}break;case 123*p:o[u++]=zi(D)*S;case 125*p:case 59:case 0:switch(v){case 0:case 125:_=0;case 59+c:d>0&&zi(D)-f&&w1(d>32?M3(D+";",n,r,f-1):M3(Tr(D," ","")+";",n,r,f-2),l);break;case 59:D+=";";default:if(w1(I=y3(D,t,r,u,c,a,o,g,y=[],M=[],f),i),v===123)if(c===0)Sh(D,t,I,I,y,i,f,o,M);else switch(m===99&&fs(D,3)===110?100:m){case 100:case 109:case 115:Sh(e,I,I,n&&w1(y3(e,I,I,0,0,a,o,g,a,y=[],f),M),a,M,f,o,n?y:M);break;default:Sh(D,I,I,I,[""],M,0,o,M)}}u=c=d=0,p=S=1,g=D="",f=s;break;case 58:f=1+zi(D),d=h;default:if(p<1){if(v==123)--p;else if(v==125&&p++==0&&Jce()==125)continue}switch(D+=P2(v),v*p){case 38:S=c>0?1:(D+="\f",-1);break;case 44:o[u++]=(zi(D)-1)*S,S=1;break;case 64:uo()===45&&(D+=vh(Ea())),m=uo(),c=f=zi(g=D+=rfe(gh())),v++;break;case 45:h===45&&zi(D)==2&&(p=0)}}return i}function y3(e,t,r,n,a,i,s,o,l,u,c){for(var f=a-1,m=a===0?i:[""],d=gE(m),h=0,p=0,_=0;h0?m[S]+" "+v:Tr(v,/&\f/g,m[S])))&&(l[_++]=g);return U2(e,t,r,a===0?hE:o,l,u,c)}function sfe(e,t,r){return U2(e,t,r,NN,P2(Xce()),Jp(e,2,-2),0)}function M3(e,t,r,n){return U2(e,t,r,_E,Jp(e,0,n),Jp(e,n+1,-1),n)}function Uc(e,t){for(var r="",n=gE(e),a=0;a6)switch(fs(e,t+1)){case 109:if(fs(e,t+4)!==45)break;case 102:return Tr(e,/(.+:)(.+)-([^]+)/,"$1"+Lr+"$2-$3$1"+q_+(fs(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~YM(e,"stretch")?HN(Tr(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(fs(e,t+1)!==115)break;case 6444:switch(fs(e,zi(e)-3-(~YM(e,"!important")&&10))){case 107:return Tr(e,":",":"+Lr)+e;case 101:return Tr(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Lr+(fs(e,14)===45?"inline-":"")+"box$3$1"+Lr+"$2$3$1"+vs+"$2box$3")+e}break;case 5936:switch(fs(e,t+11)){case 114:return Lr+e+vs+Tr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Lr+e+vs+Tr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Lr+e+vs+Tr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Lr+e+vs+e+e}return e}var pfe=function(t,r,n,a){if(t.length>-1&&!t.return)switch(t.type){case _E:t.return=HN(t.value,t.length);break;case UN:return Uc([Kf(t,{value:Tr(t.value,"@","@"+Lr)})],a);case hE:if(t.length)return Zce(t.props,function(i){switch(Yce(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Uc([Kf(t,{props:[Tr(i,/:(read-\w+)/,":"+q_+"$1")]})],a);case"::placeholder":return Uc([Kf(t,{props:[Tr(i,/:(plac\w+)/,":"+Lr+"input-$1")]}),Kf(t,{props:[Tr(i,/:(plac\w+)/,":"+q_+"$1")]}),Kf(t,{props:[Tr(i,/:(plac\w+)/,vs+"input-$1")]})],a)}return""})}},dfe=[pfe],hfe=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(p){var _=p.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var a=t.stylisPlugins||dfe,i={},s,o=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var _=p.getAttribute("data-emotion").split(" "),S=1;S<_.length;S++)i[_[S]]=!0;o.push(p)});var l,u=[ffe,mfe];{var c,f=[afe,ofe(function(p){c.insert(p)})],m=ife(u.concat(a,f)),d=function(_){return Uc(nfe(_),m)};l=function(_,S,v,g){c=v,d(_?_+"{"+S.styles+"}":S.styles),g&&(h.inserted[S.name]=!0)}}var h={key:r,sheet:new Gce({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return h.sheet.hydrate(o),h},$N={exports:{}},Vr={};/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ts=typeof Symbol=="function"&&Symbol.for,vE=ts?Symbol.for("react.element"):60103,SE=ts?Symbol.for("react.portal"):60106,V2=ts?Symbol.for("react.fragment"):60107,R2=ts?Symbol.for("react.strict_mode"):60108,F2=ts?Symbol.for("react.profiler"):60114,B2=ts?Symbol.for("react.provider"):60109,H2=ts?Symbol.for("react.context"):60110,yE=ts?Symbol.for("react.async_mode"):60111,$2=ts?Symbol.for("react.concurrent_mode"):60111,j2=ts?Symbol.for("react.forward_ref"):60112,G2=ts?Symbol.for("react.suspense"):60113,_fe=ts?Symbol.for("react.suspense_list"):60120,W2=ts?Symbol.for("react.memo"):60115,z2=ts?Symbol.for("react.lazy"):60116,gfe=ts?Symbol.for("react.block"):60121,vfe=ts?Symbol.for("react.fundamental"):60117,Sfe=ts?Symbol.for("react.responder"):60118,yfe=ts?Symbol.for("react.scope"):60119;function ka(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case vE:switch(e=e.type,e){case yE:case $2:case V2:case F2:case R2:case G2:return e;default:switch(e=e&&e.$$typeof,e){case H2:case j2:case z2:case W2:case B2:return e;default:return t}}case SE:return t}}}function jN(e){return ka(e)===$2}Vr.AsyncMode=yE;Vr.ConcurrentMode=$2;Vr.ContextConsumer=H2;Vr.ContextProvider=B2;Vr.Element=vE;Vr.ForwardRef=j2;Vr.Fragment=V2;Vr.Lazy=z2;Vr.Memo=W2;Vr.Portal=SE;Vr.Profiler=F2;Vr.StrictMode=R2;Vr.Suspense=G2;Vr.isAsyncMode=function(e){return jN(e)||ka(e)===yE};Vr.isConcurrentMode=jN;Vr.isContextConsumer=function(e){return ka(e)===H2};Vr.isContextProvider=function(e){return ka(e)===B2};Vr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===vE};Vr.isForwardRef=function(e){return ka(e)===j2};Vr.isFragment=function(e){return ka(e)===V2};Vr.isLazy=function(e){return ka(e)===z2};Vr.isMemo=function(e){return ka(e)===W2};Vr.isPortal=function(e){return ka(e)===SE};Vr.isProfiler=function(e){return ka(e)===F2};Vr.isStrictMode=function(e){return ka(e)===R2};Vr.isSuspense=function(e){return ka(e)===G2};Vr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===V2||e===$2||e===F2||e===R2||e===G2||e===_fe||typeof e=="object"&&e!==null&&(e.$$typeof===z2||e.$$typeof===W2||e.$$typeof===B2||e.$$typeof===H2||e.$$typeof===j2||e.$$typeof===vfe||e.$$typeof===Sfe||e.$$typeof===yfe||e.$$typeof===gfe)};Vr.typeOf=ka;(function(e){e.exports=Vr})($N);var GN=$N.exports,Mfe={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Dfe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},WN={};WN[GN.ForwardRef]=Mfe;WN[GN.Memo]=Dfe;var Ife=!0;function Ofe(e,t,r){var n="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):n+=a+" "}),n}var zN=function(t,r,n){var a=t.key+"-"+r.name;(n===!1||Ife===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},KN=function(t,r,n){zN(t,r,n);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+a:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Efe(e){for(var t=0,r,n=0,a=e.length;a>=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var bfe={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Lfe=/[A-Z]|^ms/g,Cfe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,qN=function(t){return t.charCodeAt(1)===45},I3=function(t){return t!=null&&typeof t!="boolean"},BS=PN(function(e){return qN(e)?e:e.replace(Lfe,"-$&").toLowerCase()}),O3=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Cfe,function(n,a,i){return Ki={name:a,styles:i,next:Ki},a})}return bfe[t]!==1&&!qN(t)&&typeof r=="number"&&r!==0?r+"px":r};function ed(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Ki={name:r.name,styles:r.styles,next:Ki},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Ki={name:n.name,styles:n.styles,next:Ki},n=n.next;var a=r.styles+";";return a}return Tfe(e,t,r)}case"function":{if(e!==void 0){var i=Ki,s=r(e);return Ki=i,ed(e,t,s)}break}}if(t==null)return r;var o=t[r];return o!==void 0?o:r}function Tfe(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a96?Pfe:Nfe},C3=function(t,r,n){var a;if(r){var i=r.shouldForwardProp;a=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof a!="function"&&n&&(a=t.__emotion_forwardProp),a},Ufe=function(t){var r=t.cache,n=t.serialized,a=t.isStringTag;return zN(r,n,a),Afe(function(){return KN(r,n,a)}),null},Vfe=function e(t,r){var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,i,s;r!==void 0&&(i=r.label,s=r.target);var o=C3(t,r,n),l=o||L3(a),u=!l("as");return function(){var c=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{f.push(c[0][0]);for(var m=c.length,d=1;dt(qfe(a)?r:a):t})}/** + * @mui/styled-engine v5.12.0 + * + * @license MIT + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */function QN(e,t){return Ffe(e,t)}const Zfe=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Xfe=["values","unit","step"],Jfe=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>ve({},r,{[n.key]:n.val}),{})};function Qfe(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,a=xt(e,Xfe),i=Jfe(t),s=Object.keys(i);function o(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r})`}function l(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-n/100}${r})`}function u(m,d){const h=s.indexOf(d);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${r}) and (max-width:${(h!==-1&&typeof t[s[h]]=="number"?t[s[h]]:d)-n/100}${r})`}function c(m){return s.indexOf(m)+1`@media (min-width:${OE[e]}px)`};function Xo(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||T3;return t.reduce((s,o,l)=>(s[i.up(i.keys[l])]=r(t[l]),s),{})}if(typeof t=="object"){const i=n.breakpoints||T3;return Object.keys(t).reduce((s,o)=>{if(Object.keys(i.values||OE).indexOf(o)!==-1){const l=i.up(o);s[l]=r(t[o],o)}else{const l=o;s[l]=t[l]}return s},{})}return r(t)}function rme(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,a)=>{const i=e.up(a);return n[i]={},n},{}))||{}}function nme(e,t){return e.reduce((r,n)=>{const a=r[n];return(!a||Object.keys(a).length===0)&&delete r[n],r},t)}function Y2(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((a,i)=>a&&a[i]?a[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,a)=>n&&n[a]!=null?n[a]:null,e)}function Y_(e,t,r,n=r){let a;return typeof e=="function"?a=e(r):Array.isArray(e)?a=e[r]||n:a=Y2(e,r)||n,t&&(a=t(a,n,e)),a}function xr(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:a}=e,i=s=>{if(s[t]==null)return null;const o=s[t],l=s.theme,u=Y2(l,n)||{};return Xo(s,o,f=>{let m=Y_(u,a,f);return f===m&&typeof f=="string"&&(m=Y_(u,a,`${t}${f==="default"?"":Pt(f)}`,f)),r===!1?m:{[r]:m}})};return i.propTypes={},i.filterProps=[t],i}function sme(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const ame={m:"margin",p:"padding"},ime={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},x3={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ome=sme(e=>{if(e.length>2)if(x3[e])e=x3[e];else return[e];const[t,r]=e.split(""),n=ame[t],a=ime[r]||"";return Array.isArray(a)?a.map(i=>n+i):[n+a]}),EE=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],bE=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...EE,...bE];function Fd(e,t,r,n){var a;const i=(a=Y2(e,t,!1))!=null?a:r;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function eU(e){return Fd(e,"spacing",8)}function Bd(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function lme(e,t){return r=>e.reduce((n,a)=>(n[a]=Bd(t,r),n),{})}function ume(e,t,r,n){if(t.indexOf(r)===-1)return null;const a=ome(r),i=lme(a,n),s=e[r];return Xo(e,s,i)}function tU(e,t){const r=eU(e.theme);return Object.keys(e).map(n=>ume(e,t,n,r)).reduce(Zm,{})}function _n(e){return tU(e,EE)}_n.propTypes={};_n.filterProps=EE;function gn(e){return tU(e,bE)}gn.propTypes={};gn.filterProps=bE;function cme(e=8){if(e.mui)return e;const t=eU({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function Z2(...e){const t=e.reduce((n,a)=>(a.filterProps.forEach(i=>{n[i]=a}),n),{}),r=n=>Object.keys(n).reduce((a,i)=>t[i]?Zm(a,t[i](n)):a,{});return r.propTypes={},r.filterProps=e.reduce((n,a)=>n.concat(a.filterProps),[]),r}function Qi(e){return typeof e!="number"?e:`${e}px solid`}const fme=xr({prop:"border",themeKey:"borders",transform:Qi}),mme=xr({prop:"borderTop",themeKey:"borders",transform:Qi}),pme=xr({prop:"borderRight",themeKey:"borders",transform:Qi}),dme=xr({prop:"borderBottom",themeKey:"borders",transform:Qi}),hme=xr({prop:"borderLeft",themeKey:"borders",transform:Qi}),_me=xr({prop:"borderColor",themeKey:"palette"}),gme=xr({prop:"borderTopColor",themeKey:"palette"}),vme=xr({prop:"borderRightColor",themeKey:"palette"}),Sme=xr({prop:"borderBottomColor",themeKey:"palette"}),yme=xr({prop:"borderLeftColor",themeKey:"palette"}),X2=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Fd(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:Bd(t,n)});return Xo(e,e.borderRadius,r)}return null};X2.propTypes={};X2.filterProps=["borderRadius"];Z2(fme,mme,pme,dme,hme,_me,gme,vme,Sme,yme,X2);const J2=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Fd(e.theme,"spacing",8),r=n=>({gap:Bd(t,n)});return Xo(e,e.gap,r)}return null};J2.propTypes={};J2.filterProps=["gap"];const Q2=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Fd(e.theme,"spacing",8),r=n=>({columnGap:Bd(t,n)});return Xo(e,e.columnGap,r)}return null};Q2.propTypes={};Q2.filterProps=["columnGap"];const ev=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Fd(e.theme,"spacing",8),r=n=>({rowGap:Bd(t,n)});return Xo(e,e.rowGap,r)}return null};ev.propTypes={};ev.filterProps=["rowGap"];const Mme=xr({prop:"gridColumn"}),Dme=xr({prop:"gridRow"}),Ime=xr({prop:"gridAutoFlow"}),Ome=xr({prop:"gridAutoColumns"}),Eme=xr({prop:"gridAutoRows"}),bme=xr({prop:"gridTemplateColumns"}),Lme=xr({prop:"gridTemplateRows"}),Cme=xr({prop:"gridTemplateAreas"}),Tme=xr({prop:"gridArea"});Z2(J2,Q2,ev,Mme,Dme,Ime,Ome,Eme,bme,Lme,Cme,Tme);function Vc(e,t){return t==="grey"?t:e}const xme=xr({prop:"color",themeKey:"palette",transform:Vc}),Ame=xr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Vc}),kme=xr({prop:"backgroundColor",themeKey:"palette",transform:Vc});Z2(xme,Ame,kme);function Sa(e){return e<=1&&e!==0?`${e*100}%`:e}const wme=xr({prop:"width",transform:Sa}),LE=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,a,i;return{maxWidth:((n=e.theme)==null||(a=n.breakpoints)==null||(i=a.values)==null?void 0:i[r])||OE[r]||Sa(r)}};return Xo(e,e.maxWidth,t)}return null};LE.filterProps=["maxWidth"];const Pme=xr({prop:"minWidth",transform:Sa}),Nme=xr({prop:"height",transform:Sa}),Ume=xr({prop:"maxHeight",transform:Sa}),Vme=xr({prop:"minHeight",transform:Sa});xr({prop:"size",cssProperty:"width",transform:Sa});xr({prop:"size",cssProperty:"height",transform:Sa});const Rme=xr({prop:"boxSizing"});Z2(wme,LE,Pme,Nme,Ume,Vme,Rme);const Fme={border:{themeKey:"borders",transform:Qi},borderTop:{themeKey:"borders",transform:Qi},borderRight:{themeKey:"borders",transform:Qi},borderBottom:{themeKey:"borders",transform:Qi},borderLeft:{themeKey:"borders",transform:Qi},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:X2},color:{themeKey:"palette",transform:Vc},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Vc},backgroundColor:{themeKey:"palette",transform:Vc},p:{style:gn},pt:{style:gn},pr:{style:gn},pb:{style:gn},pl:{style:gn},px:{style:gn},py:{style:gn},padding:{style:gn},paddingTop:{style:gn},paddingRight:{style:gn},paddingBottom:{style:gn},paddingLeft:{style:gn},paddingX:{style:gn},paddingY:{style:gn},paddingInline:{style:gn},paddingInlineStart:{style:gn},paddingInlineEnd:{style:gn},paddingBlock:{style:gn},paddingBlockStart:{style:gn},paddingBlockEnd:{style:gn},m:{style:_n},mt:{style:_n},mr:{style:_n},mb:{style:_n},ml:{style:_n},mx:{style:_n},my:{style:_n},margin:{style:_n},marginTop:{style:_n},marginRight:{style:_n},marginBottom:{style:_n},marginLeft:{style:_n},marginX:{style:_n},marginY:{style:_n},marginInline:{style:_n},marginInlineStart:{style:_n},marginInlineEnd:{style:_n},marginBlock:{style:_n},marginBlockStart:{style:_n},marginBlockEnd:{style:_n},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:J2},rowGap:{style:ev},columnGap:{style:Q2},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Sa},maxWidth:{style:LE},minWidth:{transform:Sa},height:{transform:Sa},maxHeight:{transform:Sa},minHeight:{transform:Sa},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},tv=Fme;function Bme(...e){const t=e.reduce((n,a)=>n.concat(Object.keys(a)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Hme(e,t){return typeof e=="function"?e(t):e}function $me(){function e(r,n,a,i){const s={[r]:n,theme:a},o=i[r];if(!o)return{[r]:n};const{cssProperty:l=r,themeKey:u,transform:c,style:f}=o;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const m=Y2(a,u)||{};return f?f(s):Xo(s,n,h=>{let p=Y_(m,c,h);return h===p&&typeof h=="string"&&(p=Y_(m,c,`${r}${h==="default"?"":Pt(h)}`,h)),l===!1?p:{[l]:p}})}function t(r){var n;const{sx:a,theme:i={}}=r||{};if(!a)return null;const s=(n=i.unstable_sxConfig)!=null?n:tv;function o(l){let u=l;if(typeof l=="function")u=l(i);else if(typeof l!="object")return l;if(!u)return null;const c=rme(i.breakpoints),f=Object.keys(c);let m=c;return Object.keys(u).forEach(d=>{const h=Hme(u[d],i);if(h!=null)if(typeof h=="object")if(s[d])m=Zm(m,e(d,h,i,s));else{const p=Xo({theme:i},h,_=>({[d]:_}));Bme(p,h)?m[d]=t({sx:h,theme:i}):m=Zm(m,p)}else m=Zm(m,e(d,h,i,s))}),nme(f,m)}return Array.isArray(a)?a.map(o):o(a)}return t}const rU=$me();rU.filterProps=["sx"];const rv=rU,jme=["breakpoints","palette","spacing","shape"];function CE(e={},...t){const{breakpoints:r={},palette:n={},spacing:a,shape:i={}}=e,s=xt(e,jme),o=Qfe(r),l=cme(a);let u=ni({breakpoints:o,direction:"ltr",components:{},palette:ve({mode:"light"},n),spacing:l,shape:ve({},tme,i)},s);return u=t.reduce((c,f)=>ni(c,f),u),u.unstable_sxConfig=ve({},tv,s?.unstable_sxConfig),u.unstable_sx=function(f){return rv({sx:f,theme:this})},u}function Gme(e){return Object.keys(e).length===0}function nU(e=null){const t=de.exports.useContext(DE);return!t||Gme(t)?e:t}const Wme=CE();function nv(e=Wme){return nU(e)}function zme({styles:e,themeId:t,defaultTheme:r={}}){const n=nv(r),a=typeof e=="function"?e(t&&n[t]||n):e;return Oe(Yfe,{styles:a})}const Kme=["sx"],qme=e=>{var t,r;const n={systemProps:{},otherProps:{}},a=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:tv;return Object.keys(e).forEach(i=>{a[i]?n.systemProps[i]=e[i]:n.otherProps[i]=e[i]}),n};function sU(e){const{sx:t}=e,r=xt(e,Kme),{systemProps:n,otherProps:a}=qme(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...s)=>{const o=t(...s);return Uu(o)?ve({},n,o):n}:i=ve({},n,t),ve({},a,{sx:i})}function aU(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;to!=="theme"&&o!=="sx"&&o!=="as"})(rv);return de.exports.forwardRef(function(l,u){const c=nv(r),f=sU(l),{className:m,component:d="div"}=f,h=xt(f,Yme);return Oe(i,ve({as:d,ref:u,className:wt(m,a?a(n):n),theme:t&&c[t]||c},h))})}const Xme=["variant"];function A3(e){return e.length===0}function iU(e){const{variant:t}=e,r=xt(e,Xme);let n=t||"";return Object.keys(r).sort().forEach(a=>{a==="color"?n+=A3(n)?e[a]:Pt(e[a]):n+=`${A3(n)?a:Pt(a)}${Pt(e[a].toString())}`}),n}const Jme=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Qme(e){return Object.keys(e).length===0}function epe(e){return typeof e=="string"&&e.charCodeAt(0)>96}const tpe=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,rpe=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach(a=>{const i=iU(a.props);n[i]=a.style}),n},npe=(e,t,r,n)=>{var a,i;const{ownerState:s={}}=e,o=[],l=r==null||(a=r.components)==null||(i=a[n])==null?void 0:i.variants;return l&&l.forEach(u=>{let c=!0;Object.keys(u.props).forEach(f=>{s[f]!==u.props[f]&&e[f]!==u.props[f]&&(c=!1)}),c&&o.push(t[iU(u.props)])}),o};function Xm(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const spe=CE();function qf({defaultTheme:e,theme:t,themeId:r}){return Qme(t)?e:t[r]||t}function ape(e={}){const{themeId:t,defaultTheme:r=spe,rootShouldForwardProp:n=Xm,slotShouldForwardProp:a=Xm}=e,i=s=>rv(ve({},s,{theme:qf(ve({},s,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(s,o={})=>{Zfe(s,y=>y.filter(M=>!(M!=null&&M.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:f,overridesResolver:m}=o,d=xt(o,Jme),h=c!==void 0?c:u&&u!=="Root"||!1,p=f||!1;let _,S=Xm;u==="Root"?S=n:u?S=a:epe(s)&&(S=void 0);const v=QN(s,ve({shouldForwardProp:S,label:_},d)),g=(y,...M)=>{const I=M?M.map(N=>typeof N=="function"&&N.__emotion_real!==N?V=>N(ve({},V,{theme:qf(ve({},V,{defaultTheme:r,themeId:t}))})):N):[];let D=y;l&&m&&I.push(N=>{const V=qf(ve({},N,{defaultTheme:r,themeId:t})),A=tpe(l,V);if(A){const j={};return Object.entries(A).forEach(([O,R])=>{j[O]=typeof R=="function"?R(ve({},N,{theme:V})):R}),m(N,j)}return null}),l&&!h&&I.push(N=>{const V=qf(ve({},N,{defaultTheme:r,themeId:t}));return npe(N,rpe(l,V),V,l)}),p||I.push(i);const T=I.length-M.length;if(Array.isArray(y)&&T>0){const N=new Array(T).fill("");D=[...y,...N],D.raw=[...y.raw,...N]}else typeof y=="function"&&y.__emotion_real!==y&&(D=N=>y(ve({},N,{theme:qf(ve({},N,{defaultTheme:r,themeId:t}))})));const b=v(D,...I);return s.muiName&&(b.muiName=s.muiName),b};return v.withConfig&&(g.withConfig=v.withConfig),g}}function ipe(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:pE(t.components[r].defaultProps,n)}function ope({props:e,name:t,defaultTheme:r,themeId:n}){let a=nv(r);return n&&(a=a[n]||a),ipe({theme:a,name:t,props:e})}function TE(e,t=0,r=1){return Math.min(Math.max(t,e),r)}function lpe(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,a)=>a<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function y0(e){if(e.type)return e;if(e.charAt(0)==="#")return y0(lpe(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(ru(9,e));let n=e.substring(t+1,e.length-1),a;if(r==="color"){if(n=n.split(" "),a=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a)===-1)throw new Error(ru(10,a))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:a}}function sv(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((a,i)=>i<3?parseInt(a,10):a):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function upe(e){e=y0(e);const{values:t}=e,r=t[0],n=t[1]/100,a=t[2]/100,i=n*Math.min(a,1-a),s=(u,c=(u+r/30)%12)=>a-i*Math.max(Math.min(c-3,9-c,1),-1);let o="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(o+="a",l.push(t[3])),sv({type:o,values:l})}function k3(e){e=y0(e);let t=e.type==="hsl"||e.type==="hsla"?y0(upe(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function cpe(e,t){const r=k3(e),n=k3(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function yn(e,t){return e=y0(e),t=TE(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,sv(e)}function xE(e,t){if(e=y0(e),t=TE(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return sv(e)}function AE(e,t){if(e=y0(e),t=TE(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return sv(e)}function fpe(e,t){return ve({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const mpe=["mode","contrastThreshold","tonalOffset"],w3={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Zp.white,default:Zp.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},HS={text:{primary:Zp.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Zp.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function P3(e,t,r,n){const a=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=AE(e.main,a):t==="dark"&&(e.dark=xE(e.main,i)))}function ppe(e="light"){return e==="dark"?{main:z0[200],light:z0[50],dark:z0[400]}:{main:z0[700],light:z0[400],dark:z0[800]}}function dpe(e="light"){return e==="dark"?{main:W0[200],light:W0[50],dark:W0[400]}:{main:W0[500],light:W0[300],dark:W0[700]}}function hpe(e="light"){return e==="dark"?{main:G0[500],light:G0[300],dark:G0[700]}:{main:G0[700],light:G0[400],dark:G0[800]}}function _pe(e="light"){return e==="dark"?{main:K0[400],light:K0[300],dark:K0[700]}:{main:K0[700],light:K0[500],dark:K0[900]}}function gpe(e="light"){return e==="dark"?{main:q0[400],light:q0[300],dark:q0[700]}:{main:q0[800],light:q0[500],dark:q0[900]}}function vpe(e="light"){return e==="dark"?{main:zf[400],light:zf[300],dark:zf[700]}:{main:"#ed6c02",light:zf[500],dark:zf[900]}}function Spe(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,a=xt(e,mpe),i=e.primary||ppe(t),s=e.secondary||dpe(t),o=e.error||hpe(t),l=e.info||_pe(t),u=e.success||gpe(t),c=e.warning||vpe(t);function f(p){return cpe(p,HS.text.primary)>=r?HS.text.primary:w3.text.primary}const m=({color:p,name:_,mainShade:S=500,lightShade:v=300,darkShade:g=700})=>{if(p=ve({},p),!p.main&&p[S]&&(p.main=p[S]),!p.hasOwnProperty("main"))throw new Error(ru(11,_?` (${_})`:"",S));if(typeof p.main!="string")throw new Error(ru(12,_?` (${_})`:"",JSON.stringify(p.main)));return P3(p,"light",v,n),P3(p,"dark",g,n),p.contrastText||(p.contrastText=f(p.main)),p},d={dark:HS,light:w3};return ni(ve({common:ve({},Zp),mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:o,name:"error"}),warning:m({color:c,name:"warning"}),info:m({color:l,name:"info"}),success:m({color:u,name:"success"}),grey:Mce,contrastThreshold:r,getContrastText:f,augmentColor:m,tonalOffset:n},d[t]),a)}const ype=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Mpe(e){return Math.round(e*1e5)/1e5}const N3={textTransform:"uppercase"},U3='"Roboto", "Helvetica", "Arial", sans-serif';function Dpe(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=U3,fontSize:a=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:o=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:f}=r,m=xt(r,ype),d=a/14,h=f||(S=>`${S/u*d}rem`),p=(S,v,g,y,M)=>ve({fontFamily:n,fontWeight:S,fontSize:h(v),lineHeight:g},n===U3?{letterSpacing:`${Mpe(y/v)}em`}:{},M,c),_={h1:p(i,96,1.167,-1.5),h2:p(i,60,1.2,-.5),h3:p(s,48,1.167,0),h4:p(s,34,1.235,.25),h5:p(s,24,1.334,0),h6:p(o,20,1.6,.15),subtitle1:p(s,16,1.75,.15),subtitle2:p(o,14,1.57,.1),body1:p(s,16,1.5,.15),body2:p(s,14,1.43,.15),button:p(o,14,1.75,.4,N3),caption:p(s,12,1.66,.4),overline:p(s,12,2.66,1,N3),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ni(ve({htmlFontSize:u,pxToRem:h,fontFamily:n,fontSize:a,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:o,fontWeightBold:l},_),m,{clone:!1})}const Ipe=.2,Ope=.14,Epe=.12;function an(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ipe})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ope})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Epe})`].join(",")}const bpe=["none",an(0,2,1,-1,0,1,1,0,0,1,3,0),an(0,3,1,-2,0,2,2,0,0,1,5,0),an(0,3,3,-2,0,3,4,0,0,1,8,0),an(0,2,4,-1,0,4,5,0,0,1,10,0),an(0,3,5,-1,0,5,8,0,0,1,14,0),an(0,3,5,-1,0,6,10,0,0,1,18,0),an(0,4,5,-2,0,7,10,1,0,2,16,1),an(0,5,5,-3,0,8,10,1,0,3,14,2),an(0,5,6,-3,0,9,12,1,0,3,16,2),an(0,6,6,-3,0,10,14,1,0,4,18,3),an(0,6,7,-4,0,11,15,1,0,4,20,3),an(0,7,8,-4,0,12,17,2,0,5,22,4),an(0,7,8,-4,0,13,19,2,0,5,24,4),an(0,7,9,-4,0,14,21,2,0,5,26,4),an(0,8,9,-5,0,15,22,2,0,6,28,5),an(0,8,10,-5,0,16,24,2,0,6,30,5),an(0,8,11,-5,0,17,26,2,0,6,32,5),an(0,9,11,-5,0,18,28,2,0,7,34,6),an(0,9,12,-6,0,19,29,2,0,7,36,6),an(0,10,13,-6,0,20,31,3,0,8,38,7),an(0,10,13,-6,0,21,33,3,0,8,40,7),an(0,10,14,-6,0,22,35,3,0,8,42,7),an(0,11,14,-7,0,23,36,3,0,9,44,8),an(0,11,15,-7,0,24,38,3,0,9,46,8)],Lpe=bpe,Cpe=["duration","easing","delay"],Tpe={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},xpe={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function V3(e){return`${Math.round(e)}ms`}function Ape(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function kpe(e){const t=ve({},Tpe,e.easing),r=ve({},xpe,e.duration);return ve({getAutoHeightDuration:Ape,create:(a=["all"],i={})=>{const{duration:s=r.standard,easing:o=t.easeInOut,delay:l=0}=i;return xt(i,Cpe),(Array.isArray(a)?a:[a]).map(u=>`${u} ${typeof s=="string"?s:V3(s)} ${o} ${typeof l=="string"?l:V3(l)}`).join(",")}},e,{easing:t,duration:r})}const wpe={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ppe=wpe,Npe=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function oU(e={},...t){const{mixins:r={},palette:n={},transitions:a={},typography:i={}}=e,s=xt(e,Npe);if(e.vars)throw new Error(ru(18));const o=Spe(n),l=CE(e);let u=ni(l,{mixins:fpe(l.breakpoints,r),palette:o,shadows:Lpe.slice(),typography:Dpe(o,i),transitions:kpe(a),zIndex:ve({},Ppe)});return u=ni(u,s),u=t.reduce((c,f)=>ni(c,f),u),u.unstable_sxConfig=ve({},tv,s?.unstable_sxConfig),u.unstable_sx=function(f){return rv({sx:f,theme:this})},u}const Upe=oU(),av=Upe;function Hd(){const e=nv(av);return e[Vd]||e}function Er({props:e,name:t}){return ope({props:e,name:t,defaultTheme:av,themeId:Vd})}const yo=e=>Xm(e)&&e!=="classes",Vpe=Xm,Rpe=ape({themeId:Vd,defaultTheme:av,rootShouldForwardProp:yo}),It=Rpe,Fpe=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},R3=Fpe;function td(e){return typeof e=="string"}function pm(e,t,r){return e===void 0||td(e)?t:ve({},t,{ownerState:ve({},t.ownerState,r)})}const Bpe={disableDefaultClasses:!1},Hpe=de.exports.createContext(Bpe);function lU(e){const{disableDefaultClasses:t}=de.exports.useContext(Hpe);return r=>t?"":e(r)}function $pe(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function JM(e,t){return typeof e=="function"?e(t):e}function F3(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function jpe(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:a,className:i}=e;if(!t){const d=wt(a?.className,n?.className,i,r?.className),h=ve({},r?.style,a?.style,n?.style),p=ve({},r,a,n);return d.length>0&&(p.className=d),Object.keys(h).length>0&&(p.style=h),{props:p,internalRef:void 0}}const s=$pe(ve({},a,n)),o=F3(n),l=F3(a),u=t(s),c=wt(u?.className,r?.className,i,a?.className,n?.className),f=ve({},u?.style,r?.style,a?.style,n?.style),m=ve({},u,r,l,o);return c.length>0&&(m.className=c),Object.keys(f).length>0&&(m.style=f),{props:m,internalRef:u.ref}}const Gpe=["elementType","externalSlotProps","ownerState"];function QM(e){var t;const{elementType:r,externalSlotProps:n,ownerState:a}=e,i=xt(e,Gpe),s=JM(n,a),{props:o,internalRef:l}=jpe(ve({},i,{externalSlotProps:s})),u=Gn(l,s?.ref,(t=e.additionalProps)==null?void 0:t.ref);return pm(r,ve({},o,{ref:u}),a)}const Wpe=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function zpe(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Kpe(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function qpe(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Kpe(e))}function Ype(e){const t=[],r=[];return Array.from(e.querySelectorAll(Wpe)).forEach((n,a)=>{const i=zpe(n);i===-1||!qpe(n)||(i===0?t.push(n):r.push({documentOrder:a,tabIndex:i,node:n}))}),r.sort((n,a)=>n.tabIndex===a.tabIndex?n.documentOrder-a.documentOrder:n.tabIndex-a.tabIndex).map(n=>n.node).concat(t)}function Zpe(){return!0}function Xpe(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:a=!1,getTabbable:i=Ype,isEnabled:s=Zpe,open:o}=e,l=de.exports.useRef(!1),u=de.exports.useRef(null),c=de.exports.useRef(null),f=de.exports.useRef(null),m=de.exports.useRef(null),d=de.exports.useRef(!1),h=de.exports.useRef(null),p=Gn(t.ref,h),_=de.exports.useRef(null);de.exports.useEffect(()=>{!o||!h.current||(d.current=!r)},[r,o]),de.exports.useEffect(()=>{if(!o||!h.current)return;const g=bs(h.current);return h.current.contains(g.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),d.current&&h.current.focus()),()=>{a||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[o]),de.exports.useEffect(()=>{if(!o||!h.current)return;const g=bs(h.current),y=D=>{const{current:T}=h;if(T!==null){if(!g.hasFocus()||n||!s()||l.current){l.current=!1;return}if(!T.contains(g.activeElement)){if(D&&m.current!==D.target||g.activeElement!==m.current)m.current=null;else if(m.current!==null)return;if(!d.current)return;let V=[];if((g.activeElement===u.current||g.activeElement===c.current)&&(V=i(h.current)),V.length>0){var b,N;const A=Boolean(((b=_.current)==null?void 0:b.shiftKey)&&((N=_.current)==null?void 0:N.key)==="Tab"),j=V[0],O=V[V.length-1];typeof j!="string"&&typeof O!="string"&&(A?O.focus():j.focus())}else T.focus()}}},M=D=>{_.current=D,!(n||!s()||D.key!=="Tab")&&g.activeElement===h.current&&D.shiftKey&&(l.current=!0,c.current&&c.current.focus())};g.addEventListener("focusin",y),g.addEventListener("keydown",M,!0);const I=setInterval(()=>{g.activeElement&&g.activeElement.tagName==="BODY"&&y(null)},50);return()=>{clearInterval(I),g.removeEventListener("focusin",y),g.removeEventListener("keydown",M,!0)}},[r,n,a,s,o,i]);const S=g=>{f.current===null&&(f.current=g.relatedTarget),d.current=!0,m.current=g.target;const y=t.props.onFocus;y&&y(g)},v=g=>{f.current===null&&(f.current=g.relatedTarget),d.current=!0};return Gt(de.exports.Fragment,{children:[Oe("div",{tabIndex:o?0:-1,onFocus:v,ref:u,"data-testid":"sentinelStart"}),de.exports.cloneElement(t,{ref:p,onFocus:S}),Oe("div",{tabIndex:o?0:-1,onFocus:v,ref:c,"data-testid":"sentinelEnd"})]})}var na="top",li="bottom",ui="right",sa="left",kE="auto",$d=[na,li,ui,sa],nf="start",rd="end",Jpe="clippingParents",uU="viewport",Yf="popper",Qpe="reference",B3=$d.reduce(function(e,t){return e.concat([t+"-"+nf,t+"-"+rd])},[]),cU=[].concat($d,[kE]).reduce(function(e,t){return e.concat([t,t+"-"+nf,t+"-"+rd])},[]),ede="beforeRead",tde="read",rde="afterRead",nde="beforeMain",sde="main",ade="afterMain",ide="beforeWrite",ode="write",lde="afterWrite",ude=[ede,tde,rde,nde,sde,ade,ide,ode,lde];function po(e){return e?(e.nodeName||"").toLowerCase():null}function Ca(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function M0(e){var t=Ca(e).Element;return e instanceof t||e instanceof Element}function si(e){var t=Ca(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function wE(e){if(typeof ShadowRoot>"u")return!1;var t=Ca(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function cde(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},i=t.elements[r];!si(i)||!po(i)||(Object.assign(i.style,n),Object.keys(a).forEach(function(s){var o=a[s];o===!1?i.removeAttribute(s):i.setAttribute(s,o===!0?"":o)}))})}function fde(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],i=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),o=s.reduce(function(l,u){return l[u]="",l},{});!si(a)||!po(a)||(Object.assign(a.style,o),Object.keys(i).forEach(function(l){a.removeAttribute(l)}))})}}const mde={name:"applyStyles",enabled:!0,phase:"write",fn:cde,effect:fde,requires:["computeStyles"]};function co(e){return e.split("-")[0]}var r0=Math.max,Z_=Math.min,sf=Math.round;function eD(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function fU(){return!/^((?!chrome|android).)*safari/i.test(eD())}function af(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,i=1;t&&si(e)&&(a=e.offsetWidth>0&&sf(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&sf(n.height)/e.offsetHeight||1);var s=M0(e)?Ca(e):window,o=s.visualViewport,l=!fU()&&r,u=(n.left+(l&&o?o.offsetLeft:0))/a,c=(n.top+(l&&o?o.offsetTop:0))/i,f=n.width/a,m=n.height/i;return{width:f,height:m,top:c,right:u+f,bottom:c+m,left:u,x:u,y:c}}function PE(e){var t=af(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function mU(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&wE(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Jo(e){return Ca(e).getComputedStyle(e)}function pde(e){return["table","td","th"].indexOf(po(e))>=0}function pu(e){return((M0(e)?e.ownerDocument:e.document)||window.document).documentElement}function iv(e){return po(e)==="html"?e:e.assignedSlot||e.parentNode||(wE(e)?e.host:null)||pu(e)}function H3(e){return!si(e)||Jo(e).position==="fixed"?null:e.offsetParent}function dde(e){var t=/firefox/i.test(eD()),r=/Trident/i.test(eD());if(r&&si(e)){var n=Jo(e);if(n.position==="fixed")return null}var a=iv(e);for(wE(a)&&(a=a.host);si(a)&&["html","body"].indexOf(po(a))<0;){var i=Jo(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function jd(e){for(var t=Ca(e),r=H3(e);r&&pde(r)&&Jo(r).position==="static";)r=H3(r);return r&&(po(r)==="html"||po(r)==="body"&&Jo(r).position==="static")?t:r||dde(e)||t}function NE(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Jm(e,t,r){return r0(e,Z_(t,r))}function hde(e,t,r){var n=Jm(e,t,r);return n>r?r:n}function pU(){return{top:0,right:0,bottom:0,left:0}}function dU(e){return Object.assign({},pU(),e)}function hU(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var _de=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,dU(typeof t!="number"?t:hU(t,$d))};function gde(e){var t,r=e.state,n=e.name,a=e.options,i=r.elements.arrow,s=r.modifiersData.popperOffsets,o=co(r.placement),l=NE(o),u=[sa,ui].indexOf(o)>=0,c=u?"height":"width";if(!(!i||!s)){var f=_de(a.padding,r),m=PE(i),d=l==="y"?na:sa,h=l==="y"?li:ui,p=r.rects.reference[c]+r.rects.reference[l]-s[l]-r.rects.popper[c],_=s[l]-r.rects.reference[l],S=jd(i),v=S?l==="y"?S.clientHeight||0:S.clientWidth||0:0,g=p/2-_/2,y=f[d],M=v-m[c]-f[h],I=v/2-m[c]/2+g,D=Jm(y,I,M),T=l;r.modifiersData[n]=(t={},t[T]=D,t.centerOffset=D-I,t)}}function vde(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||!mU(t.elements.popper,a)||(t.elements.arrow=a))}const Sde={name:"arrow",enabled:!0,phase:"main",fn:gde,effect:vde,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function of(e){return e.split("-")[1]}var yde={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Mde(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:sf(r*a)/a||0,y:sf(n*a)/a||0}}function $3(e){var t,r=e.popper,n=e.popperRect,a=e.placement,i=e.variation,s=e.offsets,o=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,m=s.x,d=m===void 0?0:m,h=s.y,p=h===void 0?0:h,_=typeof c=="function"?c({x:d,y:p}):{x:d,y:p};d=_.x,p=_.y;var S=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),g=sa,y=na,M=window;if(u){var I=jd(r),D="clientHeight",T="clientWidth";if(I===Ca(r)&&(I=pu(r),Jo(I).position!=="static"&&o==="absolute"&&(D="scrollHeight",T="scrollWidth")),I=I,a===na||(a===sa||a===ui)&&i===rd){y=li;var b=f&&I===M&&M.visualViewport?M.visualViewport.height:I[D];p-=b-n.height,p*=l?1:-1}if(a===sa||(a===na||a===li)&&i===rd){g=ui;var N=f&&I===M&&M.visualViewport?M.visualViewport.width:I[T];d-=N-n.width,d*=l?1:-1}}var V=Object.assign({position:o},u&&yde),A=c===!0?Mde({x:d,y:p},Ca(r)):{x:d,y:p};if(d=A.x,p=A.y,l){var j;return Object.assign({},V,(j={},j[y]=v?"0":"",j[g]=S?"0":"",j.transform=(M.devicePixelRatio||1)<=1?"translate("+d+"px, "+p+"px)":"translate3d("+d+"px, "+p+"px, 0)",j))}return Object.assign({},V,(t={},t[y]=v?p+"px":"",t[g]=S?d+"px":"",t.transform="",t))}function Dde(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,i=r.adaptive,s=i===void 0?!0:i,o=r.roundOffsets,l=o===void 0?!0:o,u={placement:co(t.placement),variation:of(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,$3(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,$3(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Ide={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Dde,data:{}};var P1={passive:!0};function Ode(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,i=a===void 0?!0:a,s=n.resize,o=s===void 0?!0:s,l=Ca(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",r.update,P1)}),o&&l.addEventListener("resize",r.update,P1),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",r.update,P1)}),o&&l.removeEventListener("resize",r.update,P1)}}const Ede={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ode,data:{}};var bde={left:"right",right:"left",bottom:"top",top:"bottom"};function yh(e){return e.replace(/left|right|bottom|top/g,function(t){return bde[t]})}var Lde={start:"end",end:"start"};function j3(e){return e.replace(/start|end/g,function(t){return Lde[t]})}function UE(e){var t=Ca(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function VE(e){return af(pu(e)).left+UE(e).scrollLeft}function Cde(e,t){var r=Ca(e),n=pu(e),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,o=0,l=0;if(a){i=a.width,s=a.height;var u=fU();(u||!u&&t==="fixed")&&(o=a.offsetLeft,l=a.offsetTop)}return{width:i,height:s,x:o+VE(e),y:l}}function Tde(e){var t,r=pu(e),n=UE(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=r0(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=r0(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),o=-n.scrollLeft+VE(e),l=-n.scrollTop;return Jo(a||r).direction==="rtl"&&(o+=r0(r.clientWidth,a?a.clientWidth:0)-i),{width:i,height:s,x:o,y:l}}function RE(e){var t=Jo(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function _U(e){return["html","body","#document"].indexOf(po(e))>=0?e.ownerDocument.body:si(e)&&RE(e)?e:_U(iv(e))}function Qm(e,t){var r;t===void 0&&(t=[]);var n=_U(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),i=Ca(n),s=a?[i].concat(i.visualViewport||[],RE(n)?n:[]):n,o=t.concat(s);return a?o:o.concat(Qm(iv(s)))}function tD(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function xde(e,t){var r=af(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function G3(e,t,r){return t===uU?tD(Cde(e,r)):M0(t)?xde(t,r):tD(Tde(pu(e)))}function Ade(e){var t=Qm(iv(e)),r=["absolute","fixed"].indexOf(Jo(e).position)>=0,n=r&&si(e)?jd(e):e;return M0(n)?t.filter(function(a){return M0(a)&&mU(a,n)&&po(a)!=="body"}):[]}function kde(e,t,r,n){var a=t==="clippingParents"?Ade(e):[].concat(t),i=[].concat(a,[r]),s=i[0],o=i.reduce(function(l,u){var c=G3(e,u,n);return l.top=r0(c.top,l.top),l.right=Z_(c.right,l.right),l.bottom=Z_(c.bottom,l.bottom),l.left=r0(c.left,l.left),l},G3(e,s,n));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function gU(e){var t=e.reference,r=e.element,n=e.placement,a=n?co(n):null,i=n?of(n):null,s=t.x+t.width/2-r.width/2,o=t.y+t.height/2-r.height/2,l;switch(a){case na:l={x:s,y:t.y-r.height};break;case li:l={x:s,y:t.y+t.height};break;case ui:l={x:t.x+t.width,y:o};break;case sa:l={x:t.x-r.width,y:o};break;default:l={x:t.x,y:t.y}}var u=a?NE(a):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case nf:l[u]=l[u]-(t[c]/2-r[c]/2);break;case rd:l[u]=l[u]+(t[c]/2-r[c]/2);break}}return l}function nd(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,i=r.strategy,s=i===void 0?e.strategy:i,o=r.boundary,l=o===void 0?Jpe:o,u=r.rootBoundary,c=u===void 0?uU:u,f=r.elementContext,m=f===void 0?Yf:f,d=r.altBoundary,h=d===void 0?!1:d,p=r.padding,_=p===void 0?0:p,S=dU(typeof _!="number"?_:hU(_,$d)),v=m===Yf?Qpe:Yf,g=e.rects.popper,y=e.elements[h?v:m],M=kde(M0(y)?y:y.contextElement||pu(e.elements.popper),l,c,s),I=af(e.elements.reference),D=gU({reference:I,element:g,strategy:"absolute",placement:a}),T=tD(Object.assign({},g,D)),b=m===Yf?T:I,N={top:M.top-b.top+S.top,bottom:b.bottom-M.bottom+S.bottom,left:M.left-b.left+S.left,right:b.right-M.right+S.right},V=e.modifiersData.offset;if(m===Yf&&V){var A=V[a];Object.keys(N).forEach(function(j){var O=[ui,li].indexOf(j)>=0?1:-1,R=[na,li].indexOf(j)>=0?"y":"x";N[j]+=A[R]*O})}return N}function wde(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,s=r.padding,o=r.flipVariations,l=r.allowedAutoPlacements,u=l===void 0?cU:l,c=of(n),f=c?o?B3:B3.filter(function(h){return of(h)===c}):$d,m=f.filter(function(h){return u.indexOf(h)>=0});m.length===0&&(m=f);var d=m.reduce(function(h,p){return h[p]=nd(e,{placement:p,boundary:a,rootBoundary:i,padding:s})[co(p)],h},{});return Object.keys(d).sort(function(h,p){return d[h]-d[p]})}function Pde(e){if(co(e)===kE)return[];var t=yh(e);return[j3(e),t,j3(t)]}function Nde(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,i=a===void 0?!0:a,s=r.altAxis,o=s===void 0?!0:s,l=r.fallbackPlacements,u=r.padding,c=r.boundary,f=r.rootBoundary,m=r.altBoundary,d=r.flipVariations,h=d===void 0?!0:d,p=r.allowedAutoPlacements,_=t.options.placement,S=co(_),v=S===_,g=l||(v||!h?[yh(_)]:Pde(_)),y=[_].concat(g).reduce(function(z,q){return z.concat(co(q)===kE?wde(t,{placement:q,boundary:c,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:p}):q)},[]),M=t.rects.reference,I=t.rects.popper,D=new Map,T=!0,b=y[0],N=0;N=0,R=O?"width":"height",te=nd(t,{placement:V,boundary:c,rootBoundary:f,altBoundary:m,padding:u}),W=O?j?ui:sa:j?li:na;M[R]>I[R]&&(W=yh(W));var ue=yh(W),F=[];if(i&&F.push(te[A]<=0),o&&F.push(te[W]<=0,te[ue]<=0),F.every(function(z){return z})){b=V,T=!1;break}D.set(V,F)}if(T)for(var le=h?3:1,J=function(q){var Ie=y.find(function(Fe){var Le=D.get(Fe);if(Le)return Le.slice(0,q).every(function(Me){return Me})});if(Ie)return b=Ie,"break"},k=le;k>0;k--){var U=J(k);if(U==="break")break}t.placement!==b&&(t.modifiersData[n]._skip=!0,t.placement=b,t.reset=!0)}}const Ude={name:"flip",enabled:!0,phase:"main",fn:Nde,requiresIfExists:["offset"],data:{_skip:!1}};function W3(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function z3(e){return[na,ui,li,sa].some(function(t){return e[t]>=0})}function Vde(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,s=nd(t,{elementContext:"reference"}),o=nd(t,{altBoundary:!0}),l=W3(s,n),u=W3(o,a,i),c=z3(l),f=z3(u);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const Rde={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Vde};function Fde(e,t,r){var n=co(e),a=[sa,na].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=i[0],o=i[1];return s=s||0,o=(o||0)*a,[sa,ui].indexOf(n)>=0?{x:o,y:s}:{x:s,y:o}}function Bde(e){var t=e.state,r=e.options,n=e.name,a=r.offset,i=a===void 0?[0,0]:a,s=cU.reduce(function(c,f){return c[f]=Fde(f,t.rects,i),c},{}),o=s[t.placement],l=o.x,u=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=s}const Hde={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Bde};function $de(e){var t=e.state,r=e.name;t.modifiersData[r]=gU({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const jde={name:"popperOffsets",enabled:!0,phase:"read",fn:$de,data:{}};function Gde(e){return e==="x"?"y":"x"}function Wde(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,i=a===void 0?!0:a,s=r.altAxis,o=s===void 0?!1:s,l=r.boundary,u=r.rootBoundary,c=r.altBoundary,f=r.padding,m=r.tether,d=m===void 0?!0:m,h=r.tetherOffset,p=h===void 0?0:h,_=nd(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),S=co(t.placement),v=of(t.placement),g=!v,y=NE(S),M=Gde(y),I=t.modifiersData.popperOffsets,D=t.rects.reference,T=t.rects.popper,b=typeof p=="function"?p(Object.assign({},t.rects,{placement:t.placement})):p,N=typeof b=="number"?{mainAxis:b,altAxis:b}:Object.assign({mainAxis:0,altAxis:0},b),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(!!I){if(i){var j,O=y==="y"?na:sa,R=y==="y"?li:ui,te=y==="y"?"height":"width",W=I[y],ue=W+_[O],F=W-_[R],le=d?-T[te]/2:0,J=v===nf?D[te]:T[te],k=v===nf?-T[te]:-D[te],U=t.elements.arrow,z=d&&U?PE(U):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:pU(),Ie=q[O],Fe=q[R],Le=Jm(0,D[te],z[te]),Me=g?D[te]/2-le-Le-Ie-N.mainAxis:J-Le-Ie-N.mainAxis,Re=g?-D[te]/2+le+Le+Fe+N.mainAxis:k+Le+Fe+N.mainAxis,be=t.elements.arrow&&jd(t.elements.arrow),ae=be?y==="y"?be.clientTop||0:be.clientLeft||0:0,dt=(j=V?.[y])!=null?j:0,P=W+Me-dt-ae,Ve=W+Re-dt,we=Jm(d?Z_(ue,P):ue,W,d?r0(F,Ve):F);I[y]=we,A[y]=we-W}if(o){var Y,Q=y==="x"?na:sa,Te=y==="x"?li:ui,Ge=I[M],ze=M==="y"?"height":"width",x=Ge+_[Q],Ne=Ge-_[Te],it=[na,sa].indexOf(S)!==-1,Je=(Y=V?.[M])!=null?Y:0,Ye=it?x:Ge-D[ze]-T[ze]-Je+N.altAxis,G=it?Ge+D[ze]+T[ze]-Je-N.altAxis:Ne,L=d&&it?hde(Ye,Ge,G):Jm(d?Ye:x,Ge,d?G:Ne);I[M]=L,A[M]=L-Ge}t.modifiersData[n]=A}}const zde={name:"preventOverflow",enabled:!0,phase:"main",fn:Wde,requiresIfExists:["offset"]};function Kde(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function qde(e){return e===Ca(e)||!si(e)?UE(e):Kde(e)}function Yde(e){var t=e.getBoundingClientRect(),r=sf(t.width)/e.offsetWidth||1,n=sf(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Zde(e,t,r){r===void 0&&(r=!1);var n=si(t),a=si(t)&&Yde(t),i=pu(t),s=af(e,a,r),o={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((po(t)!=="body"||RE(i))&&(o=qde(t)),si(t)?(l=af(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=VE(i))),{x:s.left+o.scrollLeft-l.x,y:s.top+o.scrollTop-l.y,width:s.width,height:s.height}}function Xde(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function a(i){r.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(o){if(!r.has(o)){var l=t.get(o);l&&a(l)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||a(i)}),n}function Jde(e){var t=Xde(e);return ude.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function Qde(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function e1e(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var K3={placement:"bottom",modifiers:[],strategy:"absolute"};function q3(){for(var e=arguments.length,t=new Array(e),r=0;r{i||o(s1e(a)||document.body)},[a,i]),mo(()=>{if(s&&!i)return z_(r,s),()=>{z_(r,null)}},[r,s,i]),i){if(de.exports.isValidElement(n)){const u={ref:l};return de.exports.cloneElement(n,u)}return Oe(de.exports.Fragment,{children:n})}return Oe(de.exports.Fragment,{children:s&&cf.exports.createPortal(n,s)})}),vU=a1e;function i1e(e){return fr("MuiPopper",e)}ar("MuiPopper",["root"]);const o1e=["anchorEl","children","component","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],l1e=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function u1e(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function rD(e){return typeof e=="function"?e():e}function c1e(e){return e.nodeType!==void 0}const f1e=()=>gr({root:["root"]},lU(i1e)),m1e={},p1e=de.exports.forwardRef(function(t,r){var n;const{anchorEl:a,children:i,component:s,direction:o,disablePortal:l,modifiers:u,open:c,placement:f,popperOptions:m,popperRef:d,slotProps:h={},slots:p={},TransitionProps:_}=t,S=xt(t,o1e),v=de.exports.useRef(null),g=Gn(v,r),y=de.exports.useRef(null),M=Gn(y,d),I=de.exports.useRef(M);mo(()=>{I.current=M},[M]),de.exports.useImperativeHandle(d,()=>y.current,[]);const D=u1e(f,o),[T,b]=de.exports.useState(D),[N,V]=de.exports.useState(rD(a));de.exports.useEffect(()=>{y.current&&y.current.forceUpdate()}),de.exports.useEffect(()=>{a&&V(rD(a))},[a]),mo(()=>{if(!N||!c)return;const te=F=>{b(F.placement)};let W=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:F})=>{te(F)}}];u!=null&&(W=W.concat(u)),m&&m.modifiers!=null&&(W=W.concat(m.modifiers));const ue=n1e(N,v.current,ve({placement:D},m,{modifiers:W}));return I.current(ue),()=>{ue.destroy(),I.current(null)}},[N,l,u,c,m,D]);const A={placement:T};_!==null&&(A.TransitionProps=_);const j=f1e(),O=(n=s??p.root)!=null?n:"div",R=QM({elementType:O,externalSlotProps:h.root,externalForwardedProps:S,additionalProps:{role:"tooltip",ref:g},ownerState:t,className:j.root});return Oe(O,ve({},R,{children:typeof i=="function"?i(A):i}))}),d1e=de.exports.forwardRef(function(t,r){const{anchorEl:n,children:a,container:i,direction:s="ltr",disablePortal:o=!1,keepMounted:l=!1,modifiers:u,open:c,placement:f="bottom",popperOptions:m=m1e,popperRef:d,style:h,transition:p=!1,slotProps:_={},slots:S={}}=t,v=xt(t,l1e),[g,y]=de.exports.useState(!0),M=()=>{y(!1)},I=()=>{y(!0)};if(!l&&!c&&(!p||g))return null;let D;if(i)D=i;else if(n){const N=rD(n);D=N&&c1e(N)?bs(N).body:bs(null).body}const T=!c&&l&&(!p||g)?"none":void 0,b=p?{in:c,onEnter:M,onExited:I}:void 0;return Oe(vU,{disablePortal:o,container:D,children:Oe(p1e,ve({anchorEl:n,direction:s,disablePortal:o,modifiers:u,ref:r,open:p?!g:c,placement:f,popperOptions:m,popperRef:d,slotProps:_,slots:S},v,{style:ve({position:"fixed",top:0,left:0,display:T},h),TransitionProps:b,children:a}))})}),h1e=d1e;function _1e(e){const t=bs(e);return t.body===e?nu(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ep(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Y3(e){return parseInt(nu(e).getComputedStyle(e).paddingRight,10)||0}function g1e(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function Z3(e,t,r,n,a){const i=[t,r,...n];[].forEach.call(e.children,s=>{const o=i.indexOf(s)===-1,l=!g1e(s);o&&l&&ep(s,a)})}function $S(e,t){let r=-1;return e.some((n,a)=>t(n)?(r=a,!0):!1),r}function v1e(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(_1e(n)){const s=wN(bs(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Y3(n)+s}px`;const o=bs(n).querySelectorAll(".mui-fixed");[].forEach.call(o,l=>{r.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Y3(l)+s}px`})}let i;if(n.parentNode instanceof DocumentFragment)i=bs(n).body;else{const s=n.parentElement,o=nu(n);i=s?.nodeName==="HTML"&&o.getComputedStyle(s).overflowY==="scroll"?s:n}r.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{r.forEach(({value:i,el:s,property:o})=>{i?s.style.setProperty(o,i):s.style.removeProperty(o)})}}function S1e(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class y1e{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&ep(t.modalRef,!1);const a=S1e(r);Z3(r,t.mount,t.modalRef,a,!0);const i=$S(this.containers,s=>s.container===r);return i!==-1?(this.containers[i].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:a}),n)}mount(t,r){const n=$S(this.containers,i=>i.modals.indexOf(t)!==-1),a=this.containers[n];a.restore||(a.restore=v1e(a,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const a=$S(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[a];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&ep(t.modalRef,r),Z3(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(a,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&ep(s.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function M1e(e){return fr("MuiModal",e)}ar("MuiModal",["root","hidden","backdrop"]);const D1e=["children","closeAfterTransition","component","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],I1e=e=>{const{open:t,exited:r}=e;return gr({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},lU(M1e))};function O1e(e){return typeof e=="function"?e():e}function E1e(e){return e?e.props.hasOwnProperty("in"):!1}const b1e=new y1e,L1e=de.exports.forwardRef(function(t,r){var n,a;const{children:i,closeAfterTransition:s=!1,component:o,container:l,disableAutoFocus:u=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:f=!1,disablePortal:m=!1,disableRestoreFocus:d=!1,disableScrollLock:h=!1,hideBackdrop:p=!1,keepMounted:_=!1,manager:S=b1e,onBackdropClick:v,onClose:g,onKeyDown:y,open:M,onTransitionEnter:I,onTransitionExited:D,slotProps:T={},slots:b={}}=t,N=xt(t,D1e),[V,A]=de.exports.useState(!M),j=de.exports.useRef({}),O=de.exports.useRef(null),R=de.exports.useRef(null),te=Gn(R,r),W=E1e(i),ue=(n=t["aria-hidden"])!=null?n:!0,F=()=>bs(O.current),le=()=>(j.current.modalRef=R.current,j.current.mountNode=O.current,j.current),J=()=>{S.mount(le(),{disableScrollLock:h}),R.current&&(R.current.scrollTop=0)},k=Nl(()=>{const Y=O1e(l)||F().body;S.add(le(),Y),R.current&&J()}),U=de.exports.useCallback(()=>S.isTopModal(le()),[S]),z=Nl(Y=>{O.current=Y,!(!Y||!R.current)&&(M&&U()?J():ep(R.current,ue))}),q=de.exports.useCallback(()=>{S.remove(le(),ue)},[S,ue]);de.exports.useEffect(()=>()=>{q()},[q]),de.exports.useEffect(()=>{M?k():(!W||!s)&&q()},[M,q,W,s,k]);const Ie=ve({},t,{closeAfterTransition:s,disableAutoFocus:u,disableEnforceFocus:c,disableEscapeKeyDown:f,disablePortal:m,disableRestoreFocus:d,disableScrollLock:h,exited:V,hideBackdrop:p,keepMounted:_}),Fe=I1e(Ie),Le=()=>{A(!1),I&&I()},Me=()=>{A(!0),D&&D(),s&&q()},Re=Y=>{Y.target===Y.currentTarget&&(v&&v(Y),g&&g(Y,"backdropClick"))},be=Y=>{y&&y(Y),!(Y.key!=="Escape"||!U())&&(f||(Y.stopPropagation(),g&&g(Y,"escapeKeyDown")))},ae={};i.props.tabIndex===void 0&&(ae.tabIndex="-1"),W&&(ae.onEnter=KM(Le,i.props.onEnter),ae.onExited=KM(Me,i.props.onExited));const dt=(a=o??b.root)!=null?a:"div",P=QM({elementType:dt,externalSlotProps:T.root,externalForwardedProps:N,additionalProps:{ref:te,role:"presentation",onKeyDown:be},className:Fe.root,ownerState:Ie}),Ve=b.backdrop,we=QM({elementType:Ve,externalSlotProps:T.backdrop,additionalProps:{"aria-hidden":!0,onClick:Re,open:M},className:Fe.backdrop,ownerState:Ie});return!_&&!M&&(!W||V)?null:Oe(vU,{ref:z,container:l,disablePortal:m,children:Gt(dt,ve({},P,{children:[!p&&Ve?Oe(Ve,ve({},we)):null,Oe(Xpe,{disableEnforceFocus:c,disableAutoFocus:u,disableRestoreFocus:d,isEnabled:U,open:M,children:de.exports.cloneElement(i,ae)})]}))})}),C1e=L1e,T1e=["onChange","maxRows","minRows","style","value"];function N1(e){return parseInt(e,10)||0}const x1e={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function X3(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const A1e=de.exports.forwardRef(function(t,r){const{onChange:n,maxRows:a,minRows:i=1,style:s,value:o}=t,l=xt(t,T1e),{current:u}=de.exports.useRef(o!=null),c=de.exports.useRef(null),f=Gn(r,c),m=de.exports.useRef(null),d=de.exports.useRef(0),[h,p]=de.exports.useState({outerHeightStyle:0}),_=de.exports.useCallback(()=>{const M=c.current,D=nu(M).getComputedStyle(M);if(D.width==="0px")return{outerHeightStyle:0};const T=m.current;T.style.width=D.width,T.value=M.value||t.placeholder||"x",T.value.slice(-1)===` +`&&(T.value+=" ");const b=D.boxSizing,N=N1(D.paddingBottom)+N1(D.paddingTop),V=N1(D.borderBottomWidth)+N1(D.borderTopWidth),A=T.scrollHeight;T.value="x";const j=T.scrollHeight;let O=A;i&&(O=Math.max(Number(i)*j,O)),a&&(O=Math.min(Number(a)*j,O)),O=Math.max(O,j);const R=O+(b==="border-box"?N+V:0),te=Math.abs(O-A)<=1;return{outerHeightStyle:R,overflow:te}},[a,i,t.placeholder]),S=(M,I)=>{const{outerHeightStyle:D,overflow:T}=I;return d.current<20&&(D>0&&Math.abs((M.outerHeightStyle||0)-D)>1||M.overflow!==T)?(d.current+=1,{overflow:T,outerHeightStyle:D}):M},v=de.exports.useCallback(()=>{const M=_();X3(M)||p(I=>S(I,M))},[_]),g=()=>{const M=_();X3(M)||cf.exports.flushSync(()=>{p(I=>S(I,M))})};de.exports.useEffect(()=>{const M=fE(()=>{d.current=0,c.current&&g()});let I;const D=c.current,T=nu(D);return T.addEventListener("resize",M),typeof ResizeObserver<"u"&&(I=new ResizeObserver(M),I.observe(D)),()=>{M.clear(),T.removeEventListener("resize",M),I&&I.disconnect()}}),mo(()=>{v()}),de.exports.useEffect(()=>{d.current=0},[o]);const y=M=>{d.current=0,u||v(),n&&n(M)};return Gt(de.exports.Fragment,{children:[Oe("textarea",ve({value:o,onChange:y,ref:f,rows:i,style:ve({height:h.outerHeightStyle,overflow:h.overflow?"hidden":void 0},s)},l)),Oe("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:m,tabIndex:-1,style:ve({},x1e.shadow,s,{padding:0})})]})}),k1e=A1e;function w1e(e){return fr("MuiSvgIcon",e)}ar("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const P1e=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],N1e=e=>{const{color:t,fontSize:r,classes:n}=e,a={root:["root",t!=="inherit"&&`color${Pt(t)}`,`fontSize${Pt(r)}`]};return gr(a,w1e,n)},U1e=It("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${Pt(r.color)}`],t[`fontSize${Pt(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,a,i,s,o,l,u,c,f,m,d,h,p,_,S,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(a=e.transitions)==null||(i=a.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((s=e.typography)==null||(o=s.pxToRem)==null?void 0:o.call(s,20))||"1.25rem",medium:((l=e.typography)==null||(u=l.pxToRem)==null?void 0:u.call(l,24))||"1.5rem",large:((c=e.typography)==null||(f=c.pxToRem)==null?void 0:f.call(c,35))||"2.1875rem"}[t.fontSize],color:(m=(d=(e.vars||e).palette)==null||(h=d[t.color])==null?void 0:h.main)!=null?m:{action:(p=(e.vars||e).palette)==null||(_=p.action)==null?void 0:_.active,disabled:(S=(e.vars||e).palette)==null||(v=S.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),SU=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiSvgIcon"}),{children:a,className:i,color:s="inherit",component:o="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:f,viewBox:m="0 0 24 24"}=n,d=xt(n,P1e),h=ve({},n,{color:s,component:o,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:m}),p={};c||(p.viewBox=m);const _=N1e(h);return Gt(U1e,ve({as:o,className:wt(_.root,i),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:r},p,d,{ownerState:h,children:[a,f?Oe("title",{children:f}):null]}))});SU.muiName="SvgIcon";const J3=SU;function Vi(e,t){function r(n,a){return Oe(J3,ve({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return r.muiName=J3.muiName,de.exports.memo(de.exports.forwardRef(r))}const V1e={configure:e=>{dE.configure(e)}},R1e=Object.freeze(Object.defineProperty({__proto__:null,unstable_ClassNameGenerator:V1e,capitalize:Pt,createChainedFunction:KM,createSvgIcon:Vi,debounce:fE,deprecatedPropType:Ece,isMuiElement:bce,ownerDocument:bs,ownerWindow:nu,requirePropFactory:Lce,setRef:z_,unstable_useEnhancedEffect:mo,unstable_useId:K_,unsupportedProp:xce,useControlled:Xp,useEventCallback:Nl,useForkRef:Gn,useIsFocusVisible:mE},Symbol.toStringTag,{value:"Module"}));function nD(e,t){return nD=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},nD(e,t)}function yU(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,nD(e,t)}const Q3={disabled:!1},X_=Xs.createContext(null);var F1e=function(t){return t.scrollTop},dm="unmounted",Au="exited",ku="entering",ec="entered",sD="exiting",ul=function(e){yU(t,e);function t(n,a){var i;i=e.call(this,n,a)||this;var s=a,o=s&&!s.isMounting?n.enter:n.appear,l;return i.appearStatus=null,n.in?o?(l=Au,i.appearStatus=ku):l=ec:n.unmountOnExit||n.mountOnEnter?l=dm:l=Au,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(a,i){var s=a.in;return s&&i.status===dm?{status:Au}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(a){var i=null;if(a!==this.props){var s=this.state.status;this.props.in?s!==ku&&s!==ec&&(i=ku):(s===ku||s===ec)&&(i=sD)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var a=this.props.timeout,i,s,o;return i=s=o=a,a!=null&&typeof a!="number"&&(i=a.exit,s=a.enter,o=a.appear!==void 0?a.appear:s),{exit:i,enter:s,appear:o}},r.updateStatus=function(a,i){if(a===void 0&&(a=!1),i!==null)if(this.cancelNextCallback(),i===ku){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:u1.findDOMNode(this);s&&F1e(s)}this.performEnter(a)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Au&&this.setState({status:dm})},r.performEnter=function(a){var i=this,s=this.props.enter,o=this.context?this.context.isMounting:a,l=this.props.nodeRef?[o]:[u1.findDOMNode(this),o],u=l[0],c=l[1],f=this.getTimeouts(),m=o?f.appear:f.enter;if(!a&&!s||Q3.disabled){this.safeSetState({status:ec},function(){i.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:ku},function(){i.props.onEntering(u,c),i.onTransitionEnd(m,function(){i.safeSetState({status:ec},function(){i.props.onEntered(u,c)})})})},r.performExit=function(){var a=this,i=this.props.exit,s=this.getTimeouts(),o=this.props.nodeRef?void 0:u1.findDOMNode(this);if(!i||Q3.disabled){this.safeSetState({status:Au},function(){a.props.onExited(o)});return}this.props.onExit(o),this.safeSetState({status:sD},function(){a.props.onExiting(o),a.onTransitionEnd(s.exit,function(){a.safeSetState({status:Au},function(){a.props.onExited(o)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(a,i){i=this.setNextCallback(i),this.setState(a,i)},r.setNextCallback=function(a){var i=this,s=!0;return this.nextCallback=function(o){s&&(s=!1,i.nextCallback=null,a(o))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},r.onTransitionEnd=function(a,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:u1.findDOMNode(this),o=a==null&&!this.props.addEndListener;if(!s||o){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}a!=null&&setTimeout(this.nextCallback,a)},r.render=function(){var a=this.state.status;if(a===dm)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var o=xt(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Oe(X_.Provider,{value:null,children:typeof s=="function"?s(a,o):Xs.cloneElement(Xs.Children.only(s),o)})},t}(Xs.Component);ul.contextType=X_;ul.propTypes={};function Y0(){}ul.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Y0,onEntering:Y0,onEntered:Y0,onExit:Y0,onExiting:Y0,onExited:Y0};ul.UNMOUNTED=dm;ul.EXITED=Au;ul.ENTERING=ku;ul.ENTERED=ec;ul.EXITING=sD;const MU=ul;function B1e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FE(e,t){var r=function(i){return t&&de.exports.isValidElement(i)?t(i):i},n=Object.create(null);return e&&de.exports.Children.map(e,function(a){return a}).forEach(function(a){n[a.key]=r(a)}),n}function H1e(e,t){e=e||{},t=t||{};function r(c){return c in t?t[c]:e[c]}var n=Object.create(null),a=[];for(var i in e)i in t?a.length&&(n[i]=a,a=[]):a.push(i);var s,o={};for(var l in t){if(n[l])for(s=0;se.scrollTop;function J_(e,t){var r,n;const{timeout:a,easing:i,style:s={}}=e;return{duration:(r=s.transitionDuration)!=null?r:typeof a=="number"?a:a[t.mode]||0,easing:(n=s.transitionTimingFunction)!=null?n:typeof i=="object"?i[t.mode]:i,delay:s.transitionDelay}}function K1e(e){return fr("MuiPaper",e)}ar("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const q1e=["className","component","elevation","square","variant"],Y1e=e=>{const{square:t,elevation:r,variant:n,classes:a}=e,i={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return gr(i,K1e,a)},Z1e=It("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return ve({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&ve({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${yn("#fff",R3(t.elevation))}, ${yn("#fff",R3(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),X1e=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiPaper"}),{className:a,component:i="div",elevation:s=1,square:o=!1,variant:l="elevation"}=n,u=xt(n,q1e),c=ve({},n,{component:i,elevation:s,square:o,variant:l}),f=Y1e(c);return Oe(Z1e,ve({as:i,ownerState:c,className:wt(f.root,a),ref:r},u))}),HE=X1e;function J1e(e){const{className:t,classes:r,pulsate:n=!1,rippleX:a,rippleY:i,rippleSize:s,in:o,onExited:l,timeout:u}=e,[c,f]=de.exports.useState(!1),m=wt(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),d={width:s,height:s,top:-(s/2)+i,left:-(s/2)+a},h=wt(r.child,c&&r.childLeaving,n&&r.childPulsate);return!o&&!c&&f(!0),de.exports.useEffect(()=>{if(!o&&l!=null){const p=setTimeout(l,u);return()=>{clearTimeout(p)}}},[l,o,u]),Oe("span",{className:m,style:d,children:Oe("span",{className:h})})}const Q1e=ar("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),za=Q1e,ehe=["center","classes","className"];let ov=e=>e,e4,t4,r4,n4;const aD=550,the=80,rhe=IE(e4||(e4=ov` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),nhe=IE(t4||(t4=ov` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),she=IE(r4||(r4=ov` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),ahe=It("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ihe=It(J1e,{name:"MuiTouchRipple",slot:"Ripple"})(n4||(n4=ov` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),za.rippleVisible,rhe,aD,({theme:e})=>e.transitions.easing.easeInOut,za.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,za.child,za.childLeaving,nhe,aD,({theme:e})=>e.transitions.easing.easeInOut,za.childPulsate,she,({theme:e})=>e.transitions.easing.easeInOut),ohe=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:i={},className:s}=n,o=xt(n,ehe),[l,u]=de.exports.useState([]),c=de.exports.useRef(0),f=de.exports.useRef(null);de.exports.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const m=de.exports.useRef(!1),d=de.exports.useRef(null),h=de.exports.useRef(null),p=de.exports.useRef(null);de.exports.useEffect(()=>()=>{clearTimeout(d.current)},[]);const _=de.exports.useCallback(y=>{const{pulsate:M,rippleX:I,rippleY:D,rippleSize:T,cb:b}=y;u(N=>[...N,Oe(ihe,{classes:{ripple:wt(i.ripple,za.ripple),rippleVisible:wt(i.rippleVisible,za.rippleVisible),ripplePulsate:wt(i.ripplePulsate,za.ripplePulsate),child:wt(i.child,za.child),childLeaving:wt(i.childLeaving,za.childLeaving),childPulsate:wt(i.childPulsate,za.childPulsate)},timeout:aD,pulsate:M,rippleX:I,rippleY:D,rippleSize:T},c.current)]),c.current+=1,f.current=b},[i]),S=de.exports.useCallback((y={},M={},I=()=>{})=>{const{pulsate:D=!1,center:T=a||M.pulsate,fakeElement:b=!1}=M;if(y?.type==="mousedown"&&m.current){m.current=!1;return}y?.type==="touchstart"&&(m.current=!0);const N=b?null:p.current,V=N?N.getBoundingClientRect():{width:0,height:0,left:0,top:0};let A,j,O;if(T||y===void 0||y.clientX===0&&y.clientY===0||!y.clientX&&!y.touches)A=Math.round(V.width/2),j=Math.round(V.height/2);else{const{clientX:R,clientY:te}=y.touches&&y.touches.length>0?y.touches[0]:y;A=Math.round(R-V.left),j=Math.round(te-V.top)}if(T)O=Math.sqrt((2*V.width**2+V.height**2)/3),O%2===0&&(O+=1);else{const R=Math.max(Math.abs((N?N.clientWidth:0)-A),A)*2+2,te=Math.max(Math.abs((N?N.clientHeight:0)-j),j)*2+2;O=Math.sqrt(R**2+te**2)}y!=null&&y.touches?h.current===null&&(h.current=()=>{_({pulsate:D,rippleX:A,rippleY:j,rippleSize:O,cb:I})},d.current=setTimeout(()=>{h.current&&(h.current(),h.current=null)},the)):_({pulsate:D,rippleX:A,rippleY:j,rippleSize:O,cb:I})},[a,_]),v=de.exports.useCallback(()=>{S({},{pulsate:!0})},[S]),g=de.exports.useCallback((y,M)=>{if(clearTimeout(d.current),y?.type==="touchend"&&h.current){h.current(),h.current=null,d.current=setTimeout(()=>{g(y,M)});return}h.current=null,u(I=>I.length>0?I.slice(1):I),f.current=M},[]);return de.exports.useImperativeHandle(r,()=>({pulsate:v,start:S,stop:g}),[v,S,g]),Oe(ahe,ve({className:wt(za.root,i.root,s),ref:p},o,{children:Oe(z1e,{component:null,exit:!0,children:l})}))}),lhe=ohe;function uhe(e){return fr("MuiButtonBase",e)}const che=ar("MuiButtonBase",["root","disabled","focusVisible"]),fhe=che,mhe=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],phe=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:a}=e,s=gr({root:["root",t&&"disabled",r&&"focusVisible"]},uhe,a);return r&&n&&(s.root+=` ${n}`),s},dhe=It("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${fhe.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),hhe=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiButtonBase"}),{action:a,centerRipple:i=!1,children:s,className:o,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:m=!1,LinkComponent:d="a",onBlur:h,onClick:p,onContextMenu:_,onDragLeave:S,onFocus:v,onFocusVisible:g,onKeyDown:y,onKeyUp:M,onMouseDown:I,onMouseLeave:D,onMouseUp:T,onTouchEnd:b,onTouchMove:N,onTouchStart:V,tabIndex:A=0,TouchRippleProps:j,touchRippleRef:O,type:R}=n,te=xt(n,mhe),W=de.exports.useRef(null),ue=de.exports.useRef(null),F=Gn(ue,O),{isFocusVisibleRef:le,onFocus:J,onBlur:k,ref:U}=mE(),[z,q]=de.exports.useState(!1);u&&z&&q(!1),de.exports.useImperativeHandle(a,()=>({focusVisible:()=>{q(!0),W.current.focus()}}),[]);const[Ie,Fe]=de.exports.useState(!1);de.exports.useEffect(()=>{Fe(!0)},[]);const Le=Ie&&!c&&!u;de.exports.useEffect(()=>{z&&m&&!c&&Ie&&ue.current.pulsate()},[c,m,z,Ie]);function Me(E,H,ne=f){return Nl(ie=>(H&&H(ie),!ne&&ue.current&&ue.current[E](ie),!0))}const Re=Me("start",I),be=Me("stop",_),ae=Me("stop",S),dt=Me("stop",T),P=Me("stop",E=>{z&&E.preventDefault(),D&&D(E)}),Ve=Me("start",V),we=Me("stop",b),Y=Me("stop",N),Q=Me("stop",E=>{k(E),le.current===!1&&q(!1),h&&h(E)},!1),Te=Nl(E=>{W.current||(W.current=E.currentTarget),J(E),le.current===!0&&(q(!0),g&&g(E)),v&&v(E)}),Ge=()=>{const E=W.current;return l&&l!=="button"&&!(E.tagName==="A"&&E.href)},ze=de.exports.useRef(!1),x=Nl(E=>{m&&!ze.current&&z&&ue.current&&E.key===" "&&(ze.current=!0,ue.current.stop(E,()=>{ue.current.start(E)})),E.target===E.currentTarget&&Ge()&&E.key===" "&&E.preventDefault(),y&&y(E),E.target===E.currentTarget&&Ge()&&E.key==="Enter"&&!u&&(E.preventDefault(),p&&p(E))}),Ne=Nl(E=>{m&&E.key===" "&&ue.current&&z&&!E.defaultPrevented&&(ze.current=!1,ue.current.stop(E,()=>{ue.current.pulsate(E)})),M&&M(E),p&&E.target===E.currentTarget&&Ge()&&E.key===" "&&!E.defaultPrevented&&p(E)});let it=l;it==="button"&&(te.href||te.to)&&(it=d);const Je={};it==="button"?(Je.type=R===void 0?"button":R,Je.disabled=u):(!te.href&&!te.to&&(Je.role="button"),u&&(Je["aria-disabled"]=u));const Ye=Gn(r,U,W),G=ve({},n,{centerRipple:i,component:l,disabled:u,disableRipple:c,disableTouchRipple:f,focusRipple:m,tabIndex:A,focusVisible:z}),L=phe(G);return Gt(dhe,ve({as:it,className:wt(L.root,o),ownerState:G,onBlur:Q,onClick:p,onContextMenu:be,onFocus:Te,onKeyDown:x,onKeyUp:Ne,onMouseDown:Re,onMouseLeave:P,onMouseUp:dt,onDragLeave:ae,onTouchEnd:we,onTouchMove:Y,onTouchStart:Ve,ref:Ye,tabIndex:u?-1:A,type:R},Je,te,{children:[s,Le?Oe(lhe,ve({ref:F,center:i},j)):null]}))}),Gd=hhe;function _he(e){return fr("MuiIconButton",e)}const ghe=ar("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),vhe=ghe,She=["edge","children","className","color","disabled","disableFocusRipple","size"],yhe=e=>{const{classes:t,disabled:r,color:n,edge:a,size:i}=e,s={root:["root",r&&"disabled",n!=="default"&&`color${Pt(n)}`,a&&`edge${Pt(a)}`,`size${Pt(i)}`]};return gr(s,_he,t)},Mhe=It(Gd,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${Pt(r.color)}`],r.edge&&t[`edge${Pt(r.edge)}`],t[`size${Pt(r.size)}`]]}})(({theme:e,ownerState:t})=>ve({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:yn(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=(r=(e.vars||e).palette)==null?void 0:r[t.color];return ve({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&ve({color:n?.main},!t.disableRipple&&{"&:hover":ve({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:yn(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${vhe.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Dhe=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiIconButton"}),{edge:a=!1,children:i,className:s,color:o="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=n,f=xt(n,She),m=ve({},n,{edge:a,color:o,disabled:l,disableFocusRipple:u,size:c}),d=yhe(m);return Oe(Mhe,ve({className:wt(d.root,s),centerRipple:!0,focusRipple:!u,disabled:l,ref:r,ownerState:m},f,{children:i}))}),Uo=Dhe;function Ihe(e){return fr("MuiTypography",e)}ar("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Ohe=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ehe=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:a,variant:i,classes:s}=e,o={root:["root",i,e.align!=="inherit"&&`align${Pt(t)}`,r&&"gutterBottom",n&&"noWrap",a&&"paragraph"]};return gr(o,Ihe,s)},bhe=It("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${Pt(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>ve({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),s4={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Lhe={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Che=e=>Lhe[e]||e,The=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiTypography"}),a=Che(n.color),i=sU(ve({},n,{color:a})),{align:s="inherit",className:o,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:f=!1,variant:m="body1",variantMapping:d=s4}=i,h=xt(i,Ohe),p=ve({},i,{align:s,color:a,className:o,component:l,gutterBottom:u,noWrap:c,paragraph:f,variant:m,variantMapping:d}),_=l||(f?"p":d[m]||s4[m])||"span",S=Ehe(p);return Oe(bhe,ve({as:_,ref:r,ownerState:p,className:wt(S.root,o)},h))}),Q_=The,xhe=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Ahe=It(h1e,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),khe=de.exports.forwardRef(function(t,r){var n;const a=nU(),i=Er({props:t,name:"MuiPopper"}),{anchorEl:s,component:o,components:l,componentsProps:u,container:c,disablePortal:f,keepMounted:m,modifiers:d,open:h,placement:p,popperOptions:_,popperRef:S,transition:v,slots:g,slotProps:y}=i,M=xt(i,xhe),I=(n=g?.root)!=null?n:l?.Root,D=ve({anchorEl:s,component:o,container:c,disablePortal:f,keepMounted:m,modifiers:d,open:h,placement:p,popperOptions:_,popperRef:S,transition:v},M);return Oe(Ahe,ve({direction:a?.direction,slots:{root:I},slotProps:y??u},D,{ref:r}))}),IU=khe;function lv({props:e,states:t,muiFormControl:r}){return t.reduce((n,a)=>(n[a]=e[a],r&&typeof e[a]>"u"&&(n[a]=r[a]),n),{})}const whe=de.exports.createContext(void 0),OU=whe;function Wd(){return de.exports.useContext(OU)}function Phe(e){return Oe(zme,ve({},e,{defaultTheme:av,themeId:Vd}))}function a4(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function EU(e,t=!1){return e&&(a4(e.value)&&e.value!==""||t&&a4(e.defaultValue)&&e.defaultValue!=="")}function Nhe(e){return fr("MuiInputBase",e)}const Uhe=ar("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),lf=Uhe,Vhe=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],uv=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${Pt(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},cv=(e,t)=>{const{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},Rhe=e=>{const{classes:t,color:r,disabled:n,error:a,endAdornment:i,focused:s,formControl:o,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:f,size:m,startAdornment:d,type:h}=e,p={root:["root",`color${Pt(r)}`,n&&"disabled",a&&"error",l&&"fullWidth",s&&"focused",o&&"formControl",m==="small"&&"sizeSmall",c&&"multiline",d&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",n&&"disabled",h==="search"&&"inputTypeSearch",c&&"inputMultiline",m==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",d&&"inputAdornedStart",i&&"inputAdornedEnd",f&&"readOnly"]};return gr(p,Nhe,t)},fv=It("div",{name:"MuiInputBase",slot:"Root",overridesResolver:uv})(({theme:e,ownerState:t})=>ve({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${lf.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&ve({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),mv=It("input",{name:"MuiInputBase",slot:"Input",overridesResolver:cv})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light",n=ve({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),a={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return ve({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${lf.formControl} &`]:{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${lf.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),Fhe=Oe(Phe,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Bhe=de.exports.forwardRef(function(t,r){var n;const a=Er({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:s,autoFocus:o,className:l,components:u={},componentsProps:c={},defaultValue:f,disabled:m,disableInjectingGlobalStyles:d,endAdornment:h,fullWidth:p=!1,id:_,inputComponent:S="input",inputProps:v={},inputRef:g,maxRows:y,minRows:M,multiline:I=!1,name:D,onBlur:T,onChange:b,onClick:N,onFocus:V,onKeyDown:A,onKeyUp:j,placeholder:O,readOnly:R,renderSuffix:te,rows:W,slotProps:ue={},slots:F={},startAdornment:le,type:J="text",value:k}=a,U=xt(a,Vhe),z=v.value!=null?v.value:k,{current:q}=de.exports.useRef(z!=null),Ie=de.exports.useRef(),Fe=de.exports.useCallback(L=>{},[]),Le=Gn(Ie,g,v.ref,Fe),[Me,Re]=de.exports.useState(!1),be=Wd(),ae=lv({props:a,muiFormControl:be,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ae.focused=be?be.focused:Me,de.exports.useEffect(()=>{!be&&m&&Me&&(Re(!1),T&&T())},[be,m,Me,T]);const dt=be&&be.onFilled,P=be&&be.onEmpty,Ve=de.exports.useCallback(L=>{EU(L)?dt&&dt():P&&P()},[dt,P]);mo(()=>{q&&Ve({value:z})},[z,Ve,q]);const we=L=>{if(ae.disabled){L.stopPropagation();return}V&&V(L),v.onFocus&&v.onFocus(L),be&&be.onFocus?be.onFocus(L):Re(!0)},Y=L=>{T&&T(L),v.onBlur&&v.onBlur(L),be&&be.onBlur?be.onBlur(L):Re(!1)},Q=(L,...E)=>{if(!q){const H=L.target||Ie.current;if(H==null)throw new Error(ru(1));Ve({value:H.value})}v.onChange&&v.onChange(L,...E),b&&b(L,...E)};de.exports.useEffect(()=>{Ve(Ie.current)},[]);const Te=L=>{Ie.current&&L.currentTarget===L.target&&Ie.current.focus(),N&&N(L)};let Ge=S,ze=v;I&&Ge==="input"&&(W?ze=ve({type:void 0,minRows:W,maxRows:W},ze):ze=ve({type:void 0,maxRows:y,minRows:M},ze),Ge=k1e);const x=L=>{Ve(L.animationName==="mui-auto-fill-cancel"?Ie.current:{value:"x"})};de.exports.useEffect(()=>{be&&be.setAdornedStart(Boolean(le))},[be,le]);const Ne=ve({},a,{color:ae.color||"primary",disabled:ae.disabled,endAdornment:h,error:ae.error,focused:ae.focused,formControl:be,fullWidth:p,hiddenLabel:ae.hiddenLabel,multiline:I,size:ae.size,startAdornment:le,type:J}),it=Rhe(Ne),Je=F.root||u.Root||fv,Ye=ue.root||c.root||{},G=F.input||u.Input||mv;return ze=ve({},ze,(n=ue.input)!=null?n:c.input),Gt(de.exports.Fragment,{children:[!d&&Fhe,Gt(Je,ve({},Ye,!td(Je)&&{ownerState:ve({},Ne,Ye.ownerState)},{ref:r,onClick:Te},U,{className:wt(it.root,Ye.className,l,R&&"MuiInputBase-readOnly"),children:[le,Oe(OU.Provider,{value:null,children:Oe(G,ve({ownerState:Ne,"aria-invalid":ae.error,"aria-describedby":i,autoComplete:s,autoFocus:o,defaultValue:f,disabled:ae.disabled,id:_,onAnimationStart:x,name:D,placeholder:O,readOnly:R,required:ae.required,rows:W,value:z,onKeyDown:A,onKeyUp:j,type:J},ze,!td(G)&&{as:Ge,ownerState:ve({},Ne,ze.ownerState)},{ref:Le,className:wt(it.input,ze.className,R&&"MuiInputBase-readOnly"),onBlur:Y,onChange:Q,onFocus:we}))}),h,te?te(ve({},ae,{startAdornment:le})):null]}))]})}),pv=Bhe;function Hhe(e){return fr("MuiInput",e)}const $he=ve({},lf,ar("MuiInput",["root","underline","input"])),Zf=$he;function jhe(e){return fr("MuiOutlinedInput",e)}const Ghe=ve({},lf,ar("MuiOutlinedInput",["root","notchedOutline","input"])),dl=Ghe;function Whe(e){return fr("MuiFilledInput",e)}const zhe=ve({},lf,ar("MuiFilledInput",["root","underline","input"])),Mu=zhe,Khe=Vi(Oe("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),qhe=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Yhe={entering:{opacity:1},entered:{opacity:1}},Zhe=de.exports.forwardRef(function(t,r){const n=Hd(),a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:o,easing:l,in:u,onEnter:c,onEntered:f,onEntering:m,onExit:d,onExited:h,onExiting:p,style:_,timeout:S=a,TransitionComponent:v=MU}=t,g=xt(t,qhe),y=de.exports.useRef(null),M=Gn(y,o.ref,r),I=O=>R=>{if(O){const te=y.current;R===void 0?O(te):O(te,R)}},D=I(m),T=I((O,R)=>{DU(O);const te=J_({style:_,timeout:S,easing:l},{mode:"enter"});O.style.webkitTransition=n.transitions.create("opacity",te),O.style.transition=n.transitions.create("opacity",te),c&&c(O,R)}),b=I(f),N=I(p),V=I(O=>{const R=J_({style:_,timeout:S,easing:l},{mode:"exit"});O.style.webkitTransition=n.transitions.create("opacity",R),O.style.transition=n.transitions.create("opacity",R),d&&d(O)}),A=I(h);return Oe(v,ve({appear:s,in:u,nodeRef:y,onEnter:T,onEntered:b,onEntering:D,onExit:V,onExited:A,onExiting:N,addEndListener:O=>{i&&i(y.current,O)},timeout:S},g,{children:(O,R)=>de.exports.cloneElement(o,ve({style:ve({opacity:0,visibility:O==="exited"&&!u?"hidden":void 0},Yhe[O],_,o.props.style),ref:M},R))}))}),Xhe=Zhe;function Jhe(e){return fr("MuiBackdrop",e)}ar("MuiBackdrop",["root","invisible"]);const Qhe=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],e_e=e=>{const{classes:t,invisible:r}=e;return gr({root:["root",r&&"invisible"]},Jhe,t)},t_e=It("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>ve({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),r_e=de.exports.forwardRef(function(t,r){var n,a,i;const s=Er({props:t,name:"MuiBackdrop"}),{children:o,className:l,component:u="div",components:c={},componentsProps:f={},invisible:m=!1,open:d,slotProps:h={},slots:p={},TransitionComponent:_=Xhe,transitionDuration:S}=s,v=xt(s,Qhe),g=ve({},s,{component:u,invisible:m}),y=e_e(g),M=(n=h.root)!=null?n:f.root;return Oe(_,ve({in:d,timeout:S},v,{children:Oe(t_e,ve({"aria-hidden":!0},M,{as:(a=(i=p.root)!=null?i:c.Root)!=null?a:u,className:wt(y.root,l,M?.className),ownerState:ve({},g,M?.ownerState),classes:y,ref:r,children:o}))}))}),n_e=r_e,s_e=oU(),a_e=Zme({themeId:Vd,defaultTheme:s_e,defaultClassName:"MuiBox-root",generateClassName:dE.generate}),bU=a_e;function i_e(e){return fr("MuiButton",e)}const o_e=ar("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),U1=o_e,l_e=de.exports.createContext({}),u_e=l_e,c_e=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],f_e=e=>{const{color:t,disableElevation:r,fullWidth:n,size:a,variant:i,classes:s}=e,o={root:["root",i,`${i}${Pt(t)}`,`size${Pt(a)}`,`${i}Size${Pt(a)}`,t==="inherit"&&"colorInherit",r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Pt(a)}`],endIcon:["endIcon",`iconSize${Pt(a)}`]},l=gr(o,i_e,s);return ve({},s,l)},LU=e=>ve({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),m_e=It(Gd,{shouldForwardProp:e=>yo(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Pt(r.color)}`],t[`size${Pt(r.size)}`],t[`${r.variant}Size${Pt(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const a=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return ve({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":ve({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:yn(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:yn(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:yn(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":ve({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${U1.focusVisible}`]:ve({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${U1.disabled}`]:ve({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${yn(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:a,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${U1.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${U1.disabled}`]:{boxShadow:"none"}}),p_e=It("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${Pt(r.size)}`]]}})(({ownerState:e})=>ve({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},LU(e))),d_e=It("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${Pt(r.size)}`]]}})(({ownerState:e})=>ve({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},LU(e))),h_e=de.exports.forwardRef(function(t,r){const n=de.exports.useContext(u_e),a=pE(n,t),i=Er({props:a,name:"MuiButton"}),{children:s,color:o="primary",component:l="button",className:u,disabled:c=!1,disableElevation:f=!1,disableFocusRipple:m=!1,endIcon:d,focusVisibleClassName:h,fullWidth:p=!1,size:_="medium",startIcon:S,type:v,variant:g="text"}=i,y=xt(i,c_e),M=ve({},i,{color:o,component:l,disabled:c,disableElevation:f,disableFocusRipple:m,fullWidth:p,size:_,type:v,variant:g}),I=f_e(M),D=S&&Oe(p_e,{className:I.startIcon,ownerState:M,children:S}),T=d&&Oe(d_e,{className:I.endIcon,ownerState:M,children:d});return Gt(m_e,ve({ownerState:M,className:wt(n.className,I.root,u),component:l,disabled:c,focusRipple:!m,focusVisibleClassName:wt(I.focusVisible,h),ref:r,type:v},y,{classes:I,children:[D,s,T]}))}),i4=h_e;function __e(e){return fr("PrivateSwitchBase",e)}ar("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const g_e=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],v_e=e=>{const{classes:t,checked:r,disabled:n,edge:a}=e,i={root:["root",r&&"checked",n&&"disabled",a&&`edge${Pt(a)}`],input:["input"]};return gr(i,__e,t)},S_e=It(Gd)(({ownerState:e})=>ve({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),y_e=It("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),M_e=de.exports.forwardRef(function(t,r){const{autoFocus:n,checked:a,checkedIcon:i,className:s,defaultChecked:o,disabled:l,disableFocusRipple:u=!1,edge:c=!1,icon:f,id:m,inputProps:d,inputRef:h,name:p,onBlur:_,onChange:S,onFocus:v,readOnly:g,required:y=!1,tabIndex:M,type:I,value:D}=t,T=xt(t,g_e),[b,N]=Xp({controlled:a,default:Boolean(o),name:"SwitchBase",state:"checked"}),V=Wd(),A=F=>{v&&v(F),V&&V.onFocus&&V.onFocus(F)},j=F=>{_&&_(F),V&&V.onBlur&&V.onBlur(F)},O=F=>{if(F.nativeEvent.defaultPrevented)return;const le=F.target.checked;N(le),S&&S(F,le)};let R=l;V&&typeof R>"u"&&(R=V.disabled);const te=I==="checkbox"||I==="radio",W=ve({},t,{checked:b,disabled:R,disableFocusRipple:u,edge:c}),ue=v_e(W);return Gt(S_e,ve({component:"span",className:wt(ue.root,s),centerRipple:!0,focusRipple:!u,disabled:R,tabIndex:null,role:void 0,onFocus:A,onBlur:j,ownerState:W,ref:r},T,{children:[Oe(y_e,ve({autoFocus:n,checked:a,defaultChecked:o,className:ue.input,disabled:R,id:te?m:void 0,name:p,onChange:O,readOnly:g,ref:h,required:y,ownerState:W,tabIndex:M,type:I},I==="checkbox"&&D===void 0?{}:{value:D},d)),b?i:f]}))}),CU=M_e,D_e=Vi(Oe("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),I_e=Vi(Oe("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),O_e=Vi(Oe("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function E_e(e){return fr("MuiCheckbox",e)}const b_e=ar("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),jS=b_e,L_e=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],C_e=e=>{const{classes:t,indeterminate:r,color:n}=e,a={root:["root",r&&"indeterminate",`color${Pt(n)}`]},i=gr(a,E_e,t);return ve({},t,i)},T_e=It(CU,{shouldForwardProp:e=>yo(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,r.color!=="default"&&t[`color${Pt(r.color)}`]]}})(({theme:e,ownerState:t})=>ve({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:yn(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${jS.checked}, &.${jS.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${jS.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),x_e=Oe(I_e,{}),A_e=Oe(D_e,{}),k_e=Oe(O_e,{}),w_e=de.exports.forwardRef(function(t,r){var n,a;const i=Er({props:t,name:"MuiCheckbox"}),{checkedIcon:s=x_e,color:o="primary",icon:l=A_e,indeterminate:u=!1,indeterminateIcon:c=k_e,inputProps:f,size:m="medium",className:d}=i,h=xt(i,L_e),p=u?c:l,_=u?c:s,S=ve({},i,{color:o,indeterminate:u,size:m}),v=C_e(S);return Oe(T_e,ve({type:"checkbox",inputProps:ve({"data-indeterminate":u},f),icon:de.exports.cloneElement(p,{fontSize:(n=p.props.fontSize)!=null?n:m}),checkedIcon:de.exports.cloneElement(_,{fontSize:(a=_.props.fontSize)!=null?a:m}),ownerState:S,ref:r,className:wt(v.root,d)},h,{classes:v}))}),TU=w_e,P_e=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],N_e=It("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>ve({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),U_e=It(n_e,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),V_e=de.exports.forwardRef(function(t,r){var n,a,i,s,o,l;const u=Er({name:"MuiModal",props:t}),{BackdropComponent:c=U_e,BackdropProps:f,classes:m,className:d,closeAfterTransition:h=!1,children:p,container:_,component:S,components:v={},componentsProps:g={},disableAutoFocus:y=!1,disableEnforceFocus:M=!1,disableEscapeKeyDown:I=!1,disablePortal:D=!1,disableRestoreFocus:T=!1,disableScrollLock:b=!1,hideBackdrop:N=!1,keepMounted:V=!1,onBackdropClick:A,onClose:j,open:O,slotProps:R,slots:te,theme:W}=u,ue=xt(u,P_e),[F,le]=de.exports.useState(!0),J={container:_,closeAfterTransition:h,disableAutoFocus:y,disableEnforceFocus:M,disableEscapeKeyDown:I,disablePortal:D,disableRestoreFocus:T,disableScrollLock:b,hideBackdrop:N,keepMounted:V,onBackdropClick:A,onClose:j,open:O},k=ve({},u,J,{exited:F}),U=(n=(a=te?.root)!=null?a:v.Root)!=null?n:N_e,z=(i=(s=te?.backdrop)!=null?s:v.Backdrop)!=null?i:c,q=(o=R?.root)!=null?o:g.root,Ie=(l=R?.backdrop)!=null?l:g.backdrop;return Oe(C1e,ve({slots:{root:U,backdrop:z},slotProps:{root:()=>ve({},JM(q,k),!td(U)&&{as:S,theme:W},{className:wt(d,q?.className,m?.root,!k.open&&k.exited&&m?.hidden)}),backdrop:()=>ve({},f,JM(Ie,k),{className:wt(Ie?.className,m?.backdrop)})},onTransitionEnter:()=>le(!1),onTransitionExited:()=>le(!0),ref:r},ue,J,{children:p}))}),R_e=V_e,F_e=ar("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),o4=F_e,B_e=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],H_e=e=>{const{classes:t,disableUnderline:r}=e,a=gr({root:["root",!r&&"underline"],input:["input"]},Whe,t);return ve({},t,a)},$_e=It(fv,{shouldForwardProp:e=>yo(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...uv(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var r;const n=e.palette.mode==="light",a=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",o=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return ve({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Mu.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Mu.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:o}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(r=(e.vars||e).palette[t.color||"primary"])==null?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Mu.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Mu.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:a}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Mu.disabled}, .${Mu.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Mu.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&ve({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),j_e=It(mv,{name:"MuiFilledInput",slot:"Input",overridesResolver:cv})(({theme:e,ownerState:t})=>ve({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),xU=de.exports.forwardRef(function(t,r){var n,a,i,s;const o=Er({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:u,fullWidth:c=!1,inputComponent:f="input",multiline:m=!1,slotProps:d,slots:h={},type:p="text"}=o,_=xt(o,B_e),S=ve({},o,{fullWidth:c,inputComponent:f,multiline:m,type:p}),v=H_e(o),g={root:{ownerState:S},input:{ownerState:S}},y=d??u?ni(d??u,g):g,M=(n=(a=h.root)!=null?a:l.Root)!=null?n:$_e,I=(i=(s=h.input)!=null?s:l.Input)!=null?i:j_e;return Oe(pv,ve({slots:{root:M,input:I},componentsProps:y,fullWidth:c,inputComponent:f,multiline:m,ref:r,type:p},_,{classes:v}))});xU.muiName="Input";const G_e=xU;function W_e(e){return fr("MuiFormControlLabel",e)}const z_e=ar("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),hm=z_e,K_e=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],q_e=e=>{const{classes:t,disabled:r,labelPlacement:n,error:a,required:i}=e,s={root:["root",r&&"disabled",`labelPlacement${Pt(n)}`,a&&"error",i&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",a&&"error"]};return gr(s,W_e,t)},Y_e=It("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${hm.label}`]:t.label},t.root,t[`labelPlacement${Pt(r.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>ve({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${hm.disabled}`]:{cursor:"default"}},t.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},t.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},t.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${hm.label}`]:{[`&.${hm.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),Z_e=It("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${hm.error}`]:{color:(e.vars||e).palette.error.main}})),X_e=de.exports.forwardRef(function(t,r){var n,a;const i=Er({props:t,name:"MuiFormControlLabel"}),{className:s,componentsProps:o={},control:l,disabled:u,disableTypography:c,label:f,labelPlacement:m="end",required:d,slotProps:h={}}=i,p=xt(i,K_e),_=Wd(),S=(n=u??l.props.disabled)!=null?n:_?.disabled,v=d??l.props.required,g={disabled:S,required:v};["checked","name","onChange","value","inputRef"].forEach(b=>{typeof l.props[b]>"u"&&typeof i[b]<"u"&&(g[b]=i[b])});const y=lv({props:i,muiFormControl:_,states:["error"]}),M=ve({},i,{disabled:S,labelPlacement:m,required:v,error:y.error}),I=q_e(M),D=(a=h.typography)!=null?a:o.typography;let T=f;return T!=null&&T.type!==Q_&&!c&&(T=Oe(Q_,ve({component:"span"},D,{className:wt(I.label,D?.className),children:T}))),Gt(Y_e,ve({className:wt(I.root,s),ownerState:M,ref:r},p,{children:[de.exports.cloneElement(l,g),T,v&&Gt(Z_e,{ownerState:M,"aria-hidden":!0,className:I.asterisk,children:["\u2009","*"]})]}))}),J_e=X_e,Q_e=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function iD(e){return`scale(${e}, ${e**2})`}const ege={entering:{opacity:1,transform:iD(1)},entered:{opacity:1,transform:"none"}},GS=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),AU=de.exports.forwardRef(function(t,r){const{addEndListener:n,appear:a=!0,children:i,easing:s,in:o,onEnter:l,onEntered:u,onEntering:c,onExit:f,onExited:m,onExiting:d,style:h,timeout:p="auto",TransitionComponent:_=MU}=t,S=xt(t,Q_e),v=de.exports.useRef(),g=de.exports.useRef(),y=Hd(),M=de.exports.useRef(null),I=Gn(M,i.ref,r),D=R=>te=>{if(R){const W=M.current;te===void 0?R(W):R(W,te)}},T=D(c),b=D((R,te)=>{DU(R);const{duration:W,delay:ue,easing:F}=J_({style:h,timeout:p,easing:s},{mode:"enter"});let le;p==="auto"?(le=y.transitions.getAutoHeightDuration(R.clientHeight),g.current=le):le=W,R.style.transition=[y.transitions.create("opacity",{duration:le,delay:ue}),y.transitions.create("transform",{duration:GS?le:le*.666,delay:ue,easing:F})].join(","),l&&l(R,te)}),N=D(u),V=D(d),A=D(R=>{const{duration:te,delay:W,easing:ue}=J_({style:h,timeout:p,easing:s},{mode:"exit"});let F;p==="auto"?(F=y.transitions.getAutoHeightDuration(R.clientHeight),g.current=F):F=te,R.style.transition=[y.transitions.create("opacity",{duration:F,delay:W}),y.transitions.create("transform",{duration:GS?F:F*.666,delay:GS?W:W||F*.333,easing:ue})].join(","),R.style.opacity=0,R.style.transform=iD(.75),f&&f(R)}),j=D(m),O=R=>{p==="auto"&&(v.current=setTimeout(R,g.current||0)),n&&n(M.current,R)};return de.exports.useEffect(()=>()=>{clearTimeout(v.current)},[]),Oe(_,ve({appear:a,in:o,nodeRef:M,onEnter:b,onEntered:N,onEntering:T,onExit:A,onExited:j,onExiting:V,addEndListener:O,timeout:p==="auto"?null:p},S,{children:(R,te)=>de.exports.cloneElement(i,ve({style:ve({opacity:0,transform:iD(.75),visibility:R==="exited"&&!o?"hidden":void 0},ege[R],h,i.props.style),ref:I},te))}))});AU.muiSupportAuto=!0;const oD=AU,tge=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],rge=e=>{const{classes:t,disableUnderline:r}=e,a=gr({root:["root",!r&&"underline"],input:["input"]},Hhe,t);return ve({},t,a)},nge=It(fv,{shouldForwardProp:e=>yo(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...uv(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),ve({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Zf.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Zf.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Zf.disabled}, .${Zf.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Zf.disabled}:before`]:{borderBottomStyle:"dotted"}})}),sge=It(mv,{name:"MuiInput",slot:"Input",overridesResolver:cv})({}),kU=de.exports.forwardRef(function(t,r){var n,a,i,s;const o=Er({props:t,name:"MuiInput"}),{disableUnderline:l,components:u={},componentsProps:c,fullWidth:f=!1,inputComponent:m="input",multiline:d=!1,slotProps:h,slots:p={},type:_="text"}=o,S=xt(o,tge),v=rge(o),y={root:{ownerState:{disableUnderline:l}}},M=h??c?ni(h??c,y):y,I=(n=(a=p.root)!=null?a:u.Root)!=null?n:nge,D=(i=(s=p.input)!=null?s:u.Input)!=null?i:sge;return Oe(pv,ve({slots:{root:I,input:D},slotProps:M,fullWidth:f,inputComponent:m,multiline:d,ref:r,type:_},S,{classes:v}))});kU.muiName="Input";const age=kU,ige=de.exports.createContext({}),lD=ige;function oge(e){return fr("MuiList",e)}ar("MuiList",["root","padding","dense","subheader"]);const lge=["children","className","component","dense","disablePadding","subheader"],uge=e=>{const{classes:t,disablePadding:r,dense:n,subheader:a}=e;return gr({root:["root",!r&&"padding",n&&"dense",a&&"subheader"]},oge,t)},cge=It("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>ve({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),fge=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiList"}),{children:a,className:i,component:s="ul",dense:o=!1,disablePadding:l=!1,subheader:u}=n,c=xt(n,lge),f=de.exports.useMemo(()=>({dense:o}),[o]),m=ve({},n,{component:s,dense:o,disablePadding:l}),d=uge(m);return Oe(lD.Provider,{value:f,children:Gt(cge,ve({as:s,className:wt(d.root,i),ref:r,ownerState:m},c,{children:[u,a]}))})}),mge=fge,pge=ar("MuiListItemIcon",["root","alignItemsFlexStart"]),l4=pge,dge=ar("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),u4=dge,hge=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function WS(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function c4(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function wU(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.indexOf(t.keys.join(""))===0}function Xf(e,t,r,n,a,i){let s=!1,o=a(e,t,t?r:!1);for(;o;){if(o===e.firstChild){if(s)return!1;s=!0}const l=n?!1:o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||!wU(o,i)||l)o=a(e,o,r);else return o.focus(),!0}return!1}const _ge=de.exports.forwardRef(function(t,r){const{actions:n,autoFocus:a=!1,autoFocusItem:i=!1,children:s,className:o,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:f="selectedMenu"}=t,m=xt(t,hge),d=de.exports.useRef(null),h=de.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});mo(()=>{a&&d.current.focus()},[a]),de.exports.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(g,y)=>{const M=!d.current.style.width;if(g.clientHeight{const y=d.current,M=g.key,I=bs(y).activeElement;if(M==="ArrowDown")g.preventDefault(),Xf(y,I,u,l,WS);else if(M==="ArrowUp")g.preventDefault(),Xf(y,I,u,l,c4);else if(M==="Home")g.preventDefault(),Xf(y,null,u,l,WS);else if(M==="End")g.preventDefault(),Xf(y,null,u,l,c4);else if(M.length===1){const D=h.current,T=M.toLowerCase(),b=performance.now();D.keys.length>0&&(b-D.lastTime>500?(D.keys=[],D.repeating=!0,D.previousKeyMatched=!0):D.repeating&&T!==D.keys[0]&&(D.repeating=!1)),D.lastTime=b,D.keys.push(T);const N=I&&!D.repeating&&wU(I,D);D.previousKeyMatched&&(N||Xf(y,I,!1,l,WS,D))?g.preventDefault():D.previousKeyMatched=!1}c&&c(g)},_=Gn(d,r);let S=-1;de.exports.Children.forEach(s,(g,y)=>{!de.exports.isValidElement(g)||(g.props.disabled||(f==="selectedMenu"&&g.props.selected||S===-1)&&(S=y),S===y&&(g.props.disabled||g.props.muiSkipListHighlight||g.type.muiSkipListHighlight)&&(S+=1,S>=s.length&&(S=-1)))});const v=de.exports.Children.map(s,(g,y)=>{if(y===S){const M={};return i&&(M.autoFocus=!0),g.props.tabIndex===void 0&&f==="selectedMenu"&&(M.tabIndex=0),de.exports.cloneElement(g,M)}return g});return Oe(mge,ve({role:"menu",ref:_,className:o,onKeyDown:p,tabIndex:a?0:-1},m,{children:v}))}),gge=_ge;function vge(e){return fr("MuiPopover",e)}ar("MuiPopover",["root","paper"]);const Sge=["onEntering"],yge=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function f4(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function m4(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function p4(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function zS(e){return typeof e=="function"?e():e}const Mge=e=>{const{classes:t}=e;return gr({root:["root"],paper:["paper"]},vge,t)},Dge=It(R_e,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ige=It(HE,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Oge=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiPopover"}),{action:a,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:o,anchorReference:l="anchorEl",children:u,className:c,container:f,elevation:m=8,marginThreshold:d=16,open:h,PaperProps:p={},transformOrigin:_={vertical:"top",horizontal:"left"},TransitionComponent:S=oD,transitionDuration:v="auto",TransitionProps:{onEntering:g}={}}=n,y=xt(n.TransitionProps,Sge),M=xt(n,yge),I=de.exports.useRef(),D=Gn(I,p.ref),T=ve({},n,{anchorOrigin:s,anchorReference:l,elevation:m,marginThreshold:d,PaperProps:p,transformOrigin:_,TransitionComponent:S,transitionDuration:v,TransitionProps:y}),b=Mge(T),N=de.exports.useCallback(()=>{if(l==="anchorPosition")return o;const le=zS(i),k=(le&&le.nodeType===1?le:bs(I.current).body).getBoundingClientRect();return{top:k.top+f4(k,s.vertical),left:k.left+m4(k,s.horizontal)}},[i,s.horizontal,s.vertical,o,l]),V=de.exports.useCallback(le=>({vertical:f4(le,_.vertical),horizontal:m4(le,_.horizontal)}),[_.horizontal,_.vertical]),A=de.exports.useCallback(le=>{const J={width:le.offsetWidth,height:le.offsetHeight},k=V(J);if(l==="none")return{top:null,left:null,transformOrigin:p4(k)};const U=N();let z=U.top-k.vertical,q=U.left-k.horizontal;const Ie=z+J.height,Fe=q+J.width,Le=nu(zS(i)),Me=Le.innerHeight-d,Re=Le.innerWidth-d;if(zMe){const be=Ie-Me;z-=be,k.vertical+=be}if(qRe){const be=Fe-Re;q-=be,k.horizontal+=be}return{top:`${Math.round(z)}px`,left:`${Math.round(q)}px`,transformOrigin:p4(k)}},[i,l,N,V,d]),[j,O]=de.exports.useState(h),R=de.exports.useCallback(()=>{const le=I.current;if(!le)return;const J=A(le);J.top!==null&&(le.style.top=J.top),J.left!==null&&(le.style.left=J.left),le.style.transformOrigin=J.transformOrigin,O(!0)},[A]),te=(le,J)=>{g&&g(le,J),R()},W=()=>{O(!1)};de.exports.useEffect(()=>{h&&R()}),de.exports.useImperativeHandle(a,()=>h?{updatePosition:()=>{R()}}:null,[h,R]),de.exports.useEffect(()=>{if(!h)return;const le=fE(()=>{R()}),J=nu(i);return J.addEventListener("resize",le),()=>{le.clear(),J.removeEventListener("resize",le)}},[i,h,R]);let ue=v;v==="auto"&&!S.muiSupportAuto&&(ue=void 0);const F=f||(i?bs(zS(i)).body:void 0);return Oe(Dge,ve({BackdropProps:{invisible:!0},className:wt(b.root,c),container:F,open:h,ref:r,ownerState:T},M,{children:Oe(S,ve({appear:!0,in:h,onEntering:te,onExited:W,timeout:ue},y,{children:Oe(Ige,ve({elevation:m},p,{ref:D,className:wt(b.paper,p.className)},j?void 0:{style:ve({},p.style,{opacity:0})},{ownerState:T,children:u}))}))}))}),Ege=Oge;function bge(e){return fr("MuiMenu",e)}ar("MuiMenu",["root","paper","list"]);const Lge=["onEntering"],Cge=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],Tge={vertical:"top",horizontal:"right"},xge={vertical:"top",horizontal:"left"},Age=e=>{const{classes:t}=e;return gr({root:["root"],paper:["paper"],list:["list"]},bge,t)},kge=It(Ege,{shouldForwardProp:e=>yo(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),wge=It(HE,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Pge=It(gge,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Nge=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:i,disableAutoFocusItem:s=!1,MenuListProps:o={},onClose:l,open:u,PaperProps:c={},PopoverClasses:f,transitionDuration:m="auto",TransitionProps:{onEntering:d}={},variant:h="selectedMenu"}=n,p=xt(n.TransitionProps,Lge),_=xt(n,Cge),S=Hd(),v=S.direction==="rtl",g=ve({},n,{autoFocus:a,disableAutoFocusItem:s,MenuListProps:o,onEntering:d,PaperProps:c,transitionDuration:m,TransitionProps:p,variant:h}),y=Age(g),M=a&&!s&&u,I=de.exports.useRef(null),D=(N,V)=>{I.current&&I.current.adjustStyleForScrollbar(N,S),d&&d(N,V)},T=N=>{N.key==="Tab"&&(N.preventDefault(),l&&l(N,"tabKeyDown"))};let b=-1;return de.exports.Children.map(i,(N,V)=>{!de.exports.isValidElement(N)||N.props.disabled||(h==="selectedMenu"&&N.props.selected||b===-1)&&(b=V)}),Oe(kge,ve({onClose:l,anchorOrigin:{vertical:"bottom",horizontal:v?"right":"left"},transformOrigin:v?Tge:xge,PaperProps:ve({as:wge},c,{classes:ve({},c.classes,{root:y.paper})}),className:y.root,open:u,ref:r,transitionDuration:m,TransitionProps:ve({onEntering:D},p),ownerState:g},_,{classes:f,children:Oe(Pge,ve({onKeyDown:T,actions:I,autoFocus:a&&(b===-1||s),autoFocusItem:M,variant:h},o,{className:wt(y.list,o.className),children:i}))}))}),PU=Nge;function Uge(e){return fr("MuiMenuItem",e)}const Vge=ar("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Jf=Vge,Rge=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Fge=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},Bge=e=>{const{disabled:t,dense:r,divider:n,disableGutters:a,selected:i,classes:s}=e,l=gr({root:["root",r&&"dense",t&&"disabled",!a&&"gutters",n&&"divider",i&&"selected"]},Uge,s);return ve({},s,l)},Hge=It(Gd,{shouldForwardProp:e=>yo(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Fge})(({theme:e,ownerState:t})=>ve({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Jf.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:yn(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Jf.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:yn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Jf.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:yn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:yn(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Jf.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Jf.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${o4.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${o4.inset}`]:{marginLeft:52},[`& .${u4.root}`]:{marginTop:0,marginBottom:0},[`& .${u4.inset}`]:{paddingLeft:36},[`& .${l4.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&ve({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${l4.root} svg`]:{fontSize:"1.25rem"}}))),$ge=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiMenuItem"}),{autoFocus:a=!1,component:i="li",dense:s=!1,divider:o=!1,disableGutters:l=!1,focusVisibleClassName:u,role:c="menuitem",tabIndex:f,className:m}=n,d=xt(n,Rge),h=de.exports.useContext(lD),p=de.exports.useMemo(()=>({dense:s||h.dense||!1,disableGutters:l}),[h.dense,s,l]),_=de.exports.useRef(null);mo(()=>{a&&_.current&&_.current.focus()},[a]);const S=ve({},n,{dense:p.dense,divider:o,disableGutters:l}),v=Bge(n),g=Gn(_,r);let y;return n.disabled||(y=f!==void 0?f:-1),Oe(lD.Provider,{value:p,children:Oe(Hge,ve({ref:g,role:c,tabIndex:y,component:i,focusVisibleClassName:wt(v.focusVisible,u),className:wt(v.root,m)},d,{ownerState:S,classes:v}))})}),uD=$ge;function jge(e){return fr("MuiNativeSelect",e)}const Gge=ar("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),$E=Gge,Wge=["className","disabled","error","IconComponent","inputRef","variant"],zge=e=>{const{classes:t,variant:r,disabled:n,multiple:a,open:i,error:s}=e,o={select:["select",r,n&&"disabled",a&&"multiple",s&&"error"],icon:["icon",`icon${Pt(r)}`,i&&"iconOpen",n&&"disabled"]};return gr(o,jge,t)},NU=({ownerState:e,theme:t})=>ve({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":ve({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${$E.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),Kge=It("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:yo,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${$E.multiple}`]:t.multiple}]}})(NU),UU=({ownerState:e,theme:t})=>ve({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${$E.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),qge=It("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Pt(r.variant)}`],r.open&&t.iconOpen]}})(UU),Yge=de.exports.forwardRef(function(t,r){const{className:n,disabled:a,error:i,IconComponent:s,inputRef:o,variant:l="standard"}=t,u=xt(t,Wge),c=ve({},t,{disabled:a,variant:l,error:i}),f=zge(c);return Gt(de.exports.Fragment,{children:[Oe(Kge,ve({ownerState:c,className:wt(f.select,n),disabled:a,ref:o||r},u)),t.multiple?null:Oe(qge,{as:s,ownerState:c,className:f.icon})]})}),Zge=Yge;var d4;const Xge=["children","classes","className","label","notched"],Jge=It("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Qge=It("legend")(({ownerState:e,theme:t})=>ve({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&ve({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function e2e(e){const{className:t,label:r,notched:n}=e,a=xt(e,Xge),i=r!=null&&r!=="",s=ve({},e,{notched:n,withLabel:i});return Oe(Jge,ve({"aria-hidden":!0,className:t,ownerState:s},a,{children:Oe(Qge,{ownerState:s,children:i?Oe("span",{children:r}):d4||(d4=Oe("span",{className:"notranslate",children:"\u200B"}))})}))}const t2e=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],r2e=e=>{const{classes:t}=e,n=gr({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},jhe,t);return ve({},t,n)},n2e=It(fv,{shouldForwardProp:e=>yo(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:uv})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return ve({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${dl.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${dl.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${dl.focused} .${dl.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${dl.error} .${dl.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${dl.disabled} .${dl.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&ve({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),s2e=It(e2e,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),a2e=It(mv,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:cv})(({theme:e,ownerState:t})=>ve({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),VU=de.exports.forwardRef(function(t,r){var n,a,i,s,o;const l=Er({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:c=!1,inputComponent:f="input",label:m,multiline:d=!1,notched:h,slots:p={},type:_="text"}=l,S=xt(l,t2e),v=r2e(l),g=Wd(),y=lv({props:l,muiFormControl:g,states:["required"]}),M=ve({},l,{color:y.color||"primary",disabled:y.disabled,error:y.error,focused:y.focused,formControl:g,fullWidth:c,hiddenLabel:y.hiddenLabel,multiline:d,size:y.size,type:_}),I=(n=(a=p.root)!=null?a:u.Root)!=null?n:n2e,D=(i=(s=p.input)!=null?s:u.Input)!=null?i:a2e;return Oe(pv,ve({slots:{root:I,input:D},renderSuffix:T=>Oe(s2e,{ownerState:M,className:v.notchedOutline,label:m!=null&&m!==""&&y.required?o||(o=Gt(de.exports.Fragment,{children:[m,"\u2009","*"]})):m,notched:typeof h<"u"?h:Boolean(T.startAdornment||T.filled||T.focused)}),fullWidth:c,inputComponent:f,multiline:d,ref:r,type:_},S,{classes:ve({},v,{notchedOutline:null})}))});VU.muiName="Input";const i2e=VU,h4=Vi(Oe("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),_4=Vi(Oe("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");function o2e(e){return fr("MuiSelect",e)}const l2e=ar("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Qf=l2e;var g4;const u2e=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],c2e=It("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${Qf.select}`]:t.select},{[`&.${Qf.select}`]:t[r.variant]},{[`&.${Qf.error}`]:t.error},{[`&.${Qf.multiple}`]:t.multiple}]}})(NU,{[`&.${Qf.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),f2e=It("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Pt(r.variant)}`],r.open&&t.iconOpen]}})(UU),m2e=It("input",{shouldForwardProp:e=>Vpe(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function v4(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function p2e(e){return e==null||typeof e=="string"&&!e.trim()}const d2e=e=>{const{classes:t,variant:r,disabled:n,multiple:a,open:i,error:s}=e,o={select:["select",r,n&&"disabled",a&&"multiple",s&&"error"],icon:["icon",`icon${Pt(r)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return gr(o,o2e,t)},h2e=de.exports.forwardRef(function(t,r){const{"aria-describedby":n,"aria-label":a,autoFocus:i,autoWidth:s,children:o,className:l,defaultOpen:u,defaultValue:c,disabled:f,displayEmpty:m,error:d=!1,IconComponent:h,inputRef:p,labelId:_,MenuProps:S={},multiple:v,name:g,onBlur:y,onChange:M,onClose:I,onFocus:D,onOpen:T,open:b,readOnly:N,renderValue:V,SelectDisplayProps:A={},tabIndex:j,value:O,variant:R="standard"}=t,te=xt(t,u2e),[W,ue]=Xp({controlled:O,default:c,name:"Select"}),[F,le]=Xp({controlled:b,default:u,name:"Select"}),J=de.exports.useRef(null),k=de.exports.useRef(null),[U,z]=de.exports.useState(null),{current:q}=de.exports.useRef(b!=null),[Ie,Fe]=de.exports.useState(),Le=Gn(r,p),Me=de.exports.useCallback(H=>{k.current=H,H&&z(H)},[]),Re=U?.parentNode;de.exports.useImperativeHandle(Le,()=>({focus:()=>{k.current.focus()},node:J.current,value:W}),[W]),de.exports.useEffect(()=>{u&&F&&U&&!q&&(Fe(s?null:Re.clientWidth),k.current.focus())},[U,s]),de.exports.useEffect(()=>{i&&k.current.focus()},[i]),de.exports.useEffect(()=>{if(!_)return;const H=bs(k.current).getElementById(_);if(H){const ne=()=>{getSelection().isCollapsed&&k.current.focus()};return H.addEventListener("click",ne),()=>{H.removeEventListener("click",ne)}}},[_]);const be=(H,ne)=>{H?T&&T(ne):I&&I(ne),q||(Fe(s?null:Re.clientWidth),le(H))},ae=H=>{H.button===0&&(H.preventDefault(),k.current.focus(),be(!0,H))},dt=H=>{be(!1,H)},P=de.exports.Children.toArray(o),Ve=H=>{const ne=P.map(Ce=>Ce.props.value).indexOf(H.target.value);if(ne===-1)return;const ie=P[ne];ue(ie.props.value),M&&M(H,ie)},we=H=>ne=>{let ie;if(!!ne.currentTarget.hasAttribute("tabindex")){if(v){ie=Array.isArray(W)?W.slice():[];const Ce=W.indexOf(H.props.value);Ce===-1?ie.push(H.props.value):ie.splice(Ce,1)}else ie=H.props.value;if(H.props.onClick&&H.props.onClick(ne),W!==ie&&(ue(ie),M)){const Ce=ne.nativeEvent||ne,gt=new Ce.constructor(Ce.type,Ce);Object.defineProperty(gt,"target",{writable:!0,value:{value:ie,name:g}}),M(gt,H)}v||be(!1,ne)}},Y=H=>{N||[" ","ArrowUp","ArrowDown","Enter"].indexOf(H.key)!==-1&&(H.preventDefault(),be(!0,H))},Q=U!==null&&F,Te=H=>{!Q&&y&&(Object.defineProperty(H,"target",{writable:!0,value:{value:W,name:g}}),y(H))};delete te["aria-invalid"];let Ge,ze;const x=[];let Ne=!1;(EU({value:W})||m)&&(V?Ge=V(W):Ne=!0);const it=P.map(H=>{if(!de.exports.isValidElement(H))return null;let ne;if(v){if(!Array.isArray(W))throw new Error(ru(2));ne=W.some(ie=>v4(ie,H.props.value)),ne&&Ne&&x.push(H.props.children)}else ne=v4(W,H.props.value),ne&&Ne&&(ze=H.props.children);return de.exports.cloneElement(H,{"aria-selected":ne?"true":"false",onClick:we(H),onKeyUp:ie=>{ie.key===" "&&ie.preventDefault(),H.props.onKeyUp&&H.props.onKeyUp(ie)},role:"option",selected:ne,value:void 0,"data-value":H.props.value})});Ne&&(v?x.length===0?Ge=null:Ge=x.reduce((H,ne,ie)=>(H.push(ne),ie{const{classes:t}=e;return t},jE={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>yo(e)&&e!=="variant",slot:"Root"},S2e=It(age,jE)(""),y2e=It(i2e,jE)(""),M2e=It(G_e,jE)(""),RU=de.exports.forwardRef(function(t,r){const n=Er({name:"MuiSelect",props:t}),{autoWidth:a=!1,children:i,classes:s={},className:o,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=Khe,id:f,input:m,inputProps:d,label:h,labelId:p,MenuProps:_,multiple:S=!1,native:v=!1,onClose:g,onOpen:y,open:M,renderValue:I,SelectDisplayProps:D,variant:T="outlined"}=n,b=xt(n,g2e),N=v?Zge:_2e,V=Wd(),A=lv({props:n,muiFormControl:V,states:["variant","error"]}),j=A.variant||T,O=ve({},n,{variant:j,classes:s}),R=v2e(O),te=m||{standard:Oe(S2e,{ownerState:O}),outlined:Oe(y2e,{label:h,ownerState:O}),filled:Oe(M2e,{ownerState:O})}[j],W=Gn(r,te.ref);return Oe(de.exports.Fragment,{children:de.exports.cloneElement(te,ve({inputComponent:N,inputProps:ve({children:i,error:A.error,IconComponent:c,variant:j,type:void 0,multiple:S},v?{id:f}:{autoWidth:a,defaultOpen:l,displayEmpty:u,labelId:p,MenuProps:_,onClose:g,onOpen:y,open:M,renderValue:I,SelectDisplayProps:ve({id:f},D)},d,{classes:d?ni(R,d.classes):R},m?m.props.inputProps:{})},S&&v&&j==="outlined"?{notched:!0}:{},{ref:W,className:wt(te.props.className,o)},!m&&{variant:j},b))})});RU.muiName="Select";const D2e=RU;function I2e(e){return fr("MuiTooltip",e)}const O2e=ar("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Ul=O2e,E2e=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function b2e(e){return Math.round(e*1e5)/1e5}const L2e=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:a,placement:i}=e,s={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",a&&"touch",`tooltipPlacement${Pt(i.split("-")[0])}`],arrow:["arrow"]};return gr(s,I2e,t)},C2e=It(IU,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>ve({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Ul.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ul.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ul.arrow}`]:ve({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Ul.arrow}`]:ve({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),T2e=It("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${Pt(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>ve({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:yn(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${b2e(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Ul.popper}[data-popper-placement*="left"] &`]:ve({transformOrigin:"right center"},t.isRtl?ve({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):ve({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Ul.popper}[data-popper-placement*="right"] &`]:ve({transformOrigin:"left center"},t.isRtl?ve({marginRight:"14px"},t.touch&&{marginRight:"24px"}):ve({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Ul.popper}[data-popper-placement*="top"] &`]:ve({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Ul.popper}[data-popper-placement*="bottom"] &`]:ve({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),x2e=It("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:yn(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let V1=!1,KS=null,em={x:0,y:0};function R1(e,t){return r=>{t&&t(r),e(r)}}const A2e=de.exports.forwardRef(function(t,r){var n,a,i,s,o,l,u,c,f,m,d,h,p,_,S,v,g,y,M;const I=Er({props:t,name:"MuiTooltip"}),{arrow:D=!1,children:T,components:b={},componentsProps:N={},describeChild:V=!1,disableFocusListener:A=!1,disableHoverListener:j=!1,disableInteractive:O=!1,disableTouchListener:R=!1,enterDelay:te=100,enterNextDelay:W=0,enterTouchDelay:ue=700,followCursor:F=!1,id:le,leaveDelay:J=0,leaveTouchDelay:k=1500,onClose:U,onOpen:z,open:q,placement:Ie="bottom",PopperComponent:Fe,PopperProps:Le={},slotProps:Me={},slots:Re={},title:be,TransitionComponent:ae=oD,TransitionProps:dt}=I,P=xt(I,E2e),Ve=Hd(),we=Ve.direction==="rtl",[Y,Q]=de.exports.useState(),[Te,Ge]=de.exports.useState(null),ze=de.exports.useRef(!1),x=O||F,Ne=de.exports.useRef(),it=de.exports.useRef(),Je=de.exports.useRef(),Ye=de.exports.useRef(),[G,L]=Xp({controlled:q,default:!1,name:"Tooltip",state:"open"});let E=G;const H=K_(le),ne=de.exports.useRef(),ie=de.exports.useCallback(()=>{ne.current!==void 0&&(document.body.style.WebkitUserSelect=ne.current,ne.current=void 0),clearTimeout(Ye.current)},[]);de.exports.useEffect(()=>()=>{clearTimeout(Ne.current),clearTimeout(it.current),clearTimeout(Je.current),ie()},[ie]);const Ce=De=>{clearTimeout(KS),V1=!0,L(!0),z&&!E&&z(De)},gt=Nl(De=>{clearTimeout(KS),KS=setTimeout(()=>{V1=!1},800+J),L(!1),U&&E&&U(De),clearTimeout(Ne.current),Ne.current=setTimeout(()=>{ze.current=!1},Ve.transitions.duration.shortest)}),oe=De=>{ze.current&&De.type!=="touchstart"||(Y&&Y.removeAttribute("title"),clearTimeout(it.current),clearTimeout(Je.current),te||V1&&W?it.current=setTimeout(()=>{Ce(De)},V1?W:te):Ce(De))},ce=De=>{clearTimeout(it.current),clearTimeout(Je.current),Je.current=setTimeout(()=>{gt(De)},J)},{isFocusVisibleRef:Ze,onBlur:Ct,onFocus:Ue,ref:Ae}=mE(),[,nt]=de.exports.useState(!1),B=De=>{Ct(De),Ze.current===!1&&(nt(!1),ce(De))},he=De=>{Y||Q(De.currentTarget),Ue(De),Ze.current===!0&&(nt(!0),oe(De))},Xe=De=>{ze.current=!0;const ke=T.props;ke.onTouchStart&&ke.onTouchStart(De)},Qe=oe,Ee=ce,Pe=De=>{Xe(De),clearTimeout(Je.current),clearTimeout(Ne.current),ie(),ne.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Ye.current=setTimeout(()=>{document.body.style.WebkitUserSelect=ne.current,oe(De)},ue)},xe=De=>{T.props.onTouchEnd&&T.props.onTouchEnd(De),ie(),clearTimeout(Je.current),Je.current=setTimeout(()=>{gt(De)},k)};de.exports.useEffect(()=>{if(!E)return;function De(ke){(ke.key==="Escape"||ke.key==="Esc")&>(ke)}return document.addEventListener("keydown",De),()=>{document.removeEventListener("keydown",De)}},[gt,E]);const rt=Gn(T.ref,Ae,Q,r);!be&&be!==0&&(E=!1);const et=de.exports.useRef(),ot=De=>{const ke=T.props;ke.onMouseMove&&ke.onMouseMove(De),em={x:De.clientX,y:De.clientY},et.current&&et.current.update()},Ot={},Kt=typeof be=="string";V?(Ot.title=!E&&Kt&&!j?be:null,Ot["aria-describedby"]=E?H:null):(Ot["aria-label"]=Kt?be:null,Ot["aria-labelledby"]=E&&!Kt?H:null);const Qt=ve({},Ot,P,T.props,{className:wt(P.className,T.props.className),onTouchStart:Xe,ref:rt},F?{onMouseMove:ot}:{}),We={};R||(Qt.onTouchStart=Pe,Qt.onTouchEnd=xe),j||(Qt.onMouseOver=R1(Qe,Qt.onMouseOver),Qt.onMouseLeave=R1(Ee,Qt.onMouseLeave),x||(We.onMouseOver=Qe,We.onMouseLeave=Ee)),A||(Qt.onFocus=R1(he,Qt.onFocus),Qt.onBlur=R1(B,Qt.onBlur),x||(We.onFocus=he,We.onBlur=B));const w=de.exports.useMemo(()=>{var De;let ke=[{name:"arrow",enabled:Boolean(Te),options:{element:Te,padding:4}}];return(De=Le.popperOptions)!=null&&De.modifiers&&(ke=ke.concat(Le.popperOptions.modifiers)),ve({},Le.popperOptions,{modifiers:ke})},[Te,Le]),ee=ve({},I,{isRtl:we,arrow:D,disableInteractive:x,placement:Ie,PopperComponentProp:Fe,touch:ze.current}),se=L2e(ee),Z=(n=(a=Re.popper)!=null?a:b.Popper)!=null?n:C2e,X=(i=(s=(o=Re.transition)!=null?o:b.Transition)!=null?s:ae)!=null?i:oD,re=(l=(u=Re.tooltip)!=null?u:b.Tooltip)!=null?l:T2e,fe=(c=(f=Re.arrow)!=null?f:b.Arrow)!=null?c:x2e,_e=pm(Z,ve({},Le,(m=Me.popper)!=null?m:N.popper,{className:wt(se.popper,Le?.className,(d=(h=Me.popper)!=null?h:N.popper)==null?void 0:d.className)}),ee),ge=pm(X,ve({},dt,(p=Me.transition)!=null?p:N.transition),ee),ye=pm(re,ve({},(_=Me.tooltip)!=null?_:N.tooltip,{className:wt(se.tooltip,(S=(v=Me.tooltip)!=null?v:N.tooltip)==null?void 0:S.className)}),ee),pe=pm(fe,ve({},(g=Me.arrow)!=null?g:N.arrow,{className:wt(se.arrow,(y=(M=Me.arrow)!=null?M:N.arrow)==null?void 0:y.className)}),ee);return Gt(de.exports.Fragment,{children:[de.exports.cloneElement(T,Qt),Oe(Z,ve({as:Fe??IU,placement:Ie,anchorEl:F?{getBoundingClientRect:()=>({top:em.y,left:em.x,right:em.x,bottom:em.y,width:0,height:0})}:Y,popperRef:et,open:Y?E:!1,id:H,transition:!0},We,_e,{popperOptions:w,children:({TransitionProps:De})=>Oe(X,ve({timeout:Ve.transitions.duration.shorter},De,ge,{children:Gt(re,ve({},ye,{children:[be,D?Oe(fe,ve({},pe,{ref:Ge})):null]}))}))}))]})}),qS=A2e;function k2e(e){return fr("MuiSwitch",e)}const w2e=ar("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Ps=w2e,P2e=["className","color","edge","size","sx"],N2e=e=>{const{classes:t,edge:r,size:n,color:a,checked:i,disabled:s}=e,o={root:["root",r&&`edge${Pt(r)}`,`size${Pt(n)}`],switchBase:["switchBase",`color${Pt(a)}`,i&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=gr(o,k2e,t);return ve({},t,l)},U2e=It("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.edge&&t[`edge${Pt(r.edge)}`],t[`size${Pt(r.size)}`]]}})(({ownerState:e})=>ve({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},e.edge==="start"&&{marginLeft:-8},e.edge==="end"&&{marginRight:-8},e.size==="small"&&{width:40,height:24,padding:7,[`& .${Ps.thumb}`]:{width:16,height:16},[`& .${Ps.switchBase}`]:{padding:4,[`&.${Ps.checked}`]:{transform:"translateX(16px)"}}})),V2e=It(CU,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.switchBase,{[`& .${Ps.input}`]:t.input},r.color!=="default"&&t[`color${Pt(r.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${Ps.checked}`]:{transform:"translateX(20px)"},[`&.${Ps.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Ps.checked} + .${Ps.track}`]:{opacity:.5},[`&.${Ps.disabled} + .${Ps.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Ps.input}`]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>ve({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:yn(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${Ps.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:yn(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ps.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${e.palette.mode==="light"?AE(e.palette[t.color].main,.62):xE(e.palette[t.color].main,.55)}`}},[`&.${Ps.checked} + .${Ps.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),R2e=It("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),F2e=It("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),B2e=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiSwitch"}),{className:a,color:i="primary",edge:s=!1,size:o="medium",sx:l}=n,u=xt(n,P2e),c=ve({},n,{color:i,edge:s,size:o}),f=N2e(c),m=Oe(F2e,{className:f.thumb,ownerState:c});return Gt(U2e,{className:wt(f.root,a),sx:l,ownerState:c,children:[Oe(V2e,ve({type:"checkbox",icon:m,checkedIcon:m,ref:r,ownerState:c},u,{classes:ve({},f,{root:f.switchBase})})),Oe(R2e,{className:f.track,ownerState:c})]})}),H2e=B2e,$2e=de.exports.createContext(),FU=$2e;function j2e(e){return fr("MuiTable",e)}ar("MuiTable",["root","stickyHeader"]);const G2e=["className","component","padding","size","stickyHeader"],W2e=e=>{const{classes:t,stickyHeader:r}=e;return gr({root:["root",r&&"stickyHeader"]},j2e,t)},z2e=It("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>ve({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":ve({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),S4="table",K2e=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiTable"}),{className:a,component:i=S4,padding:s="normal",size:o="medium",stickyHeader:l=!1}=n,u=xt(n,G2e),c=ve({},n,{component:i,padding:s,size:o,stickyHeader:l}),f=W2e(c),m=de.exports.useMemo(()=>({padding:s,size:o,stickyHeader:l}),[s,o,l]);return Oe(FU.Provider,{value:m,children:Oe(z2e,ve({as:i,role:i===S4?null:"table",ref:r,className:wt(f.root,a),ownerState:c},u))})}),q2e=K2e,Y2e=de.exports.createContext(),dv=Y2e;function Z2e(e){return fr("MuiTableBody",e)}ar("MuiTableBody",["root"]);const X2e=["className","component"],J2e=e=>{const{classes:t}=e;return gr({root:["root"]},Z2e,t)},Q2e=It("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),eve={variant:"body"},y4="tbody",tve=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiTableBody"}),{className:a,component:i=y4}=n,s=xt(n,X2e),o=ve({},n,{component:i}),l=J2e(o);return Oe(dv.Provider,{value:eve,children:Oe(Q2e,ve({className:wt(l.root,a),as:i,ref:r,role:i===y4?null:"rowgroup",ownerState:o},s))})}),rve=tve;function nve(e){return fr("MuiTableCell",e)}const sve=ar("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),ave=sve,ive=["align","className","component","padding","scope","size","sortDirection","variant"],ove=e=>{const{classes:t,variant:r,align:n,padding:a,size:i,stickyHeader:s}=e,o={root:["root",r,s&&"stickyHeader",n!=="inherit"&&`align${Pt(n)}`,a!=="normal"&&`padding${Pt(a)}`,`size${Pt(i)}`]};return gr(o,nve,t)},lve=It("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${Pt(r.size)}`],r.padding!=="normal"&&t[`padding${Pt(r.padding)}`],r.align!=="inherit"&&t[`align${Pt(r.align)}`],r.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>ve({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid + ${e.palette.mode==="light"?AE(yn(e.palette.divider,1),.88):xE(yn(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${ave.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),uve=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiTableCell"}),{align:a="inherit",className:i,component:s,padding:o,scope:l,size:u,sortDirection:c,variant:f}=n,m=xt(n,ive),d=de.exports.useContext(FU),h=de.exports.useContext(dv),p=h&&h.variant==="head";let _;s?_=s:_=p?"th":"td";let S=l;_==="td"?S=void 0:!S&&p&&(S="col");const v=f||h&&h.variant,g=ve({},n,{align:a,component:_,padding:o||(d&&d.padding?d.padding:"normal"),size:u||(d&&d.size?d.size:"medium"),sortDirection:c,stickyHeader:v==="head"&&d&&d.stickyHeader,variant:v}),y=ove(g);let M=null;return c&&(M=c==="asc"?"ascending":"descending"),Oe(lve,ve({as:_,ref:r,className:wt(y.root,i),"aria-sort":M,scope:S,ownerState:g},m))}),Ns=uve;function cve(e){return fr("MuiTableContainer",e)}ar("MuiTableContainer",["root"]);const fve=["className","component"],mve=e=>{const{classes:t}=e;return gr({root:["root"]},cve,t)},pve=It("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),dve=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiTableContainer"}),{className:a,component:i="div"}=n,s=xt(n,fve),o=ve({},n,{component:i}),l=mve(o);return Oe(pve,ve({ref:r,as:i,className:wt(l.root,a),ownerState:o},s))}),hve=dve;function _ve(e){return fr("MuiTableHead",e)}ar("MuiTableHead",["root"]);const gve=["className","component"],vve=e=>{const{classes:t}=e;return gr({root:["root"]},_ve,t)},Sve=It("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),yve={variant:"head"},M4="thead",Mve=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiTableHead"}),{className:a,component:i=M4}=n,s=xt(n,gve),o=ve({},n,{component:i}),l=vve(o);return Oe(dv.Provider,{value:yve,children:Oe(Sve,ve({as:i,className:wt(l.root,a),ref:r,role:i===M4?null:"rowgroup",ownerState:o},s))})}),Dve=Mve;function Ive(e){return fr("MuiToolbar",e)}ar("MuiToolbar",["root","gutters","regular","dense"]);const Ove=["className","component","disableGutters","variant"],Eve=e=>{const{classes:t,disableGutters:r,variant:n}=e;return gr({root:["root",!r&&"gutters",n]},Ive,t)},bve=It("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})(({theme:e,ownerState:t})=>ve({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),Lve=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiToolbar"}),{className:a,component:i="div",disableGutters:s=!1,variant:o="regular"}=n,l=xt(n,Ove),u=ve({},n,{component:i,disableGutters:s,variant:o}),c=Eve(u);return Oe(bve,ve({as:i,className:wt(c.root,a),ref:r,ownerState:u},l))}),BU=Lve,D4=Vi(Oe("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),I4=Vi(Oe("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");var O4,E4,b4,L4,C4,T4,x4,A4;const Cve=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],Tve=de.exports.forwardRef(function(t,r){const{backIconButtonProps:n,count:a,getItemAriaLabel:i,nextIconButtonProps:s,onPageChange:o,page:l,rowsPerPage:u,showFirstButton:c,showLastButton:f}=t,m=xt(t,Cve),d=Hd(),h=v=>{o(v,0)},p=v=>{o(v,l-1)},_=v=>{o(v,l+1)},S=v=>{o(v,Math.max(0,Math.ceil(a/u)-1))};return Gt("div",ve({ref:r},m,{children:[c&&Oe(Uo,{onClick:h,disabled:l===0,"aria-label":i("first",l),title:i("first",l),children:d.direction==="rtl"?O4||(O4=Oe(_4,{})):E4||(E4=Oe(h4,{}))}),Oe(Uo,ve({onClick:p,disabled:l===0,color:"inherit","aria-label":i("previous",l),title:i("previous",l)},n,{children:d.direction==="rtl"?b4||(b4=Oe(I4,{})):L4||(L4=Oe(D4,{}))})),Oe(Uo,ve({onClick:_,disabled:a!==-1?l>=Math.ceil(a/u)-1:!1,color:"inherit","aria-label":i("next",l),title:i("next",l)},s,{children:d.direction==="rtl"?C4||(C4=Oe(D4,{})):T4||(T4=Oe(I4,{}))})),f&&Oe(Uo,{onClick:S,disabled:l>=Math.ceil(a/u)-1,"aria-label":i("last",l),title:i("last",l),children:d.direction==="rtl"?x4||(x4=Oe(h4,{})):A4||(A4=Oe(_4,{}))})]}))}),xve=Tve;function Ave(e){return fr("MuiTablePagination",e)}const kve=ar("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),tp=kve;var k4;const wve=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],Pve=It(Ns,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),Nve=It(BU,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>ve({[`& .${tp.actions}`]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${tp.actions}`]:{flexShrink:0,marginLeft:20}})),Uve=It("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),Vve=It("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>ve({},e.typography.body2,{flexShrink:0})),Rve=It(D2e,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>ve({[`& .${tp.selectIcon}`]:t.selectIcon,[`& .${tp.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${tp.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),Fve=It(uD,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),Bve=It("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>ve({},e.typography.body2,{flexShrink:0}));function Hve({from:e,to:t,count:r}){return`${e}\u2013${t} of ${r!==-1?r:`more than ${t}`}`}function $ve(e){return`Go to ${e} page`}const jve=e=>{const{classes:t}=e;return gr({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},Ave,t)},Gve=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiTablePagination"}),{ActionsComponent:a=xve,backIconButtonProps:i,className:s,colSpan:o,component:l=Ns,count:u,getItemAriaLabel:c=$ve,labelDisplayedRows:f=Hve,labelRowsPerPage:m="Rows per page:",nextIconButtonProps:d,onPageChange:h,onRowsPerPageChange:p,page:_,rowsPerPage:S,rowsPerPageOptions:v=[10,25,50,100],SelectProps:g={},showFirstButton:y=!1,showLastButton:M=!1}=n,I=xt(n,wve),D=n,T=jve(D),b=g.native?"option":Fve;let N;(l===Ns||l==="td")&&(N=o||1e3);const V=K_(g.id),A=K_(g.labelId),j=()=>u===-1?(_+1)*S:S===-1?u:Math.min(u,(_+1)*S);return Oe(Pve,ve({colSpan:N,ref:r,as:l,ownerState:D,className:wt(T.root,s)},I,{children:Gt(Nve,{className:T.toolbar,children:[Oe(Uve,{className:T.spacer}),v.length>1&&Oe(Vve,{className:T.selectLabel,id:A,children:m}),v.length>1&&Oe(Rve,ve({variant:"standard"},!g.variant&&{input:k4||(k4=Oe(pv,{}))},{value:S,onChange:p,id:V,labelId:A},g,{classes:ve({},g.classes,{root:wt(T.input,T.selectRoot,(g.classes||{}).root),select:wt(T.select,(g.classes||{}).select),icon:wt(T.selectIcon,(g.classes||{}).icon)}),children:v.map(O=>de.exports.createElement(b,ve({},!td(b)&&{ownerState:D},{className:T.menuItem,key:O.label?O.label:O,value:O.value?O.value:O}),O.label?O.label:O))})),Oe(Bve,{className:T.displayedRows,children:f({from:u===0?0:_*S+1,to:j(),count:u===-1?-1:u,page:_})}),Oe(a,{className:T.actions,backIconButtonProps:i,count:u,nextIconButtonProps:d,onPageChange:h,page:_,rowsPerPage:S,showFirstButton:y,showLastButton:M,getItemAriaLabel:c})]})}))}),Wve=Gve;function zve(e){return fr("MuiTableRow",e)}const Kve=ar("MuiTableRow",["root","selected","hover","head","footer"]),w4=Kve,qve=["className","component","hover","selected"],Yve=e=>{const{classes:t,selected:r,hover:n,head:a,footer:i}=e;return gr({root:["root",r&&"selected",n&&"hover",a&&"head",i&&"footer"]},zve,t)},Zve=It("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${w4.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${w4.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:yn(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:yn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),P4="tr",Xve=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiTableRow"}),{className:a,component:i=P4,hover:s=!1,selected:o=!1}=n,l=xt(n,qve),u=de.exports.useContext(dv),c=ve({},n,{component:i,hover:s,selected:o,head:u&&u.variant==="head",footer:u&&u.variant==="footer"}),f=Yve(c);return Oe(Zve,ve({as:i,ref:r,className:wt(f.root,a),role:i===P4?null:"row",ownerState:c},l))}),cD=Xve,Jve=Vi(Oe("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function Qve(e){return fr("MuiTableSortLabel",e)}const eSe=ar("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]),YS=eSe,tSe=["active","children","className","direction","hideSortIcon","IconComponent"],rSe=e=>{const{classes:t,direction:r,active:n}=e,a={root:["root",n&&"active"],icon:["icon",`iconDirection${Pt(r)}`]};return gr(a,Qve,t)},nSe=It(Gd,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.active&&t.active]}})(({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${YS.icon}`]:{opacity:.5}},[`&.${YS.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${YS.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}})),sSe=It("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,t[`iconDirection${Pt(r.direction)}`]]}})(({theme:e,ownerState:t})=>ve({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},t.direction==="desc"&&{transform:"rotate(0deg)"},t.direction==="asc"&&{transform:"rotate(180deg)"})),aSe=de.exports.forwardRef(function(t,r){const n=Er({props:t,name:"MuiTableSortLabel"}),{active:a=!1,children:i,className:s,direction:o="asc",hideSortIcon:l=!1,IconComponent:u=Jve}=n,c=xt(n,tSe),f=ve({},n,{active:a,direction:o,hideSortIcon:l,IconComponent:u}),m=rSe(f);return Gt(nSe,ve({className:wt(m.root,s),component:"span",disableRipple:!0,ownerState:f,ref:r},c,{children:[i,l&&!a?null:Oe(sSe,{as:u,className:wt(m.icon),ownerState:f})]}))}),iSe=aSe,N4=Vi(Oe("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-2 6h-2v2h2v2h-2v2h-2v-2h2v-2h-2v-2h2v-2h-2V8h2v2h2v2z"}),"FolderZip"),U4=lE(function(){const{state:t}=Xs.useContext(Ud);return t.messages.length<1?Oe(Xs.Fragment,{}):Oe("div",{className:"messages-container",children:t.messages.slice(0,4).map(({type:r,msg:n},a)=>Oe("div",{className:`message message-${r}`,children:n},`message${a}`))})});var GE={},hv={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(hv);var ZS={};const oSe=B4(R1e);var V4;function WE(){return V4||(V4=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=oSe}(ZS)),ZS}const zE=B4(Kfe);var lSe=hv.exports;Object.defineProperty(GE,"__esModule",{value:!0});var HU=GE.default=void 0,uSe=lSe(WE()),cSe=zE,fSe=(0,uSe.default)((0,cSe.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");HU=GE.default=fSe;var KE={},mSe=hv.exports;Object.defineProperty(KE,"__esModule",{value:!0});var $U=KE.default=void 0,pSe=mSe(WE()),dSe=zE,hSe=(0,pSe.default)((0,dSe.jsx)("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"}),"Download");$U=KE.default=hSe;var qE={},_Se=hv.exports;Object.defineProperty(qE,"__esModule",{value:!0});var jU=qE.default=void 0,gSe=_Se(WE()),vSe=zE,SSe=(0,gSe.default)((0,vSe.jsx)("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList");jU=qE.default=SSe;const ySe={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},MSe=ySe;Vt("@modusjs/table:trace");Vt("@modusjs/table:info");Vt("@modusjs/table:error");Vt("@modusjs/table:warn");const R4={"Sample Type":"$.type",Date:"$.date","Grower Name":"$.source.grower.id","Farm Name":"$.source.farm.id","Field Name":"$.source.field.id","Source Filename(s)":"$.lab.files[*].name",Lab:"$.lab.name"};function F4(e,t,r){return t[r]e[r]?1:0}function DSe(e,t){return e==="desc"?(r,n)=>F4(r,n,t):(r,n)=>-F4(r,n,t)}function ISe(e,t){const r=e.map((n,a)=>[n,a]);return r.sort((n,a)=>{const i=t(n[0],a[0]);return i!==0?i:n[1]-a[1]}),r.map(n=>n[0])}const GU=[{id:"filename",numeric:!1,disablePadding:!0,label:"Source Filename(s)"},{id:"type",numeric:!1,disablePadding:!1,label:"Sample Type"},{id:"date",numeric:!1,disablePadding:!1,label:"Date"},{id:"lab",numeric:!1,disablePadding:!1,label:"Lab"},{id:"sampleCount",numeric:!0,disablePadding:!1,label:"# of Samples"},{id:"grower",numeric:!1,disablePadding:!1,label:"Grower Name"},{id:"farm",numeric:!1,disablePadding:!1,label:"Farm Name"},{id:"field",numeric:!1,disablePadding:!1,label:"Field Name"}];function OSe(e){const{onSelectAllClick:t,order:r,orderBy:n,numSelected:a,rowCount:i,onRequestSort:s}=e,o=l=>u=>{s(u,l)};return Oe(Dve,{children:Gt(cD,{children:[Oe(Ns,{padding:"checkbox",children:Oe(TU,{color:"primary",indeterminate:a>0&&a0&&a===i,onChange:t,inputProps:{"aria-label":"select all desserts"}})}),GU.map(l=>Oe(Ns,{align:"right",padding:l.disablePadding?"none":"normal",sortDirection:n===l.id?r:!1,children:Gt(iSe,{active:n===l.id,direction:n===l.id?r:"asc",onClick:o(l.id),children:[l.label,n===l.id?Oe(bU,{component:"span",sx:MSe,children:r==="desc"?"sorted descending":"sorted ascending"}):null]})},l.id))]})})}function ESe(e){const{actions:t}=de.exports.useContext(Ud),{numSelected:r}=e,[n,a]=de.exports.useState(null),i=Boolean(n),s=l=>{a(l.currentTarget)},o=()=>{a(null)};return Gt(BU,{sx:{pl:{sm:2},pr:{xs:1,sm:1},...r>0&&{bgcolor:l=>yn(l.palette.primary.main,l.palette.action.activatedOpacity)}},children:[r>0?Gt(Q_,{sx:{flex:"1 1 100%"},color:"inherit",variant:"subtitle1",component:"div",children:[r," selected"]}):Oe(Q_,{sx:{flex:"1 1 100%"},variant:"h6",id:"tableTitle",component:"div",children:"MODUS Lab Results"}),r>0?Gt("div",{className:"toolbarButtonGroup",children:[Oe(qS,{title:"Download",children:Oe(Uo,{onClick:s,children:Oe($U,{})})}),Oe(qS,{title:"Delete",children:Oe(Uo,{onClick:t.deleteSelected,children:Oe(HU,{})})}),Gt(PU,{anchorEl:n,id:"download-selection-menu",open:i,onClose:o,onClick:o,PaperProps:{elevation:0,sx:{overflow:"visible",filter:"drop-shadow(0px 2px 8px rgba(0,0,0,0.32))",mt:1.5,"& .MuiAvatar-root":{width:32,height:32,ml:-.5,mr:1},"&::before":{content:'""',display:"block",position:"absolute",top:0,right:14,width:10,height:10,bgcolor:"background.paper",transform:"translateY(-50%) rotate(45deg)",zIndex:0}}},transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"bottom"},children:[Oe(uD,{onClick:()=>{t.downloadAsCsv(),o()},children:"Download as CSV"}),Oe(uD,{onClick:()=>{t.downloadAsSlim(),o()},children:"Download as MODUS JSON"})]})]}):Oe(qS,{title:"Filter list",children:Oe(Uo,{children:Oe(jU,{})})})]})}const bSe=lE(function(){const{state:t,actions:r}=de.exports.useContext(Ud),n=Object.entries(t.files).map(([y,M])=>({id:y,sampleCount:Object.keys(M.samples).length,...Object.fromEntries(GU.filter(I=>R4[I.label]).map(I=>[I.id,qae.query(M,R4[I.label])[0]||""]))})),{order:a,orderBy:i,selected:s,page:o,dense:l,rowsPerPage:u}=t.table,c=r.setTable,f=(y,M)=>{c("order",i===M&&a==="asc"?"desc":"asc"),c("orderBy",M)},m=y=>{if(y.target.checked){const M=n.map(I=>I.id);c("selected",M);return}c("selected",[])},d=(y,M)=>{const I=s.indexOf(M);let D=[];I===-1?D=D.concat(s,M):I===0?D=D.concat(s.slice(1)):I===s.length-1?D=D.concat(s.slice(0,-1)):I>0&&(D=D.concat(s.slice(0,I),s.slice(I+1))),c("selected",D)},h=(y,M)=>{c("page",M)},p=y=>{c("rowsPerPage",parseInt(y.target.value,10)),c("page",0)},_=y=>{c("dense",y.target.checked)},S=y=>s.indexOf(y)!==-1,v=o>0?Math.max(0,(1+o)*u-n.length):0,g=ISe(n,DSe(a,i)).slice(o*u,o*u+u);return Oe("div",{className:"tab",children:t.output==="trellis"?Gt(bU,{sx:{width:"100%"},children:[Gt(HE,{sx:{width:"100%",mb:2},children:[Oe(ESe,{numSelected:s.length}),Oe(hve,{children:Gt(q2e,{sx:{minWidth:750},"aria-labelledby":"tableTitle",size:l?"small":"medium",children:[Oe(OSe,{numSelected:s.length,order:a,orderBy:i,onSelectAllClick:m,onRequestSort:f,rowCount:n.length}),Gt(rve,{children:[g.map((y,M)=>{const I=S(y.id),D=`enhanced-table-checkbox-${M}`;return Gt(cD,{hover:!0,onClick:T=>d(T,y.id),role:"checkbox","aria-checked":I,tabIndex:-1,selected:I,sx:{cursor:"pointer"},children:[Oe(Ns,{padding:"checkbox",children:Oe(TU,{color:"primary",checked:I,inputProps:{"aria-labelledby":D}})}),Oe(Ns,{component:"th",id:D,scope:"row",padding:"none",children:y.filename}),Oe(Ns,{align:"right",children:y.type}),Oe(Ns,{align:"right",children:y.date}),Oe(Ns,{align:"right",children:y.lab}),Oe(Ns,{align:"right",children:y.sampleCount}),Oe(Ns,{align:"right",children:y.grower}),Oe(Ns,{align:"right",children:y.farm}),Oe(Ns,{align:"right",children:y.field})]},y.id)}),v>0&&Oe(cD,{style:{height:(l?33:53)*v},children:Oe(Ns,{colSpan:6})})]})]})}),Oe(Wve,{rowsPerPageOptions:[5,10,25],component:"div",count:n.length,rowsPerPage:u,page:o,onPageChange:h,onRowsPerPageChange:p})]}),Oe(J_e,{control:Oe(H2e,{checked:l,onChange:_}),label:"Dense padding"})]}):null})}),LSe="/modus/assets/bigdemo.c28a3e1c.zip",CSe="/modus/assets/curateddemo.8ee1d3b0.zip",tm=Vt("@modusjs/app#App:info"),TSe=lE(function(){const{state:t,actions:r}=de.exports.useContext(Ud),n=({type:a,inout:i})=>async s=>{switch(s.preventDefault(),s.stopPropagation(),a){case"drag":t.inzone!==i&&(r.inzone(i||!1),i&&(s.dataTransfer.dropEffect="copy"));break;case"drop":tm("file dropped, evt = ",s),r.message("Reading file...");const o=[...s.dataTransfer.files],l=await Promise.all(o.map(async f=>{try{return await AP({file:f},Object.values(t.labConfig.list))}catch(m){return tm("Failed to convert file: ",f.name,". Error was: ",m),[]}}));r.message("Converting...");const u=l.reduce((f,m)=>[...f,...m],[]);r.message(`Successfully converted ${u.length} result${u.length===1?"":"s"} to Modus`),tm("results: ",u),tm("Saving",t.output," type from results");const c=t.output==="modusjson2"?"json":t.output;t.output==="trellis"?r.toTrellis(u):(await u2({modus:u,outputtype:c}),tm("File successfully saved"),r.message("Conversion result saved."));break}};return Gt("div",{className:"app",children:[Gt("div",{className:"header",children:[Oe("div",{children:Gt("h1",{className:"header-title",children:[Oe("img",{className:"header-logo",src:"fixingsoil-logo.png"}),Oe("div",{children:"Modus Lab Results Converter"})]})}),Oe("div",{style:{flexGrow:1}}),Oe("div",{children:Oe("a",{href:CSe,download:"curateddemo.zip",target:"_blank",children:Oe(Uo,{color:"primary","aria-label":"download",children:Oe(N4,{})})})})]}),Oe("hr",{}),Gt("div",{className:"output",children:[Oe(U4,{}),Gt("div",{className:"tagline",children:["Drop your soil, nutrient, water or nematode sample lab results here and get back a standard set of Modus JSON files or a standard CSV.",Oe("br",{}),Oe("br",{})]}),Gt("div",{children:["Output Format: \xA0\xA0",Gt("select",{value:t.output,onChange:a=>r.output(a.target.value),children:[Oe("option",{value:"modusjson2",children:"Modus JSON v2"}),Oe("option",{value:"json",children:"Modus JSON v1"}),Oe("option",{value:"csv",children:"Standardized CSV"}),Oe("option",{value:"trellis",children:"Sync to Trellis"})]})]})]}),t.output==="trellis"&&Gt("div",{className:"oada-connect-container",children:[Oe("h4",{children:"Trellis Connection"}),Gt("div",{children:["Domain: \xA0\xA0",Oe("input",{type:"text",value:t.trellis.domain,onChange:a=>r.trellis({domain:a.target.value})})]}),Gt("div",{children:["Token: \xA0\xA0\xA0\xA0\xA0",Oe("input",{type:"password",value:t.trellis.token,onChange:a=>r.trellis({token:a.target.value})}),t.trellis.conn?Oe(i4,{variant:"text",disabled:!0}):Oe(i4,{variant:"text",onClick:r.trellisConnect,children:"Connect"})]}),Oe("div",{children:"\xA0"})]}),Oe(U4,{}),Oe("div",{className:"dropzone-container",children:t.output!=="trellis"||t.trellis.conn?Oe("div",{className:"dropzone",onDragOver:n({type:"drag"}),onDrop:n({type:"drop"}),onDragEnter:n({type:"drag",inout:!0}),onDragLeave:n({type:"drag",inout:!1}),children:"Drop file here to download a standard MODUS output format."}):Oe("div",{className:"dropzone",children:"Please connect to Trellis prior to dropping files."})}),Gt("div",{style:{padding:"10px"},children:[Oe("hr",{}),"Please note that no data leaves your browser unless you choose to send the output to your own Trellis. Your original and converted data never leave your computer."]}),Oe(bSe,{}),Oe("hr",{}),Gt("div",{className:"footer",children:[Oe("div",{style:{paddingBottom:"10px"},children:Oe("b",{children:"Thanks to all our partners who made this work possible:"})}),Gt("div",{style:{display:"flex",flexDirection:"row",padding:"10px",backgroundColor:"white",borderRadius:"5px"},children:[Oe("div",{className:"partnerlogo",children:Oe("a",{href:"https://oatscenter.org",children:Oe("img",{style:{maxHeight:"50px"},src:"logo-oats.png"})})}),Oe("div",{className:"partnerlogo",children:Oe("a",{href:"https://farmfoundation.org",children:Oe("img",{style:{maxHeight:"50px"},src:"logo-farmfoundation.png"})})}),Oe("div",{className:"partnerlogo",children:Oe("a",{href:"https://mixingbowlhub.com/",children:Oe("img",{style:{maxHeight:"50px"},src:"logo-mixingbowlhub.png"})})}),Oe("div",{className:"partnerlogo",children:Oe("a",{href:"https://aggateway.org",children:Oe("img",{style:{maxHeight:"50px"},src:"logo-aggateway.jpg"})})}),Oe("div",{className:"partnerlogo",children:Oe("a",{href:"https://semios.com",children:Oe("img",{style:{maxHeight:"50px"},src:"logo-semios.png"})})}),Oe("div",{className:"partnerlogo",children:Oe("a",{href:"https://openteam.community",children:Oe("img",{style:{maxHeight:"50px"},src:"logo-openteam.png"})})})]}),Gt("div",{style:{paddingTop:"10px"},children:["and all participants in the\xA0",Oe("a",{href:"https://farmfoundation.swoogo.com/soilhealthtech",children:'2022 "Fixing the Soil Health Tech Stack" Hackathon.'})]}),Oe("a",{href:LSe,download:"bigdemo.zip",target:"_blank",children:Oe(Uo,{color:"primary","aria-label":"download",children:Oe(N4,{})})}),Gt("div",{style:{paddingTop:"30px",width:"50%",textAlign:"center"},children:["In addition to the partners above, this work was funded in part by USDA AFRI grant\xA0",Oe("a",{href:"https://portal.nifa.usda.gov/web/crisprojectpages/1027697-national-ag-producer-data-cooperative-a-strategic-framework-for-innovation.html",children:"2021-77039-35992"}),Oe("br",{}),"through the\xA0",Oe("a",{href:"https://agdatacoop.org",children:"NAPDC"})," from the\xA0",Oe("a",{href:"https://unl.edu",children:"University of Nebraska-Lincoln"}),"\xA0",Oe("br",{}),"to the\xA0",Oe("a",{href:"https://oatscenter.org",children:"Open Ag Technology and Systems (OATS) Center"})," at\xA0",Oe("a",{href:"https://purdue.edu",children:"Purdue University"}),"."]})]})]})});document.title+=" - 1.0.4";JS.createRoot(document.getElementById("root")).render(Oe(Xs.StrictMode,{children:Oe(Ud.Provider,{value:LN,children:Oe(TSe,{})})}))});export default xSe(); diff --git a/index.html b/index.html index 795b198..d9dd88f 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Modus Converter - +