lforms 33.4.1 → 33.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
|
|
2
2
|
!function(H,Je){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=H.document?Je(H,!0):function(pe){if(!pe.document)throw new Error("jQuery requires a window with a document");return Je(pe)}:Je(H)}("undefined"!=typeof window?window:this,function(H,Je){"use strict";var pe=[],Jt=Object.getPrototypeOf,je=pe.slice,Kt=pe.flat?function(e){return pe.flat.call(e)}:function(e){return pe.concat.apply([],e)},At=pe.push,ut=pe.indexOf,lt={},Zt=lt.toString,ct=lt.hasOwnProperty,en=ct.toString,Kn=en.call(Object),F={},P=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},Me=function(e){return null!=e&&e===e.window},R=H.document,Zn={type:!0,src:!0,nonce:!0,noModule:!0};function tn(e,t,n){var r,o,a=(n=n||R).createElement("script");if(a.text=e,t)for(r in Zn)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&a.setAttribute(r,o);n.head.appendChild(a).parentNode.removeChild(a)}function Ie(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?lt[Zt.call(e)]||"object":typeof e}var i=function(e,t){return new i.fn.init(e,t)};function Nt(e){var t=!!e&&"length"in e&&e.length,n=Ie(e);return!P(e)&&!Me(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}i.fn=i.prototype={jquery:"3.6.1",constructor:i,length:0,toArray:function(){return je.call(this)},get:function(e){return null==e?je.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=i.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return i.each(this,e)},map:function(e){return this.pushStack(i.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(je.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(i.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(i.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:At,sort:pe.sort,splice:pe.splice},i.extend=i.fn.extend=function(){var e,t,n,r,o,a,s=arguments[0]||{},f=1,c=arguments.length,d=!1;for("boolean"==typeof s&&(d=s,s=arguments[f]||{},f++),"object"==typeof s||P(s)||(s={}),f===c&&(s=this,f--);f<c;f++)if(null!=(e=arguments[f]))for(t in e)r=e[t],"__proto__"!==t&&s!==r&&(d&&r&&(i.isPlainObject(r)||(o=Array.isArray(r)))?(n=s[t],a=o&&!Array.isArray(n)?[]:o||i.isPlainObject(n)?n:{},o=!1,s[t]=i.extend(d,a,r)):void 0!==r&&(s[t]=r));return s},i.extend({expando:"jQuery"+("3.6.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==Zt.call(e)||(t=Jt(e))&&("function"!=typeof(n=ct.call(t,"constructor")&&t.constructor)||en.call(n)!==Kn))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){tn(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(Nt(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(Nt(Object(e))?i.merge(n,"string"==typeof e?[e]:e):At.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:ut.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,a=e.length,s=!n;o<a;o++)!t(e[o],o)!==s&&r.push(e[o]);return r},map:function(e,t,n){var r,o,a=0,s=[];if(Nt(e))for(r=e.length;a<r;a++)null!=(o=t(e[a],a,n))&&s.push(o);else for(a in e)null!=(o=t(e[a],a,n))&&s.push(o);return Kt(s)},guid:1,support:F}),"function"==typeof Symbol&&(i.fn[Symbol.iterator]=pe[Symbol.iterator]),i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){lt["[object "+t+"]"]=t.toLowerCase()});var De=function(e){var t,n,r,o,a,s,f,c,d,m,x,g,y,E,k,S,z,Q,ae,$="sizzle"+1*new Date,q=e.document,ie=0,I=0,U=Tt(),at=Tt(),xt=Tt(),se=Tt(),Pe=function(u,l){return u===l&&(x=!0),0},Ge={}.hasOwnProperty,oe=[],Ye=oe.pop,ge=oe.push,X=oe.push,ue=oe.slice,le=function(u,l){for(var p=0,v=u.length;p<v;p++)if(u[p]===l)return p;return-1},Ce="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",W="(?:\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",J="\\["+L+"*("+W+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+W+"))|)"+L+"*\\]",ce=":("+W+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+J+")*)|.*)\\)|)",G=new RegExp(L+"+","g"),fe=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),Qe=new RegExp("^"+L+"*,"+L+"*"),bt=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),Wr=new RegExp(L+"|>"),Fr=new RegExp(ce),$r=new RegExp("^"+W+"$"),wt={ID:new RegExp("^#("+W+")"),CLASS:new RegExp("^\\.("+W+")"),TAG:new RegExp("^("+W+"|[*])"),ATTR:new RegExp("^"+J),PSEUDO:new RegExp("^"+ce),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+Ce+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Br=/HTML$/i,_r=/^(?:input|select|textarea|button)$/i,zr=/^h\d$/i,st=/^[^{]+\{\s*\[native \w/,Ur=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ut=/[+~]/,Ae=new RegExp("\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\([^\\r\\n\\f])","g"),Ne=function(u,l){var p="0x"+u.slice(1)-65536;return l||(p<0?String.fromCharCode(p+65536):String.fromCharCode(p>>10|55296,1023&p|56320))},zn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Un=function(u,l){return l?"\0"===u?"\ufffd":u.slice(0,-1)+"\\"+u.charCodeAt(u.length-1).toString(16)+" ":"\\"+u},Xn=function(){g()},Xr=Et(function(u){return!0===u.disabled&&"fieldset"===u.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{X.apply(oe=ue.call(q.childNodes),q.childNodes)}catch(u){X={apply:oe.length?function(l,p){ge.apply(l,ue.call(p))}:function(l,p){for(var v=l.length,h=0;l[v++]=p[h++];);l.length=v-1}}}function B(u,l,p,v){var h,b,w,T,C,D,N,j=l&&l.ownerDocument,M=l?l.nodeType:9;if(p=p||[],"string"!=typeof u||!u||1!==M&&9!==M&&11!==M)return p;if(!v&&(g(l),l=l||y,k)){if(11!==M&&(C=Ur.exec(u)))if(h=C[1]){if(9===M){if(!(w=l.getElementById(h)))return p;if(w.id===h)return p.push(w),p}else if(j&&(w=j.getElementById(h))&&ae(l,w)&&w.id===h)return p.push(w),p}else{if(C[2])return X.apply(p,l.getElementsByTagName(u)),p;if((h=C[3])&&n.getElementsByClassName&&l.getElementsByClassName)return X.apply(p,l.getElementsByClassName(h)),p}if(n.qsa&&!se[u+" "]&&(!S||!S.test(u))&&(1!==M||"object"!==l.nodeName.toLowerCase())){if(N=u,j=l,1===M&&(Wr.test(u)||bt.test(u))){for((j=Ut.test(u)&&Vt(l.parentNode)||l)===l&&n.scope||((T=l.getAttribute("id"))?T=T.replace(zn,Un):l.setAttribute("id",T=$)),b=(D=s(u)).length;b--;)D[b]=(T?"#"+T:":scope")+" "+Ct(D[b]);N=D.join(",")}try{return X.apply(p,j.querySelectorAll(N)),p}catch(V){se(u,!0)}finally{T===$&&l.removeAttribute("id")}}}return c(u.replace(fe,"$1"),l,p,v)}function Tt(){var u=[];return function l(p,v){return u.push(p+" ")>r.cacheLength&&delete l[u.shift()],l[p+" "]=v}}function ve(u){return u[$]=!0,u}function xe(u){var l=y.createElement("fieldset");try{return!!u(l)}catch(p){return!1}finally{l.parentNode&&l.parentNode.removeChild(l),l=null}}function Xt(u,l){for(var p=u.split("|"),v=p.length;v--;)r.attrHandle[p[v]]=l}function Vn(u,l){var p=l&&u,v=p&&1===u.nodeType&&1===l.nodeType&&u.sourceIndex-l.sourceIndex;if(v)return v;if(p)for(;p=p.nextSibling;)if(p===l)return-1;return u?1:-1}function Vr(u){return function(l){return"input"===l.nodeName.toLowerCase()&&l.type===u}}function Gr(u){return function(l){var p=l.nodeName.toLowerCase();return("input"===p||"button"===p)&&l.type===u}}function Gn(u){return function(l){return"form"in l?l.parentNode&&!1===l.disabled?"label"in l?"label"in l.parentNode?l.parentNode.disabled===u:l.disabled===u:l.isDisabled===u||l.isDisabled!==!u&&Xr(l)===u:l.disabled===u:"label"in l&&l.disabled===u}}function Re(u){return ve(function(l){return l=+l,ve(function(p,v){for(var h,b=u([],p.length,l),w=b.length;w--;)p[h=b[w]]&&(p[h]=!(v[h]=p[h]))})})}function Vt(u){return u&&void 0!==u.getElementsByTagName&&u}for(t in n=B.support={},a=B.isXML=function(u){var p=u&&(u.ownerDocument||u).documentElement;return!Br.test(u&&u.namespaceURI||p&&p.nodeName||"HTML")},g=B.setDocument=function(u){var l,p,v=u?u.ownerDocument||u:q;return v!=y&&9===v.nodeType&&v.documentElement&&(E=(y=v).documentElement,k=!a(y),q!=y&&(p=y.defaultView)&&p.top!==p&&(p.addEventListener?p.addEventListener("unload",Xn,!1):p.attachEvent&&p.attachEvent("onunload",Xn)),n.scope=xe(function(h){return E.appendChild(h).appendChild(y.createElement("div")),void 0!==h.querySelectorAll&&!h.querySelectorAll(":scope fieldset div").length}),n.attributes=xe(function(h){return h.className="i",!h.getAttribute("className")}),n.getElementsByTagName=xe(function(h){return h.appendChild(y.createComment("")),!h.getElementsByTagName("*").length}),n.getElementsByClassName=st.test(y.getElementsByClassName),n.getById=xe(function(h){return E.appendChild(h).id=$,!y.getElementsByName||!y.getElementsByName($).length}),n.getById?(r.filter.ID=function(h){var b=h.replace(Ae,Ne);return function(w){return w.getAttribute("id")===b}},r.find.ID=function(h,b){if(void 0!==b.getElementById&&k){var w=b.getElementById(h);return w?[w]:[]}}):(r.filter.ID=function(h){var b=h.replace(Ae,Ne);return function(w){var T=void 0!==w.getAttributeNode&&w.getAttributeNode("id");return T&&T.value===b}},r.find.ID=function(h,b){if(void 0!==b.getElementById&&k){var w,T,C,D=b.getElementById(h);if(D){if((w=D.getAttributeNode("id"))&&w.value===h)return[D];for(C=b.getElementsByName(h),T=0;D=C[T++];)if((w=D.getAttributeNode("id"))&&w.value===h)return[D]}return[]}}),r.find.TAG=n.getElementsByTagName?function(h,b){return void 0!==b.getElementsByTagName?b.getElementsByTagName(h):n.qsa?b.querySelectorAll(h):void 0}:function(h,b){var w,T=[],C=0,D=b.getElementsByTagName(h);if("*"===h){for(;w=D[C++];)1===w.nodeType&&T.push(w);return T}return D},r.find.CLASS=n.getElementsByClassName&&function(h,b){if(void 0!==b.getElementsByClassName&&k)return b.getElementsByClassName(h)},z=[],S=[],(n.qsa=st.test(y.querySelectorAll))&&(xe(function(h){var b;E.appendChild(h).innerHTML="<a id='"+$+"'></a><select id='"+$+"-\r\\' msallowcapture=''><option selected=''></option></select>",h.querySelectorAll("[msallowcapture^='']").length&&S.push("[*^$]="+L+"*(?:''|\"\")"),h.querySelectorAll("[selected]").length||S.push("\\["+L+"*(?:value|"+Ce+")"),h.querySelectorAll("[id~="+$+"-]").length||S.push("~="),(b=y.createElement("input")).setAttribute("name",""),h.appendChild(b),h.querySelectorAll("[name='']").length||S.push("\\["+L+"*name"+L+"*="+L+"*(?:''|\"\")"),h.querySelectorAll(":checked").length||S.push(":checked"),h.querySelectorAll("a#"+$+"+*").length||S.push(".#.+[+~]"),h.querySelectorAll("\\\f"),S.push("[\\r\\n\\f]")}),xe(function(h){h.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var b=y.createElement("input");b.setAttribute("type","hidden"),h.appendChild(b).setAttribute("name","D"),h.querySelectorAll("[name=d]").length&&S.push("name"+L+"*[*^$|!~]?="),2!==h.querySelectorAll(":enabled").length&&S.push(":enabled",":disabled"),E.appendChild(h).disabled=!0,2!==h.querySelectorAll(":disabled").length&&S.push(":enabled",":disabled"),h.querySelectorAll("*,:x"),S.push(",.*:")})),(n.matchesSelector=st.test(Q=E.matches||E.webkitMatchesSelector||E.mozMatchesSelector||E.oMatchesSelector||E.msMatchesSelector))&&xe(function(h){n.disconnectedMatch=Q.call(h,"*"),Q.call(h,"[s!='']:x"),z.push("!=",ce)}),S=S.length&&new RegExp(S.join("|")),z=z.length&&new RegExp(z.join("|")),l=st.test(E.compareDocumentPosition),ae=l||st.test(E.contains)?function(h,b){var w=9===h.nodeType?h.documentElement:h,T=b&&b.parentNode;return h===T||!(!T||1!==T.nodeType||!(w.contains?w.contains(T):h.compareDocumentPosition&&16&h.compareDocumentPosition(T)))}:function(h,b){if(b)for(;b=b.parentNode;)if(b===h)return!0;return!1},Pe=l?function(h,b){if(h===b)return x=!0,0;var w=!h.compareDocumentPosition-!b.compareDocumentPosition;return w||(1&(w=(h.ownerDocument||h)==(b.ownerDocument||b)?h.compareDocumentPosition(b):1)||!n.sortDetached&&b.compareDocumentPosition(h)===w?h==y||h.ownerDocument==q&&ae(q,h)?-1:b==y||b.ownerDocument==q&&ae(q,b)?1:m?le(m,h)-le(m,b):0:4&w?-1:1)}:function(h,b){if(h===b)return x=!0,0;var w,T=0,C=h.parentNode,D=b.parentNode,N=[h],j=[b];if(!C||!D)return h==y?-1:b==y?1:C?-1:D?1:m?le(m,h)-le(m,b):0;if(C===D)return Vn(h,b);for(w=h;w=w.parentNode;)N.unshift(w);for(w=b;w=w.parentNode;)j.unshift(w);for(;N[T]===j[T];)T++;return T?Vn(N[T],j[T]):N[T]==q?-1:j[T]==q?1:0}),y},B.matches=function(u,l){return B(u,null,null,l)},B.matchesSelector=function(u,l){if(g(u),n.matchesSelector&&k&&!se[l+" "]&&(!z||!z.test(l))&&(!S||!S.test(l)))try{var p=Q.call(u,l);if(p||n.disconnectedMatch||u.document&&11!==u.document.nodeType)return p}catch(v){se(l,!0)}return 0<B(l,y,null,[u]).length},B.contains=function(u,l){return(u.ownerDocument||u)!=y&&g(u),ae(u,l)},B.attr=function(u,l){(u.ownerDocument||u)!=y&&g(u);var p=r.attrHandle[l.toLowerCase()],v=p&&Ge.call(r.attrHandle,l.toLowerCase())?p(u,l,!k):void 0;return void 0!==v?v:n.attributes||!k?u.getAttribute(l):(v=u.getAttributeNode(l))&&v.specified?v.value:null},B.escape=function(u){return(u+"").replace(zn,Un)},B.error=function(u){throw new Error("Syntax error, unrecognized expression: "+u)},B.uniqueSort=function(u){var l,p=[],v=0,h=0;if(x=!n.detectDuplicates,m=!n.sortStable&&u.slice(0),u.sort(Pe),x){for(;l=u[h++];)l===u[h]&&(v=p.push(h));for(;v--;)u.splice(p[v],1)}return m=null,u},o=B.getText=function(u){var l,p="",v=0,h=u.nodeType;if(h){if(1===h||9===h||11===h){if("string"==typeof u.textContent)return u.textContent;for(u=u.firstChild;u;u=u.nextSibling)p+=o(u)}else if(3===h||4===h)return u.nodeValue}else for(;l=u[v++];)p+=o(l);return p},(r=B.selectors={cacheLength:50,createPseudo:ve,match:wt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(u){return u[1]=u[1].replace(Ae,Ne),u[3]=(u[3]||u[4]||u[5]||"").replace(Ae,Ne),"~="===u[2]&&(u[3]=" "+u[3]+" "),u.slice(0,4)},CHILD:function(u){return u[1]=u[1].toLowerCase(),"nth"===u[1].slice(0,3)?(u[3]||B.error(u[0]),u[4]=+(u[4]?u[5]+(u[6]||1):2*("even"===u[3]||"odd"===u[3])),u[5]=+(u[7]+u[8]||"odd"===u[3])):u[3]&&B.error(u[0]),u},PSEUDO:function(u){var l,p=!u[6]&&u[2];return wt.CHILD.test(u[0])?null:(u[3]?u[2]=u[4]||u[5]||"":p&&Fr.test(p)&&(l=s(p,!0))&&(l=p.indexOf(")",p.length-l)-p.length)&&(u[0]=u[0].slice(0,l),u[2]=p.slice(0,l)),u.slice(0,3))}},filter:{TAG:function(u){var l=u.replace(Ae,Ne).toLowerCase();return"*"===u?function(){return!0}:function(p){return p.nodeName&&p.nodeName.toLowerCase()===l}},CLASS:function(u){var l=U[u+" "];return l||(l=new RegExp("(^|"+L+")"+u+"("+L+"|$)"))&&U(u,function(p){return l.test("string"==typeof p.className&&p.className||void 0!==p.getAttribute&&p.getAttribute("class")||"")})},ATTR:function(u,l,p){return function(v){var h=B.attr(v,u);return null==h?"!="===l:!l||(h+="","="===l?h===p:"!="===l?h!==p:"^="===l?p&&0===h.indexOf(p):"*="===l?p&&-1<h.indexOf(p):"$="===l?p&&h.slice(-p.length)===p:"~="===l?-1<(" "+h.replace(G," ")+" ").indexOf(p):"|="===l&&(h===p||h.slice(0,p.length+1)===p+"-"))}},CHILD:function(u,l,p,v,h){var b="nth"!==u.slice(0,3),w="last"!==u.slice(-4),T="of-type"===l;return 1===v&&0===h?function(C){return!!C.parentNode}:function(C,D,N){var j,M,V,O,K,Z,te=b!==w?"nextSibling":"previousSibling",_=C.parentNode,Ee=T&&C.nodeName.toLowerCase(),ee=!N&&!T,Y=!1;if(_){if(b){for(;te;){for(O=C;O=O[te];)if(T?O.nodeName.toLowerCase()===Ee:1===O.nodeType)return!1;Z=te="only"===u&&!Z&&"nextSibling"}return!0}if(Z=[w?_.firstChild:_.lastChild],w&&ee){for(Y=(K=(j=(M=(V=(O=_)[$]||(O[$]={}))[O.uniqueID]||(V[O.uniqueID]={}))[u]||[])[0]===ie&&j[1])&&j[2],O=K&&_.childNodes[K];O=++K&&O&&O[te]||(Y=K=0)||Z.pop();)if(1===O.nodeType&&++Y&&O===C){M[u]=[ie,K,Y];break}}else if(ee&&(Y=K=(j=(M=(V=(O=C)[$]||(O[$]={}))[O.uniqueID]||(V[O.uniqueID]={}))[u]||[])[0]===ie&&j[1]),!1===Y)for(;(O=++K&&O&&O[te]||(Y=K=0)||Z.pop())&&((T?O.nodeName.toLowerCase()!==Ee:1!==O.nodeType)||!++Y||(ee&&((M=(V=O[$]||(O[$]={}))[O.uniqueID]||(V[O.uniqueID]={}))[u]=[ie,Y]),O!==C)););return(Y-=h)===v||Y%v==0&&0<=Y/v}}},PSEUDO:function(u,l){var p,v=r.pseudos[u]||r.setFilters[u.toLowerCase()]||B.error("unsupported pseudo: "+u);return v[$]?v(l):1<v.length?(p=[u,u,"",l],r.setFilters.hasOwnProperty(u.toLowerCase())?ve(function(h,b){for(var w,T=v(h,l),C=T.length;C--;)h[w=le(h,T[C])]=!(b[w]=T[C])}):function(h){return v(h,0,p)}):v}},pseudos:{not:ve(function(u){var l=[],p=[],v=f(u.replace(fe,"$1"));return v[$]?ve(function(h,b,w,T){for(var C,D=v(h,null,T,[]),N=h.length;N--;)(C=D[N])&&(h[N]=!(b[N]=C))}):function(h,b,w){return l[0]=h,v(l,null,w,p),l[0]=null,!p.pop()}}),has:ve(function(u){return function(l){return 0<B(u,l).length}}),contains:ve(function(u){return u=u.replace(Ae,Ne),function(l){return-1<(l.textContent||o(l)).indexOf(u)}}),lang:ve(function(u){return $r.test(u||"")||B.error("unsupported lang: "+u),u=u.replace(Ae,Ne).toLowerCase(),function(l){var p;do{if(p=k?l.lang:l.getAttribute("xml:lang")||l.getAttribute("lang"))return(p=p.toLowerCase())===u||0===p.indexOf(u+"-")}while((l=l.parentNode)&&1===l.nodeType);return!1}}),target:function(u){var l=e.location&&e.location.hash;return l&&l.slice(1)===u.id},root:function(u){return u===E},focus:function(u){return u===y.activeElement&&(!y.hasFocus||y.hasFocus())&&!!(u.type||u.href||~u.tabIndex)},enabled:Gn(!1),disabled:Gn(!0),checked:function(u){var l=u.nodeName.toLowerCase();return"input"===l&&!!u.checked||"option"===l&&!!u.selected},selected:function(u){return!0===u.selected},empty:function(u){for(u=u.firstChild;u;u=u.nextSibling)if(u.nodeType<6)return!1;return!0},parent:function(u){return!r.pseudos.empty(u)},header:function(u){return zr.test(u.nodeName)},input:function(u){return _r.test(u.nodeName)},button:function(u){var l=u.nodeName.toLowerCase();return"input"===l&&"button"===u.type||"button"===l},text:function(u){var l;return"input"===u.nodeName.toLowerCase()&&"text"===u.type&&(null==(l=u.getAttribute("type"))||"text"===l.toLowerCase())},first:Re(function(){return[0]}),last:Re(function(u,l){return[l-1]}),eq:Re(function(u,l,p){return[p<0?p+l:p]}),even:Re(function(u,l){for(var p=0;p<l;p+=2)u.push(p);return u}),odd:Re(function(u,l){for(var p=1;p<l;p+=2)u.push(p);return u}),lt:Re(function(u,l,p){for(var v=p<0?p+l:l<p?l:p;0<=--v;)u.push(v);return u}),gt:Re(function(u,l,p){for(var v=p<0?p+l:p;++v<l;)u.push(v);return u})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=Vr(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=Gr(t);function Yn(){}function Ct(u){for(var l=0,p=u.length,v="";l<p;l++)v+=u[l].value;return v}function Et(u,l,p){var v=l.dir,h=l.next,b=h||v,w=p&&"parentNode"===b,T=I++;return l.first?function(C,D,N){for(;C=C[v];)if(1===C.nodeType||w)return u(C,D,N);return!1}:function(C,D,N){var j,M,V,O=[ie,T];if(N){for(;C=C[v];)if((1===C.nodeType||w)&&u(C,D,N))return!0}else for(;C=C[v];)if(1===C.nodeType||w)if(M=(V=C[$]||(C[$]={}))[C.uniqueID]||(V[C.uniqueID]={}),h&&h===C.nodeName.toLowerCase())C=C[v]||C;else{if((j=M[b])&&j[0]===ie&&j[1]===T)return O[2]=j[2];if((M[b]=O)[2]=u(C,D,N))return!0}return!1}}function Gt(u){return 1<u.length?function(l,p,v){for(var h=u.length;h--;)if(!u[h](l,p,v))return!1;return!0}:u[0]}function St(u,l,p,v,h){for(var b,w=[],T=0,C=u.length,D=null!=l;T<C;T++)(b=u[T])&&(p&&!p(b,v,h)||(w.push(b),D&&l.push(T)));return w}function Yt(u,l,p,v,h,b){return v&&!v[$]&&(v=Yt(v)),h&&!h[$]&&(h=Yt(h,b)),ve(function(w,T,C,D){var N,j,M,V=[],O=[],K=T.length,Z=w||function(Ee,ee,Y){for(var be=0,kt=ee.length;be<kt;be++)B(Ee,ee[be],Y);return Y}(l||"*",C.nodeType?[C]:C,[]),te=!u||!w&&l?Z:St(Z,V,u,C,D),_=p?h||(w?u:K||v)?[]:T:te;if(p&&p(te,_,C,D),v)for(N=St(_,O),v(N,[],C,D),j=N.length;j--;)(M=N[j])&&(_[O[j]]=!(te[O[j]]=M));if(w){if(h||u){if(h){for(N=[],j=_.length;j--;)(M=_[j])&&N.push(te[j]=M);h(null,_=[],N,D)}for(j=_.length;j--;)(M=_[j])&&-1<(N=h?le(w,M):V[j])&&(w[N]=!(T[N]=M))}}else _=St(_===T?_.splice(K,_.length):_),h?h(null,T,_,D):X.apply(T,_)})}function Qt(u){for(var l,p,v,h=u.length,b=r.relative[u[0].type],w=b||r.relative[" "],T=b?1:0,C=Et(function(j){return j===l},w,!0),D=Et(function(j){return-1<le(l,j)},w,!0),N=[function(j,M,V){var O=!b&&(V||M!==d)||((l=M).nodeType?C(j,M,V):D(j,M,V));return l=null,O}];T<h;T++)if(p=r.relative[u[T].type])N=[Et(Gt(N),p)];else{if((p=r.filter[u[T].type].apply(null,u[T].matches))[$]){for(v=++T;v<h&&!r.relative[u[v].type];v++);return Yt(1<T&&Gt(N),1<T&&Ct(u.slice(0,T-1).concat({value:" "===u[T-2].type?"*":""})).replace(fe,"$1"),p,T<v&&Qt(u.slice(T,v)),v<h&&Qt(u=u.slice(v)),v<h&&Ct(u))}N.push(p)}return Gt(N)}return Yn.prototype=r.filters=r.pseudos,r.setFilters=new Yn,s=B.tokenize=function(u,l){var p,v,h,b,w,T,C,D=at[u+" "];if(D)return l?0:D.slice(0);for(w=u,T=[],C=r.preFilter;w;){for(b in p&&!(v=Qe.exec(w))||(v&&(w=w.slice(v[0].length)||w),T.push(h=[])),p=!1,(v=bt.exec(w))&&(p=v.shift(),h.push({value:p,type:v[0].replace(fe," ")}),w=w.slice(p.length)),r.filter)!(v=wt[b].exec(w))||C[b]&&!(v=C[b](v))||(p=v.shift(),h.push({value:p,type:b,matches:v}),w=w.slice(p.length));if(!p)break}return l?w.length:w?B.error(u):at(u,T).slice(0)},f=B.compile=function(u,l){var p,v,h,b,w,T,C=[],D=[],N=xt[u+" "];if(!N){for(l||(l=s(u)),p=l.length;p--;)(N=Qt(l[p]))[$]?C.push(N):D.push(N);(N=xt(u,(v=D,b=0<(h=C).length,w=0<v.length,T=function(j,M,V,O,K){var Z,te,_,Ee=0,ee="0",Y=j&&[],be=[],kt=d,Qn=j||w&&r.find.TAG("*",K),Jn=ie+=null==kt?1:Math.random()||.1,Yr=Qn.length;for(K&&(d=M==y||M||K);ee!==Yr&&null!=(Z=Qn[ee]);ee++){if(w&&Z){for(te=0,M||Z.ownerDocument==y||(g(Z),V=!k);_=v[te++];)if(_(Z,M||y,V)){O.push(Z);break}K&&(ie=Jn)}b&&((Z=!_&&Z)&&Ee--,j&&Y.push(Z))}if(Ee+=ee,b&&ee!==Ee){for(te=0;_=h[te++];)_(Y,be,M,V);if(j){if(0<Ee)for(;ee--;)Y[ee]||be[ee]||(be[ee]=Ye.call(O));be=St(be)}X.apply(O,be),K&&!j&&0<be.length&&1<Ee+h.length&&B.uniqueSort(O)}return K&&(ie=Jn,d=kt),Y},b?ve(T):T))).selector=u}return N},c=B.select=function(u,l,p,v){var h,b,w,T,C,D="function"==typeof u&&u,N=!v&&s(u=D.selector||u);if(p=p||[],1===N.length){if(2<(b=N[0]=N[0].slice(0)).length&&"ID"===(w=b[0]).type&&9===l.nodeType&&k&&r.relative[b[1].type]){if(!(l=(r.find.ID(w.matches[0].replace(Ae,Ne),l)||[])[0]))return p;D&&(l=l.parentNode),u=u.slice(b.shift().value.length)}for(h=wt.needsContext.test(u)?0:b.length;h--&&!r.relative[T=(w=b[h]).type];)if((C=r.find[T])&&(v=C(w.matches[0].replace(Ae,Ne),Ut.test(b[0].type)&&Vt(l.parentNode)||l))){if(b.splice(h,1),!(u=v.length&&Ct(b)))return X.apply(p,v),p;break}}return(D||f(u,N))(v,l,!k,p,!l||Ut.test(u)&&Vt(l.parentNode)||l),p},n.sortStable=$.split("").sort(Pe).join("")===$,n.detectDuplicates=!!x,g(),n.sortDetached=xe(function(u){return 1&u.compareDocumentPosition(y.createElement("fieldset"))}),xe(function(u){return u.innerHTML="<a href='#'></a>","#"===u.firstChild.getAttribute("href")})||Xt("type|href|height|width",function(u,l,p){if(!p)return u.getAttribute(l,"type"===l.toLowerCase()?1:2)}),n.attributes&&xe(function(u){return u.innerHTML="<input/>",u.firstChild.setAttribute("value",""),""===u.firstChild.getAttribute("value")})||Xt("value",function(u,l,p){if(!p&&"input"===u.nodeName.toLowerCase())return u.defaultValue}),xe(function(u){return null==u.getAttribute("disabled")})||Xt(Ce,function(u,l,p){var v;if(!p)return!0===u[l]?l.toLowerCase():(v=u.getAttributeNode(l))&&v.specified?v.value:null}),B}(H);i.find=De,i.expr=De.selectors,i.expr[":"]=i.expr.pseudos,i.uniqueSort=i.unique=De.uniqueSort,i.text=De.getText,i.isXMLDoc=De.isXML,i.contains=De.contains,i.escapeSelector=De.escape;var We=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&i(e).is(n))break;r.push(e)}return r},rn=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},on=i.expr.match.needsContext;function de(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var an=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function jt(e,t,n){return P(t)?i.grep(e,function(r,o){return!!t.call(r,o,r)!==n}):t.nodeType?i.grep(e,function(r){return r===t!==n}):"string"!=typeof t?i.grep(e,function(r){return-1<ut.call(t,r)!==n}):i.filter(t,e,n)}i.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?i.find.matchesSelector(r,e)?[r]:[]:i.find.matches(e,i.grep(t,function(o){return 1===o.nodeType}))},i.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(i(e).filter(function(){for(t=0;t<r;t++)if(i.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)i.find(e,o[t],n);return 1<r?i.uniqueSort(n):n},filter:function(e){return this.pushStack(jt(this,e||[],!1))},not:function(e){return this.pushStack(jt(this,e||[],!0))},is:function(e){return!!jt(this,"string"==typeof e&&on.test(e)?i(e):e||[],!1).length}});var sn,er=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(i.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||sn,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:er.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(i.merge(this,i.parseHTML(r[1],(t=t instanceof i?t[0]:t)&&t.nodeType?t.ownerDocument||t:R,!0)),an.test(r[1])&&i.isPlainObject(t))for(r in t)P(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=R.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):P(e)?void 0!==n.ready?n.ready(e):e(i):i.makeArray(e,this)}).prototype=i.fn,sn=i(R);var tr=/^(?:parents|prev(?:Until|All))/,nr={children:!0,contents:!0,next:!0,prev:!0};function un(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}i.fn.extend({has:function(e){var t=i(e,this),n=t.length;return this.filter(function(){for(var r=0;r<n;r++)if(i.contains(this,t[r]))return!0})},closest:function(e,t){var n,r=0,o=this.length,a=[],s="string"!=typeof e&&i(e);if(!on.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&i.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(1<a.length?i.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?ut.call(i(e),this[0]):ut.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),i.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return We(e,"parentNode")},parentsUntil:function(e,t,n){return We(e,"parentNode",n)},next:function(e){return un(e,"nextSibling")},prev:function(e){return un(e,"previousSibling")},nextAll:function(e){return We(e,"nextSibling")},prevAll:function(e){return We(e,"previousSibling")},nextUntil:function(e,t,n){return We(e,"nextSibling",n)},prevUntil:function(e,t,n){return We(e,"previousSibling",n)},siblings:function(e){return rn((e.parentNode||{}).firstChild,e)},children:function(e){return rn(e.firstChild)},contents:function(e){return null!=e.contentDocument&&Jt(e.contentDocument)?e.contentDocument:(de(e,"template")&&(e=e.content||e),i.merge([],e.childNodes))}},function(e,t){i.fn[e]=function(n,r){var o=i.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=i.filter(r,o)),1<this.length&&(nr[e]||i.uniqueSort(o),tr.test(e)&&o.reverse()),this.pushStack(o)}});var we=/[^\x20\t\r\n\f]+/g;function Fe(e){return e}function ft(e){throw e}function ln(e,t,n,r){var o;try{e&&P(o=e.promise)?o.call(e).done(t).fail(n):e&&P(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(a){n.apply(void 0,[a])}}i.Callbacks=function(e){var n;e="string"==typeof e?(n={},i.each(e.match(we)||[],function(g,y){n[y]=!0}),n):i.extend({},e);var r,o,a,s,f=[],c=[],d=-1,m=function(){for(s=s||e.once,a=r=!0;c.length;d=-1)for(o=c.shift();++d<f.length;)!1===f[d].apply(o[0],o[1])&&e.stopOnFalse&&(d=f.length,o=!1);e.memory||(o=!1),r=!1,s&&(f=o?[]:"")},x={add:function(){return f&&(o&&!r&&(d=f.length-1,c.push(o)),function g(y){i.each(y,function(E,k){P(k)?e.unique&&x.has(k)||f.push(k):k&&k.length&&"string"!==Ie(k)&&g(k)})}(arguments),o&&!r&&m()),this},remove:function(){return i.each(arguments,function(g,y){for(var E;-1<(E=i.inArray(y,f,E));)f.splice(E,1),E<=d&&d--}),this},has:function(g){return g?-1<i.inArray(g,f):0<f.length},empty:function(){return f&&(f=[]),this},disable:function(){return s=c=[],f=o="",this},disabled:function(){return!f},lock:function(){return s=c=[],o||r||(f=o=""),this},locked:function(){return!!s},fireWith:function(g,y){return s||(y=[g,(y=y||[]).slice?y.slice():y],c.push(y),r||m()),this},fire:function(){return x.fireWith(this,arguments),this},fired:function(){return!!a}};return x},i.extend({Deferred:function(e){var t=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(a){return r.then(null,a)},pipe:function(){var a=arguments;return i.Deferred(function(s){i.each(t,function(f,c){var d=P(a[c[4]])&&a[c[4]];o[c[1]](function(){var m=d&&d.apply(this,arguments);m&&P(m.promise)?m.promise().progress(s.notify).done(s.resolve).fail(s.reject):s[c[0]+"With"](this,d?[m]:arguments)})}),a=null}).promise()},then:function(a,s,f){var c=0;function d(m,x,g,y){return function(){var E=this,k=arguments,S=function(){var Q,ae;if(!(m<c)){if((Q=g.apply(E,k))===x.promise())throw new TypeError("Thenable self-resolution");P(ae=Q&&("object"==typeof Q||"function"==typeof Q)&&Q.then)?y?ae.call(Q,d(c,x,Fe,y),d(c,x,ft,y)):(c++,ae.call(Q,d(c,x,Fe,y),d(c,x,ft,y),d(c,x,Fe,x.notifyWith))):(g!==Fe&&(E=void 0,k=[Q]),(y||x.resolveWith)(E,k))}},z=y?S:function(){try{S()}catch(Q){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(Q,z.stackTrace),c<=m+1&&(g!==ft&&(E=void 0,k=[Q]),x.rejectWith(E,k))}};m?z():(i.Deferred.getStackHook&&(z.stackTrace=i.Deferred.getStackHook()),H.setTimeout(z))}}return i.Deferred(function(m){t[0][3].add(d(0,m,P(f)?f:Fe,m.notifyWith)),t[1][3].add(d(0,m,P(a)?a:Fe)),t[2][3].add(d(0,m,P(s)?s:ft))}).promise()},promise:function(a){return null!=a?i.extend(a,r):r}},o={};return i.each(t,function(a,s){var f=s[2],c=s[5];r[s[1]]=f.add,c&&f.add(function(){n=c},t[3-a][2].disable,t[3-a][3].disable,t[0][2].lock,t[0][3].lock),f.add(s[3].fire),o[s[0]]=function(){return o[s[0]+"With"](this===o?void 0:this,arguments),this},o[s[0]+"With"]=f.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),o=je.call(arguments),a=i.Deferred(),s=function(f){return function(c){r[f]=this,o[f]=1<arguments.length?je.call(arguments):c,--t||a.resolveWith(r,o)}};if(t<=1&&(ln(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||P(o[n]&&o[n].then)))return a.then();for(;n--;)ln(o[n],s(n),a.reject);return a.promise()}});var rr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(e,t){H.console&&H.console.warn&&e&&rr.test(e.name)&&H.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},i.readyException=function(e){H.setTimeout(function(){throw e})};var Dt=i.Deferred();function pt(){R.removeEventListener("DOMContentLoaded",pt),H.removeEventListener("load",pt),i.ready()}i.fn.ready=function(e){return Dt.then(e).catch(function(t){i.readyException(t)}),this},i.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--i.readyWait:i.isReady)||(i.isReady=!0)!==e&&0<--i.readyWait||Dt.resolveWith(R,[i])}}),i.ready.then=Dt.then,"complete"===R.readyState||"loading"!==R.readyState&&!R.documentElement.doScroll?H.setTimeout(i.ready):(R.addEventListener("DOMContentLoaded",pt),H.addEventListener("load",pt));var Se=function(e,t,n,r,o,a,s){var f=0,c=e.length,d=null==n;if("object"===Ie(n))for(f in o=!0,n)Se(e,t,f,n[f],!0,a,s);else if(void 0!==r&&(o=!0,P(r)||(s=!0),d&&(s?(t.call(e,r),t=null):(d=t,t=function(m,x,g){return d.call(i(m),g)})),t))for(;f<c;f++)t(e[f],n,s?r:r.call(e[f],f,t(e[f],n)));return o?e:d?t.call(e):c?t(e[0],n):a},ir=/^-ms-/,or=/-([a-z])/g;function ar(e,t){return t.toUpperCase()}function Te(e){return e.replace(ir,"ms-").replace(or,ar)}var Ke=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Ze(){this.expando=i.expando+Ze.uid++}Ze.uid=1,Ze.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Ke(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[Te(t)]=n;else for(r in t)o[Te(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Te(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t)for((n=(t=Array.isArray(t)?t.map(Te):(t=Te(t))in r?[t]:t.match(we)||[]).length);n--;)delete r[t[n]];(void 0===t||i.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!i.isEmptyObject(t)}};var A=new Ze,ne=new Ze,sr=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ur=/[A-Z]/g;function cn(e,t,n){var r,o;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ur,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(o=n)||"false"!==o&&("null"===o?null:o===+o+""?+o:sr.test(o)?JSON.parse(o):o)}catch(a){}ne.set(e,t,n)}else n=void 0;return n}i.extend({hasData:function(e){return ne.hasData(e)||A.hasData(e)},data:function(e,t,n){return ne.access(e,t,n)},removeData:function(e,t){ne.remove(e,t)},_data:function(e,t,n){return A.access(e,t,n)},_removeData:function(e,t){A.remove(e,t)}}),i.fn.extend({data:function(e,t){var n,r,o,a=this[0],s=a&&a.attributes;if(void 0===e){if(this.length&&(o=ne.get(a),1===a.nodeType&&!A.get(a,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=Te(r.slice(5)),cn(a,r,o[r]));A.set(a,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){ne.set(this,e)}):Se(this,function(f){var c;if(a&&void 0===f)return void 0!==(c=ne.get(a,e))||void 0!==(c=cn(a,e))?c:void 0;this.each(function(){ne.set(this,e,f)})},null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){ne.remove(this,e)})}}),i.extend({queue:function(e,t,n){var r;if(e)return r=A.get(e,t=(t||"fx")+"queue"),n&&(!r||Array.isArray(n)?r=A.access(e,t,i.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){var n=i.queue(e,t=t||"fx"),r=n.length,o=n.shift(),a=i._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete a.stop,o.call(e,function(){i.dequeue(e,t)},a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return A.get(e,n)||A.access(e,n,{empty:i.Callbacks("once memory").add(function(){A.remove(e,[t+"queue",n])})})}}),i.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?i.queue(this[0],e):void 0===t?this:this.each(function(){var r=i.queue(this,e,t);i._queueHooks(this,e),"fx"===e&&"inprogress"!==r[0]&&i.dequeue(this,e)})},dequeue:function(e){return this.each(function(){i.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=i.Deferred(),a=this,s=this.length,f=function(){--r||o.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=A.get(a[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(f));return f(),o.promise(t)}});var fn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,et=new RegExp("^(?:([+-])=|)("+fn+")([a-z%]*)$","i"),ke=["Top","Right","Bottom","Left"],qe=R.documentElement,$e=function(e){return i.contains(e.ownerDocument,e)},lr={composed:!0};qe.getRootNode&&($e=function(e){return i.contains(e.ownerDocument,e)||e.getRootNode(lr)===e.ownerDocument});var dt=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&$e(e)&&"none"===i.css(e,"display")};function pn(e,t,n,r){var o,a,s=20,f=r?function(){return r.cur()}:function(){return i.css(e,t,"")},c=f(),d=n&&n[3]||(i.cssNumber[t]?"":"px"),m=e.nodeType&&(i.cssNumber[t]||"px"!==d&&+c)&&et.exec(i.css(e,t));if(m&&m[3]!==d){for(d=d||m[3],m=+(c/=2)||1;s--;)i.style(e,t,m+d),(1-a)*(1-(a=f()/c||.5))<=0&&(s=0),m/=a;i.style(e,t,(m*=2)+d),n=n||[]}return n&&(m=+m||+c||0,o=n[1]?m+(n[1]+1)*n[2]:+n[2],r&&(r.unit=d,r.start=m,r.end=o)),o}var dn={};function Be(e,t){for(var n,r,o,a,s,f,c,d=[],m=0,x=e.length;m<x;m++)(r=e[m]).style&&(n=r.style.display,t?("none"===n&&(d[m]=A.get(r,"display")||null,d[m]||(r.style.display="")),""===r.style.display&&dt(r)&&(d[m]=(c=s=a=void 0,s=(o=r).ownerDocument,(c=dn[f=o.nodeName])||(a=s.body.appendChild(s.createElement(f)),c=i.css(a,"display"),a.parentNode.removeChild(a),"none"===c&&(c="block"),dn[f]=c)))):"none"!==n&&(d[m]="none",A.set(r,"display",n)));for(m=0;m<x;m++)null!=d[m]&&(e[m].style.display=d[m]);return e}i.fn.extend({show:function(){return Be(this,!0)},hide:function(){return Be(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){dt(this)?i(this).show():i(this).hide()})}});var Le,ht,tt=/^(?:checkbox|radio)$/i,hn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,gn=/^$|^module$|\/(?:java|ecma)script/i;Le=R.createDocumentFragment().appendChild(R.createElement("div")),(ht=R.createElement("input")).setAttribute("type","radio"),ht.setAttribute("checked","checked"),ht.setAttribute("name","t"),Le.appendChild(ht),F.checkClone=Le.cloneNode(!0).cloneNode(!0).lastChild.checked,Le.innerHTML="<textarea>x</textarea>",F.noCloneChecked=!!Le.cloneNode(!0).lastChild.defaultValue,Le.innerHTML="<option></option>",F.option=!!Le.lastChild;var he={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function re(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&de(e,t)?i.merge([e],n):n}function qt(e,t){for(var n=0,r=e.length;n<r;n++)A.set(e[n],"globalEval",!t||A.get(t[n],"globalEval"))}he.tbody=he.tfoot=he.colgroup=he.caption=he.thead,he.th=he.td,F.option||(he.optgroup=he.option=[1,"<select multiple='multiple'>","</select>"]);var cr=/<|&#?\w+;/;function mn(e,t,n,r,o){for(var a,s,f,c,d,m,x=t.createDocumentFragment(),g=[],y=0,E=e.length;y<E;y++)if((a=e[y])||0===a)if("object"===Ie(a))i.merge(g,a.nodeType?[a]:a);else if(cr.test(a)){for(s=s||x.appendChild(t.createElement("div")),f=(hn.exec(a)||["",""])[1].toLowerCase(),s.innerHTML=(c=he[f]||he._default)[1]+i.htmlPrefilter(a)+c[2],m=c[0];m--;)s=s.lastChild;i.merge(g,s.childNodes),(s=x.firstChild).textContent=""}else g.push(t.createTextNode(a));for(x.textContent="",y=0;a=g[y++];)if(r&&-1<i.inArray(a,r))o&&o.push(a);else if(d=$e(a),s=re(x.appendChild(a),"script"),d&&qt(s),n)for(m=0;a=s[m++];)gn.test(a.type||"")&&n.push(a);return x}var yn=/^([^.]*)(?:\.(.+)|)/;function _e(){return!0}function ze(){return!1}function fr(e,t){return e===function(){try{return R.activeElement}catch(n){}}()==("focus"===t)}function Lt(e,t,n,r,o,a){var s,f;if("object"==typeof t){for(f in"string"!=typeof n&&(r=r||n,n=void 0),t)Lt(e,f,n,r,t[f],a);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=ze;else if(!o)return e;return 1===a&&(s=o,(o=function(c){return i().off(c),s.apply(this,arguments)}).guid=s.guid||(s.guid=i.guid++)),e.each(function(){i.event.add(this,t,o,r,n)})}function gt(e,t,n){n?(A.set(e,t,!1),i.event.add(e,t,{namespace:!1,handler:function(r){var o,a,s=A.get(this,t);if(1&r.isTrigger&&this[t]){if(s.length)(i.event.special[t]||{}).delegateType&&r.stopPropagation();else if(s=je.call(arguments),A.set(this,t,s),o=n(this,t),this[t](),s!==(a=A.get(this,t))||o?A.set(this,t,!1):a={},s!==a)return r.stopImmediatePropagation(),r.preventDefault(),a&&a.value}else s.length&&(A.set(this,t,{value:i.event.trigger(i.extend(s[0],i.Event.prototype),s.slice(1),this)}),r.stopImmediatePropagation())}})):void 0===A.get(e,t)&&i.event.add(e,t,_e)}i.event={global:{},add:function(e,t,n,r,o){var a,s,f,c,d,m,x,g,y,E,k,S=A.get(e);if(Ke(e))for(n.handler&&(n=(a=n).handler,o=a.selector),o&&i.find.matchesSelector(qe,o),n.guid||(n.guid=i.guid++),(c=S.events)||(c=S.events=Object.create(null)),(s=S.handle)||(s=S.handle=function(z){return void 0!==i&&i.event.triggered!==z.type?i.event.dispatch.apply(e,arguments):void 0}),d=(t=(t||"").match(we)||[""]).length;d--;)y=k=(f=yn.exec(t[d])||[])[1],E=(f[2]||"").split(".").sort(),y&&(x=i.event.special[y]||{},x=i.event.special[y=(o?x.delegateType:x.bindType)||y]||{},m=i.extend({type:y,origType:k,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&i.expr.match.needsContext.test(o),namespace:E.join(".")},a),(g=c[y])||((g=c[y]=[]).delegateCount=0,x.setup&&!1!==x.setup.call(e,r,E,s)||e.addEventListener&&e.addEventListener(y,s)),x.add&&(x.add.call(e,m),m.handler.guid||(m.handler.guid=n.guid)),o?g.splice(g.delegateCount++,0,m):g.push(m),i.event.global[y]=!0)},remove:function(e,t,n,r,o){var a,s,f,c,d,m,x,g,y,E,k,S=A.hasData(e)&&A.get(e);if(S&&(c=S.events)){for(d=(t=(t||"").match(we)||[""]).length;d--;)if(y=k=(f=yn.exec(t[d])||[])[1],E=(f[2]||"").split(".").sort(),y){for(x=i.event.special[y]||{},g=c[y=(r?x.delegateType:x.bindType)||y]||[],f=f[2]&&new RegExp("(^|\\.)"+E.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=a=g.length;a--;)m=g[a],!o&&k!==m.origType||n&&n.guid!==m.guid||f&&!f.test(m.namespace)||r&&r!==m.selector&&("**"!==r||!m.selector)||(g.splice(a,1),m.selector&&g.delegateCount--,x.remove&&x.remove.call(e,m));s&&!g.length&&(x.teardown&&!1!==x.teardown.call(e,E,S.handle)||i.removeEvent(e,y,S.handle),delete c[y])}else for(y in c)i.event.remove(e,y+t[d],n,r,!0);i.isEmptyObject(c)&&A.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,a,s,f=new Array(arguments.length),c=i.event.fix(e),d=(A.get(this,"events")||Object.create(null))[c.type]||[],m=i.event.special[c.type]||{};for(f[0]=c,t=1;t<arguments.length;t++)f[t]=arguments[t];if(c.delegateTarget=this,!m.preDispatch||!1!==m.preDispatch.call(this,c)){for(s=i.event.handlers.call(this,c,d),t=0;(o=s[t++])&&!c.isPropagationStopped();)for(c.currentTarget=o.elem,n=0;(a=o.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==a.namespace&&!c.rnamespace.test(a.namespace)||(c.handleObj=a,c.data=a.data,void 0!==(r=((i.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,f))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return m.postDispatch&&m.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,r,o,a,s,f=[],c=t.delegateCount,d=e.target;if(c&&d.nodeType&&!("click"===e.type&&1<=e.button))for(;d!==this;d=d.parentNode||this)if(1===d.nodeType&&("click"!==e.type||!0!==d.disabled)){for(a=[],s={},n=0;n<c;n++)void 0===s[o=(r=t[n]).selector+" "]&&(s[o]=r.needsContext?-1<i(o,this).index(d):i.find(o,this,null,[d]).length),s[o]&&a.push(r);a.length&&f.push({elem:d,handlers:a})}return d=this,c<t.length&&f.push({elem:d,handlers:t.slice(c)}),f},addProp:function(e,t){Object.defineProperty(i.Event.prototype,e,{enumerable:!0,configurable:!0,get:P(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(n){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:n})}})},fix:function(e){return e[i.expando]?e:new i.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return tt.test(t.type)&&t.click&&de(t,"input")&>(t,"click",_e),!1},trigger:function(e){var t=this||e;return tt.test(t.type)&&t.click&&de(t,"input")&>(t,"click"),!0},_default:function(e){var t=e.target;return tt.test(t.type)&&t.click&&de(t,"input")&&A.get(t,"click")||de(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},i.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},i.Event=function(e,t){if(!(this instanceof i.Event))return new i.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?_e:ze,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&i.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[i.expando]=!0},i.Event.prototype={constructor:i.Event,isDefaultPrevented:ze,isPropagationStopped:ze,isImmediatePropagationStopped:ze,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=_e,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=_e,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=_e,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},i.event.addProp),i.each({focus:"focusin",blur:"focusout"},function(e,t){i.event.special[e]={setup:function(){return gt(this,e,fr),!1},trigger:function(){return gt(this,e),!0},_default:function(n){return A.get(n.target,e)},delegateType:t}}),i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){i.event.special[e]={delegateType:t,bindType:t,handle:function(n){var r,o=n.relatedTarget,a=n.handleObj;return o&&(o===this||i.contains(this,o))||(n.type=a.origType,r=a.handler.apply(this,arguments),n.type=t),r}}}),i.fn.extend({on:function(e,t,n,r){return Lt(this,e,t,n,r)},one:function(e,t,n,r){return Lt(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,i(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ze),this.each(function(){i.event.remove(this,e,n,t)})}});var pr=/<script|<style|<link/i,dr=/checked\s*(?:[^=]|=\s*.checked.)/i,hr=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function vn(e,t){return de(e,"table")&&de(11!==t.nodeType?t:t.firstChild,"tr")&&i(e).children("tbody")[0]||e}function gr(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function mr(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function xn(e,t){var n,r,o,a,s,f;if(1===t.nodeType){if(A.hasData(e)&&(f=A.get(e).events))for(o in A.remove(t,"handle events"),f)for(n=0,r=f[o].length;n<r;n++)i.event.add(t,o,f[o][n]);ne.hasData(e)&&(a=ne.access(e),s=i.extend({},a),ne.set(t,s))}}function Ue(e,t,n,r){t=Kt(t);var o,a,s,f,c,d,m=0,x=e.length,g=x-1,y=t[0],E=P(y);if(E||1<x&&"string"==typeof y&&!F.checkClone&&dr.test(y))return e.each(function(k){var S=e.eq(k);E&&(t[0]=y.call(this,k,S.html())),Ue(S,t,n,r)});if(x&&(a=(o=mn(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=a),a||r)){for(f=(s=i.map(re(o,"script"),gr)).length;m<x;m++)c=o,m!==g&&(c=i.clone(c,!0,!0),f&&i.merge(s,re(c,"script"))),n.call(e[m],c,m);if(f)for(d=s[s.length-1].ownerDocument,i.map(s,mr),m=0;m<f;m++)gn.test((c=s[m]).type||"")&&!A.access(c,"globalEval")&&i.contains(d,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?i._evalUrl&&!c.noModule&&i._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},d):tn(c.textContent.replace(hr,""),c,d))}return e}function bn(e,t,n){for(var r,o=t?i.filter(t,e):e,a=0;null!=(r=o[a]);a++)n||1!==r.nodeType||i.cleanData(re(r)),r.parentNode&&(n&&$e(r)&&qt(re(r,"script")),r.parentNode.removeChild(r));return e}i.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,a,s,f,c,d,m=e.cloneNode(!0),x=$e(e);if(!(F.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||i.isXMLDoc(e)))for(s=re(m),r=0,o=(a=re(e)).length;r<o;r++)f=a[r],"input"===(d=(c=s[r]).nodeName.toLowerCase())&&tt.test(f.type)?c.checked=f.checked:"input"!==d&&"textarea"!==d||(c.defaultValue=f.defaultValue);if(t)if(n)for(a=a||re(e),s=s||re(m),r=0,o=a.length;r<o;r++)xn(a[r],s[r]);else xn(e,m);return 0<(s=re(m,"script")).length&&qt(s,!x&&re(e,"script")),m},cleanData:function(e){for(var t,n,r,o=i.event.special,a=0;void 0!==(n=e[a]);a++)if(Ke(n)){if(t=n[A.expando]){if(t.events)for(r in t.events)o[r]?i.event.remove(n,r):i.removeEvent(n,r,t.handle);n[A.expando]=void 0}n[ne.expando]&&(n[ne.expando]=void 0)}}}),i.fn.extend({detach:function(e){return bn(this,e,!0)},remove:function(e){return bn(this,e)},text:function(e){return Se(this,function(t){return void 0===t?i.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,e,arguments.length)},append:function(){return Ue(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||vn(this,e).appendChild(e)})},prepend:function(){return Ue(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=vn(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ue(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ue(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(i.cleanData(re(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return i.clone(this,e,t)})},html:function(e){return Se(this,function(t){var n=this[0]||{},r=0,o=this.length;if(void 0===t&&1===n.nodeType)return n.innerHTML;if("string"==typeof t&&!pr.test(t)&&!he[(hn.exec(t)||["",""])[1].toLowerCase()]){t=i.htmlPrefilter(t);try{for(;r<o;r++)1===(n=this[r]||{}).nodeType&&(i.cleanData(re(n,!1)),n.innerHTML=t);n=0}catch(a){}}n&&this.empty().append(t)},null,e,arguments.length)},replaceWith:function(){var e=[];return Ue(this,arguments,function(t){var n=this.parentNode;i.inArray(this,e)<0&&(i.cleanData(re(this)),n&&n.replaceChild(t,this))},e)}}),i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){i.fn[e]=function(n){for(var r,o=[],a=i(n),s=a.length-1,f=0;f<=s;f++)r=f===s?this:this.clone(!0),i(a[f])[t](r),At.apply(o,r.get());return this.pushStack(o)}});var Ht=new RegExp("^("+fn+")(?!px)[a-z%]+$","i"),Ot=/^--/,mt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=H),t.getComputedStyle(e)},wn=function(e,t,n){var r,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=a[o];return r},yr=new RegExp(ke.join("|"),"i"),Tn="[\\x20\\t\\r\\n\\f]",vr=new RegExp("^"+Tn+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Tn+"+$","g");function nt(e,t,n){var r,o,a,s,f=Ot.test(t),c=e.style;return(n=n||mt(e))&&(s=n.getPropertyValue(t)||n[t],f&&(s=s.replace(vr,"$1")),""!==s||$e(e)||(s=i.style(e,t)),!F.pixelBoxStyles()&&Ht.test(s)&&yr.test(t)&&(r=c.width,o=c.minWidth,a=c.maxWidth,c.minWidth=c.maxWidth=c.width=s,s=n.width,c.width=r,c.minWidth=o,c.maxWidth=a)),void 0!==s?s+"":s}function Cn(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(d){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",qe.appendChild(c).appendChild(d);var m=H.getComputedStyle(d);n="1%"!==m.top,f=12===t(m.marginLeft),d.style.right="60%",a=36===t(m.right),r=36===t(m.width),d.style.position="absolute",o=12===t(d.offsetWidth/3),qe.removeChild(c),d=null}}function t(m){return Math.round(parseFloat(m))}var n,r,o,a,s,f,c=R.createElement("div"),d=R.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",F.clearCloneStyle="content-box"===d.style.backgroundClip,i.extend(F,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),f},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var m,x,g,y;return null==s&&(m=R.createElement("table"),x=R.createElement("tr"),g=R.createElement("div"),m.style.cssText="position:absolute;left:-11111px;border-collapse:separate",x.style.cssText="border:1px solid",x.style.height="1px",g.style.height="9px",g.style.display="block",qe.appendChild(m).appendChild(x).appendChild(g),y=H.getComputedStyle(x),s=parseInt(y.height,10)+parseInt(y.borderTopWidth,10)+parseInt(y.borderBottomWidth,10)===x.offsetHeight,qe.removeChild(m)),s}}))}();var En=["Webkit","Moz","ms"],Sn=R.createElement("div").style,kn={};function Pt(e){return i.cssProps[e]||kn[e]||(e in Sn?e:kn[e]=function(n){for(var r=n[0].toUpperCase()+n.slice(1),o=En.length;o--;)if((n=En[o]+r)in Sn)return n}(e)||e)}var xr=/^(none|table(?!-c[ea]).+)/,br={position:"absolute",visibility:"hidden",display:"block"},An={letterSpacing:"0",fontWeight:"400"};function Nn(e,t,n){var r=et.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Rt(e,t,n,r,o,a){var s="width"===t?1:0,f=0,c=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(c+=i.css(e,n+ke[s],!0,o)),r?("content"===n&&(c-=i.css(e,"padding"+ke[s],!0,o)),"margin"!==n&&(c-=i.css(e,"border"+ke[s]+"Width",!0,o))):(c+=i.css(e,"padding"+ke[s],!0,o),"padding"!==n?c+=i.css(e,"border"+ke[s]+"Width",!0,o):f+=i.css(e,"border"+ke[s]+"Width",!0,o));return!r&&0<=a&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-c-f-.5))||0),c}function jn(e,t,n){var r=mt(e),o=(!F.boxSizingReliable()||n)&&"border-box"===i.css(e,"boxSizing",!1,r),a=o,s=nt(e,t,r),f="offset"+t[0].toUpperCase()+t.slice(1);if(Ht.test(s)){if(!n)return s;s="auto"}return(!F.boxSizingReliable()&&o||!F.reliableTrDimensions()&&de(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===i.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===i.css(e,"boxSizing",!1,r),(a=f in e)&&(s=e[f])),(s=parseFloat(s)||0)+Rt(e,t,n||(o?"border":"content"),a,r,s)+"px"}function me(e,t,n,r,o){return new me.prototype.init(e,t,n,r,o)}i.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=nt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,f=Te(t),c=Ot.test(t),d=e.style;if(c||(t=Pt(f)),s=i.cssHooks[t]||i.cssHooks[f],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(e,!1,r))?o:d[t];"string"==(a=typeof n)&&(o=et.exec(n))&&o[1]&&(n=pn(e,t,o),a="number"),null!=n&&n==n&&("number"!==a||c||(n+=o&&o[3]||(i.cssNumber[f]?"":"px")),F.clearCloneStyle||""!==n||0!==t.indexOf("background")||(d[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(c?d.setProperty(t,n):d[t]=n))}},css:function(e,t,n,r){var o,a,s,f=Te(t);return Ot.test(t)||(t=Pt(f)),(s=i.cssHooks[t]||i.cssHooks[f])&&"get"in s&&(o=s.get(e,!0,n)),void 0===o&&(o=nt(e,t,r)),"normal"===o&&t in An&&(o=An[t]),""===n||n?(a=parseFloat(o),!0===n||isFinite(a)?a||0:o):o}}),i.each(["height","width"],function(e,t){i.cssHooks[t]={get:function(n,r,o){if(r)return!xr.test(i.css(n,"display"))||n.getClientRects().length&&n.getBoundingClientRect().width?jn(n,t,o):wn(n,br,function(){return jn(n,t,o)})},set:function(n,r,o){var a,s=mt(n),f=!F.scrollboxSize()&&"absolute"===s.position,c=(f||o)&&"border-box"===i.css(n,"boxSizing",!1,s),d=o?Rt(n,t,o,c,s):0;return c&&f&&(d-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(s[t])-Rt(n,t,"border",!1,s)-.5)),d&&(a=et.exec(r))&&"px"!==(a[3]||"px")&&(n.style[t]=r,r=i.css(n,t)),Nn(0,r,d)}}}),i.cssHooks.marginLeft=Cn(F.reliableMarginLeft,function(e,t){if(t)return(parseFloat(nt(e,"marginLeft"))||e.getBoundingClientRect().left-wn(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),i.each({margin:"",padding:"",border:"Width"},function(e,t){i.cssHooks[e+t]={expand:function(n){for(var r=0,o={},a="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ke[r]+t]=a[r]||a[r-2]||a[0];return o}},"margin"!==e&&(i.cssHooks[e+t].set=Nn)}),i.fn.extend({css:function(e,t){return Se(this,function(n,r,o){var a,s,f={},c=0;if(Array.isArray(r)){for(a=mt(n),s=r.length;c<s;c++)f[r[c]]=i.css(n,r[c],!1,a);return f}return void 0!==o?i.style(n,r,o):i.css(n,r)},e,t,1<arguments.length)}}),((i.Tween=me).prototype={constructor:me,init:function(e,t,n,r,o,a){this.elem=e,this.prop=n,this.easing=o||i.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(i.cssNumber[n]?"":"px")},cur:function(){var e=me.propHooks[this.prop];return e&&e.get?e.get(this):me.propHooks._default.get(this)},run:function(e){var t,n=me.propHooks[this.prop];return this.pos=t=this.options.duration?i.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):me.propHooks._default.set(this),this}}).init.prototype=me.prototype,(me.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=i.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){i.fx.step[e.prop]?i.fx.step[e.prop](e):1!==e.elem.nodeType||!i.cssHooks[e.prop]&&null==e.elem.style[Pt(e.prop)]?e.elem[e.prop]=e.now:i.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=me.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},i.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},i.fx=me.prototype.init,i.fx.step={};var Xe,yt,Ve,Dn,wr=/^(?:toggle|show|hide)$/,Tr=/queueHooks$/;function Mt(){yt&&(!1===R.hidden&&H.requestAnimationFrame?H.requestAnimationFrame(Mt):H.setTimeout(Mt,i.fx.interval),i.fx.tick())}function qn(){return H.setTimeout(function(){Xe=void 0}),Xe=Date.now()}function vt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ke[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function Ln(e,t,n){for(var r,o=(ye.tweeners[t]||[]).concat(ye.tweeners["*"]),a=0,s=o.length;a<s;a++)if(r=o[a].call(n,t,e))return r}function ye(e,t,n){var r,o,a=0,s=ye.prefilters.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var x=Xe||qn(),g=Math.max(0,d.startTime+d.duration-x),y=1-(g/d.duration||0),E=0,k=d.tweens.length;E<k;E++)d.tweens[E].run(y);return f.notifyWith(e,[d,y,g]),y<1&&k?g:(k||f.notifyWith(e,[d,1,0]),f.resolveWith(e,[d]),!1)},d=f.promise({elem:e,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},n),originalProperties:t,originalOptions:n,startTime:Xe||qn(),duration:n.duration,tweens:[],createTween:function(x,g){var y=i.Tween(e,d.opts,x,g,d.opts.specialEasing[x]||d.opts.easing);return d.tweens.push(y),y},stop:function(x){var g=0,y=x?d.tweens.length:0;if(o)return this;for(o=!0;g<y;g++)d.tweens[g].run(1);return x?(f.notifyWith(e,[d,1,0]),f.resolveWith(e,[d,x])):f.rejectWith(e,[d,x]),this}}),m=d.props;for(function(x,g){var y,E,k,S,z;for(y in x)if(k=g[E=Te(y)],S=x[y],Array.isArray(S)&&(k=S[1],S=x[y]=S[0]),y!==E&&(x[E]=S,delete x[y]),(z=i.cssHooks[E])&&"expand"in z)for(y in S=z.expand(S),delete x[E],S)y in x||(x[y]=S[y],g[y]=k);else g[E]=k}(m,d.opts.specialEasing);a<s;a++)if(r=ye.prefilters[a].call(d,e,m,d.opts))return P(r.stop)&&(i._queueHooks(d.elem,d.opts.queue).stop=r.stop.bind(r)),r;return i.map(m,Ln,d),P(d.opts.start)&&d.opts.start.call(e,d),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always),i.fx.timer(i.extend(c,{elem:e,anim:d,queue:d.opts.queue})),d}i.Animation=i.extend(ye,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return pn(n.elem,e,et.exec(t),n),n}]},tweener:function(e,t){P(e)?(t=e,e=["*"]):e=e.match(we);for(var n,r=0,o=e.length;r<o;r++)(ye.tweeners[n=e[r]]=ye.tweeners[n]||[]).unshift(t)},prefilters:[function(e,t,n){var r,o,a,s,f,c,d,m,x="width"in t||"height"in t,g=this,y={},E=e.style,k=e.nodeType&&dt(e),S=A.get(e,"fxshow");for(r in n.queue||(null==(s=i._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,f=s.empty.fire,s.empty.fire=function(){s.unqueued||f()}),s.unqueued++,g.always(function(){g.always(function(){s.unqueued--,i.queue(e,"fx").length||s.empty.fire()})})),t)if(wr.test(o=t[r])){if(delete t[r],a=a||"toggle"===o,o===(k?"hide":"show")){if("show"!==o||!S||void 0===S[r])continue;k=!0}y[r]=S&&S[r]||i.style(e,r)}if((c=!i.isEmptyObject(t))||!i.isEmptyObject(y))for(r in x&&1===e.nodeType&&(n.overflow=[E.overflow,E.overflowX,E.overflowY],null==(d=S&&S.display)&&(d=A.get(e,"display")),"none"===(m=i.css(e,"display"))&&(d?m=d:(Be([e],!0),d=e.style.display||d,m=i.css(e,"display"),Be([e]))),("inline"===m||"inline-block"===m&&null!=d)&&"none"===i.css(e,"float")&&(c||(g.done(function(){E.display=d}),null==d&&(d="none"===(m=E.display)?"":m)),E.display="inline-block")),n.overflow&&(E.overflow="hidden",g.always(function(){E.overflow=n.overflow[0],E.overflowX=n.overflow[1],E.overflowY=n.overflow[2]})),c=!1,y)c||(S?"hidden"in S&&(k=S.hidden):S=A.access(e,"fxshow",{display:d}),a&&(S.hidden=!k),k&&Be([e],!0),g.done(function(){for(r in k||Be([e]),A.remove(e,"fxshow"),y)i.style(e,r,y[r])})),c=Ln(k?S[r]:0,r,g),r in S||(S[r]=c.start,k&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?ye.prefilters.unshift(e):ye.prefilters.push(e)}}),i.speed=function(e,t,n){var r=e&&"object"==typeof e?i.extend({},e):{complete:n||!n&&t||P(e)&&e,duration:e,easing:n&&t||t&&!P(t)&&t};return i.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration=r.duration in i.fx.speeds?i.fx.speeds[r.duration]:i.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){P(r.old)&&r.old.call(this),r.queue&&i.dequeue(this,r.queue)},r},i.fn.extend({fadeTo:function(e,t,n,r){return this.filter(dt).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=i.isEmptyObject(e),a=i.speed(t,n,r),s=function(){var f=ye(this,i.extend({},e),a);(o||A.get(this,"finish"))&&f.stop(!0)};return s.finish=s,o||!1===a.queue?this.each(s):this.queue(a.queue,s)},stop:function(e,t,n){var r=function(o){var a=o.stop;delete o.stop,a(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var o=!0,a=null!=e&&e+"queueHooks",s=i.timers,f=A.get(this);if(a)f[a]&&f[a].stop&&r(f[a]);else for(a in f)f[a]&&f[a].stop&&Tr.test(a)&&r(f[a]);for(a=s.length;a--;)s[a].elem!==this||null!=e&&s[a].queue!==e||(s[a].anim.stop(n),o=!1,s.splice(a,1));!o&&n||i.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=A.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],a=i.timers,s=r?r.length:0;for(n.finish=!0,i.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),i.each(["toggle","show","hide"],function(e,t){var n=i.fn[t];i.fn[t]=function(r,o,a){return null==r||"boolean"==typeof r?n.apply(this,arguments):this.animate(vt(t,!0),r,o,a)}}),i.each({slideDown:vt("show"),slideUp:vt("hide"),slideToggle:vt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){i.fn[e]=function(n,r,o){return this.animate(t,n,r,o)}}),i.timers=[],i.fx.tick=function(){var e,t=0,n=i.timers;for(Xe=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||i.fx.stop(),Xe=void 0},i.fx.timer=function(e){i.timers.push(e),i.fx.start()},i.fx.interval=13,i.fx.start=function(){yt||(yt=!0,Mt())},i.fx.stop=function(){yt=null},i.fx.speeds={slow:600,fast:200,_default:400},i.fn.delay=function(e,t){return e=i.fx&&i.fx.speeds[e]||e,this.queue(t=t||"fx",function(n,r){var o=H.setTimeout(n,e);r.stop=function(){H.clearTimeout(o)}})},Ve=R.createElement("input"),Dn=R.createElement("select").appendChild(R.createElement("option")),Ve.type="checkbox",F.checkOn=""!==Ve.value,F.optSelected=Dn.selected,(Ve=R.createElement("input")).value="t",Ve.type="radio",F.radioValue="t"===Ve.value;var Hn,rt=i.expr.attrHandle;i.fn.extend({attr:function(e,t){return Se(this,i.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){i.removeAttr(this,e)})}}),i.extend({attr:function(e,t,n){var r,o,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?i.prop(e,t,n):(1===a&&i.isXMLDoc(e)||(o=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?Hn:void 0)),void 0!==n?null===n?void i.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=i.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!F.radioValue&&"radio"===t&&de(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(we);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),Hn={set:function(e,t,n){return!1===t?i.removeAttr(e,n):e.setAttribute(n,n),n}},i.each(i.expr.match.bool.source.match(/\w+/g),function(e,t){var n=rt[t]||i.find.attr;rt[t]=function(r,o,a){var s,f,c=o.toLowerCase();return a||(f=rt[c],rt[c]=s,s=null!=n(r,o,a)?c:null,rt[c]=f),s}});var Cr=/^(?:input|select|textarea|button)$/i,Er=/^(?:a|area)$/i;function He(e){return(e.match(we)||[]).join(" ")}function Oe(e){return e.getAttribute&&e.getAttribute("class")||""}function It(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(we)||[]}i.fn.extend({prop:function(e,t){return Se(this,i.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[i.propFix[e]||e]})}}),i.extend({prop:function(e,t,n){var r,o,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&i.isXMLDoc(e)||(o=i.propHooks[t=i.propFix[t]||t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=i.find.attr(e,"tabindex");return t?parseInt(t,10):Cr.test(e.nodeName)||Er.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),F.optSelected||(i.propHooks.selected={get:function(e){return null},set:function(e){}}),i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this}),i.fn.extend({addClass:function(e){var t,n,r,o,a,s;return P(e)?this.each(function(f){i(this).addClass(e.call(this,f,Oe(this)))}):(t=It(e)).length?this.each(function(){if(r=Oe(this),n=1===this.nodeType&&" "+He(r)+" "){for(a=0;a<t.length;a++)n.indexOf(" "+(o=t[a])+" ")<0&&(n+=o+" ");s=He(n),r!==s&&this.setAttribute("class",s)}}):this},removeClass:function(e){var t,n,r,o,a,s;return P(e)?this.each(function(f){i(this).removeClass(e.call(this,f,Oe(this)))}):arguments.length?(t=It(e)).length?this.each(function(){if(r=Oe(this),n=1===this.nodeType&&" "+He(r)+" "){for(a=0;a<t.length;a++)for(o=t[a];-1<n.indexOf(" "+o+" ");)n=n.replace(" "+o+" "," ");s=He(n),r!==s&&this.setAttribute("class",s)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,a,s=typeof e,f="string"===s||Array.isArray(e);return P(e)?this.each(function(c){i(this).toggleClass(e.call(this,c,Oe(this),t),t)}):"boolean"==typeof t&&f?t?this.addClass(e):this.removeClass(e):(n=It(e),this.each(function(){if(f)for(a=i(this),o=0;o<n.length;o++)a.hasClass(r=n[o])?a.removeClass(r):a.addClass(r);else void 0!==e&&"boolean"!==s||((r=Oe(this))&&A.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":A.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+He(Oe(n))+" ").indexOf(t))return!0;return!1}});var Sr=/\r/g;i.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=P(e),this.each(function(a){var s;1===this.nodeType&&(null==(s=r?e.call(this,a,i(this).val()):e)?s="":"number"==typeof s?s+="":Array.isArray(s)&&(s=i.map(s,function(f){return null==f?"":f+""})),(t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,s,"value")||(this.value=s))})):o?(t=i.valHooks[o.type]||i.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(Sr,""):null==n?"":n:void 0}}),i.extend({valHooks:{option:{get:function(e){var t=i.find.attr(e,"value");return null!=t?t:He(i.text(e))}},select:{get:function(e){var t,n,r,o=e.options,a=e.selectedIndex,s="select-one"===e.type,f=s?null:[],c=s?a+1:o.length;for(r=a<0?c:s?a:0;r<c;r++)if(((n=o[r]).selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!de(n.parentNode,"optgroup"))){if(t=i(n).val(),s)return t;f.push(t)}return f},set:function(e,t){for(var n,r,o=e.options,a=i.makeArray(t),s=o.length;s--;)((r=o[s]).selected=-1<i.inArray(i.valHooks.option.get(r),a))&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<i.inArray(i(e).val(),t)}},F.checkOn||(i.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),F.focusin="onfocusin"in H;var On=/^(?:focusinfocus|focusoutblur)$/,Pn=function(e){e.stopPropagation()};i.extend(i.event,{trigger:function(e,t,n,r){var o,a,s,f,c,d,m,x,g=[n||R],y=ct.call(e,"type")?e.type:e,E=ct.call(e,"namespace")?e.namespace.split("."):[];if(a=x=s=n=n||R,3!==n.nodeType&&8!==n.nodeType&&!On.test(y+i.event.triggered)&&(-1<y.indexOf(".")&&(y=(E=y.split(".")).shift(),E.sort()),c=y.indexOf(":")<0&&"on"+y,(e=e[i.expando]?e:new i.Event(y,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=E.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+E.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:i.makeArray(t,[e]),m=i.event.special[y]||{},r||!m.trigger||!1!==m.trigger.apply(n,t))){if(!r&&!m.noBubble&&!Me(n)){for(On.test((f=m.delegateType||y)+y)||(a=a.parentNode);a;a=a.parentNode)g.push(a),s=a;s===(n.ownerDocument||R)&&g.push(s.defaultView||s.parentWindow||H)}for(o=0;(a=g[o++])&&!e.isPropagationStopped();)x=a,e.type=1<o?f:m.bindType||y,(d=(A.get(a,"events")||Object.create(null))[e.type]&&A.get(a,"handle"))&&d.apply(a,t),(d=c&&a[c])&&d.apply&&Ke(a)&&(e.result=d.apply(a,t),!1===e.result&&e.preventDefault());return e.type=y,r||e.isDefaultPrevented()||m._default&&!1!==m._default.apply(g.pop(),t)||!Ke(n)||c&&P(n[y])&&!Me(n)&&((s=n[c])&&(n[c]=null),i.event.triggered=y,e.isPropagationStopped()&&x.addEventListener(y,Pn),n[y](),e.isPropagationStopped()&&x.removeEventListener(y,Pn),i.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=i.extend(new i.Event,n,{type:e,isSimulated:!0});i.event.trigger(r,null,t)}}),i.fn.extend({trigger:function(e,t){return this.each(function(){i.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return i.event.trigger(e,t,n,!0)}}),F.focusin||i.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(r){i.event.simulate(t,r.target,i.event.fix(r))};i.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=A.access(r,t);o||r.addEventListener(e,n,!0),A.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=A.access(r,t)-1;o?A.access(r,t,o):(r.removeEventListener(e,n,!0),A.remove(r,t))}}});var it=H.location,Rn={guid:Date.now()},Wt=/\?/;i.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new H.DOMParser).parseFromString(e,"text/xml")}catch(r){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||i.error("Invalid XML: "+(n?i.map(n.childNodes,function(r){return r.textContent}).join("\n"):e)),t};var kr=/\[\]$/,Mn=/\r?\n/g,Ar=/^(?:submit|button|image|reset|file)$/i,Nr=/^(?:input|select|textarea|keygen)/i;function Ft(e,t,n,r){var o;if(Array.isArray(t))i.each(t,function(a,s){n||kr.test(e)?r(e,s):Ft(e+"["+("object"==typeof s&&null!=s?a:"")+"]",s,n,r)});else if(n||"object"!==Ie(t))r(e,t);else for(o in t)Ft(e+"["+o+"]",t[o],n,r)}i.param=function(e,t){var n,r=[],o=function(a,s){var f=P(s)?s():s;r[r.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==f?"":f)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!i.isPlainObject(e))i.each(e,function(){o(this.name,this.value)});else for(n in e)Ft(n,e[n],t,o);return r.join("&")},i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=i.prop(this,"elements");return e?i.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!i(this).is(":disabled")&&Nr.test(this.nodeName)&&!Ar.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=i(this).val();return null==n?null:Array.isArray(n)?i.map(n,function(r){return{name:t.name,value:r.replace(Mn,"\r\n")}}):{name:t.name,value:n.replace(Mn,"\r\n")}}).get()}});var jr=/%20/g,Dr=/#.*$/,qr=/([?&])_=[^&]*/,Lr=/^(.*?):[ \t]*([^\r\n]*)$/gm,Hr=/^(?:GET|HEAD)$/,Or=/^\/\//,In={},$t={},Wn="*/".concat("*"),Bt=R.createElement("a");function Fn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,a=t.toLowerCase().match(we)||[];if(P(n))for(;r=a[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function $n(e,t,n,r){var o={},a=e===$t;function s(f){var c;return o[f]=!0,i.each(e[f]||[],function(d,m){var x=m(t,n,r);return"string"!=typeof x||a||o[x]?a?!(c=x):void 0:(t.dataTypes.unshift(x),s(x),!1)}),c}return s(t.dataTypes[0])||!o["*"]&&s("*")}function _t(e,t){var n,r,o=i.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&i.extend(!0,e,r),e}Bt.href=it.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:it.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(it.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Wn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_t(_t(e,i.ajaxSettings),t):_t(i.ajaxSettings,e)},ajaxPrefilter:Fn(In),ajaxTransport:Fn($t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var n,r,o,a,s,f,c,d,m,x,g=i.ajaxSetup({},t=t||{}),y=g.context||g,E=g.context&&(y.nodeType||y.jquery)?i(y):i.event,k=i.Deferred(),S=i.Callbacks("once memory"),z=g.statusCode||{},Q={},ae={},$="canceled",q={readyState:0,getResponseHeader:function(I){var U;if(c){if(!a)for(a={};U=Lr.exec(o);)a[U[1].toLowerCase()+" "]=(a[U[1].toLowerCase()+" "]||[]).concat(U[2]);U=a[I.toLowerCase()+" "]}return null==U?null:U.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(I,U){return null==c&&(I=ae[I.toLowerCase()]=ae[I.toLowerCase()]||I,Q[I]=U),this},overrideMimeType:function(I){return null==c&&(g.mimeType=I),this},statusCode:function(I){var U;if(I)if(c)q.always(I[q.status]);else for(U in I)z[U]=[z[U],I[U]];return this},abort:function(I){var U=I||$;return n&&n.abort(U),ie(0,U),this}};if(k.promise(q),g.url=((e||g.url||it.href)+"").replace(Or,it.protocol+"//"),g.type=t.method||t.type||g.method||g.type,g.dataTypes=(g.dataType||"*").toLowerCase().match(we)||[""],null==g.crossDomain){f=R.createElement("a");try{f.href=g.url,f.href=f.href,g.crossDomain=Bt.protocol+"//"+Bt.host!=f.protocol+"//"+f.host}catch(I){g.crossDomain=!0}}if(g.data&&g.processData&&"string"!=typeof g.data&&(g.data=i.param(g.data,g.traditional)),$n(In,g,t,q),c)return q;for(m in(d=i.event&&g.global)&&0==i.active++&&i.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!Hr.test(g.type),r=g.url.replace(Dr,""),g.hasContent?g.data&&g.processData&&0===(g.contentType||"").indexOf("application/x-www-form-urlencoded")&&(g.data=g.data.replace(jr,"+")):(x=g.url.slice(r.length),g.data&&(g.processData||"string"==typeof g.data)&&(r+=(Wt.test(r)?"&":"?")+g.data,delete g.data),!1===g.cache&&(r=r.replace(qr,"$1"),x=(Wt.test(r)?"&":"?")+"_="+Rn.guid+++x),g.url=r+x),g.ifModified&&(i.lastModified[r]&&q.setRequestHeader("If-Modified-Since",i.lastModified[r]),i.etag[r]&&q.setRequestHeader("If-None-Match",i.etag[r])),(g.data&&g.hasContent&&!1!==g.contentType||t.contentType)&&q.setRequestHeader("Content-Type",g.contentType),q.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+Wn+"; q=0.01":""):g.accepts["*"]),g.headers)q.setRequestHeader(m,g.headers[m]);if(g.beforeSend&&(!1===g.beforeSend.call(y,q,g)||c))return q.abort();if($="abort",S.add(g.complete),q.done(g.success),q.fail(g.error),n=$n($t,g,t,q)){if(q.readyState=1,d&&E.trigger("ajaxSend",[q,g]),c)return q;g.async&&0<g.timeout&&(s=H.setTimeout(function(){q.abort("timeout")},g.timeout));try{c=!1,n.send(Q,ie)}catch(I){if(c)throw I;ie(-1,I)}}else ie(-1,"No Transport");function ie(I,U,at,xt){var se,Pe,Ge,oe,Ye,ge=U;c||(c=!0,s&&H.clearTimeout(s),n=void 0,o=xt||"",q.readyState=0<I?4:0,se=200<=I&&I<300||304===I,at&&(oe=function(X,ue,le){for(var Ce,L,W,J,ce=X.contents,G=X.dataTypes;"*"===G[0];)G.shift(),void 0===Ce&&(Ce=X.mimeType||ue.getResponseHeader("Content-Type"));if(Ce)for(L in ce)if(ce[L]&&ce[L].test(Ce)){G.unshift(L);break}if(G[0]in le)W=G[0];else{for(L in le){if(!G[0]||X.converters[L+" "+G[0]]){W=L;break}J||(J=L)}W=W||J}if(W)return W!==G[0]&&G.unshift(W),le[W]}(g,q,at)),!se&&-1<i.inArray("script",g.dataTypes)&&i.inArray("json",g.dataTypes)<0&&(g.converters["text script"]=function(){}),oe=function(X,ue,le,Ce){var L,W,J,ce,G,fe={},Qe=X.dataTypes.slice();if(Qe[1])for(J in X.converters)fe[J.toLowerCase()]=X.converters[J];for(W=Qe.shift();W;)if(X.responseFields[W]&&(le[X.responseFields[W]]=ue),!G&&Ce&&X.dataFilter&&(ue=X.dataFilter(ue,X.dataType)),G=W,W=Qe.shift())if("*"===W)W=G;else if("*"!==G&&G!==W){if(!(J=fe[G+" "+W]||fe["* "+W]))for(L in fe)if((ce=L.split(" "))[1]===W&&(J=fe[G+" "+ce[0]]||fe["* "+ce[0]])){!0===J?J=fe[L]:!0!==fe[L]&&(W=ce[0],Qe.unshift(ce[1]));break}if(!0!==J)if(J&&X.throws)ue=J(ue);else try{ue=J(ue)}catch(bt){return{state:"parsererror",error:J?bt:"No conversion from "+G+" to "+W}}}return{state:"success",data:ue}}(g,oe,q,se),se?(g.ifModified&&((Ye=q.getResponseHeader("Last-Modified"))&&(i.lastModified[r]=Ye),(Ye=q.getResponseHeader("etag"))&&(i.etag[r]=Ye)),204===I||"HEAD"===g.type?ge="nocontent":304===I?ge="notmodified":(ge=oe.state,Pe=oe.data,se=!(Ge=oe.error))):(Ge=ge,!I&&ge||(ge="error",I<0&&(I=0))),q.status=I,q.statusText=(U||ge)+"",se?k.resolveWith(y,[Pe,ge,q]):k.rejectWith(y,[q,ge,Ge]),q.statusCode(z),z=void 0,d&&E.trigger(se?"ajaxSuccess":"ajaxError",[q,g,se?Pe:Ge]),S.fireWith(y,[q,ge]),d&&(E.trigger("ajaxComplete",[q,g]),--i.active||i.event.trigger("ajaxStop")))}return q},getJSON:function(e,t,n){return i.get(e,t,n,"json")},getScript:function(e,t){return i.get(e,void 0,t,"script")}}),i.each(["get","post"],function(e,t){i[t]=function(n,r,o,a){return P(r)&&(a=a||o,o=r,r=void 0),i.ajax(i.extend({url:n,type:t,dataType:a,data:r,success:o},i.isPlainObject(n)&&n))}}),i.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),i._evalUrl=function(e,t,n){return i.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(r){i.globalEval(r,t,n)}})},i.fn.extend({wrapAll:function(e){var t;return this[0]&&(P(e)&&(e=e.call(this[0])),t=i(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(e){return P(e)?this.each(function(t){i(this).wrapInner(e.call(this,t))}):this.each(function(){var t=i(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=P(e);return this.each(function(n){i(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(e){return!i.expr.pseudos.visible(e)},i.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new H.XMLHttpRequest}catch(e){}};var Pr={0:200,1223:204},ot=i.ajaxSettings.xhr();F.cors=!!ot&&"withCredentials"in ot,F.ajax=ot=!!ot,i.ajaxTransport(function(e){var t,n;if(F.cors||ot&&!e.crossDomain)return{send:function(r,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(a,r[a]);t=function(f){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===f?s.abort():"error"===f?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Pr[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&H.setTimeout(function(){t&&n()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(f){if(t)throw f}},abort:function(){t&&t()}}}),i.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return i.globalEval(e),e}}}),i.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),i.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=i("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(a){t.remove(),n=null,a&&o("error"===a.type?404:200,a.type)}),R.head.appendChild(t[0])},abort:function(){n&&n()}}});var Bn,_n=[],zt=/(=)\?(?=&|$)|\?\?/;i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=_n.pop()||i.expando+"_"+Rn.guid++;return this[e]=!0,e}}),i.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,a,s=!1!==e.jsonp&&(zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&zt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=P(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(zt,"$1"+r):!1!==e.jsonp&&(e.url+=(Wt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||i.error(r+" was not called"),a[0]},e.dataTypes[0]="json",o=H[r],H[r]=function(){a=arguments},n.always(function(){void 0===o?i(H).removeProp(r):H[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,_n.push(r)),a&&P(o)&&o(a[0]),a=o=void 0}),"script"}),F.createHTMLDocument=((Bn=R.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Bn.childNodes.length),i.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(F.createHTMLDocument?((r=(t=R.implementation.createHTMLDocument("")).createElement("base")).href=R.location.href,t.head.appendChild(r)):t=R),a=!n&&[],(o=an.exec(e))?[t.createElement(o[1])]:(o=mn([e],t,a),a&&a.length&&i(a).remove(),i.merge([],o.childNodes)));var r,o,a},i.fn.load=function(e,t,n){var r,o,a,s=this,f=e.indexOf(" ");return-1<f&&(r=He(e.slice(f)),e=e.slice(0,f)),P(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<s.length&&i.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(c){a=arguments,s.html(r?i("<div>").append(i.parseHTML(c)).find(r):c)}).always(n&&function(c,d){s.each(function(){n.apply(this,a||[c.responseText,d,c])})}),this},i.expr.pseudos.animated=function(e){return i.grep(i.timers,function(t){return e===t.elem}).length},i.offset={setOffset:function(e,t,n){var r,o,a,s,f,c,d=i.css(e,"position"),m=i(e),x={};"static"===d&&(e.style.position="relative"),f=m.offset(),a=i.css(e,"top"),c=i.css(e,"left"),("absolute"===d||"fixed"===d)&&-1<(a+c).indexOf("auto")?(s=(r=m.position()).top,o=r.left):(s=parseFloat(a)||0,o=parseFloat(c)||0),P(t)&&(t=t.call(e,n,i.extend({},f))),null!=t.top&&(x.top=t.top-f.top+s),null!=t.left&&(x.left=t.left-f.left+o),"using"in t?t.using.call(e,x):m.css(x)}},i.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(o){i.offset.setOffset(this,e,o)});var t,n,r=this[0];return r?r.getClientRects().length?{top:(t=r.getBoundingClientRect()).top+(n=r.ownerDocument.defaultView).pageYOffset,left:t.left+n.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===i.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===i.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=i(e).offset()).top+=i.css(e,"borderTopWidth",!0),o.left+=i.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-i.css(r,"marginTop",!0),left:t.left-o.left-i.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===i.css(e,"position");)e=e.offsetParent;return e||qe})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;i.fn[e]=function(r){return Se(this,function(o,a,s){var f;if(Me(o)?f=o:9===o.nodeType&&(f=o.defaultView),void 0===s)return f?f[t]:o[a];f?f.scrollTo(n?f.pageXOffset:s,n?s:f.pageYOffset):o[a]=s},e,r,arguments.length)}}),i.each(["top","left"],function(e,t){i.cssHooks[t]=Cn(F.pixelPosition,function(n,r){if(r)return r=nt(n,t),Ht.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(e,t){i.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){i.fn[r]=function(o,a){var s=arguments.length&&(n||"boolean"!=typeof o),f=n||(!0===o||!0===a?"margin":"border");return Se(this,function(c,d,m){var x;return Me(c)?0===r.indexOf("outer")?c["inner"+e]:c.document.documentElement["client"+e]:9===c.nodeType?(x=c.documentElement,Math.max(c.body["scroll"+e],x["scroll"+e],c.body["offset"+e],x["offset"+e],x["client"+e])):void 0===m?i.css(c,d,f):i.style(c,d,m,f)},t,s?o:void 0,s)}})}),i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){i.fn[t]=function(n){return this.on(t,n)}}),i.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){i.fn[t]=function(n,r){return 0<arguments.length?this.on(t,null,n,r):this.trigger(t)}});var Rr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;i.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),P(e))return r=je.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(je.call(arguments)))}).guid=e.guid=e.guid||i.guid++,o},i.holdReady=function(e){e?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=de,i.isFunction=P,i.isWindow=Me,i.camelCase=Te,i.type=Ie,i.now=Date.now,i.isNumeric=function(e){var t=i.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},i.trim=function(e){return null==e?"":(e+"").replace(Rr,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return i});var Mr=H.jQuery,Ir=H.$;return i.noConflict=function(e){return H.$===i&&(H.$=Ir),e&&H.jQuery===i&&(H.jQuery=Mr),i},void 0===Je&&(H.jQuery=H.$=i),i});
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
(()=>{"use strict";var e,i={},d={};function a(e){var n=d[e];if(void 0!==n)return n.exports;var r=d[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=i,e=[],a.O=(n,r,s,l)=>{if(!r){var o=1/0;for(f=0;f<e.length;f++){for(var[r,s,l]=e[f],u=!0,t=0;t<r.length;t++)(!1&l||o>=l)&&Object.keys(a.O).every(p=>a.O[p](r[t]))?r.splice(t--,1):(u=!1,l<o&&(o=l));if(u){e.splice(f--,1);var c=s();void 0!==c&&(n=c)}}return n}l=l||0;for(var f=e.length;f>0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,s,l]},a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var r in n)a.o(n,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={666:0};a.O.j=s=>0===e[s];var n=(s,l)=>{var t,c,[f,o,u]=l,v=0;if(f.some(_=>0!==e[_])){for(t in o)a.o(o,t)&&(a.m[t]=o[t]);if(u)var h=u(a)}for(s&&s(l);v<f.length;v++)a.o(e,c=f[v])&&e[c]&&e[c][0](),e[c]=0;return a.O(h)},r=self.webpackChunklforms=self.webpackChunklforms||[];r.forEach(n.bind(null,0)),r.push=n.bind(null,r.push.bind(r))})()})();
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
(self.webpackChunklforms=self.webpackChunklforms||[]).push([[429],{7435:()=>{}},s=>{s(s.s=7435)}]);
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
var tne=Object.defineProperty,ZS=Object.getOwnPropertySymbols,nne=Object.prototype.hasOwnProperty,ine=Object.prototype.propertyIsEnumerable,XS=(Q,K,O)=>K in Q?tne(Q,K,{enumerable:!0,configurable:!0,writable:!0,value:O}):Q[K]=O,ep=(Q,K)=>{for(var O in K||(K={}))nne.call(K,O)&&XS(Q,O,K[O]);if(ZS)for(var O of ZS(K))ine.call(K,O)&&XS(Q,O,K[O]);return Q};(self.webpackChunklforms=self.webpackChunklforms||[]).push([[179],{7944:(Q,K,O)=>{"use strict";function L(n){return"function"==typeof n}let b=!1;const D={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else b&&console.log("RxJS: Back to a better error behavior. Thank you. <3");b=n},get useDeprecatedSynchronousErrorHandling(){return b}};function B(n){setTimeout(()=>{throw n},0)}const U={closed:!0,next(n){},error(n){if(D.useDeprecatedSynchronousErrorHandling)throw n;B(n)},complete(){}},m=Array.isArray||(n=>n&&"number"==typeof n.length);function d(n){return null!==n&&"object"==typeof n}const C=(()=>{function n(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return n.prototype=Object.create(Error.prototype),n})();class M{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:r,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof M)e.remove(this);else if(null!==e)for(let a=0;a<e.length;++a)e[a].remove(this);if(L(r)){i&&(this._unsubscribe=void 0);try{r.call(this)}catch(a){t=a instanceof C?y(a.errors):[a]}}if(m(o)){let a=-1,s=o.length;for(;++a<s;){const l=o[a];if(d(l))try{l.unsubscribe()}catch(u){t=t||[],u instanceof C?t=t.concat(y(u.errors)):t.push(u)}}}if(t)throw new C(t)}add(t){let e=t;if(!t)return M.EMPTY;switch(typeof t){case"function":e=new M(t);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof M)){const o=e;e=new M,e._subscriptions=[o]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:i}=e;if(null===i)e._parentOrParents=this;else if(i instanceof M){if(i===this)return e;e._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return e;i.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[e]:r.push(e),e}remove(t){const e=this._subscriptions;if(e){const i=e.indexOf(t);-1!==i&&e.splice(i,1)}}}var n;function y(n){return n.reduce((t,e)=>t.concat(e instanceof C?e.errors:e),[])}M.EMPTY=((n=new M).closed=!0,n);const _="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class I extends M{constructor(t,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=U;break;case 1:if(!t){this.destination=U;break}if("object"==typeof t){t instanceof I?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new F(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new F(this,t,e,i)}}[_](){return this}static create(t,e,i){const r=new I(t,e,i);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class F extends I{constructor(t,e,i,r){super(),this._parentSubscriber=t;let o,a=this;L(e)?o=e:e&&(o=e.next,i=e.error,r=e.complete,e!==U&&(a=Object.create(e),L(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=i,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;D.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=D;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=t,e.syncErrorThrown=!0):B(t),this.unsubscribe();else{if(this.unsubscribe(),i)throw t;B(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);D.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(i){if(this.unsubscribe(),D.useDeprecatedSynchronousErrorHandling)throw i;B(i)}}__tryOrSetError(t,e,i){if(!D.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(r){return D.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(B(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const j="function"==typeof Symbol&&Symbol.observable||"@@observable";function ee(n){return n}let te=(()=>{class n{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){const{operator:o}=this,a=function R(n,t,e){if(n){if(n instanceof I)return n;if(n[_])return n[_]()}return n||t||e?new I(n,t,e):new I(U)}(e,i,r);if(a.add(o?o.call(a,this.source):this.source||D.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),D.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(i){D.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function N(n){for(;n;){const{closed:t,destination:e,isStopped:i}=n;if(t||i)return!1;n=e&&e instanceof I?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=pe(i))((r,o)=>{let a;a=this.subscribe(s=>{try{e(s)}catch(l){o(l),a&&a.unsubscribe()}},o,r)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[j](){return this}pipe(...e){return 0===e.length?this:function ue(n){return 0===n.length?ee:1===n.length?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}(e)(this)}toPromise(e){return new(e=pe(e))((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return n.create=t=>new n(t),n})();function pe(n){if(n||(n=D.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const Me=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class ce extends M{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class ze extends I{constructor(t){super(t),this.destination=t}}let de=(()=>{class n extends te{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[_](){return new ze(this)}lift(e){const i=new Ne(this,this);return i.operator=e,i}next(e){if(this.closed)throw new Me;if(!this.isStopped){const{observers:i}=this,r=i.length,o=i.slice();for(let a=0;a<r;a++)o[a].next(e)}}error(e){if(this.closed)throw new Me;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:i}=this,r=i.length,o=i.slice();for(let a=0;a<r;a++)o[a].error(e);this.observers.length=0}complete(){if(this.closed)throw new Me;this.isStopped=!0;const{observers:e}=this,i=e.length,r=e.slice();for(let o=0;o<i;o++)r[o].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new Me;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new Me;return this.hasError?(e.error(this.thrownError),M.EMPTY):this.isStopped?(e.complete(),M.EMPTY):(this.observers.push(e),new ce(this,e))}asObservable(){const e=new te;return e.source=this,e}}return n.create=(t,e)=>new Ne(t,e),n})();class Ne extends de{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):M.EMPTY}}function ke(n){return n&&"function"==typeof n.schedule}function Ve(n,t){return function(i){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new at(n,t))}}class at{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new An(t,this.project,this.thisArg))}}class An extends I{constructor(t,e,i){super(t),this.project=e,this.count=0,this.thisArg=i||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const Mt=n=>t=>{for(let e=0,i=n.length;e<i&&!t.closed;e++)t.next(n[e]);t.complete()},sn=function Gn(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),xe=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function Oe(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const Qe=n=>{if(n&&"function"==typeof n[j])return(n=>t=>{const e=n[j]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)})(n);if(xe(n))return Mt(n);if(Oe(n))return(n=>t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,B),t))(n);if(n&&"function"==typeof n[sn])return(n=>t=>{const e=n[sn]();for(;;){let i;try{i=e.next()}catch(r){return t.error(r),t}if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof e.return&&t.add(()=>{e.return&&e.return()}),t})(n);{const e=`You provided ${d(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function Qt(n,t){return new te(e=>{const i=new M;let r=0;return i.add(t.schedule(function(){r!==n.length?(e.next(n[r++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function yi(n,t){return t?function ji(n,t){if(null!=n){if(function hn(n){return n&&"function"==typeof n[j]}(n))return function un(n,t){return new te(e=>{const i=new M;return i.add(t.schedule(()=>{const r=n[j]();i.add(r.subscribe({next(o){i.add(t.schedule(()=>e.next(o)))},error(o){i.add(t.schedule(()=>e.error(o)))},complete(){i.add(t.schedule(()=>e.complete()))}}))})),i})}(n,t);if(Oe(n))return function tn(n,t){return new te(e=>{const i=new M;return i.add(t.schedule(()=>n.then(r=>{i.add(t.schedule(()=>{e.next(r),i.add(t.schedule(()=>e.complete()))}))},r=>{i.add(t.schedule(()=>e.error(r)))}))),i})}(n,t);if(xe(n))return Qt(n,t);if(function Wr(n){return n&&"function"==typeof n[sn]}(n)||"string"==typeof n)return function St(n,t){if(!n)throw new Error("Iterable cannot be null");return new te(e=>{const i=new M;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=n[sn](),i.add(t.schedule(function(){if(e.closed)return;let o,a;try{const s=r.next();o=s.value,a=s.done}catch(s){return void e.error(s)}a?e.complete():(e.next(o),this.schedule())}))})),i})}(n,t)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,t):n instanceof te?n:new te(Qe(n))}class bi extends I{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Ar extends I{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function Cn(n,t){if(t.closed)return;if(n instanceof te)return n.subscribe(t);let e;try{e=Qe(n)(t)}catch(i){t.error(i)}return e}function Ln(n,t,e=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(Ln((r,o)=>yi(n(r,o)).pipe(Ve((a,s)=>t(r,a,o,s))),e)):("number"==typeof t&&(e=t),i=>i.lift(new uo(n,e)))}class uo{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new Lo(t,this.project,this.concurrent))}}class Lo extends Ar{constructor(t,e,i=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const i=this.index++;try{e=this.project(t,i)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e)}_innerSub(t){const e=new bi(this),i=this.destination;i.add(e);const r=Cn(t,e);r!==e&&i.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function cs(n=Number.POSITIVE_INFINITY){return Ln(ee,n)}function Fo(n,t){return t?Qt(n,t):new te(Mt(n))}function qn(...n){let t=Number.POSITIVE_INFINITY,e=null,i=n[n.length-1];return ke(i)?(e=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(t=n.pop())):"number"==typeof i&&(t=n.pop()),null===e&&1===n.length&&n[0]instanceof te?n[0]:cs(t)(Fo(n,e))}function pt(){return function(t){return t.lift(new ho(t))}}class ho{constructor(t){this.connectable=t}call(t,e){const{connectable:i}=this;i._refCount++;const r=new Ta(t,i),o=e.subscribe(r);return r.closed||(r.connection=i.connect()),o}}class Ta extends I{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,r=t._connection;this.connection=null,r&&(!i||r===i)&&r.unsubscribe()}}class tl extends te{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new M,t.add(this.source.subscribe(new Da(this.getSubject(),this))),t.closed&&(this._connection=null,t=M.EMPTY)),t}refCount(){return pt()(this)}}const us=(()=>{const n=tl.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class Da extends ze{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}class Zt{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:i}=this,r=this.subjectFactory(),o=i(r).subscribe(t);return o.add(e.subscribe(r)),o}}function gn(){return new de}function qe(){return n=>pt()(function Vt(n,t){return function(i){let r;if(r="function"==typeof n?n:function(){return n},"function"==typeof t)return i.lift(new Zt(r,t));const o=Object.create(i,us);return o.source=i,o.subjectFactory=r,o}}(gn)(n))}
|
|
9
9
|
/**
|
|
10
10
|
* @license Angular v14.2.12
|
|
@@ -2069,7 +2069,7 @@ function X2(n){return Array.isArray(n)?n:[n]}
|
|
|
2069
2069
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2070
2070
|
* found in the LICENSE file at https://angular.io/license
|
|
2071
2071
|
*/
|
|
2072
|
-
const Ks=void 0,Yq=["en",[["a","p"],["AM","PM"],Ks],[["AM","PM"],Ks,Ks],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ks,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ks,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ks,"{1} 'at' {0}",Ks],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Uq(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];var qq=O(137),jq=O(6908),th=O.n(jq),$q=O(1318),bm=O.n($q),Wq=O(5541),Cm=O.n(Wq);const nt={parseDateFormats:["M/D/YYYY","M/D/YY","M/D","M-D-YYYY","M-D-YY","M-D","YYYY","YYYY-M-D","YYYY/M/D",th().ISO_8601,"M/D/YYYY HH:mm","M/D/YY HH:mm","M/D HH:mm","M-D-YYYY HH:mm","M-D-YY HH:mm","M-D HH:mm"],intRegex:/^\s*(\+|-)?\d+\s*$/,decRegex:/^\s*[\+-]?([\+-]?\d+\.?\d*([eE]?[\+|-]?\d+)?|[\+-]?\d*\.?\d+[eE]?([\+|-]?\d+)?)\s*$/,areTwoAnswersSame:function(n,t,e){let i=["label","code","text","score","other"];if("object"!=typeof n)return!1;let o=!1;if(!n.system&&!t.system||n.system===(t.system?t.system:e.answerCodeSystem)){o=!0;let l=Object.keys(n);for(var a=0,s=l.length;a<s;a++)if(i.indexOf(l[a])>=0&&n[l[a]]!==t[l[a]]){o=!1;break}}return o},dateToDTStringISO:function(n){return n&&n instanceof Date&&!isNaN(n.getTime())?[(1e4+n.getFullYear()).toString().substr(1),(101+n.getMonth()).toString().substr(1),(100+n.getDate()).toString().substr(1)].join("-"):void 0},stringToDTDateISO:function(n){var t=new Date(n);return isNaN(t.getTime())?void 0:new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())},dateToDTMString:function(n){return"string"==typeof n&&(n=this.stringToDate(n,!0)),n.toISOString()},stringToDate:function(n,t){if(!n||"string"!=typeof n)return n;if("t"===n.trim())return new Date;let e=th()(n,this.parseDateFormats,!0);return t&&!e.isValid()&&(e=th()(n)),e.isValid()?e.toDate():null},isValidDate:function(n){return!!this.stringToDate(n)},formatDate:function(n,t){return th()(n).format(t)},getNextLetter:function(n){for(var e=[],i=n;i>0;){var r=i%26;e.push(r=0===r?25:r-1),i=Math.floor((i-1)/26)}for(var o="",a=e.length-1;a>=0;a--)o+="abcdefghijklmnopqrstuvqxyz".charAt(e[a]);return o},findObjectInArray:function(n,t,e,i,r){var o=r?[]:null;if(Array.isArray(n)){var a=0;i&&Math.abs(i)<n.length&&(a=i<0?n.length+i:i);for(var s=n.length,l=a;l<s;l++)if(n[l][t]===e){var u=n[l];if(!r){o=u;break}o.push(u)}}return o},_pruneObject:function(n,t,e){if("object"==typeof t)for(var i in t)if(i.match(n))delete t[i];else if(e&&i===e){var r=t[i];if(Array.isArray(r))for(var o=r.length,a=0;a<o;a++)this._pruneObject(n,r[a],e);else this._pruneObject(n,r,e)}},pruneNulls:function(n){if(Array.isArray(n))for(var t=n.length-1;t>=0;t--)null==n[t]?n.splice(t,1):"object"==typeof n[t]&&this.pruneNulls(n[t]);else n&&"object"==typeof n&&Object.keys(n).forEach(function(i){null==n[i]?delete n[i]:"object"==typeof n[i]&&this.pruneNulls(n[i])},this)},deepCopy:function(n){return bm()(n)},deepEqual:function(n,t){return Cm()(n,t)},shallowEqual:function(n,t){var e=!0;if(typeof n!=typeof t)e=!1;else if("object"!=typeof n)n!==t&&(e=!1);else{var i=Object.keys(n),r=Object.keys(t);if(i.length!==r.length)e=!1;else for(var o=0,a=i.length;o<a;o++)if(n[i[o]]!==t[i[o]]){e=!1;break}}return e},showWarning:function(n,t){t&&(n='The question "'+t.text+'" produced the following warning: '+n),console.log(n)},isInteger(n){return!!Number.isInteger(n)||"number"!=typeof n&&this.intRegex.test(n)},isDecimal(n){return"number"==typeof n||this.decRegex.test(n)}},Nw={messages:{comparatorInQuantity:{en:"This item cannot accept a quantity with a comparator"},nonMatchingQuantityUnit:{en:"An attempt was made to assign a quantity with a non-matching unit."},MultipleValuesForNonRepeat:{en:"An attempt was made to assign multiple values to a non-repeating item."}},getMsg:function(n){const t=this.messages[n];if(!t)throw new Error('Unknown message ID "'+n+'"');const e=t[this.language];if(!e)throw new Error('Unknown language code "'+this.language+'" for message ID "'+n+'"');return e},addMsg:function(n,t){n[t]=this.getMsg(t)},setLanguage:function(n){this.language=n}},zr={assignValueToItem:function(n,t,e){var i=!1;if(e=e||t&&t._type,t&&"Quantity"===e){n.value!==t.value&&(n.value=t.value,i=!0);var r={name:t.name};t.code&&(r.code=t.code,t.system&&(r.system=t.system)),nt.deepEqual(n.unit,r)||(n.unit=r,i=!0)}else nt.deepEqual(n.value,t)||(n.value=t,i=!0);return i},modelForOffListUnit:function(n){return n?{name:n}:void 0},setItemMessagesArray:function(n,t,e){let i,r;for(let o of t)if(o){i||(i={errors:{},warnings:{},info:{}},r=Object.keys(i));for(let a of r)o[a]&&Object.assign(i[a],o[a])}this.setItemMessages(n,i,e)},setItemMessages:function(n,t,e){t?(n.messages||(n.messages={}),n.messages[e]=t):n.messages&&(delete n.messages[e],Object.keys(n.messages).length||delete n.messages)},addItemWarning:function(n,t,e){e||(e="Other message source");let i=n.messages;i||(i=n.messages={});let r=i[e];r||(r=i[e]={});let o=r.warnings;o||(o=r.warnings={}),o[t]=Nw.getMsg(t),console.log(JSON.stringify(n.messages))},removeItemWarning:function(n,t,e){let i,r,o;e||(e="Other message source"),(i=n.messages)&&(r=i[e])&&(o=r.warnings)&&delete o[t]},hasAnswerList:function(n){return"CNE"===n.dataType||"CWE"===n.dataType||n.answers&&("ST"===n.dataType||"INT"===n.dataType||"DT"===n.dataType||"TM"===n.dataType)}};zr.errorMessages=Nw,zr.errorMessages.setLanguage("en");const Gq=new RegExp("http://hl7.org/fhir/(\\d+.\\d+)([.\\d]+)?/StructureDefinition/Questionnaire"),Kq=new RegExp("http://hl7.org/fhir/u./sdc/StructureDefinition/sdc-questionnaire\\|(\\d+.\\d+)(.\\d+)?"),Rw={STU3:1,R4:2,R5:3},Vw={addFormToPage:function(n,i,e){i="string"==typeof i?document.getElementById(i):i,"string"==typeof n&&(n=n.indexOf("{")>=0?JSON.parse(n):window[n]);var r=n.resourceType,o=e&&e.fhirVersion;if(r&&"Questionnaire"!==r)throw new Error("Only Questionnaire FHIR content is supported in addFormToPage.");this.pageFormID_||(this.pageFormID_=0),LForms.addedFormDefs||(LForms.addedFormDefs=[]),LForms.addedFormDefs.push(n);for(var a=e&&!0===e.prepopulate;i.firstChild;)i.removeChild(i.lastChild);const s=document.createElement("wc-lhc-form");return i.appendChild(s),new Promise(function(u,f){try{s.questionnaire=n,s.options=e,s.prepop=a,s.fhirVersion=o,s.addEventListener("onFormReady",function(p){u()}),s.addEventListener("onError",function(p){f(p.detail)})}catch(p){f(p)}})},removeFormsFromPage:function(t){for(t="string"==typeof t?document.getElementById(t):t;t.firstChild;)t.removeChild(t.lastChild)},getUserData:function(n,t,e,i){var r=this._getFormObjectInScope(n);return r?r.getUserData(t,e,i):null},getFormData:function(n,t,e){var i=this._getFormObjectInScope(n);return i?i.getFormData(t,e):null},getFormHL7Data:function(n){var t=this._getFormObjectInScope(n);return t?LForms.HL7.toHL7Segments(t):null},getFormFHIRData:function(n,t,e,i){return(!e||e instanceof HTMLElement||"string"==typeof e)&&(e=this._getFormObjectInScope(e)),this._convertLFormsToFHIRData(n,t,e,i)},checkValidity:function(n){var t=this._getFormObjectInScope(n);return t?t.checkValidity():null},_convertLFormsToFHIRData:function(n,t,e,i){i||(i={}),e instanceof LForms.LFormsData||(e=new LForms.LFormsData(e));var r=this.validateFHIRVersion(t),o=LForms.FHIR[r],a=null;if(e)switch(n){case"DiagnosticReport":var s=i?i.bundleType:void 0;a=o.DiagnosticReport.createDiagnosticReport(e,i.subject,null!=s,s);break;case"Questionnaire":a=o.SDC.convertLFormsToQuestionnaire(e,i.noExtensions);break;case"QuestionnaireResponse":a=i.extract?o.SDC.convertLFormsToQRAndExtracFHIRData(e,i.noExtensions,i.subject):o.SDC.convertLFormsToQuestionnaireResponse(e,i.noExtensions,i.subject)}return a},convertFHIRQuestionnaireToLForms:function(n,t){var e=null;return n&&(t=this._requireValidFHIRVersion(t,n),e=LForms.FHIR[t].SDC.convertQuestionnaireToLForms(n)),e},mergeFHIRDataIntoLForms:function(n,t,e){if("string"==typeof n&&(n=t,t=e,e=arguments[3]),n){e=this._requireValidFHIRVersion(e,n);var i=LForms.FHIR[e];switch(n.resourceType){case"DiagnosticReport":(t=i.DiagnosticReport.mergeDiagnosticReportToLForms(t,n)).hasSavedData=!0;break;case"Bundle":"searchset"===n.type&&n.entry.find(r=>"DiagnosticReport"===r.resource.resourceType)&&((t=i.DiagnosticReport.mergeDiagnosticReportToLForms(t,n)).hasSavedData=!0);break;case"QuestionnaireResponse":(t=i.SDC.mergeQuestionnaireResponseToLForms(t,n)).hasSavedData=!0}}return t},_requireValidFHIRVersion:function(n,t){if(n||(n=this.detectFHIRVersion(t)||this.guessFHIRVersion(t)),!n)throw new Error("Could not determine the FHIR version for this resource. Please make sure it is specified via meta.profile (see http://build.fhir.org/versioning.html#mp-version and https://www.hl7.org/fhir/references.html#canonical). Example 1: http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire (for Questionnaire version 4.0, a.k.a. R4).Example 2: http://hl7.org/fhir/3.0/StructureDefinition/Questionnaire (for Questionnaire version 3.0, a.k.a. STU3).Example 3: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire|2.7 (for SDC Questionnaire version 2.7).");return this.validateFHIRVersion(n)},setFHIRContext:function(n,t){if(!LForms.FHIR)throw new Error("LHC-Forms FHIR support files have not been loaded.See http://lhncbc.github.io/lforms/#fhirScripts");LForms.fhirContext={client:n,vars:t},LForms.fhirCapabilities={},delete LForms._serverFHIRReleaseID},_fhirVersionToRelease:function(n){let t=n,e=n.match(/^\d+(\.\d+)/);if(e){const i=parseFloat(e[0]);t=i>3&&i<=4?"R4":i>=1.1&&i<=3?"STU3":n}return t},getServerFHIRReleaseID:function(n){if(!LForms.fhirContext)throw new Error("setFHIRContext needs to be called before getFHIRReleaseID");if(!LForms.fhirContext.client)throw new Error("setFHIRContext was called, but no server connection was provided");if(LForms._serverFHIRReleaseID)setTimeout(function(){n(LForms._serverFHIRReleaseID)});else try{LForms.fhirContext.client.getFhirVersion().then(function(e){LForms._serverFHIRReleaseID=LForms.Util._fhirVersionToRelease(e),console.log("Server FHIR version is "+LForms._serverFHIRReleaseID+" ("+e+")"),n(LForms._serverFHIRReleaseID)},function(e){console.log("Error retrieving server's CompatibilityStatement:"),console.log(e),n()})}catch(e){throw setTimeout(function(){n()}),e}},validateFHIRVersion:function(n){if(!LForms.Util.FHIRSupport[n])throw new Error("Version "+n+" of FHIR is not supported.");if(!LForms.FHIR)throw new Error("The FHIR support files for LHC-Forms do not appear to have been loaded. Please consult the documentation at http://lhncbc.github.io/lforms/#fhirSupport.");if(!LForms.FHIR[n])throw new Error("Version "+n+" of FHIR is supported, but the supporting code was not loaded.");return n},detectFHIRVersion:function(n){let t=null;return n.meta&&n.meta.profile&&(t=this.detectFHIRVersionFromProfiles(n.meta.profile)),t},detectFHIRVersionFromProfiles(n){if(!n||!n.length)return null;let t=null;for(let i=0;i<n.length;i++){var e=n[i].match(Gq);let r;if(e?r=e[1]:(e=n[i].match(Kq))&&(r=e[1],"2.0"===r?r="3.0":parseFloat(r)>=2.1&&(r="4.0")),r){const o=this._fhirVersionToRelease(r);(!t||Rw[o]>Rw[t])&&(t=o)}}return t},guessFHIRVersion:function(n){var t=null;return"Questionnaire"==n.resourceType?t=this._testValues(n,"item",function(r){return!!(r.option||r.options||r.enableWhen&&"hasAnswer"in r.enableWhen)})?"STU3":"R4":"QuestionnaireResponse"==n.resourceType&&(t=n.parent||this._testValues(n,"item",function(o){return!!o.subject})?"STU3":"R4"),t},_testValues:function(n,t,e){var i=!1;if(n instanceof Array)for(var r=0,o=n.length;!i&&r<o;++r)i=this._testValues(n[r],t,e);else if("object"==typeof n)for(var a=Object.keys(n),s=0,l=a.length;!i&&s<l;++s){var u=a[s],f=n[u];if(u===t)if(f instanceof Array)for(var p=0,P=f.length;!i&&p<P;++p)i=e(f[p]);else i=e(f);i||(i=this._testValues(f,t,e))}return i},_getFormObjectInScope:function(n){var t,e;if("string"==typeof n&&(n=document.querySelector(n)),n)e=n.getElementsByTagName("wc-lhc-form");else{var i=document.getElementsByTagName("body");e=i&&i.length>0?(n=i[0]).getElementsByTagName("wc-lhc-form"):document.getElementsByTagName("wc-lhc-form")}for(let r of e){t=r.lhcFormData;break}return t},isItemValueEmpty:function(n){var t=!0;if(null!=n&&""!==n&&"function"!=typeof n)if("string"==typeof n||n instanceof String)t=""===n.trim();else if(Array.isArray(n)){for(var e=0;e<n.length;++e)if(!this.isItemValueEmpty(n[e])){t=!1;break}}else if("object"==typeof n){var i=Object.keys(n);if(i.length>0){e=0;for(var r=i.length;e<r;e++)if(!this.isItemValueEmpty(n[i[e]])){t=!1;break}}else n.constructor!==Object&&(t=!1)}else t=!1;return t},findItem:function(n,t,e){var i=null;if(n)for(var r=0;!i&&r<n.length;++r){var o=n[r];o[t]===e?i=o:Array.isArray(o.items)&&(i=this.findItem(o.items,t,e))}return i},initializeCodes:function(n){var t=n.question||n.questionCode,e=t?n.questionCode:n.code,r=t?n.question:n.name,o=this.getCodeSystem(t?n.questionCodeSystem:n.codeSystem);if(e){n.codeList||(n.codeList=[]);for(var a=n.codeList,s=!1,l=0;l<a.length;l++)if(e===a[l].code&&(!o&&!a[l].system||o===a[l].system)){s=!0;break}s||"LinkId"===o||(e={code:e,display:r},o&&(e.system=o),a.unshift(e))}else n.codeList&&n.codeList.length>0&&(t?(n.questionCode=n.codeList[0].code,n.questionCodeSystem=n.codeList[0].system):(n.code=n.codeList[0].code,n.codeSystem=n.codeList[0].system));return n},createLocalFHIRReference:function(n){var t={reference:n.resourceType+"/"+n.id};if("Patient"===n.resourceType&&n.name&&n.name.length>0){var e=n.name[0];e.text?t.display=e.text:(e.given&&e.given.length>0&&(t.display=e.given[0]),e.family&&(t.display=t.display?t.display+" "+e.family:e.family))}return t},getCodeSystem:function(n){return"LOINC"===n?"http://loinc.org":n},removeObjectsFromArray:function(n,t,e,i,r){var o=r?[]:null,a=r?[]:null;if(Array.isArray(n)){var s=0;i&&Math.abs(i)<n.length&&(s=i<0?n.length+i:i);for(var l=n.length,u=s;u<l;u++)if(n[u][t]===e){var f=n[u];if(!r){o=u,a=f;break}o.push(u),a.push(f)}if(Array.isArray(o))for(u=o.length-1;u>=0;u--)n.splice(o[u],1);else null!==o&&n.splice(o,1)}return a},baseFormDef:function(){return{lformsVersion:LForms.lformsVersion}},getAnswersResourceStatus:function(n){return(!n||n instanceof HTMLElement||"string"==typeof n)&&(n=this._getFormObjectInScope(n)),n.checkAnswersResourceStatus()},loadScript:function(n){return new Promise(function(t,e){var i=document.createElement("script");i.onreadystatechange=t,i.onload=t,i.onerror=e,i.src=n,document.body.appendChild(i)})},loadFHIRLibs:function(n,t){return Promise.all([this.loadScript(n),this.loadScript(t)])},_hasMultipleAnswers:function(n){return n.answerCardinality&&n.answerCardinality.max&&("*"===n.answerCardinality.max||parseInt(n.answerCardinality.max)>1)}};Vw._internalUtil=zr;const Er=ep(ep({},nt),Vw),Te_DATA_CONTROL_CONSTRUCTION_ARRAY="ARRAY",Te_DATA_CONTROL_CONSTRUCTION_OBJECT="OBJECT",Te_DATA_CONTROL_CONSTRUCTION_SIMPLE="SIMPLE",Te_DATA_CONTROL_SOURCE_INTERNAL="INTERNAL",Te_SKIP_LOGIC_ACTION_ENABLE="show",Te_SKIP_LOGIC_ACTION_DISABLE="hide",Te_SKIP_LOGIC_STATUS_ENABLED="target-enabled",Te_SKIP_LOGIC_STATUS_DISABLED="target-disabled",Te_CALCULATION_METHOD_TOTALSCORE="TOTALSCORE",Te_DATA_TYPE_INT="INT",Te_DATA_TYPE_REAL="REAL",Te_DATA_TYPE_ST="ST",Te_DATA_TYPE_TX="TX",Te_DATA_TYPE_DT="DT",Te_DATA_TYPE_DTM="DTM",Te_DATA_TYPE_TM="TM",Te_DATA_TYPE_CNE="CNE",Te_DATA_TYPE_CWE="CWE",Te_DATA_TYPE_SECTION="SECTION",Te_DATA_TYPE_TITLE="TITLE",Te_DATA_TYPE_QTY="QTY",Te_DATA_TYPE_BL="BL",nh={_timeout:1500,_restrictionKeys:["minExclusive","minInclusive","maxExclusive","maxInclusive","totalDigits","fractionDigits","length","minLength","maxLength","enumeration","whiteSpace","pattern"],_dataTypes:["BL","INT","REAL","ST","TX","BIN","DT","DTM","TM","CNE","CWE","RTO","QTY","NR","YEAR","MONTH","DAY","URL","EMAIL","PHONE",""],_errorMessages:{BL:"must be a boolean (true/false).",INT:"must be an integer number.",REAL:"must be a decimal number.",ST:"must be a string value.",TX:"must be a text value.",BIN:"must be a binary value.",DT:"must be a date value.",DTM:"must be a date and time value.",TM:"must be a time value.",CNE:"must be a value from the answer list.",CWE:"must be a value from the answer list or a user supplied value.",RTO:"must be a ratio value.",QTY:"must be a decimal number",NR:"must be two numeric values separated by a ^. One value can be omitted, but not the ^.",YEAR:"must be a numeric value of year.",MONTH:"must be a numeric value of month.",DAY:"must be a numeric value of day.",URL:"must be a valid URL.",EMAIL:"must be a valid email address.",PHONE:"must be a valid phone number."},checkRequired:function(n,t,e){var i=!0;return n&&(null==t||""===t||Array.isArray(t)&&0===t.length)&&(i=!1,e.push("requires a value")),i},checkDataType:function(n,t,e){var i=!0;if(null!=t&&""!==t)switch(n){case"BL":!0!==t&&!1!==t&&(i=!1);break;case"INT":i=nt.isInteger(t);break;case"REAL":case"QTY":i=nt.isDecimal(t);break;case"PHONE":i=/(((^\s*(\d\d){0,1}\s*(-?|\.)\s*(\(?\d\d\d\)?\s*(-?|\.?)){0,1}\s*\d\d\d\s*(-?|\.?)\s*\d{4}\b)|(^\s*\+\(?(\d{1,4}\)?(-?|\.?))(\s*\(?\d{2,}\)?\s*(-?|\.?)\s*\d{2,}\s*(-?|\.?)(\s*\d*\s*(-|\.?)){0,3})))(\s*(x|ext|X)\s*\d+){0,1}$)/.test(t);break;case"EMAIL":i=/^\s*((\w+)(\.\w+)*)@((\w+)(\.\w+)+)$/.test(t);break;case"URL":i=/^(https?|ftp):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?$/.test(t);break;case"TM":i=/^\s*(((\d|[0-1]\d|2[0-4]):([0-5]\d))|(\d|0\d|1[0-2]):([0-5]\d)\s*([aApP][mM]))\s*$/.test(t);break;case"YEAR":i=/^\d{1,4}$/.test(t);break;case"MONTH":i=/^(0?[1-9]|1[012])$/.test(t);break;case"DAY":i=/^(0?[1-9]|[12]\d|3[01])$/.test(t);break;case"NR":i=/^(\-?\d+(\.\d*)?)?\s*\^\s*(\-?\d+(\.\d*)?)?$/.test(t);break;case"DT":i=nt.isValidDate(t);break;default:i=!0}return Array.isArray(e)&&!i&&e.push(this._errorMessages[n]),i},checkRestrictions:function(n,t,e){var i=!0;if(null!=t&&""!==t)for(var r in n){var o=!0,a=n[r];switch(r){case"minExclusive":parseFloat(t)>parseFloat(a)?o=!0:(o=!1,e.push("must be a value greater than "+a+"."));break;case"minInclusive":parseFloat(t)>=parseFloat(a)?o=!0:(o=!1,e.push("must be a value greater than or equal to "+a+"."));break;case"maxExclusive":parseFloat(t)<parseFloat(a)?o=!0:(o=!1,e.push("must be a value less than "+a+"."));break;case"maxInclusive":parseFloat(t)<=parseFloat(a)?o=!0:(o=!1,e.push("must be a value less than or equal to "+a+"."));break;case"totalDigits":case"fractionDigits":break;case"length":t.length==parseInt(a)?o=!0:(o=!1,e.push("must have a total length of "+a+"."));break;case"maxLength":t.length<=parseInt(a)?o=!0:(o=!1,e.push("must have a total length less than or equal to "+a+"."));break;case"minLength":t.length>=parseInt(a)?o=!0:(o=!1,e.push("must have a total length greater than or equal to "+a+"."));break;case"pattern":var s=a.indexOf("/"),l=a.lastIndexOf("/"),u=a.slice(s+1,l),f=a.slice(l+1);new RegExp(u,f).test(t)?o=!0:(o=!1,e.push("must match a RegExp pattern of "+a+"."));break;default:o=!0}i=i&&o}return i}};let Qq={getValueInStandardUnit:function(n,t){return(n*this.units_[t]).toFixed(this.precision_)},getStandardUnit:function(){},precision_:4,units_:{kg:1,kgs:1,kilograms:1,pounds:.453592,lbs:.453592,cm:1,cms:1,centimeters:1,feet:30.48,ft:30.48,inches:2.54,"[in_i]":2.54,meters:100,"ft-inches":2.54}},Zq={calculations_:{precision_:2,TOTALSCORE:function(n){for(var t=0,e=0,i=n.length;e<i;e++)t+=parseFloat(n[e]);return t},BMI:function(n){var t="",e=parseFloat(n[0]),i=parseFloat(n[1]);return e&&""!=e&&i&&""!=i&&"0"!=i&&(t=(t=e/Math.pow(i/100,2)).toFixed(this.precision_)),t},BSA:function(n){var t="",e=parseFloat(n[0]),i=parseFloat(n[1]);return e&&""!=e&&i&&""!=i&&(t=(t=Math.sqrt(i*e/3600)).toFixed(this.precision_)),t}}};class Bw{constructor(t,e=null){if(this.code=null,this.codeList=null,this.identifier=null,this.name=null,this.templateOptions={},this.items=[],this.PATH_DELIMITER="/",this.hasSavedData=!1,this._invalidData=!1,this._repeatableItems={},this._opt={},this._actionLogs=[],this._activeItem=null,this._defaultTemplateOptions={showQuestionCode:!1,showCodingInstruction:!1,allowMultipleEmptyRepeatingItems:!1,allowHTMLInInstructions:!1,displayControl:{questionLayout:"vertical"},viewMode:"auto",defaultAnswerLayout:{answerLayout:{type:"COMBO_BOX",columns:"0"}},hideTreeLine:!1,hideIndentation:!1,hideRepetitionNumber:!1,displayScoreWithAnswerText:!0},this.lformsVersion="33.4.1",this._packageStore=null,this._variableExt=null,this._codePath="",this._idPath="",this._displayLevel=0,this._linkToDef=null,this._horizontalTableInfo={},e&&(this._packageStore=e),t&&t._initializeInternalData){for(var i=Object.getOwnPropertyNames(t),r=0;r<i.length;r++)i[r]&&!i[r].startsWith("_")&&"function"!=typeof t[i[r]]&&(this[i[r]]=t[i[r]]);t._variableExt&&(this._variableExt=t._variableExt)}else Object.assign(this,t),this.templateOptions=t.templateOptions||{},this.PATH_DELIMITER=t.PATH_DELIMITER||"/";LForms.FHIR&&t.fhirVersion&&this._initializeFormFHIRData(t),this._initializeInternalData()}setMessageLevel(t){this._showInfo="info"==t,this._showWarnings=this._showInfo||"warning"==t,this._showErrors=this._showWarnings||"error"==t}_getResourcesFromPackageStore(t,e){var i=null;if(this._packageStore&&e&&t)for(var r=e.split("|"),o=r[0],a=r[1],s=0,l=this._packageStore.length;s<l;s++){var u=this._packageStore[s];if(u.resourceType===t&&u.url===o&&(a&&u.version===a||!a)){i=JSON.parse(JSON.stringify(u));break}}return i}checkAnswersResourceStatus(){for(var t=[],e=0,i=this.itemList.length;e<i;e++){var r=this.itemList[e];r.answerValueSet&&!r.answers&&t.push("Resource not loaded: "+r.answerValueSet)}return t}addAsyncChangeListener(t){this._asyncChangeListeners||(this._asyncChangeListeners=[]),this._asyncChangeListeners.push(t)}_notifyAsyncChangeListeners(){if(this._asyncChangeListeners)for(var t=0,e=this._asyncChangeListeners.length;t<e;++t)this._asyncChangeListeners[t]()}_initializeFormFHIRData(t){this.fhirVersion=t.fhirVersion,this._fhir=LForms.FHIR[this.fhirVersion],this._expressionProcessor=new this._fhir.SDC.ExpressionProcessor(this),this._fhirVariables={},this.extension=t.extension?t.extension.slice(0):null,t.extension&&(this._fhir.SDC.buildExtensionMap(this),this._hasResponsiveExpr=this._hasResponsiveExpr||this._fhir.SDC.hasResponsiveExpression(this),this._hasInitialExpr=this._hasInitialExpr||this._fhir.SDC.hasInitialExpression(this)),this._fhir.SDC.processExtensions(this,"obj_title")}_getFHIRSupport(){var t=this._fhir;if(!t){var e=Object.keys(LForms.FHIR);if(e.length>0&&(t=LForms.FHIR[e[0]]),!t)throw new Error("The LHC-Forms FHIR support file was not loaded.");this._fhir=t}return t}loadFHIRResources(t){LForms.fhirContext||console.log("Warning: FHIR resources might not be loaded, because loadFHIRResources() was called before LForms.Util.setFHIRContext()");var e=this,i=this._fhir.SDC,r=i.loadLaunchContext(this);return r=r.concat(i.loadAnswerValueSets(this)),t&&r.push(i.requestLinkedObs(this)),Promise.all(r).then(function(){e._notifyAsyncChangeListeners()}).catch(function(a){throw a})}_buildURL(t,e){let i=t.map(r=>encodeURIComponent(r)).join("/");return e&&(i+="?"+Object.keys(e).map(r=>r+"="+encodeURIComponent(e[r])).join("&")),i}_loadAnswerValueSetsFromPackage(t){if(t.answerValueSet){var e=this._getResourcesFromPackageStore("ValueSet",t.answerValueSet);if(e&&this._fhir){var i=this._fhir.SDC.answersFromVS(e.fileContent);i&&(t.answers=i)}}}_checkFHIRVarName(t){if(this._fhir.reservedVarNames[t])throw'The "'+t+'" variable name is reserved; Questionnaires may not assign a value to it.'}_initializeInternalData(){this._setDefaultValues(),Er.initializeCodes(this),this._repeatableItems={},this._setTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this.itemList=[],this.itemHash={},this._updateItemReferenceList(this.items),this._standardizeScoreRule(this.itemList),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout(),this._setUpAnswerAndUnitAutoComp(this.itemList),this._setupSourceToTargetMap(),this._checkFormControls()}_resetInternalData(){this._updateTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this.itemList=[],this.itemHash={},this._updateItemReferenceList(this.items),this._standardizeScoreRule(this.itemList),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout(),this._setUpAnswerAndUnitAutoComp(this.itemList),this._setupSourceToTargetMap(),this._checkFormControls()}updateSkipLogicControlledItems(t,e){var i=!1;if(t._skipLogicTargets)for(var r=0,o=t._skipLogicTargets.length;r<o;r++){var a=t._skipLogicTargets[r];i=this._updateItemSkipLogicStatus(a,null)||i,i=this.updateSkipLogicControlledItems(a,e)||i}return e(t)||i}updateOnSourceItemChange(t){for(var e=this,i=!0;i;)i=this.updateSkipLogicControlledItems(t,function(r){var o=!1;if(r._formulaTargets)for(var a=0,s=r._formulaTargets.length;a<s;a++)o=e._processItemFormula(r._formulaTargets[a])||o;if(r._dataControlTargets)for(a=0,s=r._dataControlTargets.length;a<s;a++)o=e._processItemDataControl(r._dataControlTargets[a])||o;return o});if(this._updateTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout(),LForms.FHIR&&this._hasResponsiveExpr){let r=this;setTimeout(function(){r._expressionProcessor.runCalculations(!1).then(()=>{r._checkFormControls()})})}}_checkValidations(t){if(t._hasValidation){var e=[];nh.checkRequired(t._answerRequired,t.value,e),nh.checkDataType(t.dataType,t.value,e),nh.checkRestrictions(t.restrictions,t.value,e),t._validationErrors=e}}_checkFormControls(){for(var t=!0;t;){t=!1;for(var e=0,i=this.itemList.length;e<i;e++){var r=this.itemList[e];r.calculationMethod&&(t=this._processItemFormula(r)||t),r.dataControl&&(t=this._processItemDataControl(r)||t),r.skipLogic&&(t=this._updateItemSkipLogicStatus(r,null)||t),r.isHiddenInDef&&(r._isHiddenFromView||(t=!0),r._isHiddenFromView=!0,t=this._setSubItemsHidden(r)||t)}}this._updateTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout()}_setSubItemsHidden(t){var e=!1;if(t.items&&t.items.length>0)for(var i=0,r=t.items.length;i<r;i++){var o=t.items[i];o._isHiddenFromView||(e=!0),o._isHiddenFromView=!0,e=this._setSubItemsHidden(o)||e}return e}_setupSourceToTargetMap(){for(var t=0,e=this.itemList.length;t<e;t++){var i=this.itemList[t];if(i.calculationMethod&&i.calculationMethod.name)for(var r=this._getFormulaSourceItems(i,i.calculationMethod.value),o=0,a=r.length;o<a;o++)r[o]._formulaTargets?r[o]._formulaTargets.push(i):r[o]._formulaTargets=[i];if(i.dataControl&&Array.isArray(i.dataControl))for(o=0,a=i.dataControl.length;o<a;o++){var s=i.dataControl[o].source;if(s&&(!s.sourceType||s.sourceType===Te_DATA_CONTROL_SOURCE_INTERNAL)&&s.sourceLinkId){if(!(l=this._findItemByLinkId(i,s.sourceLinkId)))throw new Error("Data control for item '"+i.question+"' refers to source item '"+s.sourceLinkId+"' which was not found as a sibling, ancestor, or ancestor sibling.");l._dataControlTargets?l._dataControlTargets.push(i):l._dataControlTargets=[i]}}if(i.skipLogic)for(o=0,a=i.skipLogic.conditions.length;o<a;o++){var l;(l=this._getSkipLogicSourceItem(i,i.skipLogic.conditions[o].source))._skipLogicTargets?l._skipLogicTargets.push(i):l._skipLogicTargets=[i]}}}_updateItemSkipLogicStatus(t,e){var r,i=!1;if(e)i=this._setSkipLogicStatusValue(t,Te_SKIP_LOGIC_STATUS_DISABLED)||i,r=!0;else{if(t.skipLogic){var o=this._checkSkipLogic(t);t.skipLogic.action&&t.skipLogic.action!==Te_SKIP_LOGIC_ACTION_ENABLE?t.skipLogic.action===Te_SKIP_LOGIC_ACTION_DISABLE&&(i=this._setSkipLogicStatusValue(t,o?Te_SKIP_LOGIC_STATUS_DISABLED:Te_SKIP_LOGIC_STATUS_ENABLED)||i):i=this._setSkipLogicStatusValue(t,o?Te_SKIP_LOGIC_STATUS_ENABLED:Te_SKIP_LOGIC_STATUS_DISABLED)||i}else t._skipLogicStatus===Te_SKIP_LOGIC_STATUS_DISABLED&&(i=this._setSkipLogicStatusValue(t,Te_SKIP_LOGIC_STATUS_ENABLED)||i);r=t._skipLogicStatus===Te_SKIP_LOGIC_STATUS_DISABLED}if(t.items&&t.items.length>0)for(var s=0,l=t.items.length;s<l;s++)i=this._updateItemSkipLogicStatus(t.items[s],r)||i;return i}_presetSkipLogicStatus(t,e){if((t.skipLogic||e)&&(this._setSkipLogicStatusValue(t,Te_SKIP_LOGIC_STATUS_DISABLED,!0),t.items))for(var r=0,o=t.items.length;r<o;r++)this._presetSkipLogicStatus(t.items[r],!0)}_setSkipLogicStatusValue(t,e,i=!1){var r=!1;return t._skipLogicStatus!==e&&(t._skipLogicStatus&&(i||this._actionLogs.push(e===Te_SKIP_LOGIC_STATUS_DISABLED?"Hiding "+t._text:"Showing "+t._text)),t._preSkipLogicStatus=t._skipLogicStatus,t._skipLogicStatus=e,r=!0),r}_updateItemReferenceList(t){for(var e=0,i=t.length;e<i;e++){var r=t[e];this.itemList.push(r),this.itemHash[r._elementId]=r,r.items&&r.items.length>0&&this._updateItemReferenceList(r.items)}}_findItemsWithScore(){for(var t={},e=0,i=this.itemList.length;e<i;e++){var r=this.itemList[e];if(("CNE"===r.dataType||"CWE"===r.dataType)&&r.answers&&Array.isArray(r.answers)&&r.answers.length>0)for(var o=0,a=r.answers.length;o<a;o++){var s=r.answers[o];if(s&&s.hasOwnProperty("score")&&!isNaN(s.score)){t[r.linkId]=r;break}}}return Object.keys(t)}_standardizeScoreRule(t){for(var e=0,i=t.length;e<i;e++){var r=t[e];if(r.calculationMethod&&(r.calculationMethod.name===Te_CALCULATION_METHOD_TOTALSCORE||r.calculationMethod===Te_CALCULATION_METHOD_TOTALSCORE)){r.calculationMethod={name:Te_CALCULATION_METHOD_TOTALSCORE,value:[]};var o=this._findItemsWithScore();r.calculationMethod.value=o}}}_setDefaultValues(){this._codePath="",this._idPath="",this._displayLevel=0,this._activeItem=null,"LOINC"===this.codeSystem&&(this._linkToDef="http://s.details.loinc.org/LOINC/"+this.code+".html"),(!this.template||0==this.template.length||"form-view-a"===this.template||"form-view-b"===this.template)&&(this.template="table");var t=nt.deepCopy(this.templateOptions),e=nt.deepCopy(this._defaultTemplateOptions);this.setTemplateOptions(t,e)}_mergeTwoArrays(t,e){for(var i=0,r=e.length;i<r;i++)if(e[i])for(var o=Object.keys(e[i]),a=0,s=o.length;a<s;a++)(null!==e[i][o[a]]||void 0!==e[i][o[a]])&&(t[i][o[a]]=e[i][o[a]])}setTemplateOptions(t,e=null){if(t){e||(e=nt.deepCopy(this.templateOptions));let i=void 0!==t.displayScoreWithAnswerText&&t.displayScoreWithAnswerText!==e.displayScoreWithAnswerText;if(this.templateOptions=Object.assign({},e,t),i)for(let r=0,o=this.itemList.length;r<o;r++){let a=this.itemList[r];a._hasAnswerList&&a._hasScoreInAnswer&&this._updateAutocompOptions(a)}this.setMessageLevel(this.templateOptions.messageLevel)}}_lfItemValueFromDefaultAnswer(t){var e=t.defaultAnswer;if(null==e||""===e)return!1;!t._hasAnswerList&&(t.dataType===Te_DATA_TYPE_DTM||t.dataType===Te_DATA_TYPE_DT)&&"string"==typeof e&&((e=nt.stringToDate(e))||console.error(t.defaultAnswer+": Invalid date/datetime string as defaultAnswer for "+t.questionCode)),zr.assignValueToItem(t,e)}_setTreeNodes(t,e){for(var i=t.length,r=i-1,o=null,a=1,s=0;s<i;s++){var l=t[s];if(Er.initializeCodes(l),l._text=l.prefix?l.prefix+" "+l.question:l.question,l.header?l.dataType!==Te_DATA_TYPE_TITLE&&(l.dataType=Te_DATA_TYPE_SECTION):l.units&&!l.dataType?l.dataType=Te_DATA_TYPE_REAL:l.dataType||(l.dataType=Te_DATA_TYPE_ST),("string"==typeof l.answers||"number"==typeof l.answers)&&this.answerLists&&Array.isArray(this.answerLists[l.answers])&&(l.answers=this.answerLists[l.answers]),this._packageStore&&this._loadAnswerValueSetsFromPackage(l),l._hasAnswerList=zr.hasAnswerList(l),"SECTION"===l.dataType?l.displayControl?l.displayControl.questionLayout||(l.displayControl.questionLayout="vertical"):(l.displayControl={questionLayout:"vertical"},l.layout&&(l.displayControl.questionLayout=l.layout,delete l.layout)):l._hasAnswerList&&(l.displayControl?l.displayControl.answerLayout||(l.displayControl.answerLayout=nt.deepCopy(this.templateOptions.defaultAnswerLayout.answerLayout)):l.displayControl=nt.deepCopy(this.templateOptions.defaultAnswerLayout)),l.extension&&this._fhir&&(this._fhir.SDC.buildExtensionMap(l),this._hasResponsiveExpr=this._hasResponsiveExpr||this._fhir.SDC.hasResponsiveExpression(l),this._hasInitialExpr=this._hasInitialExpr||this._fhir.SDC.hasInitialExpression(l),l._hasListExpr=this._fhir.SDC.hasListExpression(l)),this._updateItemAttrs(l),l._hasAnswerList?this._resetItemValueWithAnswers(l):!this.hasSavedData&&null!=l.defaultAnswer&&null==l.value&&this._lfItemValueFromDefaultAnswer(l),l._questionRepeatable&&o&&o.linkId===l.linkId?a+=1:a=1,l._id=a,l._idPath=e._idPath+this.PATH_DELIMITER+l._id,l._elementId=l.linkId+l._idPath,l._displayLevel=e._displayLevel+1,l._lastSibling=s===r,l._firstSibling=0===s,this._setupInFieldPlaceholders(l),l.value&&!l._hasAnswerList&&(l.dataType===Te_DATA_TYPE_DT||l.dataType===Te_DATA_TYPE_DTM)&&(l.value=nt.stringToDate(l.value)),!l._hasAnswerList&&(l.dataType===Te_DATA_TYPE_INT||l.dataType===Te_DATA_TYPE_REAL||l.dataType===Te_DATA_TYPE_QTY)&&"number"==typeof l.value&&(l.value=l.value+""),(l._answerRequired||l.restrictions||l.dataType!==Te_DATA_TYPE_ST&&l.dataType!==Te_DATA_TYPE_TX&&l.dataType!==Te_DATA_TYPE_DTM&&l.dataType!==Te_DATA_TYPE_DT&&l.dataType!==Te_DATA_TYPE_TM&&!l._hasAnswerList)&&(l._hasValidation=!0),("LOINC"===l.questionCodeSystem||"LOINC"===this.codeSystem&&!l.questionCodeSystem)&&(l._linkToDef="http://s.details.loinc.org/LOINC/"+l.questionCode+".html"),l.items&&l.items.length>0&&this._setTreeNodes(l.items,l),l._questionRepeatable&&1===l._id){delete l._parentItem;var u=nt.deepCopy(l);this._removeUserDataAndRepeatingSubItems(u),this._repeatableItems[l.linkId]=u}l._parentItem=e,o=l}}_setupInFieldPlaceholders(t){if(!t._readOnly)if(t._entryFormat)t._placeholder=t._entryFormat;else if(t._hasAnswerList)t._placeholder=t.dataType===Te_DATA_TYPE_CWE?t.externallyDefined?t._multipleAnswers?"Search for or type values":"Search for or type a value":t._multipleAnswers?"Select one or more or type a value":"Select one or type a value":t.externallyDefined?t._multipleAnswers?"Search for values":"Search for value":t._multipleAnswers?"Select one or more":"Select one";else switch(t.dataType){case Te_DATA_TYPE_DT:t._placeholder="MM/DD/YYYY";break;case Te_DATA_TYPE_DTM:t._placeholder="MM/DD/YYYY HH:MM:SS";break;case Te_DATA_TYPE_TM:t._placeholder="HH:MM:SS";break;case Te_DATA_TYPE_CNE:t._placeholder=t.externallyDefined?t._multipleAnswers?"Search for values":"Search for value":t._multipleAnswers?"Select one or more":"Select one";break;case Te_DATA_TYPE_CWE:t._placeholder=t.externallyDefined?t._multipleAnswers?"Search for or type values":"Search for or type a value":t._multipleAnswers?"Select one or more or type a value":"Select one or type a value";break;case"SECTION":case"TITLE":case"":t._placeholder="";break;case Te_DATA_TYPE_INT:case Te_DATA_TYPE_REAL:case Te_DATA_TYPE_QTY:t._placeholder="Type a number";break;default:t._placeholder="Type a value"}}_removeUserDataAndRepeatingSubItems(t){if(t.value=null,t.unit=null,t.items&&t.items.length>0)for(var e=0;e<t.items.length;e++){var i=t.items[e];i._questionRepeatable&&1!=i._id?(t.items.splice(e,1),e--):this._removeUserDataAndRepeatingSubItems(i)}}_updateItemAttrs(t){if(t.questionCardinality||(t.questionCardinality={min:"1",max:"1"}),t.answerCardinality||(t.answerCardinality={min:"0",max:"1"}),!Array.isArray(t.answers)&&""!==t.answers&&this.answerLists&&(t.answers=this.answerLists[t.answers]),Array.isArray(t.answers)&&(t.dataType===Te_DATA_TYPE_CNE||t.dataType===Te_DATA_TYPE_CNE))for(var e=t.answerCodeSystem?Er.getCodeSystem(t.answerCodeSystem):null,i=0,r=t.answers.length;i<r;i++){var o=t.answers[i];o.system?o.system=Er.getCodeSystem(o.system):o.codeSystem?(o.system=Er.getCodeSystem(o.codeSystem),delete o.codeSystem):e&&(o.system=e)}t._questionRepeatable=t.questionCardinality.max&&("*"===t.questionCardinality.max||parseInt(t.questionCardinality.max)>1),t._answerRequired=t.answerCardinality.min&&t.answerCardinality.min&&parseInt(t.answerCardinality.min)>=1,t._multipleAnswers=Er._hasMultipleAnswers(t),t._readOnly=t.editable&&"0"===t.editable||!!t.calculationMethod,this._fhir&&(this._fhir.SDC.processExtensions(t,"obj_text"),this._fhir.SDC.processExtensions(t,"obj_prefix"))}_isHidden(t){return t._skipLogicStatus===Te_SKIP_LOGIC_STATUS_DISABLED||t._isHiddenFromView||!1===t._enableWhenExpVal}_updateTreeNodes(t,e){for(var i=t.length,r=i-1,o=!1,a=i-1;a>=0;a--){if((s=t[a])._id||(s._id=1),s._idPath=e._idPath+this.PATH_DELIMITER+s._id,s._elementId=s.linkId+s._idPath,s._displayLevel=e._displayLevel+1,s._parentItem=e,s._repeatingSectionList=null,this._updateItemAttrs(s),s._lastSibling=a===r,o||(this._isHidden(s)?(s._lastSibling=!1,r-=1):(s._lastSibling=!0,o=!0)),s._questionRepeatable&&1===s._id&&!this._repeatableItems[s.linkId]){delete s._parentItem;var l=nt.deepCopy(s);this._removeUserDataAndRepeatingSubItems(l),this._repeatableItems[s.linkId]=l}s._parentItem=e,s.items&&s.items.length>0&&this._updateTreeNodes(s.items,s)}var u=!1,f=0;for(a=0;a<i;a++){var s;(s=t[a])._firstSibling=a===f,u||(s._skipLogicStatus===Te_SKIP_LOGIC_STATUS_DISABLED?(s._firstSibling=!1,f+=1):(s._firstSibling=!0,u=!0))}}getFormData(t,e,i){for(var r=this.getUserData(!1,t,e,i),o=!1,a=0,s=this.itemList.length;a<s;a++)if(!Er.isItemValueEmpty(this.itemList[a].value)){o=!0;break}var u={lformsVersion:this.lformsVersion,PATH_DELIMITER:this.PATH_DELIMITER,code:this.code,codeList:this.codeList,identifier:this.identifier,codeSystem:this.codeSystem,name:this.name,type:this.type,template:this.template,copyrightNotice:this.copyrightNotice,items:r.itemsData,templateOptions:nt.deepCopy(this.templateOptions)};return this.extension&&this.extension.length>0&&(u.extension=this.extension),o&&(u.hasSavedData=!0),this.fhirVersion&&(u.fhirVersion=this.fhirVersion),u}getUserData(t,e,i,r){var o={};return this._invalidData=!1,this._checkSubTreeValues(this.items),o.itemsData=this._processDataInItems(this.items,t,e,i,r),nt.deepCopy(o)}checkValidity(){const t=[],e=this.itemList.length;for(let i=0;i<e;i++){const r=this.itemList[i];if(r._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED&&(this._checkValidations(r),void 0!==r._validationErrors&&r._validationErrors.length)){const o=r._validationErrors.map(a=>`${r.question} ${a}`);Array.prototype.push.apply(t,o)}}return t.length?t:null}_checkSubTreeValues(t){for(var e=0,i=t.length;e<i;e++)this._setSubTreeHasValue(t[e])}_setSubTreeHasValue(t){var e=!1;if(Er.isItemValueEmpty(t.value)||(e=!0),t.items&&t.items.length>0)for(var i=0,r=t.items.length;i<r;i++)this._setSubTreeHasValue(t.items[i])&&(e=!0);return t._itemOrSubtreeHasValue=e,e}_processDataInItems(t,e,i,r,o){for(var a=[],s=0,l=t.length;s<l;s++){var u=t[s],f={};if(!(r&&u._skipLogicStatus===Te_SKIP_LOGIC_STATUS_DISABLED||i&&!u._itemOrSubtreeHasValue&&u.dataType!==Te_DATA_TYPE_SECTION&&u.dataType!==Te_DATA_TYPE_TITLE)){if(e)f.questionCode=u.questionCode,u.dataType!==Te_DATA_TYPE_SECTION&&u.dataType!==Te_DATA_TYPE_TITLE&&(void 0!==u.value&&(f.value=this._getOriginalValue(u.value,u.dataType,u._hasAnswerList)),u.unit&&(f.unit=this._getOriginalValue(u.unit)));else for(var p in u.extension&&u.extension.length>0&&(f.extension=u.extension),u)"value"===p?f[p]=this._getOriginalValue(u[p],u.dataType,u._hasAnswerList):"unit"===p?f[p]=this._getOriginalValue(u[p]):!p.match(/^[_\$]/)&&"extension"!==p&&(f[p]=u[p]),o&&(f._id=u._id);u.items&&u.items.length>0&&(f.items=this._processDataInItems(u.items,e,i,r,o)),(!i||f.items&&0!==f.items.length||u._itemOrSubtreeHasValue)&&a.push(f)}}return a}_filterInternalData(t,e){var i={};if(e&&t._notOnList&&!t.code&&!t.system)i=t.text;else for(var r in t)r.match(/^[_\$]/)||(i[r]=t[r]);return i}getItemValues(t){var e;if(t._questionRepeatable){e=[];for(var r=t._parentItem.items,o=t.linkId,a=!1,s=0,l=r.length;s<l;++s){var u=r[s];if(u.linkId===o)Er.isItemValueEmpty(u.value)||e.push(u.value),a=!0;else if(a)break}}else{var i=t.value;e=Er.isItemValueEmpty(i)?[]:t._multipleAnswers?i:[i]}return e}_getObjectValue(t,e=!1){var i=null;if(t)if(Array.isArray(t)){for(var r=[],o=0,a=t.length;o<a;o++)r.push("object"==typeof t[o]?this._filterInternalData(t[o],e):t[o]);i=r}else"object"==typeof t&&(i=this._filterInternalData(t,e));return i}_getOriginalValue(t,e=null,i=!1){var r;if(null!=t)if(e)switch(e){case Te_DATA_TYPE_INT:i?r=t:Array.isArray(t)?r=t.map(o=>(nt.isInteger(o)||(this._invalidData=!0),parseInt(o))):(nt.isInteger(t)||(this._invalidData=!0),r=parseInt(t));break;case Te_DATA_TYPE_REAL:case Te_DATA_TYPE_QTY:nt.isDecimal(t)||(this._invalidData=!0),r=parseFloat(t);break;case Te_DATA_TYPE_DT:r=i?t:Array.isArray(t)?t.map(o=>nt.dateToDTStringISO(o)):nt.dateToDTStringISO(t);break;case Te_DATA_TYPE_DTM:r=nt.dateToDTMString(t);break;case Te_DATA_TYPE_CNE:r=this._getObjectValue(t);break;case Te_DATA_TYPE_CWE:r=this._getObjectValue(t,!0);break;case Te_DATA_TYPE_BL:r=!!t;break;default:r=t}else r=this._getObjectValue(t);return r}getRepeatingItemMaxId(t){var e=t._id;if(t._parentItem&&Array.isArray(t._parentItem.items))for(var i=0,r=t._parentItem.items.length;i<r;i++)t._parentItem.items[i].linkId===t.linkId&&t._parentItem.items[i]._id>e&&(e=t._parentItem.items[i]._id);return e}getRepeatingItemCount(t){var e=0;if(t._parentItem&&Array.isArray(t._parentItem.items))for(var i=0,r=t._parentItem.items.length;i<r;i++)t._parentItem.items[i].linkId===t.linkId&&e++;return e}_updateLastRepeatingItemsStatus(t){if(t&&0!==t.length){for(var e=t.length,i="",r=0;r<e;r++){var o=t[r];""!==i&&(t[r-1]._lastRepeatingItem=!(i===o.linkId||!t[r-1]._questionRepeatable)),i=o.linkId,o.items&&o.items.length>0&&this._updateLastRepeatingItemsStatus(o.items)}t[e-1]._lastRepeatingItem=!!t[e-1]._questionRepeatable,t[e-1].items&&t[e-1].items.length>0&&this._updateLastRepeatingItemsStatus(t[e-1].items)}}_getLastSubItem(t){var e=t;if(t&&Array.isArray(t.items)&&t.items.length>0){var i,r=t.items.length,o=!1;do{(i=t.items[--r])._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED&&(o=!0)}while(!o);o&&(e=this._getLastSubItem(i))}return e}_resetHorizontalTableInfo(){this._horizontalTableInfo={};for(var t=null,e=null,i=0,r=this.itemList.length;i<r;i++){var o=this.itemList[i];if(o.dataType===Te_DATA_TYPE_SECTION&&o.displayControl&&"horizontal"==o.displayControl.questionLayout){var a=[],s=[];o._inHorizontalTable=!0;var l=o.linkId+o._parentItem._idPath;if(e=o._elementId,null===t||t!==l){t=l,o._horizontalTableHeader=!0,o._horizontalTableId=t;for(var u=0,f=(a=o.items).length;u<f;u++){var p=a[u];s.push({item:p,id:"col"+p._elementId,displayControl:p.displayControl}),a[u]._inHorizontalTable=!0}this._horizontalTableInfo[t]={tableStartIndex:i,tableEndIndex:i+a.length,columnHeaders:s,tableRows:[{header:o,cells:a}],tableHeaders:[o]},this._horizontalTableInfo[t].lastHeaderId=e}else if(t===l){for(o._horizontalTableHeader=!1,u=0,f=(a=o.items).length;u<f;u++)a[u]._inHorizontalTable=!0;this._horizontalTableInfo[t].tableRows.push({header:o,cells:a}),this._horizontalTableInfo[t].tableHeaders.push(o),this._horizontalTableInfo[t].tableEndIndex=i+a.length,this._horizontalTableInfo[t].lastHeaderId=e}}}}_adjustLastSiblingListForHorizontalLayout(){var t=this._horizontalTableInfo;for(var e in t){var i=t[e].tableHeaders;i.length>1&&(i[0]._lastSibling=i[i.length-1]._lastSibling)}}addRepeatingItems(t){var e=this.getRepeatingItemMaxId(t),i=nt.deepCopy(this._repeatableItems[t.linkId]);if(i._id=e+1,t._parentItem&&Array.isArray(t._parentItem.items)){for(var r=0,o=0,a=t._parentItem.items.length;o<a;o++)if(t._parentItem.items[o].linkId===t.linkId&&t._parentItem.items[o]._id===t._id){r=o;break}t._parentItem.items.splice(r+1,0,i),i._parentItem=t._parentItem,this._presetSkipLogicStatus(i,!1)}this._resetInternalData();var s="Added "+this.itemDescription(t);return this._actionLogs.push(s),LForms.FHIR&&this._hasResponsiveExpr&&this._expressionProcessor.runCalculations(!1).then(()=>{}),i}_findIndexForNewRepetition(t){for(var e=0,i=!1,r=0,o=t._parentItem.items.length;r<o;r++)if(t._parentItem.items[r].linkId===t.linkId&&(i=!0),i&&t._parentItem.items[r].linkId!==t.linkId){e=r;break}return i&&r===o&&(e=r),e}appendRepeatingItems(t){var e=this.getRepeatingItemMaxId(t),i=nt.deepCopy(this._repeatableItems[t.linkId]);if(i._id=e+1,t._parentItem&&Array.isArray(t._parentItem.items)){var r=this._findIndexForNewRepetition(t);t._parentItem.items.splice(r,0,i),i._parentItem=t._parentItem,this._presetSkipLogicStatus(i,!1)}this._resetInternalData();var o="Added "+this.itemDescription(t);return this._actionLogs.push(o),i}areAnyRepeatingItemsEmpty(t){for(var e=!1,i=this._getRepeatingItems(t),r=0,o=i.length;r<o;r++)i[r]._showUnusedItemWarning=!1,this._isRepeatingItemEmpty(i[r])&&(e=!0);return e&&(t._showUnusedItemWarning=!0),e}_isRepeatingItemEmpty(t){var e=!0;if(t.dataType!==Te_DATA_TYPE_SECTION){if(null==t.value||""===t.value)return e;if(t._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED)if(Array.isArray(t.value)&&t.value.length>0){for(var i=!1,r=0,o=t.value.length;r<o&&(t.value[r].text&&(i=null!=t.value[r].text&&""!==t.value[r].text),!i);r++);e=!i}else if("object"==typeof t.value){const l=t.value;e=!(null!=l.data||l.url||l.text||l instanceof Date)}else null!=t.value&&""!==t.value&&(e=!1)}if(e&&t.items)for(var a=0,s=t.items.length;a<s&&(e=this._isRepeatingItemEmpty(t.items[a]));a++);return e}_getRepeatingItems(t){var e=[];if(t._questionRepeatable&&t._parentItem&&Array.isArray(t._parentItem.items))for(var i=t._parentItem.items,r=0,o=i.length;r<o;r++)i[r].linkId===t.linkId&&e.push(i[r]);return e}getPrevRepeatingItem(t){var e=this._getRepeatingItems(t),r=e.map(function(o){return o._elementId}).indexOf(t._elementId);return r>0?e[r-1]:null}getNextRepeatingItem(t){var e=this._getRepeatingItems(t),r=e.map(function(o){return o._elementId}).indexOf(t._elementId);return r<e.length-1?e[r+1]:null}getFirstRepeatingItem(t){return this._getRepeatingItems(t)[0]}getLastRepeatingItem(t){var e=this._getRepeatingItems(t);return e[e.length-1]}removeRepeatingItems(t){if(t._parentItem&&Array.isArray(t._parentItem.items))for(var e=0,i=t._parentItem.items.length;e<i;e++)if(t._parentItem.items[e].linkId==t.linkId&&t._parentItem.items[e]._id==t._id){t._parentItem.items.splice(e,1);break}this._resetInternalData();var r="Removed "+this.itemDescription(t);this._actionLogs.push(r),LForms.FHIR&&this._hasResponsiveExpr&&this._expressionProcessor.runCalculations(!1).then(()=>{})}setRepeatingItems(t,e,i,r){var a,o=!1;let s=!1,l=!1;if(nt.deepEqual(t._lastComputedMessages,i)||(t._lastComputedRepeatingMessages=i,s=!0),t._questionRepeatable){if(t._parentItem&&Array.isArray(t._parentItem.items)){a=this._getRepeatingItems(t);var p,P,f=e.length-a.length;if(o=0!==f,f<0&&(P=this._findIndexForNewRepetition(t)+f,t._parentItem.items.splice(P,-f),a.splice(f),0===e.length&&(f=1,p=0)),f>0){void 0===P&&(P=this._findIndexForNewRepetition(t),p=this.getRepeatingItemMaxId(t));for(var E=this._isHidden(t._parentItem),H=0;H<f;++H){var G=nt.deepCopy(this._repeatableItems[t.linkId]);G._id=p+1,t._parentItem.items.splice(P,0,G),G._parentItem=t._parentItem,a.push(G),this._presetSkipLogicStatus(G,E)}}H=0;for(var ne=e.length;H<ne;++H)l=zr.assignValueToItem(a[H],e[H])||l,s&&zr.setItemMessages(a[H],i[H],r)}}else t._multipleAnswers?t.value=e:(l=zr.assignValueToItem(t,e[0])||l,e.length>1?(zr.addItemWarning(t,"MultipleValuesForNonRepeat"),console.log(JSON.stringify(e))):zr.removeItemWarning(t,"MultipleValuesForNonRepeat")),s&&zr.setItemMessagesArray(t,i,r);o&&this._resetInternalData();var he="Set values for "+this.itemDescription(t);return this._actionLogs.push(he),l&&this.updateOnSourceItemChange(t),o?a[a.length-1]:void 0}setRepeatingItemMessages(t,e,i){if(!nt.deepEqual(t._lastComputedMessages,e))if(t._lastComputedRepeatingMessages=e,t._questionRepeatable){if(t._parentItem&&Array.isArray(t._parentItem.items)){const a=this._getRepeatingItems(t);for(var r=0,o=a.length;r<o;++r)zr.setItemMessages(a[r],e[r],i)}}else zr.setItemMessagesArray(t,e,i)}itemDescription(t){return t._inHorizontalTable?"row":t.dataType===Te_DATA_TYPE_SECTION?"section":"question"}_getScores(t,e){for(var i=[],r=this._getFormulaSourceItems(t,e.value),o=0,a=r.length;o<a;o++){var s=0;(t=r[o])&&t.value&&t.value.score&&t._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED&&(s=t.value.score),i.push(s)}return i}_getFormulaSourceItems(t,e){for(var i=[],r=0,o=e.length;r<o;r++){var s=this._findItemByLinkId(t,e[r]);i.push(s)}return i}_getValuesInStandardUnit(t,e){for(var i=[],r=this._getFormulaSourceItems(t,e.value),o=0,a=r.length;o<a;o++){var s=null;(t=r[o]).value&&t._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED&&(s=t.unit&&t.unit.name?Qq.getValueInStandardUnit(parseFloat(t.value),t.unit.name):parseFloat(t.value)),i.push(s)}return i}getFormulaResult(t){var e="",i=[];if(t.calculationMethod){var r=t.calculationMethod;i=r.name===Te_CALCULATION_METHOD_TOTALSCORE?this._getScores(t,r):this._getValuesInStandardUnit(t,r),e=Zq.calculations_[r.name](i)}return e}_processItemFormula(t){var e=!1;if(t.calculationMethod&&t.calculationMethod.name){let i=this.getFormulaResult(t);nt.deepEqual(i,t.value)||(t.value=i,e=!0)}return e}_processItemDataControl(t){var e=!1;return t.dataControl&&Array.isArray(t.dataControl)&&(e=this._updateDataByDataControl(t))&&(this._updateAutocompOptions(t),this._updateUnitAutocompOptions(t)),e}_constructObjectByDataFormat(t,e){var i={};if("object"==typeof t)for(var r=Object.keys(t),o=0,a=r.length;o<a;o++)i[r[o]]=this._getDataFromNestedAttributes(t[r[o]],e);return i}_constructArrayByDataFormat(t,e){var i=[],r=!1;if("object"==typeof t){for(var o=Object.keys(t),a={},s=o.length,l=-1,u=0;u<s;u++){var f=a[o[u]]=this._getDataFromNestedAttributes(t[o[u]],e);if(!Array.isArray(f)){r=!0;break}if(-1===l)l=f.length;else if(l!==f.length){r=!0;break}}if(!r)for(var p=0;p<l;p++){var P={};for(u=0;u<s;u++)P[o[u]]=a[o[u]][p];i.push(P)}}return i}_updateDataByDataControl(t){for(var e=!1,i=0,r=t.dataControl.length;i<r;i++){var o=t.dataControl[i].source,a=t.dataControl[i].onAttribute,s=t.dataControl[i].construction,l=t.dataControl[i].dataFormat;if(a||(a="value"),s||(s=Te_DATA_CONTROL_CONSTRUCTION_SIMPLE),l||(l="value"),o){var u=o.sourceType;if(u||(u=Te_DATA_CONTROL_SOURCE_INTERNAL),u===Te_DATA_CONTROL_SOURCE_INTERNAL&&o.sourceLinkId){var f=this._findItemByLinkId(t,o.sourceLinkId);if(f&&f._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED){let p;s===Te_DATA_CONTROL_CONSTRUCTION_ARRAY?p=this._constructArrayByDataFormat(l,f):s===Te_DATA_CONTROL_CONSTRUCTION_OBJECT?p=this._constructObjectByDataFormat(l,f):s===Te_DATA_CONTROL_CONSTRUCTION_SIMPLE&&(p=this._getDataFromNestedAttributes(l,f)),nt.deepEqual(t[a],p)||(t[a]=nt.deepCopy(p),e=!0)}}}}return e}_getDataFromNestedAttributes(t,e){for(var i=t.trim().split("."),r=e,o=i.length,a=0;a<o&&r;a++){var s=i[a];if(!s)break;var l=s.match(/^(.+)\[(\d+)\]$/);if(l){r=r[l[1]];var u=parseInt(l[2]);if(!Number.isInteger(u))break;r=r[u]}else r=r[s]}return a===o&&r?r:null}_setUpAnswerAndUnitAutoComp(t){for(var e=0,i=t.length;e<i;e++){var r=t[e];r._hasAnswerList&&this._updateAutocompOptions(r),this._updateUnitAutocompOptions(r)}}_setUnitDisplay(t){t._displayUnit=t.name?t.name:t.code?t.code:null}_updateUnitAutocompOptions(t){if(t.units&&!t._hasAnswerList){t.unit&&this._setUnitDisplay(t.unit),t._unitAutocompOptions=null;for(var r,e=[],i=t.units,o=0,a=i.length;o<a;o++){var s=nt.deepCopy(i[o]);this._setUnitDisplay(s),i[o].default&&(r=s),s._displayUnit&&e.push(s)}if((t.dataType===Te_DATA_TYPE_INT||t.dataType===Te_DATA_TYPE_REAL)&&(t.units&&t.units.length>1?(console.log('Form definition warning: Data types of INT or REAL may only have one unit. Question "'+t.question+'" has '+t.units.length+" units. For multiple units, use type QTY instead."),t.dataType=Te_DATA_TYPE_QTY):(t._unitReadonly=!0,t.unit||(t.unit=e[0]))),t.dataType===Te_DATA_TYPE_QTY){var l={listItems:e,matchListValue:t.units&&(!t._unitOpen||"optionsOrString"!=t._unitOpen)||!t.units&&"optionsOnly"==t._unitOpen,autoFill:!0,display:"_displayUnit"};void 0!==r?l.defaultValue=r:1===e.length&&(l.defaultValue=e[0]),nt.deepEqual(t._unitAutocompOptions,l)||(t._unitAutocompOptions=l)}}}_resetItemValueWithAnswers(t){var e=null,i=this.hasSavedData?t.value:t.value||t.defaultAnswer;if(i){e=[];var r=t._multipleAnswers&&Array.isArray(i)?i:[i];if(t.dataType!==Te_DATA_TYPE_CWE)e=r;else for(var o=0,a=r.length;o<a;++o)"string"==typeof r[o]||"number"==typeof r[o]?(e.push({text:r[o],_notOnList:!0}),t._answerOther=r[o],t._answerOtherChecked=!0):e.push(r[o])}if(e){var s=[];if(t.dataType===Te_DATA_TYPE_CNE||t.dataType===Te_DATA_TYPE_CWE)for(var l=0,u=e.length;l<u;++l){var f=e[l],p=!1;if(t.externallyDefined)s=e;else if(Array.isArray(t.answers)){for(var P=0,E=t.answers.length;!p&&P<E;++P)nt.areTwoAnswersSame(f,t.answers[P],t)&&(s.push(t.answers[P]),p=!0);!p&&t.dataType===Te_DATA_TYPE_CWE&&(f._notOnList=!0,s.push(f))}else s.push(f)}else s=e;t.value=t._multipleAnswers?s:s[0]}}_fhirClientSearchByValueSetID(t,e,i){return LForms.fhirContext.client.request(this._buildURL(["ValueSet",t,"$expand"],{count:i,filter:e}))}_findValueSetIDAndSearch(t,e,i){var r="Could not retrieve the ValueSet definition for "+t.answerValueSet,o=LForms.fhirContext.client;LForms._valueSetUrlToID||(LForms._valueSetUrlToID={});var a=LForms._valueSetUrlToID[t.answerValueSet];if(a)return this._fhirClientSearchByValueSetID(a,e,i);{const s=this;return o.request(this._buildURL(["ValueSet"],{url:t.answerValueSet,_total:"accurate"})).then(function(l){if(1===l.total){var f=l.entry[0].resource.id;return LForms._valueSetUrlToID[t.answerValueSet]=f,s._fhirClientSearchByValueSetID(f,e,i)}return console.log(r),Promise.reject(r)},function(l){return console.log(r),Promise.reject(r)})}}_updateAutocompOptions(t){var e;if(t._hasAnswerList){var i=t.answerCardinality?t.answerCardinality.max:1;"*"!==i&&"string"==typeof i&&(i=parseInt(i));var r={matchListValue:t.dataType!==Te_DATA_TYPE_CWE,maxSelect:i,autoFill:!1},o=t.externallyDefined;if(o){if(r.url=o,r.autocomp=!0,r.nonMatchSuggestions=!1,r.tableFormat=!0,r.valueCols=[0],r.colHeaders=t.displayControl.listColHeaders,r.colHeaders)for(var a=r.colHeaders,s=0,l=a.length;s<l;++s)a[s]=a[s].replace(/</g,"<")}else if(t.isSearchAutocomplete&&t.answerValueSet){var f=this._getFHIRSupport().SDC._getExpansionURL(t);if(f)r.url=f,r.fhir=!0;else{if(null===(e=LForms.fhirContext)||void 0===e||!e.client)throw new Error('Cannot properly initialize the list for field "'+t.question+'" because it requires either a terminology server to be specified or LForms.Util.setFHIRContext(...) to have been called to provide access to a FHIR server.');{const ne=this;r.fhir={search:function(he,ye){return LForms.fhirCapabilities.urlExpandBroken?ne._findValueSetIDAndSearch(t,he,ye):LForms.fhirContext.client.request(ne._buildURL(["ValueSet","$expand"],{count:ye,filter:he,url:t.answerValueSet})).catch(Pe=>(LForms.fhirCapabilities.urlExpandBroken=!0,ne._findValueSetIDAndSearch(t,he,ye)))}}}}}else{[r.listItems,r.addSeqNum]=this._getAnswerDisplayTextWithLabelAndScore(this.templateOptions.displayScoreWithAnswerText,t),r.display="_displayText",r.listItemsForModel=t.answers;var p=r.listItems,P=!0;for(s=0,l=p.length;s<l&&P;++s)P=!!p[s].parentAnswerCode;if(!P){var E=[],H={};for(s=0,l=p.length;s<l;++s){var G=p[s];E.push(G.code),G.parentAnswerCode&&(H[G.code]=G.parentAnswerCode)}r.codes=E,r.itemToHeading=H}}nt.deepEqual(r,t._autocompOptions)||(t._autocompOptions=r)}}_getAnswerDisplayTextWithLabelAndScore(t,e){var i=[],r=!1,o=!1;let a=e.answers;if(a&&Array.isArray(a))for(var s=0,l=a.length;s<l;s++){var u=nt.deepCopy(a[s]),f=u.text+"";u.label?(f=u.label+". "+f,r=!0):!o&&!isNaN(u.text)&&(o=!0),null!=u.score&&(e._hasScoreInAnswer=!0,t&&(f=f+" - "+u.score)),u._displayText=f,i.push(u)}return[i,!r&&!o]}_inRange(t,e){var i=!1;if(t&&!isNaN(e)){var r=Object.keys(t);if(1==r.length)switch(r[0]){case"minInclusive":i=t.minInclusive<=e;break;case"minExclusive":i=t.minExclusive<e;break;case"maxInclusive":i=t.maxInclusive>=e;break;case"maxExclusive":i=t.maxExclusive>e}else 2==r.length&&(t.hasOwnProperty("minInclusive")?i=t.minInclusive<=e:t.hasOwnProperty("minExclusive")&&(i=t.minExclusive<e),i&&(t.hasOwnProperty("maxInclusive")?i=t.maxInclusive>=e:t.hasOwnProperty("maxExclusive")&&(i=t.maxExclusive>e)))}return i}_objectEqual(t,e){return nt.shallowEqual(t,e)}_findItemByLinkId(t,e){for(var i=null,r=t._parentItem,o=!1;!o&&r;)r.linkId===e&&(i=r,o=!0),r=r._parentItem;var a=null;if(!i){for(var s=0,l=this.itemList.length;s<l;s++)if(t._elementId===this.itemList[s]._elementId){a=s;break}if(null!==a){for(var u=a-1;u>=0;u--)if(this.itemList[u].linkId===e){i=this.itemList[u];break}if(!i)for(var f=a+1,p=this.itemList.length;f<p;f++)if(this.itemList[f].linkId===e){i=this.itemList[f];break}}}return i}_getSkipLogicSourceItem(t,e){return this._findItemByLinkId(t,e)}_codingsEqual(t,e){let i=!1,r=o=>null!=o&&""!==o;return(t.system===e.system||!t.system&&!e.system)&&(i=r(t.code)||r(e.code)?t.code===e.code:t.text&&e.text&&t.text===e.text),!!i}_checkSkipLogicCondition(t,e){var i=!1,r=t&&null!=t.value&&""!==t.value&&t._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED;if(e.hasOwnProperty("exists"))i=e.exists&&r||!e.exists&&!r;else if(r){var o=t.value;if(t._hasAnswerList)switch(t.dataType){case Te_DATA_TYPE_CNE:case Te_DATA_TYPE_CWE:case Te_DATA_TYPE_INT:case Te_DATA_TYPE_ST:case Te_DATA_TYPE_DT:case Te_DATA_TYPE_TM:for(var a=e.hasOwnProperty("value")?e.value:e.hasOwnProperty("notEqual")?e.notEqual:null,s=Array.isArray(o)?o:[o],l=!1,u=0,f=s.length;u<f;u++){let P=s[u];if(t.dataType===Te_DATA_TYPE_CNE||t.dataType===Te_DATA_TYPE_CWE){if(t.answerCodeSystem&&(P=Object.assign({system:t.answerCodeSystem},P)),this._codingsEqual(a,P)){l=!0;break}}else if(a===P.text){l=!0;break}}e.hasOwnProperty("value")?l&&(i=!0):e.hasOwnProperty("notEqual")&&(l||(i=!0))}else switch(t.dataType){case Te_DATA_TYPE_INT:case Te_DATA_TYPE_REAL:case Te_DATA_TYPE_QTY:var p=parseFloat(o);e.hasOwnProperty("value")?e.value===p&&(i=!0):e.hasOwnProperty("notEqual")?e.notEqual!=p&&(i=!0):this._inRange(e,p)&&(i=!0);break;case Te_DATA_TYPE_ST:case Te_DATA_TYPE_TX:case Te_DATA_TYPE_BL:e.hasOwnProperty("value")?e.value===o&&(i=!0):e.hasOwnProperty("notEqual")&&e.notEqual!=o&&(i=!0)}}else e.hasOwnProperty("notEqual")&&null!=e.notEqual&&""!==e.notEqual&&(i=!0);return i}_checkSkipLogic(t){var e=!1;if(t.skipLogic){var i="ALL"===t.skipLogic.logic,r=!t.skipLogic.logic||"ANY"===t.skipLogic.logic;e=i;for(var o=0,a=t.skipLogic.conditions.length;o<a;o++){var s=t.skipLogic.conditions[o],l=this._getSkipLogicSourceItem(t,s.source),u=this._checkSkipLogicCondition(l,s.trigger);if(i&&!u){e=!1;break}if(r&&u){e=!0;break}}}return e}getSkipLogicClass(t){return t._skipLogicStatus}needExtra(t){var e=!1;return t&&t.value&&!Array.isArray(t.value)&&t.value.other&&(e=!0),e}setActiveRow(t){this._activeItem=t}getActiveRowClass(t){var e="";return this._activeItem&&this._activeItem._elementId===t._elementId&&(e="lhc-active-row"),e}}const Xq={LOINC_URI:"http://loinc.org",LOINC_CS:"LN",obrFieldNum:43,obxFieldNum:17,DataType:{ST:"String",TX:"Text data",FT:"Formatted text",CQ:"Composite quantity with units",MO:"Money",NM:"Numeric",SI:"Sequence ID",SN:"Structured numeric",ID:"Coded values for HL7 tables",IS:"Coded values for user-defined tables",HD:"Hierarchic designator",EI:"Entity identifier",RP:"Reference pointer",PL:"Person location",PT:"Processing type",DT:"Date",DTM:"Date/Time",TM:"Time",TS:"Time stamp",CE:"Coded element",CF:"Coded element with formatted values",CK:"Composite ID with check digit",CN:"Composite ID number and name",CX:"Extended composite ID with check digit",XCN:"Extended composite ID number and name",CM:"Composite",AD:"Address",PN:"Person name",TN:"Telephone number",XAD:"Extended address",XPN:"Extended person name",XON:"Extended composite name and ID number for organizations",XTN:"Extended telecommunications number",CD:"Channel definition",MA:"Multiplexed array",NA:"Numeric array",ED:"Encapsulated data",CP:"Composite price",FC:"Financial class",QSC:"Query selection criteria",QIP:"Query input parameter list",RCD:"Row column definition",DLN:"Driver\u2019s license number",JCC:"Job code/class",VH:"Visiting hours",PPN:"Performing person time stamp",DR:"Date/time range",RI:"Repeat interval",SCV:"Scheduling class value pair",TQ:"Timing/quantity"},delimiters:{segment:"\r",field:"|",component:"^",subcomponent:"&",repetition:"~",escape:"\\"},OBX:[{seq:1,len:4,dt:"SI",opt:"O",name:"Set ID"},{seq:2,len:2,dt:"ID",opt:"R",name:"Value Type"},{seq:3,len:590,dt:"CE",opt:"R",name:"Observation Identifier"},{seq:4,len:20,dt:"ST",opt:"O",name:"Observation Sub-ID"},{seq:5,len:65536,dt:"ST",opt:"O",name:"Observation Value"},{seq:6,len:60,dt:"CE",opt:"O",name:"Units"},{seq:7,len:10,dt:"ST",opt:"O",name:"Reference Range"},{seq:8,len:5,dt:"ID",opt:"O",name:"Abnormal Flags"},{seq:9,len:5,dt:"NM",opt:"O",name:"Probability"},{seq:10,len:2,dt:"ID",opt:"O",name:"Nature of Abnormal Test"},{seq:11,len:1,dt:"ID",opt:"R",name:"Observation Result Status"},{seq:12,len:26,dt:"TS",opt:"O",name:"Date Last Obs Normal Values"},{seq:13,len:20,dt:"ST",opt:"O",name:"User Defined Access Checks"},{seq:14,len:26,dt:"TS",opt:"O",name:"Date/Time of the Observation"},{seq:15,len:60,dt:"CE",opt:"O",name:"Producer's ID"},{seq:16,len:80,dt:"XCN",opt:"O",name:"Responsible Observer"},{seq:17,len:80,dt:"CE",opt:"O",name:"Observation Method"}],OBR:[{seq:1,len:4,dt:"SI",opt:"C",name:"Set ID - OBR"},{seq:2,len:75,dt:"EI",opt:"C",name:"Placer Order Number"},{seq:3,len:75,dt:"EI",opt:"C",name:"Filler Order Number"},{seq:4,len:200,dt:"CE",opt:"R",name:"Universal Service ID"},{seq:5,len:2,dt:"ID",opt:"B",name:"Priority"},{seq:6,len:26,dt:"TS",opt:"B",name:"Requested Date/time"},{seq:7,len:26,dt:"TS",opt:"C",name:"Observation Date/Time"},{seq:8,len:26,dt:"TS",opt:"O",name:"Observation End Date/Time"},{seq:9,len:20,dt:"CQ",opt:"O",name:"Collection Volume"},{seq:10,len:60,dt:"XCN",opt:"O",name:"Collector Identifier"},{seq:11,len:1,dt:"ID",opt:"O",name:"Specimen Action Code"},{seq:12,len:60,dt:"CE",opt:"O",name:"Danger Code"},{seq:13,len:300,dt:"ST",opt:"O",name:"Relevant Clinical Info."},{seq:14,len:26,dt:"TS",opt:"C",name:"Specimen Received Date/Time"},{seq:15,len:300,dt:"CM",opt:"O",name:"Specimen Source"},{seq:16,len:80,dt:"XCN",opt:"O",name:"Ordering Provider"},{seq:17,len:40,dt:"XTN",opt:"O",name:"Order Callback Phone Number"},{seq:18,len:60,dt:"ST",opt:"O",name:"Placer field 1"},{seq:19,len:60,dt:"ST",opt:"O",name:"Placer field 2"},{seq:20,len:60,dt:"ST",opt:"O",name:"Filler Field 1"},{seq:21,len:60,dt:"ST",opt:"O",name:"Filler Field 2"},{seq:22,len:26,dt:"TS",opt:"C",name:"Results Rpt/Status Chng - Date/Time"},{seq:23,len:40,dt:"CM",opt:"O",name:"Charge to Practice"},{seq:24,len:10,dt:"ID",opt:"O",name:"Diagnostic Serv Sect ID"},{seq:25,len:1,dt:"ID",opt:"C",name:"Result Status"},{seq:26,len:400,dt:"CM",opt:"O",name:"Parent Result"},{seq:27,len:200,dt:"TQ",opt:"O",name:"Quantity/Timing"},{seq:28,len:150,dt:"XCN",opt:"O",name:"Result Copies To"},{seq:29,len:150,dt:"CM",opt:"O",name:"Parent"},{seq:30,len:20,dt:"ID",opt:"O",name:"Transportation Mode"},{seq:31,len:300,dt:"CE",opt:"O",name:"Reason for Study"},{seq:32,len:200,dt:"CM",opt:"O",name:"Principal Result Interpreter"},{seq:33,len:200,dt:"CM",opt:"O",name:"Assistant Result Interpreter"},{seq:34,len:200,dt:"CM",opt:"O",name:"Technician"},{seq:35,len:200,dt:"CM",opt:"O",name:"Transcriptionist"},{seq:36,len:26,dt:"TS",opt:"O",name:"Scheduled Date/Time"},{seq:37,len:4,dt:"NM",opt:"O",name:"Number of Sample Containers"},{seq:38,len:60,dt:"CE",opt:"O",name:"Transport Logistics of Collected Sample"},{seq:39,len:200,dt:"CE",opt:"O",name:"Collector\u2019s Comment"},{seq:40,len:60,dt:"CE",opt:"O",name:"Transport Arrangement Responsibility"},{seq:41,len:30,dt:"ID",opt:"O",name:"Transport Arranged"},{seq:42,len:1,dt:"ID",opt:"O",name:"Escort Required"},{seq:43,len:200,dt:"CE",opt:"O",name:"Planned Patient Transport Comment"}],getHL7V2DataType:function(n){var t;switch(n){case"INT":case"REAL":case"QTY":t="NM";break;case"NR":case"TX":case"DT":case"DTM":case"TM":case"CNE":case"CWE":t=n;break;default:t="ST"}return t},toHL7Segments:function(n){var t="",e={obrIndex:1,obxIndex:1},i=n.getFormData(!1,!0);this._generateOBX4(i);var r=new Array(this.obrFieldNum);r[0]="OBR",r[1]="1",r[4]=i.code+this.delimiters.component+i.name+this.delimiters.component+this.LOINC_CS;for(var a=this.obrFieldNum-1;a>=0;a--)void 0===r[a]||(void 0!==r[a]?t=r[a]+this.delimiters.field+t:t+=this.delimiters.field);if(t+=this.delimiters.segment,i.items)for(var l=0,u=i.items.length;l<u;l++)"TITLE"!==i.items[l].dataType&&(t+=this._itemToHL7v2(i.items[l],e));return t},_generateOBX4:function(n){n&&n.items&&this._precessOBX4AtOneLevel("",n.items)},_precessOBX4AtOneLevel:function(n,t){for(var e=0,i=1,r=null,o=0,a=t.length;o<a;o++){var l,s=t[o];if("SECTION"===s.dataType)if((l=s.questionCardinality.max)&&("*"===l||parseInt(l)>1)){if(this._isSectionEmpty(s))continue;!r||r&&r.questionCode!==s.questionCode?(i=1,e+=1):i+=1;var u=nt.getNextLetter(i);s._obx4=n?n+"."+e+u:e+u,this._precessOBX4AtOneLevel(s._obx4,s.items)}else i=1,e+=1,s._obx4=n?n+"."+e:e,this._precessOBX4AtOneLevel(s._obx4,s.items);else if((l=s.questionCardinality.max)&&("*"===l||parseInt(l)>1)){if(Er.isItemValueEmpty(s.value))continue;!r||r&&r.questionCode!==s.questionCode?i=1:i+=1,u=nt.getNextLetter(i),s._obx4=n?n+"."+u:u}else s._obx4=n||"",i=1;r=s}},_generateOBX5:function(n,t,e){var r=n.code;return"CWE"!==t||r||0===r?r+this.delimiters.component+n.text+this.delimiters.component+(n.system?"LOINC"===n.system||n.system===this.LOINC_URI?this.LOINC_CS:n.system:""):this.delimiters.component.repeat(8)+n.text},_DT_FMT:"YYYYMMDD",_DTM_FMT:"YYYYMMDDHHmmss",_itemToHL7v2:function(n,t){var e="",i=this.LOINC_CS;if("TITLE"!==n.dataType){var r=new Array(this.obrFieldNum);if(n.header){var o="";r[0]="OBR",r[1]=++t.obrIndex,r[4]=n.questionCode+this.delimiters.component+n.question+this.delimiters.component+i;for(var s=this.obrFieldNum-1;s>=0;s--)void 0===r[s]||(void 0!==r[s]?o=r[s]+this.delimiters.field+o:o+=this.delimiters.field);if(o+=this.delimiters.segment,n.items)for(var u=0,f=n.items.length;u<f;u++)e+=this._itemToHL7v2(n.items[u],t)}else if(!Er.isItemValueEmpty(n.value)){var p=Array.isArray(n.value),P=p?n.value:[n.value],E=[];if(E[0]="OBX",E[1]=t.obxIndex++,E[2]=this.getHL7V2DataType(n.dataType),E[3]=n.questionCode+this.delimiters.component+n.question+this.delimiters.component+i,n.unit){var H="";void 0!==n.unit.name&&(H=n.unit.name),E[6]=H+this.delimiters.component+H+this.delimiters.component+this.LOINC_CS}s=0;for(var G=P.length;s<G;++s){var ne=P[s];if(E[4]=n._obx4,p&&(""!==n._obx4&&(E[4]+="."),E[4]+=nt.getNextLetter(s+1)),"CNE"===n.dataType||"CWE"===n.dataType)E[5]=this._generateOBX5(ne,n.dataType);else if("DT"===n.dataType||"DTM"===n.dataType){var he="string"==typeof ne?nt.stringToDate(ne):ne;E[5]=nt.formatDate(he,"DT"===n.dataType?this._DT_FMT:this._DTM_FMT)}else E[5]=ne.toString();e+=E.join(this.delimiters.field)+this.delimiters.field+this.delimiters.segment}}}return e},_isSectionEmpty:function(n){var t=!0;if(n.items)for(var e=0,i=n.items.length;e<i&&t;e++){var r=n.items[e];t="SECTION"===r.dataType?!0===r._emptySection||!1===r._emptySection?r._emptySection:this._isSectionEmpty(r):Er.isItemValueEmpty(r.value)}return n._emptySection=t,t}};var Jq=O(5076),ih=O.n(Jq),ej=O(82);const Uw={LFormsData:Bw,HL7:Xq,ucumPkg:qq,Util:Er,Def:ih(),Validations:nh,lformsVersion:"33.4.1"};function st(n,t,e,i){var a,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,t,e,i);else for(var s=n.length-1;s>=0;s--)(a=n[s])&&(o=(r<3?a(o):r>3?a(t,e,o):a(t,e))||o);return r>3&&o&&Object.defineProperty(t,e,o),o}function is(n,t,e,i){return L(e)&&(i=e,e=void 0),i?is(n,t,e).pipe(Ve(r=>m(r)?i(...r):i(r))):new te(r=>{$w(n,t,function o(a){r.next(arguments.length>1?Array.prototype.slice.call(arguments):a)},r,e)})}function $w(n,t,e,i,r){let o;if(function oj(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const a=n;n.addEventListener(t,e,r),o=()=>a.removeEventListener(t,e,r)}else if(function rj(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const a=n;n.on(t,e),o=()=>a.off(t,e)}else if(function ij(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const a=n;n.addListener(t,e),o=()=>a.removeListener(t,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let a=0,s=n.length;a<s;a++)$w(n[a],t,e,i,r)}i.add(o)}function Pt(n){return t=>t.lift(new aj(n))}Uw.Util.FHIRSupport=ej;class aj{constructor(t){this.notifier=t}call(t,e){const i=new sj(t),r=Cn(this.notifier,new bi(i));return r&&!i.seenValue?(i.add(r),e.subscribe(i)):i}}class sj extends Ar{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}
|
|
2072
|
+
const Ks=void 0,Yq=["en",[["a","p"],["AM","PM"],Ks],[["AM","PM"],Ks,Ks],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ks,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ks,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ks,"{1} 'at' {0}",Ks],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Uq(n){const e=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];var qq=O(137),jq=O(6908),th=O.n(jq),$q=O(1318),bm=O.n($q),Wq=O(5541),Cm=O.n(Wq);const nt={parseDateFormats:["M/D/YYYY","M/D/YY","M/D","M-D-YYYY","M-D-YY","M-D","YYYY","YYYY-M-D","YYYY/M/D",th().ISO_8601,"M/D/YYYY HH:mm","M/D/YY HH:mm","M/D HH:mm","M-D-YYYY HH:mm","M-D-YY HH:mm","M-D HH:mm"],intRegex:/^\s*(\+|-)?\d+\s*$/,decRegex:/^\s*[\+-]?([\+-]?\d+\.?\d*([eE]?[\+|-]?\d+)?|[\+-]?\d*\.?\d+[eE]?([\+|-]?\d+)?)\s*$/,areTwoAnswersSame:function(n,t,e){let i=["label","code","text","score","other"];if("object"!=typeof n)return!1;let o=!1;if(!n.system&&!t.system||n.system===(t.system?t.system:e.answerCodeSystem)){o=!0;let l=Object.keys(n);for(var a=0,s=l.length;a<s;a++)if(i.indexOf(l[a])>=0&&n[l[a]]!==t[l[a]]){o=!1;break}}return o},dateToDTStringISO:function(n){return n&&n instanceof Date&&!isNaN(n.getTime())?[(1e4+n.getFullYear()).toString().substr(1),(101+n.getMonth()).toString().substr(1),(100+n.getDate()).toString().substr(1)].join("-"):void 0},stringToDTDateISO:function(n){var t=new Date(n);return isNaN(t.getTime())?void 0:new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())},dateToDTMString:function(n){return"string"==typeof n&&(n=this.stringToDate(n,!0)),n.toISOString()},stringToDate:function(n,t){if(!n||"string"!=typeof n)return n;if("t"===n.trim())return new Date;let e=th()(n,this.parseDateFormats,!0);return t&&!e.isValid()&&(e=th()(n)),e.isValid()?e.toDate():null},isValidDate:function(n){return!!this.stringToDate(n)},formatDate:function(n,t){return th()(n).format(t)},getNextLetter:function(n){for(var e=[],i=n;i>0;){var r=i%26;e.push(r=0===r?25:r-1),i=Math.floor((i-1)/26)}for(var o="",a=e.length-1;a>=0;a--)o+="abcdefghijklmnopqrstuvqxyz".charAt(e[a]);return o},findObjectInArray:function(n,t,e,i,r){var o=r?[]:null;if(Array.isArray(n)){var a=0;i&&Math.abs(i)<n.length&&(a=i<0?n.length+i:i);for(var s=n.length,l=a;l<s;l++)if(n[l][t]===e){var u=n[l];if(!r){o=u;break}o.push(u)}}return o},_pruneObject:function(n,t,e){if("object"==typeof t)for(var i in t)if(i.match(n))delete t[i];else if(e&&i===e){var r=t[i];if(Array.isArray(r))for(var o=r.length,a=0;a<o;a++)this._pruneObject(n,r[a],e);else this._pruneObject(n,r,e)}},pruneNulls:function(n){if(Array.isArray(n))for(var t=n.length-1;t>=0;t--)null==n[t]?n.splice(t,1):"object"==typeof n[t]&&this.pruneNulls(n[t]);else n&&"object"==typeof n&&Object.keys(n).forEach(function(i){null==n[i]?delete n[i]:"object"==typeof n[i]&&this.pruneNulls(n[i])},this)},deepCopy:function(n){return bm()(n)},deepEqual:function(n,t){return Cm()(n,t)},shallowEqual:function(n,t){var e=!0;if(typeof n!=typeof t)e=!1;else if("object"!=typeof n)n!==t&&(e=!1);else{var i=Object.keys(n),r=Object.keys(t);if(i.length!==r.length)e=!1;else for(var o=0,a=i.length;o<a;o++)if(n[i[o]]!==t[i[o]]){e=!1;break}}return e},showWarning:function(n,t){t&&(n='The question "'+t.text+'" produced the following warning: '+n),console.log(n)},isInteger(n){return!!Number.isInteger(n)||"number"!=typeof n&&this.intRegex.test(n)},isDecimal(n){return"number"==typeof n||this.decRegex.test(n)}},Nw={messages:{comparatorInQuantity:{en:"This item cannot accept a quantity with a comparator"},nonMatchingQuantityUnit:{en:"An attempt was made to assign a quantity with a non-matching unit."},MultipleValuesForNonRepeat:{en:"An attempt was made to assign multiple values to a non-repeating item."}},getMsg:function(n){const t=this.messages[n];if(!t)throw new Error('Unknown message ID "'+n+'"');const e=t[this.language];if(!e)throw new Error('Unknown language code "'+this.language+'" for message ID "'+n+'"');return e},addMsg:function(n,t){n[t]=this.getMsg(t)},setLanguage:function(n){this.language=n}},zr={assignValueToItem:function(n,t,e){var i=!1;if(e=e||t&&t._type,t&&"Quantity"===e){n.value!==t.value&&(n.value=t.value,i=!0);var r={name:t.name};t.code&&(r.code=t.code,t.system&&(r.system=t.system)),nt.deepEqual(n.unit,r)||(n.unit=r,i=!0)}else nt.deepEqual(n.value,t)||(n.value=t,i=!0);return i},modelForOffListUnit:function(n){return n?{name:n}:void 0},setItemMessagesArray:function(n,t,e){let i,r;for(let o of t)if(o){i||(i={errors:{},warnings:{},info:{}},r=Object.keys(i));for(let a of r)o[a]&&Object.assign(i[a],o[a])}this.setItemMessages(n,i,e)},setItemMessages:function(n,t,e){t?(n.messages||(n.messages={}),n.messages[e]=t):n.messages&&(delete n.messages[e],Object.keys(n.messages).length||delete n.messages)},addItemWarning:function(n,t,e){e||(e="Other message source");let i=n.messages;i||(i=n.messages={});let r=i[e];r||(r=i[e]={});let o=r.warnings;o||(o=r.warnings={}),o[t]=Nw.getMsg(t),console.log(JSON.stringify(n.messages))},removeItemWarning:function(n,t,e){let i,r,o;e||(e="Other message source"),(i=n.messages)&&(r=i[e])&&(o=r.warnings)&&delete o[t]},hasAnswerList:function(n){return"CNE"===n.dataType||"CWE"===n.dataType||n.answers&&("ST"===n.dataType||"INT"===n.dataType||"DT"===n.dataType||"TM"===n.dataType)}};zr.errorMessages=Nw,zr.errorMessages.setLanguage("en");const Gq=new RegExp("http://hl7.org/fhir/(\\d+.\\d+)([.\\d]+)?/StructureDefinition/Questionnaire"),Kq=new RegExp("http://hl7.org/fhir/u./sdc/StructureDefinition/sdc-questionnaire\\|(\\d+.\\d+)(.\\d+)?"),Rw={STU3:1,R4:2,R5:3},Vw={addFormToPage:function(n,i,e){i="string"==typeof i?document.getElementById(i):i,"string"==typeof n&&(n=n.indexOf("{")>=0?JSON.parse(n):window[n]);var r=n.resourceType,o=e&&e.fhirVersion;if(r&&"Questionnaire"!==r)throw new Error("Only Questionnaire FHIR content is supported in addFormToPage.");this.pageFormID_||(this.pageFormID_=0),LForms.addedFormDefs||(LForms.addedFormDefs=[]),LForms.addedFormDefs.push(n);for(var a=e&&!0===e.prepopulate;i.firstChild;)i.removeChild(i.lastChild);const s=document.createElement("wc-lhc-form");return i.appendChild(s),new Promise(function(u,f){try{s.questionnaire=n,s.options=e,s.prepop=a,s.fhirVersion=o,s.addEventListener("onFormReady",function(p){u()}),s.addEventListener("onError",function(p){f(p.detail)})}catch(p){f(p)}})},removeFormsFromPage:function(t){for(t="string"==typeof t?document.getElementById(t):t;t.firstChild;)t.removeChild(t.lastChild)},getUserData:function(n,t,e,i){var r=this._getFormObjectInScope(n);return r?r.getUserData(t,e,i):null},getFormData:function(n,t,e){var i=this._getFormObjectInScope(n);return i?i.getFormData(t,e):null},getFormHL7Data:function(n){var t=this._getFormObjectInScope(n);return t?LForms.HL7.toHL7Segments(t):null},getFormFHIRData:function(n,t,e,i){return(!e||e instanceof HTMLElement||"string"==typeof e)&&(e=this._getFormObjectInScope(e)),this._convertLFormsToFHIRData(n,t,e,i)},checkValidity:function(n){var t=this._getFormObjectInScope(n);return t?t.checkValidity():null},_convertLFormsToFHIRData:function(n,t,e,i){i||(i={}),e instanceof LForms.LFormsData||(e=new LForms.LFormsData(e));var r=this.validateFHIRVersion(t),o=LForms.FHIR[r],a=null;if(e)switch(n){case"DiagnosticReport":var s=i?i.bundleType:void 0;a=o.DiagnosticReport.createDiagnosticReport(e,i.subject,null!=s,s);break;case"Questionnaire":a=o.SDC.convertLFormsToQuestionnaire(e,i.noExtensions);break;case"QuestionnaireResponse":a=i.extract?o.SDC.convertLFormsToQRAndExtracFHIRData(e,i.noExtensions,i.subject):o.SDC.convertLFormsToQuestionnaireResponse(e,i.noExtensions,i.subject)}return a},convertFHIRQuestionnaireToLForms:function(n,t){var e=null;return n&&(t=this._requireValidFHIRVersion(t,n),e=LForms.FHIR[t].SDC.convertQuestionnaireToLForms(n)),e},mergeFHIRDataIntoLForms:function(n,t,e){if("string"==typeof n&&(n=t,t=e,e=arguments[3]),n){e=this._requireValidFHIRVersion(e,n);var i=LForms.FHIR[e];switch(n.resourceType){case"DiagnosticReport":(t=i.DiagnosticReport.mergeDiagnosticReportToLForms(t,n)).hasSavedData=!0;break;case"Bundle":"searchset"===n.type&&n.entry.find(r=>"DiagnosticReport"===r.resource.resourceType)&&((t=i.DiagnosticReport.mergeDiagnosticReportToLForms(t,n)).hasSavedData=!0);break;case"QuestionnaireResponse":(t=i.SDC.mergeQuestionnaireResponseToLForms(t,n)).hasSavedData=!0}}return t},_requireValidFHIRVersion:function(n,t){if(n||(n=this.detectFHIRVersion(t)||this.guessFHIRVersion(t)),!n)throw new Error("Could not determine the FHIR version for this resource. Please make sure it is specified via meta.profile (see http://build.fhir.org/versioning.html#mp-version and https://www.hl7.org/fhir/references.html#canonical). Example 1: http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire (for Questionnaire version 4.0, a.k.a. R4).Example 2: http://hl7.org/fhir/3.0/StructureDefinition/Questionnaire (for Questionnaire version 3.0, a.k.a. STU3).Example 3: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire|2.7 (for SDC Questionnaire version 2.7).");return this.validateFHIRVersion(n)},setFHIRContext:function(n,t){if(!LForms.FHIR)throw new Error("LHC-Forms FHIR support files have not been loaded.See http://lhncbc.github.io/lforms/#fhirScripts");LForms.fhirContext={client:n,vars:t},LForms.fhirCapabilities={},delete LForms._serverFHIRReleaseID},_fhirVersionToRelease:function(n){let t=n,e=n.match(/^\d+(\.\d+)/);if(e){const i=parseFloat(e[0]);t=i>3&&i<=4?"R4":i>=1.1&&i<=3?"STU3":n}return t},getServerFHIRReleaseID:function(n){if(!LForms.fhirContext)throw new Error("setFHIRContext needs to be called before getFHIRReleaseID");if(!LForms.fhirContext.client)throw new Error("setFHIRContext was called, but no server connection was provided");if(LForms._serverFHIRReleaseID)setTimeout(function(){n(LForms._serverFHIRReleaseID)});else try{LForms.fhirContext.client.getFhirVersion().then(function(e){LForms._serverFHIRReleaseID=LForms.Util._fhirVersionToRelease(e),console.log("Server FHIR version is "+LForms._serverFHIRReleaseID+" ("+e+")"),n(LForms._serverFHIRReleaseID)},function(e){console.log("Error retrieving server's CompatibilityStatement:"),console.log(e),n()})}catch(e){throw setTimeout(function(){n()}),e}},validateFHIRVersion:function(n){if(!LForms.Util.FHIRSupport[n])throw new Error("Version "+n+" of FHIR is not supported.");if(!LForms.FHIR)throw new Error("The FHIR support files for LHC-Forms do not appear to have been loaded. Please consult the documentation at http://lhncbc.github.io/lforms/#fhirSupport.");if(!LForms.FHIR[n])throw new Error("Version "+n+" of FHIR is supported, but the supporting code was not loaded.");return n},detectFHIRVersion:function(n){let t=null;return n.meta&&n.meta.profile&&(t=this.detectFHIRVersionFromProfiles(n.meta.profile)),t},detectFHIRVersionFromProfiles(n){if(!n||!n.length)return null;let t=null;for(let i=0;i<n.length;i++){var e=n[i].match(Gq);let r;if(e?r=e[1]:(e=n[i].match(Kq))&&(r=e[1],"2.0"===r?r="3.0":parseFloat(r)>=2.1&&(r="4.0")),r){const o=this._fhirVersionToRelease(r);(!t||Rw[o]>Rw[t])&&(t=o)}}return t},guessFHIRVersion:function(n){var t=null;return"Questionnaire"==n.resourceType?t=this._testValues(n,"item",function(r){return!!(r.option||r.options||r.enableWhen&&"hasAnswer"in r.enableWhen)})?"STU3":"R4":"QuestionnaireResponse"==n.resourceType&&(t=n.parent||this._testValues(n,"item",function(o){return!!o.subject})?"STU3":"R4"),t},_testValues:function(n,t,e){var i=!1;if(n instanceof Array)for(var r=0,o=n.length;!i&&r<o;++r)i=this._testValues(n[r],t,e);else if("object"==typeof n)for(var a=Object.keys(n),s=0,l=a.length;!i&&s<l;++s){var u=a[s],f=n[u];if(u===t)if(f instanceof Array)for(var p=0,P=f.length;!i&&p<P;++p)i=e(f[p]);else i=e(f);i||(i=this._testValues(f,t,e))}return i},_getFormObjectInScope:function(n){var t,e;if("string"==typeof n&&(n=document.querySelector(n)),n)e=n.getElementsByTagName("wc-lhc-form");else{var i=document.getElementsByTagName("body");e=i&&i.length>0?(n=i[0]).getElementsByTagName("wc-lhc-form"):document.getElementsByTagName("wc-lhc-form")}for(let r of e){t=r.lhcFormData;break}return t},isItemValueEmpty:function(n){var t=!0;if(null!=n&&""!==n&&"function"!=typeof n)if("string"==typeof n||n instanceof String)t=""===n.trim();else if(Array.isArray(n)){for(var e=0;e<n.length;++e)if(!this.isItemValueEmpty(n[e])){t=!1;break}}else if("object"==typeof n){var i=Object.keys(n);if(i.length>0){e=0;for(var r=i.length;e<r;e++)if(!this.isItemValueEmpty(n[i[e]])){t=!1;break}}else n.constructor!==Object&&(t=!1)}else t=!1;return t},findItem:function(n,t,e){var i=null;if(n)for(var r=0;!i&&r<n.length;++r){var o=n[r];o[t]===e?i=o:Array.isArray(o.items)&&(i=this.findItem(o.items,t,e))}return i},initializeCodes:function(n){var t=n.question||n.questionCode,e=t?n.questionCode:n.code,r=t?n.question:n.name,o=this.getCodeSystem(t?n.questionCodeSystem:n.codeSystem);if(e){n.codeList||(n.codeList=[]);for(var a=n.codeList,s=!1,l=0;l<a.length;l++)if(e===a[l].code&&(!o&&!a[l].system||o===a[l].system)){s=!0;break}s||"LinkId"===o||(e={code:e,display:r},o&&(e.system=o),a.unshift(e))}else n.codeList&&n.codeList.length>0&&(t?(n.questionCode=n.codeList[0].code,n.questionCodeSystem=n.codeList[0].system):(n.code=n.codeList[0].code,n.codeSystem=n.codeList[0].system));return n},createLocalFHIRReference:function(n){var t={reference:n.resourceType+"/"+n.id};if("Patient"===n.resourceType&&n.name&&n.name.length>0){var e=n.name[0];e.text?t.display=e.text:(e.given&&e.given.length>0&&(t.display=e.given[0]),e.family&&(t.display=t.display?t.display+" "+e.family:e.family))}return t},getCodeSystem:function(n){return"LOINC"===n?"http://loinc.org":n},removeObjectsFromArray:function(n,t,e,i,r){var o=r?[]:null,a=r?[]:null;if(Array.isArray(n)){var s=0;i&&Math.abs(i)<n.length&&(s=i<0?n.length+i:i);for(var l=n.length,u=s;u<l;u++)if(n[u][t]===e){var f=n[u];if(!r){o=u,a=f;break}o.push(u),a.push(f)}if(Array.isArray(o))for(u=o.length-1;u>=0;u--)n.splice(o[u],1);else null!==o&&n.splice(o,1)}return a},baseFormDef:function(){return{lformsVersion:LForms.lformsVersion}},getAnswersResourceStatus:function(n){return(!n||n instanceof HTMLElement||"string"==typeof n)&&(n=this._getFormObjectInScope(n)),n.checkAnswersResourceStatus()},loadScript:function(n){return new Promise(function(t,e){var i=document.createElement("script");i.onreadystatechange=t,i.onload=t,i.onerror=e,i.src=n,document.body.appendChild(i)})},loadFHIRLibs:function(n,t){return Promise.all([this.loadScript(n),this.loadScript(t)])},_hasMultipleAnswers:function(n){return n.answerCardinality&&n.answerCardinality.max&&("*"===n.answerCardinality.max||parseInt(n.answerCardinality.max)>1)}};Vw._internalUtil=zr;const Er=ep(ep({},nt),Vw),Te_DATA_CONTROL_CONSTRUCTION_ARRAY="ARRAY",Te_DATA_CONTROL_CONSTRUCTION_OBJECT="OBJECT",Te_DATA_CONTROL_CONSTRUCTION_SIMPLE="SIMPLE",Te_DATA_CONTROL_SOURCE_INTERNAL="INTERNAL",Te_SKIP_LOGIC_ACTION_ENABLE="show",Te_SKIP_LOGIC_ACTION_DISABLE="hide",Te_SKIP_LOGIC_STATUS_ENABLED="target-enabled",Te_SKIP_LOGIC_STATUS_DISABLED="target-disabled",Te_CALCULATION_METHOD_TOTALSCORE="TOTALSCORE",Te_DATA_TYPE_INT="INT",Te_DATA_TYPE_REAL="REAL",Te_DATA_TYPE_ST="ST",Te_DATA_TYPE_TX="TX",Te_DATA_TYPE_DT="DT",Te_DATA_TYPE_DTM="DTM",Te_DATA_TYPE_TM="TM",Te_DATA_TYPE_CNE="CNE",Te_DATA_TYPE_CWE="CWE",Te_DATA_TYPE_SECTION="SECTION",Te_DATA_TYPE_TITLE="TITLE",Te_DATA_TYPE_QTY="QTY",Te_DATA_TYPE_BL="BL",nh={_timeout:1500,_restrictionKeys:["minExclusive","minInclusive","maxExclusive","maxInclusive","totalDigits","fractionDigits","length","minLength","maxLength","enumeration","whiteSpace","pattern"],_dataTypes:["BL","INT","REAL","ST","TX","BIN","DT","DTM","TM","CNE","CWE","RTO","QTY","NR","YEAR","MONTH","DAY","URL","EMAIL","PHONE",""],_errorMessages:{BL:"must be a boolean (true/false).",INT:"must be an integer number.",REAL:"must be a decimal number.",ST:"must be a string value.",TX:"must be a text value.",BIN:"must be a binary value.",DT:"must be a date value.",DTM:"must be a date and time value.",TM:"must be a time value.",CNE:"must be a value from the answer list.",CWE:"must be a value from the answer list or a user supplied value.",RTO:"must be a ratio value.",QTY:"must be a decimal number",NR:"must be two numeric values separated by a ^. One value can be omitted, but not the ^.",YEAR:"must be a numeric value of year.",MONTH:"must be a numeric value of month.",DAY:"must be a numeric value of day.",URL:"must be a valid URL.",EMAIL:"must be a valid email address.",PHONE:"must be a valid phone number."},checkRequired:function(n,t,e){var i=!0;return n&&(null==t||""===t||Array.isArray(t)&&0===t.length)&&(i=!1,e.push("requires a value")),i},checkDataType:function(n,t,e){var i=!0;if(null!=t&&""!==t)switch(n){case"BL":!0!==t&&!1!==t&&(i=!1);break;case"INT":i=nt.isInteger(t);break;case"REAL":case"QTY":i=nt.isDecimal(t);break;case"PHONE":i=/(((^\s*(\d\d){0,1}\s*(-?|\.)\s*(\(?\d\d\d\)?\s*(-?|\.?)){0,1}\s*\d\d\d\s*(-?|\.?)\s*\d{4}\b)|(^\s*\+\(?(\d{1,4}\)?(-?|\.?))(\s*\(?\d{2,}\)?\s*(-?|\.?)\s*\d{2,}\s*(-?|\.?)(\s*\d*\s*(-|\.?)){0,3})))(\s*(x|ext|X)\s*\d+){0,1}$)/.test(t);break;case"EMAIL":i=/^\s*((\w+)(\.\w+)*)@((\w+)(\.\w+)+)$/.test(t);break;case"URL":i=/^(https?|ftp):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?$/.test(t);break;case"TM":i=/^\s*(((\d|[0-1]\d|2[0-4]):([0-5]\d))|(\d|0\d|1[0-2]):([0-5]\d)\s*([aApP][mM]))\s*$/.test(t);break;case"YEAR":i=/^\d{1,4}$/.test(t);break;case"MONTH":i=/^(0?[1-9]|1[012])$/.test(t);break;case"DAY":i=/^(0?[1-9]|[12]\d|3[01])$/.test(t);break;case"NR":i=/^(\-?\d+(\.\d*)?)?\s*\^\s*(\-?\d+(\.\d*)?)?$/.test(t);break;case"DT":i=nt.isValidDate(t);break;default:i=!0}return Array.isArray(e)&&!i&&e.push(this._errorMessages[n]),i},checkRestrictions:function(n,t,e){var i=!0;if(null!=t&&""!==t)for(var r in n){var o=!0,a=n[r];switch(r){case"minExclusive":parseFloat(t)>parseFloat(a)?o=!0:(o=!1,e.push("must be a value greater than "+a+"."));break;case"minInclusive":parseFloat(t)>=parseFloat(a)?o=!0:(o=!1,e.push("must be a value greater than or equal to "+a+"."));break;case"maxExclusive":parseFloat(t)<parseFloat(a)?o=!0:(o=!1,e.push("must be a value less than "+a+"."));break;case"maxInclusive":parseFloat(t)<=parseFloat(a)?o=!0:(o=!1,e.push("must be a value less than or equal to "+a+"."));break;case"totalDigits":case"fractionDigits":break;case"length":t.length==parseInt(a)?o=!0:(o=!1,e.push("must have a total length of "+a+"."));break;case"maxLength":t.length<=parseInt(a)?o=!0:(o=!1,e.push("must have a total length less than or equal to "+a+"."));break;case"minLength":t.length>=parseInt(a)?o=!0:(o=!1,e.push("must have a total length greater than or equal to "+a+"."));break;case"pattern":var s=a.indexOf("/"),l=a.lastIndexOf("/"),u=a.slice(s+1,l),f=a.slice(l+1);new RegExp(u,f).test(t)?o=!0:(o=!1,e.push("must match a RegExp pattern of "+a+"."));break;default:o=!0}i=i&&o}return i}};let Qq={getValueInStandardUnit:function(n,t){return(n*this.units_[t]).toFixed(this.precision_)},getStandardUnit:function(){},precision_:4,units_:{kg:1,kgs:1,kilograms:1,pounds:.453592,lbs:.453592,cm:1,cms:1,centimeters:1,feet:30.48,ft:30.48,inches:2.54,"[in_i]":2.54,meters:100,"ft-inches":2.54}},Zq={calculations_:{precision_:2,TOTALSCORE:function(n){for(var t=0,e=0,i=n.length;e<i;e++)t+=parseFloat(n[e]);return t},BMI:function(n){var t="",e=parseFloat(n[0]),i=parseFloat(n[1]);return e&&""!=e&&i&&""!=i&&"0"!=i&&(t=(t=e/Math.pow(i/100,2)).toFixed(this.precision_)),t},BSA:function(n){var t="",e=parseFloat(n[0]),i=parseFloat(n[1]);return e&&""!=e&&i&&""!=i&&(t=(t=Math.sqrt(i*e/3600)).toFixed(this.precision_)),t}}};class Bw{constructor(t,e=null){if(this.code=null,this.codeList=null,this.identifier=null,this.name=null,this.templateOptions={},this.items=[],this.PATH_DELIMITER="/",this.hasSavedData=!1,this._invalidData=!1,this._repeatableItems={},this._opt={},this._actionLogs=[],this._activeItem=null,this._defaultTemplateOptions={showQuestionCode:!1,showCodingInstruction:!1,allowMultipleEmptyRepeatingItems:!1,allowHTMLInInstructions:!1,displayControl:{questionLayout:"vertical"},viewMode:"auto",defaultAnswerLayout:{answerLayout:{type:"COMBO_BOX",columns:"0"}},hideTreeLine:!1,hideIndentation:!1,hideRepetitionNumber:!1,displayScoreWithAnswerText:!0},this.lformsVersion="33.4.2",this._packageStore=null,this._variableExt=null,this._codePath="",this._idPath="",this._displayLevel=0,this._linkToDef=null,this._horizontalTableInfo={},e&&(this._packageStore=e),t&&t._initializeInternalData){for(var i=Object.getOwnPropertyNames(t),r=0;r<i.length;r++)i[r]&&!i[r].startsWith("_")&&"function"!=typeof t[i[r]]&&(this[i[r]]=t[i[r]]);t._variableExt&&(this._variableExt=t._variableExt)}else Object.assign(this,t),this.templateOptions=t.templateOptions||{},this.PATH_DELIMITER=t.PATH_DELIMITER||"/";LForms.FHIR&&t.fhirVersion&&this._initializeFormFHIRData(t),this._initializeInternalData()}setMessageLevel(t){this._showInfo="info"==t,this._showWarnings=this._showInfo||"warning"==t,this._showErrors=this._showWarnings||"error"==t}_getResourcesFromPackageStore(t,e){var i=null;if(this._packageStore&&e&&t)for(var r=e.split("|"),o=r[0],a=r[1],s=0,l=this._packageStore.length;s<l;s++){var u=this._packageStore[s];if(u.resourceType===t&&u.url===o&&(a&&u.version===a||!a)){i=JSON.parse(JSON.stringify(u));break}}return i}checkAnswersResourceStatus(){for(var t=[],e=0,i=this.itemList.length;e<i;e++){var r=this.itemList[e];r.answerValueSet&&!r.answers&&t.push("Resource not loaded: "+r.answerValueSet)}return t}addAsyncChangeListener(t){this._asyncChangeListeners||(this._asyncChangeListeners=[]),this._asyncChangeListeners.push(t)}_notifyAsyncChangeListeners(){if(this._asyncChangeListeners)for(var t=0,e=this._asyncChangeListeners.length;t<e;++t)this._asyncChangeListeners[t]()}_initializeFormFHIRData(t){this.fhirVersion=t.fhirVersion,this._fhir=LForms.FHIR[this.fhirVersion],this._expressionProcessor=new this._fhir.SDC.ExpressionProcessor(this),this._fhirVariables={},this.extension=t.extension?t.extension.slice(0):null,t.extension&&(this._fhir.SDC.buildExtensionMap(this),this._hasResponsiveExpr=this._hasResponsiveExpr||this._fhir.SDC.hasResponsiveExpression(this),this._hasInitialExpr=this._hasInitialExpr||this._fhir.SDC.hasInitialExpression(this)),this._fhir.SDC.processExtensions(this,"obj_title")}_getFHIRSupport(){var t=this._fhir;if(!t){var e=Object.keys(LForms.FHIR);if(e.length>0&&(t=LForms.FHIR[e[0]]),!t)throw new Error("The LHC-Forms FHIR support file was not loaded.");this._fhir=t}return t}loadFHIRResources(t){LForms.fhirContext||console.log("Warning: FHIR resources might not be loaded, because loadFHIRResources() was called before LForms.Util.setFHIRContext()");var e=this,i=this._fhir.SDC,r=i.loadLaunchContext(this);return r=r.concat(i.loadAnswerValueSets(this)),t&&r.push(i.requestLinkedObs(this)),Promise.all(r).then(function(){e._notifyAsyncChangeListeners()}).catch(function(a){throw a})}_buildURL(t,e){let i=t.map(r=>encodeURIComponent(r)).join("/");return e&&(i+="?"+Object.keys(e).map(r=>r+"="+encodeURIComponent(e[r])).join("&")),i}_loadAnswerValueSetsFromPackage(t){if(t.answerValueSet){var e=this._getResourcesFromPackageStore("ValueSet",t.answerValueSet);if(e&&this._fhir){var i=this._fhir.SDC.answersFromVS(e.fileContent);i&&(t.answers=i)}}}_checkFHIRVarName(t){if(this._fhir.reservedVarNames[t])throw'The "'+t+'" variable name is reserved; Questionnaires may not assign a value to it.'}_initializeInternalData(){this._setDefaultValues(),Er.initializeCodes(this),this._repeatableItems={},this._setTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this.itemList=[],this.itemHash={},this._updateItemReferenceList(this.items),this._standardizeScoreRule(this.itemList),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout(),this._setUpAnswerAndUnitAutoComp(this.itemList),this._setupSourceToTargetMap(),this._checkFormControls()}_resetInternalData(){this._updateTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this.itemList=[],this.itemHash={},this._updateItemReferenceList(this.items),this._standardizeScoreRule(this.itemList),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout(),this._setUpAnswerAndUnitAutoComp(this.itemList),this._setupSourceToTargetMap(),this._checkFormControls()}updateSkipLogicControlledItems(t,e){var i=!1;if(t._skipLogicTargets)for(var r=0,o=t._skipLogicTargets.length;r<o;r++){var a=t._skipLogicTargets[r];i=this._updateItemSkipLogicStatus(a,null)||i,i=this.updateSkipLogicControlledItems(a,e)||i}return e(t)||i}updateOnSourceItemChange(t){for(var e=this,i=!0;i;)i=this.updateSkipLogicControlledItems(t,function(r){var o=!1;if(r._formulaTargets)for(var a=0,s=r._formulaTargets.length;a<s;a++)o=e._processItemFormula(r._formulaTargets[a])||o;if(r._dataControlTargets)for(a=0,s=r._dataControlTargets.length;a<s;a++)o=e._processItemDataControl(r._dataControlTargets[a])||o;return o});if(this._updateTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout(),LForms.FHIR&&this._hasResponsiveExpr){let r=this;setTimeout(function(){r._expressionProcessor.runCalculations(!1).then(()=>{r._checkFormControls()})})}}_checkValidations(t){if(t._hasValidation){var e=[];nh.checkRequired(t._answerRequired,t.value,e),nh.checkDataType(t.dataType,t.value,e),nh.checkRestrictions(t.restrictions,t.value,e),t._validationErrors=e}}_checkFormControls(){for(var t=!0;t;){t=!1;for(var e=0,i=this.itemList.length;e<i;e++){var r=this.itemList[e];r.calculationMethod&&(t=this._processItemFormula(r)||t),r.dataControl&&(t=this._processItemDataControl(r)||t),r.skipLogic&&(t=this._updateItemSkipLogicStatus(r,null)||t),r.isHiddenInDef&&(r._isHiddenFromView||(t=!0),r._isHiddenFromView=!0,t=this._setSubItemsHidden(r)||t)}}this._updateTreeNodes(this.items,this),this._updateLastRepeatingItemsStatus(this.items),this._resetHorizontalTableInfo(),this._adjustLastSiblingListForHorizontalLayout()}_setSubItemsHidden(t){var e=!1;if(t.items&&t.items.length>0)for(var i=0,r=t.items.length;i<r;i++){var o=t.items[i];o._isHiddenFromView||(e=!0),o._isHiddenFromView=!0,e=this._setSubItemsHidden(o)||e}return e}_setupSourceToTargetMap(){for(var t=0,e=this.itemList.length;t<e;t++){var i=this.itemList[t];if(i.calculationMethod&&i.calculationMethod.name)for(var r=this._getFormulaSourceItems(i,i.calculationMethod.value),o=0,a=r.length;o<a;o++)r[o]._formulaTargets?r[o]._formulaTargets.push(i):r[o]._formulaTargets=[i];if(i.dataControl&&Array.isArray(i.dataControl))for(o=0,a=i.dataControl.length;o<a;o++){var s=i.dataControl[o].source;if(s&&(!s.sourceType||s.sourceType===Te_DATA_CONTROL_SOURCE_INTERNAL)&&s.sourceLinkId){if(!(l=this._findItemByLinkId(i,s.sourceLinkId)))throw new Error("Data control for item '"+i.question+"' refers to source item '"+s.sourceLinkId+"' which was not found as a sibling, ancestor, or ancestor sibling.");l._dataControlTargets?l._dataControlTargets.push(i):l._dataControlTargets=[i]}}if(i.skipLogic)for(o=0,a=i.skipLogic.conditions.length;o<a;o++){var l;(l=this._getSkipLogicSourceItem(i,i.skipLogic.conditions[o].source))._skipLogicTargets?l._skipLogicTargets.push(i):l._skipLogicTargets=[i]}}}_updateItemSkipLogicStatus(t,e){var r,i=!1;if(e)i=this._setSkipLogicStatusValue(t,Te_SKIP_LOGIC_STATUS_DISABLED)||i,r=!0;else{if(t.skipLogic){var o=this._checkSkipLogic(t);t.skipLogic.action&&t.skipLogic.action!==Te_SKIP_LOGIC_ACTION_ENABLE?t.skipLogic.action===Te_SKIP_LOGIC_ACTION_DISABLE&&(i=this._setSkipLogicStatusValue(t,o?Te_SKIP_LOGIC_STATUS_DISABLED:Te_SKIP_LOGIC_STATUS_ENABLED)||i):i=this._setSkipLogicStatusValue(t,o?Te_SKIP_LOGIC_STATUS_ENABLED:Te_SKIP_LOGIC_STATUS_DISABLED)||i}else t._skipLogicStatus===Te_SKIP_LOGIC_STATUS_DISABLED&&(i=this._setSkipLogicStatusValue(t,Te_SKIP_LOGIC_STATUS_ENABLED)||i);r=t._skipLogicStatus===Te_SKIP_LOGIC_STATUS_DISABLED}if(t.items&&t.items.length>0)for(var s=0,l=t.items.length;s<l;s++)i=this._updateItemSkipLogicStatus(t.items[s],r)||i;return i}_presetSkipLogicStatus(t,e){if((t.skipLogic||e)&&(this._setSkipLogicStatusValue(t,Te_SKIP_LOGIC_STATUS_DISABLED,!0),t.items))for(var r=0,o=t.items.length;r<o;r++)this._presetSkipLogicStatus(t.items[r],!0)}_setSkipLogicStatusValue(t,e,i=!1){var r=!1;return t._skipLogicStatus!==e&&(t._skipLogicStatus&&(i||this._actionLogs.push(e===Te_SKIP_LOGIC_STATUS_DISABLED?"Hiding "+t._text:"Showing "+t._text)),t._preSkipLogicStatus=t._skipLogicStatus,t._skipLogicStatus=e,r=!0),r}_updateItemReferenceList(t){for(var e=0,i=t.length;e<i;e++){var r=t[e];this.itemList.push(r),this.itemHash[r._elementId]=r,r.items&&r.items.length>0&&this._updateItemReferenceList(r.items)}}_findItemsWithScore(){for(var t={},e=0,i=this.itemList.length;e<i;e++){var r=this.itemList[e];if(("CNE"===r.dataType||"CWE"===r.dataType)&&r.answers&&Array.isArray(r.answers)&&r.answers.length>0)for(var o=0,a=r.answers.length;o<a;o++){var s=r.answers[o];if(s&&s.hasOwnProperty("score")&&!isNaN(s.score)){t[r.linkId]=r;break}}}return Object.keys(t)}_standardizeScoreRule(t){for(var e=0,i=t.length;e<i;e++){var r=t[e];if(r.calculationMethod&&(r.calculationMethod.name===Te_CALCULATION_METHOD_TOTALSCORE||r.calculationMethod===Te_CALCULATION_METHOD_TOTALSCORE)){r.calculationMethod={name:Te_CALCULATION_METHOD_TOTALSCORE,value:[]};var o=this._findItemsWithScore();r.calculationMethod.value=o}}}_setDefaultValues(){this._codePath="",this._idPath="",this._displayLevel=0,this._activeItem=null,"LOINC"===this.codeSystem&&(this._linkToDef="http://s.details.loinc.org/LOINC/"+this.code+".html"),(!this.template||0==this.template.length||"form-view-a"===this.template||"form-view-b"===this.template)&&(this.template="table");var t=nt.deepCopy(this.templateOptions),e=nt.deepCopy(this._defaultTemplateOptions);this.setTemplateOptions(t,e)}_mergeTwoArrays(t,e){for(var i=0,r=e.length;i<r;i++)if(e[i])for(var o=Object.keys(e[i]),a=0,s=o.length;a<s;a++)(null!==e[i][o[a]]||void 0!==e[i][o[a]])&&(t[i][o[a]]=e[i][o[a]])}setTemplateOptions(t,e=null){if(t){e||(e=nt.deepCopy(this.templateOptions));let i=void 0!==t.displayScoreWithAnswerText&&t.displayScoreWithAnswerText!==e.displayScoreWithAnswerText;if(this.templateOptions=Object.assign({},e,t),i)for(let r=0,o=this.itemList.length;r<o;r++){let a=this.itemList[r];a._hasAnswerList&&a._hasScoreInAnswer&&this._updateAutocompOptions(a)}this.setMessageLevel(this.templateOptions.messageLevel)}}_lfItemValueFromDefaultAnswer(t){var e=t.defaultAnswer;if(null==e||""===e)return!1;!t._hasAnswerList&&(t.dataType===Te_DATA_TYPE_DTM||t.dataType===Te_DATA_TYPE_DT)&&"string"==typeof e&&((e=nt.stringToDate(e))||console.error(t.defaultAnswer+": Invalid date/datetime string as defaultAnswer for "+t.questionCode)),zr.assignValueToItem(t,e)}_setTreeNodes(t,e){for(var i=t.length,r=i-1,o=null,a=1,s=0;s<i;s++){var l=t[s];if(Er.initializeCodes(l),l._text=l.prefix?l.prefix+" "+l.question:l.question,l.header?l.dataType!==Te_DATA_TYPE_TITLE&&(l.dataType=Te_DATA_TYPE_SECTION):l.units&&!l.dataType?l.dataType=Te_DATA_TYPE_REAL:l.dataType||(l.dataType=Te_DATA_TYPE_ST),("string"==typeof l.answers||"number"==typeof l.answers)&&this.answerLists&&Array.isArray(this.answerLists[l.answers])&&(l.answers=this.answerLists[l.answers]),this._packageStore&&this._loadAnswerValueSetsFromPackage(l),l._hasAnswerList=zr.hasAnswerList(l),"SECTION"===l.dataType?l.displayControl?l.displayControl.questionLayout||(l.displayControl.questionLayout="vertical"):(l.displayControl={questionLayout:"vertical"},l.layout&&(l.displayControl.questionLayout=l.layout,delete l.layout)):l._hasAnswerList&&(l.displayControl?l.displayControl.answerLayout||(l.displayControl.answerLayout=nt.deepCopy(this.templateOptions.defaultAnswerLayout.answerLayout)):l.displayControl=nt.deepCopy(this.templateOptions.defaultAnswerLayout)),l.extension&&this._fhir&&(this._fhir.SDC.buildExtensionMap(l),this._hasResponsiveExpr=this._hasResponsiveExpr||this._fhir.SDC.hasResponsiveExpression(l),this._hasInitialExpr=this._hasInitialExpr||this._fhir.SDC.hasInitialExpression(l),l._hasListExpr=this._fhir.SDC.hasListExpression(l)),this._updateItemAttrs(l),l._hasAnswerList?this._resetItemValueWithAnswers(l):!this.hasSavedData&&null!=l.defaultAnswer&&null==l.value&&this._lfItemValueFromDefaultAnswer(l),l._questionRepeatable&&o&&o.linkId===l.linkId?a+=1:a=1,l._id=a,l._idPath=e._idPath+this.PATH_DELIMITER+l._id,l._elementId=l.linkId+l._idPath,l._displayLevel=e._displayLevel+1,l._lastSibling=s===r,l._firstSibling=0===s,this._setupInFieldPlaceholders(l),l.value&&!l._hasAnswerList&&(l.dataType===Te_DATA_TYPE_DT||l.dataType===Te_DATA_TYPE_DTM)&&(l.value=nt.stringToDate(l.value)),!l._hasAnswerList&&(l.dataType===Te_DATA_TYPE_INT||l.dataType===Te_DATA_TYPE_REAL||l.dataType===Te_DATA_TYPE_QTY)&&"number"==typeof l.value&&(l.value=l.value+""),(l._answerRequired||l.restrictions||l.dataType!==Te_DATA_TYPE_ST&&l.dataType!==Te_DATA_TYPE_TX&&l.dataType!==Te_DATA_TYPE_DTM&&l.dataType!==Te_DATA_TYPE_DT&&l.dataType!==Te_DATA_TYPE_TM&&!l._hasAnswerList)&&(l._hasValidation=!0),("LOINC"===l.questionCodeSystem||"LOINC"===this.codeSystem&&!l.questionCodeSystem)&&(l._linkToDef="http://s.details.loinc.org/LOINC/"+l.questionCode+".html"),l.items&&l.items.length>0&&this._setTreeNodes(l.items,l),l._questionRepeatable&&1===l._id){delete l._parentItem;var u=nt.deepCopy(l);this._removeUserDataAndRepeatingSubItems(u),this._repeatableItems[l.linkId]=u}l._parentItem=e,o=l}}_setupInFieldPlaceholders(t){if(!t._readOnly)if(t._entryFormat)t._placeholder=t._entryFormat;else if(t._hasAnswerList)t._placeholder=t.dataType===Te_DATA_TYPE_CWE?t.externallyDefined?t._multipleAnswers?"Search for or type values":"Search for or type a value":t._multipleAnswers?"Select one or more or type a value":"Select one or type a value":t.externallyDefined?t._multipleAnswers?"Search for values":"Search for value":t._multipleAnswers?"Select one or more":"Select one";else switch(t.dataType){case Te_DATA_TYPE_DT:t._placeholder="MM/DD/YYYY";break;case Te_DATA_TYPE_DTM:t._placeholder="MM/DD/YYYY HH:MM:SS";break;case Te_DATA_TYPE_TM:t._placeholder="HH:MM:SS";break;case Te_DATA_TYPE_CNE:t._placeholder=t.externallyDefined?t._multipleAnswers?"Search for values":"Search for value":t._multipleAnswers?"Select one or more":"Select one";break;case Te_DATA_TYPE_CWE:t._placeholder=t.externallyDefined?t._multipleAnswers?"Search for or type values":"Search for or type a value":t._multipleAnswers?"Select one or more or type a value":"Select one or type a value";break;case"SECTION":case"TITLE":case"":t._placeholder="";break;case Te_DATA_TYPE_INT:case Te_DATA_TYPE_REAL:case Te_DATA_TYPE_QTY:t._placeholder="Type a number";break;default:t._placeholder="Type a value"}}_removeUserDataAndRepeatingSubItems(t){if(t.value=null,t.unit=null,t.items&&t.items.length>0)for(var e=0;e<t.items.length;e++){var i=t.items[e];i._questionRepeatable&&1!=i._id?(t.items.splice(e,1),e--):this._removeUserDataAndRepeatingSubItems(i)}}_updateItemAttrs(t){if(t.questionCardinality||(t.questionCardinality={min:"1",max:"1"}),t.answerCardinality||(t.answerCardinality={min:"0",max:"1"}),!Array.isArray(t.answers)&&""!==t.answers&&this.answerLists&&(t.answers=this.answerLists[t.answers]),Array.isArray(t.answers)&&(t.dataType===Te_DATA_TYPE_CNE||t.dataType===Te_DATA_TYPE_CNE))for(var e=t.answerCodeSystem?Er.getCodeSystem(t.answerCodeSystem):null,i=0,r=t.answers.length;i<r;i++){var o=t.answers[i];o.system?o.system=Er.getCodeSystem(o.system):o.codeSystem?(o.system=Er.getCodeSystem(o.codeSystem),delete o.codeSystem):e&&(o.system=e)}t._questionRepeatable=t.questionCardinality.max&&("*"===t.questionCardinality.max||parseInt(t.questionCardinality.max)>1),t._answerRequired=t.answerCardinality.min&&t.answerCardinality.min&&parseInt(t.answerCardinality.min)>=1,t._multipleAnswers=Er._hasMultipleAnswers(t),t._readOnly=t.editable&&"0"===t.editable||!!t.calculationMethod,this._fhir&&(this._fhir.SDC.processExtensions(t,"obj_text"),this._fhir.SDC.processExtensions(t,"obj_prefix"))}_isHidden(t){return t._skipLogicStatus===Te_SKIP_LOGIC_STATUS_DISABLED||t._isHiddenFromView||!1===t._enableWhenExpVal}_updateTreeNodes(t,e){for(var i=t.length,r=i-1,o=!1,a=i-1;a>=0;a--){if((s=t[a])._id||(s._id=1),s._idPath=e._idPath+this.PATH_DELIMITER+s._id,s._elementId=s.linkId+s._idPath,s._displayLevel=e._displayLevel+1,s._parentItem=e,s._repeatingSectionList=null,this._updateItemAttrs(s),s._lastSibling=a===r,o||(this._isHidden(s)?(s._lastSibling=!1,r-=1):(s._lastSibling=!0,o=!0)),s._questionRepeatable&&1===s._id&&!this._repeatableItems[s.linkId]){delete s._parentItem;var l=nt.deepCopy(s);this._removeUserDataAndRepeatingSubItems(l),this._repeatableItems[s.linkId]=l}s._parentItem=e,s.items&&s.items.length>0&&this._updateTreeNodes(s.items,s)}var u=!1,f=0;for(a=0;a<i;a++){var s;(s=t[a])._firstSibling=a===f,u||(s._skipLogicStatus===Te_SKIP_LOGIC_STATUS_DISABLED?(s._firstSibling=!1,f+=1):(s._firstSibling=!0,u=!0))}}getFormData(t,e,i){for(var r=this.getUserData(!1,t,e,i),o=!1,a=0,s=this.itemList.length;a<s;a++)if(!Er.isItemValueEmpty(this.itemList[a].value)){o=!0;break}var u={lformsVersion:this.lformsVersion,PATH_DELIMITER:this.PATH_DELIMITER,code:this.code,codeList:this.codeList,identifier:this.identifier,codeSystem:this.codeSystem,name:this.name,type:this.type,template:this.template,copyrightNotice:this.copyrightNotice,items:r.itemsData,templateOptions:nt.deepCopy(this.templateOptions)};return this.extension&&this.extension.length>0&&(u.extension=this.extension),o&&(u.hasSavedData=!0),this.fhirVersion&&(u.fhirVersion=this.fhirVersion),u}getUserData(t,e,i,r){var o={};return this._invalidData=!1,this._checkSubTreeValues(this.items),o.itemsData=this._processDataInItems(this.items,t,e,i,r),nt.deepCopy(o)}checkValidity(){const t=[],e=this.itemList.length;for(let i=0;i<e;i++){const r=this.itemList[i];if(r._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED&&(this._checkValidations(r),void 0!==r._validationErrors&&r._validationErrors.length)){const o=r._validationErrors.map(a=>`${r.question} ${a}`);Array.prototype.push.apply(t,o)}}return t.length?t:null}_checkSubTreeValues(t){for(var e=0,i=t.length;e<i;e++)this._setSubTreeHasValue(t[e])}_setSubTreeHasValue(t){var e=!1;if(Er.isItemValueEmpty(t.value)||(e=!0),t.items&&t.items.length>0)for(var i=0,r=t.items.length;i<r;i++)this._setSubTreeHasValue(t.items[i])&&(e=!0);return t._itemOrSubtreeHasValue=e,e}_processDataInItems(t,e,i,r,o){for(var a=[],s=0,l=t.length;s<l;s++){var u=t[s],f={};if(!(r&&u._skipLogicStatus===Te_SKIP_LOGIC_STATUS_DISABLED||i&&!u._itemOrSubtreeHasValue&&u.dataType!==Te_DATA_TYPE_SECTION&&u.dataType!==Te_DATA_TYPE_TITLE)){if(e)f.questionCode=u.questionCode,u.dataType!==Te_DATA_TYPE_SECTION&&u.dataType!==Te_DATA_TYPE_TITLE&&(void 0!==u.value&&(f.value=this._getOriginalValue(u.value,u.dataType,u._hasAnswerList)),u.unit&&(f.unit=this._getOriginalValue(u.unit)));else for(var p in u.extension&&u.extension.length>0&&(f.extension=u.extension),u)"value"===p?f[p]=this._getOriginalValue(u[p],u.dataType,u._hasAnswerList):"unit"===p?f[p]=this._getOriginalValue(u[p]):!p.match(/^[_\$]/)&&"extension"!==p&&(f[p]=u[p]),o&&(f._id=u._id);u.items&&u.items.length>0&&(f.items=this._processDataInItems(u.items,e,i,r,o)),(!i||f.items&&0!==f.items.length||u._itemOrSubtreeHasValue)&&a.push(f)}}return a}_filterInternalData(t,e){var i={};if(e&&t._notOnList&&!t.code&&!t.system)i=t.text;else for(var r in t)r.match(/^[_\$]/)||(i[r]=t[r]);return i}getItemValues(t){var e;if(t._questionRepeatable){e=[];for(var r=t._parentItem.items,o=t.linkId,a=!1,s=0,l=r.length;s<l;++s){var u=r[s];if(u.linkId===o)Er.isItemValueEmpty(u.value)||e.push(u.value),a=!0;else if(a)break}}else{var i=t.value;e=Er.isItemValueEmpty(i)?[]:t._multipleAnswers?i:[i]}return e}_getObjectValue(t,e=!1){var i=null;if(t)if(Array.isArray(t)){for(var r=[],o=0,a=t.length;o<a;o++)r.push("object"==typeof t[o]?this._filterInternalData(t[o],e):t[o]);i=r}else"object"==typeof t&&(i=this._filterInternalData(t,e));return i}_getOriginalValue(t,e=null,i=!1){var r;if(null!=t)if(e)switch(e){case Te_DATA_TYPE_INT:i?r=t:Array.isArray(t)?r=t.map(o=>(nt.isInteger(o)||(this._invalidData=!0),parseInt(o))):(nt.isInteger(t)||(this._invalidData=!0),r=parseInt(t));break;case Te_DATA_TYPE_REAL:case Te_DATA_TYPE_QTY:nt.isDecimal(t)||(this._invalidData=!0),r=parseFloat(t);break;case Te_DATA_TYPE_DT:r=i?t:Array.isArray(t)?t.map(o=>nt.dateToDTStringISO(o)):nt.dateToDTStringISO(t);break;case Te_DATA_TYPE_DTM:r=nt.dateToDTMString(t);break;case Te_DATA_TYPE_CNE:r=this._getObjectValue(t);break;case Te_DATA_TYPE_CWE:r=this._getObjectValue(t,!0);break;case Te_DATA_TYPE_BL:r=!!t;break;default:r=t}else r=this._getObjectValue(t);return r}getRepeatingItemMaxId(t){var e=t._id;if(t._parentItem&&Array.isArray(t._parentItem.items))for(var i=0,r=t._parentItem.items.length;i<r;i++)t._parentItem.items[i].linkId===t.linkId&&t._parentItem.items[i]._id>e&&(e=t._parentItem.items[i]._id);return e}getRepeatingItemCount(t){var e=0;if(t._parentItem&&Array.isArray(t._parentItem.items))for(var i=0,r=t._parentItem.items.length;i<r;i++)t._parentItem.items[i].linkId===t.linkId&&e++;return e}_updateLastRepeatingItemsStatus(t){if(t&&0!==t.length){for(var e=t.length,i="",r=0;r<e;r++){var o=t[r];""!==i&&(t[r-1]._lastRepeatingItem=!(i===o.linkId||!t[r-1]._questionRepeatable)),i=o.linkId,o.items&&o.items.length>0&&this._updateLastRepeatingItemsStatus(o.items)}t[e-1]._lastRepeatingItem=!!t[e-1]._questionRepeatable,t[e-1].items&&t[e-1].items.length>0&&this._updateLastRepeatingItemsStatus(t[e-1].items)}}_getLastSubItem(t){var e=t;if(t&&Array.isArray(t.items)&&t.items.length>0){var i,r=t.items.length,o=!1;do{(i=t.items[--r])._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED&&(o=!0)}while(!o);o&&(e=this._getLastSubItem(i))}return e}_resetHorizontalTableInfo(){this._horizontalTableInfo={};for(var t=null,e=null,i=0,r=this.itemList.length;i<r;i++){var o=this.itemList[i];if(o.dataType===Te_DATA_TYPE_SECTION&&o.displayControl&&"horizontal"==o.displayControl.questionLayout){var a=[],s=[];o._inHorizontalTable=!0;var l=o.linkId+o._parentItem._idPath;if(e=o._elementId,null===t||t!==l){t=l,o._horizontalTableHeader=!0,o._horizontalTableId=t;for(var u=0,f=(a=o.items).length;u<f;u++){var p=a[u];s.push({item:p,id:"col"+p._elementId,displayControl:p.displayControl}),a[u]._inHorizontalTable=!0}this._horizontalTableInfo[t]={tableStartIndex:i,tableEndIndex:i+a.length,columnHeaders:s,tableRows:[{header:o,cells:a}],tableHeaders:[o]},this._horizontalTableInfo[t].lastHeaderId=e}else if(t===l){for(o._horizontalTableHeader=!1,u=0,f=(a=o.items).length;u<f;u++)a[u]._inHorizontalTable=!0;this._horizontalTableInfo[t].tableRows.push({header:o,cells:a}),this._horizontalTableInfo[t].tableHeaders.push(o),this._horizontalTableInfo[t].tableEndIndex=i+a.length,this._horizontalTableInfo[t].lastHeaderId=e}}}}_adjustLastSiblingListForHorizontalLayout(){var t=this._horizontalTableInfo;for(var e in t){var i=t[e].tableHeaders;i.length>1&&(i[0]._lastSibling=i[i.length-1]._lastSibling)}}addRepeatingItems(t){var e=this.getRepeatingItemMaxId(t),i=nt.deepCopy(this._repeatableItems[t.linkId]);if(i._id=e+1,t._parentItem&&Array.isArray(t._parentItem.items)){for(var r=0,o=0,a=t._parentItem.items.length;o<a;o++)if(t._parentItem.items[o].linkId===t.linkId&&t._parentItem.items[o]._id===t._id){r=o;break}t._parentItem.items.splice(r+1,0,i),i._parentItem=t._parentItem,this._presetSkipLogicStatus(i,!1)}this._resetInternalData();var s="Added "+this.itemDescription(t);return this._actionLogs.push(s),LForms.FHIR&&this._hasResponsiveExpr&&this._expressionProcessor.runCalculations(!1).then(()=>{}),i}_findIndexForNewRepetition(t){for(var e=0,i=!1,r=0,o=t._parentItem.items.length;r<o;r++)if(t._parentItem.items[r].linkId===t.linkId&&(i=!0),i&&t._parentItem.items[r].linkId!==t.linkId){e=r;break}return i&&r===o&&(e=r),e}appendRepeatingItems(t){var e=this.getRepeatingItemMaxId(t),i=nt.deepCopy(this._repeatableItems[t.linkId]);if(i._id=e+1,t._parentItem&&Array.isArray(t._parentItem.items)){var r=this._findIndexForNewRepetition(t);t._parentItem.items.splice(r,0,i),i._parentItem=t._parentItem,this._presetSkipLogicStatus(i,!1)}this._resetInternalData();var o="Added "+this.itemDescription(t);return this._actionLogs.push(o),i}areAnyRepeatingItemsEmpty(t){for(var e=!1,i=this._getRepeatingItems(t),r=0,o=i.length;r<o;r++)i[r]._showUnusedItemWarning=!1,this._isRepeatingItemEmpty(i[r])&&(e=!0);return e&&(t._showUnusedItemWarning=!0),e}_isRepeatingItemEmpty(t){var e=!0;if(t.dataType!==Te_DATA_TYPE_SECTION){if(null==t.value||""===t.value)return e;if(t._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED)if(Array.isArray(t.value)&&t.value.length>0){for(var i=!1,r=0,o=t.value.length;r<o&&(t.value[r].text&&(i=null!=t.value[r].text&&""!==t.value[r].text),!i);r++);e=!i}else if("object"==typeof t.value){const l=t.value;e=!(null!=l.data||l.url||l.text||l instanceof Date)}else null!=t.value&&""!==t.value&&(e=!1)}if(e&&t.items)for(var a=0,s=t.items.length;a<s&&(e=this._isRepeatingItemEmpty(t.items[a]));a++);return e}_getRepeatingItems(t){var e=[];if(t._questionRepeatable&&t._parentItem&&Array.isArray(t._parentItem.items))for(var i=t._parentItem.items,r=0,o=i.length;r<o;r++)i[r].linkId===t.linkId&&e.push(i[r]);return e}getPrevRepeatingItem(t){var e=this._getRepeatingItems(t),r=e.map(function(o){return o._elementId}).indexOf(t._elementId);return r>0?e[r-1]:null}getNextRepeatingItem(t){var e=this._getRepeatingItems(t),r=e.map(function(o){return o._elementId}).indexOf(t._elementId);return r<e.length-1?e[r+1]:null}getFirstRepeatingItem(t){return this._getRepeatingItems(t)[0]}getLastRepeatingItem(t){var e=this._getRepeatingItems(t);return e[e.length-1]}removeRepeatingItems(t){if(t._parentItem&&Array.isArray(t._parentItem.items))for(var e=0,i=t._parentItem.items.length;e<i;e++)if(t._parentItem.items[e].linkId==t.linkId&&t._parentItem.items[e]._id==t._id){t._parentItem.items.splice(e,1);break}this._resetInternalData();var r="Removed "+this.itemDescription(t);this._actionLogs.push(r),LForms.FHIR&&this._hasResponsiveExpr&&this._expressionProcessor.runCalculations(!1).then(()=>{})}setRepeatingItems(t,e,i,r){var a,o=!1;let s=!1,l=!1;if(nt.deepEqual(t._lastComputedMessages,i)||(t._lastComputedRepeatingMessages=i,s=!0),t._questionRepeatable){if(t._parentItem&&Array.isArray(t._parentItem.items)){a=this._getRepeatingItems(t);var p,P,f=e.length-a.length;if(o=0!==f,f<0&&(P=this._findIndexForNewRepetition(t)+f,t._parentItem.items.splice(P,-f),a.splice(f),0===e.length&&(f=1,p=0)),f>0){void 0===P&&(P=this._findIndexForNewRepetition(t),p=this.getRepeatingItemMaxId(t));for(var E=this._isHidden(t._parentItem),H=0;H<f;++H){var G=nt.deepCopy(this._repeatableItems[t.linkId]);G._id=p+1,t._parentItem.items.splice(P,0,G),G._parentItem=t._parentItem,a.push(G),this._presetSkipLogicStatus(G,E)}}H=0;for(var ne=e.length;H<ne;++H)l=zr.assignValueToItem(a[H],e[H])||l,s&&zr.setItemMessages(a[H],i[H],r)}}else t._multipleAnswers?t.value=e:(l=zr.assignValueToItem(t,e[0])||l,e.length>1?(zr.addItemWarning(t,"MultipleValuesForNonRepeat"),console.log(JSON.stringify(e))):zr.removeItemWarning(t,"MultipleValuesForNonRepeat")),s&&zr.setItemMessagesArray(t,i,r);o&&this._resetInternalData();var he="Set values for "+this.itemDescription(t);return this._actionLogs.push(he),l&&this.updateOnSourceItemChange(t),o?a[a.length-1]:void 0}setRepeatingItemMessages(t,e,i){if(!nt.deepEqual(t._lastComputedMessages,e))if(t._lastComputedRepeatingMessages=e,t._questionRepeatable){if(t._parentItem&&Array.isArray(t._parentItem.items)){const a=this._getRepeatingItems(t);for(var r=0,o=a.length;r<o;++r)zr.setItemMessages(a[r],e[r],i)}}else zr.setItemMessagesArray(t,e,i)}itemDescription(t){return t._inHorizontalTable?"row":t.dataType===Te_DATA_TYPE_SECTION?"section":"question"}_getScores(t,e){for(var i=[],r=this._getFormulaSourceItems(t,e.value),o=0,a=r.length;o<a;o++){var s=0;(t=r[o])&&t.value&&t.value.score&&t._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED&&(s=t.value.score),i.push(s)}return i}_getFormulaSourceItems(t,e){for(var i=[],r=0,o=e.length;r<o;r++){var s=this._findItemByLinkId(t,e[r]);i.push(s)}return i}_getValuesInStandardUnit(t,e){for(var i=[],r=this._getFormulaSourceItems(t,e.value),o=0,a=r.length;o<a;o++){var s=null;(t=r[o]).value&&t._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED&&(s=t.unit&&t.unit.name?Qq.getValueInStandardUnit(parseFloat(t.value),t.unit.name):parseFloat(t.value)),i.push(s)}return i}getFormulaResult(t){var e="",i=[];if(t.calculationMethod){var r=t.calculationMethod;i=r.name===Te_CALCULATION_METHOD_TOTALSCORE?this._getScores(t,r):this._getValuesInStandardUnit(t,r),e=Zq.calculations_[r.name](i)}return e}_processItemFormula(t){var e=!1;if(t.calculationMethod&&t.calculationMethod.name){let i=this.getFormulaResult(t);nt.deepEqual(i,t.value)||(t.value=i,e=!0)}return e}_processItemDataControl(t){var e=!1;return t.dataControl&&Array.isArray(t.dataControl)&&(e=this._updateDataByDataControl(t))&&(this._updateAutocompOptions(t),this._updateUnitAutocompOptions(t)),e}_constructObjectByDataFormat(t,e){var i={};if("object"==typeof t)for(var r=Object.keys(t),o=0,a=r.length;o<a;o++)i[r[o]]=this._getDataFromNestedAttributes(t[r[o]],e);return i}_constructArrayByDataFormat(t,e){var i=[],r=!1;if("object"==typeof t){for(var o=Object.keys(t),a={},s=o.length,l=-1,u=0;u<s;u++){var f=a[o[u]]=this._getDataFromNestedAttributes(t[o[u]],e);if(!Array.isArray(f)){r=!0;break}if(-1===l)l=f.length;else if(l!==f.length){r=!0;break}}if(!r)for(var p=0;p<l;p++){var P={};for(u=0;u<s;u++)P[o[u]]=a[o[u]][p];i.push(P)}}return i}_updateDataByDataControl(t){for(var e=!1,i=0,r=t.dataControl.length;i<r;i++){var o=t.dataControl[i].source,a=t.dataControl[i].onAttribute,s=t.dataControl[i].construction,l=t.dataControl[i].dataFormat;if(a||(a="value"),s||(s=Te_DATA_CONTROL_CONSTRUCTION_SIMPLE),l||(l="value"),o){var u=o.sourceType;if(u||(u=Te_DATA_CONTROL_SOURCE_INTERNAL),u===Te_DATA_CONTROL_SOURCE_INTERNAL&&o.sourceLinkId){var f=this._findItemByLinkId(t,o.sourceLinkId);if(f&&f._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED){let p;s===Te_DATA_CONTROL_CONSTRUCTION_ARRAY?p=this._constructArrayByDataFormat(l,f):s===Te_DATA_CONTROL_CONSTRUCTION_OBJECT?p=this._constructObjectByDataFormat(l,f):s===Te_DATA_CONTROL_CONSTRUCTION_SIMPLE&&(p=this._getDataFromNestedAttributes(l,f)),nt.deepEqual(t[a],p)||(t[a]=nt.deepCopy(p),e=!0)}}}}return e}_getDataFromNestedAttributes(t,e){for(var i=t.trim().split("."),r=e,o=i.length,a=0;a<o&&r;a++){var s=i[a];if(!s)break;var l=s.match(/^(.+)\[(\d+)\]$/);if(l){r=r[l[1]];var u=parseInt(l[2]);if(!Number.isInteger(u))break;r=r[u]}else r=r[s]}return a===o&&r?r:null}_setUpAnswerAndUnitAutoComp(t){for(var e=0,i=t.length;e<i;e++){var r=t[e];r._hasAnswerList&&this._updateAutocompOptions(r),this._updateUnitAutocompOptions(r)}}_setUnitDisplay(t){t._displayUnit=t.name?t.name:t.code?t.code:null}_updateUnitAutocompOptions(t){if(t.units&&!t._hasAnswerList){t.unit&&this._setUnitDisplay(t.unit),t._unitAutocompOptions=null;for(var r,e=[],i=t.units,o=0,a=i.length;o<a;o++){var s=nt.deepCopy(i[o]);this._setUnitDisplay(s),i[o].default&&(r=s),s._displayUnit&&e.push(s)}if((t.dataType===Te_DATA_TYPE_INT||t.dataType===Te_DATA_TYPE_REAL)&&(t.units&&t.units.length>1?(console.log('Form definition warning: Data types of INT or REAL may only have one unit. Question "'+t.question+'" has '+t.units.length+" units. For multiple units, use type QTY instead."),t.dataType=Te_DATA_TYPE_QTY):(t._unitReadonly=!0,t.unit||(t.unit=e[0]))),t.dataType===Te_DATA_TYPE_QTY){var l={listItems:e,matchListValue:t.units&&(!t._unitOpen||"optionsOrString"!=t._unitOpen)||!t.units&&"optionsOnly"==t._unitOpen,autoFill:!0,display:"_displayUnit"};void 0!==r?l.defaultValue=r:1===e.length&&(l.defaultValue=e[0]),nt.deepEqual(t._unitAutocompOptions,l)||(t._unitAutocompOptions=l)}}}_resetItemValueWithAnswers(t){var e=null,i=this.hasSavedData?t.value:t.value||t.defaultAnswer;if(i){e=[];var r=t._multipleAnswers&&Array.isArray(i)?i:[i];if(t.dataType!==Te_DATA_TYPE_CWE)e=r;else for(var o=0,a=r.length;o<a;++o)"string"==typeof r[o]||"number"==typeof r[o]?(e.push({text:r[o],_notOnList:!0}),t._answerOther=r[o],t._answerOtherChecked=!0):e.push(r[o])}if(e){var s=[];if(t.dataType===Te_DATA_TYPE_CNE||t.dataType===Te_DATA_TYPE_CWE)for(var l=0,u=e.length;l<u;++l){var f=e[l],p=!1;if(t.externallyDefined)s=e;else if(Array.isArray(t.answers)){for(var P=0,E=t.answers.length;!p&&P<E;++P)nt.areTwoAnswersSame(f,t.answers[P],t)&&(s.push(t.answers[P]),p=!0);!p&&t.dataType===Te_DATA_TYPE_CWE&&(f._notOnList=!0,s.push(f))}else s.push(f)}else s=e;t.value=t._multipleAnswers?s:s[0]}}_fhirClientSearchByValueSetID(t,e,i){return LForms.fhirContext.client.request(this._buildURL(["ValueSet",t,"$expand"],{count:i,filter:e}))}_findValueSetIDAndSearch(t,e,i){var r="Could not retrieve the ValueSet definition for "+t.answerValueSet,o=LForms.fhirContext.client;LForms._valueSetUrlToID||(LForms._valueSetUrlToID={});var a=LForms._valueSetUrlToID[t.answerValueSet];if(a)return this._fhirClientSearchByValueSetID(a,e,i);{const s=this;return o.request(this._buildURL(["ValueSet"],{url:t.answerValueSet,_total:"accurate"})).then(function(l){if(1===l.total){var f=l.entry[0].resource.id;return LForms._valueSetUrlToID[t.answerValueSet]=f,s._fhirClientSearchByValueSetID(f,e,i)}return console.log(r),Promise.reject(r)},function(l){return console.log(r),Promise.reject(r)})}}_updateAutocompOptions(t){var e;if(t._hasAnswerList){var i=t.answerCardinality?t.answerCardinality.max:1;"*"!==i&&"string"==typeof i&&(i=parseInt(i));var r={matchListValue:t.dataType!==Te_DATA_TYPE_CWE,maxSelect:i,autoFill:!1},o=t.externallyDefined;if(o){if(r.url=o,r.autocomp=!0,r.nonMatchSuggestions=!1,r.tableFormat=!0,r.valueCols=[0],r.colHeaders=t.displayControl.listColHeaders,r.colHeaders)for(var a=r.colHeaders,s=0,l=a.length;s<l;++s)a[s]=a[s].replace(/</g,"<")}else if(t.isSearchAutocomplete&&t.answerValueSet){var f=this._getFHIRSupport().SDC._getExpansionURL(t);if(f)r.url=f,r.fhir=!0;else{if(null===(e=LForms.fhirContext)||void 0===e||!e.client)throw new Error('Cannot properly initialize the list for field "'+t.question+'" because it requires either a terminology server to be specified or LForms.Util.setFHIRContext(...) to have been called to provide access to a FHIR server.');{const ne=this;r.fhir={search:function(he,ye){return LForms.fhirCapabilities.urlExpandBroken?ne._findValueSetIDAndSearch(t,he,ye):LForms.fhirContext.client.request(ne._buildURL(["ValueSet","$expand"],{count:ye,filter:he,url:t.answerValueSet})).catch(Pe=>(LForms.fhirCapabilities.urlExpandBroken=!0,ne._findValueSetIDAndSearch(t,he,ye)))}}}}}else{[r.listItems,r.addSeqNum]=this._getAnswerDisplayTextWithLabelAndScore(this.templateOptions.displayScoreWithAnswerText,t),r.display="_displayText",r.listItemsForModel=t.answers;var p=r.listItems,P=!0;for(s=0,l=p.length;s<l&&P;++s)P=!!p[s].parentAnswerCode;if(!P){var E=[],H={};for(s=0,l=p.length;s<l;++s){var G=p[s];E.push(G.code),G.parentAnswerCode&&(H[G.code]=G.parentAnswerCode)}r.codes=E,r.itemToHeading=H}}nt.deepEqual(r,t._autocompOptions)||(t._autocompOptions=r)}}_getAnswerDisplayTextWithLabelAndScore(t,e){var i=[],r=!1,o=!1;let a=e.answers;if(a&&Array.isArray(a))for(var s=0,l=a.length;s<l;s++){var u=nt.deepCopy(a[s]),f=u.text+"";u.label?(f=u.label+". "+f,r=!0):!o&&!isNaN(u.text)&&(o=!0),null!=u.score&&(e._hasScoreInAnswer=!0,t&&(f=f+" - "+u.score)),u._displayText=f,i.push(u)}return[i,!r&&!o]}_inRange(t,e){var i=!1;if(t&&!isNaN(e)){var r=Object.keys(t);if(1==r.length)switch(r[0]){case"minInclusive":i=t.minInclusive<=e;break;case"minExclusive":i=t.minExclusive<e;break;case"maxInclusive":i=t.maxInclusive>=e;break;case"maxExclusive":i=t.maxExclusive>e}else 2==r.length&&(t.hasOwnProperty("minInclusive")?i=t.minInclusive<=e:t.hasOwnProperty("minExclusive")&&(i=t.minExclusive<e),i&&(t.hasOwnProperty("maxInclusive")?i=t.maxInclusive>=e:t.hasOwnProperty("maxExclusive")&&(i=t.maxExclusive>e)))}return i}_objectEqual(t,e){return nt.shallowEqual(t,e)}_findItemByLinkId(t,e){for(var i=null,r=t._parentItem,o=!1;!o&&r;)r.linkId===e&&(i=r,o=!0),r=r._parentItem;var a=null;if(!i){for(var s=0,l=this.itemList.length;s<l;s++)if(t._elementId===this.itemList[s]._elementId){a=s;break}if(null!==a){for(var u=a-1;u>=0;u--)if(this.itemList[u].linkId===e){i=this.itemList[u];break}if(!i)for(var f=a+1,p=this.itemList.length;f<p;f++)if(this.itemList[f].linkId===e){i=this.itemList[f];break}}}return i}_getSkipLogicSourceItem(t,e){return this._findItemByLinkId(t,e)}_codingsEqual(t,e){let i=!1,r=o=>null!=o&&""!==o;return(t.system===e.system||!t.system&&!e.system)&&(i=r(t.code)||r(e.code)?t.code===e.code:t.text&&e.text&&t.text===e.text),!!i}_checkSkipLogicCondition(t,e){var i=!1,r=t&&null!=t.value&&""!==t.value&&t._skipLogicStatus!==Te_SKIP_LOGIC_STATUS_DISABLED;if(e.hasOwnProperty("exists"))i=e.exists&&r||!e.exists&&!r;else if(r){var o=t.value;if(t._hasAnswerList)switch(t.dataType){case Te_DATA_TYPE_CNE:case Te_DATA_TYPE_CWE:case Te_DATA_TYPE_INT:case Te_DATA_TYPE_ST:case Te_DATA_TYPE_DT:case Te_DATA_TYPE_TM:for(var a=e.hasOwnProperty("value")?e.value:e.hasOwnProperty("notEqual")?e.notEqual:null,s=Array.isArray(o)?o:[o],l=!1,u=0,f=s.length;u<f;u++){let P=s[u];if(t.dataType===Te_DATA_TYPE_CNE||t.dataType===Te_DATA_TYPE_CWE){if(t.answerCodeSystem&&(P=Object.assign({system:t.answerCodeSystem},P)),this._codingsEqual(a,P)){l=!0;break}}else if(a===P.text){l=!0;break}}e.hasOwnProperty("value")?l&&(i=!0):e.hasOwnProperty("notEqual")&&(l||(i=!0))}else switch(t.dataType){case Te_DATA_TYPE_INT:case Te_DATA_TYPE_REAL:case Te_DATA_TYPE_QTY:var p=parseFloat(o);e.hasOwnProperty("value")?e.value===p&&(i=!0):e.hasOwnProperty("notEqual")?e.notEqual!=p&&(i=!0):this._inRange(e,p)&&(i=!0);break;case Te_DATA_TYPE_ST:case Te_DATA_TYPE_TX:case Te_DATA_TYPE_BL:e.hasOwnProperty("value")?e.value===o&&(i=!0):e.hasOwnProperty("notEqual")&&e.notEqual!=o&&(i=!0)}}else e.hasOwnProperty("notEqual")&&null!=e.notEqual&&""!==e.notEqual&&(i=!0);return i}_checkSkipLogic(t){var e=!1;if(t.skipLogic){var i="ALL"===t.skipLogic.logic,r=!t.skipLogic.logic||"ANY"===t.skipLogic.logic;e=i;for(var o=0,a=t.skipLogic.conditions.length;o<a;o++){var s=t.skipLogic.conditions[o],l=this._getSkipLogicSourceItem(t,s.source),u=this._checkSkipLogicCondition(l,s.trigger);if(i&&!u){e=!1;break}if(r&&u){e=!0;break}}}return e}getSkipLogicClass(t){return t._skipLogicStatus}needExtra(t){var e=!1;return t&&t.value&&!Array.isArray(t.value)&&t.value.other&&(e=!0),e}setActiveRow(t){this._activeItem=t}getActiveRowClass(t){var e="";return this._activeItem&&this._activeItem._elementId===t._elementId&&(e="lhc-active-row"),e}}const Xq={LOINC_URI:"http://loinc.org",LOINC_CS:"LN",obrFieldNum:43,obxFieldNum:17,DataType:{ST:"String",TX:"Text data",FT:"Formatted text",CQ:"Composite quantity with units",MO:"Money",NM:"Numeric",SI:"Sequence ID",SN:"Structured numeric",ID:"Coded values for HL7 tables",IS:"Coded values for user-defined tables",HD:"Hierarchic designator",EI:"Entity identifier",RP:"Reference pointer",PL:"Person location",PT:"Processing type",DT:"Date",DTM:"Date/Time",TM:"Time",TS:"Time stamp",CE:"Coded element",CF:"Coded element with formatted values",CK:"Composite ID with check digit",CN:"Composite ID number and name",CX:"Extended composite ID with check digit",XCN:"Extended composite ID number and name",CM:"Composite",AD:"Address",PN:"Person name",TN:"Telephone number",XAD:"Extended address",XPN:"Extended person name",XON:"Extended composite name and ID number for organizations",XTN:"Extended telecommunications number",CD:"Channel definition",MA:"Multiplexed array",NA:"Numeric array",ED:"Encapsulated data",CP:"Composite price",FC:"Financial class",QSC:"Query selection criteria",QIP:"Query input parameter list",RCD:"Row column definition",DLN:"Driver\u2019s license number",JCC:"Job code/class",VH:"Visiting hours",PPN:"Performing person time stamp",DR:"Date/time range",RI:"Repeat interval",SCV:"Scheduling class value pair",TQ:"Timing/quantity"},delimiters:{segment:"\r",field:"|",component:"^",subcomponent:"&",repetition:"~",escape:"\\"},OBX:[{seq:1,len:4,dt:"SI",opt:"O",name:"Set ID"},{seq:2,len:2,dt:"ID",opt:"R",name:"Value Type"},{seq:3,len:590,dt:"CE",opt:"R",name:"Observation Identifier"},{seq:4,len:20,dt:"ST",opt:"O",name:"Observation Sub-ID"},{seq:5,len:65536,dt:"ST",opt:"O",name:"Observation Value"},{seq:6,len:60,dt:"CE",opt:"O",name:"Units"},{seq:7,len:10,dt:"ST",opt:"O",name:"Reference Range"},{seq:8,len:5,dt:"ID",opt:"O",name:"Abnormal Flags"},{seq:9,len:5,dt:"NM",opt:"O",name:"Probability"},{seq:10,len:2,dt:"ID",opt:"O",name:"Nature of Abnormal Test"},{seq:11,len:1,dt:"ID",opt:"R",name:"Observation Result Status"},{seq:12,len:26,dt:"TS",opt:"O",name:"Date Last Obs Normal Values"},{seq:13,len:20,dt:"ST",opt:"O",name:"User Defined Access Checks"},{seq:14,len:26,dt:"TS",opt:"O",name:"Date/Time of the Observation"},{seq:15,len:60,dt:"CE",opt:"O",name:"Producer's ID"},{seq:16,len:80,dt:"XCN",opt:"O",name:"Responsible Observer"},{seq:17,len:80,dt:"CE",opt:"O",name:"Observation Method"}],OBR:[{seq:1,len:4,dt:"SI",opt:"C",name:"Set ID - OBR"},{seq:2,len:75,dt:"EI",opt:"C",name:"Placer Order Number"},{seq:3,len:75,dt:"EI",opt:"C",name:"Filler Order Number"},{seq:4,len:200,dt:"CE",opt:"R",name:"Universal Service ID"},{seq:5,len:2,dt:"ID",opt:"B",name:"Priority"},{seq:6,len:26,dt:"TS",opt:"B",name:"Requested Date/time"},{seq:7,len:26,dt:"TS",opt:"C",name:"Observation Date/Time"},{seq:8,len:26,dt:"TS",opt:"O",name:"Observation End Date/Time"},{seq:9,len:20,dt:"CQ",opt:"O",name:"Collection Volume"},{seq:10,len:60,dt:"XCN",opt:"O",name:"Collector Identifier"},{seq:11,len:1,dt:"ID",opt:"O",name:"Specimen Action Code"},{seq:12,len:60,dt:"CE",opt:"O",name:"Danger Code"},{seq:13,len:300,dt:"ST",opt:"O",name:"Relevant Clinical Info."},{seq:14,len:26,dt:"TS",opt:"C",name:"Specimen Received Date/Time"},{seq:15,len:300,dt:"CM",opt:"O",name:"Specimen Source"},{seq:16,len:80,dt:"XCN",opt:"O",name:"Ordering Provider"},{seq:17,len:40,dt:"XTN",opt:"O",name:"Order Callback Phone Number"},{seq:18,len:60,dt:"ST",opt:"O",name:"Placer field 1"},{seq:19,len:60,dt:"ST",opt:"O",name:"Placer field 2"},{seq:20,len:60,dt:"ST",opt:"O",name:"Filler Field 1"},{seq:21,len:60,dt:"ST",opt:"O",name:"Filler Field 2"},{seq:22,len:26,dt:"TS",opt:"C",name:"Results Rpt/Status Chng - Date/Time"},{seq:23,len:40,dt:"CM",opt:"O",name:"Charge to Practice"},{seq:24,len:10,dt:"ID",opt:"O",name:"Diagnostic Serv Sect ID"},{seq:25,len:1,dt:"ID",opt:"C",name:"Result Status"},{seq:26,len:400,dt:"CM",opt:"O",name:"Parent Result"},{seq:27,len:200,dt:"TQ",opt:"O",name:"Quantity/Timing"},{seq:28,len:150,dt:"XCN",opt:"O",name:"Result Copies To"},{seq:29,len:150,dt:"CM",opt:"O",name:"Parent"},{seq:30,len:20,dt:"ID",opt:"O",name:"Transportation Mode"},{seq:31,len:300,dt:"CE",opt:"O",name:"Reason for Study"},{seq:32,len:200,dt:"CM",opt:"O",name:"Principal Result Interpreter"},{seq:33,len:200,dt:"CM",opt:"O",name:"Assistant Result Interpreter"},{seq:34,len:200,dt:"CM",opt:"O",name:"Technician"},{seq:35,len:200,dt:"CM",opt:"O",name:"Transcriptionist"},{seq:36,len:26,dt:"TS",opt:"O",name:"Scheduled Date/Time"},{seq:37,len:4,dt:"NM",opt:"O",name:"Number of Sample Containers"},{seq:38,len:60,dt:"CE",opt:"O",name:"Transport Logistics of Collected Sample"},{seq:39,len:200,dt:"CE",opt:"O",name:"Collector\u2019s Comment"},{seq:40,len:60,dt:"CE",opt:"O",name:"Transport Arrangement Responsibility"},{seq:41,len:30,dt:"ID",opt:"O",name:"Transport Arranged"},{seq:42,len:1,dt:"ID",opt:"O",name:"Escort Required"},{seq:43,len:200,dt:"CE",opt:"O",name:"Planned Patient Transport Comment"}],getHL7V2DataType:function(n){var t;switch(n){case"INT":case"REAL":case"QTY":t="NM";break;case"NR":case"TX":case"DT":case"DTM":case"TM":case"CNE":case"CWE":t=n;break;default:t="ST"}return t},toHL7Segments:function(n){var t="",e={obrIndex:1,obxIndex:1},i=n.getFormData(!1,!0);this._generateOBX4(i);var r=new Array(this.obrFieldNum);r[0]="OBR",r[1]="1",r[4]=i.code+this.delimiters.component+i.name+this.delimiters.component+this.LOINC_CS;for(var a=this.obrFieldNum-1;a>=0;a--)void 0===r[a]||(void 0!==r[a]?t=r[a]+this.delimiters.field+t:t+=this.delimiters.field);if(t+=this.delimiters.segment,i.items)for(var l=0,u=i.items.length;l<u;l++)"TITLE"!==i.items[l].dataType&&(t+=this._itemToHL7v2(i.items[l],e));return t},_generateOBX4:function(n){n&&n.items&&this._precessOBX4AtOneLevel("",n.items)},_precessOBX4AtOneLevel:function(n,t){for(var e=0,i=1,r=null,o=0,a=t.length;o<a;o++){var l,s=t[o];if("SECTION"===s.dataType)if((l=s.questionCardinality.max)&&("*"===l||parseInt(l)>1)){if(this._isSectionEmpty(s))continue;!r||r&&r.questionCode!==s.questionCode?(i=1,e+=1):i+=1;var u=nt.getNextLetter(i);s._obx4=n?n+"."+e+u:e+u,this._precessOBX4AtOneLevel(s._obx4,s.items)}else i=1,e+=1,s._obx4=n?n+"."+e:e,this._precessOBX4AtOneLevel(s._obx4,s.items);else if((l=s.questionCardinality.max)&&("*"===l||parseInt(l)>1)){if(Er.isItemValueEmpty(s.value))continue;!r||r&&r.questionCode!==s.questionCode?i=1:i+=1,u=nt.getNextLetter(i),s._obx4=n?n+"."+u:u}else s._obx4=n||"",i=1;r=s}},_generateOBX5:function(n,t,e){var r=n.code;return"CWE"!==t||r||0===r?r+this.delimiters.component+n.text+this.delimiters.component+(n.system?"LOINC"===n.system||n.system===this.LOINC_URI?this.LOINC_CS:n.system:""):this.delimiters.component.repeat(8)+n.text},_DT_FMT:"YYYYMMDD",_DTM_FMT:"YYYYMMDDHHmmss",_itemToHL7v2:function(n,t){var e="",i=this.LOINC_CS;if("TITLE"!==n.dataType){var r=new Array(this.obrFieldNum);if(n.header){var o="";r[0]="OBR",r[1]=++t.obrIndex,r[4]=n.questionCode+this.delimiters.component+n.question+this.delimiters.component+i;for(var s=this.obrFieldNum-1;s>=0;s--)void 0===r[s]||(void 0!==r[s]?o=r[s]+this.delimiters.field+o:o+=this.delimiters.field);if(o+=this.delimiters.segment,n.items)for(var u=0,f=n.items.length;u<f;u++)e+=this._itemToHL7v2(n.items[u],t)}else if(!Er.isItemValueEmpty(n.value)){var p=Array.isArray(n.value),P=p?n.value:[n.value],E=[];if(E[0]="OBX",E[1]=t.obxIndex++,E[2]=this.getHL7V2DataType(n.dataType),E[3]=n.questionCode+this.delimiters.component+n.question+this.delimiters.component+i,n.unit){var H="";void 0!==n.unit.name&&(H=n.unit.name),E[6]=H+this.delimiters.component+H+this.delimiters.component+this.LOINC_CS}s=0;for(var G=P.length;s<G;++s){var ne=P[s];if(E[4]=n._obx4,p&&(""!==n._obx4&&(E[4]+="."),E[4]+=nt.getNextLetter(s+1)),"CNE"===n.dataType||"CWE"===n.dataType)E[5]=this._generateOBX5(ne,n.dataType);else if("DT"===n.dataType||"DTM"===n.dataType){var he="string"==typeof ne?nt.stringToDate(ne):ne;E[5]=nt.formatDate(he,"DT"===n.dataType?this._DT_FMT:this._DTM_FMT)}else E[5]=ne.toString();e+=E.join(this.delimiters.field)+this.delimiters.field+this.delimiters.segment}}}return e},_isSectionEmpty:function(n){var t=!0;if(n.items)for(var e=0,i=n.items.length;e<i&&t;e++){var r=n.items[e];t="SECTION"===r.dataType?!0===r._emptySection||!1===r._emptySection?r._emptySection:this._isSectionEmpty(r):Er.isItemValueEmpty(r.value)}return n._emptySection=t,t}};var Jq=O(5076),ih=O.n(Jq),ej=O(82);const Uw={LFormsData:Bw,HL7:Xq,ucumPkg:qq,Util:Er,Def:ih(),Validations:nh,lformsVersion:"33.4.2"};function st(n,t,e,i){var a,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,t,e,i);else for(var s=n.length-1;s>=0;s--)(a=n[s])&&(o=(r<3?a(o):r>3?a(t,e,o):a(t,e))||o);return r>3&&o&&Object.defineProperty(t,e,o),o}function is(n,t,e,i){return L(e)&&(i=e,e=void 0),i?is(n,t,e).pipe(Ve(r=>m(r)?i(...r):i(r))):new te(r=>{$w(n,t,function o(a){r.next(arguments.length>1?Array.prototype.slice.call(arguments):a)},r,e)})}function $w(n,t,e,i,r){let o;if(function oj(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const a=n;n.addEventListener(t,e,r),o=()=>a.removeEventListener(t,e,r)}else if(function rj(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const a=n;n.on(t,e),o=()=>a.off(t,e)}else if(function ij(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const a=n;n.addListener(t,e),o=()=>a.removeListener(t,e)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let a=0,s=n.length;a<s;a++)$w(n[a],t,e,i,r)}i.add(o)}function Pt(n){return t=>t.lift(new aj(n))}Uw.Util.FHIRSupport=ej;class aj{constructor(t){this.notifier=t}call(t,e){const i=new sj(t),r=Cn(this.notifier,new bi(i));return r&&!i.seenValue?(i.add(r),e.subscribe(i)):i}}class sj extends Ar{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}
|
|
2073
2073
|
/**
|
|
2074
2074
|
* @license
|
|
2075
2075
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -2469,4 +2469,5 @@ function GO(n,t,e){(function yP(n,t,e){"string"!=typeof t&&(e=t,t=n[He.LocaleId]
|
|
|
2469
2469
|
*/(),sA().bootstrapModule(ene).catch(n=>console.error(n))},9719:(Q,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.Ucum=void 0,K.Ucum={dimLen_:7,validOps_:[".","/"],codeSep_:": ",valMsgStart_:"Did you mean ",valMsgEnd_:"?",cnvMsgStart_:"We assumed you meant ",cnvMsgEnd_:".",openEmph_:" ->",closeEmph_:"<- ",openEmphHTML_:'<span class="emphSpan">',closeEmphHTML_:"</span>",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"}}},4291:(Q,K,O)=>{"use strict";K.R=void 0;var b=O(9719),D=O(5869);class B{constructor(m){if(0===b.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==m)this.assignZero();else if(m instanceof Array){if(m.length!==b.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(m)}`);this.dimVec_=[];for(let d=0;d<b.Ucum.dimLen_;d++)this.dimVec_.push(m[d])}else if(D(m)){if(m<0||m>=b.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[m]=1}}setElementAt(m,d){if(!D(m)||m<0||m>=b.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${m})`);this.dimVec_||this.assignZero(),null==d&&(d=1),this.dimVec_[m]=d}getElementAt(m){if(!D(m)||m<0||m>=b.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${m})`);let d=null;return this.dimVec_&&(d=this.dimVec_[m]),d}getProperty(m){return this["_"===m.charAt(m.length-1)?m:m+"_"]}toString(){let m=null;return this.dimVec_&&(m="["+this.dimVec_.join(", ")+"]"),m}add(m){if(!m instanceof B)throw new Error(`Dimension.add called with an invalid parameter - ${typeof m} instead of a Dimension object`);if(this.dimVec_&&m.dimVec_)for(let d=0;d<b.Ucum.dimLen_;d++)this.dimVec_[d]+=m.dimVec_[d];return this}sub(m){if(!m instanceof B)throw new Error(`Dimension.sub called with an invalid parameter - ${typeof m} instead of a Dimension object`);if(this.dimVec_&&m.dimVec_)for(let d=0;d<b.Ucum.dimLen_;d++)this.dimVec_[d]-=m.dimVec_[d];return this}minus(){if(this.dimVec_)for(let m=0;m<b.Ucum.dimLen_;m++)this.dimVec_[m]=-this.dimVec_[m];return this}mul(m){if(!D(m))throw new Error(`Dimension.sub called with an invalid parameter - ${typeof dim2} instead of a number`);if(this.dimVec_)for(let d=0;d<b.Ucum.dimLen_;d++)this.dimVec_[d]*=m;return this}equals(m){if(!m instanceof B)throw new Error(`Dimension.equals called with an invalid parameter - ${typeof m} instead of a Dimension object`);let d=!0,g=m.dimVec_;if(this.dimVec_&&g)for(let C=0;d&&C<b.Ucum.dimLen_;C++)d=this.dimVec_[C]===g[C];else d=null===this.dimVec_&&null===g;return d}assignDim(m){if(!m instanceof B)throw new Error(`Dimension.assignDim called with an invalid parameter - ${typeof m} instead of a Dimension object`);if(null===m.dimVec_)this.dimVec_=null;else{null===this.dimVec_&&(this.dimVec_=[]);for(let d=0;d<b.Ucum.dimLen_;d++)this.dimVec_[d]=m.dimVec_[d]}return this}assignZero(){null==this.dimVec_&&(this.dimVec_=[]);for(let m=0;m<b.Ucum.dimLen_;m++)this.dimVec_.push(0);return this}isZero(){let m=null!==this.dimVec_;if(this.dimVec_)for(let d=0;m&&d<b.Ucum.dimLen_;d++)m=0===this.dimVec_[d];return m}isNull(){return null===this.dimVec_}clone(){let m=new B;return m.assignDim(this),m}}K.R=B},1434:(Q,K)=>{"use strict";K.DP=function g(C){const M=C&&C.config;if(M){if(M.length&&C.data){const y=B(M);return C.data.map(m.bind(null,y))}return C.data}return C};function B(C){return C.map(M=>Array.isArray(M)?M:[M])}function m(C,M){let y={};return C.forEach((_,w)=>{let I=y;for(let F=0;F<_.length-1;F++)I=I[_[F]]=I[_[F]]||{};I[_[_.length-1]]=M[w]}),y}},8826:(Q,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.Prefix=void 0,O(9719),K.Prefix=class b{constructor(B){if(null==B.code_||null==B.name_||null==B.value_||void 0===B.exp_)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_=B.code_,this.ciCode_=B.ciCode_,this.name_=B.name_,this.printSymbol_=B.printSymbol_,this.value_="string"==typeof B.value_?parseFloat(B.value_):B.value_,this.exp_=B.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(B){return this.code_===B.code_&&this.ciCode_===B.ciCode_&&this.name_===B.name_&&this.printSymbol_===B.printSymbol_&&this.value_===B.value_&&this.exp_===B.exp_}}},83:(Q,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.PrefixTables=K.PrefixTablesFactory=void 0;class O{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let B="",U=Object.keys(this.byValue_),m=U.length;for(let d=0;d<m;d++){let g=this.getPrefixByValue(U[d]);B+=g.code_+","+g.name_+",,"+g.value_+"\r\n"}return B}allPrefixesByCode(){let B=[],U=Object.keys(this.byCode_);U.sort();let m=U.length;for(let d=0;d<m;d++)B.push(this.getPrefixByCode(U[d]));return B}add(B){this.byCode_[B.getCode()]=B,this.byValue_[B.getValue()]=B}isDefined(B){return null!=this.byCode_[B]}getPrefixByCode(B){return this.byCode_[B]}getPrefixByValue(B){return this.byValue_[B]}}K.PrefixTablesFactory=O;var L=new O;K.PrefixTables={getInstance:function(){return L}}},6648:(Q,K)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.default=void 0;var L=new class O{constructor(){this.funcs={},this.funcs.cel={cnvTo:function(D){return D-273.15},cnvFrom:function(D){return D+273.15}},this.funcs.degf={cnvTo:function(D){return D-459.67},cnvFrom:function(D){return D+459.67}},this.funcs.degre={cnvTo:function(D){return D-273.15},cnvFrom:function(D){return D+273.15}},this.funcs.ph={cnvTo:function(D){return-Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,-D)}},this.funcs.ln={cnvTo:function(D){return Math.log(D)},cnvFrom:function(D){return Math.exp(D)}},this.funcs["2ln"]={cnvTo:function(D){return 2*Math.log(D)},cnvFrom:function(D){return Math.exp(D/2)}},this.funcs.lg={cnvTo:function(D){return Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D)}},this.funcs["10lg"]={cnvTo:function(D){return 10*Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D/10)}},this.funcs["20lg"]={cnvTo:function(D){return 20*Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D/20)}},this.funcs["2lg"]={cnvTo:function(D){return 2*Math.log(D)/Math.LN10},cnvFrom:function(D){return Math.pow(10,D/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(D){return Math.log(D)/Math.LN2},cnvFrom:function(D){return Math.pow(2,D)}},this.funcs["100tan"]={cnvTo:function(D){return 100*Math.tan(D)},cnvFrom:function(D){return Math.atan(D/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(D){return Math.sqrt(D)},cnvFrom:function(D){return D*D}},this.funcs.inv={cnvTo:function(D){return 1/D},cnvFrom:function(D){return 1/D}},this.funcs.hpX={cnvTo:function(D){return-this.funcs.lg(D)},cnvFrom:function(D){return Math.pow(10,-D)}},this.funcs.hpC={cnvTo:function(D){return-this.func.ln(D)/this.funcs.ln(100)},cnvFrom:function(D){return Math.pow(100,-D)}},this.funcs.hpM={cnvTo:function(D){return-this.funcs.ln(D)/this.funcs.ln(1e3)},cnvFrom:function(D){return Math.pow(1e3,-D)}},this.funcs.hpQ={cnvTo:function(D){return-this.funcs.ln(D)/this.funcs.ln(5e4)},cnvFrom:function(D){return Math.pow(5e4,-D)}}}forName(D){D=D.toLowerCase();let B=this.funcs[D];if(null===B)throw new Error(`Requested function ${D} is not defined`);return B}isDefined(D){return D=D.toLowerCase(),null!==this.funcs[D]}};K.default=L},8942:(Q,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.isNumericString=function b(U){let m=""+U;return!isNaN(m)&&!isNaN(parseFloat(m))},K.isIntegerUnit=function D(U){return/^\d+$/.test(U)},K.getSynonyms=function B(U){let m={},g={};if(g=L.getInstance().getUnitBySynonym(U),g.units){m.status="succeeded";let C=g.units.length;m.units=[];for(let M=0;M<C;M++){let y=g.units[M];m.units[M]={code:y.csCode_,name:y.name_,guidance:y.guidance_}}}else m.status=g.status,m.msg=g.msg;return m};var L=O(3077).UnitTables},1221:(Q,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.ucumJsonDefs=K.UcumJsonDefs=void 0;var L=O(8826),b=O(83),D=O(4393),B=O(3077),U=O(1434).DP;class m{loadJsonDefs(){const C=O(8210);if(C.prefixes=U(C.prefixes),C.units=U(C.units),0===B.UnitTables.getInstance().unitsCount()){let M=b.PrefixTables.getInstance(),y=C.prefixes,_=y.length;for(let N=0;N<_;N++){let R=new L.Prefix(y[N]);M.add(R)}let w=B.UnitTables.getInstance(),I=C.units,F=I.length;for(let N=0;N<F;N++){let R=new D.Unit(I[N]);w.addUnit(R)}}}}K.UcumJsonDefs=m;var d=new m;K.ucumJsonDefs=d},8230:(Q,K,O)=>{"use strict";K.n=void 0;var b=O(1221),D=function U(M){if(M&&M.__esModule)return M;if(null===M||"object"!=typeof M&&"function"!=typeof M)return{default:M};var y=B();if(y&&y.has(M))return y.get(M);var _={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in M)if(Object.prototype.hasOwnProperty.call(M,I)){var F=w?Object.getOwnPropertyDescriptor(M,I):null;F&&(F.get||F.set)?Object.defineProperty(_,I,F):_[I]=M[I]}return _.default=M,y&&y.set(M,_),_}(O(8942));function B(){if("function"!=typeof WeakMap)return null;var M=new WeakMap;return B=function(){return M},M}var m=O(9719).Ucum,d=O(3077).UnitTables,g=O(9033).T;class C{constructor(){0===d.getInstance().unitsCount()&&b.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=g.getInstance()}useHTMLInMessages(y){void 0===y&&(y=!0),this.uStrParser_.useHTMLInMessages(y)}useBraceMsgForEachString(y){void 0===y&&(y=!0),this.uStrParser_.useBraceMsgForEachString(y)}validateUnitString(y,_,w){void 0===_&&(_=!1),void 0===w&&(w="validate");let I=this.getSpecifiedUnit(y,w,_),F=I.unit,N={};return N=F?{status:I.origString===y?"valid":"invalid",ucumCode:I.origString,unit:{code:F.csCode_,name:F.name_,guidance:F.guidance_}}:{status:I.origString&&null!==I.origString?"invalid":"error",ucumCode:null},I.suggestions&&(N.suggestions=I.suggestions),N.msg=I.retMsg,N}convertUnitTo(y,_,w,I,F){void 0===I&&(I=!1),void 0===F&&(F=null);let N={status:"failed",toVal:null,msg:[]};if(y&&(y=y.trim()),(!y||""==y)&&(N.status="error",N.msg.push('No "from" unit expression specified.')),(null===_||isNaN(_)||"number"!=typeof _&&!D.isNumericString(_))&&(N.status="error",N.msg.push('No "from" value, or an invalid "from" value, was specified.')),w&&(w=w.trim()),(!w||""==w)&&(N.status="error",N.msg.push('No "to" unit expression specified.')),"error"!==N.status)try{let R=null,j=this.getSpecifiedUnit(y,"convert",I);R=j.unit,j.retMsg&&(N.msg=N.msg.concat(j.retMsg)),j.suggestions&&(N.suggestions={},N.suggestions.from=j.suggestions),R||N.msg.push(`Unable to find a unit for ${y}, so no conversion could be performed.`);let ee=null;if(j=this.getSpecifiedUnit(w,"convert",I),ee=j.unit,j.retMsg&&(N.msg=N.msg.concat(j.retMsg)),j.suggestions&&(N.suggestions||(N.suggestions={}),N.suggestions.to=j.suggestions),ee||N.msg.push(`Unable to find a unit for ${w}, so no conversion could be performed.`),R&&ee)try{if(F){if(0!==R.moleExp_&&0!==ee.moleExp_)throw new Error("A molecular weight was specified but a mass <-> mole conversion cannot be executed for two mole-based units. No conversion was attempted.");if(0===R.moleExp_&&0===ee.moleExp_)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(!R.isMoleMassCommensurable(ee))throw new Error(`Sorry. ${y} cannot be converted to ${w}.`);N.toVal=0!==R.moleExp_?R.convertMolToMass(_,ee,F):R.convertMassToMol(_,ee,F)}else N.toVal=ee.convertFrom(_,R);N.status="succeeded",N.fromUnit=R,N.toUnit=ee}catch(J){N.status="failed",N.msg.push(J.message)}}catch(R){N.status=R.message==m.needMoleWeightMsg_?"failed":"error",N.msg.push(R.message)}return N}checkSynonyms(y){let _={};return null==y?(_.status="error",_.msg="No term specified for synonym search."):_=D.getSynonyms(y),_}getSpecifiedUnit(y,_,w){void 0===w&&(w=!1);let I={retMsg:[]};if(y){let F=d.getInstance();y=y.trim();let N=F.getUnitByCode(y);if(N)I.unit=N,I.origString=y;else try{let R=this.uStrParser_.parseString(y,_,w);I.unit=R[0],I.origString=R[1],R[2]&&(I.retMsg=R[2]),I.suggestions=R[3]}catch(R){console.log(`Unit requested for unit string ${y}.request unsuccessful; error thrown = `+R.message),I.retMsg.unshift(`${y} is not a valid unit. ${R.message}`)}}else I.retMsg.push("No unit string specified.");return I}commensurablesList(y){let _=[],w=null,I=this.getSpecifiedUnit(y,"validate",!1),F=I.unit;if(I.retMsg.length>0&&(_=I.retMsg),F){let N=null,R=F.getProperty("dim_");if(R){try{N=R.getProperty("dimVec_")}catch(j){_.push(j.message),"Dimension does not have requested property(dimVec_)"===j.message&&(N=null)}N&&(w=d.getInstance().getUnitsByDimension(N))}else _.push("No commensurable units were found for "+y)}else _.push(`Could not find unit ${y}.`);return[w,_]}}K.n=C,C.getInstance=function(){return new C}},137:(Q,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.UnitTables=K.UcumLhcUtils=K.Ucum=void 0;var L=O(9719).Ucum;K.Ucum=L;var b=O(8230).n;K.UcumLhcUtils=b;var D=O(3077).UnitTables;K.UnitTables=D},4393:(Q,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.Unit=void 0;var L=function U(y){return y&&y.__esModule?y:{default:y}}(O(6648)),b=function B(y){if(y&&y.__esModule)return y;if(null===y||"object"!=typeof y&&"function"!=typeof y)return{default:y};var _=D();if(_&&_.has(y))return _.get(y);var w={},I=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in y)if(Object.prototype.hasOwnProperty.call(y,F)){var N=I?Object.getOwnPropertyDescriptor(y,F):null;N&&(N.get||N.set)?Object.defineProperty(w,F,N):w[F]=y[F]}return w.default=y,_&&_.set(y,w),w}(O(8942));function D(){if("function"!=typeof WeakMap)return null;var y=new WeakMap;return D=function(){return y},y}var g,m=O(9719).Ucum,d=O(4291).R,C=O(5869);class M{constructor(_={}){this.isBase_=_.isBase_||!1,this.name_=_.name_||"",this.csCode_=_.csCode_||"",this.ciCode_=_.ciCode_||"",this.property_=_.property_||"",this.magnitude_=_.magnitude_||1,this.dim_=null==_.dim_?new d:void 0!==_.dim_.dimVec_?new d(_.dim_.dimVec_):_.dim_ instanceof d?_.dim_:_.dim_ instanceof Array||C(_.dim_)?new d(_.dim_):new d,this.printSymbol_=_.printSymbol_||null,this.class_=_.class_||null,this.isMetric_=_.isMetric_||!1,this.variable_=_.variable_||null,this.cnv_=_.cnv_||null,this.cnvPfx_=_.cnvPfx_||1,this.isSpecial_=_.isSpecial_||!1,this.isArbitrary_=_.isArbitrary_||!1,this.moleExp_=_.moleExp_||0,this.synonyms_=_.synonyms_||null,this.source_=_.source_||null,this.loincProperty_=_.loincProperty_||null,this.category_=_.category_||null,this.guidance_=_.guidance_||null,this.csUnitString_=_.csUnitString_||null,this.ciUnitString_=_.ciUnitString_||null,this.baseFactorStr_=_.baseFactorStr_||null,this.baseFactor_=_.baseFactor_||null,this.defError_=_.defError_||!1}assignUnity(){return this.name_="",this.magnitude_=1,this.dim_||(this.dim_=new d),this.dim_.assignZero(),this.cnv_=null,this.cnvPfx_=1,this}assignVals(_){for(let w in _){let I="_"===!w.charAt(w.length-1)?w+"_":w;if(!this.hasOwnProperty(I))throw new Error(`Parameter error; ${w} is not a property of a Unit`);this[I]=_[w]}}clone(){let _=new M;return Object.getOwnPropertyNames(this).forEach(w=>{"dim_"===w?_.dim_=this.dim_?this.dim_.clone():null:_[w]=this[w]}),_}assign(_){Object.getOwnPropertyNames(_).forEach(w=>{"dim_"===w?this.dim_=_.dim_?_.dim_.clone():null:this[w]=_[w]})}equals(_){return this.magnitude_===_.magnitude_&&this.cnv_===_.cnv_&&this.cnvPfx_===_.cnvPfx_&&(null===this.dim_&&null===_.dim_||this.dim_.equals(_.dim_))}fullEquals(_){let w=Object.keys(this).sort(),I=Object.keys(_).sort(),F=w.length,N=F===I.length;for(let R=0;R<F&&N;R++)N=w[R]===I[R]&&("dim_"===w[R]?this.dim_.equals(_.dim_):this[w[R]]===_[w[R]]);return N}getProperty(_){return this["_"===_.charAt(_.length-1)?_:_+"_"]}convertFrom(_,w){let I=0;if(this.isArbitrary_)throw new Error(`Attempt to convert arbitrary unit ${this.name_}`);if(w.isArbitrary_)throw new Error(`Attempt to convert to arbitrary unit ${w.name_}`);if(w.dim_&&this.dim_&&!w.dim_.equals(this.dim_))throw this.isMoleMassCommensurable(w)?new Error(m.needMoleWeightMsg_):new Error(`Sorry. ${w.csCode_} cannot be converted to ${this.csCode_}.`);if(w.dim_&&(!this.dim_||this.dim_.isNull()))throw new Error(`Sorry. ${w.csCode_} cannot be converted to ${this.csCode_}.`);if(this.dim_&&(!w.dim_||w.dim_.isNull()))throw new Error(`Sorry. ${w.csCode_} cannot be converted to ${this.csCode_}.`);let F=w.cnv_,N=w.magnitude_;if(F===this.cnv_)I=_*N/this.magnitude_;else{let R=0;R=null!=F?L.default.forName(F).cnvFrom(_*w.cnvPfx_)*N:_*N,I=null!=this.cnv_?L.default.forName(this.cnv_).cnvTo(R/this.magnitude_)/this.cnvPfx_:R/this.magnitude_}return I}convertTo(_,w){return w.convertFrom(_,this)}convertCoherent(_){return null!==this.cnv_&&(_=this.cnv_.f_from(_/this.cnvPfx_)*this.magnitude_),_}mutateCoherent(_){_=this.convertCoherent(_),this.magnitude_=1,this.cnv_=null,this.cnvPfx_=1,this.name_="";for(let w=0,I=d.getMax();w<I;w++){let F=this.dim_.getElementAt(w),R=this._getUnitTables().getUnitsByDimension(new d(w));if(null==R)throw new Error(`Can't find base unit for dimension ${w}`);this.name_=R.name+F}return _}convertMassToMol(_,w,I){let F=this.magnitude_*_/I,R=this._getUnitTables().getUnitByCode("mol").magnitude_;return F/(w.magnitude_/R)}convertMolToMass(_,w,I){let N=this._getUnitTables().getUnitByCode("mol").magnitude_;return this.magnitude_/N*_*I/w.magnitude_}mutateRatio(_){return null==this.cnv_?this.mutateCoherent(_):_}multiplyThis(_){let w=this.clone();null!=w.cnv_?w.cnvPfx_*=_:w.magnitude_*=_;let I=_.toString();return w.name_=this._concatStrs(I,"*",this.name_,"[","]"),w.csCode_=this._concatStrs(I,".",this.csCode_,"(",")"),w.ciCode_=this._concatStrs(I,".",this.ciCode_,"(",")"),w.printSymbol_=this._concatStrs(I,".",this.printSymbol_,"(",")"),w}multiplyThese(_){var w=this.clone();if(null!=w.cnv_){if(null!=_.cnv_||_.dim_&&!_.dim_.isZero())throw new Error(`Attempt to multiply non-ratio unit ${w.name_} failed.`);w.cnvPfx_*=_.magnitude_}else if(null!=_.cnv_){if(w.dim_&&!w.dim_.isZero())throw new Error(`Attempt to multiply non-ratio unit ${_.name_}`);w.cnvPfx_=_.cnvPfx_*w.magnitude_,w.cnv_=_.cnv_}else w.magnitude_*=_.magnitude_;return!w.dim_||w.dim_&&!w.dim_.dimVec_?w.dim_=_.dim_?_.dim_.clone():_.dim_:_.dim_&&_.dim_ instanceof d&&w.dim_.add(_.dim_),w.name_=this._concatStrs(w.name_,"*",_.name_,"[","]"),w.csCode_=this._concatStrs(w.csCode_,".",_.csCode_,"(",")"),w.ciCode_&&_.ciCode_?w.ciCode_=this._concatStrs(w.ciCode_,".",_.ciCode_,"(",")"):_.ciCode_&&(w.ciCode_=_.ciCode_),w.guidance_="",w.printSymbol_&&_.printSymbol_?w.printSymbol_=this._concatStrs(w.printSymbol_,".",_.printSymbol_,"(",")"):_.printSymbol_&&(w.printSymbol_=_.printSymbol_),w.moleExp_=w.moleExp_+_.moleExp_,w.isArbitrary_||(w.isArbitrary_=_.isArbitrary_),w}divide(_){var w=this.clone();if(null!=w.cnv_)throw new Error(`Attempt to divide non-ratio unit ${w.name_}`);if(null!=_.cnv_)throw new Error(`Attempt to divide by non-ratio unit ${_.name_}`);return w.name_&&_.name_?w.name_=this._concatStrs(w.name_,"/",_.name_,"[","]"):_.name_&&(w.name_=_.invertString(_.name_)),w.csCode_=this._concatStrs(w.csCode_,"/",_.csCode_,"(",")"),w.ciCode_&&_.ciCode_?w.ciCode_=this._concatStrs(w.ciCode_,"/",_.ciCode_,"(",")"):_.ciCode_&&(w.ciCode_=_.invertString(_.ciCode_)),w.guidance_="",w.magnitude_/=_.magnitude_,w.printSymbol_&&_.printSymbol_?w.printSymbol_=this._concatStrs(w.printSymbol_,"/",_.printSymbol_,"(",")"):_.printSymbol_&&(w.printSymbol_=_.invertString(_.printSymbol_)),_.dim_&&(w.dim_?(w.dim_.isNull()&&w.dim_.assignZero(),w.dim_=w.dim_.sub(_.dim_)):w.dim_=_.dim_.clone().minus()),w.moleExp_=w.moleExp_-_.moleExp_,w.isArbitrary_||(w.isArbitrary_=_.isArbitrary_),w}invert(){if(null!=this.cnv_)throw new Error(`Attempt to invert a non-ratio unit - ${this.name_}`);return this.name_=this.invertString(this.name_),this.magnitude_=1/this.magnitude_,this.dim_.minus(),this}invertString(_){if(_.length>0){let w=_.replace("/","!").replace(".","/").replace("!",".");switch(w.charAt(0)){case".":_=w.substr(1);break;case"/":_=w;break;default:_="/"+w}}return _}_concatStrs(_,w,I,F,N){return this._buildOneString(_,F,N)+w+this._buildOneString(I,F,N)}_buildOneString(_,w,I){let F="";return F=b.isNumericString(_)||"("===_.charAt(0)&&_.endsWith(")")||"["===_.charAt(0)&&_.endsWith("]")?_:/[./* ]/.test(_)?w+_+I:_,F}power(_){if(null!=this.cnv_)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let I=this.csCode_.match(/([./]|[^./]+)/g),F=I.length;for(let N=0;N<F;N++){let R=I[N];if("/"!==R&&"."!==R){let j=parseInt(R);if(C(j))I[N]=Math.pow(j,_).toString();else{let ee=R.length;for(let J=ee-1;J>=0;J--){let ue=parseInt(R[J]);if(!C(ue)){if(("-"===R[J]||"+"===R[J])&&J--,J<ee-1){let te=parseInt(R.substr(J));te=Math.pow(te,_),I[N]=R.substr(0,J)+te.toString(),J=-1}else I[N]+=_.toString(),J=-1;J=-1}}}}}return this.csCode_=I.join(""),this.magnitude_=Math.pow(this.magnitude_,_),this.dim_&&this.dim_.mul(_),this}isMoleMassCommensurable(_){let I=this._getUnitTables().getMassDimensionIndex(),F=!1;if(1===this.moleExp_&&0===_.moleExp_){let N=this.dim_.clone(),R=N.getElementAt(I);N.setElementAt(I,R+this.moleExp_),F=N.equals(_.dim_)}else if(1===_.moleExp_&&0===this.moleExp_){let N=_.dim_.clone(),R=N.getElementAt(I);N.setElementAt(I,R+_.moleExp_),F=N.equals(this.dim_)}return F}_getUnitTables(){return g||(g=O(3077).UnitTables),g.getInstance()}}K.Unit=M},9033:(Q,K,O)=>{"use strict";K.T=void 0;var b=function B(M){if(M&&M.__esModule)return M;if(null===M||"object"!=typeof M&&"function"!=typeof M)return{default:M};var y=D();if(y&&y.has(M))return y.get(M);var _={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var I in M)if(Object.prototype.hasOwnProperty.call(M,I)){var F=w?Object.getOwnPropertyDescriptor(M,I):null;F&&(F.get||F.set)?Object.defineProperty(_,I,F):_[I]=M[I]}return _.default=M,y&&y.set(M,_),_}(O(8942));function D(){if("function"!=typeof WeakMap)return null;var M=new WeakMap;return D=function(){return M},M}var U=O(9719).Ucum,m=O(4393).Unit,d=O(3077).UnitTables,g=O(83).PrefixTables;class C{constructor(){this.utabs_=d.getInstance(),this.pfxTabs_=g.getInstance(),this.openEmph_=U.openEmph_,this.closeEmph_=U.closeEmph_,this.bracesMsg_="",this.parensFlag_="parens_placeholder",this.pFlagLen_=this.parensFlag_.length,this.braceFlag_="braces_placeholder",this.bFlagLen_=this.braceFlag_.length,this.vcMsgStart_=null,this.vcMsgEnd_=null,this.retMsg_=[],this.parensUnits_=[],this.annotations_=[],this.suggestions=[]}useHTMLInMessages(y){void 0===y||y?(this.openEmph_=U.openEmphHTML_,this.closeEmph_=U.closeEmphHTML_):(this.openEmph_=U.openEmph_,this.closeEmph_=U.closeEmph_)}useBraceMsgForEachString(y){this.bracesMsg_=void 0===y||y?U.bracesMsg_:""}parseString(y,_,w){if(""===(y=y.trim())||null===y)throw new Error("Please specify a unit expression to be validated.");"validate"===_?(this.vcMsgStart_=U.valMsgStart_,this.vcMsgEnd_=U.valMsgEnd_):(this.vcMsgStart_=U.cnvMsgStart_,this.vcMsgEnd_=U.cnvMsgEnd_),this.suggestions_=void 0===w||!1===w?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let I=y,F=[];if(y=this._getAnnotations(y),this.retMsg_.length>0)F[0]=null,F[1]=null;else{let R=null;for(R in U.specUnits_)for(;-1!==y.indexOf(R);)y=y.replace(R,U.specUnits_[R]);if(y.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");F=this._parseTheString(y,I);let j=F[0];(b.isIntegerUnit(j)||"number"==typeof j)&&(j=new m({csCode_:I,magnitude_:j,name_:I}),F[0]=j)}return F[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(F[3]=this.suggestions_),F}_parseTheString(y,_){let w=null,I=this.retMsg_.length>0,F=this._processParens(y,_);I=F[2];let N=[];if(!I){let R=this._makeUnitsArray(y=F[0],_=F[1]);if(I=R[2],!I){N=R[0],_=R[1];let j=N.length;for(let ee=0;ee<j;ee++){let J=N[ee].un;if(b.isIntegerUnit(J))N[ee].un=Number(J);else if(J.indexOf(this.parensFlag_)>=0){let ue=this._getParensUnit(J,_);I||(I=ue[1]),I||(N[ee].un=ue[0])}else{let ue=this._makeUnit(J,_);null===ue[0]?I=!0:(N[ee].un=ue[0],_=ue[1])}}}}return I||(null===N[0]||" "===N[0]||null==N[0].un)&&0===this.retMsg_.length&&(this.retMsg_.push(`Unit string (${_}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),I=!0),I||(w=this._performUnitArithmetic(N,_)),[w,_]}_getAnnotations(y){let _=y.indexOf("{");for(;_>=0;){let I=y.indexOf("}");if(I<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+y.substr(_)+this.closeEmph_),_=-1;else{let F=y.substring(_,I+1),N=this.annotations_.length.toString();y=y.replace(F,this.braceFlag_+N+this.braceFlag_),this.annotations_.push(F),_=y.indexOf("{")}}let w=y.indexOf("}");return w>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+y.substring(0,w+1)+this.closeEmph_),y}_processParens(y,_){let w=[],I=0,F=!1,N=this.parensUnits_.length,R=0;for(;""!==y&&!F;){let j=0,ee=0,J=y.indexOf("(");if(J<0){let ue=y.indexOf(")");if(ue>=0){let te=`Missing open parenthesis for close parenthesis at ${y.substring(0,ue+R)}${this.openEmph_}${y.substr(ue,1)}${this.closeEmph_}`;ue<y.length-1&&(te+=`${y.substr(ue+1)}`),this.retMsg_.push(te),w[I]=y,F=!0}else w[I]=y,y=""}else{j+=1;let ue=y.length;J>0&&(w[I++]=y.substr(0,J));let te=0,pe=J+1;for(;pe<ue&&j!=ee;pe++)"("===y[pe]?j+=1:")"===y[pe]&&(ee+=1);if(j===ee){te=pe,w[I++]=this.parensFlag_+N.toString()+this.parensFlag_;let Re=this._parseTheString(y.substring(J+1,te-1),_);null===Re[0]?F=!0:(_=Re[1],this.parensUnits_[N++]=Re[0],y=y.substr(te),R=te)}else w.push(_.substr(J)),this.retMsg_.push(`Missing close parenthesis for open parenthesis at ${_.substring(0,J+R)}${this.openEmph_}${_.substr(J,1)}${this.closeEmph_}${_.substr(J+1)}`),F=!0}}return F&&(this.parensUnits_=[]),[w.join(""),_,F]}_makeUnitsArray(y,_){let w=y.match(/([./]|[^./]+)/g),I=!1,F=[],N=/(^[0-9]+)(\[?[a-zA-Z\_0-9a-zA-Z\_]+\]?$)/;if("/"===w[0]?w.unshift("1"):"."===w[0]&&(this.retMsg_.push(`${_} is not a valid UCUM code. The multiplication operator at the beginning of the expression is not valid. A multiplication operator must appear only between two codes.`),I=!0),!I){if(!b.isNumericString(w[0])){let R=w[0].match(N);if(R&&3===R.length&&""!==R[1]&&""!==R[2]&&0!==R[2].indexOf(this.braceFlag_)){let j=R[2];if(!I&&-1!==R[2].indexOf(this.parensFlag_)){let ee=this._getParensUnit(R[2],_);R[2]=ee[0].csCode_,j=`(${R[2]})`,I=ee[1]}I||(this.retMsg_.push(`${R[1]}${j} is not a valid UCUM code. ${this.vcMsgStart_}${R[1]}.${j}${this.vcMsgEnd_}`),_=_.replace(`${R[1]}${j}`,`${R[1]}.${j}`),w[0]=R[2],w.unshift(R[1],"."))}}if(!I){let R=w.length;F=[{op:"",un:w[0]}];for(let j=1;j<R;j++){let ee=w[j++];if(w[j])if(-1!==U.validOps_.indexOf(w[j]))this.retMsg_.push(`${_} is not a valid UCUM code. A unit code is missing between${this.openEmph_}${ee}${this.closeEmph_}and${this.openEmph_}${w[j]}${this.closeEmph_}in${this.openEmph_}${ee}${w[j]}${this.closeEmph_}.`),j=R,I=!0;else if(b.isNumericString(w[j]))F.push({op:ee,un:w[j]});else{let J=w[j].match(N);if(J&&3===J.length&&""!==J[1]&&""!==J[2]&&0!==J[2].indexOf(this.braceFlag_)){let ue=J[0];if(I||-1===J[2].indexOf(this.parensFlag_)){let te="("+J[1]+"."+J[2]+")",pe=this._processParens(te,_);pe[2]?(j=R,I=!0):(this.retMsg_.push(`${J[0]} is not a valid UCUM code. ${this.vcMsgStart_}${J[1]}.${J[2]}${this.vcMsgEnd_}`),_=_.replace(J[0],te),F.push({op:ee,un:pe[0]}))}else{let te=this._getParensUnit(J[2],_);if(J[2]=te[0].csCode_,ue=`(${J[2]})`,I=te[1],!I){this.retMsg_.push(`${J[1]}${ue} is not a valid UCUM code. ${this.vcMsgStart_}${J[1]}.${ue}${this.vcMsgEnd_}`);let pe=`(${J[1]}.${ue})`;_=_.replace(`${J[1]}${ue}`,pe);let Re=this._processParens(pe,_);I=Re[2],I||F.push({op:ee,un:Re[0]})}}}else F.push({op:ee,un:w[j]})}else this.retMsg_.push(`${_} is not a valid UCUM code. It is terminated with the operator ${this.openEmph_}${ee}${this.closeEmph_}.`),j=R,I=!0}}}return[F,_,I]}_getParensUnit(y,_){let w=!1,F=null,j=y.indexOf(this.parensFlag_),ee=null;j>0&&(ee=y.substr(0,j-1));let J=y.lastIndexOf(this.parensFlag_),ue=null;J+this.pFlagLen_<y.length&&(ue=y.substr(J+this.pFlagLen_));let te=y.substring(j+this.pFlagLen_,J);if(!b.isNumericString(te))throw new Error(`Processing error - invalid parens number ${te} found in ${y}.`);if(F=this.parensUnits_[Number(te)],y=b.isIntegerUnit(F)?F:F.csCode_,ee)if(b.isNumericString(ee)){let pe=F.getProperty("magnitude_");pe*=Number(ee),F.assignVals({magnitude_:pe}),this.retMsg_.push(`${ee}${y=`${ee}.${y}`} is not a valid UCUM code.\n`+this.vcMsgStart_+y+this.vcMsgEnd_)}else if(ee.indexOf(this.braceFlag_)>=0){let pe=this._getAnnoText(ee,_);if(pe[1]||pe[2])throw new Error(`Text found before the parentheses (${ee}) included an annotation along with other text for parenthetical unit ${F.csCode_}`);this.retMsg_.push(`The annotation ${pe[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(y+=pe[0])+this.vcMsgEnd_)}else this.suggestions_?w="succeeded"!==this._getSuggestions(ee):(this.retMsg_.push(`${ee} preceding the unit code ${y} is invalid. Unable to make a substitution.`),w=!0);if(ue)if(ue.indexOf(this.braceFlag_)>=0){let pe=this._getAnnoText(ue,_);if(pe[1]||pe[2])throw new Error(`Text found after the parentheses (${ue}) included an annotation along with other text for parenthetical unit ${F.csCode_}`);y+=pe[0]}else b.isNumericString(ue)?(y+=ue,F=F.power(Number(ue)),this.retMsg_.push(`An exponent (${ue}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.\n `+this.vcMsgStart_+y+this.vcMsgEnd_)):this.suggestions_?w="succeeded"!==this._getSuggestions(ee):(this.retMsg_.push(`Text ${ue} following the unit code ${y} is invalid. Unable to make a substitution.`),w=!0);return w||(F?b.isIntegerUnit(F)?F=new m({csCode_:F,magnitude_:F,name_:F}):F.csCode_=y:F=new m({csCode_:y,magnitude_:1,name_:y})),[F,w]}_getAnnoText(y,_){let w=y.indexOf(this.braceFlag_),I=w>0?y.substring(0,w):null;0!==w&&(y=y.substr(w));let F=y.indexOf(this.braceFlag_,1),N=F+this.bFlagLen_<y.length?y.substr(F+this.bFlagLen_):null,R=y.substring(this.bFlagLen_,F),j=Number(R);if(!b.isNumericString(R)||j>=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${R} found in ${y} that was created from ${_}`);return[y=this.annotations_[j],I,N]}_getSuggestions(y){let _=b.getSynonyms(y);if("succeeded"===_.status){let w={};w.msg=`${y} is not a valid UCUM code. We found possible units that might be what was meant:`,w.invalidUnit=y;let I=_.units.length;w.units=[];for(let F=0;F<I;F++){let N=_.units[F];w.units.push([N.code,N.name,N.guidance])}this.suggestions_.push(w)}else this.retMsg_.push(`${y} is not a valid UCUM code. No alternatives were found.`);return _.status}_makeUnit(y,_){let w=this.utabs_.getUnitByCode(y);if(w)w=w.clone();else if(y.indexOf(this.braceFlag_)>=0){let I=this._getUnitWithAnnotation(y,_);w=I[0],w&&(_=I[1])}else{if(y.indexOf("^")>-1){let I=y.replace("^","*");w=this.utabs_.getUnitByCode(I),w&&(w=w.clone(),w.csCode_=w.csCode_.replace("*","^"),w.ciCode_=w.ciCode_.replace("*","^"))}if(!w){let I="["+y+"]";w=this.utabs_.getUnitByCode(I),w&&(w=w.clone(),_=_.replace(y,I),this.retMsg_.push(`${y} is not a valid unit expression, but ${I} is.\n`+this.vcMsgStart_+`${I} (${w.name_})${this.vcMsgEnd_}`))}if(!w){let I=this.utabs_.getUnitByName(y);if(I&&I.length>0){w=I[0].clone();let F="The UCUM code for "+y+" is "+w.csCode_+".\n"+this.vcMsgStart_+w.csCode_+this.vcMsgEnd_,N=!1;for(let ee=0;ee<this.retMsg_.length&&!N;ee++)N=this.retMsg_[ee]===F;N||this.retMsg_.push(F);let R=new RegExp("(^|[./({])("+y+")($|[./)}])"),j=_.match(R);_=_.replace(R,j[1]+w.csCode_+j[3]),y=w.csCode_}}if(!w){let I=null;for(I in U.specUnits_)-1!==y.indexOf(U.specUnits_[I])&&(y=y.replace(U.specUnits_[I],I));w=this.utabs_.getUnitByCode(y),w&&(w=w.clone())}if(!w){let I=y,F=null,N=null,R=null,j=null,ee=null,J=null,ue=this._isCodeWithExponent(y);if(ue&&(N=ue[1],F=this.utabs_.getUnitByCode(y=ue[0])),!F&&(R=y.charAt(0),j=this.pfxTabs_.getPrefixByCode(R),j)&&(ee=j.getValue(),J=j.getExp(),y=y.substr(R.length),F=this.utabs_.getUnitByCode(y),!F&&"d"==R&&"a"==y.substr(0,1)&&(R="da",j=this.pfxTabs_.getPrefixByCode(R),ee=j.getValue(),y=y.substr(1),F=this.utabs_.getUnitByCode(y))),F){w=F.clone(),w.guidance_="";let te=w.getProperty("dim_"),pe=w.getProperty("magnitude_"),Re=w.getProperty("name_"),Me=w.getProperty("ciCode_"),ce=w.getProperty("printSymbol_");if(N){N=parseInt(N);let de=N;te&&(te=te.mul(N)),pe=Math.pow(pe,N),w.assignVals({magnitude_:pe}),j&&J&&(de*=j.getExp(),ee=Math.pow(10,de))}j&&(w.cnv_?w.assignVals({cnvPfx_:ee}):(pe*=ee,w.assignVals({magnitude_:pe})));let ze=w.csCode_;if(j&&(Re=j.getName()+Re,ze=R+ze,Me=j.getCiCode()+Me,ce=j.getPrintSymbol()+ce,w.assignVals({name_:Re,csCode_:ze,ciCode_:Me,printSymbol_:ce})),N){let de=N.toString();w.assignVals({name_:Re+"<sup>"+de+"</sup>",csCode_:ze+de,ciCode_:Me+de,printSymbol_:ce+"<sup>"+de+"</sup>"})}}else w=null,this.suggestions_?this._getSuggestions(I):this.retMsg_.push(`${I} is not a valid UCUM code.`)}}return[w,_]}_getUnitWithAnnotation(y,_){let w=null,I=this._getAnnoText(y,_),F=I[0],N=I[1],R=I[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let j=this.retMsg_.length;if(N||R)if(N&&!R)if(b.isIntegerUnit(N))w=N;else{let ee=this._makeUnit(N,_);ee[0]?(w=ee[0],w.csCode_+=F,_=ee[1]):this.retMsg_.push(`Unable to find a unit for ${N} that precedes the annotation ${F}.`)}else if(!N&&R)if(b.isIntegerUnit(R))w=R+F,this.retMsg_.push(`The annotation ${F} before the ``${R} is invalid.\n`+this.vcMsgStart_+w+this.vcMsgEnd_);else{let ee=this._makeUnit(R,_);ee[0]?(w=ee[0],w.csCode_+=F,_=w.csCode_,this.retMsg_.push(`The annotation ${F} before the unit code is invalid.\n`+this.vcMsgStart_+w.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${N} that follows the annotation ${F}.`)}else this.retMsg_.push(`Unable to find a unit for ${N}${F}${R}.\nWe are not sure how to interpret text both before and after the annotation. Sorry`);else{let ee="["+F.substring(1,F.length-1)+"]",J=this._makeUnit(ee,_);J[0]?(w=J[0],_=_.replace(F,ee),this.retMsg_.push(`${F} is not a valid unit expression, but ${ee} is.\n`+this.vcMsgStart_+`${ee} (${w.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>j&&this.retMsg_.pop(),y=1,w=1)}return[w,_]}_performUnitArithmetic(y,_){let w=y[0].un;b.isIntegerUnit(w)&&(w=new m({csCode_:w,magnitude_:Number(w),name_:w}));let I=y.length,F=!1;for(let N=1;N<I&&!F;N++){let R=y[N].un;if(b.isIntegerUnit(R)&&(R=new m({csCode_:R,magnitude_:Number(R),name_:R})),null===R||"number"!=typeof R&&!R.getProperty){let j=`Unit string (${_}) contains unrecognized element`;R&&(j+=` (${this.openEmph_}${R.toString()}${this.closeEmph_})`),j+="; could not parse full string. Sorry",this.retMsg_.push(j),F=!0}else try{w="/"===y[N].op?w.divide(R):w.multiplyThese(R)}catch(j){this.retMsg_.unshift(j.message),F=!0,w=null}}return w}_isCodeWithExponent(y){let _=[],w=y.match(/(^[^\-\+]+?)([\-\+\d]+)$/);return w&&w[2]&&""!==w[2]?(_.push(w[1]),_.push(w[2])):_=null,_}}K.T=C,C.getInstance=function(){return new C}},3077:(Q,K,O)=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0}),K.UnitTables=void 0;var L=O(9719).Ucum,D=new class b{constructor(){this.unitNames_={},this.unitCodes_={},this.codeOrder_=[],this.unitStrings_={},this.unitDimensions_={},this.unitSynonyms_={},this.massDimIndex_=0}unitsCount(){return Object.keys(this.unitCodes_).length}addUnit(m){m.name_&&this.addUnitName(m),this.addUnitCode(m),this.addUnitString(m);try{m.dim_.getProperty("dimVec_")&&this.addUnitDimension(m)}catch(g){}}addUnitName(m){let d=m.name_;if(!d)throw new Error(`UnitTables.addUnitName called for a unit with no name. Unit code = ${m.csCode_}.`);this.unitNames_[d]?this.unitNames_[d].push(m):this.unitNames_[d]=[m]}addUnitCode(m){let d=m.csCode_;if(!d)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[d])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${d}`);if(this.unitCodes_[d]=m,this.codeOrder_.push(d),"g"==d){let g=m.dim_.dimVec_,C=0;for(;C<g.length&&g[C]<1;C++);this.massDimIndex_=C}}addUnitString(m){let d=null;if(d=1==L.caseSensitive_?m.csUnitString_:m.ciUnitString_,d){let g={mag:m.baseFactorStr_,unit:m};this.unitStrings_[d]?this.unitStrings_[d].push(g):this.unitStrings_[d]=[g]}}addUnitDimension(m){let d=m.dim_.getProperty("dimVec_");if(!d)throw new Error(`UnitTables.addUnitDimension called for a unit with no dimension. Unit code = ${m.csCode_}.`);this.unitDimensions_[d]?this.unitDimensions_[d].push(m):this.unitDimensions_[d]=[m]}buildUnitSynonyms(){for(let m in this.unitCodes_){let d=this.unitCodes_[m],g=d.synonyms_;if(g){let C=g.split(";");if(""!==C[0]){let M=C.length;for(let y=0;y<M;y++){let _=C[y].trim();this.addSynonymCodes(m,_)}}}this.addSynonymCodes(m,d.name_)}}addSynonymCodes(m,d){let g=d.split(" "),C=g.length;for(let M=0;M<C;M++){let y=g[M];this.unitSynonyms_[y]?-1===this.unitSynonyms_[y].indexOf(m)&&this.unitSynonyms_[y].push(m):this.unitSynonyms_[y]=[m]}}getUnitByCode(m){let d=null;return m&&(d=this.unitCodes_[m]),d}getUnitByName(m){if(null==m)throw new Error("Unable to find unit by name because no name was provided.");let d=m.indexOf(L.codeSep_),g=null;d>=1&&(g=m.substr(d+L.codeSep_.length),m=m.substr(0,d));let C=this.unitNames_[m];if(C){let M=C.length;if(g&&M>1){let y=0;for(;C[y].csCode_!==g&&y<M;y++);C=y<M?[C[y]]:null}}return C}getUnitByString(m){let d=null;return m&&(d=this.unitStrings_[m],void 0===d&&(d=null)),d}getUnitsByDimension(m){let d=null;if(null==m)throw new Error("Unable to find unit by because no dimension vector was provided.");return d=this.unitDimensions_[m],null==d&&console.log(`Unable to find unit with dimension = ${m}`),d}getUnitBySynonym(m){let d={},g=[];try{if(null==m)throw d.status="error",new Error("Unable to find unit by synonym because no synonym was provided.");0===Object.keys(this.unitSynonyms_).length&&this.buildUnitSynonyms();let C=[];if(C=this.unitSynonyms_[m],C){d.status="succeeded";let M=C.length;for(let y=0;y<M;y++)g.push(this.unitCodes_[C[y]]);d.units=g}0===g.length&&(d.status="failed",d.msg=`Unable to find any units with synonym = ${m}`)}catch(C){d.msg=C.message}return d}getAllUnitNames(){return Object.keys(this.unitNames_)}getUnitNamesList(){let m=[],d=Object.keys(this.unitCodes_);d.sort(this.compareCodes);let g=d.length;for(let C=0;C<g;C++)m[C]=d[C]+L.codeSep_+this.unitCodes_[d[C]].name_;return m}getMassDimensionIndex(){return this.massDimIndex_}compareCodes(m,d){return(m=(m=m.replace(/[\[\]]/g,"")).toLowerCase())<(d=(d=d.replace(/[\[\]]/g,"")).toLowerCase())?-1:1}getAllUnitCodes(){return Object.keys(this.unitCodes_)}allUnitsByDef(){let m=[],d=this.codeOrder_.length;for(let g=0;g<d;g++)m.push(this.getUnitByCode(this.codeOrder_[g]));return m}allUnitsByName(m,d){null==d&&(d="|");let g="",C=this.getAllUnitNames(),M=C.length,y=m.length;for(let _=0;_<M;_++){let w=this.getUnitByName(C[_]);for(let I=0;I<w.length;I++){let F=w[I];for(let N=0;N<y;N++)if(N>0&&(g+=d),"dim_"===m[N])g+=null!=F.dim_&&F.dim_.dimVec_ instanceof Array?"["+F.dim_.dimVec_.join(",")+"]":"";else{let R=F[m[N]];g+="string"==typeof R?R.replace(/[\n\r]/g," "):R}g+="\r\n"}}return g}printUnits(m,d){void 0===m&&(m=!1),void 0===d&&(d="|");let g="",C=this.codeOrder_.length,M="csCode"+d;m&&(M+="ciCode"+d),M+="name"+d,m&&(M+="isBase"+d),M+="magnitude"+d+"dimension"+d+"from unit(s)"+d+"value"+d+"function"+d,m&&(M+="property"+d+"printSymbol"+d+"synonyms"+d+"source"+d+"class"+d+"isMetric"+d+"variable"+d+"isSpecial"+d+"isAbitrary"+d),M+="comment",g=M+"\n";for(let y=0;y<C;y++){let _=this.getUnitByCode(this.codeOrder_[y]);M=this.codeOrder_[y]+d,m&&(M+=_.getProperty("ciCode_")+d),M+=_.getProperty("name_")+d,m&&(_.getProperty("isBase_")?M+="true"+d:M+="false"+d),M+=_.getProperty("magnitude_")+d;let w=_.getProperty("dim_");M+=w?w.dimVec_+d:"null"+d,M+=_.csUnitString_?_.csUnitString_+d+_.baseFactor_+d:"null"+d+"null"+d,M+=_.cnv_?_.cnv_+d:"null"+d,m&&(M+=_.getProperty("property_")+d+_.getProperty("printSymbol_")+d+_.getProperty("synonyms_")+d+_.getProperty("source_")+d+_.getProperty("class_")+d+_.getProperty("isMetric_")+d+_.getProperty("variable_")+d+_.getProperty("isSpecial_")+d+_.getProperty("isArbitrary_")+d),_.defError_&&(M+="problem parsing this one, deferred to later."),g+=M+"\n"}return g}};K.UnitTables={getInstance:function(){return D}}},5855:Q=>{Q.exports=function K(O){O.FieldAlarms.soundData_="data:audio/mp3;base64,/+OAxAAAAAAAAAAAAEluZm8AAAAPAAAABwAADQ4AJCQkJCQkJCQkJCQkJCRJSUlJSUlJSUlJSUlJSW1tbW1tbW1tbW1tbW1tkpKSkpKSkpKSkpKSkpKStra2tra2tra2tra2trbb29vb29vb29vb29vb2///////////////////AAAAWkxBTUUzLjkyIAHDAAAAAAAAAAACQCQF2SEAAAAAAA0OXWa08wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/+OAxABa1IIMF5uwACCDBAGAB/86aEEGTrP/hZNdJTyqr/pn4OCRDARfjtIEHqAZfjEAZzj+AZkhOeMiITA2IE0A1rkeA6cdIA9GMcA66Ro+MmOYSZqT4G0RQAGcoYgGMcNoGAQPQGJ4KH4wyIEXNjUiYGUkgoGMMRYGEkBIGFkLYGG8P4GGMDv8tmpPn0J4DEOL0DGmI8AYFQGEkHIGDUHIGDEBYGD4F3/NicKiaCSJfLYGBoAQr4GFIIgGDoGwGCYAgGCsC4WhAFAQAw7hT//PE+ZmREB5IkLgGAO8ghUAwXgbAaAuUwMAIHQMFYDwMQAngMUwZgIAJAx5CmAwpAQFrAwcAs//6d97vTdngYJAPAFAkAGAeK2DlAGABluASAMDAaAsL3gYBwBgYAwDgNAHDU///////AwBgDDfxkBjxS4aoGQWIIF0nxWgYoFgJoAwBABwFBBQMiCAH//4GAUAIGAMA4DQBwAgDhc2MmBgWAgDY6AcA9UJAILy11W1dqwrXViy2OQCw1TFUqEku6WxLaggJZ4skWaLxKbQemiY/+OCxCha9IJFQ9jwABJw+YDYFRgagfGCiDUYQ4UhhvilGSSRkauQAZguA5mCgBuYC4DRgKgBBcBJxU5SzpgBADmAMAWYBQC5gFgGGAaAUYBIAxgDgBGAGAAWaQeV070dgBymHLDLDKmVMoEw1xZajTDtnsNKVBQAEwCgITBSAeMBcAgFABJFLucp3ozGYzLYzGcq0qpYzGYy5L+w67LszVqmv3dVYzLY1Gniac/0PRp/mlJiNeh6TyyNRqNQ1GYZf2GX9jLOXVgatTQ0/0PQWYEALbAkTlAVSs5a6zl/Xdh2My6mtayzq1aXKmlVymtU2WPa0n3n+tZY1X2TgjVNTU1al3j+5mUfg0WUQn9ZWvyxu473zH/5r/5jzHX/zHDn719rLLn3bO+5VuxaGm/ZbLbUqtU1rLP48+l/Hm5bD1NTUtLZpsfwxxuZU2SPPcqaaQAhh+FryH0uXjKpcoDewl+bSaWw/SLjbQLj8agKecVQYFATAIARMA0CgwBgSzAVCgMFAdkxD47Tt0DxMGgRAwHwVTAtAHBwVhgyiBBgOSTMH//jgsRRWgyCFULXtuQ5FkPVXXrENw3ZinyWZDgGE5YWqR/J+P0gNEVBZdGEjl1wlmZgAkb+ljIIyOMR2tdf7s3Fbzds47dprvwFI701C0yHDlMW5VhyelLWaO8MgTbROzjZc4MF3gn26qtiU/vstkOdu+6bR0TXks1pmVLtAosYDlE1+mY4CbaNMqlEbpb2oKk8kty2tauSKXyZusW+ih2GakYp2DVpRlRUUnmnjVAX3jVmJ87EpXEdSBuqVOMVFA1JhGCC4zBkqv3MotL5fRw1HpdnGpJD8odr56cgJyb0jm3ihiHJuIu9KqODsvkUzhS1uSqWx0EAa/YQ/N+jcF8ZqGIgoEJBNBSV5hbC9sZqDr8MqW/L6sVl2MM2pIYKQJncuwwqmR50hLvF3Zl0dUbAs7ViSSi7QSKIS6Hc9Z27ECMHRnIgBDAGAaMAkFEwJwFzEzJPMjjX89/l5TFqBeMCUC0wEQATAoA6MEcGZLtXk5SdWTA29vrU1POVTvBQwfEZbbtQ9KZRD4oA2JAExp9XBhyXxJK8wCALmttYq1rcamv/44LEfVscgggNWvAAViw7L6zk9Vh+eytw9KmttugmdZokWo5RJ9Yu1LMGBV5fOP9uEEwAMlpIJbWahqdmqlWgn6Wwy59WI3ZbHZA4bymB6BIDAFm5xtUiw1q/GXrsw5uVPLDVSnhFR+FtwKuxe0odCHpdTY3aTeFXka5L9KrAYBKV0UruS7KR3rlM6Rf7O8IgAXsQVijiSx5VrLCt86jEXVWbYclwoBj7IlH2ssGpJG6NiIPhGnLaWuZe7uxJ/YTMu03Z2WbQA3GSqbLqaS4sOupDcvf2rF4csW3Rrqyr2lcMUuT1ONYu3KGWwqgqOjCIy+2FuUhYAeBcoRTVBCSCRkof4QBfxYWZQMRCQAd1kQCzHgTXLwA6pYCCAFTAtBRMD8A8wOAcTBoAvMFUQ6GoZRCMKEQcwQJFzHkCyMMINwwiBNTHuK1MwwuswSAgVbn3Y0wIwvARi7Jg+AoAIDkwFwCzCwDVMKwEcwNAbzCAB1MDADCD4KhrN4jAwAOAoD5gNgDoCTAnAZDAMzA6BpMFYCcwBQVjAmA/MBIAQwMQUIat/+OCxKV/zGIABZrwAMBRK/NGBWBKQgDquMCEBtC9SwwGQATAMAVEIERgWgPBcAwwIwKgwCswCwJq1/H8pmqVAAAUATDQIAGFgCAAAIYBAACxTASAEMCUBQqgRmAiBIPARGAYBWYAYBRYALMBgB198JmryrV5vY8ABPGAMAAvFWNPARgImBAAOhPLVs3MAMAMwCAFwwCEEAHmAsAmCAADACAXAQEIhAUAgAqNhgFgJNdxrZbmq3a1butJ1v0YBIA8aZIgPTQXQ+4QAAtRUiDiXKNgNAIAwCyRxgBgCISwSAUBgEiAAkEgCK/AAB6gSMoCAFZj3HHUzVwmavKtXn+zR/ggAxmKQb8l91L0w3HTDLfoL0KAeLqELfTsYKAABU4AsACBgBUdAYAGmaFwBkEq+ACAFOoZJ9JpFtmHoCkNkdca2W61btat3Wu739XH6qokhHEYI6j8M4aRRKZP2lS1p8UxbTope7WqTEFNRTMuOTKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqv/jgsQ6AAADSAHAAACqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpMQU1FMy45Mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr/44LE/wAAA0gAAAAAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqTEFNRTMuOTKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq"}},2103:Q=>{if(void 0===K)var K={};Q.exports=function O(L,b,D){"use strict";var B=D.PrototypeAPI.Browser,U=!!window.attachEvent&&!B.isOpera||"undefined"!=typeof navigator&&navigator.userAgent.indexOf("Trident")>=0;D.Autocompleter={isIE:U,currentAutoCompField_:-1,USE_STATISTICS:2,NO_COMPLETION_SUGGESTIONS:0,SUGGEST_SHORTEST:1,LIST_ITEM_FIELD_SEP:" - ",screenReaderLog_:new D.ScreenReaderLog,setOptions:function(d){b.extend(this,d)},getFieldVal:function(d){return d.value},setFieldVal:function(d,g,C){var M;d.autocomp?d.autocomp.setFieldVal(g,C):(void 0===C&&(C=!0),C&&(M=this.getFieldVal(d)),d.value=g,C&&M!==g&&D.Event.simulate(d,"change"))},getFieldLookupKey:D.Observable.lookupKey,lookupFields:function(d){for(var g=[],C=0,M=document.forms.length;C<M;++C){var y=document.forms[C].elements[d];void 0!==y&&g.push(y)}return g},findRelatedFields:function(d,g){return this.lookupFields(g)},getFieldLabel:function(d){return null},listItemElementContainer:function(){var d=b("#completionOptions")[0].firstChild;return d&&"TABLE"===d.tagName&&(d=d.tBodies[0]),d},listItemElements:function(){var d=null,g=this.listItemElementContainer();return g&&(d=g.childNodes),d},setOffAlarm:function(d){D.FieldAlarms.setOffAlarm(d)},cancelAlarm:function(d){D.FieldAlarms.cancelAlarm(d)},stopEvent:function(d){d.stopImmediatePropagation(),d.preventDefault()},screenReaderLog:function(d){D.Autocompleter.screenReaderLog_.add(d)},createDOMCache:function(d,g){var C={data:{},get:function(M){var y=this.data[M];return void 0===y&&(y=this.data[M]=this.refresh[M].apply(this)),y},set:function(M,y){this.data[M]=y},invalidate:function(M){M?delete this.data[M]:this.data={}},refresh:{}};return Object.assign(C,d),Object.assign(C.refresh,g),C}},D.Autocompleter.Base=function(){},b.extend(D.Autocompleter.Base,{MAX_ITEMS_BELOW_FIELD:7,classInit_:!1,classInit:function(){this.classInit_||(b(document.body).append('<div id="searchResults" class="form_auto_complete"> <div id="completionOptionsScroller"> <span class="auto_complete" id="completionOptions"></span> </div> <div id="moreResults">See more items (Ctl Ret)</div> <div id="searchCount">Search Results\x3c!-- place holder for result count, needed for height calculation--\x3e</div> <div id="searchHint">Search Hint\x3c!--place holder--\x3e</div> </div>'),b("#moreResults").mousedown(function(d){var g=L(D.Autocompleter.currentAutoCompField_);g.autocomp.handleSeeMoreItems(d),D.Autocompleter.Event.notifyObservers(g,"LIST_EXP",{list_expansion_method:"clicked"})}),b("#completionOptionsScroller").mousedown(b.proxy(function(d){if(D.Autocompleter.isIE&&"completionOptionsScroller"===d.target.id&&(D.Autocompleter.stopEvent(d),D.Autocompleter.completionOptionsScrollerClicked_=!0,-1!=L(D.Autocompleter.currentAutoCompField_))){var g=L(D.Autocompleter.currentAutoCompField_);setTimeout(function(){g.focus()})}},this)),this.classInit_=!0)},noCaseSort:function(d,g){var C=d.toLowerCase(),M=g.toLowerCase();return C>M?1:C<M?-1:0},escapeAttribute:D.PrototypeAPI.escapeAttribute,unescapeAttribute:function(d){return d.replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}}),D.Autocompleter.sharedDOMCache=D.Autocompleter.createDOMCache({},{spacerDiv:function(){var d=L("spacer");return d||((d=document.createElement("div")).setAttribute("id","spacer"),document.body.appendChild(d)),d},listContainer:function(){return L("searchResults")},firstEntryWidth:function(){return D.Autocompleter.listItemElements()[0].offsetWidth},listBoundingRect:function(){return this.get("listContainer").getBoundingClientRect()},viewPortWidth:function(){return document.documentElement.clientWidth},spacerCoords:function(){return this.get("spacerDiv").getBoundingClientRect()}});var m={constructorOpts_:null,scoreField_:null,scoreFieldInitialized_:!1,itemToDataIndex_:null,selectedCodes_:null,selectedItems_:null,selectedItemData_:null,matchListValue_:null,invalidStatus_:!1,matchStatus_:!0,focusInProgress_:!1,refocusInProgress_:!1,listBelowField_:!0,listContainer:null,recDataRequester_:null,enabled_:!0,preFieldFillVal_:null,fieldValIsListVal_:null,indexToHeadingLevel_:{},suggestionMode_:D.Autocompleter.SUGGEST_SHORTEST,lastScrollEffect_:null,multiSelect_:!1,listExtraData_:null,processedFieldVal_:null,defAutocompleterBaseInit:function(d,g){g||(g={}),g.wordBoundaryChars&&(g.tokens=g.wordBoundaryChars),void 0!==g.suggestionMode&&(this.suggestionMode_=g.suggestionMode),this.twoColumnFlow_=g.twoColumnFlow,void 0===this.twoColumnFlow_&&(this.twoColumnFlow_=!0),this.caseInsenstiveSelection_=g.caseInsenstiveSelection,void 0===this.caseInsenstiveSelection_&&(this.caseInsenstiveSelection_=!0),g.tokens||void 0===g.maxSelect?g.maxSelect=1:"*"===g.maxSelect&&(g.maxSelect=1/0),this.multiSelect_=1!==g.maxSelect,this.scrolledContainer_=void 0!==g.scrolledContainer?g.scrolledContainer:document.documentElement,void 0===(this.nonMatchSuggestions_=g.nonMatchSuggestions)&&(this.nonMatchSuggestions_=!1),this.constructorOpts_=g,this.initStoredSelectionData();var C=g.dataRequester;if(D.Autocompleter.Base.classInit_||D.Autocompleter.Base.classInit(),this.matchListValue_=g.matchListValue||!1,this.recDataRequester_=C,this.update=L("completionOptions"),this.options=g,this.options.frequency=this.options.frequency||.01,this.options.minChars=this.options.minChars||1,this.element="string"==typeof d?L(d):d,!this.element)throw"string"==typeof d?new Error("Could not find the field with id '"+d+'"'):new Error("The autocompleter constructor requires an field element or an ID");this.ensureNeededAttrs(),this.hasFocus=!1,this.changed=!1,this.active=!1,this.index=0,this.entryCount=0,this.observer=null,this.element.setAttribute("autocomplete","off"),b(this.update).hide();var M=b(this.element);if(M.blur(b.proxy(this.onBlur,this)),M.keydown(b.proxy(this.onKeyPress,this)),this.options.tokens&&M.click(function(){this.tokenBounds=null,this.getTokenBounds(this.element.selectionStart)}.bind(this)),g.maxSelect>1){var y=b('<span class="autocomp_selected"><ul></ul></span>')[0];this.element.parentNode.replaceChild(y,this.element),y.appendChild(this.element),this.selectedList=y.firstChild}this.element.setAttribute("role","combobox"),this.element.setAttribute("aria-expanded","false"),this.onMouseDownListener=b.proxy(this.onMouseDown,this),b(this.element).change(b.proxy(this.onChange,this)),b(this.element).keypress(b.proxy(this.changeToFieldByKeys,this));var w=b.proxy(function(){this.typedSinceLastFocus_=!0},this);b(this.element).bind("paste cut",w),this.listContainer=D.Autocompleter.sharedDOMCache.get("listContainer"),this.options.showList=b.proxy(this.showList,this),this.options.hideList=b.proxy(this.hideList,this),this.options.posAnsList=b.proxy(this.posAnsList,this),this.update.style.display="block",this.element.autocomp=this,this.index=-1,this.initDOMCache(),this.oldElementValue=this.domCache.get("elemVal")},setFieldVal:function(d,g){var C;void 0===g&&(g=!0),g&&(C=this.domCache.get("elemVal")),this.domCache.set("elemVal",this.element.value=this.oldElementValue=d),this.tokenBounds=null,g&&C!==d&&D.Event.simulate(this.element,"change")},ensureNeededAttrs:function(){var d=this.element;""===d.id&&(D.Autocompleter.lastGeneratedID_||(D.Autocompleter.lastGeneratedID_=0),d.id="ac"+ ++D.Autocompleter.lastGeneratedID_)},initStoredSelectionData:function(){this.selectedCodes_={},this.selectedItems_={},this.selectedItemData_=[]},clearStoredSelection:function(){this.initStoredSelectionData(),this.multiSelect_&&(this.selectedList.innerHTML="")},dupDataReqForField:function(d){var g=null;return this.recDataRequester_&&(g=this.recDataRequester_.dupForField(d)),g},getSelectedCodes:function(){for(var d=this.getSelectedItems(),g=[],C=0,M=d.length;C<M;++C)g.push(this.selectedCodes_[d[C]]);return g},getSelectedItems:function(){return Object.keys(this.selectedItems_)},getSelectedItemData:function(){return this.selectedItemData_.length>0?this.selectedItemData_:null},storeSelectedItem:function(d,g){if(void 0===d&&(d=this.domCache.get("elemVal"),g=this.getItemCode(d)),this.multiSelect_||this.clearStoredSelection(),d){var M,C=null!=g;C&&(this.selectedCodes_[d]=g),this.selectedItems_[d]=1,this.getItemData?M=this.getItemData(d):(M={text:d},C&&(M.code=g)),this.selectedItemData_.push(M)}},getItemCode:function(d){this.itemToDataIndex_||this.initItemToDataIndex();var g=this.itemToDataIndex_[d],C=null;return void 0!==g&&this.itemCodes_&&(C=this.itemCodes_[g]),C},addToSelectedArea:function(d){var g=D.Autocompleter.Base.escapeAttribute(d),C=b('<li><button type="button" aria-label=""'+g+'" item remove"><span aria-hidden="true">×</span></button>'+g+"</li>")[0];return this.selectedList.appendChild(C),b(C.childNodes[0]).click(b.proxy(this.removeSelection,this)),g},moveEntryToSelectedArea:function(){var d=this.addToSelectedArea(this.domCache.get("elemVal"));if(this.setFieldVal(this.processedFieldVal_="",!1),D.Autocompleter.screenReaderLog("Selected "+d),this.index>=0){var g=D.Autocompleter.listItemElementContainer();g.removeChild(this.getCurrentEntry()),--this.entryCount;for(var C=g.childNodes,M=this.index,y=C.length;M<y;++M)C[M].autocompleteIndex=M;if(this.index==this.entryCount&&--this.index,this.numHeadings_){for(var _=this.index;this.index<this.entryCount&&this.liIsHeading(this.getCurrentEntry());)++this.index;if(this.index==this.entryCount)for(this.index=_-1;this.index>0&&this.liIsHeading(this.getCurrentEntry());)--this.index}this.render()}this.active=!0,this.hasFocus=!0,this.posAnsList()},removeSelection:function(d){var g=d.target.parentNode;"SPAN"===d.target.tagName&&(g=g.parentNode),g.parentNode.removeChild(g);var C=g.childNodes[1].textContent;delete this.selectedCodes_[C],delete this.selectedItems_[C];for(var M=0,y=this.selectedItemData_.length;M<y;++M)if(this.selectedItemData_[M].text===C){this.selectedItemData_.splice(M,1);break}this.listSelectionNotification(C,!0,!0),D.Autocompleter.screenReaderLog("Unselected "+C)},isSelected:function(d){return this.selectedItems_&&void 0!==this.selectedItems_[d]},getScoreField:function(){return this.scoreFieldInitialized_||(this.scoreField_=D.Autocompleter.getScoreField(this.element),this.scoreField_&&(this.scoreFieldInitialized_=!0)),this.scoreField_},changeToFieldByKeys:function(d){if(!this.typedSinceLastFocus_){var g=!1;void 0===d.which?g=!0:"number"==typeof d.which&&d.which>0&&(g=!d.ctrlKey&&!d.metaKey&&!d.altKey&&8!==d.which),this.typedSinceLastFocus_=g}},addObservers:function(d){b(d).mousedown(this.onMouseDownListener)},listItemValue:function(d){return this.options.tableFormat?d.getAttribute("data-fieldval"):d.textContent},markPrevious:function(){null===this.preFieldFillVal_&&(this.preFieldFillVal_=this.domCache.get("elemVal"));var g,d=this.index;-1===d&&(d=this.entryCount-1);do{this.index>0?this.index--:this.index=this.entryCount-1,g=this.getCurrentEntry();var C=this.listItemValue(g);this.itemTextIsHeading(C)&&(D.Autocompleter.screenReaderLog("Above list heading: "+C),g=null)}while(!g&&this.index!==d);g&&(this.scrollToShow(g,this.update.parentNode),this.updateElementAfterMarking(g))},markNext:function(){null===this.preFieldFillVal_&&(this.preFieldFillVal_=this.domCache.get("elemVal"));var g,d=this.index;-1===d&&(d=this.entryCount-1);do{this.index<this.entryCount-1?this.index++:this.index=0,g=this.getCurrentEntry();var C=this.listItemValue(g);this.itemTextIsHeading(C)&&(D.Autocompleter.screenReaderLog("Under list heading: "+C),g=null)}while(!g&&this.index!==d);g&&(this.scrollToShow(g,this.update.parentNode),this.updateElementAfterMarking(g))},updateElementAfterMarking:function(d){var g=this.tokenBounds;if(this.updateElement(d),this.options.tokens?(this.getTokenBounds(g&&g[0]),this.element.setSelectionRange(this.tokenBounds[0],this.tokenBounds[1])):this.element.select(),this.options.tableFormat){var C=[],M=b(d).children("td");if(M.length>1){for(var y=0,_=M.length;y<_;++y)C.push(M[y].innerText);D.Autocompleter.screenReaderLog(C.join("; "))}}},hideList:function(){D.Autocompleter.currentAutoCompField_===this.element.id&&("visible"!==this.listContainer.style.visibility||(this.listContainer.style.visibility="hidden",this.listShowing=!1,this.listContainer.setAttribute("aria-hidden","true"),this.element.setAttribute("aria-expanded","false")))},showList:function(){var d="visible"!==this.listContainer.style.visibility;this.listContainer.style.visibility="visible",this.listShowing=!0,this.listContainer.setAttribute("aria-hidden","false"),this.element.setAttribute("aria-expanded","true"),d&&!this.temporaryHide_&&this.entryCount>0&&(D.Autocompleter.screenReaderLog("A list has appeared below the "+this.getFieldName()+"."),this.options.tableFormat&&this.options.colHeaders&&D.Autocompleter.screenReaderLog("The column headers on the multi-column list are "+this.options.colHeaders.join("; ")))},getFieldName:function(){if(void 0===this.fieldName_){var d=D.Autocompleter.getFieldLabel(this.element.id);this.fieldName_=null===d?"field":'field "'+d+'"'}return this.fieldName_},scrollToShow:function(d,g){if(d.offsetTop<g.scrollTop)g.scrollTop=d.offsetTop;else{var C=d.clientHeight,M=g.clientHeight;d.offsetTop+C-g.scrollTop>M&&(g.scrollTop=d.offsetTop+C-M)}},pageOptionsUpOrDown:function(d){var M,g=b("#completionOptionsScroller")[0],C=g.clientHeight;if(d)g.scrollTop>0&&((M=g.scrollTop-C)<0&&(M=0),g.scrollTop=M);else{var _=b("#completionOptions")[0].clientHeight-C;_<0&&(_=0),g.scrollTop<_&&((M=g.scrollTop+C)>_&&(M=_),g.scrollTop=M)}},isSearchKey:function(d){return d.ctrlKey&&d.keyCode===b.ui.keyCode.ENTER},onKeyPress:function(d){if(this.enabled_){var g=d.keyCode,C=!0;if(this.fieldEventIsBigList(d))d.stopImmediatePropagation(),this.preFieldFillVal_&&this.setFieldVal(this.preFieldFillVal_,!1),this.handleSeeMoreItems(d),D.Autocompleter.Event.notifyObservers(this.element,"LIST_EXP",{list_expansion_method:"CtrlRet"});else{var M=b.ui.keyCode;switch(g){case M.ENTER:this.multiSelect_&&D.Autocompleter.stopEvent(d),this.handleDataEntry(d);break;case M.TAB:""!==this.domCache.get("elemVal")&&this.handleDataEntry(d);break;case M.ESCAPE:null!==this.preFieldFillVal_&&(this.setFieldVal(this.preFieldFillVal_,!1),D.Autocompleter.Event.notifyObservers(this.element,"CANCEL",{restored_value:this.preFieldFillVal_})),this.active&&(this.index=-1,this.hide(),this.active=!1);break;default:if(this.active)switch(g){case M.PAGE_UP:this.pageOptionsUpOrDown(!0);break;case M.PAGE_DOWN:this.pageOptionsUpOrDown(!1);break;default:if(d.ctrlKey)C=!1;else switch(g){case M.DOWN:case M.UP:g===M.UP?this.markPrevious():this.markNext(),this.render(),D.Autocompleter.stopEvent(d);break;case M.LEFT:case M.RIGHT:this.options.tokens&&(this.tokenBounds=null,this.getTokenBounds()),!d.ctrlKey&&this.index>=0&&b(this.update).hasClass("multi_col")&&this.moveToOtherColumn(d);break;default:C=!1}}else C=!1}}C||(!d.ctrlKey||86===g)&&16!==g&&17!==g&&0!==g&&(this.preFieldFillVal_=null,this.changed=!0,this.hasFocus=!0,this.matchListItemsToField_=!0,this.observer&&clearTimeout(this.observer),this.observer=setTimeout(b.proxy(this.onObserverEvent,this),1e3*this.options.frequency))}},setMatchStatusIndicator:function(d){d!==this.matchStatus_&&(d?b(this.element).hasClass("no_match")&&(b(this.element).removeClass("no_match"),D.Autocompleter.screenReaderLog("The field no longer contains a non-matching value.")):(b(this.element).addClass("no_match"),D.Autocompleter.screenReaderLog("The field's value does not match any items in the list.")),this.matchStatus_=d)},setInvalidValIndicator:function(d){d?(D.Autocompleter.setOffAlarm(this.element),this.invalidStatus_||(b(this.element).addClass("invalid"),this.element.setAttribute("invalid",!0))):this.invalidStatus_&&(b(this.element).removeClass("invalid"),this.element.setAttribute("invalid",!1)),this.invalidStatus_=d},cancelInvalidValIndicator:function(){D.Autocompleter.cancelAlarm(this.element)},updateChoices:function(d,g){if(this.index=-1,!this.changed&&this.hasFocus){this.update.innerHTML=d;var C=this.update.firstChild;C&&C.tHead&&b(C.tHead).mousedown(function(w){D.Autocompleter.stopEvent(w)});var M=D.Autocompleter.listItemElements();if(M){var y;if(this.entryCount=M.length,this.suggestionMode_!==D.Autocompleter.NO_COMPLETION_SUGGESTIONS&&this.entryCount>0&&!this.focusInProgress_&&g){for(y=0;this.liIsHeading(M[y])&&y<this.entryCount;++y);this.index=y}for(y=0;y<this.entryCount;y++){var _=this.getEntry(y);_.autocompleteIndex=y,this.addObservers(_)}}else this.entryCount=0;1===this.entryCount&&this.options.autoSelect?(this.selectEntry(),this.hide()):this.render(),this.focusInProgress_||this.setMatchStatusIndicator(this.entryCount>0||""===this.trimmedElemVal)}},pickedByNumber:function(){return this.add_seqnum&&this.trimmedElemVal.match(/^\d+$/)},pickBestMatch:function(d){var g=this.trimmedElemVal.toLowerCase(),C=d.length,M=-1;if(g.length>0&&C>0){for(var y=-1,_=1/0,w=-1,I=_,F=-1,N=_,R=0;R<C;++R){var j=d[R];if(!this.itemTextIsHeading(j)){var ee=j.toLowerCase(),J=(ee=ee.replace(/^\W+/,"")).indexOf(g),ue=j.length;0===J?/(^\d+$)/.test(g)?(w=0,I=0):ue<I&&(w=R,I=ue):-1===w&&(J>0?ue<N&&(F=R,N=ue):-1===F&&ue<_&&(_=ue,y=R))}}M=w>-1?w:F>-1?F:y}return M},posAnsList:function(){this.posListBelowFieldInMultiCol(),this.index>0&&this.scrollToShow(this.getCurrentEntry(),L("completionOptionsScroller"))},posListBelowFieldInMultiCol:function(){var d=D.Autocompleter.sharedDOMCache,g=this.domCache.element,C=this.update;this.domCache.invalidate("elemPos"),d.invalidate("firstEntryWidth"),d.invalidate("listBoundingRect"),d.invalidate("viewPortWidth"),C.style.height&&(C.style.height=""),this.setListWrap(!1),C.style.width="auto",L("completionOptionsScroller").style.height="",this.listContainer.style.width="",this.listHeight=void 0;var M=this.listContainer;M.style.display="none";var y=this.domCache.get("elemPos");M.style.display="";var _=0,w=document.documentElement.style;/^-(\d+\.?\d*)px$/.test(w.top)&&(_=Number(RegExp.$1)),M.style.top=y.top+_+g.offsetHeight+"px";var I=this.scrolledContainer_,F=document.documentElement.clientHeight,N=F,j=(R=d.get("listBoundingRect")).bottom;if(j<=N)this.setListLeft();else{var ee=this.twoColumnFlow_&&!this.options.tableFormat&&this.entryCount>4;if(ee&&(ee=this.setListWrap(!0))&&(j=d.get("listBoundingRect").bottom),ee&&j<=N)this.setListLeft();else{var J=g.getBoundingClientRect(),ue=void 0;if(!I||I===document.documentElement&&this.getFixedPositionedParent(g))ue=window.innerHeight-J.bottom;else{this.lastScrollEffect_&&this.lastScrollEffect_.cancel();var te=j-N,pe=J.top,Re=0,Me=this.constructorOpts_.headerBar;if(Me){var ce=document.getElementById(Me);ce&&(Re=ce.offsetHeight)}var ze,de=I.getBoundingClientRect().top;te>(ze=de>Re?pe-de:pe-Re)&&(te=ze,ue=F-J.height-Re),j=void 0===ue?d.get("listBoundingRect").bottom:d.get("listBoundingRect").top+ue;var Ne=d.get("spacerCoords");j>Ne.bottom&&(d.get("spacerDiv").style.height=j-Ne.top+"px",d.invalidate("spacerCoords")),this.lastScrollEffect_=new D.Effect.Scroll(I,{y:te,duration:.4})}if(void 0!==ue){this.setListHeight(ue);var at=d.get("viewPortWidth"),R=d.get("listBoundingRect");d.listWrap&&R.width>at&&this.setListWrap(!1)}this.setListLeft()}}},getFixedPositionedParent:function(d){const g=d.offsetParent;return g?"fixed"===window.getComputedStyle(g).position?g:this.getFixedPositionedParent(g):null},initDOMCache:function(){var d=this,g=D.Autocompleter;this.domCache=g.createDOMCache({element:d.listPositioningElem()},{elemPos:function(){return b(this.element).offset()},elemVal:function(){return g.getFieldVal(d.element)}})},listPositioningElem:function(){return this.multiSelect_?this.element.parentNode:this.element},setListWrap:function(d){var g=D.Autocompleter.sharedDOMCache;if(d!==g.listWrap){if(d){var C=2*g.get("firstEntryWidth")+4;C<=g.get("viewPortWidth")&&(this.listContainer.style.width=C+"px",b(this.update).addClass("multi_col"),g.listWrap=!0)}else b(this.update).removeClass("multi_col"),this.listContainer.style.width="",g.listWrap=!1,g.invalidate("viewPortWidth");g.invalidate("listBoundingRect"),this.domCache.invalidate("elemPos")}return g.listWrap},setListLeft:function(){var d=this.listContainer,g=D.Autocompleter.sharedDOMCache,C=g.get("viewPortWidth"),M=g.get("listBoundingRect"),y=this.domCache.get("elemPos"),_=M.width-(C-y.left);_<0&&(_=0);var w=y.left-_;w<0&&(w=0);var I=D.Autocompleter.sharedDOMCache;I.listPosLeft!==w&&(d.style.left=w+"px",I.listPosLeft=w)},setListHeight:function(M){var g=D.Autocompleter.sharedDOMCache,C=g.get("listBoundingRect");M=M-C.height+this.update.offsetHeight,this.listContainer.style.width=C.width+20+"px",M>=20&&(L("completionOptionsScroller").style.height=M+"px",g.invalidate("listBoundingRect"))},getToken:function(){var d=this.domCache.get("elemVal");if(this.options.tokens){var g=this.getTokenBounds();d=d.substring(g[0],g[1])}return d},getTokenBounds:function(d){if(null!=this.tokenBounds)return this.tokenBounds;var g=this.domCache.get("elemVal");if(""===g.trim())return[-1,0];for(var w,C=void 0!==d?d:this.element.selectionStart,M=C==this.oldElementValue.length?1:0,y=-1,_=g.length,I=0,F=this.options.tokens.length;I<F;++I)(w=g.lastIndexOf(this.options.tokens[I],C+M-1))>y&&(y=w),-1!=(w=g.indexOf(this.options.tokens[I],C+M))&&w<_&&(_=w);return this.tokenBounds=[y+1,_]},dupForField:function(d){throw"dupForField must be overridden by autocompleter subclasses."},initItemToDataIndex:function(){throw"initItemToDataIndex must be overridden by autocompleter classes that need it"},propagateFieldChanges:function(d){void 0===d&&(d=this.matchStatus_),this.recDataRequester_&&(d&&""!==this.domCache.get("elemVal").trim()?this.recDataRequester_.requestData():this.recDataRequester_.clearDataOutputFields())},getValTyped:function(){return null===this.preFieldFillVal_?this.domCache.get("elemVal"):this.preFieldFillVal_},listSelectionNotification:function(d,g,C){var M;void 0===C?C=!1:C&&(M=d,d=""),void 0===M&&(M=this.domCache.get("elemVal"));var y=this.clickSelectionInProgress_?"clicked":null===this.preFieldFillVal_?"typed":"arrows",_="typed"!==y&&g,w=this.getItemCode(M);D.Autocompleter.Event.notifyObservers(this.element,"LIST_SEL",{input_method:y,val_typed_in:d,final_val:M,used_list:_,list:this.rawList_,on_list:g,item_code:w,removed:C})},attemptSelection:function(){var d=!1,g=this.getValTyped();if(this.active){if(-1===this.index){for(var C=this.domCache.get("elemVal").trim(),M=C.toLowerCase(),y=-1,_=-1,w=0;w<this.entryCount&&y<0;++w){var I=this.getEntry(w),F=this.listItemValue(I);this.liIsHeading(I)||(C===F?y=w:this.caseInsenstiveSelection_&&_<0&&M===F.toLowerCase()&&(_=w))}y>=0?(this.index=y,d=!0):_>=0&&(this.index=_,d=!0)}else d=this.entryCount>0&&!this.liIsHeading(this.getCurrentEntry());this.fieldValIsListVal_=d,d&&(this.active=!1,this.updateElement(this.getCurrentEntry()),this.storeSelectedItem(),null!==D.Autocompleter.Event.callbacks_&&this.listSelectionNotification(g,!0),this.processedFieldVal_=D.Autocompleter.getFieldVal(this.element),this.setMatchStatusIndicator(!0),this.setInvalidValIndicator(!1),this.propagateFieldChanges(),this.multiSelect_&&this.moveEntryToSelectedArea()),this.multiSelect_||(this.active=!1,this.hide())}return d},selectEntry:function(){this.attemptSelection()},handleNonListEntry:function(){this.propagateFieldChanges(!1),this.multiSelect_||this.clearStoredSelection();var d=D.Autocompleter.getFieldVal(this.element);""===D.Autocompleter.getFieldVal(this.element)?(this.setMatchStatusIndicator(!0),this.setInvalidValIndicator(!1),this.storeSelectedItem(""),null!==D.Autocompleter.Event.callbacks_&&this.listSelectionNotification("",!1),this.processedFieldVal_=d):(this.enabled_&&this.setMatchStatusIndicator(!1),null!==D.Autocompleter.Event.callbacks_&&this.listSelectionNotification(this.getValTyped(),!1),this.matchListValue_?(D.Autocompleter.screenReaderLog("For this field your entry must match an item from the suggestion list."),this.setInvalidValIndicator(!0),this.refocusInProgress_=!0,this.processedFieldVal_=d,setTimeout(b.proxy(function(){this.element.focus(),this.element.select(),this.refocusInProgress_=!1},this))):(this.storeSelectedItem(),this.multiSelect_?this.moveEntryToSelectedArea():this.processedFieldVal_=d,this.findSuggestions&&this.nonMatchSuggestions_&&!this.multiSelect_&&setTimeout(b.proxy(function(){this.findSuggestions()},this))))},onChange:function(d){this.domCache.invalidate("elemVal"),D.Autocompleter.completionOptionsScrollerClicked_||this.handleDataEntry(d)},onBlur:function(d){D.Autocompleter.completionOptionsScrollerClicked_||(this.lastScrollEffect_&&this.lastScrollEffect_.cancel(),D.Autocompleter.getFieldVal(this.element)!==this.processedFieldVal_&&D.Event.simulate(this.element,"change"),this.enabled_&&!this.refocusInProgress_&&(this.hide(),this.hasFocus=!1,this.active=!1,this.invalidStatus_?this.clearInvalidFieldVal():""===D.Autocompleter.getFieldVal(this.element)?this.setMatchStatusIndicator(!0):!1===this.fieldValIsListVal_&&this.setMatchStatusIndicator(!1)))},clearInvalidFieldVal:function(){this.setFieldVal("",!1),this.setInvalidValIndicator(!1),this.setMatchStatusIndicator(!0),this.listSelectionNotification("",!1),this.processedFieldVal_=""},onFocus:function(d){if(D.Autocompleter.currentAutoCompField_=this.element.id,this.refocusInProgress_||(this.processedFieldVal_=D.Autocompleter.getFieldVal(this.element)),this.refocusInProgress_=!1,this.preFieldFillVal_=null,D.Autocompleter.Event.notifyObservers(this.element,"FOCUS",{start_val:this.processedFieldVal_}),this.multiSelect_){var g=Object.getOwnPropertyNames(this.selectedItems_);if(g.length>0){var M="Above this multi-select field are deselection buttons for each selected item. Currently selected:"+g.join(", ");D.Autocompleter.screenReaderLog(M)}}},onMouseDown:function(d){D.Autocompleter.stopEvent(d);for(var g=d.target;g&&void 0===g.autocompleteIndex;)g=g.parentNode;g&&!this.liIsHeading(g)&&(this.clickSelectionInProgress_=!0,this.index=g.autocompleteIndex,this.selectEntry(),this.hide(),this.clickSelectionInProgress_=!1,this.multiSelect_&&this.showList()),this.tokenBounds=null},handleDataEntry:function(d){if(this.invalidStatus_&&this.processedFieldVal_===this.domCache.get("elemVal"))this.clearInvalidFieldVal();else{this.observer&&clearTimeout(this.observer);var g=D.Autocompleter.getFieldVal(this.element),C=!1;(this.processedFieldVal_!==g&&""!==g||this.multiSelect_&&""===g&&this.index>=0)&&(C=this.attemptSelection()),this.processedFieldVal_!==g&&!C&&(""===g&&(this.fieldValIsListVal_=!1),this.handleNonListEntry()),this.multiSelect_||(this.hide(),this.active=!1),!d.stopped&&this.matchListValue_&&this.invalidStatus_&&D.Autocompleter.stopEvent(d)}},itemTextIsHeading:function(d){var g=!!this.numHeadings_;if(g){this.itemToDataIndex_||this.initItemToDataIndex();var C=this.itemToDataIndex_[d];g=void 0!==C&&!!this.indexToHeadingLevel_[C]}return g},liIsHeading:function(d){var g=!!this.numHeadings_;return g&&(g=this.itemTextIsHeading(this.listItemValue(d))),g},onShow:function(d,g){d.autocomp.showList()},onHide:function(d,g){d.autocomp.hideList()},moveToOtherColumn:function(d){var g=D.Autocompleter.listItemElements().length,C=Math.floor(g/2),M=Math.ceil(g/2),y=this.index;if(this.index<C?y=this.index+M:this.index>=M&&(y=this.index-M),y!==this.index){var _=this.getEntry(y);this.liIsHeading(_)||(this.index=y,this.setFieldVal(this.listItemValue(_),!1),this.element.select(),this.render(),D.Autocompleter.stopEvent(d))}},handleSeeMoreItems:function(d){},readSearchCount:function(){var d=!1;return"none"!==L("searchCount").style.display&&(D.Autocompleter.screenReaderLog("Showing "+L("searchCount").innerHTML+"."),"none"!==L("moreResults").style.display&&D.Autocompleter.screenReaderLog("Pressing control+return will expand the list."),d=!0),d},destroy:function(){this.stopObservingEvents(),this.detachFromDOM()},stopObservingEvents:function(){b(this.element).unbind()},detachFromDOM:function(){if(this.multiSelect_){var d=this.element.parentNode;d.parentNode.replaceChild(this.element,d),this.selectedList=null}this.element.autocomp=null,this.element=null,this.update=null,this.listContainer=null,this.recDataRequester_=null},updateElement:function(d){var g=this.listItemValue(d),C=g;if(this.options.tokens){var M=this.getTokenBounds();if(-1!=M[0]){var y=this.domCache.get("elemVal"),_=y.substr(0,M[0]),w=y.substr(M[0]).match(/^\s+/);w&&(_+=w[0]),C=_+g+y.substr(M[1])}}this.setFieldVal(C,!1),this.options.afterUpdateElement&&this.options.afterUpdateElement(this.element,d)},show:function(){"none"==b(this.update).css("display")&&this.options.onShow(this.element,this.update),!this.iefix&&B.IE&&"absolute"==b(this.update).css("position")&&(new Insertion.After(this.update,'<iframe id="'+this.update.id+'_iefix" style="display:none;position:absolute;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);" src="javascript:false;" frameborder="0" scrolling="no"></iframe>'),this.iefix=L(this.update.id+"_iefix")),this.iefix&&setTimeout(b.proxy(this.fixIEOverlapping,this),50)},fixIEOverlapping:function(){var d=this.update.offset();this.iefix.style.left=d.left,this.update.style.height||(this.update.style.top=d.top),this.iefix.style.zIndex=1,this.update.style.zIndex=2,b(this.iefix).show()},hide:function(){"none"!=b(this.update).css("display")&&this.options.onHide(this.element,this.update),this.iefix&&b(this.iefix).hide()},render:function(){if(this.entryCount>0){for(var d=0;d<this.entryCount;d++)this.index==d?b(this.getEntry(d)).addClass("selected"):b(this.getEntry(d)).removeClass("selected");this.hasFocus&&(this.show(),this.active=!0)}else this.active=!1,this.hide()},getEntry:function(d){return D.Autocompleter.listItemElements()[d]},getCurrentEntry:function(){return this.getEntry(this.index)},onObserverEvent:function(){this.domCache.invalidate("elemVal"),this.changed=!1,this.tokenBounds=null,this.getToken().length>=this.options.minChars?this.getUpdatedChoices():(this.active=!1,this.hide()),this.oldElementValue=this.domCache.get("elemVal")}};b.extend(D.Autocompleter.Base.prototype,m),m=null}},2948:Q=>{Q.exports=function K(O,L,b){"use strict";b.Autocompleter.Event={observeListExpansions:function(D,B){this.storeCallback(D,"LIST_EXP",B)},observeListSelections:function(D,B){this.storeCallback(D,"LIST_SEL",B)},observeFocusEvents:function(D,B){this.storeCallback(D,"FOCUS",B)},observeCancelList:function(D,B){this.storeCallback(D,"CANCEL",B)},observeSuggestions:function(D,B){this.storeCallback(D,"SUGGESTIONS",B)},observeSuggestionUsed:function(D,B){this.storeCallback(D,"SUGGESTION_USED",B)},observeListAssignments:function(D,B){this.storeCallback(D,"LIST_ASSIGNMENT",B)},observeRDRClearing:function(D){this.storeCallback(null,"RDR_CLEARING",D)},observeRDRAssignment:function(D){this.storeCallback(null,"RDR_ASSIGNMENT",D)}},L.extend(b.Autocompleter.Event,b.Observable)}},3810:Q=>{Q.exports=function K(O,L,b){"use strict";b.Autocompleter.Prefetch=b.PrototypeAPI.Class.create(),b.Autocompleter.Prefetch.constructor=b.Autocompleter.Prefetch,L.extend(b.Autocompleter.Prefetch.prototype,b.Autocompleter.Base.prototype),b.Autocompleter.Prefetch.prototype.className="Def.Autocompleter.Prefetch";var U={SEQ_NUM_PREFIX:'<span class="listNum">',SEQ_NUM_SEPARATOR:":</span> ",validationFailed_:!1,listIsOriginal_:!0,rawList_:null,itemCodes_:null,listLoadAttempted_:!1,seeMoreItemsClicked_:!1,matchListItemsToField_:!1,defaultSelectionIndex_:null,autoFill_:!0,initialize:function(m,d,g){var C=(g=L.extend({ignoreCase:!0,fullSearch:!1,selector:this.selector,getFormattedItemText:this.getFormattedItemText,onShow:this.onShow,onHide:this.onHide},g||{})).addSeqNum;this.add_seqnum=void 0===C||C;var M=g.autoFill;void 0!==M&&(this.autoFill_=M),b.Autocompleter.Base.classInit_||b.Autocompleter.Base.classInit(),this.initHeadings(g),this.defAutocompleterBaseInit(m,g),L(this.element).focus(L.proxy(this.onFocus,this)),L(this.element).click(L.proxy(this.onFieldClick,this));var y=g.codes;this.setList(d,y),this.listIsOriginal_=!0,this.originalCodes_=y,this.options.minChars=0,this.splitAutocomp_=!1,L(this.element).addClass("ansList")},getUpdatedChoices:function(){this.trimmedElemVal=this.domCache.get("elemVal").trim(),this.updateChoices(this.options.selector(this),this.pickedByNumber())},dupItemToDataIndex:function(m){this.listIsOriginal_&&(this.itemToDataIndex_||this.initItemToDataIndex(),m.itemToDataIndex_=this.itemToDataIndex_)},dupForField:function(m){var d=this.dupDataReqForField(m),g={};L.extend(!0,g,this.constructorOpts_),g.dataRequester=d;var C=new b.Autocompleter.Prefetch(m,this.rawList_,g);return this.dupItemToDataIndex(C),C},initHeadings:function(m){var d=m.codes,g=m.itemToHeading;if(g){m.itemToHeading=null;for(var C={},M={},y=0,_=d.length;y<_;++y){var I=g[d[y]];if(I){var F=C[I];if(!F){var N=g[I];C[I]=F=N?C[N]+1:1}}}for(y=0,_=d.length;y<_;++y)M[y]=(F=C[d[y]])||0;this.indexToHeadingLevel_=M,m.indexToHeadingLevel=M,this.numHeadings_=Object.keys(C).length,m.numHeadings=this.numHeadings_}else m.indexToHeadingLevel&&(this.indexToHeadingLevel_=m.indexToHeadingLevel,this.numHeadings_=m.numHeadings)},initItemToDataIndex:function(){if(this.itemToDataIndex_={},this.rawList_)for(var m=0,d=this.rawList_.length;m<d;++m)this.itemToDataIndex_[this.rawList_[m]]=m},selector:function(m){var C=m.getToken(),M=0,y=null,_=!m.matchListItemsToField_||""===m.domCache.get("elemVal").trim(),w=m.seeMoreItemsClicked_?1/0:2*b.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD,I=_&&!m.seeMoreItemsClicked_?Math.floor(w/m.numHeadings_):1/0;I<1&&(I=1);var F=0,N=[],R=[],j={},ee=null,J=!1,ue=0,te=0,pe=0,Re=b.Autocompleter.Base.escapeAttribute;m.options.ignoreCase&&(C=C.toLowerCase());for(var Me=m.options.formattedListItems,ce=0,ze=m.rawList_.length;ce<ze;++ce){var Ne=!1;if(m.indexToHeadingLevel_[ce])ee=m.rawList_[ce],J=!1,++ue;else{var ke=null,Ve=m.rawList_[ce];_&&(++M,ke=Re(Ve),Me&&(ke+=Me[ce]));var at=null,An=!1,Mt=!1;if(m.add_seqnum&&(Ne=(at=ce+1-ue+"")===C,!_&&(Ne||0===at.indexOf(C))&&(++M,Mt=!0,(Ne||M<=w)&&(at="<strong>"+at.substr(0,C.length)+"</strong>"+at.substr(C.length),An=!0,ke=m.SEQ_NUM_PREFIX+at+m.SEQ_NUM_SEPARATOR+Re(Ve),Me&&(ke+=Me[ce])))),!Mt&&!_){var an=!1,Gn=Ve;m.options.ignoreCase&&(Gn=Ve.toLowerCase());for(var sn=Gn.indexOf(C);!an&&-1!==sn;)0===sn?(an=!0,++M<=w&&(ke="<strong>"+Re(Ve.substr(0,C.length))+"</strong>"+Re(Ve.substr(C.length)),Me&&(ke+=Me[ce]))):(m.options.fullSearch||/(.\b|_)./.test(Gn.substr(sn-1,2)))&&(an=!0,++M<=w)&&(ke=Re(Ve.substr(0,sn))+"<strong>"+Re(Ve.substr(sn,C.length))+"</strong>"+Re(Ve.substr(sn+C.length)),Me&&(ke+=Me[ce])),an||(sn=Gn.indexOf(C,sn+1))}var ie=!1;m.multiSelect_&&(ie=m.isSelected(Ve))&&++pe,!ie&&ke&&(Ne||M<=w||m.numHeadings_>0&&_)&&(ee&&!J&&(J=!0,N.push(ee),R.push(ce-1),++te,j[ee]=[Re(ee),"heading"],F=0),(!_||!m.numHeadings_||F<I||Ne)&&(!An&&m.add_seqnum&&(ke=m.SEQ_NUM_PREFIX+at+m.SEQ_NUM_SEPARATOR+ke),N.push(Ve),R.push(ce),Ne&&(y=N.length-1),j[Ve]=[ke],_&&++F))}}var X=N.length-te;return M>X+pe?(O("searchCount").innerHTML=X+" of "+M+" items total",O("moreResults").style.display="block",O("searchCount").style.display="block"):(O("moreResults").style.display="none",O("searchCount").style.display="none"),m.buildHTML(N,R,j,y)},buildHTML:function(m,d,g,C){var y,M=-1,w=null!==C;if(!this.numHeadings_&&this.matchListItemsToField_&&(w||this.suggestionMode_===b.Autocompleter.SUGGEST_SHORTEST)&&(M=w?C:this.pickBestMatch(m))>=0){var _=m[M],I=d[M];for(y=M;y>0;--y)m[y]=m[y-1],d[y]=d[y-1];m[0]=_,d[0]=I}var F="<ul>";y=0,M>=0&&(F+='<li class="suggestion" autocompRawListIndex="'+d[0]+'">'+g[_][0]+"</li>",++y);for(var N=m.length;y<N;++y){var R=g[m[y]],j=R[1];F+=j?'<li class="'+j+'" autocompRawListIndex="'+d[y]+'">'+R[0]+"</li>":'<li autocompRawListIndex="'+d[y]+'">'+R[0]+"</li>"}return F+"</ul>"},setList:function(m,d){this.listIsOriginal_=!1;var g=m.length;this.rawList_=new Array(g);for(var C=0,M=m.length;C<M;++C)this.rawList_[C]=m[C].trim();for(var y=new Array(g),_=b.Autocompleter.Base.escapeAttribute,w=0;w<g;++w)y[w]=_(this.rawList_[w]),!0===this.add_seqnum&&!this.indexToHeadingLevel_[w]&&(y[w]=this.SEQ_NUM_PREFIX+(w+1)+this.SEQ_NUM_SEPARATOR+y[w]);this.options.array=y,this.itemCodes_=d,this.itemToDataIndex_=null,this.enabled_=m.length>0,m.length>1||!this.autoFill_?L(this.element).addClass("ac_multiple"):L(this.element).removeClass("ac_multiple"),(this.hasFocus||document.activeElement===this.element)&&this.onFocus()},setFieldToListValue:function(m){this.setFieldVal(m,!1),this.fieldValIsListVal_=!0,this.storeSelectedItem(),this.processedFieldVal_=m,this.listSelectionNotification("",!0),this.setMatchStatusIndicator(!0),this.setInvalidValIndicator(!1),this.propagateFieldChanges()},setListAndField:function(m,d,g,C){void 0===g&&(g=!1),void 0===C&&(C=!1),this.setList(m,d),b.Autocompleter.Event.notifyObservers(this.element,"LIST_ASSIGNMENT",{});var _,M=this.domCache.get("elemVal"),y=m.length;!1===g&&(_=this.autoFill_&&(1===y||y>1&&C)?this.assembleValue(m[0]):""),!g&&M!==_&&this.setFieldToListValue(_),this.setInvalidValIndicator(!1),this.setMatchStatusIndicator(!0),this.options.afterUpdateElement&&this.options.afterUpdateElement()},assembleValue:function(m){return m.trim()},onObserverEvent:function(){this.temporaryHide_=!0,this.hideList(),b.Autocompleter.Base.prototype.onObserverEvent.apply(this,[]),this.posAnsList(),this.showList(),this.temporaryHide_=!1},loadList:function(m,d){void 0===m&&(m=this.element.id);var g=b.Autocompleter.getFieldLookupKey(this.element);this.listLoadAttempted_=!0;var C=b.RecordDataRequester.getOutputFieldRDR(m);if(C){var M=C.getFieldData(g);if(M?this.setListAndField(M[0],M[1],!0,!1):C.assignListData(),m!==this.element.id){var y=O(d),_=[d,"EQ",b.Autocompleter.getFieldVal(y)];C.addFieldsToUpdateList(m,this,_)}}},listIsEmpty:function(){return 0===this.options.array.length},getInitialSelectionIndex:function(){var m=-1;if(""==this.domCache.get("elemVal"))if(this.defaultSelectionIndex_)m=this.defaultSelectionIndex_;else{var d=this.constructorOpts_.defaultValue;if(void 0!==d){if(this.itemCodes_)for(var g=0,C=this.itemCodes_.length;g<C;++g)this.itemCodes_[g]===d&&(m=g);if(-1===m)for(var M=0,y=this.rawList_.length;M<y;++M)this.rawList_[M]===d&&(m=M)}m>=2*b.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD&&(m=-1),this.defaultSelectionIndex_=m}return m},onFocus:function(){!0===b.Autocompleter.completionOptionsScrollerClicked_?b.Autocompleter.completionOptionsScrollerClicked_=!1:(this.matchListItemsToField_=!1,!this.listLoadAttempted_&&this.listIsEmpty()&&!this.element.comboField&&this.loadList(),b.Autocompleter.Base.prototype.onFocus.apply(this),this.enabled_&&(this.listBelowField_=!0,this.focusInProgress_=!0,this.hideList(),this.element.shakeCanceled=!1,this.maybeShowList(),this.index=this.getInitialSelectionIndex(),this.index>=0&&(this.setFieldToListValue(this.listItemValue(this.getCurrentEntry())),this.element.select(),this.render()),this.focusInProgress_=!1))},maybeShowList:function(){this.activate(),this.render();var m=!1;this.preventListFromShowing?m=!1:0==this.add_seqnum?m=this.entryCount>0:this.entryCount>1||!this.autoFill_?m=!0:1==this.entryCount&&(m=this.listItemValue(b.Autocompleter.listItemElements()[0])!=this.processedFieldVal_),1==m&&(this.posAnsList(),this.showList(),this.readSearchCount())},onFieldClick:function(){if(this.enabled_&&this.element.id===b.Autocompleter.currentAutoCompField_&&(!this.listShowing||this.matchListItemsToField_)){this.matchListItemsToField_=!1;var m=this.suggestionMode_;this.suggestionMode_=b.Autocompleter.NO_COMPLETION_SUGGESTIONS,this.maybeShowList(),this.suggestionMode_=m}},focusField:function(){this.element.focus()},listItemValue:function(m){const d=m.getAttribute("autocompRawListIndex");return this.rawList_[d]},fieldEventIsBigList:function(m){return m.ctrlKey&&m.keyCode===L.ui.keyCode.ENTER},handleSeeMoreItems:function(m){this.seeMoreItemsClicked_=!0,O("searchHint").style.display="none",this.listBelowField_=!1,this.getUpdatedChoices(),this.posAnsList(),this.seeMoreItemsClicked_=!1,this.splitAutocomp_=!1,b.Autocompleter.stopEvent(m)},findItemIndexByCode:function(m){for(var d=null,g=0,C=this.itemCodes_.length;g<C&&!d;++g)m==this.itemCodes_[g]&&(d=g);return d},selectByCode:function(m){var d=this.findItemIndexByCode(m);null!=d&&this.setFieldToListValue(this.rawList_[d])},readSearchCount:function(){var m=b.Autocompleter.Base.prototype.readSearchCount.apply(this);return!m&&this.entryCount>0&&(b.Autocompleter.screenReaderLog("Showing "+this.entryCount+" of "+this.rawList_.length+" items."),m=!0),m},activate:function(){this.changed=!1,this.hasFocus=!0,this.getUpdatedChoices()}};L.extend(b.Autocompleter.Prefetch.prototype,U),U=null}},8644:Q=>{Q.exports=function K(O,L,b){"use strict";b.Autocompleter.Search=b.PrototypeAPI.Class.create();var B={urlToCache_:{},MAX_VALUE_SIZE_FOR_AUTOCOMP:25,EXPANDED_COUNT:500,constructor:b.Autocompleter.Search,superclass:b.Autocompleter.Base.prototype};L.extend(b.Autocompleter.Search,B),B=null,L.extend(b.Autocompleter.Search.prototype,b.Autocompleter.Base.prototype),b.Autocompleter.Search.prototype.className="Def.Autocompleter.Search";var U={lastAjaxRequest_:null,resultCache_:null,useResultCache_:!0,suggestionList_:null,showListOnFocusIfEmpty_:!1,initialize:function(m,d,g){g=L.extend({partialChars:2,onHide:L.proxy(function(y,_){O("searchCount").style.display="none",O("moreResults").style.display="none",b.Autocompleter.Base.prototype.hideList.apply(this)},this),onShow:L.proxy(function(y,_){O("searchCount").style.display="block",O("moreResults").style.display="block",b.Autocompleter.Base.prototype.showList.apply(this)},this),onComplete:L.proxy(this.onComplete,this)},g||{}),b.Autocompleter.Base.classInit_||b.Autocompleter.Base.classInit(),this.url=d,this.fhir=g.fhir,this.search=g.search||this.fhir&&this.fhir.search,this.defAutocompleterBaseInit(m,g),this.autocomp=g.autocomp,void 0===this.autocomp?this.autocomp=!0:this.autocomp||(this.options.frequency=31536e3),void 0===g.sort&&(g.sort=!0),null!==g.useResultCache&&!1===g.useResultCache&&(this.useResultCache_=!1),this.showListOnFocusIfEmpty_=g.showListOnFocusIfEmpty||!1,L(this.element).focus(L.proxy(this.onFocus,this));var C=g.buttonID;if(this.buttonID=C,C&&"null"!==C){var M=L(document.getElementById(C));M.mousedown(L.proxy(this.buttonClick,this)),M.keypress(L.proxy(this.buttonKeyPress,this))}L(this.element).addClass("search_field"),g.colHeaders&&(this.colHeaderHTML="<table><thead><th>"+g.colHeaders.join("</th><th>")+"</th></thead><tbody>")},initItemToDataIndex:function(){this.itemToDataIndex_={}},dupForField:function(m){var d=this.dupDataReqForField(m),g=Object.clone(this.constructorOpts_);return g.dataRequester=d,new b.Autocompleter.Search(m,this.url,g)},getSearchStr:function(m){var d=b.Autocompleter;return d.LIST_ITEM_FIELD_SEP_REGEX||(d.LIST_ITEM_FIELD_SEP_REGEX=new RegExp(d.LIST_ITEM_FIELD_SEP,"g")),m||(m=this.getToken()),m.replace(d.LIST_ITEM_FIELD_SEP_REGEX," ").trimLeft()},runSearch:function(){this.lastAjaxRequest_&&this.lastAjaxRequest_.transport&&this.lastAjaxRequest_.abort();var m=this.search;if(this.url||m){this.searchInProgress=!0,this.searchStartTime=(new Date).getTime();var d=this.getSearchStr(),g=null;this.useResultCache_&&(g=this.getCachedResults(d,this.getLoadCount(b.Autocompleter.Search.EXPANDED_COUNT)))&&this.onComplete(g,null,!0),g||(m?this.useSearchFn(d,b.Autocompleter.Search.EXPANDED_COUNT):this.urlSearch(d,b.Autocompleter.Search.EXPANDED_COUNT),this.changed=!1,this.hasFocus=!0)}},getLoadCount(m){return this.search||this.fhir?m+(this.multiSelect_&&b.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD===m?this.getSelectedItems().length:0):this.multiSelect_&&m===b.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD?m+this.getSelectedItems().length:m!==b.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD?m:0},useSearchFn:function(m,d){var g=this;this.search(m,this.getLoadCount(d)).then(function(C){g.onComplete({results:C,requestedCount:d,searchStr:m})},function(C){console.log("FHIR search failed: "+C)})},urlSearch:function(m,d){var g={};if(this.fhir)g.filter=m,g._format="application/json",g.count=this.getLoadCount(d);else{g.terms=m;var C=this.getLoadCount(d);C&&(g.maxList=C)}window._token&&(params.authenticity_token=window._token),this.lastAjaxRequest_=L.ajax(this.url,{data:g,dataType:"json",complete:this.options.onComplete}),this.lastAjaxRequest_.requestParamData_=g,this.lastAjaxRequest_.requestedCount=d},initResultCache:function(){this.resultCache_=this.url?b.Autocompleter.Search.urlToCache_[this.url]:null,this.resultCache_||(this.resultCache_=[],this.url&&(b.Autocompleter.Search.urlToCache_[this.url]=this.resultCache_))},getCachedResults:function(m,d){return this.resultCache_||this.initResultCache(),this.resultCache_[d]&&this.resultCache_[d][m]},storeCachedResults:function(m,d,g){this.resultCache_||this.initResultCache(),this.resultCache_[d]||(this.resultCache_[d]={}),this.resultCache_[d][m]=g},clearCachedResults:function(){this.resultCache_=[{},{}],b.Autocompleter.Search.urlToCache_[this.url]=this.resultCache_},setURL:function(m){this.url=m,this.initResultCache()},fieldEventIsBigList:function(m){return m.keyCode===L.ui.keyCode.ENTER&&(m.ctrlKey||!this.autocomp&&this.domCache.get("elemVal")!==this.processedFieldVal_&&""!==this.domCache.get("elemVal").trim())},buttonKeyPress:function(m){m.keyCode===L.ui.keyCode.ENTER&&this.runSearch()},processChoices:function(m,d){for(var g=[],C=Object.keys(m),M=0,y=C.length;M<y;++M){var _=C[M];(!this.multiSelect_||!this.isSelected(_))&&g.push(_)}if(g.length>0&&!this.numHeadings_){var I=null,F=-1;if(this.suggestionMode_===b.Autocompleter.USE_STATISTICS?F=0:this.suggestionMode_===b.Autocompleter.SUGGEST_SHORTEST&&(F=this.pickBestMatch(g)),this.options.sort)F>-1&&(I=g[F],g[F]=""),g=g.sort(b.Autocompleter.Base.noCaseSort),F>-1&&(g[0]=I);else if(F>0){var N=g[0];g[0]=g[F],g[F]=N}g.length>d&&(g.length=d)}return[g,F>-1]},escapeHTML:function(m){return b.Autocompleter.Base.escapeAttribute(m).replace(/<(\/)?span>/g,"<$1span>")},buildUpdateHTML:function(m,d,g){var C,M,y,_,w,I,F,N=this.options.tableFormat;N?(M=this.colHeaderHTML||"<table><tbody>",y="</tbody></table>",_="<tr",w="><td>",I="</td><td>",F="</td></tr>"):(M="<ul>",y="</ul>",_="<li",w=">",I=b.Autocompleter.LIST_ITEM_FIELD_SEP,F="</li>"),C=M;for(var R=0,j=m.length;R<j;++R){for(var ee=m[R],J=g[ee],ue=[],te=0,pe=J.length;te<pe;++te)ue[te]=this.escapeHTML(J[te]);C+=_,0===R&&d&&(C+=' class="suggestion"'),N&&(C+=' data-fieldval="'+this.escapeHTML(ee)+'"'),C+=w,C+=ue.join(I),C+=F}return C+y},setSearchCountDiv:function(m,d,g){var C=O("searchCount"),M="";if(m>0||null===m){M=d+" of "+(null===m?"unknown":m)+" total";var _=(new Date).getTime()-this.searchStartTime+1e3*this.options.frequency+"",w=g+"";w.length<3&&(w+=" ");var I="; ";void 0!==g&&(I+=w+" bytes in "),I+=_+" ms",_.length<3&&(I+=" "),C.innerHTML=M+=I,O("searchCount").style.display="block"}},createFieldVals:function(m){var d={},g=this.options.valueCols,C=b.Autocompleter.LIST_ITEM_FIELD_SEP;if(this.itemToDataIndex_={},g)var M=g.length;for(var y=0,_=m.length;y<_;++y){var I,w=m[y];if(g){I=[];for(var F=0;F<M;++F)I[F]=w[g[F]]}else I=w;var N=I.join(C);N=N.replace(/<\/?span>/g,""),this.itemToDataIndex_[N]=y,d[N]=w}return d},onComplete:function(m,d,g){const C=m.requestedCount||this.lastAjaxRequest_.requestedCount;var M=this.getToken();this.trimmedElemVal=M.trim(),this.lastAjaxRequest_===m&&(this.lastAjaxRequest_=null);const y=!!m.results;if(200===m.status||y){if(y)var _=m.searchStr,w=m.requestedCount===b.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD;else{var I=m.requestParamData_;this.fhir?(_=I.filter,w=I.count===this.getLoadCount(b.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD)):(_=I.terms,w=void 0===I.maxList||I.maxList===this.getLoadCount(b.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD))}var F=b.Autocompleter.Search;!g&&this.useResultCache_&&this.storeCachedResults(_,this.getLoadCount(C),m);var N=this.getSearchStr(M);if(w&&(N=N.substr(0,F.MAX_VALUE_SIZE_FOR_AUTOCOMP)),(this.hasFocus||this.refocusInProgress_)&&N===_){var R=y?m.results:m.responseJSON||JSON.parse(m.responseText);if(this.fhir){j=R.expansion.total,this.listExtraData_=null,this.itemCodes_=[],this.itemCodeSystems_=[],this.rawList_=[];var ee=R.expansion.contains;if(ee)for(var J=0,ue=ee.length;J<ue;++J){var te=ee[J];this.itemCodes_[J]=te.code,this.itemCodeSystems_[J]=te.system,this.rawList_[J]=[te.display]}}else{var j=R[0];this.itemCodes_=R[1],this.listExtraData_=R[2],this.itemCodeSystems_=R[4],this.rawList_=R[3]}var pe=this.createFieldVals(this.rawList_),Re=this.processChoices(pe,C),Me=Re[0],ze=this.buildUpdateHTML(Me,Re[1],pe);this.updateChoices(ze,!1);var de=Me.length;this.setSearchCountDiv(j,de,y?void 0:m.responseText.length),O("moreResults").style.display=(de<j||null===j)&&w?"block":"none",this.searchInProgress=!1,this.listBelowField_=this.entryCount<=b.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD,this.posAnsList()}}},getItemExtraData:function(m){var d={};if(this.listExtraData_){var g=this.itemToDataIndex_[m];if(null!=g)for(var C=Object.keys(this.listExtraData_),M=0,y=C.length;M<y;++M){var _=C[M];d[_]=this.listExtraData_[_][g]}}return d},getItemData:function(m){m||(m=this.domCache.get("elemVal"));var d={text:m};if(""!=m&&this.itemToDataIndex_){var g=this.getItemCode(m);if(null!=g&&(d.code=g,this.itemCodeSystems_)){var M=this.itemCodeSystems_[this.itemToDataIndex_[m]];M&&(d.code_system=M)}var y=this.getItemExtraData(m);Object.keys(y).length>0&&(d.data=y)}return d},show:function(){("hidden"===this.listContainer.style.visibility||""===this.listContainer.style.visibility)&&this.options.onShow(this.element,this.update)},hide:function(){this.searchInProgress||b.Autocompleter.Search.superclass.hide.apply(this)},buttonClick:function(m){this.observer&&clearTimeout(this.observer),this.searchInProgress=!0,this.runSearch(),b.Autocompleter.stopEvent(m)},handleSeeMoreItems:function(m){this.multiSelect_&&""===this.domCache.get("elemVal")&&this.preFieldFillVal_&&this.setFieldVal(this.preFieldFillVal_,!1),this.buttonClick(m)},onFocus:function(){!0===b.Autocompleter.completionOptionsScrollerClicked_?b.Autocompleter.completionOptionsScrollerClicked_=!1:(this.refocusInProgress_||(b.Autocompleter.screenReaderLog("Type to show matching list values."),this.hide(),this.rawList_=[]),b.Autocompleter.Base.prototype.onFocus.apply(this),this.hasFocus=!0,this.showListOnFocusIfEmpty_&&this.getUpdatedChoices())},onBlur:function(m){!this.refocusInProgress_&&!b.Autocompleter.completionOptionsScrollerClicked_&&(b.Autocompleter.Base.prototype.onBlur.apply(this,[m]),this.searchInProgress||(this.active=!1))},getUpdatedChoices:function(){if(this.lastAjaxRequest_&&this.lastAjaxRequest_.transport&&this.lastAjaxRequest_.abort(),this.url||this.search){this.searchStartTime=(new Date).getTime();var m=null,d=b.Autocompleter.Search,g=this.getSearchStr();g.length>d.MAX_VALUE_SIZE_FOR_AUTOCOMP&&(g=g.substr(0,d.MAX_VALUE_SIZE_FOR_AUTOCOMP)),this.useResultCache_&&(m=this.getCachedResults(g,this.getLoadCount(b.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD)))&&this.onComplete(m,null,!0),m||(this.search?this.useSearchFn(g,b.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD):this.urlSearch(g,b.Autocompleter.Base.MAX_ITEMS_BELOW_FIELD))}},findSuggestions:function(){if(this.url){var d={field_val:this.getSearchStr(),suggest:1};window._token&&(params.authenticity_token=window._token);var g={data:d,complete:L.proxy(this.onFindSuggestionComplete,this)};L.ajax(this.url,g)}},onFindSuggestionComplete:function(m){if(200===m.status){var d=m.responseJSON||JSON.parse(m.responseText),C=[],M=!1;if(d[0].length>0){var y=d[1];this.suggestionList_=d;for(var _=this.domCache.get("elemVal").trim().toLowerCase(),w=b.Autocompleter.LIST_ITEM_FIELD_SEP,I=0,F=y.length;!M&&I<F;++I)y[I]=y[I].join(w),y[I].toLowerCase()===_&&(M=!0,this.observer&&clearTimeout(this.observer),this.acceptSuggestion(I));M||(C=y)}M||b.Autocompleter.Event.notifyObservers(this.element,"SUGGESTIONS",{suggestion_list:C})}},acceptSuggestion:function(m){var d=this.suggestionList_[0],g=this.suggestionList_[1],C=g[m],M=this.domCache.get("elemVal");this.setFieldVal(this.processedFieldVal_=C,!1),this.setMatchStatusIndicator(!0),this.fieldValIsListVal_=!0,this.propagateFieldChanges(),b.Autocompleter.Event.notifyObservers(this.element,"SUGGESTION_USED",{suggestion_used:C}),this.itemCodes_=d,this.itemToDataIndex_={},this.itemToDataIndex_[g[m]]=m,this.listExtraData_=this.suggestionList_[2],this.itemCodeSystems_=this.suggestionList_[3],this.listSelectionNotification(M,!0),this.element.focus()}};L.extend(b.Autocompleter.Search.prototype,U),U=null}},5013:Q=>{Q.exports=function K(O){"use strict";var L=O.PrototypeAPI.Class.create({initialize:function(b,D,B,U){if(this.displayedProp=b.display||"text",this.scope=D,this.acOptions=b,U){this.pElem=B[0];var m=this.pElem.autocomp;m&&(m.destroy(),D.modelData=null,this.removeAutocompFunction(U.$formatters),this.removeAutocompFunction(U.$parsers));var d=b.hasOwnProperty("url")||b.fhir&&b.fhir.search;this.ac=d?this.searchList():this.prefetchList();var g=D.modelData;if(null!=g)if(this.ac.multiSelect_){for(var M=0,y=g.length;M<y;++M)this.ac.storeSelectedItem(_=g[M][this.displayedProp],g[M].code),this.ac.addToSelectedArea(_);this.ac.setFieldVal("",!1)}else{var _;"string"==typeof(_=g[this.displayedProp])?(this.ac.storeSelectedItem(_,g.code),this.ac.setFieldVal(_,!1)):this.ac.setFieldVal("",!1)}this.parser=this.parser.bind(this),this.parser.fromAutocomp=!0,U.$parsers.push(this.parser),this.formatter=this.formatter.bind(this),this.formatter.fromAutocomp=!0,U.$formatters.push(this.formatter)}},parser:function(b){var D=this.scope.modelData;return void 0===D&&(D=null),D},formatter:function(b){var D="";return this.ac.multiSelect_?D="":("string"==typeof b?D=b:null!==b&&"object"==typeof b&&"string"==typeof b[this.displayedProp]&&(D=b[this.displayedProp]),D=D.trim()),this.ac.setFieldVal(D,!1),D},getPrefetchItemModelData:function(b,D){var B=D[b];return B||(""!=b?(B={_notOnList:!0})[this.displayedProp]=b:B=null),B},prefetchListSelHandler:function(b,D){var B=b.final_val;if(this.ac.multiSelect_){this.scope.modelData||(this.scope.modelData=[]);var U=this.scope.modelData;if(b.removed){for(var m=b.final_val,d=0,g=U.length;d<g;++d)if(m===U[d][this.displayedProp]){U.splice(d,1);break}}else if(b.on_list||!this.acOptions.matchListValue){var C=this.getPrefetchItemModelData(B,D);C&&U.push(C)}}else this.scope.modelData=this.getPrefetchItemModelData(B,D)},prefetchList:function(){var b=[],D={},B=this.acOptions,U=null,m=B.defaultValue,d=null,g=this.displayedProp;void 0!==m&&null==this.scope.modelData&&("string"==typeof m?(U=g,d=m):d=m[U=Object.keys(m)[0]]);for(var M,C=null,y=0,_=B.listItems.length;y<_;++y){var w=B.listItems[y];b[y]=M=w[g];var I=M.trim();D[I]=w,U&&w[U].trim()===d&&(C=this.getPrefetchItemModelData(I,D))}var F=new O.Autocompleter.Prefetch(this.pElem,b,B);this.addNameAttr();var N=this;return this.updateListSelectionHandler(function(R){N.scope.$apply(function(){N.prefetchListSelHandler(R,D)})}),null!==C&&!this.scope.modelData&&(this.scope.modelData=F.multiSelect_?[C]:C),F},getSearchItemModelData:function(b,D){var B;return""===b?B=null:(B=this.ac.getItemData(b),D||(B._notOnList=!0)),B},addNameAttr:function(){""===this.pElem.name&&(this.pElem.name=this.pElem.id)},searchListSelHandler:function(b){var D=b.final_val,B=b.on_list;if(this.ac.multiSelect_){this.scope.modelData||(this.scope.modelData=[]);var U=this.scope.modelData;if(b.removed){for(var m=b.final_val,d=0,g=U.length;d<g;++d)if(m===U[d].text){U.splice(d,1);break}}else if(b.on_list||!this.acOptions.matchListValue){var C=this.getSearchItemModelData(D,B);C&&U.push(C)}}else this.scope.modelData=this.getSearchItemModelData(D,B)},searchList:function(){var b=new O.Autocompleter.Search(this.pElem,this.acOptions.url,this.acOptions);this.addNameAttr();var D=this;return this.updateListSelectionHandler(function(B){D.scope.$apply(function(){D.searchListSelHandler(B)})}),b},removeAutocompFunction:function(b){for(var D=0,B=b.length;D<B;++D)if(b[D].fromAutocomp){b.splice(D,1);break}},updateListSelectionHandler:function(b){var D=this.pElem,B=O.Observable.lookupKey(D),U=O.Autocompleter.directiveListEventHandlers,m=U[D.id];m&&O.Autocompleter.Event.removeCallback(B,"LIST_SEL",m),O.Autocompleter.Event.observeListSelections(B,b),U[D.id]=b}});O.Autocompleter.directiveListEventHandlers={},"undefined"!=typeof angular&&angular.module("autocompleteLhcMod",[]).directive("autocompleteLhc",[function(){return{restrict:"A",require:"?ngModel",scope:{modelData:"=ngModel",acOpts:"=autocompleteLhc"},link:function(b,D,B,U){U.$options||(U.$options={}),U.$options.updateOn="none",U.$options.updateOnDefault=!1,b.$watch("acOpts",function m(d){new L(d,b,D,U)},!0)}}}])}},951:Q=>{Q.exports=function K(O,L){"use strict";var D=O.$;function B(g,m,d){if(g=D(g),1==arguments.length){var C=g.cumulativeOffset();window.scrollTo(C[0],C[1])}else g.scrollLeft=m,g.scrollTop=d;return g}L.Scroll=O.Class.create(),jQuery.extend(jQuery.extend(L.Scroll.prototype,L.Base.prototype),{currentScrollPos:function(U){return this.element===window?document.viewport.getScrollOffsets():this.element===document.documentElement&&0===document.documentElement.scrollTop&&0===document.documentElement.scrollLeft?{left:document.body.scrollLeft,top:document.body.scrollTop}:{left:this.element.scrollLeft,top:this.element.scrollTop}},initialize:function(U){if(this.element=D(U),!this.element)throw L._elementDoesNotExistError;var m=this.currentScrollPos(U),d=jQuery.extend({x:0,y:0},arguments[1]||{}),g={x:m.left+d.x,y:m.top+d.y};this.start(g)},setup:function(){},update:function(U){var m=this.currentScrollPos(this.element),d=Math.round((this.options.x-m.left)*U+m.left),g=Math.round((this.options.y-m.top)*U+m.top);B(this.element,d,g),this.element===document.documentElement&&B(document.body,d,g)}})}},1444:Q=>{if(void 0===K)var K={};Q.exports=function O(L,b,D){"use strict";var B=D.PrototypeAPI.Class,U=D.PrototypeAPI.Enumerable,d=D.PrototypeAPI.isString,g={_elementDoesNotExistError:{name:"ElementDoesNotExistError",message:"The specified DOM element does not exist, but is required for this effect to operate"},Transitions:{linear:function(C){return C},sinoidal:function(C){return-Math.cos(C*Math.PI)/2+.5},reverse:function(C){return 1-C},flicker:function(M){return(M=-Math.cos(M*Math.PI)/4+.75+Math.random()/4)>1?1:M},wobble:function(C){return-Math.cos(C*Math.PI*(9*C))/2+.5},pulse:function(C,M){return-Math.cos(C*((M||5)-.5)*2*Math.PI)/2+.5},spring:function(C){return 1-Math.cos(4.5*C*Math.PI)*Math.exp(6*-C)},none:function(C){return 0},full:function(C){return 1}},DefaultOptions:{duration:1,fps:100,sync:!1,from:0,to:1,delay:0,queue:"parallel"}};g.DefaultOptions.transition=g.Transitions.sinoidal,g.ScopedQueue=B.create(U,{initialize:function(){this.effects=[],this.interval=null},_each:function(C){this.effects._each(C)},add:function(C){var M=(new Date).getTime();switch(d(C.options.queue)?C.options.queue:C.options.queue.position){case"front":this.effects.findAll(function(_){return"idle"==_.state}).each(function(_){_.startOn+=C.finishOn,_.finishOn+=C.finishOn});break;case"with-last":M=this.effects.pluck("startOn").max()||M;break;case"end":M=this.effects.pluck("finishOn").max()||M}C.startOn+=M,C.finishOn+=M,(!C.options.queue.limit||this.effects.length<C.options.queue.limit)&&this.effects.push(C),this.interval||(this.interval=setInterval(b.proxy(this.loop,this),15))},remove:function(C){for(var M;(M=this.effects.indexOf(C))>-1;)this.effects.splice(M,1);0==this.effects.length&&(clearInterval(this.interval),this.interval=null)},loop:function(){for(var C=(new Date).getTime(),M=0,y=this.effects.length;M<y;M++)this.effects[M]&&this.effects[M].loop(C)}}),g.Queues={instances:{},get:function(C){return d(C)?this.instances[C]||(this.instances[C]=new g.ScopedQueue):C}},g.Queue=g.Queues.get("global"),g.Base=B.create({position:null,start:function(C){C&&!1===C.transition&&(C.transition=g.Transitions.linear),this.options=b.extend(b.extend({},g.DefaultOptions),C||{}),this.currentFrame=0,this.state="idle",this.startOn=1e3*this.options.delay,this.finishOn=this.startOn+1e3*this.options.duration,this.fromToDelta=this.options.to-this.options.from,this.totalTime=this.finishOn-this.startOn,this.totalFrames=this.options.fps*this.options.duration,this.render=function(){function M(y,_){y.options[_+"Internal"]&&y.options[_+"Internal"](y),y.options[_]&&y.options[_](y)}return function(y){"idle"===this.state&&(this.state="running",M(this,"beforeSetup"),this.setup&&this.setup(),M(this,"afterSetup")),"running"===this.state&&(y=this.options.transition(y)*this.fromToDelta+this.options.from,this.position=y,M(this,"beforeUpdate"),this.update&&this.update(y),M(this,"afterUpdate"))}}(),this.event("beforeStart"),this.options.sync||g.Queues.get(d(this.options.queue)?"global":this.options.queue.scope).add(this)},loop:function(C){if(C>=this.startOn){if(C>=this.finishOn)return this.render(1),this.cancel(),this.event("beforeFinish"),this.finish&&this.finish(),void this.event("afterFinish");var M=(C-this.startOn)/this.totalTime,y=Math.round(M*this.totalFrames);y>this.currentFrame&&(this.render(M),this.currentFrame=y)}},cancel:function(){this.options.sync||g.Queues.get(d(this.options.queue)?"global":this.options.queue.scope).remove(this),this.state="finished"},event:function(C){this.options[C+"Internal"]&&this.options[C+"Internal"](this),this.options[C]&&this.options[C](this)},inspect:function(){var C=$H();for(property in this)Object.isFunction(this[property])||C.set(property,this[property]);return"#<Effect:"+C.inspect()+",options:"+$H(this.options).inspect()+">"}}),g.Move=B.create(g.Base,{initialize:function(C){if(this.element=L(C),!this.element)throw g._elementDoesNotExistError;var M=b.extend({x:0,y:0,mode:"relative"},arguments[1]||{});this.start(M)},setup:function(){D.PrototypeAPI.makePositioned(this.element);var C=D.PrototypeAPI;this.originalLeft=parseFloat(C.getStyle(this.element,"left")||"0"),this.originalTop=parseFloat(C.getStyle(this.element,"top")||"0"),"absolute"==this.options.mode&&(this.options.x=this.options.x-this.originalLeft,this.options.y=this.options.y-this.originalTop)},update:function(C){D.PrototypeAPI.setStyle(this.element,{left:Math.round(this.options.x*C+this.originalLeft)+"px",top:Math.round(this.options.y*C+this.originalTop)+"px"})}}),g.Shake=function(C){C=L(C);var M=b.extend({distance:20,duration:.5},arguments[1]||{}),y=parseFloat(M.distance),_=parseFloat(M.duration)/10,w=b(C).offset(),I=D.PrototypeAPI,F={top:w.top,left:w.left};return new g.Move(C,{x:y,y:0,duration:_,afterFinishInternal:function(N){new g.Move(N.element,{x:2*-y,y:0,duration:2*_,afterFinishInternal:function(R){new g.Move(R.element,{x:2*y,y:0,duration:2*_,afterFinishInternal:function(j){new g.Move(j.element,{x:2*-y,y:0,duration:2*_,afterFinishInternal:function(ee){new g.Move(ee.element,{x:2*y,y:0,duration:2*_,afterFinishInternal:function(J){new g.Move(J.element,{x:-y,y:0,duration:_,afterFinishInternal:function(ue){I.setStyle(I.undoPositioned(ue.element),F)}})}})}})}})}})}})},D.Effect=g}},2968:Q=>{Q.exports=function K(O,L){"use strict";var b={HTMLEvents:/^(?:load|unload|abort|error|select|change|submit|reset|focus|blur|resize|scroll)$/,MouseEvents:/^(?:click|mouse(?:down|up|over|move|out))$/},D={pointerX:0,pointerY:0,button:0,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,bubbles:!0,cancelable:!0};L.Event={},L.Event.simulate=function(B,U){var d,m=jQuery.extend(D,arguments[2]||{}),g=null;for(var C in B=O(B),b)if(b[C].test(U)){g=C;break}if(!g)throw new SyntaxError("Only HTMLEvents and MouseEvents interfaces are supported");return document.createEvent?(d=document.createEvent(g),"HTMLEvents"==g?d.initEvent(U,m.bubbles,m.cancelable):d.initMouseEvent(U,m.bubbles,m.cancelable,document.defaultView,m.button,m.pointerX,m.pointerY,m.pointerX,m.pointerY,m.ctrlKey,m.altKey,m.shiftKey,m.metaKey,m.button,B),B.dispatchEvent(d)):(m.clientX=m.pointerX,m.clientY=m.pointerY,d=jQuery.extend(document.createEventObject(),m),B.fireEvent("on"+U,d)),B}}},2474:Q=>{if(void 0===K)var K={};Q.exports=function O(L,b,D){"use strict";D.FieldAlarms={setOffAlarm:function(B){void 0===this.bonk&&(this.bonk=new Audio(this.soundData_)),this.bonk.readyState>=2&&(this.bonk.currentTime=0,0!==this.bonk.currentTime&&(this.bonk.src=this.bonk.src)),this.bonk.play(),D.Effect.Shake(B.id,5)},cancelAlarm:function(B){B.shakeCanceled=!0,this.bonk.pause(),this.bonk.currentTime=0}}}},5076:(Q,K,O)=>{var L={};L.PrototypeAPI=O(5826),O(6397),O(5610)(L),O(1444)(L.PrototypeAPI.$,jQuery,L),O(951)(L.PrototypeAPI,L.Effect),O(2968)(L.PrototypeAPI.$,L),O(3469)(L),O(5559)(L),O(5188)(L.PrototypeAPI.$,jQuery,L),O(2474)(L.PrototypeAPI.$,jQuery,L),O(5855)(L),O(2103)(L.PrototypeAPI.$,jQuery,L),O(3810)(L.PrototypeAPI.$,jQuery,L),O(8644)(L.PrototypeAPI.$,jQuery,L),O(2948)(L.PrototypeAPI.$,jQuery,L),O(5013)(L),Q.exports=L},5610:Q=>{Q.exports=function K(O){O.jqueryLite=function(){"use strict";return{ui:{keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}}}(),Object.assign(jQuery,O.jqueryLite)}},3469:Q=>{if(void 0===K)var K={};Q.exports=function O(L){"use strict";L.Observable={callbacks_:null,notifyObservers:function(b,D,B){null!==this.callbacks_&&(B.field_id=b?b.id:null,setTimeout(function(){var U=this.callbacks_[D];if(void 0!==U){if(null!==b)var d=U[this.lookupKey(b)];for(var C=[d,U.null],M=0,y=C.length;M<y;++M){var _=C[M];if(void 0!==_)for(var w=0,I=_.length;w<I;++w)_[w].call(this,B)}}}.bind(this)))},lookupKey:function(b){return b.name||b.id},storeCallback:function(b,D,B){null===this.callbacks_&&(this.callbacks_={});var U=this.callbacks_[D];void 0===U&&(this.callbacks_[D]=U={});var m=U[b];void 0===m&&(U[b]=m=[]),m.push(B)},removeCallback:function(b,D,B){if(null!==this.callbacks_){var U=this.callbacks_[D];if(void 0!==U){var m=U[b];if(void 0!==m){var d=m.indexOf(B);d>-1&&m.splice(d,1)}}}}}}},6397:()=>{"function"!=typeof Object.assign&&(Object.assign=function(Q){"use strict";if(null==Q)throw new TypeError("Cannot convert undefined or null to object");for(var K=Object(Q),O=1;O<arguments.length;O++){var L=arguments[O];if(null!=L)for(var b in L)L.hasOwnProperty(b)&&(K[b]=L[b])}return K}),String.prototype.trimLeft=function(){for(var Q=-1;this.charCodeAt(++Q)<33;);return this.slice(Q,this.length)}},5826:Q=>{if(void 0===K)var K={};K.PrototypeAPI=function(){"use strict";var O={};function L(N){if(!N)return[];if("toArray"in Object(N))return N.toArray();for(var R=N.length||0,j=new Array(R);R--;)j[R]=N[R];return j}function b(N){var R=N;return K.PrototypeAPI.isString(N)&&(R=document.getElementById(N)),R}var N,R,D=Object.prototype.toString,B=(N="undefined"!=typeof navigator&&navigator.userAgent,R="[object Opera]"==Object.prototype.toString.call(window.opera),{IE:!!window.attachEvent&&!R,Opera:R,WebKit:N&&N.indexOf("AppleWebKit/")>-1,Gecko:N&&N.indexOf("Gecko")>-1&&-1===N.indexOf("KHTML"),MobileSafari:N&&/Apple.*Mobile/.test(N)});function U(N){return"[object Function]"===D.call(N)}function g(N){var R=N.toString().match(/^[\s\(]*function[^(]*\(([^)]*)\)/)[1].replace(/\/\/.*?[\r\n]|\/\*(?:.|[\r\n])*?\*\//g,"").replace(/\s+/g,"").split(",");return 1!=R.length||R[0]?R:[]}function C(N,R){for(var j in R)N[j]=R[j];return N}function M(N){return N}var y=function(){var N=function(){for(var J in{toString:1})if("toString"===J)return!1;return!0}();function R(){}return{create:function j(){var J=null,ue=L(arguments);function te(){this.initialize.apply(this,arguments)}U(ue[0])&&(J=ue.shift()),C(te,y.Methods),te.superclass=J,te.subclasses=[],J&&(R.prototype=J.prototype,te.prototype=new R,J.subclasses.push(te));for(var pe=0,Re=ue.length;pe<Re;pe++)te.addMethods(ue[pe]);return te.prototype.initialize||(te.prototype.initialize=function(){}),te.prototype.constructor=te,te},Methods:{addMethods:function ee(J){var ue=this.superclass&&this.superclass.prototype,te=Object.keys(J);N&&(J.toString!=Object.prototype.toString&&te.push("toString"),J.valueOf!=Object.prototype.valueOf&&te.push("valueOf"));for(var pe=0,Re=te.length;pe<Re;pe++){var Me=te[pe],ce=J[Me];if(ue&&U(ce)&&"$super"==g(ce)[0]){var ze=ce;ce=function(de){return function(){return ue[de].apply(this,arguments)}}(Me).wrap(ze),ce.valueOf=function(de){return function(){return de.valueOf.call(de)}}(ze),ce.toString=function(de){return function(){return de.toString.call(de)}}(ze)}this.prototype[Me]=ce}return this}}}}(),_=function(){function j(Ae,ie){Ae=Ae||M;var X=!0;return this.each(function(xe,Oe){if(!(X=X&&!!Ae.call(ie,xe,Oe,this)))throw O},this),X}function ee(Ae,ie){Ae=Ae||M;var X=!1;return this.each(function(xe,Oe){if(X=!!Ae.call(ie,xe,Oe,this))throw O},this),X}function J(Ae,ie){Ae=Ae||M;var X=[];return this.each(function(xe,Oe){X.push(Ae.call(ie,xe,Oe,this))},this),X}function ue(Ae,ie){var X;return this.each(function(xe,Oe){if(Ae.call(ie,xe,Oe,this))throw X=xe,O},this),X}function te(Ae,ie){var X=[];return this.each(function(xe,Oe){Ae.call(ie,xe,Oe,this)&&X.push(xe)},this),X}function Re(Ae){if(U(this.indexOf)&&-1!=this.indexOf(Ae))return!0;var ie=!1;return this.each(function(X){if(X==Ae)throw ie=!0,O}),ie}function Mt(){return this.map()}return{each:function N(Ae,ie){try{this._each(Ae,ie)}catch(X){if(X!=O)throw X}return this},eachSlice:function R(Ae,ie,X){var xe=-Ae,Oe=[],Qe=this.toArray();if(Ae<1)return Qe;for(;(xe+=Ae)<Qe.length;)Oe.push(Qe.slice(xe,xe+Ae));return Oe.collect(ie,X)},all:j,every:j,any:ee,some:ee,collect:J,map:J,detect:ue,findAll:te,select:te,filter:te,grep:function pe(Ae,ie,X){ie=ie||M;var xe=[];return K.PrototypeAPI.isString(Ae)&&(Ae=new RegExp(RegExp.escape(Ae))),this.each(function(Oe,Qe){Ae.match(Oe)&&xe.push(ie.call(X,Oe,Qe,this))},this),xe},include:Re,member:Re,inGroupsOf:function Me(Ae,ie){return ie=Object.isUndefined(ie)?null:ie,this.eachSlice(Ae,function(X){for(;X.length<Ae;)X.push(ie);return X})},inject:function ce(Ae,ie,X){return this.each(function(xe,Oe){Ae=ie.call(X,Ae,xe,Oe,this)},this),Ae},invoke:function ze(Ae){var ie=L(arguments).slice(1);return this.map(function(X){return X[Ae].apply(X,ie)})},max:function de(Ae,ie){var X;return Ae=Ae||M,this.each(function(xe,Oe){xe=Ae.call(ie,xe,Oe,this),(null==X||xe>=X)&&(X=xe)},this),X},min:function Ne(Ae,ie){var X;return Ae=Ae||M,this.each(function(xe,Oe){xe=Ae.call(ie,xe,Oe,this),(null==X||xe<X)&&(X=xe)},this),X},partition:function ke(Ae,ie){Ae=Ae||M;var X=[],xe=[];return this.each(function(Oe,Qe){(Ae.call(ie,Oe,Qe,this)?X:xe).push(Oe)},this),[X,xe]},pluck:function Ve(Ae){var ie=[];return this.each(function(X){ie.push(X[Ae])}),ie},reject:function at(Ae,ie){var X=[];return this.each(function(xe,Oe){Ae.call(ie,xe,Oe,this)||X.push(xe)},this),X},sortBy:function An(Ae,ie){return this.map(function(X,xe){return{value:X,criteria:Ae.call(ie,X,xe,this)}},this).sort(function(X,xe){var Oe=X.criteria,Qe=xe.criteria;return Oe<Qe?-1:Oe>Qe?1:0}).pluck("value")},toArray:Mt,entries:Mt,zip:function an(){var Ae=L(arguments),ie=[this].concat(Ae).map(L);return this.map(function(X,xe){for(var Oe=[],Qe=0,un=ie.length;Qe<un;++Qe)Oe.push(ie[Qe][xe]);return Oe})},size:function Gn(){return this.toArray().length},inspect:function sn(){return"#<Enumerable:"+this.toArray().inspect()+">"},find:ue}}();function I(N){return N.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}var F={setOpacity:function(N,R){return 1==R||""===R?R="":R<1e-5&&(R=0),(N=b(N)).style.opacity=R,N},setStyle:function(N,R){var j=(N=b(N)).style;if(K.PrototypeAPI.isString(R)){if(j.cssText+=";"+R,R.include("opacity")){var J=R.match(/opacity:\s*(\d?\.?\d*)/)[1];K.PrototypeAPI.setOpacity(N,J)}return N}for(var ue in R)if("opacity"===ue)K.PrototypeAPI.setOpacity(N,R[ue]);else{var te=R[ue];("float"===ue||"cssFloat"===ue)&&(ue=void 0===j.styleFloat?"cssFloat":"styleFloat"),j[ue]=te}return N},getStyle:function(N,R){var j=(N=b(N)).style[R];if(!j||"auto"===j){var ee=document.defaultView.getComputedStyle(N,null);j=ee?ee[R]:null}return"opacity"===R?j?parseFloat(j):1:"auto"===j?null:j},makePositioned:function(N){N=b(N);var R=K.PrototypeAPI.getStyle(N,"position"),j={};return("static"===R||!R)&&(j.position="relative",K.PrototypeAPI.Browser.Opera&&(j.top=0,j.left=0),K.PrototypeAPI.setStyle(N,j),jQuery(N).data("prototype_made_positioned",!0)),N},undoPositioned:function(N){N=b(N);var R=jQuery(N);return R.data("prototype_made_positioned")&&(R.removeData("prototype_made_positioned"),K.PrototypeAPI.setStyle(N,{position:"",top:"",bottom:"",left:"",right:""})),N}};return{$:b,Class:y,Enumerable:_,isString:function m(N){return"[object String]"===D.call(N)},isArray:function d(N){return"[object Array]"===D.call(N)},Browser:B,parseQuery:function w(N){var j=N.trim().match(/([^?#]*)(#.*)?$/);if(!j)return{};for(var ee=j[1].split("&"),ue=0,te=ee.length;ue<te;++ue){var pe=ee[ue];if((pe=pe.split("="))[0]){var Re=decodeURIComponent(pe.shift()),Me=pe.length>1?pe.join("="):pe[0];null!=Me&&(Me=Me.gsub("+"," "),Me=decodeURIComponent(Me)),Re in hash?(this.isArray(hash[Re])||(hash[Re]=[hash[Re]]),hash[Re].push(Me)):hash[Re]=Me}}return{}},escapeHTML:I,escapeAttribute:I,getStyle:F.getStyle,setStyle:F.setStyle,makePositioned:F.makePositioned,undoPositioned:F.undoPositioned,$A:L}}(),Q.exports=K.PrototypeAPI},5188:Q=>{if(void 0===K)var K={};Q.exports=function O(L,b,D){"use strict";D.RecordDataRequester=D.PrototypeAPI.Class.create();var U={formField_:null,codeField_:null,dataURL_:null,dataReqInput_:null,dataReqOutput_:null,inputFieldsHash_:null,outputFieldsHash_:null,noPriorDataReq_:!0,latestPendingAjaxRequest_:null,lastFieldVal_:null,lastDataHash_:null,outputToSameGroup_:null,autoCompUpdateList_:null,initialize:function(m,d,g,C,M){this.formField_=m,this.dataURL_=d,this.dataReqInput_=g,this.dataReqOutput_=C,this.outputToSameGroup_=M,this.setOutputNamesToRDRNames(m,C)},setOutputNamesToRDRNames:function(m,d){for(var g=D.Autocompleter.getFieldLookupKey(m),C=D.RecordDataRequester.outputFieldNameToRDRFieldName_,M=0,y=d.length;M<y;++M)C[d[M]]=g},dupForField:function(m){return new D.RecordDataRequester(L(m),this.dataURL_,this.dataReqInput_,this.dataReqOutput_,this.outputToSameGroup_)},requestData:function(m){this.noPriorDataReq_=!1,this.inputFieldsHash_||this.initFieldsHash(),this.dataRequestOptions_||(this.dataRequestOptions_={}),m||this.clearDataOutputFields(),this.dataRequestOptions_.complete=b.proxy(m?this.onDataReqCompleteForListData:this.onDataReqComplete,this),this.dataRequestOptions_.data=this.buildParameters(),this.latestPendingAjaxRequest_=b.ajax(this.dataURL_,this.dataRequestOptions_),this.lastFieldVal_=D.Autocompleter.getFieldVal(this.formField_)},assignListData:function(){this.noPriorDataReq_&&""!==D.Autocompleter.getFieldVal(this.formField_)&&this.requestData(!0)},getFieldData:function(m){var d=null;return this.lastDataHash_&&D.Autocompleter.getFieldVal(this.formField_)===this.lastFieldVal_&&(d=this.lastDataHash_[m]),d},onDataReqComplete:function(m){if(this.latestPendingAjaxRequest_===m){this.lastFieldVal_=D.Autocompleter.getFieldVal(this.formField_);var d=m.responseJSON||JSON.parse(m.responseText);this.lastDataHash_=d,this.assignDataToFields(d),this.processUpdateList(d),this.latestPendingAjaxRequest_=null}},onDataReqCompleteForListData:function(m){if(this.latestPendingAjaxRequest_===m){var d=m.responseJSON||JSON.parse(m.responseText);this.lastDataHash_=d,this.assignDataToFields(d,!0),this.processUpdateList(d),this.latestPendingAjaxRequest_=null}},clearDataOutputFields:function(){this.inputFieldsHash_||this.initFieldsHash();for(var m=[],d=this.getOutputFieldsHash(),g=0,C=this.dataReqOutput_.length;g<C;++g){var M=d[this.dataReqOutput_[g]];if(void 0!==M)for(var y=0,_=M.length;y<_;++y){var w=M[y];w.autocomp&&w.autocomp.setListAndField?w.autocomp.setListAndField([]):(D.Autocompleter.setFieldVal(w,"",!1),m.push(w))}}D.Autocompleter.Event.notifyObservers(null,"RDR_CLEARING",m)},addFieldsToUpdateList:function(m,d,g){null===this.autoCompUpdateList_&&(this.autoCompUpdateList_={}),null===this.autoCompUpdateList_[m]&&(this.autoCompUpdateList_[m]={}),null===this.autoCompUpdateList_[m][g]?this.autoCompUpdateList_[m][g]=[d]:this.autoCompUpdateList_[m][g].push(d)},processUpdateList:function(m){if(null!==this.autoCompUpdateList_)for(var d in m){var g=m[d],C=g instanceof Array&&g.length>0;if(null!==this.autoCompUpdateList_[d])for(var M in this.autoCompUpdateList_[d]){var y=M.split(","),_=L(y[0]),w=D.Autocompleter.getFieldVal(_);if("EQ"===y[1]&&w===y[2]||"NE"===y[1]&&w!==y[2])for(var I=this.autoCompUpdateList_[d][M],F=0,N=I.length;F<N;F++)I[F].element&&(C?g[0]instanceof Array?I[F].setListAndField(g[0],g[1]):I[F].setListAndField(g):null===g&&I[F].setListAndField([],[]))}}},initFieldsHash:function(){this.inputFieldsHash_={};var m=D.Autocompleter;if(this.dataReqInput_)for(var d=this.dataReqInput_,g=0,C=d.length;g<C;++g){var M=d[g],y=m.findRelatedFields(this.formField_,M);1===y.length&&(this.inputFieldsHash_[M]=y[0])}this.outputToSameGroup_&&(this.outputFieldsHash_=this.constructOutputFieldsHash())},getOutputFieldsHash:function(){return this.outputToSameGroup_?this.outputFieldsHash_:this.constructOutputFieldsHash()},constructOutputFieldsHash:function(){for(var m={},d=this.dataReqOutput_,g=D.Autocompleter,C=0,M=d.length;C<M;++C){var y=d[C],_=g.findRelatedFields(this.formField_,y);_.length>0&&(m[y]=_)}return m},assignDataToFields:function(m,d){this.inputFieldsHash_||this.initFieldsHash();var g=[],C={},M=this.getOutputFieldsHash(),y=D.Autocompleter;for(var _ in m){var w=M[_];if(void 0!==w)for(var I=0,F=w.length;I<F;++I){var N=w[I],R=m[_];if(R instanceof Array){if(null!==N.autocomp){var j=y.getFieldLookupKey(N);if(this.setOutputNamesToRDRNames(this.formField_,[j]),R.length>0&&R[0]instanceof Array?(R[2]&&N.autocomp.initHeadings(R[2]),d?N.autocomp.setList(R[0],R[1]):N.autocomp.setListAndField(R[0],R[1])):d?N.autocomp.setList(R):N.autocomp.setListAndField(R),null!==this.autoCompUpdateList_&&null!==this.autoCompUpdateList_[j]){var ee={};ee[j]=R,this.processUpdateList(ee)}}}else d||(void 0!==N.comboField?N.comboField.mimicField(R,this.formField_.id):(D.Autocompleter.setFieldVal(N,R,!1),g.push(N),C[N.id]=R))}}D.Autocompleter.Event.notifyObservers(null,"RDR_ASSIGNMENT",{updatedFields:g,updatedFieldIDToVal:C,listField:this.formField_})},buildParameters:function(){var m={};this.inputFieldsHash_||this.initFieldsHash();var d=this.formField_.autocomp.getSelectedCodes()[0];if(null!=d?m.code_val=d:m.field_val=D.Autocompleter.getFieldVal(this.formField_),this.dataReqInput_)for(var g=0,C=this.dataReqInput_.length;g<C;++g){var M=this.dataReqInput_[g],y=this.inputFieldsHash_[M];if(null==y)throw"Could not find field for "+M;m[M]=D.Autocompleter.getFieldVal(y)}return m.authenticity_token=window._token||"",m}};b.extend(D.RecordDataRequester.prototype,U),U=null,b.extend(D.RecordDataRequester,{outputFieldNameToRDRFieldName_:{},getOutputFieldRDR:function(m){var d=null,g=L(m),C=D.Autocompleter.getFieldLookupKey(g),y=D.Autocompleter.findRelatedFields(g,this.outputFieldNameToRDRFieldName_[C]);if(1===y.length){var w=y[0].autocomp;w&&(d=w.recDataRequester_)}return d}})}},5559:Q=>{Q.exports=function K(O){"use strict";O.ScreenReaderLog=function(L){if(void 0===L){for(var b="reader_log",D=(L=b,1);document.getElementById(L);)L=b+ ++D;this.logElement_=document.createElement("div"),this.logElement_.setAttribute("id",L),document.body.appendChild(this.logElement_)}else this.logElement_=document.getElementById(L);this.logElement_.setAttribute("aria-live","assertive"),this.logElement_.setAttribute("aria-relevant","additions"),this.logElement_.setAttribute("role","log"),this.logElement_.setAttribute("class","screen_reader_only")},O.ScreenReaderLog.prototype={add:function(L){var b=document.createElement("p");b.appendChild(document.createTextNode(L)),this.logElement_.appendChild(b)}},O.ScreenReaderLog.add=function(L){this.log_||(this.log_=new O.ScreenReaderLog("reader_log")),this.log_.add(L)}}},4263:(Q,K,O)=>{"use strict";var L=O(9903),b=O(3855),D=b(L("String.prototype.indexOf"));Q.exports=function(U,m){var d=L(U,!!m);return"function"==typeof d&&D(U,".prototype.")>-1?b(d):d}},3855:(Q,K,O)=>{"use strict";var L=O(224),b=O(9903),D=b("%Function.prototype.apply%"),B=b("%Function.prototype.call%"),U=b("%Reflect.apply%",!0)||L.call(B,D),m=b("%Object.getOwnPropertyDescriptor%",!0),d=b("%Object.defineProperty%",!0),g=b("%Math.max%");if(d)try{d({},"a",{value:1})}catch(M){d=null}Q.exports=function(y){var _=U(L,B,arguments);if(m&&d){var w=m(_,"length");w.configurable&&d(_,"length",{value:1+g(0,y.length-(arguments.length-1))})}return _};var C=function(){return U(L,D,arguments)};d?d(Q.exports,"apply",{value:C}):Q.exports.apply=C},5541:(Q,K,O)=>{"use strict";var L=O(2093),b=O(9102),D=O(5734),B=O(6687),U=O(8704),m=O(8266),d=O(4666),g=O(2086),C=O(9903),M=O(4263),y=O(2107),_=O(2069),w=O(8432),I=O(5709),F=O(6189),N=M("ArrayBuffer.prototype.byteLength",!0);function R(ie){if(!ie||"object"!=typeof ie||!N)return!1;try{return N(ie),!0}catch(X){return!1}}var j=M("Date.prototype.getTime"),ee=Object.getPrototypeOf,J=M("Object.prototype.toString"),ue=C("%Set%",!0),te=M("Map.prototype.has",!0),pe=M("Map.prototype.get",!0),Re=M("Map.prototype.size",!0),Me=M("Set.prototype.add",!0),ce=M("Set.prototype.delete",!0),ze=M("Set.prototype.has",!0),de=M("Set.prototype.size",!0);function Ne(ie,X,xe,Oe){for(var un,Qe=_(ie);(un=Qe.next())&&!un.done;)if(Mt(X,un.value,xe,Oe))return ce(ie,un.value),!0;return!1}function ke(ie){return void 0===ie?null:"object"!=typeof ie?"symbol"!=typeof ie&&("string"!=typeof ie&&"number"!=typeof ie||+ie==+ie):void 0}function Ve(ie,X,xe,Oe,Qe,un){var tn=ke(xe);if(null!=tn)return tn;var Qt=pe(X,tn),St=F({},Qe,{strict:!1});return!(void 0===Qt&&!te(X,tn)||!Mt(Oe,Qt,St,un))&&!te(ie,tn)&&Mt(Oe,Qt,St,un)}function at(ie,X,xe){var Oe=ke(xe);return null!=Oe?Oe:ze(X,Oe)&&!ze(ie,Oe)}function An(ie,X,xe,Oe,Qe,un){for(var Qt,St,tn=_(ie);(Qt=tn.next())&&!Qt.done;)if(Mt(xe,St=Qt.value,Qe,un)&&Mt(Oe,pe(X,St),Qe,un))return ce(ie,St),!0;return!1}function Mt(ie,X,xe,Oe){var Qe=xe||{};if(Qe.strict?D(ie,X):ie===X)return!0;if(g(ie)!==g(X))return!1;if(!ie||!X||"object"!=typeof ie&&"object"!=typeof X)return Qe.strict?D(ie,X):ie==X;var hn,Qt=Oe.has(ie),St=Oe.has(X);if(Qt&&St){if(Oe.get(ie)===Oe.get(X))return!0}else hn={};return Qt||Oe.set(ie,hn),St||Oe.set(X,hn),function Ae(ie,X,xe,Oe){var Qe,un;if(typeof ie!=typeof X||null==ie||null==X||J(ie)!==J(X)||b(ie)!==b(X))return!1;if(m(ie)!==m(X))return!1;var St=ie instanceof Error,hn=X instanceof Error;if(St!==hn||(St||hn)&&(ie.name!==X.name||ie.message!==X.message))return!1;var Wr=B(ie),ji=B(X);if(Wr!==ji||(Wr||ji)&&(ie.source!==X.source||U(ie)!==U(X)))return!1;var yi=d(ie),bi=d(X);if(yi!==bi||(yi||bi)&&j(ie)!==j(X)||xe.strict&&ee&&ee(ie)!==ee(X)||I(ie)!==I(X))return!1;var ls=an(ie),Ar=an(X);if(ls!==Ar)return!1;if(ls||Ar){if(ie.length!==X.length)return!1;for(Qe=0;Qe<ie.length;Qe++)if(ie[Qe]!==X[Qe])return!1;return!0}var co=R(ie),Cn=R(X);if(co!==Cn)return!1;if(co||Cn)return N(ie)===N(X)&&"function"==typeof Uint8Array&&Mt(new Uint8Array(ie),new Uint8Array(X),xe,Oe);if(typeof ie!=typeof X)return!1;var Ln=L(ie),uo=L(X);if(Ln.length!==uo.length)return!1;for(Ln.sort(),uo.sort(),Qe=Ln.length-1;Qe>=0;Qe--)if(Ln[Qe]!=uo[Qe])return!1;for(Qe=Ln.length-1;Qe>=0;Qe--)if(!Mt(ie[un=Ln[Qe]],X[un],xe,Oe))return!1;var Lo=y(ie),Kn=y(X);return Lo===Kn&&("Set"===Lo||"Set"===Kn?function Gn(ie,X,xe,Oe){if(de(ie)!==de(X))return!1;for(var tn,Qt,St,Qe=_(ie),un=_(X);(tn=Qe.next())&&!tn.done;)if(tn.value&&"object"==typeof tn.value)St||(St=new ue),Me(St,tn.value);else if(!ze(X,tn.value)){if(xe.strict||!at(ie,X,tn.value))return!1;St||(St=new ue),Me(St,tn.value)}if(St){for(;(Qt=un.next())&&!Qt.done;)if(Qt.value&&"object"==typeof Qt.value){if(!Ne(St,Qt.value,xe.strict,Oe))return!1}else if(!xe.strict&&!ze(ie,Qt.value)&&!Ne(St,Qt.value,xe.strict,Oe))return!1;return 0===de(St)}return!0}(ie,X,xe,Oe):"Map"!==Lo||function sn(ie,X,xe,Oe){if(Re(ie)!==Re(X))return!1;for(var tn,Qt,St,hn,Wr,ji,Qe=_(ie),un=_(X);(tn=Qe.next())&&!tn.done;)if(Wr=tn.value[1],(hn=tn.value[0])&&"object"==typeof hn)St||(St=new ue),Me(St,hn);else if(void 0===(ji=pe(X,hn))&&!te(X,hn)||!Mt(Wr,ji,xe,Oe)){if(xe.strict||!Ve(ie,X,hn,Wr,xe,Oe))return!1;St||(St=new ue),Me(St,hn)}if(St){for(;(Qt=un.next())&&!Qt.done;)if(ji=Qt.value[1],(hn=Qt.value[0])&&"object"==typeof hn){if(!An(St,ie,hn,ji,xe,Oe))return!1}else if(!(xe.strict||ie.has(hn)&&Mt(pe(ie,hn),ji,xe,Oe)||An(St,ie,hn,ji,F({},xe,{strict:!1}),Oe)))return!1;return 0===de(St)}return!0}(ie,X,xe,Oe))}(ie,X,Qe,Oe)}function an(ie){return!(!ie||"object"!=typeof ie||"number"!=typeof ie.length||"function"!=typeof ie.copy||"function"!=typeof ie.slice||ie.length>0&&"number"!=typeof ie[0]||!(ie.constructor&&ie.constructor.isBuffer&&ie.constructor.isBuffer(ie)))}Q.exports=function(X,xe,Oe){return Mt(X,xe,Oe,w())}},1790:(Q,K,O)=>{"use strict";var L=O(2093),b="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),D=Object.prototype.toString,B=Array.prototype.concat,U=Object.defineProperty,d=O(9006)(),g=U&&d,C=function(y,_,w,I){_ in y&&(!function(y){return"function"==typeof y&&"[object Function]"===D.call(y)}(I)||!I())||(g?U(y,_,{configurable:!0,enumerable:!1,value:w,writable:!0}):y[_]=w)},M=function(y,_){var w=arguments.length>2?arguments[2]:{},I=L(_);b&&(I=B.call(I,Object.getOwnPropertySymbols(_)));for(var F=0;F<I.length;F+=1)C(y,I[F],_[I[F]],w[I[F]])};M.supportsDescriptors=!!g,Q.exports=M},1318:function(Q){Q.exports=function(){"use strict";var K=Function.prototype.toString,O=Object.create,L=Object.defineProperty,b=Object.getOwnPropertyDescriptor,D=Object.getOwnPropertyNames,B=Object.getOwnPropertySymbols,U=Object.getPrototypeOf,m=Object.prototype,d=m.hasOwnProperty,g=m.propertyIsEnumerable,C="function"==typeof B,M="function"==typeof WeakMap,y=function(){if(M)return function(){return new WeakMap};var J=function(){function ue(){this._keys=[],this._values=[]}return ue.prototype.has=function(te){return!!~this._keys.indexOf(te)},ue.prototype.get=function(te){return this._values[this._keys.indexOf(te)]},ue.prototype.set=function(te,pe){this._keys.push(te),this._values.push(pe)},ue}();return function(){return new J}}(),_=function(J,ue){var te=J.__proto__||U(J);if(!te)return O(null);var pe=te.constructor;if(pe===ue.Object)return te===ue.Object.prototype?{}:O(te);if(~K.call(pe).indexOf("[native code]"))try{return new pe}catch(Re){}return O(te)},w=function(J,ue,te,pe){var Re=_(J,ue);for(var Me in pe.set(J,Re),J)d.call(J,Me)&&(Re[Me]=te(J[Me],pe));if(C)for(var ce=B(J),ze=0,de=ce.length,Ne=void 0;ze<de;++ze)g.call(J,Ne=ce[ze])&&(Re[Ne]=te(J[Ne],pe));return Re},I=function(J,ue,te,pe){var Re=_(J,ue);pe.set(J,Re);for(var Me=C?D(J).concat(B(J)):D(J),ce=0,ze=Me.length,de=void 0,Ne=void 0;ce<ze;++ce)if("callee"!==(de=Me[ce])&&"caller"!==de)if(Ne=b(J,de)){!Ne.get&&!Ne.set&&(Ne.value=te(J[de],pe));try{L(Re,de,Ne)}catch(ke){Re[de]=Ne.value}}else Re[de]=te(J[de],pe);return Re},N=Array.isArray,R=Object.getPrototypeOf,j=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function ee(J,ue){var te=!(!ue||!ue.isStrict),pe=ue&&ue.realm||j,Re=te?I:w,Me=function(ce,ze){if(!ce||"object"!=typeof ce)return ce;if(ze.has(ce))return ze.get(ce);var ke,de=ce.__proto__||R(ce),Ne=de&&de.constructor;if(!Ne||Ne===pe.Object)return Re(ce,pe,Me,ze);if(N(ce)){if(te)return I(ce,pe,Me,ze);ke=new Ne,ze.set(ce,ke);for(var Ve=0,at=ce.length;Ve<at;++Ve)ke[Ve]=Me(ce[Ve],ze);return ke}if(ce instanceof pe.Date)return new Ne(ce.getTime());if(ce instanceof pe.RegExp)return(ke=new Ne(ce.source,ce.flags||function(J){var ue="";return J.global&&(ue+="g"),J.ignoreCase&&(ue+="i"),J.multiline&&(ue+="m"),J.unicode&&(ue+="u"),J.sticky&&(ue+="y"),ue}(ce))).lastIndex=ce.lastIndex,ke;if(pe.Map&&ce instanceof pe.Map)return ke=new Ne,ze.set(ce,ke),ce.forEach(function(An,Mt){ke.set(Mt,Me(An,ze))}),ke;if(pe.Set&&ce instanceof pe.Set)return ke=new Ne,ze.set(ce,ke),ce.forEach(function(An){ke.add(Me(An,ze))}),ke;if(pe.Blob&&ce instanceof pe.Blob)return ce.slice(0,ce.size,ce.type);if(pe.Buffer&&pe.Buffer.isBuffer(ce))return ke=pe.Buffer.allocUnsafe?pe.Buffer.allocUnsafe(ce.length):new Ne(ce.length),ze.set(ce,ke),ce.copy(ke),ke;if(pe.ArrayBuffer){if(pe.ArrayBuffer.isView(ce))return ke=new Ne(ce.buffer.slice(0)),ze.set(ce,ke),ke;if(ce instanceof pe.ArrayBuffer)return ke=ce.slice(0),ze.set(ce,ke),ke}return"function"==typeof ce.then||ce instanceof Error||pe.WeakMap&&ce instanceof pe.WeakMap||pe.WeakSet&&ce instanceof pe.WeakSet?ce:Re(ce,pe,Me,ze)};return Me(J,y())}return ee.default=ee,ee.strict=function(ue,te){return ee(ue,{isStrict:!0,realm:te?te.realm:void 0})},ee}()},3037:(Q,K,O)=>{"use strict";var L=O(8642),b=Object.prototype.toString,D=Object.prototype.hasOwnProperty,B=function(C,M,y){for(var _=0,w=C.length;_<w;_++)D.call(C,_)&&(null==y?M(C[_],_,C):M.call(y,C[_],_,C))},U=function(C,M,y){for(var _=0,w=C.length;_<w;_++)null==y?M(C.charAt(_),_,C):M.call(y,C.charAt(_),_,C)},m=function(C,M,y){for(var _ in C)D.call(C,_)&&(null==y?M(C[_],_,C):M.call(y,C[_],_,C))};Q.exports=function(C,M,y){if(!L(M))throw new TypeError("iterator must be a function");var _;arguments.length>=3&&(_=y),"[object Array]"===b.call(C)?B(C,M,_):"string"==typeof C?U(C,M,_):m(C,M,_)}},2199:Q=>{"use strict";var K="Function.prototype.bind called on incompatible ",O=Array.prototype.slice,L=Object.prototype.toString,b="[object Function]";Q.exports=function(B){var U=this;if("function"!=typeof U||L.call(U)!==b)throw new TypeError(K+U);for(var d,m=O.call(arguments,1),g=function(){if(this instanceof d){var w=U.apply(this,m.concat(O.call(arguments)));return Object(w)===w?w:this}return U.apply(B,m.concat(O.call(arguments)))},C=Math.max(0,U.length-m.length),M=[],y=0;y<C;y++)M.push("$"+y);if(d=Function("binder","return function ("+M.join(",")+"){ return binder.apply(this,arguments); }")(g),U.prototype){var _=function(){};_.prototype=U.prototype,d.prototype=new _,_.prototype=null}return d}},224:(Q,K,O)=>{"use strict";var L=O(2199);Q.exports=Function.prototype.bind||L},3677:Q=>{"use strict";var K=function(){return"string"==typeof function(){}.name},O=Object.getOwnPropertyDescriptor;if(O)try{O([],"length")}catch(b){O=null}K.functionsHaveConfigurableNames=function(){if(!K()||!O)return!1;var D=O(function(){},"name");return!!D&&!!D.configurable};var L=Function.prototype.bind;K.boundFunctionsHaveNames=function(){return K()&&"function"==typeof L&&""!==function(){}.bind().name},Q.exports=K},9903:(Q,K,O)=>{"use strict";var L,b=SyntaxError,D=Function,B=TypeError,U=function(ze){try{return D('"use strict"; return ('+ze+").constructor;")()}catch(de){}},m=Object.getOwnPropertyDescriptor;if(m)try{m({},"")}catch(ze){m=null}var d=function(){throw new B},g=m?function(){try{return d}catch(ze){try{return m(arguments,"callee").get}catch(de){return d}}}():d,C=O(524)(),M=Object.getPrototypeOf||function(ze){return ze.__proto__},y={},_="undefined"==typeof Uint8Array?L:M(Uint8Array),w={"%AggregateError%":"undefined"==typeof AggregateError?L:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?L:ArrayBuffer,"%ArrayIteratorPrototype%":C?M([][Symbol.iterator]()):L,"%AsyncFromSyncIteratorPrototype%":L,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?L:Atomics,"%BigInt%":"undefined"==typeof BigInt?L:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?L:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?L:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?L:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?L:FinalizationRegistry,"%Function%":D,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?L:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?L:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?L:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C?M(M([][Symbol.iterator]())):L,"%JSON%":"object"==typeof JSON?JSON:L,"%Map%":"undefined"==typeof Map?L:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&C?M((new Map)[Symbol.iterator]()):L,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?L:Promise,"%Proxy%":"undefined"==typeof Proxy?L:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?L:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?L:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&C?M((new Set)[Symbol.iterator]()):L,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?L:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C?M(""[Symbol.iterator]()):L,"%Symbol%":C?Symbol:L,"%SyntaxError%":b,"%ThrowTypeError%":g,"%TypedArray%":_,"%TypeError%":B,"%Uint8Array%":"undefined"==typeof Uint8Array?L:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?L:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?L:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?L:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?L:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?L:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?L:WeakSet},I=function ze(de){var Ne;if("%AsyncFunction%"===de)Ne=U("async function () {}");else if("%GeneratorFunction%"===de)Ne=U("function* () {}");else if("%AsyncGeneratorFunction%"===de)Ne=U("async function* () {}");else if("%AsyncGenerator%"===de){var ke=ze("%AsyncGeneratorFunction%");ke&&(Ne=ke.prototype)}else if("%AsyncIteratorPrototype%"===de){var Ve=ze("%AsyncGenerator%");Ve&&(Ne=M(Ve.prototype))}return w[de]=Ne,Ne},F={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},N=O(224),R=O(4031),j=N.call(Function.call,Array.prototype.concat),ee=N.call(Function.apply,Array.prototype.splice),J=N.call(Function.call,String.prototype.replace),ue=N.call(Function.call,String.prototype.slice),te=N.call(Function.call,RegExp.prototype.exec),pe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Re=/\\(\\)?/g,Me=function(de){var Ne=ue(de,0,1),ke=ue(de,-1);if("%"===Ne&&"%"!==ke)throw new b("invalid intrinsic syntax, expected closing `%`");if("%"===ke&&"%"!==Ne)throw new b("invalid intrinsic syntax, expected opening `%`");var Ve=[];return J(de,pe,function(at,An,Mt,an){Ve[Ve.length]=Mt?J(an,Re,"$1"):An||at}),Ve},ce=function(de,Ne){var Ve,ke=de;if(R(F,ke)&&(ke="%"+(Ve=F[ke])[0]+"%"),R(w,ke)){var at=w[ke];if(at===y&&(at=I(ke)),void 0===at&&!Ne)throw new B("intrinsic "+de+" exists, but is not available. Please file an issue!");return{alias:Ve,name:ke,value:at}}throw new b("intrinsic "+de+" does not exist!")};Q.exports=function(de,Ne){if("string"!=typeof de||0===de.length)throw new B("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof Ne)throw new B('"allowMissing" argument must be a boolean');if(null===te(/^%?[^%]*%?$/,de))throw new b("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ke=Me(de),Ve=ke.length>0?ke[0]:"",at=ce("%"+Ve+"%",Ne),An=at.name,Mt=at.value,an=!1,Gn=at.alias;Gn&&(Ve=Gn[0],ee(ke,j([0,1],Gn)));for(var sn=1,Ae=!0;sn<ke.length;sn+=1){var ie=ke[sn],X=ue(ie,0,1),xe=ue(ie,-1);if(('"'===X||"'"===X||"`"===X||'"'===xe||"'"===xe||"`"===xe)&&X!==xe)throw new b("property names with quotes must have matching quotes");if(("constructor"===ie||!Ae)&&(an=!0),R(w,An="%"+(Ve+="."+ie)+"%"))Mt=w[An];else if(null!=Mt){if(!(ie in Mt)){if(!Ne)throw new B("base intrinsic for "+de+" exists, but the property is not available.");return}if(m&&sn+1>=ke.length){var Oe=m(Mt,ie);Mt=(Ae=!!Oe)&&"get"in Oe&&!("originalValue"in Oe.get)?Oe.get:Mt[ie]}else Ae=R(Mt,ie),Mt=Mt[ie];Ae&&!an&&(w[An]=Mt)}}return Mt}},253:(Q,K,O)=>{"use strict";var b=O(9903)("%Object.getOwnPropertyDescriptor%",!0);if(b)try{b([],"length")}catch(D){b=null}Q.exports=b},5861:Q=>{"use strict";var K="undefined"!=typeof BigInt&&BigInt;Q.exports=function(){return"function"==typeof K&&"function"==typeof BigInt&&"bigint"==typeof K(42)&&"bigint"==typeof BigInt(42)}},9006:(Q,K,O)=>{"use strict";var b=O(9903)("%Object.defineProperty%",!0),D=function(){if(b)try{return b({},"a",{value:1}),!0}catch(U){return!1}return!1};D.hasArrayLengthDefineBug=function(){if(!D())return null;try{return 1!==b([],"length",{value:1}).length}catch(U){return!0}},Q.exports=D},524:(Q,K,O)=>{"use strict";var L="undefined"!=typeof Symbol&&Symbol,b=O(6858);Q.exports=function(){return"function"==typeof L&&"function"==typeof Symbol&&"symbol"==typeof L("foo")&&"symbol"==typeof Symbol("bar")&&b()}},6858:Q=>{"use strict";Q.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var O={},L=Symbol("test"),b=Object(L);if("string"==typeof L||"[object Symbol]"!==Object.prototype.toString.call(L)||"[object Symbol]"!==Object.prototype.toString.call(b))return!1;for(L in O[L]=42,O)return!1;if("function"==typeof Object.keys&&0!==Object.keys(O).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(O).length)return!1;var B=Object.getOwnPropertySymbols(O);if(1!==B.length||B[0]!==L||!Object.prototype.propertyIsEnumerable.call(O,L))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var U=Object.getOwnPropertyDescriptor(O,L);if(42!==U.value||!0!==U.enumerable)return!1}return!0}},3261:(Q,K,O)=>{"use strict";var L=O(6858);Q.exports=function(){return L()&&!!Symbol.toStringTag}},4031:(Q,K,O)=>{"use strict";var L=O(224);Q.exports=L.call(Function.call,Object.prototype.hasOwnProperty)},9102:(Q,K,O)=>{"use strict";var L=O(3261)(),D=O(4263)("Object.prototype.toString"),B=function(g){return!(L&&g&&"object"==typeof g&&Symbol.toStringTag in g)&&"[object Arguments]"===D(g)},U=function(g){return!!B(g)||null!==g&&"object"==typeof g&&"number"==typeof g.length&&g.length>=0&&"[object Array]"!==D(g)&&"[object Function]"===D(g.callee)},m=function(){return B(arguments)}();B.isLegacyArguments=U,Q.exports=m?B:U},3:(Q,K,O)=>{"use strict";if(O(5861)()){var b=BigInt.prototype.valueOf;Q.exports=function(U){return null!=U&&"boolean"!=typeof U&&"string"!=typeof U&&"number"!=typeof U&&"symbol"!=typeof U&&"function"!=typeof U&&("bigint"==typeof U||function(U){try{return b.call(U),!0}catch(m){}return!1}(U))}}else Q.exports=function(U){return!1}},6180:(Q,K,O)=>{"use strict";var L=O(4263),b=L("Boolean.prototype.toString"),D=L("Object.prototype.toString"),m=O(3261)();Q.exports=function(g){return"boolean"==typeof g||null!==g&&"object"==typeof g&&(m&&Symbol.toStringTag in g?function(g){try{return b(g),!0}catch(C){return!1}}(g):"[object Boolean]"===D(g))}},8642:Q=>{"use strict";var L,b,K=Function.prototype.toString,O="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof O&&"function"==typeof Object.defineProperty)try{L=Object.defineProperty({},"length",{get:function(){throw b}}),b={},O(function(){throw 42},null,L)}catch(R){R!==b&&(O=null)}else O=null;var D=/^\s*class\b/,B=function(j){try{var ee=K.call(j);return D.test(ee)}catch(J){return!1}},U=function(j){try{return!B(j)&&(K.call(j),!0)}catch(ee){return!1}},m=Object.prototype.toString,w="function"==typeof Symbol&&!!Symbol.toStringTag,I=!(0 in[,]),F=function(){return!1};if("object"==typeof document){var N=document.all;m.call(N)===m.call(document.all)&&(F=function(j){if((I||!j)&&(void 0===j||"object"==typeof j))try{var ee=m.call(j);return("[object HTMLAllCollection]"===ee||"[object HTML document.all class]"===ee||"[object HTMLCollection]"===ee||"[object Object]"===ee)&&null==j("")}catch(J){}return!1})}Q.exports=O?function(j){if(F(j))return!0;if(!j||"function"!=typeof j&&"object"!=typeof j)return!1;try{O(j,null,L)}catch(ee){if(ee!==b)return!1}return!B(j)&&U(j)}:function(j){if(F(j))return!0;if(!j||"function"!=typeof j&&"object"!=typeof j)return!1;if(w)return U(j);if(B(j))return!1;var ee=m.call(j);return!("[object Function]"!==ee&&"[object GeneratorFunction]"!==ee&&!/^\[object HTML/.test(ee))&&U(j)}},4666:(Q,K,O)=>{"use strict";var L=Date.prototype.getDay,D=Object.prototype.toString,U=O(3261)();Q.exports=function(d){return"object"==typeof d&&null!==d&&(U?function(d){try{return L.call(d),!0}catch(g){return!1}}(d):"[object Date]"===D.call(d))}},1587:Q=>{"use strict";Q.exports=Number.isFinite||function(K){return!("number"!=typeof K||K!=K||K===1/0||K===-1/0)}},5869:(Q,K,O)=>{var L=O(1587);Q.exports=Number.isInteger||function(b){return"number"==typeof b&&L(b)&&Math.floor(b)===b}},9898:Q=>{"use strict";var L,K="function"==typeof Map&&Map.prototype?Map:null,O="function"==typeof Set&&Set.prototype?Set:null;K||(L=function(U){return!1});var b=K?Map.prototype.has:null,D=O?Set.prototype.has:null;!L&&!b&&(L=function(U){return!1}),Q.exports=L||function(U){if(!U||"object"!=typeof U)return!1;try{if(b.call(U),D)try{D.call(U)}catch(m){return!0}return U instanceof K}catch(m){}return!1}},1046:(Q,K,O)=>{"use strict";var L=Number.prototype.toString,D=Object.prototype.toString,U=O(3261)();Q.exports=function(d){return"number"==typeof d||"object"==typeof d&&(U?function(d){try{return L.call(d),!0}catch(g){return!1}}(d):"[object Number]"===D.call(d))}},6687:(Q,K,O)=>{"use strict";var D,B,U,m,L=O(4263),b=O(3261)();if(b){D=L("Object.prototype.hasOwnProperty"),B=L("RegExp.prototype.exec"),U={};var d=function(){throw U};m={toString:d,valueOf:d},"symbol"==typeof Symbol.toPrimitive&&(m[Symbol.toPrimitive]=d)}var g=L("Object.prototype.toString"),C=Object.getOwnPropertyDescriptor;Q.exports=b?function(_){if(!_||"object"!=typeof _)return!1;var w=C(_,"lastIndex");if(!w||!D(w,"value"))return!1;try{B(_,m)}catch(F){return F===U}}:function(_){return!(!_||"object"!=typeof _&&"function"!=typeof _)&&"[object RegExp]"===g(_)}},3870:Q=>{"use strict";var L,K="function"==typeof Map&&Map.prototype?Map:null,O="function"==typeof Set&&Set.prototype?Set:null;O||(L=function(U){return!1});var b=K?Map.prototype.has:null,D=O?Set.prototype.has:null;!L&&!D&&(L=function(U){return!1}),Q.exports=L||function(U){if(!U||"object"!=typeof U)return!1;try{if(D.call(U),b)try{b.call(U)}catch(m){return!0}return U instanceof O}catch(m){}return!1}},4764:(Q,K,O)=>{"use strict";var L=String.prototype.valueOf,D=Object.prototype.toString,U=O(3261)();Q.exports=function(d){return"string"==typeof d||"object"==typeof d&&(U?function(d){try{return L.call(d),!0}catch(g){return!1}}(d):"[object String]"===D.call(d))}},6434:(Q,K,O)=>{"use strict";var L=Object.prototype.toString;if(O(524)()){var D=Symbol.prototype.toString,B=/^Symbol\(.*\)$/;Q.exports=function(d){if("symbol"==typeof d)return!0;if("[object Symbol]"!==L.call(d))return!1;try{return function(d){return"symbol"==typeof d.valueOf()&&B.test(D.call(d))}(d)}catch(g){return!1}}}else Q.exports=function(d){return!1}},7673:(Q,K,O)=>{"use strict";var L=O(3037),b=O(5271),D=O(4263),B=D("Object.prototype.toString"),U=O(3261)(),m=O(253),d="undefined"==typeof globalThis?global:globalThis,g=b(),C=D("Array.prototype.indexOf",!0)||function(F,N){for(var R=0;R<F.length;R+=1)if(F[R]===N)return R;return-1},M=D("String.prototype.slice"),y={},_=Object.getPrototypeOf;U&&m&&_&&L(g,function(I){var F=new d[I];if(Symbol.toStringTag in F){var N=_(F),R=m(N,Symbol.toStringTag);if(!R){var j=_(N);R=m(j,Symbol.toStringTag)}y[I]=R.get}}),Q.exports=function(F){if(!F||"object"!=typeof F)return!1;if(!U||!(Symbol.toStringTag in F)){var N=M(B(F),8,-1);return C(g,N)>-1}return!!m&&function(F){var N=!1;return L(y,function(R,j){if(!N)try{N=R.call(F)===j}catch(ee){}}),N}(F)}},5585:Q=>{"use strict";var L,K="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,O="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;K||(L=function(U){return!1});var b=K?K.prototype.has:null,D=O?O.prototype.has:null;!L&&!b&&(L=function(U){return!1}),Q.exports=L||function(U){if(!U||"object"!=typeof U)return!1;try{if(b.call(U,b),D)try{D.call(U,D)}catch(m){return!0}return U instanceof K}catch(m){}return!1}},1902:(Q,K,O)=>{"use strict";var L=O(9903),b=O(4263),D=L("%WeakSet%",!0),B=b("WeakSet.prototype.has",!0);if(B){var U=b("WeakMap.prototype.has",!0);Q.exports=function(d){if(!d||"object"!=typeof d)return!1;try{if(B(d,B),U)try{U(d,U)}catch(g){return!0}return d instanceof D}catch(g){}return!1}}else Q.exports=function(d){return!1}},8266:Q=>{var K={}.toString;Q.exports=Array.isArray||function(O){return"[object Array]"==K.call(O)}},6908:function(Q,K,O){(Q=O.nmd(Q)).exports=function(){"use strict";var L,N;function b(){return L.apply(null,arguments)}function B(c){return c instanceof Array||"[object Array]"===Object.prototype.toString.call(c)}function U(c){return null!=c&&"[object Object]"===Object.prototype.toString.call(c)}function m(c,h){return Object.prototype.hasOwnProperty.call(c,h)}function d(c){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(c).length;var h;for(h in c)if(m(c,h))return!1;return!0}function g(c){return void 0===c}function C(c){return"number"==typeof c||"[object Number]"===Object.prototype.toString.call(c)}function M(c){return c instanceof Date||"[object Date]"===Object.prototype.toString.call(c)}function y(c,h){var S,v=[],z=c.length;for(S=0;S<z;++S)v.push(h(c[S],S));return v}function _(c,h){for(var v in h)m(h,v)&&(c[v]=h[v]);return m(h,"toString")&&(c.toString=h.toString),m(h,"valueOf")&&(c.valueOf=h.valueOf),c}function w(c,h,v,S){return qh(c,h,v,S,!0).utc()}function F(c){return null==c._pf&&(c._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),c._pf}function R(c){if(null==c._isValid){var h=F(c),v=N.call(h.parsedDateParts,function(z){return null!=z}),S=!isNaN(c._d.getTime())&&h.overflow<0&&!h.empty&&!h.invalidEra&&!h.invalidMonth&&!h.invalidWeekday&&!h.weekdayMismatch&&!h.nullInput&&!h.invalidFormat&&!h.userInvalidated&&(!h.meridiem||h.meridiem&&v);if(c._strict&&(S=S&&0===h.charsLeftOver&&0===h.unusedTokens.length&&void 0===h.bigHour),null!=Object.isFrozen&&Object.isFrozen(c))return S;c._isValid=S}return c._isValid}function j(c){var h=w(NaN);return null!=c?_(F(h),c):F(h).userInvalidated=!0,h}N=Array.prototype.some?Array.prototype.some:function(c){var S,h=Object(this),v=h.length>>>0;for(S=0;S<v;S++)if(S in h&&c.call(this,h[S],S,h))return!0;return!1};var ee=b.momentProperties=[],J=!1;function ue(c,h){var v,S,z,W=ee.length;if(g(h._isAMomentObject)||(c._isAMomentObject=h._isAMomentObject),g(h._i)||(c._i=h._i),g(h._f)||(c._f=h._f),g(h._l)||(c._l=h._l),g(h._strict)||(c._strict=h._strict),g(h._tzm)||(c._tzm=h._tzm),g(h._isUTC)||(c._isUTC=h._isUTC),g(h._offset)||(c._offset=h._offset),g(h._pf)||(c._pf=F(h)),g(h._locale)||(c._locale=h._locale),W>0)for(v=0;v<W;v++)g(z=h[S=ee[v]])||(c[S]=z);return c}function te(c){ue(this,c),this._d=new Date(null!=c._d?c._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===J&&(J=!0,b.updateOffset(this),J=!1)}function pe(c){return c instanceof te||null!=c&&null!=c._isAMomentObject}function Re(c){!1===b.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+c)}function Me(c,h){var v=!0;return _(function(){if(null!=b.deprecationHandler&&b.deprecationHandler(null,c),v){var z,W,fe,S=[],Ke=arguments.length;for(W=0;W<Ke;W++){if(z="","object"==typeof arguments[W]){for(fe in z+="\n["+W+"] ",arguments[0])m(arguments[0],fe)&&(z+=fe+": "+arguments[0][fe]+", ");z=z.slice(0,-2)}else z=arguments[W];S.push(z)}Re(c+"\nArguments: "+Array.prototype.slice.call(S).join("")+"\n"+(new Error).stack),v=!1}return h.apply(this,arguments)},h)}var at,ce={};function ze(c,h){null!=b.deprecationHandler&&b.deprecationHandler(c,h),ce[c]||(Re(h),ce[c]=!0)}function de(c){return"undefined"!=typeof Function&&c instanceof Function||"[object Function]"===Object.prototype.toString.call(c)}function ke(c,h){var S,v=_({},c);for(S in h)m(h,S)&&(U(c[S])&&U(h[S])?(v[S]={},_(v[S],c[S]),_(v[S],h[S])):null!=h[S]?v[S]=h[S]:delete v[S]);for(S in c)m(c,S)&&!m(h,S)&&U(c[S])&&(v[S]=_({},v[S]));return v}function Ve(c){null!=c&&this.set(c)}b.suppressDeprecationWarnings=!1,b.deprecationHandler=null,at=Object.keys?Object.keys:function(c){var h,v=[];for(h in c)m(c,h)&&v.push(h);return v};function an(c,h,v){var S=""+Math.abs(c);return(c>=0?v?"+":"":"-")+Math.pow(10,Math.max(0,h-S.length)).toString().substr(1)+S}var Gn=/(\[[^\[]*\])|(\\)?([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,sn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ae={},ie={};function X(c,h,v,S){var z=S;"string"==typeof S&&(z=function(){return this[S]()}),c&&(ie[c]=z),h&&(ie[h[0]]=function(){return an(z.apply(this,arguments),h[1],h[2])}),v&&(ie[v]=function(){return this.localeData().ordinal(z.apply(this,arguments),c)})}function xe(c){return c.match(/\[[\s\S]/)?c.replace(/^\[|\]$/g,""):c.replace(/\\/g,"")}function Qe(c,h){return c.isValid()?(h=un(h,c.localeData()),Ae[h]=Ae[h]||function Oe(c){var v,S,h=c.match(Gn);for(v=0,S=h.length;v<S;v++)h[v]=ie[h[v]]?ie[h[v]]:xe(h[v]);return function(z){var fe,W="";for(fe=0;fe<S;fe++)W+=de(h[fe])?h[fe].call(z,c):h[fe];return W}}(h),Ae[h](c)):c.localeData().invalidDate()}function un(c,h){var v=5;function S(z){return h.longDateFormat(z)||z}for(sn.lastIndex=0;v>=0&&sn.test(c);)c=c.replace(sn,S),sn.lastIndex=0,v-=1;return c}var co={};function Cn(c,h){var v=c.toLowerCase();co[v]=co[v+"s"]=co[h]=c}function Ln(c){return"string"==typeof c?co[c]||co[c.toLowerCase()]:void 0}function uo(c){var v,S,h={};for(S in c)m(c,S)&&(v=Ln(S))&&(h[v]=c[S]);return h}var Lo={};function Kn(c,h){Lo[c]=h}function Fo(c){return c%4==0&&c%100!=0||c%400==0}function qn(c){return c<0?Math.ceil(c)||0:Math.floor(c)}function pt(c){var h=+c,v=0;return 0!==h&&isFinite(h)&&(v=qn(h)),v}function ho(c,h){return function(v){return null!=v?(tl(this,c,v),b.updateOffset(this,h),this):Ta(this,c)}}function Ta(c,h){return c.isValid()?c._d["get"+(c._isUTC?"UTC":"")+h]():NaN}function tl(c,h,v){c.isValid()&&!isNaN(v)&&("FullYear"===h&&Fo(c.year())&&1===c.month()&&29===c.date()?(v=pt(v),c._d["set"+(c._isUTC?"UTC":"")+h](v,c.month(),qt(v,c.month()))):c._d["set"+(c._isUTC?"UTC":"")+h](v))}var et,oe=/\d/,se=/\d\d/,Vt=/\d{3}/,Zt=/\d{4}/,gn=/[+-]?\d{6}/,qe=/\d\d?/,At=/\d\d\d\d?/,gr=/\d\d\d\d\d\d?/,ft=/\d{1,3}/,$i=/\d{1,4}/,No=/[+-]?\d{1,6}/,vt=/\d+/,je=/[+-]?\d+/,ka=/Z|[+-]\d\d:?\d\d/gi,xa=/Z|[+-]\d\d(?::?\d\d)?/gi,Wi=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function we(c,h,v){et[c]=de(h)?h:function(S,z){return S&&v?v:h}}function hs(c,h){return m(et,c)?et[c](h._strict,h._locale):new RegExp(function nl(c){return ki(c.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(h,v,S,z,W){return v||S||z||W}))}(c))}function ki(c){return c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}et={};var fo={};function mt(c,h){var v,z,S=h;for("string"==typeof c&&(c=[c]),C(h)&&(S=function(W,fe){fe[h]=pt(W)}),z=c.length,v=0;v<z;v++)fo[c[v]]=S}function na(c,h){mt(c,function(v,S,z,W){z._w=z._w||{},h(v,z._w,z,W)})}function ds(c,h,v){null!=h&&m(fo,c)&&fo[c](h,v._a,v,c)}var Yt;function qt(c,h){if(isNaN(c)||isNaN(h))return NaN;var v=function np(c,h){return(c%h+h)%h}(h,12);return c+=(h-v)/12,1===v?Fo(c)?29:28:31-v%7%2}Yt=Array.prototype.indexOf?Array.prototype.indexOf:function(c){var h;for(h=0;h<this.length;++h)if(this[h]===c)return h;return-1},X("M",["MM",2],"Mo",function(){return this.month()+1}),X("MMM",0,0,function(c){return this.localeData().monthsShort(this,c)}),X("MMMM",0,0,function(c){return this.localeData().months(this,c)}),Cn("month","M"),Kn("month",8),we("M",qe),we("MM",qe,se),we("MMM",function(c,h){return h.monthsShortRegex(c)}),we("MMMM",function(c,h){return h.monthsRegex(c)}),mt(["M","MM"],function(c,h){h[1]=pt(c)-1}),mt(["MMM","MMMM"],function(c,h,v,S){var z=v._locale.monthsParse(c,S,v._strict);null!=z?h[1]=z:F(v).invalidMonth=c});var ip="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ih="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ah=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Le=Wi,rp=Wi;function op(c,h,v){var S,z,W,fe=c.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],S=0;S<12;++S)W=w([2e3,S]),this._shortMonthsParse[S]=this.monthsShort(W,"").toLocaleLowerCase(),this._longMonthsParse[S]=this.months(W,"").toLocaleLowerCase();return v?"MMM"===h?-1!==(z=Yt.call(this._shortMonthsParse,fe))?z:null:-1!==(z=Yt.call(this._longMonthsParse,fe))?z:null:"MMM"===h?-1!==(z=Yt.call(this._shortMonthsParse,fe))||-1!==(z=Yt.call(this._longMonthsParse,fe))?z:null:-1!==(z=Yt.call(this._longMonthsParse,fe))||-1!==(z=Yt.call(this._shortMonthsParse,fe))?z:null}function lu(c,h){var v;if(!c.isValid())return c;if("string"==typeof h)if(/^\d+$/.test(h))h=pt(h);else if(!C(h=c.localeData().monthsParse(h)))return c;return v=Math.min(c.date(),qt(c.year(),h)),c._d["set"+(c._isUTC?"UTC":"")+"Month"](h,v),c}function cu(c){return null!=c?(lu(this,c),b.updateOffset(this,!0),this):Ta(this,"Month")}function Cc(){function c(fe,Ke){return Ke.length-fe.length}var z,W,h=[],v=[],S=[];for(z=0;z<12;z++)W=w([2e3,z]),h.push(this.monthsShort(W,"")),v.push(this.months(W,"")),S.push(this.months(W,"")),S.push(this.monthsShort(W,""));for(h.sort(c),v.sort(c),S.sort(c),z=0;z<12;z++)h[z]=ki(h[z]),v[z]=ki(v[z]);for(z=0;z<24;z++)S[z]=ki(S[z]);this._monthsRegex=new RegExp("^("+S.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+v.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+h.join("|")+")","i")}function fs(c){return Fo(c)?366:365}X("Y",0,0,function(){var c=this.year();return c<=9999?an(c,4):"+"+c}),X(0,["YY",2],0,function(){return this.year()%100}),X(0,["YYYY",4],0,"year"),X(0,["YYYYY",5],0,"year"),X(0,["YYYYYY",6,!0],0,"year"),Cn("year","y"),Kn("year",1),we("Y",je),we("YY",qe,se),we("YYYY",$i,Zt),we("YYYYY",No,gn),we("YYYYYY",No,gn),mt(["YYYYY","YYYYYY"],0),mt("YYYY",function(c,h){h[0]=2===c.length?b.parseTwoDigitYear(c):pt(c)}),mt("YY",function(c,h){h[0]=b.parseTwoDigitYear(c)}),mt("Y",function(c,h){h[0]=parseInt(c,10)}),b.parseTwoDigitYear=function(c){return pt(c)+(pt(c)>68?1900:2e3)};var ct=ho("FullYear",!0);function Lh(c,h,v,S,z,W,fe){var Ke;return c<100&&c>=0?(Ke=new Date(c+400,h,v,S,z,W,fe),isFinite(Ke.getFullYear())&&Ke.setFullYear(c)):Ke=new Date(c,h,v,S,z,W,fe),Ke}function xi(c){var h,v;return c<100&&c>=0?((v=Array.prototype.slice.call(arguments))[0]=c+400,h=new Date(Date.UTC.apply(null,v)),isFinite(h.getUTCFullYear())&&h.setUTCFullYear(c)):h=new Date(Date.UTC.apply(null,arguments)),h}function ms(c,h,v){var S=7+h-v;return-(7+xi(c,0,S).getUTCDay()-h)%7+S-1}function Fh(c,h,v,S,z){var wt,ln,Ke=1+7*(h-1)+(7+v-S)%7+ms(c,S,z);return Ke<=0?ln=fs(wt=c-1)+Ke:Ke>fs(c)?(wt=c+1,ln=Ke-fs(c)):(wt=c,ln=Ke),{year:wt,dayOfYear:ln}}function vr(c,h,v){var W,fe,S=ms(c.year(),h,v),z=Math.floor((c.dayOfYear()-S-1)/7)+1;return z<1?W=z+ni(fe=c.year()-1,h,v):z>ni(c.year(),h,v)?(W=z-ni(c.year(),h,v),fe=c.year()+1):(fe=c.year(),W=z),{week:W,year:fe}}function ni(c,h,v){var S=ms(c,h,v),z=ms(c+1,h,v);return(fs(c)-S+z)/7}X("w",["ww",2],"wo","week"),X("W",["WW",2],"Wo","isoWeek"),Cn("week","w"),Cn("isoWeek","W"),Kn("week",5),Kn("isoWeek",5),we("w",qe),we("ww",qe,se),we("W",qe),we("WW",qe,se),na(["w","ww","W","WW"],function(c,h,v,S){h[S.substr(0,1)]=pt(c)});function za(c,h){return c.slice(h,7).concat(c.slice(0,h))}X("d",0,"do","day"),X("dd",0,0,function(c){return this.localeData().weekdaysMin(this,c)}),X("ddd",0,0,function(c){return this.localeData().weekdaysShort(this,c)}),X("dddd",0,0,function(c){return this.localeData().weekdays(this,c)}),X("e",0,0,"weekday"),X("E",0,0,"isoWeekday"),Cn("day","d"),Cn("weekday","e"),Cn("isoWeekday","E"),Kn("day",11),Kn("weekday",11),Kn("isoWeekday",11),we("d",qe),we("e",qe),we("E",qe),we("dd",function(c,h){return h.weekdaysMinRegex(c)}),we("ddd",function(c,h){return h.weekdaysShortRegex(c)}),we("dddd",function(c,h){return h.weekdaysRegex(c)}),na(["dd","ddd","dddd"],function(c,h,v,S){var z=v._locale.weekdaysParse(c,S,v._strict);null!=z?h.d=z:F(v).invalidWeekday=c}),na(["d","e","E"],function(c,h,v,S){h[S]=pt(c)});var Mc="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ol="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),hu="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),mo=Wi,ps=Wi,Nh=Wi;function mu(c,h,v){var S,z,W,fe=c.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],S=0;S<7;++S)W=w([2e3,1]).day(S),this._minWeekdaysParse[S]=this.weekdaysMin(W,"").toLocaleLowerCase(),this._shortWeekdaysParse[S]=this.weekdaysShort(W,"").toLocaleLowerCase(),this._weekdaysParse[S]=this.weekdays(W,"").toLocaleLowerCase();return v?"dddd"===h?-1!==(z=Yt.call(this._weekdaysParse,fe))?z:null:"ddd"===h?-1!==(z=Yt.call(this._shortWeekdaysParse,fe))?z:null:-1!==(z=Yt.call(this._minWeekdaysParse,fe))?z:null:"dddd"===h?-1!==(z=Yt.call(this._weekdaysParse,fe))||-1!==(z=Yt.call(this._shortWeekdaysParse,fe))||-1!==(z=Yt.call(this._minWeekdaysParse,fe))?z:null:"ddd"===h?-1!==(z=Yt.call(this._shortWeekdaysParse,fe))||-1!==(z=Yt.call(this._weekdaysParse,fe))||-1!==(z=Yt.call(this._minWeekdaysParse,fe))?z:null:-1!==(z=Yt.call(this._minWeekdaysParse,fe))||-1!==(z=Yt.call(this._weekdaysParse,fe))||-1!==(z=Yt.call(this._shortWeekdaysParse,fe))?z:null}function Ci(){function c(Zi,qo){return qo.length-Zi.length}var W,fe,Ke,wt,ln,h=[],v=[],S=[],z=[];for(W=0;W<7;W++)fe=w([2e3,1]).day(W),Ke=ki(this.weekdaysMin(fe,"")),wt=ki(this.weekdaysShort(fe,"")),ln=ki(this.weekdays(fe,"")),h.push(Ke),v.push(wt),S.push(ln),z.push(Ke),z.push(wt),z.push(ln);h.sort(c),v.sort(c),S.sort(c),z.sort(c),this._weekdaysRegex=new RegExp("^("+z.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+S.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+v.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+h.join("|")+")","i")}function ia(){return this.hours()%12||12}function gs(c,h){X(c,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),h)})}function al(c,h){return h._meridiemParse}X("H",["HH",2],0,"hour"),X("h",["hh",2],0,ia),X("k",["kk",2],0,function cr(){return this.hours()||24}),X("hmm",0,0,function(){return""+ia.apply(this)+an(this.minutes(),2)}),X("hmmss",0,0,function(){return""+ia.apply(this)+an(this.minutes(),2)+an(this.seconds(),2)}),X("Hmm",0,0,function(){return""+this.hours()+an(this.minutes(),2)}),X("Hmmss",0,0,function(){return""+this.hours()+an(this.minutes(),2)+an(this.seconds(),2)}),gs("a",!0),gs("A",!1),Cn("hour","h"),Kn("hour",13),we("a",al),we("A",al),we("H",qe),we("h",qe),we("k",qe),we("HH",qe,se),we("hh",qe,se),we("kk",qe,se),we("hmm",At),we("hmmss",gr),we("Hmm",At),we("Hmmss",gr),mt(["H","HH"],3),mt(["k","kk"],function(c,h,v){var S=pt(c);h[3]=24===S?0:S}),mt(["a","A"],function(c,h,v){v._isPm=v._locale.isPM(c),v._meridiem=c}),mt(["h","hh"],function(c,h,v){h[3]=pt(c),F(v).bigHour=!0}),mt("hmm",function(c,h,v){var S=c.length-2;h[3]=pt(c.substr(0,S)),h[4]=pt(c.substr(S)),F(v).bigHour=!0}),mt("hmmss",function(c,h,v){var S=c.length-4,z=c.length-2;h[3]=pt(c.substr(0,S)),h[4]=pt(c.substr(S,2)),h[5]=pt(c.substr(z)),F(v).bigHour=!0}),mt("Hmm",function(c,h,v){var S=c.length-2;h[3]=pt(c.substr(0,S)),h[4]=pt(c.substr(S))}),mt("Hmmss",function(c,h,v){var S=c.length-4,z=c.length-2;h[3]=pt(c.substr(0,S)),h[4]=pt(c.substr(S,2)),h[5]=pt(c.substr(z))});var ra=ho("Hours",!0);var ht,gu={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:ip,monthsShort:Ih,week:{dow:0,doy:6},weekdays:Mc,weekdaysMin:hu,weekdaysShort:ol,meridiemParse:/[ap]\.?m?\.?/i},Nt={},Ie={};function xn(c,h){var v,S=Math.min(c.length,h.length);for(v=0;v<S;v+=1)if(c[v]!==h[v])return v;return S}function Gi(c){return c&&c.toLowerCase().replace("_","-")}function Qr(c){var h=null;if(void 0===Nt[c]&&Q&&Q.exports&&function ci(c){return null!=c.match("^[^/\\\\]*$")}(c))try{h=ht._abbr,Object(function(){var z=new Error("Cannot find module 'undefined'");throw z.code="MODULE_NOT_FOUND",z}()),rn(h)}catch(S){Nt[c]=null}return Nt[c]}function rn(c,h){var v;return c&&((v=g(h)?rt(c):aa(c,h))?ht=v:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+c+" not found. Did you forget to load it?")),ht._abbr}function aa(c,h){if(null!==h){var v,S=gu;if(h.abbr=c,null!=Nt[c])ze("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."),S=Nt[c]._config;else if(null!=h.parentLocale)if(null!=Nt[h.parentLocale])S=Nt[h.parentLocale]._config;else{if(null==(v=Qr(h.parentLocale)))return Ie[h.parentLocale]||(Ie[h.parentLocale]=[]),Ie[h.parentLocale].push({name:c,config:h}),null;S=v._config}return Nt[c]=new Ve(ke(S,h)),Ie[c]&&Ie[c].forEach(function(z){aa(z.name,z.config)}),rn(c),Nt[c]}return delete Nt[c],null}function rt(c){var h;if(c&&c._locale&&c._locale._abbr&&(c=c._locale._abbr),!c)return ht;if(!B(c)){if(h=Qr(c))return h;c=[c]}return function oa(c){for(var v,S,z,W,h=0;h<c.length;){for(v=(W=Gi(c[h]).split("-")).length,S=(S=Gi(c[h+1]))?S.split("-"):null;v>0;){if(z=Qr(W.slice(0,v).join("-")))return z;if(S&&S.length>=v&&xn(W,S)>=v-1)break;v--}h++}return ht}(c)}function Ro(c){var h,v=c._a;return v&&-2===F(c).overflow&&(h=v[1]<0||v[1]>11?1:v[2]<1||v[2]>qt(v[0],v[1])?2:v[3]<0||v[3]>24||24===v[3]&&(0!==v[4]||0!==v[5]||0!==v[6])?3:v[4]<0||v[4]>59?4:v[5]<0||v[5]>59?5:v[6]<0||v[6]>999?6:-1,F(c)._overflowDayOfYear&&(h<0||h>2)&&(h=2),F(c)._overflowWeeks&&-1===h&&(h=7),F(c)._overflowWeekday&&-1===h&&(h=8),F(c).overflow=h),c}var Sc=/^\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)?)?$/,sa=/^\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)?)?$/,Ei=/Z|[+-]\d\d(?::?\d\d)?/,Vo=[["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]],Ho=[["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/]],Fr=/^\/?Date\((-?\d+)/i,Ea=/^(?:(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}))$/,vu={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function dn(c){var h,v,W,fe,Ke,wt,S=c._i,z=Sc.exec(S)||sa.exec(S),ln=Vo.length,Zi=Ho.length;if(z){for(F(c).iso=!0,h=0,v=ln;h<v;h++)if(Vo[h][1].exec(z[1])){fe=Vo[h][0],W=!1!==Vo[h][2];break}if(null==fe)return void(c._isValid=!1);if(z[3]){for(h=0,v=Zi;h<v;h++)if(Ho[h][1].exec(z[3])){Ke=(z[2]||" ")+Ho[h][0];break}if(null==Ke)return void(c._isValid=!1)}if(!W&&null!=Ke)return void(c._isValid=!1);if(z[4]){if(!Ei.exec(z[4]))return void(c._isValid=!1);wt="Z"}c._f=fe+(Ke||"")+(wt||""),Dc(c)}else c._isValid=!1}function Hh(c){var h=parseInt(c,10);return h<=49?2e3+h:h<=999?1900+h:h}function ys(c){var v,h=Ea.exec(function Ki(c){return c.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(c._i));if(h){if(v=function Vh(c,h,v,S,z,W){var fe=[Hh(c),Ih.indexOf(h),parseInt(v,10),parseInt(S,10),parseInt(z,10)];return W&&fe.push(parseInt(W,10)),fe}(h[4],h[3],h[2],h[5],h[6],h[7]),!function Nr(c,h,v){return!c||ol.indexOf(c)===new Date(h[0],h[1],h[2]).getDay()||(F(v).weekdayMismatch=!0,v._isValid=!1,!1)}(h[1],v,c))return;c._a=v,c._tzm=function Tc(c,h,v){if(c)return vu[c];if(h)return 0;var S=parseInt(v,10),z=S%100;return(S-z)/100*60+z}(h[8],h[9],h[10]),c._d=xi.apply(null,c._a),c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),F(c).rfc2822=!0}else c._isValid=!1}function Oi(c,h,v){return null!=c?c:null!=h?h:v}function _u(c){var h,v,z,W,fe,S=[];if(!c._d){for(z=function Bh(c){var h=new Date(b.now());return c._useUTC?[h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()]:[h.getFullYear(),h.getMonth(),h.getDate()]}(c),c._w&&null==c._a[2]&&null==c._a[1]&&function Uh(c){var h,v,S,z,W,fe,Ke,wt,ln;null!=(h=c._w).GG||null!=h.W||null!=h.E?(W=1,fe=4,v=Oi(h.GG,c._a[0],vr(Pn(),1,4).year),S=Oi(h.W,1),((z=Oi(h.E,1))<1||z>7)&&(wt=!0)):(W=c._locale._week.dow,fe=c._locale._week.doy,ln=vr(Pn(),W,fe),v=Oi(h.gg,c._a[0],ln.year),S=Oi(h.w,ln.week),null!=h.d?((z=h.d)<0||z>6)&&(wt=!0):null!=h.e?(z=h.e+W,(h.e<0||h.e>6)&&(wt=!0)):z=W),S<1||S>ni(v,W,fe)?F(c)._overflowWeeks=!0:null!=wt?F(c)._overflowWeekday=!0:(Ke=Fh(v,S,z,W,fe),c._a[0]=Ke.year,c._dayOfYear=Ke.dayOfYear)}(c),null!=c._dayOfYear&&(fe=Oi(c._a[0],z[0]),(c._dayOfYear>fs(fe)||0===c._dayOfYear)&&(F(c)._overflowDayOfYear=!0),v=xi(fe,0,c._dayOfYear),c._a[1]=v.getUTCMonth(),c._a[2]=v.getUTCDate()),h=0;h<3&&null==c._a[h];++h)c._a[h]=S[h]=z[h];for(;h<7;h++)c._a[h]=S[h]=null==c._a[h]?2===h?1:0:c._a[h];24===c._a[3]&&0===c._a[4]&&0===c._a[5]&&0===c._a[6]&&(c._nextDay=!0,c._a[3]=0),c._d=(c._useUTC?xi:Lh).apply(null,S),W=c._useUTC?c._d.getUTCDay():c._d.getDay(),null!=c._tzm&&c._d.setUTCMinutes(c._d.getUTCMinutes()-c._tzm),c._nextDay&&(c._a[3]=24),c._w&&void 0!==c._w.d&&c._w.d!==W&&(F(c).weekdayMismatch=!0)}}function Dc(c){if(c._f!==b.ISO_8601)if(c._f!==b.RFC_2822){c._a=[],F(c).empty=!0;var v,S,z,W,fe,ln,Zi,h=""+c._i,Ke=h.length,wt=0;for(Zi=(z=un(c._f,c._locale).match(Gn)||[]).length,v=0;v<Zi;v++)(S=(h.match(hs(W=z[v],c))||[])[0])&&((fe=h.substr(0,h.indexOf(S))).length>0&&F(c).unusedInput.push(fe),h=h.slice(h.indexOf(S)+S.length),wt+=S.length),ie[W]?(S?F(c).empty=!1:F(c).unusedTokens.push(W),ds(W,S,c)):c._strict&&!S&&F(c).unusedTokens.push(W);F(c).charsLeftOver=Ke-wt,h.length>0&&F(c).unusedInput.push(h),c._a[3]<=12&&!0===F(c).bigHour&&c._a[3]>0&&(F(c).bigHour=void 0),F(c).parsedDateParts=c._a.slice(0),F(c).meridiem=c._meridiem,c._a[3]=function up(c,h,v){var S;return null==v?h:null!=c.meridiemHour?c.meridiemHour(h,v):(null!=c.isPM&&((S=c.isPM(v))&&h<12&&(h+=12),!S&&12===h&&(h=0)),h)}(c._locale,c._a[3],c._meridiem),null!==(ln=F(c).era)&&(c._a[0]=c._locale.erasConvertYear(ln,c._a[0])),_u(c),Ro(c)}else ys(c);else dn(c)}function Yh(c){var h=c._i,v=c._f;return c._locale=c._locale||rt(c._l),null===h||void 0===v&&""===h?j({nullInput:!0}):("string"==typeof h&&(c._i=h=c._locale.preparse(h)),pe(h)?new te(Ro(h)):(M(h)?c._d=h:B(v)?function hp(c){var h,v,S,z,W,fe,Ke=!1,wt=c._f.length;if(0===wt)return F(c).invalidFormat=!0,void(c._d=new Date(NaN));for(z=0;z<wt;z++)W=0,fe=!1,h=ue({},c),null!=c._useUTC&&(h._useUTC=c._useUTC),h._f=c._f[z],Dc(h),R(h)&&(fe=!0),W+=F(h).charsLeftOver,W+=10*F(h).unusedTokens.length,F(h).score=W,Ke?W<S&&(S=W,v=h):(null==S||W<S||fe)&&(S=W,v=h,fe&&(Ke=!0));_(c,v||h)}(c):v?Dc(c):function mp(c){var h=c._i;g(h)?c._d=new Date(b.now()):M(h)?c._d=new Date(h.valueOf()):"string"==typeof h?function cl(c){var h=Fr.exec(c._i);null===h?(dn(c),!1===c._isValid&&(delete c._isValid,ys(c),!1===c._isValid&&(delete c._isValid,c._strict?c._isValid=!1:b.createFromInputFallback(c)))):c._d=new Date(+h[1])}(c):B(h)?(c._a=y(h.slice(0),function(v){return parseInt(v,10)}),_u(c)):U(h)?function dp(c){if(!c._d){var h=uo(c._i);c._a=y([h.year,h.month,void 0===h.day?h.date:h.day,h.hour,h.minute,h.second,h.millisecond],function(S){return S&&parseInt(S,10)}),_u(c)}}(c):C(h)?c._d=new Date(h):b.createFromInputFallback(c)}(c),R(c)||(c._d=null),c))}function qh(c,h,v,S,z){var W={};return(!0===h||!1===h)&&(S=h,h=void 0),(!0===v||!1===v)&&(S=v,v=void 0),(U(c)&&d(c)||B(c)&&0===c.length)&&(c=void 0),W._isAMomentObject=!0,W._useUTC=W._isUTC=z,W._l=v,W._i=c,W._f=h,W._strict=S,function fp(c){var h=new te(Ro(Yh(c)));return h._nextDay&&(h.add(1,"d"),h._nextDay=void 0),h}(W)}function Pn(c,h,v,S){return qh(c,h,v,S,!1)}b.createFromInputFallback=Me("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(c){c._d=new Date(c._i+(c._useUTC?" UTC":""))}),b.ISO_8601=function(){},b.RFC_2822=function(){};var pp=Me("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var c=Pn.apply(null,arguments);return this.isValid()&&c.isValid()?c<this?this:c:j()}),gp=Me("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var c=Pn.apply(null,arguments);return this.isValid()&&c.isValid()?c>this?this:c:j()});function jh(c,h){var v,S;if(1===h.length&&B(h[0])&&(h=h[0]),!h.length)return Pn();for(v=h[0],S=1;S<h.length;++S)(!h[S].isValid()||h[S][c](v))&&(v=h[S]);return v}var Oa=["year","quarter","month","week","day","hour","minute","second","millisecond"];function xc(c){var h=uo(c),v=h.year||0,S=h.quarter||0,z=h.month||0,W=h.week||h.isoWeek||0,fe=h.day||0,Ke=h.hour||0,wt=h.minute||0,ln=h.second||0,Zi=h.millisecond||0;this._isValid=function kc(c){var h,S,v=!1,z=Oa.length;for(h in c)if(m(c,h)&&(-1===Yt.call(Oa,h)||null!=c[h]&&isNaN(c[h])))return!1;for(S=0;S<z;++S)if(c[Oa[S]]){if(v)return!1;parseFloat(c[Oa[S]])!==pt(c[Oa[S]])&&(v=!0)}return!0}(h),this._milliseconds=+Zi+1e3*ln+6e4*wt+1e3*Ke*60*60,this._days=+fe+7*W,this._months=+z+3*S+12*v,this._data={},this._locale=rt(),this._bubble()}function Zr(c){return c instanceof xc}function ul(c){return c<0?-1*Math.round(-1*c):Math.round(c)}function Pc(c,h){X(c,0,0,function(){var v=this.utcOffset(),S="+";return v<0&&(v=-v,S="-"),S+an(~~(v/60),2)+h+an(~~v%60,2)})}Pc("Z",":"),Pc("ZZ",""),we("Z",xa),we("ZZ",xa),mt(["Z","ZZ"],function(c,h,v){v._useUTC=!0,v._tzm=zc(xa,c)});var $h=/([\+\-]|\d\d)/gi;function zc(c,h){var z,W,v=(h||"").match(c);return null===v?null:0===(W=60*(z=((v[v.length-1]||[])+"").match($h)||["-",0,0])[1]+pt(z[2]))?0:"+"===z[0]?W:-W}function hl(c,h){var v,S;return h._isUTC?(v=h.clone(),S=(pe(c)||M(c)?c.valueOf():Pn(c).valueOf())-v.valueOf(),v._d.setTime(v._d.valueOf()+S),b.updateOffset(v,!1),v):Pn(c).local()}function dl(c){return-Math.round(c._d.getTimezoneOffset())}function yu(){return!!this.isValid()&&this._isUTC&&0===this._offset}b.updateOffset=function(){};var Mp=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,fl=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Fn(c,h){var z,W,fe,v=c,S=null;return Zr(c)?v={ms:c._milliseconds,d:c._days,M:c._months}:C(c)||!isNaN(+c)?(v={},h?v[h]=+c:v.milliseconds=+c):(S=Mp.exec(c))?(z="-"===S[1]?-1:1,v={y:0,d:pt(S[2])*z,h:pt(S[3])*z,m:pt(S[4])*z,s:pt(S[5])*z,ms:pt(ul(1e3*S[6]))*z}):(S=fl.exec(c))?v={y:la(S[2],z="-"===S[1]?-1:1),M:la(S[3],z),w:la(S[4],z),d:la(S[5],z),h:la(S[6],z),m:la(S[7],z),s:la(S[8],z)}:null==v?v={}:"object"==typeof v&&("from"in v||"to"in v)&&(fe=function Ia(c,h){var v;return c.isValid()&&h.isValid()?(h=hl(h,c),c.isBefore(h)?v=ml(c,h):((v=ml(h,c)).milliseconds=-v.milliseconds,v.months=-v.months),v):{milliseconds:0,months:0}}(Pn(v.from),Pn(v.to)),(v={}).ms=fe.milliseconds,v.M=fe.months),W=new xc(v),Zr(c)&&m(c,"_locale")&&(W._locale=c._locale),Zr(c)&&m(c,"_isValid")&&(W._isValid=c._isValid),W}function la(c,h){var v=c&&parseFloat(c.replace(",","."));return(isNaN(v)?0:v)*h}function ml(c,h){var v={};return v.months=h.month()-c.month()+12*(h.year()-c.year()),c.clone().add(v.months,"M").isAfter(h)&&--v.months,v.milliseconds=+h-+c.clone().add(v.months,"M"),v}function Qi(c,h){return function(v,S){var W;return null!==S&&!isNaN(+S)&&(ze(h,"moment()."+h+"(period, number) is deprecated. Please use moment()."+h+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),W=v,v=S,S=W),bu(this,Fn(v,S),c),this}}function bu(c,h,v,S){var z=h._milliseconds,W=ul(h._days),fe=ul(h._months);!c.isValid()||(S=null==S||S,fe&&lu(c,Ta(c,"Month")+fe*v),W&&tl(c,"Date",Ta(c,"Date")+W*v),z&&c._d.setTime(c._d.valueOf()+z*v),S&&b.updateOffset(c,W||fe))}Fn.fn=xc.prototype,Fn.invalid=function Cp(){return Fn(NaN)};var pl=Qi(1,"add"),Zh=Qi(-1,"subtract");function po(c){return"string"==typeof c||c instanceof String}function Cu(c){return pe(c)||M(c)||po(c)||C(c)||function dt(c){var h=B(c),v=!1;return h&&(v=0===c.filter(function(S){return!C(S)&&po(c)}).length),h&&v}(c)||function Ac(c){var z,h=U(c)&&!d(c),v=!1,S=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],fe=S.length;for(z=0;z<fe;z+=1)v=v||m(c,S[z]);return h&&v}(c)||null==c}function wu(c){var z,h=U(c)&&!d(c),v=!1,S=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(z=0;z<S.length;z+=1)v=v||m(c,S[z]);return h&&v}function re(c,h){if(c.date()<h.date())return-re(h,c);var v=12*(h.year()-c.year())+(h.month()-c.month()),S=c.clone().add(v,"months");return-(v+(h-S<0?(h-S)/(S-c.clone().add(v-1,"months")):(h-S)/(c.clone().add(v+1,"months")-S)))||0}function rd(c){var h;return void 0===c?this._locale._abbr:(null!=(h=rt(c))&&(this._locale=h),this)}b.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",b.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Nc=Me("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(c){return void 0===c?this.localeData():this.locale(c)});function Ii(){return this._locale}var ca=6e4,go=60*ca,Jr=3506328*go;function Aa(c,h){return(c%h+h)%h}function Rc(c,h,v){return c<100&&c>=0?new Date(c+400,h,v)-Jr:new Date(c,h,v).valueOf()}function Tu(c,h,v){return c<100&&c>=0?Date.UTC(c+400,h,v)-Jr:Date.UTC(c,h,v)}function qc(c,h){return h.erasAbbrRegex(c)}function La(){var z,W,c=[],h=[],v=[],S=[],fe=this.eras();for(z=0,W=fe.length;z<W;++z)h.push(ki(fe[z].name)),c.push(ki(fe[z].abbr)),v.push(ki(fe[z].narrow)),S.push(ki(fe[z].name)),S.push(ki(fe[z].abbr)),S.push(ki(fe[z].narrow));this._erasRegex=new RegExp("^("+S.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+h.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+c.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+v.join("|")+")","i")}function Fa(c,h){X(0,[c,c.length],0,h)}function Na(c,h,v,S,z){var W;return null==c?vr(this,S,z).year:(h>(W=ni(c,S,z))&&(h=W),jc.call(this,c,h,v,S,z))}function jc(c,h,v,S,z){var W=Fh(c,h,v,S,z),fe=xi(W.year,0,W.dayOfYear);return this.year(fe.getUTCFullYear()),this.month(fe.getUTCMonth()),this.date(fe.getUTCDate()),this}X("N",0,0,"eraAbbr"),X("NN",0,0,"eraAbbr"),X("NNN",0,0,"eraAbbr"),X("NNNN",0,0,"eraName"),X("NNNNN",0,0,"eraNarrow"),X("y",["y",1],"yo","eraYear"),X("y",["yy",2],0,"eraYear"),X("y",["yyy",3],0,"eraYear"),X("y",["yyyy",4],0,"eraYear"),we("N",qc),we("NN",qc),we("NNN",qc),we("NNNN",function fd(c,h){return h.erasNameRegex(c)}),we("NNNNN",function gl(c,h){return h.erasNarrowRegex(c)}),mt(["N","NN","NNN","NNNN","NNNNN"],function(c,h,v,S){var z=v._locale.erasParse(c,S,v._strict);z?F(v).era=z:F(v).invalidEra=c}),we("y",vt),we("yy",vt),we("yyy",vt),we("yyyy",vt),we("yo",function vl(c,h){return h._eraYearOrdinalRegex||vt}),mt(["y","yy","yyy","yyyy"],0),mt(["yo"],function(c,h,v,S){var z;v._locale._eraYearOrdinalRegex&&(z=c.match(v._locale._eraYearOrdinalRegex)),h[0]=v._locale.eraYearOrdinalParse?v._locale.eraYearOrdinalParse(c,z):parseInt(c,10)}),X(0,["gg",2],0,function(){return this.weekYear()%100}),X(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Fa("gggg","weekYear"),Fa("ggggg","weekYear"),Fa("GGGG","isoWeekYear"),Fa("GGGGG","isoWeekYear"),Cn("weekYear","gg"),Cn("isoWeekYear","GG"),Kn("weekYear",1),Kn("isoWeekYear",1),we("G",je),we("g",je),we("GG",qe,se),we("gg",qe,se),we("GGGG",$i,Zt),we("gggg",$i,Zt),we("GGGGG",No,gn),we("ggggg",No,gn),na(["gggg","ggggg","GGGG","GGGGG"],function(c,h,v,S){h[S.substr(0,2)]=pt(c)}),na(["gg","GG"],function(c,h,v,S){h[S]=b.parseTwoDigitYear(c)}),X("Q",0,"Qo","quarter"),Cn("quarter","Q"),Kn("quarter",7),we("Q",oe),mt("Q",function(c,h){h[1]=3*(pt(c)-1)}),X("D",["DD",2],"Do","date"),Cn("date","D"),Kn("date",9),we("D",qe),we("DD",qe,se),we("Do",function(c,h){return c?h._dayOfMonthOrdinalParse||h._ordinalParse:h._dayOfMonthOrdinalParseLenient}),mt(["D","DD"],2),mt("Do",function(c,h){h[2]=pt(c.match(qe)[0])});var Iu=ho("Date",!0);X("DDD",["DDDD",3],"DDDo","dayOfYear"),Cn("dayOfYear","DDD"),Kn("dayOfYear",4),we("DDD",ft),we("DDDD",Vt),mt(["DDD","DDDD"],function(c,h,v){v._dayOfYear=pt(c)}),X("m",["mm",2],0,"minute"),Cn("minute","m"),Kn("minute",14),we("m",qe),we("mm",qe,se),mt(["m","mm"],4);var kp=ho("Minutes",!1);X("s",["ss",2],0,"second"),Cn("second","s"),Kn("second",15),we("s",qe),we("ss",qe,se),mt(["s","ss"],5);var vo,$c,_l=ho("Seconds",!1);for(X("S",0,0,function(){return~~(this.millisecond()/100)}),X(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),X(0,["SSS",3],0,"millisecond"),X(0,["SSSS",4],0,function(){return 10*this.millisecond()}),X(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),X(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),X(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),X(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),X(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Cn("millisecond","ms"),Kn("millisecond",16),we("S",ft,oe),we("SS",ft,se),we("SSS",ft,Vt),vo="SSSS";vo.length<=9;vo+="S")we(vo,vt);function yl(c,h){h[6]=pt(1e3*("0."+c))}for(vo="S";vo.length<=9;vo+="S")mt(vo,yl);$c=ho("Milliseconds",!1),X("z",0,0,"zoneAbbr"),X("zz",0,0,"zoneName");var De=te.prototype;function bl(c){return c}De.add=pl,De.calendar=function Xh(c,h){1===arguments.length&&(arguments[0]?Cu(arguments[0])?(c=arguments[0],h=void 0):wu(arguments[0])&&(h=arguments[0],c=void 0):(c=void 0,h=void 0));var v=c||Pn(),S=hl(v,this).startOf("day"),z=b.calendarFormat(this,S)||"sameElse",W=h&&(de(h[z])?h[z].call(this,v):h[z]);return this.format(W||this.localeData().calendar(z,this,Pn(v)))},De.clone=function Jh(){return new te(this)},De.diff=function ae(c,h,v){var S,z,W;if(!this.isValid())return NaN;if(!(S=hl(c,this)).isValid())return NaN;switch(z=6e4*(S.utcOffset()-this.utcOffset()),h=Ln(h)){case"year":W=re(this,S)/12;break;case"month":W=re(this,S);break;case"quarter":W=re(this,S)/3;break;case"second":W=(this-S)/1e3;break;case"minute":W=(this-S)/6e4;break;case"hour":W=(this-S)/36e5;break;case"day":W=(this-S-z)/864e5;break;case"week":W=(this-S-z)/6048e5;break;default:W=this-S}return v?W:qn(W)},De.endOf=function Vc(c){var h,v;if(void 0===(c=Ln(c))||"millisecond"===c||!this.isValid())return this;switch(v=this._isUTC?Tu:Rc,c){case"year":h=v(this.year()+1,0,1)-1;break;case"quarter":h=v(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":h=v(this.year(),this.month()+1,1)-1;break;case"week":h=v(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":h=v(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":h=v(this.year(),this.month(),this.date()+1)-1;break;case"hour":h=this._d.valueOf(),h+=go-Aa(h+(this._isUTC?0:this.utcOffset()*ca),go)-1;break;case"minute":h=this._d.valueOf(),h+=ca-Aa(h,ca)-1;break;case"second":h=this._d.valueOf(),h+=1e3-Aa(h,1e3)-1}return this._d.setTime(h),b.updateOffset(this,!0),this},De.format=function Xr(c){c||(c=this.isUtc()?b.defaultFormatUtc:b.defaultFormat);var h=Qe(this,c);return this.localeData().postformat(h)},De.from=function Lc(c,h){return this.isValid()&&(pe(c)&&c.isValid()||Pn(c).isValid())?Fn({to:this,from:c}).locale(this.locale()).humanize(!h):this.localeData().invalidDate()},De.fromNow=function Fc(c){return this.from(Pn(),c)},De.to=function Tp(c,h){return this.isValid()&&(pe(c)&&c.isValid()||Pn(c).isValid())?Fn({from:this,to:c}).locale(this.locale()).humanize(!h):this.localeData().invalidDate()},De.toNow=function id(c){return this.to(Pn(),c)},De.get=function us(c){return de(this[c=Ln(c)])?this[c]():this},De.invalidAt=function zu(){return F(this).overflow},De.isAfter=function ed(c,h){var v=pe(c)?c:Pn(c);return!(!this.isValid()||!v.isValid())&&("millisecond"===(h=Ln(h)||"millisecond")?this.valueOf()>v.valueOf():v.valueOf()<this.clone().startOf(h).valueOf())},De.isBefore=function Mu(c,h){var v=pe(c)?c:Pn(c);return!(!this.isValid()||!v.isValid())&&("millisecond"===(h=Ln(h)||"millisecond")?this.valueOf()<v.valueOf():this.clone().endOf(h).valueOf()<v.valueOf())},De.isBetween=function td(c,h,v,S){var z=pe(c)?c:Pn(c),W=pe(h)?h:Pn(h);return!!(this.isValid()&&z.isValid()&&W.isValid())&&("("===(S=S||"()")[0]?this.isAfter(z,v):!this.isBefore(z,v))&&(")"===S[1]?this.isBefore(W,v):!this.isAfter(W,v))},De.isSame=function nd(c,h){var S,v=pe(c)?c:Pn(c);return!(!this.isValid()||!v.isValid())&&("millisecond"===(h=Ln(h)||"millisecond")?this.valueOf()===v.valueOf():(S=v.valueOf(),this.clone().startOf(h).valueOf()<=S&&S<=this.clone().endOf(h).valueOf()))},De.isSameOrAfter=function be(c,h){return this.isSame(c,h)||this.isAfter(c,h)},De.isSameOrBefore=function Ht(c,h){return this.isSame(c,h)||this.isBefore(c,h)},De.isValid=function xu(){return R(this)},De.lang=Nc,De.locale=rd,De.localeData=Ii,De.max=gp,De.min=pp,De.parsingFlags=function Pu(){return _({},F(this))},De.set=function Da(c,h){if("object"==typeof c){var S,v=function cs(c){var v,h=[];for(v in c)m(c,v)&&h.push({unit:v,priority:Lo[v]});return h.sort(function(S,z){return S.priority-z.priority}),h}(c=uo(c)),z=v.length;for(S=0;S<z;S++)this[v[S].unit](c[v[S].unit])}else if(de(this[c=Ln(c)]))return this[c](h);return this},De.startOf=function od(c){var h,v;if(void 0===(c=Ln(c))||"millisecond"===c||!this.isValid())return this;switch(v=this._isUTC?Tu:Rc,c){case"year":h=v(this.year(),0,1);break;case"quarter":h=v(this.year(),this.month()-this.month()%3,1);break;case"month":h=v(this.year(),this.month(),1);break;case"week":h=v(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":h=v(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":h=v(this.year(),this.month(),this.date());break;case"hour":h=this._d.valueOf(),h-=Aa(h+(this._isUTC?0:this.utcOffset()*ca),go);break;case"minute":h=this._d.valueOf(),h-=Aa(h,ca);break;case"second":h=this._d.valueOf(),h-=Aa(h,1e3)}return this._d.setTime(h),b.updateOffset(this,!0),this},De.subtract=Zh,De.toArray=function ad(){var c=this;return[c.year(),c.month(),c.date(),c.hour(),c.minute(),c.second(),c.millisecond()]},De.toObject=function ku(){var c=this;return{years:c.year(),months:c.month(),date:c.date(),hours:c.hours(),minutes:c.minutes(),seconds:c.seconds(),milliseconds:c.milliseconds()}},De.toDate=function Bc(){return new Date(this.valueOf())},De.toISOString=function Su(c){if(!this.isValid())return null;var h=!0!==c,v=h?this.clone().utc():this;return v.year()<0||v.year()>9999?Qe(v,h?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):de(Date.prototype.toISOString)?h?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Qe(v,"Z")):Qe(v,h?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},De.inspect=function bs(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var v,S,c="moment",h="";return this.isLocal()||(c=0===this.utcOffset()?"moment.utc":"moment.parseZone",h="Z"),v="["+c+'("]',S=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(v+S+"-MM-DD[T]HH:mm:ss.SSS"+h+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(De[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),De.toJSON=function Uc(){return this.isValid()?this.toISOString():null},De.toString=function ii(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},De.unix=function Du(){return Math.floor(this.valueOf()/1e3)},De.valueOf=function Hc(){return this._d.valueOf()-6e4*(this._offset||0)},De.creationData=function Eu(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},De.eraName=function Vi(){var c,h,v,S=this.localeData().eras();for(c=0,h=S.length;c<h;++c)if(v=this.clone().startOf("day").valueOf(),S[c].since<=v&&v<=S[c].until||S[c].until<=v&&v<=S[c].since)return S[c].name;return""},De.eraNarrow=function Bo(){var c,h,v,S=this.localeData().eras();for(c=0,h=S.length;c<h;++c)if(v=this.clone().startOf("day").valueOf(),S[c].since<=v&&v<=S[c].until||S[c].until<=v&&v<=S[c].since)return S[c].narrow;return""},De.eraAbbr=function Nn(){var c,h,v,S=this.localeData().eras();for(c=0,h=S.length;c<h;++c)if(v=this.clone().startOf("day").valueOf(),S[c].since<=v&&v<=S[c].until||S[c].until<=v&&v<=S[c].since)return S[c].abbr;return""},De.eraYear=function cd(){var c,h,v,S,z=this.localeData().eras();for(c=0,h=z.length;c<h;++c)if(v=z[c].since<=z[c].until?1:-1,S=this.clone().startOf("day").valueOf(),z[c].since<=S&&S<=z[c].until||z[c].until<=S&&S<=z[c].since)return(this.year()-b(z[c].since).year())*v+z[c].offset;return this.year()},De.year=ct,De.isLeapYear=function wc(){return Fo(this.year())},De.weekYear=function Ou(c){return Na.call(this,c,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},De.isoWeekYear=function md(c){return Na.call(this,c,this.isoWeek(),this.isoWeekday(),1,4)},De.quarter=De.quarters=function vd(c){return null==c?Math.ceil((this.month()+1)/3):this.month(3*(c-1)+this.month()%3)},De.month=cu,De.daysInMonth=function uu(){return qt(this.year(),this.month())},De.week=De.weeks=function lp(c){var h=this.localeData().week(this);return null==c?h:this.add(7*(c-h),"d")},De.isoWeek=De.isoWeeks=function cp(c){var h=vr(this,1,4).week;return null==c?h:this.add(7*(c-h),"d")},De.weeksInYear=function pd(){var c=this.localeData()._week;return ni(this.year(),c.dow,c.doy)},De.weeksInWeekYear=function gd(){var c=this.localeData()._week;return ni(this.weekYear(),c.dow,c.doy)},De.isoWeeksInYear=function Uo(){return ni(this.year(),1,4)},De.isoWeeksInISOWeekYear=function Cs(){return ni(this.isoWeekYear(),1,4)},De.date=Iu,De.day=De.days=function Rh(c){if(!this.isValid())return null!=c?this:NaN;var h=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=c?(c=function Pa(c,h){return"string"!=typeof c?c:isNaN(c)?"number"==typeof(c=h.weekdaysParse(c))?c:null:parseInt(c,10)}(c,this.localeData()),this.add(c-h,"d")):h},De.weekday=function pu(c){if(!this.isValid())return null!=c?this:NaN;var h=(this.day()+7-this.localeData()._week.dow)%7;return null==c?h:this.add(c-h,"d")},De.isoWeekday=function We(c){if(!this.isValid())return null!=c?this:NaN;if(null!=c){var h=function Xt(c,h){return"string"==typeof c?h.weekdaysParse(c)%7||7:isNaN(c)?null:c}(c,this.localeData());return this.day(this.day()%7?h:h-7)}return this.day()||7},De.dayOfYear=function Dp(c){var h=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==c?h:this.add(c-h,"d")},De.hour=De.hours=ra,De.minute=De.minutes=kp,De.second=De.seconds=_l,De.millisecond=De.milliseconds=$c,De.utcOffset=function Wh(c,h,v){var z,S=this._offset||0;if(!this.isValid())return null!=c?this:NaN;if(null!=c){if("string"==typeof c){if(null===(c=zc(xa,c)))return this}else Math.abs(c)<16&&!v&&(c*=60);return!this._isUTC&&h&&(z=dl(this)),this._offset=c,this._isUTC=!0,null!=z&&this.add(z,"m"),S!==c&&(!h||this._changeInProgress?bu(this,Fn(c-S,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,b.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?S:dl(this)},De.utc=function Gh(c){return this.utcOffset(0,c)},De.local=function _r(c){return this._isUTC&&(this.utcOffset(0,c),this._isUTC=!1,c&&this.subtract(dl(this),"m")),this},De.parseZone=function Oc(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var c=zc(ka,this._i);null!=c?this.utcOffset(c):this.utcOffset(0,!0)}return this},De.hasAlignedHourOffset=function Kh(c){return!!this.isValid()&&(c=c?Pn(c).utcOffset():0,(this.utcOffset()-c)%60==0)},De.isDST=function Ic(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},De.isLocal=function wp(){return!!this.isValid()&&!this._isUTC},De.isUtcOffset=function Qn(){return!!this.isValid()&&this._isUTC},De.isUtc=yu,De.isUTC=yu,De.zoneAbbr=function Au(){return this._isUTC?"UTC":""},De.zoneName=function Lu(){return this._isUTC?"Coordinated Universal Time":""},De.dates=Me("dates accessor is deprecated. Use date instead.",Iu),De.months=Me("months accessor is deprecated. Use month instead",cu),De.years=Me("years accessor is deprecated. Use year instead",ct),De.zone=Me("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Ec(c,h){return null!=c?("string"!=typeof c&&(c=-c),this.utcOffset(c,h),this):-this.utcOffset()}),De.isDSTShifted=Me("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Qh(){if(!g(this._isDSTShifted))return this._isDSTShifted;var h,c={};return ue(c,this),(c=Yh(c))._a?(h=c._isUTC?w(c._a):Pn(c._a),this._isDSTShifted=this.isValid()&&function Dt(c,h,v){var fe,S=Math.min(c.length,h.length),z=Math.abs(c.length-h.length),W=0;for(fe=0;fe<S;fe++)(v&&c[fe]!==h[fe]||!v&&pt(c[fe])!==pt(h[fe]))&&W++;return W+z}(c._a,h.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var Rt=Ve.prototype;function Wc(c,h,v,S){var z=rt(),W=w().set(S,h);return z[v](W,c)}function Gc(c,h,v){if(C(c)&&(h=c,c=void 0),c=c||"",null!=h)return Wc(c,h,v,"month");var S,z=[];for(S=0;S<12;S++)z[S]=Wc(c,S,v,"month");return z}function Cl(c,h,v,S){"boolean"==typeof c?(C(h)&&(v=h,h=void 0),h=h||""):(v=h=c,c=!1,C(h)&&(v=h,h=void 0),h=h||"");var fe,z=rt(),W=c?z._week.dow:0,Ke=[];if(null!=v)return Wc(h,(v+W)%7,S,"day");for(fe=0;fe<7;fe++)Ke[fe]=Wc(h,(fe+W)%7,S,"day");return Ke}Rt.calendar=function Mt(c,h,v){var S=this._calendar[c]||this._calendar.sameElse;return de(S)?S.call(h,v):S},Rt.longDateFormat=function Qt(c){var h=this._longDateFormat[c],v=this._longDateFormat[c.toUpperCase()];return h||!v?h:(this._longDateFormat[c]=v.match(Gn).map(function(S){return"MMMM"===S||"MM"===S||"DD"===S||"dddd"===S?S.slice(1):S}).join(""),this._longDateFormat[c])},Rt.invalidDate=function hn(){return this._invalidDate},Rt.ordinal=function yi(c){return this._ordinal.replace("%d",c)},Rt.preparse=bl,Rt.postformat=bl,Rt.relativeTime=function ls(c,h,v,S){var z=this._relativeTime[v];return de(z)?z(c,h,v,S):z.replace(/%d/i,c)},Rt.pastFuture=function Ar(c,h){var v=this._relativeTime[c>0?"future":"past"];return de(v)?v(h):v.replace(/%s/i,h)},Rt.set=function Ne(c){var h,v;for(v in c)m(c,v)&&(de(h=c[v])?this[v]=h:this["_"+v]=h);this._config=c,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Rt.eras=function Yc(c,h){var v,S,z,W=this._eras||rt("en")._eras;for(v=0,S=W.length;v<S;++v)switch("string"==typeof W[v].since&&(z=b(W[v].since).startOf("day"),W[v].since=z.valueOf()),typeof W[v].until){case"undefined":W[v].until=1/0;break;case"string":z=b(W[v].until).startOf("day").valueOf(),W[v].until=z.valueOf()}return W},Rt.erasParse=function sd(c,h,v){var S,z,fe,Ke,wt,W=this.eras();for(c=c.toUpperCase(),S=0,z=W.length;S<z;++S)if(fe=W[S].name.toUpperCase(),Ke=W[S].abbr.toUpperCase(),wt=W[S].narrow.toUpperCase(),v)switch(h){case"N":case"NN":case"NNN":if(Ke===c)return W[S];break;case"NNNN":if(fe===c)return W[S];break;case"NNNNN":if(wt===c)return W[S]}else if([fe,Ke,wt].indexOf(c)>=0)return W[S]},Rt.erasConvertYear=function ld(c,h){var v=c.since<=c.until?1:-1;return void 0===h?b(c.since).year():b(c.since).year()+(h-c.offset)*v},Rt.erasAbbrRegex=function hd(c){return m(this,"_erasAbbrRegex")||La.call(this),c?this._erasAbbrRegex:this._erasRegex},Rt.erasNameRegex=function ud(c){return m(this,"_erasNameRegex")||La.call(this),c?this._erasNameRegex:this._erasRegex},Rt.erasNarrowRegex=function dd(c){return m(this,"_erasNarrowRegex")||La.call(this),c?this._erasNarrowRegex:this._erasRegex},Rt.months=function Ct(c,h){return c?B(this._months)?this._months[c.month()]:this._months[(this._months.isFormat||Ah).test(h)?"format":"standalone"][c.month()]:B(this._months)?this._months:this._months.standalone},Rt.monthsShort=function il(c,h){return c?B(this._monthsShort)?this._monthsShort[c.month()]:this._monthsShort[Ah.test(h)?"format":"standalone"][c.month()]:B(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Rt.monthsParse=function su(c,h,v){var S,z,W;if(this._monthsParseExact)return op.call(this,c,h,v);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),S=0;S<12;S++){if(z=w([2e3,S]),v&&!this._longMonthsParse[S]&&(this._longMonthsParse[S]=new RegExp("^"+this.months(z,"").replace(".","")+"$","i"),this._shortMonthsParse[S]=new RegExp("^"+this.monthsShort(z,"").replace(".","")+"$","i")),!v&&!this._monthsParse[S]&&(W="^"+this.months(z,"")+"|^"+this.monthsShort(z,""),this._monthsParse[S]=new RegExp(W.replace(".",""),"i")),v&&"MMMM"===h&&this._longMonthsParse[S].test(c))return S;if(v&&"MMM"===h&&this._shortMonthsParse[S].test(c))return S;if(!v&&this._monthsParse[S].test(c))return S}},Rt.monthsRegex=function bc(c){return this._monthsParseExact?(m(this,"_monthsRegex")||Cc.call(this),c?this._monthsStrictRegex:this._monthsRegex):(m(this,"_monthsRegex")||(this._monthsRegex=rp),this._monthsStrictRegex&&c?this._monthsStrictRegex:this._monthsRegex)},Rt.monthsShortRegex=function rl(c){return this._monthsParseExact?(m(this,"_monthsRegex")||Cc.call(this),c?this._monthsShortStrictRegex:this._monthsShortRegex):(m(this,"_monthsShortRegex")||(this._monthsShortRegex=Le),this._monthsShortStrictRegex&&c?this._monthsShortStrictRegex:this._monthsShortRegex)},Rt.week=function ap(c){return vr(c,this._week.dow,this._week.doy).week},Rt.firstDayOfYear=function vn(){return this._week.doy},Rt.firstDayOfWeek=function Lr(){return this._week.dow},Rt.weekdays=function tt(c,h){var v=B(this._weekdays)?this._weekdays:this._weekdays[c&&!0!==c&&this._weekdays.isFormat.test(h)?"format":"standalone"];return!0===c?za(v,this._week.dow):c?v[c.day()]:v},Rt.weekdaysMin=function fu(c){return!0===c?za(this._weekdaysMin,this._week.dow):c?this._weekdaysMin[c.day()]:this._weekdaysMin},Rt.weekdaysShort=function du(c){return!0===c?za(this._weekdaysShort,this._week.dow):c?this._weekdaysShort[c.day()]:this._weekdaysShort},Rt.weekdaysParse=function Tt(c,h,v){var S,z,W;if(this._weekdaysParseExact)return mu.call(this,c,h,v);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),S=0;S<7;S++){if(z=w([2e3,1]).day(S),v&&!this._fullWeekdaysParse[S]&&(this._fullWeekdaysParse[S]=new RegExp("^"+this.weekdays(z,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[S]=new RegExp("^"+this.weekdaysShort(z,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[S]=new RegExp("^"+this.weekdaysMin(z,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[S]||(W="^"+this.weekdays(z,"")+"|^"+this.weekdaysShort(z,"")+"|^"+this.weekdaysMin(z,""),this._weekdaysParse[S]=new RegExp(W.replace(".",""),"i")),v&&"dddd"===h&&this._fullWeekdaysParse[S].test(c))return S;if(v&&"ddd"===h&&this._shortWeekdaysParse[S].test(c))return S;if(v&&"dd"===h&&this._minWeekdaysParse[S].test(c))return S;if(!v&&this._weekdaysParse[S].test(c))return S}},Rt.weekdaysRegex=function Pi(c){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Ci.call(this),c?this._weekdaysStrictRegex:this._weekdaysRegex):(m(this,"_weekdaysRegex")||(this._weekdaysRegex=mo),this._weekdaysStrictRegex&&c?this._weekdaysStrictRegex:this._weekdaysRegex)},Rt.weekdaysShortRegex=function nn(c){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Ci.call(this),c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(m(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ps),this._weekdaysShortStrictRegex&&c?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Rt.weekdaysMinRegex=function Ri(c){return this._weekdaysParseExact?(m(this,"_weekdaysRegex")||Ci.call(this),c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(m(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Nh),this._weekdaysMinStrictRegex&&c?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Rt.isPM=function vs(c){return"p"===(c+"").toLowerCase().charAt(0)},Rt.meridiem=function zi(c,h,v){return c>11?v?"pm":"PM":v?"am":"AM"},rn("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(c){var h=c%10;return c+(1===pt(c%100/10)?"th":1===h?"st":2===h?"nd":3===h?"rd":"th")}}),b.lang=Me("moment.lang is deprecated. Use moment.locale instead.",rn),b.langData=Me("moment.langData is deprecated. Use moment.localeData instead.",rt);var Rr=Math.abs;function Ms(c,h,v,S){var z=Fn(h,v);return c._milliseconds+=S*z._milliseconds,c._days+=S*z._days,c._months+=S*z._months,c._bubble()}function Qc(c){return c<0?Math.floor(c):Math.ceil(c)}function Zc(c){return 4800*c/146097}function Xc(c){return 146097*c/4800}function _o(c){return function(){return this.as(c)}}var Ru=_o("ms"),Vu=_o("s"),Va=_o("m"),wd=_o("h"),Zn=_o("d"),Jc=_o("w"),Md=_o("M"),Hu=_o("Q"),e1=_o("y");function br(c){return function(){return this.isValid()?this._data[c]:NaN}}var Bu=br("milliseconds"),t1=br("seconds"),Ua=br("minutes"),xp=br("hours"),Sd=br("days"),$e=br("months"),Pp=br("years");var Yo=Math.round,Ts={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ep(c,h,v,S,z){return z.relativeTime(h||1,!!v,c,S)}var Uu=Math.abs;function zn(c){return(c>0)-(c<0)||+c}function Ya(){if(!this.isValid())return this.localeData().invalidDate();var S,z,W,fe,wt,ln,Zi,qo,c=Uu(this._milliseconds)/1e3,h=Uu(this._days),v=Uu(this._months),Ke=this.asSeconds();return Ke?(S=qn(c/60),z=qn(S/60),c%=60,S%=60,W=qn(v/12),v%=12,fe=c?c.toFixed(3).replace(/\.?0+$/,""):"",wt=Ke<0?"-":"",ln=zn(this._months)!==zn(Ke)?"-":"",Zi=zn(this._days)!==zn(Ke)?"-":"",qo=zn(this._milliseconds)!==zn(Ke)?"-":"",wt+"P"+(W?ln+W+"Y":"")+(v?ln+v+"M":"")+(h?Zi+h+"D":"")+(z||S||c?"T":"")+(z?qo+z+"H":"")+(S?qo+S+"M":"")+(c?qo+fe+"S":"")):"P0D"}var zt=xc.prototype;
|
|
2470
2470
|
//! moment.js
|
|
2471
2471
|
return zt.isValid=function bp(){return this._isValid},zt.abs=function wl(){var c=this._data;return this._milliseconds=Rr(this._milliseconds),this._days=Rr(this._days),this._months=Rr(this._months),c.milliseconds=Rr(c.milliseconds),c.seconds=Rr(c.seconds),c.minutes=Rr(c.minutes),c.hours=Rr(c.hours),c.months=Rr(c.months),c.years=Rr(c.years),this},zt.add=function Cd(c,h){return Ms(this,c,h,1)},zt.subtract=function Fu(c,h){return Ms(this,c,h,-1)},zt.as=function Ml(c){if(!this.isValid())return NaN;var h,v,S=this._milliseconds;if("month"===(c=Ln(c))||"quarter"===c||"year"===c)switch(h=this._days+S/864e5,v=this._months+Zc(h),c){case"month":return v;case"quarter":return v/3;case"year":return v/12}else switch(h=this._days+Math.round(Xc(this._months)),c){case"week":return h/7+S/6048e5;case"day":return h+S/864e5;case"hour":return 24*h+S/36e5;case"minute":return 1440*h+S/6e4;case"second":return 86400*h+S/1e3;case"millisecond":return Math.floor(864e5*h)+S;default:throw new Error("Unknown unit "+c)}},zt.asMilliseconds=Ru,zt.asSeconds=Vu,zt.asMinutes=Va,zt.asHours=wd,zt.asDays=Zn,zt.asWeeks=Jc,zt.asMonths=Md,zt.asQuarters=Hu,zt.asYears=e1,zt.valueOf=function Ss(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*pt(this._months/12):NaN},zt._bubble=function Nu(){var z,W,fe,Ke,wt,c=this._milliseconds,h=this._days,v=this._months,S=this._data;return c>=0&&h>=0&&v>=0||c<=0&&h<=0&&v<=0||(c+=864e5*Qc(Xc(v)+h),h=0,v=0),S.milliseconds=c%1e3,z=qn(c/1e3),S.seconds=z%60,W=qn(z/60),S.minutes=W%60,fe=qn(W/60),S.hours=fe%24,h+=qn(fe/24),v+=wt=qn(Zc(h)),h-=Qc(Xc(wt)),Ke=qn(v/12),v%=12,S.days=h,S.months=v,S.years=Ke,this},zt.clone=function Ha(){return Fn(this)},zt.get=function Ba(c){return c=Ln(c),this.isValid()?this[c+"s"]():NaN},zt.milliseconds=Bu,zt.seconds=t1,zt.minutes=Ua,zt.hours=xp,zt.days=Sd,zt.weeks=function zp(){return qn(this.days()/7)},zt.months=$e,zt.years=Pp,zt.humanize=function Ap(c,h){if(!this.isValid())return this.localeData().invalidDate();var z,W,v=!1,S=Ts;return"object"==typeof c&&(h=c,c=!1),"boolean"==typeof c&&(v=c),"object"==typeof h&&(S=Object.assign({},Ts,h),null!=h.s&&null==h.ss&&(S.ss=h.s-1)),W=function Op(c,h,v,S){var z=Fn(c).abs(),W=Yo(z.as("s")),fe=Yo(z.as("m")),Ke=Yo(z.as("h")),wt=Yo(z.as("d")),ln=Yo(z.as("M")),Zi=Yo(z.as("w")),qo=Yo(z.as("y")),yo=W<=v.ss&&["s",W]||W<v.s&&["ss",W]||fe<=1&&["m"]||fe<v.m&&["mm",fe]||Ke<=1&&["h"]||Ke<v.h&&["hh",Ke]||wt<=1&&["d"]||wt<v.d&&["dd",wt];return null!=v.w&&(yo=yo||Zi<=1&&["w"]||Zi<v.w&&["ww",Zi]),(yo=yo||ln<=1&&["M"]||ln<v.M&&["MM",ln]||qo<=1&&["y"]||["yy",qo])[2]=h,yo[3]=+c>0,yo[4]=S,Ep.apply(null,yo)}(this,!v,S,z=this.localeData()),v&&(W=z.pastFuture(+this,W)),z.postformat(W)},zt.toISOString=Ya,zt.toString=Ya,zt.toJSON=Ya,zt.locale=rd,zt.localeData=Ii,zt.toIsoString=Me("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ya),zt.lang=Nc,X("X",0,0,"unix"),X("x",0,0,"valueOf"),we("x",je),we("X",/[+-]?\d+(\.\d{1,3})?/),mt("X",function(c,h,v){v._d=new Date(1e3*parseFloat(c))}),mt("x",function(c,h,v){v._d=new Date(pt(c))}),b.version="2.29.4",function D(c){L=c}(Pn),b.fn=De,b.min=function vp(){return jh("isBefore",[].slice.call(arguments,0))},b.max=function _p(){return jh("isAfter",[].slice.call(arguments,0))},b.now=function(){return Date.now?Date.now():+new Date},b.utc=w,b.unix=function _d(c){return Pn(1e3*c)},b.months=function yd(c,h){return Gc(c,h,"months")},b.isDate=M,b.locale=rn,b.invalid=j,b.duration=Fn,b.isMoment=pe,b.weekdays=function bd(c,h,v){return Cl(c,h,v,"weekdays")},b.parseZone=function Ra(){return Pn.apply(null,arguments).parseZone()},b.localeData=rt,b.isDuration=Zr,b.monthsShort=function eo(c,h){return Gc(c,h,"monthsShort")},b.weekdaysMin=function Kc(c,h,v){return Cl(c,h,v,"weekdaysMin")},b.defineLocale=aa,b.updateLocale=function _s(c,h){if(null!=h){var v,S,z=gu;null!=Nt[c]&&null!=Nt[c].parentLocale?Nt[c].set(ke(Nt[c]._config,h)):(null!=(S=Qr(c))&&(z=S._config),h=ke(z,h),null==S&&(h.abbr=c),(v=new Ve(h)).parentLocale=Nt[c],Nt[c]=v),rn(c)}else null!=Nt[c]&&(null!=Nt[c].parentLocale?(Nt[c]=Nt[c].parentLocale,c===rn()&&rn(c)):null!=Nt[c]&&delete Nt[c]);return Nt[c]},b.locales=function ll(){return at(Nt)},b.weekdaysShort=function ws(c,h,v){return Cl(c,h,v,"weekdaysShort")},b.normalizeUnits=Ln,b.relativeTimeRounding=function Ip(c){return void 0===c?Yo:"function"==typeof c&&(Yo=c,!0)},b.relativeTimeThreshold=function Ds(c,h){return void 0!==Ts[c]&&(void 0===h?Ts[c]:(Ts[c]=h,"s"===c&&(Ts.ss=h-1),!0))},b.calendarFormat=function Sp(c,h){var v=c.diff(h,"days",!0);return v<-6?"sameElse":v<-1?"lastWeek":v<0?"lastDay":v<1?"sameDay":v<2?"nextDay":v<7?"nextWeek":"sameElse"},b.prototype=De,b.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"},b}()},8597:(Q,K,O)=>{var L="function"==typeof Map&&Map.prototype,b=Object.getOwnPropertyDescriptor&&L?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,D=L&&b&&"function"==typeof b.get?b.get:null,B=L&&Map.prototype.forEach,U="function"==typeof Set&&Set.prototype,m=Object.getOwnPropertyDescriptor&&U?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,d=U&&m&&"function"==typeof m.get?m.get:null,g=U&&Set.prototype.forEach,M="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,_="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,I="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,F=Boolean.prototype.valueOf,N=Object.prototype.toString,R=Function.prototype.toString,j=String.prototype.match,ee=String.prototype.slice,J=String.prototype.replace,ue=String.prototype.toUpperCase,te=String.prototype.toLowerCase,pe=RegExp.prototype.test,Re=Array.prototype.concat,Me=Array.prototype.join,ce=Array.prototype.slice,ze=Math.floor,de="function"==typeof BigInt?BigInt.prototype.valueOf:null,Ne=Object.getOwnPropertySymbols,ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Ve="function"==typeof Symbol&&"object"==typeof Symbol.iterator,at="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,An=Object.prototype.propertyIsEnumerable,Mt=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(oe){return oe.__proto__}:null);function an(oe,se){if(oe===1/0||oe===-1/0||oe!=oe||oe&&oe>-1e3&&oe<1e3||pe.call(/e/,se))return se;var Vt=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof oe){var Zt=oe<0?-ze(-oe):ze(oe);if(Zt!==oe){var gn=String(Zt),qe=ee.call(se,gn.length+1);return J.call(gn,Vt,"$&_")+"."+J.call(J.call(qe,/([0-9]{3})/g,"$&_"),/_$/,"")}}return J.call(se,Vt,"$&_")}var Gn=O(4654),sn=Gn.custom,Ae=hn(sn)?sn:null;function ie(oe,se,Vt){var Zt="double"===(Vt.quoteStyle||se)?'"':"'";return Zt+oe+Zt}function X(oe){return J.call(String(oe),/"/g,""")}function xe(oe){return!("[object Array]"!==bi(oe)||at&&"object"==typeof oe&&at in oe)}function Qe(oe){return!("[object RegExp]"!==bi(oe)||at&&"object"==typeof oe&&at in oe)}function hn(oe){if(Ve)return oe&&"object"==typeof oe&&oe instanceof Symbol;if("symbol"==typeof oe)return!0;if(!oe||"object"!=typeof oe||!ke)return!1;try{return ke.call(oe),!0}catch(se){}return!1}Q.exports=function oe(se,Vt,Zt,gn){var qe=Vt||{};if(yi(qe,"quoteStyle")&&"single"!==qe.quoteStyle&&"double"!==qe.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(yi(qe,"maxStringLength")&&("number"==typeof qe.maxStringLength?qe.maxStringLength<0&&qe.maxStringLength!==1/0:null!==qe.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var At=!yi(qe,"customInspect")||qe.customInspect;if("boolean"!=typeof At&&"symbol"!==At)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(yi(qe,"indent")&&null!==qe.indent&&"\t"!==qe.indent&&!(parseInt(qe.indent,10)===qe.indent&&qe.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(yi(qe,"numericSeparator")&&"boolean"!=typeof qe.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var gr=qe.numericSeparator;if(void 0===se)return"undefined";if(null===se)return"null";if("boolean"==typeof se)return se?"true":"false";if("string"==typeof se)return cs(se,qe);if("number"==typeof se){if(0===se)return 1/0/se>0?"0":"-0";var ft=String(se);return gr?an(se,ft):ft}if("bigint"==typeof se){var $i=String(se)+"n";return gr?an(se,$i):$i}var No=void 0===qe.depth?5:qe.depth;if(void 0===Zt&&(Zt=0),Zt>=No&&No>0&&"object"==typeof se)return xe(se)?"[Array]":"[Object]";var vt=function tl(oe,se){var Vt;if("\t"===oe.indent)Vt="\t";else{if(!("number"==typeof oe.indent&&oe.indent>0))return null;Vt=Me.call(Array(oe.indent+1)," ")}return{base:Vt,prev:Me.call(Array(se+1),Vt)}}(qe,Zt);if(void 0===gn)gn=[];else if(Ar(gn,se)>=0)return"[Circular]";function je(wn,Ni,Gr){if(Ni&&(gn=ce.call(gn)).push(Ni),Gr){var Kr={depth:qe.depth};return yi(qe,"quoteStyle")&&(Kr.quoteStyle=qe.quoteStyle),oe(wn,Kr,Zt+1,gn)}return oe(wn,qe,Zt+1,gn)}if("function"==typeof se&&!Qe(se)){var ka=function ls(oe){if(oe.name)return oe.name;var se=j.call(R.call(oe),/^function\s*([\w$]+)/);return se?se[1]:null}(se),xa=Da(se,je);return"[Function"+(ka?": "+ka:" (anonymous)")+"]"+(xa.length>0?" { "+Me.call(xa,", ")+" }":"")}if(hn(se)){var Se=Ve?J.call(String(se),/^(Symbol\(.*\))_[^)]*$/,"$1"):ke.call(se);return"object"!=typeof se||Ve?Se:qn(Se)}if(function Kn(oe){return!(!oe||"object"!=typeof oe)&&("undefined"!=typeof HTMLElement&&oe instanceof HTMLElement||"string"==typeof oe.nodeName&&"function"==typeof oe.getAttribute)}(se)){for(var Wi="<"+te.call(String(se.nodeName)),et=se.attributes||[],we=0;we<et.length;we++)Wi+=" "+et[we].name+"="+ie(X(et[we].value),"double",qe);return Wi+=">",se.childNodes&&se.childNodes.length&&(Wi+="..."),Wi+"</"+te.call(String(se.nodeName))+">"}if(xe(se)){if(0===se.length)return"[]";var hs=Da(se,je);return vt&&!function Ta(oe){for(var se=0;se<oe.length;se++)if(Ar(oe[se],"\n")>=0)return!1;return!0}(hs)?"["+us(hs,vt)+"]":"[ "+Me.call(hs,", ")+" ]"}if(function un(oe){return!("[object Error]"!==bi(oe)||at&&"object"==typeof oe&&at in oe)}(se)){var nl=Da(se,je);return"cause"in Error.prototype||!("cause"in se)||An.call(se,"cause")?0===nl.length?"["+String(se)+"]":"{ ["+String(se)+"] "+Me.call(nl,", ")+" }":"{ ["+String(se)+"] "+Me.call(Re.call("[cause]: "+je(se.cause),nl),", ")+" }"}if("object"==typeof se&&At){if(Ae&&"function"==typeof se[Ae]&&Gn)return Gn(se,{depth:No-Zt});if("symbol"!==At&&"function"==typeof se.inspect)return se.inspect()}if(function co(oe){if(!D||!oe||"object"!=typeof oe)return!1;try{D.call(oe);try{d.call(oe)}catch(se){return!0}return oe instanceof Map}catch(se){}return!1}(se)){var ki=[];return B.call(se,function(wn,Ni){ki.push(je(Ni,se,!0)+" => "+je(wn,se))}),ho("Map",D.call(se),ki,vt)}if(function uo(oe){if(!d||!oe||"object"!=typeof oe)return!1;try{d.call(oe);try{D.call(oe)}catch(se){return!0}return oe instanceof Set}catch(se){}return!1}(se)){var fo=[];return g.call(se,function(wn){fo.push(je(wn,se))}),ho("Set",d.call(se),fo,vt)}if(function Cn(oe){if(!M||!oe||"object"!=typeof oe)return!1;try{M.call(oe,M);try{_.call(oe,_)}catch(se){return!0}return oe instanceof WeakMap}catch(se){}return!1}(se))return pt("WeakMap");if(function Lo(oe){if(!_||!oe||"object"!=typeof oe)return!1;try{_.call(oe,_);try{M.call(oe,M)}catch(se){return!0}return oe instanceof WeakSet}catch(se){}return!1}(se))return pt("WeakSet");if(function Ln(oe){if(!I||!oe||"object"!=typeof oe)return!1;try{return I.call(oe),!0}catch(se){}return!1}(se))return pt("WeakRef");if(function Qt(oe){return!("[object Number]"!==bi(oe)||at&&"object"==typeof oe&&at in oe)}(se))return qn(je(Number(se)));if(function Wr(oe){if(!oe||"object"!=typeof oe||!de)return!1;try{return de.call(oe),!0}catch(se){}return!1}(se))return qn(je(de.call(se)));if(function St(oe){return!("[object Boolean]"!==bi(oe)||at&&"object"==typeof oe&&at in oe)}(se))return qn(F.call(se));if(function tn(oe){return!("[object String]"!==bi(oe)||at&&"object"==typeof oe&&at in oe)}(se))return qn(je(String(se)));if(!function Oe(oe){return!("[object Date]"!==bi(oe)||at&&"object"==typeof oe&&at in oe)}(se)&&!Qe(se)){var mt=Da(se,je),na=Mt?Mt(se)===Object.prototype:se instanceof Object||se.constructor===Object,ds=se instanceof Object?"":"null prototype",li=!na&&at&&Object(se)===se&&at in se?ee.call(bi(se),8,-1):ds?"Object":"",lr=(na||"function"!=typeof se.constructor?"":se.constructor.name?se.constructor.name+" ":"")+(li||ds?"["+Me.call(Re.call([],li||[],ds||[]),": ")+"] ":"");return 0===mt.length?lr+"{}":vt?lr+"{"+us(mt,vt)+"}":lr+"{ "+Me.call(mt,", ")+" }"}return String(se)};var ji=Object.prototype.hasOwnProperty||function(oe){return oe in this};function yi(oe,se){return ji.call(oe,se)}function bi(oe){return N.call(oe)}function Ar(oe,se){if(oe.indexOf)return oe.indexOf(se);for(var Vt=0,Zt=oe.length;Vt<Zt;Vt++)if(oe[Vt]===se)return Vt;return-1}function cs(oe,se){if(oe.length>se.maxStringLength){var Vt=oe.length-se.maxStringLength,Zt="... "+Vt+" more character"+(Vt>1?"s":"");return cs(ee.call(oe,0,se.maxStringLength),se)+Zt}return ie(J.call(J.call(oe,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Fo),"single",se)}function Fo(oe){var se=oe.charCodeAt(0),Vt={8:"b",9:"t",10:"n",12:"f",13:"r"}[se];return Vt?"\\"+Vt:"\\x"+(se<16?"0":"")+ue.call(se.toString(16))}function qn(oe){return"Object("+oe+")"}function pt(oe){return oe+" { ? }"}function ho(oe,se,Vt,Zt){return oe+" ("+se+") {"+(Zt?us(Vt,Zt):Me.call(Vt,", "))+"}"}function us(oe,se){if(0===oe.length)return"";var Vt="\n"+se.prev+se.base;return Vt+Me.call(oe,","+Vt)+"\n"+se.prev}function Da(oe,se){var Vt=xe(oe),Zt=[];if(Vt){Zt.length=oe.length;for(var gn=0;gn<oe.length;gn++)Zt[gn]=yi(oe,gn)?se(oe[gn],oe):""}var At,qe="function"==typeof Ne?Ne(oe):[];if(Ve){At={};for(var gr=0;gr<qe.length;gr++)At["$"+qe[gr]]=qe[gr]}for(var ft in oe)!yi(oe,ft)||Vt&&String(Number(ft))===ft&&ft<oe.length||Ve&&At["$"+ft]instanceof Symbol||(pe.call(/[^\w$]/,ft)?Zt.push(se(ft,oe)+": "+se(oe[ft],oe)):Zt.push(ft+": "+se(oe[ft],oe)));if("function"==typeof Ne)for(var $i=0;$i<qe.length;$i++)An.call(oe,qe[$i])&&Zt.push("["+se(qe[$i])+"]: "+se(oe[qe[$i]],oe));return Zt}},6872:Q=>{"use strict";var K=function(O){return O!=O};Q.exports=function(L,b){return 0===L&&0===b?1/L==1/b:!!(L===b||K(L)&&K(b))}},5734:(Q,K,O)=>{"use strict";var L=O(1790),b=O(3855),D=O(6872),B=O(3306),U=O(7715),m=b(B(),Object);L(m,{getPolyfill:B,implementation:D,shim:U}),Q.exports=m},3306:(Q,K,O)=>{"use strict";var L=O(6872);Q.exports=function(){return"function"==typeof Object.is?Object.is:L}},7715:(Q,K,O)=>{"use strict";var L=O(3306),b=O(1790);Q.exports=function(){var B=L();return b(Object,{is:B},{is:function(){return Object.is!==B}}),B}},7010:(Q,K,O)=>{"use strict";var L;if(!Object.keys){var b=Object.prototype.hasOwnProperty,D=Object.prototype.toString,B=O(5185),U=Object.prototype.propertyIsEnumerable,m=!U.call({toString:null},"toString"),d=U.call(function(){},"prototype"),g=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],C=function(w){var I=w.constructor;return I&&I.prototype===w},M={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},y=function(){if("undefined"==typeof window)return!1;for(var w in window)try{if(!M["$"+w]&&b.call(window,w)&&null!==window[w]&&"object"==typeof window[w])try{C(window[w])}catch(I){return!0}}catch(I){return!0}return!1}();L=function(I){var F=null!==I&&"object"==typeof I,N="[object Function]"===D.call(I),R=B(I),j=F&&"[object String]"===D.call(I),ee=[];if(!F&&!N&&!R)throw new TypeError("Object.keys called on a non-object");var J=d&&N;if(j&&I.length>0&&!b.call(I,0))for(var ue=0;ue<I.length;++ue)ee.push(String(ue));if(R&&I.length>0)for(var te=0;te<I.length;++te)ee.push(String(te));else for(var pe in I)(!J||"prototype"!==pe)&&b.call(I,pe)&&ee.push(String(pe));if(m)for(var Re=function(w){if("undefined"==typeof window||!y)return C(w);try{return C(w)}catch(I){return!1}}(I),Me=0;Me<g.length;++Me)(!Re||"constructor"!==g[Me])&&b.call(I,g[Me])&&ee.push(g[Me]);return ee}}Q.exports=L},2093:(Q,K,O)=>{"use strict";var L=Array.prototype.slice,b=O(5185),D=Object.keys,B=D?function(d){return D(d)}:O(7010),U=Object.keys;B.shim=function(){if(Object.keys){var d=function(){var g=Object.keys(arguments);return g&&g.length===arguments.length}(1,2);d||(Object.keys=function(C){return b(C)?U(L.call(C)):U(C)})}else Object.keys=B;return Object.keys||B},Q.exports=B},5185:Q=>{"use strict";var K=Object.prototype.toString;Q.exports=function(L){var b=K.call(L),D="[object Arguments]"===b;return D||(D="[object Array]"!==b&&null!==L&&"object"==typeof L&&"number"==typeof L.length&&L.length>=0&&"[object Function]"===K.call(L.callee)),D}},2461:(Q,K,O)=>{"use strict";var L=O(2093),b=O(6858)(),D=O(4263),B=Object,U=D("Array.prototype.push"),m=D("Object.prototype.propertyIsEnumerable"),d=b?Object.getOwnPropertySymbols:null;Q.exports=function(C,M){if(null==C)throw new TypeError("target must be an object");var y=B(C);if(1===arguments.length)return y;for(var _=1;_<arguments.length;++_){var w=B(arguments[_]),I=L(w),F=b&&(Object.getOwnPropertySymbols||d);if(F)for(var N=F(w),R=0;R<N.length;++R){var j=N[R];m(w,j)&&U(I,j)}for(var ee=0;ee<I.length;++ee){var J=I[ee];if(m(w,J)){var ue=w[J];y[J]=ue}}}return y}},6189:(Q,K,O)=>{"use strict";var L=O(1790),b=O(3855),D=O(2461),B=O(6255),U=O(152),m=b.apply(B()),d=function(C,M){return m(Object,arguments)};L(d,{getPolyfill:B,implementation:D,shim:U}),Q.exports=d},6255:(Q,K,O)=>{"use strict";var L=O(2461);Q.exports=function(){return!Object.assign||function(){if(!Object.assign)return!1;for(var B="abcdefghijklmnopqrst",U=B.split(""),m={},d=0;d<U.length;++d)m[U[d]]=U[d];var g=Object.assign({},m),C="";for(var M in g)C+=M;return B!==C}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var B=Object.preventExtensions({1:2});try{Object.assign(B,"xy")}catch(U){return"y"===B[1]}return!1}()?L:Object.assign}},152:(Q,K,O)=>{"use strict";var L=O(1790),b=O(6255);Q.exports=function(){var B=b();return L(Object,{assign:B},{assign:function(){return Object.assign!==B}}),B}},4040:(Q,K,O)=>{"use strict";var L=O(3677).functionsHaveConfigurableNames(),b=Object,D=TypeError;Q.exports=function(){if(null!=this&&this!==b(this))throw new D("RegExp.prototype.flags getter called on non-object");var U="";return this.hasIndices&&(U+="d"),this.global&&(U+="g"),this.ignoreCase&&(U+="i"),this.multiline&&(U+="m"),this.dotAll&&(U+="s"),this.unicode&&(U+="u"),this.sticky&&(U+="y"),U},L&&Object.defineProperty&&Object.defineProperty(Q.exports,"name",{value:"get flags"})},8704:(Q,K,O)=>{"use strict";var L=O(1790),b=O(3855),D=O(4040),B=O(9783),U=O(9369),m=b(B());L(m,{getPolyfill:B,implementation:D,shim:U}),Q.exports=m},9783:(Q,K,O)=>{"use strict";var L=O(4040),b=O(1790).supportsDescriptors,D=Object.getOwnPropertyDescriptor;Q.exports=function(){if(b&&"gim"===/a/gim.flags){var U=D(RegExp.prototype,"flags");if(U&&"function"==typeof U.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var m="",d={};if(Object.defineProperty(d,"hasIndices",{get:function(){m+="d"}}),Object.defineProperty(d,"sticky",{get:function(){m+="y"}}),"dy"===m)return U.get}}return L}},9369:(Q,K,O)=>{"use strict";var L=O(1790).supportsDescriptors,b=O(9783),D=Object.getOwnPropertyDescriptor,B=Object.defineProperty,U=TypeError,m=Object.getPrototypeOf,d=/a/;Q.exports=function(){if(!L||!m)throw new U("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var C=b(),M=m(d),y=D(M,"flags");return(!y||y.get!==C)&&B(M,"flags",{configurable:!0,enumerable:!1,get:C}),C}},8432:(Q,K,O)=>{"use strict";var L=O(9903),b=O(4263),D=O(8597),B=L("%TypeError%"),U=L("%WeakMap%",!0),m=L("%Map%",!0),d=b("WeakMap.prototype.get",!0),g=b("WeakMap.prototype.set",!0),C=b("WeakMap.prototype.has",!0),M=b("Map.prototype.get",!0),y=b("Map.prototype.set",!0),_=b("Map.prototype.has",!0),w=function(R,j){for(var J,ee=R;null!==(J=ee.next);ee=J)if(J.key===j)return ee.next=J.next,J.next=R.next,R.next=J,J};Q.exports=function(){var j,ee,J,ue={assert:function(te){if(!ue.has(te))throw new B("Side channel does not contain "+D(te))},get:function(te){if(U&&te&&("object"==typeof te||"function"==typeof te)){if(j)return d(j,te)}else if(m){if(ee)return M(ee,te)}else if(J)return function(R,j){var ee=w(R,j);return ee&&ee.value}(J,te)},has:function(te){if(U&&te&&("object"==typeof te||"function"==typeof te)){if(j)return C(j,te)}else if(m){if(ee)return _(ee,te)}else if(J)return function(R,j){return!!w(R,j)}(J,te);return!1},set:function(te,pe){U&&te&&("object"==typeof te||"function"==typeof te)?(j||(j=new U),g(j,te,pe)):m?(ee||(ee=new m),y(ee,te,pe)):(J||(J={key:{},next:null}),function(R,j,ee){var J=w(R,j);J?J.value=ee:R.next={key:j,next:R.next,value:ee}}(J,te,pe))}};return ue}},2086:(Q,K,O)=>{"use strict";var L=O(4764),b=O(1046),D=O(6180),B=O(6434),U=O(3);Q.exports=function(d){return null==d||"object"!=typeof d&&"function"!=typeof d?null:L(d)?"String":b(d)?"Number":D(d)?"Boolean":B(d)?"Symbol":U(d)?"BigInt":void 0}},5709:(Q,K,O)=>{"use strict";var L=O(3037),b=O(5271),D=O(4263),B=O(253),U=D("Object.prototype.toString"),m=O(3261)(),d="undefined"==typeof globalThis?global:globalThis,g=b(),C=D("String.prototype.slice"),M={},y=Object.getPrototypeOf;m&&B&&y&&L(g,function(I){if("function"==typeof d[I]){var F=new d[I];if(Symbol.toStringTag in F){var N=y(F),R=B(N,Symbol.toStringTag);if(!R){var j=y(N);R=B(j,Symbol.toStringTag)}M[I]=R.get}}});var w=O(7673);Q.exports=function(F){return!!w(F)&&(m&&Symbol.toStringTag in F?function(F){var N=!1;return L(M,function(R,j){if(!N)try{var ee=R.call(F);ee===j&&(N=ee)}catch(J){}}),N}(F):C(U(F),8,-1))}},82:Q=>{Q.exports={STU3:"partial",R4:"WIP"}},4654:()=>{},5271:Q=>{"use strict";var K=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],O="undefined"==typeof globalThis?global:globalThis;Q.exports=function(){for(var b=[],D=0;D<K.length;D++)"function"==typeof O[K[D]]&&(b[b.length]=K[D]);return b}},2069:(Q,K,O)=>{"use strict";var L=O(9102);if(O(524)()||O(6858)()){var b=Symbol.iterator;Q.exports=function(ce){return null!=ce&&void 0!==ce[b]?ce[b]():L(ce)?Array.prototype[b].call(ce):void 0}}else{var D=O(8266),B=O(4764),U=O(9903),m=U("%Map%",!0),d=U("%Set%",!0),g=O(4263),C=g("Array.prototype.push"),M=g("String.prototype.charCodeAt"),y=g("String.prototype.slice"),w=function(ce){var ze=0;return{next:function(){var ke,Ne=ze>=ce.length;return Ne||(ke=ce[ze],ze+=1),{done:Ne,value:ke}}}},I=function(ce,ze){if(D(ce)||L(ce))return w(ce);if(B(ce)){var de=0;return{next:function(){var ke=function(ce,ze){if(ze+1>=ce.length)return ze+1;var Ne=M(ce,ze);if(Ne<55296||Ne>56319)return ze+1;var ke=M(ce,ze+1);return ke<56320||ke>57343?ze+1:ze+2}(ce,de),Ve=y(ce,de,ke);return de=ke,{done:ke>ce.length,value:Ve}}}}return ze&&void 0!==ce["_es6-shim iterator_"]?ce["_es6-shim iterator_"]():void 0};if(m||d){var F=O(9898),N=O(3870),R=g("Map.prototype.forEach",!0),j=g("Set.prototype.forEach",!0);if("undefined"==typeof process||!process.versions||!process.versions.node)var ee=g("Map.prototype.iterator",!0),J=g("Set.prototype.iterator",!0),ue=function(Me){var ce=!1;return{next:function(){try{return{done:ce,value:ce?void 0:Me.next()}}catch(de){return ce=!0,{done:!0,value:void 0}}}}};var te=g("Map.prototype.@@iterator",!0)||g("Map.prototype._es6-shim iterator_",!0),pe=g("Set.prototype.@@iterator",!0)||g("Set.prototype._es6-shim iterator_",!0);Q.exports=function(ce){return function(ce){if(F(ce)){if(ee)return ue(ee(ce));if(te)return te(ce);if(R){var ze=[];return R(ce,function(Ne,ke){C(ze,[ke,Ne])}),w(ze)}}if(N(ce)){if(J)return ue(J(ce));if(pe)return pe(ce);if(j){var de=[];return j(ce,function(Ne){C(de,Ne)}),w(de)}}}(ce)||I(ce)}}else Q.exports=function(ce){if(null!=ce)return I(ce,!0)}}},2107:(Q,K,O)=>{"use strict";var L=O(9898),b=O(3870),D=O(5585),B=O(1902);Q.exports=function(m){if(m&&"object"==typeof m){if(L(m))return"Map";if(b(m))return"Set";if(D(m))return"WeakMap";if(B(m))return"WeakSet"}return!1}},8210:Q=>{"use strict";Q.exports=JSON.parse('{"license":"The following data (prefixes and units) was generated by the UCUM LHC code from the UCUM data and selected LOINC combinations of UCUM units. The license for the UCUM LHC code (demo and library code as well as the combined units) is located at https://github.com/lhncbc/ucum-lhc/blob/LICENSE.md.","prefixes":{"config":["code_","ciCode_","name_","printSymbol_","value_","exp_"],"data":[["E","EX","exa","E",1000000000000000000,"18"],["G","GA","giga","G",1000000000,"9"],["Gi","GIB","gibi","Gi",1073741824,null],["Ki","KIB","kibi","Ki",1024,null],["M","MA","mega","M",1000000,"6"],["Mi","MIB","mebi","Mi",1048576,null],["P","PT","peta","P",1000000000000000,"15"],["T","TR","tera","T",1000000000000,"12"],["Ti","TIB","tebi","Ti",1099511627776,null],["Y","YA","yotta","Y",1e+24,"24"],["Z","ZA","zetta","Z",1e+21,"21"],["a","A","atto","a",1e-18,"-18"],["c","C","centi","c",0.01,"-2"],["d","D","deci","d",0.1,"-1"],["da","DA","deka","da",10,"1"],["f","F","femto","f",1e-15,"-15"],["h","H","hecto","h",100,"2"],["k","K","kilo","k",1000,"3"],["m","M","milli","m",0.001,"-3"],["n","N","nano","n",1e-9,"-9"],["p","P","pico","p",1e-12,"-12"],["u","U","micro","\u03bc",0.000001,"-6"],["y","YO","yocto","y",1.0000000000000001e-24,"-24"],["z","ZO","zepto","z",1e-21,"-21"]]},"units":{"config":["isBase_","name_","csCode_","ciCode_","property_","magnitude_",["dim_","dimVec_"],"printSymbol_","class_","isMetric_","variable_","cnv_","cnvPfx_","isSpecial_","isArbitrary_","moleExp_","synonyms_","source_","loincProperty_","category_","guidance_","csUnitString_","ciUnitString_","baseFactorStr_","baseFactor_","defError_"],"data":[[true,"meter","m","M","length",1,[1,0,0,0,0,0,0],"m",null,false,"L",null,1,false,false,0,"meters; metres; distance","UCUM","Len","Clinical","unit of length = 1.09361 yards",null,null,null,null,false],[true,"second - time","s","S","time",1,[0,1,0,0,0,0,0],"s",null,false,"T",null,1,false,false,0,"seconds","UCUM","Time","Clinical","",null,null,null,null,false],[true,"gram","g","G","mass",1,[0,0,1,0,0,0,0],"g",null,false,"M",null,1,false,false,0,"grams; gm","UCUM","Mass","Clinical","",null,null,null,null,false],[true,"radian","rad","RAD","plane angle",1,[0,0,0,1,0,0,0],"rad",null,false,"A",null,1,false,false,0,"radians","UCUM","Angle","Clinical","unit of angular measure where 1 radian = 1/2\u03c0 turn = 57.296 degrees. ",null,null,null,null,false],[true,"degree Kelvin","K","K","temperature",1,[0,0,0,0,1,0,0],"K",null,false,"C",null,1,false,false,0,"Kelvin; degrees","UCUM","Temp","Clinical","absolute, thermodynamic temperature scale ",null,null,null,null,false],[true,"coulomb","C","C","electric charge",1,[0,0,0,0,0,1,0],"C",null,false,"Q",null,1,false,false,0,"coulombs","UCUM","","Clinical","defined as amount of 1 electron charge = 6.2415093\xd710^18 e, and equivalent to 1 Ampere-second",null,null,null,null,false],[true,"candela","cd","CD","luminous intensity",1,[0,0,0,0,0,0,1],"cd",null,false,"F",null,1,false,false,0,"candelas","UCUM","","Clinical","SI base unit of luminous intensity",null,null,null,null,false],[false,"the number ten for arbitrary powers","10*","10*","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10^; 10 to the arbitrary powers","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number ten for arbitrary powers","10^","10^","number",10,[0,0,0,0,0,0,0],"10","dimless",false,null,null,1,false,false,0,"10*; 10 to the arbitrary power","UCUM","Num","Clinical","10* by itself is the same as 10, but users can add digits after the *. For example, 10*3 = 1000.","1","1","10",10,false],[false,"the number pi","[pi]","[PI]","number",3.141592653589793,[0,0,0,0,0,0,0],"\u03c0","dimless",false,null,null,1,false,false,0,"\u03c0","UCUM","","Constant","a mathematical constant; the ratio of a circle\'s circumference to its diameter \u2248 3.14159","1","1","3.1415926535897932384626433832795028841971693993751058209749445923",3.141592653589793,false],[false,"","%","%","fraction",0.01,[0,0,0,0,0,0,0],"%","dimless",false,null,null,1,false,false,0,"percents","UCUM","FR; NFR; MFR; CFR; SFR Rto; etc. ","Clinical","","10*-2","10*-2","1",1,false],[false,"parts per thousand","[ppth]","[PPTH]","fraction",0.001,[0,0,0,0,0,0,0],"ppth","dimless",false,null,null,1,false,false,0,"ppth; 10^-3","UCUM","MCnc; MCnt","Clinical","[ppth] is often used in solution concentrations as 1 g/L or 1 g/kg.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-3","10*-3","1",1,false],[false,"parts per million","[ppm]","[PPM]","fraction",0.000001,[0,0,0,0,0,0,0],"ppm","dimless",false,null,null,1,false,false,0,"ppm; 10^-6","UCUM","MCnt; MCnc; SFr","Clinical","[ppm] is often used in solution concentrations as 1 mg/L or 1 mg/kg. Also used to express mole fractions as 1 mmol/mol.\\n\\n[ppm] is also used in nuclear magnetic resonance (NMR) to represent chemical shift - the difference of a measured frequency in parts per million from the reference frequency.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-6","10*-6","1",1,false],[false,"parts per billion","[ppb]","[PPB]","fraction",1e-9,[0,0,0,0,0,0,0],"ppb","dimless",false,null,null,1,false,false,0,"ppb; 10^-9","UCUM","MCnt; MCnc; SFr","Clinical","[ppb] is often used in solution concentrations as 1 ug/L or 1 ug/kg. Also used to express mole fractions as 1 umol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-9","10*-9","1",1,false],[false,"parts per trillion","[pptr]","[PPTR]","fraction",1e-12,[0,0,0,0,0,0,0],"pptr","dimless",false,null,null,1,false,false,0,"pptr; 10^-12","UCUM","MCnt; MCnc; SFr","Clinical","[pptr] is often used in solution concentrations as 1 ng/L or 1 ng/kg. Also used to express mole fractions as 1 nmol/mol.\\n\\nCan be ambigous and would be better if the metric units was used directly. ","10*-12","10*-12","1",1,false],[false,"mole","mol","MOL","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"mol","si",true,null,null,1,false,false,1,"moles","UCUM","Sub","Clinical","Measure the number of molecules ","10*23","10*23","6.0221367",6.0221367,false],[false,"steradian - solid angle","sr","SR","solid angle",1,[0,0,0,2,0,0,0],"sr","si",true,null,null,1,false,false,0,"square radian; rad2; rad^2","UCUM","Angle","Clinical","unit of solid angle in three-dimensional geometry analagous to radian; used in photometry which measures the perceived brightness of object by human eye (e.g. radiant intensity = watt/steradian)","rad2","RAD2","1",1,false],[false,"hertz","Hz","HZ","frequency",1,[0,-1,0,0,0,0,0],"Hz","si",true,null,null,1,false,false,0,"Herz; frequency; frequencies","UCUM","Freq; Num","Clinical","equal to one cycle per second","s-1","S-1","1",1,false],[false,"newton","N","N","force",1000,[1,-2,1,0,0,0,0],"N","si",true,null,null,1,false,false,0,"Newtons","UCUM","Force","Clinical","unit of force with base units kg.m/s2","kg.m/s2","KG.M/S2","1",1,false],[false,"pascal","Pa","PAL","pressure",1000,[-1,-2,1,0,0,0,0],"Pa","si",true,null,null,1,false,false,0,"pascals","UCUM","Pres","Clinical","standard unit of pressure equal to 1 newton per square meter (N/m2)","N/m2","N/M2","1",1,false],[false,"joule","J","J","energy",1000,[2,-2,1,0,0,0,0],"J","si",true,null,null,1,false,false,0,"joules","UCUM","Enrg","Clinical","unit of energy defined as the work required to move an object 1 m with a force of 1 N (N.m) or an electric charge of 1 C through 1 V (C.V), or to produce 1 W for 1 s (W.s) ","N.m","N.M","1",1,false],[false,"watt","W","W","power",1000,[2,-3,1,0,0,0,0],"W","si",true,null,null,1,false,false,0,"watts","UCUM","EngRat","Clinical","unit of power equal to 1 Joule per second (J/s) = kg\u22c5m2\u22c5s\u22123","J/s","J/S","1",1,false],[false,"Ampere","A","A","electric current",1,[0,-1,0,0,0,1,0],"A","si",true,null,null,1,false,false,0,"Amperes","UCUM","ElpotRat","Clinical","unit of electric current equal to flow rate of electrons equal to 16.2415\xd710^18 elementary charges moving past a boundary in one second or 1 Coulomb/second","C/s","C/S","1",1,false],[false,"volt","V","V","electric potential",1000,[2,-2,1,0,0,-1,0],"V","si",true,null,null,1,false,false,0,"volts","UCUM","Elpot","Clinical","unit of electric potential (voltage) = 1 Joule per Coulomb (J/C)","J/C","J/C","1",1,false],[false,"farad","F","F","electric capacitance",0.001,[-2,2,-1,0,0,2,0],"F","si",true,null,null,1,false,false,0,"farads; electric capacitance","UCUM","","Clinical","CGS unit of electric capacitance with base units C/V (Coulomb per Volt)","C/V","C/V","1",1,false],[false,"ohm","Ohm","OHM","electric resistance",1000,[2,-1,1,0,0,-2,0],"\u03a9","si",true,null,null,1,false,false,0,"\u03a9; resistance; ohms","UCUM","","Clinical","unit of electrical resistance with units of Volt per Ampere","V/A","V/A","1",1,false],[false,"siemens","S","SIE","electric conductance",0.001,[-2,1,-1,0,0,2,0],"S","si",true,null,null,1,false,false,0,"Reciprocal ohm; mho; \u03a9\u22121; conductance","UCUM","","Clinical","unit of electric conductance (the inverse of electrical resistance) equal to ohm^-1","Ohm-1","OHM-1","1",1,false],[false,"weber","Wb","WB","magnetic flux",1000,[2,-1,1,0,0,-1,0],"Wb","si",true,null,null,1,false,false,0,"magnetic flux; webers","UCUM","","Clinical","unit of magnetic flux equal to Volt second","V.s","V.S","1",1,false],[false,"degree Celsius","Cel","CEL","temperature",1,[0,0,0,0,1,0,0],"\xb0C","si",true,null,"Cel",1,true,false,0,"\xb0C; degrees","UCUM","Temp","Clinical","","K",null,null,1,false],[false,"tesla","T","T","magnetic flux density",1000,[0,-1,1,0,0,-1,0],"T","si",true,null,null,1,false,false,0,"Teslas; magnetic field","UCUM","","Clinical","SI unit of magnetic field strength for magnetic field B equal to 1 Weber/square meter = 1 kg/(s2*A)","Wb/m2","WB/M2","1",1,false],[false,"henry","H","H","inductance",1000,[2,0,1,0,0,-2,0],"H","si",true,null,null,1,false,false,0,"henries; inductance","UCUM","","Clinical","unit of electrical inductance; usually expressed in millihenrys (mH) or microhenrys (uH).","Wb/A","WB/A","1",1,false],[false,"lumen","lm","LM","luminous flux",1,[0,0,0,2,0,0,1],"lm","si",true,null,null,1,false,false,0,"luminous flux; lumens","UCUM","","Clinical","unit of luminous flux defined as 1 lm = 1 cd\u22c5sr (candela times sphere)","cd.sr","CD.SR","1",1,false],[false,"lux","lx","LX","illuminance",1,[-2,0,0,2,0,0,1],"lx","si",true,null,null,1,false,false,0,"illuminance; luxes","UCUM","","Clinical","unit of illuminance equal to one lumen per square meter. ","lm/m2","LM/M2","1",1,false],[false,"becquerel","Bq","BQ","radioactivity",1,[0,-1,0,0,0,0,0],"Bq","si",true,null,null,1,false,false,0,"activity; radiation; becquerels","UCUM","","Clinical","measure of the atomic radiation rate with units s^-1","s-1","S-1","1",1,false],[false,"gray","Gy","GY","energy dose",1,[2,-2,0,0,0,0,0],"Gy","si",true,null,null,1,false,false,0,"absorbed doses; ionizing radiation doses; kerma; grays","UCUM","EngCnt","Clinical","unit of ionizing radiation dose with base units of 1 joule of radiation energy per kilogram of matter","J/kg","J/KG","1",1,false],[false,"sievert","Sv","SV","dose equivalent",1,[2,-2,0,0,0,0,0],"Sv","si",true,null,null,1,false,false,0,"sieverts; radiation dose quantities; equivalent doses; effective dose; operational dose; committed dose","UCUM","","Clinical","SI unit for radiation dose equivalent equal to 1 Joule/kilogram.","J/kg","J/KG","1",1,false],[false,"degree - plane angle","deg","DEG","plane angle",0.017453292519943295,[0,0,0,1,0,0,0],"\xb0","iso1000",false,null,null,1,false,false,0,"\xb0; degree of arc; arc degree; arcdegree; angle","UCUM","Angle","Clinical","one degree is equivalent to \u03c0/180 radians.","[pi].rad/360","[PI].RAD/360","2",2,false],[false,"gon","gon","GON","plane angle",0.015707963267948967,[0,0,0,1,0,0,0],"\u25a1<sup>g</sup>","iso1000",false,null,null,1,false,false,0,"gon (grade); gons","UCUM","Angle","Nonclinical","unit of plane angle measurement equal to 1/400 circle","deg","DEG","0.9",0.9,false],[false,"arc minute","\'","\'","plane angle",0.0002908882086657216,[0,0,0,1,0,0,0],"\'","iso1000",false,null,null,1,false,false,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,false],[false,"arc second","\'\'","\'\'","plane angle",0.00000484813681109536,[0,0,0,1,0,0,0],"\'\'","iso1000",false,null,null,1,false,false,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,false],[false,"Liters","l","L","volume",0.001,[3,0,0,0,0,0,0],"l","iso1000",true,null,null,1,false,false,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,false],[false,"Liters","L","L","volume",0.001,[3,0,0,0,0,0,0],"L","iso1000",true,null,null,1,false,false,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,false],[false,"are","ar","AR","area",100,[2,0,0,0,0,0,0],"a","iso1000",true,null,null,1,false,false,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,false],[false,"minute","min","MIN","time",60,[0,1,0,0,0,0,0],"min","iso1000",false,null,null,1,false,false,0,"minutes","UCUM","Time","Clinical","","s","S","60",60,false],[false,"hour","h","HR","time",3600,[0,1,0,0,0,0,0],"h","iso1000",false,null,null,1,false,false,0,"hours; hrs; age","UCUM","Time","Clinical","","min","MIN","60",60,false],[false,"day","d","D","time",86400,[0,1,0,0,0,0,0],"d","iso1000",false,null,null,1,false,false,0,"days; age; dy; 24 hours; 24 hrs","UCUM","Time","Clinical","","h","HR","24",24,false],[false,"tropical year","a_t","ANN_T","time",31556925.216,[0,1,0,0,0,0,0],"a<sub>t</sub>","iso1000",false,null,null,1,false,false,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,false],[false,"mean Julian year","a_j","ANN_J","time",31557600,[0,1,0,0,0,0,0],"a<sub>j</sub>","iso1000",false,null,null,1,false,false,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,false],[false,"mean Gregorian year","a_g","ANN_G","time",31556952,[0,1,0,0,0,0,0],"a<sub>g</sub>","iso1000",false,null,null,1,false,false,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,false],[false,"year","a","ANN","time",31557600,[0,1,0,0,0,0,0],"a","iso1000",false,null,null,1,false,false,0,"years; a; yr, yrs; annum","UCUM","Time","Clinical","","a_j","ANN_J","1",1,false],[false,"week","wk","WK","time",604800,[0,1,0,0,0,0,0],"wk","iso1000",false,null,null,1,false,false,0,"weeks; wks","UCUM","Time","Clinical","","d","D","7",7,false],[false,"synodal month","mo_s","MO_S","time",2551442.976,[0,1,0,0,0,0,0],"mo<sub>s</sub>","iso1000",false,null,null,1,false,false,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,false],[false,"mean Julian month","mo_j","MO_J","time",2629800,[0,1,0,0,0,0,0],"mo<sub>j</sub>","iso1000",false,null,null,1,false,false,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,false],[false,"mean Gregorian month","mo_g","MO_G","time",2629746,[0,1,0,0,0,0,0],"mo<sub>g</sub>","iso1000",false,null,null,1,false,false,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,false],[false,"month","mo","MO","time",2629800,[0,1,0,0,0,0,0],"mo","iso1000",false,null,null,1,false,false,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,false],[false,"metric ton","t","TNE","mass",1000000,[0,0,1,0,0,0,0],"t","iso1000",true,null,null,1,false,false,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",1000,false],[false,"bar","bar","BAR","pressure",100000000,[-1,-2,1,0,0,0,0],"bar","iso1000",true,null,null,1,false,false,0,"bars","UCUM","Pres","Nonclinical","unit of pressure equal to 10^5 Pascals, primarily used by meteorologists and in weather forecasting","Pa","PAL","1e5",100000,false],[false,"unified atomic mass unit","u","AMU","mass",1.6605402e-24,[0,0,1,0,0,0,0],"u","iso1000",true,null,null,1,false,false,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",1.6605402e-24,false],[false,"astronomic unit","AU","ASU","length",149597870691,[1,0,0,0,0,0,0],"AU","iso1000",false,null,null,1,false,false,0,"AU; units","UCUM","Len","Clinical","unit of length used in astronomy for measuring distance in Solar system","Mm","MAM","149597.870691",149597.870691,false],[false,"parsec","pc","PRS","length",30856780000000000,[1,0,0,0,0,0,0],"pc","iso1000",true,null,null,1,false,false,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",30856780000000000,false],[false,"velocity of light in a vacuum","[c]","[C]","velocity",299792458,[1,-1,0,0,0,0,0],"<i>c</i>","const",true,null,null,1,false,false,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,false],[false,"Planck constant","[h]","[H]","action",6.6260755e-31,[2,-1,1,0,0,0,0],"<i>h</i>","const",true,null,null,1,false,false,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",6.6260755e-34,false],[false,"Boltzmann constant","[k]","[K]","(unclassified)",1.380658e-20,[2,-2,1,0,-1,0,0],"<i>k</i>","const",true,null,null,1,false,false,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",1.380658e-23,false],[false,"permittivity of vacuum - electric","[eps_0]","[EPS_0]","electric permittivity",8.854187817000001e-15,[-3,2,-1,0,0,2,0],"<i>\u03b5<sub><r>0</r></sub></i>","const",true,null,null,1,false,false,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",8.854187817e-12,false],[false,"permeability of vacuum - magnetic","[mu_0]","[MU_0]","magnetic permeability",0.0012566370614359172,[1,0,1,0,0,-2,0],"<i>\u03bc<sub><r>0</r></sub></i>","const",true,null,null,1,false,false,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",0.0000012566370614359173,false],[false,"elementary charge","[e]","[E]","electric charge",1.60217733e-19,[0,0,0,0,0,1,0],"<i>e</i>","const",true,null,null,1,false,false,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",1.60217733e-19,false],[false,"electronvolt","eV","EV","energy",1.60217733e-16,[2,-2,1,0,0,0,0],"eV","iso1000",true,null,null,1,false,false,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,false],[false,"electron mass","[m_e]","[M_E]","mass",9.1093897e-28,[0,0,1,0,0,0,0],"<i>m<sub><r>e</r></sub></i>","const",true,null,null,1,false,false,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",9.1093897e-28,false],[false,"proton mass","[m_p]","[M_P]","mass",1.6726231e-24,[0,0,1,0,0,0,0],"<i>m<sub><r>p</r></sub></i>","const",true,null,null,1,false,false,0,"mp; masses","UCUM","Mass","Constant","approximately equal to 1.672622\xd710\u221227 kg","g","g","1.6726231e-24",1.6726231e-24,false],[false,"Newtonian constant of gravitation","[G]","[GC]","(unclassified)",6.67259e-14,[3,-2,-1,0,0,0,0],"<i>G</i>","const",true,null,null,1,false,false,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",6.67259e-11,false],[false,"standard acceleration of free fall","[g]","[G]","acceleration",9.80665,[1,-2,0,0,0,0,0],"<i>g<sub>n</sub></i>","const",true,null,null,1,false,false,0,"standard gravity; g; \u02610; \u0261n","UCUM","Accel","Constant","defined by standard = 9.80665 m/s2","m/s2","M/S2","980665e-5",9.80665,false],[false,"Torr","Torr","Torr","pressure",133322,[-1,-2,1,0,0,0,0],"Torr","const",false,null,null,1,false,false,0,"torrs","UCUM","Pres","Clinical","1 torr = 1 mmHg; unit used to measure blood pressure","Pa","PAL","133.322",133.322,false],[false,"standard atmosphere","atm","ATM","pressure",101325000,[-1,-2,1,0,0,0,0],"atm","const",false,null,null,1,false,false,0,"reference pressure; atmos; std atmosphere","UCUM","Pres","Clinical","defined as being precisely equal to 101,325 Pa","Pa","PAL","101325",101325,false],[false,"light-year","[ly]","[LY]","length",9460730472580800,[1,0,0,0,0,0,0],"l.y.","const",true,null,null,1,false,false,0,"light years; ly","UCUM","Len","Constant","unit of astronomal distance = 5.88\xd710^12 mi","[c].a_j","[C].ANN_J","1",1,false],[false,"gram-force","gf","GF","force",9.80665,[1,-2,1,0,0,0,0],"gf","const",true,null,null,1,false,false,0,"Newtons; gram forces","UCUM","Force","Clinical","May be specific to unit related to cardiac output","g.[g]","G.[G]","1",1,false],[false,"Kayser","Ky","KY","lineic number",100,[-1,0,0,0,0,0,0],"K","cgs",true,null,null,1,false,false,0,"wavenumbers; kaysers","UCUM","InvLen","Clinical","unit of wavelength equal to cm^-1","cm-1","CM-1","1",1,false],[false,"Gal","Gal","GL","acceleration",0.01,[1,-2,0,0,0,0,0],"Gal","cgs",true,null,null,1,false,false,0,"galileos; Gals","UCUM","Accel","Clinical","unit of acceleration used in gravimetry; equivalent to cm/s2 ","cm/s2","CM/S2","1",1,false],[false,"dyne","dyn","DYN","force",0.01,[1,-2,1,0,0,0,0],"dyn","cgs",true,null,null,1,false,false,0,"dynes","UCUM","Force","Clinical","unit of force equal to 10^-5 Newtons","g.cm/s2","G.CM/S2","1",1,false],[false,"erg","erg","ERG","energy",0.0001,[2,-2,1,0,0,0,0],"erg","cgs",true,null,null,1,false,false,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,false],[false,"Poise","P","P","dynamic viscosity",100,[-1,-1,1,0,0,0,0],"P","cgs",true,null,null,1,false,false,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,false],[false,"Biot","Bi","BI","electric current",10,[0,-1,0,0,0,1,0],"Bi","cgs",true,null,null,1,false,false,0,"Bi; abamperes; abA","UCUM","ElpotRat","Clinical","equal to 10 amperes","A","A","10",10,false],[false,"Stokes","St","ST","kinematic viscosity",0.0001,[2,-1,0,0,0,0,0],"St","cgs",true,null,null,1,false,false,0,"kinematic viscosity","UCUM","Visc","Clinical","unit of kimematic viscosity with units cm2/s","cm2/s","CM2/S","1",1,false],[false,"Maxwell","Mx","MX","flux of magnetic induction",0.00001,[2,-1,1,0,0,-1,0],"Mx","cgs",true,null,null,1,false,false,0,"magnetix flux; Maxwells","UCUM","","Clinical","unit of magnetic flux","Wb","WB","1e-8",1e-8,false],[false,"Gauss","G","GS","magnetic flux density",0.1,[0,-1,1,0,0,-1,0],"Gs","cgs",true,null,null,1,false,false,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",0.0001,false],[false,"Oersted","Oe","OE","magnetic field intensity",79.57747154594767,[-1,-1,0,0,0,1,0],"Oe","cgs",true,null,null,1,false,false,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,false],[false,"Gilbert","Gb","GB","magnetic tension",0.7957747154594768,[0,-1,0,0,0,1,0],"Gb","cgs",true,null,null,1,false,false,0,"Gi; magnetomotive force; Gilberts","UCUM","","Clinical","unit of magnetomotive force (magnetic potential)","Oe.cm","OE.CM","1",1,false],[false,"stilb","sb","SB","lum. intensity density",10000,[-2,0,0,0,0,0,1],"sb","cgs",true,null,null,1,false,false,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,false],[false,"Lambert","Lmb","LMB","brightness",3183.098861837907,[-2,0,0,0,0,0,1],"L","cgs",true,null,null,1,false,false,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,false],[false,"phot","ph","PHT","illuminance",0.0001,[-2,0,0,2,0,0,1],"ph","cgs",true,null,null,1,false,false,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",0.0001,false],[false,"Curie","Ci","CI","radioactivity",37000000000,[0,-1,0,0,0,0,0],"Ci","cgs",true,null,null,1,false,false,0,"curies","UCUM","","Obsolete","unit for measuring atomic disintegration rate; replaced by the Bequerel (Bq) unit","Bq","BQ","37e9",37000000000,false],[false,"Roentgen","R","ROE","ion dose",2.58e-7,[0,0,-1,0,0,1,0],"R","cgs",true,null,null,1,false,false,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",0.000258,false],[false,"radiation absorbed dose","RAD","[RAD]","energy dose",0.01,[2,-2,0,0,0,0,0],"RAD","cgs",true,null,null,1,false,false,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,false],[false,"radiation equivalent man","REM","[REM]","dose equivalent",0.01,[2,-2,0,0,0,0,0],"REM","cgs",true,null,null,1,false,false,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,false],[false,"inch","[in_i]","[IN_I]","length",0.025400000000000002,[1,0,0,0,0,0,0],"in","intcust",false,null,null,1,false,false,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,false],[false,"foot","[ft_i]","[FT_I]","length",0.3048,[1,0,0,0,0,0,0],"ft","intcust",false,null,null,1,false,false,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,false],[false,"yard","[yd_i]","[YD_I]","length",0.9144000000000001,[1,0,0,0,0,0,0],"yd","intcust",false,null,null,1,false,false,0,"international yards; yds; distance","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","3",3,false],[false,"mile","[mi_i]","[MI_I]","length",1609.344,[1,0,0,0,0,0,0],"mi","intcust",false,null,null,1,false,false,0,"international miles; mi I; statute mile","UCUM","Len","Clinical","standard unit used in the US and internationally","[ft_i]","[FT_I]","5280",5280,false],[false,"fathom","[fth_i]","[FTH_I]","depth of water",1.8288000000000002,[1,0,0,0,0,0,0],"fth","intcust",false,null,null,1,false,false,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,false],[false,"nautical mile","[nmi_i]","[NMI_I]","length",1852,[1,0,0,0,0,0,0],"n.mi","intcust",false,null,null,1,false,false,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,false],[false,"knot","[kn_i]","[KN_I]","velocity",0.5144444444444445,[1,-1,0,0,0,0,0],"knot","intcust",false,null,null,1,false,false,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,false],[false,"square inch","[sin_i]","[SIN_I]","area",0.0006451600000000001,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,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,false],[false,"square foot","[sft_i]","[SFT_I]","area",0.09290304,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,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,false],[false,"square yard","[syd_i]","[SYD_I]","area",0.8361273600000002,[2,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,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,false],[false,"cubic inch","[cin_i]","[CIN_I]","volume",0.000016387064000000003,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,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,false],[false,"cubic foot","[cft_i]","[CFT_I]","volume",0.028316846592000004,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,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,false],[false,"cubic yard","[cyd_i]","[CYD_I]","volume",0.7645548579840002,[3,0,0,0,0,0,0],"cu.yd","intcust",false,null,null,1,false,false,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,false],[false,"board foot","[bf_i]","[BF_I]","volume",0.002359737216,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,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,false],[false,"cord","[cr_i]","[CR_I]","volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"intcust",false,null,null,1,false,false,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,false],[false,"mil","[mil_i]","[MIL_I]","length",0.000025400000000000004,[1,0,0,0,0,0,0],"mil","intcust",false,null,null,1,false,false,0,"thou, thousandth; mils; international","UCUM","Len","Clinical","equal to 0.001 international inch","[in_i]","[IN_I]","1e-3",0.001,false],[false,"circular mil","[cml_i]","[CML_I]","area",5.067074790974979e-10,[2,0,0,0,0,0,0],"circ.mil","intcust",false,null,null,1,false,false,0,"circular mils; cml I; international","UCUM","Area","Clinical","","[pi]/4.[mil_i]2","[PI]/4.[MIL_I]2","1",1,false],[false,"hand","[hd_i]","[HD_I]","height of horses",0.10160000000000001,[1,0,0,0,0,0,0],"hd","intcust",false,null,null,1,false,false,0,"hands; international","UCUM","Len","Nonclinical","used to measure horse height","[in_i]","[IN_I]","4",4,false],[false,"foot - US","[ft_us]","[FT_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],"ft<sub>us</sub>","us-lengths",false,null,null,1,false,false,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,false],[false,"yard - US","[yd_us]","[YD_US]","length",0.9144018288036575,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,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,false],[false,"inch - US","[in_us]","[IN_US]","length",0.0254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,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,false],[false,"rod - US","[rd_us]","[RD_US]","length",5.029210058420117,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US rod; US rods; rd US; US rd","UCUM","Len","Obsolete","","[ft_us]","[FT_US]","16.5",16.5,false],[false,"Gunter\'s chain - US","[ch_us]","[CH_US]","length",20.116840233680467,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,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,false],[false,"link for Gunter\'s chain - US","[lk_us]","[LK_US]","length",0.20116840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Links for Gunter\'s Chain USA","UCUM","Len","Obsolete","","[ch_us]/100","[CH_US]/100","1",1,false],[false,"Ramden\'s chain - US","[rch_us]","[RCH_US]","length",30.480060960121918,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"Ramsden\'s chain; engineer\'s chains","UCUM","Len","Obsolete","distance measuring device used for\xa0land survey","[ft_us]","[FT_US]","100",100,false],[false,"link for Ramden\'s chain - US","[rlk_us]","[RLK_US]","length",0.3048006096012192,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"links for Ramsden\'s chain","UCUM","Len","Obsolete","","[rch_us]/100","[RCH_US]/100","1",1,false],[false,"fathom - US","[fth_us]","[FTH_US]","length",1.828803657607315,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,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,false],[false,"furlong - US","[fur_us]","[FUR_US]","length",201.16840233680466,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"US furlongs; fur us","UCUM","Len","Nonclinical","distance unit in horse racing","[rd_us]","[RD_US]","40",40,false],[false,"mile - US","[mi_us]","[MI_US]","length",1609.3472186944373,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,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,false],[false,"acre - US","[acr_us]","[ACR_US]","area",4046.872609874252,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,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,false],[false,"square rod - US","[srd_us]","[SRD_US]","area",25.292953811714074,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,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,false],[false,"square mile - US","[smi_us]","[SMI_US]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,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,false],[false,"section","[sct]","[SCT]","area",2589998.470319521,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,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,false],[false,"township","[twp]","[TWP]","area",93239944.93150276,[2,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,0,"twp; townships","UCUM","Area","Nonclinical","land measurement equal to 6 mile square","[sct]","[SCT]","36",36,false],[false,"mil - US","[mil_us]","[MIL_US]","length",0.0000254000508001016,[1,0,0,0,0,0,0],null,"us-lengths",false,null,null,1,false,false,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",0.001,false],[false,"inch - British","[in_br]","[IN_BR]","length",0.025399980000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial inches; imp in; br in; british inches","UCUM","Len","Obsolete","","cm","CM","2.539998",2.539998,false],[false,"foot - British","[ft_br]","[FT_BR]","length",0.30479976000000003,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British Foot; Imperial Foot; feet; imp fts; br fts","UCUM","Len","Obsolete","","[in_br]","[IN_BR]","12",12,false],[false,"rod - British","[rd_br]","[RD_BR]","length",5.02919604,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British rods; br rd","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","16.5",16.5,false],[false,"Gunter\'s chain - British","[ch_br]","[CH_BR]","length",20.11678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,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,false],[false,"link for Gunter\'s chain - British","[lk_br]","[LK_BR]","length",0.2011678416,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"Links for Gunter\'s Chain British","UCUM","Len","Obsolete","","[ch_br]/100","[CH_BR]/100","1",1,false],[false,"fathom - British","[fth_br]","[FTH_BR]","length",1.82879856,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British fathoms; imperial fathoms; br fth; imp fth","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6",6,false],[false,"pace - British","[pc_br]","[PC_BR]","length",0.7619994000000001,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,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,false],[false,"yard - British","[yd_br]","[YD_BR]","length",0.91439928,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British yards; Br yds; distance","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","3",3,false],[false,"mile - British","[mi_br]","[MI_BR]","length",1609.3427328000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"imperial miles; British miles; English statute miles; imp mi, br mi","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","5280",5280,false],[false,"nautical mile - British","[nmi_br]","[NMI_BR]","length",1853.1825408000002,[1,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British nautical miles; Imperial nautical miles; Admiralty miles; n.m. br; imp nm","UCUM","Len","Obsolete","","[ft_br]","[FT_BR]","6080",6080,false],[false,"knot - British","[kn_br]","[KN_BR]","velocity",0.5147729280000001,[1,-1,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,0,"British knots; kn br; kt","UCUM","Vel","Obsolete","based on obsolete British nautical mile ","[nmi_br]/h","[NMI_BR]/H","1",1,false],[false,"acre","[acr_br]","[ACR_BR]","area",4046.850049400269,[2,0,0,0,0,0,0],null,"brit-length",false,null,null,1,false,false,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,false],[false,"gallon - US","[gal_us]","[GAL_US]","fluid volume",0.0037854117840000006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"barrel - US","[bbl_us]","[BBL_US]","fluid volume",0.158987294928,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"quart - US","[qt_us]","[QT_US]","fluid volume",0.0009463529460000001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"US quarts; us qts","UCUM","Vol","Clinical","Used only in the US","[gal_us]/4","[GAL_US]/4","1",1,false],[false,"pint - US","[pt_us]","[PT_US]","fluid volume",0.00047317647300000007,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"gill - US","[gil_us]","[GIL_US]","fluid volume",0.00011829411825000002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"fluid ounce - US","[foz_us]","[FOZ_US]","fluid volume",0.000029573529562500005,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,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,false],[false,"fluid dram - US","[fdr_us]","[FDR_US]","fluid volume",0.0000036966911953125006,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"minim - US","[min_us]","[MIN_US]","fluid volume",6.1611519921875e-8,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"min US; US min; \u264f US","UCUM","Vol","Obsolete","","[fdr_us]/60","[FDR_US]/60","1",1,false],[false,"cord - US","[crd_us]","[CRD_US]","fluid volume",3.6245563637760005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"bushel - US","[bu_us]","[BU_US]","dry volume",0.03523907016688001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"gallon - historical","[gal_wi]","[GAL_WI]","dry volume",0.004404883770860001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"peck - US","[pk_us]","[PK_US]","dry volume",0.008809767541720002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"dry quart - US","[dqt_us]","[DQT_US]","dry volume",0.0011012209427150002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"dry pint - US","[dpt_us]","[DPT_US]","dry volume",0.0005506104713575001,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"tablespoon - US","[tbs_us]","[TBS_US]","volume",0.000014786764781250002,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"teaspoon - US","[tsp_us]","[TSP_US]","volume",0.0000049289215937500005,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"cup - US customary","[cup_us]","[CUP_US]","volume",0.00023658823650000004,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"fluid ounce - metric","[foz_m]","[FOZ_M]","fluid volume",0.000029999999999999997,[3,0,0,0,0,0,0],"oz fl","us-volumes",false,null,null,1,false,false,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,false],[false,"cup - US legal","[cup_m]","[CUP_M]","volume",0.00023999999999999998,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,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,false],[false,"teaspoon - metric","[tsp_m]","[TSP_M]","volume",0.0000049999999999999996,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"tsp; t; metric teaspoons","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","5",5,false],[false,"tablespoon - metric","[tbs_m]","[TBS_M]","volume",0.000014999999999999999,[3,0,0,0,0,0,0],null,"us-volumes",false,null,null,1,false,false,0,"metric tablespoons; Tbs; tbsp; T; tbs m","UCUM","Vol","Clinical","standard unit used in the US and internationally","mL","mL","15",15,false],[false,"gallon- British","[gal_br]","[GAL_BR]","volume",0.004546090000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,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,false],[false,"peck - British","[pk_br]","[PK_BR]","volume",0.009092180000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,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,false],[false,"bushel - British","[bu_br]","[BU_BR]","volume",0.03636872000000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,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,false],[false,"quart - British","[qt_br]","[QT_BR]","volume",0.0011365225000000002,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,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,false],[false,"pint - British","[pt_br]","[PT_BR]","volume",0.0005682612500000001,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,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,false],[false,"gill - British","[gil_br]","[GIL_BR]","volume",0.00014206531250000003,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,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,false],[false,"fluid ounce - British","[foz_br]","[FOZ_BR]","volume",0.000028413062500000005,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,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,false],[false,"fluid dram - British","[fdr_br]","[FDR_BR]","volume",0.0000035516328125000006,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,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,false],[false,"minim - British","[min_br]","[MIN_BR]","volume",5.919388020833334e-8,[3,0,0,0,0,0,0],null,"brit-volumes",false,null,null,1,false,false,0,"min br; br min; \u264f br","UCUM","Vol","Obsolete","","[fdr_br]/60","[FDR_BR]/60","1",1,false],[false,"grain","[gr]","[GR]","mass",0.06479891,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"gr; grains","UCUM","Mass","Nonclinical","an apothecary measure of mass rarely used today","mg","MG","64.79891",64.79891,false],[false,"pound","[lb_av]","[LB_AV]","mass",453.59237,[0,0,1,0,0,0,0],"lb","avoirdupois",false,null,null,1,false,false,0,"avoirdupois pounds, international pounds; av lbs; pounds","UCUM","Mass","Clinical","standard unit used in the US and internationally","[gr]","[GR]","7000",7000,false],[false,"pound force - US","[lbf_av]","[LBF_AV]","force",4448.2216152605,[1,-2,1,0,0,0,0],"lbf","const",false,null,null,1,false,false,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,false],[false,"ounce","[oz_av]","[OZ_AV]","mass",28.349523125,[0,0,1,0,0,0,0],"oz","avoirdupois",false,null,null,1,false,false,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,false],[false,"Dram mass unit","[dr_av]","[DR_AV]","mass",1.7718451953125,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,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,false],[false,"short hundredweight","[scwt_av]","[SCWT_AV]","mass",45359.237,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"hundredweights; s cwt; scwt; avoirdupois","UCUM","Mass","Nonclinical","Used only in the US to equal 100 pounds","[lb_av]","[LB_AV]","100",100,false],[false,"long hundredweight","[lcwt_av]","[LCWT_AV]","mass",50802.345440000005,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"imperial hundredweights; imp cwt; lcwt; avoirdupois","UCUM","Mass","Obsolete","","[lb_av]","[LB_AV]","112",112,false],[false,"short ton - US","[ston_av]","[STON_AV]","mass",907184.74,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"ton; US tons; avoirdupois tons","UCUM","Mass","Clinical","Used only in the US","[scwt_av]","[SCWT_AV]","20",20,false],[false,"long ton - British","[lton_av]","[LTON_AV]","mass",1016046.9088000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,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,false],[false,"stone - British","[stone_av]","[STONE_AV]","mass",6350.293180000001,[0,0,1,0,0,0,0],null,"avoirdupois",false,null,null,1,false,false,0,"British stones; avoirdupois","UCUM","Mass","Nonclinical","Used primarily in the UK and Ireland to measure body weight","[lb_av]","[LB_AV]","14",14,false],[false,"pennyweight - troy","[pwt_tr]","[PWT_TR]","mass",1.5551738400000001,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"dwt; denarius weights","UCUM","Mass","Obsolete","historical unit used to measure mass and cost of precious metals","[gr]","[GR]","24",24,false],[false,"ounce - troy","[oz_tr]","[OZ_TR]","mass",31.103476800000003,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy ounces; tr ozs","UCUM","Mass","Nonclinical","unit of mass for precious metals and gemstones only","[pwt_tr]","[PWT_TR]","20",20,false],[false,"pound - troy","[lb_tr]","[LB_TR]","mass",373.2417216,[0,0,1,0,0,0,0],null,"troy",false,null,null,1,false,false,0,"troy pounds; tr lbs","UCUM","Mass","Nonclinical","only used for weighing precious metals","[oz_tr]","[OZ_TR]","12",12,false],[false,"scruple","[sc_ap]","[SC_AP]","mass",1.2959782,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"scruples; sc ap","UCUM","Mass","Obsolete","","[gr]","[GR]","20",20,false],[false,"dram - apothecary","[dr_ap]","[DR_AP]","mass",3.8879346,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,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,false],[false,"ounce - apothecary","[oz_ap]","[OZ_AP]","mass",31.1034768,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary ounces; oz ap; ap ozs; ozs ap","UCUM","Mass","Obsolete","","[dr_ap]","[DR_AP]","8",8,false],[false,"pound - apothecary","[lb_ap]","[LB_AP]","mass",373.2417216,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,0,"apothecary pounds; apothecaries pounds; ap lb; lb ap; ap lbs; lbs ap","UCUM","Mass","Obsolete","","[oz_ap]","[OZ_AP]","12",12,false],[false,"ounce - metric","[oz_m]","[OZ_M]","mass",28,[0,0,1,0,0,0,0],null,"apoth",false,null,null,1,false,false,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,false],[false,"line","[lne]","[LNE]","length",0.002116666666666667,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"British lines; br L; L; l","UCUM","Len","Obsolete","","[in_i]/12","[IN_I]/12","1",1,false],[false,"point (typography)","[pnt]","[PNT]","length",0.0003527777777777778,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"DTP points; desktop publishing point; pt; pnt","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[lne]/6","[LNE]/6","1",1,false],[false,"pica (typography)","[pca]","[PCA]","length",0.004233333333333334,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt]","[PNT]","12",12,false],[false,"Printer\'s point (typography)","[pnt_pr]","[PNT_PR]","length",0.00035145980000000004,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pnt pr","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[in_i]","[IN_I]","0.013837",0.013837,false],[false,"Printer\'s pica (typography)","[pca_pr]","[PCA_PR]","length",0.004217517600000001,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pca pr; Printer\'s picas","UCUM","Len","Nonclinical","typography unit for typesetter\'s length","[pnt_pr]","[PNT_PR]","12",12,false],[false,"pied","[pied]","[PIED]","length",0.3248,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"pieds du roi; Paris foot; royal; French; feet","UCUM","Len","Obsolete","","cm","CM","32.48",32.48,false],[false,"pouce","[pouce]","[POUCE]","length",0.027066666666666666,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"historical French inches; French royal inches","UCUM","Len","Obsolete","","[pied]/12","[PIED]/12","1",1,false],[false,"ligne","[ligne]","[LIGNE]","length",0.0022555555555555554,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Paris lines; lignes","UCUM","Len","Obsolete","","[pouce]/12","[POUCE]/12","1",1,false],[false,"didot","[didot]","[DIDOT]","length",0.0003759259259259259,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot point; dd; Didots Point; didots; points","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[ligne]/6","[LIGNE]/6","1",1,false],[false,"cicero","[cicero]","[CICERO]","length",0.004511111111111111,[1,0,0,0,0,0,0],null,"typeset",false,null,null,1,false,false,0,"Didot\'s pica; ciceros; picas","UCUM","Len","Obsolete","typography unit for typesetter\'s length","[didot]","[DIDOT]","12",12,false],[false,"degrees Fahrenheit","[degF]","[DEGF]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0F","heat",false,null,"degF",1,true,false,0,"\xb0F; deg F","UCUM","Temp","Clinical","","K",null,null,0.5555555555555556,false],[false,"degrees Rankine","[degR]","[degR]","temperature",0.5555555555555556,[0,0,0,0,1,0,0],"\xb0R","heat",false,null,null,1,false,false,0,"\xb0R; \xb0Ra; Rankine","UCUM","Temp","Obsolete","Replaced by Kelvin","K/9","K/9","5",5,false],[false,"degrees R\xe9aumur","[degRe]","[degRe]","temperature",1.25,[0,0,0,0,1,0,0],"\xb0R\xe9","heat",false,null,"degRe",1,true,false,0,"\xb0R\xe9, \xb0Re, \xb0r; R\xe9aumur; degree Reaumur; Reaumur","UCUM","Temp","Obsolete","replaced by Celsius","K",null,null,1.25,false],[false,"calorie at 15\xb0C","cal_[15]","CAL_[15]","energy",4185.8,[2,-2,1,0,0,0,0],"cal<sub>15\xb0C</sub>","heat",true,null,null,1,false,false,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,false],[false,"calorie at 20\xb0C","cal_[20]","CAL_[20]","energy",4181.9,[2,-2,1,0,0,0,0],"cal<sub>20\xb0C</sub>","heat",true,null,null,1,false,false,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,false],[false,"mean calorie","cal_m","CAL_M","energy",4190.0199999999995,[2,-2,1,0,0,0,0],"cal<sub>m</sub>","heat",true,null,null,1,false,false,0,"mean cals; mean calories","UCUM","Enrg","Clinical","equal to 4.19002 joules. ","J","J","4.19002",4.19002,false],[false,"international table calorie","cal_IT","CAL_IT","energy",4186.8,[2,-2,1,0,0,0,0],"cal<sub>IT</sub>","heat",true,null,null,1,false,false,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,false],[false,"thermochemical calorie","cal_th","CAL_TH","energy",4184,[2,-2,1,0,0,0,0],"cal<sub>th</sub>","heat",true,null,null,1,false,false,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,false],[false,"calorie","cal","CAL","energy",4184,[2,-2,1,0,0,0,0],"cal","heat",true,null,null,1,false,false,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,false],[false,"nutrition label Calories","[Cal]","[CAL]","energy",4184000,[2,-2,1,0,0,0,0],"Cal","heat",false,null,null,1,false,false,0,"food calories; Cal; kcal","UCUM","Eng","Clinical","","kcal_th","KCAL_TH","1",1,false],[false,"British thermal unit at 39\xb0F","[Btu_39]","[BTU_39]","energy",1059670,[2,-2,1,0,0,0,0],"Btu<sub>39\xb0F</sub>","heat",false,null,null,1,false,false,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,false],[false,"British thermal unit at 59\xb0F","[Btu_59]","[BTU_59]","energy",1054800,[2,-2,1,0,0,0,0],"Btu<sub>59\xb0F</sub>","heat",false,null,null,1,false,false,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,false],[false,"British thermal unit at 60\xb0F","[Btu_60]","[BTU_60]","energy",1054680,[2,-2,1,0,0,0,0],"Btu<sub>60\xb0F</sub>","heat",false,null,null,1,false,false,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,false],[false,"mean British thermal unit","[Btu_m]","[BTU_M]","energy",1055870,[2,-2,1,0,0,0,0],"Btu<sub>m</sub>","heat",false,null,null,1,false,false,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,false],[false,"international table British thermal unit","[Btu_IT]","[BTU_IT]","energy",1055055.85262,[2,-2,1,0,0,0,0],"Btu<sub>IT</sub>","heat",false,null,null,1,false,false,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,false],[false,"thermochemical British thermal unit","[Btu_th]","[BTU_TH]","energy",1054350,[2,-2,1,0,0,0,0],"Btu<sub>th</sub>","heat",false,null,null,1,false,false,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,false],[false,"British thermal unit","[Btu]","[BTU]","energy",1054350,[2,-2,1,0,0,0,0],"btu","heat",false,null,null,1,false,false,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,false],[false,"horsepower - mechanical","[HP]","[HP]","power",745699.8715822703,[2,-3,1,0,0,0,0],null,"heat",false,null,null,1,false,false,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,false],[false,"tex","tex","TEX","linear mass density (of textile thread)",0.001,[-1,0,1,0,0,0,0],"tex","heat",true,null,null,1,false,false,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,false],[false,"Denier (linear mass density)","[den]","[DEN]","linear mass density (of textile thread)",0.0001111111111111111,[-1,0,1,0,0,0,0],"den","heat",false,null,null,1,false,false,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,false],[false,"meter of water column","m[H2O]","M[H2O]","pressure",9806650,[-1,-2,1,0,0,0,0],"m\xa0HO<sub><r>2</r></sub>","clinical",true,null,null,1,false,false,0,"mH2O; m H2O; meters of water column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"meter of mercury column","m[Hg]","M[HG]","pressure",133322000,[-1,-2,1,0,0,0,0],"m\xa0Hg","clinical",true,null,null,1,false,false,0,"mHg; m Hg; meters of mercury column; metres; pressure","UCUM","Pres","Clinical","","kPa","KPAL","133.3220",133.322,false],[false,"inch of water column","[in_i\'H2O]","[IN_I\'H2O]","pressure",249088.91000000003,[-1,-2,1,0,0,0,0],"in\xa0HO<sub><r>2</r></sub>","clinical",false,null,null,1,false,false,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,false],[false,"inch of mercury column","[in_i\'Hg]","[IN_I\'HG]","pressure",3386378.8000000003,[-1,-2,1,0,0,0,0],"in\xa0Hg","clinical",false,null,null,1,false,false,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,false],[false,"peripheral vascular resistance unit","[PRU]","[PRU]","fluid resistance",133322000000,[-4,-1,1,0,0,0,0],"P.R.U.","clinical",false,null,null,1,false,false,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,false],[false,"Wood unit","[wood\'U]","[WOOD\'U]","fluid resistance",7999320000,[-4,-1,1,0,0,0,0],"Wood U.","clinical",false,null,null,1,false,false,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,false],[false,"diopter (lens)","[diop]","[DIOP]","refraction of a lens",1,[1,0,0,0,0,0,0],"dpt","clinical",false,null,"inv",1,false,false,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,false],[false,"prism diopter (magnifying power)","[p\'diop]","[P\'DIOP]","refraction of a prism",1,[0,0,0,1,0,0,0],"PD","clinical",false,null,"tanTimes100",1,true,false,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,false],[false,"percent of slope","%[slope]","%[SLOPE]","slope",0.017453292519943295,[0,0,0,1,0,0,0],"%","clinical",false,null,"100tan",1,true,false,0,"% slope; %slope; percents slopes","UCUM","VelFr; ElpotRatFr; VelRtoFr; AccelFr","Clinical","","deg",null,null,1,false],[false,"mesh","[mesh_i]","[MESH_I]","lineic number",0.025400000000000002,[1,0,0,0,0,0,0],null,"clinical",false,null,"inv",1,false,false,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,false],[false,"French (catheter gauge) ","[Ch]","[CH]","gauge of catheters",0.0003333333333333333,[1,0,0,0,0,0,0],"Ch","clinical",false,null,null,1,false,false,0,"Charri\xe8res, French scales; French gauges; Fr, Fg, Ga, FR, Ch","UCUM","Len; Circ; Diam","Clinical","","mm/3","MM/3","1",1,false],[false,"drop - metric (1/20 mL)","[drp]","[DRP]","volume",5e-8,[3,0,0,0,0,0,0],"drp","clinical",false,null,null,1,false,false,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,false],[false,"Hounsfield unit","[hnsf\'U]","[HNSF\'U]","x-ray attenuation",1,[0,0,0,0,0,0,0],"HF","clinical",false,null,null,1,false,false,0,"HU; units","UCUM","","Clinical","used to measure X-ray attenuation, especially in CT scans.","1","1","1",1,false],[false,"Metabolic Equivalent of Task ","[MET]","[MET]","metabolic cost of physical activity",5.833333333333334e-11,[3,-1,-1,0,0,0,0],"MET","clinical",false,null,null,1,false,false,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,false],[false,"homeopathic potency of decimal series (retired)","[hp\'_X]","[HP\'_X]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,"hpX",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of centesimal series (retired)","[hp\'_C]","[HP\'_C]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,"hpC",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of millesimal series (retired)","[hp\'_M]","[HP\'_M]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,"hpM",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of quintamillesimal series (retired)","[hp\'_Q]","[HP\'_Q]","homeopathic potency (retired)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,"hpQ",1,true,false,0,null,"UCUM",null,null,null,"1",null,null,1,false],[false,"homeopathic potency of decimal hahnemannian series","[hp_X]","[HP_X]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal hahnemannian series","[hp_C]","[HP_C]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal hahnemannian series","[hp_M]","[HP_M]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal hahnemannian series","[hp_Q]","[HP_Q]","homeopathic potency (Hahnemann)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of decimal korsakovian series","[kp_X]","[KP_X]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"X","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of centesimal korsakovian series","[kp_C]","[KP_C]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"C","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of millesimal korsakovian series","[kp_M]","[KP_M]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"M","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"homeopathic potency of quintamillesimal korsakovian series","[kp_Q]","[KP_Q]","homeopathic potency (Korsakov)",1,[0,0,0,0,0,0,0],"Q","clinical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"equivalent","eq","EQ","amount of substance",6.0221367e+23,[0,0,0,0,0,0,0],"eq","chemical",true,null,null,1,false,false,1,"equivalents","UCUM","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"osmole","osm","OSM","amount of substance (dissolved particles)",6.0221367e+23,[0,0,0,0,0,0,0],"osm","chemical",true,null,null,1,false,false,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,false],[false,"pH","[pH]","[PH]","acidity",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"pH","chemical",false,null,"pH",1,true,false,0,"pH scale","UCUM","LogCnc","Clinical","Log concentration of H+","mol/l",null,null,1,false],[false,"gram percent","g%","G%","mass concentration",10000,[-3,0,1,0,0,0,0],"g%","chemical",true,null,null,1,false,false,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,false],[false,"Svedberg unit","[S]","[S]","sedimentation coefficient",1e-13,[0,1,0,0,0,0,0],"S","chemical",false,null,null,1,false,false,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,false],[false,"high power field (microscope)","[HPF]","[HPF]","view area in microscope",1,[0,0,0,0,0,0,0],"HPF","chemical",false,null,null,1,false,false,0,"HPF","UCUM","Area","Clinical","area visible under the maximum magnification power of the objective in microscopy (usually 400x)\\n","1","1","1",1,false],[false,"low power field (microscope)","[LPF]","[LPF]","view area in microscope",1,[0,0,0,0,0,0,0],"LPF","chemical",false,null,null,1,false,false,0,"LPF; fields","UCUM","Area","Clinical","area visible under the low magnification of the objective in microscopy (usually 100 x)\\n","1","1","100",100,false],[false,"katal","kat","KAT","catalytic activity",6.0221367e+23,[0,-1,0,0,0,0,0],"kat","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit","U","U","catalytic activity",10036894500000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,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,false],[false,"international unit - arbitrary","[iU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"IU","chemical",true,null,null,1,false,true,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,false],[false,"international unit - arbitrary","[IU]","[IU]","arbitrary",1,[0,0,0,0,0,0,0],"i.U.","chemical",true,null,null,1,false,true,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,false],[false,"arbitary unit","[arb\'U]","[ARB\'U]","arbitrary",1,[0,0,0,0,0,0,0],"arb. U","chemical",false,null,null,1,false,true,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,false],[false,"United States Pharmacopeia unit","[USP\'U]","[USP\'U]","arbitrary",1,[0,0,0,0,0,0,0],"U.S.P.","chemical",false,null,null,1,false,true,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,false],[false,"GPL unit","[GPL\'U]","[GPL\'U]","biologic activity of anticardiolipin IgG",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"GPL Units; GPL U; IgG anticardiolipin units; IgG Phospholipid","UCUM","ACnc; AMass","Clinical","Units for an antiphospholipid test","1","1","1",1,false],[false,"MPL unit","[MPL\'U]","[MPL\'U]","biologic activity of anticardiolipin IgM",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"MPL units; MPL U; MPL\'U; IgM anticardiolipin units; IgM Phospholipid Units ","UCUM","ACnc","Clinical","units for antiphospholipid test","1","1","1",1,false],[false,"APL unit","[APL\'U]","[APL\'U]","biologic activity of anticardiolipin IgA",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,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,false],[false,"Bethesda unit","[beth\'U]","[BETH\'U]","biologic activity of factor VIII inhibitor",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"BU","UCUM","ACnc","Clinical","measures of blood coagulation inhibitior for many blood factors","1","1","1",1,false],[false,"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",false,null,null,1,false,true,0,"units","UCUM","ACnc","Clinical","[anti\'Xa\'U] unit is equivalent to and can be converted to IU/mL. ","1","1","1",1,false],[false,"Todd unit","[todd\'U]","[TODD\'U]","biologic activity antistreptolysin O",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"units","UCUM","InvThres; RtoThres","Clinical","the unit for the results of the testing for antistreptolysin O (ASO)","1","1","1",1,false],[false,"Dye unit","[dye\'U]","[DYE\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,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,false],[false,"Somogyi unit","[smgy\'U]","[SMGY\'U]","biologic activity of amylase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,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,false],[false,"Bodansky unit","[bdsk\'U]","[BDSK\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"","UCUM","ACnc","Obsolete","Enzyme unit specific to alkaline phosphatase - better to use standard enzyme unit of U","1","1","1",1,false],[false,"King-Armstrong unit","[ka\'U]","[KA\'U]","biologic activity of phosphatase",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"King-Armstrong Units; King units","UCUM","AMass","Obsolete","enzyme units for acid phosphatase - better to use enzyme unit [U]","1","1","1",1,false],[false,"Kunkel unit","[knk\'U]","[KNK\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,null,"UCUM",null,null,null,"1","1","1",1,false],[false,"Mac Lagan unit","[mclg\'U]","[MCLG\'U]","arbitrary biologic activity",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,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,false],[false,"tuberculin unit","[tb\'U]","[TB\'U]","biologic activity of tuberculin",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"TU; units","UCUM","Arb","Clinical","amount of tuberculin antigen -usually in reference to a TB skin test ","1","1","1",1,false],[false,"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],"CCID<sub>50</sub>","chemical",false,null,null,1,false,true,0,"CCID50; 50% cell culture infective doses","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"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],"TCID<sub>50</sub>","chemical",false,null,null,1,false,true,0,"TCID50; 50% tissue culture infective dose","UCUM","NumThres","Clinical","","1","1","1",1,false],[false,"50% embryo infectious dose","[EID_50]","[EID_50]","biologic activity (infectivity) of an infectious agent preparation",1,[0,0,0,0,0,0,0],"EID<sub>50</sub>","chemical",false,null,null,1,false,true,0,"EID50; 50% embryo infective doses; EID50 Egg Infective Dosage","UCUM","thresNum","Clinical","","1","1","1",1,false],[false,"plaque forming units","[PFU]","[PFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"PFU","chemical",false,null,null,1,false,true,0,"PFU","UCUM","ACnc","Clinical","tests usually report unit as number of PFU per unit volume","1","1","1",1,false],[false,"focus forming units (cells)","[FFU]","[FFU]","amount of an infectious agent",1,[0,0,0,0,0,0,0],"FFU","chemical",false,null,null,1,false,true,0,"FFU","UCUM","EntNum","Clinical","","1","1","1",1,false],[false,"colony forming units","[CFU]","[CFU]","amount of a proliferating organism",1,[0,0,0,0,0,0,0],"CFU","chemical",false,null,null,1,false,true,0,"CFU","UCUM","Num","Clinical","","1","1","1",1,false],[false,"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",false,null,null,1,false,true,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,false],[false,"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",false,null,null,1,false,true,0,"BAU; Bioequivalent Allergy Units; bioequivalent allergen units","UCUM","Arb","Clinical","","1","1","1",1,false],[false,"allergy unit","[AU]","[AU]","procedure defined amount of an allergen using some reference standard",1,[0,0,0,0,0,0,0],"AU","chemical",false,null,null,1,false,true,0,"allergy units; allergen units; AU","UCUM","Arb","Clinical","Most standard test allergy units are reported as [IU] or as %. ","1","1","1",1,false],[false,"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",false,null,null,1,false,true,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,false],[false,"protein nitrogen unit (allergen testing)","[PNU]","[PNU]","procedure defined amount of a protein substance",1,[0,0,0,0,0,0,0],"PNU","chemical",false,null,null,1,false,true,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,false],[false,"Limit of flocculation","[Lf]","[LF]","procedure defined amount of an antigen substance",1,[0,0,0,0,0,0,0],"Lf","chemical",false,null,null,1,false,true,0,"Lf doses","UCUM","Arb","Clinical","the antigen content forming 1:1 ratio against 1 unit of antitoxin","1","1","1",1,false],[false,"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",false,null,null,1,false,true,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,false],[false,"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",false,null,null,1,false,true,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,false],[false,"ELISA unit","[ELU]","[ELU]","arbitrary ELISA unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"Enzyme-Linked Immunosorbent Assay Units; ELU; EL. U","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"Ehrlich units (urobilinogen)","[EU]","[EU]","Ehrlich unit",1,[0,0,0,0,0,0,0],null,"chemical",false,null,null,1,false,true,0,"EU/dL; mg{urobilinogen}/dL","UCUM","ACnc","Clinical","","1","1","1",1,false],[false,"neper","Np","NEP","level",1,[0,0,0,0,0,0,0],"Np","levels",true,null,"ln",1,true,false,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,false],[false,"bel","B","B","level",1,[0,0,0,0,0,0,0],"B","levels",true,null,"lg",1,true,false,0,"bels","UCUM","LogRto","Clinical","Logarithm of the ratio of power- or field-type quantities; usually expressed in decibels ","1",null,null,1,false],[false,"bel sound pressure","B[SPL]","B[SPL]","pressure level",0.02,[-1,-2,1,0,0,0,0],"B(SPL)","levels",true,null,"lgTimes2",1,true,false,0,"bel SPL; B SPL; sound pressure bels","UCUM","LogRto","Clinical","used to measure sound level in acoustics","Pa",null,null,0.00002,false],[false,"bel volt","B[V]","B[V]","electric potential level",1000,[2,-2,1,0,0,-1,0],"B(V)","levels",true,null,"lgTimes2",1,true,false,0,"bel V; B V; volts bels","UCUM","LogRtoElp","Clinical","used to express power gain in electrical circuits","V",null,null,1,false],[false,"bel millivolt","B[mV]","B[MV]","electric potential level",1,[2,-2,1,0,0,-1,0],"B(mV)","levels",true,null,"lgTimes2",1,true,false,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,false],[false,"bel microvolt","B[uV]","B[UV]","electric potential level",0.001,[2,-2,1,0,0,-1,0],"B(\u03bcV)","levels",true,null,"lgTimes2",1,true,false,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,false],[false,"bel 10 nanovolt","B[10.nV]","B[10.NV]","electric potential level",0.000010000000000000003,[2,-2,1,0,0,-1,0],"B(10 nV)","levels",true,null,"lgTimes2",1,true,false,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,false],[false,"bel watt","B[W]","B[W]","power level",1000,[2,-3,1,0,0,0,0],"B(W)","levels",true,null,"lg",1,true,false,0,"bel W; b W; b Watt; Watts bels","UCUM","LogRto","Clinical","used to express power","W",null,null,1,false],[false,"bel kilowatt","B[kW]","B[KW]","power level",1000000,[2,-3,1,0,0,0,0],"B(kW)","levels",true,null,"lg",1,true,false,0,"bel kW; B kW; kilowatt bel; kW bel; kW B","UCUM","LogRto","Clinical","used to express power","kW",null,null,1,false],[false,"stere","st","STR","volume",1,[3,0,0,0,0,0,0],"st","misc",true,null,null,1,false,false,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,false],[false,"\xc5ngstr\xf6m","Ao","AO","length",1.0000000000000002e-10,[1,0,0,0,0,0,0],"\xc5","misc",false,null,null,1,false,false,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",0.1,false],[false,"barn","b","BRN","action area",9.999999999999999e-29,[2,0,0,0,0,0,0],"b","misc",false,null,null,1,false,false,0,"barns","UCUM","Area","Clinical","used in high-energy physics to express cross-sectional areas","fm2","FM2","100",100,false],[false,"technical atmosphere","att","ATT","pressure",98066499.99999999,[-1,-2,1,0,0,0,0],"at","misc",false,null,null,1,false,false,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,false],[false,"mho","mho","MHO","electric conductance",0.001,[-2,1,-1,0,0,2,0],"mho","misc",true,null,null,1,false,false,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,false],[false,"pound per square inch","[psi]","[PSI]","pressure",6894757.293168359,[-1,-2,1,0,0,0,0],"psi","misc",false,null,null,1,false,false,0,"psi; lb/in2; lb per in2","UCUM","Pres","Clinical","","[lbf_av]/[in_i]2","[LBF_AV]/[IN_I]2","1",1,false],[false,"circle - plane angle","circ","CIRC","plane angle",6.283185307179586,[0,0,0,1,0,0,0],"circ","misc",false,null,null,1,false,false,0,"angles; circles","UCUM","Angle","Clinical","","[pi].rad","[PI].RAD","2",2,false],[false,"spere - solid angle","sph","SPH","solid angle",12.566370614359172,[0,0,0,2,0,0,0],"sph","misc",false,null,null,1,false,false,0,"speres","UCUM","Angle","Clinical","equal to the solid angle of an entire sphere = 4\u03c0sr (sr = steradian) ","[pi].sr","[PI].SR","4",4,false],[false,"metric carat","[car_m]","[CAR_M]","mass",0.2,[0,0,1,0,0,0,0],"ct<sub>m</sub>","misc",false,null,null,1,false,false,0,"carats; ct; car m","UCUM","Mass","Nonclinical","unit of mass for gemstones","g","G","2e-1",0.2,false],[false,"carat of gold alloys","[car_Au]","[CAR_AU]","mass fraction",0.041666666666666664,[0,0,0,0,0,0,0],"ct<sub><r>Au</r></sub>","misc",false,null,null,1,false,false,0,"karats; k; kt; car au; carats","UCUM","MFr","Nonclinical","unit of purity for gold alloys","/24","/24","1",1,false],[false,"Smoot","[smoot]","[SMOOT]","length",1.7018000000000002,[1,0,0,0,0,0,0],null,"misc",false,null,null,1,false,false,0,"","UCUM","Len","Nonclinical","prank unit of length from MIT","[in_i]","[IN_I]","67",67,false],[false,"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",false,null,"sqrt",1,true,false,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\\n ","m2/s4/Hz",null,null,1,false],[false,"bit - logarithmic","bit_s","BIT_S","amount of information",1,[0,0,0,0,0,0,0],"bit<sub>s</sub>","infotech",false,null,"ld",1,true,false,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\\n\\nIn 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,false],[false,"bit","bit","BIT","amount of information",1,[0,0,0,0,0,0,0],"bit","infotech",true,null,null,1,false,false,0,"bits","UCUM","","Nonclinical","dimensionless information unit of 1 used in computing and digital communications","1","1","1",1,false],[false,"byte","By","BY","amount of information",8,[0,0,0,0,0,0,0],"B","infotech",true,null,null,1,false,false,0,"bytes","UCUM","","Nonclinical","equal to 8 bits","bit","bit","8",8,false],[false,"baud","Bd","BD","signal transmission rate",1,[0,1,0,0,0,0,0],"Bd","infotech",true,null,"inv",1,false,false,0,"Bd; bauds","UCUM","Freq","Nonclinical","unit to express rate in symbols per second or pulses per second. ","s","/s","1",1,false],[false,"per twelve hour","/(12.h)","/HR","",0.000023148148148148147,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"per 12 hours; 12hrs; 12 hrs; /12hrs","LOINC","Rat","Clinical","",null,null,null,null,false],[false,"per arbitrary unit","/[arb\'U]","/[ARB\'U]","",1,[0,0,0,0,0,0,0],"/arb/ U",null,false,null,null,1,false,true,0,"/arbU","LOINC","InvA ","Clinical","",null,null,null,null,false],[false,"per high power field","/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"/HPF; per HPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per international unit","/[IU]","/[IU]","",1,[0,0,0,0,0,0,0],"/i/U.",null,false,null,null,1,false,true,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,false],[false,"per low power field","/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"/LPF; per LPF","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per 10 billion ","/10*10","/10*10","",1e-10,[0,0,0,0,0,0,0],"/10<sup>10<.sup>",null,false,null,null,1,false,false,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,false],[false,"per trillion ","/10*12","/10*12","",1e-12,[0,0,0,0,0,0,0],"/10<sup>12<.sup>",null,false,null,null,1,false,false,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,false],[false,"per thousand","/10*3","/10*3","",0.001,[0,0,0,0,0,0,0],"/10<sup>3<.sup>",null,false,null,null,1,false,false,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,false],[false,"per million","/10*6","/10*6","",0.000001,[0,0,0,0,0,0,0],"/10<sup>6<.sup>",null,false,null,null,1,false,false,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,false],[false,"per billion","/10*9","/10*9","",1e-9,[0,0,0,0,0,0,0],"/10<sup>9<.sup>",null,false,null,null,1,false,false,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,false],[false,"per 100","/100","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,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,false],[false,"per 100 cells","/100{cells}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 cells; /100cells; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 neutrophils","/100{neutrophils}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 neutrophils; /100neutrophils; per hundred","LOINC","EntMass; EntNum; NFr","Clinical","",null,null,null,null,false],[false,"per 100 spermatozoa","/100{spermatozoa}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 spermatozoa; /100spermatozoa; per hundred","LOINC","NFr","Clinical","",null,null,null,null,false],[false,"per 100 white blood cells","/100{WBCs}","","",0.01,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"/100 WBCs; /100WBCs; per hundred","LOINC","Ratio; NFr","Clinical","",null,null,null,null,false],[false,"per year","/a","/ANN","",3.168808781402895e-8,[0,-1,0,0,0,0,0],"/a",null,false,null,null,1,false,false,0,"/Years; /yrs; yearly","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per centimeter of water","/cm[H2O]","/CM[H2O]","",0.000010197162129779282,[1,2,-1,0,0,0,0],"/cm\xa0HO<sub><r>2<.r></sub>",null,false,null,null,1,false,false,0,"/cmH2O; /cm H2O; centimeters; centimetres","LOINC","InvPress","Clinical","",null,null,null,null,false],[false,"per day","/d","/D","",0.000011574074074074073,[0,-1,0,0,0,0,0],"/d",null,false,null,null,1,false,false,0,"/dy; per day","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per deciliter","/dL","/DL","",10000,[-3,0,0,0,0,0,0],"/dL",null,false,null,null,1,false,false,0,"per dL; /deciliter; decilitre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per gram","/g","/G","",1,[0,0,-1,0,0,0,0],"/g",null,false,null,null,1,false,false,0,"/gm; /gram; per g","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per hour","/h","/HR","",0.0002777777777777778,[0,-1,0,0,0,0,0],"/h",null,false,null,null,1,false,false,0,"/hr; /hour; per hr","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per kilogram","/kg","/KG","",0.001,[0,0,-1,0,0,0,0],"/kg",null,false,null,null,1,false,false,0,"per kg; per kilogram","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per liter","/L","/L","",1000,[-3,0,0,0,0,0,0],"/L",null,false,null,null,1,false,false,0,"/liter; litre","LOINC","NCnc","Clinical","",null,null,null,null,false],[false,"per square meter","/m2","/M2","",1,[-2,0,0,0,0,0,0],"/m<sup>2<.sup>",null,false,null,null,1,false,false,0,"/m^2; /m*2; /sq. m; per square meter; meter squared; metre","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"per cubic meter","/m3","/M3","",1,[-3,0,0,0,0,0,0],"/m<sup>3<.sup>",null,false,null,null,1,false,false,0,"/m^3; /m*3; /cu. m; per cubic meter; meter cubed; per m3; metre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per milligram","/mg","/MG","",1000,[0,0,-1,0,0,0,0],"/mg",null,false,null,null,1,false,false,0,"/milligram; per mg","LOINC","NCnt","Clinical","",null,null,null,null,false],[false,"per minute","/min","/MIN","",0.016666666666666666,[0,-1,0,0,0,0,0],"/min",null,false,null,null,1,false,false,0,"/minute; per mins; breaths beats per minute","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per milliliter","/mL","/ML","",1000000,[-3,0,0,0,0,0,0],"/mL",null,false,null,null,1,false,false,0,"/milliliter; per mL; millilitre","LOINC","NCncn","Clinical","",null,null,null,null,false],[false,"per millimeter","/mm","/MM","",1000,[-1,0,0,0,0,0,0],"/mm",null,false,null,null,1,false,false,0,"/millimeter; per mm; millimetre","LOINC","InvLen","Clinical","",null,null,null,null,false],[false,"per month","/mo","/MO","",3.802570537683474e-7,[0,-1,0,0,0,0,0],"/mo",null,false,null,null,1,false,false,0,"/month; per mo; monthly; month","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per second","/s","/S","",1,[0,-1,0,0,0,0,0],"/s",null,false,null,null,1,false,false,0,"/second; /sec; per sec; frequency; Hertz; Herz; Hz; becquerels; Bq; s-1; s^-1","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"per enzyme unit","/U","/U","",9.963241120049633e-17,[0,1,0,0,0,0,0],"/U",null,false,null,null,1,false,false,-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,false],[false,"per microliter","/uL","/UL","",999999999.9999999,[-3,0,0,0,0,0,0],"/\u03bcL",null,false,null,null,1,false,false,0,"/microliter; microlitre; /mcl; per uL","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"per week","/wk","/WK","",0.0000016534391534391535,[0,-1,0,0,0,0,0],"/wk",null,false,null,null,1,false,false,0,"/week; per wk; weekly, weeks","LOINC","NRat","Clinical","",null,null,null,null,false],[false,"APL unit per milliliter","[APL\'U]/mL","[APL\'U]/ML","biologic activity of anticardiolipin IgA",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,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,false],[false,"arbitrary unit per milliliter","[arb\'U]/mL","[ARB\'U]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(arb. U)/mL","chemical",false,null,null,1,false,true,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,false],[false,"colony forming units per liter","[CFU]/L","[CFU]/L","amount of a proliferating organism",1000,[-3,0,0,0,0,0,0],"CFU/L","chemical",false,null,null,1,false,true,0,"CFU per Liter; CFU/L","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"colony forming units per milliliter","[CFU]/mL","[CFU]/ML","amount of a proliferating organism",1000000,[-3,0,0,0,0,0,0],"CFU/mL","chemical",false,null,null,1,false,true,0,"CFU per mL; CFU/mL","LOINC","NCnc","Clinical","","1","1","1",1,false],[false,"foot per foot - US","[ft_us]/[ft_us]","[FT_US]/[FT_US]","length",1,[0,0,0,0,0,0,0],"(ft<sub>us</sub>)/(ft<sub>us</sub>)","us-lengths",false,null,null,1,false,false,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,false],[false,"GPL unit per milliliter","[GPL\'U]/mL","[GPL\'U]/ML","biologic activity of anticardiolipin IgG",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,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,false],[false,"international unit per 2 hour","[IU]/(2.h)","[IU]/HR","arbitrary",0.0001388888888888889,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,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,false],[false,"international unit per 24 hour","[IU]/(24.h)","[IU]/HR","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,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,false],[false,"international unit per day","[IU]/d","[IU]/D","arbitrary",0.000011574074074074073,[0,-1,0,0,0,0,0],"(i.U.)/d","chemical",true,null,null,1,false,true,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,false],[false,"international unit per deciliter","[IU]/dL","[IU]/DL","arbitrary",10000,[-3,0,0,0,0,0,0],"(i.U.)/dL","chemical",true,null,null,1,false,true,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,false],[false,"international unit per gram","[IU]/g","[IU]/G","arbitrary",1,[0,0,-1,0,0,0,0],"(i.U.)/g","chemical",true,null,null,1,false,true,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,false],[false,"international unit per hour","[IU]/h","[IU]/HR","arbitrary",0.0002777777777777778,[0,-1,0,0,0,0,0],"(i.U.)/h","chemical",true,null,null,1,false,true,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,false],[false,"international unit per kilogram","[IU]/kg","[IU]/KG","arbitrary",0.001,[0,0,-1,0,0,0,0],"(i.U.)/kg","chemical",true,null,null,1,false,true,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,false],[false,"international unit per kilogram per day","[IU]/kg/d","[IU]/KG/D","arbitrary",1.1574074074074074e-8,[0,-1,-1,0,0,0,0],"(i.U.)/kg/d","chemical",true,null,null,1,false,true,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,false],[false,"international unit per liter","[IU]/L","[IU]/L","arbitrary",1000,[-3,0,0,0,0,0,0],"(i.U.)/L","chemical",true,null,null,1,false,true,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,false],[false,"international unit per minute","[IU]/min","[IU]/MIN","arbitrary",0.016666666666666666,[0,-1,0,0,0,0,0],"(i.U.)/min","chemical",true,null,null,1,false,true,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,false],[false,"international unit per milliliter","[IU]/mL","[IU]/ML","arbitrary",1000000,[-3,0,0,0,0,0,0],"(i.U.)/mL","chemical",true,null,null,1,false,true,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,false],[false,"MPL unit per milliliter","[MPL\'U]/mL","[MPL\'U]/ML","biologic activity of anticardiolipin IgM",1000000,[-3,0,0,0,0,0,0],"/mL","chemical",false,null,null,1,false,true,0,"MPL/mL; MPL U/mL; MPL\'U/mL; IgM anticardiolipin units; IgM Phospholipid Units; millilitre ","LOINC","ACnc","Clinical","units for antiphospholipid test\\n","1","1","1",1,false],[false,"number per high power field","{#}/[HPF]","/[HPF]","",1,[0,0,0,0,0,0,0],"/HPF",null,false,null,null,1,false,false,0,"#/HPF; # per HPF; number/HPF; numbers per high power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"number per low power field","{#}/[LPF]","/[LPF]","",1,[0,0,0,0,0,0,0],"/LPF",null,false,null,null,1,false,false,0,"#/LPF; # per LPF; number/LPF; numbers per low power field","LOINC","Naric","Clinical","",null,null,null,null,false],[false,"IgA antiphosphatidylserine unit ","{APS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"APS Unit; Phosphatidylserine Antibody IgA Units","LOINC","ACnc","Clinical","unit for antiphospholipid test",null,null,null,null,false],[false,"EIA index","{EIA_index}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"enzyme immunoassay index","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"kaolin clotting time","{KCT\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"KCT","LOINC","Time","Clinical","sensitive\xa0test to detect\xa0lupus anticoagulants; measured in seconds",null,null,null,null,false],[false,"IgM antiphosphatidylserine unit","{MPS\'U}","","",1,[0,0,0,0,0,0,0],null,null,false,null,null,1,false,false,0,"Phosphatidylserine Antibody IgM Measurement ","LOINC","ACnc","Clinical","",null,null,null,null,false],[false,"trillion per liter","10*12/L","(10*12)/L","number",1000000000000000,[-3,0,0,0,0,0,0],"(10<sup>12</sup>)/L","dimless",false,null,null,1,false,false,0,"10^12/L; 10*12 per Liter; trillion per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^3 (used for cell count)","10*3","10*3","number",1000,[0,0,0,0,0,0,0],"10<sup>3</sup>","dimless",false,null,null,1,false,false,0,"10^3; thousand","LOINC","Num","Clinical","usually used for counting entities (e.g. blood cells) per volume","1","1","10",10,false],[false,"thousand per liter","10*3/L","(10*3)/L","number",1000000,[-3,0,0,0,0,0,0],"(10<sup>3</sup>)/L","dimless",false,null,null,1,false,false,0,"10^3/L; 10*3 per liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per milliliter","10*3/mL","(10*3)/ML","number",1000000000,[-3,0,0,0,0,0,0],"(10<sup>3</sup>)/mL","dimless",false,null,null,1,false,false,0,"10^3/mL; 10*3 per mL; thousand per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"thousand per microliter","10*3/uL","(10*3)/UL","number",999999999999.9999,[-3,0,0,0,0,0,0],"(10<sup>3</sup>)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^3/uL; 10*3 per uL; thousand per microliter; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10 thousand per microliter","10*4/uL","(10*4)/UL","number",10000000000000,[-3,0,0,0,0,0,0],"(10<sup>4</sup>)/\u03bcL","dimless",false,null,null,1,false,false,0,"10^4/uL; 10*4 per uL; microlitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"10^5 ","10*5","10*5","number",100000,[0,0,0,0,0,0,0],"10<sup>5</sup>","dimless",false,null,null,1,false,false,0,"one hundred thousand","LOINC","Num","Clinical","","1","1","10",10,false],[false,"10^6","10*6","10*6","number",1000000,[0,0,0,0,0,0,0],"10<sup>6</sup>","dimless",false,null,null,1,false,false,0,"","LOINC","Num","Clinical","","1","1","10",10,false],[false,"million colony forming unit per liter","10*6.[CFU]/L","(10*6).[CFU]/L","number",1000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>).CFU/L","dimless",false,null,null,1,false,true,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,false],[false,"million international unit","10*6.[IU]","(10*6).[IU]","number",1000000,[0,0,0,0,0,0,0],"(10<sup>6</sup>).(i.U.)","dimless",false,null,null,1,false,true,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,false],[false,"million per 24 hour","10*6/(24.h)","(10*6)/HR","number",11.574074074074074,[0,-1,0,0,0,0,0],"(10<sup>6</sup>)/h","dimless",false,null,null,1,false,false,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,false],[false,"million per kilogram","10*6/kg","(10*6)/KG","number",1000,[0,0,-1,0,0,0,0],"(10<sup>6</sup>)/kg","dimless",false,null,null,1,false,false,0,"10^6/kg; 10*6 per kg; 10*6 per kilogram; millions","LOINC","NCnt","Clinical","","1","1","10",10,false],[false,"million per liter","10*6/L","(10*6)/L","number",1000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>)/L","dimless",false,null,null,1,false,false,0,"10^6/L; 10*6 per Liter; 10^6 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per milliliter","10*6/mL","(10*6)/ML","number",1000000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>)/mL","dimless",false,null,null,1,false,false,0,"10^6/mL; 10*6 per mL; 10*6 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"million per microliter","10*6/uL","(10*6)/UL","number",1000000000000000,[-3,0,0,0,0,0,0],"(10<sup>6</sup>)/\u03bcL","dimless",false,null,null,1,false,false,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,false],[false,"10^8","10*8","10*8","number",100000000,[0,0,0,0,0,0,0],"10<sup>8</sup>","dimless",false,null,null,1,false,false,0,"100 million; one hundred million; 10^8","LOINC","Num","Clinical","","1","1","10",10,false],[false,"billion per liter","10*9/L","(10*9)/L","number",1000000000000,[-3,0,0,0,0,0,0],"(10<sup>9</sup>)/L","dimless",false,null,null,1,false,false,0,"10^9/L; 10*9 per Liter; litre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per milliliter","10*9/mL","(10*9)/ML","number",1000000000000000,[-3,0,0,0,0,0,0],"(10<sup>9</sup>)/mL","dimless",false,null,null,1,false,false,0,"10^9/mL; 10*9 per mL; 10^9 per mL; 10*9 per milliliter; millilitre","LOINC","NCncn","Clinical","","1","1","10",10,false],[false,"billion per microliter","10*9/uL","(10*9)/UL","number",1000000000000000000,[-3,0,0,0,0,0,0],"(10<sup>9</sup>)/\u03bcL","dimless",false,null,null,1,false,false,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,false],[false,"10 liter per minute per square meter","10.L/(min.m2)","L/(MIN.M2)","",0.00016666666666666666,[1,-1,0,0,0,0,0],"L/(min.(m<sup>2</sup>))",null,false,null,null,1,false,false,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,false],[false,"10 liter per minute","10.L/min","L/MIN","",0.00016666666666666666,[3,-1,0,0,0,0,0],"L/min",null,false,null,null,1,false,false,0,"10 liters per minute; 10 L per min; 10L; 10 L/min; litre","LOINC","VRat","Clinical","",null,null,null,null,false],[false,"10 micronewton second per centimeter to the fifth power per square meter","10.uN.s/(cm5.m2)","(UN.S)/(CM5.M2)","",100000000,[-6,-1,1,0,0,0,0],"(\u03bcN.s)/(cm<sup>5</sup>).(m<sup>2</sup>)",null,false,null,null,1,false,false,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,false],[false,"24 hour","24.h","HR","",86400,[0,1,0,0,0,0,0],"h",null,false,null,null,1,false,false,0,"24hrs; 24 hrs; 24 hours; days; dy","LOINC","Time","Clinical","",null,null,null,null,false],[false,"ampere per meter","A/m","A/M","electric current",1,[-1,-1,0,0,0,1,0],"A/m","si",true,null,null,1,false,false,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,false],[true,"centigram","cg","CG","mass",0.01,[0,0,1,0,0,0,0],"cg",null,false,"M",null,1,false,false,0,"centigrams; cg; cgm","LOINC","Mass","Clinical","",null,null,null,null,false],[false,"centiliter","cL","CL","volume",0.00001,[3,0,0,0,0,0,0],"cL","iso1000",true,null,null,1,false,false,0,"centiliters; centilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"centimeter","cm","CM","length",0.01,[1,0,0,0,0,0,0],"cm",null,false,"L",null,1,false,false,0,"centimeters; centimetres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"centimeter of water","cm[H2O]","CM[H2O]","pressure",98066.5,[-1,-2,1,0,0,0,0],"cm\xa0HO<sub><r>2</r></sub>","clinical",true,null,null,1,false,false,0,"cm H2O; cmH2O; centimetres; pressure","LOINC","Pres","Clinical","unit of pressure mostly applies to blood pressure","kPa","KPAL","980665e-5",9.80665,false],[false,"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\xa0HO<sub><r>2</r></sub>)/L/s","clinical",true,null,null,1,false,false,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,false],[false,"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\xa0HO<sub><r>2</r></sub>)/s/m","clinical",true,null,null,1,false,false,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,false],[false,"centimeter of mercury","cm[Hg]","CM[HG]","pressure",1333220,[-1,-2,1,0,0,0,0],"cm\xa0Hg","clinical",true,null,null,1,false,false,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,false],[true,"square centimeter","cm2","CM2","length",0.0001,[2,0,0,0,0,0,0],"cm<sup>2</sup>",null,false,"L",null,1,false,false,0,"cm^2; sq cm; centimeters squared; square centimeters; centimetre; area","LOINC","Area","Clinical","",null,null,null,null,false],[true,"square centimeter per second","cm2/s","CM2/S","length",0.0001,[2,-1,0,0,0,0,0],"(cm<sup>2</sup>)/s",null,false,"L",null,1,false,false,0,"cm^2/sec; square centimeters per second; sq cm per sec; cm2; centimeters squared; centimetres","LOINC","AreaRat","Clinical","",null,null,null,null,false],[false,"centipoise","cP","CP","dynamic viscosity",1,[-1,-1,1,0,0,0,0],"cP","cgs",true,null,null,1,false,false,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,false],[false,"centistoke","cSt","CST","kinematic viscosity",0.0000010000000000000002,[2,-1,0,0,0,0,0],"cSt","cgs",true,null,null,1,false,false,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,false],[false,"dekaliter per minute","daL/min","DAL/MIN","volume",0.00016666666666666666,[3,-1,0,0,0,0,0],"daL/min","iso1000",true,null,null,1,false,false,0,"dekalitres; dekaliters per minute; per min","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"dekaliter per minute per square meter","daL/min/m2","(DAL/MIN)/M2","volume",0.00016666666666666666,[1,-1,0,0,0,0,0],"(daL/min)/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,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,false],[false,"decibel","dB","DB","level",1,[0,0,0,0,0,0,0],"dB","levels",true,null,"lg",0.1,true,false,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,false],[false,"degree per second","deg/s","DEG/S","plane angle",0.017453292519943295,[0,-1,0,1,0,0,0],"\xb0/s","iso1000",false,null,null,1,false,false,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,false],[true,"decigram","dg","DG","mass",0.1,[0,0,1,0,0,0,0],"dg",null,false,"M",null,1,false,false,0,"decigrams; dgm; 0.1 grams; 1/10 gm","LOINC","Mass","Clinical","equal to 1/10 gram",null,null,null,null,false],[false,"deciliter","dL","DL","volume",0.0001,[3,0,0,0,0,0,0],"dL","iso1000",true,null,null,1,false,false,0,"deciliters; decilitres; 0.1 liters; 1/10 L","LOINC","Vol","Clinical","equal to 1/10 liter","l",null,"1",1,false],[true,"decimeter","dm","DM","length",0.1,[1,0,0,0,0,0,0],"dm",null,false,"L",null,1,false,false,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,false],[true,"square decimeter per square second","dm2/s2","DM2/S2","length",0.010000000000000002,[2,-2,0,0,0,0,0],"(dm<sup>2</sup>)/(s<sup>2</sup>)",null,false,"L",null,1,false,false,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,false],[false,"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.(m<sup>2</sup>))","cgs",true,null,null,1,false,false,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,false],[false,"dyne second per centimeter","dyn.s/cm","(DYN.S)/CM","force",1,[0,-1,1,0,0,0,0],"(dyn.s)/cm","cgs",true,null,null,1,false,false,0,"(dyn*s)/cm; dyn sec per cm; seconds; centimetre; dyne seconds","LOINC","","Clinical","","g.cm/s2","G.CM/S2","1",1,false],[false,"equivalent per liter","eq/L","EQ/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"eq/L","chemical",true,null,null,1,false,false,1,"eq/liter; eq/litre; eqs; equivalents per liter; litre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per milliliter","eq/mL","EQ/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"eq/mL","chemical",true,null,null,1,false,false,1,"equivalent/milliliter; equivalents per milliliter; eq per mL; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per millimole","eq/mmol","EQ/MMOL","amount of substance",1000,[0,0,0,0,0,0,0],"eq/mmol","chemical",true,null,null,1,false,false,0,"equivalent/millimole; equivalents per millimole; eq per mmol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"equivalent per micromole","eq/umol","EQ/UMOL","amount of substance",1000000,[0,0,0,0,0,0,0],"eq/\u03bcmol","chemical",true,null,null,1,false,false,0,"equivalent/micromole; equivalents per micromole; eq per umol","LOINC","SRto","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[true,"femtogram","fg","FG","mass",1e-15,[0,0,1,0,0,0,0],"fg",null,false,"M",null,1,false,false,0,"fg; fgm; femtograms; weight","LOINC","Mass","Clinical","equal to 10^-15 grams",null,null,null,null,false],[false,"femtoliter","fL","FL","volume",1e-18,[3,0,0,0,0,0,0],"fL","iso1000",true,null,null,1,false,false,0,"femtolitres; femtoliters","LOINC","Vol; EntVol","Clinical","equal to 10^-15 liters","l",null,"1",1,false],[true,"femtometer","fm","FM","length",1e-15,[1,0,0,0,0,0,0],"fm",null,false,"L",null,1,false,false,0,"femtometres; femtometers","LOINC","Len","Clinical","equal to 10^-15 meters",null,null,null,null,false],[false,"femtomole","fmol","FMOL","amount of substance",602213670,[0,0,0,0,0,0,0],"fmol","si",true,null,null,1,false,false,1,"femtomoles","LOINC","EntSub","Clinical","equal to 10^-15 moles","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per gram","fmol/g","FMOL/G","amount of substance",602213670,[0,0,-1,0,0,0,0],"fmol/g","si",true,null,null,1,false,false,1,"femtomoles; fmol/gm; fmol per gm","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per liter","fmol/L","FMOL/L","amount of substance",602213670000,[-3,0,0,0,0,0,0],"fmol/L","si",true,null,null,1,false,false,1,"femtomoles; fmol per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milligram","fmol/mg","FMOL/MG","amount of substance",602213670000,[0,0,-1,0,0,0,0],"fmol/mg","si",true,null,null,1,false,false,1,"fmol per mg; femtomoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"femtomole per milliliter","fmol/mL","FMOL/ML","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"fmol/mL","si",true,null,null,1,false,false,1,"femtomoles; millilitre; fmol per mL; fmol per milliliter","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[true,"gram meter","g.m","G.M","mass",1,[1,0,1,0,0,0,0],"g.m",null,false,"M",null,1,false,false,0,"g*m; gxm; meters; metres","LOINC","Enrg","Clinical","Unit for measuring stroke work (heart work)",null,null,null,null,false],[true,"gram per 100 gram","g/(100.g)","G/G","mass",0.01,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"g/100 gm; 100gm; grams per 100 grams; gm per 100 gm","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"gram per 12 hour","g/(12.h)","G/HR","mass",0.000023148148148148147,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/12hrs; 12 hrs; gm per 12 hrs; 12hrs; grams per 12 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 24 hour","g/(24.h)","G/HR","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,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,false],[true,"gram per 3 days","g/(3.d)","G/D","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,0,"gm/3dy; gm/3 dy; gm per 3 days; grams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 4 hour","g/(4.h)","G/HR","mass",0.00006944444444444444,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/4hrs; gm/4 hrs; gm per 4 hrs; 4hrs; grams per 4 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 48 hour","g/(48.h)","G/HR","mass",0.000005787037037037037,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/48hrs; gm/48 hrs; gm per 48 hrs; 48hrs; grams per 48 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 5 hour","g/(5.h)","G/HR","mass",0.00005555555555555556,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/5hrs; gm/5 hrs; gm per 5 hrs; 5hrs; grams per 5 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 6 hour","g/(6.h)","G/HR","mass",0.000046296296296296294,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/6hrs; gm/6 hrs; gm per 6 hrs; 6hrs; grams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per 72 hour","g/(72.h)","G/HR","mass",0.000003858024691358025,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/72hrs; gm/72 hrs; gm per 72 hrs; 72hrs; grams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per cubic centimeter","g/cm3","G/CM3","mass",999999.9999999999,[-3,0,1,0,0,0,0],"g/(cm<sup>3</sup>)",null,false,"M",null,1,false,false,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,false],[true,"gram per day","g/d","G/D","mass",0.000011574074074074073,[0,-1,1,0,0,0,0],"g/d",null,false,"M",null,1,false,false,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,false],[true,"gram per deciliter","g/dL","G/DL","mass",10000,[-3,0,1,0,0,0,0],"g/dL",null,false,"M",null,1,false,false,0,"gm/dL; gm per dL; grams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per gram","g/g","G/G","mass",1,[0,0,0,0,0,0,0],"g/g",null,false,"M",null,1,false,false,0,"gm; grams","LOINC","MRto ","Clinical","",null,null,null,null,false],[true,"gram per hour","g/h","G/HR","mass",0.0002777777777777778,[0,-1,1,0,0,0,0],"g/h",null,false,"M",null,1,false,false,0,"gm/hr; gm per hr; grams; intake; output","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per hour per square meter","g/h/m2","(G/HR)/M2","mass",0.0002777777777777778,[-2,-1,1,0,0,0,0],"(g/h)/(m<sup>2</sup>)",null,false,"M",null,1,false,false,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,false],[true,"gram per kilogram","g/kg ","G/KG","mass",0.001,[0,0,0,0,0,0,0],"g/kg",null,false,"M",null,1,false,false,0,"g per kg; gram per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"gram per kilogram per 8 hour ","g/kg/(8.h)","(G/KG)/HR","mass",3.472222222222222e-8,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,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,false],[true,"gram per kilogram per day","g/kg/d","(G/KG)/D","mass",1.1574074074074074e-8,[0,-1,0,0,0,0,0],"(g/kg)/d",null,false,"M",null,1,false,false,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,false],[true,"gram per kilogram per hour","g/kg/h","(G/KG)/HR","mass",2.7777777777777776e-7,[0,-1,0,0,0,0,0],"(g/kg)/h",null,false,"M",null,1,false,false,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,false],[true,"gram per kilogram per minute","g/kg/min","(G/KG)/MIN","mass",0.000016666666666666667,[0,-1,0,0,0,0,0],"(g/kg)/min",null,false,"M",null,1,false,false,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,false],[true,"gram per liter","g/L","G/L","mass",1000,[-3,0,1,0,0,0,0],"g/L",null,false,"M",null,1,false,false,0,"gm per liter; g/liter; grams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per square meter","g/m2","G/M2","mass",1,[-2,0,1,0,0,0,0],"g/(m<sup>2</sup>)",null,false,"M",null,1,false,false,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,false],[true,"gram per milligram","g/mg","G/MG","mass",1000,[0,0,0,0,0,0,0],"g/mg",null,false,"M",null,1,false,false,0,"g per mg; grams per milligram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[true,"gram per minute","g/min","G/MIN","mass",0.016666666666666666,[0,-1,1,0,0,0,0],"g/min",null,false,"M",null,1,false,false,0,"g per min; grams per minute; gram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"gram per milliliter","g/mL","G/ML","mass",1000000,[-3,0,1,0,0,0,0],"g/mL",null,false,"M",null,1,false,false,0,"g per mL; grams per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"gram per millimole","g/mmol","G/MMOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"g/mmol",null,false,"M",null,1,false,false,-1,"grams per millimole; g per mmol","LOINC","Ratio","Clinical","",null,null,null,null,false],[false,"joule per liter","J/L","J/L","energy",1000000,[-1,-2,1,0,0,0,0],"J/L","si",true,null,null,1,false,false,0,"joules per liter; litre; J per L","LOINC","EngCnc","Clinical","","N.m","N.M","1",1,false],[true,"degree Kelvin per Watt","K/W","K/W","temperature",0.001,[-2,3,-1,0,1,0,0],"K/W",null,false,"C",null,1,false,false,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,false],[false,"kilo international unit per liter","k[IU]/L","K[IU]/L","arbitrary",1000000,[-3,0,0,0,0,0,0],"(ki.U.)/L","chemical",true,null,null,1,false,true,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,false],[false,"kilo international unit per milliliter","k[IU]/mL","K[IU]/ML","arbitrary",1000000000,[-3,0,0,0,0,0,0],"(ki.U.)/mL","chemical",true,null,null,1,false,true,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,false],[false,"katal per kilogram","kat/kg","KAT/KG","catalytic activity",602213670000000000000,[0,-1,-1,0,0,0,0],"kat/kg","chemical",true,null,null,1,false,false,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,false],[false,"katal per liter","kat/L","KAT/L","catalytic activity",6.0221366999999994e+26,[-3,-1,0,0,0,0,0],"kat/L","chemical",true,null,null,1,false,false,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,false],[false,"kilocalorie","kcal","KCAL","energy",4184000,[2,-2,1,0,0,0,0],"kcal","heat",true,null,null,1,false,false,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,false],[false,"kilocalorie per 24 hour","kcal/(24.h)","KCAL/HR","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,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,false],[false,"kilocalorie per ounce","kcal/[oz_av]","KCAL/[OZ_AV]","energy",147586.25679704445,[2,-2,0,0,0,0,0],"kcal/oz","heat",true,null,null,1,false,false,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,false],[false,"kilocalorie per day","kcal/d","KCAL/D","energy",48.425925925925924,[2,-3,1,0,0,0,0],"kcal/d","heat",true,null,null,1,false,false,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,false],[false,"kilocalorie per hour","kcal/h","KCAL/HR","energy",1162.2222222222222,[2,-3,1,0,0,0,0],"kcal/h","heat",true,null,null,1,false,false,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,false],[false,"kilocalorie per kilogram per 24 hour","kcal/kg/(24.h)","(KCAL/KG)/HR","energy",0.04842592592592593,[2,-3,0,0,0,0,0],"(kcal/kg)/h","heat",true,null,null,1,false,false,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,false],[true,"kilogram","kg","KG","mass",1000,[0,0,1,0,0,0,0],"kg",null,false,"M",null,1,false,false,0,"kilograms; kgs","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"kilogram meter per second","kg.m/s","(KG.M)/S","mass",1000,[1,-1,1,0,0,0,0],"(kg.m)/s",null,false,"M",null,1,false,false,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,false],[true,"kilogram per second per square meter","kg/(s.m2)","KG/(S.M2)","mass",1000,[-2,-1,1,0,0,0,0],"kg/(s.(m<sup>2</sup>))",null,false,"M",null,1,false,false,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,false],[true,"kilogram per hour","kg/h","KG/HR","mass",0.2777777777777778,[0,-1,1,0,0,0,0],"kg/h",null,false,"M",null,1,false,false,0,"kg/hr; kg per hr; kilograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"kilogram per liter","kg/L","KG/L","mass",1000000,[-3,0,1,0,0,0,0],"kg/L",null,false,"M",null,1,false,false,0,"kg per liter; litre; kilograms","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"kilogram per square meter","kg/m2","KG/M2","mass",1000,[-2,0,1,0,0,0,0],"kg/(m<sup>2</sup>)",null,false,"M",null,1,false,false,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,false],[true,"kilogram per cubic meter","kg/m3","KG/M3","mass",1000,[-3,0,1,0,0,0,0],"kg/(m<sup>3</sup>)",null,false,"M",null,1,false,false,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,false],[true,"kilogram per minute","kg/min","KG/MIN","mass",16.666666666666668,[0,-1,1,0,0,0,0],"kg/min",null,false,"M",null,1,false,false,0,"kilogram/minute; kg per min; kilograms per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"kilogram per mole","kg/mol","KG/MOL","mass",1.6605401866749388e-21,[0,0,1,0,0,0,0],"kg/mol",null,false,"M",null,1,false,false,-1,"kilogram/mole; kg per mol; kilograms per mole","LOINC","SCnt","Clinical","",null,null,null,null,false],[true,"kilogram per second","kg/s","KG/S","mass",1000,[0,-1,1,0,0,0,0],"kg/s",null,false,"M",null,1,false,false,0,"kg/sec; kilogram/second; kg per sec; kilograms; second","LOINC","MRat","Clinical","",null,null,null,null,false],[false,"kiloliter","kL","KL","volume",1,[3,0,0,0,0,0,0],"kL","iso1000",true,null,null,1,false,false,0,"kiloliters; kilolitres; m3; m^3; meters cubed; metre","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"kilometer","km","KM","length",1000,[1,0,0,0,0,0,0],"km",null,false,"L",null,1,false,false,0,"kilometers; kilometres; distance","LOINC","Len","Clinical","",null,null,null,null,false],[false,"kilopascal","kPa","KPAL","pressure",1000000,[-1,-2,1,0,0,0,0],"kPa","si",true,null,null,1,false,false,0,"kilopascals; pressure","LOINC","Pres; PPresDiff","Clinical","","N/m2","N/M2","1",1,false],[true,"kilosecond","ks","KS","time",1000,[0,1,0,0,0,0,0],"ks",null,false,"T",null,1,false,false,0,"kiloseconds; ksec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"kilo enzyme unit","kU","KU","catalytic activity",10036894500000000000,[0,-1,0,0,0,0,0],"kU","chemical",true,null,null,1,false,false,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,false],[false,"kilo enzyme unit per gram","kU/g","KU/G","catalytic activity",10036894500000000000,[0,-1,-1,0,0,0,0],"kU/g","chemical",true,null,null,1,false,false,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,false],[false,"kilo enzyme unit per liter","kU/L","KU/L","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"kU/L","chemical",true,null,null,1,false,false,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,false],[false,"kilo enzyme unit per milliliter","kU/mL","KU/ML","catalytic activity",1.00368945e+25,[-3,-1,0,0,0,0,0],"kU/mL","chemical",true,null,null,1,false,false,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,false],[false,"Liters per 24 hour","L/(24.h)","L/HR","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,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,false],[false,"Liters per 8 hour","L/(8.h)","L/HR","volume",3.472222222222222e-8,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,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,false],[false,"Liters per minute per square meter","L/(min.m2) ","L/(MIN.M2)","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"L/(min.(m<sup>2</sup>))","iso1000",true,null,null,1,false,false,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,false],[false,"Liters per day","L/d","L/D","volume",1.1574074074074074e-8,[3,-1,0,0,0,0,0],"L/d","iso1000",true,null,null,1,false,false,0,"L/dy; L per day; 24hrs; 24 hrs; 24 hours; liters; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per hour","L/h","L/HR","volume",2.7777777777777776e-7,[3,-1,0,0,0,0,0],"L/h","iso1000",true,null,null,1,false,false,0,"L/hr; L per hr; litres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per kilogram","L/kg","L/KG","volume",0.000001,[3,0,-1,0,0,0,0],"L/kg","iso1000",true,null,null,1,false,false,0,"L per kg; litre","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"Liters per liter","L/L","L/L","volume",1,[0,0,0,0,0,0,0],"L/L","iso1000",true,null,null,1,false,false,0,"L per L; liter/liter; litre","LOINC","VFr","Clinical","","l",null,"1",1,false],[false,"Liters per minute","L/min","L/MIN","volume",0.000016666666666666667,[3,-1,0,0,0,0,0],"L/min","iso1000",true,null,null,1,false,false,0,"liters per minute; litre","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"Liters per minute per square meter","L/min/m2","(L/MIN)/M2","volume",0.000016666666666666667,[1,-1,0,0,0,0,0],"(L/min)/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,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,false],[false,"Liters per second","L/s","L/S","volume",0.001,[3,-1,0,0,0,0,0],"L/s","iso1000",true,null,null,1,false,false,0,"L per sec; litres","LOINC","VRat","Clinical","unit used often to measure gas flow and peak expiratory flow","l",null,"1",1,false],[false,"Liters per second per square second","L/s/s2","(L/S)/S2","volume",0.001,[3,-3,0,0,0,0,0],"(L/s)/(s<sup>2</sup>)","iso1000",true,null,null,1,false,false,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,false],[false,"lumen square meter","lm.m2","LM.M2","luminous flux",1,[2,0,0,2,0,0,1],"lm.(m<sup>2</sup>)","si",true,null,null,1,false,false,0,"lm*m2; lm*m^2; lumen meters squared; lumen sq. meters; metres","LOINC","","Clinical","","cd.sr","CD.SR","1",1,false],[true,"meter per second","m/s","M/S","length",1,[1,-1,0,0,0,0,0],"m/s",null,false,"L",null,1,false,false,0,"meter/second; m per sec; meters per second; metres; velocity; speed","LOINC","Vel","Clinical","unit of velocity",null,null,null,null,false],[true,"meter per square second","m/s2","M/S2","length",1,[1,-2,0,0,0,0,0],"m/(s<sup>2</sup>)",null,false,"L",null,1,false,false,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,false],[false,"milli international unit per liter","m[IU]/L","M[IU]/L","arbitrary",1,[-3,0,0,0,0,0,0],"(mi.U.)/L","chemical",true,null,null,1,false,true,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,false],[false,"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",true,null,null,1,false,true,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,false],[true,"square meter","m2","M2","length",1,[2,0,0,0,0,0,0],"m<sup>2</sup>",null,false,"L",null,1,false,false,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,false],[true,"square meter per second","m2/s","M2/S","length",1,[2,-1,0,0,0,0,0],"(m<sup>2</sup>)/s",null,false,"L",null,1,false,false,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,false],[true,"cubic meter per second","m3/s","M3/S","length",1,[3,-1,0,0,0,0,0],"(m<sup>3</sup>)/s",null,false,"L",null,1,false,false,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,false],[false,"milliampere","mA","MA","electric current",0.001,[0,-1,0,0,0,1,0],"mA","si",true,null,null,1,false,false,0,"mamp; milliamperes","LOINC","ElpotRat","Clinical","unit of electric current","C/s","C/S","1",1,false],[false,"millibar","mbar","MBAR","pressure",100000,[-1,-2,1,0,0,0,0],"mbar","iso1000",true,null,null,1,false,false,0,"millibars","LOINC","Pres","Clinical","unit of pressure","Pa","PAL","1e5",100000,false],[false,"millibar second per liter","mbar.s/L","(MBAR.S)/L","pressure",100000000,[-4,-1,1,0,0,0,0],"(mbar.s)/L","iso1000",true,null,null,1,false,false,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",100000,false],[false,"millibar per liter per second","mbar/L/s","(MBAR/L)/S","pressure",100000000,[-4,-3,1,0,0,0,0],"(mbar/L)/s","iso1000",true,null,null,1,false,false,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",100000,false],[false,"milliequivalent","meq","MEQ","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"meq","chemical",true,null,null,1,false,false,1,"milliequivalents; meqs","LOINC","Sub","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per 2 hour","meq/(2.h)","MEQ/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,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,false],[false,"milliequivalent per 24 hour","meq/(24.h)","MEQ/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,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,false],[false,"milliequivalent per 8 hour","meq/(8.h)","MEQ/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,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,false],[false,"milliequivalent per day","meq/d","MEQ/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"meq/d","chemical",true,null,null,1,false,false,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,false],[false,"milliequivalent per deciliter","meq/dL","MEQ/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"meq/dL","chemical",true,null,null,1,false,false,1,"meq per dL; milliequivalents per deciliter; decilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per gram","meq/g","MEQ/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"meq/g","chemical",true,null,null,1,false,false,1,"mgq/gm; meq per gm; milliequivalents per gram","LOINC","MCnt","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per hour","meq/h","MEQ/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"meq/h","chemical",true,null,null,1,false,false,1,"meq/hrs; meq per hrs; milliequivalents per hour","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per kilogram","meq/kg","MEQ/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"meq/kg","chemical",true,null,null,1,false,false,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,false],[false,"milliequivalent per kilogram per hour","meq/kg/h","(MEQ/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(meq/kg)/h","chemical",true,null,null,1,false,false,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,false],[false,"milliequivalent per liter","meq/L","MEQ/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"meq/L","chemical",true,null,null,1,false,false,1,"milliequivalents per liter; litre; meq per l; acidity","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per square meter","meq/m2","MEQ/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"meq/(m<sup>2</sup>)","chemical",true,null,null,1,false,false,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,false],[false,"milliequivalent per minute","meq/min","MEQ/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"meq/min","chemical",true,null,null,1,false,false,1,"meq per min; milliequivalents per minute","LOINC","SRat","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[false,"milliequivalent per milliliter","meq/mL","MEQ/ML","amount of substance",6.0221367e+26,[-3,0,0,0,0,0,0],"meq/mL","chemical",true,null,null,1,false,false,1,"meq per mL; milliequivalents per milliliter; millilitre","LOINC","SCnc","Clinical","equivalence equals moles per valence","mol","MOL","1",1,false],[true,"milligram","mg","MG","mass",0.001,[0,0,1,0,0,0,0],"mg",null,false,"M",null,1,false,false,0,"milligrams","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"milligram per 10 hour","mg/(10.h)","MG/HR","mass",2.7777777777777777e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/10hrs; mg/10 hrs; mg per 10 hrs; milligrams per 10 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 12 hour","mg/(12.h)","MG/HR","mass",2.3148148148148148e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,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,false],[true,"milligram per 2 hour","mg/(2.h)","MG/HR","mass",1.3888888888888888e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,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,false],[true,"milligram per 24 hour","mg/(24.h)","MG/HR","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,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,false],[true,"milligram per 6 hour","mg/(6.h)","MG/HR","mass",4.6296296296296295e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/6hrs; mg/6 hrs; mg per 6 hrs; 6hrs; milligrams per 6 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 72 hour","mg/(72.h)","MG/HR","mass",3.858024691358025e-9,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/72hrs; mg/72 hrs; 72 hrs; 72hrs; milligrams per 72 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per 8 hour","mg/(8.h)","MG/HR","mass",3.472222222222222e-8,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/8hrs; mg/8 hrs; milligrams per 8 hours; shift","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per day","mg/d","MG/D","mass",1.1574074074074074e-8,[0,-1,1,0,0,0,0],"mg/d",null,false,"M",null,1,false,false,0,"mg/24hrs; mg/24 hrs; milligrams per 24 hours; mg/dy; mg per day; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per deciliter","mg/dL","MG/DL","mass",10,[-3,0,1,0,0,0,0],"mg/dL",null,false,"M",null,1,false,false,0,"mg per dL; milligrams per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per gram","mg/g","MG/G","mass",0.001,[0,0,0,0,0,0,0],"mg/g",null,false,"M",null,1,false,false,0,"mg per gm; milligrams per gram","LOINC","MCnt; MRto","Clinical","",null,null,null,null,false],[true,"milligram per hour","mg/h","MG/HR","mass",2.7777777777777776e-7,[0,-1,1,0,0,0,0],"mg/h",null,false,"M",null,1,false,false,0,"mg/hr; mg per hr; milligrams","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per kilogram","mg/kg","MG/KG","mass",0.000001,[0,0,0,0,0,0,0],"mg/kg",null,false,"M",null,1,false,false,0,"mg per kg; milligrams per kilograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"milligram per kilogram per 8 hour","mg/kg/(8.h)","(MG/KG)/HR","mass",3.472222222222222e-11,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,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,false],[true,"milligram per kilogram per day","mg/kg/d","(MG/KG)/D","mass",1.1574074074074074e-11,[0,-1,0,0,0,0,0],"(mg/kg)/d",null,false,"M",null,1,false,false,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,false],[true,"milligram per kilogram per hour","mg/kg/h","(MG/KG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(mg/kg)/h",null,false,"M",null,1,false,false,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,false],[true,"milligram per kilogram per minute","mg/kg/min","(MG/KG)/MIN","mass",1.6666666666666667e-8,[0,-1,0,0,0,0,0],"(mg/kg)/min",null,false,"M",null,1,false,false,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,false],[true,"milligram per liter","mg/L","MG/L","mass",1,[-3,0,1,0,0,0,0],"mg/L",null,false,"M",null,1,false,false,0,"mg per l; milligrams per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per square meter","mg/m2","MG/M2","mass",0.001,[-2,0,1,0,0,0,0],"mg/(m<sup>2</sup>)",null,false,"M",null,1,false,false,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,false],[true,"milligram per cubic meter","mg/m3","MG/M3","mass",0.001,[-3,0,1,0,0,0,0],"mg/(m<sup>3</sup>)",null,false,"M",null,1,false,false,0,"mg/m^3; mg/cu. m; mg per m3; milligrams per cubic meter; meter cubed; metre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per milligram","mg/mg","MG/MG","mass",1,[0,0,0,0,0,0,0],"mg/mg",null,false,"M",null,1,false,false,0,"mg per mg; milligrams; milligram/milligram","LOINC","MRto","Clinical","",null,null,null,null,false],[true,"milligram per minute","mg/min","MG/MIN","mass",0.000016666666666666667,[0,-1,1,0,0,0,0],"mg/min",null,false,"M",null,1,false,false,0,"mg per min; milligrams per minutes; milligram/minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"milligram per milliliter","mg/mL","MG/ML","mass",1000.0000000000001,[-3,0,1,0,0,0,0],"mg/mL",null,false,"M",null,1,false,false,0,"mg per mL; milligrams per milliliters; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"milligram per millimole","mg/mmol","MG/MMOL","mass",1.660540186674939e-24,[0,0,1,0,0,0,0],"mg/mmol",null,false,"M",null,1,false,false,-1,"mg per mmol; milligrams per millimole; ","LOINC","Ratio","Clinical","",null,null,null,null,false],[true,"milligram per week","mg/wk","MG/WK","mass",1.6534391534391535e-9,[0,-1,1,0,0,0,0],"mg/wk",null,false,"M",null,1,false,false,0,"mg/week; mg per wk; milligrams per weeks; milligram/week","LOINC","Mrat","Clinical","",null,null,null,null,false],[false,"milliliter","mL","ML","volume",0.000001,[3,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,0,"milliliters; millilitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"milliliter per 10 hour","mL/(10.h)","ML/HR","volume",2.7777777777777777e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/10hrs; ml/10 hrs; mL per 10hrs; 10 hrs; milliliters per 10 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 12 hour","mL/(12.h)","ML/HR","volume",2.3148148148148147e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/12hrs; ml/12 hrs; mL per 12hrs; 12 hrs; milliliters per 12 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 2 hour","mL/(2.h)","ML/HR","volume",1.3888888888888888e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/2hrs; ml/2 hrs; mL per 2hrs; 2 hrs; milliliters per 2 hours; millilitres ","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 24 hour","mL/(24.h)","ML/HR","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,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,false],[false,"milliliter per 4 hour","mL/(4.h)","ML/HR","volume",6.944444444444444e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/4hrs; ml/4 hrs; mL per 4hrs; 4 hrs; milliliters per 4 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 5 hour","mL/(5.h)","ML/HR","volume",5.5555555555555553e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/5hrs; ml/5 hrs; mL per 5hrs; 5 hrs; milliliters per 5 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 6 hour","mL/(6.h)","ML/HR","volume",4.6296296296296294e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/6hrs; ml/6 hrs; mL per 6hrs; 6 hrs; milliliters per 6 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 72 hour","mL/(72.h)","ML/HR","volume",3.8580246913580245e-12,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/72hrs; ml/72 hrs; mL per 72hrs; 72 hrs; milliliters per 72 hours; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour","mL/(8.h)","ML/HR","volume",3.472222222222222e-11,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"ml/8hrs; ml/8 hrs; mL per 8hrs; 8 hrs; milliliters per 8 hours; millilitres; shift","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per 8 hour per kilogram","mL/(8.h)/kg","(ML/HR)/KG","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/h)/kg","iso1000",true,null,null,1,false,false,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,false],[false,"milliliter per square inch (international)","mL/[sin_i]","ML/[SIN_I]","volume",0.0015500031000061998,[1,0,0,0,0,0,0],"mL","iso1000",true,null,null,1,false,false,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,false],[false,"milliliter per centimeter of water","mL/cm[H2O]","ML/CM[H2O]","volume",1.0197162129779282e-11,[4,2,-1,0,0,0,0],"mL/(cm\xa0HO<sub><r>2</r></sub>)","iso1000",true,null,null,1,false,false,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,false],[false,"milliliter per day","mL/d","ML/D","volume",1.1574074074074074e-11,[3,-1,0,0,0,0,0],"mL/d","iso1000",true,null,null,1,false,false,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,false],[false,"milliliter per deciliter","mL/dL","ML/DL","volume",0.009999999999999998,[0,0,0,0,0,0,0],"mL/dL","iso1000",true,null,null,1,false,false,0,"mL per dL; millilitres; decilitre; milliliters","LOINC","VFr; VFrDiff","Clinical","","l",null,"1",1,false],[false,"milliliter per hour","mL/h","ML/HR","volume",2.7777777777777777e-10,[3,-1,0,0,0,0,0],"mL/h","iso1000",true,null,null,1,false,false,0,"mL/hr; mL per hr; milliliters per hour; millilitres; fluid intake; fluid output","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram","mL/kg","ML/KG","volume",9.999999999999999e-10,[3,0,-1,0,0,0,0],"mL/kg","iso1000",true,null,null,1,false,false,0,"mL per kg; milliliters per kilogram; millilitres","LOINC","VCnt","Clinical","","l",null,"1",1,false],[false,"milliliter per kilogram per 8 hour","mL/kg/(8.h)","(ML/KG)/HR","volume",3.472222222222222e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,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,false],[false,"milliliter per kilogram per day","mL/kg/d","(ML/KG)/D","volume",1.1574074074074072e-14,[3,-1,-1,0,0,0,0],"(mL/kg)/d","iso1000",true,null,null,1,false,false,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,false],[false,"milliliter per kilogram per hour","mL/kg/h","(ML/KG)/HR","volume",2.7777777777777774e-13,[3,-1,-1,0,0,0,0],"(mL/kg)/h","iso1000",true,null,null,1,false,false,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,false],[false,"milliliter per kilogram per minute","mL/kg/min","(ML/KG)/MIN","volume",1.6666666666666664e-11,[3,-1,-1,0,0,0,0],"(mL/kg)/min","iso1000",true,null,null,1,false,false,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,false],[false,"milliliter per square meter","mL/m2","ML/M2","volume",0.000001,[1,0,0,0,0,0,0],"mL/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,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,false],[false,"milliliter per millibar","mL/mbar","ML/MBAR","volume",1e-11,[4,2,-1,0,0,0,0],"mL/mbar","iso1000",true,null,null,1,false,false,0,"mL per mbar; milliliters per millibar; millilitres","LOINC","","Clinical","unit used to measure dynamic lung compliance","l",null,"1",1,false],[false,"milliliter per minute","mL/min","ML/MIN","volume",1.6666666666666667e-8,[3,-1,0,0,0,0,0],"mL/min","iso1000",true,null,null,1,false,false,0,"mL per min; milliliters; millilitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[false,"milliliter per minute per square meter","mL/min/m2","(ML/MIN)/M2","volume",1.6666666666666667e-8,[1,-1,0,0,0,0,0],"(mL/min)/(m<sup>2</sup>)","iso1000",true,null,null,1,false,false,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,false],[false,"milliliter per millimeter","mL/mm","ML/MM","volume",0.001,[2,0,0,0,0,0,0],"mL/mm","iso1000",true,null,null,1,false,false,0,"mL per mm; milliliters per millimeter; millilitres; millimetre","LOINC","Lineic Volume","Clinical","","l",null,"1",1,false],[false,"milliliter per second","mL/s","ML/S","volume",0.000001,[3,-1,0,0,0,0,0],"mL/s","iso1000",true,null,null,1,false,false,0,"ml/sec; mL per sec; milliliters per second; millilitres","LOINC","Vel; VelRat; VRat","Clinical","","l",null,"1",1,false],[true,"millimeter","mm","MM","length",0.001,[1,0,0,0,0,0,0],"mm",null,false,"L",null,1,false,false,0,"millimeters; millimetres; height; length; diameter; thickness; axis; curvature; size","LOINC","Len","Clinical","",null,null,null,null,false],[true,"millimeter per hour","mm/h","MM/HR","length",2.7777777777777776e-7,[1,-1,0,0,0,0,0],"mm/h",null,false,"L",null,1,false,false,0,"mm/hr; mm per hr; millimeters per hour; millimetres","LOINC","Vel","Clinical","unit to measure sedimentation rate",null,null,null,null,false],[true,"millimeter per minute","mm/min","MM/MIN","length",0.000016666666666666667,[1,-1,0,0,0,0,0],"mm/min",null,false,"L",null,1,false,false,0,"mm per min; millimeters per minute; millimetres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"millimeter of water","mm[H2O]","MM[H2O]","pressure",9806.65,[-1,-2,1,0,0,0,0],"mm\xa0HO<sub><r>2</r></sub>","clinical",true,null,null,1,false,false,0,"mmH2O; mm H2O; millimeters of water; millimetres","LOINC","Pres","Clinical","","kPa","KPAL","980665e-5",9.80665,false],[false,"millimeter of mercury","mm[Hg]","MM[HG]","pressure",133322,[-1,-2,1,0,0,0,0],"mm\xa0Hg","clinical",true,null,null,1,false,false,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,false],[true,"square millimeter","mm2","MM2","length",0.000001,[2,0,0,0,0,0,0],"mm<sup>2</sup>",null,false,"L",null,1,false,false,0,"mm^2; sq. mm.; sq. millimeters; millimeters squared; millimetres","LOINC","Area","Clinical","",null,null,null,null,false],[false,"millimole","mmol","MMOL","amount of substance",602213670000000000000,[0,0,0,0,0,0,0],"mmol","si",true,null,null,1,false,false,1,"millimoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per 12 hour","mmol/(12.h)","MMOL/HR","amount of substance",13940131250000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,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,false],[false,"millimole per 2 hour","mmol/(2.h)","MMOL/HR","amount of substance",83640787500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,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,false],[false,"millimole per 24 hour","mmol/(24.h)","MMOL/HR","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,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,false],[false,"millimole per 5 hour","mmol/(5.h)","MMOL/HR","amount of substance",33456315000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,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,false],[false,"millimole per 6 hour","mmol/(6.h)","MMOL/HR","amount of substance",27880262500000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,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,false],[false,"millimole per 8 hour","mmol/(8.h)","MMOL/HR","amount of substance",20910196875000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,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,false],[false,"millimole per day","mmol/d","MMOL/D","amount of substance",6970065625000000,[0,-1,0,0,0,0,0],"mmol/d","si",true,null,null,1,false,false,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,false],[false,"millimole per deciliter","mmol/dL","MMOL/DL","amount of substance",6.022136699999999e+24,[-3,0,0,0,0,0,0],"mmol/dL","si",true,null,null,1,false,false,1,"mmol per dL; millimoles; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per gram","mmol/g","MMOL/G","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mmol/g","si",true,null,null,1,false,false,1,"mmol per gram; millimoles","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per hour","mmol/h","MMOL/HR","amount of substance",167281575000000000,[0,-1,0,0,0,0,0],"mmol/h","si",true,null,null,1,false,false,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,false],[false,"millimole per kilogram","mmol/kg","MMOL/KG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"mmol/kg","si",true,null,null,1,false,false,1,"mmol per kg; millimoles per kilogram","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per kilogram per 8 hour","mmol/kg/(8.h)","(MMOL/KG)/HR","amount of substance",20910196875000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,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,false],[false,"millimole per kilogram per day","mmol/kg/d","(MMOL/KG)/D","amount of substance",6970065625000,[0,-1,-1,0,0,0,0],"(mmol/kg)/d","si",true,null,null,1,false,false,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,false],[false,"millimole per kilogram per hour","mmol/kg/h","(MMOL/KG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/h","si",true,null,null,1,false,false,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,false],[false,"millimole per kilogram per minute","mmol/kg/min","(MMOL/KG)/MIN","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(mmol/kg)/min","si",true,null,null,1,false,false,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,false],[false,"millimole per liter","mmol/L","MMOL/L","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mmol/L","si",true,null,null,1,false,false,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,false],[false,"millimole per square meter","mmol/m2","MMOL/M2","amount of substance",602213670000000000000,[-2,0,0,0,0,0,0],"mmol/(m<sup>2</sup>)","si",true,null,null,1,false,false,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,false],[false,"millimole per minute","mmol/min","MMOL/MIN","amount of substance",10036894500000000000,[0,-1,0,0,0,0,0],"mmol/min","si",true,null,null,1,false,false,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,false],[false,"millimole per millimole","mmol/mmol","MMOL/MMOL","amount of substance",1,[0,0,0,0,0,0,0],"mmol/mmol","si",true,null,null,1,false,false,0,"mmol per mmol; millimoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per mole","mmol/mol","MMOL/MOL","amount of substance",0.001,[0,0,0,0,0,0,0],"mmol/mol","si",true,null,null,1,false,false,0,"mmol per mol; millimoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"millimole per second per liter","mmol/s/L","(MMOL/S)/L","amount of substance",6.0221367e+23,[-3,-1,0,0,0,0,0],"(mmol/s)/L","si",true,null,null,1,false,false,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,false],[false,"mole per kilogram","mol/kg","MOL/KG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"mol/kg","si",true,null,null,1,false,false,1,"mol per kg; moles; mols","LOINC","SCnt","Clinical","unit for tests related to stool","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per kilogram per second","mol/kg/s","(MOL/KG)/S","amount of substance",602213670000000000000,[0,-1,-1,0,0,0,0],"(mol/kg)/s","si",true,null,null,1,false,false,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,false],[false,"mole per liter","mol/L","MOL/L","amount of substance",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"mol/L","si",true,null,null,1,false,false,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,false],[false,"mole per cubic meter","mol/m3","MOL/M3","amount of substance",6.0221367e+23,[-3,0,0,0,0,0,0],"mol/(m<sup>3</sup>)","si",true,null,null,1,false,false,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,false],[false,"mole per milliliter","mol/mL","MOL/ML","amount of substance",6.0221367e+29,[-3,0,0,0,0,0,0],"mol/mL","si",true,null,null,1,false,false,1,"mol per mL; moles; millilitre; mols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per mole","mol/mol","MOL/MOL","amount of substance",1,[0,0,0,0,0,0,0],"mol/mol","si",true,null,null,1,false,false,0,"mol per mol; moles per mol; mols","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"mole per second","mol/s","MOL/S","amount of substance",6.0221367e+23,[0,-1,0,0,0,0,0],"mol/s","si",true,null,null,1,false,false,1,"mol per sec; moles per second; mols","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"milliosmole","mosm","MOSM","amount of substance (dissolved particles)",602213670000000000000,[0,0,0,0,0,0,0],"mosm","chemical",true,null,null,1,false,false,1,"milliosmoles","LOINC","Osmol","Clinical","equal to 1/1000 of an osmole","mol","MOL","1",1,false],[false,"milliosmole per kilogram","mosm/kg","MOSM/KG","amount of substance (dissolved particles)",602213670000000000,[0,0,-1,0,0,0,0],"mosm/kg","chemical",true,null,null,1,false,false,1,"mosm per kg; milliosmoles per kilogram","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"milliosmole per liter","mosm/L","MOSM/L","amount of substance (dissolved particles)",6.0221367e+23,[-3,0,0,0,0,0,0],"mosm/L","chemical",true,null,null,1,false,false,1,"mosm per liter; litre; milliosmoles","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"millipascal","mPa","MPAL","pressure",1,[-1,-2,1,0,0,0,0],"mPa","si",true,null,null,1,false,false,0,"millipascals","LOINC","Pres","Clinical","unit of pressure","N/m2","N/M2","1",1,false],[false,"millipascal second","mPa.s","MPAL.S","pressure",1,[-1,-1,1,0,0,0,0],"mPa.s","si",true,null,null,1,false,false,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,false],[true,"megasecond","Ms","MAS","time",1000000,[0,1,0,0,0,0,0],"Ms",null,false,"T",null,1,false,false,0,"megaseconds","LOINC","Time","Clinical","",null,null,null,null,false],[true,"millisecond","ms","MS","time",0.001,[0,1,0,0,0,0,0],"ms",null,false,"T",null,1,false,false,0,"milliseconds; duration","LOINC","Time","Clinical","",null,null,null,null,false],[false,"milli enzyme unit per gram","mU/g","MU/G","catalytic activity",10036894500000,[0,-1,-1,0,0,0,0],"mU/g","chemical",true,null,null,1,false,false,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,false],[false,"milli enzyme unit per liter","mU/L","MU/L","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"mU/L","chemical",true,null,null,1,false,false,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,false],[false,"milli enzyme unit per milligram","mU/mg","MU/MG","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"mU/mg","chemical",true,null,null,1,false,false,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,false],[false,"milli enzyme unit per milliliter","mU/mL","MU/ML","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"mU/mL","chemical",true,null,null,1,false,false,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,false],[false,"milli enzyme unit per milliliter per minute","mU/mL/min","(MU/ML)/MIN","catalytic activity",167281575000000000,[-3,-2,0,0,0,0,0],"(mU/mL)/min","chemical",true,null,null,1,false,false,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,false],[false,"millivolt","mV","MV","electric potential",1,[2,-2,1,0,0,-1,0],"mV","si",true,null,null,1,false,false,0,"millivolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false],[false,"Newton centimeter","N.cm","N.CM","force",10,[2,-2,1,0,0,0,0],"N.cm","si",true,null,null,1,false,false,0,"N*cm; Ncm; N cm; Newton*centimeters; Newton* centimetres; torque; work","LOINC","","Clinical","as a measurement of work, N.cm = 1/100 Joules;\\nnote 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,false],[false,"Newton second","N.s","N.S","force",1000,[1,-1,1,0,0,0,0],"N.s","si",true,null,null,1,false,false,0,"Newton*seconds; N*s; N s; Ns; impulse; imp","LOINC","","Clinical","standard unit of impulse","kg.m/s2","KG.M/S2","1",1,false],[true,"nanogram","ng","NG","mass",1e-9,[0,0,1,0,0,0,0],"ng",null,false,"M",null,1,false,false,0,"nanograms","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"nanogram per 24 hour","ng/(24.h)","NG/HR","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/24hrs; ng/24 hrs; nanograms per 24 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per 8 hour","ng/(8.h)","NG/HR","mass",3.4722222222222224e-14,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/8hrs; ng/8 hrs; nanograms per 8 hours","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per million","ng/10*6","NG/(10*6)","mass",1e-15,[0,0,1,0,0,0,0],"ng/(10<sup>6</sup>)",null,false,"M",null,1,false,false,0,"ng/10^6; ng per 10*6; 10^6; nanograms","LOINC","MNum","Clinical","",null,null,null,null,false],[true,"nanogram per day","ng/d","NG/D","mass",1.1574074074074075e-14,[0,-1,1,0,0,0,0],"ng/d",null,false,"M",null,1,false,false,0,"ng/dy; ng per day; nanograms ","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per deciliter","ng/dL","NG/DL","mass",0.00001,[-3,0,1,0,0,0,0],"ng/dL",null,false,"M",null,1,false,false,0,"ng per dL; nanograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per gram","ng/g","NG/G","mass",1e-9,[0,0,0,0,0,0,0],"ng/g",null,false,"M",null,1,false,false,0,"ng/gm; ng per gm; nanograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per hour","ng/h","NG/HR","mass",2.777777777777778e-13,[0,-1,1,0,0,0,0],"ng/h",null,false,"M",null,1,false,false,0,"ng/hr; ng per hr; nanograms per hour","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per kilogram","ng/kg","NG/KG","mass",1e-12,[0,0,0,0,0,0,0],"ng/kg",null,false,"M",null,1,false,false,0,"ng per kg; nanograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per kilogram per 8 hour","ng/kg/(8.h)","(NG/KG)/HR","mass",3.472222222222222e-17,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,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,false],[true,"nanogram per kilogram per hour","ng/kg/h","(NG/KG)/HR","mass",2.7777777777777775e-16,[0,-1,0,0,0,0,0],"(ng/kg)/h",null,false,"M",null,1,false,false,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,false],[true,"nanogram per kilogram per minute","ng/kg/min","(NG/KG)/MIN","mass",1.6666666666666667e-14,[0,-1,0,0,0,0,0],"(ng/kg)/min",null,false,"M",null,1,false,false,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,false],[true,"nanogram per liter","ng/L","NG/L","mass",0.000001,[-3,0,1,0,0,0,0],"ng/L",null,false,"M",null,1,false,false,0,"ng per L; nanograms per liter; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per square meter","ng/m2","NG/M2","mass",1e-9,[-2,0,1,0,0,0,0],"ng/(m<sup>2</sup>)",null,false,"M",null,1,false,false,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,false],[true,"nanogram per milligram","ng/mg","NG/MG","mass",0.000001,[0,0,0,0,0,0,0],"ng/mg",null,false,"M",null,1,false,false,0,"ng per mg; nanograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"nanogram per milligram per hour","ng/mg/h","(NG/MG)/HR","mass",2.7777777777777777e-10,[0,-1,0,0,0,0,0],"(ng/mg)/h",null,false,"M",null,1,false,false,0,"ng/mg/hr; ng per mg per hr; nanograms per milligrams per hour","LOINC","MRtoRat ","Clinical","",null,null,null,null,false],[true,"nanogram per minute","ng/min","NG/MIN","mass",1.6666666666666667e-11,[0,-1,1,0,0,0,0],"ng/min",null,false,"M",null,1,false,false,0,"ng per min; nanograms","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per millliiter","ng/mL","NG/ML","mass",0.001,[-3,0,1,0,0,0,0],"ng/mL",null,false,"M",null,1,false,false,0,"ng per mL; nanograms; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"nanogram per milliliter per hour","ng/mL/h","(NG/ML)/HR","mass",2.7777777777777776e-7,[-3,-1,1,0,0,0,0],"(ng/mL)/h",null,false,"M",null,1,false,false,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,false],[true,"nanogram per second","ng/s","NG/S","mass",1e-9,[0,-1,1,0,0,0,0],"ng/s",null,false,"M",null,1,false,false,0,"ng/sec; ng per sec; nanograms per second","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"nanogram per enzyme unit","ng/U","NG/U","mass",9.963241120049634e-26,[0,1,1,0,0,0,0],"ng/U",null,false,"M",null,1,false,false,-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,false],[false,"nanokatal","nkat","NKAT","catalytic activity",602213670000000,[0,-1,0,0,0,0,0],"nkat","chemical",true,null,null,1,false,false,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,false],[false,"nanoliter","nL","NL","volume",1.0000000000000002e-12,[3,0,0,0,0,0,0],"nL","iso1000",true,null,null,1,false,false,0,"nanoliters; nanolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"nanometer","nm","NM","length",1e-9,[1,0,0,0,0,0,0],"nm",null,false,"L",null,1,false,false,0,"nanometers; nanometres","LOINC","Len","Clinical","",null,null,null,null,false],[true,"nanometer per second per liter","nm/s/L","(NM/S)/L","length",0.000001,[-2,-1,0,0,0,0,0],"(nm/s)/L",null,false,"L",null,1,false,false,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,false],[false,"nanomole","nmol","NMOL","amount of substance",602213670000000,[0,0,0,0,0,0,0],"nmol","si",true,null,null,1,false,false,1,"nanomoles","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per 24 hour","nmol/(24.h)","NMOL/HR","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/h","si",true,null,null,1,false,false,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,false],[false,"nanomole per day","nmol/d","NMOL/D","amount of substance",6970065625,[0,-1,0,0,0,0,0],"nmol/d","si",true,null,null,1,false,false,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,false],[false,"nanomole per deciliter","nmol/dL","NMOL/DL","amount of substance",6022136700000000000,[-3,0,0,0,0,0,0],"nmol/dL","si",true,null,null,1,false,false,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,false],[false,"nanomole per gram","nmol/g","NMOL/G","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"nmol/g","si",true,null,null,1,false,false,1,"nmol per gram; nanomoles per gram; nanomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per hour per liter","nmol/h/L","(NMOL/HR)/L","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(nmol/h)/L","si",true,null,null,1,false,false,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,false],[false,"nanomole per liter","nmol/L","NMOL/L","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"nmol/L","si",true,null,null,1,false,false,1,"nmol per L; nanomoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram","nmol/mg","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nmol per mg; nanomoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milligram per hour","nmol/mg/h","(NMOL/MG)/HR","amount of substance",167281575000000,[0,-1,-1,0,0,0,0],"(nmol/mg)/h","si",true,null,null,1,false,false,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,false],[false,"nanomole per milligram of protein","nmol/mg{prot}","NMOL/MG","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"nmol/mg","si",true,null,null,1,false,false,1,"nanomoles; nmol/mg prot; nmol per mg prot","LOINC","Ratio; CCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per minute","nmol/min","NMOL/MIN","amount of substance",10036894500000,[0,-1,0,0,0,0,0],"nmol/min","si",true,null,null,1,false,false,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,false],[false,"nanomole per minute per milliliter","nmol/min/mL","(NMOL/MIN)/ML","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/min)/mL","si",true,null,null,1,false,false,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,false],[false,"nanomole per milliliter","nmol/mL","NMOL/ML","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"nmol/mL","si",true,null,null,1,false,false,1,"nmol per mL; nanomoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per milliliter per hour","nmol/mL/h","(NMOL/ML)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/h","si",true,null,null,1,false,false,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,false],[false,"nanomole per milliliter per minute","nmol/mL/min","(NMOL/ML)/MIN","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(nmol/mL)/min","si",true,null,null,1,false,false,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,false],[false,"nanomole per millimole","nmol/mmol","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nmol per mmol; nanomoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per millimole of creatinine","nmol/mmol{creat}","NMOL/MMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"nmol/mmol","si",true,null,null,1,false,false,0,"nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per mole","nmol/mol","NMOL/MOL","amount of substance",1e-9,[0,0,0,0,0,0,0],"nmol/mol","si",true,null,null,1,false,false,0,"nmol per mole; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per nanomole","nmol/nmol","NMOL/NMOL","amount of substance",1,[0,0,0,0,0,0,0],"nmol/nmol","si",true,null,null,1,false,false,0,"nmol per nmol; nanomoles","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"nanomole per second","nmol/s","NMOL/S","amount of substance",602213670000000,[0,-1,0,0,0,0,0],"nmol/s","si",true,null,null,1,false,false,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,false],[false,"nanomole per second per liter","nmol/s/L","(NMOL/S)/L","amount of substance",602213670000000000,[-3,-1,0,0,0,0,0],"(nmol/s)/L","si",true,null,null,1,false,false,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,false],[true,"nanosecond","ns","NS","time",1e-9,[0,1,0,0,0,0,0],"ns",null,false,"T",null,1,false,false,0,"nanoseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"nanoenzyme unit per milliliter","nU/mL","NU/ML","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"nU/mL","chemical",true,null,null,1,false,false,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,false],[false,"Ohm meter","Ohm.m","OHM.M","electric resistance",1000,[3,-1,1,0,0,-2,0],"\u03a9.m","si",true,null,null,1,false,false,0,"electric resistivity; meters; metres","LOINC","","Clinical","unit of electric resistivity","V/A","V/A","1",1,false],[false,"osmole per kilogram","osm/kg","OSM/KG","amount of substance (dissolved particles)",602213670000000000000,[0,0,-1,0,0,0,0],"osm/kg","chemical",true,null,null,1,false,false,1,"osm per kg; osmoles per kilogram; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"osmole per liter","osm/L","OSM/L","amount of substance (dissolved particles)",6.0221366999999994e+26,[-3,0,0,0,0,0,0],"osm/L","chemical",true,null,null,1,false,false,1,"osm per L; osmoles per liter; litre; osmols","LOINC","Osmol","Clinical","","mol","MOL","1",1,false],[false,"picoampere","pA","PA","electric current",1e-12,[0,-1,0,0,0,1,0],"pA","si",true,null,null,1,false,false,0,"picoamperes","LOINC","","Clinical","equal to 10^-12 amperes","C/s","C/S","1",1,false],[true,"picogram","pg","PG","mass",1e-12,[0,0,1,0,0,0,0],"pg",null,false,"M",null,1,false,false,0,"picograms","LOINC","Mass; EntMass","Clinical","",null,null,null,null,false],[true,"picogram per deciliter","pg/dL","PG/DL","mass",9.999999999999999e-9,[-3,0,1,0,0,0,0],"pg/dL",null,false,"M",null,1,false,false,0,"pg per dL; picograms; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per liter","pg/L","PG/L","mass",1e-9,[-3,0,1,0,0,0,0],"pg/L",null,false,"M",null,1,false,false,0,"pg per L; picograms; litre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per milligram","pg/mg","PG/MG","mass",1e-9,[0,0,0,0,0,0,0],"pg/mg",null,false,"M",null,1,false,false,0,"pg per mg; picograms","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"picogram per milliliter","pg/mL","PG/ML","mass",0.000001,[-3,0,1,0,0,0,0],"pg/mL",null,false,"M",null,1,false,false,0,"pg per mL; picograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"picogram per millimeter","pg/mm","PG/MM","mass",1e-9,[-1,0,1,0,0,0,0],"pg/mm",null,false,"M",null,1,false,false,0,"pg per mm; picogram/millimeter; picogram/millimetre; picograms per millimeter; millimetre","LOINC","Lineic Mass","Clinical","",null,null,null,null,false],[false,"picokatal","pkat","PKAT","catalytic activity",602213670000,[0,-1,0,0,0,0,0],"pkat","chemical",true,null,null,1,false,false,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,false],[false,"picoliter","pL","PL","volume",1e-15,[3,0,0,0,0,0,0],"pL","iso1000",true,null,null,1,false,false,0,"picoliters; picolitres","LOINC","Vol","Clinical","","l",null,"1",1,false],[true,"picometer","pm","PM","length",1e-12,[1,0,0,0,0,0,0],"pm",null,false,"L",null,1,false,false,0,"picometers; picometres","LOINC","Len","Clinical","",null,null,null,null,false],[false,"picomole","pmol","PMOL","amount of substance",602213670000,[0,0,0,0,0,0,0],"pmol","si",true,null,null,1,false,false,1,"picomoles; pmols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per 24 hour","pmol/(24.h)","PMOL/HR","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/h","si",true,null,null,1,false,false,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,false],[false,"picomole per day","pmol/d","PMOL/D","amount of substance",6970065.625,[0,-1,0,0,0,0,0],"pmol/d","si",true,null,null,1,false,false,1,"pmol/dy; pmol per day; 24 hours; 24hrs; 24 hrs; picomoles","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per deciliter","pmol/dL","PMOL/DL","amount of substance",6022136700000000,[-3,0,0,0,0,0,0],"pmol/dL","si",true,null,null,1,false,false,1,"pmol per dL; picomoles per deciliter; decilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per gram","pmol/g","PMOL/G","amount of substance",602213670000,[0,0,-1,0,0,0,0],"pmol/g","si",true,null,null,1,false,false,1,"pmol per gm; picomoles per gram; picomole/gram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per hour per milliliter ","pmol/h/mL","(PMOL/HR)/ML","amount of substance",167281575000000,[-3,-1,0,0,0,0,0],"(pmol/h)/mL","si",true,null,null,1,false,false,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,false],[false,"picomole per liter","pmol/L","PMOL/L","amount of substance",602213670000000,[-3,0,0,0,0,0,0],"pmol/L","si",true,null,null,1,false,false,1,"picomole/liter; pmol per L; picomoles; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per minute","pmol/min","PMOL/MIN","amount of substance",10036894500,[0,-1,0,0,0,0,0],"pmol/min","si",true,null,null,1,false,false,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,false],[false,"picomole per milliliter","pmol/mL","PMOL/ML","amount of substance",602213670000000000,[-3,0,0,0,0,0,0],"pmol/mL","si",true,null,null,1,false,false,1,"picomole/milliliter; picomole/millilitre; pmol per mL; picomoles; millilitre; picomols; pmols","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"picomole per micromole","pmol/umol","PMOL/UMOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"pmol/\u03bcmol","si",true,null,null,1,false,false,0,"pmol/mcgmol; picomole/micromole; pmol per umol; pmol per mcgmol; picomoles ","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[true,"picosecond","ps","PS","time",1e-12,[0,1,0,0,0,0,0],"ps",null,false,"T",null,1,false,false,0,"picoseconds; psec","LOINC","Time","Clinical","",null,null,null,null,false],[false,"picotesla","pT","PT","magnetic flux density",1e-9,[0,-1,1,0,0,-1,0],"pT","si",true,null,null,1,false,false,0,"picoteslas","LOINC","","Clinical","SI unit of magnetic field strength for magnetic field B","Wb/m2","WB/M2","1",1,false],[false,"enzyme unit per 12 hour","U/(12.h)","U/HR","catalytic activity",232335520833.33334,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per 2 hour","U/(2.h)","U/HR","catalytic activity",1394013125000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per 24 hour","U/(24.h)","U/HR","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per 10","U/10","U","catalytic activity",1003689450000000,[0,-1,0,0,0,0,0],"U","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per 10 billion","U/10*10","U/(10*10)","catalytic activity",1003689.45,[0,-1,0,0,0,0,0],"U/(10<sup>10</sup>)","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per trillion","U/10*12","U/(10*12)","catalytic activity",10036.8945,[0,-1,0,0,0,0,0],"U/(10<sup>12</sup>)","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per million","U/10*6","U/(10*6)","catalytic activity",10036894500,[0,-1,0,0,0,0,0],"U/(10<sup>6</sup>)","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per billion","U/10*9","U/(10*9)","catalytic activity",10036894.5,[0,-1,0,0,0,0,0],"U/(10<sup>9</sup>)","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per day","U/d","U/D","catalytic activity",116167760416.66667,[0,-2,0,0,0,0,0],"U/d","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per deciliter","U/dL","U/DL","catalytic activity",100368945000000000000,[-3,-1,0,0,0,0,0],"U/dL","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per gram","U/g","U/G","catalytic activity",10036894500000000,[0,-1,-1,0,0,0,0],"U/g","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per hour","U/h","U/HR","catalytic activity",2788026250000,[0,-2,0,0,0,0,0],"U/h","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per liter","U/L","U/L","catalytic activity",10036894500000000000,[-3,-1,0,0,0,0,0],"U/L","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per minute","U/min","U/MIN","catalytic activity",167281575000000,[0,-2,0,0,0,0,0],"U/min","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per milliliter","U/mL","U/ML","catalytic activity",1.00368945e+22,[-3,-1,0,0,0,0,0],"U/mL","chemical",true,null,null,1,false,false,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,false],[false,"enzyme unit per second","U/s","U/S","catalytic activity",10036894500000000,[0,-2,0,0,0,0,0],"U/s","chemical",true,null,null,1,false,false,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,false],[false,"micro international unit","u[IU]","U[IU]","arbitrary",0.000001,[0,0,0,0,0,0,0],"\u03bci.U.","chemical",true,null,null,1,false,true,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,false],[false,"micro international unit per liter","u[IU]/L","U[IU]/L","arbitrary",0.001,[-3,0,0,0,0,0,0],"(\u03bci.U.)/L","chemical",true,null,null,1,false,true,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,false],[false,"micro international unit per milliliter","u[IU]/mL","U[IU]/ML","arbitrary",1,[-3,0,0,0,0,0,0],"(\u03bci.U.)/mL","chemical",true,null,null,1,false,true,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,false],[false,"microequivalent","ueq","UEQ","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bceq","chemical",true,null,null,1,false,false,1,"microequivalents; 10^-6 equivalents; 10-6 equivalents","LOINC","Sub","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per liter","ueq/L","UEQ/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bceq/L","chemical",true,null,null,1,false,false,1,"ueq per liter; litre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[false,"microequivalent per milliliter","ueq/mL","UEQ/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bceq/mL","chemical",true,null,null,1,false,false,1,"ueq per milliliter; millilitre; microequivalents","LOINC","MCnc","Clinical","","mol","MOL","1",1,false],[true,"microgram","ug","UG","mass",0.000001,[0,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,"mcg; micrograms; 10^-6 grams; 10-6 grams","LOINC","Mass","Clinical","",null,null,null,null,false],[true,"microgram per 100 gram","ug/(100.g)","UG/G","mass",1e-8,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,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,false],[true,"microgram per 24 hour","ug/(24.h)","UG/HR","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,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,false],[true,"microgram per 8 hour","ug/(8.h)","UG/HR","mass",3.472222222222222e-11,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,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,false],[true,"microgram per square foot (international)","ug/[sft_i]","UG/[SFT_I]","mass",0.000010763910416709721,[-2,0,1,0,0,0,0],"\u03bcg",null,false,"M",null,1,false,false,0,"ug/sft; ug/ft2; ug/ft^2; ug/sq. ft; micrograms; sq. foot; foot squared","LOINC","ArMass","Clinical","",null,null,null,null,false],[true,"microgram per day","ug/d","UG/D","mass",1.1574074074074074e-11,[0,-1,1,0,0,0,0],"\u03bcg/d",null,false,"M",null,1,false,false,0,"ug/dy; mcg/dy; ug per day; mcg; micrograms per day","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per deciliter","ug/dL","UG/DL","mass",0.009999999999999998,[-3,0,1,0,0,0,0],"\u03bcg/dL",null,false,"M",null,1,false,false,0,"ug per dL; mcg/dl; mcg per dl; micrograms per deciliter; decilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per gram","ug/g","UG/G","mass",0.000001,[0,0,0,0,0,0,0],"\u03bcg/g",null,false,"M",null,1,false,false,0,"ug per gm; mcg/gm; mcg per g; micrograms per gram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per hour","ug/h","UG/HR","mass",2.7777777777777777e-10,[0,-1,1,0,0,0,0],"\u03bcg/h",null,false,"M",null,1,false,false,0,"ug/hr; mcg/hr; mcg per hr; ug per hr; ug per hour; micrograms","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per kilogram","ug/kg","UG/KG","mass",9.999999999999999e-10,[0,0,0,0,0,0,0],"\u03bcg/kg",null,false,"M",null,1,false,false,0,"ug per kg; mcg/kg; mcg per kg; micrograms per kilogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per kilogram per 8 hour","ug/kg/(8.h)","(UG/KG)/HR","mass",3.472222222222222e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,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,false],[true,"microgram per kilogram per day","ug/kg/d","(UG/KG)/D","mass",1.1574074074074072e-14,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/d",null,false,"M",null,1,false,false,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,false],[true,"microgram per kilogram per hour","ug/kg/h","(UG/KG)/HR","mass",2.7777777777777774e-13,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/h",null,false,"M",null,1,false,false,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,false],[true,"microgram per kilogram per minute","ug/kg/min","(UG/KG)/MIN","mass",1.6666666666666664e-11,[0,-1,0,0,0,0,0],"(\u03bcg/kg)/min",null,false,"M",null,1,false,false,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,false],[true,"microgram per liter","ug/L","UG/L","mass",0.001,[-3,0,1,0,0,0,0],"\u03bcg/L",null,false,"M",null,1,false,false,0,"mcg/L; ug per L; mcg; micrograms per liter; litre ","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per liter per 24 hour","ug/L/(24.h)","(UG/L)/HR","mass",1.1574074074074074e-8,[-3,-1,1,0,0,0,0],"(\u03bcg/L)/h",null,false,"M",null,1,false,false,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,false],[true,"microgram per square meter","ug/m2","UG/M2","mass",0.000001,[-2,0,1,0,0,0,0],"\u03bcg/(m<sup>2</sup>)",null,false,"M",null,1,false,false,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,false],[true,"microgram per cubic meter","ug/m3","UG/M3","mass",0.000001,[-3,0,1,0,0,0,0],"\u03bcg/(m<sup>3</sup>)",null,false,"M",null,1,false,false,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,false],[true,"microgram per milligram","ug/mg","UG/MG","mass",0.001,[0,0,0,0,0,0,0],"\u03bcg/mg",null,false,"M",null,1,false,false,0,"ug per mg; mcg/mg; mcg per mg; micromilligrams per milligram","LOINC","MCnt","Clinical","",null,null,null,null,false],[true,"microgram per minute","ug/min","UG/MIN","mass",1.6666666666666667e-8,[0,-1,1,0,0,0,0],"\u03bcg/min",null,false,"M",null,1,false,false,0,"ug per min; mcg/min; mcg per min; microminutes per minute","LOINC","MRat","Clinical","",null,null,null,null,false],[true,"microgram per milliliter","ug/mL","UG/ML","mass",1,[-3,0,1,0,0,0,0],"\u03bcg/mL",null,false,"M",null,1,false,false,0,"ug per mL; mcg/mL; mcg per mL; micrograms per milliliter; millilitre","LOINC","MCnc","Clinical","",null,null,null,null,false],[true,"microgram per millimole","ug/mmol","UG/MMOL","mass",1.660540186674939e-27,[0,0,1,0,0,0,0],"\u03bcg/mmol",null,false,"M",null,1,false,false,-1,"ug per mmol; mcg/mmol; mcg per mmol; micrograms per millimole","LOINC","Ratio","Clinical","",null,null,null,null,false],[true,"microgram per nanogram","ug/ng","UG/NG","mass",999.9999999999999,[0,0,0,0,0,0,0],"\u03bcg/ng",null,false,"M",null,1,false,false,0,"ug per ng; mcg/ng; mcg per ng; micrograms per nanogram","LOINC","MCnt","Clinical","",null,null,null,null,false],[false,"microkatal","ukat","UKAT","catalytic activity",602213670000000000,[0,-1,0,0,0,0,0],"\u03bckat","chemical",true,null,null,1,false,false,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,false],[false,"microliter","uL","UL","volume",1e-9,[3,0,0,0,0,0,0],"\u03bcL","iso1000",true,null,null,1,false,false,0,"microliters; microlitres; mcl","LOINC","Vol","Clinical","","l",null,"1",1,false],[false,"microliter per 2 hour","uL/(2.h)","UL/HR","volume",1.388888888888889e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,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,false],[false,"microliter per hour","uL/h","UL/HR","volume",2.777777777777778e-13,[3,-1,0,0,0,0,0],"\u03bcL/h","iso1000",true,null,null,1,false,false,0,"uL/hr; mcg/hr; mcg per hr; uL per hr; microliters per hour; microlitres","LOINC","VRat","Clinical","","l",null,"1",1,false],[true,"micrometer","um","UM","length",0.000001,[1,0,0,0,0,0,0],"\u03bcm",null,false,"L",null,1,false,false,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,false],[true,"microns per second","um/s","UM/S","length",0.000001,[1,-1,0,0,0,0,0],"\u03bcm/s",null,false,"L",null,1,false,false,0,"um/sec; micron/second; microns/second; um per sec; micrometers per second; micrometres","LOINC","Vel","Clinical","",null,null,null,null,false],[false,"micromole","umol","UMOL","amount of substance",602213670000000000,[0,0,0,0,0,0,0],"\u03bcmol","si",true,null,null,1,false,false,1,"micromoles; umols","LOINC","Sub","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per 2 hour","umol/(2.h)","UMOL/HR","amount of substance",83640787500000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,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,false],[false,"micromole per 24 hour","umol/(24.h)","UMOL/HR","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,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,false],[false,"micromole per 8 hour","umol/(8.h)","UMOL/HR","amount of substance",20910196875000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,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,false],[false,"micromole per day","umol/d","UMOL/D","amount of substance",6970065625000,[0,-1,0,0,0,0,0],"\u03bcmol/d","si",true,null,null,1,false,false,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,false],[false,"micromole per deciliter","umol/dL","UMOL/DL","amount of substance",6.0221367e+21,[-3,0,0,0,0,0,0],"\u03bcmol/dL","si",true,null,null,1,false,false,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,false],[false,"micromole per gram","umol/g","UMOL/G","amount of substance",602213670000000000,[0,0,-1,0,0,0,0],"\u03bcmol/g","si",true,null,null,1,false,false,1,"micromole/gram; umol per g; micromoles per gram","LOINC","SCnt; Ratio","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per hour","umol/h","UMOL/HR","amount of substance",167281575000000,[0,-1,0,0,0,0,0],"\u03bcmol/h","si",true,null,null,1,false,false,1,"umol/hr; umol per hr; umol per hour; micromoles per hours","LOINC","SRat","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per kilogram","umol/kg","UMOL/KG","amount of substance",602213670000000,[0,0,-1,0,0,0,0],"\u03bcmol/kg","si",true,null,null,1,false,false,1,"umol per kg; micromoles per kilogram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter","umol/L","UMOL/L","amount of substance",602213670000000000000,[-3,0,0,0,0,0,0],"\u03bcmol/L","si",true,null,null,1,false,false,1,"micromole/liter; micromole/litre; umol per liter; micromoles per liter; litre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per liter per hour","umol/L/h","(UMOL/L)/HR","amount of substance",167281575000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/L)/h","si",true,null,null,1,false,false,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,false],[false,"micromole per milligram","umol/mg","UMOL/MG","amount of substance",602213670000000000000,[0,0,-1,0,0,0,0],"\u03bcmol/mg","si",true,null,null,1,false,false,1,"micromole/milligram; umol per mg; micromoles per milligram","LOINC","SCnt","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per minute","umol/min","UMOL/MIN","amount of substance",10036894500000000,[0,-1,0,0,0,0,0],"\u03bcmol/min","si",true,null,null,1,false,false,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,false],[false,"micromole per minute per gram","umol/min/g","(UMOL/MIN)/G","amount of substance",10036894500000000,[0,-1,-1,0,0,0,0],"(\u03bcmol/min)/g","si",true,null,null,1,false,false,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,false],[false,"micromole per minute per liter","umol/min/L","(UMOL/MIN)/L","amount of substance",10036894500000000000,[-3,-1,0,0,0,0,0],"(\u03bcmol/min)/L","si",true,null,null,1,false,false,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,false],[false,"micromole per milliliter","umol/mL","UMOL/ML","amount of substance",6.0221367000000003e+23,[-3,0,0,0,0,0,0],"\u03bcmol/mL","si",true,null,null,1,false,false,1,"umol per mL; micromoles per milliliter; millilitre","LOINC","SCnc","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per milliliter per minute","umol/mL/min","(UMOL/ML)/MIN","amount of substance",1.00368945e+22,[-3,-1,0,0,0,0,0],"(\u03bcmol/mL)/min","si",true,null,null,1,false,false,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,false],[false,"micromole per millimole","umol/mmol","UMOL/MMOL","amount of substance",0.001,[0,0,0,0,0,0,0],"\u03bcmol/mmol","si",true,null,null,1,false,false,0,"umol per mmol; micromoles per millimole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per mole","umol/mol","UMOL/MOL","amount of substance",0.000001,[0,0,0,0,0,0,0],"\u03bcmol/mol","si",true,null,null,1,false,false,0,"umol per mol; micromoles per mole","LOINC","SRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"micromole per micromole","umol/umol","UMOL/UMOL","amount of substance",1,[0,0,0,0,0,0,0],"\u03bcmol/\u03bcmol","si",true,null,null,1,false,false,0,"umol per umol; micromoles per micromole","LOINC","Srto; SFr; EntSRto","Clinical","","10*23","10*23","6.0221367",6.0221367,false],[false,"microOhm","uOhm","UOHM","electric resistance",0.001,[2,-1,1,0,0,-2,0],"\u03bc\u03a9","si",true,null,null,1,false,false,0,"microOhms; \xb5\u03a9","LOINC","","Clinical","unit of electric resistance","V/A","V/A","1",1,false],[true,"microsecond","us","US","time",0.000001,[0,1,0,0,0,0,0],"\u03bcs",null,false,"T",null,1,false,false,0,"microseconds","LOINC","Time","Clinical","",null,null,null,null,false],[false,"micro enzyme unit per gram","uU/g","UU/G","catalytic activity",10036894500,[0,-1,-1,0,0,0,0],"\u03bcU/g","chemical",true,null,null,1,false,false,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,false],[false,"micro enzyme unit per liter","uU/L","UU/L","catalytic activity",10036894500000,[-3,-1,0,0,0,0,0],"\u03bcU/L","chemical",true,null,null,1,false,false,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,false],[false,"micro enzyme unit per milliliter","uU/mL","UU/ML","catalytic activity",10036894500000000,[-3,-1,0,0,0,0,0],"\u03bcU/mL","chemical",true,null,null,1,false,false,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,false],[false,"microvolt","uV","UV","electric potential",0.001,[2,-2,1,0,0,-1,0],"\u03bcV","si",true,null,null,1,false,false,0,"microvolts","LOINC","Elpot","Clinical","unit of electric potential (voltage)","J/C","J/C","1",1,false]]}}')}},Q=>{Q(Q.s=7944)}]);
|
|
2472
|
-
|
|
2472
|
+
|
|
2473
|
+
//# sourceMappingURL=lhc-forms.js.map
|