@entryscape/rdforms 10.10.0 → 10.10.1

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.
@@ -24,14 +24,14 @@
24
24
  */
25
25
  function(e){var t,n,o,r,i,a,s,l,c,d,u,f,b,p,m,g,h,v,y,w="sizzle"+1*new Date,x=e.document,k=0,_=0,C=le(),T=le(),O=le(),E=le(),S=function(e,t){return e===t&&(u=!0),0},D={}.hasOwnProperty,j=[],N=j.pop,A=j.push,I=j.push,M=j.slice,L=function(e,t){for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",z="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\["+R+"*("+z+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+z+"))|)"+R+"*\\]",B=":("+z+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",V=new RegExp(R+"+","g"),Y=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),$=new RegExp("^"+R+"*,"+R+"*"),U=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),H=new RegExp(R+"|>"),G=new RegExp(B),W=new RegExp("^"+z+"$"),q={ID:new RegExp("^#("+z+")"),CLASS:new RegExp("^\\.("+z+")"),TAG:new RegExp("^("+z+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},oe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){f()},ae=we((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{I.apply(j=M.call(x.childNodes),x.childNodes),j[x.childNodes.length].nodeType}catch(e){I={apply:j.length?function(e,t){A.apply(e,M.call(t))}:function(e,t){for(var n=e.length,o=0;e[n++]=t[o++];);e.length=n-1}}}function se(e,t,o,r){var i,s,c,d,u,p,h,v=t&&t.ownerDocument,x=t?t.nodeType:9;if(o=o||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return o;if(!r&&(f(t),t=t||b,m)){if(11!==x&&(u=J.exec(e)))if(i=u[1]){if(9===x){if(!(c=t.getElementById(i)))return o;if(c.id===i)return o.push(c),o}else if(v&&(c=v.getElementById(i))&&y(t,c)&&c.id===i)return o.push(c),o}else{if(u[2])return I.apply(o,t.getElementsByTagName(e)),o;if((i=u[3])&&n.getElementsByClassName&&t.getElementsByClassName)return I.apply(o,t.getElementsByClassName(i)),o}if(n.qsa&&!E[e+" "]&&(!g||!g.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(h=e,v=t,1===x&&(H.test(e)||U.test(e))){for((v=ee.test(e)&&he(t.parentNode)||t)===t&&n.scope||((d=t.getAttribute("id"))?d=d.replace(oe,re):t.setAttribute("id",d=w)),s=(p=a(e)).length;s--;)p[s]=(d?"#"+d:":scope")+" "+ye(p[s]);h=p.join(",")}try{return I.apply(o,v.querySelectorAll(h)),o}catch(t){E(e,!0)}finally{d===w&&t.removeAttribute("id")}}}return l(e.replace(Y,"$1"),t,o,r)}function le(){var e=[];return function t(n,r){return e.push(n+" ")>o.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ce(e){return e[w]=!0,e}function de(e){var t=b.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),r=n.length;r--;)o.attrHandle[n[r]]=t}function fe(e,t){var n=t&&e,o=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(o)return o;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function be(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce((function(t){return t=+t,ce((function(n,o){for(var r,i=e([],n.length,t),a=i.length;a--;)n[r=i[a]]&&(n[r]=!(o[r]=n[r]))}))}))}function he(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Q.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,r,a=e?e.ownerDocument||e:x;return a!=b&&9===a.nodeType&&a.documentElement?(p=(b=a).documentElement,m=!i(b),x!=b&&(r=b.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ie,!1):r.attachEvent&&r.attachEvent("onunload",ie)),n.scope=de((function(e){return p.appendChild(e).appendChild(b.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.cssHas=de((function(){try{return b.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),n.attributes=de((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=de((function(e){return e.appendChild(b.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(b.getElementsByClassName),n.getById=de((function(e){return p.appendChild(e).id=w,!b.getElementsByName||!b.getElementsByName(w).length})),n.getById?(o.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},o.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(o.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},o.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,o,r,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(r=t.getElementsByName(e),o=0;i=r[o++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),o.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,o=[],r=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[r++];)1===n.nodeType&&o.push(n);return o}return i},o.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},h=[],g=[],(n.qsa=K.test(b.querySelectorAll))&&(de((function(e){var t;p.appendChild(e).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+w+"-]").length||g.push("~="),(t=b.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+R+"*name"+R+"*="+R+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),de((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=b.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=K.test(v=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&de((function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),h.push("!=",B)})),n.cssHas||g.push(":has"),g=g.length&&new RegExp(g.join("|")),h=h.length&&new RegExp(h.join("|")),t=K.test(p.compareDocumentPosition),y=t||K.test(p.contains)?function(e,t){var n=9===e.nodeType&&e.documentElement||e,o=t&&t.parentNode;return e===o||!(!o||1!==o.nodeType||!(n.contains?n.contains(o):e.compareDocumentPosition&&16&e.compareDocumentPosition(o)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return u=!0,0;var o=!e.compareDocumentPosition-!t.compareDocumentPosition;return o||(1&(o=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===o?e==b||e.ownerDocument==x&&y(x,e)?-1:t==b||t.ownerDocument==x&&y(x,t)?1:d?L(d,e)-L(d,t):0:4&o?-1:1)}:function(e,t){if(e===t)return u=!0,0;var n,o=0,r=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!r||!i)return e==b?-1:t==b?1:r?-1:i?1:d?L(d,e)-L(d,t):0;if(r===i)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[o]===s[o];)o++;return o?fe(a[o],s[o]):a[o]==x?-1:s[o]==x?1:0},b):b},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!E[t+" "]&&(!h||!h.test(t))&&(!g||!g.test(t)))try{var o=v.call(e,t);if(o||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return o}catch(e){E(t,!0)}return se(t,b,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=b&&f(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=b&&f(e);var r=o.attrHandle[t.toLowerCase()],i=r&&D.call(o.attrHandle,t.toLowerCase())?r(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(oe,re)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,o=[],r=0,i=0;if(u=!n.detectDuplicates,d=!n.sortStable&&e.slice(0),e.sort(S),u){for(;t=e[i++];)t===e[i]&&(r=o.push(i));for(;r--;)e.splice(o[r],1)}return d=null,e},r=se.getText=function(e){var t,n="",o=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[o++];)n+=r(t);return n},(o=se.selectors={cacheLength:50,createPseudo:ce,match:q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&C(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(o){var r=se.attr(o,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(V," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,o,r){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===o&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,d,u,f,b,p,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,h=s&&t.nodeName.toLowerCase(),v=!l&&!s,y=!1;if(g){if(i){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===h:1===f.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&v){for(y=(b=(c=(d=(u=(f=g)[w]||(f[w]={}))[f.uniqueID]||(u[f.uniqueID]={}))[e]||[])[0]===k&&c[1])&&c[2],f=b&&g.childNodes[b];f=++b&&f&&f[m]||(y=b=0)||p.pop();)if(1===f.nodeType&&++y&&f===t){d[e]=[k,b,y];break}}else if(v&&(y=b=(c=(d=(u=(f=t)[w]||(f[w]={}))[f.uniqueID]||(u[f.uniqueID]={}))[e]||[])[0]===k&&c[1]),!1===y)for(;(f=++b&&f&&f[m]||(y=b=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==h:1!==f.nodeType)||!++y||(v&&((d=(u=f[w]||(f[w]={}))[f.uniqueID]||(u[f.uniqueID]={}))[e]=[k,y]),f!==t)););return(y-=r)===o||y%o==0&&y/o>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return r[w]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var o,i=r(e,t),a=i.length;a--;)e[o=L(e,i[a])]=!(n[o]=i[a])})):function(e){return r(e,0,n)}):r}},pseudos:{not:ce((function(e){var t=[],n=[],o=s(e.replace(Y,"$1"));return o[w]?ce((function(e,t,n,r){for(var i,a=o(e,null,r,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||r(t)).indexOf(e)>-1}})),lang:ce((function(e){return W.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===b.activeElement&&(!b.hasFocus||b.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ge((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ge((function(e,t,n){for(var o=n<0?n+t:n>t?t:n;--o>=0;)e.push(o);return e})),gt:ge((function(e,t,n){for(var o=n<0?n+t:n;++o<t;)e.push(o);return e}))}}).pseudos.nth=o.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[t]=be(t);for(t in{submit:!0,reset:!0})o.pseudos[t]=pe(t);function ve(){}function ye(e){for(var t=0,n=e.length,o="";t<n;t++)o+=e[t].value;return o}function we(e,t,n){var o=t.dir,r=t.next,i=r||o,a=n&&"parentNode"===i,s=_++;return t.first?function(t,n,r){for(;t=t[o];)if(1===t.nodeType||a)return e(t,n,r);return!1}:function(t,n,l){var c,d,u,f=[k,s];if(l){for(;t=t[o];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[o];)if(1===t.nodeType||a)if(d=(u=t[w]||(t[w]={}))[t.uniqueID]||(u[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[o]||t;else{if((c=d[i])&&c[0]===k&&c[1]===s)return f[2]=c[2];if(d[i]=f,f[2]=e(t,n,l))return!0}return!1}}function xe(e){return e.length>1?function(t,n,o){for(var r=e.length;r--;)if(!e[r](t,n,o))return!1;return!0}:e[0]}function ke(e,t,n,o,r){for(var i,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,o,r)||(a.push(i),c&&t.push(s)));return a}function _e(e,t,n,o,r,i){return o&&!o[w]&&(o=_e(o)),r&&!r[w]&&(r=_e(r,i)),ce((function(i,a,s,l){var c,d,u,f=[],b=[],p=a.length,m=i||function(e,t,n){for(var o=0,r=t.length;o<r;o++)se(e,t[o],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!i&&t?m:ke(m,f,e,s,l),h=n?r||(i?e:p||o)?[]:a:g;if(n&&n(g,h,s,l),o)for(c=ke(h,b),o(c,[],s,l),d=c.length;d--;)(u=c[d])&&(h[b[d]]=!(g[b[d]]=u));if(i){if(r||e){if(r){for(c=[],d=h.length;d--;)(u=h[d])&&c.push(g[d]=u);r(null,h=[],c,l)}for(d=h.length;d--;)(u=h[d])&&(c=r?L(i,u):f[d])>-1&&(i[c]=!(a[c]=u))}}else h=ke(h===a?h.splice(p,h.length):h),r?r(null,a,h,l):I.apply(a,h)}))}function Ce(e){for(var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,d=we((function(e){return e===t}),s,!0),u=we((function(e){return L(t,e)>-1}),s,!0),f=[function(e,n,o){var r=!a&&(o||n!==c)||((t=n).nodeType?d(e,n,o):u(e,n,o));return t=null,r}];l<i;l++)if(n=o.relative[e[l].type])f=[we(xe(f),n)];else{if((n=o.filter[e[l].type].apply(null,e[l].matches))[w]){for(r=++l;r<i&&!o.relative[e[r].type];r++);return _e(l>1&&xe(f),l>1&&ye(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(Y,"$1"),n,l<r&&Ce(e.slice(l,r)),r<i&&Ce(e=e.slice(r)),r<i&&ye(e))}f.push(n)}return xe(f)}return ve.prototype=o.filters=o.pseudos,o.setFilters=new ve,a=se.tokenize=function(e,t){var n,r,i,a,s,l,c,d=T[e+" "];if(d)return t?0:d.slice(0);for(s=e,l=[],c=o.preFilter;s;){for(a in n&&!(r=$.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(Y," ")}),s=s.slice(n.length)),o.filter)!(r=q[a].exec(s))||c[a]&&!(r=c[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):T(e,l).slice(0)},s=se.compile=function(e,t){var n,r=[],i=[],s=O[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Ce(t[n]))[w]?r.push(s):i.push(s);(s=O(e,function(e,t){var n=t.length>0,r=e.length>0,i=function(i,a,s,l,d){var u,p,g,h=0,v="0",y=i&&[],w=[],x=c,_=i||r&&o.find.TAG("*",d),C=k+=null==x?1:Math.random()||.1,T=_.length;for(d&&(c=a==b||a||d);v!==T&&null!=(u=_[v]);v++){if(r&&u){for(p=0,a||u.ownerDocument==b||(f(u),s=!m);g=e[p++];)if(g(u,a||b,s)){l.push(u);break}d&&(k=C)}n&&((u=!g&&u)&&h--,i&&y.push(u))}if(h+=v,n&&v!==h){for(p=0;g=t[p++];)g(y,w,a,s);if(i){if(h>0)for(;v--;)y[v]||w[v]||(w[v]=N.call(l));w=ke(w)}I.apply(l,w),d&&!i&&w.length>0&&h+t.length>1&&se.uniqueSort(l)}return d&&(k=C,c=x),y};return n?ce(i):i}(i,r))).selector=e}return s},l=se.select=function(e,t,n,r){var i,l,c,d,u,f="function"==typeof e&&e,b=!r&&a(e=f.selector||e);if(n=n||[],1===b.length){if((l=b[0]=b[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&o.relative[l[1].type]){if(!(t=(o.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(i=q.needsContext.test(e)?0:l.length;i--&&(c=l[i],!o.relative[d=c.type]);)if((u=o.find[d])&&(r=u(c.matches[0].replace(te,ne),ee.test(l[0].type)&&he(t.parentNode)||t))){if(l.splice(i,1),!(e=r.length&&ye(l)))return I.apply(n,r),n;break}}return(f||s(e,b))(r,t,!m,n,!t||ee.test(e)&&he(t.parentNode)||t),n},n.sortStable=w.split("").sort(S).join("")===w,n.detectDuplicates=!!u,f(),n.sortDetached=de((function(e){return 1&e.compareDocumentPosition(b.createElement("fieldset"))})),de((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ue("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&de((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ue("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),de((function(e){return null==e.getAttribute("disabled")}))||ue(P,(function(e,t,n){var o;if(!n)return!0===e[t]?t.toLowerCase():(o=e.getAttributeNode(t))&&o.specified?o.value:null})),se}(n);_.find=T,_.expr=T.selectors,_.expr[":"]=_.expr.pseudos,_.uniqueSort=_.unique=T.uniqueSort,_.text=T.getText,_.isXMLDoc=T.isXML,_.contains=T.contains,_.escapeSelector=T.escape;var O=function(e,t,n){for(var o=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&_(e).is(n))break;o.push(e)}return o},E=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},S=_.expr.match.needsContext;function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(e,t,n){return h(t)?_.grep(e,(function(e,o){return!!t.call(e,o,e)!==n})):t.nodeType?_.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?_.grep(e,(function(e){return d.call(t,e)>-1!==n})):_.filter(t,e,n)}_.filter=function(e,t,n){var o=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===o.nodeType?_.find.matchesSelector(o,e)?[o]:[]:_.find.matches(e,_.grep(t,(function(e){return 1===e.nodeType})))},_.fn.extend({find:function(e){var t,n,o=this.length,r=this;if("string"!=typeof e)return this.pushStack(_(e).filter((function(){for(t=0;t<o;t++)if(_.contains(r[t],this))return!0})));for(n=this.pushStack([]),t=0;t<o;t++)_.find(e,r[t],n);return o>1?_.uniqueSort(n):n},filter:function(e){return this.pushStack(N(this,e||[],!1))},not:function(e){return this.pushStack(N(this,e||[],!0))},is:function(e){return!!N(this,"string"==typeof e&&S.test(e)?_(e):e||[],!1).length}});var A,I=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(_.fn.init=function(e,t,n){var o,r;if(!e)return this;if(n=n||A,"string"==typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:I.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof _?t[0]:t,_.merge(this,_.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),j.test(o[1])&&_.isPlainObject(t))for(o in t)h(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(r=y.getElementById(o[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):h(e)?void 0!==n.ready?n.ready(e):e(_):_.makeArray(e,this)}).prototype=_.fn,A=_(y);var M=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}_.fn.extend({has:function(e){var t=_(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(_.contains(this,t[e]))return!0}))},closest:function(e,t){var n,o=0,r=this.length,i=[],a="string"!=typeof e&&_(e);if(!S.test(e))for(;o<r;o++)for(n=this[o];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&_.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?_.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?d.call(_(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),_.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return O(e,"parentNode")},parentsUntil:function(e,t,n){return O(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return O(e,"nextSibling")},prevAll:function(e){return O(e,"previousSibling")},nextUntil:function(e,t,n){return O(e,"nextSibling",n)},prevUntil:function(e,t,n){return O(e,"previousSibling",n)},siblings:function(e){return E((e.parentNode||{}).firstChild,e)},children:function(e){return E(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(D(e,"template")&&(e=e.content||e),_.merge([],e.childNodes))}},(function(e,t){_.fn[e]=function(n,o){var r=_.map(this,t,n);return"Until"!==e.slice(-5)&&(o=n),o&&"string"==typeof o&&(r=_.filter(o,r)),this.length>1&&(L[e]||_.uniqueSort(r),M.test(e)&&r.reverse()),this.pushStack(r)}}));var R=/[^\x20\t\r\n\f]+/g;function z(e){return e}function F(e){throw e}function B(e,t,n,o){var r;try{e&&h(r=e.promise)?r.call(e).done(t).fail(n):e&&h(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(o))}catch(e){n.apply(void 0,[e])}}_.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return _.each(e.match(R)||[],(function(e,n){t[n]=!0})),t}(e):_.extend({},e);var t,n,o,r,i=[],a=[],s=-1,l=function(){for(r=r||e.once,o=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,r&&(i=n?[]:"")},c={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){_.each(n,(function(n,o){h(o)?e.unique&&c.has(o)||i.push(o):o&&o.length&&"string"!==k(o)&&t(o)}))}(arguments),n&&!t&&l()),this},remove:function(){return _.each(arguments,(function(e,t){for(var n;(n=_.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?_.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return r=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return r=a=[],n||t||(i=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!o}};return c},_.extend({Deferred:function(e){var t=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],o="pending",r={state:function(){return o},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return _.Deferred((function(n){_.each(t,(function(t,o){var r=h(e[o[4]])&&e[o[4]];i[o[1]]((function(){var e=r&&r.apply(this,arguments);e&&h(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(e,o,r){var i=0;function a(e,t,o,r){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(e<i)){if((n=o.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,h(c)?r?c.call(n,a(i,t,z,r),a(i,t,F,r)):(i++,c.call(n,a(i,t,z,r),a(i,t,F,r),a(i,t,z,t.notifyWith))):(o!==z&&(s=void 0,l=[n]),(r||t.resolveWith)(s,l))}},d=r?c:function(){try{c()}catch(n){_.Deferred.exceptionHook&&_.Deferred.exceptionHook(n,d.stackTrace),e+1>=i&&(o!==F&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?d():(_.Deferred.getStackHook&&(d.stackTrace=_.Deferred.getStackHook()),n.setTimeout(d))}}return _.Deferred((function(n){t[0][3].add(a(0,n,h(r)?r:z,n.notifyWith)),t[1][3].add(a(0,n,h(e)?e:z)),t[2][3].add(a(0,n,h(o)?o:F))})).promise()},promise:function(e){return null!=e?_.extend(e,r):r}},i={};return _.each(t,(function(e,n){var a=n[2],s=n[5];r[n[1]]=a.add,s&&a.add((function(){o=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith})),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,o=Array(n),r=s.call(arguments),i=_.Deferred(),a=function(e){return function(n){o[e]=this,r[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(o,r)}};if(t<=1&&(B(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||h(r[n]&&r[n].then)))return i.then();for(;n--;)B(r[n],a(n),i.reject);return i.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&V.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},_.readyException=function(e){n.setTimeout((function(){throw e}))};var Y=_.Deferred();function $(){y.removeEventListener("DOMContentLoaded",$),n.removeEventListener("load",$),_.ready()}_.fn.ready=function(e){return Y.then(e).catch((function(e){_.readyException(e)})),this},_.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--_.readyWait:_.isReady)||(_.isReady=!0,!0!==e&&--_.readyWait>0||Y.resolveWith(y,[_]))}}),_.ready.then=Y.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(_.ready):(y.addEventListener("DOMContentLoaded",$),n.addEventListener("load",$));var U=function(e,t,n,o,r,i,a){var s=0,l=e.length,c=null==n;if("object"===k(n))for(s in r=!0,n)U(e,t,s,n[s],!0,i,a);else if(void 0!==o&&(r=!0,h(o)||(a=!0),c&&(a?(t.call(e,o),t=null):(c=t,t=function(e,t,n){return c.call(_(e),n)})),t))for(;s<l;s++)t(e[s],n,a?o:o.call(e[s],s,t(e[s],n)));return r?e:c?t.call(e):l?t(e[0],n):i},H=/^-ms-/,G=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function q(e){return e.replace(H,"ms-").replace(G,W)}var Q=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=_.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Q(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var o,r=this.cache(e);if("string"==typeof t)r[q(t)]=n;else for(o in t)r[q(o)]=t[o];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][q(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,o=e[this.expando];if(void 0!==o){if(void 0!==t){n=(t=Array.isArray(t)?t.map(q):(t=q(t))in o?[t]:t.match(R)||[]).length;for(;n--;)delete o[t[n]]}(void 0===t||_.isEmptyObject(o))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!_.isEmptyObject(t)}};var Z=new X,K=new X,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e,t,n){var o;if(void 0===n&&1===e.nodeType)if(o="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(o))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:J.test(e)?JSON.parse(e):e)}(n)}catch(e){}K.set(e,t,n)}else n=void 0;return n}_.extend({hasData:function(e){return K.hasData(e)||Z.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return Z.access(e,t,n)},_removeData:function(e,t){Z.remove(e,t)}}),_.fn.extend({data:function(e,t){var n,o,r,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(r=K.get(i),1===i.nodeType&&!Z.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(o=a[n].name).indexOf("data-")&&(o=q(o.slice(5)),te(i,o,r[o]));Z.set(i,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){K.set(this,e)})):U(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=K.get(i,e))||void 0!==(n=te(i,e))?n:void 0;this.each((function(){K.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){K.remove(this,e)}))}}),_.extend({queue:function(e,t,n){var o;if(e)return t=(t||"fx")+"queue",o=Z.get(e,t),n&&(!o||Array.isArray(n)?o=Z.access(e,t,_.makeArray(n)):o.push(n)),o||[]},dequeue:function(e,t){t=t||"fx";var n=_.queue(e,t),o=n.length,r=n.shift(),i=_._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),o--),r&&("fx"===t&&n.unshift("inprogress"),delete i.stop,r.call(e,(function(){_.dequeue(e,t)}),i)),!o&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z.get(e,n)||Z.access(e,n,{empty:_.Callbacks("once memory").add((function(){Z.remove(e,[t+"queue",n])}))})}}),_.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?_.queue(this[0],e):void 0===t?this:this.each((function(){var n=_.queue(this,e,t);_._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&_.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){_.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,o=1,r=_.Deferred(),i=this,a=this.length,s=function(){--o||r.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Z.get(i[a],e+"queueHooks"))&&n.empty&&(o++,n.empty.add(s));return s(),r.promise(t)}});var ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+ne+")([a-z%]*)$","i"),re=["Top","Right","Bottom","Left"],ie=y.documentElement,ae=function(e){return _.contains(e.ownerDocument,e)},se={composed:!0};ie.getRootNode&&(ae=function(e){return _.contains(e.ownerDocument,e)||e.getRootNode(se)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ae(e)&&"none"===_.css(e,"display")};function ce(e,t,n,o){var r,i,a=20,s=o?function(){return o.cur()}:function(){return _.css(e,t,"")},l=s(),c=n&&n[3]||(_.cssNumber[t]?"":"px"),d=e.nodeType&&(_.cssNumber[t]||"px"!==c&&+l)&&oe.exec(_.css(e,t));if(d&&d[3]!==c){for(l/=2,c=c||d[3],d=+l||1;a--;)_.style(e,t,d+c),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),d/=i;d*=2,_.style(e,t,d+c),n=n||[]}return n&&(d=+d||+l||0,r=n[1]?d+(n[1]+1)*n[2]:+n[2],o&&(o.unit=c,o.start=d,o.end=r)),r}var de={};function ue(e){var t,n=e.ownerDocument,o=e.nodeName,r=de[o];return r||(t=n.body.appendChild(n.createElement(o)),r=_.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),de[o]=r,r)}function fe(e,t){for(var n,o,r=[],i=0,a=e.length;i<a;i++)(o=e[i]).style&&(n=o.style.display,t?("none"===n&&(r[i]=Z.get(o,"display")||null,r[i]||(o.style.display="")),""===o.style.display&&le(o)&&(r[i]=ue(o))):"none"!==n&&(r[i]="none",Z.set(o,"display",n)));for(i=0;i<a;i++)null!=r[i]&&(e[i].style.display=r[i]);return e}_.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){le(this)?_(this).show():_(this).hide()}))}});var be,pe,me=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;be=y.createDocumentFragment().appendChild(y.createElement("div")),(pe=y.createElement("input")).setAttribute("type","radio"),pe.setAttribute("checked","checked"),pe.setAttribute("name","t"),be.appendChild(pe),g.checkClone=be.cloneNode(!0).cloneNode(!0).lastChild.checked,be.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!be.cloneNode(!0).lastChild.defaultValue,be.innerHTML="<option></option>",g.option=!!be.lastChild;var ve={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 ye(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?_.merge([e],n):n}function we(e,t){for(var n=0,o=e.length;n<o;n++)Z.set(e[n],"globalEval",!t||Z.get(t[n],"globalEval"))}ve.tbody=ve.tfoot=ve.colgroup=ve.caption=ve.thead,ve.th=ve.td,g.option||(ve.optgroup=ve.option=[1,"<select multiple='multiple'>","</select>"]);var xe=/<|&#?\w+;/;function ke(e,t,n,o,r){for(var i,a,s,l,c,d,u=t.createDocumentFragment(),f=[],b=0,p=e.length;b<p;b++)if((i=e[b])||0===i)if("object"===k(i))_.merge(f,i.nodeType?[i]:i);else if(xe.test(i)){for(a=a||u.appendChild(t.createElement("div")),s=(ge.exec(i)||["",""])[1].toLowerCase(),l=ve[s]||ve._default,a.innerHTML=l[1]+_.htmlPrefilter(i)+l[2],d=l[0];d--;)a=a.lastChild;_.merge(f,a.childNodes),(a=u.firstChild).textContent=""}else f.push(t.createTextNode(i));for(u.textContent="",b=0;i=f[b++];)if(o&&_.inArray(i,o)>-1)r&&r.push(i);else if(c=ae(i),a=ye(u.appendChild(i),"script"),c&&we(a),n)for(d=0;i=a[d++];)he.test(i.type||"")&&n.push(i);return u}var _e=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Te(){return!1}function Oe(e,t){return e===function(){try{return y.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,o,r,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(o=o||n,n=void 0),t)Ee(e,s,n,o,t[s],i);return e}if(null==o&&null==r?(r=n,o=n=void 0):null==r&&("string"==typeof n?(r=o,o=void 0):(r=o,o=n,n=void 0)),!1===r)r=Te;else if(!r)return e;return 1===i&&(a=r,(r=function(e){return _().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=_.guid++)),e.each((function(){_.event.add(this,t,r,o,n)}))}function Se(e,t,n){n?(Z.set(e,t,!1),_.event.add(e,t,{namespace:!1,handler:function(e){var o,r,i=Z.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(_.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),Z.set(this,t,i),o=n(this,t),this[t](),i!==(r=Z.get(this,t))||o?Z.set(this,t,!1):r={},i!==r)return e.stopImmediatePropagation(),e.preventDefault(),r&&r.value}else i.length&&(Z.set(this,t,{value:_.event.trigger(_.extend(i[0],_.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Z.get(e,t)&&_.event.add(e,t,Ce)}_.event={global:{},add:function(e,t,n,o,r){var i,a,s,l,c,d,u,f,b,p,m,g=Z.get(e);if(Q(e))for(n.handler&&(n=(i=n).handler,r=i.selector),r&&_.find.matchesSelector(ie,r),n.guid||(n.guid=_.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==_&&_.event.triggered!==t.type?_.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(R)||[""]).length;c--;)b=m=(s=_e.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),b&&(u=_.event.special[b]||{},b=(r?u.delegateType:u.bindType)||b,u=_.event.special[b]||{},d=_.extend({type:b,origType:m,data:o,handler:n,guid:n.guid,selector:r,needsContext:r&&_.expr.match.needsContext.test(r),namespace:p.join(".")},i),(f=l[b])||((f=l[b]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,o,p,a)||e.addEventListener&&e.addEventListener(b,a)),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,d):f.push(d),_.event.global[b]=!0)},remove:function(e,t,n,o,r){var i,a,s,l,c,d,u,f,b,p,m,g=Z.hasData(e)&&Z.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(R)||[""]).length;c--;)if(b=m=(s=_e.exec(t[c])||[])[1],p=(s[2]||"").split(".").sort(),b){for(u=_.event.special[b]||{},f=l[b=(o?u.delegateType:u.bindType)||b]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)d=f[i],!r&&m!==d.origType||n&&n.guid!==d.guid||s&&!s.test(d.namespace)||o&&o!==d.selector&&("**"!==o||!d.selector)||(f.splice(i,1),d.selector&&f.delegateCount--,u.remove&&u.remove.call(e,d));a&&!f.length&&(u.teardown&&!1!==u.teardown.call(e,p,g.handle)||_.removeEvent(e,b,g.handle),delete l[b])}else for(b in l)_.event.remove(e,b+t[c],n,o,!0);_.isEmptyObject(l)&&Z.remove(e,"handle events")}},dispatch:function(e){var t,n,o,r,i,a,s=new Array(arguments.length),l=_.event.fix(e),c=(Z.get(this,"events")||Object.create(null))[l.type]||[],d=_.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,l)){for(a=_.event.handlers.call(this,l,c),t=0;(r=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(i=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(o=((_.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,s))&&!1===(l.result=o)&&(l.preventDefault(),l.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,o,r,i,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[r=(o=t[n]).selector+" "]&&(a[r]=o.needsContext?_(r,this).index(c)>-1:_.find(r,this,null,[c]).length),a[r]&&i.push(o);i.length&&s.push({elem:c,handlers:i})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(_.Event.prototype,e,{enumerable:!0,configurable:!0,get:h(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[_.expando]?e:new _.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return me.test(t.type)&&t.click&&D(t,"input")&&Se(t,"click",Ce),!1},trigger:function(e){var t=this||e;return me.test(t.type)&&t.click&&D(t,"input")&&Se(t,"click"),!0},_default:function(e){var t=e.target;return me.test(t.type)&&t.click&&D(t,"input")&&Z.get(t,"click")||D(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},_.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},_.Event=function(e,t){if(!(this instanceof _.Event))return new _.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:Te,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&&_.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[_.expando]=!0},_.Event.prototype={constructor:_.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},_.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},_.event.addProp),_.each({focus:"focusin",blur:"focusout"},(function(e,t){_.event.special[e]={setup:function(){return Se(this,e,Oe),!1},trigger:function(){return Se(this,e),!0},_default:function(t){return Z.get(t.target,e)},delegateType:t}})),_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){_.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,o=this,r=e.relatedTarget,i=e.handleObj;return r&&(r===o||_.contains(o,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),_.fn.extend({on:function(e,t,n,o){return Ee(this,e,t,n,o)},one:function(e,t,n,o){return Ee(this,e,t,n,o,1)},off:function(e,t,n){var o,r;if(e&&e.preventDefault&&e.handleObj)return o=e.handleObj,_(e.delegateTarget).off(o.namespace?o.origType+"."+o.namespace:o.origType,o.selector,o.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each((function(){_.event.remove(this,e,n,t)}))}});var De=/<script|<style|<link/i,je=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ae(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&_(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,o,r,i,a,s;if(1===t.nodeType){if(Z.hasData(e)&&(s=Z.get(e).events))for(r in Z.remove(t,"handle events"),s)for(n=0,o=s[r].length;n<o;n++)_.event.add(t,r,s[r][n]);K.hasData(e)&&(i=K.access(e),a=_.extend({},i),K.set(t,a))}}function Pe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&me.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Re(e,t,n,o){t=l(t);var r,i,a,s,c,d,u=0,f=e.length,b=f-1,p=t[0],m=h(p);if(m||f>1&&"string"==typeof p&&!g.checkClone&&je.test(p))return e.each((function(r){var i=e.eq(r);m&&(t[0]=p.call(this,r,i.html())),Re(i,t,n,o)}));if(f&&(i=(r=ke(t,e[0].ownerDocument,!1,e,o)).firstChild,1===r.childNodes.length&&(r=i),i||o)){for(s=(a=_.map(ye(r,"script"),Ie)).length;u<f;u++)c=r,u!==b&&(c=_.clone(c,!0,!0),s&&_.merge(a,ye(c,"script"))),n.call(e[u],c,u);if(s)for(d=a[a.length-1].ownerDocument,_.map(a,Me),u=0;u<s;u++)c=a[u],he.test(c.type||"")&&!Z.access(c,"globalEval")&&_.contains(d,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?_._evalUrl&&!c.noModule&&_._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},d):x(c.textContent.replace(Ne,""),c,d))}return e}function ze(e,t,n){for(var o,r=t?_.filter(t,e):e,i=0;null!=(o=r[i]);i++)n||1!==o.nodeType||_.cleanData(ye(o)),o.parentNode&&(n&&ae(o)&&we(ye(o,"script")),o.parentNode.removeChild(o));return e}_.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var o,r,i,a,s=e.cloneNode(!0),l=ae(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||_.isXMLDoc(e)))for(a=ye(s),o=0,r=(i=ye(e)).length;o<r;o++)Pe(i[o],a[o]);if(t)if(n)for(i=i||ye(e),a=a||ye(s),o=0,r=i.length;o<r;o++)Le(i[o],a[o]);else Le(e,s);return(a=ye(s,"script")).length>0&&we(a,!l&&ye(e,"script")),s},cleanData:function(e){for(var t,n,o,r=_.event.special,i=0;void 0!==(n=e[i]);i++)if(Q(n)){if(t=n[Z.expando]){if(t.events)for(o in t.events)r[o]?_.event.remove(n,o):_.removeEvent(n,o,t.handle);n[Z.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),_.fn.extend({detach:function(e){return ze(this,e,!0)},remove:function(e){return ze(this,e)},text:function(e){return U(this,(function(e){return void 0===e?_.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Re(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ae(this,e).appendChild(e)}))},prepend:function(){return Re(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ae(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Re(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Re(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&&(_.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return _.clone(this,e,t)}))},html:function(e){return U(this,(function(e){var t=this[0]||{},n=0,o=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!De.test(e)&&!ve[(ge.exec(e)||["",""])[1].toLowerCase()]){e=_.htmlPrefilter(e);try{for(;n<o;n++)1===(t=this[n]||{}).nodeType&&(_.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,(function(t){var n=this.parentNode;_.inArray(this,e)<0&&(_.cleanData(ye(this)),n&&n.replaceChild(t,this))}),e)}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){_.fn[e]=function(e){for(var n,o=[],r=_(e),i=r.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),_(r[a])[t](n),c.apply(o,n.get());return this.pushStack(o)}}));var Fe=new RegExp("^("+ne+")(?!px)[a-z%]+$","i"),Be=/^--/,Ve=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ye=function(e,t,n){var o,r,i={};for(r in t)i[r]=e.style[r],e.style[r]=t[r];for(r in o=n.call(e),t)e.style[r]=i[r];return o},$e=new RegExp(re.join("|"),"i"),Ue=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g");function He(e,t,n){var o,r,i,a,s=Be.test(t),l=e.style;return(n=n||Ve(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(Ue,"$1")||void 0),""!==a||ae(e)||(a=_.style(e,t)),!g.pixelBoxStyles()&&Fe.test(a)&&$e.test(t)&&(o=l.width,r=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=o,l.minWidth=r,l.maxWidth=i)),void 0!==a?a+"":a}function Ge(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%",ie.appendChild(c).appendChild(d);var e=n.getComputedStyle(d);o="1%"!==e.top,l=12===t(e.marginLeft),d.style.right="60%",a=36===t(e.right),r=36===t(e.width),d.style.position="absolute",i=12===t(d.offsetWidth/3),ie.removeChild(c),d=null}}function t(e){return Math.round(parseFloat(e))}var o,r,i,a,s,l,c=y.createElement("div"),d=y.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===d.style.backgroundClip,_.extend(g,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),o},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,o,r;return null==s&&(e=y.createElement("table"),t=y.createElement("tr"),o=y.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",o.style.height="9px",o.style.display="block",ie.appendChild(e).appendChild(t).appendChild(o),r=n.getComputedStyle(t),s=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,ie.removeChild(e)),s}}))}();var We=["Webkit","Moz","ms"],qe=y.createElement("div").style,Qe={};function Xe(e){var t=_.cssProps[e]||Qe[e];return t||(e in qe?e:Qe[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=We.length;n--;)if((e=We[n]+t)in qe)return e}(e)||e)}var Ze=/^(none|table(?!-c[ea]).+)/,Ke={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var o=oe.exec(t);return o?Math.max(0,o[2]-(n||0))+(o[3]||"px"):t}function tt(e,t,n,o,r,i){var a="width"===t?1:0,s=0,l=0;if(n===(o?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=_.css(e,n+re[a],!0,r)),o?("content"===n&&(l-=_.css(e,"padding"+re[a],!0,r)),"margin"!==n&&(l-=_.css(e,"border"+re[a]+"Width",!0,r))):(l+=_.css(e,"padding"+re[a],!0,r),"padding"!==n?l+=_.css(e,"border"+re[a]+"Width",!0,r):s+=_.css(e,"border"+re[a]+"Width",!0,r));return!o&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l}function nt(e,t,n){var o=Ve(e),r=(!g.boxSizingReliable()||n)&&"border-box"===_.css(e,"boxSizing",!1,o),i=r,a=He(e,t,o),s="offset"+t[0].toUpperCase()+t.slice(1);if(Fe.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&r||!g.reliableTrDimensions()&&D(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===_.css(e,"display",!1,o))&&e.getClientRects().length&&(r="border-box"===_.css(e,"boxSizing",!1,o),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+tt(e,t,n||(r?"border":"content"),i,o,a)+"px"}function ot(e,t,n,o,r){return new ot.prototype.init(e,t,n,o,r)}_.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=He(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,o){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,i,a,s=q(t),l=Be.test(t),c=e.style;if(l||(t=Xe(s)),a=_.cssHooks[t]||_.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(e,!1,o))?r:c[t];"string"===(i=typeof n)&&(r=oe.exec(n))&&r[1]&&(n=ce(e,t,r),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=r&&r[3]||(_.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,o))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,o){var r,i,a,s=q(t);return Be.test(t)||(t=Xe(s)),(a=_.cssHooks[t]||_.cssHooks[s])&&"get"in a&&(r=a.get(e,!0,n)),void 0===r&&(r=He(e,t,o)),"normal"===r&&t in Je&&(r=Je[t]),""===n||n?(i=parseFloat(r),!0===n||isFinite(i)?i||0:r):r}}),_.each(["height","width"],(function(e,t){_.cssHooks[t]={get:function(e,n,o){if(n)return!Ze.test(_.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,o):Ye(e,Ke,(function(){return nt(e,t,o)}))},set:function(e,n,o){var r,i=Ve(e),a=!g.scrollboxSize()&&"absolute"===i.position,s=(a||o)&&"border-box"===_.css(e,"boxSizing",!1,i),l=o?tt(e,t,o,s,i):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-tt(e,t,"border",!1,i)-.5)),l&&(r=oe.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=_.css(e,t)),et(0,n,l)}}})),_.cssHooks.marginLeft=Ge(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-Ye(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),_.each({margin:"",padding:"",border:"Width"},(function(e,t){_.cssHooks[e+t]={expand:function(n){for(var o=0,r={},i="string"==typeof n?n.split(" "):[n];o<4;o++)r[e+re[o]+t]=i[o]||i[o-2]||i[0];return r}},"margin"!==e&&(_.cssHooks[e+t].set=et)})),_.fn.extend({css:function(e,t){return U(this,(function(e,t,n){var o,r,i={},a=0;if(Array.isArray(t)){for(o=Ve(e),r=t.length;a<r;a++)i[t[a]]=_.css(e,t[a],!1,o);return i}return void 0!==n?_.style(e,t,n):_.css(e,t)}),e,t,arguments.length>1)}}),_.Tween=ot,ot.prototype={constructor:ot,init:function(e,t,n,o,r,i){this.elem=e,this.prop=n,this.easing=r||_.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=o,this.unit=i||(_.cssNumber[n]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var t,n=ot.propHooks[this.prop];return this.options.duration?this.pos=t=_.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=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):ot.propHooks._default.set(this),this}},ot.prototype.init.prototype=ot.prototype,ot.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=_.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){_.fx.step[e.prop]?_.fx.step[e.prop](e):1!==e.elem.nodeType||!_.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:_.style(e.elem,e.prop,e.now+e.unit)}}},ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},_.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},_.fx=ot.prototype.init,_.fx.step={};var rt,it,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function lt(){it&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(lt):n.setTimeout(lt,_.fx.interval),_.fx.tick())}function ct(){return n.setTimeout((function(){rt=void 0})),rt=Date.now()}function dt(e,t){var n,o=0,r={height:e};for(t=t?1:0;o<4;o+=2-t)r["margin"+(n=re[o])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function ut(e,t,n){for(var o,r=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),i=0,a=r.length;i<a;i++)if(o=r[i].call(n,t,e))return o}function ft(e,t,n){var o,r,i=0,a=ft.prefilters.length,s=_.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var t=rt||ct(),n=Math.max(0,c.startTime+c.duration-t),o=1-(n/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(o);return s.notifyWith(e,[c,o,n]),o<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:_.extend({},t),opts:_.extend(!0,{specialEasing:{},easing:_.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||ct(),duration:n.duration,tweens:[],createTween:function(t,n){var o=_.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(o),o},stop:function(t){var n=0,o=t?c.tweens.length:0;if(r)return this;for(r=!0;n<o;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),d=c.props;for(!function(e,t){var n,o,r,i,a;for(n in e)if(r=t[o=q(n)],i=e[n],Array.isArray(i)&&(r=i[1],i=e[n]=i[0]),n!==o&&(e[o]=i,delete e[n]),(a=_.cssHooks[o])&&"expand"in a)for(n in i=a.expand(i),delete e[o],i)n in e||(e[n]=i[n],t[n]=r);else t[o]=r}(d,c.opts.specialEasing);i<a;i++)if(o=ft.prefilters[i].call(c,e,d,c.opts))return h(o.stop)&&(_._queueHooks(c.elem,c.opts.queue).stop=o.stop.bind(o)),o;return _.map(d,ut,c),h(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),_.fx.timer(_.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}_.Animation=_.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){h(e)?(t=e,e=["*"]):e=e.match(R);for(var n,o=0,r=e.length;o<r;o++)n=e[o],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var o,r,i,a,s,l,c,d,u="width"in t||"height"in t,f=this,b={},p=e.style,m=e.nodeType&&le(e),g=Z.get(e,"fxshow");for(o in n.queue||(null==(a=_._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,_.queue(e,"fx").length||a.empty.fire()}))}))),t)if(r=t[o],at.test(r)){if(delete t[o],i=i||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[o])continue;m=!0}b[o]=g&&g[o]||_.style(e,o)}if((l=!_.isEmptyObject(t))||!_.isEmptyObject(b))for(o in u&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=g&&g.display)&&(c=Z.get(e,"display")),"none"===(d=_.css(e,"display"))&&(c?d=c:(fe([e],!0),c=e.style.display||c,d=_.css(e,"display"),fe([e]))),("inline"===d||"inline-block"===d&&null!=c)&&"none"===_.css(e,"float")&&(l||(f.done((function(){p.display=c})),null==c&&(d=p.display,c="none"===d?"":d)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),l=!1,b)l||(g?"hidden"in g&&(m=g.hidden):g=Z.access(e,"fxshow",{display:c}),i&&(g.hidden=!m),m&&fe([e],!0),f.done((function(){for(o in m||fe([e]),Z.remove(e,"fxshow"),b)_.style(e,o,b[o])}))),l=ut(m?g[o]:0,o,f),o in g||(g[o]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),_.speed=function(e,t,n){var o=e&&"object"==typeof e?_.extend({},e):{complete:n||!n&&t||h(e)&&e,duration:e,easing:n&&t||t&&!h(t)&&t};return _.fx.off?o.duration=0:"number"!=typeof o.duration&&(o.duration in _.fx.speeds?o.duration=_.fx.speeds[o.duration]:o.duration=_.fx.speeds._default),null!=o.queue&&!0!==o.queue||(o.queue="fx"),o.old=o.complete,o.complete=function(){h(o.old)&&o.old.call(this),o.queue&&_.dequeue(this,o.queue)},o},_.fn.extend({fadeTo:function(e,t,n,o){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,o)},animate:function(e,t,n,o){var r=_.isEmptyObject(e),i=_.speed(t,n,o),a=function(){var t=ft(this,_.extend({},e),i);(r||Z.get(this,"finish"))&&t.stop(!0)};return a.finish=a,r||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var o=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",i=_.timers,a=Z.get(this);if(r)a[r]&&a[r].stop&&o(a[r]);else for(r in a)a[r]&&a[r].stop&&st.test(r)&&o(a[r]);for(r=i.length;r--;)i[r].elem!==this||null!=e&&i[r].queue!==e||(i[r].anim.stop(n),t=!1,i.splice(r,1));!t&&n||_.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Z.get(this),o=n[e+"queue"],r=n[e+"queueHooks"],i=_.timers,a=o?o.length:0;for(n.finish=!0,_.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)o[t]&&o[t].finish&&o[t].finish.call(this);delete n.finish}))}}),_.each(["toggle","show","hide"],(function(e,t){var n=_.fn[t];_.fn[t]=function(e,o,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(dt(t,!0),e,o,r)}})),_.each({slideDown:dt("show"),slideUp:dt("hide"),slideToggle:dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){_.fn[e]=function(e,n,o){return this.animate(t,e,n,o)}})),_.timers=[],_.fx.tick=function(){var e,t=0,n=_.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||_.fx.stop(),rt=void 0},_.fx.timer=function(e){_.timers.push(e),_.fx.start()},_.fx.interval=13,_.fx.start=function(){it||(it=!0,lt())},_.fx.stop=function(){it=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(e,t){return e=_.fx&&_.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,o){var r=n.setTimeout(t,e);o.stop=function(){n.clearTimeout(r)}}))},function(){var e=y.createElement("input"),t=y.createElement("select").appendChild(y.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=y.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var bt,pt=_.expr.attrHandle;_.fn.extend({attr:function(e,t){return U(this,_.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){_.removeAttr(this,e)}))}}),_.extend({attr:function(e,t,n){var o,r,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?_.prop(e,t,n):(1===i&&_.isXMLDoc(e)||(r=_.attrHooks[t.toLowerCase()]||(_.expr.match.bool.test(t)?bt:void 0)),void 0!==n?null===n?void _.removeAttr(e,t):r&&"set"in r&&void 0!==(o=r.set(e,n,t))?o:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(o=r.get(e,t))?o:null==(o=_.find.attr(e,t))?void 0:o)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,o=0,r=t&&t.match(R);if(r&&1===e.nodeType)for(;n=r[o++];)e.removeAttribute(n)}}),bt={set:function(e,t,n){return!1===t?_.removeAttr(e,n):e.setAttribute(n,n),n}},_.each(_.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=pt[t]||_.find.attr;pt[t]=function(e,t,o){var r,i,a=t.toLowerCase();return o||(i=pt[a],pt[a]=r,r=null!=n(e,t,o)?a:null,pt[a]=i),r}}));var mt=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function ht(e){return(e.match(R)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function yt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}_.fn.extend({prop:function(e,t){return U(this,_.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[_.propFix[e]||e]}))}}),_.extend({prop:function(e,t,n){var o,r,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&_.isXMLDoc(e)||(t=_.propFix[t]||t,r=_.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(o=r.set(e,n,t))?o:e[t]=n:r&&"get"in r&&null!==(o=r.get(e,t))?o:e[t]},propHooks:{tabIndex:{get:function(e){var t=_.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(_.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){_.propFix[this.toLowerCase()]=this})),_.fn.extend({addClass:function(e){var t,n,o,r,i,a;return h(e)?this.each((function(t){_(this).addClass(e.call(this,t,vt(this)))})):(t=yt(e)).length?this.each((function(){if(o=vt(this),n=1===this.nodeType&&" "+ht(o)+" "){for(i=0;i<t.length;i++)r=t[i],n.indexOf(" "+r+" ")<0&&(n+=r+" ");a=ht(n),o!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,o,r,i,a;return h(e)?this.each((function(t){_(this).removeClass(e.call(this,t,vt(this)))})):arguments.length?(t=yt(e)).length?this.each((function(){if(o=vt(this),n=1===this.nodeType&&" "+ht(o)+" "){for(i=0;i<t.length;i++)for(r=t[i];n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");a=ht(n),o!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,o,r,i,a=typeof e,s="string"===a||Array.isArray(e);return h(e)?this.each((function(n){_(this).toggleClass(e.call(this,n,vt(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=yt(e),this.each((function(){if(s)for(i=_(this),r=0;r<n.length;r++)o=n[r],i.hasClass(o)?i.removeClass(o):i.addClass(o);else void 0!==e&&"boolean"!==a||((o=vt(this))&&Z.set(this,"__className__",o),this.setAttribute&&this.setAttribute("class",o||!1===e?"":Z.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,o=0;for(t=" "+e+" ";n=this[o++];)if(1===n.nodeType&&(" "+ht(vt(n))+" ").indexOf(t)>-1)return!0;return!1}});var wt=/\r/g;_.fn.extend({val:function(e){var t,n,o,r=this[0];return arguments.length?(o=h(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=o?e.call(this,n,_(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=_.map(r,(function(e){return null==e?"":e+""}))),(t=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=_.valHooks[r.type]||_.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(wt,""):null==n?"":n:void 0}}),_.extend({valHooks:{option:{get:function(e){var t=_.find.attr(e,"value");return null!=t?t:ht(_.text(e))}},select:{get:function(e){var t,n,o,r=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:r.length;for(o=i<0?l:a?i:0;o<l;o++)if(((n=r[o]).selected||o===i)&&!n.disabled&&(!n.parentNode.disabled||!D(n.parentNode,"optgroup"))){if(t=_(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,o,r=e.options,i=_.makeArray(t),a=r.length;a--;)((o=r[a]).selected=_.inArray(_.valHooks.option.get(o),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),_.each(["radio","checkbox"],(function(){_.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=_.inArray(_(e).val(),t)>-1}},g.checkOn||(_.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in n;var xt=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};_.extend(_.event,{trigger:function(e,t,o,r){var i,a,s,l,c,d,u,f,p=[o||y],m=b.call(e,"type")?e.type:e,g=b.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=o=o||y,3!==o.nodeType&&8!==o.nodeType&&!xt.test(m+_.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[_.expando]?e:new _.Event(m,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=o),t=null==t?[e]:_.makeArray(t,[e]),u=_.event.special[m]||{},r||!u.trigger||!1!==u.trigger.apply(o,t))){if(!r&&!u.noBubble&&!v(o)){for(l=u.delegateType||m,xt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(o.ownerDocument||y)&&p.push(s.defaultView||s.parentWindow||n)}for(i=0;(a=p[i++])&&!e.isPropagationStopped();)f=a,e.type=i>1?l:u.bindType||m,(d=(Z.get(a,"events")||Object.create(null))[e.type]&&Z.get(a,"handle"))&&d.apply(a,t),(d=c&&a[c])&&d.apply&&Q(a)&&(e.result=d.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,r||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(p.pop(),t)||!Q(o)||c&&h(o[m])&&!v(o)&&((s=o[c])&&(o[c]=null),_.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,kt),o[m](),e.isPropagationStopped()&&f.removeEventListener(m,kt),_.event.triggered=void 0,s&&(o[c]=s)),e.result}},simulate:function(e,t,n){var o=_.extend(new _.Event,n,{type:e,isSimulated:!0});_.event.trigger(o,null,t)}}),_.fn.extend({trigger:function(e,t){return this.each((function(){_.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return _.event.trigger(e,t,n,!0)}}),g.focusin||_.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){_.event.simulate(t,e.target,_.event.fix(e))};_.event.special[t]={setup:function(){var o=this.ownerDocument||this.document||this,r=Z.access(o,t);r||o.addEventListener(e,n,!0),Z.access(o,t,(r||0)+1)},teardown:function(){var o=this.ownerDocument||this.document||this,r=Z.access(o,t)-1;r?Z.access(o,t,r):(o.removeEventListener(e,n,!0),Z.remove(o,t))}}}));var _t=n.location,Ct={guid:Date.now()},Tt=/\?/;_.parseXML=function(e){var t,o;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return o=t&&t.getElementsByTagName("parsererror")[0],t&&!o||_.error("Invalid XML: "+(o?_.map(o.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Ot=/\[\]$/,Et=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,o){var r;if(Array.isArray(t))_.each(t,(function(t,r){n||Ot.test(e)?o(e,r):jt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,o)}));else if(n||"object"!==k(t))o(e,t);else for(r in t)jt(e+"["+r+"]",t[r],n,o)}_.param=function(e,t){var n,o=[],r=function(e,t){var n=h(t)?t():t;o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!_.isPlainObject(e))_.each(e,(function(){r(this.name,this.value)}));else for(n in e)jt(n,e[n],t,r);return o.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=_.prop(this,"elements");return e?_.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!_(this).is(":disabled")&&Dt.test(this.nodeName)&&!St.test(e)&&(this.checked||!me.test(e))})).map((function(e,t){var n=_(this).val();return null==n?null:Array.isArray(n)?_.map(n,(function(e){return{name:t.name,value:e.replace(Et,"\r\n")}})):{name:t.name,value:n.replace(Et,"\r\n")}})).get()}});var Nt=/%20/g,At=/#.*$/,It=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Pt=/^\/\//,Rt={},zt={},Ft="*/".concat("*"),Bt=y.createElement("a");function Vt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var o,r=0,i=t.toLowerCase().match(R)||[];if(h(n))for(;o=i[r++];)"+"===o[0]?(o=o.slice(1)||"*",(e[o]=e[o]||[]).unshift(n)):(e[o]=e[o]||[]).push(n)}}function Yt(e,t,n,o){var r={},i=e===zt;function a(s){var l;return r[s]=!0,_.each(e[s]||[],(function(e,s){var c=s(t,n,o);return"string"!=typeof c||i||r[c]?i?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!r["*"]&&a("*")}function $t(e,t){var n,o,r=_.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:o||(o={}))[n]=t[n]);return o&&_.extend(!0,e,o),e}Bt.href=_t.href,_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(_t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,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":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,_.ajaxSettings),t):$t(_.ajaxSettings,e)},ajaxPrefilter:Vt(Rt),ajaxTransport:Vt(zt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var o,r,i,a,s,l,c,d,u,f,b=_.ajaxSetup({},t),p=b.context||b,m=b.context&&(p.nodeType||p.jquery)?_(p):_.event,g=_.Deferred(),h=_.Callbacks("once memory"),v=b.statusCode||{},w={},x={},k="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Mt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(b.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||k;return o&&o.abort(t),T(0,t),this}};if(g.promise(C),b.url=((e||b.url||_t.href)+"").replace(Pt,_t.protocol+"//"),b.type=t.method||t.type||b.method||b.type,b.dataTypes=(b.dataType||"*").toLowerCase().match(R)||[""],null==b.crossDomain){l=y.createElement("a");try{l.href=b.url,l.href=l.href,b.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){b.crossDomain=!0}}if(b.data&&b.processData&&"string"!=typeof b.data&&(b.data=_.param(b.data,b.traditional)),Yt(Rt,b,t,C),c)return C;for(u in(d=_.event&&b.global)&&0==_.active++&&_.event.trigger("ajaxStart"),b.type=b.type.toUpperCase(),b.hasContent=!Lt.test(b.type),r=b.url.replace(At,""),b.hasContent?b.data&&b.processData&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&(b.data=b.data.replace(Nt,"+")):(f=b.url.slice(r.length),b.data&&(b.processData||"string"==typeof b.data)&&(r+=(Tt.test(r)?"&":"?")+b.data,delete b.data),!1===b.cache&&(r=r.replace(It,"$1"),f=(Tt.test(r)?"&":"?")+"_="+Ct.guid+++f),b.url=r+f),b.ifModified&&(_.lastModified[r]&&C.setRequestHeader("If-Modified-Since",_.lastModified[r]),_.etag[r]&&C.setRequestHeader("If-None-Match",_.etag[r])),(b.data&&b.hasContent&&!1!==b.contentType||t.contentType)&&C.setRequestHeader("Content-Type",b.contentType),C.setRequestHeader("Accept",b.dataTypes[0]&&b.accepts[b.dataTypes[0]]?b.accepts[b.dataTypes[0]]+("*"!==b.dataTypes[0]?", "+Ft+"; q=0.01":""):b.accepts["*"]),b.headers)C.setRequestHeader(u,b.headers[u]);if(b.beforeSend&&(!1===b.beforeSend.call(p,C,b)||c))return C.abort();if(k="abort",h.add(b.complete),C.done(b.success),C.fail(b.error),o=Yt(zt,b,t,C)){if(C.readyState=1,d&&m.trigger("ajaxSend",[C,b]),c)return C;b.async&&b.timeout>0&&(s=n.setTimeout((function(){C.abort("timeout")}),b.timeout));try{c=!1,o.send(w,T)}catch(e){if(c)throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,t,a,l){var u,f,y,w,x,k=t;c||(c=!0,s&&n.clearTimeout(s),o=void 0,i=l||"",C.readyState=e>0?4:0,u=e>=200&&e<300||304===e,a&&(w=function(e,t,n){for(var o,r,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===o&&(o=e.mimeType||t.getResponseHeader("Content-Type"));if(o)for(r in s)if(s[r]&&s[r].test(o)){l.unshift(r);break}if(l[0]in n)i=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){i=r;break}a||(a=r)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}(b,C,a)),!u&&_.inArray("script",b.dataTypes)>-1&&_.inArray("json",b.dataTypes)<0&&(b.converters["text script"]=function(){}),w=function(e,t,n,o){var r,i,a,s,l,c={},d=e.dataTypes.slice();if(d[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=d.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&o&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=d.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=c[l+" "+i]||c["* "+i]))for(r in c)if((s=r.split(" "))[1]===i&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[r]:!0!==c[r]&&(i=s[0],d.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(b,w,C,u),u?(b.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(_.lastModified[r]=x),(x=C.getResponseHeader("etag"))&&(_.etag[r]=x)),204===e||"HEAD"===b.type?k="nocontent":304===e?k="notmodified":(k=w.state,f=w.data,u=!(y=w.error))):(y=k,!e&&k||(k="error",e<0&&(e=0))),C.status=e,C.statusText=(t||k)+"",u?g.resolveWith(p,[f,k,C]):g.rejectWith(p,[C,k,y]),C.statusCode(v),v=void 0,d&&m.trigger(u?"ajaxSuccess":"ajaxError",[C,b,u?f:y]),h.fireWith(p,[C,k]),d&&(m.trigger("ajaxComplete",[C,b]),--_.active||_.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return _.get(e,t,n,"json")},getScript:function(e,t){return _.get(e,void 0,t,"script")}}),_.each(["get","post"],(function(e,t){_[t]=function(e,n,o,r){return h(n)&&(r=r||o,o=n,n=void 0),_.ajax(_.extend({url:e,type:t,dataType:r,data:n,success:o},_.isPlainObject(e)&&e))}})),_.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),_._evalUrl=function(e,t,n){return _.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){_.globalEval(e,t,n)}})},_.fn.extend({wrapAll:function(e){var t;return this[0]&&(h(e)&&(e=e.call(this[0])),t=_(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return h(e)?this.each((function(t){_(this).wrapInner(e.call(this,t))})):this.each((function(){var t=_(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=h(e);return this.each((function(n){_(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){_(this).replaceWith(this.childNodes)})),this}}),_.expr.pseudos.hidden=function(e){return!_.expr.pseudos.visible(e)},_.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Ht=_.ajaxSettings.xhr();g.cors=!!Ht&&"withCredentials"in Ht,g.ajax=Ht=!!Ht,_.ajaxTransport((function(e){var t,o;if(g.cors||Ht&&!e.crossDomain)return{send:function(r,i){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(e){return function(){t&&(t=o=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ut[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(),o=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=o:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&o()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),_.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),_.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 _.globalEval(e),e}}}),_.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),_.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(o,r){t=_("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),y.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Gt,Wt=[],qt=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||_.expando+"_"+Ct.guid++;return this[e]=!0,e}}),_.ajaxPrefilter("json jsonp",(function(e,t,o){var r,i,a,s=!1!==e.jsonp&&(qt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&qt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=h(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(qt,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||_.error(r+" was not called"),a[0]},e.dataTypes[0]="json",i=n[r],n[r]=function(){a=arguments},o.always((function(){void 0===i?_(n).removeProp(r):n[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Wt.push(r)),a&&h(i)&&i(a[0]),a=i=void 0})),"script"})),g.createHTMLDocument=((Gt=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Gt.childNodes.length),_.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((o=(t=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,t.head.appendChild(o)):t=y),i=!n&&[],(r=j.exec(e))?[t.createElement(r[1])]:(r=ke([e],t,i),i&&i.length&&_(i).remove(),_.merge([],r.childNodes)));var o,r,i},_.fn.load=function(e,t,n){var o,r,i,a=this,s=e.indexOf(" ");return s>-1&&(o=ht(e.slice(s)),e=e.slice(0,s)),h(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),a.length>0&&_.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(o?_("<div>").append(_.parseHTML(e)).find(o):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},_.expr.pseudos.animated=function(e){return _.grep(_.timers,(function(t){return e===t.elem})).length},_.offset={setOffset:function(e,t,n){var o,r,i,a,s,l,c=_.css(e,"position"),d=_(e),u={};"static"===c&&(e.style.position="relative"),s=d.offset(),i=_.css(e,"top"),l=_.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(a=(o=d.position()).top,r=o.left):(a=parseFloat(i)||0,r=parseFloat(l)||0),h(t)&&(t=t.call(e,n,_.extend({},s))),null!=t.top&&(u.top=t.top-s.top+a),null!=t.left&&(u.left=t.left-s.left+r),"using"in t?t.using.call(e,u):d.css(u)}},_.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){_.offset.setOffset(this,e,t)}));var t,n,o=this[0];return o?o.getClientRects().length?(t=o.getBoundingClientRect(),n=o.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,o=this[0],r={top:0,left:0};if("fixed"===_.css(o,"position"))t=o.getBoundingClientRect();else{for(t=this.offset(),n=o.ownerDocument,e=o.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===_.css(e,"position");)e=e.parentNode;e&&e!==o&&1===e.nodeType&&((r=_(e).offset()).top+=_.css(e,"borderTopWidth",!0),r.left+=_.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-_.css(o,"marginTop",!0),left:t.left-r.left-_.css(o,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===_.css(e,"position");)e=e.offsetParent;return e||ie}))}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;_.fn[e]=function(o){return U(this,(function(e,o,r){var i;if(v(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===r)return i?i[t]:e[o];i?i.scrollTo(n?i.pageXOffset:r,n?r:i.pageYOffset):e[o]=r}),e,o,arguments.length)}})),_.each(["top","left"],(function(e,t){_.cssHooks[t]=Ge(g.pixelPosition,(function(e,n){if(n)return n=He(e,t),Fe.test(n)?_(e).position()[t]+"px":n}))})),_.each({Height:"height",Width:"width"},(function(e,t){_.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,o){_.fn[o]=function(r,i){var a=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===i?"margin":"border");return U(this,(function(t,n,r){var i;return v(t)?0===o.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?_.css(t,n,s):_.style(t,n,r,s)}),t,a?r:void 0,a)}}))})),_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){_.fn[t]=function(e){return this.on(t,e)}})),_.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,o){return this.on(t,e,n,o)},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)}}),_.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){_.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Qt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;_.proxy=function(e,t){var n,o,r;if("string"==typeof t&&(n=e[t],t=e,e=n),h(e))return o=s.call(arguments,2),(r=function(){return e.apply(t||this,o.concat(s.call(arguments)))}).guid=e.guid=e.guid||_.guid++,r},_.holdReady=function(e){e?_.readyWait++:_.ready(!0)},_.isArray=Array.isArray,_.parseJSON=JSON.parse,_.nodeName=D,_.isFunction=h,_.isWindow=v,_.camelCase=q,_.type=k,_.now=Date.now,_.isNumeric=function(e){var t=_.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},_.trim=function(e){return null==e?"":(e+"").replace(Qt,"$1")},void 0===(o=function(){return _}.apply(t,[]))||(e.exports=o);var Xt=n.jQuery,Zt=n.$;return _.noConflict=function(e){return n.$===_&&(n.$=Zt),e&&n.jQuery===_&&(n.jQuery=Xt),_},void 0===r&&(n.jQuery=n.$=_),_}))},function(e,t,n){var o=n(88),r=Object;e.exports=function(e){return r(o(e))}},function(e,t,n){var o=n(21),r=n(27),i=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(o[e]):o[e]&&o[e][t]}},function(e,t,n){"use strict";var o=n(17),r=n(131),i=n(161),a=n(32),s=n(163),l=n(77),c=n(57),d=n(118),u=n(26),f=n(135),b=n(165),p=f("slice"),m=u("species"),g=Array,h=Math.max;o({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var n,o,u,f=c(this),p=l(f),v=s(e,p),y=s(void 0===t?p:t,p);if(r(f)&&(n=f.constructor,(i(n)&&(n===g||r(n.prototype))||a(n)&&null===(n=n[m]))&&(n=void 0),n===g||void 0===n))return b(f,v,y);for(o=new(void 0===n?g:n)(h(y-v,0)),u=0;v<y;v++,u++)v in f&&d(o,u,f[v]);return o.length=u,o}})},function(e,t,n){var o=n(160),r=n(88);e.exports=function(e){return o(r(e))}},,,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(42),n(36),n(9),n(72),n(122),n(38),n(97),n(145),n(89),n(147);var o=a(n(449)),r=a(n(91)),i=a(n(98));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t=r.default.locale();if(null==e)return{precision:"none"};if("string"==typeof e)return{value:e,precision:"nolang",lang:""};if(e.hasOwnProperty(t))return{value:e[t],precision:"exact",lang:t};if(t.indexOf("_")>-1&&e.hasOwnProperty(t.substr(0,2)))return{value:e[t.substr(0,2)],precision:"coarsen",lang:t.substr(0,2)};if(e.hasOwnProperty("en"))return{value:e.en,precision:"default",lang:"en"};if(e.hasOwnProperty(""))return{value:e[""],precision:"nolang",lang:""};var n=Object.keys(e);return n.length>0?{value:e[n[0]],precision:"any",lang:n[0]}:{precision:"none"}},l=function(e,t,n){var o=e.find(t,n);if(o.length>0){for(var r={},i=0;i<o.length;i++)r[o[i].getLanguage()||""]=o[i].getValue();return r}},c={getLocalizedValue:s,getLocalizedMap:function(e,t,n){var o,r=t,a=n;e.getItem?(o=e.getGraph(),r=e.getValue(),a=e.getItem().getURIValueLabelProperties()):o=e,null!=a&&0!==a.length||(a=i.default.labelProperties);for(var c=0;c<a.length;c++){var d=a[c];if(Array.isArray(d)){for(var u=[],f=0;f<d.length;f++){var b=l(o,r,d[f]);b&&u.push(s(b).value)}if(u.length>0)return{"":u.join(" ")}}else{var p=l(o,r,d);if(p)return p}}},cloneArrayWithLabels:function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r],a=s(i.label),l={value:i.value,label:a.value||i.value||""};!0===i.top&&(l.top=!0),null!=i.children&&(l.children=(0,o.default)(i.children)),!1===i.selectable?l.selectable=!1:l.selectable=!0,n.push(l)}return!0!==t&&n.sort((function(e,t){return e.label>t.label?1:-1})),n},extractGist:function(e,t){var n=t;if(n){-1===n.indexOf("$1")&&(n+="$1");var o="".concat(n).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1").replace("\\$1","(.*)"),r=new RegExp(o).exec(e);if(null!=r)return r[1]}return e},findFirstValue:function(e,t,n,o){var r=e.findFirstValueBinding(e.match(t,n,o),!1);if(r)return r.getChoice?s(r.getChoice().label).value:r.getGist()},generateUUID:function(){var e=(new Date).getTime();return"undefined"!=typeof performance&&"function"==typeof performance.now&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:3&n|8).toString(16)}))}};t.default=c},function(e,t,n){"use strict";var o=Array.isArray;t.a=o},function(e,t,n){"use strict";var o=n(47),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,s=o.a?o.a.toStringTag:void 0;var l=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var r=a.call(e);return o&&(t?e[s]=n:delete e[s]),r},c=Object.prototype.toString;var d=function(e){return c.call(e)},u=o.a?o.a.toStringTag:void 0;t.a=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":u&&u in Object(e)?l(e):d(e)}},,function(e,t){e.exports=!1},function(e,t,n){var o=n(27),r=n(105),i=TypeError;e.exports=function(e){if(o(e))return e;throw i(r(e)+" is not a function")}},function(e,t,n){var o,r,i,a=n(257),s=n(21),l=n(32),c=n(94),d=n(28),u=n(203),f=n(158),b=n(129),p=s.TypeError,m=s.WeakMap;if(a||u.state){var g=u.state||(u.state=new m);g.get=g.get,g.has=g.has,g.set=g.set,o=function(e,t){if(g.has(e))throw p("Object already initialized");return t.facade=e,g.set(e,t),t},r=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var h=f("state");b[h]=!0,o=function(e,t){if(d(e,h))throw p("Object already initialized");return t.facade=e,c(e,h,t),t},r=function(e){return d(e,h)?e[h]:{}},i=function(e){return d(e,h)}}e.exports={set:o,get:r,has:i,enforce:function(e){return i(e)?r(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw p("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var o=n(19),r=o({}.toString),i=o("".slice);e.exports=function(e){return i(r(e),8,-1)}},function(e,t,n){var o=n(17),r=n(29),i=n(32),a=n(31),s=n(410),l=n(90),c=n(167);o({target:"Reflect",stat:!0},{get:function e(t,n){var o,d,u=arguments.length<3?t:arguments[2];return a(t)===u?t[n]:(o=l.f(t,n))?s(o)?o.value:void 0===o.get?void 0:r(o.get,u):i(d=c(t))?e(d,n,u):void 0}})},function(e,t,n){"use strict";t.a=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},,function(e,t){e.exports=function(e){return null==e}},function(e,t,n){"use strict";var o=n(17),r=n(19),i=n(160),a=n(57),s=n(208),l=r([].join);o({target:"Array",proto:!0,forced:i!=Object||!s("join",",")},{join:function(e){return l(a(this),void 0===e?",":e)}})},,,,,function(e,t,n){var o=n(206);e.exports=function(e){return o(e.length)}},function(e,t,n){"use strict";var o=n(50),r=n(34),i=Object(o.a)(r.a,"DataView"),a=n(87),s=Object(o.a)(r.a,"Promise"),l=Object(o.a)(r.a,"Set"),c=Object(o.a)(r.a,"WeakMap"),d=n(62),u=n(80),f=Object(u.a)(i),b=Object(u.a)(a.a),p=Object(u.a)(s),m=Object(u.a)(l),g=Object(u.a)(c),h=d.a;(i&&"[object DataView]"!=h(new i(new ArrayBuffer(1)))||a.a&&"[object Map]"!=h(new a.a)||s&&"[object Promise]"!=h(s.resolve())||l&&"[object Set]"!=h(new l)||c&&"[object WeakMap]"!=h(new c))&&(h=function(e){var t=Object(d.a)(e),n="[object Object]"==t?e.constructor:void 0,o=n?Object(u.a)(n):"";if(o)switch(o){case f:return"[object DataView]";case b:return"[object Map]";case p:return"[object Promise]";case m:return"[object Set]";case g:return"[object WeakMap]"}return t});t.a=h},function(e,t,n){"use strict";(function(e){var o=n(178),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=r&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===r&&o.a.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();t.a=s}).call(this,n(222)(e))},function(e,t,n){"use strict";var o=Function.prototype.toString;t.a=function(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},,,function(e,t,n){var o=n(19);e.exports=o({}.isPrototypeOf)},function(e,t,n){var o=n(49).f,r=n(28),i=n(26)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!r(e,i)&&o(e,i,{configurable:!0,value:t})}},function(e,t,n){n(147),n(13),n(14),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CODES",{enumerable:!0,get:function(){return w.default}}),t.matchPathBelowBinding=t.match=t.levelProfile=t.fuzzyMatch=t.findPopularChoice=t.findFirstValueBinding=t.findBindingRelativeToParentBinding=t.detectLevel=t.default=t.create=t.constructTemplate=void 0,n(9),n(30),n(36),n(38),n(145),n(89),n(42),n(56);var o,r,i,a,s,l=x(n(91)),c=x(n(98)),d=x(n(298)),u=x(n(299)),f=x(n(226)),b=x(n(173)),p=x(n(417)),m=x(n(224)),g=x(n(174)),h=x(n(227)),v=x(n(419)),y=x(n(60)),w=x(n(102));function x(e){return e&&e.__esModule?e:{default:e}}function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var _=!1,C=function(e,t,n){var i=new m.default({item:n,childrenRootUri:t,graph:e});return o(i),r(i),i};t.match=C;var T=function(e,t,n){var i=new m.default({item:n,childrenRootUri:t,graph:e});return o(i),_=!0,o(i),_=!1,r(i),i};t.fuzzyMatch=T;var O=function(e,t,n,o){var r=e.findProperties(t),i=[],a={};if(null!=o){var s=function(e){null!=e&&(!function e(t){null!=t.getProperty()?a[t.getProperty()]=!0:t instanceof b.default&&t.getChildren().forEach(e)}(e),i.push(e))};o.forEach((function(e){var t=n.getItem(e);null!=t?t instanceof b.default&&null==t.getProperty()?t.getChildren().forEach(s):s(t):(t=n.getItemByProperty(e))?s(t):console.warn("Warning, when autodetecting a template: Required item '".concat(e,"' is neither an id for a loaded item or a property for a loaded item, ignoring."))}))}return r.forEach((function(e){if(!a[e]){var t=n.getItemByProperty(e);null!=t&&i.push(t)}}),void 0),n.createTemplateFromChildren(i)};t.constructTemplate=O;var E,S,D,j,N,A,I=function(e){return Array.isArray(e.getDatatype())?e.getDatatype()[0]:e.getDatatype()},M=function(e,t){var n,o,r=t.getChildren()[1],i=e.getGraph();r instanceof b.default?(n=i.create(e.getChildrenRootUri(),"",null,!1),o=s(i,n.getSubject(),r)):n=r instanceof f.default?i.create(e.getChildrenRootUri(),"",{type:"uri",value:""},!1):i.create(e.getChildrenRootUri(),"",{type:"literal",value:""},!1);var a=new p.default({item:t,statement:n,constraints:o});return e.addChildBinding(a),r instanceof b.default&&r.getChildren().forEach((function(e){L(a.getObjectBinding(),e)})),a},L=function(e,t,n){return t instanceof u.default?function(e,t){if(!t.getProperty()){var n=new v.default({item:t,statement:null,matchingCode:w.default.OK});return e.addChildBinding(n),n}var o=e.getGraph(),r=t.getNodetype(),i={value:"",type:"literal"};"URI"===r?i.type="uri":"DATATYPE_LITERAL"===r&&(i.datatype=I(t));var a=t.getValue();if(null!=a&&0===e.getChildBindingsFor(t).length){i.value=a;var s=t.getLanguage();null!=s&&(i.lang=s)}var l=o.create(e.getChildrenRootUri(),t.getProperty(),i,!1),c=new g.default({item:t,statement:l});return e.addChildBinding(c),c}(e,t):t instanceof d.default?M(e,t):t instanceof b.default?function(e,t,n){var o,r;if(void 0!==t.getProperty()){var i=e.getGraph();o=(t.getNodetype(),i.create(e.getChildrenRootUri(),t.getProperty(),null,!1)),r=s(i,o.getValue(),t)}var a=new m.default({item:t,statement:o,constraints:r});e.addChildBinding(a);var l=t._source["@id"];if(l){if(n[l])return a;n[l]=!0}return a}(e,t,n||{}):t instanceof f.default?function(e,t){var n=e.getGraph(),o=t.getNodetype(),r={type:"literal",value:""};"DATATYPE_LITERAL"===o?r.datatype=I(t):"RESOURCE"!==o&&"URI"!==o||(r.type="uri");var i=n.create(e.getChildrenRootUri(),t.getProperty(),r,!1),a=new h.default({item:t,statement:i});e.addChildBinding(a);var s=t.getValue(),l=a.getCardinalityTracker();return null!=s&&1===l.getCounter()&&a.setChoice(N(t,s,n),!0),a}(e,t):void 0};t.create=L,o=function(e){_&&e.getChildBindings().forEach((function(e){"group"===e.getItem().getType()&&o(e)})),e.getItem().getChildren().forEach((function(t){_?void 0!==t.getProperty()&&E(e,t):E(e,t)}))};E=function(e,t){t instanceof f.default?function(e,t){if(null!=t.getProperty()){var n=[];e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach((function(e){if(i(e)){var o=S(t,e),r=D(t,e),s=j(t,e);if(o&&r&&s||_){var l=N(t,e.getValue(),e.getGraph());if(void 0!==l){a(e);var c=o?w.default.OK:w.default.WRONG_NODETYPE;r?s?l.mismatch&&(c=w.default.WRONG_VALUE):c=w.default.WRONG_PATTERN:c=w.default.WRONG_DATATYPE,n.push(new h.default({item:t,statement:e,choice:l,matchingCode:c}))}}}})),n.length>0&&e.addChildBindings(n)}}(e,t):t instanceof d.default?function(e,t){var n,r,s,l,c=t.getPropertyItem(),d=t.getObjectItem(),u=e.getGraph(),m=[];u.find(e.getChildrenRootUri()).forEach((function(e){i(e)&&S(d,e)&&j(d,e)&&void 0!==(s=N(c,e.getPredicate(),e.getGraph()))&&(r=null,d instanceof b.default?void 0!==(n=A(u,e.getValue(),d))&&(a(e),r=new p.default({item:t,statement:e,constraints:n}),o(r.getObjectBinding())):d instanceof f.default?void 0!==(l=N(d,e.getValue(),e.getGraph()))&&(a(e),(r=new p.default({item:t,statement:e})).getObjectBinding().setChoice(l)):(a(e),r=new p.default({item:t,statement:e})),null!==r&&(r.getPredicateBinding().setChoice(s),m.push(r)))})),m.length>0&&e.addChildBindings(m)}(e,t):t instanceof b.default?function(e,t){var n,r,s,l,c=e.getGraph();void 0!==t.getProperty()?(n=c.find(e.getChildrenRootUri(),t.getProperty())).length>0&&(r=[],n.forEach((function(e){if(i(e)){var n=j(t,e),d=S(t,e);if((n&&d||_)&&(void 0!==(s=A(c,e.getValue(),t))||_)){var u=d?w.default.OK:w.default.WRONG_NODETYPE;n?void 0===s&&(u=w.default.MISSING_CONSTRAINTS):u=w.default.WRONG_PATTERN,a(e),l=new m.default({item:t,statement:e,constraints:s,matchingCode:u}),r.push(l),u===w.default.OK&&o(l)}}})),e.addChildBindings(r)):(l=new m.default({item:t}),e.addChildBindings([l]),o(l))}(e,t):t instanceof u.default&&function(e,t){var n=[];null==t.getProperty()?n.push(new v.default({item:t,statement:null,matchingCode:w.default.OK})):e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach((function(e){if(i(e)&&j(t,e)){var o=S(t,e),r=D(t,e);if(o&&(r||t.hasStyle("relaxedDatatypeMatch"))||_){a(e);var s=o?w.default.OK:w.default.WRONG_NODETYPE;r||(s=w.default.WRONG_DATATYPE),n.push(new g.default({item:t,statement:e,matchingCode:s}))}}})),n.length>0&&e.addChildBindings(n)}(e,t)},S=function(e,t){var n=t.getType();switch(e.getNodetype()){case"LITERAL":case"ONLY_LITERAL":case"PLAIN_LITERAL":case"LANGUAGE_LITERAL":case"DATATYPE_LITERAL":return"literal"===n;case"RESOURCE":return"uri"===n||"bnode"===n;case"URI":return"uri"===n;case"BLANK":return"bnode"===n}return!1},D=function(e,t){var n="DATATYPE_LITERAL"===e.getNodetype()&&e.getDatatype()||null;return null==n||(Array.isArray(n)?-1!==n.indexOf(t.getDatatype()):t.getDatatype()===n)},j=function(e,t){var n=e.getPattern(),o=y.default.extractGist(t.getValue(),e.getValueTemplate());if(void 0!==n)try{return new RegExp("^".concat(n,"$")).test(o)}catch(e){return!0}return!0},A=function(e,t,n){var o,r=n.getConstraints(),i=[],a=function(n,r){if(1!==(o=e.find(t,n,{type:"uri",value:r})).length)return!1;i.push(o[0])};if("object"===k(r)&&null!==r){for(var s=Object.keys(r),l=function(){var e=s[c],t=r[e];if(t instanceof Array){var n=!0;if(t.forEach((function(t){!1!==a(e,t)&&(n=!1)})),n)return{v:void 0}}else if(!1===a(e,t))return{v:void 0}},c=0;c<s.length;c++){var d=l();if("object"===k(d))return d.v}return i}return[]},s=function(e,t,n){var o=[],r=n.getConstraints();return"object"===k(r)&&null!==r&&Object.keys(r).forEach((function(n){var i=r[n];Array.isArray(i)?o.push(e.create(t,n,{type:"uri",value:i[0]},!1)):o.push(e.create(t,n,{type:"uri",value:i},!1))})),o},N=function(e,t,n){var o,r;if(e.hasChoices()){for(r=e.getChoices(),o=0;o<r.length;o++)if(r[o].value===t)return r[o];if(!e.hasStyle("strictmatch")||_)return{value:t,label:{"":t},mismatch:!0}}else{var i=y.default.getLocalizedMap(n,t,e.getLabelProperties());null==i&&_&&(i={"":t,mismatch:!0});var a=n.findFirstValue(t,h.default.seeAlso);if(null!=i){var s={label:i,value:t};return a&&(s.seeAlso=a),s}if(null!=c.default.getChoice)return c.default.getChoice(e,t,a,n)}},a=function(e){e._dibbs=!0},i=function(e){return!0!==e._dibbs},r=function(e){var t,n,o,i=e.getItemGroupedChildBindings()||[];for(t=0;t<i.length;t++)for(o=i[t],n=0;n<o.length;n++){var a=o[n];a._statement&&delete a._statement._dibbs,(a instanceof m.default||a instanceof p.default)&&r(a)}};var P=function e(t,n){if(t instanceof g.default)return t;for(var o=t.getItemGroupedChildBindings(),r=l.default.locale(),i=0;i<o.length;i++){var a=o[i],s=t.getItem().getChildren()[i];if(0!==a.length){if(!(s instanceof u.default))return e(a[0]);if("LANGUAGE_LITERAL"===s.getNodetype()){for(var c={firstValue:a[0]},d=0;d<a.length;d++){var f=a[d].getLanguage();null==f?c.emptyLanguageValue=a[d]:f===r?c.perfectLocaleLanguageValue=a[d]:f.substring(0,1)===r.substring(0,1)?c.localeLanguageValue=a[d]:-1!==f.indexOf("en")?c.defaultLanguageValue=a[d]:c.anyLanguageValue=a[d]}return c.perfectLocaleLanguageValue||c.localeLanguageValue||c.defaultLanguageValue||c.anyLanguageValue||c.firstValue}return a[0]}if(n){var b=L(t,s,{});return b instanceof g.default?(b.setLanguage(r),b):e(b,!0)}}};t.findFirstValueBinding=P;var R=function e(t,n){for(var o="/"===n[0]?n.slice(1):n,r=t.getItemGroupedChildBindings(),i=o[0],a=0;a<r.length;a++)for(var s=r[a],l=void 0,c=0;c<s.length;c++){var d=s[c],u=d.getItem();if(u instanceof f.default&&void 0===u.getProperty()&&i===u.getId()&&2===o.length&&o[1]===d.getValue())return d;if(d.isValid()){if("propertygroup"===u.getType())u=(d=d.getObjectBinding()).getItem();else if(void 0===u.getProperty()&&(l=e(d,o)))return l;if("*"===i||i===d.getPredicate())if("group"===u.getType()){if(l=e(d,o.slice(1)))return l}else if(1===o.length||"*"===o[1]||o[1]===d.getValue())return d}}};t.matchPathBelowBinding=R;var z=function(e,t){var n=t[0],o=e;if("/"===n){for(;o.getParent();)o=o.getParent();return o}if(".."===n){for(var r=0;r<t.length;r++){if(".."!==t[r]||!o.getParent())return o;o=o.getParent()}return o}return e};t.findBindingRelativeToParentBinding=z;var F=function(e,t){var n=e.getId(),o={},r={};e.getChoices().forEach((function(e){o[e.value]=0,r[e.value]=e}));t.getChildBindings().forEach((function(e){var t=e.getItem().getDeps();if(t&&(t[0]===n||"/"===t[0]&&t[1]===n)){var r="/"===t[0]?t[2]:t[1],i=o[r];void 0!==i&&(o[r]=i+1)}}));var i,a=0;return Object.keys(o).forEach((function(e){(!i||o[e]>a)&&(i=e,a=o[e])})),r[i]};t.findPopularChoice=F;var B=function(e){var t=function e(t,n,o){var r=n.getCardinality();return o&&"group"===n.getType()||(null!=r?r.min>0?t.mandatory+=1:r.pref>0?t.recommended+=1:t.optional+=1:t.optional+=1),"group"===n.getType()&&n.getChildren().forEach((function(n){return e(t,n)})),t}({mandatory:0,recommended:0,optional:0},e,!0);return t.itemCount=t.mandatory+t.recommended+t.optional,t};t.levelProfile=B;var V=function(e){if(e.mandatory>0){if(0===e.recommended&&0===e.optional)return"mandatory";if(0===e.optional)return"mixed_mandatory_recommended";if(0===e.recommended)return"mixed_mandatory_optional"}else{if(e.recommended>0)return 0===e.optional?"recommended":"mixed_recommended_optional";if(0===e.recommended&&e.recommended>0&&0===e.optional)return"optional"}return"mixed_all"};t.detectLevel=V;var Y={detectLevel:V,levelProfile:B,findFirstValueBinding:P,create:L,constructTemplate:O,findPopularChoice:F,match:C,fuzzyMatch:T,matchPathBelowBinding:R,findBindingRelativeToParentBinding:z,CODES:w.default};t.default=Y},function(e,t,n){"use strict";var o=function(){this.__data__=[],this.size=0},r=n(111);var i=function(e,t){for(var n=e.length;n--;)if(Object(r.a)(e[n][0],t))return n;return-1},a=Array.prototype.splice;var s=function(e){var t=this.__data__,n=i(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)};var l=function(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]};var c=function(e){return i(this.__data__,e)>-1};var d=function(e,t){var n=this.__data__,o=i(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this};function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}u.prototype.clear=o,u.prototype.delete=s,u.prototype.get=l,u.prototype.has=c,u.prototype.set=d;t.a=u},function(e,t,n){"use strict";var o=n(50),r=n(34),i=Object(o.a)(r.a,"Map");t.a=i},function(e,t,n){var o=n(71),r=TypeError;e.exports=function(e){if(o(e))throw r("Can't call method on "+e);return e}},function(e,t,n){"use strict";var o=n(127).PROPER,r=n(48),i=n(31),a=n(43),s=n(12),l=n(274),c=RegExp.prototype.toString,d=s((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),u=o&&"toString"!=c.name;(d||u)&&r(RegExp.prototype,"toString",(function(){var e=i(this);return"/"+a(e.source)+"/"+a(l(e))}),{unsafe:!0})},function(e,t,n){var o=n(33),r=n(29),i=n(162),a=n(128),s=n(57),l=n(157),c=n(28),d=n(252),u=Object.getOwnPropertyDescriptor;t.f=o?u:function(e,t){if(e=s(e),t=l(t),d)try{return u(e,t)}catch(e){}if(c(e,t))return a(!r(i.f,e,t),e[t])}},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function o(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function l(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,o=[],r=e.length;for(n=0;n<r;++n)o.push(t(e[n],n));return o}function f(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function b(e,t,n,o){return Ct(e,t,n,o,!0).utc()}function p(e){return null==e._pf&&(e._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}),e._pf}function m(e){if(null==e._isValid){var t=p(e),o=n.call(t.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&o);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function g(e){var t=b(NaN);return null!=e?f(p(t),e):p(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),o=n.length>>>0;for(t=0;t<o;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var h=o.momentProperties=[],v=!1;function y(e,t){var n,o,r,i=h.length;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=p(t)),l(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)l(r=t[o=h[n]])||(e[o]=r);return e}function w(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,o.updateOffset(this),v=!1)}function x(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function k(e){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function _(e,t){var n=!0;return f((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),n){var r,i,s,l=[],c=arguments.length;for(i=0;i<c;i++){if(r="","object"==typeof arguments[i]){for(s in r+="\n["+i+"] ",arguments[0])a(arguments[0],s)&&(r+=s+": "+arguments[0][s]+", ");r=r.slice(0,-2)}else r=arguments[i];l.push(r)}k(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var C,T={};function O(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),T[e]||(k(t),T[e]=!0)}function E(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e,t){var n,o=f({},e);for(n in t)a(t,n)&&(i(e[n])&&i(t[n])?(o[n]={},f(o[n],e[n]),f(o[n],t[n])):null!=t[n]?o[n]=t[n]:delete o[n]);for(n in e)a(e,n)&&!a(t,n)&&i(e[n])&&(o[n]=f({},o[n]));return o}function D(e){null!=e&&this.set(e)}function j(e,t,n){var o=""+Math.abs(e),r=t-o.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+o}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var N=/(\[[^\[]*\])|(\\)?([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,A=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},M={};function L(e,t,n,o){var r=o;"string"==typeof o&&(r=function(){return this[o]()}),e&&(M[e]=r),t&&(M[t[0]]=function(){return j(r.apply(this,arguments),t[1],t[2])}),n&&(M[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function P(e,t){return e.isValid()?(t=R(t,e.localeData()),I[t]=I[t]||function(e){var t,n,o,r=e.match(N);for(t=0,n=r.length;t<n;t++)M[r[t]]?r[t]=M[r[t]]:r[t]=(o=r[t]).match(/\[[\s\S]/)?o.replace(/^\[|\]$/g,""):o.replace(/\\/g,"");return function(t){var o,i="";for(o=0;o<n;o++)i+=E(r[o])?r[o].call(t,e):r[o];return i}}(t),I[t](e)):e.localeData().invalidDate()}function R(e,t){var n=5;function o(e){return t.longDateFormat(e)||e}for(A.lastIndex=0;n>=0&&A.test(e);)e=e.replace(A,o),A.lastIndex=0,n-=1;return e}var z={};function F(e,t){var n=e.toLowerCase();z[n]=z[n+"s"]=z[t]=e}function B(e){return"string"==typeof e?z[e]||z[e.toLowerCase()]:void 0}function V(e){var t,n,o={};for(n in e)a(e,n)&&(t=B(n))&&(o[t]=e[n]);return o}var Y={};function $(e,t){Y[e]=t}function U(e){return e%4==0&&e%100!=0||e%400==0}function H(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function G(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=H(t)),n}function W(e,t){return function(n){return null!=n?(Q(this,e,n),o.updateOffset(this,t),this):q(this,e)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&U(e.year())&&1===e.month()&&29===e.date()?(n=G(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),xe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var X,Z=/\d/,K=/\d\d/,J=/\d{3}/,ee=/\d{4}/,te=/[+-]?\d{6}/,ne=/\d\d?/,oe=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,ae=/\d{1,4}/,se=/[+-]?\d{1,6}/,le=/\d+/,ce=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,fe=/[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 be(e,t,n){X[e]=E(t)?t:function(e,o){return e&&n?n:t}}function pe(e,t){return a(X,e)?X[e](t._strict,t._locale):new RegExp(function(e){return me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,o,r){return t||n||o||r})))}(e))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}X={};var ge,he={};function ve(e,t){var n,o,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,n){n[t]=G(e)}),o=e.length,n=0;n<o;n++)he[e[n]]=r}function ye(e,t){ve(e,(function(e,n,o,r){o._w=o._w||{},t(e,o._w,o,r)}))}function we(e,t,n){null!=t&&a(he,e)&&he[e](t,n._a,n,e)}function xe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,o=(t%(n=12)+n)%n;return e+=(t-o)/12,1===o?U(e)?29:28:31-o%7%2}ge=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},L("M",["MM",2],"Mo",(function(){return this.month()+1})),L("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),L("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),F("month","M"),$("month",8),be("M",ne),be("MM",ne,K),be("MMM",(function(e,t){return t.monthsShortRegex(e)})),be("MMMM",(function(e,t){return t.monthsRegex(e)})),ve(["M","MM"],(function(e,t){t[1]=G(e)-1})),ve(["MMM","MMMM"],(function(e,t,n,o){var r=n._locale.monthsParse(e,o,n._strict);null!=r?t[1]=r:p(n).invalidMonth=e}));var ke="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),_e="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ce=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Te=fe,Oe=fe;function Ee(e,t,n){var o,r,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)i=b([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=ge.call(this._shortMonthsParse,a))?r:null:-1!==(r=ge.call(this._longMonthsParse,a))?r:null:"MMM"===t?-1!==(r=ge.call(this._shortMonthsParse,a))||-1!==(r=ge.call(this._longMonthsParse,a))?r:null:-1!==(r=ge.call(this._longMonthsParse,a))||-1!==(r=ge.call(this._shortMonthsParse,a))?r:null}function Se(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=G(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),xe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function De(e){return null!=e?(Se(this,e),o.updateOffset(this,!0),this):q(this,"Month")}function je(){function e(e,t){return t.length-e.length}var t,n,o=[],r=[],i=[];for(t=0;t<12;t++)n=b([2e3,t]),o.push(this.monthsShort(n,"")),r.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(o.sort(e),r.sort(e),i.sort(e),t=0;t<12;t++)o[t]=me(o[t]),r[t]=me(r[t]);for(t=0;t<24;t++)i[t]=me(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ne(e){return U(e)?366:365}L("Y",0,0,(function(){var e=this.year();return e<=9999?j(e,4):"+"+e})),L(0,["YY",2],0,(function(){return this.year()%100})),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),F("year","y"),$("year",1),be("Y",ce),be("YY",ne,K),be("YYYY",ae,ee),be("YYYYY",se,te),be("YYYYYY",se,te),ve(["YYYYY","YYYYYY"],0),ve("YYYY",(function(e,t){t[0]=2===e.length?o.parseTwoDigitYear(e):G(e)})),ve("YY",(function(e,t){t[0]=o.parseTwoDigitYear(e)})),ve("Y",(function(e,t){t[0]=parseInt(e,10)})),o.parseTwoDigitYear=function(e){return G(e)+(G(e)>68?1900:2e3)};var Ae=W("FullYear",!0);function Ie(e,t,n,o,r,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,o,r,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,o,r,i,a),s}function Me(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Le(e,t,n){var o=7+t-n;return-(7+Me(e,0,o).getUTCDay()-t)%7+o-1}function Pe(e,t,n,o,r){var i,a,s=1+7*(t-1)+(7+n-o)%7+Le(e,o,r);return s<=0?a=Ne(i=e-1)+s:s>Ne(e)?(i=e+1,a=s-Ne(e)):(i=e,a=s),{year:i,dayOfYear:a}}function Re(e,t,n){var o,r,i=Le(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?o=a+ze(r=e.year()-1,t,n):a>ze(e.year(),t,n)?(o=a-ze(e.year(),t,n),r=e.year()+1):(r=e.year(),o=a),{week:o,year:r}}function ze(e,t,n){var o=Le(e,t,n),r=Le(e+1,t,n);return(Ne(e)-o+r)/7}function Fe(e,t){return e.slice(t,7).concat(e.slice(0,t))}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),$("week",5),$("isoWeek",5),be("w",ne),be("ww",ne,K),be("W",ne),be("WW",ne,K),ye(["w","ww","W","WW"],(function(e,t,n,o){t[o.substr(0,1)]=G(e)})),L("d",0,"do","day"),L("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),L("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),L("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),$("day",11),$("weekday",11),$("isoWeekday",11),be("d",ne),be("e",ne),be("E",ne),be("dd",(function(e,t){return t.weekdaysMinRegex(e)})),be("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),be("dddd",(function(e,t){return t.weekdaysRegex(e)})),ye(["dd","ddd","dddd"],(function(e,t,n,o){var r=n._locale.weekdaysParse(e,o,n._strict);null!=r?t.d=r:p(n).invalidWeekday=e})),ye(["d","e","E"],(function(e,t,n,o){t[o]=G(e)}));var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ye="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$e=fe,Ue=fe,He=fe;function Ge(e,t,n){var o,r,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)i=b([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=ge.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ge.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=ge.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=ge.call(this._weekdaysParse,a))||-1!==(r=ge.call(this._shortWeekdaysParse,a))||-1!==(r=ge.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ge.call(this._shortWeekdaysParse,a))||-1!==(r=ge.call(this._weekdaysParse,a))||-1!==(r=ge.call(this._minWeekdaysParse,a))?r:null:-1!==(r=ge.call(this._minWeekdaysParse,a))||-1!==(r=ge.call(this._weekdaysParse,a))||-1!==(r=ge.call(this._shortWeekdaysParse,a))?r:null}function We(){function e(e,t){return t.length-e.length}var t,n,o,r,i,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=b([2e3,1]).day(t),o=me(this.weekdaysMin(n,"")),r=me(this.weekdaysShort(n,"")),i=me(this.weekdays(n,"")),a.push(o),s.push(r),l.push(i),c.push(o),c.push(r),c.push(i);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function qe(){return this.hours()%12||12}function Qe(e,t){L(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Xe(e,t){return t._meridiemParse}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,qe),L("k",["kk",2],0,(function(){return this.hours()||24})),L("hmm",0,0,(function(){return""+qe.apply(this)+j(this.minutes(),2)})),L("hmmss",0,0,(function(){return""+qe.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)})),L("Hmm",0,0,(function(){return""+this.hours()+j(this.minutes(),2)})),L("Hmmss",0,0,(function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)})),Qe("a",!0),Qe("A",!1),F("hour","h"),$("hour",13),be("a",Xe),be("A",Xe),be("H",ne),be("h",ne),be("k",ne),be("HH",ne,K),be("hh",ne,K),be("kk",ne,K),be("hmm",oe),be("hmmss",re),be("Hmm",oe),be("Hmmss",re),ve(["H","HH"],3),ve(["k","kk"],(function(e,t,n){var o=G(e);t[3]=24===o?0:o})),ve(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ve(["h","hh"],(function(e,t,n){t[3]=G(e),p(n).bigHour=!0})),ve("hmm",(function(e,t,n){var o=e.length-2;t[3]=G(e.substr(0,o)),t[4]=G(e.substr(o)),p(n).bigHour=!0})),ve("hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[3]=G(e.substr(0,o)),t[4]=G(e.substr(o,2)),t[5]=G(e.substr(r)),p(n).bigHour=!0})),ve("Hmm",(function(e,t,n){var o=e.length-2;t[3]=G(e.substr(0,o)),t[4]=G(e.substr(o))})),ve("Hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[3]=G(e.substr(0,o)),t[4]=G(e.substr(o,2)),t[5]=G(e.substr(r))}));var Ze,Ke=W("Hours",!0),Je={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:ke,monthsShort:_e,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:Ye,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e,t){var n,o=Math.min(e.length,t.length);for(n=0;n<o;n+=1)if(e[n]!==t[n])return n;return o}function ot(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(void 0===et[t]&&void 0!==e&&e&&e.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(t))try{n=Ze._abbr,function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),it(n)}catch(e){et[t]=null}return et[t]}function it(e,t){var n;return e&&((n=l(t)?st(e):at(e,t))?Ze=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function at(e,t){if(null!==t){var n,o=Je;if(t.abbr=e,null!=et[e])O("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."),o=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])o=et[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;o=n._config}return et[e]=new D(S(o,t)),tt[e]&&tt[e].forEach((function(e){at(e.name,e.config)})),it(e),et[e]}return delete et[e],null}function st(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!r(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,o,r,i=0;i<e.length;){for(t=(r=ot(e[i]).split("-")).length,n=(n=ot(e[i+1]))?n.split("-"):null;t>0;){if(o=rt(r.slice(0,t).join("-")))return o;if(n&&n.length>=t&&nt(r,n)>=t-1)break;t--}i++}return Ze}(e)}function lt(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>xe(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}var ct=/^\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)?)?$/,dt=/^\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)?)?$/,ut=/Z|[+-]\d\d(?::?\d\d)?/,ft=[["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]],bt=[["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/]],pt=/^\/?Date\((-?\d+)/i,mt=/^(?:(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}))$/,gt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ht(e){var t,n,o,r,i,a,s=e._i,l=ct.exec(s)||dt.exec(s),c=ft.length,d=bt.length;if(l){for(p(e).iso=!0,t=0,n=c;t<n;t++)if(ft[t][1].exec(l[1])){r=ft[t][0],o=!1!==ft[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=d;t<n;t++)if(bt[t][1].exec(l[3])){i=(l[2]||" ")+bt[t][0];break}if(null==i)return void(e._isValid=!1)}if(!o&&null!=i)return void(e._isValid=!1);if(l[4]){if(!ut.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=r+(i||"")+(a||""),kt(e)}else e._isValid=!1}function vt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function yt(e){var t,n,o,r,i,a,s,l,c=mt.exec(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(e._i));if(c){if(n=c[4],o=c[3],r=c[2],i=c[5],a=c[6],s=c[7],l=[vt(n),_e.indexOf(o),parseInt(r,10),parseInt(i,10),parseInt(a,10)],s&&l.push(parseInt(s,10)),t=l,!function(e,t,n){return!e||Ve.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return gt[e];if(t)return 0;var o=parseInt(n,10),r=o%100;return(o-r)/100*60+r}(c[8],c[9],c[10]),e._d=Me.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function wt(e,t,n){return null!=e?e:null!=t?t:n}function xt(e){var t,n,r,i,a,s=[];if(!e._d){for(r=function(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,o,r,i,a,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=wt(t.GG,e._a[0],Re(Tt(),1,4).year),o=wt(t.W,1),((r=wt(t.E,1))<1||r>7)&&(l=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=Re(Tt(),i,a),n=wt(t.gg,e._a[0],c.year),o=wt(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+i,(t.e<0||t.e>6)&&(l=!0)):r=i),o<1||o>ze(n,i,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=Pe(n,o,r,i,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=wt(e._a[0],r[0]),(e._dayOfYear>Ne(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Me(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Me:Ie).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(p(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],p(e).empty=!0;var t,n,r,i,a,s,l,c=""+e._i,d=c.length,u=0;for(l=(r=R(e._f,e._locale).match(N)||[]).length,t=0;t<l;t++)i=r[t],(n=(c.match(pe(i,e))||[])[0])&&((a=c.substr(0,c.indexOf(n))).length>0&&p(e).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),u+=n.length),M[i]?(n?p(e).empty=!1:p(e).unusedTokens.push(i),we(i,n,e)):e._strict&&!n&&p(e).unusedTokens.push(i);p(e).charsLeftOver=d-u,c.length>0&&p(e).unusedInput.push(c),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var o;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((o=e.isPM(n))&&t<12&&(t+=12),o||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=p(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),xt(e),lt(e)}else yt(e);else ht(e)}function _t(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new w(lt(t)):(d(t)?e._d=t:r(n)?function(e){var t,n,o,r,i,a,s=!1,l=e._f.length;if(0===l)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)i=0,a=!1,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],kt(t),m(t)&&(a=!0),i+=p(t).charsLeftOver,i+=10*p(t).unusedTokens.length,p(t).score=i,s?i<o&&(o=i,n=t):(null==o||i<o||a)&&(o=i,n=t,a&&(s=!0));f(e,n||t)}(e):n?kt(e):function(e){var t=e._i;l(t)?e._d=new Date(o.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=pt.exec(e._i);null===t?(ht(e),!1===e._isValid&&(delete e._isValid,yt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:o.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):r(t)?(e._a=u(t.slice(0),(function(e){return parseInt(e,10)})),xt(e)):i(t)?function(e){if(!e._d){var t=V(e._i),n=void 0===t.day?t.date:t.day;e._a=u([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),xt(e)}}(e):c(t)?e._d=new Date(t):o.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function Ct(e,t,n,o,a){var l,c={};return!0!==t&&!1!==t||(o=t,t=void 0),!0!==n&&!1!==n||(o=n,n=void 0),(i(e)&&s(e)||r(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=n,c._i=e,c._f=t,c._strict=o,(l=new w(lt(_t(c))))._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function Tt(e,t,n,o){return Ct(e,t,n,o,!1)}o.createFromInputFallback=_("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Ot=_("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()})),Et=_("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:g()}));function St(e,t){var n,o;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],o=1;o<t.length;++o)t[o].isValid()&&!t[o][e](n)||(n=t[o]);return n}var Dt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function jt(e){var t=V(e),n=t.year||0,o=t.quarter||0,r=t.month||0,i=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,c=t.minute||0,d=t.second||0,u=t.millisecond||0;this._isValid=function(e){var t,n,o=!1,r=Dt.length;for(t in e)if(a(e,t)&&(-1===ge.call(Dt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[Dt[n]]){if(o)return!1;parseFloat(e[Dt[n]])!==G(e[Dt[n]])&&(o=!0)}return!0}(t),this._milliseconds=+u+1e3*d+6e4*c+1e3*l*60*60,this._days=+s+7*i,this._months=+r+3*o+12*n,this._data={},this._locale=st(),this._bubble()}function Nt(e){return e instanceof jt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function It(e,t){L(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+j(~~(e/60),2)+t+j(~~e%60,2)}))}It("Z",":"),It("ZZ",""),be("Z",ue),be("ZZ",ue),ve(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Lt(ue,e)}));var Mt=/([\+\-]|\d\d)/gi;function Lt(e,t){var n,o,r=(t||"").match(e);return null===r?null:0===(o=60*(n=((r[r.length-1]||[])+"").match(Mt)||["-",0,0])[1]+G(n[2]))?0:"+"===n[0]?o:-o}function Pt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(x(e)||d(e)?e.valueOf():Tt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),o.updateOffset(n,!1),n):Tt(e).local()}function Rt(e){return-Math.round(e._d.getTimezoneOffset())}function zt(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var Ft=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Bt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vt(e,t){var n,o,r,i,s,l,d=e,u=null;return Nt(e)?d={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(d={},t?d[t]=+e:d.milliseconds=+e):(u=Ft.exec(e))?(n="-"===u[1]?-1:1,d={y:0,d:G(u[2])*n,h:G(u[3])*n,m:G(u[4])*n,s:G(u[5])*n,ms:G(At(1e3*u[6]))*n}):(u=Bt.exec(e))?(n="-"===u[1]?-1:1,d={y:Yt(u[2],n),M:Yt(u[3],n),w:Yt(u[4],n),d:Yt(u[5],n),h:Yt(u[6],n),m:Yt(u[7],n),s:Yt(u[8],n)}):null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(i=Tt(d.from),s=Tt(d.to),r=i.isValid()&&s.isValid()?(s=Pt(s,i),i.isBefore(s)?l=$t(i,s):((l=$t(s,i)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(d={}).ms=r.milliseconds,d.M=r.months),o=new jt(d),Nt(e)&&a(e,"_locale")&&(o._locale=e._locale),Nt(e)&&a(e,"_isValid")&&(o._isValid=e._isValid),o}function Yt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function $t(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ut(e,t){return function(n,o){var r;return null===o||isNaN(+o)||(O(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=o,o=r),Ht(this,Vt(n,o),e),this}}function Ht(e,t,n,r){var i=t._milliseconds,a=At(t._days),s=At(t._months);e.isValid()&&(r=null==r||r,s&&Se(e,q(e,"Month")+s*n),a&&Q(e,"Date",q(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&o.updateOffset(e,a||s))}Vt.fn=jt.prototype,Vt.invalid=function(){return Vt(NaN)};var Gt=Ut(1,"add"),Wt=Ut(-1,"subtract");function qt(e){return"string"==typeof e||e instanceof String}function Qt(e){return x(e)||d(e)||qt(e)||c(e)||function(e){var t=r(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&qt(e)})).length),t&&n}(e)||function(e){var t,n,o=i(e)&&!s(e),r=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=l.length;for(t=0;t<c;t+=1)n=l[t],r=r||a(e,n);return o&&r}(e)||null==e}function Xt(e){var t,n=i(e)&&!s(e),o=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<r.length;t+=1)o=o||a(e,r[t]);return n&&o}function Zt(e,t){if(e.date()<t.date())return-Zt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(n,"months");return-(n+(t-o<0?(t-o)/(o-e.clone().add(n-1,"months")):(t-o)/(e.clone().add(n+1,"months")-o)))||0}function Kt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=st(e))&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Jt=_("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function en(){return this._locale}function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function on(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function rn(e,t){return t.erasAbbrRegex(e)}function an(){var e,t,n=[],o=[],r=[],i=[],a=this.eras();for(e=0,t=a.length;e<t;++e)o.push(me(a[e].name)),n.push(me(a[e].abbr)),r.push(me(a[e].narrow)),i.push(me(a[e].name)),i.push(me(a[e].abbr)),i.push(me(a[e].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function sn(e,t){L(0,[e,e.length],0,t)}function ln(e,t,n,o,r){var i;return null==e?Re(this,o,r).year:(t>(i=ze(e,o,r))&&(t=i),cn.call(this,e,t,n,o,r))}function cn(e,t,n,o,r){var i=Pe(e,t,n,o,r),a=Me(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}L("N",0,0,"eraAbbr"),L("NN",0,0,"eraAbbr"),L("NNN",0,0,"eraAbbr"),L("NNNN",0,0,"eraName"),L("NNNNN",0,0,"eraNarrow"),L("y",["y",1],"yo","eraYear"),L("y",["yy",2],0,"eraYear"),L("y",["yyy",3],0,"eraYear"),L("y",["yyyy",4],0,"eraYear"),be("N",rn),be("NN",rn),be("NNN",rn),be("NNNN",(function(e,t){return t.erasNameRegex(e)})),be("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ve(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,o){var r=n._locale.erasParse(e,o,n._strict);r?p(n).era=r:p(n).invalidEra=e})),be("y",le),be("yy",le),be("yyy",le),be("yyyy",le),be("yo",(function(e,t){return t._eraYearOrdinalRegex||le})),ve(["y","yy","yyy","yyyy"],0),ve(["yo"],(function(e,t,n,o){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,r):t[0]=parseInt(e,10)})),L(0,["gg",2],0,(function(){return this.weekYear()%100})),L(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),$("weekYear",1),$("isoWeekYear",1),be("G",ce),be("g",ce),be("GG",ne,K),be("gg",ne,K),be("GGGG",ae,ee),be("gggg",ae,ee),be("GGGGG",se,te),be("ggggg",se,te),ye(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,o){t[o.substr(0,2)]=G(e)})),ye(["gg","GG"],(function(e,t,n,r){t[r]=o.parseTwoDigitYear(e)})),L("Q",0,"Qo","quarter"),F("quarter","Q"),$("quarter",7),be("Q",Z),ve("Q",(function(e,t){t[1]=3*(G(e)-1)})),L("D",["DD",2],"Do","date"),F("date","D"),$("date",9),be("D",ne),be("DD",ne,K),be("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ve(["D","DD"],2),ve("Do",(function(e,t){t[2]=G(e.match(ne)[0])}));var dn=W("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),$("dayOfYear",4),be("DDD",ie),be("DDDD",J),ve(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=G(e)})),L("m",["mm",2],0,"minute"),F("minute","m"),$("minute",14),be("m",ne),be("mm",ne,K),ve(["m","mm"],4);var un=W("Minutes",!1);L("s",["ss",2],0,"second"),F("second","s"),$("second",15),be("s",ne),be("ss",ne,K),ve(["s","ss"],5);var fn,bn,pn=W("Seconds",!1);for(L("S",0,0,(function(){return~~(this.millisecond()/100)})),L(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),L(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),L(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),L(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),L(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),L(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),F("millisecond","ms"),$("millisecond",16),be("S",ie,Z),be("SS",ie,K),be("SSS",ie,J),fn="SSSS";fn.length<=9;fn+="S")be(fn,le);function mn(e,t){t[6]=G(1e3*("0."+e))}for(fn="S";fn.length<=9;fn+="S")ve(fn,mn);bn=W("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");var gn=w.prototype;function hn(e){return e}gn.add=Gt,gn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):Xt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Tt(),r=Pt(n,this).startOf("day"),i=o.calendarFormat(this,r)||"sameElse",a=t&&(E(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,Tt(n)))},gn.clone=function(){return new w(this)},gn.diff=function(e,t,n){var o,r,i;if(!this.isValid())return NaN;if(!(o=Pt(e,this)).isValid())return NaN;switch(r=6e4*(o.utcOffset()-this.utcOffset()),t=B(t)){case"year":i=Zt(this,o)/12;break;case"month":i=Zt(this,o);break;case"quarter":i=Zt(this,o)/3;break;case"second":i=(this-o)/1e3;break;case"minute":i=(this-o)/6e4;break;case"hour":i=(this-o)/36e5;break;case"day":i=(this-o-r)/864e5;break;case"week":i=(this-o-r)/6048e5;break;default:i=this-o}return n?i:H(i)},gn.endOf=function(e){var t,n;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?on:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),o.updateOffset(this,!0),this},gn.format=function(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=P(this,e);return this.localeData().postformat(t)},gn.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Tt(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},gn.fromNow=function(e){return this.from(Tt(),e)},gn.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Tt(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},gn.toNow=function(e){return this.to(Tt(),e)},gn.get=function(e){return E(this[e=B(e)])?this[e]():this},gn.invalidAt=function(){return p(this).overflow},gn.isAfter=function(e,t){var n=x(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},gn.isBefore=function(e,t){var n=x(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},gn.isBetween=function(e,t,n,o){var r=x(e)?e:Tt(e),i=x(t)?t:Tt(t);return!!(this.isValid()&&r.isValid()&&i.isValid())&&(("("===(o=o||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===o[1]?this.isBefore(i,n):!this.isAfter(i,n)))},gn.isSame=function(e,t){var n,o=x(e)?e:Tt(e);return!(!this.isValid()||!o.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()===o.valueOf():(n=o.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},gn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},gn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},gn.isValid=function(){return m(this)},gn.lang=Jt,gn.locale=Kt,gn.localeData=en,gn.max=Et,gn.min=Ot,gn.parsingFlags=function(){return f({},p(this))},gn.set=function(e,t){if("object"==typeof e){var n,o=function(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:Y[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=V(e)),r=o.length;for(n=0;n<r;n++)this[o[n].unit](e[o[n].unit])}else if(E(this[e=B(e)]))return this[e](t);return this},gn.startOf=function(e){var t,n;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?on:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}return this._d.setTime(t),o.updateOffset(this,!0),this},gn.subtract=Wt,gn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},gn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},gn.toDate=function(){return new Date(this.valueOf())},gn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?P(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",P(n,"Z")):P(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,o="moment",r="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=r+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(gn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),gn.toJSON=function(){return this.isValid()?this.toISOString():null},gn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},gn.unix=function(){return Math.floor(this.valueOf()/1e3)},gn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},gn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},gn.eraName=function(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),o[e].since<=n&&n<=o[e].until)return o[e].name;if(o[e].until<=n&&n<=o[e].since)return o[e].name}return""},gn.eraNarrow=function(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),o[e].since<=n&&n<=o[e].until)return o[e].narrow;if(o[e].until<=n&&n<=o[e].since)return o[e].narrow}return""},gn.eraAbbr=function(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),o[e].since<=n&&n<=o[e].until)return o[e].abbr;if(o[e].until<=n&&n<=o[e].since)return o[e].abbr}return""},gn.eraYear=function(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.clone().startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-o(i[e].since).year())*n+i[e].offset;return this.year()},gn.year=Ae,gn.isLeapYear=function(){return U(this.year())},gn.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},gn.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},gn.quarter=gn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},gn.month=De,gn.daysInMonth=function(){return xe(this.year(),this.month())},gn.week=gn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},gn.isoWeek=gn.isoWeeks=function(e){var t=Re(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},gn.weeksInYear=function(){var e=this.localeData()._week;return ze(this.year(),e.dow,e.doy)},gn.weeksInWeekYear=function(){var e=this.localeData()._week;return ze(this.weekYear(),e.dow,e.doy)},gn.isoWeeksInYear=function(){return ze(this.year(),1,4)},gn.isoWeeksInISOWeekYear=function(){return ze(this.isoWeekYear(),1,4)},gn.date=dn,gn.day=gn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},gn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},gn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},gn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},gn.hour=gn.hours=Ke,gn.minute=gn.minutes=un,gn.second=gn.seconds=pn,gn.millisecond=gn.milliseconds=bn,gn.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Lt(ue,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Rt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Ht(this,Vt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Rt(this)},gn.utc=function(e){return this.utcOffset(0,e)},gn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Rt(this),"m")),this},gn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Lt(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},gn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},gn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},gn.isLocal=function(){return!!this.isValid()&&!this._isUTC},gn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},gn.isUtc=zt,gn.isUTC=zt,gn.zoneAbbr=function(){return this._isUTC?"UTC":""},gn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gn.dates=_("dates accessor is deprecated. Use date instead.",dn),gn.months=_("months accessor is deprecated. Use month instead",De),gn.years=_("years accessor is deprecated. Use year instead",Ae),gn.zone=_("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),gn.isDSTShifted=_("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return y(t,this),(t=_t(t))._a?(e=t._isUTC?b(t._a):Tt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var o,r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(o=0;o<r;o++)(n&&e[o]!==t[o]||!n&&G(e[o])!==G(t[o]))&&a++;return a+i}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var vn=D.prototype;function yn(e,t,n,o){var r=st(),i=b().set(o,t);return r[n](i,e)}function wn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return yn(e,t,n,"month");var o,r=[];for(o=0;o<12;o++)r[o]=yn(e,o,n,"month");return r}function xn(e,t,n,o){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var r,i=st(),a=e?i._week.dow:0,s=[];if(null!=n)return yn(t,(n+a)%7,o,"day");for(r=0;r<7;r++)s[r]=yn(t,(r+a)%7,o,"day");return s}vn.calendar=function(e,t,n){var o=this._calendar[e]||this._calendar.sameElse;return E(o)?o.call(t,n):o},vn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},vn.invalidDate=function(){return this._invalidDate},vn.ordinal=function(e){return this._ordinal.replace("%d",e)},vn.preparse=hn,vn.postformat=hn,vn.relativeTime=function(e,t,n,o){var r=this._relativeTime[n];return E(r)?r(e,t,n,o):r.replace(/%d/i,e)},vn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)},vn.set=function(e){var t,n;for(n in e)a(e,n)&&(E(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},vn.eras=function(e,t){var n,r,i,a=this._eras||st("en")._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case"string":i=o(a[n].since).startOf("day"),a[n].since=i.valueOf()}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=o(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf()}}return a},vn.erasParse=function(e,t,n){var o,r,i,a,s,l=this.eras();for(e=e.toUpperCase(),o=0,r=l.length;o<r;++o)if(i=l[o].name.toUpperCase(),a=l[o].abbr.toUpperCase(),s=l[o].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[o];break;case"NNNN":if(i===e)return l[o];break;case"NNNNN":if(s===e)return l[o]}else if([i,a,s].indexOf(e)>=0)return l[o]},vn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?o(e.since).year():o(e.since).year()+(t-e.offset)*n},vn.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},vn.erasNameRegex=function(e){return a(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},vn.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},vn.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ce).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},vn.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ce.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},vn.monthsParse=function(e,t,n){var o,r,i;if(this._monthsParseExact)return Ee.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(r=b([2e3,o]),n&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[o]||(i="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[o]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[o].test(e))return o;if(n&&"MMM"===t&&this._shortMonthsParse[o].test(e))return o;if(!n&&this._monthsParse[o].test(e))return o}},vn.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},vn.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Te),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},vn.week=function(e){return Re(e,this._week.dow,this._week.doy).week},vn.firstDayOfYear=function(){return this._week.doy},vn.firstDayOfWeek=function(){return this._week.dow},vn.weekdays=function(e,t){var n=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Fe(n,this._week.dow):e?n[e.day()]:n},vn.weekdaysMin=function(e){return!0===e?Fe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},vn.weekdaysShort=function(e){return!0===e?Fe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},vn.weekdaysParse=function(e,t,n){var o,r,i;if(this._weekdaysParseExact)return Ge.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(r=b([2e3,1]).day(o),n&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(i="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[o]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[o].test(e))return o;if(n&&"ddd"===t&&this._shortWeekdaysParse[o].test(e))return o;if(n&&"dd"===t&&this._minWeekdaysParse[o].test(e))return o;if(!n&&this._weekdaysParse[o].test(e))return o}},vn.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=$e),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},vn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ue),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},vn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=He),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},vn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},vn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===G(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),o.lang=_("moment.lang is deprecated. Use moment.locale instead.",it),o.langData=_("moment.langData is deprecated. Use moment.localeData instead.",st);var kn=Math.abs;function _n(e,t,n,o){var r=Vt(t,n);return e._milliseconds+=o*r._milliseconds,e._days+=o*r._days,e._months+=o*r._months,e._bubble()}function Cn(e){return e<0?Math.floor(e):Math.ceil(e)}function Tn(e){return 4800*e/146097}function On(e){return 146097*e/4800}function En(e){return function(){return this.as(e)}}var Sn=En("ms"),Dn=En("s"),jn=En("m"),Nn=En("h"),An=En("d"),In=En("w"),Mn=En("M"),Ln=En("Q"),Pn=En("y");function Rn(e){return function(){return this.isValid()?this._data[e]:NaN}}var zn=Rn("milliseconds"),Fn=Rn("seconds"),Bn=Rn("minutes"),Vn=Rn("hours"),Yn=Rn("days"),$n=Rn("months"),Un=Rn("years"),Hn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Wn(e,t,n,o,r){return r.relativeTime(t||1,!!n,e,o)}var qn=Math.abs;function Qn(e){return(e>0)-(e<0)||+e}function Xn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,o,r,i,a,s,l=qn(this._milliseconds)/1e3,c=qn(this._days),d=qn(this._months),u=this.asSeconds();return u?(e=H(l/60),t=H(e/60),l%=60,e%=60,n=H(d/12),d%=12,o=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=u<0?"-":"",i=Qn(this._months)!==Qn(u)?"-":"",a=Qn(this._days)!==Qn(u)?"-":"",s=Qn(this._milliseconds)!==Qn(u)?"-":"",r+"P"+(n?i+n+"Y":"")+(d?i+d+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+o+"S":"")):"P0D"}var Zn=jt.prototype;return Zn.isValid=function(){return this._isValid},Zn.abs=function(){var e=this._data;return this._milliseconds=kn(this._milliseconds),this._days=kn(this._days),this._months=kn(this._months),e.milliseconds=kn(e.milliseconds),e.seconds=kn(e.seconds),e.minutes=kn(e.minutes),e.hours=kn(e.hours),e.months=kn(e.months),e.years=kn(e.years),this},Zn.add=function(e,t){return _n(this,e,t,1)},Zn.subtract=function(e,t){return _n(this,e,t,-1)},Zn.as=function(e){if(!this.isValid())return NaN;var t,n,o=this._milliseconds;if("month"===(e=B(e))||"quarter"===e||"year"===e)switch(t=this._days+o/864e5,n=this._months+Tn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(On(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return 24*t+o/36e5;case"minute":return 1440*t+o/6e4;case"second":return 86400*t+o/1e3;case"millisecond":return Math.floor(864e5*t)+o;default:throw new Error("Unknown unit "+e)}},Zn.asMilliseconds=Sn,Zn.asSeconds=Dn,Zn.asMinutes=jn,Zn.asHours=Nn,Zn.asDays=An,Zn.asWeeks=In,Zn.asMonths=Mn,Zn.asQuarters=Ln,Zn.asYears=Pn,Zn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},Zn._bubble=function(){var e,t,n,o,r,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Cn(On(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=H(i/1e3),l.seconds=e%60,t=H(e/60),l.minutes=t%60,n=H(t/60),l.hours=n%24,a+=H(n/24),r=H(Tn(a)),s+=r,a-=Cn(On(r)),o=H(s/12),s%=12,l.days=a,l.months=s,l.years=o,this},Zn.clone=function(){return Vt(this)},Zn.get=function(e){return e=B(e),this.isValid()?this[e+"s"]():NaN},Zn.milliseconds=zn,Zn.seconds=Fn,Zn.minutes=Bn,Zn.hours=Vn,Zn.days=Yn,Zn.weeks=function(){return H(this.days()/7)},Zn.months=$n,Zn.years=Un,Zn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,o,r=!1,i=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(i=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),n=this.localeData(),o=function(e,t,n,o){var r=Vt(e).abs(),i=Hn(r.as("s")),a=Hn(r.as("m")),s=Hn(r.as("h")),l=Hn(r.as("d")),c=Hn(r.as("M")),d=Hn(r.as("w")),u=Hn(r.as("y")),f=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(f=f||d<=1&&["w"]||d<n.w&&["ww",d]),(f=f||c<=1&&["M"]||c<n.M&&["MM",c]||u<=1&&["y"]||["yy",u])[2]=t,f[3]=+e>0,f[4]=o,Wn.apply(null,f)}(this,!r,i,n),r&&(o=n.pastFuture(+this,o)),n.postformat(o)},Zn.toISOString=Xn,Zn.toString=Xn,Zn.toJSON=Xn,Zn.locale=Kt,Zn.localeData=en,Zn.toIsoString=_("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xn),Zn.lang=Jt,L("X",0,0,"unix"),L("x",0,0,"valueOf"),be("x",ce),be("X",/[+-]?\d+(\.\d{1,3})?/),ve("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ve("x",(function(e,t,n){n._d=new Date(G(e))})),
26
26
  //! moment.js
27
- o.version="2.29.4",t=Tt,o.fn=gn,o.min=function(){var e=[].slice.call(arguments,0);return St("isBefore",e)},o.max=function(){var e=[].slice.call(arguments,0);return St("isAfter",e)},o.now=function(){return Date.now?Date.now():+new Date},o.utc=b,o.unix=function(e){return Tt(1e3*e)},o.months=function(e,t){return wn(e,t,"months")},o.isDate=d,o.locale=it,o.invalid=g,o.duration=Vt,o.isMoment=x,o.weekdays=function(e,t,n){return xn(e,t,n,"weekdays")},o.parseZone=function(){return Tt.apply(null,arguments).parseZone()},o.localeData=st,o.isDuration=Nt,o.monthsShort=function(e,t){return wn(e,t,"monthsShort")},o.weekdaysMin=function(e,t,n){return xn(e,t,n,"weekdaysMin")},o.defineLocale=at,o.updateLocale=function(e,t){if(null!=t){var n,o,r=Je;null!=et[e]&&null!=et[e].parentLocale?et[e].set(S(et[e]._config,t)):(null!=(o=rt(e))&&(r=o._config),t=S(r,t),null==o&&(t.abbr=e),(n=new D(t)).parentLocale=et[e],et[e]=n),it(e)}else null!=et[e]&&(null!=et[e].parentLocale?(et[e]=et[e].parentLocale,e===it()&&it(e)):null!=et[e]&&delete et[e]);return et[e]},o.locales=function(){return C(et)},o.weekdaysShort=function(e,t,n){return xn(e,t,n,"weekdaysShort")},o.normalizeUnits=B,o.relativeTimeRounding=function(e){return void 0===e?Hn:"function"==typeof e&&(Hn=e,!0)},o.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},o.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},o.prototype=gn,o.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"},o}()}).call(this,n(408)(e))},,function(e,t){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(e,t,n){var o=n(33),r=n(49),i=n(128);e.exports=o?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var o,r=n(31),i=n(266),a=n(209),s=n(129),l=n(267),c=n(156),d=n(158),u=d("IE_PROTO"),f=function(){},b=function(e){return"<script>"+e+"<\/script>"},p=function(e){e.write(b("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{o=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&o?p(o):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(b("document.F=Object")),e.close(),e.F):p(o);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};s[u]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=r(e),n=new f,f.prototype=null,n[u]=e):n=m(),void 0===t?n:i.f(n,t)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Graph",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Rdfs",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"Statement",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"converters",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"namespaces",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"print",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"utils",{enumerable:!0,get:function(){return s.default}});var o=d(n(109)),r=d(n(388)),i=d(n(221)),a=d(n(293)),s=d(n(294)),l=d(n(406)),c=d(n(407));function d(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var o=n(166),r=n(29),i=n(19),a=n(233),s=n(12),l=n(31),c=n(27),d=n(71),u=n(130),f=n(206),b=n(43),p=n(88),m=n(270),g=n(117),h=n(394),v=n(234),y=n(26)("replace"),w=Math.max,x=Math.min,k=i([].concat),_=i([].push),C=i("".indexOf),T=i("".slice),O="$0"==="a".replace(/./,"$0"),E=!!/./[y]&&""===/./[y]("a","$0");a("replace",(function(e,t,n){var i=E?"$":"$0";return[function(e,n){var o=p(this),i=d(e)?void 0:g(e,y);return i?r(i,e,o,n):r(t,b(o),e,n)},function(e,r){var a=l(this),s=b(e);if("string"==typeof r&&-1===C(r,i)&&-1===C(r,"$<")){var d=n(t,a,s,r);if(d.done)return d.value}var p=c(r);p||(r=b(r));var g=a.global;if(g){var y=a.unicode;a.lastIndex=0}for(var O=[];;){var E=v(a,s);if(null===E)break;if(_(O,E),!g)break;""===b(E[0])&&(a.lastIndex=m(s,f(a.lastIndex),y))}for(var S,D="",j=0,N=0;N<O.length;N++){for(var A=b((E=O[N])[0]),I=w(x(u(E.index),s.length),0),M=[],L=1;L<E.length;L++)_(M,void 0===(S=E[L])?S:String(S));var P=E.groups;if(p){var R=k([A],M,I,s);void 0!==P&&_(R,P);var z=b(o(r,void 0,R))}else z=h(A,s,I,M,P,r);I>=j&&(D+=T(s,j,I)+z,j=I+A.length)}return D+T(s,j)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!O||E)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(56),n(9),n(89);var o,r=(o=n(60))&&o.__esModule?o:{default:o};var i=function(e,t,n,o){if("URI"===e.getNodetype()||"RESOURCE"===e.getNodetype()){var i=r.default.getLocalizedMap(o,t,e.getURIValueLabelProperties());if(!i){var a=t.lastIndexOf("#"),s=t.lastIndexOf("/");i=a>0||s>0?{"":decodeURIComponent(t.substring(1+(a>s?a:s)))}:{"":t}}return{value:t,label:i}}return{value:t,label:t}},a={hasDnDSupport:function(e){return!1},addDnD:function(e,t,n){return{}},attachExternalLinkBehaviour:function(){return!1},attachLinkBehaviour:function(e,t){return!1},openChoiceSelector:function(e,t){alert('This alert is a placeholder for a search dialog that should be provided as part of the integration of RDForms into a wider system.\nSimply override the methods "getChoices" and "openChoiceSelector" in the system module.'),t({value:"http://example.com/choice1",label:{en:"First choice",sv:"Första valet"}})},getChoice:function(e,t,n,o){return i(e,t,0,o)},getFallbackChoice:i,labelProperties:["http://www.w3.org/2000/01/rdf-schema#label","http://purl.org/dc/terms/title","http://purl.org/dc/elements/1.1/title","http://www.w3.org/2004/02/skos/core#prefLabel","http://xmlns.com/foaf/0.1/name","http://xmlns.com/foaf/name"],createURI:function(e,t){for(var n=t.getChildrenRootUri(),o=n.lastIndexOf("#"),r=-1===o?"".concat(n,"#"):n.substring(0,o+1),i=t.getGraph()._graph;;){var a=r+"0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);if(null==i[a])return a}}};t.default=a},function(e,t,n){"use strict";(function(e){var o=n(34),r=n(306),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?o.a.Buffer:void 0,l=(s?s.isBuffer:void 0)||r.a;t.a=l}).call(this,n(222)(e))},function(e,t,n){n(411)},function(e,t,n){"use strict";var o=n(17),r=n(54),i=n(163),a=n(130),s=n(77),l=n(382),c=n(275),d=n(207),u=n(118),f=n(276),b=n(135)("splice"),p=Math.max,m=Math.min;o({target:"Array",proto:!0,forced:!b},{splice:function(e,t){var n,o,b,g,h,v,y=r(this),w=s(y),x=i(e,w),k=arguments.length;for(0===k?n=o=0:1===k?(n=0,o=w-x):(n=k-2,o=m(p(a(t),0),w-x)),c(w+n-o),b=d(y,o),g=0;g<o;g++)(h=x+g)in y&&u(b,g,y[h]);if(b.length=o,n<o){for(g=x;g<w-o;g++)v=g+n,(h=g+o)in y?y[v]=y[h]:f(y,v);for(g=w;g>w-o+n;g--)f(y,g-1)}else if(n>o)for(g=w-o;g>x;g--)v=g+n-1,(h=g+o-1)in y?y[v]=y[h]:f(y,v);for(g=0;g<n;g++)y[g+x]=arguments[g+2];return l(y,w-o+n),b}})},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={UNKNOWN:"unknown",OK:"correct",TOO_FEW_VALUES:"few",TOO_FEW_VALUES_MIN:"min",TOO_FEW_VALUES_PREF:"pref",TOO_MANY_VALUES:"many",AT_MOST_ONE_CHILD:"atmostonechild",AT_LEAST_ONE_CHILD:"atleastonechild",EXACTLY_ONE_CHILD:"exactlyonechild",WRONG_VALUE:"value",WRONG_PATTERN:"pattern",WRONG_NODETYPE:"nodetype",WRONG_DATATYPE:"datatype",MISSING_LANGUAGE:"language",MISSING_CONSTRAINTS:"constraints"}},function(e,t,n){var o=n(64),r=n(203);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.1",mode:o?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e,t,n){var o=n(125),r=n(12);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},function(e,t){var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},function(e,t,n){var o=n(107),r=n(19),i=n(160),a=n(54),s=n(77),l=n(207),c=r([].push),d=function(e){var t=1==e,n=2==e,r=3==e,d=4==e,u=6==e,f=7==e,b=5==e||u;return function(p,m,g,h){for(var v,y,w=a(p),x=i(w),k=o(m,g),_=s(x),C=0,T=h||l,O=t?T(p,_):n||f?T(p,0):void 0;_>C;C++)if((b||C in x)&&(y=k(v=x[C],C,w),e))if(t)O[C]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return C;case 2:c(O,v)}else switch(e){case 4:return!1;case 7:c(O,v)}return u?-1:r||d?d:O}};e.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterReject:d(7)}},function(e,t,n){var o=n(260),r=n(65),i=n(124),a=o(o.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},function(e,t,n){var o=n(262),r=n(209).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(13),n(14),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(339),n(35),n(36),n(9),n(42),n(30),"__rdfjson_namespaces"in globalThis||(globalThis.__rdfjson_namespaces={ical:"http://www.w3.org/2002/12/cal/ical#",vcard:"http://www.w3.org/2006/vcard/ns#",dcterms:"http://purl.org/dc/terms/",skos:"http://www.w3.org/2004/02/skos/core#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",owl:"http://www.w3.org/2002/07/owl#",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",foaf:"http://xmlns.com/foaf/0.1/",wot:"http://xmlns.com/wot/0.1/",dc:"http://purl.org/dc/elements/1.1/",xsd:"http://www.w3.org/2001/XMLSchema#",dcat:"http://www.w3.org/ns/dcat#",org:"http://www.w3.org/ns/org#",gn:"http://www.geonames.org/ontology#",locn:"http://www.w3.org/ns/locn#",schema:"http://schema.org/",ex:"http://example.com/",gsp:"http://www.opengis.net/ont/geosparql#",odrs:"http://schema.theodi.org/odrs#"});var r=globalThis.__rdfjson_namespaces,i=0,a=function(e,t,n){return r[e]||(r[e]=t),{abbrev:e,ns:t,localname:n,full:t+n,pretty:"".concat(e,":").concat(n)}},s=function(e){var t=Object.keys(r).find((function(t){return 0===e.indexOf(r[t])}));if(t)return a(t,r[t],e.substring(r[t].length));var n=e.lastIndexOf("/"),o=e.lastIndexOf("#");return o>n&&(n=o),a("ns".concat(i+=1),e.substring(0,n+1),e.substring(n+1))},l={nsify:s,shortenKnown:function(e){var t=Object.keys(r).find((function(t){return 0===e.indexOf(r[t])}));return t?a(t,r[t],e.substring(r[t].length)).pretty:e},shorten:function(e){return s(e).pretty},expand:function(e){var t=e.split(":");return 2===t.length&&r.hasOwnProperty(t[0])?r[t[0]]+t[1]:e},add:function(e,t){"string"==typeof e?r[e]=t:"object"===o(e)&&Object.keys(e).forEach((function(t){r[t]=e[t]}))},registry:function(){return r}};t.default=l},function(e,t,n){"use strict";var o=Object.prototype;t.a=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||o)}},function(e,t,n){"use strict";t.a=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){"use strict";t.a=function(e){return function(t){return e(t)}}},function(e,t,n){"use strict";var o=n(187),r=n(110),i=n(180),a=Object(i.a)(Object.keys,Object),s=Object.prototype.hasOwnProperty;var l=function(e){if(!Object(r.a)(e))return a(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t},c=n(183);t.a=function(e){return Object(c.a)(e)?Object(o.a)(e):l(e)}},function(e,t,n){"use strict";var o=function(e,t){for(var n=-1,o=null==e?0:e.length,r=0,i=[];++n<o;){var a=e[n];t(a,n,e)&&(i[r++]=a)}return i},r=n(181),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),o(a(e),(function(t){return i.call(e,t)})))}:r.a;t.a=s},function(e,t,n){"use strict";var o=n(34).a.Uint8Array;t.a=o},function(e,t,n){"use strict";var o=n(86);var r=function(){this.__data__=new o.a,this.size=0};var i=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var a=function(e){return this.__data__.get(e)};var s=function(e){return this.__data__.has(e)},l=n(87),c=n(186);var d=function(e,t){var n=this.__data__;if(n instanceof o.a){var r=n.__data__;if(!l.a||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new c.a(r)}return n.set(e,t),this.size=n.size,this};function u(e){var t=this.__data__=new o.a(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=d;t.a=u},function(e,t,n){var o=n(65),r=n(71);e.exports=function(e,t){var n=e[t];return r(n)?void 0:o(n)}},function(e,t,n){"use strict";var o=n(157),r=n(49),i=n(128);e.exports=function(e,t,n){var a=o(t);a in e?r.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var o=n(33),r=n(127).EXISTS,i=n(19),a=n(134),s=Function.prototype,l=i(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,d=i(c.exec);o&&!r&&a(s,"name",{configurable:!0,get:function(){try{return d(c,l(this))[1]}catch(e){return""}}})},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.toDuration=t.getNamedGraphId=t.getDateValue=t.getDatePresentationFromDatatype=t.getDatePresentation=t.getDate=t.getDatatypeURI=t.getDatatypeFromValue=t.getDatatypeFromItem=t.getDatatype=t.getAllowedDateAlternatives=t.fromDuration=void 0,n(38),n(147),n(35),n(168),n(169),n(9),n(30);var o,r=(o=n(91))&&o.__esModule?o:{default:o};t.fromDuration=function(e){var t,n,o=function(e){return e&&e.length>1?parseInt(e[0],10):0},r=o(e.match(/([0-9])*Y/)),i=o(e.match(/([0-9])*D/)),a=o(e.match(/([0-9])*H/));if(-1===e.indexOf("T"))t=o(e.match(/([0-9])*M/));else{var s=e.split("T");t=o(s[0].match(/([0-9])*M/)),n=o(s[1].match(/([0-9])*M/))}return{years:r,months:t,days:i,hours:a,minutes:n}};t.toDuration=function(e){if(e.years||e.months||e.days||e.hours||e.minutes){var t="P".concat(e.years?"".concat(e.years,"Y"):"").concat(e.months?"".concat(e.months,"M"):"").concat(e.days?"".concat(e.days,"D"):"");return(e.hours||e.minutes)&&(t="".concat(t,"T").concat(e.hours?"".concat(e.hours,"H"):"").concat(e.minutes?"".concat(e.minutes,"M"):"")),t}return null};var i=function(e){try{if(e.includes(":")&&!e.includes("T")){var t=(new Date).toISOString().substr(0,11),n=new Date("".concat(t).concat(e));return n.setMinutes(n.getMinutes()+n.getTimezoneOffset()),n}return new Date(e)}catch(e){return null}};t.getDate=i;var a=function(e){switch(e){case"http://www.w3.org/2001/XMLSchema#dateTime":case"http://purl.org/dc/terms/W3CDTF":return"DateTime";case"http://www.w3.org/2001/XMLSchema#date":return"Date";case"http://www.w3.org/2001/XMLSchema#gYear":return"Year";case"http://www.w3.org/2001/XMLSchema#time":return"Time";case"http://www.w3.org/2001/XMLSchema#gYearMonth":return"YearMonth";case"http://www.w3.org/2001/XMLSchema#gMonthDay":return"MonthDay";default:return}};t.getDatatype=a;var s=function(e){var t=e.getDatatype();return Array.isArray(t)?a(t[0]):a(t)};t.getDatatypeFromItem=s;var l=function(e){return e.indexOf("T")>0?"DateTime":e.indexOf(":")>0?"Time":/^\d\d\d\d-\d\d$/.test(e)?"YearMonth":/^\d\d-\d\d$/.test(e)?"MonthDay":e.length>4?"Date":"Year"};t.getDatatypeFromValue=l;t.getDatatypeURI=function(e){switch(e){case"DateTime":return"http://www.w3.org/2001/XMLSchema#dateTime";case"Date":return"http://www.w3.org/2001/XMLSchema#date";case"Time":return"http://www.w3.org/2001/XMLSchema#time";case"Year":return"http://www.w3.org/2001/XMLSchema#gYear";case"YearMonth":return"http://www.w3.org/2001/XMLSchema#gYearMonth";case"MonthDay":return"http://www.w3.org/2001/XMLSchema#gMonthDay";default:return""}};t.getDateValue=function(e,t){if(e)switch(t){case"DateTime":return e.toISOString();case"Date":return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e.toISOString().substr(0,10);case"YearMonth":return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e.toISOString().substr(0,7);case"MonthDay":return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e.toISOString().substr(5,5);case"Time":return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e.toISOString().substr(11);case"Year":return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e.toISOString().substr(0,4);default:return""}return""};var c=function(e,t){switch(e){case"DateTime":return(0,r.default)(t).format("lll");case"Date":return(0,r.default)(t).format("LL");case"Time":return(0,r.default)(t).format("LT");case"Year":return(0,r.default)(t).format("YYYY");case"YearMonth":return(0,r.default)(t).format("MMMM YYYY");case"MonthDay":return(0,r.default)(t).format("D MMMM");default:return""}};t.getDatePresentationFromDatatype=c;var d=function(e){var t={},n=e.getDatatype();return(Array.isArray(n)?n:[n]).forEach((function(e){var n=a(e);n&&(t[n]=!0)})),t};t.getAllowedDateAlternatives=d;t.getDatePresentation=function(e){var t=e.getValue();if(null!=t&&""!==t){var n=e.getItem(),o=i(t);if(o){var r,u=l(t),f=a(e.getDatatype()),b=s(n),p=d(n);return r=p[f]?f:p[u]?u:b,c(r,o)}}};t.getNamedGraphId=function(e,t){var n,o=null===(n=e.getStatement()||e.getParent().getStatement())||void 0===n?void 0:n.getNamedGraph();if(o){for(var r=t.view;r.getParentView();)r=r.getParentView();return r.getNamedGraphId(o)}}},,function(e,t,n){"use strict";var o=n(17),r=n(19),i=n(65),a=n(54),s=n(77),l=n(276),c=n(43),d=n(12),u=n(371),f=n(208),b=n(372),p=n(373),m=n(125),g=n(374),h=[],v=r(h.sort),y=r(h.push),w=d((function(){h.sort(void 0)})),x=d((function(){h.sort(null)})),k=f("sort"),_=!d((function(){if(m)return m<70;if(!(b&&b>3)){if(p)return!0;if(g)return g<603;var e,t,n,o,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(o=0;o<47;o++)h.push({k:t+o,v:n})}for(h.sort((function(e,t){return t.v-e.v})),o=0;o<h.length;o++)t=h[o].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return"DGBEFHACIJK"!==r}}));o({target:"Array",proto:!0,forced:w||!x||!k||!_},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(_)return void 0===e?v(t):v(t,e);var n,o,r=[],d=s(t);for(o=0;o<d;o++)o in t&&y(r,t[o]);for(u(r,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}}(e)),n=s(r),o=0;o<n;)t[o]=r[o++];for(;o<d;)l(t,o++);return t}})},,function(e,t,n){var o=n(12);e.exports=!o((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,t,n){var o,r,i=n(21),a=n(93),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,d=c&&c.v8;d&&(r=(o=d.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!r&&a&&(!(o=a.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/))&&(r=+o[1]),e.exports=r},function(e,t,n){var o=n(55),r=n(27),i=n(83),a=n(250),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return r(t)&&i(t.prototype,s(e))}},function(e,t,n){var o=n(33),r=n(28),i=Function.prototype,a=o&&Object.getOwnPropertyDescriptor,s=r(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!o||o&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},function(e,t,n){var o=n(364);e.exports=function(e){var t=+e;return t!=t||0===t?0:o(t)}},function(e,t,n){var o=n(67);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,t,n){var o=n(12),r=n(27),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==d||n!=c&&(r(t)?o(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",d=a.POLYFILL="P";e.exports=a},function(e,t,n){var o=n(262),r=n(209);e.exports=Object.keys||function(e){return o(e,r)}},function(e,t,n){var o=n(256),r=n(49);e.exports=function(e,t,n){return n.get&&o(n.get,t,{getter:!0}),n.set&&o(n.set,t,{setter:!0}),r.f(e,t,n)}},function(e,t,n){var o=n(12),r=n(26),i=n(125),a=r("species");e.exports=function(e){return i>=51||!o((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var o=n(280),r=n(28),i=n(279),a=n(49).f;e.exports=function(e){var t=o.Symbol||(o.Symbol={});r(t,e)||a(t,e,{value:i.f(e)})}},function(e,t){e.exports={}},function(e,t,n){var o=n(107),r=n(29),i=n(31),a=n(105),s=n(287),l=n(77),c=n(83),d=n(288),u=n(218),f=n(289),b=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;e.exports=function(e,t,n){var g,h,v,y,w,x,k,_=n&&n.that,C=!(!n||!n.AS_ENTRIES),T=!(!n||!n.IS_RECORD),O=!(!n||!n.IS_ITERATOR),E=!(!n||!n.INTERRUPTED),S=o(t,_),D=function(e){return g&&f(g,"normal",e),new p(!0,e)},j=function(e){return C?(i(e),E?S(e[0],e[1],D):S(e[0],e[1])):E?S(e,D):S(e)};if(T)g=e.iterator;else if(O)g=e;else{if(!(h=u(e)))throw b(a(e)+" is not iterable");if(s(h)){for(v=0,y=l(e);y>v;v++)if((w=j(e[v]))&&c(m,w))return w;return new p(!1)}g=d(e,h)}for(x=T?e.next:g.next;!(k=r(x,g)).done;){try{w=j(k.value)}catch(e){f(g,"throw",e)}if("object"==typeof w&&w&&c(m,w))return w}return new p(!1)}},function(e,t,n){var o=n(21);e.exports=o.Promise},function(e,t,n){var o=n(21),r=n(139),i=n(27),a=n(132),s=n(205),l=n(26),c=n(440),d=n(303),u=n(64),f=n(125),b=r&&r.prototype,p=l("species"),m=!1,g=i(o.PromiseRejectionEvent),h=a("Promise",(function(){var e=s(r),t=e!==String(r);if(!t&&66===f)return!0;if(u&&(!b.catch||!b.finally))return!0;if(!f||f<51||!/native code/.test(e)){var n=new r((function(e){e(1)})),o=function(e){e((function(){}),(function(){}))};if((n.constructor={})[p]=o,!(m=n.then((function(){}))instanceof o))return!0}return!t&&(c||d)&&!g}));e.exports={CONSTRUCTOR:h,REJECTION_EVENT:g,SUBCLASSING:m}},function(e,t,n){"use strict";var o=n(65),r=TypeError,i=function(e){var t,n;this.promise=new e((function(e,o){if(void 0!==t||void 0!==n)throw r("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new i(e)}},,function(e,t,n){"use strict";var o=n(185),r=n(114),i=n(113);t.a=function(e){return Object(o.a)(e,i.a,r.a)}},function(e,t,n){var o=n(17),r=n(367);o({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},function(e,t,n){var o=n(33),r=n(21),i=n(19),a=n(132),s=n(211),l=n(94),c=n(108).f,d=n(83),u=n(273),f=n(43),b=n(274),p=n(265),m=n(370),g=n(48),h=n(12),v=n(28),y=n(66).enforce,w=n(213),x=n(26),k=n(268),_=n(269),C=x("match"),T=r.RegExp,O=T.prototype,E=r.SyntaxError,S=i(O.exec),D=i("".charAt),j=i("".replace),N=i("".indexOf),A=i("".slice),I=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,L=/a/g,P=new T(M)!==M,R=p.MISSED_STICKY,z=p.UNSUPPORTED_Y,F=o&&(!P||R||k||_||h((function(){return L[C]=!1,T(M)!=M||T(L)==L||"/a/i"!=T(M,"i")})));if(a("RegExp",F)){for(var B=function(e,t){var n,o,r,i,a,c,p=d(O,this),m=u(e),g=void 0===t,h=[],w=e;if(!p&&m&&g&&e.constructor===B)return e;if((m||d(O,e))&&(e=e.source,g&&(t=b(w))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),w=e,k&&"dotAll"in M&&(o=!!t&&N(t,"s")>-1)&&(t=j(t,/s/g,"")),n=t,R&&"sticky"in M&&(r=!!t&&N(t,"y")>-1)&&z&&(t=j(t,/y/g,"")),_&&(e=(i=function(e){for(var t,n=e.length,o=0,r="",i=[],a={},s=!1,l=!1,c=0,d="";o<=n;o++){if("\\"===(t=D(e,o)))t+=D(e,++o);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:S(I,A(e,o+1))&&(o+=2,l=!0),r+=t,c++;continue;case">"===t&&l:if(""===d||v(a,d))throw new E("Invalid capture group name");a[d]=!0,i[i.length]=[d,c],l=!1,d="";continue}l?d+=t:r+=t}return[r,i]}(e))[0],h=i[1]),a=s(T(e,t),p?this:O,B),(o||r||h.length)&&(c=y(a),o&&(c.dotAll=!0,c.raw=B(function(e){for(var t,n=e.length,o=0,r="",i=!1;o<=n;o++)"\\"!==(t=D(e,o))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),r+=t):r+="[\\s\\S]":r+=t+D(e,++o);return r}(e),n)),r&&(c.sticky=!0),h.length&&(c.groups=h)),e!==w)try{l(a,"source",""===w?"(?:)":w)}catch(e){}return a},V=c(T),Y=0;V.length>Y;)m(B,T,V[Y++]);O.constructor=B,B.prototype=O,g(r,"RegExp",B,{constructor:!0})}w("RegExp")},,function(e,t,n){"use strict";var o=n(29),r=n(233),i=n(31),a=n(71),s=n(206),l=n(43),c=n(88),d=n(117),u=n(270),f=n(234);r("match",(function(e,t,n){return[function(t){var n=c(this),r=a(t)?void 0:d(t,e);return r?o(r,t,n):new RegExp(t)[e](l(n))},function(e){var o=i(this),r=l(e),a=n(t,o,r);if(a.done)return a.value;if(!o.global)return f(o,r);var c=o.unicode;o.lastIndex=0;for(var d,b=[],p=0;null!==(d=f(o,r));){var m=l(d[0]);b[p]=m,""===m&&(o.lastIndex=u(r,s(o.lastIndex),c)),p++}return 0===p?null:b}]}))},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var r=(a=o,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),i=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([r]).join("\n")}var a,s,l;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(o)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);o&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},,function(e,t,n){var o=n(17),r=n(414);o({target:"Array",stat:!0,forced:!n(219)((function(e){Array.from(e)}))},{from:r})},,,,,function(e,t,n){var o=n(19),r=0,i=Math.random(),a=o(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++r+i,36)}},function(e,t,n){var o=n(21),r=n(32),i=o.document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var o=n(254),r=n(126);e.exports=function(e){var t=o(e,"string");return r(t)?t:t+""}},function(e,t,n){var o=n(103),r=n(155),i=o("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){var o=n(201),r=n(27),i=n(67),a=n(26)("toStringTag"),s=Object,l="Arguments"==i(function(){return arguments}());e.exports=o?i:function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?i(t):"Object"==(o=i(t))&&r(t.callee)?"Arguments":o}},function(e,t,n){var o=n(19),r=n(12),i=n(67),a=Object,s=o("".split);e.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},function(e,t,n){var o=n(19),r=n(12),i=n(27),a=n(159),s=n(55),l=n(205),c=function(){},d=[],u=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,b=o(f.exec),p=!f.exec(c),m=function(e){if(!i(e))return!1;try{return u(c,d,e),!0}catch(e){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!b(f,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!u||r((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},function(e,t,n){"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!o.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:o},function(e,t,n){var o=n(130),r=Math.max,i=Math.min;e.exports=function(e,t){var n=o(e);return n<0?r(n+t,0):i(n,t)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var o=n(19);e.exports=o([].slice)},function(e,t,n){var o=n(124),r=Function.prototype,i=r.apply,a=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(o?a.bind(i):function(){return a.apply(i,arguments)})},function(e,t,n){var o=n(28),r=n(27),i=n(54),a=n(158),s=n(284),l=a("IE_PROTO"),c=Object,d=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(o(t,l))return t[l];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof c?d:null}},function(e,t,n){"use strict";var o=n(17),r=n(263).includes,i=n(12),a=n(214);o({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(e,t,n){"use strict";var o=n(17),r=n(19),i=n(386),a=n(88),s=n(43),l=n(387),c=r("".indexOf);o({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~c(s(a(this)),s(i(e)),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var o=n(17),r=n(19),i=n(129),a=n(32),s=n(28),l=n(49).f,c=n(108),d=n(278),u=n(392),f=n(155),b=n(286),p=!1,m=f("meta"),g=0,h=function(e){l(e,m,{value:{objectID:"O"+g++,weakData:{}}})},v=e.exports={enable:function(){v.enable=function(){},p=!0;var e=c.f,t=r([].splice),n={};n[m]=1,e(n).length&&(c.f=function(n){for(var o=e(n),r=0,i=o.length;r<i;r++)if(o[r]===m){t(o,r,1);break}return o},o({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:d.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,m)){if(!u(e))return"F";if(!t)return"E";h(e)}return e[m].objectID},getWeakData:function(e,t){if(!s(e,m)){if(!u(e))return!0;if(!t)return!1;h(e)}return e[m].weakData},onFreeze:function(e){return b&&p&&u(e)&&!s(e,m)&&h(e),e}};i[m]=!0},function(e,t,n){var o=n(83),r=TypeError;e.exports=function(e,t){if(o(t,e))return e;throw r("Incorrect invocation")}},function(e,t,n){"use strict";function o(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var r=o({HTML:"text/html",isHTML:function(e){return e===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=o({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},t.find=function(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"==typeof n.find)return n.find.call(e,t);for(var o=0;o<e.length;o++)if(Object.prototype.hasOwnProperty.call(e,o)){var r=e[o];if(t.call(void 0,r,o,e))return r}},t.freeze=o,t.MIME_TYPE=r,t.NAMESPACE=i},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(39),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(30),n(122);var r,i=(r=n(225))&&r.__esModule?r:{default:r};function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function s(){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=l(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function l(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=f(e);if(t){var r=f(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(i,e);var t,n,o,r=d(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e))._children=e.children,null!=t._source.content&&(t._source.items=t._source.content,delete t._source.content),t._forceChildrenClones=!1,t._parent=null,t}return t=i,(n=[{key:"getChildren",value:function(e){var t,n=e&&this.isExtention(),o=n?this._ochildren:this._children;return null==o&&(o=this._itemStore.getChildren(this,n),!0===this.getSource().automatic&&this._itemStore.automaticSortAllowed&&((t=o).forEach((function(e){e.__label=(e.getLabel()||"").toLowerCase()})),t.sort((function(e,t){return null!=e._source.priority?null!=t._source.priority?e._source.priority>t._source.priority?-1:e._source.priority<t._source.priority?1:0:e._source.priority>0?-1:1:null!=t._source.priority?t._source.priority>0?1:-1:e.__label>t.__label?1:e.__label<t.__label?-1:0}))),this["_".concat(n?"o":"","children")]=o),o}},{key:"originalChildrenChanged",value:function(){this.isExtention()&&delete this._children}},{key:"setExtends",value:function(e){s(f(i.prototype),"setExtends",this).call(this,e),delete this._children,delete this._ochildren}},{key:"getNodetype",value:function(){return s(f(i.prototype),"getNodetype",this).call(this)||"RESOURCE"}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(i.default);t.default=b},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(9),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(272),n(39);var r=n(96),i=a(n(297));a(n(60));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function l(){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=c(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function c(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=b(e)););return e}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=b(e);if(t){var r=b(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(a,e);var t,n,o,i=u(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e))._validObject=!0,t._validPredicate=!0,t._excludeFromTreeValidityCheck=!1,t._statement&&(t._validPredicate=t._isValidPredicateValue(t._statement.getPredicate(),!0),t._validObject=t._isValidObjectValue(t._statement.getValue())),t}return t=a,(n=[{key:"getValue",value:function(){return this._statement.getValue()}},{key:"setValue",value:function(e,t){var n="string"==typeof e?e.trim():e,o=this._validObject;this._isValidObjectValue(n)?(this._statement.setValue(n,t),this._validObject=!0,!0===o||!0!==this._validPredicate||this._excludeFromTreeValidityCheck||this._parent.oneChildValidityChanged(!0)):(""!==n&&null!==n||this._statement.setValue("",t),this._validObject=!1,!1!==o&&!0===this._validPredicate&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"setSubject",value:function(e){this._statement.setSubject(e)}},{key:"getPredicate",value:function(){return this._statement.getPredicate()}},{key:"setPredicate",value:function(e){var t=this._validPredicate;this._isValidPredicateValue(e)?(this._statement.setPredicate(e),this._validPredicate=!0,!0!==t&&!0===this._validObject&&this._parent.oneChildValidityChanged(!0)):(this._validPredicate=!1,!1!==t&&!0===this._validObject&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"getLanguage",value:function(){return this._statement.getLanguage()}},{key:"setLanguage",value:function(e,t){this._statement.setLanguage(e,t),t||this.bindingChange(this)}},{key:"getDatatype",value:function(){return this._statement.getDatatype()}},{key:"setDatatype",value:function(e){this._statement.setDatatype(r.namespaces.expand(e)),this.updateAssertions()}},{key:"setExcludeFromTreeValidityCheck",value:function(e){this._excludeFromTreeValidityCheck=e}},{key:"remove",value:function(){this.setValue(null),this._parent.removeChildBinding(this),l(b(a.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){var e=this._ancestorValid&&this._validObject&&this._validPredicate;this._statement.setAsserted(e,!0),this.bindingChange(this)}},{key:"isValid",value:function(){return this._validObject&&this._validPredicate&&!this._excludeFromTreeValidityCheck}}])&&s(t.prototype,n),o&&s(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(i.default);t.default=p},function(e,t,n){var o=n(67);e.exports="undefined"!=typeof process&&"process"==o(process)},,,function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(202))},function(e,t,n){"use strict";var o=n(62),r=n(69);t.a=function(e){if(!Object(r.a)(e))return!1;var t=Object(o.a)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){"use strict";t.a=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){"use strict";t.a=function(){return[]}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}},function(e,t,n){"use strict";var o=n(179),r=n(184);t.a=function(e){return null!=e&&Object(r.a)(e.length)&&!Object(o.a)(e)}},function(e,t,n){"use strict";t.a=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){"use strict";var o=n(182),r=n(61);t.a=function(e,t,n){var i=t(e);return Object(r.a)(e)?i:Object(o.a)(i,n(e))}},function(e,t,n){"use strict";var o=n(50),r=Object(o.a)(Object,"create");var i=function(){this.__data__=r?r(null):{},this.size=0};var a=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},s=Object.prototype.hasOwnProperty;var l=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0},c=Object.prototype.hasOwnProperty;var d=function(e){var t=this.__data__;return r?void 0!==t[e]:c.call(t,e)};var u=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this};function f(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}f.prototype.clear=i,f.prototype.delete=a,f.prototype.get=l,f.prototype.has=d,f.prototype.set=u;var b=f,p=n(86),m=n(87);var g=function(){this.size=0,this.__data__={hash:new b,map:new(m.a||p.a),string:new b}};var h=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var v=function(e,t){var n=e.__data__;return h(t)?n["string"==typeof t?"string":"hash"]:n.map};var y=function(e){var t=v(this,e).delete(e);return this.size-=t?1:0,t};var w=function(e){return v(this,e).get(e)};var x=function(e){return v(this,e).has(e)};var k=function(e,t){var n=v(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this};function _(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}_.prototype.clear=g,_.prototype.delete=y,_.prototype.get=w,_.prototype.has=x,_.prototype.set=k;t.a=_},function(e,t,n){"use strict";var o=function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o},r=n(62),i=n(45);var a=function(e){return Object(i.a)(e)&&"[object Arguments]"==Object(r.a)(e)},s=Object.prototype,l=s.hasOwnProperty,c=s.propertyIsEnumerable,d=a(function(){return arguments}())?a:function(e){return Object(i.a)(e)&&l.call(e,"callee")&&!c.call(e,"callee")},u=n(61),f=n(99),b=/^(?:0|[1-9]\d*)$/;var p=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&b.test(e))&&e>-1&&e%1==0&&e<t},m=n(188),g=Object.prototype.hasOwnProperty;t.a=function(e,t){var n=Object(u.a)(e),r=!n&&d(e),i=!n&&!r&&Object(f.a)(e),a=!n&&!r&&!i&&Object(m.a)(e),s=n||r||i||a,l=s?o(e.length,String):[],c=l.length;for(var b in e)!t&&!g.call(e,b)||s&&("length"==b||i&&("offset"==b||"parent"==b)||a&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||p(b,c))||l.push(b);return l}},function(e,t,n){"use strict";var o=n(62),r=n(184),i=n(45),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=function(e){return Object(i.a)(e)&&Object(r.a)(e.length)&&!!a[Object(o.a)(e)]},l=n(112),c=n(79),d=c.a&&c.a.isTypedArray,u=d?Object(l.a)(d):s;t.a=u},function(e,t,n){"use strict";var o=n(17),r=n(106).filter;o({target:"Array",proto:!0,forced:!n(135)("filter")},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.graphReport=t.default=t.bindingReport=void 0,n(9),n(30),n(42),n(52),n(36),n(72),n(189),n(35);var o,r=n(96),i=n(85),a=(o=n(102))&&o.__esModule?o:{default:o};var s=function(e,t){var n=t;return null==n?n={errors:[],warnings:[],deprecated:[]}:(n.errors=n.errors||[],n.warnings=n.warnings||[],n.deprecated=n.deprecated||[]),u(e,n,!0)};t.bindingReport=s;var l=function(e){for(var t=0,n=0;n<e.length;n++)e[n].isValid()&&(t+=1);return t},c=function(e,t){e.length>0&&e[0].getCardinalityTracker().setCode(t)},d=function(e,t){if(t.hasStyle("deprecated"))return!0;var n=t.getDeps();if(n){var o=(0,i.findBindingRelativeToParentBinding)(e,n);if(!(0,i.matchPathBelowBinding)(o,n))return!0}return!1},u=function e(t,n,o){if(t.getMatchingCode()===a.default.OK){var r=t.getItem();if(!0===o||t.isValid()||null==r.getProperty()||r.hasStyle("atLeastOneChild")||r.hasStyle("exactlyOneChild")){var i=r.getChildren();if(r.hasStyle("disjoint")||r.hasStyle("atMostOneChild")||r.hasStyle("atLeastOneChild")||r.hasStyle("exactlyOneChild")){var s,u=t.getChildBindings(),f=l(u);f>1&&(r.hasStyle("disjoint")||r.hasStyle("atMostOneChild"))?s=a.default.AT_MOST_ONE_CHILD:1!==f&&r.hasStyle("exactlyOneChild")?s=a.default.EXACTLY_ONE_CHILD:0===f&&r.hasStyle("atLeastOneChild")&&(s=a.default.AT_LEAST_ONE_CHILD),s&&(c([t],s),i.length>0&&n.errors.push({parentBinding:t,item:i[0],code:s}))}else t.getItemGroupedChildBindings().forEach((function(e,o){var r=i[o];if(!d(t,r)&&null!=r.getProperty()){var s=l(e),u=r.getCardinality();null!=u.min&&u.min>s?(n.errors.push({parentBinding:t,item:r,code:a.default.TOO_FEW_VALUES_MIN}),c(e,a.default.TOO_FEW_VALUES_MIN)):null!=u.pref&&u.pref>s&&n.warnings.push({parentBinding:t,item:r,code:a.default.TOO_FEW_VALUES_PREF}),null!=u.max&&u.max<s&&(n.errors.push({parentBinding:t,item:r,code:a.default.TOO_MANY_VALUES}),c(e,a.default.TOO_MANY_VALUES))}}),void 0);t.getChildBindings().forEach((function(o){var r=o.getItem();o.getMatchingCode()!==a.default.OK&&n.errors.push({parentBinding:o,item:r,code:o.getMatchingCode()}),r.hasStyle("deprecated")&&n.deprecated.push(o),d(t,r)||"group"===r.getType()&&e(o,n)}))}return n}},f=function(e,t){var n,o,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i={},a={},s={errors:0,warnings:0,deprecated:0,resources:[]};Object.keys(t).forEach((function(t){var n=b(e,t);i[t]=n,n.forEach((function(e){a[e]=!0}))})),Object.keys(i).forEach((function(r){n=t[r],i[r].forEach((function(t){(o=h(t,e,n,a)).uri=t,o.type=r,o.template=n.getId(),s.resources.push(o),s.errors+=o.errors.length,s.warnings+=o.warnings.length,s.deprecated+=o.deprecated.length}))}));var l=[];return r.forEach((function(e){0===i[e].length&&l.push(e)})),l.length>0&&(s.mandatoryError=l,s.errors+=l.length),s};t.graphReport=f;var b=function(e,t){return e.find(null,"rdf:type",t).map((function(e){return e.getSubject()}))},p=function(e,t,n){for(var o=e;;){var r=o.getChildrenRootUri?o.getChildrenRootUri():o.getParent().getChildrenRootUri();if(r===t)return!0;if(n[r])return!1;o=o.getParent()}},m=function(e,t){var n=e,o=[];for(null!=t.getProperty()&&n.getItem()!==t&&o.push(r.namespaces.shorten(t.getProperty()));null!=n.getItem().getProperty()&&o.push(r.namespaces.shorten(n.getItem().getProperty())),null!=n.getParent();)n=n.getParent();return o.reverse(),o.join(" > ")},g=function(e){var t=e.errors,n=e.warnings,o=e.deprecated;e.errors=t.map((function(e){return{path:m(e.parentBinding,e.item),code:e.code}})),e.warnings=n.map((function(e){return{path:m(e.parentBinding,e.item),code:e.code}})),e.deprecated=o.map((function(e){return function(e){return"".concat(m(e.getParent(),e.getItem())," > ").concat(e.getValue())}(e)}))},h=function(e,t,n,o){var r=(0,i.fuzzyMatch)(t,e,n),a=s(r);return function(e,t,n){var o=e.errors,r=e.warnings,i=e.deprecated;e.errors=o.filter((function(e){return p(e.parentBinding,t,n)})),e.warnings=r.filter((function(e){return p(e.parentBinding,t,n)})),e.deprecated=i.filter((function(e){return p(e,t,n)}))}(a,e,o||{}),g(a),a},v={graphReport:f,bindingReport:s};t.default=v},,,,,,,,,,,function(e,t,n){var o={};o[n(26)("toStringTag")]="z",e.exports="[object z]"===String(o)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var o=n(21),r=n(204),i=o["__core-js_shared__"]||r("__core-js_shared__",{});e.exports=i},function(e,t,n){var o=n(21),r=Object.defineProperty;e.exports=function(e,t){try{r(o,e,{value:t,configurable:!0,writable:!0})}catch(n){o[e]=t}return t}},function(e,t,n){var o=n(19),r=n(27),i=n(203),a=o(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},function(e,t,n){var o=n(130),r=Math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},function(e,t,n){var o=n(365);e.exports=function(e,t){return new(o(e))(0===t?0:t)}},function(e,t,n){"use strict";var o=n(12);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){return 1},1)}))}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";var o,r,i=n(29),a=n(19),s=n(43),l=n(264),c=n(265),d=n(103),u=n(95),f=n(66).get,b=n(268),p=n(269),m=d("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,h=g,v=a("".charAt),y=a("".indexOf),w=a("".replace),x=a("".slice),k=(r=/b*/g,i(g,o=/a/,"a"),i(g,r,"a"),0!==o.lastIndex||0!==r.lastIndex),_=c.BROKEN_CARET,C=void 0!==/()??/.exec("")[1];(k||C||_||b||p)&&(h=function(e){var t,n,o,r,a,c,d,b=this,p=f(b),T=s(e),O=p.raw;if(O)return O.lastIndex=b.lastIndex,t=i(h,O,T),b.lastIndex=O.lastIndex,t;var E=p.groups,S=_&&b.sticky,D=i(l,b),j=b.source,N=0,A=T;if(S&&(D=w(D,"y",""),-1===y(D,"g")&&(D+="g"),A=x(T,b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&"\n"!==v(T,b.lastIndex-1))&&(j="(?: "+j+")",A=" "+A,N++),n=new RegExp("^(?:"+j+")",D)),C&&(n=new RegExp("^"+j+"$(?!\\s)",D)),k&&(o=b.lastIndex),r=i(g,S?n:b,A),S?r?(r.input=x(r.input,N),r[0]=x(r[0],N),r.index=b.lastIndex,b.lastIndex+=r[0].length):b.lastIndex=0:k&&r&&(b.lastIndex=b.global?r.index+r[0].length:o),C&&r&&r.length>1&&i(m,r[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)})),r&&E)for(r.groups=c=u(null),a=0;a<E.length;a++)c[(d=E[a])[0]]=r[d[1]];return r}),e.exports=h},function(e,t,n){var o=n(27),r=n(32),i=n(212);e.exports=function(e,t,n){var a,s;return i&&o(a=t.constructor)&&a!==n&&r(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},function(e,t,n){var o=n(368),r=n(31),i=n(369);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=o(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,o){return r(n),i(o),t?e(n,o):n.__proto__=o,n}}():void 0)},function(e,t,n){"use strict";var o=n(55),r=n(134),i=n(26),a=n(33),s=i("species");e.exports=function(e){var t=o(e);a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var o=n(26),r=n(95),i=n(49).f,a=o("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:r(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,n){"use strict";var o=n(17),r=n(29),i=n(64),a=n(127),s=n(27),l=n(381),c=n(167),d=n(212),u=n(84),f=n(94),b=n(48),p=n(26),m=n(137),g=n(283),h=a.PROPER,v=a.CONFIGURABLE,y=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,x=p("iterator"),k=function(){return this};e.exports=function(e,t,n,a,p,g,_){l(n,t,a);var C,T,O,E=function(e){if(e===p&&A)return A;if(!w&&e in j)return j[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},S=t+" Iterator",D=!1,j=e.prototype,N=j[x]||j["@@iterator"]||p&&j[p],A=!w&&N||E(p),I="Array"==t&&j.entries||N;if(I&&(C=c(I.call(new e)))!==Object.prototype&&C.next&&(i||c(C)===y||(d?d(C,y):s(C[x])||b(C,x,k)),u(C,S,!0,!0),i&&(m[S]=k)),h&&"values"==p&&N&&"values"!==N.name&&(!i&&v?f(j,"name","values"):(D=!0,A=function(){return r(N,this)})),p)if(T={values:E("values"),keys:g?A:E("keys"),entries:E("entries")},_)for(O in T)(w||D||!(O in j))&&b(j,O,T[O]);else o({target:t,proto:!0,forced:w||D},T);return i&&!_||j[x]===A||b(j,x,A,{name:p}),m[t]=A,T}},function(e,t){e.exports=function(e,t){return{value:e,done:t}}},function(e,t,n){"use strict";var o=n(17),r=n(21),i=n(19),a=n(132),s=n(48),l=n(170),c=n(138),d=n(171),u=n(27),f=n(71),b=n(32),p=n(12),m=n(219),g=n(84),h=n(211);e.exports=function(e,t,n){var v=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),w=v?"set":"add",x=r[e],k=x&&x.prototype,_=x,C={},T=function(e){var t=i(k[e]);s(k,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(y&&!b(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return y&&!b(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(y&&!b(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!u(x)||!(y||k.forEach&&!p((function(){(new x).entries().next()})))))_=n.getConstructor(t,e,v,w),l.enable();else if(a(e,!0)){var O=new _,E=O[w](y?{}:-0,1)!=O,S=p((function(){O.has(1)})),D=m((function(e){new x(e)})),j=!y&&p((function(){for(var e=new x,t=5;t--;)e[w](t,t);return!e.has(-0)}));D||((_=t((function(e,t){d(e,k);var n=h(new x,e,_);return f(t)||c(t,n[w],{that:n,AS_ENTRIES:v}),n}))).prototype=k,k.constructor=_),(S||j)&&(T("delete"),T("has"),v&&T("get")),(j||E)&&T(w),y&&k.clear&&delete k.clear}return C[e]=_,o({global:!0,constructor:!0,forced:_!=x},C),g(_,e),y||n.setStrong(_,e,v),_}},function(e,t,n){var o=n(159),r=n(117),i=n(71),a=n(137),s=n(26)("iterator");e.exports=function(e){if(!i(e))return r(e,s)||r(e,"@@iterator")||a[o(e)]}},function(e,t,n){var o=n(26)("iterator"),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){r=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i={};i[o]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var o=n(48);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},function(e,t,n){n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(36),n(9),n(35),n(42),n(30),n(52),n(56),n(246);var o=s(n(292)),r=s(n(109)),i=s(n(293)),a=s(n(294));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,i=void 0,i=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==l(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===l(i)?i:String(i)),o)}var r,i}var u=function(e){return 0===e.length?e:[e[0]]},f=function e(t,n,r){return{object:function(o){for(var i=0;i<n.length;i++){var a=void 0;if(r)a=n[i].getSubject();else{var s=n[i].getType();if("uri"===s||"bnode"===s)continue;a=n[i].getValue()}var l=t.find(a,o);l.length>0&&e(t,[l[0]])}return e(t,[])},objects:function(o){var i,a=[];if(!0===r)for(i=0;i<n.length;i++)a=a.concat(t.find(n[i].getSubject(),o));else for(i=0;i<n.length;i++){var s=n[i].getType();"uri"!==s&&"bnode"!==s||(a=a.concat(t.find(n[i].getValue(),o)))}return e(t,a)},constr:function(i,a){var s=a;o.default.isString(s)&&(s={type:"uri",value:s});for(var l=[],c=0;c<n.length;c++){var d=r?n[c].getSubject():n[c].getValue();t.find(d,i,s).length>0&&l.push(n[c])}return e(t,l,r)},each:function(o,i){if(!0===r)for(var a=0;a<n.length;a++){var s="_:"===n[a].getSubject().substring(0,2)?"bnode":"uri";null!=i&&i!==s||o(e(t,n[a],r))}else for(var l=0;l<n.length;l++)o(e(t,n[l],r))},statements:function(){return n},nodes:function(e){var t=[];if(!0===r)for(var o=0;o<n.length;o++){var i="_:"===n[o].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==i||t.push({type:i,value:n[o].getSubject()})}else for(var a=0;a<n.length;a++)null!=e&&e!==n[a].getType()||t.push(n[a].getObject());return t},values:function(e){var t=[];if(!0===r)for(var o=0;o<n.length;o++){var i="_:"===n[o].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==i||t.push(n[o].getSubject())}else for(var a=0;a<n.length;a++)null!=e&&e!==n[a].getType()||t.push(n[a].getValue());return t},firstValue:function(e){if(!0===r)for(var t=0;t<n.length;t++){var o="_:"===n[t].getSubject().substring(0,2)?"bnode":"uri";if(null==e||e===o)return n[t].getSubject()}else for(var i=0;i<n.length;i++)if(null==e||e===n[i].getType())return n[i].getValue()}}},b=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;c(this,e),this._graph=t||{},this._bnodes={},this._bnodesIndexed=!1,!1!==n&&this.validate(),this._changed=!1}var t,n,s;return t=e,(n=[{key:"isEmpty",value:function(){var e=this;return!Object.keys(this._graph).find((function(t){var n=e._graph[t];return Object.keys(n).find((function(e){return n[e].find((function(e){return null==e._statement||e._statement.isAsserted()}))}))}))}},{key:"onChange",value:function(){}},{key:"setChanged",value:function(e){this._changed=!(!0!==e&&null!=e),this._changed&&this.onChange()}},{key:"isChanged",value:function(){return this._changed}},{key:"addAll",value:function(e,t){for(var n,o={},r=e.find(),i=0;i<r.length;i++){var a=r[i],s=a.getSubject(),l=a.getPredicate(),c=a.getCleanObject();t&&(c.ng=t),0===s.indexOf("_:")&&(n=o[s]||this._newBNode(),o[s]=n,s=n),0===l.indexOf("_:")&&(n=o[l]||this._newBNode(),o[l]=n,l=n),"bnode"===c.type&&(n=o[c.value]||this._newBNode(),o[c.value]=n,c.value=n),this.add(s,l,c)}}},{key:"add",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4?arguments[4]:void 0;if(e instanceof i.default){var s=e.getPredicate(),l=e.getObject(),c=e.getSubject();this._trackBNodes(c,s,l);var d=this._graphObject(l),u=o.default.add(this._graph,c,s,d,a);return!0!==r&&this.setChanged(),this._get(c,s,u,!0)}return this.create(e,t,n,!0,r,a)}},{key:"addL",value:function(e,t,n,o){var r={type:"literal",value:n};return"string"==typeof o&&(r.lang=o),this.create(e,t,r,!0)}},{key:"addD",value:function(e,t,n,o){var i={type:"literal",value:n};return"string"==typeof o&&(i.datatype=r.default.expand(o)),this.create(e,t,i,!0)}},{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],d=e,u=t,f=n;if(d=null==d?this._newBNode():r.default.expand(d),u=null==u?this._newBNode():r.default.expand(u),null==f?f={type:"bnode",value:this._newBNode()}:o.default.isString(f)?f={type:"uri",value:r.default.expand(f)}:"object"!==l(f)||Array.isArray(f)?f={type:"uri",value:"".concat(f)}:("uri"===(f={type:f.type,value:f.value,lang:f.lang,datatype:f.datatype,ng:f.ng}).type&&null!=f.value&&(f.value=r.default.expand(f.value)),f.datatype&&(f.datatype=r.default.expand(f.datatype))),!1!==a){var b=o.default.add(this._graph,d,u,f,c);return!0!==s&&this.setChanged(),this._getOrCreate(d,u,b,!0)}return new i.default(this,d,u,f,!1)}},{key:"findAndRemove",value:function(e,t,n){for(var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=this.find(e,t,n),i=0;i<r.length;i++)this.remove(r[i],o)}},{key:"remove",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getSubject(),r=e.getPredicate(),i=e.getObject();this._trackBNodes(n,r,i),null!=o.default.remove(this._graph,n,r,i)&&!0!==t&&this.setChanged()}},{key:"find",value:function(e,t,n){var i=e,a=t,s=n;if("string"==typeof i&&(i=r.default.expand(i)),"string"==typeof a&&(a=r.default.expand(a)),"object"===l(s)&&null!==s&&"uri"===s.type?s.value=r.default.expand(s.value):"string"==typeof s&&(s={type:"uri",value:r.default.expand(s)}),null==s)return null==a?null==i?this._find():this._findS(i):null==i?this._findP(a):this._findSP(i,a);if(null==a)return null==i?this._findO(s):this._findSO(i,s);if(null==i)return this._findPO(a,s);var c=this._get(i,a,o.default.contains(this._graph,i,a,s),!0);return null==c?[]:[c]}},{key:"findFirstValue",value:function(e,t){var n=this.find(e,t);if(n.length>0)return n[0].getValue()}},{key:"projection",value:function(e,t,n){var o=this,r={};return Object.keys(t).forEach((function(i){var a=t[i],s=Array.isArray(a)?o.findPath(e,a):o.find(e,a);if(s.length>0)switch("*"===i[0]?r[i.substr(1)]=s.map((function(e){return e.getValue()})):r[i]=s[0].getValue(),n||"none"){case"statement":r["*".concat(i)]=s;break;case"objects":r["*".concat(i)]=s.map((function(e){return e.getCleanObject()}));break;case"values":r["*".concat(i)]=s.map((function(e){return e.getValue()}))}})),r}},{key:"subjects",value:function(e,t){return f(this,this.find(null,e,t),!0)}},{key:"subject",value:function(e,t){return f(this,u(this.find(null,e,t)),!0)}},{key:"objects",value:function(e,t){return f(this,this.find(e,t,null))}},{key:"object",value:function(e,t){return f(this,u(this.find(e,t,null)))}},{key:"findPath",value:function(e,t){return t.slice(1).reduce((function(e,t){return e.objects(t)}),this.objects(e,t[0])).statements()}},{key:"addList",value:function(e){return this._addList(e,"add")}},{key:"addListL",value:function(e,t){return this._addList(e,"addL",t)}},{key:"addListD",value:function(e,t){return this._addList(e,"addD",t)}},{key:"_addList",value:function(e,t,n){var o,i=this;if(Array.isArray(e)&&0!==e.length){var a=o=this._newBNode(),s=e.length-1;e.forEach((function(e,o){i[t](a,"rdf:first",e,n),o!==s?a=i.add(a,"rdf:rest").getValue():i.add(a,"rdf:rest","rdf:nil")}))}else o=r.default.expand("rdf:nil");return o}},{key:"removeList",value:function(e){var t=!1,n="object"===l(e)?e.value:e;try{var o=r.default.expand("rdf:nil");for(t=n===o;n!==o&&null!=n;){var i=this.findFirstValue(n,"rdf:rest");this.findAndRemove(n),t=null!=(n=i)}}catch(e){return console.warn("Invalid list for object: ".concat(n)),!1}return t}},{key:"getList",value:function(e){var t="object"===l(e)?e.value:r.default.expand(e),n=[];try{for(var o=r.default.expand("rdf:nil");t!==o&&null!=t;)n.push(this.find(t,"rdf:first")[0].getObject()),t=this.findFirstValue(t,"rdf:rest")}catch(e){console.warn("Invalid list for object: ".concat(t))}return n}},{key:"findFirstListAsValues",value:function(e,t){return this.getList(this.findFirstValue(e,t)).map((function(e){return e.value}))}},{key:"findAndRemoveLists",value:function(e,t){var n=this,o=!1;return this.find(e,t).forEach((function(e){n.removeList(e.getValue())&&(n.remove(e),o=!0)})),o}},{key:"exportRDFJSON",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._graph,o.default.clone(this._graph,e)}},{key:"replaceSubject",value:function(e,t){return this.replaceURI(e,t)}},{key:"replaceURI",value:function(e,t){var n=this._graph;if(n.hasOwnProperty(e)){if(n.hasOwnProperty(t))throw new Error("Cannot replace subject with target URI since it already exists.");n[t]=n[e],delete n[e]}return this.forEach((function(n,o,r){"uri"===r.type&&r.value===e&&(r.value=t),n===t&&r._statement&&(r._statement._s=t)})),this}},{key:"replaceBlankWithURI",value:function(e,t){var n=this._graph;if(n.hasOwnProperty(e)){if(n.hasOwnProperty(t))throw new Error("Cannot replace subject with target URI since it already exists.");n[t]=n[e],delete n[e],this.forEach((function(n,o,r){"bnode"===r.type&&r.value===e&&(r.value=t,r.type="uri"),n===t&&r._statement&&(r._statement._s=t)}))}return delete this._bnodes[e],this}},{key:"clone",value:function(){return new e(this.exportRDFJSON(!1))}},{key:"findProperties",value:function(e){return Object.keys(this._graph[e]||{})}},{key:"validate",value:function(){if(this.report=this._validate(),!this.report.valid)throw this.report;return this.report}},{key:"registerBNode",value:function(e){this._bnodes[e]=!0}},{key:"forEach",value:function(e){var t=this._graph;Object.keys(t).forEach((function(n){var o=t[n];Object.keys(o).forEach((function(t){o[t].forEach((function(o){e(n,t,o)}))}))}))}},{key:"map",value:function(e){var t=[];return this.forEach((function(n){t.push(e(n))})),t}},{key:"equals",value:function(e,t){return a.default.fingerprint(this,t)===a.default.fingerprint(e,t)}},{key:"size",value:function(){var e=0;return Object.values(this._graph).forEach((function(t){Object.values(t).forEach((function(t){e+=t.length}))})),e}},{key:"_get",value:function(e,t,n,o){if(null!=n)return this._getOrCreate(e,t,n,o)}},{key:"_getOrCreate",value:function(e,t,n,o){return null==n._statement&&(n._statement=new i.default(this,e,t,n,o)),n._statement}},{key:"_graphObject",value:function(e){return null==e._statement||e._statement._graph===this?e:{type:e.type,value:e.value,lang:e.lang,datatype:e.datatype}}},{key:"_findSP",value:function(e,t){var n=this;return null==this._graph[e]||null==this._graph[e][t]?[]:this._graph[e][t].map((function(o){return n._get(e,t,o,!0)}))}},{key:"_findS",value:function(e){var t=this,n=this._graph[e],o=Object.keys(n||{}).map((function(n){return t._findSP(e,n)}));return Array.prototype.concat.apply([],o)}},{key:"_find",value:function(){var e=this,t=[];return this.forEach((function(n,o,r){t.push(e._get(n,o,r,!0))})),t}},{key:"_findP",value:function(e){var t=this,n=[];return this.forEach((function(o,r,i){e===r&&n.push(t._get(o,r,i,!0))})),n}},{key:"_findO",value:function(e){var t=this,n=[];return this.forEach((function(r,i,a){o.default.objectEquals(e,a)&&n.push(t._get(r,i,a,!0))})),n}},{key:"_findSO",value:function(e,t){var n=this,r=[];return this.forEach((function(i,a,s){e===i&&o.default.objectEquals(t,s)&&r.push(n._get(i,a,s,!0))})),r}},{key:"_findPO",value:function(e,t){var n=this,r=[];return this.forEach((function(i,a,s){e===a&&o.default.objectEquals(t,s)&&r.push(n._get(i,a,s,!0))})),r}},{key:"_validate",value:function(){var e=this._graph,t={valid:!0,errors:[],nr:0};return Object.keys(e).forEach((function(n){var r=e[n];o.default.isObject(r)?Object.keys(r).forEach((function(e){var i=r[e];Array.isArray(i)?i.forEach((function(r,i){o.default.isObject(r)?null!=r.type?o.default.isString(r.value)?t.nr+=1:(t.errors.push({s:n,p:e,oindex:i+1,message:"Object ".concat(i+1," in object array must have the 'value' attribute pointing to a string.")}),t.valid=!1):(t.errors.push({s:n,p:e,oindex:i+1,message:"Object ".concat(i+1," in object array lacks the attribute type, must be either 'literal', 'resource' or 'bnode'.")}),t.valid=!1):(t.errors.push({s:n,p:e,oindex:i+1,message:"Element ".concat(i+1," in object array is not an object.")}),t.valid=!1)})):(t.errors.push({s:n,p:e,message:"Predicate must point to an array of objects."}),t.valid=!1)})):(t.errors.push({s:n,message:"Subject must point to an object."}),t.valid=!1)})),t}},{key:"_newBNode",value:function(){var e,t,n;for(this._indexBNodes(),e=1;e<20;e++)for(t=1;t<=e;t++)if(n="_:".concat(Math.floor(Math.random()*(Math.pow(10,e)+1))),!0!==this._bnodes[n])return this._bnodes[n]=!0,n;throw new Error("Failed creating a new blank node, increadible unprobable...")}},{key:"_indexBNodes",value:function(){var e=this;if(!this._bnodesIndexed){var t=this._graph;Object.keys(t).forEach((function(n){0===n.indexOf("_:")&&(e._bnodes[n]=!0);var o=t[n];Object.keys(o).forEach((function(t){0===t.indexOf("_:")&&(e._bnodes[t]=!0),o[t].forEach((function(t){"bnode"===t.type&&(e._bnodes[t.value]=!0)}))}))})),this._bnodesIndexed=!0}}},{key:"_trackBNodes",value:function(e,t,n){0===e.indexOf("_:")&&(this._bnodes[e]=!0),0===t.indexOf("_:")&&(this._bnodes[t]=!0),"bnode"===n.type&&(this._bnodes[n.value]=!0)}}])&&d(t.prototype,n),s&&d(t,s),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=b},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(39),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(11),n(15),n(100),n(16),n(18),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(36),n(9),n(30),n(42),n(35);var r=d(n(37)),i=d(n(236)),a=d(n(102)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(85)),l=n(190);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function b(){return(b="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=p(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function p(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}function m(e,t){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=v(e);if(t){var r=v(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=function(e,t,n,o){if(t.hasStyle("presenterOnly"))return!1;if(t.hasStyle("deprecated")&&0===n.length)return!1;var r=t.getProperty();if(n.length>0){if(r)return!e.filterItem(t);if("group"!==t.getType())return!0;var i=t.getChildren();if(0===i.length)return!0;if(t.hasStyle("atLeastOneChild")||t.hasStyle("exactlyOneChild"))return!0;if(n[0].getItemGroupedChildBindings().find((function(t,n){return y(e,i[n],t,o)})))return!0;if(!r)return!1}var a=t.getCardinality();switch(o){case"mandatory":return a&&a.min>=1;case"recommended":return a&&(a.min>=1||a.pref>=1);default:return!0}},w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(c,e);var t,n,o,i=g(c);function c(){return u(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"_handleParams",value:function(e){this._subEditors=this._subEditors||[],this.includeLevel=e.includeLevel||"recommended",this.hideAddress=!1!==e.hideAddress,e.styleCls=e.styleCls||"rdformsEditor",e.filterTranslations=void 0!==e.filterTranslations&&e.filterTranslations,b(v(c.prototype),"_handleParams",this).call(this,e)}},{key:"getSubEditorForBinding",value:function(e){return this._subEditors.find((function(t){return t.getBinding()===e}))}},{key:"report",value:function(e){var t=this,n=e||(0,l.bindingReport)(this.binding);Object.keys(this._binding2node).forEach((function(e){r.default.domClassToggle(t._binding2node[e],"errorReport",!1)}));for(var o=function(){var e=n.errors[i];if(e.parentBinding===t.binding)if(e.code===a.default.TOO_FEW_VALUES_MIN){var o=e.item,s=o.getCardinality().min;t.binding.getChildBindingsFor(o).find((function(e){return s-=1,e.isValid()||r.default.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0),0===s}))}else e.code===a.default.AT_MOST_ONE_CHILD&&t.binding.getChildBindings().forEach((function(e){e.getMatchingCode()!==a.default.OK&&r.default.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0)}))},i=0;i<n.errors.length;i++)o();for(var s=0;s<this._subEditors.length;s++)this._subEditors[s].report(n)}},{key:"getIncludeLevel",value:function(){return this.includeLevel}},{key:"setIncludeLevel",value:function(e){this.includeLevel!==e&&(this.includeLevel=e,null!=this.graph&&null!=this.resource&&null!=this.template&&(this.binding=s.match(this.graph,this.resource,this.template),this._subEditors=[],this.render()))}},{key:"show",value:function(e){this._subEditors=[],b(v(c.prototype),"show",this).call(this,e)}},{key:"showNow",value:function(e,t){return y(this,e,t,this.includeLevel)}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(e,t){var n,o=t,r=e.getCardinality();if(n=r.pref>0?r.pref:r.min>0?r.min:"propertygroup"===e.getType()?1:"group"===e.getType()?(e.getProperty(),1):1,e.hasStyle("nonEditable")&&!e.hasStyle("autoInitDate")&&!e.hasStyle("autoUpdateDate")&&!e.hasStyle("autoUUID")&&!e.hasStyle("autoValue"))return o;if(n>o.length)for(o=o.concat([]);n>o.length;)o.push(s.create(this.binding,e));return o}},{key:"addLabel",value:function(e,t,n){r.default.renderEditorLabel(e,t,n,this.context)}},{key:"createEndOfRowNode",value:function(e,t,n){r.default.renderEditorLabelScopeEnd(e,t,n,this.context)}},{key:"addTable",value:function(e,t){return t.getItem().hasStyle("nonEditable")?this.addComponent(e,t):r.default.addEditorTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){r.default.fillEditorTable(e,t,{view:this})}},{key:"preRenderView",value:function(){r.default.preEditorViewRenderer(this.domNode,this.binding,{view:this,inEditor:!0,topLevel:this.topLevel,hideAddress:this.hideAddress})}},{key:"addComponent",value:function(e,t){this.context.inEditor=!0,t.getItem().hasStyle("nonEditable")?r.default.renderPresenter(e,t,this.context):r.default.renderEditor(e,t,this.context)}},{key:"createRowNode",value:function(e,t,n){if(null!=t||!n.hasStyle("nonEditable")){var o=b(v(c.prototype),"createRowNode",this).call(this,e,t,n);if("choice"===n.getType()&&void 0===n.getProperty()){var i=s.findPopularChoice(n,t.getParent());i&&t.setChoice(i)}var a=n.getDeps();if(a){var l=function(e){e?(r.default.domClassToggle(o,"missingDepsWithValue",!1),r.default.domClassToggle(o,"missingDeps",!1)):t.isValid()?r.default.domClassToggle(o,"missingDepsWithValue",!0):r.default.domClassToggle(o,"missingDeps",!0),t.getCardinalityTracker().setDepsOk(e)},d=s.findBindingRelativeToParentBinding(t.getParent(),a);s.matchPathBelowBinding(d,a)||l(!1),d.addListener((function e(){t.getParent()?l(s.matchPathBelowBinding(d,a)):d.removeListener(e)}))}return this.filterBinding(t)&&r.default.domClassToggle(o,"hiddenProperty",!0),n.hasStyle("deprecated")&&r.default.domClassToggle(o,"rdformsDeprecated",!0),o}}},{key:"isMultiValued",value:function(e){return r.default.multiValueSupport&&(e.hasStyle("horizontalCheckBoxes")||e.hasStyle("verticalCheckBoxes"))}},{key:"truncateAt",value:function(e,t){return-1}}])&&f(t.prototype,n),o&&f(t,o),Object.defineProperty(t,"prototype",{writable:!1}),c}(i.default);t.default=w},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),n(150),n(56),n(119),n(38),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(52),n(9),n(30),n(35),n(101),n(39);var r=a(n(297)),i=a(n(416));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function d(){return(d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=u(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function u(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=m(e);if(t){var r=m(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(a,e);var t,n,o,r=b(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),t=r.call(this,e);var n=e.constraints,o=void 0===n?[]:n,i=e.childrenRootUri,s=void 0===i?null:i;return t._constraints=o,t._childBindings=t._item.getChildren().map((function(){return[]})),t._rootUri=s,t._validPredicate=!0,t._validObject=!0,t._statement&&(t._validPredicate=t._isValidPredicateValue(t._statement.getPredicate()),t._validObject=t._isValidObjectValue(t._statement.getValue(),t._statement.getType())),t._cachedChildBindings=null,t}return t=a,(n=[{key:"getValue",value:function(){return this._statement&&this._statement.isObjectBlank()?"":this._statement&&this._statement.getValue()}},{key:"oneChildValidityChanged",value:function(e){return e!==this._oneValidChild&&!(!e&&(delete this._oneValidChild,this.isValid()))&&(this._oneValidChild=e,this._notifyValidityChange(e&&this._validPredicate&&this._validObject),this._validPredicate&&this._validObject)}},{key:"setSubject",value:function(e){this._statement?this._statement.setSubject(e):this.getChildBindings().forEach((function(t){return t.setSubject(e)}))}},{key:"getChildrenRootUri",value:function(){return this._statement?this._statement.getValue():null!=this._rootUri?this._rootUri:null!=this._parent?this._parent.getChildrenRootUri():void 0}},{key:"addChildBinding",value:function(e){this.addChildBindings([e])}},{key:"addChildBindings",value:function(e){var t=this;if(this._cachedChildBindings=null,Array.isArray(e)&&0!==e.length)for(var n=e[0].getItem(),o=this._item.getChildren(),r=function(){if(n===o[a]){var r=t._childBindings[a].length>0?t._childBindings[a][0].getCardinalityTracker():new i.default(n);return t._childBindings[a]=t._childBindings[a].concat(e),e.forEach((function(e){e.setParent(t),e.setCardinalityTracker(r),r.increment()}),t),"break"}},a=o.length;a>=0&&"break"!==r();a--);}},{key:"removeChildBinding",value:function(e){this._cachedChildBindings=null;for(var t=this._item.getChildren(),n=t.length;n>=0;n--)if(e.getItem()===t[n]){this._childBindings[n].splice(this._childBindings[n].indexOf(e),1),delete e._parent,e.getCardinalityTracker().decrement();break}this.oneChildValidityChanged(),this.bindingChange(e)}},{key:"getChildBindingsFor",value:function(e){for(var t=this._item.getChildren(),n=t.length;n>=0;n--)if(e===t[n])return this._childBindings[n]}},{key:"getItemGroupedChildBindings",value:function(){return this._childBindings}},{key:"getChildBindings",value:function(){var e;return null==this._cachedChildBindings&&(this._childBindings&&this._childBindings.length>0?this._cachedChildBindings=(e=[]).concat.apply(e,s(this._childBindings)):this._cachedChildBindings=[]),this._cachedChildBindings}},{key:"setPredicate",value:function(e){var t=this._validPredicate;this._isValidPredicateValue(e)?(this._statement.setPredicate(e),this._validPredicate=!0,!0!==t&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!0)):(this._validPredicate=!1,!1!==t&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!1)),this.updateAssertions()}},{key:"setValue",value:function(e){if("URI"!==this.getItem().getNodetype()||!this._statement)throw new Error("Cannot change the value of a group unless its nodetype is URI and also that it corresponds to a statement");var t=this._validObject;this._isValidObjectValue(e,"uri")?(this._validObject=!0,this._statement._o.type="uri",this._statement.setValue(e),this._constraints.forEach((function(t){return t.setSubject(e)})),this.getChildBindings().forEach((function(t){return t.setSubject(e)})),!t&&this._validPredicate&&this._notifyValidityChange(!0)):(this._validObject=!1,t&&this._validPredicate&&this._notifyValidityChange(!1))}},{key:"getPredicate",value:function(){return this._statement?this._statement.getPredicate():void 0}},{key:"remove",value:function(){this._oneValidChild=!1,this.setAncestorValid(!1),null!=this._parent&&this._parent.removeChildBinding(this),d(m(a.prototype),"remove",this).call(this,arguments)}},{key:"_isValid",value:function(){return"URI"===this.getItem().getNodetype()?this._validObject&&this._validPredicate:this._oneValidChild&&this._validPredicate&&this._validObject}},{key:"isValid",value:function(){return null==this._oneValidChild&&(this._oneValidChild=this._forceOneValidChildCheck()),this._isValid()}},{key:"setAncestorValid",value:function(e){var t=this;this._ancestorValid=e,this.updateAssertions(),this._childBindings.forEach((function(n){return n.forEach((function(n){return n.setAncestorValid(e&&t._isValid())}),t)}),this)}},{key:"updateAssertions",value:function(){null==this._oneValidChild&&this.isValid();var e=this._ancestorValid&&this._isValid();null!=this._statement&&this._statement.setAsserted(e),this._constraints.forEach((function(t){return t.setAsserted(e)})),this.getChildBindings().forEach((function(e){return e.updateAssertions()}))}},{key:"_forceOneValidChildCheck",value:function(){return this._childBindings.some((function(e){return e.some((function(e){return e.isValid()}))}))}},{key:"_notifyValidityChange",value:function(e){this._parent&&this._parent.oneChildValidityChanged(e)||(this.updateAssertions(),this._childBindings.forEach((function(t){return t.forEach((function(t){return t.setAncestorValid(e)}))})))}},{key:"_isValidObjectValue",value:function(e,t){return("URI"!==this.getItem().getNodetype()||"uri"===t)&&d(m(a.prototype),"_isValidObjectValue",this).call(this,e)}}])&&c(t.prototype,n),o&&c(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.default);t.default=g},function(e,t,n){n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(13),n(14),n(52),n(9),n(30),n(42),n(35),n(72),n(23),n(24),n(22);var o,r=n(96),i=(o=n(60))&&o.__esModule?o:{default:o};function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,i=void 0,i=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===a(i)?i:String(i)),o)}var r,i}var c=0,d=function(e,t,n){null==n||""===n||Array.isArray(n)&&0===n.length?delete e[t]:e[t]=n},u=function(){function e(t){var n=t.source,o=void 0===n?{}:n,r=t.bundle,a=t.itemStore;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._itemStore=a,this._source=o,this._bundle=r,c+=1,this._internalId=c,this._styles=["heading","invisible","invisibleGroup","stars","commentOn","multiline","horizontalRadioButtons","verticalRadioButtons","horizontalCheckBoxes","verticalCheckBoxes","nonEditable","expandable","compact","nonCompact","dropDown","table","firstcolumnfixedtable","tree","externalLink","internalLink","noLink","image","label","tooltip","strictmatch","relaxedDatatypeMatch","viewAllTranslations","filterTranslations","email","atLeastOneChild","atMostOneChild","exactlyOneChild","noLabelInPresent","autoInitDate","autoUpdateDate","autoUUID","autoValue","showURI","showLink","showValue","showDescriptionInPresent","showDescriptionInEdit","textAsChoice","preserveOrderOfChoices","linkWithLabel","deprecated","inline","truncate","noTruncate"],this._getLocalizedValue=i.default.getLocalizedValue}var t,n,o;return t=e,(n=[{key:"getId",value:function(){var e=this.getSource(!0);return e.id||e["@id"]}},{key:"setId",value:function(e){d(this.getSource(!0),"id",e),delete s["@id"]}},{key:"getType",value:function(e){var t=this.getSource(e);return t.type||t["@type"]}},{key:"setType",value:function(e){d(this.getSource(!0),"type",e),delete s["@type"],this.refreshExtends()}},{key:"getExtends",value:function(){return this.getSource(!0).extends||""}},{key:"refreshExtends",value:function(){this.isExtention&&this.setExtends(this.getExtends())}},{key:"setExtends",value:function(e){var t=this.getSource(!0),n=this._itemStore.getItem(e);this._source=null==n?t:this._itemStore.createExtendedSource(n.getSource(),t),""===e||null==e?delete t.extends:t.extends=e}},{key:"isExtention",value:function(){return null!=this.getExtends()}},{key:"_getText",value:function(e,t,n){var o=this.getSource(n);return t?i.default.getLocalizedValue(o[e]):i.default.getLocalizedValue(o[e]).value}},{key:"_setText",value:function(e,t,n){var o=this.getSource(!0);o[e]=this._setLangHash(o[e],t,n),this.refreshExtends()}},{key:"_setTextMap",value:function(e,t){d(this.getSource(!0),e,t),this.refreshExtends()}},{key:"getLabel",value:function(e,t){return this._getText("label",e,t)}},{key:"setLabel",value:function(e,t){this._setText("label",e,t)}},{key:"getLabelMap",value:function(e){return this.getSource(e).label}},{key:"setLabelMap",value:function(e){this._setTextMap("label",e)}},{key:"getEditLabel",value:function(e,t){return this._getText("editlabel",e,t)}},{key:"setEditLabel",value:function(e,t){this._setText("editlabel",e,t)}},{key:"getEditLabelMap",value:function(e){return this.getSource(e).editlabel}},{key:"setEditLabelMap",value:function(e){this._setTextMap("editlabel",e)}},{key:"getDescription",value:function(e,t){return this._getText("description",e,t)}},{key:"setDescription",value:function(e,t){this._setText("description",e,t)}},{key:"getDescriptionMap",value:function(e){return this.getSource(e).description}},{key:"setDescriptionMap",value:function(e){this._setTextMap("description",e)}},{key:"getEditDescription",value:function(e,t){return this._getText("editdescription",e,t)}},{key:"setEditDescription",value:function(e,t){this._setText("editdescription",e,t)}},{key:"getEditDescriptionMap",value:function(e){return this.getSource(e).editdescription}},{key:"setEditDescriptionMap",value:function(e){this._setTextMap("editdescription",e)}},{key:"getHelp",value:function(e,t){return this._getText("help",e,t)}},{key:"setHelp",value:function(e,t){this._setText("help",e,t)}},{key:"getHelpMap",value:function(e){return this.getSource(e).help}},{key:"setHelpMap",value:function(e){this._setTextMap("help",e)}},{key:"getPlaceholder",value:function(e,t){return this._getText("placeholder",e,t)}},{key:"setPlaceholder",value:function(e,t){this._setText("placeholder",e,t)}},{key:"getPlaceholderMap",value:function(e){return this.getSource(e).placeholder}},{key:"setPlaceholderMap",value:function(e){this._setTextMap("placeholder",e)}},{key:"getPurpose",value:function(e,t){return this._getText("purpose",e,t)}},{key:"setPurpose",value:function(e,t){this._setText("purpose",e,t)}},{key:"getPurposeMap",value:function(e){return this.getSource(e).purpose}},{key:"setPurposeMap",value:function(e){this._setTextMap("purpose",e)}},{key:"getSpecification",value:function(e,t){return this._getText("specification",e,t)}},{key:"setSpecification",value:function(e,t){this._setText("specification",e,t)}},{key:"getSpecificationMap",value:function(e){return this.getSource(e).specification}},{key:"setSpecificationMap",value:function(e){this._setTextMap("specification",e)}},{key:"getProperty",value:function(e){var t=null,n=this.getSource(e);return n&&null!=(t=n.property)&&""!==t&&(t=r.namespaces.expand(t)),t}},{key:"setProperty",value:function(e){d(this.getSource(!0),"property",e),this.refreshExtends()}},{key:"getURIValueLabelProperties",value:function(e){var t=this.getSource(e).uriValueLabelProperties;return null!=t?t.map((function(e){return r.namespaces.expand(e)})):t}},{key:"setURIValueLabelProperties",value:function(e){d(this.getSource(!0),"uriValueLabelProperties",e),this.refreshExtends()}},{key:"getConstraints",value:function(e){var t=this.getSource(e).constraints;if(null!=t){var n={};return Object.keys(t).forEach((function(e){var o=t[e];Array.isArray(o)?n[r.namespaces.expand(e)]=o.map((function(e){return r.namespaces.expand(e)})):n[r.namespaces.expand(e)]=r.namespaces.expand(o)})),n}return t}},{key:"setConstraints",value:function(e){d(this.getSource(!0),"constraints",e),this.refreshExtends()}},{key:"getDeps",value:function(e){var t=this.getSource(e).deps;return null!=t?t.map((function(e){return"*"!==e&&".."!==e?r.namespaces.expand(e):e})):t}},{key:"setDeps",value:function(e){d(this.getSource(!0),"deps",e),this.refreshExtends()}},{key:"getDatatype",value:function(e){var t=this.getSource(e).datatype;return null!=t&&""!==t?Array.isArray(t)?t.map((function(e){return r.namespaces.expand(e)})):r.namespaces.expand(t):t}},{key:"setDatatype",value:function(e){d(this.getSource(!0),"datatype",e),this.refreshExtends()}},{key:"getPattern",value:function(e){return this.getSource(e).pattern}},{key:"setPattern",value:function(e){d(this.getSource(!0),"pattern",e),this.refreshExtends()}},{key:"getLanguage",value:function(e){return this.getSource(e).language}},{key:"setLanguage",value:function(e){d(this.getSource(!0),"language",e),this.refreshExtends()}},{key:"getMember",value:function(e){return this.getSource(e).member}},{key:"setMember",value:function(e){d(this.getSource(!0),"member",e),this.refreshExtends()}},{key:"getNodetype",value:function(e){var t=this.getSource(e);return t.nodetype||t.nodeType}},{key:"setNodetype",value:function(e){d(this.getSource(!0),"nodetype",e),this.refreshExtends()}},{key:"getValue",value:function(e){return this.getSource(e).value}},{key:"setValue",value:function(e){d(this.getSource(!0),"value",e),this.refreshExtends()}},{key:"getValueTemplate",value:function(e){return this.getSource(e).valueTemplate}},{key:"setValueTemplate",value:function(e){d(this.getSource(!0),"valueTemplate",e),this.refreshExtends()}},{key:"getCardinality",value:function(e){if(!this.getProperty()&&"text"===this.getType())return{min:1,max:1};var t=this.getSource(e);return t&&"cardinality"in t?t.cardinality:this.getProperty()?{}:{max:1}}},{key:"setCardinality",value:function(e){d(this.getSource(!0),"cardinality",e),this.refreshExtends()}},{key:"isEnabled",value:function(e){var t=this.getSource(e);return null==t.enabled||t.enabled}},{key:"setEnabled",value:function(e){var t=this.getSource(!0);e?delete t.enabled:t.enabled=e,this.refreshExtends()}},{key:"getClasses",value:function(e){var t=this.getSource(e);return t&&"cls"in t?t.cls:[]}},{key:"setClasses",value:function(e){d(this.getSource(!0),"cls",e),this.refreshExtends()}},{key:"hasClass",value:function(e,t){var n=this.getSource(t);return!!this.hasStyle(e,t)||null!=n.cls&&n.cls.some((function(t){return t.toLowerCase()===e.toLowerCase()}))}},{key:"getAvailableStyles",value:function(){return this._styles}},{key:"getStyles",value:function(e){return this.getSource(e).styles||[]}},{key:"setStyles",value:function(e){d(this.getSource(!0),"styles",e),this.refreshExtends()}},{key:"hasStyle",value:function(e,t){var n=this.getSource(t);return!(!n||!("styles"in n))&&n.styles.some((function(t){return t.toLowerCase()===e.toLowerCase()}))}},{key:"getSource",value:function(e){if(!0===e)return this._source._extendedSource||this._source;if(!1===e){var t=this._itemStore.getItem(this.getExtends());return null==t?this._source:t.getSource()}return this._source}},{key:"getBundle",value:function(){return this._bundle}},{key:"toStringShort",value:function(){return"'".concat(this.getLabel(),"'").concat(this.getId()?" (ID: '".concat(this.getId(),"')"):"")}},{key:"toString",value:function(){var e=[];return this.getId()&&e.push("ID: '".concat(this.getId(),"'")),e.push("TYPE: '".concat(this.getType(),"'")),this.getProperty()&&e.push("PROPERTY: '".concat(this.getProperty(),"'")),this.getExtends()&&e.push("EXTENDS: '".concat(this.getExtends(),"'")),"'".concat(this.getLabel(),"' (").concat(e.join(", "),")")}},{key:"_setLangHash",value:function(e,t,n){var o=e||{};if("string"==typeof t)"string"==typeof n?o[n]=t:o[""]=t;else if("object"===a(t)&&null!==t)return t;return o}}])&&l(t.prototype,n),o&&l(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=u},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(39),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(30);var r,i=n(96),a=(r=n(225))&&r.__esModule?r:{default:r};function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function l(){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=c(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function c(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=b(e)););return e}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=b(e);if(t){var r=b(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){null!=e&&e.forEach((function(e){e.value=i.namespaces.expand(e.value)}))},m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(a,e);var t,n,o,r=u(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=r.call(this,e))._ontologyStore=e.ontologyStore,t}return t=a,(n=[{key:"getChoices",value:function(e){return this.getStaticChoices(e)||this.getDynamicChoices(e)||[]}},{key:"hasChoices",value:function(e){var t=this.getSource(e);return null!=t.ontologyUrl||null!=t.choices}},{key:"hasStaticChoices",value:function(e){return null!=this.getSource(e).choices}},{key:"getStaticChoices",value:function(e){var t=this.getSource(e);if(t.choices){var n=-1===this.getNodetype().indexOf("LITERAL");e&&this.isExtention()?this._origStaticIsSorted||(n&&p(t.choices),this._origStaticIsSorted=!0):this._staticIsSorted||(n&&p(t.choices),this._staticIsSorted=!0)}return t.choices}},{key:"setStaticChoices",value:function(e){var t=this.getSource(!0);t.choices!==e&&(null!=e&&(this._origStaticIsSorted=!0),t.choices=e,this.refreshExtends())}},{key:"setExtends",value:function(e){l(b(a.prototype),"setExtends",this).call(this,e),delete this._staticIsSorted,delete this._origStaticIsSorted}},{key:"getDynamicChoices",value:function(e){var t=this;if(null==this._dynamicChoices){if(null==e)return this._dynamicChoices=this._ontologyStore.getChoices(this),this._dynamicChoices;this._ontologyStore.getChoices(this,(function(n){t._dynamicChoices=n,null==t._dynamicChoices&&(console.log("Failed lookup of choices for ".concat(t.getLabel())),console.log("OntologyUrl is: ".concat(t._source.ontologyUrl))),e(t._dynamicChoices)}))}else{if(null==e)return this._dynamicChoices;e(this._dynamicChoices)}}},{key:"getOntologyUrl",value:function(e){var t=this.getSource(e).ontologyUrl;return null!=t&&""!==t?i.namespaces.expand(t):t}},{key:"setOntologyUrl",value:function(e){var t=this.getSource(!0);null==e||""===e?delete t.ontologyUrl:t.ontologyUrl=e,this.refreshExtends()}},{key:"getLabelProperties",value:function(e){return this.getSource(e).labelProperties||["http://www.w3.org/2000/01/rdf-schema#label"]}},{key:"getParentProperty",value:function(e){var t=this.getSource(e).parentProperty;return null!=t&&""!==t?i.namespaces.expand(t):t}},{key:"setParentProperty",value:function(e){var t=this.getSource(!0);null==e||""===e?delete t.parentProperty:t.parentProperty=e,this.refreshExtends()}},{key:"getHierarchyProperty",value:function(e){var t=this.getSource(e).hierarchyProperty;return null!=t&&""!==t?i.namespaces.expand(t):t}},{key:"setHierarchyProperty",value:function(e){var t=this.getSource(!0);null==e||""===e?delete t.hierarchyProperty:t.hierarchyProperty=e,this.refreshExtends()}},{key:"isParentPropertyInverted",value:function(e){return!0===this.getSource(e).isParentPropertyInverted}},{key:"setParentPropertyInverted",value:function(e){var t=this.getSource(!0);!0===e?t.isParentPropertyInverted=!0:delete t.isParentPropertyInverted,this.refreshExtends()}},{key:"isHierarchyPropertyInverted",value:function(e){return!0===this.getSource(e).isHierarchyPropertyInverted}},{key:"setHierarchyPropertyInverted",value:function(e){var t=this.getSource(!0);e?t.isHierarchyPropertyInverted=!0:delete t.isHierarchyPropertyInverted,this.refreshExtends()}}])&&s(t.prototype,n),o&&s(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.default);t.default=m},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(30),n(42),n(39);var r=a(n(174)),i=a(n(102));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function l(){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=c(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function c(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=b(e)););return e}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=b(e);if(t){var r=b(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p="http://www.w3.org/2000/01/rdf-schema#label",m="http://www.w3.org/2000/01/rdf-schema#seeAlso",g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(a,e);var t,n,o,r=u(a);function a(e){var t,n=e.choice,o=e.item,i=e.statement,s=e.matchingCode;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=r.call(this,{choice:n,item:o,statement:i,matchingCode:s}))._choice=n,t._validPredicate=null!=o.getProperty(),t}return t=a,o=[{key:"seeAlso",get:function(){return m}}],(n=[{key:"setChoice",value:function(e,t){this._choice=e,null==e?this.setValue(null,null,t):this.getValue()!==e.value&&this.setValue(e.value,e,t),e&&e.mismatch?this.setMatchingCode(i.default.WRONG_VALUE):e&&e.mismatch||this.getMatchingCode()!==i.default.WRONG_VALUE||this.setMatchingCode(i.default.OK)}},{key:"getChoice",value:function(){return this._choice}},{key:"setValue",value:function(e,t,n){var o=this.getValue();l(b(a.prototype),"setValue",this).call(this,e,t,n);var r=this._statement.getGraph();if(r.findAndRemove(o,p,void 0,n),r.findAndRemove(o,m,void 0,n),null!=e&&null!=t&&(t.seeAlso&&t.inlineSeeAlso&&r.create(e,m,t.seeAlso,!0,n),!0===t.inlineLabel)){var i=t.label||{};Object.keys(i).forEach((function(t){return r.create(e,p,{value:i[t],lang:t,type:"literal"},!0,n)}))}}}])&&s(t.prototype,n),o&&s(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.default);t.default=g},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},,,,,function(e,t,n){"use strict";n(38);var o=n(260),r=n(48),i=n(210),a=n(12),s=n(26),l=n(94),c=s("species"),d=RegExp.prototype;e.exports=function(e,t,n,u){var f=s(e),b=!a((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),p=b&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!b||!p||n){var m=o(/./[f]),g=t(f,""[e],(function(e,t,n,r,a){var s=o(e),l=t.exec;return l===i||l===d.exec?b&&!a?{done:!0,value:m(t,n,r)}:{done:!0,value:s(n,t,r)}:{done:!1}}));r(String.prototype,e,g[0]),r(d,f,g[1])}u&&l(d[f],"sham",!0)}},function(e,t,n){var o=n(29),r=n(31),i=n(27),a=n(67),s=n(210),l=TypeError;e.exports=function(e,t){var n=e.exec;if(i(n)){var c=o(n,e,t);return null!==c&&r(c),c}if("RegExp"===a(e))return o(s,e,t);throw l("RegExp#exec called on incompatible receiver")}},function(e,t,n){var o=n(19),r=n(88),i=n(43),a=n(241),s=o("".replace),l=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),d=function(e){return function(t){var n=i(r(t));return 1&e&&(n=s(n,l,"")),2&e&&(n=s(n,c,"$1")),n}};e.exports={start:d(1),end:d(2),trim:d(3)}},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(39),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(36),n(9);var r=s(n(91)),i=s(n(37)),a=s(n(413));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function d(){return(d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=u(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function u(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=m(e);if(t){var r=m(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t,n){if(0===n.length||t.hasStyle("invisible"))return!1;if(t.getProperty())return!e.filterItem(t);if("group"===t.getType()){var o=t.getChildren();return 0===o.length||!!n[0].getItemGroupedChildBindings().find((function(t,n){return g(e,o[n],t)}))}return!0},h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(s,e);var t,n,o,a=b(s);function s(){return l(this,s),a.apply(this,arguments)}return t=s,(n=[{key:"_handleParams",value:function(e){this.showLanguage=!1!==e.showLanguage,this.filterTranslations=!1!==e.filterTranslations,this.defaultLanguage=e.defaultLanguage,this.styleCls=e.styleCls||"rdformsPresenter",d(m(s.prototype),"_handleParams",this).call(this,e)}},{key:"showNow",value:function(e,t){return g(this,e,t)}},{key:"skipBinding",value:function(e){var t=e.getItem(),n="group"===t.getType();return!(!t.getProperty()&&n&&0===t.getChildren().length)&&n&&0===e.getChildBindings().length}},{key:"prepareBindings",value:function(e,t){return e.hasStyle("filterTranslations")||this.filterTranslations&&"LANGUAGE_LITERAL"===e.getNodetype()&&!e.hasStyle("viewAllTranslations")?i.default.filterTranslations(t,r.default.locale(),this.defaultLanguage):t}},{key:"addLabel",value:function(e,t,n){n.hasStyle("noLabelInPresent")?i.default.domClassToggle(e,"rdformsInvisibleGroup",!0):i.default.renderPresenterLabel(e,t,n,this.context)}},{key:"addTable",value:function(e,t){return i.default.addPresenterTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){return i.default.fillPresenterTable(e,t,{view:this})}},{key:"preRenderView",value:function(){i.default.prePresenterViewRenderer(this.domNode,this.binding,{view:this,topLevel:this.topLevel})}},{key:"addComponent",value:function(e,t){i.default.renderPresenter(e,t,this.context)}},{key:"truncateAt",value:function(e,t){return"group"!==e.getType()&&t&&t.length>this.truncateLimit&&(this.truncate||e.hasStyle("truncate"))&&!e.hasStyle("noTruncate")?this.truncateLimit:-1}}])&&c(t.prototype,n),o&&c(t,o),Object.defineProperty(t,"prototype",{writable:!1}),s}(a.default);t.default=h},,,,,function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(e,t,n){var o,r,i={},a=(o=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===r&&(r=o.apply(this,arguments)),r}),s=function(e){return document.querySelector(e)},l=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=s.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),c=null,d=0,u=[],f=n(421);function b(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=i[o.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](o.parts[a]);for(;a<o.parts.length;a++)r.parts.push(y(o.parts[a],t))}else{var s=[];for(a=0;a<o.parts.length;a++)s.push(y(o.parts[a],t));i[o.id]={id:o.id,refs:1,parts:s}}}}function p(e,t){for(var n=[],o={},r=0;r<e.length;r++){var i=e[r],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};o[a]?o[a].parts.push(s):n.push(o[a]={id:a,parts:[s]})}return n}function m(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=u[u.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),u.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=l(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,r)}}function g(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=u.indexOf(e);t>=0&&u.splice(t,1)}function h(e){var t=document.createElement("style");return e.attrs.type="text/css",v(t,e.attrs),m(e,t),t}function v(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function y(e,t){var n,o,r,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=d++;n=c||(c=h(t)),o=k.bind(null,n,a,!1),r=k.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",v(t,e.attrs),m(e,t),t}(t),o=C.bind(null,n,t),r=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=h(t),o=_.bind(null,n),r=function(){g(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return b(n,t),function(e){for(var o=[],r=0;r<n.length;r++){var a=n[r];(s=i[a.id]).refs--,o.push(s)}e&&b(p(e,t),t);for(r=0;r<o.length;r++){var s;if(0===(s=o[r]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var w,x=(w=[],function(e,t){return w[e]=t,w.filter(Boolean).join("\n")});function k(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=x(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function _(e,t){var n=t.css,o=t.media;if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function C(e,t,n){var o=n.css,r=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||i)&&(o=f(o)),r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},,,,function(e,t,n){var o=n(17),r=n(399).values;o({target:"Object",stat:!0},{values:function(e){return r(e)}})},function(e,t,n){n(400)},,,function(e,t,n){var o=n(104);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t){var n="object"==typeof document&&document.all,o=void 0===n&&void 0!==n;e.exports={all:n,IS_HTMLDDA:o}},function(e,t,n){var o=n(33),r=n(12),i=n(156);e.exports=!o&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var o=n(33),r=n(12);e.exports=o&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(e,t,n){var o=n(29),r=n(32),i=n(126),a=n(117),s=n(255),l=n(26),c=TypeError,d=l("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var n,l=a(e,d);if(l){if(void 0===t&&(t="default"),n=o(l,e,t),!r(n)||i(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},function(e,t,n){var o=n(29),r=n(27),i=n(32),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&r(n=e.toString)&&!i(s=o(n,e)))return s;if(r(n=e.valueOf)&&!i(s=o(n,e)))return s;if("string"!==t&&r(n=e.toString)&&!i(s=o(n,e)))return s;throw a("Can't convert object to primitive value")}},function(e,t,n){var o=n(19),r=n(12),i=n(27),a=n(28),s=n(33),l=n(127).CONFIGURABLE,c=n(205),d=n(66),u=d.enforce,f=d.get,b=String,p=Object.defineProperty,m=o("".slice),g=o("".replace),h=o([].join),v=s&&!r((function(){return 8!==p((function(){}),"length",{value:8}).length})),y=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===m(b(t),0,7)&&(t="["+g(b(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&a(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var o=u(e);return a(o,"source")||(o.source=h(y,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return i(this)&&f(this).source||c(this)}),"toString")},function(e,t,n){var o=n(21),r=n(27),i=o.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var o=n(156)("span").classList,r=o&&o.constructor&&o.constructor.prototype;e.exports=r===Object.prototype?void 0:r},function(e,t,n){var o=n(67),r=n(19);e.exports=function(e){if("Function"===o(e))return r(e)}},function(e,t,n){var o=n(28),r=n(321),i=n(90),a=n(49);e.exports=function(e,t,n){for(var s=r(t),l=a.f,c=i.f,d=0;d<s.length;d++){var u=s[d];o(e,u)||n&&o(n,u)||l(e,u,c(t,u))}}},function(e,t,n){var o=n(19),r=n(28),i=n(57),a=n(263).indexOf,s=n(129),l=o([].push);e.exports=function(e,t){var n,o=i(e),c=0,d=[];for(n in o)!r(s,n)&&r(o,n)&&l(d,n);for(;t.length>c;)r(o,n=t[c++])&&(~a(d,n)||l(d,n));return d}},function(e,t,n){var o=n(57),r=n(163),i=n(77),a=function(e){return function(t,n,a){var s,l=o(t),c=i(l),d=r(a,c);if(e&&n!=n){for(;c>d;)if((s=l[d++])!=s)return!0}else for(;c>d;d++)if((e||d in l)&&l[d]===n)return e||d||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){"use strict";var o=n(31);e.exports=function(){var e=o(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},function(e,t,n){var o=n(12),r=n(21).RegExp,i=o((function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=i||o((function(){return!r("a","y").sticky})),s=i||o((function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i}},function(e,t,n){var o=n(33),r=n(253),i=n(49),a=n(31),s=n(57),l=n(133);t.f=o&&!r?Object.defineProperties:function(e,t){a(e);for(var n,o=s(t),r=l(t),c=r.length,d=0;c>d;)i.f(e,n=r[d++],o[n]);return e}},function(e,t,n){var o=n(55);e.exports=o("document","documentElement")},function(e,t,n){var o=n(12),r=n(21).RegExp;e.exports=o((function(){var e=r(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},function(e,t,n){var o=n(12),r=n(21).RegExp;e.exports=o((function(){var e=r("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},function(e,t,n){"use strict";var o=n(271).charAt;e.exports=function(e,t,n){return t+(n?o(e,t).length:1)}},function(e,t,n){var o=n(19),r=n(130),i=n(43),a=n(88),s=o("".charAt),l=o("".charCodeAt),c=o("".slice),d=function(e){return function(t,n){var o,d,u=i(a(t)),f=r(n),b=u.length;return f<0||f>=b?e?"":void 0:(o=l(u,f))<55296||o>56319||f+1===b||(d=l(u,f+1))<56320||d>57343?e?s(u,f):o:e?c(u,f,f+2):d-56320+(o-55296<<10)+65536}};e.exports={codeAt:d(!1),charAt:d(!0)}},function(e,t,n){"use strict";var o=n(17),r=n(235).trim;o({target:"String",proto:!0,forced:n(340)("trim")},{trim:function(){return r(this)}})},function(e,t,n){var o=n(32),r=n(67),i=n(26)("match");e.exports=function(e){var t;return o(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==r(e))}},function(e,t,n){var o=n(29),r=n(28),i=n(83),a=n(264),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||r(e,"flags")||!i(s,e)?t:o(a,e)}},function(e,t){var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},function(e,t,n){"use strict";var o=n(105),r=TypeError;e.exports=function(e,t){if(!delete e[t])throw r("Cannot delete property "+o(t)+" of "+o(e))}},function(e,t,n){var o=n(163),r=n(77),i=n(118),a=Array,s=Math.max;e.exports=function(e,t,n){for(var l=r(e),c=o(t,l),d=o(void 0===n?l:n,l),u=a(s(d-c,0)),f=0;c<d;c++,f++)i(u,f,e[c]);return u.length=f,u}},function(e,t,n){var o=n(67),r=n(57),i=n(108).f,a=n(277),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==o(e)?function(e){try{return i(e)}catch(e){return a(s)}}(e):i(r(e))}},function(e,t,n){var o=n(26);t.f=o},function(e,t,n){var o=n(21);e.exports=o},function(e,t,n){var o=n(29),r=n(55),i=n(26),a=n(48);e.exports=function(){var e=r("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return o(n,this)}),{arity:1})}},function(e,t,n){var o=n(104);e.exports=o&&!!Symbol.for&&!!Symbol.keyFor},function(e,t,n){"use strict";var o,r,i,a=n(12),s=n(27),l=n(32),c=n(95),d=n(167),u=n(48),f=n(26),b=n(64),p=f("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(r=d(d(i)))!==Object.prototype&&(o=r):m=!0),!l(o)||a((function(){var e={};return o[p].call(e)!==e}))?o={}:b&&(o=c(o)),s(o[p])||u(o,p,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:m}},function(e,t,n){var o=n(12);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var o=n(161),r=n(105),i=TypeError;e.exports=function(e){if(o(e))return e;throw i(r(e)+" is not a constructor")}},function(e,t,n){var o=n(12);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var o=n(26),r=n(137),i=o("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){var o=n(29),r=n(65),i=n(31),a=n(105),s=n(218),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(r(n))return i(o(n,e));throw l(a(e)+" is not iterable")}},function(e,t,n){var o=n(29),r=n(31),i=n(117);e.exports=function(e,t,n){var a,s;r(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=o(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return r(a),n}},function(e,t,n){"use strict";var o=n(95),r=n(134),i=n(220),a=n(107),s=n(171),l=n(71),c=n(138),d=n(215),u=n(216),f=n(213),b=n(33),p=n(170).fastKey,m=n(66),g=m.set,h=m.getterFor;e.exports={getConstructor:function(e,t,n,d){var u=e((function(e,r){s(e,f),g(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),b||(e.size=0),l(r)||c(r,e[d],{that:e,AS_ENTRIES:n})})),f=u.prototype,m=h(t),v=function(e,t,n){var o,r,i=m(e),a=y(e,t);return a?a.value=n:(i.last=a={index:r=p(t,!0),key:t,value:n,previous:o=i.last,next:void 0,removed:!1},i.first||(i.first=a),o&&(o.next=a),b?i.size++:e.size++,"F"!==r&&(i.index[r]=a)),e},y=function(e,t){var n,o=m(e),r=p(t);if("F"!==r)return o.index[r];for(n=o.first;n;n=n.next)if(n.key==t)return n};return i(f,{clear:function(){for(var e=m(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,b?e.size=0:this.size=0},delete:function(e){var t=m(this),n=y(this,e);if(n){var o=n.next,r=n.previous;delete t.index[n.index],n.removed=!0,r&&(r.next=o),o&&(o.previous=r),t.first==n&&(t.first=o),t.last==n&&(t.last=r),b?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=m(this),o=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(o(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),i(f,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),b&&r(f,"size",{configurable:!0,get:function(){return m(this).size}}),u},setStrong:function(e,t,n){var o=t+" Iterator",r=h(t),i=h(o);d(e,t,(function(e,t){g(this,{type:o,target:e,state:r(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?u("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,u(void 0,!0))}),n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){var o=n(172),r=o.find,i=o.NAMESPACE;function a(e){return""!==e}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function l(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(a):[]}(e);return Object.keys(t.reduce(s,{}))}function c(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function d(e,t){var n=e.prototype;if(!(n instanceof t)){function o(){}o.prototype=t.prototype,c(n,o=new o),e.prototype=n=o}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var u={},f=u.ELEMENT_NODE=1,b=u.ATTRIBUTE_NODE=2,p=u.TEXT_NODE=3,m=u.CDATA_SECTION_NODE=4,g=u.ENTITY_REFERENCE_NODE=5,h=u.ENTITY_NODE=6,v=u.PROCESSING_INSTRUCTION_NODE=7,y=u.COMMENT_NODE=8,w=u.DOCUMENT_NODE=9,x=u.DOCUMENT_TYPE_NODE=10,k=u.DOCUMENT_FRAGMENT_NODE=11,_=u.NOTATION_NODE=12,C={},T={},O=(C.INDEX_SIZE_ERR=(T[1]="Index size error",1),C.DOMSTRING_SIZE_ERR=(T[2]="DOMString size error",2),C.HIERARCHY_REQUEST_ERR=(T[3]="Hierarchy request error",3)),E=(C.WRONG_DOCUMENT_ERR=(T[4]="Wrong document",4),C.INVALID_CHARACTER_ERR=(T[5]="Invalid character",5),C.NO_DATA_ALLOWED_ERR=(T[6]="No data allowed",6),C.NO_MODIFICATION_ALLOWED_ERR=(T[7]="No modification allowed",7),C.NOT_FOUND_ERR=(T[8]="Not found",8)),S=(C.NOT_SUPPORTED_ERR=(T[9]="Not supported",9),C.INUSE_ATTRIBUTE_ERR=(T[10]="Attribute in use",10));C.INVALID_STATE_ERR=(T[11]="Invalid state",11),C.SYNTAX_ERR=(T[12]="Syntax error",12),C.INVALID_MODIFICATION_ERR=(T[13]="Invalid modification",13),C.NAMESPACE_ERR=(T[14]="Invalid namespace",14),C.INVALID_ACCESS_ERR=(T[15]="Invalid access",15);function D(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,T[e]),this.message=T[e],Error.captureStackTrace&&Error.captureStackTrace(this,D);return n.code=e,t&&(this.message=this.message+": "+t),n}function j(){}function N(e,t){this._node=e,this._refresh=t,A(this)}function A(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);he(e,"length",n.length),c(n,e),e._inc=t}}function I(){}function M(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function L(e,t,n,o){if(o?t[M(t,o)]=n:t[t.length++]=n,e){n.ownerElement=e;var r=e.ownerDocument;r&&(o&&Y(r,e,o),function(e,t,n){e&&e._inc++,n.namespaceURI===i.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(r,e,n))}}function P(e,t,n){var o=M(t,n);if(!(o>=0))throw new D(E,new Error(e.tagName+"@"+n));for(var r=t.length-1;o<r;)t[o]=t[++o];if(t.length=r,e){var i=e.ownerDocument;i&&(Y(i,e,n),n.ownerElement=null)}}function R(){}function z(){}function F(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function B(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(B(e,t))return!0}while(e=e.nextSibling)}function V(){this.ownerDocument=this}function Y(e,t,n,o){e&&e._inc++,n.namespaceURI===i.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function $(e,t,n){if(e&&e._inc){e._inc++;var o=t.childNodes;if(n)o[o.length++]=n;else{for(var r=t.firstChild,i=0;r;)o[i++]=r,r=r.nextSibling;o.length=i,delete o[o.length]}}}function U(e,t){var n=t.previousSibling,o=t.nextSibling;return n?n.nextSibling=o:e.firstChild=o,o?o.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,$(e.ownerDocument,e),t}function H(e){return e&&e.nodeType===z.DOCUMENT_TYPE_NODE}function G(e){return e&&e.nodeType===z.ELEMENT_NODE}function W(e){return e&&e.nodeType===z.TEXT_NODE}function q(e,t){var n=e.childNodes||[];if(r(n,G)||H(t))return!1;var o=r(n,H);return!(t&&o&&n.indexOf(o)>n.indexOf(t))}function Q(e,t){var n=e.childNodes||[];if(r(n,(function(e){return G(e)&&e!==t})))return!1;var o=r(n,H);return!(t&&o&&n.indexOf(o)>n.indexOf(t))}function X(e,t,n){if(!function(e){return e&&(e.nodeType===z.DOCUMENT_NODE||e.nodeType===z.DOCUMENT_FRAGMENT_NODE||e.nodeType===z.ELEMENT_NODE)}(e))throw new D(O,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new D(E,"child not in parent");if(!function(e){return e&&(G(e)||W(e)||H(e)||e.nodeType===z.DOCUMENT_FRAGMENT_NODE||e.nodeType===z.COMMENT_NODE||e.nodeType===z.PROCESSING_INSTRUCTION_NODE)}(t)||H(t)&&e.nodeType!==z.DOCUMENT_NODE)throw new D(O,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function Z(e,t,n){var o=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===z.DOCUMENT_FRAGMENT_NODE){var a=i.filter(G);if(a.length>1||r(i,W))throw new D(O,"More than one element or text in fragment");if(1===a.length&&!q(e,n))throw new D(O,"Element in fragment can not be inserted before doctype")}if(G(t)&&!q(e,n))throw new D(O,"Only one element can be added and only after doctype");if(H(t)){if(r(o,H))throw new D(O,"Only one doctype is allowed");var s=r(o,G);if(n&&o.indexOf(s)<o.indexOf(n))throw new D(O,"Doctype can only be inserted before an element");if(!n&&s)throw new D(O,"Doctype can not be appended since element is present")}}function K(e,t,n){var o=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===z.DOCUMENT_FRAGMENT_NODE){var a=i.filter(G);if(a.length>1||r(i,W))throw new D(O,"More than one element or text in fragment");if(1===a.length&&!Q(e,n))throw new D(O,"Element in fragment can not be inserted before doctype")}if(G(t)&&!Q(e,n))throw new D(O,"Only one element can be added and only after doctype");if(H(t)){if(r(o,(function(e){return H(e)&&e!==n})))throw new D(O,"Only one doctype is allowed");var s=r(o,G);if(n&&o.indexOf(s)<o.indexOf(n))throw new D(O,"Doctype can only be inserted before an element")}}function J(e,t,n,o){X(e,t,n),e.nodeType===z.DOCUMENT_NODE&&(o||Z)(e,t,n);var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===k){var i=t.firstChild;if(null==i)return t;var a=t.lastChild}else i=a=t;var s=n?n.previousSibling:e.lastChild;i.previousSibling=s,a.nextSibling=n,s?s.nextSibling=i:e.firstChild=i,null==n?e.lastChild=a:n.previousSibling=a;do{i.parentNode=e}while(i!==a&&(i=i.nextSibling));return $(e.ownerDocument||e,e),t.nodeType==k&&(t.firstChild=t.lastChild=null),t}function ee(){this._nsMap={}}function te(){}function ne(){}function oe(){}function re(){}function ie(){}function ae(){}function se(){}function le(){}function ce(){}function de(){}function ue(){}function fe(){}function be(e,t){var n=[],o=9==this.nodeType&&this.documentElement||this,r=o.prefix,i=o.namespaceURI;if(i&&null==r&&null==(r=o.lookupPrefix(i)))var a=[{namespace:i,prefix:null}];return ge(this,n,e,t,a),n.join("")}function pe(e,t,n){var o=e.prefix||"",r=e.namespaceURI;if(!r)return!1;if("xml"===o&&r===i.XML||r===i.XMLNS)return!1;for(var a=n.length;a--;){var s=n[a];if(s.prefix===o)return s.namespace!==r}return!0}function me(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,F),'"')}function ge(e,t,n,o,r){if(r||(r=[]),o){if(!(e=o(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case f:var a=e.attributes,s=a.length,l=e.firstChild,c=e.tagName,d=c;if(!(n=i.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var u,h=0;h<a.length;h++)if("xmlns"===a.item(h).name){u=a.item(h).value;break}if(!u)for(var _=r.length-1;_>=0;_--){if(""===(C=r[_]).prefix&&C.namespace===e.namespaceURI){u=C.namespace;break}}if(u!==e.namespaceURI)for(_=r.length-1;_>=0;_--){var C;if((C=r[_]).namespace===e.namespaceURI){C.prefix&&(d=C.prefix+":"+c);break}}}t.push("<",d);for(var T=0;T<s;T++){"xmlns"==(O=a.item(T)).prefix?r.push({prefix:O.localName,namespace:O.value}):"xmlns"==O.nodeName&&r.push({prefix:"",namespace:O.value})}for(T=0;T<s;T++){var O,E,S;if(pe(O=a.item(T),0,r))me(t,(E=O.prefix||"")?"xmlns:"+E:"xmlns",S=O.namespaceURI),r.push({prefix:E,namespace:S});ge(O,t,n,o,r)}if(c===d&&pe(e,0,r))me(t,(E=e.prefix||"")?"xmlns:"+E:"xmlns",S=e.namespaceURI),r.push({prefix:E,namespace:S});if(l||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(c)){if(t.push(">"),n&&/^script$/i.test(c))for(;l;)l.data?t.push(l.data):ge(l,t,n,o,r.slice()),l=l.nextSibling;else for(;l;)ge(l,t,n,o,r.slice()),l=l.nextSibling;t.push("</",d,">")}else t.push("/>");return;case w:case k:for(l=e.firstChild;l;)ge(l,t,n,o,r.slice()),l=l.nextSibling;return;case b:return me(t,e.name,e.value);case p:return t.push(e.data.replace(/[<&>]/g,F));case m:return t.push("<![CDATA[",e.data,"]]>");case y:return t.push("\x3c!--",e.data,"--\x3e");case x:var D=e.publicId,j=e.systemId;if(t.push("<!DOCTYPE ",e.name),D)t.push(" PUBLIC ",D),j&&"."!=j&&t.push(" ",j),t.push(">");else if(j&&"."!=j)t.push(" SYSTEM ",j,">");else{var N=e.internalSubset;N&&t.push(" [",N,"]"),t.push(">")}return;case v:return t.push("<?",e.target," ",e.data,"?>");case g:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function he(e,t,n){e[t]=n}D.prototype=Error.prototype,c(C,D),j.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],o=0;o<this.length;o++)ge(this[o],n,e,t);return n.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},N.prototype.item=function(e){return A(this),this[e]},d(N,j),I.prototype={length:0,item:j.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new D(S);var n=this.getNamedItem(e.nodeName);return L(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new D(S);return t=this.getNamedItemNS(e.namespaceURI,e.localName),L(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return P(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return P(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var o=this[n];if(o.localName==t&&o.namespaceURI==e)return o}return null}},R.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var o=new V;if(o.implementation=this,o.childNodes=new j,o.doctype=n||null,n&&o.appendChild(n),t){var r=o.createElementNS(e,t);o.appendChild(r)}return o},createDocumentType:function(e,t,n){var o=new ae;return o.name=e,o.nodeName=e,o.publicId=t||"",o.systemId=n||"",o}},z.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return J(this,e,t)},replaceChild:function(e,t){J(this,e,t,K),t&&this.removeChild(t)},removeChild:function(e){return U(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,n,o){var r=new n.constructor;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var a=n[i];"object"!=typeof a&&a!=r[i]&&(r[i]=a)}n.childNodes&&(r.childNodes=new j);switch(r.ownerDocument=t,r.nodeType){case f:var s=n.attributes,l=r.attributes=new I,c=s.length;l._ownerElement=r;for(var d=0;d<c;d++)r.setAttributeNode(e(t,s.item(d),!0));break;case b:o=!0}if(o)for(var u=n.firstChild;u;)r.appendChild(e(t,u,o)),u=u.nextSibling;return r}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==p&&e.nodeType==p?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)&&n[o]===e)return o;t=t.nodeType==b?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==b?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},c(u,z),c(u,z.prototype),V.prototype={nodeName:"#document",nodeType:w,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==k){for(var n=e.firstChild;n;){var o=n.nextSibling;this.insertBefore(n,t),n=o}return e}return J(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===f&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),U(this,e)},replaceChild:function(e,t){J(this,e,t,K),e.ownerDocument=this,t&&this.removeChild(t),G(e)&&(this.documentElement=e)},importNode:function(e,t){return function e(t,n,o){var r;switch(n.nodeType){case f:(r=n.cloneNode(!1)).ownerDocument=t;case k:break;case b:o=!0}r||(r=n.cloneNode(!1));if(r.ownerDocument=t,r.parentNode=null,o)for(var i=n.firstChild;i;)r.appendChild(e(t,i,o)),i=i.nextSibling;return r}(this,e,t)},getElementById:function(e){var t=null;return B(this.documentElement,(function(n){if(n.nodeType==f&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=l(e);return new N(this,(function(n){var o=[];return t.length>0&&B(n.documentElement,(function(r){if(r!==n&&r.nodeType===f){var i=r.getAttribute("class");if(i){var a=e===i;if(!a){var s=l(i);a=t.every((c=s,function(e){return c&&-1!==c.indexOf(e)}))}a&&o.push(r)}}var c})),o}))},createElement:function(e){var t=new ee;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new j,(t.attributes=new I)._ownerElement=t,t},createDocumentFragment:function(){var e=new de;return e.ownerDocument=this,e.childNodes=new j,e},createTextNode:function(e){var t=new oe;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new ue;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new te;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ce;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new ee,o=t.split(":"),r=n.attributes=new I;return n.childNodes=new j,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==o.length?(n.prefix=o[0],n.localName=o[1]):n.localName=t,r._ownerElement=n,n},createAttributeNS:function(e,t){var n=new te,o=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==o.length?(n.prefix=o[0],n.localName=o[1]):n.localName=t,n}},d(V,z),ee.prototype={nodeType:f,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===k?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,$(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var o=this.ownerDocument.createAttributeNS(e,t);o.value=o.nodeValue=""+n,this.setAttributeNode(o)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new N(this,(function(t){var n=[];return B(t,(function(o){o===t||o.nodeType!=f||"*"!==e&&o.tagName!=e||n.push(o)})),n}))},getElementsByTagNameNS:function(e,t){return new N(this,(function(n){var o=[];return B(n,(function(r){r===n||r.nodeType!==f||"*"!==e&&r.namespaceURI!==e||"*"!==t&&r.localName!=t||o.push(r)})),o}))}},V.prototype.getElementsByTagName=ee.prototype.getElementsByTagName,V.prototype.getElementsByTagNameNS=ee.prototype.getElementsByTagNameNS,d(ee,z),te.prototype.nodeType=b,d(te,z),ne.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(T[O])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},d(ne,z),oe.prototype={nodeName:"#text",nodeType:p,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var o=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(o,this.nextSibling),o}},d(oe,ne),re.prototype={nodeName:"#comment",nodeType:y},d(re,ne),ie.prototype={nodeName:"#cdata-section",nodeType:m},d(ie,ne),ae.prototype.nodeType=x,d(ae,z),se.prototype.nodeType=_,d(se,z),le.prototype.nodeType=h,d(le,z),ce.prototype.nodeType=g,d(ce,z),de.prototype.nodeName="#document-fragment",de.prototype.nodeType=k,d(de,z),ue.prototype.nodeType=v,d(ue,z),fe.prototype.serializeToString=function(e,t,n){return be.call(e,t,n)},z.prototype.toString=be;try{if(Object.defineProperty){Object.defineProperty(N.prototype,"length",{get:function(){return A(this),this.$$length}}),Object.defineProperty(z.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case f:case k:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case f:case k:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),he=function(e,t,n){e["$$"+t]=n}}}catch(e){}t.DocumentType=ae,t.DOMException=D,t.DOMImplementation=R,t.Element=ee,t.Node=z,t.NodeList=j,t.XMLSerializer=fe},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(101),n(42),n(36),n(35),n(30),n(11),n(247),n(15),n(16),n(13),n(14),n(18);var r=function(e){return void 0!==e&&(null===e||"object"===o(e)||Array.isArray(e)||"function"==typeof e)},i=function(e){return"string"==typeof e||e instanceof String},a=function(e,t,n){0===e[t][n].length&&(delete e[t][n],0===Object.keys(e[t]).length&&delete e[t])},s=function(e){if(!r(e[0]))throw new Error("Graph is not a object.");if(!i(e[1]))throw new Error("Subject is not a string.");if(!i(e[2]))throw new Error("Predicate is not a string.");if(!r(e[3]))throw new Error("Object is not a object.");if(void 0===e[3].type)throw new Error("Object has no type attribute, must be one of 'uri', 'literal', or 'bnode'");if(void 0===e[3].value)throw new Error("Object has no value attribute corresponding to the lexical value of the object.")},l=function(e,t){return e===t||null==e&&e===t||(i(e)?i(t)?e===t:e===t.value:i(t)?e.value===t:e.type===t.type&&e.value===t.value&&e.lang===t.lang&&e.datatype===t.datatype)},c=function(e){var t={type:e.type,value:e.value};return null!=e.ng&&(t.ng=e.ng),null!=e.lang&&(t.lang=e.lang),null!=e.datatype&&(t.datatype=e.datatype),t},d=function(e){return"".concat(e.value).concat(e.type).concat(e.lang||"").concat(e.datatype||"").concat(e.ng||"")},u={isObject:r,isString:i,isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},statementEquals:function(e,t){return e.s===t.s&&e.p===t.p&&l(e.o,t.o)},add:function(e,t,n,o,r){if(s([e,t,n,o]),void 0===e[t])return e[t]={},e[t][n]=[o],o;if(void 0===e[t][n])return e[t][n]=[o],o;var i,a=e[t][n];if(!r)for(i=a.length-1;i>=0;i--)if(l(o,a[i]))return a[i];return a.push(o),o},remove:function(e,t,n,o){if(s([e,t,n,o]),void 0!==e[t]&&void 0!==e[t][n]){var r,i=e[t][n];for(r=i.length-1;r>=0;r--)if(l(o,i[r])){var c=i[r];return i.splice(r,1),a(e,t,n),c}}},contains:function(e,t,n,o){if(s([e,t,n,o]),void 0!==e[t]&&void 0!==e[t][n]){var r,i=e[t][n];for(r=i.length-1;r>=0;r--)if(l(o,i[r]))return i[r]}},cleanup:a,checkForWrongArgs:s,objectEquals:l,findDirectOrRDFValue:function(e,t,n){var o=e.find(t,n);if(o.length>0)return"bnode"!==o[0].getType()?o[0].getValue():e.findFirstValue(o[0].getValue(),"http://www.w3.org/1999/02/22-rdf-syntax-ns#value")},clone:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={};return Object.keys(e).forEach((function(o){var r=e[o];n[o]={},Object.keys(r).forEach((function(e){var i=r[e];if(1===i.length)n[o][e]=[c(i[0])];else if(t){var a=[],s=new Set;n[o][e]=a,r[e].forEach((function(e){var t=c(e),n=d(t);s.has(n)||(s.add(n),a.push(t))}))}else{var l=[];n[o][e]=l,r[e].forEach((function(e){l.push(c(e))}))}}))})),n}};t.default=u},function(e,t,n){n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(23),n(24),n(13),n(14),n(9),n(22);var o,r=(o=n(109))&&o.__esModule?o:{default:o};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,a=void 0,a=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===i(a)?a:String(a)),o)}var r,a}var s=function(){function e(t,n,o,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._graph=t,this._s=n,this._p=o,this._o=r,this._o._statement=this,this._asserted=i}var t,n,o;return t=e,(n=[{key:"getGraph",value:function(){return this._graph}},{key:"setAsserted",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e!==this._asserted&&(e?this._graph.add(this,void 0,void 0,this._silentValue,t):this._graph.remove(this,this._silentValue),this._asserted=e)}},{key:"isAsserted",value:function(){return this._asserted}},{key:"getSubject",value:function(){return this._s}},{key:"isSubjectBlank",value:function(){return!0!==this._sIsBlank&&!1!==this._sIsBlank&&(this._sIsBlank=0===this._s.indexOf("_:")),this._sIsBlank}},{key:"isObjectBlank",value:function(){return"bnode"===this.getType()}},{key:"setSubject",value:function(e){this._silentValue=!1;var t=r.default.expand(e);this._asserted?(this._graph.remove(this),this._s=t,this._graph.add(this),delete this._sIsBlank):this._s=t}},{key:"getPredicate",value:function(){return this._p}},{key:"setPredicate",value:function(e){this._silentValue=!1;var t=r.default.expand(e);this._asserted?(this._graph.remove(this),this._p=t,this._graph.add(this)):this._p=t}},{key:"getNamedGraph",value:function(){return this._o.ng}},{key:"setNamedGraph",value:function(e){this._o.ng=e}},{key:"getObject",value:function(){return this._o}},{key:"getCleanObject",value:function(){var e=this._o,t={value:e.value,type:e.type};return this._o.ng&&(t.ng=e.ng),e.lang&&(t.lang=e.lang),this._o.datatype&&(t.datatype=e.datatype),t}},{key:"getType",value:function(){return this._o.type}},{key:"setType",value:function(e){throw new Error("Changing the type of an object is not supported, create a new statement instead.")}},{key:"getValue",value:function(){return this._o.value}},{key:"setValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._silentValue=!0===t,e!==this._o.value&&(this._o.value=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}},{key:"getLanguage",value:function(){return this._o.lang}},{key:"setLanguage",value:function(e,t){if(this._silentValue=!0===t,"literal"!==this._o.type)throw new Error("Cannot set the language for a resource, has to be a literal");this._o.lang!==e&&(this._o.lang=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}},{key:"getDatatype",value:function(){return this._o.datatype}},{key:"setDatatype",value:function(e,t){if(this._silentValue=!0===t,"literal"!==this._o.type||null!=this._o.lang)throw new Error("Cannot set the datatype for a resource, has to be a literal");this._o.datatype!==e&&(this._o.datatype=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(30),n(36),n(11),n(247),n(15),n(16),n(52),n(246),n(122),n(72);var o=i(n(109)),r=i(n(401));function i(e){return e&&e.__esModule?e:{default:e}}var a={extract:function e(t,n,o,r,i){var a=r||{};return t.find(o,null,null).forEach((function(o){a[o.getPredicate()]?i&&n.add(o):(n.add(o),"bnode"===o.getType()&&e(t,n,o.getValue(),a))})),n},remove:function e(t,n,o){var r=o||{};t.find(n,null,null).forEach((function(n){t.remove(n),r[n.getPredicate()]||"bnode"===n.getType()&&e(t,n.getValue(),r)}))},fingerprint:function(e,t){var n=[],i=new Set((t||[]).map((function(e){return o.default.expand(e)}))),a=[],s={},l=function(e){var t=e.getValue();return e.getLanguage()&&(t+="@".concat(e.getLanguage())),e.getDatatype()&&(t+="^^".concat(e.getDatatype())),t},c=function(e,t){var n=s[e]||{rels:[]};s[e]=n,n.rels.push(t)};return e.find().forEach((function(e){var t=e.getSubject(),o=e.getPredicate();if(!i.has(o)){var r="bnode"===e.getType(),s=e.isSubjectBlank();if(s||r)return a.push(e),s&&c(e.getSubject(),r?o:o+l(e)),void("bnode"===e.getType()&&c(e.getValue(),s?o:t+o));n.push(t+o+l(e))}})),Object.values(s).forEach((function(e){e.rels.sort(),e.hash=(0,r.default)(e.rels.join(""))})),a.forEach((function(e){var t=[];t.push(e.isSubjectBlank()?s[e.getSubject()].hash:e.getSubject()),t.push(e.getPredicate()),t.push("bnode"===e.getType()?s[e.getValue()].hash:l(e)),n.push(t.join(""))})),n.sort(),(0,r.default)(n.join(""))}};t.default=a},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){n(72),Object.defineProperty(t,"__esModule",{value:!0}),t.protocol=t.join=t.docpart=void 0,n(56),n(38),n(147),n(97);t.join=function(e,t){var n=t.indexOf("#");if(n>0&&(t=t.slice(0,n)),0==e.length)return t;if(0==e.indexOf("#"))return t+e;if(e.indexOf(":")>=0)return e;var o=t.indexOf(":");if(o<0)return console.log("Invalid base URL "+t),e;var r,i=t.slice(0,o+1);if(0==e.indexOf("//"))return i+e;if(t.indexOf("//",o)==o+1){if((r=t.indexOf("/",o+3))<0)return t.length-o-3>0?t+"/"+e:i+e}else if((r=t.indexOf("/",o+1))<0)return t.length-o-1>0?t+"/"+e:i+e;if(0==e.indexOf("/"))return t.slice(0,r)+e;var a=t.slice(r),s=a.lastIndexOf("/");if(s<0)return i+e;for(s>=0&&s<a.length-1&&(a=a.slice(0,s+1)),a+=e;a.match(/[^\/]*\/\.\.\//);)a=a.replace(/[^\/]*\/\.\.\//,"");return a=a.replace(/\.\//g,""),t.slice(0,r)+a};t.docpart=function(e){var t=e.indexOf("#");return t<0?e:e.slice(0,t)};t.protocol=function(e){return e.slice(0,e.indexOf(":"))}},function(e,t,n){n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(38),n(97),n(101),n(145),n(89),n(23),n(24),n(13),n(14),n(9),n(22);var o,r=(o=n(60))&&o.__esModule?o:{default:o};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,a=void 0,a=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===i(a)?a:String(a)),o)}var r,a}var s=0,l=function(){function e(t){var n=t.item,o=t.statement,r=t.graph,i=t.matchingCode;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._item=n,this._statement=o,this._graph=r,this._ancestorValid=!0,this._cardinalityTracker=null,this._hash="b_".concat(s),this._matchingCode=i||"correct",s+=1}var t,n,o;return t=e,(n=[{key:"getGraph",value:function(){return this._graph||(this._statement?this._graph=this._statement.getGraph():this._parent&&(this._graph=this._parent.getGraph())),this._graph}},{key:"isReadOnly",value:function(){if(!("_readOnly"in this)){var e=this.getParent();e&&e._readOnly?this._readyOnly=!0:this._readOnly=!(!this._statement||!this._statement.getNamedGraph())}return this._readOnly}},{key:"remove",value:function(){}},{key:"setSubject",value:function(e){}},{key:"getValue",value:function(){}},{key:"setValue",value:function(e,t){}},{key:"getGist",value:function(){return r.default.extractGist(this.getValue(),this.getItem().getValueTemplate())}},{key:"setGist",value:function(e,t){var n=e,o=this.getItem().getValueTemplate();o&&n.length>0&&(-1===o.indexOf("$1")&&(o+="$1"),n=o.replace("$1",n)),this.setValue(n,t)}},{key:"getCardinalityTracker",value:function(){return this._cardinalityTracker}},{key:"setCardinalityTracker",value:function(e){this._cardinalityTracker=e}},{key:"getItem",value:function(){return this._item}},{key:"getStatement",value:function(){return this._statement}},{key:"getParent",value:function(){return this._parent}},{key:"setParent",value:function(e){this._parent=e}},{key:"isValid",value:function(){}},{key:"getMatchingCode",value:function(){return this._matchingCode}},{key:"setMatchingCode",value:function(e){this._matchingCode=e}},{key:"setAncestorValid",value:function(e){this._ancestorValid=e,this.updateAssertions()}},{key:"updateAssertions",value:function(){}},{key:"getHash",value:function(){return this._hash}},{key:"addListener",value:function(e){this._listeners||(this._listeners=[]),this._listeners.push(e)}},{key:"removeListener",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}},{key:"bindingChange",value:function(e){if(this._listeners)for(var t=0;t<this._listeners.length;t++)this._listeners[t](e);this._parent&&this._parent.bindingChange(e),this._cardinalityTracker&&this._cardinalityTracker.touch()}},{key:"_isValidObjectValue",value:function(e){var t=e;if("string"!=typeof t&&null!==t)throw new Error("In a binding every object value need to be a string!");var n=this._item.getPattern();return n?null!=(t=r.default.extractGist(t,this.getItem().getValueTemplate()))&&""!==t&&new RegExp("^".concat(n,"$")).test(t):null!=t&&""!==t}},{key:"_isValidPredicateValue",value:function(e){if("string"!=typeof e&&null!==e)throw new Error("In a binding every predicate need to be a string!");return null!=e&&""!==e}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=l},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function s(){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=l(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function l(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=f(e);if(t){var r=f(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(9),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(52),n(39);var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(l,e);var t,n,o,r=d(l);function l(){return i(this,l),r.apply(this,arguments)}return t=l,(n=[{key:"getChildren",value:function(e){if(null==this._delegatedChildren){var t=function(){return{min:1,max:1,pref:1}},n=s(f(l.prototype),"getChildren",this).call(this,e)||[];this._delegatedChildren=n.map((function(e){var n=Object.create(e);return n.getCardinality=t,n}))}return this._delegatedChildren}},{key:"getPropertyItem",value:function(){return this.getChildren()[0]}},{key:"getObjectItem",value:function(){return this.getChildren()[1]}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(((r=n(173))&&r.__esModule?r:{default:r}).default);t.default=b},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=d(e);if(t){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(9),n(44),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(39);var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(c,e);var t,n,o,r=l(c);function c(){return i(this,c),r.apply(this,arguments)}return t=c,(n=[{key:"getLabelProperties",value:function(e){return this.getSource(e).labelProperties}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),c}(((r=n(225))&&r.__esModule?r:{default:r}).default);t.default=u},function(e,t,n){var o,r,i,a,s=n(21),l=n(166),c=n(107),d=n(27),u=n(28),f=n(12),b=n(267),p=n(165),m=n(156),g=n(435),h=n(301),v=n(175),y=s.setImmediate,w=s.clearImmediate,x=s.process,k=s.Dispatch,_=s.Function,C=s.MessageChannel,T=s.String,O=0,E={};f((function(){o=s.location}));var S=function(e){if(u(E,e)){var t=E[e];delete E[e],t()}},D=function(e){return function(){S(e)}},j=function(e){S(e.data)},N=function(e){s.postMessage(T(e),o.protocol+"//"+o.host)};y&&w||(y=function(e){g(arguments.length,1);var t=d(e)?e:_(e),n=p(arguments,1);return E[++O]=function(){l(t,void 0,n)},r(O),O},w=function(e){delete E[e]},v?r=function(e){x.nextTick(D(e))}:k&&k.now?r=function(e){k.now(D(e))}:C&&!h?(a=(i=new C).port2,i.port1.onmessage=j,r=c(a.postMessage,a)):s.addEventListener&&d(s.postMessage)&&!s.importScripts&&o&&"file:"!==o.protocol&&!f(N)?(r=N,s.addEventListener("message",j,!1)):r="onreadystatechange"in m("script")?function(e){b.appendChild(m("script")).onreadystatechange=function(){b.removeChild(this),S(e)}}:function(e){setTimeout(D(e),0)}),e.exports={set:y,clear:w}},function(e,t,n){var o=n(93);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(o)},function(e,t){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=n},function(e,t){e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},function(e,t,n){var o=n(139),r=n(219),i=n(140).CONSTRUCTOR;e.exports=i||!r((function(e){o.all(e).then(void 0,(function(){}))}))},,function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){"use strict";(function(e){var o=n(34),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=r&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===r?o.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,o=s?s(n):new e.constructor(n);return e.copy(o),o}}).call(this,n(222)(e))},,,,,,,,,,,,,,function(e,t,n){var o=n(55),r=n(19),i=n(108),a=n(164),s=n(31),l=r([].concat);e.exports=o("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?l(t,n(e)):t}},,,,,,,,,,,,,,,,,,function(e,t,n){n(366)},function(e,t,n){var o=n(127).PROPER,r=n(12),i=n(241);e.exports=function(e){return r((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||o&&i[e].name!==e}))}},function(e,t,n){"use strict";n.r(t),n.d(t,"Headers",(function(){return p})),n.d(t,"Request",(function(){return x})),n.d(t,"Response",(function(){return _})),n.d(t,"DOMException",(function(){return T})),n.d(t,"fetch",(function(){return O}));var o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==o&&o,r="URLSearchParams"in o,i="Symbol"in o&&"iterator"in Symbol,a="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),s="FormData"in o,l="ArrayBuffer"in o;if(l)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function f(e){return"string"!=typeof e&&(e=String(e)),e}function b(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function m(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function g(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function h(e){var t=new FileReader,n=g(t);return t.readAsArrayBuffer(e),n}function v(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:a&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:s&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():l&&a&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=v(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):l&&(ArrayBuffer.prototype.isPrototypeOf(e)||d(e))?this._bodyArrayBuffer=v(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var e=m(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=m(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(h)}),this.text=function(){var e,t,n,o=m(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=g(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),o=0;o<t.length;o++)n[o]=String.fromCharCode(t[o]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(k)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(e,t){e=u(e),t=f(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},p.prototype.delete=function(e){delete this.map[u(e)]},p.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},p.prototype.set=function(e,t){this.map[u(e)]=f(t)},p.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),b(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),b(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),b(e)},i&&(p.prototype[Symbol.iterator]=p.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function x(e,t){if(!(this instanceof x))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,o,r=(t=t||{}).body;if(e instanceof x){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new p(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new p(t.headers)),this.method=(n=t.method||this.method||"GET",o=n.toUpperCase(),w.indexOf(o)>-1?o:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function k(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),o=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(r))}})),t}function _(e,t){if(!(this instanceof _))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},y.call(x.prototype),y.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},_.error=function(){var e=new _(null,{status:0,statusText:""});return e.type="error",e};var C=[301,302,303,307,308];_.redirect=function(e,t){if(-1===C.indexOf(t))throw new RangeError("Invalid status code");return new _(null,{status:t,headers:{location:e}})};var T=o.DOMException;try{new T}catch(e){(T=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),T.prototype.constructor=T}function O(e,t){return new Promise((function(n,r){var i=new x(e,t);if(i.signal&&i.signal.aborted)return r(new T("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var e,t,o={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new p,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),o=n.shift().trim();if(o){var r=n.join(":").trim();t.append(o,r)}})),t)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;setTimeout((function(){n(new _(r,o))}),0)},s.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},s.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},s.onabort=function(){setTimeout((function(){r(new T("Aborted","AbortError"))}),0)},s.open(i.method,function(e){try{return""===e&&o.location.href?o.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&(a?s.responseType="blob":l&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof p?i.headers.forEach((function(e,t){s.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){s.setRequestHeader(e,f(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",c)}),s.send(void 0===i._bodyInit?null:i._bodyInit)}))}O.polyfill=!0,o.fetch||(o.fetch=O,o.Headers=p,o.Request=x,o.Response=_)},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var o=n(201),r=n(159);e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},function(e,t,n){"use strict";var o=n(106).forEach,r=n(208)("forEach");e.exports=r?[].forEach:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t){var n=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?o:n)(t)}},function(e,t,n){var o=n(131),r=n(161),i=n(32),a=n(26)("species"),s=Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,(r(t)&&(t===s||o(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},function(e,t,n){var o=n(17),r=n(21);o({global:!0,forced:r.globalThis!==r},{globalThis:r})},function(e,t,n){"use strict";var o=n(33),r=n(19),i=n(29),a=n(12),s=n(133),l=n(164),c=n(162),d=n(54),u=n(160),f=Object.assign,b=Object.defineProperty,p=r([].concat);e.exports=!f||a((function(){if(o&&1!==f({b:1},f(b({},"a",{enumerable:!0,get:function(){b(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=f({},e)[n]||"abcdefghijklmnopqrst"!=s(f({},t)).join("")}))?function(e,t){for(var n=d(e),r=arguments.length,a=1,f=l.f,b=c.f;r>a;)for(var m,g=u(arguments[a++]),h=f?p(s(g),f(g)):s(g),v=h.length,y=0;v>y;)m=h[y++],o&&!i(b,g,m)||(n[m]=g[m]);return n}:f},function(e,t,n){var o=n(19),r=n(65);e.exports=function(e,t,n){try{return o(r(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},function(e,t,n){var o=n(27),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw i("Can't set "+r(e)+" as a prototype")}},function(e,t,n){var o=n(49).f;e.exports=function(e,t,n){n in e||o(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},function(e,t,n){var o=n(277),r=Math.floor,i=function(e,t){var n=e.length,l=r(n/2);return n<8?a(e,t):s(e,i(o(e,0,l),t),i(o(e,l),t),t)},a=function(e,t){for(var n,o,r=e.length,i=1;i<r;){for(o=i,n=e[i];o&&t(e[o-1],n)>0;)e[o]=e[--o];o!==i++&&(e[o]=n)}return e},s=function(e,t,n,o){for(var r=t.length,i=n.length,a=0,s=0;a<r||s<i;)e[a+s]=a<r&&s<i?o(t[a],n[s])<=0?t[a++]:n[s++]:a<r?t[a++]:n[s++];return e};e.exports=i},function(e,t,n){var o=n(93).match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},function(e,t,n){var o=n(93);e.exports=/MSIE|Trident/.test(o)},function(e,t,n){var o=n(93).match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},function(e,t,n){"use strict";var o=n(17),r=n(21),i=n(29),a=n(19),s=n(64),l=n(33),c=n(104),d=n(12),u=n(28),f=n(83),b=n(31),p=n(57),m=n(157),g=n(43),h=n(128),v=n(95),y=n(133),w=n(108),x=n(278),k=n(164),_=n(90),C=n(49),T=n(266),O=n(162),E=n(48),S=n(134),D=n(103),j=n(158),N=n(129),A=n(155),I=n(26),M=n(279),L=n(136),P=n(281),R=n(84),z=n(66),F=n(106).forEach,B=j("hidden"),V=z.set,Y=z.getterFor("Symbol"),$=Object.prototype,U=r.Symbol,H=U&&U.prototype,G=r.TypeError,W=r.QObject,q=_.f,Q=C.f,X=x.f,Z=O.f,K=a([].push),J=D("symbols"),ee=D("op-symbols"),te=D("wks"),ne=!W||!W.prototype||!W.prototype.findChild,oe=l&&d((function(){return 7!=v(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?function(e,t,n){var o=q($,t);o&&delete $[t],Q(e,t,n),o&&e!==$&&Q($,t,o)}:Q,re=function(e,t){var n=J[e]=v(H);return V(n,{type:"Symbol",tag:e,description:t}),l||(n.description=t),n},ie=function(e,t,n){e===$&&ie(ee,t,n),b(e);var o=m(t);return b(n),u(J,o)?(n.enumerable?(u(e,B)&&e[B][o]&&(e[B][o]=!1),n=v(n,{enumerable:h(0,!1)})):(u(e,B)||Q(e,B,h(1,{})),e[B][o]=!0),oe(e,o,n)):Q(e,o,n)},ae=function(e,t){b(e);var n=p(t),o=y(n).concat(de(n));return F(o,(function(t){l&&!i(se,n,t)||ie(e,t,n[t])})),e},se=function(e){var t=m(e),n=i(Z,this,t);return!(this===$&&u(J,t)&&!u(ee,t))&&(!(n||!u(this,t)||!u(J,t)||u(this,B)&&this[B][t])||n)},le=function(e,t){var n=p(e),o=m(t);if(n!==$||!u(J,o)||u(ee,o)){var r=q(n,o);return!r||!u(J,o)||u(n,B)&&n[B][o]||(r.enumerable=!0),r}},ce=function(e){var t=X(p(e)),n=[];return F(t,(function(e){u(J,e)||u(N,e)||K(n,e)})),n},de=function(e){var t=e===$,n=X(t?ee:p(e)),o=[];return F(n,(function(e){!u(J,e)||t&&!u($,e)||K(o,J[e])})),o};c||(E(H=(U=function(){if(f(H,this))throw G("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=A(e),n=function(e){this===$&&i(n,ee,e),u(this,B)&&u(this[B],t)&&(this[B][t]=!1),oe(this,t,h(1,e))};return l&&ne&&oe($,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return Y(this).tag})),E(U,"withoutSetter",(function(e){return re(A(e),e)})),O.f=se,C.f=ie,T.f=ae,_.f=le,w.f=x.f=ce,k.f=de,M.f=function(e){return re(I(e),e)},l&&(S(H,"description",{configurable:!0,get:function(){return Y(this).description}}),s||E($,"propertyIsEnumerable",se,{unsafe:!0}))),o({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:U}),F(y(te),(function(e){L(e)})),o({target:"Symbol",stat:!0,forced:!c},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),o({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(e,t){return void 0===t?v(e):ae(v(e),t)},defineProperty:ie,defineProperties:ae,getOwnPropertyDescriptor:le}),o({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ce}),P(),R(U,"Symbol"),N[B]=!0},function(e,t,n){var o=n(17),r=n(55),i=n(28),a=n(43),s=n(103),l=n(282),c=s("string-to-symbol-registry"),d=s("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=a(e);if(i(c,t))return c[t];var n=r("Symbol")(t);return c[t]=n,d[n]=t,n}})},function(e,t,n){var o=n(17),r=n(28),i=n(126),a=n(105),s=n(103),l=n(282),c=s("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!i(e))throw TypeError(a(e)+" is not a symbol");if(r(c,e))return c[e]}})},function(e,t,n){var o=n(17),r=n(55),i=n(166),a=n(29),s=n(19),l=n(12),c=n(27),d=n(126),u=n(165),f=n(379),b=n(104),p=String,m=r("JSON","stringify"),g=s(/./.exec),h=s("".charAt),v=s("".charCodeAt),y=s("".replace),w=s(1..toString),x=/[\uD800-\uDFFF]/g,k=/^[\uD800-\uDBFF]$/,_=/^[\uDC00-\uDFFF]$/,C=!b||l((function(){var e=r("Symbol")();return"[null]"!=m([e])||"{}"!=m({a:e})||"{}"!=m(Object(e))})),T=l((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),O=function(e,t){var n=u(arguments),o=f(t);if(c(o)||void 0!==e&&!d(e))return n[1]=function(e,t){if(c(o)&&(t=a(o,this,p(e),t)),!d(t))return t},i(m,null,n)},E=function(e,t,n){var o=h(n,t-1),r=h(n,t+1);return g(k,e)&&!g(_,r)||g(_,e)&&!g(k,o)?"\\u"+w(v(e,0),16):e};m&&o({target:"JSON",stat:!0,arity:3,forced:C||T},{stringify:function(e,t,n){var o=u(arguments),r=i(C?O:m,null,o);return T&&"string"==typeof r?y(r,x,E):r}})},function(e,t,n){var o=n(19),r=n(131),i=n(27),a=n(67),s=n(43),l=o([].push);e.exports=function(e){if(i(e))return e;if(r(e)){for(var t=e.length,n=[],o=0;o<t;o++){var c=e[o];"string"==typeof c?l(n,c):"number"!=typeof c&&"Number"!=a(c)&&"String"!=a(c)||l(n,s(c))}var d=n.length,u=!0;return function(e,t){if(u)return u=!1,t;if(r(this))return t;for(var o=0;o<d;o++)if(n[o]===e)return t}}}},function(e,t,n){var o=n(17),r=n(104),i=n(12),a=n(164),s=n(54);o({target:"Object",stat:!0,forced:!r||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},function(e,t,n){"use strict";var o=n(283).IteratorPrototype,r=n(95),i=n(128),a=n(84),s=n(137),l=function(){return this};e.exports=function(e,t,n,c){var d=t+" Iterator";return e.prototype=r(o,{next:i(+!c,n)}),a(e,d,!1,!0),s[d]=l,e}},function(e,t,n){"use strict";var o=n(33),r=n(131),i=TypeError,a=Object.getOwnPropertyDescriptor,s=o&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(r(e)&&!a(e,"length").writable)throw i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(36),n(9),n(42),n(30),n(52),n(168),n(169),n(189);var r=n(96);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}var a=function(e){this.filterObj={},this.registry=e};a.prototype.register=function(e){this.registry.register(this.filterObj,e)},["itemtype","choices","nodetype","datatype","rdftype","constraint","predicate","style","item","check"].forEach((function(e){a.prototype[e]=function(t){var n={};switch(e){case"constraint":Object.keys(t).forEach((function(e){var o=t[e];Array.isArray(o)?n[r.namespaces.expand(e)]=o.map((function(e){return r.namespaces.expand(e)})):n[r.namespaces.expand(e)]=r.namespaces.expand(o)})),this.filterObj[e]=n;break;case"predicate":case"rdftype":case"datatype":this.filterObj[e]=r.namespaces.expand(t);break;default:this.filterObj[e]=t||!0}return this}}));var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.components=[],this.priorities={CHECK:1,ITEMTYPE:2,CHOICES:4,NODETYPE:8,DATATYPE:16,RDFTYPE:32,CONSTRAINT:64,PREDICATE:128,STYLE:256,ITEM:512}}var t,n,o;return t=e,(n=[{key:"calculatePriority",value:function(e,t){var n=0;if(t.itemtype&&(n+=this.priorities.ITEMTYPE,e.getType()!==t.itemtype))return-1;if(t.choices)switch(n+=this.priorities.CHOICES,t.choices){case"static":if(!e.hasStaticChoices())return-1;break;case"dynamic":if(!e.hasChoices()||e.hasStaticChoices())return-1;break;case"none":if(e.hasChoices())return-1;break;case"any":default:if(!e.hasChoices())return-1}if(t.nodetype&&(n+=this.priorities.NODETYPE,e.getNodetype()!==t.nodetype))return-1;if(t.datatype){n+=this.priorities.DATATYPE;var o=e.getDatatype(),r=!0;if(o&&(r=Array.isArray(o)?!o.includes(t.datatype):o!==t.datatype),r)return-1}return t.rdftype&&(n+=this.priorities.RDFTYPE,!function(e,t){var n=e.getConstraints();return null!=n&&n[rdfType]===t}(e,t.rdftype))||t.constraint&&(n+=this.priorities.CONSTRAINT,!function(e,t){if(null==t)return!0;var n=e.getConstraints(),o=!0;return null!=n&&(Object.keys(n).find((function(e){var r=t[e];return""!==r&&"*"!==r&&r!==n[e]&&(o=!1,!0)})),o)}(e,t.constraint))||t.predicate&&(n+=this.priorities.PREDICATE,e.getProperty()!==t.predicate)||t.style&&(n+=this.priorities.STYLE,!e.hasStyle(t.style))?-1:!t.item||(n+=this.priorities.ITEM,e===t.item||t.item.getId&&e.getId()===t.item.getId())?t.check&&!t.check(e)?-1:n:-1}},{key:"getPriority",value:function(e,t){for(var n=0;n<this.components.length;n++)if(this.components[n].component===t){var o=this.calculatePriority(e,this.components[n].filter);if(o>=0)return o}return 0}},{key:"getComponentBefore",value:function(e,t){var n=this.getPriority(e,t);return this.getComponent(e,n)}},{key:"getComponent",value:function(e,t){for(var n,o,r,i=-1,a=0;a<this.components.length;a++)r=this.components[a],(o=this.calculatePriority(e,r.filter))>i&&(void 0===t||o<t)&&(n=r,i=o);if(n)return n.component}},{key:"register",value:function(e,t){this.components.push({component:t,filter:e})}},{key:"itemtype",value:function(e){return new a(this).itemtype(e)}},{key:"choices",value:function(e){return new a(this).choices(e)}},{key:"nodetype",value:function(e){return new a(this).nodetype(e)}},{key:"datatype",value:function(e){return new a(this).datatype(e)}},{key:"rdftype",value:function(e){return new a(this).rdftype(e)}},{key:"constraint",value:function(e){return new a(this).constraint(e)}},{key:"predicate",value:function(e){return new a(this).predicate(e)}},{key:"style",value:function(e){return new a(this).style(e)}},{key:"item",value:function(e){return new a(this).item(e)}},{key:"check",value:function(e){return new a(this).check(e)}}])&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,n){"use strict";var o=n(31),r=n(255),i=TypeError;e.exports=function(e){if(o(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw i("Incorrect hint");return r(this,e)}},function(e,t,n){var o=n(19);e.exports=o(1..valueOf)},function(e,t,n){var o=n(273),r=TypeError;e.exports=function(e){if(o(e))throw r("The method doesn't accept regular expressions");return e}},function(e,t,n){var o=n(26)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){n(44),n(11),n(390),n(15),n(16),n(23),n(24),n(13),n(14),n(22),n(18),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(35),n(39),n(38),n(97),n(9),n(89),n(30),n(42),n(72);var o=c(n(395)),r=c(n(221)),i=c(n(109)),a=c(n(292)),s=c(n(404)),l=n(405);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,i=void 0,i=function(e,t){if("object"!==d(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==d(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===d(i)?i:String(i)),o)}var r,i}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){var t="function"==typeof Map?new Map:void 0;return(p=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,o)}function o(){return m(e,arguments,v(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),h(o,e)})(e)}function m(e,t,n){return(m=g()?Reflect.construct.bind():function(e,t,n){var o=[null];o.push.apply(o,t);var r=new(Function.bind.apply(e,o));return n&&h(r,n.prototype),r}).apply(null,arguments)}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function h(e,t){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y,w,x=" ",k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(s,e);var t,n,o,r,i,a=(t=s,n=g(),function(){var e,o=v(t);if(n){var r=v(this).constructor;e=Reflect.construct(o,arguments,r)}else e=o.apply(this,arguments);return b(this,e)});function s(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";f(this,s);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return(e=a.call.apply(a,[this].concat(o))).type=t,e}return o=s,r&&u(o.prototype,r),i&&u(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o}(p(Error));if("undefined"==typeof window||void 0===window.DOMParser&&"undefined"==typeof ActiveXObject){y=function(e){return(new XMLSerializer).serializeToString(e)};var _=o.default.DOMParser;w=function(e){return(new _).parseFromString(e,"text/xml")}}else y=function(e){return e.xml},w=function(e){var t;try{if(window.DOMParser)t=(new DOMParser).parseFromString(e,"text/xml");else(t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)}catch(e){t=null}if(!t||!t.documentElement||t.getElementsByTagName("parsererror").length)throw new Error("Could not parse text as xml");return t};var C=function(e){if(/["<>^`{|}]/i.test(e))throw new k("character",'URL "'.concat(e,'" is not allowed to contain special characters " < > \\ ^ ` { | or }.'));if(!/^(?:[a-z][a-z0-9+.-]*:)/i.test(e))throw new k("relative","Relative URL not supported: ".concat(e));if(/ /i.test(e)){if(t.convertSpacesInURIs)return e.replace(/ /g,"%20");throw new k("space","Spaces inside of URL not supported: ".concat(e))}return e},T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e;a.default.isString(n)&&(n=w(n));var o=t||new r.default({}),i=new l.RDFFormula;i.add=function(e,t,n){var r,i,a={};if(e instanceof l.RDFBlankNode?(r=e.toString(),o.registerBNode(r)):(e.uri=C(e.uri),r=e.uri),t instanceof l.RDFBlankNode)i=t.toString(),o.registerBNode(i);else{if("http://www.w3.org/1999/02/22-rdf-syntax-ns#resource"===t.uri||"http://www.w3.org/1999/02/22-rdf-syntax-ns#about"===t.uri||"http://www.w3.org/1999/02/22-rdf-syntax-ns#nodeID"===t.uri)return;t.uri=C(t.uri),i=t.uri}n instanceof l.RDFLiteral?(a.type="literal",a.value=n.value,n.lang&&(a.lang=n.lang),n.datatype&&(a.datatype=n.datatype.uri)):n instanceof l.RDFSymbol?(n.uri=C(n.uri),a.type="uri",a.value=n.uri):n instanceof l.RDFBlankNode&&(a.value=n.toString(),o.registerBNode(a.value),a.type="bnode"),o.create(r,i,a,!0)};var c=new s.default(i);return c.parse(n,"",""),o},O=function(e){return encodeURI(decodeURI(e)).replace(/&/g,"&amp;")},E={xml2string:y,string2xml:w,rdfxml2graph:T,rdfjson2rdfxml:function(e){var t=e instanceof r.default?e._graph:e||{},n=[],o={},a=[];Object.keys(t).forEach((function(e){"_:"===e.substr(0,2)?a.push("".concat(" ",'<rdf:Description rdf:nodeID="_').concat(e.substring(2),'">\n')):a.push("".concat(" ",'<rdf:Description rdf:about="').concat(O(e),'">\n'));var r=t[e];Object.keys(r).forEach((function(e){var t,s,l=(t=e,s=i.default.nsify(t),o[s.abbrev]||(n.push(s.abbrev),o[s.abbrev]=s.ns),s.pretty);r[e].forEach((function(e){var t;switch(e.type){case"literal":t=e.value.replace(/&/g,"&amp;").replace(/</g,"&lt;"),null!=e.lang?a.push("".concat(x,"<").concat(l,' xml:lang="').concat(e.lang,'">').concat(t,"</").concat(l,">\n")):null!=e.datatype?a.push("".concat(x,"<").concat(l,' rdf:datatype="').concat(e.datatype,'">').concat(t,"</").concat(l,">\n")):a.push("".concat(x,"<").concat(l,">").concat(t,"</").concat(l,">\n"));break;case"uri":a.push("".concat(x,"<").concat(l,' rdf:resource="').concat(O(e.value),'"/>\n'));break;case"bnode":"_:"===e.value.substr(0,2)?a.push("".concat(x,"<").concat(l,' rdf:nodeID="_').concat(e.value.substring(2),'"/>\n')):a.push("".concat(x,"<").concat(l,' rdf:nodeID="').concat(e.value,'"/>\n'))}}))})),a.push("".concat(" ","</rdf:Description>\n"))}));for(var s=['<?xml version="1.0"?>\n<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"'],l=0;l<n.length;l++)"rdf"!==n[l]&&s.push("\n\txmlns:".concat(n[l],'="').concat(o[n[l]],'"'));return s.push(">\n"),a.unshift(s.join("")),a.push("</rdf:RDF>"),a.join("")},detect:function(e){var t={};if("string"==typeof e)if(-1!==e.substr(0,200).toLowerCase().indexOf("<rdf:rdf")){t.format="rdf/xml";try{t.graph=T(e)}catch(e){"relative"===e.type||"space"===e.type||"character"===e.type?(t.error=e.message,t.errorCode=1):(t.error="Invalid rdf/xml",t.errorCode=2)}}else if('{"'===e.substring(0,2)){t.format="rdf/json";try{var n=JSON.parse((void 0).rdfjson);t.graph=new r.default(n)}catch(e){t.error="Invalid json.",t.errorCode=3}}else t.error="No RDF detected.",t.errorCode=4;else e instanceof r.default?(t.format="rdf/json",t.graph=e):"object"===d(e)&&null!==e?(t.format="rdf/json",t.graph=new r.default(e)):(t.error="unknown format",t.errorCode=5);t.error||(t.graph.validate().valid||(t.error="RDF/JSON is not valid.",t.errorCode=6));return t}};t.default=E},function(e,t,n){"use strict";var o=n(19),r=n(65),i=n(32),a=n(28),s=n(165),l=n(124),c=Function,d=o([].concat),u=o([].join),f={},b=function(e,t,n){if(!a(f,t)){for(var o=[],r=0;r<t;r++)o[r]="a["+r+"]";f[t]=c("C,a","return new C("+u(o,",")+")")}return f[t](e,n)};e.exports=l?c.bind:function(e){var t=r(this),n=t.prototype,o=s(arguments,1),a=function(){var n=d(o,s(arguments));return this instanceof a?b(t,n.length,n):t.apply(e,n)};return i(n)&&(a.prototype=n),a}},function(e,t,n){n(391)},function(e,t,n){"use strict";n(217)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(290))},function(e,t,n){var o=n(12),r=n(32),i=n(67),a=n(393),s=Object.isExtensible,l=o((function(){s(1)}));e.exports=l||a?function(e){return!!r(e)&&((!a||"ArrayBuffer"!=i(e))&&(!s||s(e)))}:s},function(e,t,n){var o=n(12);e.exports=o((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},function(e,t,n){var o=n(19),r=n(54),i=Math.floor,a=o("".charAt),s=o("".replace),l=o("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,o,u,f){var b=n+e.length,p=o.length,m=d;return void 0!==u&&(u=r(u),m=c),s(f,m,(function(r,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,b);case"<":c=u[l(s,1,-1)];break;default:var d=+s;if(0===d)return r;if(d>p){var f=i(d/10);return 0===f?r:f<=p?void 0===o[f-1]?a(s,1):o[f-1]+a(s,1):r}c=o[d-1]}return void 0===c?"":c}))}},function(e,t,n){var o=n(291);t.DOMImplementation=o.DOMImplementation,t.XMLSerializer=o.XMLSerializer,t.DOMParser=n(396).DOMParser},function(e,t,n){var o=n(172),r=n(291),i=n(397),a=n(398),s=r.DOMImplementation,l=o.NAMESPACE,c=a.ParseError,d=a.XMLReader;function u(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function f(e){this.options=e||{locator:{}}}function b(){this.cdata=!1}function p(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function m(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function g(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function h(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}f.prototype.parseFromString=function(e,t){var n=this.options,o=new d,r=n.domBuilder||new b,a=n.errorHandler,s=n.locator,c=n.xmlns||{},f=/\/x?html?$/.test(t),p=f?i.HTML_ENTITIES:i.XML_ENTITIES;s&&r.setDocumentLocator(s),o.errorHandler=function(e,t,n){if(!e){if(t instanceof b)return t;e=t}var o={},r=e instanceof Function;function i(t){var i=e[t];!i&&r&&(i=2==e.length?function(n){e(t,n)}:e),o[t]=i&&function(e){i("[xmldom "+t+"]\t"+e+m(n))}||function(){}}return n=n||{},i("warning"),i("error"),i("fatalError"),o}(a,r,s),o.domBuilder=n.domBuilder||r,f&&(c[""]=l.HTML),c.xml=c.xml||l.XML;var g=n.normalizeLineEndings||u;return e&&"string"==typeof e?o.parse(g(e),c,p):o.errorHandler.error("invalid doc source"),r.doc},b.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,o){var r=this.doc,i=r.createElementNS(e,n||t),a=o.length;h(this,i),this.currentElement=i,this.locator&&p(this.locator,i);for(var s=0;s<a;s++){e=o.getURI(s);var l=o.getValue(s),c=(n=o.getQName(s),r.createAttributeNS(e,n));this.locator&&p(o.getLocator(s),c),c.value=c.nodeValue=l,i.setAttributeNode(c)}},endElement:function(e,t,n){var o=this.currentElement;o.tagName;this.currentElement=o.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&p(this.locator,n),h(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=g.apply(this,arguments)){if(this.cdata)var o=this.doc.createCDATASection(e);else o=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(o):/^\s*$/.test(e)&&this.doc.appendChild(o),this.locator&&p(this.locator,o)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=g.apply(this,arguments);var o=this.doc.createComment(e);this.locator&&p(this.locator,o),h(this,o)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var o=this.doc.implementation;if(o&&o.createDocumentType){var r=o.createDocumentType(e,t,n);this.locator&&p(this.locator,r),h(this,r),this.doc.doctype=r}},warning:function(e){console.warn("[xmldom warning]\t"+e,m(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,m(this.locator))},fatalError:function(e){throw new c(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){b.prototype[e]=function(){return null}})),t.__DOMHandler=b,t.normalizeLineEndings=u,t.DOMParser=f},function(e,t,n){var o=n(172).freeze;t.XML_ENTITIES=o({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=o({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),t.entityMap=t.HTML_ENTITIES},function(e,t,n){var o=n(172).NAMESPACE,r=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,i=new RegExp("[\\-\\.0-9"+r.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+r.source+i.source+"*(?::"+r.source+i.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function l(){}function c(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function d(e,t,n,r,i,a){function s(e,t,o){n.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),o)}for(var l,c=++t,d=0;;){var u=e.charAt(c);switch(u){case"=":if(1===d)l=e.slice(t,c),d=3;else{if(2!==d)throw new Error("attribute equal must after attrName");d=3}break;case"'":case'"':if(3===d||1===d){if(1===d&&(a.warning('attribute value must after "="'),l=e.slice(t,c)),t=c+1,!((c=e.indexOf(u,t))>0))throw new Error("attribute value no end '"+u+"' match");s(l,f=e.slice(t,c),t-1),d=5}else{if(4!=d)throw new Error('attribute value must after "="');s(l,f=e.slice(t,c),t),a.warning('attribute "'+l+'" missed start quot('+u+")!!"),t=c+1,d=5}break;case"/":switch(d){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:d=7,n.closed=!0;case 4:case 1:break;case 2:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==d&&n.setTagName(e.slice(t,c)),c;case">":switch(d){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(f=e.slice(t,c)).slice(-1)&&(n.closed=!0,f=f.slice(0,-1));case 2:2===d&&(f=l),4==d?(a.warning('attribute "'+f+'" missed quot(")!'),s(l,f,t)):(o.isHTML(r[""])&&f.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+f+'" missed value!! "'+f+'" instead!!'),s(f,f,t));break;case 3:throw new Error("attribute value missed!!")}return c;case"€":u=" ";default:if(u<=" ")switch(d){case 0:n.setTagName(e.slice(t,c)),d=6;break;case 1:l=e.slice(t,c),d=2;break;case 4:var f=e.slice(t,c);a.warning('attribute "'+f+'" missed quot(")!!'),s(l,f,t);case 5:d=6}else switch(d){case 2:n.tagName;o.isHTML(r[""])&&l.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),s(l,l,t),t=c,d=1;break;case 5:a.warning('attribute space is required"'+l+'"!!');case 6:d=1,t=c;break;case 3:d=4,t=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function u(e,t,n){for(var r=e.tagName,i=null,a=e.length;a--;){var s=e[a],l=s.qName,c=s.value;if((b=l.indexOf(":"))>0)var d=s.prefix=l.slice(0,b),u=l.slice(b+1),f="xmlns"===d&&u;else u=l,d=null,f="xmlns"===l&&"";s.localName=u,!1!==f&&(null==i&&(i={},p(n,n={})),n[f]=i[f]=c,s.uri=o.XMLNS,t.startPrefixMapping(f,c))}for(a=e.length;a--;){(d=(s=e[a]).prefix)&&("xml"===d&&(s.uri=o.XML),"xmlns"!==d&&(s.uri=n[d||""]))}var b;(b=r.indexOf(":"))>0?(d=e.prefix=r.slice(0,b),u=e.localName=r.slice(b+1)):(d=null,u=e.localName=r);var m=e.uri=n[d||""];if(t.startElement(m,u,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=i,!0;if(t.endElement(m,u,r),i)for(d in i)Object.prototype.hasOwnProperty.call(i,d)&&t.endPrefixMapping(d)}function f(e,t,n,o,r){if(/^(?:script|textarea)$/i.test(n)){var i=e.indexOf("</"+n+">",t),a=e.substring(t+1,i);if(/[&<]/.test(a))return/^script$/i.test(n)?(r.characters(a,0,a.length),i):(a=a.replace(/&#?\w+;/g,o),r.characters(a,0,a.length),i)}return t+1}function b(e,t,n,o){var r=o[n];return null==r&&((r=e.lastIndexOf("</"+n+">"))<t&&(r=e.lastIndexOf("</"+n)),o[n]=r),r<t}function p(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function m(e,t,n,o){switch(e.charAt(t+2)){case"-":return"-"===e.charAt(t+3)?(r=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,r-t-4),r+3):(o.error("Unclosed comment"),-1):-1;default:if("CDATA["==e.substr(t+3,6)){var r=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,r-t-9),n.endCDATA(),r+3}var i=function(e,t){var n,o=[],r=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;r.lastIndex=t,r.exec(e);for(;n=r.exec(e);)if(o.push(n),n[1])return o}(e,t),a=i.length;if(a>1&&/!doctype/i.test(i[0][0])){var s=i[1][0],l=!1,c=!1;a>3&&(/^public$/i.test(i[2][0])?(l=i[3][0],c=a>4&&i[4][0]):/^system$/i.test(i[2][0])&&(c=i[3][0]));var d=i[a-1];return n.startDTD(s,l,c),n.endDTD(),d.index+d[0].length}}return-1}function g(e,t,n){var o=e.indexOf("?>",t);if(o){var r=e.substring(t,o).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(r){r[0].length;return n.processingInstruction(r[1],r[2]),o+2}return-1}return-1}function h(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,l.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),p(t,t={}),function(e,t,n,r,i){function a(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function l(t){if(t>C){var n=e.substring(C,t).replace(/&#?\w+;/g,a);x&&p(C),r.characters(n,0,t-C),C=t}}function p(t,n){for(;t>=y&&(n=w.exec(e));)v=n.index,y=v+n[0].length,x.lineNumber++;x.columnNumber=t-v+1}var v=0,y=0,w=/.*(?:\r\n?|\n)|.*$/g,x=r.locator,k=[{currentNSMap:t}],_={},C=0;for(;;){try{var T=e.indexOf("<",C);if(T<0){if(!e.substr(C).match(/^\s*$/)){var O=r.doc,E=O.createTextNode(e.substr(C));O.appendChild(E),r.currentElement=E}return}switch(T>C&&l(T),e.charAt(T+1)){case"/":var S=e.indexOf(">",T+3),D=e.substring(T+2,S).replace(/[ \t\n\r]+$/g,""),j=k.pop();S<0?(D=e.substring(T+2).replace(/[\s<].*/,""),i.error("end tag name: "+D+" is not complete:"+j.tagName),S=T+1+D.length):D.match(/\s</)&&(D=D.replace(/[\s<].*/,""),i.error("end tag name: "+D+" maybe not complete"),S=T+1+D.length);var N=j.localNSMap,A=j.tagName==D;if(A||j.tagName&&j.tagName.toLowerCase()==D.toLowerCase()){if(r.endElement(j.uri,j.localName,D),N)for(var I in N)Object.prototype.hasOwnProperty.call(N,I)&&r.endPrefixMapping(I);A||i.fatalError("end tag name: "+D+" is not match the current start tagName:"+j.tagName)}else k.push(j);S++;break;case"?":x&&p(T),S=g(e,T,r);break;case"!":x&&p(T),S=m(e,T,r,i);break;default:x&&p(T);var M=new h,L=k[k.length-1].currentNSMap,P=(S=d(e,T,M,L,a,i),M.length);if(!M.closed&&b(e,S,M.tagName,_)&&(M.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),x&&P){for(var R=c(x,{}),z=0;z<P;z++){var F=M[z];p(F.offset),F.locator=c(x,{})}r.locator=R,u(M,r,L)&&k.push(M),r.locator=x}else u(M,r,L)&&k.push(M);o.isHTML(M.uri)&&!M.closed?S=f(e,S,M.tagName,a,r):S++}}catch(e){if(e instanceof s)throw e;i.error("element parse error: "+e),S=-1}S>C?C=S:l(Math.max(T,C)+1)}}(e,t,n,r,this.errorHandler),r.endDocument()}},h.prototype={setTagName:function(e){if(!a.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!a.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=l,t.ParseError=s},function(e,t,n){var o=n(33),r=n(19),i=n(133),a=n(57),s=r(n(162).f),l=r([].push),c=function(e){return function(t){for(var n,r=a(t),c=i(r),d=c.length,u=0,f=[];d>u;)n=c[u++],o&&!s(r,n)||l(f,e?[n,r[n]]:r[n]);return f}};e.exports={entries:c(!0),values:c(!1)}},function(e,t,n){"use strict";n(217)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(290))},function(e,t,n){var o,r,i,a,s;o=n(402),r=n(295).utf8,i=n(403),a=n(295).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):r.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=o.bytesToWords(e),l=8*e.length,c=1732584193,d=-271733879,u=-1732584194,f=271733878,b=0;b<n.length;b++)n[b]=16711935&(n[b]<<8|n[b]>>>24)|4278255360&(n[b]<<24|n[b]>>>8);n[l>>>5]|=128<<l%32,n[14+(l+64>>>9<<4)]=l;var p=s._ff,m=s._gg,g=s._hh,h=s._ii;for(b=0;b<n.length;b+=16){var v=c,y=d,w=u,x=f;c=p(c,d,u,f,n[b+0],7,-680876936),f=p(f,c,d,u,n[b+1],12,-389564586),u=p(u,f,c,d,n[b+2],17,606105819),d=p(d,u,f,c,n[b+3],22,-1044525330),c=p(c,d,u,f,n[b+4],7,-176418897),f=p(f,c,d,u,n[b+5],12,1200080426),u=p(u,f,c,d,n[b+6],17,-1473231341),d=p(d,u,f,c,n[b+7],22,-45705983),c=p(c,d,u,f,n[b+8],7,1770035416),f=p(f,c,d,u,n[b+9],12,-1958414417),u=p(u,f,c,d,n[b+10],17,-42063),d=p(d,u,f,c,n[b+11],22,-1990404162),c=p(c,d,u,f,n[b+12],7,1804603682),f=p(f,c,d,u,n[b+13],12,-40341101),u=p(u,f,c,d,n[b+14],17,-1502002290),c=m(c,d=p(d,u,f,c,n[b+15],22,1236535329),u,f,n[b+1],5,-165796510),f=m(f,c,d,u,n[b+6],9,-1069501632),u=m(u,f,c,d,n[b+11],14,643717713),d=m(d,u,f,c,n[b+0],20,-373897302),c=m(c,d,u,f,n[b+5],5,-701558691),f=m(f,c,d,u,n[b+10],9,38016083),u=m(u,f,c,d,n[b+15],14,-660478335),d=m(d,u,f,c,n[b+4],20,-405537848),c=m(c,d,u,f,n[b+9],5,568446438),f=m(f,c,d,u,n[b+14],9,-1019803690),u=m(u,f,c,d,n[b+3],14,-187363961),d=m(d,u,f,c,n[b+8],20,1163531501),c=m(c,d,u,f,n[b+13],5,-1444681467),f=m(f,c,d,u,n[b+2],9,-51403784),u=m(u,f,c,d,n[b+7],14,1735328473),c=g(c,d=m(d,u,f,c,n[b+12],20,-1926607734),u,f,n[b+5],4,-378558),f=g(f,c,d,u,n[b+8],11,-2022574463),u=g(u,f,c,d,n[b+11],16,1839030562),d=g(d,u,f,c,n[b+14],23,-35309556),c=g(c,d,u,f,n[b+1],4,-1530992060),f=g(f,c,d,u,n[b+4],11,1272893353),u=g(u,f,c,d,n[b+7],16,-155497632),d=g(d,u,f,c,n[b+10],23,-1094730640),c=g(c,d,u,f,n[b+13],4,681279174),f=g(f,c,d,u,n[b+0],11,-358537222),u=g(u,f,c,d,n[b+3],16,-722521979),d=g(d,u,f,c,n[b+6],23,76029189),c=g(c,d,u,f,n[b+9],4,-640364487),f=g(f,c,d,u,n[b+12],11,-421815835),u=g(u,f,c,d,n[b+15],16,530742520),c=h(c,d=g(d,u,f,c,n[b+2],23,-995338651),u,f,n[b+0],6,-198630844),f=h(f,c,d,u,n[b+7],10,1126891415),u=h(u,f,c,d,n[b+14],15,-1416354905),d=h(d,u,f,c,n[b+5],21,-57434055),c=h(c,d,u,f,n[b+12],6,1700485571),f=h(f,c,d,u,n[b+3],10,-1894986606),u=h(u,f,c,d,n[b+10],15,-1051523),d=h(d,u,f,c,n[b+1],21,-2054922799),c=h(c,d,u,f,n[b+8],6,1873313359),f=h(f,c,d,u,n[b+15],10,-30611744),u=h(u,f,c,d,n[b+6],15,-1560198380),d=h(d,u,f,c,n[b+13],21,1309151649),c=h(c,d,u,f,n[b+4],6,-145523070),f=h(f,c,d,u,n[b+11],10,-1120210379),u=h(u,f,c,d,n[b+2],15,718787259),d=h(d,u,f,c,n[b+9],21,-343485551),c=c+v>>>0,d=d+y>>>0,u=u+w>>>0,f=f+x>>>0}return o.endian([c,d,u,f])})._ff=function(e,t,n,o,r,i,a){var s=e+(t&n|~t&o)+(r>>>0)+a;return(s<<i|s>>>32-i)+t},s._gg=function(e,t,n,o,r,i,a){var s=e+(t&o|n&~o)+(r>>>0)+a;return(s<<i|s>>>32-i)+t},s._hh=function(e,t,n,o,r,i,a){var s=e+(t^n^o)+(r>>>0)+a;return(s<<i|s>>>32-i)+t},s._ii=function(e,t,n,o,r,i,a){var s=e+(n^(t|~o))+(r>>>0)+a;return(s<<i|s>>>32-i)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=o.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):o.bytesToHex(n)}},function(e,t){var n,o;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&o.rotl(e,8)|4278255360&o.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=o.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,o=0;n<e.length;n++,o+=8)t[o>>>5]|=e[n]<<24-o%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],o=0;o<e.length;o+=3)for(var r=e[o]<<16|e[o+1]<<8|e[o+2],i=0;i<4;i++)8*o+6*i<=8*e.length?t.push(n.charAt(r>>>6*(3-i)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],o=0,r=0;o<e.length;r=++o%4)0!=r&&t.push((n.indexOf(e.charAt(o-1))&Math.pow(2,-2*r+8)-1)<<2*r|n.indexOf(e.charAt(o))>>>6-2*r);return t}},e.exports=o},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
27
+ o.version="2.29.4",t=Tt,o.fn=gn,o.min=function(){var e=[].slice.call(arguments,0);return St("isBefore",e)},o.max=function(){var e=[].slice.call(arguments,0);return St("isAfter",e)},o.now=function(){return Date.now?Date.now():+new Date},o.utc=b,o.unix=function(e){return Tt(1e3*e)},o.months=function(e,t){return wn(e,t,"months")},o.isDate=d,o.locale=it,o.invalid=g,o.duration=Vt,o.isMoment=x,o.weekdays=function(e,t,n){return xn(e,t,n,"weekdays")},o.parseZone=function(){return Tt.apply(null,arguments).parseZone()},o.localeData=st,o.isDuration=Nt,o.monthsShort=function(e,t){return wn(e,t,"monthsShort")},o.weekdaysMin=function(e,t,n){return xn(e,t,n,"weekdaysMin")},o.defineLocale=at,o.updateLocale=function(e,t){if(null!=t){var n,o,r=Je;null!=et[e]&&null!=et[e].parentLocale?et[e].set(S(et[e]._config,t)):(null!=(o=rt(e))&&(r=o._config),t=S(r,t),null==o&&(t.abbr=e),(n=new D(t)).parentLocale=et[e],et[e]=n),it(e)}else null!=et[e]&&(null!=et[e].parentLocale?(et[e]=et[e].parentLocale,e===it()&&it(e)):null!=et[e]&&delete et[e]);return et[e]},o.locales=function(){return C(et)},o.weekdaysShort=function(e,t,n){return xn(e,t,n,"weekdaysShort")},o.normalizeUnits=B,o.relativeTimeRounding=function(e){return void 0===e?Hn:"function"==typeof e&&(Hn=e,!0)},o.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},o.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},o.prototype=gn,o.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"},o}()}).call(this,n(408)(e))},,function(e,t){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(e,t,n){var o=n(33),r=n(49),i=n(128);e.exports=o?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var o,r=n(31),i=n(266),a=n(209),s=n(129),l=n(267),c=n(156),d=n(158),u=d("IE_PROTO"),f=function(){},b=function(e){return"<script>"+e+"<\/script>"},p=function(e){e.write(b("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{o=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&o?p(o):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(b("document.F=Object")),e.close(),e.F):p(o);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};s[u]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=r(e),n=new f,f.prototype=null,n[u]=e):n=m(),void 0===t?n:i.f(n,t)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Graph",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Rdfs",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"Statement",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"converters",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"namespaces",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"print",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"utils",{enumerable:!0,get:function(){return s.default}});var o=d(n(109)),r=d(n(388)),i=d(n(221)),a=d(n(293)),s=d(n(294)),l=d(n(406)),c=d(n(407));function d(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var o=n(166),r=n(29),i=n(19),a=n(233),s=n(12),l=n(31),c=n(27),d=n(71),u=n(130),f=n(206),b=n(43),p=n(88),m=n(270),g=n(117),h=n(394),v=n(234),y=n(26)("replace"),w=Math.max,x=Math.min,k=i([].concat),_=i([].push),C=i("".indexOf),T=i("".slice),O="$0"==="a".replace(/./,"$0"),E=!!/./[y]&&""===/./[y]("a","$0");a("replace",(function(e,t,n){var i=E?"$":"$0";return[function(e,n){var o=p(this),i=d(e)?void 0:g(e,y);return i?r(i,e,o,n):r(t,b(o),e,n)},function(e,r){var a=l(this),s=b(e);if("string"==typeof r&&-1===C(r,i)&&-1===C(r,"$<")){var d=n(t,a,s,r);if(d.done)return d.value}var p=c(r);p||(r=b(r));var g=a.global;if(g){var y=a.unicode;a.lastIndex=0}for(var O=[];;){var E=v(a,s);if(null===E)break;if(_(O,E),!g)break;""===b(E[0])&&(a.lastIndex=m(s,f(a.lastIndex),y))}for(var S,D="",j=0,N=0;N<O.length;N++){for(var A=b((E=O[N])[0]),I=w(x(u(E.index),s.length),0),M=[],L=1;L<E.length;L++)_(M,void 0===(S=E[L])?S:String(S));var P=E.groups;if(p){var R=k([A],M,I,s);void 0!==P&&_(R,P);var z=b(o(r,void 0,R))}else z=h(A,s,I,M,P,r);I>=j&&(D+=T(s,j,I)+z,j=I+A.length)}return D+T(s,j)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!O||E)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(56),n(9),n(89);var o,r=(o=n(60))&&o.__esModule?o:{default:o};var i=function(e,t,n,o){if("URI"===e.getNodetype()||"RESOURCE"===e.getNodetype()){var i=r.default.getLocalizedMap(o,t,e.getURIValueLabelProperties());if(!i){var a=t.lastIndexOf("#"),s=t.lastIndexOf("/");i=a>0||s>0?{"":decodeURIComponent(t.substring(1+(a>s?a:s)))}:{"":t}}return{value:t,label:i}}return{value:t,label:t}},a={hasDnDSupport:function(e){return!1},addDnD:function(e,t,n){return{}},attachExternalLinkBehaviour:function(){return!1},attachLinkBehaviour:function(e,t){return!1},openChoiceSelector:function(e,t){alert('This alert is a placeholder for a search dialog that should be provided as part of the integration of RDForms into a wider system.\nSimply override the methods "getChoices" and "openChoiceSelector" in the system module.'),t({value:"http://example.com/choice1",label:{en:"First choice",sv:"Första valet"}})},getChoice:function(e,t,n,o){return i(e,t,0,o)},getFallbackChoice:i,labelProperties:["http://www.w3.org/2000/01/rdf-schema#label","http://purl.org/dc/terms/title","http://purl.org/dc/elements/1.1/title","http://www.w3.org/2004/02/skos/core#prefLabel","http://xmlns.com/foaf/0.1/name","http://xmlns.com/foaf/name"],createURI:function(e,t){for(var n=t.getChildrenRootUri(),o=n.lastIndexOf("#"),r=-1===o?"".concat(n,"#"):n.substring(0,o+1),i=t.getGraph()._graph;;){var a=r+"0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);if(null==i[a])return a}}};t.default=a},function(e,t,n){"use strict";(function(e){var o=n(34),r=n(306),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?o.a.Buffer:void 0,l=(s?s.isBuffer:void 0)||r.a;t.a=l}).call(this,n(222)(e))},function(e,t,n){n(411)},function(e,t,n){"use strict";var o=n(17),r=n(54),i=n(163),a=n(130),s=n(77),l=n(382),c=n(275),d=n(207),u=n(118),f=n(276),b=n(135)("splice"),p=Math.max,m=Math.min;o({target:"Array",proto:!0,forced:!b},{splice:function(e,t){var n,o,b,g,h,v,y=r(this),w=s(y),x=i(e,w),k=arguments.length;for(0===k?n=o=0:1===k?(n=0,o=w-x):(n=k-2,o=m(p(a(t),0),w-x)),c(w+n-o),b=d(y,o),g=0;g<o;g++)(h=x+g)in y&&u(b,g,y[h]);if(b.length=o,n<o){for(g=x;g<w-o;g++)v=g+n,(h=g+o)in y?y[v]=y[h]:f(y,v);for(g=w;g>w-o+n;g--)f(y,g-1)}else if(n>o)for(g=w-o;g>x;g--)v=g+n-1,(h=g+o-1)in y?y[v]=y[h]:f(y,v);for(g=0;g<n;g++)y[g+x]=arguments[g+2];return l(y,w-o+n),b}})},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={UNKNOWN:"unknown",OK:"correct",TOO_FEW_VALUES:"few",TOO_FEW_VALUES_MIN:"min",TOO_FEW_VALUES_PREF:"pref",TOO_MANY_VALUES:"many",AT_MOST_ONE_CHILD:"atmostonechild",AT_LEAST_ONE_CHILD:"atleastonechild",EXACTLY_ONE_CHILD:"exactlyonechild",WRONG_VALUE:"value",WRONG_PATTERN:"pattern",WRONG_NODETYPE:"nodetype",WRONG_DATATYPE:"datatype",MISSING_LANGUAGE:"language",MISSING_CONSTRAINTS:"constraints"}},function(e,t,n){var o=n(64),r=n(203);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.1",mode:o?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e,t,n){var o=n(125),r=n(12);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},function(e,t){var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},function(e,t,n){var o=n(107),r=n(19),i=n(160),a=n(54),s=n(77),l=n(207),c=r([].push),d=function(e){var t=1==e,n=2==e,r=3==e,d=4==e,u=6==e,f=7==e,b=5==e||u;return function(p,m,g,h){for(var v,y,w=a(p),x=i(w),k=o(m,g),_=s(x),C=0,T=h||l,O=t?T(p,_):n||f?T(p,0):void 0;_>C;C++)if((b||C in x)&&(y=k(v=x[C],C,w),e))if(t)O[C]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return C;case 2:c(O,v)}else switch(e){case 4:return!1;case 7:c(O,v)}return u?-1:r||d?d:O}};e.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterReject:d(7)}},function(e,t,n){var o=n(260),r=n(65),i=n(124),a=o(o.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},function(e,t,n){var o=n(262),r=n(209).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(13),n(14),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(339),n(35),n(36),n(9),n(42),n(30),"__rdfjson_namespaces"in globalThis||(globalThis.__rdfjson_namespaces={ical:"http://www.w3.org/2002/12/cal/ical#",vcard:"http://www.w3.org/2006/vcard/ns#",dcterms:"http://purl.org/dc/terms/",skos:"http://www.w3.org/2004/02/skos/core#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",owl:"http://www.w3.org/2002/07/owl#",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",foaf:"http://xmlns.com/foaf/0.1/",wot:"http://xmlns.com/wot/0.1/",dc:"http://purl.org/dc/elements/1.1/",xsd:"http://www.w3.org/2001/XMLSchema#",dcat:"http://www.w3.org/ns/dcat#",org:"http://www.w3.org/ns/org#",gn:"http://www.geonames.org/ontology#",locn:"http://www.w3.org/ns/locn#",schema:"http://schema.org/",ex:"http://example.com/",gsp:"http://www.opengis.net/ont/geosparql#",odrs:"http://schema.theodi.org/odrs#"});var r=globalThis.__rdfjson_namespaces,i=0,a=function(e,t,n){return r[e]||(r[e]=t),{abbrev:e,ns:t,localname:n,full:t+n,pretty:"".concat(e,":").concat(n)}},s=function(e){var t=Object.keys(r).find((function(t){return 0===e.indexOf(r[t])}));if(t)return a(t,r[t],e.substring(r[t].length));var n=e.lastIndexOf("/"),o=e.lastIndexOf("#");return o>n&&(n=o),a("ns".concat(i+=1),e.substring(0,n+1),e.substring(n+1))},l={nsify:s,shortenKnown:function(e){var t=Object.keys(r).find((function(t){return 0===e.indexOf(r[t])}));return t?a(t,r[t],e.substring(r[t].length)).pretty:e},shorten:function(e){return s(e).pretty},expand:function(e){var t=e.split(":");return 2===t.length&&r.hasOwnProperty(t[0])?r[t[0]]+t[1]:e},add:function(e,t){"string"==typeof e?r[e]=t:"object"===o(e)&&Object.keys(e).forEach((function(t){r[t]=e[t]}))},registry:function(){return r}};t.default=l},function(e,t,n){"use strict";var o=Object.prototype;t.a=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||o)}},function(e,t,n){"use strict";t.a=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){"use strict";t.a=function(e){return function(t){return e(t)}}},function(e,t,n){"use strict";var o=n(187),r=n(110),i=n(180),a=Object(i.a)(Object.keys,Object),s=Object.prototype.hasOwnProperty;var l=function(e){if(!Object(r.a)(e))return a(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t},c=n(183);t.a=function(e){return Object(c.a)(e)?Object(o.a)(e):l(e)}},function(e,t,n){"use strict";var o=function(e,t){for(var n=-1,o=null==e?0:e.length,r=0,i=[];++n<o;){var a=e[n];t(a,n,e)&&(i[r++]=a)}return i},r=n(181),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),o(a(e),(function(t){return i.call(e,t)})))}:r.a;t.a=s},function(e,t,n){"use strict";var o=n(34).a.Uint8Array;t.a=o},function(e,t,n){"use strict";var o=n(86);var r=function(){this.__data__=new o.a,this.size=0};var i=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var a=function(e){return this.__data__.get(e)};var s=function(e){return this.__data__.has(e)},l=n(87),c=n(186);var d=function(e,t){var n=this.__data__;if(n instanceof o.a){var r=n.__data__;if(!l.a||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new c.a(r)}return n.set(e,t),this.size=n.size,this};function u(e){var t=this.__data__=new o.a(e);this.size=t.size}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=d;t.a=u},function(e,t,n){var o=n(65),r=n(71);e.exports=function(e,t){var n=e[t];return r(n)?void 0:o(n)}},function(e,t,n){"use strict";var o=n(157),r=n(49),i=n(128);e.exports=function(e,t,n){var a=o(t);a in e?r.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var o=n(33),r=n(127).EXISTS,i=n(19),a=n(134),s=Function.prototype,l=i(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,d=i(c.exec);o&&!r&&a(s,"name",{configurable:!0,get:function(){try{return d(c,l(this))[1]}catch(e){return""}}})},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.toDuration=t.getNamedGraphId=t.getDateValue=t.getDatePresentationFromDatatype=t.getDatePresentation=t.getDate=t.getDatatypeURI=t.getDatatypeFromValue=t.getDatatypeFromItem=t.getDatatype=t.getAllowedDateAlternatives=t.fromDuration=void 0,n(38),n(147),n(35),n(168),n(169),n(9),n(30);var o,r=(o=n(91))&&o.__esModule?o:{default:o};t.fromDuration=function(e){var t,n,o=function(e){return e&&e.length>1?parseInt(e[0],10):0},r=o(e.match(/([0-9])*Y/)),i=o(e.match(/([0-9])*D/)),a=o(e.match(/([0-9])*H/));if(-1===e.indexOf("T"))t=o(e.match(/([0-9])*M/));else{var s=e.split("T");t=o(s[0].match(/([0-9])*M/)),n=o(s[1].match(/([0-9])*M/))}return{years:r,months:t,days:i,hours:a,minutes:n}};t.toDuration=function(e){if(e.years||e.months||e.days||e.hours||e.minutes){var t="P".concat(e.years?"".concat(e.years,"Y"):"").concat(e.months?"".concat(e.months,"M"):"").concat(e.days?"".concat(e.days,"D"):"");return(e.hours||e.minutes)&&(t="".concat(t,"T").concat(e.hours?"".concat(e.hours,"H"):"").concat(e.minutes?"".concat(e.minutes,"M"):"")),t}return null};var i=function(e){try{if(e.includes(":")&&!e.includes("T")){var t=(new Date).toISOString().substr(0,11),n=new Date("".concat(t).concat(e));return n.setMinutes(n.getMinutes()+n.getTimezoneOffset()),n}return new Date(e)}catch(e){return null}};t.getDate=i;var a=function(e){switch(e){case"http://www.w3.org/2001/XMLSchema#dateTime":case"http://purl.org/dc/terms/W3CDTF":return"DateTime";case"http://www.w3.org/2001/XMLSchema#date":return"Date";case"http://www.w3.org/2001/XMLSchema#gYear":return"Year";case"http://www.w3.org/2001/XMLSchema#time":return"Time";case"http://www.w3.org/2001/XMLSchema#gYearMonth":return"YearMonth";case"http://www.w3.org/2001/XMLSchema#gMonthDay":return"MonthDay";default:return}};t.getDatatype=a;var s=function(e){var t=e.getDatatype();return Array.isArray(t)?a(t[0]):a(t)};t.getDatatypeFromItem=s;var l=function(e){return e.indexOf("T")>0?"DateTime":e.indexOf(":")>0?"Time":/^\d\d\d\d-\d\d$/.test(e)?"YearMonth":/^\d\d-\d\d$/.test(e)?"MonthDay":e.length>4?"Date":"Year"};t.getDatatypeFromValue=l;t.getDatatypeURI=function(e){switch(e){case"DateTime":return"http://www.w3.org/2001/XMLSchema#dateTime";case"Date":return"http://www.w3.org/2001/XMLSchema#date";case"Time":return"http://www.w3.org/2001/XMLSchema#time";case"Year":return"http://www.w3.org/2001/XMLSchema#gYear";case"YearMonth":return"http://www.w3.org/2001/XMLSchema#gYearMonth";case"MonthDay":return"http://www.w3.org/2001/XMLSchema#gMonthDay";default:return""}};t.getDateValue=function(e,t){if(e)switch(t){case"DateTime":return e.toISOString();case"Date":return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e.toISOString().substr(0,10);case"YearMonth":return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e.toISOString().substr(0,7);case"MonthDay":return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e.toISOString().substr(5,5);case"Time":return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e.toISOString().substr(11);case"Year":return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e.toISOString().substr(0,4);default:return""}return""};var c=function(e,t){switch(e){case"DateTime":return(0,r.default)(t).format("lll");case"Date":return(0,r.default)(t).format("LL");case"Time":return(0,r.default)(t).format("LT");case"Year":return(0,r.default)(t).format("YYYY");case"YearMonth":return(0,r.default)(t).format("MMMM YYYY");case"MonthDay":return(0,r.default)(t).format("D MMMM");default:return""}};t.getDatePresentationFromDatatype=c;var d=function(e){var t={},n=e.getDatatype();return(Array.isArray(n)?n:[n]).forEach((function(e){var n=a(e);n&&(t[n]=!0)})),t};t.getAllowedDateAlternatives=d;t.getDatePresentation=function(e){var t=e.getValue();if(null!=t&&""!==t){var n=e.getItem(),o=i(t);if(o){var r,u=l(t),f=a(e.getDatatype()),b=s(n),p=d(n);return r=p[f]?f:p[u]?u:b,c(r,o)}}};t.getNamedGraphId=function(e,t){var n,o=null===(n=e.getStatement()||e.getParent().getStatement())||void 0===n?void 0:n.getNamedGraph();if(o){for(var r=t.view;r.getParentView();)r=r.getParentView();return r.getNamedGraphId(o)}}},,function(e,t,n){"use strict";var o=n(17),r=n(19),i=n(65),a=n(54),s=n(77),l=n(276),c=n(43),d=n(12),u=n(371),f=n(208),b=n(372),p=n(373),m=n(125),g=n(374),h=[],v=r(h.sort),y=r(h.push),w=d((function(){h.sort(void 0)})),x=d((function(){h.sort(null)})),k=f("sort"),_=!d((function(){if(m)return m<70;if(!(b&&b>3)){if(p)return!0;if(g)return g<603;var e,t,n,o,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(o=0;o<47;o++)h.push({k:t+o,v:n})}for(h.sort((function(e,t){return t.v-e.v})),o=0;o<h.length;o++)t=h[o].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return"DGBEFHACIJK"!==r}}));o({target:"Array",proto:!0,forced:w||!x||!k||!_},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(_)return void 0===e?v(t):v(t,e);var n,o,r=[],d=s(t);for(o=0;o<d;o++)o in t&&y(r,t[o]);for(u(r,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}}(e)),n=s(r),o=0;o<n;)t[o]=r[o++];for(;o<d;)l(t,o++);return t}})},,function(e,t,n){var o=n(12);e.exports=!o((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,t,n){var o,r,i=n(21),a=n(93),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,d=c&&c.v8;d&&(r=(o=d.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!r&&a&&(!(o=a.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/))&&(r=+o[1]),e.exports=r},function(e,t,n){var o=n(55),r=n(27),i=n(83),a=n(250),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return r(t)&&i(t.prototype,s(e))}},function(e,t,n){var o=n(33),r=n(28),i=Function.prototype,a=o&&Object.getOwnPropertyDescriptor,s=r(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!o||o&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},function(e,t,n){var o=n(364);e.exports=function(e){var t=+e;return t!=t||0===t?0:o(t)}},function(e,t,n){var o=n(67);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,t,n){var o=n(12),r=n(27),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==d||n!=c&&(r(t)?o(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",d=a.POLYFILL="P";e.exports=a},function(e,t,n){var o=n(262),r=n(209);e.exports=Object.keys||function(e){return o(e,r)}},function(e,t,n){var o=n(256),r=n(49);e.exports=function(e,t,n){return n.get&&o(n.get,t,{getter:!0}),n.set&&o(n.set,t,{setter:!0}),r.f(e,t,n)}},function(e,t,n){var o=n(12),r=n(26),i=n(125),a=r("species");e.exports=function(e){return i>=51||!o((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var o=n(280),r=n(28),i=n(279),a=n(49).f;e.exports=function(e){var t=o.Symbol||(o.Symbol={});r(t,e)||a(t,e,{value:i.f(e)})}},function(e,t){e.exports={}},function(e,t,n){var o=n(107),r=n(29),i=n(31),a=n(105),s=n(287),l=n(77),c=n(83),d=n(288),u=n(218),f=n(289),b=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;e.exports=function(e,t,n){var g,h,v,y,w,x,k,_=n&&n.that,C=!(!n||!n.AS_ENTRIES),T=!(!n||!n.IS_RECORD),O=!(!n||!n.IS_ITERATOR),E=!(!n||!n.INTERRUPTED),S=o(t,_),D=function(e){return g&&f(g,"normal",e),new p(!0,e)},j=function(e){return C?(i(e),E?S(e[0],e[1],D):S(e[0],e[1])):E?S(e,D):S(e)};if(T)g=e.iterator;else if(O)g=e;else{if(!(h=u(e)))throw b(a(e)+" is not iterable");if(s(h)){for(v=0,y=l(e);y>v;v++)if((w=j(e[v]))&&c(m,w))return w;return new p(!1)}g=d(e,h)}for(x=T?e.next:g.next;!(k=r(x,g)).done;){try{w=j(k.value)}catch(e){f(g,"throw",e)}if("object"==typeof w&&w&&c(m,w))return w}return new p(!1)}},function(e,t,n){var o=n(21);e.exports=o.Promise},function(e,t,n){var o=n(21),r=n(139),i=n(27),a=n(132),s=n(205),l=n(26),c=n(440),d=n(303),u=n(64),f=n(125),b=r&&r.prototype,p=l("species"),m=!1,g=i(o.PromiseRejectionEvent),h=a("Promise",(function(){var e=s(r),t=e!==String(r);if(!t&&66===f)return!0;if(u&&(!b.catch||!b.finally))return!0;if(!f||f<51||!/native code/.test(e)){var n=new r((function(e){e(1)})),o=function(e){e((function(){}),(function(){}))};if((n.constructor={})[p]=o,!(m=n.then((function(){}))instanceof o))return!0}return!t&&(c||d)&&!g}));e.exports={CONSTRUCTOR:h,REJECTION_EVENT:g,SUBCLASSING:m}},function(e,t,n){"use strict";var o=n(65),r=TypeError,i=function(e){var t,n;this.promise=new e((function(e,o){if(void 0!==t||void 0!==n)throw r("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new i(e)}},,function(e,t,n){"use strict";var o=n(185),r=n(114),i=n(113);t.a=function(e){return Object(o.a)(e,i.a,r.a)}},function(e,t,n){var o=n(17),r=n(367);o({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},function(e,t,n){var o=n(33),r=n(21),i=n(19),a=n(132),s=n(211),l=n(94),c=n(108).f,d=n(83),u=n(273),f=n(43),b=n(274),p=n(265),m=n(370),g=n(48),h=n(12),v=n(28),y=n(66).enforce,w=n(213),x=n(26),k=n(268),_=n(269),C=x("match"),T=r.RegExp,O=T.prototype,E=r.SyntaxError,S=i(O.exec),D=i("".charAt),j=i("".replace),N=i("".indexOf),A=i("".slice),I=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,L=/a/g,P=new T(M)!==M,R=p.MISSED_STICKY,z=p.UNSUPPORTED_Y,F=o&&(!P||R||k||_||h((function(){return L[C]=!1,T(M)!=M||T(L)==L||"/a/i"!=T(M,"i")})));if(a("RegExp",F)){for(var B=function(e,t){var n,o,r,i,a,c,p=d(O,this),m=u(e),g=void 0===t,h=[],w=e;if(!p&&m&&g&&e.constructor===B)return e;if((m||d(O,e))&&(e=e.source,g&&(t=b(w))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),w=e,k&&"dotAll"in M&&(o=!!t&&N(t,"s")>-1)&&(t=j(t,/s/g,"")),n=t,R&&"sticky"in M&&(r=!!t&&N(t,"y")>-1)&&z&&(t=j(t,/y/g,"")),_&&(e=(i=function(e){for(var t,n=e.length,o=0,r="",i=[],a={},s=!1,l=!1,c=0,d="";o<=n;o++){if("\\"===(t=D(e,o)))t+=D(e,++o);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:S(I,A(e,o+1))&&(o+=2,l=!0),r+=t,c++;continue;case">"===t&&l:if(""===d||v(a,d))throw new E("Invalid capture group name");a[d]=!0,i[i.length]=[d,c],l=!1,d="";continue}l?d+=t:r+=t}return[r,i]}(e))[0],h=i[1]),a=s(T(e,t),p?this:O,B),(o||r||h.length)&&(c=y(a),o&&(c.dotAll=!0,c.raw=B(function(e){for(var t,n=e.length,o=0,r="",i=!1;o<=n;o++)"\\"!==(t=D(e,o))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),r+=t):r+="[\\s\\S]":r+=t+D(e,++o);return r}(e),n)),r&&(c.sticky=!0),h.length&&(c.groups=h)),e!==w)try{l(a,"source",""===w?"(?:)":w)}catch(e){}return a},V=c(T),Y=0;V.length>Y;)m(B,T,V[Y++]);O.constructor=B,B.prototype=O,g(r,"RegExp",B,{constructor:!0})}w("RegExp")},,function(e,t,n){"use strict";var o=n(29),r=n(233),i=n(31),a=n(71),s=n(206),l=n(43),c=n(88),d=n(117),u=n(270),f=n(234);r("match",(function(e,t,n){return[function(t){var n=c(this),r=a(t)?void 0:d(t,e);return r?o(r,t,n):new RegExp(t)[e](l(n))},function(e){var o=i(this),r=l(e),a=n(t,o,r);if(a.done)return a.value;if(!o.global)return f(o,r);var c=o.unicode;o.lastIndex=0;for(var d,b=[],p=0;null!==(d=f(o,r));){var m=l(d[0]);b[p]=m,""===m&&(o.lastIndex=u(r,s(o.lastIndex),c)),p++}return 0===p?null:b}]}))},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var r=(a=o,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),i=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([r]).join("\n")}var a,s,l;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,o){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(o)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);o&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},,function(e,t,n){var o=n(17),r=n(414);o({target:"Array",stat:!0,forced:!n(219)((function(e){Array.from(e)}))},{from:r})},,,,,function(e,t,n){var o=n(19),r=0,i=Math.random(),a=o(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++r+i,36)}},function(e,t,n){var o=n(21),r=n(32),i=o.document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var o=n(254),r=n(126);e.exports=function(e){var t=o(e,"string");return r(t)?t:t+""}},function(e,t,n){var o=n(103),r=n(155),i=o("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){var o=n(201),r=n(27),i=n(67),a=n(26)("toStringTag"),s=Object,l="Arguments"==i(function(){return arguments}());e.exports=o?i:function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?i(t):"Object"==(o=i(t))&&r(t.callee)?"Arguments":o}},function(e,t,n){var o=n(19),r=n(12),i=n(67),a=Object,s=o("".split);e.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},function(e,t,n){var o=n(19),r=n(12),i=n(27),a=n(159),s=n(55),l=n(205),c=function(){},d=[],u=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,b=o(f.exec),p=!f.exec(c),m=function(e){if(!i(e))return!1;try{return u(c,d,e),!0}catch(e){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!b(f,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!u||r((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},function(e,t,n){"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!o.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:o},function(e,t,n){var o=n(130),r=Math.max,i=Math.min;e.exports=function(e,t){var n=o(e);return n<0?r(n+t,0):i(n,t)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var o=n(19);e.exports=o([].slice)},function(e,t,n){var o=n(124),r=Function.prototype,i=r.apply,a=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(o?a.bind(i):function(){return a.apply(i,arguments)})},function(e,t,n){var o=n(28),r=n(27),i=n(54),a=n(158),s=n(284),l=a("IE_PROTO"),c=Object,d=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(o(t,l))return t[l];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof c?d:null}},function(e,t,n){"use strict";var o=n(17),r=n(263).includes,i=n(12),a=n(214);o({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(e,t,n){"use strict";var o=n(17),r=n(19),i=n(386),a=n(88),s=n(43),l=n(387),c=r("".indexOf);o({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~c(s(a(this)),s(i(e)),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var o=n(17),r=n(19),i=n(129),a=n(32),s=n(28),l=n(49).f,c=n(108),d=n(278),u=n(392),f=n(155),b=n(286),p=!1,m=f("meta"),g=0,h=function(e){l(e,m,{value:{objectID:"O"+g++,weakData:{}}})},v=e.exports={enable:function(){v.enable=function(){},p=!0;var e=c.f,t=r([].splice),n={};n[m]=1,e(n).length&&(c.f=function(n){for(var o=e(n),r=0,i=o.length;r<i;r++)if(o[r]===m){t(o,r,1);break}return o},o({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:d.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,m)){if(!u(e))return"F";if(!t)return"E";h(e)}return e[m].objectID},getWeakData:function(e,t){if(!s(e,m)){if(!u(e))return!0;if(!t)return!1;h(e)}return e[m].weakData},onFreeze:function(e){return b&&p&&u(e)&&!s(e,m)&&h(e),e}};i[m]=!0},function(e,t,n){var o=n(83),r=TypeError;e.exports=function(e,t){if(o(t,e))return e;throw r("Incorrect invocation")}},function(e,t,n){"use strict";function o(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var r=o({HTML:"text/html",isHTML:function(e){return e===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=o({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},t.find=function(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"==typeof n.find)return n.find.call(e,t);for(var o=0;o<e.length;o++)if(Object.prototype.hasOwnProperty.call(e,o)){var r=e[o];if(t.call(void 0,r,o,e))return r}},t.freeze=o,t.MIME_TYPE=r,t.NAMESPACE=i},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(39),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(30),n(122);var r,i=(r=n(225))&&r.__esModule?r:{default:r};function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function s(){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=l(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function l(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=f(e);if(t){var r=f(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(i,e);var t,n,o,r=d(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e))._children=e.children,null!=t._source.content&&(t._source.items=t._source.content,delete t._source.content),t._forceChildrenClones=!1,t._parent=null,t}return t=i,(n=[{key:"getChildren",value:function(e){var t,n=e&&this.isExtention(),o=n?this._ochildren:this._children;return null==o&&(o=this._itemStore.getChildren(this,n),!0===this.getSource().automatic&&this._itemStore.automaticSortAllowed&&((t=o).forEach((function(e){e.__label=(e.getLabel()||"").toLowerCase()})),t.sort((function(e,t){return null!=e._source.priority?null!=t._source.priority?e._source.priority>t._source.priority?-1:e._source.priority<t._source.priority?1:0:e._source.priority>0?-1:1:null!=t._source.priority?t._source.priority>0?1:-1:e.__label>t.__label?1:e.__label<t.__label?-1:0}))),this["_".concat(n?"o":"","children")]=o),o}},{key:"originalChildrenChanged",value:function(){this.isExtention()&&delete this._children}},{key:"setExtends",value:function(e){s(f(i.prototype),"setExtends",this).call(this,e),delete this._children,delete this._ochildren}},{key:"getNodetype",value:function(){return s(f(i.prototype),"getNodetype",this).call(this)||"RESOURCE"}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(i.default);t.default=b},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(9),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(272),n(39);var r=n(96),i=a(n(297));a(n(60));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function l(){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=c(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function c(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=b(e)););return e}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=b(e);if(t){var r=b(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(a,e);var t,n,o,i=u(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e))._validObject=!0,t._validPredicate=!0,t._excludeFromTreeValidityCheck=!1,t._statement&&(t._validPredicate=t._isValidPredicateValue(t._statement.getPredicate(),!0),t._validObject=t._isValidObjectValue(t._statement.getValue())),t}return t=a,(n=[{key:"getValue",value:function(){return this._statement.getValue()}},{key:"setValue",value:function(e,t){var n="string"==typeof e?e.trim():e,o=this._validObject;this._isValidObjectValue(n)?(this._statement.setValue(n,t),this._validObject=!0,!0===o||!0!==this._validPredicate||this._excludeFromTreeValidityCheck||this._parent.oneChildValidityChanged(!0)):(""!==n&&null!==n||this._statement.setValue("",t),this._validObject=!1,!1!==o&&!0===this._validPredicate&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"setSubject",value:function(e){this._statement.setSubject(e)}},{key:"getPredicate",value:function(){return this._statement.getPredicate()}},{key:"setPredicate",value:function(e){var t=this._validPredicate;this._isValidPredicateValue(e)?(this._statement.setPredicate(e),this._validPredicate=!0,!0!==t&&!0===this._validObject&&this._parent.oneChildValidityChanged(!0)):(this._validPredicate=!1,!1!==t&&!0===this._validObject&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"getLanguage",value:function(){return this._statement.getLanguage()}},{key:"setLanguage",value:function(e,t){this._statement.setLanguage(e,t),t||this.bindingChange(this)}},{key:"getDatatype",value:function(){return this._statement.getDatatype()}},{key:"setDatatype",value:function(e){this._statement.setDatatype(r.namespaces.expand(e)),this.updateAssertions()}},{key:"setExcludeFromTreeValidityCheck",value:function(e){this._excludeFromTreeValidityCheck=e}},{key:"remove",value:function(){this.setValue(null),this._parent.removeChildBinding(this),l(b(a.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){var e=this._ancestorValid&&this._validObject&&this._validPredicate;this._statement.setAsserted(e,!0),this.bindingChange(this)}},{key:"isValid",value:function(){return this._validObject&&this._validPredicate&&!this._excludeFromTreeValidityCheck}}])&&s(t.prototype,n),o&&s(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(i.default);t.default=p},function(e,t,n){var o=n(67);e.exports="undefined"!=typeof process&&"process"==o(process)},,,function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(202))},function(e,t,n){"use strict";var o=n(62),r=n(69);t.a=function(e){if(!Object(r.a)(e))return!1;var t=Object(o.a)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){"use strict";t.a=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){"use strict";t.a=function(){return[]}},function(e,t,n){"use strict";t.a=function(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}},function(e,t,n){"use strict";var o=n(179),r=n(184);t.a=function(e){return null!=e&&Object(r.a)(e.length)&&!Object(o.a)(e)}},function(e,t,n){"use strict";t.a=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){"use strict";var o=n(182),r=n(61);t.a=function(e,t,n){var i=t(e);return Object(r.a)(e)?i:Object(o.a)(i,n(e))}},function(e,t,n){"use strict";var o=n(50),r=Object(o.a)(Object,"create");var i=function(){this.__data__=r?r(null):{},this.size=0};var a=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},s=Object.prototype.hasOwnProperty;var l=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0},c=Object.prototype.hasOwnProperty;var d=function(e){var t=this.__data__;return r?void 0!==t[e]:c.call(t,e)};var u=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this};function f(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}f.prototype.clear=i,f.prototype.delete=a,f.prototype.get=l,f.prototype.has=d,f.prototype.set=u;var b=f,p=n(86),m=n(87);var g=function(){this.size=0,this.__data__={hash:new b,map:new(m.a||p.a),string:new b}};var h=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var v=function(e,t){var n=e.__data__;return h(t)?n["string"==typeof t?"string":"hash"]:n.map};var y=function(e){var t=v(this,e).delete(e);return this.size-=t?1:0,t};var w=function(e){return v(this,e).get(e)};var x=function(e){return v(this,e).has(e)};var k=function(e,t){var n=v(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this};function _(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}_.prototype.clear=g,_.prototype.delete=y,_.prototype.get=w,_.prototype.has=x,_.prototype.set=k;t.a=_},function(e,t,n){"use strict";var o=function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o},r=n(62),i=n(45);var a=function(e){return Object(i.a)(e)&&"[object Arguments]"==Object(r.a)(e)},s=Object.prototype,l=s.hasOwnProperty,c=s.propertyIsEnumerable,d=a(function(){return arguments}())?a:function(e){return Object(i.a)(e)&&l.call(e,"callee")&&!c.call(e,"callee")},u=n(61),f=n(99),b=/^(?:0|[1-9]\d*)$/;var p=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&b.test(e))&&e>-1&&e%1==0&&e<t},m=n(188),g=Object.prototype.hasOwnProperty;t.a=function(e,t){var n=Object(u.a)(e),r=!n&&d(e),i=!n&&!r&&Object(f.a)(e),a=!n&&!r&&!i&&Object(m.a)(e),s=n||r||i||a,l=s?o(e.length,String):[],c=l.length;for(var b in e)!t&&!g.call(e,b)||s&&("length"==b||i&&("offset"==b||"parent"==b)||a&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||p(b,c))||l.push(b);return l}},function(e,t,n){"use strict";var o=n(62),r=n(184),i=n(45),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=function(e){return Object(i.a)(e)&&Object(r.a)(e.length)&&!!a[Object(o.a)(e)]},l=n(112),c=n(79),d=c.a&&c.a.isTypedArray,u=d?Object(l.a)(d):s;t.a=u},function(e,t,n){"use strict";var o=n(17),r=n(106).filter;o({target:"Array",proto:!0,forced:!n(135)("filter")},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.graphReport=t.default=t.bindingReport=void 0,n(9),n(30),n(42),n(52),n(36),n(72),n(189),n(35);var o,r=n(96),i=n(85),a=(o=n(102))&&o.__esModule?o:{default:o};var s=function(e,t){var n=t;return null==n?n={errors:[],warnings:[],deprecated:[]}:(n.errors=n.errors||[],n.warnings=n.warnings||[],n.deprecated=n.deprecated||[]),u(e,n,!0)};t.bindingReport=s;var l=function(e){for(var t=0,n=0;n<e.length;n++)e[n].isValid()&&(t+=1);return t},c=function(e,t){e.length>0&&e[0].getCardinalityTracker().setCode(t)},d=function(e,t){if(t.hasStyle("deprecated"))return!0;var n=t.getDeps();if(n){var o=(0,i.findBindingRelativeToParentBinding)(e,n);if(!(0,i.matchPathBelowBinding)(o,n))return!0}return!1},u=function e(t,n,o){if(t.getMatchingCode()===a.default.OK){var r=t.getItem();if(!0===o||t.isValid()||null==r.getProperty()||r.hasStyle("atLeastOneChild")||r.hasStyle("exactlyOneChild")){var i=r.getChildren();if(r.hasStyle("disjoint")||r.hasStyle("atMostOneChild")||r.hasStyle("atLeastOneChild")||r.hasStyle("exactlyOneChild")){var s,u=t.getChildBindings(),f=l(u);f>1&&(r.hasStyle("disjoint")||r.hasStyle("atMostOneChild"))?s=a.default.AT_MOST_ONE_CHILD:1!==f&&r.hasStyle("exactlyOneChild")?s=a.default.EXACTLY_ONE_CHILD:0===f&&r.hasStyle("atLeastOneChild")&&(s=a.default.AT_LEAST_ONE_CHILD),s&&(c([t],s),i.length>0&&n.errors.push({parentBinding:t,item:i[0],code:s}))}else t.getItemGroupedChildBindings().forEach((function(e,o){var r=i[o];if(!d(t,r)&&null!=r.getProperty()){var s=l(e),u=r.getCardinality();null!=u.min&&u.min>s?(n.errors.push({parentBinding:t,item:r,code:a.default.TOO_FEW_VALUES_MIN}),c(e,a.default.TOO_FEW_VALUES_MIN)):null!=u.pref&&u.pref>s&&n.warnings.push({parentBinding:t,item:r,code:a.default.TOO_FEW_VALUES_PREF}),null!=u.max&&u.max<s&&(n.errors.push({parentBinding:t,item:r,code:a.default.TOO_MANY_VALUES}),c(e,a.default.TOO_MANY_VALUES))}}),void 0);t.getChildBindings().forEach((function(o){var r=o.getItem();o.getMatchingCode()!==a.default.OK&&n.errors.push({parentBinding:o,item:r,code:o.getMatchingCode()}),r.hasStyle("deprecated")&&n.deprecated.push(o),d(t,r)||"group"===r.getType()&&e(o,n)}))}return n}},f=function(e,t){var n,o,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i={},a={},s={errors:0,warnings:0,deprecated:0,resources:[]};Object.keys(t).forEach((function(t){var n=b(e,t);i[t]=n,n.forEach((function(e){a[e]=!0}))})),Object.keys(i).forEach((function(r){n=t[r],i[r].forEach((function(t){(o=h(t,e,n,a)).uri=t,o.type=r,o.template=n.getId(),s.resources.push(o),s.errors+=o.errors.length,s.warnings+=o.warnings.length,s.deprecated+=o.deprecated.length}))}));var l=[];return r.forEach((function(e){0===i[e].length&&l.push(e)})),l.length>0&&(s.mandatoryError=l,s.errors+=l.length),s};t.graphReport=f;var b=function(e,t){return e.find(null,"rdf:type",t).map((function(e){return e.getSubject()}))},p=function(e,t,n){for(var o=e;;){var r=o.getChildrenRootUri?o.getChildrenRootUri():o.getParent().getChildrenRootUri();if(r===t)return!0;if(n[r])return!1;o=o.getParent()}},m=function(e,t){var n=e,o=[];for(null!=t.getProperty()&&n.getItem()!==t&&o.push(r.namespaces.shorten(t.getProperty()));null!=n.getItem().getProperty()&&o.push(r.namespaces.shorten(n.getItem().getProperty())),null!=n.getParent();)n=n.getParent();return o.reverse(),o.join(" > ")},g=function(e){var t=e.errors,n=e.warnings,o=e.deprecated;e.errors=t.map((function(e){return{path:m(e.parentBinding,e.item),code:e.code}})),e.warnings=n.map((function(e){return{path:m(e.parentBinding,e.item),code:e.code}})),e.deprecated=o.map((function(e){return function(e){return"".concat(m(e.getParent(),e.getItem())," > ").concat(e.getValue())}(e)}))},h=function(e,t,n,o){var r=(0,i.fuzzyMatch)(t,e,n),a=s(r);return function(e,t,n){var o=e.errors,r=e.warnings,i=e.deprecated;e.errors=o.filter((function(e){return p(e.parentBinding,t,n)})),e.warnings=r.filter((function(e){return p(e.parentBinding,t,n)})),e.deprecated=i.filter((function(e){return p(e,t,n)}))}(a,e,o||{}),g(a),a},v={graphReport:f,bindingReport:s};t.default=v},,,,,,,,,,,function(e,t,n){var o={};o[n(26)("toStringTag")]="z",e.exports="[object z]"===String(o)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var o=n(21),r=n(204),i=o["__core-js_shared__"]||r("__core-js_shared__",{});e.exports=i},function(e,t,n){var o=n(21),r=Object.defineProperty;e.exports=function(e,t){try{r(o,e,{value:t,configurable:!0,writable:!0})}catch(n){o[e]=t}return t}},function(e,t,n){var o=n(19),r=n(27),i=n(203),a=o(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},function(e,t,n){var o=n(130),r=Math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},function(e,t,n){var o=n(365);e.exports=function(e,t){return new(o(e))(0===t?0:t)}},function(e,t,n){"use strict";var o=n(12);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){return 1},1)}))}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";var o,r,i=n(29),a=n(19),s=n(43),l=n(264),c=n(265),d=n(103),u=n(95),f=n(66).get,b=n(268),p=n(269),m=d("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,h=g,v=a("".charAt),y=a("".indexOf),w=a("".replace),x=a("".slice),k=(r=/b*/g,i(g,o=/a/,"a"),i(g,r,"a"),0!==o.lastIndex||0!==r.lastIndex),_=c.BROKEN_CARET,C=void 0!==/()??/.exec("")[1];(k||C||_||b||p)&&(h=function(e){var t,n,o,r,a,c,d,b=this,p=f(b),T=s(e),O=p.raw;if(O)return O.lastIndex=b.lastIndex,t=i(h,O,T),b.lastIndex=O.lastIndex,t;var E=p.groups,S=_&&b.sticky,D=i(l,b),j=b.source,N=0,A=T;if(S&&(D=w(D,"y",""),-1===y(D,"g")&&(D+="g"),A=x(T,b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&"\n"!==v(T,b.lastIndex-1))&&(j="(?: "+j+")",A=" "+A,N++),n=new RegExp("^(?:"+j+")",D)),C&&(n=new RegExp("^"+j+"$(?!\\s)",D)),k&&(o=b.lastIndex),r=i(g,S?n:b,A),S?r?(r.input=x(r.input,N),r[0]=x(r[0],N),r.index=b.lastIndex,b.lastIndex+=r[0].length):b.lastIndex=0:k&&r&&(b.lastIndex=b.global?r.index+r[0].length:o),C&&r&&r.length>1&&i(m,r[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)})),r&&E)for(r.groups=c=u(null),a=0;a<E.length;a++)c[(d=E[a])[0]]=r[d[1]];return r}),e.exports=h},function(e,t,n){var o=n(27),r=n(32),i=n(212);e.exports=function(e,t,n){var a,s;return i&&o(a=t.constructor)&&a!==n&&r(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},function(e,t,n){var o=n(368),r=n(31),i=n(369);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=o(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,o){return r(n),i(o),t?e(n,o):n.__proto__=o,n}}():void 0)},function(e,t,n){"use strict";var o=n(55),r=n(134),i=n(26),a=n(33),s=i("species");e.exports=function(e){var t=o(e);a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var o=n(26),r=n(95),i=n(49).f,a=o("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:r(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,n){"use strict";var o=n(17),r=n(29),i=n(64),a=n(127),s=n(27),l=n(381),c=n(167),d=n(212),u=n(84),f=n(94),b=n(48),p=n(26),m=n(137),g=n(283),h=a.PROPER,v=a.CONFIGURABLE,y=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,x=p("iterator"),k=function(){return this};e.exports=function(e,t,n,a,p,g,_){l(n,t,a);var C,T,O,E=function(e){if(e===p&&A)return A;if(!w&&e in j)return j[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},S=t+" Iterator",D=!1,j=e.prototype,N=j[x]||j["@@iterator"]||p&&j[p],A=!w&&N||E(p),I="Array"==t&&j.entries||N;if(I&&(C=c(I.call(new e)))!==Object.prototype&&C.next&&(i||c(C)===y||(d?d(C,y):s(C[x])||b(C,x,k)),u(C,S,!0,!0),i&&(m[S]=k)),h&&"values"==p&&N&&"values"!==N.name&&(!i&&v?f(j,"name","values"):(D=!0,A=function(){return r(N,this)})),p)if(T={values:E("values"),keys:g?A:E("keys"),entries:E("entries")},_)for(O in T)(w||D||!(O in j))&&b(j,O,T[O]);else o({target:t,proto:!0,forced:w||D},T);return i&&!_||j[x]===A||b(j,x,A,{name:p}),m[t]=A,T}},function(e,t){e.exports=function(e,t){return{value:e,done:t}}},function(e,t,n){"use strict";var o=n(17),r=n(21),i=n(19),a=n(132),s=n(48),l=n(170),c=n(138),d=n(171),u=n(27),f=n(71),b=n(32),p=n(12),m=n(219),g=n(84),h=n(211);e.exports=function(e,t,n){var v=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),w=v?"set":"add",x=r[e],k=x&&x.prototype,_=x,C={},T=function(e){var t=i(k[e]);s(k,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(y&&!b(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return y&&!b(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(y&&!b(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!u(x)||!(y||k.forEach&&!p((function(){(new x).entries().next()})))))_=n.getConstructor(t,e,v,w),l.enable();else if(a(e,!0)){var O=new _,E=O[w](y?{}:-0,1)!=O,S=p((function(){O.has(1)})),D=m((function(e){new x(e)})),j=!y&&p((function(){for(var e=new x,t=5;t--;)e[w](t,t);return!e.has(-0)}));D||((_=t((function(e,t){d(e,k);var n=h(new x,e,_);return f(t)||c(t,n[w],{that:n,AS_ENTRIES:v}),n}))).prototype=k,k.constructor=_),(S||j)&&(T("delete"),T("has"),v&&T("get")),(j||E)&&T(w),y&&k.clear&&delete k.clear}return C[e]=_,o({global:!0,constructor:!0,forced:_!=x},C),g(_,e),y||n.setStrong(_,e,v),_}},function(e,t,n){var o=n(159),r=n(117),i=n(71),a=n(137),s=n(26)("iterator");e.exports=function(e){if(!i(e))return r(e,s)||r(e,"@@iterator")||a[o(e)]}},function(e,t,n){var o=n(26)("iterator"),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){r=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i={};i[o]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var o=n(48);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},function(e,t,n){n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(36),n(9),n(35),n(42),n(30),n(52),n(56),n(246);var o=s(n(292)),r=s(n(109)),i=s(n(293)),a=s(n(294));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,i=void 0,i=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==l(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===l(i)?i:String(i)),o)}var r,i}var u=function(e){return 0===e.length?e:[e[0]]},f=function e(t,n,r){return{object:function(o){for(var i=0;i<n.length;i++){var a=void 0;if(r)a=n[i].getSubject();else{var s=n[i].getType();if("uri"===s||"bnode"===s)continue;a=n[i].getValue()}var l=t.find(a,o);l.length>0&&e(t,[l[0]])}return e(t,[])},objects:function(o){var i,a=[];if(!0===r)for(i=0;i<n.length;i++)a=a.concat(t.find(n[i].getSubject(),o));else for(i=0;i<n.length;i++){var s=n[i].getType();"uri"!==s&&"bnode"!==s||(a=a.concat(t.find(n[i].getValue(),o)))}return e(t,a)},constr:function(i,a){var s=a;o.default.isString(s)&&(s={type:"uri",value:s});for(var l=[],c=0;c<n.length;c++){var d=r?n[c].getSubject():n[c].getValue();t.find(d,i,s).length>0&&l.push(n[c])}return e(t,l,r)},each:function(o,i){if(!0===r)for(var a=0;a<n.length;a++){var s="_:"===n[a].getSubject().substring(0,2)?"bnode":"uri";null!=i&&i!==s||o(e(t,n[a],r))}else for(var l=0;l<n.length;l++)o(e(t,n[l],r))},statements:function(){return n},nodes:function(e){var t=[];if(!0===r)for(var o=0;o<n.length;o++){var i="_:"===n[o].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==i||t.push({type:i,value:n[o].getSubject()})}else for(var a=0;a<n.length;a++)null!=e&&e!==n[a].getType()||t.push(n[a].getObject());return t},values:function(e){var t=[];if(!0===r)for(var o=0;o<n.length;o++){var i="_:"===n[o].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==i||t.push(n[o].getSubject())}else for(var a=0;a<n.length;a++)null!=e&&e!==n[a].getType()||t.push(n[a].getValue());return t},firstValue:function(e){if(!0===r)for(var t=0;t<n.length;t++){var o="_:"===n[t].getSubject().substring(0,2)?"bnode":"uri";if(null==e||e===o)return n[t].getSubject()}else for(var i=0;i<n.length;i++)if(null==e||e===n[i].getType())return n[i].getValue()}}},b=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;c(this,e),this._graph=t||{},this._bnodes={},this._bnodesIndexed=!1,!1!==n&&this.validate(),this._changed=!1}var t,n,s;return t=e,(n=[{key:"isEmpty",value:function(){var e=this;return!Object.keys(this._graph).find((function(t){var n=e._graph[t];return Object.keys(n).find((function(e){return n[e].find((function(e){return null==e._statement||e._statement.isAsserted()}))}))}))}},{key:"onChange",value:function(){}},{key:"setChanged",value:function(e){this._changed=!(!0!==e&&null!=e),this._changed&&this.onChange()}},{key:"isChanged",value:function(){return this._changed}},{key:"addAll",value:function(e,t){for(var n,o={},r=e.find(),i=0;i<r.length;i++){var a=r[i],s=a.getSubject(),l=a.getPredicate(),c=a.getCleanObject();t&&(c.ng=t),0===s.indexOf("_:")&&(n=o[s]||this._newBNode(),o[s]=n,s=n),0===l.indexOf("_:")&&(n=o[l]||this._newBNode(),o[l]=n,l=n),"bnode"===c.type&&(n=o[c.value]||this._newBNode(),o[c.value]=n,c.value=n),this.add(s,l,c)}}},{key:"add",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4?arguments[4]:void 0;if(e instanceof i.default){var s=e.getPredicate(),l=e.getObject(),c=e.getSubject();this._trackBNodes(c,s,l);var d=this._graphObject(l),u=o.default.add(this._graph,c,s,d,a);return!0!==r&&this.setChanged(),this._get(c,s,u,!0)}return this.create(e,t,n,!0,r,a)}},{key:"addL",value:function(e,t,n,o){var r={type:"literal",value:n};return"string"==typeof o&&(r.lang=o),this.create(e,t,r,!0)}},{key:"addD",value:function(e,t,n,o){var i={type:"literal",value:n};return"string"==typeof o&&(i.datatype=r.default.expand(o)),this.create(e,t,i,!0)}},{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],d=e,u=t,f=n;if(d=null==d?this._newBNode():r.default.expand(d),u=null==u?this._newBNode():r.default.expand(u),null==f?f={type:"bnode",value:this._newBNode()}:o.default.isString(f)?f={type:"uri",value:r.default.expand(f)}:"object"!==l(f)||Array.isArray(f)?f={type:"uri",value:"".concat(f)}:("uri"===(f={type:f.type,value:f.value,lang:f.lang,datatype:f.datatype,ng:f.ng}).type&&null!=f.value&&(f.value=r.default.expand(f.value)),f.datatype&&(f.datatype=r.default.expand(f.datatype))),!1!==a){var b=o.default.add(this._graph,d,u,f,c);return!0!==s&&this.setChanged(),this._getOrCreate(d,u,b,!0)}return new i.default(this,d,u,f,!1)}},{key:"findAndRemove",value:function(e,t,n){for(var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=this.find(e,t,n),i=0;i<r.length;i++)this.remove(r[i],o)}},{key:"remove",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getSubject(),r=e.getPredicate(),i=e.getObject();this._trackBNodes(n,r,i),null!=o.default.remove(this._graph,n,r,i)&&!0!==t&&this.setChanged()}},{key:"find",value:function(e,t,n){var i=e,a=t,s=n;if("string"==typeof i&&(i=r.default.expand(i)),"string"==typeof a&&(a=r.default.expand(a)),"object"===l(s)&&null!==s&&"uri"===s.type?s.value=r.default.expand(s.value):"string"==typeof s&&(s={type:"uri",value:r.default.expand(s)}),null==s)return null==a?null==i?this._find():this._findS(i):null==i?this._findP(a):this._findSP(i,a);if(null==a)return null==i?this._findO(s):this._findSO(i,s);if(null==i)return this._findPO(a,s);var c=this._get(i,a,o.default.contains(this._graph,i,a,s),!0);return null==c?[]:[c]}},{key:"findFirstValue",value:function(e,t){var n=this.find(e,t);if(n.length>0)return n[0].getValue()}},{key:"projection",value:function(e,t,n){var o=this,r={};return Object.keys(t).forEach((function(i){var a=t[i],s=Array.isArray(a)?o.findPath(e,a):o.find(e,a);if(s.length>0)switch("*"===i[0]?r[i.substr(1)]=s.map((function(e){return e.getValue()})):r[i]=s[0].getValue(),n||"none"){case"statement":r["*".concat(i)]=s;break;case"objects":r["*".concat(i)]=s.map((function(e){return e.getCleanObject()}));break;case"values":r["*".concat(i)]=s.map((function(e){return e.getValue()}))}})),r}},{key:"subjects",value:function(e,t){return f(this,this.find(null,e,t),!0)}},{key:"subject",value:function(e,t){return f(this,u(this.find(null,e,t)),!0)}},{key:"objects",value:function(e,t){return f(this,this.find(e,t,null))}},{key:"object",value:function(e,t){return f(this,u(this.find(e,t,null)))}},{key:"findPath",value:function(e,t){return t.slice(1).reduce((function(e,t){return e.objects(t)}),this.objects(e,t[0])).statements()}},{key:"addList",value:function(e){return this._addList(e,"add")}},{key:"addListL",value:function(e,t){return this._addList(e,"addL",t)}},{key:"addListD",value:function(e,t){return this._addList(e,"addD",t)}},{key:"_addList",value:function(e,t,n){var o,i=this;if(Array.isArray(e)&&0!==e.length){var a=o=this._newBNode(),s=e.length-1;e.forEach((function(e,o){i[t](a,"rdf:first",e,n),o!==s?a=i.add(a,"rdf:rest").getValue():i.add(a,"rdf:rest","rdf:nil")}))}else o=r.default.expand("rdf:nil");return o}},{key:"removeList",value:function(e){var t=!1,n="object"===l(e)?e.value:e;try{var o=r.default.expand("rdf:nil");for(t=n===o;n!==o&&null!=n;){var i=this.findFirstValue(n,"rdf:rest");this.findAndRemove(n),t=null!=(n=i)}}catch(e){return console.warn("Invalid list for object: ".concat(n)),!1}return t}},{key:"getList",value:function(e){var t="object"===l(e)?e.value:r.default.expand(e),n=[];try{for(var o=r.default.expand("rdf:nil");t!==o&&null!=t;)n.push(this.find(t,"rdf:first")[0].getObject()),t=this.findFirstValue(t,"rdf:rest")}catch(e){console.warn("Invalid list for object: ".concat(t))}return n}},{key:"findFirstListAsValues",value:function(e,t){return this.getList(this.findFirstValue(e,t)).map((function(e){return e.value}))}},{key:"findAndRemoveLists",value:function(e,t){var n=this,o=!1;return this.find(e,t).forEach((function(e){n.removeList(e.getValue())&&(n.remove(e),o=!0)})),o}},{key:"exportRDFJSON",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._graph,o.default.clone(this._graph,e)}},{key:"replaceSubject",value:function(e,t){return this.replaceURI(e,t)}},{key:"replaceURI",value:function(e,t){var n=this._graph;if(n.hasOwnProperty(e)){if(n.hasOwnProperty(t))throw new Error("Cannot replace subject with target URI since it already exists.");n[t]=n[e],delete n[e]}return this.forEach((function(n,o,r){"uri"===r.type&&r.value===e&&(r.value=t),n===t&&r._statement&&(r._statement._s=t)})),this}},{key:"replaceBlankWithURI",value:function(e,t){var n=this._graph;if(n.hasOwnProperty(e)){if(n.hasOwnProperty(t))throw new Error("Cannot replace subject with target URI since it already exists.");n[t]=n[e],delete n[e],this.forEach((function(n,o,r){"bnode"===r.type&&r.value===e&&(r.value=t,r.type="uri"),n===t&&r._statement&&(r._statement._s=t)}))}return delete this._bnodes[e],this}},{key:"clone",value:function(){return new e(this.exportRDFJSON(!1))}},{key:"findProperties",value:function(e){return Object.keys(this._graph[e]||{})}},{key:"validate",value:function(){if(this.report=this._validate(),!this.report.valid)throw this.report;return this.report}},{key:"registerBNode",value:function(e){this._bnodes[e]=!0}},{key:"forEach",value:function(e){var t=this._graph;Object.keys(t).forEach((function(n){var o=t[n];Object.keys(o).forEach((function(t){o[t].forEach((function(o){e(n,t,o)}))}))}))}},{key:"map",value:function(e){var t=[];return this.forEach((function(n){t.push(e(n))})),t}},{key:"equals",value:function(e,t){return a.default.fingerprint(this,t)===a.default.fingerprint(e,t)}},{key:"size",value:function(){var e=0;return Object.values(this._graph).forEach((function(t){Object.values(t).forEach((function(t){e+=t.length}))})),e}},{key:"_get",value:function(e,t,n,o){if(null!=n)return this._getOrCreate(e,t,n,o)}},{key:"_getOrCreate",value:function(e,t,n,o){return null==n._statement&&(n._statement=new i.default(this,e,t,n,o)),n._statement}},{key:"_graphObject",value:function(e){return null==e._statement||e._statement._graph===this?e:{type:e.type,value:e.value,lang:e.lang,datatype:e.datatype}}},{key:"_findSP",value:function(e,t){var n=this;return null==this._graph[e]||null==this._graph[e][t]?[]:this._graph[e][t].map((function(o){return n._get(e,t,o,!0)}))}},{key:"_findS",value:function(e){var t=this,n=this._graph[e],o=Object.keys(n||{}).map((function(n){return t._findSP(e,n)}));return Array.prototype.concat.apply([],o)}},{key:"_find",value:function(){var e=this,t=[];return this.forEach((function(n,o,r){t.push(e._get(n,o,r,!0))})),t}},{key:"_findP",value:function(e){var t=this,n=[];return this.forEach((function(o,r,i){e===r&&n.push(t._get(o,r,i,!0))})),n}},{key:"_findO",value:function(e){var t=this,n=[];return this.forEach((function(r,i,a){o.default.objectEquals(e,a)&&n.push(t._get(r,i,a,!0))})),n}},{key:"_findSO",value:function(e,t){var n=this,r=[];return this.forEach((function(i,a,s){e===i&&o.default.objectEquals(t,s)&&r.push(n._get(i,a,s,!0))})),r}},{key:"_findPO",value:function(e,t){var n=this,r=[];return this.forEach((function(i,a,s){e===a&&o.default.objectEquals(t,s)&&r.push(n._get(i,a,s,!0))})),r}},{key:"_validate",value:function(){var e=this._graph,t={valid:!0,errors:[],nr:0};return Object.keys(e).forEach((function(n){var r=e[n];o.default.isObject(r)?Object.keys(r).forEach((function(e){var i=r[e];Array.isArray(i)?i.forEach((function(r,i){o.default.isObject(r)?null!=r.type?o.default.isString(r.value)?t.nr+=1:(t.errors.push({s:n,p:e,oindex:i+1,message:"Object ".concat(i+1," in object array must have the 'value' attribute pointing to a string.")}),t.valid=!1):(t.errors.push({s:n,p:e,oindex:i+1,message:"Object ".concat(i+1," in object array lacks the attribute type, must be either 'literal', 'resource' or 'bnode'.")}),t.valid=!1):(t.errors.push({s:n,p:e,oindex:i+1,message:"Element ".concat(i+1," in object array is not an object.")}),t.valid=!1)})):(t.errors.push({s:n,p:e,message:"Predicate must point to an array of objects."}),t.valid=!1)})):(t.errors.push({s:n,message:"Subject must point to an object."}),t.valid=!1)})),t}},{key:"_newBNode",value:function(){var e,t,n;for(this._indexBNodes(),e=1;e<20;e++)for(t=1;t<=e;t++)if(n="_:".concat(Math.floor(Math.random()*(Math.pow(10,e)+1))),!0!==this._bnodes[n])return this._bnodes[n]=!0,n;throw new Error("Failed creating a new blank node, increadible unprobable...")}},{key:"_indexBNodes",value:function(){var e=this;if(!this._bnodesIndexed){var t=this._graph;Object.keys(t).forEach((function(n){0===n.indexOf("_:")&&(e._bnodes[n]=!0);var o=t[n];Object.keys(o).forEach((function(t){0===t.indexOf("_:")&&(e._bnodes[t]=!0),o[t].forEach((function(t){"bnode"===t.type&&(e._bnodes[t.value]=!0)}))}))})),this._bnodesIndexed=!0}}},{key:"_trackBNodes",value:function(e,t,n){0===e.indexOf("_:")&&(this._bnodes[e]=!0),0===t.indexOf("_:")&&(this._bnodes[t]=!0),"bnode"===n.type&&(this._bnodes[n.value]=!0)}}])&&d(t.prototype,n),s&&d(t,s),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=b},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(39),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(11),n(15),n(100),n(16),n(18),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(36),n(9),n(30),n(42),n(35);var r=d(n(37)),i=d(n(236)),a=d(n(102)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(85)),l=n(190);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function b(){return(b="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=p(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function p(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}function m(e,t){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=v(e);if(t){var r=v(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=function(e,t,n,o){if(t.hasStyle("presenterOnly"))return!1;if(t.hasStyle("deprecated")&&0===n.length)return!1;var r=t.getProperty();if(n.length>0){if(r)return!e.filterItem(t);if("group"!==t.getType())return!0;var i=t.getChildren();if(0===i.length)return!0;if(t.hasStyle("atLeastOneChild")||t.hasStyle("exactlyOneChild"))return!0;if(n[0].getItemGroupedChildBindings().find((function(t,n){return y(e,i[n],t,o)})))return!0;if(!r)return!1}var a=t.getCardinality();switch(o){case"mandatory":return a&&a.min>=1;case"recommended":return a&&(a.min>=1||a.pref>=1);default:return!0}},w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(c,e);var t,n,o,i=g(c);function c(){return u(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"_handleParams",value:function(e){this._subEditors=this._subEditors||[],this.includeLevel=e.includeLevel||"recommended",this.hideAddress=!1!==e.hideAddress,e.styleCls=e.styleCls||"rdformsEditor",e.filterTranslations=void 0!==e.filterTranslations&&e.filterTranslations,b(v(c.prototype),"_handleParams",this).call(this,e)}},{key:"getSubEditorForBinding",value:function(e){return this._subEditors.find((function(t){return t.getBinding()===e}))}},{key:"report",value:function(e){var t=this,n=e||(0,l.bindingReport)(this.binding);Object.keys(this._binding2node).forEach((function(e){r.default.domClassToggle(t._binding2node[e],"errorReport",!1)}));for(var o=function(){var e=n.errors[i];if(e.parentBinding===t.binding)if(e.code===a.default.TOO_FEW_VALUES_MIN){var o=e.item,s=o.getCardinality().min;t.binding.getChildBindingsFor(o).find((function(e){return s-=1,e.isValid()||r.default.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0),0===s}))}else e.code===a.default.AT_MOST_ONE_CHILD&&t.binding.getChildBindings().forEach((function(e){e.getMatchingCode()!==a.default.OK&&r.default.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0)}))},i=0;i<n.errors.length;i++)o();for(var s=0;s<this._subEditors.length;s++)this._subEditors[s].report(n)}},{key:"getIncludeLevel",value:function(){return this.includeLevel}},{key:"setIncludeLevel",value:function(e){this.includeLevel!==e&&(this.includeLevel=e,null!=this.graph&&null!=this.resource&&null!=this.template&&(this.binding=s.match(this.graph,this.resource,this.template),this._subEditors=[],this.render()))}},{key:"show",value:function(e){this._subEditors=[],b(v(c.prototype),"show",this).call(this,e)}},{key:"showNow",value:function(e,t){return y(this,e,t,this.includeLevel)}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(e,t){var n,o=t,r=e.getCardinality();if(n=r.pref>0?r.pref:r.min>0?r.min:"propertygroup"===e.getType()?1:"group"===e.getType()?(e.getProperty(),1):1,e.hasStyle("nonEditable")&&!e.hasStyle("autoInitDate")&&!e.hasStyle("autoUpdateDate")&&!e.hasStyle("autoUUID")&&!e.hasStyle("autoValue")&&!e.getValue())return o;if(n>o.length)for(o=o.concat([]);n>o.length;)o.push(s.create(this.binding,e));return o}},{key:"addLabel",value:function(e,t,n){r.default.renderEditorLabel(e,t,n,this.context)}},{key:"createEndOfRowNode",value:function(e,t,n){r.default.renderEditorLabelScopeEnd(e,t,n,this.context)}},{key:"addTable",value:function(e,t){return t.getItem().hasStyle("nonEditable")?this.addComponent(e,t):r.default.addEditorTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){r.default.fillEditorTable(e,t,{view:this})}},{key:"preRenderView",value:function(){r.default.preEditorViewRenderer(this.domNode,this.binding,{view:this,inEditor:!0,topLevel:this.topLevel,hideAddress:this.hideAddress})}},{key:"addComponent",value:function(e,t){this.context.inEditor=!0,t.getItem().hasStyle("nonEditable")?r.default.renderPresenter(e,t,this.context):r.default.renderEditor(e,t,this.context)}},{key:"createRowNode",value:function(e,t,n){if(null!=t||!n.hasStyle("nonEditable")){var o=b(v(c.prototype),"createRowNode",this).call(this,e,t,n);if("choice"===n.getType()&&void 0===n.getProperty()){var i=s.findPopularChoice(n,t.getParent());i&&t.setChoice(i)}var a=n.getDeps();if(a){var l=function(e){e?(r.default.domClassToggle(o,"missingDepsWithValue",!1),r.default.domClassToggle(o,"missingDeps",!1)):t.isValid()?r.default.domClassToggle(o,"missingDepsWithValue",!0):r.default.domClassToggle(o,"missingDeps",!0),t.getCardinalityTracker().setDepsOk(e)},d=s.findBindingRelativeToParentBinding(t.getParent(),a);s.matchPathBelowBinding(d,a)||l(!1),d.addListener((function e(){t.getParent()?l(s.matchPathBelowBinding(d,a)):d.removeListener(e)}))}return this.filterBinding(t)&&r.default.domClassToggle(o,"hiddenProperty",!0),n.hasStyle("deprecated")&&r.default.domClassToggle(o,"rdformsDeprecated",!0),o}}},{key:"isMultiValued",value:function(e){return r.default.multiValueSupport&&(e.hasStyle("horizontalCheckBoxes")||e.hasStyle("verticalCheckBoxes"))}},{key:"truncateAt",value:function(e,t){return-1}}])&&f(t.prototype,n),o&&f(t,o),Object.defineProperty(t,"prototype",{writable:!1}),c}(i.default);t.default=w},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),n(150),n(56),n(119),n(38),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(52),n(9),n(30),n(35),n(101),n(39);var r=a(n(297)),i=a(n(416));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function d(){return(d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=u(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function u(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=m(e);if(t){var r=m(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(a,e);var t,n,o,r=b(a);function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),t=r.call(this,e);var n=e.constraints,o=void 0===n?[]:n,i=e.childrenRootUri,s=void 0===i?null:i;return t._constraints=o,t._childBindings=t._item.getChildren().map((function(){return[]})),t._rootUri=s,t._validPredicate=!0,t._validObject=!0,t._statement&&(t._validPredicate=t._isValidPredicateValue(t._statement.getPredicate()),t._validObject=t._isValidObjectValue(t._statement.getValue(),t._statement.getType())),t._cachedChildBindings=null,t}return t=a,(n=[{key:"getValue",value:function(){return this._statement&&this._statement.isObjectBlank()?"":this._statement&&this._statement.getValue()}},{key:"oneChildValidityChanged",value:function(e){return e!==this._oneValidChild&&!(!e&&(delete this._oneValidChild,this.isValid()))&&(this._oneValidChild=e,this._notifyValidityChange(e&&this._validPredicate&&this._validObject),this._validPredicate&&this._validObject)}},{key:"setSubject",value:function(e){this._statement?this._statement.setSubject(e):this.getChildBindings().forEach((function(t){return t.setSubject(e)}))}},{key:"getChildrenRootUri",value:function(){return this._statement?this._statement.getValue():null!=this._rootUri?this._rootUri:null!=this._parent?this._parent.getChildrenRootUri():void 0}},{key:"addChildBinding",value:function(e){this.addChildBindings([e])}},{key:"addChildBindings",value:function(e){var t=this;if(this._cachedChildBindings=null,Array.isArray(e)&&0!==e.length)for(var n=e[0].getItem(),o=this._item.getChildren(),r=function(){if(n===o[a]){var r=t._childBindings[a].length>0?t._childBindings[a][0].getCardinalityTracker():new i.default(n);return t._childBindings[a]=t._childBindings[a].concat(e),e.forEach((function(e){e.setParent(t),e.setCardinalityTracker(r),r.increment()}),t),"break"}},a=o.length;a>=0&&"break"!==r();a--);}},{key:"removeChildBinding",value:function(e){this._cachedChildBindings=null;for(var t=this._item.getChildren(),n=t.length;n>=0;n--)if(e.getItem()===t[n]){this._childBindings[n].splice(this._childBindings[n].indexOf(e),1),delete e._parent,e.getCardinalityTracker().decrement();break}this.oneChildValidityChanged(),this.bindingChange(e)}},{key:"getChildBindingsFor",value:function(e){for(var t=this._item.getChildren(),n=t.length;n>=0;n--)if(e===t[n])return this._childBindings[n]}},{key:"getItemGroupedChildBindings",value:function(){return this._childBindings}},{key:"getChildBindings",value:function(){var e;return null==this._cachedChildBindings&&(this._childBindings&&this._childBindings.length>0?this._cachedChildBindings=(e=[]).concat.apply(e,s(this._childBindings)):this._cachedChildBindings=[]),this._cachedChildBindings}},{key:"setPredicate",value:function(e){var t=this._validPredicate;this._isValidPredicateValue(e)?(this._statement.setPredicate(e),this._validPredicate=!0,!0!==t&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!0)):(this._validPredicate=!1,!1!==t&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!1)),this.updateAssertions()}},{key:"setValue",value:function(e){if("URI"!==this.getItem().getNodetype()||!this._statement)throw new Error("Cannot change the value of a group unless its nodetype is URI and also that it corresponds to a statement");var t=this._validObject;this._isValidObjectValue(e,"uri")?(this._validObject=!0,this._statement._o.type="uri",this._statement.setValue(e),this._constraints.forEach((function(t){return t.setSubject(e)})),this.getChildBindings().forEach((function(t){return t.setSubject(e)})),!t&&this._validPredicate&&this._notifyValidityChange(!0)):(this._validObject=!1,t&&this._validPredicate&&this._notifyValidityChange(!1))}},{key:"getPredicate",value:function(){return this._statement?this._statement.getPredicate():void 0}},{key:"remove",value:function(){this._oneValidChild=!1,this.setAncestorValid(!1),null!=this._parent&&this._parent.removeChildBinding(this),d(m(a.prototype),"remove",this).call(this,arguments)}},{key:"_isValid",value:function(){return"URI"===this.getItem().getNodetype()?this._validObject&&this._validPredicate:this._oneValidChild&&this._validPredicate&&this._validObject}},{key:"isValid",value:function(){return null==this._oneValidChild&&(this._oneValidChild=this._forceOneValidChildCheck()),this._isValid()}},{key:"setAncestorValid",value:function(e){var t=this;this._ancestorValid=e,this.updateAssertions(),this._childBindings.forEach((function(n){return n.forEach((function(n){return n.setAncestorValid(e&&t._isValid())}),t)}),this)}},{key:"updateAssertions",value:function(){null==this._oneValidChild&&this.isValid();var e=this._ancestorValid&&this._isValid();null!=this._statement&&this._statement.setAsserted(e),this._constraints.forEach((function(t){return t.setAsserted(e)})),this.getChildBindings().forEach((function(e){return e.updateAssertions()}))}},{key:"_forceOneValidChildCheck",value:function(){return this._childBindings.some((function(e){return e.some((function(e){return e.isValid()}))}))}},{key:"_notifyValidityChange",value:function(e){this._parent&&this._parent.oneChildValidityChanged(e)||(this.updateAssertions(),this._childBindings.forEach((function(t){return t.forEach((function(t){return t.setAncestorValid(e)}))})))}},{key:"_isValidObjectValue",value:function(e,t){return("URI"!==this.getItem().getNodetype()||"uri"===t)&&d(m(a.prototype),"_isValidObjectValue",this).call(this,e)}}])&&c(t.prototype,n),o&&c(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.default);t.default=g},function(e,t,n){n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(13),n(14),n(52),n(9),n(30),n(42),n(35),n(72),n(23),n(24),n(22);var o,r=n(96),i=(o=n(60))&&o.__esModule?o:{default:o};function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,i=void 0,i=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===a(i)?i:String(i)),o)}var r,i}var c=0,d=function(e,t,n){null==n||""===n||Array.isArray(n)&&0===n.length?delete e[t]:e[t]=n},u=function(){function e(t){var n=t.source,o=void 0===n?{}:n,r=t.bundle,a=t.itemStore;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._itemStore=a,this._source=o,this._bundle=r,c+=1,this._internalId=c,this._styles=["heading","invisible","invisibleGroup","stars","commentOn","multiline","horizontalRadioButtons","verticalRadioButtons","horizontalCheckBoxes","verticalCheckBoxes","nonEditable","expandable","compact","nonCompact","dropDown","table","firstcolumnfixedtable","tree","externalLink","internalLink","noLink","image","label","tooltip","strictmatch","relaxedDatatypeMatch","viewAllTranslations","filterTranslations","email","atLeastOneChild","atMostOneChild","exactlyOneChild","noLabelInPresent","autoInitDate","autoUpdateDate","autoUUID","autoValue","showURI","showLink","showValue","showDescriptionInPresent","showDescriptionInEdit","textAsChoice","preserveOrderOfChoices","linkWithLabel","deprecated","inline","truncate","noTruncate","card","cardInPresent","cardInEdit"],this._getLocalizedValue=i.default.getLocalizedValue}var t,n,o;return t=e,(n=[{key:"getId",value:function(){var e=this.getSource(!0);return e.id||e["@id"]}},{key:"setId",value:function(e){d(this.getSource(!0),"id",e),delete s["@id"]}},{key:"getType",value:function(e){var t=this.getSource(e);return t.type||t["@type"]}},{key:"setType",value:function(e){d(this.getSource(!0),"type",e),delete s["@type"],this.refreshExtends()}},{key:"getExtends",value:function(){return this.getSource(!0).extends||""}},{key:"refreshExtends",value:function(){this.isExtention&&this.setExtends(this.getExtends())}},{key:"setExtends",value:function(e){var t=this.getSource(!0),n=this._itemStore.getItem(e);this._source=null==n?t:this._itemStore.createExtendedSource(n.getSource(),t),""===e||null==e?delete t.extends:t.extends=e}},{key:"isExtention",value:function(){return null!=this.getExtends()}},{key:"_getText",value:function(e,t,n){var o=this.getSource(n);return t?i.default.getLocalizedValue(o[e]):i.default.getLocalizedValue(o[e]).value}},{key:"_setText",value:function(e,t,n){var o=this.getSource(!0);o[e]=this._setLangHash(o[e],t,n),this.refreshExtends()}},{key:"_setTextMap",value:function(e,t){d(this.getSource(!0),e,t),this.refreshExtends()}},{key:"getLabel",value:function(e,t){return this._getText("label",e,t)}},{key:"setLabel",value:function(e,t){this._setText("label",e,t)}},{key:"getLabelMap",value:function(e){return this.getSource(e).label}},{key:"setLabelMap",value:function(e){this._setTextMap("label",e)}},{key:"getEditLabel",value:function(e,t){return this._getText("editlabel",e,t)}},{key:"setEditLabel",value:function(e,t){this._setText("editlabel",e,t)}},{key:"getEditLabelMap",value:function(e){return this.getSource(e).editlabel}},{key:"setEditLabelMap",value:function(e){this._setTextMap("editlabel",e)}},{key:"getDescription",value:function(e,t){return this._getText("description",e,t)}},{key:"setDescription",value:function(e,t){this._setText("description",e,t)}},{key:"getDescriptionMap",value:function(e){return this.getSource(e).description}},{key:"setDescriptionMap",value:function(e){this._setTextMap("description",e)}},{key:"getEditDescription",value:function(e,t){return this._getText("editdescription",e,t)}},{key:"setEditDescription",value:function(e,t){this._setText("editdescription",e,t)}},{key:"getEditDescriptionMap",value:function(e){return this.getSource(e).editdescription}},{key:"setEditDescriptionMap",value:function(e){this._setTextMap("editdescription",e)}},{key:"getHelp",value:function(e,t){return this._getText("help",e,t)}},{key:"setHelp",value:function(e,t){this._setText("help",e,t)}},{key:"getHelpMap",value:function(e){return this.getSource(e).help}},{key:"setHelpMap",value:function(e){this._setTextMap("help",e)}},{key:"getPlaceholder",value:function(e,t){return this._getText("placeholder",e,t)}},{key:"setPlaceholder",value:function(e,t){this._setText("placeholder",e,t)}},{key:"getPlaceholderMap",value:function(e){return this.getSource(e).placeholder}},{key:"setPlaceholderMap",value:function(e){this._setTextMap("placeholder",e)}},{key:"getPurpose",value:function(e,t){return this._getText("purpose",e,t)}},{key:"setPurpose",value:function(e,t){this._setText("purpose",e,t)}},{key:"getPurposeMap",value:function(e){return this.getSource(e).purpose}},{key:"setPurposeMap",value:function(e){this._setTextMap("purpose",e)}},{key:"getSpecification",value:function(e,t){return this._getText("specification",e,t)}},{key:"setSpecification",value:function(e,t){this._setText("specification",e,t)}},{key:"getSpecificationMap",value:function(e){return this.getSource(e).specification}},{key:"setSpecificationMap",value:function(e){this._setTextMap("specification",e)}},{key:"getProperty",value:function(e){var t=null,n=this.getSource(e);return n&&null!=(t=n.property)&&""!==t&&(t=r.namespaces.expand(t)),t}},{key:"setProperty",value:function(e){d(this.getSource(!0),"property",e),this.refreshExtends()}},{key:"getURIValueLabelProperties",value:function(e){var t=this.getSource(e).uriValueLabelProperties;return null!=t?t.map((function(e){return r.namespaces.expand(e)})):t}},{key:"setURIValueLabelProperties",value:function(e){d(this.getSource(!0),"uriValueLabelProperties",e),this.refreshExtends()}},{key:"getConstraints",value:function(e){var t=this.getSource(e).constraints;if(null!=t){var n={};return Object.keys(t).forEach((function(e){var o=t[e];Array.isArray(o)?n[r.namespaces.expand(e)]=o.map((function(e){return r.namespaces.expand(e)})):n[r.namespaces.expand(e)]=r.namespaces.expand(o)})),n}return t}},{key:"setConstraints",value:function(e){d(this.getSource(!0),"constraints",e),this.refreshExtends()}},{key:"getDeps",value:function(e){var t=this.getSource(e).deps;return null!=t?t.map((function(e){return"*"!==e&&".."!==e?r.namespaces.expand(e):e})):t}},{key:"setDeps",value:function(e){d(this.getSource(!0),"deps",e),this.refreshExtends()}},{key:"getDatatype",value:function(e){var t=this.getSource(e).datatype;return null!=t&&""!==t?Array.isArray(t)?t.map((function(e){return r.namespaces.expand(e)})):r.namespaces.expand(t):t}},{key:"setDatatype",value:function(e){d(this.getSource(!0),"datatype",e),this.refreshExtends()}},{key:"getPattern",value:function(e){return this.getSource(e).pattern}},{key:"setPattern",value:function(e){d(this.getSource(!0),"pattern",e),this.refreshExtends()}},{key:"getLanguage",value:function(e){return this.getSource(e).language}},{key:"setLanguage",value:function(e){d(this.getSource(!0),"language",e),this.refreshExtends()}},{key:"getMember",value:function(e){return this.getSource(e).member}},{key:"setMember",value:function(e){d(this.getSource(!0),"member",e),this.refreshExtends()}},{key:"getNodetype",value:function(e){var t=this.getSource(e);return t.nodetype||t.nodeType}},{key:"setNodetype",value:function(e){d(this.getSource(!0),"nodetype",e),this.refreshExtends()}},{key:"getValue",value:function(e){return this.getSource(e).value}},{key:"setValue",value:function(e){d(this.getSource(!0),"value",e),this.refreshExtends()}},{key:"getValueTemplate",value:function(e){return this.getSource(e).valueTemplate}},{key:"setValueTemplate",value:function(e){d(this.getSource(!0),"valueTemplate",e),this.refreshExtends()}},{key:"getCardinality",value:function(e){if(!this.getProperty()&&"text"===this.getType())return{min:1,max:1};var t=this.getSource(e);return t&&"cardinality"in t?t.cardinality:this.getProperty()?{}:{max:1}}},{key:"setCardinality",value:function(e){d(this.getSource(!0),"cardinality",e),this.refreshExtends()}},{key:"isEnabled",value:function(e){var t=this.getSource(e);return null==t.enabled||t.enabled}},{key:"setEnabled",value:function(e){var t=this.getSource(!0);e?delete t.enabled:t.enabled=e,this.refreshExtends()}},{key:"getClasses",value:function(e){var t=this.getSource(e);return t&&"cls"in t?t.cls:[]}},{key:"setClasses",value:function(e){d(this.getSource(!0),"cls",e),this.refreshExtends()}},{key:"hasClass",value:function(e,t){var n=this.getSource(t);return!!this.hasStyle(e,t)||null!=n.cls&&n.cls.some((function(t){return t.toLowerCase()===e.toLowerCase()}))}},{key:"getAvailableStyles",value:function(){return this._styles}},{key:"getStyles",value:function(e){return this.getSource(e).styles||[]}},{key:"setStyles",value:function(e){d(this.getSource(!0),"styles",e),this.refreshExtends()}},{key:"hasStyle",value:function(e,t){var n=this.getSource(t);return!(!n||!("styles"in n))&&n.styles.some((function(t){return t.toLowerCase()===e.toLowerCase()}))}},{key:"getSource",value:function(e){if(!0===e)return this._source._extendedSource||this._source;if(!1===e){var t=this._itemStore.getItem(this.getExtends());return null==t?this._source:t.getSource()}return this._source}},{key:"getBundle",value:function(){return this._bundle}},{key:"toStringShort",value:function(){return"'".concat(this.getLabel(),"'").concat(this.getId()?" (ID: '".concat(this.getId(),"')"):"")}},{key:"toString",value:function(){var e=[];return this.getId()&&e.push("ID: '".concat(this.getId(),"'")),e.push("TYPE: '".concat(this.getType(),"'")),this.getProperty()&&e.push("PROPERTY: '".concat(this.getProperty(),"'")),this.getExtends()&&e.push("EXTENDS: '".concat(this.getExtends(),"'")),"'".concat(this.getLabel(),"' (").concat(e.join(", "),")")}},{key:"_setLangHash",value:function(e,t,n){var o=e||{};if("string"==typeof t)"string"==typeof n?o[n]=t:o[""]=t;else if("object"===a(t)&&null!==t)return t;return o}}])&&l(t.prototype,n),o&&l(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=u},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(39),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(30);var r,i=n(96),a=(r=n(225))&&r.__esModule?r:{default:r};function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function l(){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=c(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function c(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=b(e)););return e}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=b(e);if(t){var r=b(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){null!=e&&e.forEach((function(e){e.value=i.namespaces.expand(e.value)}))},m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(a,e);var t,n,o,r=u(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=r.call(this,e))._ontologyStore=e.ontologyStore,t}return t=a,(n=[{key:"getChoices",value:function(e){return this.getStaticChoices(e)||this.getDynamicChoices(e)||[]}},{key:"hasChoices",value:function(e){var t=this.getSource(e);return null!=t.ontologyUrl||null!=t.choices}},{key:"hasStaticChoices",value:function(e){return null!=this.getSource(e).choices}},{key:"getStaticChoices",value:function(e){var t=this.getSource(e);if(t.choices){var n=-1===this.getNodetype().indexOf("LITERAL");e&&this.isExtention()?this._origStaticIsSorted||(n&&p(t.choices),this._origStaticIsSorted=!0):this._staticIsSorted||(n&&p(t.choices),this._staticIsSorted=!0)}return t.choices}},{key:"setStaticChoices",value:function(e){var t=this.getSource(!0);t.choices!==e&&(null!=e&&(this._origStaticIsSorted=!0),t.choices=e,this.refreshExtends())}},{key:"setExtends",value:function(e){l(b(a.prototype),"setExtends",this).call(this,e),delete this._staticIsSorted,delete this._origStaticIsSorted}},{key:"getDynamicChoices",value:function(e){var t=this;if(null==this._dynamicChoices){if(null==e)return this._dynamicChoices=this._ontologyStore.getChoices(this),this._dynamicChoices;this._ontologyStore.getChoices(this,(function(n){t._dynamicChoices=n,null==t._dynamicChoices&&(console.log("Failed lookup of choices for ".concat(t.getLabel())),console.log("OntologyUrl is: ".concat(t._source.ontologyUrl))),e(t._dynamicChoices)}))}else{if(null==e)return this._dynamicChoices;e(this._dynamicChoices)}}},{key:"getOntologyUrl",value:function(e){var t=this.getSource(e).ontologyUrl;return null!=t&&""!==t?i.namespaces.expand(t):t}},{key:"setOntologyUrl",value:function(e){var t=this.getSource(!0);null==e||""===e?delete t.ontologyUrl:t.ontologyUrl=e,this.refreshExtends()}},{key:"getLabelProperties",value:function(e){return this.getSource(e).labelProperties||["http://www.w3.org/2000/01/rdf-schema#label"]}},{key:"getParentProperty",value:function(e){var t=this.getSource(e).parentProperty;return null!=t&&""!==t?i.namespaces.expand(t):t}},{key:"setParentProperty",value:function(e){var t=this.getSource(!0);null==e||""===e?delete t.parentProperty:t.parentProperty=e,this.refreshExtends()}},{key:"getHierarchyProperty",value:function(e){var t=this.getSource(e).hierarchyProperty;return null!=t&&""!==t?i.namespaces.expand(t):t}},{key:"setHierarchyProperty",value:function(e){var t=this.getSource(!0);null==e||""===e?delete t.hierarchyProperty:t.hierarchyProperty=e,this.refreshExtends()}},{key:"isParentPropertyInverted",value:function(e){return!0===this.getSource(e).isParentPropertyInverted}},{key:"setParentPropertyInverted",value:function(e){var t=this.getSource(!0);!0===e?t.isParentPropertyInverted=!0:delete t.isParentPropertyInverted,this.refreshExtends()}},{key:"isHierarchyPropertyInverted",value:function(e){return!0===this.getSource(e).isHierarchyPropertyInverted}},{key:"setHierarchyPropertyInverted",value:function(e){var t=this.getSource(!0);e?t.isHierarchyPropertyInverted=!0:delete t.isHierarchyPropertyInverted,this.refreshExtends()}}])&&s(t.prototype,n),o&&s(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.default);t.default=m},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(30),n(42),n(39);var r=a(n(174)),i=a(n(102));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function l(){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=c(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function c(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=b(e)););return e}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=b(e);if(t){var r=b(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p="http://www.w3.org/2000/01/rdf-schema#label",m="http://www.w3.org/2000/01/rdf-schema#seeAlso",g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(a,e);var t,n,o,r=u(a);function a(e){var t,n=e.choice,o=e.item,i=e.statement,s=e.matchingCode;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=r.call(this,{choice:n,item:o,statement:i,matchingCode:s}))._choice=n,t._validPredicate=null!=o.getProperty(),t}return t=a,o=[{key:"seeAlso",get:function(){return m}}],(n=[{key:"setChoice",value:function(e,t){this._choice=e,null==e?this.setValue(null,null,t):this.getValue()!==e.value&&this.setValue(e.value,e,t),e&&e.mismatch?this.setMatchingCode(i.default.WRONG_VALUE):e&&e.mismatch||this.getMatchingCode()!==i.default.WRONG_VALUE||this.setMatchingCode(i.default.OK)}},{key:"getChoice",value:function(){return this._choice}},{key:"setValue",value:function(e,t,n){var o=this.getValue();l(b(a.prototype),"setValue",this).call(this,e,t,n);var r=this._statement.getGraph();if(r.findAndRemove(o,p,void 0,n),r.findAndRemove(o,m,void 0,n),null!=e&&null!=t&&(t.seeAlso&&t.inlineSeeAlso&&r.create(e,m,t.seeAlso,!0,n),!0===t.inlineLabel)){var i=t.label||{};Object.keys(i).forEach((function(t){return r.create(e,p,{value:i[t],lang:t,type:"literal"},!0,n)}))}}}])&&s(t.prototype,n),o&&s(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.default);t.default=g},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},,,,,function(e,t,n){"use strict";n(38);var o=n(260),r=n(48),i=n(210),a=n(12),s=n(26),l=n(94),c=s("species"),d=RegExp.prototype;e.exports=function(e,t,n,u){var f=s(e),b=!a((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),p=b&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!b||!p||n){var m=o(/./[f]),g=t(f,""[e],(function(e,t,n,r,a){var s=o(e),l=t.exec;return l===i||l===d.exec?b&&!a?{done:!0,value:m(t,n,r)}:{done:!0,value:s(n,t,r)}:{done:!1}}));r(String.prototype,e,g[0]),r(d,f,g[1])}u&&l(d[f],"sham",!0)}},function(e,t,n){var o=n(29),r=n(31),i=n(27),a=n(67),s=n(210),l=TypeError;e.exports=function(e,t){var n=e.exec;if(i(n)){var c=o(n,e,t);return null!==c&&r(c),c}if("RegExp"===a(e))return o(s,e,t);throw l("RegExp#exec called on incompatible receiver")}},function(e,t,n){var o=n(19),r=n(88),i=n(43),a=n(241),s=o("".replace),l=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),d=function(e){return function(t){var n=i(r(t));return 1&e&&(n=s(n,l,"")),2&e&&(n=s(n,c,"$1")),n}};e.exports={start:d(1),end:d(2),trim:d(3)}},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(39),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(36),n(9);var r=s(n(91)),i=s(n(37)),a=s(n(413));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function d(){return(d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=u(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function u(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=m(e);if(t){var r=m(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t,n){if(0===n.length||t.hasStyle("invisible"))return!1;if(t.getProperty())return!e.filterItem(t);if("group"===t.getType()){var o=t.getChildren();return 0===o.length||!!n[0].getItemGroupedChildBindings().find((function(t,n){return g(e,o[n],t)}))}return!0},h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(s,e);var t,n,o,a=b(s);function s(){return l(this,s),a.apply(this,arguments)}return t=s,(n=[{key:"_handleParams",value:function(e){this.showLanguage=!1!==e.showLanguage,this.filterTranslations=!1!==e.filterTranslations,this.defaultLanguage=e.defaultLanguage,this.styleCls=e.styleCls||"rdformsPresenter",d(m(s.prototype),"_handleParams",this).call(this,e)}},{key:"showNow",value:function(e,t){return g(this,e,t)}},{key:"skipBinding",value:function(e){var t=e.getItem(),n="group"===t.getType();return!(!t.getProperty()&&n&&0===t.getChildren().length)&&n&&0===e.getChildBindings().length}},{key:"prepareBindings",value:function(e,t){return e.hasStyle("filterTranslations")||this.filterTranslations&&"LANGUAGE_LITERAL"===e.getNodetype()&&!e.hasStyle("viewAllTranslations")?i.default.filterTranslations(t,r.default.locale(),this.defaultLanguage):t}},{key:"addLabel",value:function(e,t,n){n.hasStyle("noLabelInPresent")?i.default.domClassToggle(e,"rdformsInvisibleGroup",!0):i.default.renderPresenterLabel(e,t,n,this.context)}},{key:"addTable",value:function(e,t){return i.default.addPresenterTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){return i.default.fillPresenterTable(e,t,{view:this})}},{key:"preRenderView",value:function(){i.default.prePresenterViewRenderer(this.domNode,this.binding,{view:this,topLevel:this.topLevel})}},{key:"addComponent",value:function(e,t){i.default.renderPresenter(e,t,this.context)}},{key:"truncateAt",value:function(e,t){return"group"!==e.getType()&&t&&t.length>this.truncateLimit&&(this.truncate||e.hasStyle("truncate"))&&!e.hasStyle("noTruncate")?this.truncateLimit:-1}}])&&c(t.prototype,n),o&&c(t,o),Object.defineProperty(t,"prototype",{writable:!1}),s}(a.default);t.default=h},,,,,function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(e,t,n){var o,r,i={},a=(o=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===r&&(r=o.apply(this,arguments)),r}),s=function(e){return document.querySelector(e)},l=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=s.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),c=null,d=0,u=[],f=n(421);function b(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=i[o.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](o.parts[a]);for(;a<o.parts.length;a++)r.parts.push(y(o.parts[a],t))}else{var s=[];for(a=0;a<o.parts.length;a++)s.push(y(o.parts[a],t));i[o.id]={id:o.id,refs:1,parts:s}}}}function p(e,t){for(var n=[],o={},r=0;r<e.length;r++){var i=e[r],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};o[a]?o[a].parts.push(s):n.push(o[a]={id:a,parts:[s]})}return n}function m(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=u[u.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),u.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=l(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,r)}}function g(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=u.indexOf(e);t>=0&&u.splice(t,1)}function h(e){var t=document.createElement("style");return e.attrs.type="text/css",v(t,e.attrs),m(e,t),t}function v(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function y(e,t){var n,o,r,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=d++;n=c||(c=h(t)),o=k.bind(null,n,a,!1),r=k.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",v(t,e.attrs),m(e,t),t}(t),o=C.bind(null,n,t),r=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=h(t),o=_.bind(null,n),r=function(){g(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return b(n,t),function(e){for(var o=[],r=0;r<n.length;r++){var a=n[r];(s=i[a.id]).refs--,o.push(s)}e&&b(p(e,t),t);for(r=0;r<o.length;r++){var s;if(0===(s=o[r]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var w,x=(w=[],function(e,t){return w[e]=t,w.filter(Boolean).join("\n")});function k(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=x(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function _(e,t){var n=t.css,o=t.media;if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function C(e,t,n){var o=n.css,r=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||i)&&(o=f(o)),r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},,,,function(e,t,n){var o=n(17),r=n(399).values;o({target:"Object",stat:!0},{values:function(e){return r(e)}})},function(e,t,n){n(400)},,,function(e,t,n){var o=n(104);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t){var n="object"==typeof document&&document.all,o=void 0===n&&void 0!==n;e.exports={all:n,IS_HTMLDDA:o}},function(e,t,n){var o=n(33),r=n(12),i=n(156);e.exports=!o&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var o=n(33),r=n(12);e.exports=o&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(e,t,n){var o=n(29),r=n(32),i=n(126),a=n(117),s=n(255),l=n(26),c=TypeError,d=l("toPrimitive");e.exports=function(e,t){if(!r(e)||i(e))return e;var n,l=a(e,d);if(l){if(void 0===t&&(t="default"),n=o(l,e,t),!r(n)||i(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},function(e,t,n){var o=n(29),r=n(27),i=n(32),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&r(n=e.toString)&&!i(s=o(n,e)))return s;if(r(n=e.valueOf)&&!i(s=o(n,e)))return s;if("string"!==t&&r(n=e.toString)&&!i(s=o(n,e)))return s;throw a("Can't convert object to primitive value")}},function(e,t,n){var o=n(19),r=n(12),i=n(27),a=n(28),s=n(33),l=n(127).CONFIGURABLE,c=n(205),d=n(66),u=d.enforce,f=d.get,b=String,p=Object.defineProperty,m=o("".slice),g=o("".replace),h=o([].join),v=s&&!r((function(){return 8!==p((function(){}),"length",{value:8}).length})),y=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===m(b(t),0,7)&&(t="["+g(b(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&a(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var o=u(e);return a(o,"source")||(o.source=h(y,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return i(this)&&f(this).source||c(this)}),"toString")},function(e,t,n){var o=n(21),r=n(27),i=o.WeakMap;e.exports=r(i)&&/native code/.test(String(i))},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var o=n(156)("span").classList,r=o&&o.constructor&&o.constructor.prototype;e.exports=r===Object.prototype?void 0:r},function(e,t,n){var o=n(67),r=n(19);e.exports=function(e){if("Function"===o(e))return r(e)}},function(e,t,n){var o=n(28),r=n(321),i=n(90),a=n(49);e.exports=function(e,t,n){for(var s=r(t),l=a.f,c=i.f,d=0;d<s.length;d++){var u=s[d];o(e,u)||n&&o(n,u)||l(e,u,c(t,u))}}},function(e,t,n){var o=n(19),r=n(28),i=n(57),a=n(263).indexOf,s=n(129),l=o([].push);e.exports=function(e,t){var n,o=i(e),c=0,d=[];for(n in o)!r(s,n)&&r(o,n)&&l(d,n);for(;t.length>c;)r(o,n=t[c++])&&(~a(d,n)||l(d,n));return d}},function(e,t,n){var o=n(57),r=n(163),i=n(77),a=function(e){return function(t,n,a){var s,l=o(t),c=i(l),d=r(a,c);if(e&&n!=n){for(;c>d;)if((s=l[d++])!=s)return!0}else for(;c>d;d++)if((e||d in l)&&l[d]===n)return e||d||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){"use strict";var o=n(31);e.exports=function(){var e=o(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},function(e,t,n){var o=n(12),r=n(21).RegExp,i=o((function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=i||o((function(){return!r("a","y").sticky})),s=i||o((function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i}},function(e,t,n){var o=n(33),r=n(253),i=n(49),a=n(31),s=n(57),l=n(133);t.f=o&&!r?Object.defineProperties:function(e,t){a(e);for(var n,o=s(t),r=l(t),c=r.length,d=0;c>d;)i.f(e,n=r[d++],o[n]);return e}},function(e,t,n){var o=n(55);e.exports=o("document","documentElement")},function(e,t,n){var o=n(12),r=n(21).RegExp;e.exports=o((function(){var e=r(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},function(e,t,n){var o=n(12),r=n(21).RegExp;e.exports=o((function(){var e=r("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},function(e,t,n){"use strict";var o=n(271).charAt;e.exports=function(e,t,n){return t+(n?o(e,t).length:1)}},function(e,t,n){var o=n(19),r=n(130),i=n(43),a=n(88),s=o("".charAt),l=o("".charCodeAt),c=o("".slice),d=function(e){return function(t,n){var o,d,u=i(a(t)),f=r(n),b=u.length;return f<0||f>=b?e?"":void 0:(o=l(u,f))<55296||o>56319||f+1===b||(d=l(u,f+1))<56320||d>57343?e?s(u,f):o:e?c(u,f,f+2):d-56320+(o-55296<<10)+65536}};e.exports={codeAt:d(!1),charAt:d(!0)}},function(e,t,n){"use strict";var o=n(17),r=n(235).trim;o({target:"String",proto:!0,forced:n(340)("trim")},{trim:function(){return r(this)}})},function(e,t,n){var o=n(32),r=n(67),i=n(26)("match");e.exports=function(e){var t;return o(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==r(e))}},function(e,t,n){var o=n(29),r=n(28),i=n(83),a=n(264),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||r(e,"flags")||!i(s,e)?t:o(a,e)}},function(e,t){var n=TypeError;e.exports=function(e){if(e>9007199254740991)throw n("Maximum allowed index exceeded");return e}},function(e,t,n){"use strict";var o=n(105),r=TypeError;e.exports=function(e,t){if(!delete e[t])throw r("Cannot delete property "+o(t)+" of "+o(e))}},function(e,t,n){var o=n(163),r=n(77),i=n(118),a=Array,s=Math.max;e.exports=function(e,t,n){for(var l=r(e),c=o(t,l),d=o(void 0===n?l:n,l),u=a(s(d-c,0)),f=0;c<d;c++,f++)i(u,f,e[c]);return u.length=f,u}},function(e,t,n){var o=n(67),r=n(57),i=n(108).f,a=n(277),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==o(e)?function(e){try{return i(e)}catch(e){return a(s)}}(e):i(r(e))}},function(e,t,n){var o=n(26);t.f=o},function(e,t,n){var o=n(21);e.exports=o},function(e,t,n){var o=n(29),r=n(55),i=n(26),a=n(48);e.exports=function(){var e=r("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return o(n,this)}),{arity:1})}},function(e,t,n){var o=n(104);e.exports=o&&!!Symbol.for&&!!Symbol.keyFor},function(e,t,n){"use strict";var o,r,i,a=n(12),s=n(27),l=n(32),c=n(95),d=n(167),u=n(48),f=n(26),b=n(64),p=f("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(r=d(d(i)))!==Object.prototype&&(o=r):m=!0),!l(o)||a((function(){var e={};return o[p].call(e)!==e}))?o={}:b&&(o=c(o)),s(o[p])||u(o,p,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:m}},function(e,t,n){var o=n(12);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var o=n(161),r=n(105),i=TypeError;e.exports=function(e){if(o(e))return e;throw i(r(e)+" is not a constructor")}},function(e,t,n){var o=n(12);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var o=n(26),r=n(137),i=o("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){var o=n(29),r=n(65),i=n(31),a=n(105),s=n(218),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(r(n))return i(o(n,e));throw l(a(e)+" is not iterable")}},function(e,t,n){var o=n(29),r=n(31),i=n(117);e.exports=function(e,t,n){var a,s;r(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=o(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return r(a),n}},function(e,t,n){"use strict";var o=n(95),r=n(134),i=n(220),a=n(107),s=n(171),l=n(71),c=n(138),d=n(215),u=n(216),f=n(213),b=n(33),p=n(170).fastKey,m=n(66),g=m.set,h=m.getterFor;e.exports={getConstructor:function(e,t,n,d){var u=e((function(e,r){s(e,f),g(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),b||(e.size=0),l(r)||c(r,e[d],{that:e,AS_ENTRIES:n})})),f=u.prototype,m=h(t),v=function(e,t,n){var o,r,i=m(e),a=y(e,t);return a?a.value=n:(i.last=a={index:r=p(t,!0),key:t,value:n,previous:o=i.last,next:void 0,removed:!1},i.first||(i.first=a),o&&(o.next=a),b?i.size++:e.size++,"F"!==r&&(i.index[r]=a)),e},y=function(e,t){var n,o=m(e),r=p(t);if("F"!==r)return o.index[r];for(n=o.first;n;n=n.next)if(n.key==t)return n};return i(f,{clear:function(){for(var e=m(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,b?e.size=0:this.size=0},delete:function(e){var t=m(this),n=y(this,e);if(n){var o=n.next,r=n.previous;delete t.index[n.index],n.removed=!0,r&&(r.next=o),o&&(o.previous=r),t.first==n&&(t.first=o),t.last==n&&(t.last=r),b?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=m(this),o=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(o(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),i(f,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),b&&r(f,"size",{configurable:!0,get:function(){return m(this).size}}),u},setStrong:function(e,t,n){var o=t+" Iterator",r=h(t),i=h(o);d(e,t,(function(e,t){g(this,{type:o,target:e,state:r(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?u("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,u(void 0,!0))}),n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){var o=n(172),r=o.find,i=o.NAMESPACE;function a(e){return""!==e}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function l(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(a):[]}(e);return Object.keys(t.reduce(s,{}))}function c(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function d(e,t){var n=e.prototype;if(!(n instanceof t)){function o(){}o.prototype=t.prototype,c(n,o=new o),e.prototype=n=o}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var u={},f=u.ELEMENT_NODE=1,b=u.ATTRIBUTE_NODE=2,p=u.TEXT_NODE=3,m=u.CDATA_SECTION_NODE=4,g=u.ENTITY_REFERENCE_NODE=5,h=u.ENTITY_NODE=6,v=u.PROCESSING_INSTRUCTION_NODE=7,y=u.COMMENT_NODE=8,w=u.DOCUMENT_NODE=9,x=u.DOCUMENT_TYPE_NODE=10,k=u.DOCUMENT_FRAGMENT_NODE=11,_=u.NOTATION_NODE=12,C={},T={},O=(C.INDEX_SIZE_ERR=(T[1]="Index size error",1),C.DOMSTRING_SIZE_ERR=(T[2]="DOMString size error",2),C.HIERARCHY_REQUEST_ERR=(T[3]="Hierarchy request error",3)),E=(C.WRONG_DOCUMENT_ERR=(T[4]="Wrong document",4),C.INVALID_CHARACTER_ERR=(T[5]="Invalid character",5),C.NO_DATA_ALLOWED_ERR=(T[6]="No data allowed",6),C.NO_MODIFICATION_ALLOWED_ERR=(T[7]="No modification allowed",7),C.NOT_FOUND_ERR=(T[8]="Not found",8)),S=(C.NOT_SUPPORTED_ERR=(T[9]="Not supported",9),C.INUSE_ATTRIBUTE_ERR=(T[10]="Attribute in use",10));C.INVALID_STATE_ERR=(T[11]="Invalid state",11),C.SYNTAX_ERR=(T[12]="Syntax error",12),C.INVALID_MODIFICATION_ERR=(T[13]="Invalid modification",13),C.NAMESPACE_ERR=(T[14]="Invalid namespace",14),C.INVALID_ACCESS_ERR=(T[15]="Invalid access",15);function D(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,T[e]),this.message=T[e],Error.captureStackTrace&&Error.captureStackTrace(this,D);return n.code=e,t&&(this.message=this.message+": "+t),n}function j(){}function N(e,t){this._node=e,this._refresh=t,A(this)}function A(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);he(e,"length",n.length),c(n,e),e._inc=t}}function I(){}function M(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function L(e,t,n,o){if(o?t[M(t,o)]=n:t[t.length++]=n,e){n.ownerElement=e;var r=e.ownerDocument;r&&(o&&Y(r,e,o),function(e,t,n){e&&e._inc++,n.namespaceURI===i.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(r,e,n))}}function P(e,t,n){var o=M(t,n);if(!(o>=0))throw new D(E,new Error(e.tagName+"@"+n));for(var r=t.length-1;o<r;)t[o]=t[++o];if(t.length=r,e){var i=e.ownerDocument;i&&(Y(i,e,n),n.ownerElement=null)}}function R(){}function z(){}function F(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function B(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(B(e,t))return!0}while(e=e.nextSibling)}function V(){this.ownerDocument=this}function Y(e,t,n,o){e&&e._inc++,n.namespaceURI===i.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function $(e,t,n){if(e&&e._inc){e._inc++;var o=t.childNodes;if(n)o[o.length++]=n;else{for(var r=t.firstChild,i=0;r;)o[i++]=r,r=r.nextSibling;o.length=i,delete o[o.length]}}}function U(e,t){var n=t.previousSibling,o=t.nextSibling;return n?n.nextSibling=o:e.firstChild=o,o?o.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,$(e.ownerDocument,e),t}function H(e){return e&&e.nodeType===z.DOCUMENT_TYPE_NODE}function G(e){return e&&e.nodeType===z.ELEMENT_NODE}function W(e){return e&&e.nodeType===z.TEXT_NODE}function q(e,t){var n=e.childNodes||[];if(r(n,G)||H(t))return!1;var o=r(n,H);return!(t&&o&&n.indexOf(o)>n.indexOf(t))}function Q(e,t){var n=e.childNodes||[];if(r(n,(function(e){return G(e)&&e!==t})))return!1;var o=r(n,H);return!(t&&o&&n.indexOf(o)>n.indexOf(t))}function X(e,t,n){if(!function(e){return e&&(e.nodeType===z.DOCUMENT_NODE||e.nodeType===z.DOCUMENT_FRAGMENT_NODE||e.nodeType===z.ELEMENT_NODE)}(e))throw new D(O,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new D(E,"child not in parent");if(!function(e){return e&&(G(e)||W(e)||H(e)||e.nodeType===z.DOCUMENT_FRAGMENT_NODE||e.nodeType===z.COMMENT_NODE||e.nodeType===z.PROCESSING_INSTRUCTION_NODE)}(t)||H(t)&&e.nodeType!==z.DOCUMENT_NODE)throw new D(O,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function Z(e,t,n){var o=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===z.DOCUMENT_FRAGMENT_NODE){var a=i.filter(G);if(a.length>1||r(i,W))throw new D(O,"More than one element or text in fragment");if(1===a.length&&!q(e,n))throw new D(O,"Element in fragment can not be inserted before doctype")}if(G(t)&&!q(e,n))throw new D(O,"Only one element can be added and only after doctype");if(H(t)){if(r(o,H))throw new D(O,"Only one doctype is allowed");var s=r(o,G);if(n&&o.indexOf(s)<o.indexOf(n))throw new D(O,"Doctype can only be inserted before an element");if(!n&&s)throw new D(O,"Doctype can not be appended since element is present")}}function K(e,t,n){var o=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===z.DOCUMENT_FRAGMENT_NODE){var a=i.filter(G);if(a.length>1||r(i,W))throw new D(O,"More than one element or text in fragment");if(1===a.length&&!Q(e,n))throw new D(O,"Element in fragment can not be inserted before doctype")}if(G(t)&&!Q(e,n))throw new D(O,"Only one element can be added and only after doctype");if(H(t)){if(r(o,(function(e){return H(e)&&e!==n})))throw new D(O,"Only one doctype is allowed");var s=r(o,G);if(n&&o.indexOf(s)<o.indexOf(n))throw new D(O,"Doctype can only be inserted before an element")}}function J(e,t,n,o){X(e,t,n),e.nodeType===z.DOCUMENT_NODE&&(o||Z)(e,t,n);var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===k){var i=t.firstChild;if(null==i)return t;var a=t.lastChild}else i=a=t;var s=n?n.previousSibling:e.lastChild;i.previousSibling=s,a.nextSibling=n,s?s.nextSibling=i:e.firstChild=i,null==n?e.lastChild=a:n.previousSibling=a;do{i.parentNode=e}while(i!==a&&(i=i.nextSibling));return $(e.ownerDocument||e,e),t.nodeType==k&&(t.firstChild=t.lastChild=null),t}function ee(){this._nsMap={}}function te(){}function ne(){}function oe(){}function re(){}function ie(){}function ae(){}function se(){}function le(){}function ce(){}function de(){}function ue(){}function fe(){}function be(e,t){var n=[],o=9==this.nodeType&&this.documentElement||this,r=o.prefix,i=o.namespaceURI;if(i&&null==r&&null==(r=o.lookupPrefix(i)))var a=[{namespace:i,prefix:null}];return ge(this,n,e,t,a),n.join("")}function pe(e,t,n){var o=e.prefix||"",r=e.namespaceURI;if(!r)return!1;if("xml"===o&&r===i.XML||r===i.XMLNS)return!1;for(var a=n.length;a--;){var s=n[a];if(s.prefix===o)return s.namespace!==r}return!0}function me(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,F),'"')}function ge(e,t,n,o,r){if(r||(r=[]),o){if(!(e=o(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case f:var a=e.attributes,s=a.length,l=e.firstChild,c=e.tagName,d=c;if(!(n=i.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var u,h=0;h<a.length;h++)if("xmlns"===a.item(h).name){u=a.item(h).value;break}if(!u)for(var _=r.length-1;_>=0;_--){if(""===(C=r[_]).prefix&&C.namespace===e.namespaceURI){u=C.namespace;break}}if(u!==e.namespaceURI)for(_=r.length-1;_>=0;_--){var C;if((C=r[_]).namespace===e.namespaceURI){C.prefix&&(d=C.prefix+":"+c);break}}}t.push("<",d);for(var T=0;T<s;T++){"xmlns"==(O=a.item(T)).prefix?r.push({prefix:O.localName,namespace:O.value}):"xmlns"==O.nodeName&&r.push({prefix:"",namespace:O.value})}for(T=0;T<s;T++){var O,E,S;if(pe(O=a.item(T),0,r))me(t,(E=O.prefix||"")?"xmlns:"+E:"xmlns",S=O.namespaceURI),r.push({prefix:E,namespace:S});ge(O,t,n,o,r)}if(c===d&&pe(e,0,r))me(t,(E=e.prefix||"")?"xmlns:"+E:"xmlns",S=e.namespaceURI),r.push({prefix:E,namespace:S});if(l||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(c)){if(t.push(">"),n&&/^script$/i.test(c))for(;l;)l.data?t.push(l.data):ge(l,t,n,o,r.slice()),l=l.nextSibling;else for(;l;)ge(l,t,n,o,r.slice()),l=l.nextSibling;t.push("</",d,">")}else t.push("/>");return;case w:case k:for(l=e.firstChild;l;)ge(l,t,n,o,r.slice()),l=l.nextSibling;return;case b:return me(t,e.name,e.value);case p:return t.push(e.data.replace(/[<&>]/g,F));case m:return t.push("<![CDATA[",e.data,"]]>");case y:return t.push("\x3c!--",e.data,"--\x3e");case x:var D=e.publicId,j=e.systemId;if(t.push("<!DOCTYPE ",e.name),D)t.push(" PUBLIC ",D),j&&"."!=j&&t.push(" ",j),t.push(">");else if(j&&"."!=j)t.push(" SYSTEM ",j,">");else{var N=e.internalSubset;N&&t.push(" [",N,"]"),t.push(">")}return;case v:return t.push("<?",e.target," ",e.data,"?>");case g:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function he(e,t,n){e[t]=n}D.prototype=Error.prototype,c(C,D),j.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],o=0;o<this.length;o++)ge(this[o],n,e,t);return n.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},N.prototype.item=function(e){return A(this),this[e]},d(N,j),I.prototype={length:0,item:j.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new D(S);var n=this.getNamedItem(e.nodeName);return L(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new D(S);return t=this.getNamedItemNS(e.namespaceURI,e.localName),L(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return P(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return P(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var o=this[n];if(o.localName==t&&o.namespaceURI==e)return o}return null}},R.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var o=new V;if(o.implementation=this,o.childNodes=new j,o.doctype=n||null,n&&o.appendChild(n),t){var r=o.createElementNS(e,t);o.appendChild(r)}return o},createDocumentType:function(e,t,n){var o=new ae;return o.name=e,o.nodeName=e,o.publicId=t||"",o.systemId=n||"",o}},z.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return J(this,e,t)},replaceChild:function(e,t){J(this,e,t,K),t&&this.removeChild(t)},removeChild:function(e){return U(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,n,o){var r=new n.constructor;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var a=n[i];"object"!=typeof a&&a!=r[i]&&(r[i]=a)}n.childNodes&&(r.childNodes=new j);switch(r.ownerDocument=t,r.nodeType){case f:var s=n.attributes,l=r.attributes=new I,c=s.length;l._ownerElement=r;for(var d=0;d<c;d++)r.setAttributeNode(e(t,s.item(d),!0));break;case b:o=!0}if(o)for(var u=n.firstChild;u;)r.appendChild(e(t,u,o)),u=u.nextSibling;return r}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==p&&e.nodeType==p?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)&&n[o]===e)return o;t=t.nodeType==b?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==b?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},c(u,z),c(u,z.prototype),V.prototype={nodeName:"#document",nodeType:w,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==k){for(var n=e.firstChild;n;){var o=n.nextSibling;this.insertBefore(n,t),n=o}return e}return J(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===f&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),U(this,e)},replaceChild:function(e,t){J(this,e,t,K),e.ownerDocument=this,t&&this.removeChild(t),G(e)&&(this.documentElement=e)},importNode:function(e,t){return function e(t,n,o){var r;switch(n.nodeType){case f:(r=n.cloneNode(!1)).ownerDocument=t;case k:break;case b:o=!0}r||(r=n.cloneNode(!1));if(r.ownerDocument=t,r.parentNode=null,o)for(var i=n.firstChild;i;)r.appendChild(e(t,i,o)),i=i.nextSibling;return r}(this,e,t)},getElementById:function(e){var t=null;return B(this.documentElement,(function(n){if(n.nodeType==f&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=l(e);return new N(this,(function(n){var o=[];return t.length>0&&B(n.documentElement,(function(r){if(r!==n&&r.nodeType===f){var i=r.getAttribute("class");if(i){var a=e===i;if(!a){var s=l(i);a=t.every((c=s,function(e){return c&&-1!==c.indexOf(e)}))}a&&o.push(r)}}var c})),o}))},createElement:function(e){var t=new ee;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new j,(t.attributes=new I)._ownerElement=t,t},createDocumentFragment:function(){var e=new de;return e.ownerDocument=this,e.childNodes=new j,e},createTextNode:function(e){var t=new oe;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new ue;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new te;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ce;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new ee,o=t.split(":"),r=n.attributes=new I;return n.childNodes=new j,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==o.length?(n.prefix=o[0],n.localName=o[1]):n.localName=t,r._ownerElement=n,n},createAttributeNS:function(e,t){var n=new te,o=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==o.length?(n.prefix=o[0],n.localName=o[1]):n.localName=t,n}},d(V,z),ee.prototype={nodeType:f,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===k?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,$(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var o=this.ownerDocument.createAttributeNS(e,t);o.value=o.nodeValue=""+n,this.setAttributeNode(o)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new N(this,(function(t){var n=[];return B(t,(function(o){o===t||o.nodeType!=f||"*"!==e&&o.tagName!=e||n.push(o)})),n}))},getElementsByTagNameNS:function(e,t){return new N(this,(function(n){var o=[];return B(n,(function(r){r===n||r.nodeType!==f||"*"!==e&&r.namespaceURI!==e||"*"!==t&&r.localName!=t||o.push(r)})),o}))}},V.prototype.getElementsByTagName=ee.prototype.getElementsByTagName,V.prototype.getElementsByTagNameNS=ee.prototype.getElementsByTagNameNS,d(ee,z),te.prototype.nodeType=b,d(te,z),ne.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(T[O])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},d(ne,z),oe.prototype={nodeName:"#text",nodeType:p,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var o=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(o,this.nextSibling),o}},d(oe,ne),re.prototype={nodeName:"#comment",nodeType:y},d(re,ne),ie.prototype={nodeName:"#cdata-section",nodeType:m},d(ie,ne),ae.prototype.nodeType=x,d(ae,z),se.prototype.nodeType=_,d(se,z),le.prototype.nodeType=h,d(le,z),ce.prototype.nodeType=g,d(ce,z),de.prototype.nodeName="#document-fragment",de.prototype.nodeType=k,d(de,z),ue.prototype.nodeType=v,d(ue,z),fe.prototype.serializeToString=function(e,t,n){return be.call(e,t,n)},z.prototype.toString=be;try{if(Object.defineProperty){Object.defineProperty(N.prototype,"length",{get:function(){return A(this),this.$$length}}),Object.defineProperty(z.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case f:case k:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case f:case k:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),he=function(e,t,n){e["$$"+t]=n}}}catch(e){}t.DocumentType=ae,t.DOMException=D,t.DOMImplementation=R,t.Element=ee,t.Node=z,t.NodeList=j,t.XMLSerializer=fe},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(101),n(42),n(36),n(35),n(30),n(11),n(247),n(15),n(16),n(13),n(14),n(18);var r=function(e){return void 0!==e&&(null===e||"object"===o(e)||Array.isArray(e)||"function"==typeof e)},i=function(e){return"string"==typeof e||e instanceof String},a=function(e,t,n){0===e[t][n].length&&(delete e[t][n],0===Object.keys(e[t]).length&&delete e[t])},s=function(e){if(!r(e[0]))throw new Error("Graph is not a object.");if(!i(e[1]))throw new Error("Subject is not a string.");if(!i(e[2]))throw new Error("Predicate is not a string.");if(!r(e[3]))throw new Error("Object is not a object.");if(void 0===e[3].type)throw new Error("Object has no type attribute, must be one of 'uri', 'literal', or 'bnode'");if(void 0===e[3].value)throw new Error("Object has no value attribute corresponding to the lexical value of the object.")},l=function(e,t){return e===t||null==e&&e===t||(i(e)?i(t)?e===t:e===t.value:i(t)?e.value===t:e.type===t.type&&e.value===t.value&&e.lang===t.lang&&e.datatype===t.datatype)},c=function(e){var t={type:e.type,value:e.value};return null!=e.ng&&(t.ng=e.ng),null!=e.lang&&(t.lang=e.lang),null!=e.datatype&&(t.datatype=e.datatype),t},d=function(e){return"".concat(e.value).concat(e.type).concat(e.lang||"").concat(e.datatype||"").concat(e.ng||"")},u={isObject:r,isString:i,isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},statementEquals:function(e,t){return e.s===t.s&&e.p===t.p&&l(e.o,t.o)},add:function(e,t,n,o,r){if(s([e,t,n,o]),void 0===e[t])return e[t]={},e[t][n]=[o],o;if(void 0===e[t][n])return e[t][n]=[o],o;var i,a=e[t][n];if(!r)for(i=a.length-1;i>=0;i--)if(l(o,a[i]))return a[i];return a.push(o),o},remove:function(e,t,n,o){if(s([e,t,n,o]),void 0!==e[t]&&void 0!==e[t][n]){var r,i=e[t][n];for(r=i.length-1;r>=0;r--)if(l(o,i[r])){var c=i[r];return i.splice(r,1),a(e,t,n),c}}},contains:function(e,t,n,o){if(s([e,t,n,o]),void 0!==e[t]&&void 0!==e[t][n]){var r,i=e[t][n];for(r=i.length-1;r>=0;r--)if(l(o,i[r]))return i[r]}},cleanup:a,checkForWrongArgs:s,objectEquals:l,findDirectOrRDFValue:function(e,t,n){var o=e.find(t,n);if(o.length>0)return"bnode"!==o[0].getType()?o[0].getValue():e.findFirstValue(o[0].getValue(),"http://www.w3.org/1999/02/22-rdf-syntax-ns#value")},clone:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={};return Object.keys(e).forEach((function(o){var r=e[o];n[o]={},Object.keys(r).forEach((function(e){var i=r[e];if(1===i.length)n[o][e]=[c(i[0])];else if(t){var a=[],s=new Set;n[o][e]=a,r[e].forEach((function(e){var t=c(e),n=d(t);s.has(n)||(s.add(n),a.push(t))}))}else{var l=[];n[o][e]=l,r[e].forEach((function(e){l.push(c(e))}))}}))})),n}};t.default=u},function(e,t,n){n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(23),n(24),n(13),n(14),n(9),n(22);var o,r=(o=n(109))&&o.__esModule?o:{default:o};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,a=void 0,a=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===i(a)?a:String(a)),o)}var r,a}var s=function(){function e(t,n,o,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._graph=t,this._s=n,this._p=o,this._o=r,this._o._statement=this,this._asserted=i}var t,n,o;return t=e,(n=[{key:"getGraph",value:function(){return this._graph}},{key:"setAsserted",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e!==this._asserted&&(e?this._graph.add(this,void 0,void 0,this._silentValue,t):this._graph.remove(this,this._silentValue),this._asserted=e)}},{key:"isAsserted",value:function(){return this._asserted}},{key:"getSubject",value:function(){return this._s}},{key:"isSubjectBlank",value:function(){return!0!==this._sIsBlank&&!1!==this._sIsBlank&&(this._sIsBlank=0===this._s.indexOf("_:")),this._sIsBlank}},{key:"isObjectBlank",value:function(){return"bnode"===this.getType()}},{key:"setSubject",value:function(e){this._silentValue=!1;var t=r.default.expand(e);this._asserted?(this._graph.remove(this),this._s=t,this._graph.add(this),delete this._sIsBlank):this._s=t}},{key:"getPredicate",value:function(){return this._p}},{key:"setPredicate",value:function(e){this._silentValue=!1;var t=r.default.expand(e);this._asserted?(this._graph.remove(this),this._p=t,this._graph.add(this)):this._p=t}},{key:"getNamedGraph",value:function(){return this._o.ng}},{key:"setNamedGraph",value:function(e){this._o.ng=e}},{key:"getObject",value:function(){return this._o}},{key:"getCleanObject",value:function(){var e=this._o,t={value:e.value,type:e.type};return this._o.ng&&(t.ng=e.ng),e.lang&&(t.lang=e.lang),this._o.datatype&&(t.datatype=e.datatype),t}},{key:"getType",value:function(){return this._o.type}},{key:"setType",value:function(e){throw new Error("Changing the type of an object is not supported, create a new statement instead.")}},{key:"getValue",value:function(){return this._o.value}},{key:"setValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._silentValue=!0===t,e!==this._o.value&&(this._o.value=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}},{key:"getLanguage",value:function(){return this._o.lang}},{key:"setLanguage",value:function(e,t){if(this._silentValue=!0===t,"literal"!==this._o.type)throw new Error("Cannot set the language for a resource, has to be a literal");this._o.lang!==e&&(this._o.lang=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}},{key:"getDatatype",value:function(){return this._o.datatype}},{key:"setDatatype",value:function(e,t){if(this._silentValue=!0===t,"literal"!==this._o.type||null!=this._o.lang)throw new Error("Cannot set the datatype for a resource, has to be a literal");this._o.datatype!==e&&(this._o.datatype=e,this.isAsserted()&&!0!==t&&this._graph.setChanged())}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(30),n(36),n(11),n(247),n(15),n(16),n(52),n(246),n(122),n(72);var o=i(n(109)),r=i(n(401));function i(e){return e&&e.__esModule?e:{default:e}}var a={extract:function e(t,n,o,r,i){var a=r||{};return t.find(o,null,null).forEach((function(o){a[o.getPredicate()]?i&&n.add(o):(n.add(o),"bnode"===o.getType()&&e(t,n,o.getValue(),a))})),n},remove:function e(t,n,o){var r=o||{};t.find(n,null,null).forEach((function(n){t.remove(n),r[n.getPredicate()]||"bnode"===n.getType()&&e(t,n.getValue(),r)}))},fingerprint:function(e,t){var n=[],i=new Set((t||[]).map((function(e){return o.default.expand(e)}))),a=[],s={},l=function(e){var t=e.getValue();return e.getLanguage()&&(t+="@".concat(e.getLanguage())),e.getDatatype()&&(t+="^^".concat(e.getDatatype())),t},c=function(e,t){var n=s[e]||{rels:[]};s[e]=n,n.rels.push(t)};return e.find().forEach((function(e){var t=e.getSubject(),o=e.getPredicate();if(!i.has(o)){var r="bnode"===e.getType(),s=e.isSubjectBlank();if(s||r)return a.push(e),s&&c(e.getSubject(),r?o:o+l(e)),void("bnode"===e.getType()&&c(e.getValue(),s?o:t+o));n.push(t+o+l(e))}})),Object.values(s).forEach((function(e){e.rels.sort(),e.hash=(0,r.default)(e.rels.join(""))})),a.forEach((function(e){var t=[];t.push(e.isSubjectBlank()?s[e.getSubject()].hash:e.getSubject()),t.push(e.getPredicate()),t.push("bnode"===e.getType()?s[e.getValue()].hash:l(e)),n.push(t.join(""))})),n.sort(),(0,r.default)(n.join(""))}};t.default=a},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){n(72),Object.defineProperty(t,"__esModule",{value:!0}),t.protocol=t.join=t.docpart=void 0,n(56),n(38),n(147),n(97);t.join=function(e,t){var n=t.indexOf("#");if(n>0&&(t=t.slice(0,n)),0==e.length)return t;if(0==e.indexOf("#"))return t+e;if(e.indexOf(":")>=0)return e;var o=t.indexOf(":");if(o<0)return console.log("Invalid base URL "+t),e;var r,i=t.slice(0,o+1);if(0==e.indexOf("//"))return i+e;if(t.indexOf("//",o)==o+1){if((r=t.indexOf("/",o+3))<0)return t.length-o-3>0?t+"/"+e:i+e}else if((r=t.indexOf("/",o+1))<0)return t.length-o-1>0?t+"/"+e:i+e;if(0==e.indexOf("/"))return t.slice(0,r)+e;var a=t.slice(r),s=a.lastIndexOf("/");if(s<0)return i+e;for(s>=0&&s<a.length-1&&(a=a.slice(0,s+1)),a+=e;a.match(/[^\/]*\/\.\.\//);)a=a.replace(/[^\/]*\/\.\.\//,"");return a=a.replace(/\.\//g,""),t.slice(0,r)+a};t.docpart=function(e){var t=e.indexOf("#");return t<0?e:e.slice(0,t)};t.protocol=function(e){return e.slice(0,e.indexOf(":"))}},function(e,t,n){n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(38),n(97),n(101),n(145),n(89),n(23),n(24),n(13),n(14),n(9),n(22);var o,r=(o=n(60))&&o.__esModule?o:{default:o};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,a=void 0,a=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===i(a)?a:String(a)),o)}var r,a}var s=0,l=function(){function e(t){var n=t.item,o=t.statement,r=t.graph,i=t.matchingCode;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._item=n,this._statement=o,this._graph=r,this._ancestorValid=!0,this._cardinalityTracker=null,this._hash="b_".concat(s),this._matchingCode=i||"correct",s+=1}var t,n,o;return t=e,(n=[{key:"getGraph",value:function(){return this._graph||(this._statement?this._graph=this._statement.getGraph():this._parent&&(this._graph=this._parent.getGraph())),this._graph}},{key:"isReadOnly",value:function(){if(!("_readOnly"in this)){var e=this.getParent();e&&e._readOnly?this._readyOnly=!0:this._readOnly=!(!this._statement||!this._statement.getNamedGraph())}return this._readOnly}},{key:"remove",value:function(){}},{key:"setSubject",value:function(e){}},{key:"getValue",value:function(){}},{key:"setValue",value:function(e,t){}},{key:"getGist",value:function(){return r.default.extractGist(this.getValue(),this.getItem().getValueTemplate())}},{key:"setGist",value:function(e,t){var n=e,o=this.getItem().getValueTemplate();o&&n.length>0&&(-1===o.indexOf("$1")&&(o+="$1"),n=o.replace("$1",n)),this.setValue(n,t)}},{key:"getCardinalityTracker",value:function(){return this._cardinalityTracker}},{key:"setCardinalityTracker",value:function(e){this._cardinalityTracker=e}},{key:"getItem",value:function(){return this._item}},{key:"getStatement",value:function(){return this._statement}},{key:"getParent",value:function(){return this._parent}},{key:"setParent",value:function(e){this._parent=e}},{key:"isValid",value:function(){}},{key:"getMatchingCode",value:function(){return this._matchingCode}},{key:"setMatchingCode",value:function(e){this._matchingCode=e}},{key:"setAncestorValid",value:function(e){this._ancestorValid=e,this.updateAssertions()}},{key:"updateAssertions",value:function(){}},{key:"getHash",value:function(){return this._hash}},{key:"addListener",value:function(e){this._listeners||(this._listeners=[]),this._listeners.push(e)}},{key:"removeListener",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}},{key:"bindingChange",value:function(e){if(this._listeners)for(var t=0;t<this._listeners.length;t++)this._listeners[t](e);this._parent&&this._parent.bindingChange(e),this._cardinalityTracker&&this._cardinalityTracker.touch()}},{key:"_isValidObjectValue",value:function(e){var t=e;if("string"!=typeof t&&null!==t)throw new Error("In a binding every object value need to be a string!");var n=this._item.getPattern();return n?null!=(t=r.default.extractGist(t,this.getItem().getValueTemplate()))&&""!==t&&new RegExp("^".concat(n,"$")).test(t):null!=t&&""!==t}},{key:"_isValidPredicateValue",value:function(e){if("string"!=typeof e&&null!==e)throw new Error("In a binding every predicate need to be a string!");return null!=e&&""!==e}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=l},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function s(){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=l(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function l(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=f(e);if(t){var r=f(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(9),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(52),n(39);var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(l,e);var t,n,o,r=d(l);function l(){return i(this,l),r.apply(this,arguments)}return t=l,(n=[{key:"getChildren",value:function(e){if(null==this._delegatedChildren){var t=function(){return{min:1,max:1,pref:1}},n=s(f(l.prototype),"getChildren",this).call(this,e)||[];this._delegatedChildren=n.map((function(e){var n=Object.create(e);return n.getCardinality=t,n}))}return this._delegatedChildren}},{key:"getPropertyItem",value:function(){return this.getChildren()[0]}},{key:"getObjectItem",value:function(){return this.getChildren()[1]}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(((r=n(173))&&r.__esModule?r:{default:r}).default);t.default=b},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function s(e,t){return(s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=d(e);if(t){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(9),n(44),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(39);var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}(c,e);var t,n,o,r=l(c);function c(){return i(this,c),r.apply(this,arguments)}return t=c,(n=[{key:"getLabelProperties",value:function(e){return this.getSource(e).labelProperties}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),c}(((r=n(225))&&r.__esModule?r:{default:r}).default);t.default=u},function(e,t,n){var o,r,i,a,s=n(21),l=n(166),c=n(107),d=n(27),u=n(28),f=n(12),b=n(267),p=n(165),m=n(156),g=n(435),h=n(301),v=n(175),y=s.setImmediate,w=s.clearImmediate,x=s.process,k=s.Dispatch,_=s.Function,C=s.MessageChannel,T=s.String,O=0,E={};f((function(){o=s.location}));var S=function(e){if(u(E,e)){var t=E[e];delete E[e],t()}},D=function(e){return function(){S(e)}},j=function(e){S(e.data)},N=function(e){s.postMessage(T(e),o.protocol+"//"+o.host)};y&&w||(y=function(e){g(arguments.length,1);var t=d(e)?e:_(e),n=p(arguments,1);return E[++O]=function(){l(t,void 0,n)},r(O),O},w=function(e){delete E[e]},v?r=function(e){x.nextTick(D(e))}:k&&k.now?r=function(e){k.now(D(e))}:C&&!h?(a=(i=new C).port2,i.port1.onmessage=j,r=c(a.postMessage,a)):s.addEventListener&&d(s.postMessage)&&!s.importScripts&&o&&"file:"!==o.protocol&&!f(N)?(r=N,s.addEventListener("message",j,!1)):r="onreadystatechange"in m("script")?function(e){b.appendChild(m("script")).onreadystatechange=function(){b.removeChild(this),S(e)}}:function(e){setTimeout(D(e),0)}),e.exports={set:y,clear:w}},function(e,t,n){var o=n(93);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(o)},function(e,t){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=n},function(e,t){e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},function(e,t,n){var o=n(139),r=n(219),i=n(140).CONSTRUCTOR;e.exports=i||!r((function(e){o.all(e).then(void 0,(function(){}))}))},,function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){"use strict";(function(e){var o=n(34),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=r&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===r?o.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,o=s?s(n):new e.constructor(n);return e.copy(o),o}}).call(this,n(222)(e))},,,,,,,,,,,,,,function(e,t,n){var o=n(55),r=n(19),i=n(108),a=n(164),s=n(31),l=r([].concat);e.exports=o("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?l(t,n(e)):t}},,,,,,,,,,,,,,,,,,function(e,t,n){n(366)},function(e,t,n){var o=n(127).PROPER,r=n(12),i=n(241);e.exports=function(e){return r((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||o&&i[e].name!==e}))}},function(e,t,n){"use strict";n.r(t),n.d(t,"Headers",(function(){return p})),n.d(t,"Request",(function(){return x})),n.d(t,"Response",(function(){return _})),n.d(t,"DOMException",(function(){return T})),n.d(t,"fetch",(function(){return O}));var o="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==o&&o,r="URLSearchParams"in o,i="Symbol"in o&&"iterator"in Symbol,a="FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch(e){return!1}}(),s="FormData"in o,l="ArrayBuffer"in o;if(l)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function f(e){return"string"!=typeof e&&(e=String(e)),e}function b(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function m(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function g(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function h(e){var t=new FileReader,n=g(t);return t.readAsArrayBuffer(e),n}function v(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:a&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:s&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():l&&a&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=v(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):l&&(ArrayBuffer.prototype.isPrototypeOf(e)||d(e))?this._bodyArrayBuffer=v(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var e=m(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=m(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(h)}),this.text=function(){var e,t,n,o=m(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=g(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),o=0;o<t.length;o++)n[o]=String.fromCharCode(t[o]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s&&(this.formData=function(){return this.text().then(k)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(e,t){e=u(e),t=f(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},p.prototype.delete=function(e){delete this.map[u(e)]},p.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},p.prototype.set=function(e,t){this.map[u(e)]=f(t)},p.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),b(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),b(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),b(e)},i&&(p.prototype[Symbol.iterator]=p.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function x(e,t){if(!(this instanceof x))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,o,r=(t=t||{}).body;if(e instanceof x){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new p(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new p(t.headers)),this.method=(n=t.method||this.method||"GET",o=n.toUpperCase(),w.indexOf(o)>-1?o:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function k(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),o=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(r))}})),t}function _(e,t){if(!(this instanceof _))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},y.call(x.prototype),y.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},_.error=function(){var e=new _(null,{status:0,statusText:""});return e.type="error",e};var C=[301,302,303,307,308];_.redirect=function(e,t){if(-1===C.indexOf(t))throw new RangeError("Invalid status code");return new _(null,{status:t,headers:{location:e}})};var T=o.DOMException;try{new T}catch(e){(T=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),T.prototype.constructor=T}function O(e,t){return new Promise((function(n,r){var i=new x(e,t);if(i.signal&&i.signal.aborted)return r(new T("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var e,t,o={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new p,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),o=n.shift().trim();if(o){var r=n.join(":").trim();t.append(o,r)}})),t)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;setTimeout((function(){n(new _(r,o))}),0)},s.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},s.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},s.onabort=function(){setTimeout((function(){r(new T("Aborted","AbortError"))}),0)},s.open(i.method,function(e){try{return""===e&&o.location.href?o.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&(a?s.responseType="blob":l&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof p?i.headers.forEach((function(e,t){s.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){s.setRequestHeader(e,f(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",c)}),s.send(void 0===i._bodyInit?null:i._bodyInit)}))}O.polyfill=!0,o.fetch||(o.fetch=O,o.Headers=p,o.Request=x,o.Response=_)},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var o=n(201),r=n(159);e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},function(e,t,n){"use strict";var o=n(106).forEach,r=n(208)("forEach");e.exports=r?[].forEach:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t){var n=Math.ceil,o=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?o:n)(t)}},function(e,t,n){var o=n(131),r=n(161),i=n(32),a=n(26)("species"),s=Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,(r(t)&&(t===s||o(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},function(e,t,n){var o=n(17),r=n(21);o({global:!0,forced:r.globalThis!==r},{globalThis:r})},function(e,t,n){"use strict";var o=n(33),r=n(19),i=n(29),a=n(12),s=n(133),l=n(164),c=n(162),d=n(54),u=n(160),f=Object.assign,b=Object.defineProperty,p=r([].concat);e.exports=!f||a((function(){if(o&&1!==f({b:1},f(b({},"a",{enumerable:!0,get:function(){b(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=f({},e)[n]||"abcdefghijklmnopqrst"!=s(f({},t)).join("")}))?function(e,t){for(var n=d(e),r=arguments.length,a=1,f=l.f,b=c.f;r>a;)for(var m,g=u(arguments[a++]),h=f?p(s(g),f(g)):s(g),v=h.length,y=0;v>y;)m=h[y++],o&&!i(b,g,m)||(n[m]=g[m]);return n}:f},function(e,t,n){var o=n(19),r=n(65);e.exports=function(e,t,n){try{return o(r(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},function(e,t,n){var o=n(27),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw i("Can't set "+r(e)+" as a prototype")}},function(e,t,n){var o=n(49).f;e.exports=function(e,t,n){n in e||o(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},function(e,t,n){var o=n(277),r=Math.floor,i=function(e,t){var n=e.length,l=r(n/2);return n<8?a(e,t):s(e,i(o(e,0,l),t),i(o(e,l),t),t)},a=function(e,t){for(var n,o,r=e.length,i=1;i<r;){for(o=i,n=e[i];o&&t(e[o-1],n)>0;)e[o]=e[--o];o!==i++&&(e[o]=n)}return e},s=function(e,t,n,o){for(var r=t.length,i=n.length,a=0,s=0;a<r||s<i;)e[a+s]=a<r&&s<i?o(t[a],n[s])<=0?t[a++]:n[s++]:a<r?t[a++]:n[s++];return e};e.exports=i},function(e,t,n){var o=n(93).match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},function(e,t,n){var o=n(93);e.exports=/MSIE|Trident/.test(o)},function(e,t,n){var o=n(93).match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},function(e,t,n){"use strict";var o=n(17),r=n(21),i=n(29),a=n(19),s=n(64),l=n(33),c=n(104),d=n(12),u=n(28),f=n(83),b=n(31),p=n(57),m=n(157),g=n(43),h=n(128),v=n(95),y=n(133),w=n(108),x=n(278),k=n(164),_=n(90),C=n(49),T=n(266),O=n(162),E=n(48),S=n(134),D=n(103),j=n(158),N=n(129),A=n(155),I=n(26),M=n(279),L=n(136),P=n(281),R=n(84),z=n(66),F=n(106).forEach,B=j("hidden"),V=z.set,Y=z.getterFor("Symbol"),$=Object.prototype,U=r.Symbol,H=U&&U.prototype,G=r.TypeError,W=r.QObject,q=_.f,Q=C.f,X=x.f,Z=O.f,K=a([].push),J=D("symbols"),ee=D("op-symbols"),te=D("wks"),ne=!W||!W.prototype||!W.prototype.findChild,oe=l&&d((function(){return 7!=v(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?function(e,t,n){var o=q($,t);o&&delete $[t],Q(e,t,n),o&&e!==$&&Q($,t,o)}:Q,re=function(e,t){var n=J[e]=v(H);return V(n,{type:"Symbol",tag:e,description:t}),l||(n.description=t),n},ie=function(e,t,n){e===$&&ie(ee,t,n),b(e);var o=m(t);return b(n),u(J,o)?(n.enumerable?(u(e,B)&&e[B][o]&&(e[B][o]=!1),n=v(n,{enumerable:h(0,!1)})):(u(e,B)||Q(e,B,h(1,{})),e[B][o]=!0),oe(e,o,n)):Q(e,o,n)},ae=function(e,t){b(e);var n=p(t),o=y(n).concat(de(n));return F(o,(function(t){l&&!i(se,n,t)||ie(e,t,n[t])})),e},se=function(e){var t=m(e),n=i(Z,this,t);return!(this===$&&u(J,t)&&!u(ee,t))&&(!(n||!u(this,t)||!u(J,t)||u(this,B)&&this[B][t])||n)},le=function(e,t){var n=p(e),o=m(t);if(n!==$||!u(J,o)||u(ee,o)){var r=q(n,o);return!r||!u(J,o)||u(n,B)&&n[B][o]||(r.enumerable=!0),r}},ce=function(e){var t=X(p(e)),n=[];return F(t,(function(e){u(J,e)||u(N,e)||K(n,e)})),n},de=function(e){var t=e===$,n=X(t?ee:p(e)),o=[];return F(n,(function(e){!u(J,e)||t&&!u($,e)||K(o,J[e])})),o};c||(E(H=(U=function(){if(f(H,this))throw G("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=A(e),n=function(e){this===$&&i(n,ee,e),u(this,B)&&u(this[B],t)&&(this[B][t]=!1),oe(this,t,h(1,e))};return l&&ne&&oe($,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return Y(this).tag})),E(U,"withoutSetter",(function(e){return re(A(e),e)})),O.f=se,C.f=ie,T.f=ae,_.f=le,w.f=x.f=ce,k.f=de,M.f=function(e){return re(I(e),e)},l&&(S(H,"description",{configurable:!0,get:function(){return Y(this).description}}),s||E($,"propertyIsEnumerable",se,{unsafe:!0}))),o({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:U}),F(y(te),(function(e){L(e)})),o({target:"Symbol",stat:!0,forced:!c},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),o({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(e,t){return void 0===t?v(e):ae(v(e),t)},defineProperty:ie,defineProperties:ae,getOwnPropertyDescriptor:le}),o({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ce}),P(),R(U,"Symbol"),N[B]=!0},function(e,t,n){var o=n(17),r=n(55),i=n(28),a=n(43),s=n(103),l=n(282),c=s("string-to-symbol-registry"),d=s("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=a(e);if(i(c,t))return c[t];var n=r("Symbol")(t);return c[t]=n,d[n]=t,n}})},function(e,t,n){var o=n(17),r=n(28),i=n(126),a=n(105),s=n(103),l=n(282),c=s("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!i(e))throw TypeError(a(e)+" is not a symbol");if(r(c,e))return c[e]}})},function(e,t,n){var o=n(17),r=n(55),i=n(166),a=n(29),s=n(19),l=n(12),c=n(27),d=n(126),u=n(165),f=n(379),b=n(104),p=String,m=r("JSON","stringify"),g=s(/./.exec),h=s("".charAt),v=s("".charCodeAt),y=s("".replace),w=s(1..toString),x=/[\uD800-\uDFFF]/g,k=/^[\uD800-\uDBFF]$/,_=/^[\uDC00-\uDFFF]$/,C=!b||l((function(){var e=r("Symbol")();return"[null]"!=m([e])||"{}"!=m({a:e})||"{}"!=m(Object(e))})),T=l((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),O=function(e,t){var n=u(arguments),o=f(t);if(c(o)||void 0!==e&&!d(e))return n[1]=function(e,t){if(c(o)&&(t=a(o,this,p(e),t)),!d(t))return t},i(m,null,n)},E=function(e,t,n){var o=h(n,t-1),r=h(n,t+1);return g(k,e)&&!g(_,r)||g(_,e)&&!g(k,o)?"\\u"+w(v(e,0),16):e};m&&o({target:"JSON",stat:!0,arity:3,forced:C||T},{stringify:function(e,t,n){var o=u(arguments),r=i(C?O:m,null,o);return T&&"string"==typeof r?y(r,x,E):r}})},function(e,t,n){var o=n(19),r=n(131),i=n(27),a=n(67),s=n(43),l=o([].push);e.exports=function(e){if(i(e))return e;if(r(e)){for(var t=e.length,n=[],o=0;o<t;o++){var c=e[o];"string"==typeof c?l(n,c):"number"!=typeof c&&"Number"!=a(c)&&"String"!=a(c)||l(n,s(c))}var d=n.length,u=!0;return function(e,t){if(u)return u=!1,t;if(r(this))return t;for(var o=0;o<d;o++)if(n[o]===e)return t}}}},function(e,t,n){var o=n(17),r=n(104),i=n(12),a=n(164),s=n(54);o({target:"Object",stat:!0,forced:!r||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},function(e,t,n){"use strict";var o=n(283).IteratorPrototype,r=n(95),i=n(128),a=n(84),s=n(137),l=function(){return this};e.exports=function(e,t,n,c){var d=t+" Iterator";return e.prototype=r(o,{next:i(+!c,n)}),a(e,d,!1,!0),s[d]=l,e}},function(e,t,n){"use strict";var o=n(33),r=n(131),i=TypeError,a=Object.getOwnPropertyDescriptor,s=o&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(r(e)&&!a(e,"length").writable)throw i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(36),n(9),n(42),n(30),n(52),n(168),n(169),n(189);var r=n(96);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}var a=function(e){this.filterObj={},this.registry=e};a.prototype.register=function(e){this.registry.register(this.filterObj,e)},["itemtype","choices","nodetype","datatype","rdftype","constraint","predicate","style","item","check"].forEach((function(e){a.prototype[e]=function(t){var n={};switch(e){case"constraint":Object.keys(t).forEach((function(e){var o=t[e];Array.isArray(o)?n[r.namespaces.expand(e)]=o.map((function(e){return r.namespaces.expand(e)})):n[r.namespaces.expand(e)]=r.namespaces.expand(o)})),this.filterObj[e]=n;break;case"predicate":case"rdftype":case"datatype":this.filterObj[e]=r.namespaces.expand(t);break;default:this.filterObj[e]=t||!0}return this}}));var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.components=[],this.priorities={CHECK:1,ITEMTYPE:2,CHOICES:4,NODETYPE:8,DATATYPE:16,RDFTYPE:32,CONSTRAINT:64,PREDICATE:128,STYLE:256,ITEM:512}}var t,n,o;return t=e,(n=[{key:"calculatePriority",value:function(e,t){var n=0;if(t.itemtype&&(n+=this.priorities.ITEMTYPE,e.getType()!==t.itemtype))return-1;if(t.choices)switch(n+=this.priorities.CHOICES,t.choices){case"static":if(!e.hasStaticChoices())return-1;break;case"dynamic":if(!e.hasChoices()||e.hasStaticChoices())return-1;break;case"none":if(e.hasChoices())return-1;break;case"any":default:if(!e.hasChoices())return-1}if(t.nodetype&&(n+=this.priorities.NODETYPE,e.getNodetype()!==t.nodetype))return-1;if(t.datatype){n+=this.priorities.DATATYPE;var o=e.getDatatype(),r=!0;if(o&&(r=Array.isArray(o)?!o.includes(t.datatype):o!==t.datatype),r)return-1}return t.rdftype&&(n+=this.priorities.RDFTYPE,!function(e,t){var n=e.getConstraints();return null!=n&&n[rdfType]===t}(e,t.rdftype))||t.constraint&&(n+=this.priorities.CONSTRAINT,!function(e,t){if(null==t)return!0;var n=e.getConstraints(),o=!0;return null!=n&&(Object.keys(n).find((function(e){var r=t[e];return""!==r&&"*"!==r&&r!==n[e]&&(o=!1,!0)})),o)}(e,t.constraint))||t.predicate&&(n+=this.priorities.PREDICATE,e.getProperty()!==t.predicate)||t.style&&(n+=this.priorities.STYLE,!e.hasStyle(t.style))?-1:!t.item||(n+=this.priorities.ITEM,e===t.item||t.item.getId&&e.getId()===t.item.getId())?t.check&&!t.check(e)?-1:n:-1}},{key:"getPriority",value:function(e,t){for(var n=0;n<this.components.length;n++)if(this.components[n].component===t){var o=this.calculatePriority(e,this.components[n].filter);if(o>=0)return o}return 0}},{key:"getComponentBefore",value:function(e,t){var n=this.getPriority(e,t);return this.getComponent(e,n)}},{key:"getComponent",value:function(e,t){for(var n,o,r,i=-1,a=0;a<this.components.length;a++)r=this.components[a],(o=this.calculatePriority(e,r.filter))>i&&(void 0===t||o<t)&&(n=r,i=o);if(n)return n.component}},{key:"register",value:function(e,t){this.components.push({component:t,filter:e})}},{key:"itemtype",value:function(e){return new a(this).itemtype(e)}},{key:"choices",value:function(e){return new a(this).choices(e)}},{key:"nodetype",value:function(e){return new a(this).nodetype(e)}},{key:"datatype",value:function(e){return new a(this).datatype(e)}},{key:"rdftype",value:function(e){return new a(this).rdftype(e)}},{key:"constraint",value:function(e){return new a(this).constraint(e)}},{key:"predicate",value:function(e){return new a(this).predicate(e)}},{key:"style",value:function(e){return new a(this).style(e)}},{key:"item",value:function(e){return new a(this).item(e)}},{key:"check",value:function(e){return new a(this).check(e)}}])&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,n){"use strict";var o=n(31),r=n(255),i=TypeError;e.exports=function(e){if(o(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw i("Incorrect hint");return r(this,e)}},function(e,t,n){var o=n(19);e.exports=o(1..valueOf)},function(e,t,n){var o=n(273),r=TypeError;e.exports=function(e){if(o(e))throw r("The method doesn't accept regular expressions");return e}},function(e,t,n){var o=n(26)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){n(44),n(11),n(390),n(15),n(16),n(23),n(24),n(13),n(14),n(22),n(18),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(35),n(39),n(38),n(97),n(9),n(89),n(30),n(42),n(72);var o=c(n(395)),r=c(n(221)),i=c(n(109)),a=c(n(292)),s=c(n(404)),l=n(405);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,i=void 0,i=function(e,t){if("object"!==d(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==d(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===d(i)?i:String(i)),o)}var r,i}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){if(t&&("object"===d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){var t="function"==typeof Map?new Map:void 0;return(p=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,o)}function o(){return m(e,arguments,v(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),h(o,e)})(e)}function m(e,t,n){return(m=g()?Reflect.construct.bind():function(e,t,n){var o=[null];o.push.apply(o,t);var r=new(Function.bind.apply(e,o));return n&&h(r,n.prototype),r}).apply(null,arguments)}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function h(e,t){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y,w,x=" ",k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(s,e);var t,n,o,r,i,a=(t=s,n=g(),function(){var e,o=v(t);if(n){var r=v(this).constructor;e=Reflect.construct(o,arguments,r)}else e=o.apply(this,arguments);return b(this,e)});function s(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";f(this,s);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return(e=a.call.apply(a,[this].concat(o))).type=t,e}return o=s,r&&u(o.prototype,r),i&&u(o,i),Object.defineProperty(o,"prototype",{writable:!1}),o}(p(Error));if("undefined"==typeof window||void 0===window.DOMParser&&"undefined"==typeof ActiveXObject){y=function(e){return(new XMLSerializer).serializeToString(e)};var _=o.default.DOMParser;w=function(e){return(new _).parseFromString(e,"text/xml")}}else y=function(e){return e.xml},w=function(e){var t;try{if(window.DOMParser)t=(new DOMParser).parseFromString(e,"text/xml");else(t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)}catch(e){t=null}if(!t||!t.documentElement||t.getElementsByTagName("parsererror").length)throw new Error("Could not parse text as xml");return t};var C=function(e){if(/["<>^`{|}]/i.test(e))throw new k("character",'URL "'.concat(e,'" is not allowed to contain special characters " < > \\ ^ ` { | or }.'));if(!/^(?:[a-z][a-z0-9+.-]*:)/i.test(e))throw new k("relative","Relative URL not supported: ".concat(e));if(/ /i.test(e)){if(t.convertSpacesInURIs)return e.replace(/ /g,"%20");throw new k("space","Spaces inside of URL not supported: ".concat(e))}return e},T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e;a.default.isString(n)&&(n=w(n));var o=t||new r.default({}),i=new l.RDFFormula;i.add=function(e,t,n){var r,i,a={};if(e instanceof l.RDFBlankNode?(r=e.toString(),o.registerBNode(r)):(e.uri=C(e.uri),r=e.uri),t instanceof l.RDFBlankNode)i=t.toString(),o.registerBNode(i);else{if("http://www.w3.org/1999/02/22-rdf-syntax-ns#resource"===t.uri||"http://www.w3.org/1999/02/22-rdf-syntax-ns#about"===t.uri||"http://www.w3.org/1999/02/22-rdf-syntax-ns#nodeID"===t.uri)return;t.uri=C(t.uri),i=t.uri}n instanceof l.RDFLiteral?(a.type="literal",a.value=n.value,n.lang&&(a.lang=n.lang),n.datatype&&(a.datatype=n.datatype.uri)):n instanceof l.RDFSymbol?(n.uri=C(n.uri),a.type="uri",a.value=n.uri):n instanceof l.RDFBlankNode&&(a.value=n.toString(),o.registerBNode(a.value),a.type="bnode"),o.create(r,i,a,!0)};var c=new s.default(i);return c.parse(n,"",""),o},O=function(e){return encodeURI(decodeURI(e)).replace(/&/g,"&amp;")},E={xml2string:y,string2xml:w,rdfxml2graph:T,rdfjson2rdfxml:function(e){var t=e instanceof r.default?e._graph:e||{},n=[],o={},a=[];Object.keys(t).forEach((function(e){"_:"===e.substr(0,2)?a.push("".concat(" ",'<rdf:Description rdf:nodeID="_').concat(e.substring(2),'">\n')):a.push("".concat(" ",'<rdf:Description rdf:about="').concat(O(e),'">\n'));var r=t[e];Object.keys(r).forEach((function(e){var t,s,l=(t=e,s=i.default.nsify(t),o[s.abbrev]||(n.push(s.abbrev),o[s.abbrev]=s.ns),s.pretty);r[e].forEach((function(e){var t;switch(e.type){case"literal":t=e.value.replace(/&/g,"&amp;").replace(/</g,"&lt;"),null!=e.lang?a.push("".concat(x,"<").concat(l,' xml:lang="').concat(e.lang,'">').concat(t,"</").concat(l,">\n")):null!=e.datatype?a.push("".concat(x,"<").concat(l,' rdf:datatype="').concat(e.datatype,'">').concat(t,"</").concat(l,">\n")):a.push("".concat(x,"<").concat(l,">").concat(t,"</").concat(l,">\n"));break;case"uri":a.push("".concat(x,"<").concat(l,' rdf:resource="').concat(O(e.value),'"/>\n'));break;case"bnode":"_:"===e.value.substr(0,2)?a.push("".concat(x,"<").concat(l,' rdf:nodeID="_').concat(e.value.substring(2),'"/>\n')):a.push("".concat(x,"<").concat(l,' rdf:nodeID="').concat(e.value,'"/>\n'))}}))})),a.push("".concat(" ","</rdf:Description>\n"))}));for(var s=['<?xml version="1.0"?>\n<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"'],l=0;l<n.length;l++)"rdf"!==n[l]&&s.push("\n\txmlns:".concat(n[l],'="').concat(o[n[l]],'"'));return s.push(">\n"),a.unshift(s.join("")),a.push("</rdf:RDF>"),a.join("")},detect:function(e){var t={};if("string"==typeof e)if(-1!==e.substr(0,200).toLowerCase().indexOf("<rdf:rdf")){t.format="rdf/xml";try{t.graph=T(e)}catch(e){"relative"===e.type||"space"===e.type||"character"===e.type?(t.error=e.message,t.errorCode=1):(t.error="Invalid rdf/xml",t.errorCode=2)}}else if('{"'===e.substring(0,2)){t.format="rdf/json";try{var n=JSON.parse((void 0).rdfjson);t.graph=new r.default(n)}catch(e){t.error="Invalid json.",t.errorCode=3}}else t.error="No RDF detected.",t.errorCode=4;else e instanceof r.default?(t.format="rdf/json",t.graph=e):"object"===d(e)&&null!==e?(t.format="rdf/json",t.graph=new r.default(e)):(t.error="unknown format",t.errorCode=5);t.error||(t.graph.validate().valid||(t.error="RDF/JSON is not valid.",t.errorCode=6));return t}};t.default=E},function(e,t,n){"use strict";var o=n(19),r=n(65),i=n(32),a=n(28),s=n(165),l=n(124),c=Function,d=o([].concat),u=o([].join),f={},b=function(e,t,n){if(!a(f,t)){for(var o=[],r=0;r<t;r++)o[r]="a["+r+"]";f[t]=c("C,a","return new C("+u(o,",")+")")}return f[t](e,n)};e.exports=l?c.bind:function(e){var t=r(this),n=t.prototype,o=s(arguments,1),a=function(){var n=d(o,s(arguments));return this instanceof a?b(t,n.length,n):t.apply(e,n)};return i(n)&&(a.prototype=n),a}},function(e,t,n){n(391)},function(e,t,n){"use strict";n(217)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(290))},function(e,t,n){var o=n(12),r=n(32),i=n(67),a=n(393),s=Object.isExtensible,l=o((function(){s(1)}));e.exports=l||a?function(e){return!!r(e)&&((!a||"ArrayBuffer"!=i(e))&&(!s||s(e)))}:s},function(e,t,n){var o=n(12);e.exports=o((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},function(e,t,n){var o=n(19),r=n(54),i=Math.floor,a=o("".charAt),s=o("".replace),l=o("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,o,u,f){var b=n+e.length,p=o.length,m=d;return void 0!==u&&(u=r(u),m=c),s(f,m,(function(r,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,b);case"<":c=u[l(s,1,-1)];break;default:var d=+s;if(0===d)return r;if(d>p){var f=i(d/10);return 0===f?r:f<=p?void 0===o[f-1]?a(s,1):o[f-1]+a(s,1):r}c=o[d-1]}return void 0===c?"":c}))}},function(e,t,n){var o=n(291);t.DOMImplementation=o.DOMImplementation,t.XMLSerializer=o.XMLSerializer,t.DOMParser=n(396).DOMParser},function(e,t,n){var o=n(172),r=n(291),i=n(397),a=n(398),s=r.DOMImplementation,l=o.NAMESPACE,c=a.ParseError,d=a.XMLReader;function u(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function f(e){this.options=e||{locator:{}}}function b(){this.cdata=!1}function p(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function m(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function g(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function h(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}f.prototype.parseFromString=function(e,t){var n=this.options,o=new d,r=n.domBuilder||new b,a=n.errorHandler,s=n.locator,c=n.xmlns||{},f=/\/x?html?$/.test(t),p=f?i.HTML_ENTITIES:i.XML_ENTITIES;s&&r.setDocumentLocator(s),o.errorHandler=function(e,t,n){if(!e){if(t instanceof b)return t;e=t}var o={},r=e instanceof Function;function i(t){var i=e[t];!i&&r&&(i=2==e.length?function(n){e(t,n)}:e),o[t]=i&&function(e){i("[xmldom "+t+"]\t"+e+m(n))}||function(){}}return n=n||{},i("warning"),i("error"),i("fatalError"),o}(a,r,s),o.domBuilder=n.domBuilder||r,f&&(c[""]=l.HTML),c.xml=c.xml||l.XML;var g=n.normalizeLineEndings||u;return e&&"string"==typeof e?o.parse(g(e),c,p):o.errorHandler.error("invalid doc source"),r.doc},b.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,o){var r=this.doc,i=r.createElementNS(e,n||t),a=o.length;h(this,i),this.currentElement=i,this.locator&&p(this.locator,i);for(var s=0;s<a;s++){e=o.getURI(s);var l=o.getValue(s),c=(n=o.getQName(s),r.createAttributeNS(e,n));this.locator&&p(o.getLocator(s),c),c.value=c.nodeValue=l,i.setAttributeNode(c)}},endElement:function(e,t,n){var o=this.currentElement;o.tagName;this.currentElement=o.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&p(this.locator,n),h(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=g.apply(this,arguments)){if(this.cdata)var o=this.doc.createCDATASection(e);else o=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(o):/^\s*$/.test(e)&&this.doc.appendChild(o),this.locator&&p(this.locator,o)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=g.apply(this,arguments);var o=this.doc.createComment(e);this.locator&&p(this.locator,o),h(this,o)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var o=this.doc.implementation;if(o&&o.createDocumentType){var r=o.createDocumentType(e,t,n);this.locator&&p(this.locator,r),h(this,r),this.doc.doctype=r}},warning:function(e){console.warn("[xmldom warning]\t"+e,m(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,m(this.locator))},fatalError:function(e){throw new c(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){b.prototype[e]=function(){return null}})),t.__DOMHandler=b,t.normalizeLineEndings=u,t.DOMParser=f},function(e,t,n){var o=n(172).freeze;t.XML_ENTITIES=o({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=o({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),t.entityMap=t.HTML_ENTITIES},function(e,t,n){var o=n(172).NAMESPACE,r=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,i=new RegExp("[\\-\\.0-9"+r.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+r.source+i.source+"*(?::"+r.source+i.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function l(){}function c(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function d(e,t,n,r,i,a){function s(e,t,o){n.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),o)}for(var l,c=++t,d=0;;){var u=e.charAt(c);switch(u){case"=":if(1===d)l=e.slice(t,c),d=3;else{if(2!==d)throw new Error("attribute equal must after attrName");d=3}break;case"'":case'"':if(3===d||1===d){if(1===d&&(a.warning('attribute value must after "="'),l=e.slice(t,c)),t=c+1,!((c=e.indexOf(u,t))>0))throw new Error("attribute value no end '"+u+"' match");s(l,f=e.slice(t,c),t-1),d=5}else{if(4!=d)throw new Error('attribute value must after "="');s(l,f=e.slice(t,c),t),a.warning('attribute "'+l+'" missed start quot('+u+")!!"),t=c+1,d=5}break;case"/":switch(d){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:d=7,n.closed=!0;case 4:case 1:break;case 2:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==d&&n.setTagName(e.slice(t,c)),c;case">":switch(d){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(f=e.slice(t,c)).slice(-1)&&(n.closed=!0,f=f.slice(0,-1));case 2:2===d&&(f=l),4==d?(a.warning('attribute "'+f+'" missed quot(")!'),s(l,f,t)):(o.isHTML(r[""])&&f.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+f+'" missed value!! "'+f+'" instead!!'),s(f,f,t));break;case 3:throw new Error("attribute value missed!!")}return c;case"€":u=" ";default:if(u<=" ")switch(d){case 0:n.setTagName(e.slice(t,c)),d=6;break;case 1:l=e.slice(t,c),d=2;break;case 4:var f=e.slice(t,c);a.warning('attribute "'+f+'" missed quot(")!!'),s(l,f,t);case 5:d=6}else switch(d){case 2:n.tagName;o.isHTML(r[""])&&l.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),s(l,l,t),t=c,d=1;break;case 5:a.warning('attribute space is required"'+l+'"!!');case 6:d=1,t=c;break;case 3:d=4,t=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function u(e,t,n){for(var r=e.tagName,i=null,a=e.length;a--;){var s=e[a],l=s.qName,c=s.value;if((b=l.indexOf(":"))>0)var d=s.prefix=l.slice(0,b),u=l.slice(b+1),f="xmlns"===d&&u;else u=l,d=null,f="xmlns"===l&&"";s.localName=u,!1!==f&&(null==i&&(i={},p(n,n={})),n[f]=i[f]=c,s.uri=o.XMLNS,t.startPrefixMapping(f,c))}for(a=e.length;a--;){(d=(s=e[a]).prefix)&&("xml"===d&&(s.uri=o.XML),"xmlns"!==d&&(s.uri=n[d||""]))}var b;(b=r.indexOf(":"))>0?(d=e.prefix=r.slice(0,b),u=e.localName=r.slice(b+1)):(d=null,u=e.localName=r);var m=e.uri=n[d||""];if(t.startElement(m,u,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=i,!0;if(t.endElement(m,u,r),i)for(d in i)Object.prototype.hasOwnProperty.call(i,d)&&t.endPrefixMapping(d)}function f(e,t,n,o,r){if(/^(?:script|textarea)$/i.test(n)){var i=e.indexOf("</"+n+">",t),a=e.substring(t+1,i);if(/[&<]/.test(a))return/^script$/i.test(n)?(r.characters(a,0,a.length),i):(a=a.replace(/&#?\w+;/g,o),r.characters(a,0,a.length),i)}return t+1}function b(e,t,n,o){var r=o[n];return null==r&&((r=e.lastIndexOf("</"+n+">"))<t&&(r=e.lastIndexOf("</"+n)),o[n]=r),r<t}function p(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function m(e,t,n,o){switch(e.charAt(t+2)){case"-":return"-"===e.charAt(t+3)?(r=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,r-t-4),r+3):(o.error("Unclosed comment"),-1):-1;default:if("CDATA["==e.substr(t+3,6)){var r=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,r-t-9),n.endCDATA(),r+3}var i=function(e,t){var n,o=[],r=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;r.lastIndex=t,r.exec(e);for(;n=r.exec(e);)if(o.push(n),n[1])return o}(e,t),a=i.length;if(a>1&&/!doctype/i.test(i[0][0])){var s=i[1][0],l=!1,c=!1;a>3&&(/^public$/i.test(i[2][0])?(l=i[3][0],c=a>4&&i[4][0]):/^system$/i.test(i[2][0])&&(c=i[3][0]));var d=i[a-1];return n.startDTD(s,l,c),n.endDTD(),d.index+d[0].length}}return-1}function g(e,t,n){var o=e.indexOf("?>",t);if(o){var r=e.substring(t,o).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(r){r[0].length;return n.processingInstruction(r[1],r[2]),o+2}return-1}return-1}function h(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,l.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),p(t,t={}),function(e,t,n,r,i){function a(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function l(t){if(t>C){var n=e.substring(C,t).replace(/&#?\w+;/g,a);x&&p(C),r.characters(n,0,t-C),C=t}}function p(t,n){for(;t>=y&&(n=w.exec(e));)v=n.index,y=v+n[0].length,x.lineNumber++;x.columnNumber=t-v+1}var v=0,y=0,w=/.*(?:\r\n?|\n)|.*$/g,x=r.locator,k=[{currentNSMap:t}],_={},C=0;for(;;){try{var T=e.indexOf("<",C);if(T<0){if(!e.substr(C).match(/^\s*$/)){var O=r.doc,E=O.createTextNode(e.substr(C));O.appendChild(E),r.currentElement=E}return}switch(T>C&&l(T),e.charAt(T+1)){case"/":var S=e.indexOf(">",T+3),D=e.substring(T+2,S).replace(/[ \t\n\r]+$/g,""),j=k.pop();S<0?(D=e.substring(T+2).replace(/[\s<].*/,""),i.error("end tag name: "+D+" is not complete:"+j.tagName),S=T+1+D.length):D.match(/\s</)&&(D=D.replace(/[\s<].*/,""),i.error("end tag name: "+D+" maybe not complete"),S=T+1+D.length);var N=j.localNSMap,A=j.tagName==D;if(A||j.tagName&&j.tagName.toLowerCase()==D.toLowerCase()){if(r.endElement(j.uri,j.localName,D),N)for(var I in N)Object.prototype.hasOwnProperty.call(N,I)&&r.endPrefixMapping(I);A||i.fatalError("end tag name: "+D+" is not match the current start tagName:"+j.tagName)}else k.push(j);S++;break;case"?":x&&p(T),S=g(e,T,r);break;case"!":x&&p(T),S=m(e,T,r,i);break;default:x&&p(T);var M=new h,L=k[k.length-1].currentNSMap,P=(S=d(e,T,M,L,a,i),M.length);if(!M.closed&&b(e,S,M.tagName,_)&&(M.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),x&&P){for(var R=c(x,{}),z=0;z<P;z++){var F=M[z];p(F.offset),F.locator=c(x,{})}r.locator=R,u(M,r,L)&&k.push(M),r.locator=x}else u(M,r,L)&&k.push(M);o.isHTML(M.uri)&&!M.closed?S=f(e,S,M.tagName,a,r):S++}}catch(e){if(e instanceof s)throw e;i.error("element parse error: "+e),S=-1}S>C?C=S:l(Math.max(T,C)+1)}}(e,t,n,r,this.errorHandler),r.endDocument()}},h.prototype={setTagName:function(e){if(!a.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!a.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=l,t.ParseError=s},function(e,t,n){var o=n(33),r=n(19),i=n(133),a=n(57),s=r(n(162).f),l=r([].push),c=function(e){return function(t){for(var n,r=a(t),c=i(r),d=c.length,u=0,f=[];d>u;)n=c[u++],o&&!s(r,n)||l(f,e?[n,r[n]]:r[n]);return f}};e.exports={entries:c(!0),values:c(!1)}},function(e,t,n){"use strict";n(217)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(290))},function(e,t,n){var o,r,i,a,s;o=n(402),r=n(295).utf8,i=n(403),a=n(295).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):r.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=o.bytesToWords(e),l=8*e.length,c=1732584193,d=-271733879,u=-1732584194,f=271733878,b=0;b<n.length;b++)n[b]=16711935&(n[b]<<8|n[b]>>>24)|4278255360&(n[b]<<24|n[b]>>>8);n[l>>>5]|=128<<l%32,n[14+(l+64>>>9<<4)]=l;var p=s._ff,m=s._gg,g=s._hh,h=s._ii;for(b=0;b<n.length;b+=16){var v=c,y=d,w=u,x=f;c=p(c,d,u,f,n[b+0],7,-680876936),f=p(f,c,d,u,n[b+1],12,-389564586),u=p(u,f,c,d,n[b+2],17,606105819),d=p(d,u,f,c,n[b+3],22,-1044525330),c=p(c,d,u,f,n[b+4],7,-176418897),f=p(f,c,d,u,n[b+5],12,1200080426),u=p(u,f,c,d,n[b+6],17,-1473231341),d=p(d,u,f,c,n[b+7],22,-45705983),c=p(c,d,u,f,n[b+8],7,1770035416),f=p(f,c,d,u,n[b+9],12,-1958414417),u=p(u,f,c,d,n[b+10],17,-42063),d=p(d,u,f,c,n[b+11],22,-1990404162),c=p(c,d,u,f,n[b+12],7,1804603682),f=p(f,c,d,u,n[b+13],12,-40341101),u=p(u,f,c,d,n[b+14],17,-1502002290),c=m(c,d=p(d,u,f,c,n[b+15],22,1236535329),u,f,n[b+1],5,-165796510),f=m(f,c,d,u,n[b+6],9,-1069501632),u=m(u,f,c,d,n[b+11],14,643717713),d=m(d,u,f,c,n[b+0],20,-373897302),c=m(c,d,u,f,n[b+5],5,-701558691),f=m(f,c,d,u,n[b+10],9,38016083),u=m(u,f,c,d,n[b+15],14,-660478335),d=m(d,u,f,c,n[b+4],20,-405537848),c=m(c,d,u,f,n[b+9],5,568446438),f=m(f,c,d,u,n[b+14],9,-1019803690),u=m(u,f,c,d,n[b+3],14,-187363961),d=m(d,u,f,c,n[b+8],20,1163531501),c=m(c,d,u,f,n[b+13],5,-1444681467),f=m(f,c,d,u,n[b+2],9,-51403784),u=m(u,f,c,d,n[b+7],14,1735328473),c=g(c,d=m(d,u,f,c,n[b+12],20,-1926607734),u,f,n[b+5],4,-378558),f=g(f,c,d,u,n[b+8],11,-2022574463),u=g(u,f,c,d,n[b+11],16,1839030562),d=g(d,u,f,c,n[b+14],23,-35309556),c=g(c,d,u,f,n[b+1],4,-1530992060),f=g(f,c,d,u,n[b+4],11,1272893353),u=g(u,f,c,d,n[b+7],16,-155497632),d=g(d,u,f,c,n[b+10],23,-1094730640),c=g(c,d,u,f,n[b+13],4,681279174),f=g(f,c,d,u,n[b+0],11,-358537222),u=g(u,f,c,d,n[b+3],16,-722521979),d=g(d,u,f,c,n[b+6],23,76029189),c=g(c,d,u,f,n[b+9],4,-640364487),f=g(f,c,d,u,n[b+12],11,-421815835),u=g(u,f,c,d,n[b+15],16,530742520),c=h(c,d=g(d,u,f,c,n[b+2],23,-995338651),u,f,n[b+0],6,-198630844),f=h(f,c,d,u,n[b+7],10,1126891415),u=h(u,f,c,d,n[b+14],15,-1416354905),d=h(d,u,f,c,n[b+5],21,-57434055),c=h(c,d,u,f,n[b+12],6,1700485571),f=h(f,c,d,u,n[b+3],10,-1894986606),u=h(u,f,c,d,n[b+10],15,-1051523),d=h(d,u,f,c,n[b+1],21,-2054922799),c=h(c,d,u,f,n[b+8],6,1873313359),f=h(f,c,d,u,n[b+15],10,-30611744),u=h(u,f,c,d,n[b+6],15,-1560198380),d=h(d,u,f,c,n[b+13],21,1309151649),c=h(c,d,u,f,n[b+4],6,-145523070),f=h(f,c,d,u,n[b+11],10,-1120210379),u=h(u,f,c,d,n[b+2],15,718787259),d=h(d,u,f,c,n[b+9],21,-343485551),c=c+v>>>0,d=d+y>>>0,u=u+w>>>0,f=f+x>>>0}return o.endian([c,d,u,f])})._ff=function(e,t,n,o,r,i,a){var s=e+(t&n|~t&o)+(r>>>0)+a;return(s<<i|s>>>32-i)+t},s._gg=function(e,t,n,o,r,i,a){var s=e+(t&o|n&~o)+(r>>>0)+a;return(s<<i|s>>>32-i)+t},s._hh=function(e,t,n,o,r,i,a){var s=e+(t^n^o)+(r>>>0)+a;return(s<<i|s>>>32-i)+t},s._ii=function(e,t,n,o,r,i,a){var s=e+(n^(t|~o))+(r>>>0)+a;return(s<<i|s>>>32-i)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=o.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):o.bytesToHex(n)}},function(e,t){var n,o;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&o.rotl(e,8)|4278255360&o.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=o.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,o=0;n<e.length;n++,o+=8)t[o>>>5]|=e[n]<<24-o%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],o=0;o<e.length;o+=3)for(var r=e[o]<<16|e[o+1]<<8|e[o+2],i=0;i<4;i++)8*o+6*i<=8*e.length?t.push(n.charAt(r>>>6*(3-i)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],o=0,r=0;o<e.length;r=++o%4)0!=r&&t.push((n.indexOf(e.charAt(o-1))&Math.pow(2,-2*r+8)-1)<<2*r|n.indexOf(e.charAt(o))>>>6-2*r);return t}},e.exports=o},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
28
28
  /*!
29
29
  * Determine if an object is a Buffer
30
30
  *
31
31
  * @author Feross Aboukhadijeh <https://feross.org>
32
32
  * @license MIT
33
33
  */
34
- e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){n(72),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=n(296),i=o=function(e){o.ns={RDF:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",RDFS:"http://www.w3.org/2000/01/rdf-schema#"},o.nodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},this.frameFactory=function(e,t,n){return{NODE:1,ARC:2,parent:t,parser:e,store:e.store,element:n,lastChild:0,base:null,lang:null,node:null,nodeType:null,listIndex:1,rdfid:null,datatype:null,collection:!1,terminateFrame:function(){this.collection&&this.node.close()},addSymbol:function(e,t){t=(0,r.join)(t,this.base),this.node=this.store.sym(t),this.nodeType=e},loadTriple:function(){if(this.parent.parent.collection?this.parent.parent.node.append(this.node):this.store.add(this.parent.parent.node,this.parent.node,this.node,this.parser.why),null!=this.parent.rdfid){var e=this.store.sym((0,r.join)("#"+this.parent.rdfid,this.base));this.store.add(e,this.store.sym(o.ns.RDF+"type"),this.store.sym(o.ns.RDF+"Statement"),this.parser.why),this.store.add(e,this.store.sym(o.ns.RDF+"subject"),this.parent.parent.node,this.parser.why),this.store.add(e,this.store.sym(o.ns.RDF+"predicate"),this.parent.node,this.parser.why),this.store.add(e,this.store.sym(o.ns.RDF+"object"),this.node,this.parser.why)}},isTripleToLoad:function(){return null!=this.parent&&null!=this.parent.parent&&this.nodeType==this.NODE&&this.parent.nodeType==this.ARC&&this.parent.parent.nodeType==this.NODE},addNode:function(e){this.addSymbol(this.NODE,e),this.isTripleToLoad()&&this.loadTriple()},addCollection:function(){this.nodeType=this.NODE,this.node=this.store.collection(),this.collection=!0,this.isTripleToLoad()&&this.loadTriple()},addCollectionArc:function(){this.nodeType=this.ARC},addBNode:function(e){null!=e?null!=this.parser.bnodes[e]?this.node=this.parser.bnodes[e]:this.node=this.parser.bnodes[e]=this.store.bnode():this.node=this.store.bnode(),this.nodeType=this.NODE,this.isTripleToLoad()&&this.loadTriple()},addArc:function(e){e==o.ns.RDF+"li"&&(e=o.ns.RDF+"_"+this.parent.listIndex++),this.addSymbol(this.ARC,e)},addLiteral:function(e){this.parent.datatype?this.node=this.store.literal(e,"",this.store.sym(this.parent.datatype)):this.node=this.store.literal(e,this.lang),this.nodeType=this.NODE,this.isTripleToLoad()&&this.loadTriple()}}},this.store=e,this.bnodes={},this.why=null,this.reify=!1,this.parse=function(e,t,n){var r,i=e.childNodes;if(this.cleanParser(),e.nodeType==o.nodeType.DOCUMENT){for(var a=0;a<i.length;a++)if(i[a].nodeType==o.nodeType.ELEMENT){r=i[a];break}}else{if(e.nodeType!=o.nodeType.ELEMENT)throw new Error("RDFParser: can't find root in "+t+". Halting. ");r=e}this.why=n;var s=this.frameFactory(this);return s.base=t,s.lang="",this.parseDOM(this.buildFrame(s,r)),!0},this.parseDOM=function(e){for(var t=function(e){return e.namespaceURI+e.localName},n=!0;e.parent;){var i,a,s=e.element,l=s.attributes;if(s.nodeType==o.nodeType.TEXT||s.nodeType==o.nodeType.CDATA_SECTION)e.addLiteral(s.nodeValue);else if(t(s)!=o.ns.RDF+"RDF")if(e.parent&&e.parent.collection&&(e.addCollectionArc(),(e=this.buildFrame(e,e.element)).parent.element=null),e.parent&&e.parent.nodeType&&e.parent.nodeType!=e.ARC){e.addArc(t(s)),this.reify&&(i=s.getAttributeNodeNS(o.ns.RDF,"ID"))&&(e.rdfid=i.nodeValue,s.removeAttributeNode(i));var c=s.getAttributeNodeNS(o.ns.RDF,"parseType"),d=s.getAttributeNodeNS(o.ns.RDF,"datatype");if(d&&(e.datatype=d.nodeValue,s.removeAttributeNode(d)),c){var u=c.nodeValue;"Literal"==u?(e.datatype=o.ns.RDF+"XMLLiteral",(e=this.buildFrame(e)).addLiteral(s),n=!1):"Resource"==u?((e=this.buildFrame(e,e.element)).parent.element=null,e.addBNode()):"Collection"==u&&((e=this.buildFrame(e,e.element)).parent.element=null,e.addCollection()),s.removeAttributeNode(c)}if(0!=l.length){var f=s.getAttributeNodeNS(o.ns.RDF,"resource");for(a=s.getAttributeNodeNS(o.ns.RDF,"nodeID"),e=this.buildFrame(e),f?(e.addNode(f.nodeValue),s.removeAttributeNode(f)):a?(e.addBNode(a.nodeValue),s.removeAttributeNode(a)):e.addBNode(),g=l.length-1;g>=0;g--){var b=this.buildFrame(e);b.addArc(t(l[g])),t(l[g])==o.ns.RDF+"type"?this.buildFrame(b).addNode(l[g].nodeValue):this.buildFrame(b).addLiteral(l[g].nodeValue)}}else 0==s.childNodes.length&&this.buildFrame(e).addLiteral("")}else{var p=s.getAttributeNodeNS(o.ns.RDF,"about");if(i=s.getAttributeNodeNS(o.ns.RDF,"ID"),p&&i)throw new Error("RDFParser: "+s.nodeName+" has both rdf:id and rdf:about. Halting. Only one of these properties may be specified on a node.");null==p&&i?(e.addNode("#"+i.nodeValue),s.removeAttributeNode(i)):null==p&&null==i?(a=s.getAttributeNodeNS(o.ns.RDF,"nodeID"))?(e.addBNode(a.nodeValue),s.removeAttributeNode(a)):e.addBNode():(e.addNode(p.nodeValue),s.removeAttributeNode(p));var m=s.getAttributeNodeNS(o.ns.RDF,"type");o.ns.RDF+"Description"!=t(s)&&(m={nodeValue:t(s)}),null!=m&&(this.store.add(e.node,this.store.sym(o.ns.RDF+"type"),this.store.sym((0,r.join)(m.nodeValue,e.base)),this.why),m.nodeName&&s.removeAttributeNode(m));for(var g=l.length-1;g>=0;g--)this.store.add(e.node,this.store.sym(t(l[g])),this.store.literal(l[g].nodeValue,e.lang),this.why)}for(s=e.element;e.parent;){for(var h=e;null==s;)s=(e=e.parent).element;var v=s.childNodes,y=null!=v?v[e.lastChild]:null;if(null!=y&&n){if((y.nodeType==o.nodeType.ELEMENT||y.nodeType==o.nodeType.TEXT||y.nodeType==o.nodeType.CDATA_SECTION)&&(y.nodeType!=o.nodeType.TEXT&&y.nodeType!=o.nodeType.CDATA_SECTION||1==s.childNodes.length)){e.lastChild++,e=this.buildFrame(h,s.childNodes[e.lastChild-1]);break}e.lastChild++}else{if(e.terminateFrame(),!(e=e.parent))break;s=e.element,n=!0}}}},this.cleanParser=function(){this.bnodes={},this.why=null},this.buildFrame=function(e,t){var n=this.frameFactory(this,e,t);if(e&&(n.base=e.base,n.lang=e.lang),null==t||t.nodeType==o.nodeType.TEXT||t.nodeType==o.nodeType.CDATA_SECTION)return n;var r=t.attributes,i=t.getAttributeNode("xml:base");null!=i&&(n.base=i.nodeValue,t.removeAttribute("xml:base"));var a=t.getAttributeNode("xml:lang");null!=a&&(n.lang=a.nodeValue,t.removeAttribute("xml:lang"));for(var s=r.length-1;s>=0;s--)"xml"==r[s].nodeName.substr(0,3)&&t.removeAttributeNode(r[s]);return n}};t.default=i},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.RDFSymbol=t.RDFLiteral=t.RDFFormula=t.RDFBlankNode=void 0,n(35),n(9),n(89),n(38),n(97),n(72),n(56),n(13),n(14),n(18),n(11),n(15),n(16);var o=n(296);function r(e){throw new TypeError('"'+e+'" is read-only')}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a=function(e){return"object"===i(e)?e:"string"==typeof e?new f(e):void(void 0!==e&&alert("Can't make term from ".concat(e," of type ").concat(i(e))))},s=function(){return this};s.prototype.termType="empty",s.prototype.toString=function(){return""},s.prototype.toNT=function(){return""};var l=function(){return"<"+this.uri+">"},c=function(e){return this.uri=e,this};t.RDFSymbol=c,c.prototype.termType="symbol",c.prototype.toString=l,c.prototype.toNT=l;var d=0,u=function(){return this.id=d++,this};t.RDFBlankNode=u,u.prototype.termType="bnode",u.prototype.toNT=function(){return"_:n"+this.id},u.prototype.toString=u.prototype.toNT;var f=function(e,t,n){return this.value=e,this.lang=t,this.datatype=n,this};t.RDFLiteral=f,f.prototype.termType="literal",f.prototype.toNT=function(){var e=this.value;if("string"!=typeof e)throw Error("Value of RDF literal is not string: "+e);return e.replace(/\\/g,"\\\\"),r("str"),e.replace(/"/g,'\\"'),r("str"),r("str"),this.datatype&&(this.datatype,r("str")),this.lang&&(this.lang,r("str")),e},f.prototype.toString=function(){return this.value};var b=function(){this.id=d++,this.elements=[],this.closed=!1};b.prototype.termType="collection",b.prototype.toNT=function(){return"_:n"+this.id},b.prototype.toString=b.prototype.toNT,b.prototype.append=function(e){this.elements.push(e)},b.prototype.close=function(){this.closed=!0};var p=function(){return this.subject.toNT()+" "+this.predicate.toNT()+" "+this.object.toNT()+" ."},m=function(e,t,n,o){return this.subject=a(e),this.predicate=a(t),this.object=a(n),void 0!==o&&(this.why=o),this};m.prototype.toNT=p,m.prototype.toString=p;var g=function(){return this.statements=[],this.constraints=[],this.initBindings=[],this.optional=[],this};t.RDFFormula=g;var h=function(){return"{\n"+this.statements.join("\n")+"}"};g.prototype.termType="formula",g.prototype.toNT=h,g.prototype.toString=h,g.prototype.add=function(e,t,n,o){this.statements.push(new m(e,t,n,o))},g.prototype.sym=function(e,t){return null!=t&&(e=this.namespaces[e]+t),new c(e)},g.prototype.literal=function(e,t,n){return new f(e.toString(),t,n)},g.prototype.bnode=function(){return new u},g.prototype.formula=function(){return new g},g.prototype.collection=function(){return new b};var v=function(e){return this.uri=(0,o.join)(e,"varid:"),this};v.prototype.termType="variable",v.prototype.toNT=function(){return"varid:"==this.uri.slice(0,"varid:".length)?"?".concat(this.uri.slice("varid:".length)):"?".concat(this.uri)},v.prototype.toString=v.prototype.toNT,v.prototype.classOrder=7,g.prototype.variable=function(e){return new v(e)},v.prototype.hashString=v.prototype.toNT,g.prototype.fromNT=function(e){var t=e.length,n=e.slice(0,1);if("<"===n)return this.sym(e.slice(1,t-1));if("_"===n){var o=new u;return o.id=parseInt(e.slice(3)),d--,o}alert("Can't yet convert from NT: '".concat(e,"', ").concat(e[0]))}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.statementTree=t.statementList=t.prettyTree=t.pretty=t.default=void 0,n(36),n(9);var o,r=(o=n(109))&&o.__esModule?o:{default:o};var i=function(e,t){for(var n={},o=e.find(t),i=0;i<o.length;i++){var a=o[i];"bnode"!==a.getType()&&(n[r.default.shorten(a.getPredicate())]=a.getValue())}return n};t.pretty=i;var a=function e(t,n,o){for(var r=o||{},i=t?t.find(n):[],a=[],s=0;s<i.length;s++){var l=i[s];if("literal"===l.getType())a.push({stmt:l});else{var c={stmt:l},d=l.getValue();r[d]||(r[d]=!0,c.children=e(t,d,r))}}return a};t.statementTree=a;var s=function(e,t){var n=a(e,t),o=[];return function e(t,n){for(var r=0;r<t.length;r++){var i=t[r];i.indent=n,o.push(i),i.children&&(e(i.children,n+1),delete i.children)}}(n,1),o};t.statementList=s;var l=function(e,t){for(var n=s(e,t),o=0;o<n.length;o++){var i=n[o],a=i.stmt;a.isSubjectBlank()?i.s=a.getSubject():i.s=r.default.shorten(a.getSubject()),i.p=r.default.shorten(a.getPredicate());var l=a.getType();if("uri"===l){i.o=r.default.shorten(a.getValue());var c=a.getLanguage(),d=a.getDatatype();null!=c?i.o+="@@".concat(c):null!=d&&(i.o+="^^".concat(d))}else i.o='"'.concat(a.getValue(),'"')}return n};t.prettyTree=l;var c={pretty:i,statementList:s,statementTree:a,prettyTree:l};t.default=c},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(36),n(9),n(35);var r,i=(r=n(221))&&r.__esModule?r:{default:r};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var c={rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",owl:"http://www.w3.org/2002/07/owl#"},d={rdftype:"".concat(c.rdf,"type"),rdfssco:"".concat(c.rdfs,"subClassOf"),rdfsdomain:"".concat(c.rdfs,"domain"),rdfsrange:"".concat(c.rdfs,"range"),rdfsspo:"".concat(c.rdfs,"subPropertyOf"),rdfsClass:"".concat(c.rdfs,"Class"),owlClass:"".concat(c.owl,"Class"),owlObjectProperty:"".concat(c.owl,"ObjectProperty"),owlDatatypeProperty:"".concat(c.owl,"DatatypeProperty"),rdfProperty:"".concat(c.rdf,"Property")},u=function(e,t,n){for(var o={},r=!1,i=e.find(t,n),a=0;a<i.length;a++){var s=i[a];"literal"===s.getType()&&(o[s.getLanguage()||""]=s.getValue()||"",r=!0)}if(r)return null==o.en&&null!=o[""]&&(o.en=o[""],delete o[""]),o},f=function(e){for(var t=[],n={},o=0;o<e.length;o++){var r=e[o];n[r]||(t.push(r),n[r]=!0)}return t},b=function(){function e(t,n){a(this,e),this._uri=t,this._parents=[],this._children=[],this._graph=n}return l(e,[{key:"getURI",value:function(){return this._uri}},{key:"getLabel",value:function(){var e=this.getLabels();if(null!=e.en)return e.en;var t=Object.objects(e);return t.length>0?t[0]:""}},{key:"getLabels",value:function(){return null==this._labels&&(this._labels=u(this._graph,this._uri,"".concat(c.rdfs,"label")),null==this._labels&&(this._labels={en:this._uri.substr(this._uri.lastIndexOf("/")+1)})),this._labels}},{key:"getComment",value:function(){var e=this.getComments();return null!=e?null!=e.en?e.en:Object.objects(e)[0]:""}},{key:"getComments",value:function(){return null==this._comments&&(this._comments=u(this._graph,this._uri,"".concat(c.rdfs,"comment"))),this._comments}},{key:"addParent",value:function(e){this._parents.push(e),e._children.push(this)}},{key:"getDirectParents",value:function(){return this._parents}},{key:"getParents",value:function(){if(this._parentLock)return[];if(this._parentLock=!0,null==this._allParents){this._allParents=[];for(var e=0;e<this._parents.length;e++)this._allParents=this._allParents.concat(this._parents[e].getParents()),this._allParents.push(this._parents[e])}return delete this._parentLock,this._allParents}},{key:"getChildren",value:function(){if(this._childLock)return[];if(this._childLock=!0,null==this._allChildren){this._allChildren=[];for(var e=0;e<this._children.length;e++)this._allChildren=this._allChildren.concat(this._children[e].getChildren()),this._allChildren.push(this._children[e])}return delete this._childLock,this._allChildren}},{key:"setRange",value:function(e){null==this._range&&(this._range=[]),this._range.push(e)}},{key:"setDomain",value:function(e){null==this._domain&&(this._domain=[]),this._domain.push(e),e.setDomainOf(this)}},{key:"getRange",value:function(){if(null==this._allRange){this._allRange=this._range||[];for(var e=0;e<this._parents.length;e++)this._allRange=this._allRange.concat(this._parents[e].getRange());this._allRange=f(this._allRange)}return this._allRange}},{key:"getDomain",value:function(){if(null==this._allDomain){this._allDomain=this._domain||[];for(var e=0;e<this._parents.length;e++)this._allDomain=this._allDomain.concat(this._parents[e].getDomain());this._allDomain=f(this._allDomain)}return this._allDomain}},{key:"setDomainOf",value:function(e){null==this._domainOf&&(this._domainOf=[]),this._domainOf.push(e)}},{key:"getDomainOf",value:function(){return this._domainOf}},{key:"getAllDomainOf",value:function(){if(this._domainOfLock)return[];if(this._domainOfLock=!0,null==this._allDomainOf){var e=this._domainOf||[];this._allDomainOf=this._domainOf||[];for(var t=0;t<e.length;t++)this._allDomainOf=this._allDomainOf.concat(e[t].getChildren());for(var n=0;n<this._parents.length;n++)this._allDomainOf=this._allDomainOf.concat(this._parents[n].getAllDomainOf())}return delete this._domainOfLock,this._allDomainOf}}]),e}(),p=function(e,t,n,o){for(var r=0;r<n.length;r++){var i=n[r],a=i.getSubject(),s=e[a];if(s||(s=new b(a,i.getGraph()),e[a]=s,t.push(s)),o){var l=i.getValue(),c=e[l];c||(c=new b(l,i.getGraph()),e[l]=c,t.push(c)),s.addParent(c)}}},m=function(){function e(){a(this,e),this._cidx={},this._carr=[],this._pidx={},this._parr=[]}return l(e,[{key:"addGraph",value:function(e){p(this._cidx,this._carr,e.find(null,d.rdftype,d.rdfsClass)),p(this._cidx,this._carr,e.find(null,d.rdftype,d.owlClass)),p(this._cidx,this._carr,e.find(null,d.rdfssco,null),!0),p(this._pidx,this._parr,e.find(null,d.rdftype,d.rdfProperty)),p(this._pidx,this._parr,e.find(null,d.rdfsspo,null),!0),p(this._pidx,this._parr,e.find(null,d.rdftype,d.owlDatatypeProperty)),p(this._pidx,this._parr,e.find(null,d.rdftype,d.owlObjectProperty)),function(e,t,n){for(var o,r,i,a=e.find(null,d.rdfsdomain,null),s=0;s<a.length;s++)o=t[(i=a[s]).getSubject()],r=n[i.getValue()],null!=o&&null!=r&&o.setDomain(r);a=e.find(null,d.rdfsrange,null);for(var l=0;l<a.length;l++)o=t[(i=a[l]).getSubject()],r=i.getValue(),null!=o&&null!=r&&o.setRange(r)}(e,this._pidx,this._cidx)}},{key:"addThing",value:function(){var e="http://www.w3.org/2002/07/owl#Thing",t=this._cidx[e],n=!1;t||(t=new b(e,new i.default),this._cidx[e]=t,this._carr.push(t),n=!0);for(var o=0;o<this._carr.length;o++){var r=this._carr[o];(n&&r!==t||-1===r.getParents().indexOf(t)&&r!==t)&&r.addParent(t)}}},{key:"getClasses",value:function(){return this._carr}},{key:"getProperties",value:function(){return this._parr}},{key:"isClass",value:function(e){return null!=this._cidx[e]}},{key:"isProperty",value:function(e){return null!=this._pidx[e]}},{key:"getClass",value:function(e){return this._cidx[e]}},{key:"getProperty",value:function(e){return this._pidx[e]}}],[{key:"getInstances",value:function(e){for(var t=[],n=[e].concat(e.getChildren()),o=0;o<n.length;o++)for(var r=n[o],i=r.getGraph.find(null,d.rdftype,r.getURI()),a=0;a<i.length;a++)t.push(i[a].getSubject());return t}}]),e}();m.prototype.ns=c,m.prototype.terms=d,m.global=new m;var g=m;t.default=g},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e){e.exports=JSON.parse('{"edit_add":"Add","edit_remove":"Remove","edit_clear":"Clear","edit_browse":"Browse and select","edit_browse_create":"Browse and select or create","edit_expand":"Expand","edit_upgrade":"Provide additional information for this web address","info_label":"Label","info_property":"Property","info_description":"Description","info_missing":"No information","address_label":"Address","validation_min_required_one":"at least one value is required","validation_min_required_more":"a minimum of $1 values is required","validation_min_recommended_one":"at least one value is recommended","validation_min_recommended_more":"a minimum of $1 values is recommended","validation_max_one":"at most one value is allowed","validation_max_more":"a maximum of $1 values are allowed","validation_at_most_one_child":"A maximum of one value is allowed","validation_at_least_one_child":"A minimum of one value is required","validation_exactly_one_child":"Exactly one value is required","validation_deprecated":"This field is deprecated","validation_nodetype":"Wrong nodetype","validation_value":"Wrong value","validation_datatype":"Wrong datatype","validation_constraints":"Missing constraints","validation_pattern":"Value does not follow pattern","validation_language":"A language code is required","date_date":"Date","date_time":"Time","date_year":"Year","date_date_and_time":"Date and time","date_year_and_month":"Year and month","date_month_and_day":"Month and day","date_openDatePicker":"Open date picker dialog","date_openTimePicker":"Open time picker dialog","date_openYearPicker":"Open year picker dialog","date_nextMonth":"Next month","date_previousMonth":"Previous month","duration_years":"Years","duration_months":"Months","duration_days":"Days","duration_hours":"Hours","duration_minutes":"Minutes","mandatoryLabel":"Mandatory","recommendedLabel":"Recommended","optionalLabel":"Optional","today":"Today","mandatoryMark":"*","recommendedMark":"(Recommended)","optionalMark":"(Optional)","deprecatedField":"This field has been deprecated, please remove it.","missingValueField":"This field is required, please provide a value.","dependencyField":"This field depends on another field, please review the field it depends on or remove this value.","wrongValueField":"This is an invalid value, please change or remove it.","wrongDatatypeField":"The value has an invalid datatype, please change or remove it.","openLinkExternally":"Open link externally","showMore":"Show more","showLess":"Show less"}')},function(e,t,n){var o=n(28);e.exports=function(e){return void 0!==e&&(o(e,"value")||o(e,"writable"))}},function(e,t,n){"use strict";var o,r=n(286),i=n(21),a=n(19),s=n(220),l=n(170),c=n(217),d=n(412),u=n(32),f=n(66).enforce,b=n(12),p=n(257),m=Object,g=Array.isArray,h=m.isExtensible,v=m.isFrozen,y=m.isSealed,w=m.freeze,x=m.seal,k={},_={},C=!i.ActiveXObject&&"ActiveXObject"in i,T=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},O=c("WeakMap",T,d),E=O.prototype,S=a(E.set);if(p)if(C){o=d.getConstructor(T,"WeakMap",!0),l.enable();var D=a(E.delete),j=a(E.has),N=a(E.get);s(E,{delete:function(e){if(u(e)&&!h(e)){var t=f(this);return t.frozen||(t.frozen=new o),D(this,e)||t.frozen.delete(e)}return D(this,e)},has:function(e){if(u(e)&&!h(e)){var t=f(this);return t.frozen||(t.frozen=new o),j(this,e)||t.frozen.has(e)}return j(this,e)},get:function(e){if(u(e)&&!h(e)){var t=f(this);return t.frozen||(t.frozen=new o),j(this,e)?N(this,e):t.frozen.get(e)}return N(this,e)},set:function(e,t){if(u(e)&&!h(e)){var n=f(this);n.frozen||(n.frozen=new o),j(this,e)?S(this,e,t):n.frozen.set(e,t)}else S(this,e,t);return this}})}else r&&b((function(){var e=w([]);return S(new O,e,1),!v(e)}))&&s(E,{set:function(e,t){var n;return g(e)&&(v(e)?n=k:y(e)&&(n=_)),S(this,e,t),n==k&&w(e),n==_&&x(e),this}})},function(e,t,n){"use strict";var o=n(19),r=n(220),i=n(170).getWeakData,a=n(171),s=n(31),l=n(71),c=n(32),d=n(138),u=n(106),f=n(28),b=n(66),p=b.set,m=b.getterFor,g=u.find,h=u.findIndex,v=o([].splice),y=0,w=function(e){return e.frozen||(e.frozen=new x)},x=function(){this.entries=[]},k=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};x.prototype={get:function(e){var t=k(this,e);if(t)return t[1]},has:function(e){return!!k(this,e)},set:function(e,t){var n=k(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=h(this.entries,(function(t){return t[0]===e}));return~t&&v(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var u=e((function(e,r){a(e,b),p(e,{type:t,id:y++,frozen:void 0}),l(r)||d(r,e[o],{that:e,AS_ENTRIES:n})})),b=u.prototype,g=m(t),h=function(e,t,n){var o=g(e),r=i(s(t),!0);return!0===r?w(o).set(t,n):r[o.id]=n,e};return r(b,{delete:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return!0===n?w(t).delete(e):n&&f(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return!0===n?w(t).has(e):n&&f(n,t.id)}}),r(b,n?{get:function(e){var t=g(this);if(c(e)){var n=i(e);return!0===n?w(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return h(this,e,t)}}:{add:function(e){return h(this,e,!0)}}),u}}},function(e,t,n){n(18),n(11),n(15),n(16),n(100),n(40),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(36),n(42),n(30),n(168),n(169),n(35),n(23),n(24),n(13),n(14),n(22);var o=n(96),r=c(n(37)),i=c(n(224)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==d(e)&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var o={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(o,i,a):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(85)),s=n(190);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,i=void 0,i=function(e,t){if("object"!==d(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==d(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===d(i)?i:String(i)),o)}var r,i}var f=0,b=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._viewId=f,f+=1,this.parentView=t.parentView,this.srcNodeRef=n,this.binding=t.binding||null,this.template=t.template||null,this.graph=t.graph||null,this.resource=t.resource||"",this.topLevel=!1!==t.topLevel,this.compact=!1!==t.compact,this.showDescription=!0===t.showDescription,this.styleCls=t.styleCls||"",this.truncateLimit=void 0!==t.truncateLimit?t.truncateLimit:10,this.truncate=void 0!==t.truncate&&t.truncate,Array.isArray(t.filterPredicates)?this.filterPredicates=t.filterPredicates.reduce((function(e,t){return e[t]=!0,e}),{}):"object"===d(t.filterPredicates)?this.filterPredicates=t.filterPredicates:"string"==typeof t.filterPredicates?this.filterPredicates=t.filterPredicates.split(",").reduce((function(e,t){return e[t]=!0,e}),{}):this.filterPredicates=null,this.restrictToItem=t.restrictToItem,this.fuzzy=!0===t.fuzzy,this.markOrigin=!1!==t.markOrigin,this._handleParams(t),this._labelIndex={},this.domNode=r.default.createDomNode(n,this),r.default.domClassToggle(this.domNode,"rdforms",!0),r.default.domClassToggle(this.domNode,this.styleCls,!0),this.render()}var t,n,l;return t=e,(n=[{key:"getParentView",value:function(){return this.parentView}},{key:"getNamedGraphId",value:function(e){if(this.markOrigin){this.namedGraphs||(this.namedGraphs={},this.namedGraphCounter=65);var t=this.namedGraphs[e];return void 0===t&&(t=String.fromCharCode(this.namedGraphCounter),this.namedGraphs[e]=t,this.namedGraphCounter+=1),t}}},{key:"getNamedGraphFromId",value:function(e){var t=this;return this.namedGraphs?Object.keys(this.namedGraphs).find((function(n){return t.namedGraphs[n]===e})):void 0}},{key:"destroy",value:function(){r.default.destroyDomNode(this.domNode,this)}},{key:"getBinding",value:function(){return this.binding}},{key:"_handleParams",value:function(e){if(e.binding)this.binding=e.binding;else{if(this.template=e.template||this.template,this.graph=e.graph||this.graph,this.resource=e.resource||this.resource,null==this.graph||null==this.resource||null==this.template)return;this.fuzzy?(this.binding=a.fuzzyMatch(this.graph,this.resource,this.template),(0,s.bindingReport)(this.binding)):this.binding=a.match(this.graph,this.resource,this.template)}}},{key:"showNow",value:function(){return!0}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(){}},{key:"addTable",value:function(){}},{key:"fillTable",value:function(){}},{key:"addLabel",value:function(){}},{key:"addComponent",value:function(){}},{key:"showAsTable",value:function(e){return"group"===e.getType()&&(e.hasStyle("table")||e.hasClass("rdformsTable"))}},{key:"show",value:function(e){this._handleParams(e),this.render()}},{key:"render",value:function(){if(r.default.domText(this.domNode,""),null!=this.binding){var e=r.default.getMessages();if(this.messages=e,null!=this.binding){var t,n,o,a,s,l=this.binding.getItem().getChildren(),c=this.binding.getItemGroupedChildBindings();for(this._binding2node={},!this.compact&&!this.binding.getItem().hasStyle("compact")||this.binding.getItem().hasStyle("nonCompact")?r.default.domClassToggle(this.domNode,"compact",!1):r.default.domClassToggle(this.domNode,"compact",!0),this.preRenderView(),t=0;t<c.length;t++)if(a=c[t],s=l[t],(!this.restrictToItem||this.restrictToItem===s)&&this.showNow(s,a)){if(a=this.prepareBindings(s,a),this.showAsTable(s))this.context={view:this},o=this.createRowNode(o,a[0],s),a.length>0&&(n=this.addTable(o,a[0],s),this.fillTable(n,a));else if(a.length>0)if(this.isMultiValued(s))this.context={view:this},o=this.addRow(o,a[0],!0);else{for(var d=this.truncateAt(s,a),u=0;u<a.length;u++)this.context={view:this},o=this.addRow(o,a[u],0===u||a[u]instanceof i.default,u,d);if(-1!==d){var f=r.default.domQuery(".rdformsFields",o);f&&r.default.addTruncateControl(f,this.context)}}else this.context={view:this},o=this.createRowNode(o,null,s);a.length>0&&a[0].getCardinalityTracker().checkCardinality()}}}}},{key:"addRow",value:function(e,t,n,o,a){var s,l,c=n,d=t.getItem();if(!this.skipBinding(t)){if(null==c&&(c=t instanceof i.default),!0===c){l=this.createRowNode(e,t,d);var u=r.default.domCreate("div",l);r.default.domClassToggle(u,"rdformsFields",!0),-1!==a&&r.default.domClassToggle(u,"rdformsTruncated",!0),d.hasStyle("inline")&&r.default.domClassToggle(u,"rdformsInline",!0),s=r.default.domCreate("div",u),this.createEndOfRowNode(l,t,d)}else{var f=r.default.domQuery(".rdformsFields",e);if(null!=f)s=r.default.domCreate("div",f),r.default.domClassToggle(s,"rdformsRepeatedValue",!0),-1!==a&&o>=a&&r.default.domClassToggle(s,"rdformsMaybeTruncated",!0);else{var b=r.default.domCreate("div",e);r.default.domClassToggle(b,"rdformsFields",!0),d.hasStyle("inline")&&r.default.domClassToggle(b,"rdformsInline",!0),s=r.default.domCreate("div",b),this.createEndOfRowNode(l,t,d)}}if(this.markOrigin){var p=this.getNamedGraphId(t);p?(r.default.domClassToggle(s,"rdformsOrigin",!0),r.default.domClassToggle(s,"rdformsOrigin_".concat(p),!0)):(r.default.domClassToggle(s,"rdformsOrigin",!0),r.default.domClassToggle(s,"rdformsOrigin_default",!0))}return"group"===d.getType()?r.default.domClassToggle(s,"rdformsGroup",!0):r.default.domClassToggle(s,"rdformsField",!0),this._binding2node[t.getHash()]=s,this.addComponent(s,t),d.hasStyle("invisible")&&r.default.domClassToggle(l||e,"rdformsInvisible",!0),l||e}}},{key:"createRowNode",value:function(e,t,n){var o;return o=null==e?r.default.domCreate("div",this.domNode,t?this.getRowIndex(t):void 0):r.default.domCreateAfter("div",e,t?this.getRowIndex(t):void 0),n.getClasses().forEach((function(e){r.default.domClassToggle(o,e,!0)})),r.default.domClassToggle(o,"rdformsRow",!0),r.default.domClassToggle(o,"rdformsTopLevel",this.topLevel),r.default.domClassToggle(o,"rdformsInvisibleGroup",n.hasStyle("invisibleGroup")),r.default.domClassToggle(o,"rdformsHeading",n.hasStyle("heading")),r.default.domClassToggle(o,"notCompact","group"===n.getType()||n.hasStyle("nonCompact")),r.default.domClassToggle(o,"rdformsCompactItem",n.hasStyle("compact")),this.addLabel(o,t,n),t&&this.filterBinding(t)&&r.default.domClassToggle(o,"hiddenProperty",!0),n.hasStyle("card")&&r.default.domClassToggle(o,"rdformsCard",!0),o}},{key:"createEndOfRowNode",value:function(e,t,n){}},{key:"_getFilterPredicates",value:function(){return this.parentView?this.parentView._getFilterPredicates():this.filterPredicates}},{key:"filterBinding",value:function(e){return this.filterItem(e.getItem())}},{key:"filterItem",value:function(e){var t=this,n=this._getFilterPredicates();return!!n&&function e(n,r){var i=n.getId();if(i&&Object.keys(r).includes(i))return!0;var a=n.getProperty();if(a){for(var s=!0,l=t;l.parentView;)l.getBinding().getItem().getProperty()&&(s=!1),l=l.parentView;var c=o.namespaces.shortenKnown(a);return s?!0===r[a]||!0===r[c]||!0===r["*".concat(a)]||!0===r["".concat(c)]:!0===r["*".concat(a)]||!0===r["*".concat(c)]}if("group"===n.getType()){var d=n.getChildren()||[],u=!1;return d.forEach((function(t){e(t,r)||(u=!0)})),!u}return!1}(e,n)}},{key:"filterProperty",value:function(e){return!0===(this._getFilterPredicates()||{})[e]}},{key:"getLabelIndex",value:function(e){var t,n=this;return e.getParent().getChildBindingsFor(e.getItem()).reverse().find((function(e){return void 0!==(t=n._labelIndex[e.getHash()])})),void 0!==t?t:this.parentView?this.parentView.getLabelIndex(e.getParent()):""}},{key:"createLabelIndex",value:function(e){var t="".concat(e.getHash(),"_").concat(this._viewId,"_label");return this._labelIndex[e.getHash()]=t,t}},{key:"getRowIndex",value:function(e){return"".concat(e.getHash(),"_").concat(this._viewId,"_row")}},{key:"isMultiValued",value:function(e){return!1}},{key:"truncateAt",value:function(e,t){return-1}}])&&u(t.prototype,n),l&&u(t,l),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=b},function(e,t,n){"use strict";var o=n(107),r=n(29),i=n(54),a=n(415),s=n(287),l=n(161),c=n(77),d=n(118),u=n(288),f=n(218),b=Array;e.exports=function(e){var t=i(e),n=l(this),p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m;g&&(m=o(m,p>2?arguments[2]:void 0));var h,v,y,w,x,k,_=f(t),C=0;if(!_||this===b&&s(_))for(h=c(t),v=n?new this(h):b(h);h>C;C++)k=g?m(t[C],C):t[C],d(v,C,k);else for(x=(w=u(t,_)).next,v=n?new this:[];!(y=r(x,w)).done;C++)k=g?a(w,m,[y.value,C],!0):y.value,d(v,C,k);return v.length=C,v}},function(e,t,n){var o=n(31),r=n(289);e.exports=function(e,t,n,i){try{return i?t(o(n)[0],n[1]):t(n)}catch(t){r(e,"throw",t)}}},function(e,t,n){n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(101),n(9),n(30),n(23),n(24),n(13),n(14),n(22);var o,r=(o=n(102))&&o.__esModule?o:{default:o};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,a=void 0,a=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===i(a)?a:String(a)),o)}var r,a}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._listener=[],this._limits=t.getCardinality()||{},this._counter=0,this._depsOk=!0,this._listeners=[],this._code=0}var t,n,o;return t=e,(n=[{key:"addListener",value:function(e){return this._listeners.push(e),e}},{key:"removeListener",value:function(e){this._listeners.splice(this._listeners.indexOf(e),1)}},{key:"cardinalityChanged",value:function(){this._listeners.forEach((function(e){return e()}))}},{key:"getCardinality",value:function(){return this._counter}},{key:"isMax",value:function(){return null!=this._limits.max&&this._counter>=this._limits.max}},{key:"isMin",value:function(){return null!=this._limits.min&&this._counter<=this._limits.min}},{key:"isFine",value:function(){return this._fine}},{key:"isDepsOk",value:function(){return this._depsOk}},{key:"getCode",value:function(){return this._code}},{key:"setCode",value:function(e){this._code!==e&&(this._code=e,this.cardinalityChanged())}},{key:"setDepsOk",value:function(e){this._depsOk!==e&&(this._code=r.default.UNKNOWN,this._depsOk=e,this.cardinalityChanged())}},{key:"increment",value:function(){this._counter+=1,this._code=r.default.UNKNOWN,this._checkCounter()}},{key:"decrement",value:function(){this._counter-=1,this._code=r.default.UNKNOWN,this._checkCounter()}},{key:"getCounter",value:function(){return this._counter}},{key:"checkCardinality",value:function(){this._checkCounter()}},{key:"touch",value:function(){this._code=r.default.UNKNOWN,this.cardinalityChanged()}},{key:"_checkCounter",value:function(){null!=this._limits.max&&this._counter===this._limits.max?this._fine=!0:null!=this._limits.max&&this._counter>this._limits.max?this._fine=!1:null!=this._limits.min&&this._counter===this._limits.min?this._fine=!0:null!=this._limits.min&&this._counter<this._limits.min&&(this._fine=!1),this.cardinalityChanged()}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(9),n(44),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(39);var r=d(n(174)),i=d(n(173)),a=d(n(226)),s=d(n(227)),l=d(n(224)),c=d(n(418));function d(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=m(e);if(t){var r=m(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(p,e);var t,n,o,d=b(p);function p(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),t=d.call(this,e);var n=e.statement,o=e.constraints;t._statement=void 0,t._validPredicate=!0,t._constraints=[];var u,f=t._item.getChildren(),b=f[1];u=b instanceof i.default?new l.default({item:b,statement:n,constraints:o}):b instanceof a.default?new s.default({item:b,statement:n}):new r.default({item:b,statement:n});var m=new c.default({item:f[0],objectBinding:u});return t.addChildBinding(m),t.addChildBinding(u),t}return t=p,(n=[{key:"getPredicateBinding",value:function(){return this._childBindings[0][0]}},{key:"getObjectBinding",value:function(){return this._childBindings[1][0]}},{key:"getGraph",value:function(){return this.getObjectBinding().getGraph()}}])&&u(t.prototype,n),o&&u(t,o),Object.defineProperty(t,"prototype",{writable:!1}),p}(l.default);t.default=g},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=c(e);if(t){var r=c(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(9),n(44),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(39);var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(l,e);var t,n,o,r=s(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=r.call(this,e))._objectBinding=e.objectBinding,t}return t=l,(n=[{key:"remove",value:function(){}},{key:"setValue",value:function(e){this._objectBinding.setPredicate(e)}},{key:"getValue",value:function(){return this._objectBinding.getPredicate()}},{key:"isValid",value:function(){return!1}},{key:"updateAssertions",value:function(){}}])&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(((r=n(227))&&r.__esModule?r:{default:r}).default);t.default=d},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function s(){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=l(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function l(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=f(e);if(t){var r=f(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(9),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(39);var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(l,e);var t,n,o,r=d(l);function l(){return i(this,l),r.apply(this,arguments)}return t=l,(n=[{key:"getValue",value:function(){return this._parent.getValue()}},{key:"setValue",value:function(e){return this._parent.setValue(e)}},{key:"getGist",value:function(){return this._parent.getGist()}},{key:"setGist",value:function(e,t){return this._parent.setGist(e,t)}},{key:"setSubject",value:function(e){}},{key:"getPredicate",value:function(){return this._parent.getPredicate()}},{key:"remove",value:function(){this._parent.removeChildBinding(this),s(f(l.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){}},{key:"isValid",value:function(){return!0}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(((r=n(174))&&r.__esModule?r:{default:r}).default);t.default=b},function(e,t,n){"use strict";var o=n(29),r=n(233),i=n(31),a=n(71),s=n(88),l=n(501),c=n(43),d=n(117),u=n(234);r("search",(function(e,t,n){return[function(t){var n=s(this),r=a(t)?void 0:d(t,e);return r?o(r,t,n):new RegExp(t)[e](c(n))},function(e){var o=i(this),r=c(e),a=n(t,o,r);if(a.done)return a.value;var s=o.lastIndex;l(s,0)||(o.lastIndex=0);var d=u(o,r);return l(o.lastIndex,s)||(o.lastIndex=s),null===d?-1:d.index}]}))},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,o=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var r,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(r=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:o+i.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")}))}},function(e,t,n){(t=n(148)(!1)).push([e.i,'/* === Colors === */\n.rdformsLabel {\n font-weight:bold;\n color: black;\n margin-bottom: 5px;\n display: inline-block;\n}\n\n.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n/* border-right: 1px solid #E6E6E6;*/\n border-bottom-width: 0px;\n}\n\n/* No border to the right of a heading*/\n.compact.rdformsEditor .rdformsTopLevel.rdformsHeading>.rdformsLabelRow,\n.compact.rdformsPresenter .rdformsTopLevel.rdformsHeading>.rdformsLabel {\n border-right-width: 0px;\n}\n\n/* --- Inverted, background greyish with white separators. --- */\n.inverted.rdforms .rdformsTopLevel {\n background: #E6E6E6;\n}\n\n.inverted.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.inverted.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n border-right: 1px solid white;\n}\n\n\n/* --- Validation colors --- */\n.rdformsValidator .rdformsField.errorReport,\n.rdformsValidator .rdformsGroup.errorReport {\n border-left: 2px dotted red;\n}\n\n.rdformsValidator .error .rdformsValidationMessageWrapper {\n color: red;\n}\n\n.rdformsValidator .warning .rdformsValidationMessageWrapper {\n color: orange;\n}\n\n.rdformsValidator .deprecated .rdformsValidationMessageWrapper {\n color: #00766c;\n}\n\n.rdforms .rdformsMandatoryMark {\n color: red;\n vertical-align: text-bottom;\n font-weight: bold;\n}\n\n.rdforms .rdformsRecommendedMark,\n.rdforms .rdformsOptionalMark {\n padding-left: 10px;\n font-size: 12px;\n color: grey;\n}\n\n.rdformsMark {\n display: none;\n}\n\n.rdformsTopLevel>.rdformsLabelRow>.rdformsMark,\n.rdformsTopLevel.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow>.rdformsMark {\n display: inline;\n}\n\n.compact .rdformsTopLevel>.rdformsLabelRow>.rdformsMark,\n.compact .rdformsTopLevel.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow>.rdformsMark {\n display: none;\n}\n\n\n/* === End colors === */\n\n.rdformsInvisible {\n display: none;\n}\n\n.rdformsRow.rdformsTopLevel {\n \tpadding-top: 0.3em;\n \tpadding-bottom: 0.3em;\n\tmargin-top: 0em;\n}\n\n.compact .rdformsRow.rdformsTopLevel .rdformsRow {\n\tpadding-left: 0.7em;\n margin-bottom: 0.3em;\n}\n\n.rdformsRow.rdformsTopLevel .rdformsRow {\n margin-bottom: 0.15em;\n}\n\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel,\n.compact.rdformsPresenter .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabel {\n\tfont-style: normal;\n\twidth: 10em !important;\n}\n\n.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.compact.rdformsEditor .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow {\n\twidth: 13em !important;\n}\n\n/* No specific width for headings */\n.rdformsEditor .rdformsTopLevel.rdformsHeading>.rdformsLabelRow,\n.rdformsPresenter .rdformsTopLevel.rdformsHeading>.rdformsLabel {\n width: auto !important;\n/* border-bottom: 1px solid lightgrey;*/\n}\n\n\n.rdformsEditor .rdformsTopLevel>.rdformsLabelRow>.rdformsLabel {\n\tmax-width: 15em;\n\twidth: auto;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tzoom:1;\n\t*display: inline;\n vertical-align: middle;\n}\n\na.rdformsUrl {\n text-decoration: none;\n word-break: break-all;\n}\n\na.rdformsUrl:hover {\n text-decoration: underline;\n}\n\n/* compact anyway for first level*/\n.compact .rdformsTopLevel.rdformsRow.notCompact {\n\tdisplay: inherit;\n\twidth: 98%;\n}\n.compact .rdformsTopLevel.rdformsRow.notCompact>div {\n\tdisplay: block;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading.notCompact>div {\n display: block;\n}\n\n.compact .rdformsTopLevel.rdformsRow.notCompact>.rdformsFields>.rdformsGroup {\n\tmargin-left: 0px;\n}\n\n.compact .rdformsRow.notCompact {\n display: block;\n width: auto;\n}\n\n.compact .rdformsRow.notCompact>div {\n display: inherit;\n}\n\n.rdformsPresenter .rdformsRow.rdformsCompactItem {\n display: table;\n width: 98%;\n}\n\n.rdformsPresenter .rdformsRow.rdformsCompactItem>.rdformsLabel {\n width: 10em;\n}\n.rdformsPresenter .rdformsRow.rdformsCompactItem>div {\n display: table-cell;\n}\n\n/* compact anyway for first level*/\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow {\n display: table;\n width: 98%;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>div {\n display: table-cell;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow.notCompact {\n display: inherit;\n width: auto;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow.notCompact>div {\n display: inherit;\n}\n\n\n\n\n.rdformsImage {\n max-width: 100%;\n max-height: 300px;\n}\n\n.rdformsLabel:hover {\n\ttext-decoration: underline;\n\tcursor: pointer;\n}\n\n.rdformsLabel.noPointer:hover {\n text-decoration: none;\n cursor: default;\n}\n\n.rdformsPresenter th span:hover,\n.rdformsEditor th span:hover,\n.rdformsLabel.hasInfo:hover {\n\ttext-decoration: underline;\n\tcursor: pointer;\n}\n\n.rdforms .itemInfoTable {\n\tdisplay: table;\n\twidth: 100%;\n}\n.rdforms .itemInfoTable>* {\n\tdisplay: table-row;\n}\n.rdforms .itemInfoTable>*>* {\n\tdisplay: table-cell;\n}\n\n.rdformsGroup {\n\tmargin-left: 13px;\n position: relative;\n margin-top: 10px;\n }\n\n.compact .rdformsRow.rdformsInvisibleGroup>.rdformsLabelRow,\n.rdformsRow.rdformsInvisibleGroup>.rdformsLabelRow,\n.compact .rdformsRow.rdformsInvisibleGroup>.rdformsLabel,\n.rdformsRow.rdformsInvisibleGroup>.rdformsLabel{\n display: none;\n}\n\n.rdformsInvisibleGroup>.rdformsFields>.rdformsField {\n margin-left: 0em;\n padding-left: 0em;\n}\n\n.rdformsInvisibleGroup>.rdformsFields>.rdformsGroup {\n margin-left: 0em;\n}\n.rdformsInvisibleGroup>.rdformsFields>.rdformsGroup>.rdformsRow {\n padding-left: 0px;\n}\n\n.rdformsHeading>.rdformsLabel {\n font-size: larger;\n margin: 8px 0px 5px 0px;\n}\n\n.rdformsField {\n\tmargin-left: 1em;\n/*\tbackground: white;*/\n/*\tpadding-left: 0.5em;*/\n/*\tword-break: break-all;*/\n}\n\n.rdformsPresenter .rdformsRepeatedValue {\n \tborder-top: 1px solid #E6E6E6;\n padding-top: 2px;\n margin-top: 2px;\n}\n\n.rdformsEditor .rdformsRepeatedValue {\n margin-top: 2px;\n}\n\n.rdformsPresenter .rdformsField.rdformsSingleline {\n word-break: break-all;\n}\n\n.rdformsPresenter .rdformsField.rdformsMultiline {\n word-break: break-word;\n white-space: pre-line;\n}\n\n.rdformsPresenter th,\n.rdformsEditor th {\n font-weight: bold;\n padding-left: 0.3em;\n padding-right: 0.3em;\n}\n\n.rdformsPresenter table.rdformsGroup td {\n\tborder: 1px solid #E6E6E6;\n}\n.rdformsEditor table.rdformsGroup th {\n\tborder-bottom: 1px solid #E6E6E6;\n}\n\n\n.rdformsEditor table.rdformsGroup td {\n\tpadding-left: 0em;\n\tpadding-right: 0.6em;\n}\n\n.rdformsEditor table.rdformsGroup td.rdformsLangcontrolledfield {\n padding-right: 7.4em;\n}\n.rdformsEditor table.rdformsGroup td.rdformsLangcontrolledfield .rdformsLangFieldControl {\n width: 6.4em;\n}\n\n.rdformsEditor table.rdformsGroup td.rdformsTableControl,\n.rdformsPresenter table.rdformsGroup td {\n\tpadding-left: 0.3em;\n\tpadding-right: 0.3em;\n}\n\n.rdformsPresenter table.rdformsGroup,\n.rdformsEditor table.rdformsGroup {\n\tborder-collapse: collapse;\n}\n.rdformsEditor table.rdformsGroup tr{\n\tbackground-color: white;\n}\n.rdformsPresenter table.rdformsGgroup th,\n.rdformsEditor table.rdformsGroup th {\n\tpadding-left: 0.3em;\n\tpadding-right: 0.3em;\n}\n\n\n.rdformsPresenter .rdformsLanguage {\n \tfloat: right;\n/*\tborder-left: 1px solid #E6E6E6;*/\n\tpadding-left: 0.7em;\n }\n\n.rdformsEditor .rdformsLanguage {\n \tfloat: right;\n/*\tborder-left: 1px solid white;*/\n\tpadding-right: 0.7em;\n }\n .rdformsEditor .rdformsField {\n \tpadding-right: 55px;\n\tposition: relative;\n }\n\n .rdformsEditor .rdformsField .rdformsChoiceLabel {\n \tmargin-left: 0.2em;\n \tmargin-right: 1em;\n }\n .rdformsEditor .rdformsField .mismatch {\n color: red;\n font-weight: bold;\n }\n .rdformsEditor .rdformsLangcontrolledfield {\n \tpadding-right: 10.9em;\n }\n .rdformsEditor .rdformsFieldControl {\n\tposition: absolute;\n\twidth: 3.8em;\n\tpadding-right: 0.1em;\n\tright: 0;\n\toverflow-x: hidden;\n\tpadding-right: 0.1em;\n\tfont-weight: normal;\n }\n .rdformsEditor .rdformsLangFieldControl {\n\twidth: 10em;\n }\n\n.rdformsEditor .rdformsFieldInput {\n width: 100%;\n resize: vertical;\n}\n\n.rdformsEditor .rdformsExtLink {\n margin-top: 0.6em;\n margin-right: .6em;\n text-decoration: none;\n}\n\n.rdformsEditor .rdformsExtLinkDisabled {\n pointer-events: none;\n opacity: 0.14;\n}\n\n.rdformsEditor .rdformsExtLinkControl {\n padding-right: 3.5em !important;\n}\n\n.rdformsEditor .rdformsChoiceValue {\n \tdisplay: inline-block;\n\tzoom:1;\n\tbackground: whitesmoke;\n\tmin-height: 1.4em;\n\tpadding-left: 4px;\n\tpadding-right: 4px;\n\tborder: 1px solid lightgrey;\n\tmin-width: 4em;\n}\n\n.chooser.rdforms label {\n\tfont-weight:normal;\n\tmargin-left:5px;\n\tmargin-top:5px;\n\tfont-size:15px;\n width: 4em;\n}\n\n.chooser.rdforms .uriNode,\n.chooser.rdforms .labelNode,\n.chooser.rdforms .descriptionNode {\n\tmargin-left:20px;\n\tfont-size:15px;\n background: rgb(228, 224, 219);\n border-radius: 3px;\n padding: 3px 7px;\n border: 1px solid grey;\n word-break: break-all;\n}\n\n.chooser.rdforms h2 {\n margin-top: 0px;\n margin-bottom: 0.7em;\n}\n\n.rdformsStar {\n\tdisplay: inline-block;\n\tzoom:1;\n\t*display: inline;\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGUlEQVQ4y52TTUhUcRTFf//3n/FjZsxmQsOvmtJF5VQ6i3IsaaJcVIs24UKIIKRNuGrboihaRWQptbVtmLvCWgyZWJRlNimUaKajMH1gWprzfO/dFiYozgR54WzuPedwOZcL/6jDtXjq68hlPRXejRqM0TPwhK51Gdy6QoNM5oqTyHFaLnP8v8TRCFmJPobly0GRZI2MvSBeX4dOxzXSNZsaaS4pLqrA8IMuYOuWwtDpUzSl46pohOxohGhVJdVlxVQHNlJdVuorN7L3GSjvEkt+4iy8sscTc8PTM7ydmKJ/YIg3sV6eqjvXOH+uUbWii8EVBJUPKu22IBbILFgjYCdpa5czem6eeHiXOlAQcG8TXY7gQkRlgEbEjZhj9MdTD1vbuajHEljjkzwI7zSP+H2zJaiiJbLDWtgOznwfQx9+dF+66Zzs6ialAYbHMJNf6QzvSJ3I81iFqELEUWtg/37PyGjy9dU251jnY36tukJHl3yP9cpd23SwLZUepkPPS27ffyQzyzrXyow2bTBKbcuLs6iWU1s+1t8Mvfh9RtlKzSqDgE8HHdsDpiDmFJL6BBio7CAqqwixPPi9OpjRINdlBBdnP4OM8G16Yep53GpR4K7dO9gcyB/djDLIcRmZDcQy8sYn5j8+G1i83hEz7/W+s1MANSF9o+GoffZQlfuCWIYv4w9EQq78PRXayDQPbdd6f6XesLL3By3z9hHiEQ65AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAyLTExVDAxOjIwOjIxLTA2OjAwtZnToAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAwNi0xMC0wMVQwMDo1NjoyNi0wNTowMJWSAJ0AAAAASUVORK5CYII=);\n}\n\n/*.rdformsValidator .rdformsFields .error,\n.rdformsValidator .rdformsFields .warning,\n.rdformsValidator .rdformsFields .deprecated {\n border-radius: 4px;\n padding: 4px;\n color: white;\n}*/\n\n.rdformsValidator {\n padding-left: 30px;\n}\n.rdformsValidator .rdformsValidator {\n padding-left: 0px;\n}\n\n.rdformsValidator .rdformsField.error {\n color: red;\n}\n\n/* To override some nested rdformsField background settings\n.rdformsPresenter.rdformsValidator.error .rdformsField {\n background: red;\n}*/\n\n.rdformsValidator .rdformsField.warning {\n color: orange;\n}\n\n.rdformsValidator .rdformsField.deprecated {\n color: #00766c;\n}\n\n/*.rdformsValidator .rdformsField.error .rdformsUrl,\n.rdformsValidator .rdformsField.warning .rdformsUrl,\n.rdformsValidator .rdformsField.deprecated .rdformsUrl {\n color: white;\n text-decoration: underline;\n}\n\n.rdformsValidator .rdformsField.error .rdformsUrl:hover,\n.rdformsValidator .rdformsField.warning .rdformsUrl:hover,\n.rdformsValidator .rdformsField.deprecated .rdformsUrl:hover {\n color: white;\n}*/\n\n.compact .rdformsRow.rdformsTopLevel>.rdformsFields>div.rdforms.error {\n padding: 4px 10px;\n}\n.rdforms.rdformsValidator .rdformsValidator.error {\n color: red;\n border-radius: 4px;\n padding: 4px;\n}\n\n.rdformsValidator .rdformsValidationMessage {\n margin-left: 5px;\n}\n\n.rdformsValidator .rdformsValidationMessageWrapper {\n display: flex;\n align-items: center;\n padding-top: 5px;\n}\n\n.compact .rdformsRow.rdformsTopLevel {\n\tdisplay: table;\n}\n.compact .rdformsRow.rdformsTopLevel>div {\n\tdisplay: table-cell;\n}\n\n.compact .rdformsRow.rdformsTopLevel>.rdformsFields>div.rdforms {\n padding-left: 0px;\n}\n\n.compact .rdformsRow>.rdformsLabelRow {\n white-space: nowrap;\n}\n\n.compact .rdformsTopLevel.rdformsRow>.rdformsLabelRow .action {\n\tvertical-align: middle;\n}\n\n.compact .rdformsTopLevel>.rdformsFields>.rdformsField {\n\tmargin-left: 0;\n}\n\n.rdforms .action {\n\tdisplay: inline-block;\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n opacity:0.65;\n -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=65)";\n filter:alpha(opacity=65);\n zoom:1;\n\tvertical-align: top;\n}\n\n.rdforms .action:hover {\n\topacity:1;\n -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=100)";\n filter:alpha(opacity=100);\n zoom:1;\n cursor: pointer;\n}\n\n.rdforms .action.disabled {\n\topacity:0.14;\n -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=14)";\n filter:alpha(opacity=14);\n zoom:1;\n}\n\n.rdforms .action.editAdd {\n\tmargin-left: 0.5em;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAG6SURBVDiNpZI9a1NRHIefc+45J0l7E1NaF4cE0cHMClYQRRCh38DNIfoBxMXFFl06CRb0CxTBSQdBRAcXsUN9AUGQijaggihe01ybmzT3vDiIIpirFv/r7+Hh/yZCCPxPyaLgwurZ68dutwbH7+xLll8tXSviRFEHJ+/N+bndJ8TIDXmePLFXD9/U2+rg6cfHwushpYri5cYLVcQVBrl3fN3KEFIycq4I+ykQQATYH4F1nnQ0QCDI7W8CBTggKID23fZiJ+2ce/ThoTKRwqgIHUmyfIgUgi2XM3urGSpaUzGa/TsP2UatefnM3oXzIoSAXtSfTx84NU3kCJFHSPFd4FOkENRVHSkVJWKSfo80+0I+uZ7cOPpsRgFYa1lPOiij0OWIWilGS0HfbRJJ0EGTjTLWkjf0BgOmTJUZM/plB575+68fXEGhUaCVxEQRs80Wk8aw8naVslaUlKIaK7RJc2vVPPzhD8pLOhzZ02JqosxKZ4137Z4YxxX+gfOe3OVIAbn3fz3jWMGnzR5BeKzbtuCibMT18L7bFd1+Tmx32PFc4QgL/uB0dRkY7ppobNR87VKRoHCJ/1rfAF8ir6zXPA5QAAAAAElFTkSuQmCC);\n}\n\n.rdforms .action.editDelete {\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC);\n}\n\n.rdforms .rdformsTableControl>.action.editDelete,\n.rdforms .rdformsFieldControl>.action.editDelete {\n\tfloat: right;\n margin-top: 3px;\n}\n.rdforms .action.editSearch {\n\tmargin-left: 13px;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACnklEQVQ4jY2SX0hTYRjG39VEQl2RN2UXZQRFd0EIEUH/BhVBZCSEeFMpQSgVjc3/VhSCXUSBWSG5bipDU1IoCVEa6JTUzvGsZrP5Z9NtHre5qZubO0/fNylqDOqFh8P5OO/vfb73PES8UjYQnagh0g2TSi9kkF7Qkl7MZc9slV4kKuogyj5IyYs35xtJZRA16wxiQ3qlFNY+s+NM0wR21loVdm5Wl4o5HE67jycBHL7Bp2rYh8PFbU74l6NYjSlxxRQFraIfmbcsoZQyUUvX+4nSMhMA7JA1N/DmSHQVzkAMdp+C6QUF7kUF4WgM/ROLSCkbdTOHGjpQmADQf8ngtueDYXyXoxhxrcLiiWFsPgabl8NicXDBqymoDEIRnXuYCBC0x56MI7gUQvePFZgmV2B2RDA0E8HIbDQud2AFxgEZbLHP6UJjIkDMPd04DtkfRItlCR3WZXTZOCyEHvua7PIyXn+e44DmJAAhe/u9r4rP70ezuADjSAAvhSDejDKgFESrJQiXN4DyTgcH1FB+UwJAN8RdmF/0OWF1yKg3e/Go34fHAz48HfRh0O6F7PVj7/0xsCWWsIFE+/P/AJx9wF3kbKqWQh+EGUzPuGEac6PX6oHN4YHLI6NdWkDdJy82VlsiDJL3N0STRXS1m2VB1KpLR915RhvqeybRZJqCrs2OPXVW3O6WUWvyoeKjjIykkM07iC63cycadp2i+Lb5wvid9WKJhjXdfO+BrmsOJZ1upFdJHHI+ns7fpVpPtOsI0VEd0ak7azrJdK2f7ygvvcoSudLuwiWmi29nkVohhdnArCTZTqht+1hazXFIWqUUKWhxovDdLLbe/cb+inDo34AESGq5FN7Cmw1iH3tX/x/gF6S4l+K2+WS9oOah+glT18LOvPJgZQAAAABJRU5ErkJggg==);\n vertical-align: top;\n margin-top: 5px;\n}\n\n.rdforms .action.editExpand {\n\tmargin-left: 0.5em;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACJUlEQVQ4jaWTO2hVQRCGv5k959yb+zg3MUQNEt+QwlejkCIRAhEhBGxSWAkWksLGgKWNjTYqEhDS24qgQoJWNhGxMWBjIxYKQTQPE9HknrM7FucmxiiiON0u/3z8/8wu/GfJ5sPA+VQP9pVPlyu6/cu8f3L30se5vwacGu+o9hwpPYoTBuNEiBP5bLkN3x6de/YngAIMjLXXOvfFU1nTBrMmZJmRZ9bQWKbH73f3r4vP3exMJl7vHrs2s+vA+l0E0LEnnsianAQrbImgYqiSxiWZvvywe3jhXf6it690L3gbad/pXgFHNwDNNRsxAzMBDFFQFdSBi6glZZnqOZzMGtLvYsECe3+K0FzjbdY08szIM/AZ5Dn43AjBKJWlJkJ/z35HvaEEozZ6pcNtAL4u+bGsyUKeFU3eG8EbwcO2LkfvsZhDxxMqNUUdmCFtdU03AM8nF2dXl/2QDzbvAwQPIUAwqDaErAmihWXnAINyTX4AAGbuLL5cWwlDwKdiHoXYabEVn7cyu2LU5bo2fgIAPL21MEuwIVHWAJKStGYB3lsLKgjQVvsNACBK9IIIJRGI4laUYFhoOVBAoJJq+gvgzPWuq6JcFCmEqlI0tiIVbwRUoNIoHESbAS4SFyeF9aQkrH4zPrz3LC8IlXqgmipRDC4CdazAls8EcOJsfUdbXTsqqaa1dm1U2zVNO7WRdro07dK0rapp5HjzeHJ58sGNJdva/8/1HRdPyP0VYmT/AAAAAElFTkSuQmCC);\n}\n\n.rdforms .action.info {\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9sHEgk6F1W2ZXkAAAMkSURBVDjLhZNfSN11GMY/7/f7O+eox+W/CGbptmTJGptTWgwGmWW6xQKtga2g0U30D5rdSEFFN60RbQV1IURd9GeuiyWxShd6JtO8ydha5i6WJNtkarGcHc8539/v+3u7EF1d9Vy9D8/zPvDC+8C/8GTPGP+H93sH/sNldTjwyhjHD+8GoO3ZwZfqNt56MJ1ONqgii0vL5yenrnw6/tljRwE6Dp2iu3Mdzc3NKwGryw89M9C0pX79xM6mDaRLUhhjsEZIJIRcPmIw8wvXLk+393/Qdfq19wZobSxGut48w4k37mfPc983NTXUTmzdUo33XkFk+6YURoSLsxHJhNV16ZQMnZ1ifubXAx+9tb/v61NDN094/sg5bWqoxXuv1hoCazjYWg7AidG/MUYwRriltFiO94/z6iP5OzbvePCqBejozhzatrVmj/eqcYzEqpJ3scwshHLxipNsPhZVFVXEhZFurLlNPj45WXd+7Mu+AKCqovQpjcG5SKw1asTIw/eWs7Ts1YjIxKUczolaG4u3hlQqQbK0fK/qTyUGwFizreA8Bee14Dy5fKRjF27ojroStt9ZrGHkNQw9zsXqnCd0Hq+pZDiX3RQAeB9LGHpEkDhW4lj4c9GhqgCEYYyqICbGeoMYQxzHZAsmHQAUXPhzwflGI2CtahCI5AVAFFRc6IkVNcaINaoiRix5kkHp9QAgm13+PJd3jYmEVRsrPhbN5b2AAuhfNxxFSYuxqoEVsrmIitTybEl1/bQB6D/W+u7CwnWiSMWFEQaVlx+vQUQQEXmhs1pACV0kiGH8x0n2N1f0imz0wbFPTtP9dBtlqaX2+T/MYFVFuWRzkX4ztiDGCCKi1qx8YjKR0B8mfpN9jX7qrvXB22tdeKJnkC+OtNPzznddl+aK+srKK0kmAgIrWGswYgi9Z3rmdzp36tSj91U+ULVh17Xh4eGVgJGREUYuFHj9xTamJ4dvP3oy9+FiLrF3uWCSCqRTIdXlbrZjd1lvfU3R4craXWEmk6GlpeVmLYeGhvjq2zNrXPVccTQ/evfi5bP3ZK+Oblads6taJpNZ8/0Dy3R3nlDQL+wAAAAASUVORK5CYII=);\n}\n\n.rdformsEditor .rdformsDateValue {\n margin-right: 0.4em;\n}\n\n/* ---------- StoreManager -----------*/\n\n.formulatorTable {\n display: table;\n width: 100%;\n}\n.formulatorTable .row {\n display: table-row;\n}\n\n.formulatorTable .row>* {\n display: table-cell;\n padding-bottom: 0.3em;\n}\n\n.formulatorTable .row>*>* {\n width: 100%;\n}\n\n.formulatorTable .row .select {\n width: 16em;\n}\n\n.formulatorTable .row label {\n width: 10em;\n}\n\n.formulatorTable .row .cardinality label {\n width: 2.5em;\n}\n\n.storeManager .readOnly {\n color: gray !important;\n}\n\n.storeManager .itemList>div {\n height: 100%;\n}\n\n.formulatorTable label .addButton {\n background: lightgreen;\n border-radius: 3px;\n padding-left: 3px;\n padding-right: 3px;\n margin-left: 5px;\n font-weight: bold;\n}\n\n.formulatorTable label .addButton:hover {\n background: green;\n color: white;\n}\n\n.inlineState .dynamic {\n display: none;\n}\n\n.langStringArr {\n display: table;\n}\n\n.langStringArr .langString {\n display: table-row;\n}\n\n.langString>* {\n display: table-cell;\n}\n\n.langString .langStringString {\n width: auto;\n}\n\n.langString .langStringLang {\n width: 5em;\n}\n.langString .langStringString>* {\n width: 100%;\n}\n\n.langString .langStringLang>* {\n width: 4.7em;\n margin-left: 0.3em;\n}\n\n.maximized_textarea {\n width: 100%;\n height: 100%;\n border-width: 0px;\n padding: 0px;\n resize: none;\n}\n\n/* LDBrowser */\n\n.ldbrowser.managedHeight>div {\n height: 100%;\n position: relative;\n}\n\n.ldbrowser.examples .examplesBlock {\n display: block;\n}\n.ldbrowser .examplesBlock {\n display:none;\n margin: 5px;\n}\n\n/* RDFView */\n.rdfView pre {\n padding: 0px;\n margin: 0px;\n width: 100%;\n border-width:0px;\n}\n\n.rdfView.managedHeight pre {\n height: 100%;\n overflow:auto;\n}\n\n.rdforms .cardinality {\n width: 500px;\n margin: 0px auto 1em auto;\n}\n\n.rdformsRow.missingDeps, .rdformsRow.hiddenProperty {\n display: none !important;\n}\n\n.rdformsError,\n.rdformsRow.missingDepsWithValue {\n border: 2px solid red;\n padding: 12px;\n}\n\n.rdformsLinebreaks {\n white-space: pre-line;\n}\n\n.rdformsWarning {\n font-weight: bold;\n color: red;\n padding-bottom: 6px;\n padding-top: 6px;\n}\n\n.rdformsDeprecated {\n border: 2px solid red;\n padding: 12px;\n}\n\n.rdformsDescription {\n font-style: italic;\n margin-bottom: 10px;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsRepeatedValue,\n.rdformsPresenter .rdformsInline>.rdformsOrigin {\n border: 1px solid #E6E6E6;\n padding: 4px 8px;\n margin-top: initial;\n margin-right: 5px;\n border-radius: 4px;\n margin-bottom: 5px;\n display: inline-block;\n}\n\n.rdformsPresenter .rdformsShowLess,\n.rdformsPresenter .rdformsShowMore {\n margin-left: 1em;\n margin-top: 5px;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsShowLess,\n.rdformsPresenter .rdformsInline>.rdformsShowMore {\n margin-left: 0;\n margin-top: initial;\n}\n\n.rdformsPresenter .rdformsTruncated>.rdformsMaybeTruncated {\n display: none;\n}\n\n.rdformsPresenter .rdformsTruncated>.rdformsShowLess {\n display: none;\n}\n.rdformsPresenter .rdformsShowMore {\n display: none;\n}\n.rdformsPresenter .rdformsTruncated>.rdformsShowMore {\n display: initial;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsField {\n margin-left: 0;\n}\n\n.rdformsPresenter .rdformsInline {\n padding-left: 1em;\n}',""]),e.exports=t},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ItemStore",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"bundleLoader",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"engine",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"renderingContext",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"system",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"utils",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return c.default}}),n(341);var o=d(n(37)),r=d(n(424)),i=d(n(427)),a=d(n(60)),s=d(n(98)),l=d(n(85)),c=d(n(190));function d(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(35),n(52),n(42),n(144),n(36),n(9),n(23),n(24),n(13),n(14),n(22);var o=n(96),r=u(n(298)),i=u(n(173)),a=u(n(299)),s=u(n(226)),l=u(n(425)),c=u(n(426)),d=n(85);function u(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,i=void 0,i=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==f(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===f(i)?i:String(i)),o)}var r,i}var p=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.automaticSortAllowed=!0,this.ignoreMissingItems=!0,this._bundles=[],this._registry={},this._registryByProperty={},this._ontologyStore=t||new l.default}var t,n,u;return t=e,(n=[{key:"getTemplate",value:function(e){return this.getItem(e)}},{key:"getChildren",value:function(e,t){if(null==e)return[];var n=e.getSource(!0),o=n.content||n.items||[];if(t)return this._createItems(o,e._forceChildrenClones,e.getBundle());var r=this.getItem(n.extends);return r?r.getChildren().concat(e.getChildren(!0)):e.getChildren(!0)}},{key:"getItem",value:function(e){if(null!=e)return this._registry[e]}},{key:"getItems",value:function(){var e=this;return Object.keys(this._registry).map((function(t){return e._registry[t]}))}},{key:"renameItem",value:function(e,t){if(this._registry[t])throw new Error("Cannot rename to ".concat(t," since an item with that id already exists."));if(""===t||null===t)throw new Error("Cannot give an item an empty string or null as id.");var n=this._registry[e];n&&(delete this._registry[e],this._registry[t]=n,n.setId(t));for(var o=function n(o){var r=o.content;if(r)for(var i=0;i<r.length;i++){var a=r[i];a.id!==e&&a["@id"]!==e||(a.id=t,delete a["@id"]),a.content&&n(a)}},r=this.getItems(),a=0;a<r.length;a++){var s=r[a];s instanceof i.default&&o(s._source)}}},{key:"getItemIds",value:function(){return Object.keys(this._registry)}},{key:"getItemByProperty",value:function(e){return this._registryByProperty[e]}},{key:"detectTemplate",value:function(e,t,n){return(0,d.constructTemplate)(e,t,this,n)}},{key:"registerBundle",value:function(e){e.itemStore=this;var t=new c.default(e);this._bundles.push(t),e.source&&e.source.namespaces&&o.namespaces.add(e.source.namespaces);var n=e.source.templates||e.source.auxilliary;return n instanceof Array&&this._createItems(n,!1,t),"object"===f(e.source.cachedChoices)&&this._ontologyStore.importRegistry(e.source.cachedChoices),t}},{key:"getBundles",value:function(){return this._bundles}},{key:"createTemplate",value:function(e){return this.registerBundle({source:e}).getRoot()}},{key:"createTemplateFromChildren",value:function(e){var t=this,n=(e||[]).map((function(e){return"string"==typeof e?t.getItem(e):e}));return new i.default({source:{},children:n,itemStore:this})}},{key:"setPriorities",value:function(e){this.priorities=e}},{key:"createExtendedSource",value:function(e,t){var n=Object.assign(Object.assign({},e),t);return n._extendedSource=t,n.extends=null,delete n.children,n}},{key:"createItem",value:function(e,t,n,o){var l,c=e.id||e["@id"],d=e.type||e["@type"];if(e.extends){var u=this._registry[e.extends];if(null==u&&!this.ignoreMissingItems)throw new Error("Cannot find item to extend with id: ".concat(e.extends));if(u){var f=this.createExtendedSource(u.getSource(),e);return this.createItem(f,!1,!1,o)}}if(null!=d){switch(d){case"text":l=new a.default({source:e,itemStore:this,bundle:o});break;case"choice":l=new s.default({source:e,itemStore:this,ontologyStore:this._ontologyStore,bundle:o});break;case"group":l=new i.default({source:e,children:null,itemStore:this,bundle:o});break;case"propertygroup":l=new r.default({source:e,children:null,itemStore:this,bundle:o})}return!0!==n&&(null!=e.property&&(this._registryByProperty[e.property]=l,this.priorities&&null!=this.priorities[e.property]&&(l.priority=this.priorities[e.property])),null!=c&&null==this._registry[c]&&(this._registry[c]=l,null!=o&&o.addItem(l))),l}if(null==c)throw new Error("Cannot create subitem, `type` for creating new or `id` for referencing external are required.");if(null==this._registry[c])throw new Error("Cannot find referenced subitem using identifier: ".concat(c));if(!0===t||Object.keys(e).find((function(e){return"id"!==e&&"@id"!==e}))){var b=Object.assign(Object.assign({},this._registry[c]._source),e);return this.createItem(b,!1,!0)}return this._registry[c]}},{key:"removeItem",value:function(e,t){var n=e.getBundle();null!=n&&n.removeItem(e),null!=e.getId()&&delete this._registry[e.getId()];var o=e.getProperty();null!=o&&this._registryByProperty[o]===e&&delete this._registryByProperty[o]}},{key:"_createItems",value:function(e,t,n){var o=this;return e.map((function(r,i){var a="string"==typeof r?e[i]={id:r}:r;return o.createItem(a,t,!1,n)}))}}])&&b(t.prototype,n),u&&b(t,u),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=p},function(e,t,n){n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(144),n(35),n(72),n(23),n(24),n(13),n(14),n(9),n(22);var o,r=(o=n(450))&&o.__esModule?o:{default:o};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,a=void 0,a=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===i(a)?a:String(a)),o)}var r,a}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._registry={}}var t,n,o;return t=e,(n=[{key:"importRegistry",value:function(e){Object.assign(this._registry,e)}},{key:"getChoices",value:function(e,t){var n=this._findChoices(e);if(null==n);else{if(null==t)return n;t(n)}}},{key:"_findChoices",value:function(e){var t=this._registry[e.getOntologyUrl()];if(null!=t)for(var n=0;n<t.length;n++){var o=t[n];if((0,r.default)(o.constraints,e.getConstraints())&&e.getParentProperty()===o.parentProperty&&e.getHierarchyProperty()===o.hierarchyProperty&&e.isParentPropertyInverted()===(o.isParentPropertyInverted||!1)&&e.isHierarchyPropertyInverted()===(o.isHierarchyPropertyInverted||!1))return o.choices}}},{key:"_constructLoadUrl",value:function(e){var t=[];if(t.push("constr=".concat(encodeURIComponent(JSON.stringify(e.getConstraints())))),null!=e.getParentProperty()){var n=!0===e.isParentPropertyInverted()?"ipp=":"pp=";t.push(n+encodeURIComponent(e.getParentProperty()))}if(null!=e.getHierarchyProperty()){var o=!0===e.isHierarchyPropertyInverted()?"ihp=":"hp=";t.push(o+encodeURIComponent(e.getHierarchyProperty()))}return"".concat(e.getOntologyUrl(),"?").concat(t.join("&"))}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(101),n(23),n(24),n(13),n(14),n(9),n(22);var i=0,a=function(){function e(t){var n=t.itemStore,o=t.source,r=t.path,a=t.readOnly,s=void 0!==a&&a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._itemStore=n,this._source=o,this._path=r,this._readOnly=s,this._items=[],i+=1,this._id="_bundle_".concat(i),this._root=null,this._modified=!1}var t,n,o;return t=e,(n=[{key:"getInternalId",value:function(){return this._id}},{key:"getSource",value:function(){return this._source}},{key:"setRoot",value:function(e){return this._source.root=e,e}},{key:"getRoot",value:function(){if(this._source.root)return this._itemStore.getItem(this._source.root)}},{key:"getItemStore",value:function(){return this._itemStore}},{key:"getPath",value:function(){return this._path}},{key:"getItems",value:function(){return this._items}},{key:"addItem",value:function(e){this._items.push(e)}},{key:"removeItem",value:function(e){this._items.splice(this._items.indexOf(e),1)}},{key:"isModified",value:function(){return this._modified}},{key:"setModified",value:function(e){this._modified=e}},{key:"isReadOnly",value:function(){return this._readOnly||null==this._path}}])&&r(t.prototype,n),o&&r(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=a},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var r=t&&t.prototype instanceof p?t:p,a=Object.create(r.prototype),s=new E(o||[]);return i(a,"_invoke",{value:_(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var b={};function p(){}function m(){}function g(){}var h={};d(h,s,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(S([])));y&&y!==t&&n.call(y,s)&&(h=y);var w=g.prototype=p.prototype=Object.create(h);function x(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){var r;i(this,"_invoke",{value:function(i,a){function s(){return new t((function(r,s){!function r(i,a,s,l){var c=f(e[i],e,a);if("throw"!==c.type){var d=c.arg,u=d.value;return u&&"object"==o(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(u).then((function(e){d.value=e,s(d)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}(i,a,r,s)}))}return r=r?r.then(s,s):s()}})}function _(e,t,n){var o="suspendedStart";return function(r,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw i;return D()}for(n.method=r,n.arg=i;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===b)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var l=f(e,t,n);if("normal"===l.type){if(o=n.done?"completed":"suspendedYield",l.arg===b)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o="completed",n.method="throw",n.arg=l.arg)}}}function C(e,t){var n=t.method,o=e.iterator[n];if(void 0===o)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var r=f(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,b;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,b):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,b)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function S(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,r=function t(){for(;++o<e.length;)if(n.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:D}}function D(){return{value:void 0,done:!0}}return m.prototype=g,i(w,"constructor",{value:g,configurable:!0}),i(g,"constructor",{value:m,configurable:!0}),m.displayName=d(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,d(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},x(k.prototype),d(k.prototype,l,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,o,r,i){void 0===i&&(i=Promise);var a=new k(u(t,n,o,r),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(w),d(w,c,"Generator"),d(w,s,(function(){return this})),d(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var o in t)n.push(o);return n.reverse(),function e(){for(;n.length;){var o=n.pop();if(o in t)return e.value=o,e.done=!1,e}return e.done=!0,e}},e.values=S,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(n,o){return a.type="throw",a.arg=e,t.next=n,o&&(t.method="next",t.arg=void 0),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;O(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),b}},e}function i(e,t,n,o,r,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(o,r)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function s(e){i(a,o,r,s,l,"next",e)}function l(e){i(a,o,r,s,l,"throw",e)}s(void 0)}))}}n(13),n(14),n(18),n(428),n(429),n(430),n(431),n(39),n(30),n(119),n(56),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(432),n(168),n(169),n(35),n(52),n(11),n(15),n(16);var s=function(e,t,n){var o="Fetching template bundle ".concat(n," failed.");if(e===t-1)throw Error("".concat(o," Cannot recover from this, please fix."));console.log("".concat(o," Will try to fetch from a fallback option."))},l=function(){var e=a(r().mark((function e(t){var n,o,i,a,l;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.length,a=0;case 2:if(!(a<n)){e.next=34;break}return e.prev=3,e.next=6,fetch(t[a]);case 6:o=e.sent,e.next=12;break;case 9:throw e.prev=9,e.t0=e.catch(3),Error("A network error ocurred while trying to fetch bundle ".concat(t[a]));case 12:if(!o||!o.ok){e.next=30;break}if(e.prev=13,!(l=o.headers.has("content-type")&&o.headers.get("content-type"))||!l.includes("application/json")){e.next=22;break}return e.next=18,o.json();case 18:return i=e.sent,e.abrupt("break",34);case 22:throw new Error("Failed fetching template ".concat(t[a],". Expected a JSON file and got ").concat(l));case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(13),s(a,n,t[a]);case 28:e.next=31;break;case 30:s(a,n,t[a]);case 31:a++,e.next=2;break;case 34:return e.abrupt("return",i);case 35:case"end":return e.stop()}}),e,null,[[3,9],[13,25]])})));return function(t){return e.apply(this,arguments)}}(),c=function(e){return e.map((function(e){return e instanceof Array?l(e):Promise.resolve(e)}))},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.map((function(t){return e.registerBundle({source:t})}))},u=function(){var e=a(r().mark((function e(t){var n,o,i,a,s,l=arguments;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=l.length>1&&void 0!==l[1]?l[1]:[],o=l.length>2&&void 0!==l[2]?l[2]:function(){},0===n.length&&o&&o([]),i=c(n),e.next=6,Promise.all(i);case 6:return a=e.sent,s=d(t,a),o(s),e.abrupt("return",s);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.default=u},function(e,t,n){n(136)("asyncIterator")},function(e,t,n){var o=n(55),r=n(136),i=n(84);r("toStringTag"),i(o("Symbol"),"Symbol")},function(e,t,n){var o=n(21);n(84)(o.JSON,"JSON",!0)},function(e,t,n){n(84)(Math,"Math",!0)},function(e,t,n){n(433),n(441),n(442),n(443),n(444),n(445)},function(e,t,n){"use strict";var o,r,i,a=n(17),s=n(64),l=n(175),c=n(21),d=n(29),u=n(48),f=n(212),b=n(84),p=n(213),m=n(65),g=n(27),h=n(32),v=n(171),y=n(434),w=n(300).set,x=n(436),k=n(439),_=n(228),C=n(302),T=n(66),O=n(139),E=n(140),S=n(141),D=E.CONSTRUCTOR,j=E.REJECTION_EVENT,N=E.SUBCLASSING,A=T.getterFor("Promise"),I=T.set,M=O&&O.prototype,L=O,P=M,R=c.TypeError,z=c.document,F=c.process,B=S.f,V=B,Y=!!(z&&z.createEvent&&c.dispatchEvent),$=function(e){var t;return!(!h(e)||!g(t=e.then))&&t},U=function(e,t){var n,o,r,i=t.value,a=1==t.state,s=a?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(a||(2===t.rejection&&Q(t),t.rejection=1),!0===s?n=i:(u&&u.enter(),n=s(i),u&&(u.exit(),r=!0)),n===e.promise?c(R("Promise-chain cycle")):(o=$(n))?d(o,n,l,c):l(n)):c(i)}catch(e){u&&!r&&u.exit(),c(e)}},H=function(e,t){e.notified||(e.notified=!0,x((function(){for(var n,o=e.reactions;n=o.get();)U(n,e);e.notified=!1,t&&!e.rejection&&W(e)})))},G=function(e,t,n){var o,r;Y?((o=z.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),c.dispatchEvent(o)):o={promise:t,reason:n},!j&&(r=c["on"+e])?r(o):"unhandledrejection"===e&&k("Unhandled promise rejection",n)},W=function(e){d(w,c,(function(){var t,n=e.facade,o=e.value;if(q(e)&&(t=_((function(){l?F.emit("unhandledRejection",o,n):G("unhandledrejection",n,o)})),e.rejection=l||q(e)?2:1,t.error))throw t.value}))},q=function(e){return 1!==e.rejection&&!e.parent},Q=function(e){d(w,c,(function(){var t=e.facade;l?F.emit("rejectionHandled",t):G("rejectionhandled",t,e.value)}))},X=function(e,t,n){return function(o){e(t,o,n)}},Z=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,H(e,!0))},K=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw R("Promise can't be resolved itself");var o=$(t);o?x((function(){var n={done:!1};try{d(o,t,X(K,n,e),X(Z,n,e))}catch(t){Z(n,t,e)}})):(e.value=t,e.state=1,H(e,!1))}catch(t){Z({done:!1},t,e)}}};if(D&&(P=(L=function(e){v(this,P),m(e),d(o,this);var t=A(this);try{e(X(K,t),X(Z,t))}catch(e){Z(t,e)}}).prototype,(o=function(e){I(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:void 0})}).prototype=u(P,"then",(function(e,t){var n=A(this),o=B(y(this,L));return n.parent=!0,o.ok=!g(e)||e,o.fail=g(t)&&t,o.domain=l?F.domain:void 0,0==n.state?n.reactions.add(o):x((function(){U(o,n)})),o.promise})),r=function(){var e=new o,t=A(e);this.promise=e,this.resolve=X(K,t),this.reject=X(Z,t)},S.f=B=function(e){return e===L||void 0===e?new r(e):V(e)},!s&&g(O)&&M!==Object.prototype)){i=M.then,N||u(M,"then",(function(e,t){var n=this;return new L((function(e,t){d(i,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete M.constructor}catch(e){}f&&f(M,P)}a({global:!0,constructor:!0,wrap:!0,forced:D},{Promise:L}),b(L,"Promise",!1,!0),p("Promise")},function(e,t,n){var o=n(31),r=n(285),i=n(71),a=n(26)("species");e.exports=function(e,t){var n,s=o(e).constructor;return void 0===s||i(n=o(s)[a])?t:r(n)}},function(e,t){var n=TypeError;e.exports=function(e,t){if(e<t)throw n("Not enough arguments");return e}},function(e,t,n){var o,r,i,a,s,l=n(21),c=n(107),d=n(90).f,u=n(300).set,f=n(302),b=n(301),p=n(437),m=n(438),g=n(175),h=l.MutationObserver||l.WebKitMutationObserver,v=l.document,y=l.process,w=l.Promise,x=d(l,"queueMicrotask"),k=x&&x.value;if(!k){var _=new f,C=function(){var e,t;for(g&&(e=y.domain)&&e.exit();t=_.get();)try{t()}catch(e){throw _.head&&o(),e}e&&e.enter()};b||g||m||!h||!v?!p&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,s=c(a.then,a),o=function(){s(C)}):g?o=function(){y.nextTick(C)}:(u=c(u,l),o=function(){u(C)}):(r=!0,i=v.createTextNode(""),new h(C).observe(i,{characterData:!0}),o=function(){i.data=r=!r}),k=function(e){_.head||o(),_.add(e)}}e.exports=k},function(e,t,n){var o=n(93);e.exports=/ipad|iphone|ipod/i.test(o)&&"undefined"!=typeof Pebble},function(e,t,n){var o=n(93);e.exports=/web0s(?!.*chrome)/i.test(o)},function(e,t){e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},function(e,t,n){var o=n(303),r=n(175);e.exports=!o&&!r&&"object"==typeof window&&"object"==typeof document},function(e,t,n){"use strict";var o=n(17),r=n(29),i=n(65),a=n(141),s=n(228),l=n(138);o({target:"Promise",stat:!0,forced:n(304)},{all:function(e){var t=this,n=a.f(t),o=n.resolve,c=n.reject,d=s((function(){var n=i(t.resolve),a=[],s=0,d=1;l(e,(function(e){var i=s++,l=!1;d++,r(n,t,e).then((function(e){l||(l=!0,a[i]=e,--d||o(a))}),c)})),--d||o(a)}));return d.error&&c(d.value),n.promise}})},function(e,t,n){"use strict";var o=n(17),r=n(64),i=n(140).CONSTRUCTOR,a=n(139),s=n(55),l=n(27),c=n(48),d=a&&a.prototype;if(o({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!r&&l(a)){var u=s("Promise").prototype.catch;d.catch!==u&&c(d,"catch",u,{unsafe:!0})}},function(e,t,n){"use strict";var o=n(17),r=n(29),i=n(65),a=n(141),s=n(228),l=n(138);o({target:"Promise",stat:!0,forced:n(304)},{race:function(e){var t=this,n=a.f(t),o=n.reject,c=s((function(){var a=i(t.resolve);l(e,(function(e){r(a,t,e).then(n.resolve,o)}))}));return c.error&&o(c.value),n.promise}})},function(e,t,n){"use strict";var o=n(17),r=n(29),i=n(141);o({target:"Promise",stat:!0,forced:n(140).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return r(t.reject,void 0,e),t.promise}})},function(e,t,n){"use strict";var o=n(17),r=n(55),i=n(64),a=n(139),s=n(140).CONSTRUCTOR,l=n(446),c=r("Promise"),d=i&&!s;o({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return l(d&&this===c?a:this,e)}})},function(e,t,n){var o=n(31),r=n(32),i=n(141);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},,,function(e,t,n){"use strict";n.r(t);var o=n(116);var r=function(e,t){for(var n=-1,o=null==e?0:e.length;++n<o&&!1!==t(e[n],n,e););return e},i=n(50),a=function(){try{var e=Object(i.a)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var s=function(e,t,n){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},l=n(111),c=Object.prototype.hasOwnProperty;var d=function(e,t,n){var o=e[t];c.call(e,t)&&Object(l.a)(o,n)&&(void 0!==n||t in e)||s(e,t,n)};var u=function(e,t,n,o){var r=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var l=t[i],c=o?o(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),r?s(n,l,c):d(n,l,c)}return n},f=n(113);var b=function(e,t){return e&&u(t,Object(f.a)(t),e)},p=n(187),m=n(69),g=n(110);var h=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},v=Object.prototype.hasOwnProperty;var y=function(e){if(!Object(m.a)(e))return h(e);var t=Object(g.a)(e),n=[];for(var o in e)("constructor"!=o||!t&&v.call(e,o))&&n.push(o);return n},w=n(183);var x=function(e){return Object(w.a)(e)?Object(p.a)(e,!0):y(e)};var k=function(e,t){return e&&u(t,x(t),e)},_=n(307);var C=function(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t},T=n(114);var O=function(e,t){return u(e,Object(T.a)(e),t)},E=n(182),S=n(180),D=Object(S.a)(Object.getPrototypeOf,Object),j=n(181),N=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Object(E.a)(t,Object(T.a)(e)),e=D(e);return t}:j.a;var A=function(e,t){return u(e,N(e),t)},I=n(143),M=n(185);var L=function(e){return Object(M.a)(e,x,N)},P=n(78),R=Object.prototype.hasOwnProperty;var z=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&R.call(e,"index")&&(n.index=e.index,n.input=e.input),n},F=n(115);var B=function(e){var t=new e.constructor(e.byteLength);return new F.a(t).set(new F.a(e)),t};var V=function(e,t){var n=t?B(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},Y=/\w*$/;var $=function(e){var t=new e.constructor(e.source,Y.exec(e));return t.lastIndex=e.lastIndex,t},U=n(47),H=U.a?U.a.prototype:void 0,G=H?H.valueOf:void 0;var W=function(e){return G?Object(G.call(e)):{}};var q=function(e,t){var n=t?B(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var Q=function(e,t,n){var o=e.constructor;switch(t){case"[object ArrayBuffer]":return B(e);case"[object Boolean]":case"[object Date]":return new o(+e);case"[object DataView]":return V(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return q(e,n);case"[object Map]":return new o;case"[object Number]":case"[object String]":return new o(e);case"[object RegExp]":return $(e);case"[object Set]":return new o;case"[object Symbol]":return W(e)}},X=Object.create,Z=function(){function e(){}return function(t){if(!Object(m.a)(t))return{};if(X)return X(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var K=function(e){return"function"!=typeof e.constructor||Object(g.a)(e)?{}:Z(D(e))},J=n(61),ee=n(99),te=n(45);var ne=function(e){return Object(te.a)(e)&&"[object Map]"==Object(P.a)(e)},oe=n(112),re=n(79),ie=re.a&&re.a.isMap,ae=ie?Object(oe.a)(ie):ne;var se=function(e){return Object(te.a)(e)&&"[object Set]"==Object(P.a)(e)},le=re.a&&re.a.isSet,ce=le?Object(oe.a)(le):se,de={};de["[object Arguments]"]=de["[object Array]"]=de["[object ArrayBuffer]"]=de["[object DataView]"]=de["[object Boolean]"]=de["[object Date]"]=de["[object Float32Array]"]=de["[object Float64Array]"]=de["[object Int8Array]"]=de["[object Int16Array]"]=de["[object Int32Array]"]=de["[object Map]"]=de["[object Number]"]=de["[object Object]"]=de["[object RegExp]"]=de["[object Set]"]=de["[object String]"]=de["[object Symbol]"]=de["[object Uint8Array]"]=de["[object Uint8ClampedArray]"]=de["[object Uint16Array]"]=de["[object Uint32Array]"]=!0,de["[object Error]"]=de["[object Function]"]=de["[object WeakMap]"]=!1;var ue=function e(t,n,i,a,s,l){var c,u=1&n,p=2&n,g=4&n;if(i&&(c=s?i(t,a,s,l):i(t)),void 0!==c)return c;if(!Object(m.a)(t))return t;var h=Object(J.a)(t);if(h){if(c=z(t),!u)return C(t,c)}else{var v=Object(P.a)(t),y="[object Function]"==v||"[object GeneratorFunction]"==v;if(Object(ee.a)(t))return Object(_.a)(t,u);if("[object Object]"==v||"[object Arguments]"==v||y&&!s){if(c=p||y?{}:K(t),!u)return p?A(t,k(c,t)):O(t,b(c,t))}else{if(!de[v])return s?t:{};c=Q(t,v,u)}}l||(l=new o.a);var w=l.get(t);if(w)return w;l.set(t,c),ce(t)?t.forEach((function(o){c.add(e(o,n,i,o,t,l))})):ae(t)&&t.forEach((function(o,r){c.set(r,e(o,n,i,r,t,l))}));var T=g?p?L:I.a:p?x:f.a,E=h?void 0:T(t);return r(E||t,(function(o,r){E&&(o=t[r=o]),d(c,r,e(o,n,i,r,t,l))})),c};t.default=function(e){return ue(e,5)}},function(e,t,n){"use strict";n.r(t);var o=n(116),r=n(186);var i=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var a=function(e){return this.__data__.has(e)};function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r.a;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=i,s.prototype.has=a;var l=s;var c=function(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1};var d=function(e,t){return e.has(t)};var u=function(e,t,n,o,r,i){var a=1&n,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var f=i.get(e),b=i.get(t);if(f&&b)return f==t&&b==e;var p=-1,m=!0,g=2&n?new l:void 0;for(i.set(e,t),i.set(t,e);++p<s;){var h=e[p],v=t[p];if(o)var y=a?o(v,h,p,t,e,i):o(h,v,p,e,t,i);if(void 0!==y){if(y)continue;m=!1;break}if(g){if(!c(t,(function(e,t){if(!d(g,t)&&(h===e||r(h,e,n,o,i)))return g.push(t)}))){m=!1;break}}else if(h!==v&&!r(h,v,n,o,i)){m=!1;break}}return i.delete(e),i.delete(t),m},f=n(47),b=n(115),p=n(111);var m=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n};var g=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},h=f.a?f.a.prototype:void 0,v=h?h.valueOf:void 0;var y=function(e,t,n,o,r,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new b.a(e),new b.a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Object(p.a)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=m;case"[object Set]":var l=1&o;if(s||(s=g),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;o|=2,a.set(e,t);var d=u(s(e),s(t),o,r,i,a);return a.delete(e),d;case"[object Symbol]":if(v)return v.call(e)==v.call(t)}return!1},w=n(143),x=Object.prototype.hasOwnProperty;var k=function(e,t,n,o,r,i){var a=1&n,s=Object(w.a)(e),l=s.length;if(l!=Object(w.a)(t).length&&!a)return!1;for(var c=l;c--;){var d=s[c];if(!(a?d in t:x.call(t,d)))return!1}var u=i.get(e),f=i.get(t);if(u&&f)return u==t&&f==e;var b=!0;i.set(e,t),i.set(t,e);for(var p=a;++c<l;){var m=e[d=s[c]],g=t[d];if(o)var h=a?o(g,m,d,t,e,i):o(m,g,d,e,t,i);if(!(void 0===h?m===g||r(m,g,n,o,i):h)){b=!1;break}p||(p="constructor"==d)}if(b&&!p){var v=e.constructor,y=t.constructor;v==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y||(b=!1)}return i.delete(e),i.delete(t),b},_=n(78),C=n(61),T=n(99),O=n(188),E="[object Object]",S=Object.prototype.hasOwnProperty;var D=function(e,t,n,r,i,a){var s=Object(C.a)(e),l=Object(C.a)(t),c=s?"[object Array]":Object(_.a)(e),d=l?"[object Array]":Object(_.a)(t),f=(c="[object Arguments]"==c?E:c)==E,b=(d="[object Arguments]"==d?E:d)==E,p=c==d;if(p&&Object(T.a)(e)){if(!Object(T.a)(t))return!1;s=!0,f=!1}if(p&&!f)return a||(a=new o.a),s||Object(O.a)(e)?u(e,t,n,r,i,a):y(e,t,c,n,r,i,a);if(!(1&n)){var m=f&&S.call(e,"__wrapped__"),g=b&&S.call(t,"__wrapped__");if(m||g){var h=m?e.value():e,v=g?t.value():t;return a||(a=new o.a),i(h,v,n,r,a)}}return!!p&&(a||(a=new o.a),k(e,t,n,r,i,a))},j=n(45);var N=function e(t,n,o,r,i){return t===n||(null==t||null==n||!Object(j.a)(t)&&!Object(j.a)(n)?t!=t&&n!=n:D(t,n,o,r,e,i))};t.default=function(e,t){return N(e,t)}},,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){
34
+ e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){n(72),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=n(296),i=o=function(e){o.ns={RDF:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",RDFS:"http://www.w3.org/2000/01/rdf-schema#"},o.nodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},this.frameFactory=function(e,t,n){return{NODE:1,ARC:2,parent:t,parser:e,store:e.store,element:n,lastChild:0,base:null,lang:null,node:null,nodeType:null,listIndex:1,rdfid:null,datatype:null,collection:!1,terminateFrame:function(){this.collection&&this.node.close()},addSymbol:function(e,t){t=(0,r.join)(t,this.base),this.node=this.store.sym(t),this.nodeType=e},loadTriple:function(){if(this.parent.parent.collection?this.parent.parent.node.append(this.node):this.store.add(this.parent.parent.node,this.parent.node,this.node,this.parser.why),null!=this.parent.rdfid){var e=this.store.sym((0,r.join)("#"+this.parent.rdfid,this.base));this.store.add(e,this.store.sym(o.ns.RDF+"type"),this.store.sym(o.ns.RDF+"Statement"),this.parser.why),this.store.add(e,this.store.sym(o.ns.RDF+"subject"),this.parent.parent.node,this.parser.why),this.store.add(e,this.store.sym(o.ns.RDF+"predicate"),this.parent.node,this.parser.why),this.store.add(e,this.store.sym(o.ns.RDF+"object"),this.node,this.parser.why)}},isTripleToLoad:function(){return null!=this.parent&&null!=this.parent.parent&&this.nodeType==this.NODE&&this.parent.nodeType==this.ARC&&this.parent.parent.nodeType==this.NODE},addNode:function(e){this.addSymbol(this.NODE,e),this.isTripleToLoad()&&this.loadTriple()},addCollection:function(){this.nodeType=this.NODE,this.node=this.store.collection(),this.collection=!0,this.isTripleToLoad()&&this.loadTriple()},addCollectionArc:function(){this.nodeType=this.ARC},addBNode:function(e){null!=e?null!=this.parser.bnodes[e]?this.node=this.parser.bnodes[e]:this.node=this.parser.bnodes[e]=this.store.bnode():this.node=this.store.bnode(),this.nodeType=this.NODE,this.isTripleToLoad()&&this.loadTriple()},addArc:function(e){e==o.ns.RDF+"li"&&(e=o.ns.RDF+"_"+this.parent.listIndex++),this.addSymbol(this.ARC,e)},addLiteral:function(e){this.parent.datatype?this.node=this.store.literal(e,"",this.store.sym(this.parent.datatype)):this.node=this.store.literal(e,this.lang),this.nodeType=this.NODE,this.isTripleToLoad()&&this.loadTriple()}}},this.store=e,this.bnodes={},this.why=null,this.reify=!1,this.parse=function(e,t,n){var r,i=e.childNodes;if(this.cleanParser(),e.nodeType==o.nodeType.DOCUMENT){for(var a=0;a<i.length;a++)if(i[a].nodeType==o.nodeType.ELEMENT){r=i[a];break}}else{if(e.nodeType!=o.nodeType.ELEMENT)throw new Error("RDFParser: can't find root in "+t+". Halting. ");r=e}this.why=n;var s=this.frameFactory(this);return s.base=t,s.lang="",this.parseDOM(this.buildFrame(s,r)),!0},this.parseDOM=function(e){for(var t=function(e){return e.namespaceURI+e.localName},n=!0;e.parent;){var i,a,s=e.element,l=s.attributes;if(s.nodeType==o.nodeType.TEXT||s.nodeType==o.nodeType.CDATA_SECTION)e.addLiteral(s.nodeValue);else if(t(s)!=o.ns.RDF+"RDF")if(e.parent&&e.parent.collection&&(e.addCollectionArc(),(e=this.buildFrame(e,e.element)).parent.element=null),e.parent&&e.parent.nodeType&&e.parent.nodeType!=e.ARC){e.addArc(t(s)),this.reify&&(i=s.getAttributeNodeNS(o.ns.RDF,"ID"))&&(e.rdfid=i.nodeValue,s.removeAttributeNode(i));var c=s.getAttributeNodeNS(o.ns.RDF,"parseType"),d=s.getAttributeNodeNS(o.ns.RDF,"datatype");if(d&&(e.datatype=d.nodeValue,s.removeAttributeNode(d)),c){var u=c.nodeValue;"Literal"==u?(e.datatype=o.ns.RDF+"XMLLiteral",(e=this.buildFrame(e)).addLiteral(s),n=!1):"Resource"==u?((e=this.buildFrame(e,e.element)).parent.element=null,e.addBNode()):"Collection"==u&&((e=this.buildFrame(e,e.element)).parent.element=null,e.addCollection()),s.removeAttributeNode(c)}if(0!=l.length){var f=s.getAttributeNodeNS(o.ns.RDF,"resource");for(a=s.getAttributeNodeNS(o.ns.RDF,"nodeID"),e=this.buildFrame(e),f?(e.addNode(f.nodeValue),s.removeAttributeNode(f)):a?(e.addBNode(a.nodeValue),s.removeAttributeNode(a)):e.addBNode(),g=l.length-1;g>=0;g--){var b=this.buildFrame(e);b.addArc(t(l[g])),t(l[g])==o.ns.RDF+"type"?this.buildFrame(b).addNode(l[g].nodeValue):this.buildFrame(b).addLiteral(l[g].nodeValue)}}else 0==s.childNodes.length&&this.buildFrame(e).addLiteral("")}else{var p=s.getAttributeNodeNS(o.ns.RDF,"about");if(i=s.getAttributeNodeNS(o.ns.RDF,"ID"),p&&i)throw new Error("RDFParser: "+s.nodeName+" has both rdf:id and rdf:about. Halting. Only one of these properties may be specified on a node.");null==p&&i?(e.addNode("#"+i.nodeValue),s.removeAttributeNode(i)):null==p&&null==i?(a=s.getAttributeNodeNS(o.ns.RDF,"nodeID"))?(e.addBNode(a.nodeValue),s.removeAttributeNode(a)):e.addBNode():(e.addNode(p.nodeValue),s.removeAttributeNode(p));var m=s.getAttributeNodeNS(o.ns.RDF,"type");o.ns.RDF+"Description"!=t(s)&&(m={nodeValue:t(s)}),null!=m&&(this.store.add(e.node,this.store.sym(o.ns.RDF+"type"),this.store.sym((0,r.join)(m.nodeValue,e.base)),this.why),m.nodeName&&s.removeAttributeNode(m));for(var g=l.length-1;g>=0;g--)this.store.add(e.node,this.store.sym(t(l[g])),this.store.literal(l[g].nodeValue,e.lang),this.why)}for(s=e.element;e.parent;){for(var h=e;null==s;)s=(e=e.parent).element;var v=s.childNodes,y=null!=v?v[e.lastChild]:null;if(null!=y&&n){if((y.nodeType==o.nodeType.ELEMENT||y.nodeType==o.nodeType.TEXT||y.nodeType==o.nodeType.CDATA_SECTION)&&(y.nodeType!=o.nodeType.TEXT&&y.nodeType!=o.nodeType.CDATA_SECTION||1==s.childNodes.length)){e.lastChild++,e=this.buildFrame(h,s.childNodes[e.lastChild-1]);break}e.lastChild++}else{if(e.terminateFrame(),!(e=e.parent))break;s=e.element,n=!0}}}},this.cleanParser=function(){this.bnodes={},this.why=null},this.buildFrame=function(e,t){var n=this.frameFactory(this,e,t);if(e&&(n.base=e.base,n.lang=e.lang),null==t||t.nodeType==o.nodeType.TEXT||t.nodeType==o.nodeType.CDATA_SECTION)return n;var r=t.attributes,i=t.getAttributeNode("xml:base");null!=i&&(n.base=i.nodeValue,t.removeAttribute("xml:base"));var a=t.getAttributeNode("xml:lang");null!=a&&(n.lang=a.nodeValue,t.removeAttribute("xml:lang"));for(var s=r.length-1;s>=0;s--)"xml"==r[s].nodeName.substr(0,3)&&t.removeAttributeNode(r[s]);return n}};t.default=i},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.RDFSymbol=t.RDFLiteral=t.RDFFormula=t.RDFBlankNode=void 0,n(35),n(9),n(89),n(38),n(97),n(72),n(56),n(13),n(14),n(18),n(11),n(15),n(16);var o=n(296);function r(e){throw new TypeError('"'+e+'" is read-only')}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a=function(e){return"object"===i(e)?e:"string"==typeof e?new f(e):void(void 0!==e&&alert("Can't make term from ".concat(e," of type ").concat(i(e))))},s=function(){return this};s.prototype.termType="empty",s.prototype.toString=function(){return""},s.prototype.toNT=function(){return""};var l=function(){return"<"+this.uri+">"},c=function(e){return this.uri=e,this};t.RDFSymbol=c,c.prototype.termType="symbol",c.prototype.toString=l,c.prototype.toNT=l;var d=0,u=function(){return this.id=d++,this};t.RDFBlankNode=u,u.prototype.termType="bnode",u.prototype.toNT=function(){return"_:n"+this.id},u.prototype.toString=u.prototype.toNT;var f=function(e,t,n){return this.value=e,this.lang=t,this.datatype=n,this};t.RDFLiteral=f,f.prototype.termType="literal",f.prototype.toNT=function(){var e=this.value;if("string"!=typeof e)throw Error("Value of RDF literal is not string: "+e);return e.replace(/\\/g,"\\\\"),r("str"),e.replace(/"/g,'\\"'),r("str"),r("str"),this.datatype&&(this.datatype,r("str")),this.lang&&(this.lang,r("str")),e},f.prototype.toString=function(){return this.value};var b=function(){this.id=d++,this.elements=[],this.closed=!1};b.prototype.termType="collection",b.prototype.toNT=function(){return"_:n"+this.id},b.prototype.toString=b.prototype.toNT,b.prototype.append=function(e){this.elements.push(e)},b.prototype.close=function(){this.closed=!0};var p=function(){return this.subject.toNT()+" "+this.predicate.toNT()+" "+this.object.toNT()+" ."},m=function(e,t,n,o){return this.subject=a(e),this.predicate=a(t),this.object=a(n),void 0!==o&&(this.why=o),this};m.prototype.toNT=p,m.prototype.toString=p;var g=function(){return this.statements=[],this.constraints=[],this.initBindings=[],this.optional=[],this};t.RDFFormula=g;var h=function(){return"{\n"+this.statements.join("\n")+"}"};g.prototype.termType="formula",g.prototype.toNT=h,g.prototype.toString=h,g.prototype.add=function(e,t,n,o){this.statements.push(new m(e,t,n,o))},g.prototype.sym=function(e,t){return null!=t&&(e=this.namespaces[e]+t),new c(e)},g.prototype.literal=function(e,t,n){return new f(e.toString(),t,n)},g.prototype.bnode=function(){return new u},g.prototype.formula=function(){return new g},g.prototype.collection=function(){return new b};var v=function(e){return this.uri=(0,o.join)(e,"varid:"),this};v.prototype.termType="variable",v.prototype.toNT=function(){return"varid:"==this.uri.slice(0,"varid:".length)?"?".concat(this.uri.slice("varid:".length)):"?".concat(this.uri)},v.prototype.toString=v.prototype.toNT,v.prototype.classOrder=7,g.prototype.variable=function(e){return new v(e)},v.prototype.hashString=v.prototype.toNT,g.prototype.fromNT=function(e){var t=e.length,n=e.slice(0,1);if("<"===n)return this.sym(e.slice(1,t-1));if("_"===n){var o=new u;return o.id=parseInt(e.slice(3)),d--,o}alert("Can't yet convert from NT: '".concat(e,"', ").concat(e[0]))}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.statementTree=t.statementList=t.prettyTree=t.pretty=t.default=void 0,n(36),n(9);var o,r=(o=n(109))&&o.__esModule?o:{default:o};var i=function(e,t){for(var n={},o=e.find(t),i=0;i<o.length;i++){var a=o[i];"bnode"!==a.getType()&&(n[r.default.shorten(a.getPredicate())]=a.getValue())}return n};t.pretty=i;var a=function e(t,n,o){for(var r=o||{},i=t?t.find(n):[],a=[],s=0;s<i.length;s++){var l=i[s];if("literal"===l.getType())a.push({stmt:l});else{var c={stmt:l},d=l.getValue();r[d]||(r[d]=!0,c.children=e(t,d,r))}}return a};t.statementTree=a;var s=function(e,t){var n=a(e,t),o=[];return function e(t,n){for(var r=0;r<t.length;r++){var i=t[r];i.indent=n,o.push(i),i.children&&(e(i.children,n+1),delete i.children)}}(n,1),o};t.statementList=s;var l=function(e,t){for(var n=s(e,t),o=0;o<n.length;o++){var i=n[o],a=i.stmt;a.isSubjectBlank()?i.s=a.getSubject():i.s=r.default.shorten(a.getSubject()),i.p=r.default.shorten(a.getPredicate());var l=a.getType();if("uri"===l){i.o=r.default.shorten(a.getValue());var c=a.getLanguage(),d=a.getDatatype();null!=c?i.o+="@@".concat(c):null!=d&&(i.o+="^^".concat(d))}else i.o='"'.concat(a.getValue(),'"')}return n};t.prettyTree=l;var c={pretty:i,statementList:s,statementTree:a,prettyTree:l};t.default=c},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(36),n(9),n(35);var r,i=(r=n(221))&&r.__esModule?r:{default:r};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var c={rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",owl:"http://www.w3.org/2002/07/owl#"},d={rdftype:"".concat(c.rdf,"type"),rdfssco:"".concat(c.rdfs,"subClassOf"),rdfsdomain:"".concat(c.rdfs,"domain"),rdfsrange:"".concat(c.rdfs,"range"),rdfsspo:"".concat(c.rdfs,"subPropertyOf"),rdfsClass:"".concat(c.rdfs,"Class"),owlClass:"".concat(c.owl,"Class"),owlObjectProperty:"".concat(c.owl,"ObjectProperty"),owlDatatypeProperty:"".concat(c.owl,"DatatypeProperty"),rdfProperty:"".concat(c.rdf,"Property")},u=function(e,t,n){for(var o={},r=!1,i=e.find(t,n),a=0;a<i.length;a++){var s=i[a];"literal"===s.getType()&&(o[s.getLanguage()||""]=s.getValue()||"",r=!0)}if(r)return null==o.en&&null!=o[""]&&(o.en=o[""],delete o[""]),o},f=function(e){for(var t=[],n={},o=0;o<e.length;o++){var r=e[o];n[r]||(t.push(r),n[r]=!0)}return t},b=function(){function e(t,n){a(this,e),this._uri=t,this._parents=[],this._children=[],this._graph=n}return l(e,[{key:"getURI",value:function(){return this._uri}},{key:"getLabel",value:function(){var e=this.getLabels();if(null!=e.en)return e.en;var t=Object.objects(e);return t.length>0?t[0]:""}},{key:"getLabels",value:function(){return null==this._labels&&(this._labels=u(this._graph,this._uri,"".concat(c.rdfs,"label")),null==this._labels&&(this._labels={en:this._uri.substr(this._uri.lastIndexOf("/")+1)})),this._labels}},{key:"getComment",value:function(){var e=this.getComments();return null!=e?null!=e.en?e.en:Object.objects(e)[0]:""}},{key:"getComments",value:function(){return null==this._comments&&(this._comments=u(this._graph,this._uri,"".concat(c.rdfs,"comment"))),this._comments}},{key:"addParent",value:function(e){this._parents.push(e),e._children.push(this)}},{key:"getDirectParents",value:function(){return this._parents}},{key:"getParents",value:function(){if(this._parentLock)return[];if(this._parentLock=!0,null==this._allParents){this._allParents=[];for(var e=0;e<this._parents.length;e++)this._allParents=this._allParents.concat(this._parents[e].getParents()),this._allParents.push(this._parents[e])}return delete this._parentLock,this._allParents}},{key:"getChildren",value:function(){if(this._childLock)return[];if(this._childLock=!0,null==this._allChildren){this._allChildren=[];for(var e=0;e<this._children.length;e++)this._allChildren=this._allChildren.concat(this._children[e].getChildren()),this._allChildren.push(this._children[e])}return delete this._childLock,this._allChildren}},{key:"setRange",value:function(e){null==this._range&&(this._range=[]),this._range.push(e)}},{key:"setDomain",value:function(e){null==this._domain&&(this._domain=[]),this._domain.push(e),e.setDomainOf(this)}},{key:"getRange",value:function(){if(null==this._allRange){this._allRange=this._range||[];for(var e=0;e<this._parents.length;e++)this._allRange=this._allRange.concat(this._parents[e].getRange());this._allRange=f(this._allRange)}return this._allRange}},{key:"getDomain",value:function(){if(null==this._allDomain){this._allDomain=this._domain||[];for(var e=0;e<this._parents.length;e++)this._allDomain=this._allDomain.concat(this._parents[e].getDomain());this._allDomain=f(this._allDomain)}return this._allDomain}},{key:"setDomainOf",value:function(e){null==this._domainOf&&(this._domainOf=[]),this._domainOf.push(e)}},{key:"getDomainOf",value:function(){return this._domainOf}},{key:"getAllDomainOf",value:function(){if(this._domainOfLock)return[];if(this._domainOfLock=!0,null==this._allDomainOf){var e=this._domainOf||[];this._allDomainOf=this._domainOf||[];for(var t=0;t<e.length;t++)this._allDomainOf=this._allDomainOf.concat(e[t].getChildren());for(var n=0;n<this._parents.length;n++)this._allDomainOf=this._allDomainOf.concat(this._parents[n].getAllDomainOf())}return delete this._domainOfLock,this._allDomainOf}}]),e}(),p=function(e,t,n,o){for(var r=0;r<n.length;r++){var i=n[r],a=i.getSubject(),s=e[a];if(s||(s=new b(a,i.getGraph()),e[a]=s,t.push(s)),o){var l=i.getValue(),c=e[l];c||(c=new b(l,i.getGraph()),e[l]=c,t.push(c)),s.addParent(c)}}},m=function(){function e(){a(this,e),this._cidx={},this._carr=[],this._pidx={},this._parr=[]}return l(e,[{key:"addGraph",value:function(e){p(this._cidx,this._carr,e.find(null,d.rdftype,d.rdfsClass)),p(this._cidx,this._carr,e.find(null,d.rdftype,d.owlClass)),p(this._cidx,this._carr,e.find(null,d.rdfssco,null),!0),p(this._pidx,this._parr,e.find(null,d.rdftype,d.rdfProperty)),p(this._pidx,this._parr,e.find(null,d.rdfsspo,null),!0),p(this._pidx,this._parr,e.find(null,d.rdftype,d.owlDatatypeProperty)),p(this._pidx,this._parr,e.find(null,d.rdftype,d.owlObjectProperty)),function(e,t,n){for(var o,r,i,a=e.find(null,d.rdfsdomain,null),s=0;s<a.length;s++)o=t[(i=a[s]).getSubject()],r=n[i.getValue()],null!=o&&null!=r&&o.setDomain(r);a=e.find(null,d.rdfsrange,null);for(var l=0;l<a.length;l++)o=t[(i=a[l]).getSubject()],r=i.getValue(),null!=o&&null!=r&&o.setRange(r)}(e,this._pidx,this._cidx)}},{key:"addThing",value:function(){var e="http://www.w3.org/2002/07/owl#Thing",t=this._cidx[e],n=!1;t||(t=new b(e,new i.default),this._cidx[e]=t,this._carr.push(t),n=!0);for(var o=0;o<this._carr.length;o++){var r=this._carr[o];(n&&r!==t||-1===r.getParents().indexOf(t)&&r!==t)&&r.addParent(t)}}},{key:"getClasses",value:function(){return this._carr}},{key:"getProperties",value:function(){return this._parr}},{key:"isClass",value:function(e){return null!=this._cidx[e]}},{key:"isProperty",value:function(e){return null!=this._pidx[e]}},{key:"getClass",value:function(e){return this._cidx[e]}},{key:"getProperty",value:function(e){return this._pidx[e]}}],[{key:"getInstances",value:function(e){for(var t=[],n=[e].concat(e.getChildren()),o=0;o<n.length;o++)for(var r=n[o],i=r.getGraph.find(null,d.rdftype,r.getURI()),a=0;a<i.length;a++)t.push(i[a].getSubject());return t}}]),e}();m.prototype.ns=c,m.prototype.terms=d,m.global=new m;var g=m;t.default=g},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e){e.exports=JSON.parse('{"edit_add":"Add","edit_remove":"Remove","edit_clear":"Clear","edit_browse":"Browse and select","edit_browse_create":"Browse and select or create","edit_expand":"Expand","edit_upgrade":"Provide additional information for this web address","info_label":"Label","info_property":"Property","info_description":"Description","info_missing":"No information","address_label":"Address","validation_min_required_one":"at least one value is required","validation_min_required_more":"a minimum of $1 values is required","validation_min_recommended_one":"at least one value is recommended","validation_min_recommended_more":"a minimum of $1 values is recommended","validation_max_one":"at most one value is allowed","validation_max_more":"a maximum of $1 values are allowed","validation_at_most_one_child":"A maximum of one value is allowed","validation_at_least_one_child":"A minimum of one value is required","validation_exactly_one_child":"Exactly one value is required","validation_deprecated":"This field is deprecated","validation_nodetype":"Wrong nodetype","validation_value":"Wrong value","validation_datatype":"Wrong datatype","validation_constraints":"Missing constraints","validation_pattern":"Value does not follow pattern","validation_language":"A language code is required","date_date":"Date","date_time":"Time","date_year":"Year","date_date_and_time":"Date and time","date_year_and_month":"Year and month","date_month_and_day":"Month and day","date_openDatePicker":"Open date picker dialog","date_openTimePicker":"Open time picker dialog","date_openYearPicker":"Open year picker dialog","date_nextMonth":"Next month","date_previousMonth":"Previous month","duration_years":"Years","duration_months":"Months","duration_days":"Days","duration_hours":"Hours","duration_minutes":"Minutes","mandatoryLabel":"Mandatory","recommendedLabel":"Recommended","optionalLabel":"Optional","today":"Today","mandatoryMark":"*","recommendedMark":"(Recommended)","optionalMark":"(Optional)","deprecatedField":"This field has been deprecated, please remove it.","missingValueField":"This field is required, please provide a value.","dependencyField":"This field depends on another field, please review the field it depends on or remove this value.","wrongValueField":"This is an invalid value, please change or remove it.","wrongDatatypeField":"The value has an invalid datatype, please change or remove it.","openLinkExternally":"Open link externally","showMore":"Show more","showLess":"Show less"}')},function(e,t,n){var o=n(28);e.exports=function(e){return void 0!==e&&(o(e,"value")||o(e,"writable"))}},function(e,t,n){"use strict";var o,r=n(286),i=n(21),a=n(19),s=n(220),l=n(170),c=n(217),d=n(412),u=n(32),f=n(66).enforce,b=n(12),p=n(257),m=Object,g=Array.isArray,h=m.isExtensible,v=m.isFrozen,y=m.isSealed,w=m.freeze,x=m.seal,k={},_={},C=!i.ActiveXObject&&"ActiveXObject"in i,T=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},O=c("WeakMap",T,d),E=O.prototype,S=a(E.set);if(p)if(C){o=d.getConstructor(T,"WeakMap",!0),l.enable();var D=a(E.delete),j=a(E.has),N=a(E.get);s(E,{delete:function(e){if(u(e)&&!h(e)){var t=f(this);return t.frozen||(t.frozen=new o),D(this,e)||t.frozen.delete(e)}return D(this,e)},has:function(e){if(u(e)&&!h(e)){var t=f(this);return t.frozen||(t.frozen=new o),j(this,e)||t.frozen.has(e)}return j(this,e)},get:function(e){if(u(e)&&!h(e)){var t=f(this);return t.frozen||(t.frozen=new o),j(this,e)?N(this,e):t.frozen.get(e)}return N(this,e)},set:function(e,t){if(u(e)&&!h(e)){var n=f(this);n.frozen||(n.frozen=new o),j(this,e)?S(this,e,t):n.frozen.set(e,t)}else S(this,e,t);return this}})}else r&&b((function(){var e=w([]);return S(new O,e,1),!v(e)}))&&s(E,{set:function(e,t){var n;return g(e)&&(v(e)?n=k:y(e)&&(n=_)),S(this,e,t),n==k&&w(e),n==_&&x(e),this}})},function(e,t,n){"use strict";var o=n(19),r=n(220),i=n(170).getWeakData,a=n(171),s=n(31),l=n(71),c=n(32),d=n(138),u=n(106),f=n(28),b=n(66),p=b.set,m=b.getterFor,g=u.find,h=u.findIndex,v=o([].splice),y=0,w=function(e){return e.frozen||(e.frozen=new x)},x=function(){this.entries=[]},k=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};x.prototype={get:function(e){var t=k(this,e);if(t)return t[1]},has:function(e){return!!k(this,e)},set:function(e,t){var n=k(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=h(this.entries,(function(t){return t[0]===e}));return~t&&v(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var u=e((function(e,r){a(e,b),p(e,{type:t,id:y++,frozen:void 0}),l(r)||d(r,e[o],{that:e,AS_ENTRIES:n})})),b=u.prototype,g=m(t),h=function(e,t,n){var o=g(e),r=i(s(t),!0);return!0===r?w(o).set(t,n):r[o.id]=n,e};return r(b,{delete:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return!0===n?w(t).delete(e):n&&f(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return!0===n?w(t).has(e):n&&f(n,t.id)}}),r(b,n?{get:function(e){var t=g(this);if(c(e)){var n=i(e);return!0===n?w(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return h(this,e,t)}}:{add:function(e){return h(this,e,!0)}}),u}}},function(e,t,n){n(18),n(11),n(15),n(16),n(100),n(40),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(36),n(42),n(30),n(168),n(169),n(35),n(23),n(24),n(13),n(14),n(22);var o=n(96),r=c(n(37)),i=c(n(224)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==d(e)&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var o={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(o,i,a):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(85)),s=n(190);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,i=void 0,i=function(e,t){if("object"!==d(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==d(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===d(i)?i:String(i)),o)}var r,i}var f=0,b=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._viewId=f,f+=1,this.parentView=t.parentView,this.srcNodeRef=n,this.binding=t.binding||null,this.template=t.template||null,this.graph=t.graph||null,this.resource=t.resource||"",this.topLevel=!1!==t.topLevel,this.compact=!1!==t.compact,this.showDescription=!0===t.showDescription,this.styleCls=t.styleCls||"",this.truncateLimit=void 0!==t.truncateLimit?t.truncateLimit:10,this.truncate=void 0!==t.truncate&&t.truncate,Array.isArray(t.filterPredicates)?this.filterPredicates=t.filterPredicates.reduce((function(e,t){return e[t]=!0,e}),{}):"object"===d(t.filterPredicates)?this.filterPredicates=t.filterPredicates:"string"==typeof t.filterPredicates?this.filterPredicates=t.filterPredicates.split(",").reduce((function(e,t){return e[t]=!0,e}),{}):this.filterPredicates=null,this.restrictToItem=t.restrictToItem,this.fuzzy=!0===t.fuzzy,this.markOrigin=!1!==t.markOrigin,this._handleParams(t),this._labelIndex={},this.domNode=r.default.createDomNode(n,this),r.default.domClassToggle(this.domNode,"rdforms",!0),r.default.domClassToggle(this.domNode,this.styleCls,!0),this.render()}var t,n,l;return t=e,(n=[{key:"getParentView",value:function(){return this.parentView}},{key:"getNamedGraphId",value:function(e){if(this.markOrigin){this.namedGraphs||(this.namedGraphs={},this.namedGraphCounter=65);var t=this.namedGraphs[e];return void 0===t&&(t=String.fromCharCode(this.namedGraphCounter),this.namedGraphs[e]=t,this.namedGraphCounter+=1),t}}},{key:"getNamedGraphFromId",value:function(e){var t=this;return this.namedGraphs?Object.keys(this.namedGraphs).find((function(n){return t.namedGraphs[n]===e})):void 0}},{key:"destroy",value:function(){r.default.destroyDomNode(this.domNode,this)}},{key:"getBinding",value:function(){return this.binding}},{key:"_handleParams",value:function(e){if(e.binding)this.binding=e.binding;else{if(this.template=e.template||this.template,this.graph=e.graph||this.graph,this.resource=e.resource||this.resource,null==this.graph||null==this.resource||null==this.template)return;this.fuzzy?(this.binding=a.fuzzyMatch(this.graph,this.resource,this.template),(0,s.bindingReport)(this.binding)):this.binding=a.match(this.graph,this.resource,this.template)}}},{key:"showNow",value:function(){return!0}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(){}},{key:"addTable",value:function(){}},{key:"fillTable",value:function(){}},{key:"addLabel",value:function(){}},{key:"addComponent",value:function(){}},{key:"showAsTable",value:function(e){return"group"===e.getType()&&(e.hasStyle("table")||e.hasClass("rdformsTable"))}},{key:"show",value:function(e){this._handleParams(e),this.render()}},{key:"render",value:function(){if(r.default.domText(this.domNode,""),null!=this.binding){var e=r.default.getMessages();if(this.messages=e,null!=this.binding){var t,n,o,a,s,l=this.binding.getItem().getChildren(),c=this.binding.getItemGroupedChildBindings();for(this._binding2node={},!this.compact&&!this.binding.getItem().hasStyle("compact")||this.binding.getItem().hasStyle("nonCompact")?r.default.domClassToggle(this.domNode,"compact",!1):r.default.domClassToggle(this.domNode,"compact",!0),this.preRenderView(),t=0;t<c.length;t++)if(a=c[t],s=l[t],(!this.restrictToItem||this.restrictToItem===s)&&this.showNow(s,a)){if(a=this.prepareBindings(s,a),this.showAsTable(s))this.context={view:this},o=this.createRowNode(o,a[0],s),a.length>0&&(n=this.addTable(o,a[0],s),this.fillTable(n,a));else if(a.length>0)if(this.isMultiValued(s))this.context={view:this},o=this.addRow(o,a[0],!0);else{for(var d=this.truncateAt(s,a),u=0;u<a.length;u++)this.context={view:this},o=this.addRow(o,a[u],0===u||a[u]instanceof i.default,u,d);if(-1!==d){var f=r.default.domQuery(".rdformsFields",o);f&&r.default.addTruncateControl(f,this.context)}}else this.context={view:this},o=this.createRowNode(o,null,s);a.length>0&&a[0].getCardinalityTracker().checkCardinality()}}}}},{key:"addRow",value:function(e,t,n,o,a){var s,l,c=n,d=t.getItem();if(!this.skipBinding(t)){if(null==c&&(c=t instanceof i.default),!0===c){l=this.createRowNode(e,t,d);var u=r.default.domCreate("div",l);r.default.domClassToggle(u,"rdformsFields",!0),-1!==a&&r.default.domClassToggle(u,"rdformsTruncated",!0),d.hasStyle("inline")&&r.default.domClassToggle(u,"rdformsInline",!0),s=r.default.domCreate("div",u),this.createEndOfRowNode(l,t,d)}else{var f=r.default.domQuery(".rdformsFields",e);if(null!=f)s=r.default.domCreate("div",f),r.default.domClassToggle(s,"rdformsRepeatedValue",!0),-1!==a&&o>=a&&r.default.domClassToggle(s,"rdformsMaybeTruncated",!0);else{var b=r.default.domCreate("div",e);r.default.domClassToggle(b,"rdformsFields",!0),d.hasStyle("inline")&&r.default.domClassToggle(b,"rdformsInline",!0),s=r.default.domCreate("div",b),this.createEndOfRowNode(l,t,d)}}if(this.markOrigin){var p=this.getNamedGraphId(t);p?(r.default.domClassToggle(s,"rdformsOrigin",!0),r.default.domClassToggle(s,"rdformsOrigin_".concat(p),!0)):(r.default.domClassToggle(s,"rdformsOrigin",!0),r.default.domClassToggle(s,"rdformsOrigin_default",!0))}return"group"===d.getType()?r.default.domClassToggle(s,"rdformsGroup",!0):r.default.domClassToggle(s,"rdformsField",!0),this._binding2node[t.getHash()]=s,this.addComponent(s,t),d.hasStyle("invisible")&&r.default.domClassToggle(l||e,"rdformsInvisible",!0),l||e}}},{key:"createRowNode",value:function(e,t,n){var o;o=null==e?r.default.domCreate("div",this.domNode,t?this.getRowIndex(t):void 0):r.default.domCreateAfter("div",e,t?this.getRowIndex(t):void 0),n.getClasses().forEach((function(e){r.default.domClassToggle(o,e,!0)})),r.default.domClassToggle(o,"rdformsRow",!0),r.default.domClassToggle(o,"rdformsTopLevel",this.topLevel),r.default.domClassToggle(o,"rdformsInvisibleGroup",n.hasStyle("invisibleGroup")),r.default.domClassToggle(o,"rdformsHeading",n.hasStyle("heading")),r.default.domClassToggle(o,"notCompact","group"===n.getType()||n.hasStyle("nonCompact")),r.default.domClassToggle(o,"rdformsCompactItem",n.hasStyle("compact")),this.addLabel(o,t,n),t&&this.filterBinding(t)&&r.default.domClassToggle(o,"hiddenProperty",!0);var i=void 0!==this._subEditors;return(n.hasStyle("card")||n.hasStyle("cardInEdit")&&i||n.hasStyle("cardInPresent")&&!i)&&r.default.domClassToggle(o,"rdformsCard",!0),o}},{key:"createEndOfRowNode",value:function(e,t,n){}},{key:"_getFilterPredicates",value:function(){return this.parentView?this.parentView._getFilterPredicates():this.filterPredicates}},{key:"filterBinding",value:function(e){return this.filterItem(e.getItem())}},{key:"filterItem",value:function(e){var t=this,n=this._getFilterPredicates();return!!n&&function e(n,r){var i=n.getId();if(i&&Object.keys(r).includes(i))return!0;var a=n.getProperty();if(a){for(var s=!0,l=t;l.parentView;)l.getBinding().getItem().getProperty()&&(s=!1),l=l.parentView;var c=o.namespaces.shortenKnown(a);return s?!0===r[a]||!0===r[c]||!0===r["*".concat(a)]||!0===r["".concat(c)]:!0===r["*".concat(a)]||!0===r["*".concat(c)]}if("group"===n.getType()){var d=n.getChildren()||[],u=!1;return d.forEach((function(t){e(t,r)||(u=!0)})),!u}return!1}(e,n)}},{key:"filterProperty",value:function(e){return!0===(this._getFilterPredicates()||{})[e]}},{key:"getLabelIndex",value:function(e){var t,n=this;return e.getParent().getChildBindingsFor(e.getItem()).reverse().find((function(e){return void 0!==(t=n._labelIndex[e.getHash()])})),void 0!==t?t:this.parentView?this.parentView.getLabelIndex(e.getParent()):""}},{key:"createLabelIndex",value:function(e){var t="".concat(e.getHash(),"_").concat(this._viewId,"_label");return this._labelIndex[e.getHash()]=t,t}},{key:"getRowIndex",value:function(e){return"".concat(e.getHash(),"_").concat(this._viewId,"_row")}},{key:"isMultiValued",value:function(e){return!1}},{key:"truncateAt",value:function(e,t){return-1}}])&&u(t.prototype,n),l&&u(t,l),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=b},function(e,t,n){"use strict";var o=n(107),r=n(29),i=n(54),a=n(415),s=n(287),l=n(161),c=n(77),d=n(118),u=n(288),f=n(218),b=Array;e.exports=function(e){var t=i(e),n=l(this),p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m;g&&(m=o(m,p>2?arguments[2]:void 0));var h,v,y,w,x,k,_=f(t),C=0;if(!_||this===b&&s(_))for(h=c(t),v=n?new this(h):b(h);h>C;C++)k=g?m(t[C],C):t[C],d(v,C,k);else for(x=(w=u(t,_)).next,v=n?new this:[];!(y=r(x,w)).done;C++)k=g?a(w,m,[y.value,C],!0):y.value,d(v,C,k);return v.length=C,v}},function(e,t,n){var o=n(31),r=n(289);e.exports=function(e,t,n,i){try{return i?t(o(n)[0],n[1]):t(n)}catch(t){r(e,"throw",t)}}},function(e,t,n){n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(101),n(9),n(30),n(23),n(24),n(13),n(14),n(22);var o,r=(o=n(102))&&o.__esModule?o:{default:o};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,a=void 0,a=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===i(a)?a:String(a)),o)}var r,a}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._listener=[],this._limits=t.getCardinality()||{},this._counter=0,this._depsOk=!0,this._listeners=[],this._code=0}var t,n,o;return t=e,(n=[{key:"addListener",value:function(e){return this._listeners.push(e),e}},{key:"removeListener",value:function(e){this._listeners.splice(this._listeners.indexOf(e),1)}},{key:"cardinalityChanged",value:function(){this._listeners.forEach((function(e){return e()}))}},{key:"getCardinality",value:function(){return this._counter}},{key:"isMax",value:function(){return null!=this._limits.max&&this._counter>=this._limits.max}},{key:"isMin",value:function(){return null!=this._limits.min&&this._counter<=this._limits.min}},{key:"isFine",value:function(){return this._fine}},{key:"isDepsOk",value:function(){return this._depsOk}},{key:"getCode",value:function(){return this._code}},{key:"setCode",value:function(e){this._code!==e&&(this._code=e,this.cardinalityChanged())}},{key:"setDepsOk",value:function(e){this._depsOk!==e&&(this._code=r.default.UNKNOWN,this._depsOk=e,this.cardinalityChanged())}},{key:"increment",value:function(){this._counter+=1,this._code=r.default.UNKNOWN,this._checkCounter()}},{key:"decrement",value:function(){this._counter-=1,this._code=r.default.UNKNOWN,this._checkCounter()}},{key:"getCounter",value:function(){return this._counter}},{key:"checkCardinality",value:function(){this._checkCounter()}},{key:"touch",value:function(){this._code=r.default.UNKNOWN,this.cardinalityChanged()}},{key:"_checkCounter",value:function(){null!=this._limits.max&&this._counter===this._limits.max?this._fine=!0:null!=this._limits.max&&this._counter>this._limits.max?this._fine=!1:null!=this._limits.min&&this._counter===this._limits.min?this._fine=!0:null!=this._limits.min&&this._counter<this._limits.min&&(this._fine=!1),this.cardinalityChanged()}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(9),n(44),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(39);var r=d(n(174)),i=d(n(173)),a=d(n(226)),s=d(n(227)),l=d(n(224)),c=d(n(418));function d(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function f(e,t){return(f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=m(e);if(t){var r=m(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(p,e);var t,n,o,d=b(p);function p(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),t=d.call(this,e);var n=e.statement,o=e.constraints;t._statement=void 0,t._validPredicate=!0,t._constraints=[];var u,f=t._item.getChildren(),b=f[1];u=b instanceof i.default?new l.default({item:b,statement:n,constraints:o}):b instanceof a.default?new s.default({item:b,statement:n}):new r.default({item:b,statement:n});var m=new c.default({item:f[0],objectBinding:u});return t.addChildBinding(m),t.addChildBinding(u),t}return t=p,(n=[{key:"getPredicateBinding",value:function(){return this._childBindings[0][0]}},{key:"getObjectBinding",value:function(){return this._childBindings[1][0]}},{key:"getGraph",value:function(){return this.getObjectBinding().getGraph()}}])&&u(t.prototype,n),o&&u(t,o),Object.defineProperty(t,"prototype",{writable:!1}),p}(l.default);t.default=g},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=c(e);if(t){var r=c(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(9),n(44),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(39);var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(l,e);var t,n,o,r=s(l);function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=r.call(this,e))._objectBinding=e.objectBinding,t}return t=l,(n=[{key:"remove",value:function(){}},{key:"setValue",value:function(e){this._objectBinding.setPredicate(e)}},{key:"getValue",value:function(){return this._objectBinding.getPredicate()}},{key:"isValid",value:function(){return!1}},{key:"updateAssertions",value:function(){}}])&&i(t.prototype,n),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(((r=n(227))&&r.__esModule?r:{default:r}).default);t.default=d},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r;function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}function s(){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var o=l(e,t);if(o){var r=Object.getOwnPropertyDescriptor(o,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}}).apply(this,arguments)}function l(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=f(e)););return e}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=f(e);if(t){var r=f(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n(9),n(44),n(68),n(40),n(23),n(24),n(13),n(14),n(22),n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(39);var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(l,e);var t,n,o,r=d(l);function l(){return i(this,l),r.apply(this,arguments)}return t=l,(n=[{key:"getValue",value:function(){return this._parent.getValue()}},{key:"setValue",value:function(e){return this._parent.setValue(e)}},{key:"getGist",value:function(){return this._parent.getGist()}},{key:"setGist",value:function(e,t){return this._parent.setGist(e,t)}},{key:"setSubject",value:function(e){}},{key:"getPredicate",value:function(){return this._parent.getPredicate()}},{key:"remove",value:function(){this._parent.removeChildBinding(this),s(f(l.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){}},{key:"isValid",value:function(){return!0}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),l}(((r=n(174))&&r.__esModule?r:{default:r}).default);t.default=b},function(e,t,n){"use strict";var o=n(29),r=n(233),i=n(31),a=n(71),s=n(88),l=n(501),c=n(43),d=n(117),u=n(234);r("search",(function(e,t,n){return[function(t){var n=s(this),r=a(t)?void 0:d(t,e);return r?o(r,t,n):new RegExp(t)[e](c(n))},function(e){var o=i(this),r=c(e),a=n(t,o,r);if(a.done)return a.value;var s=o.lastIndex;l(s,0)||(o.lastIndex=0);var d=u(o,r);return l(o.lastIndex,s)||(o.lastIndex=s),null===d?-1:d.index}]}))},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,o=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var r,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(r=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:o+i.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")}))}},function(e,t,n){(t=n(148)(!1)).push([e.i,'/* === Colors === */\n.rdformsLabel {\n font-weight:bold;\n color: black;\n margin-bottom: 5px;\n display: inline-block;\n}\n\n.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n/* border-right: 1px solid #E6E6E6;*/\n border-bottom-width: 0px;\n}\n\n/* No border to the right of a heading*/\n.compact.rdformsEditor .rdformsTopLevel.rdformsHeading>.rdformsLabelRow,\n.compact.rdformsPresenter .rdformsTopLevel.rdformsHeading>.rdformsLabel {\n border-right-width: 0px;\n}\n\n/* --- Inverted, background greyish with white separators. --- */\n.inverted.rdforms .rdformsTopLevel {\n background: #E6E6E6;\n}\n\n.inverted.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.inverted.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n border-right: 1px solid white;\n}\n\n\n/* --- Validation colors --- */\n.rdformsValidator .rdformsField.errorReport,\n.rdformsValidator .rdformsGroup.errorReport {\n border-left: 2px dotted red;\n}\n\n.rdformsValidator .error .rdformsValidationMessageWrapper {\n color: red;\n}\n\n.rdformsValidator .warning .rdformsValidationMessageWrapper {\n color: orange;\n}\n\n.rdformsValidator .deprecated .rdformsValidationMessageWrapper {\n color: #00766c;\n}\n\n.rdforms .rdformsMandatoryMark {\n color: red;\n vertical-align: text-bottom;\n font-weight: bold;\n}\n\n.rdforms .rdformsRecommendedMark,\n.rdforms .rdformsOptionalMark {\n padding-left: 10px;\n font-size: 12px;\n color: grey;\n}\n\n.rdformsMark {\n display: none;\n}\n\n.rdformsTopLevel>.rdformsLabelRow>.rdformsMark,\n.rdformsTopLevel.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow>.rdformsMark {\n display: inline;\n}\n\n.compact .rdformsTopLevel>.rdformsLabelRow>.rdformsMark,\n.compact .rdformsTopLevel.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow>.rdformsMark {\n display: none;\n}\n\n\n/* === End colors === */\n\n.rdformsInvisible {\n display: none;\n}\n\n.rdformsRow.rdformsTopLevel {\n \tpadding-top: 0.3em;\n \tpadding-bottom: 0.3em;\n\tmargin-top: 0em;\n}\n\n.compact .rdformsRow.rdformsTopLevel .rdformsRow {\n\tpadding-left: 0.7em;\n margin-bottom: 0.3em;\n}\n\n.rdformsRow.rdformsTopLevel .rdformsRow {\n margin-bottom: 0.15em;\n}\n\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel,\n.compact.rdformsPresenter .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabel {\n\tfont-style: normal;\n\twidth: 10em !important;\n}\n\n.compact.rdformsEditor .rdformsTopLevel>.rdformsLabelRow,\n.compact.rdformsEditor .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>.rdformsLabelRow {\n\twidth: 13em !important;\n}\n\n/* No specific width for headings */\n.rdformsEditor .rdformsTopLevel.rdformsHeading>.rdformsLabelRow,\n.rdformsPresenter .rdformsTopLevel.rdformsHeading>.rdformsLabel {\n width: auto !important;\n/* border-bottom: 1px solid lightgrey;*/\n}\n\n\n.rdformsEditor .rdformsTopLevel>.rdformsLabelRow>.rdformsLabel {\n\tmax-width: 15em;\n\twidth: auto;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tzoom:1;\n\t*display: inline;\n vertical-align: middle;\n}\n\na.rdformsUrl {\n text-decoration: none;\n word-break: break-all;\n}\n\na.rdformsUrl:hover {\n text-decoration: underline;\n}\n\n/* compact anyway for first level*/\n.compact .rdformsTopLevel.rdformsRow.notCompact {\n\tdisplay: inherit;\n\twidth: 98%;\n}\n.compact .rdformsTopLevel.rdformsRow.notCompact>div {\n\tdisplay: block;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading.notCompact>div {\n display: block;\n}\n\n.compact .rdformsTopLevel.rdformsRow.notCompact>.rdformsFields>.rdformsGroup {\n\tmargin-left: 0px;\n}\n\n.compact .rdformsRow.notCompact {\n display: block;\n width: auto;\n}\n\n.compact .rdformsRow.notCompact>div {\n display: inherit;\n}\n\n.rdformsPresenter .rdformsRow.rdformsCompactItem {\n display: table;\n width: 98%;\n}\n\n.rdformsPresenter .rdformsRow.rdformsCompactItem>.rdformsLabel {\n width: 10em;\n}\n.rdformsPresenter .rdformsRow.rdformsCompactItem>div {\n display: table-cell;\n}\n\n/* compact anyway for first level*/\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow {\n display: table;\n width: 98%;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow>div {\n display: table-cell;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow.notCompact {\n display: inherit;\n width: auto;\n}\n\n.compact .rdformsTopLevel.rdformsRow.rdformsHeading>.rdformsFields>.rdformsGroup>.rdformsRow.notCompact>div {\n display: inherit;\n}\n\n\n\n\n.rdformsImage {\n max-width: 100%;\n max-height: 300px;\n}\n\n.rdformsLabel:hover {\n\ttext-decoration: underline;\n\tcursor: pointer;\n}\n\n.rdformsLabel.noPointer:hover {\n text-decoration: none;\n cursor: default;\n}\n\n.rdformsPresenter th span:hover,\n.rdformsEditor th span:hover,\n.rdformsLabel.hasInfo:hover {\n\ttext-decoration: underline;\n\tcursor: pointer;\n}\n\n.rdforms .itemInfoTable {\n\tdisplay: table;\n\twidth: 100%;\n}\n.rdforms .itemInfoTable>* {\n\tdisplay: table-row;\n}\n.rdforms .itemInfoTable>*>* {\n\tdisplay: table-cell;\n}\n\n.rdformsGroup {\n\tmargin-left: 13px;\n position: relative;\n margin-top: 10px;\n }\n\n.compact .rdformsRow.rdformsInvisibleGroup>.rdformsLabelRow,\n.rdformsRow.rdformsInvisibleGroup>.rdformsLabelRow,\n.compact .rdformsRow.rdformsInvisibleGroup>.rdformsLabel,\n.rdformsRow.rdformsInvisibleGroup>.rdformsLabel{\n display: none;\n}\n\n.rdformsInvisibleGroup>.rdformsFields>.rdformsField {\n margin-left: 0em;\n padding-left: 0em;\n}\n\n.rdformsInvisibleGroup>.rdformsFields>.rdformsGroup {\n margin-left: 0em;\n}\n.rdformsInvisibleGroup>.rdformsFields>.rdformsGroup>.rdformsRow {\n padding-left: 0px;\n}\n\n.rdformsHeading>.rdformsLabel {\n font-size: larger;\n margin: 8px 0px 5px 0px;\n}\n\n.rdformsField {\n\tmargin-left: 1em;\n/*\tbackground: white;*/\n/*\tpadding-left: 0.5em;*/\n/*\tword-break: break-all;*/\n}\n\n.rdformsPresenter .rdformsRepeatedValue {\n \tborder-top: 1px solid #E6E6E6;\n padding-top: 2px;\n margin-top: 2px;\n}\n\n.rdformsEditor .rdformsRepeatedValue {\n margin-top: 2px;\n}\n\n.rdformsPresenter .rdformsField.rdformsSingleline {\n word-break: break-all;\n}\n\n.rdformsPresenter .rdformsField.rdformsMultiline {\n word-break: break-word;\n white-space: pre-line;\n}\n\n.rdformsPresenter th,\n.rdformsEditor th {\n font-weight: bold;\n padding-left: 0.3em;\n padding-right: 0.3em;\n}\n\n.rdformsPresenter table.rdformsGroup td {\n\tborder: 1px solid #E6E6E6;\n}\n.rdformsEditor table.rdformsGroup th {\n\tborder-bottom: 1px solid #E6E6E6;\n}\n\n\n.rdformsEditor table.rdformsGroup td {\n\tpadding-left: 0em;\n\tpadding-right: 0.6em;\n}\n\n.rdformsEditor table.rdformsGroup td.rdformsLangcontrolledfield {\n padding-right: 7.4em;\n}\n.rdformsEditor table.rdformsGroup td.rdformsLangcontrolledfield .rdformsLangFieldControl {\n width: 6.4em;\n}\n\n.rdformsEditor table.rdformsGroup td.rdformsTableControl,\n.rdformsPresenter table.rdformsGroup td {\n\tpadding-left: 0.3em;\n\tpadding-right: 0.3em;\n}\n\n.rdformsPresenter table.rdformsGroup,\n.rdformsEditor table.rdformsGroup {\n\tborder-collapse: collapse;\n}\n.rdformsEditor table.rdformsGroup tr{\n\tbackground-color: white;\n}\n.rdformsPresenter table.rdformsGgroup th,\n.rdformsEditor table.rdformsGroup th {\n\tpadding-left: 0.3em;\n\tpadding-right: 0.3em;\n}\n\n\n.rdformsPresenter .rdformsLanguage {\n \tfloat: right;\n/*\tborder-left: 1px solid #E6E6E6;*/\n\tpadding-left: 0.7em;\n }\n\n.rdformsEditor .rdformsLanguage {\n \tfloat: right;\n/*\tborder-left: 1px solid white;*/\n\tpadding-right: 0.7em;\n }\n .rdformsEditor .rdformsField {\n \tpadding-right: 55px;\n\tposition: relative;\n }\n\n .rdformsEditor .rdformsField .rdformsChoiceLabel {\n \tmargin-left: 0.2em;\n \tmargin-right: 1em;\n }\n .rdformsEditor .rdformsField .mismatch {\n color: red;\n font-weight: bold;\n }\n .rdformsEditor .rdformsLangcontrolledfield {\n \tpadding-right: 10.9em;\n }\n .rdformsEditor .rdformsFieldControl {\n\tposition: absolute;\n\twidth: 3.8em;\n\tpadding-right: 0.1em;\n\tright: 0;\n\toverflow-x: hidden;\n\tpadding-right: 0.1em;\n\tfont-weight: normal;\n }\n .rdformsEditor .rdformsLangFieldControl {\n\twidth: 10em;\n }\n\n.rdformsEditor .rdformsFieldInput {\n width: 100%;\n resize: vertical;\n}\n\n.rdformsEditor .rdformsExtLink {\n margin-top: 0.6em;\n margin-right: .6em;\n text-decoration: none;\n}\n\n.rdformsEditor .rdformsExtLinkDisabled {\n pointer-events: none;\n opacity: 0.14;\n}\n\n.rdformsEditor .rdformsExtLinkControl {\n padding-right: 3.5em !important;\n}\n\n.rdformsEditor .rdformsChoiceValue {\n \tdisplay: inline-block;\n\tzoom:1;\n\tbackground: whitesmoke;\n\tmin-height: 1.4em;\n\tpadding-left: 4px;\n\tpadding-right: 4px;\n\tborder: 1px solid lightgrey;\n\tmin-width: 4em;\n}\n\n.chooser.rdforms label {\n\tfont-weight:normal;\n\tmargin-left:5px;\n\tmargin-top:5px;\n\tfont-size:15px;\n width: 4em;\n}\n\n.chooser.rdforms .uriNode,\n.chooser.rdforms .labelNode,\n.chooser.rdforms .descriptionNode {\n\tmargin-left:20px;\n\tfont-size:15px;\n background: rgb(228, 224, 219);\n border-radius: 3px;\n padding: 3px 7px;\n border: 1px solid grey;\n word-break: break-all;\n}\n\n.chooser.rdforms h2 {\n margin-top: 0px;\n margin-bottom: 0.7em;\n}\n\n.rdformsStar {\n\tdisplay: inline-block;\n\tzoom:1;\n\t*display: inline;\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGUlEQVQ4y52TTUhUcRTFf//3n/FjZsxmQsOvmtJF5VQ6i3IsaaJcVIs24UKIIKRNuGrboihaRWQptbVtmLvCWgyZWJRlNimUaKajMH1gWprzfO/dFiYozgR54WzuPedwOZcL/6jDtXjq68hlPRXejRqM0TPwhK51Gdy6QoNM5oqTyHFaLnP8v8TRCFmJPobly0GRZI2MvSBeX4dOxzXSNZsaaS4pLqrA8IMuYOuWwtDpUzSl46pohOxohGhVJdVlxVQHNlJdVuorN7L3GSjvEkt+4iy8sscTc8PTM7ydmKJ/YIg3sV6eqjvXOH+uUbWii8EVBJUPKu22IBbILFgjYCdpa5czem6eeHiXOlAQcG8TXY7gQkRlgEbEjZhj9MdTD1vbuajHEljjkzwI7zSP+H2zJaiiJbLDWtgOznwfQx9+dF+66Zzs6ialAYbHMJNf6QzvSJ3I81iFqELEUWtg/37PyGjy9dU251jnY36tukJHl3yP9cpd23SwLZUepkPPS27ffyQzyzrXyow2bTBKbcuLs6iWU1s+1t8Mvfh9RtlKzSqDgE8HHdsDpiDmFJL6BBio7CAqqwixPPi9OpjRINdlBBdnP4OM8G16Yep53GpR4K7dO9gcyB/djDLIcRmZDcQy8sYn5j8+G1i83hEz7/W+s1MANSF9o+GoffZQlfuCWIYv4w9EQq78PRXayDQPbdd6f6XesLL3By3z9hHiEQ65AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAyLTExVDAxOjIwOjIxLTA2OjAwtZnToAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAwNi0xMC0wMVQwMDo1NjoyNi0wNTowMJWSAJ0AAAAASUVORK5CYII=);\n}\n\n/*.rdformsValidator .rdformsFields .error,\n.rdformsValidator .rdformsFields .warning,\n.rdformsValidator .rdformsFields .deprecated {\n border-radius: 4px;\n padding: 4px;\n color: white;\n}*/\n\n.rdformsValidator {\n padding-left: 30px;\n}\n.rdformsValidator .rdformsValidator {\n padding-left: 0px;\n}\n\n.rdformsValidator .rdformsField.error {\n color: red;\n}\n\n/* To override some nested rdformsField background settings\n.rdformsPresenter.rdformsValidator.error .rdformsField {\n background: red;\n}*/\n\n.rdformsValidator .rdformsField.warning {\n color: orange;\n}\n\n.rdformsValidator .rdformsField.deprecated {\n color: #00766c;\n}\n\n/*.rdformsValidator .rdformsField.error .rdformsUrl,\n.rdformsValidator .rdformsField.warning .rdformsUrl,\n.rdformsValidator .rdformsField.deprecated .rdformsUrl {\n color: white;\n text-decoration: underline;\n}\n\n.rdformsValidator .rdformsField.error .rdformsUrl:hover,\n.rdformsValidator .rdformsField.warning .rdformsUrl:hover,\n.rdformsValidator .rdformsField.deprecated .rdformsUrl:hover {\n color: white;\n}*/\n\n.compact .rdformsRow.rdformsTopLevel>.rdformsFields>div.rdforms.error {\n padding: 4px 10px;\n}\n.rdforms.rdformsValidator .rdformsValidator.error {\n color: red;\n border-radius: 4px;\n padding: 4px;\n}\n\n.rdformsValidator .rdformsValidationMessage {\n margin-left: 5px;\n}\n\n.rdformsValidator .rdformsValidationMessageWrapper {\n display: flex;\n align-items: center;\n padding-top: 5px;\n}\n\n.compact .rdformsRow.rdformsTopLevel {\n\tdisplay: table;\n}\n.compact .rdformsRow.rdformsTopLevel>div {\n\tdisplay: table-cell;\n}\n\n.compact .rdformsRow.rdformsTopLevel>.rdformsFields>div.rdforms {\n padding-left: 0px;\n}\n\n.compact .rdformsRow>.rdformsLabelRow {\n white-space: nowrap;\n}\n\n.compact .rdformsTopLevel.rdformsRow>.rdformsLabelRow .action {\n\tvertical-align: middle;\n}\n\n.compact .rdformsTopLevel>.rdformsFields>.rdformsField {\n\tmargin-left: 0;\n}\n\n.rdforms .action {\n\tdisplay: inline-block;\n\twidth: 16px;\n\theight: 16px;\n\tbackground-repeat: no-repeat;\n opacity:0.65;\n -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=65)";\n filter:alpha(opacity=65);\n zoom:1;\n\tvertical-align: top;\n}\n\n.rdforms .action:hover {\n\topacity:1;\n -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=100)";\n filter:alpha(opacity=100);\n zoom:1;\n cursor: pointer;\n}\n\n.rdforms .action.disabled {\n\topacity:0.14;\n -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=14)";\n filter:alpha(opacity=14);\n zoom:1;\n}\n\n.rdforms .action.editAdd {\n\tmargin-left: 0.5em;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAG6SURBVDiNpZI9a1NRHIefc+45J0l7E1NaF4cE0cHMClYQRRCh38DNIfoBxMXFFl06CRb0CxTBSQdBRAcXsUN9AUGQijaggihe01ybmzT3vDiIIpirFv/r7+Hh/yZCCPxPyaLgwurZ68dutwbH7+xLll8tXSviRFEHJ+/N+bndJ8TIDXmePLFXD9/U2+rg6cfHwushpYri5cYLVcQVBrl3fN3KEFIycq4I+ykQQATYH4F1nnQ0QCDI7W8CBTggKID23fZiJ+2ce/ThoTKRwqgIHUmyfIgUgi2XM3urGSpaUzGa/TsP2UatefnM3oXzIoSAXtSfTx84NU3kCJFHSPFd4FOkENRVHSkVJWKSfo80+0I+uZ7cOPpsRgFYa1lPOiij0OWIWilGS0HfbRJJ0EGTjTLWkjf0BgOmTJUZM/plB575+68fXEGhUaCVxEQRs80Wk8aw8naVslaUlKIaK7RJc2vVPPzhD8pLOhzZ02JqosxKZ4137Z4YxxX+gfOe3OVIAbn3fz3jWMGnzR5BeKzbtuCibMT18L7bFd1+Tmx32PFc4QgL/uB0dRkY7ppobNR87VKRoHCJ/1rfAF8ir6zXPA5QAAAAAElFTkSuQmCC);\n}\n\n.rdforms .action.editDelete {\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC);\n}\n\n.rdforms .rdformsTableControl>.action.editDelete,\n.rdforms .rdformsFieldControl>.action.editDelete {\n\tfloat: right;\n margin-top: 3px;\n}\n.rdforms .action.editSearch {\n\tmargin-left: 13px;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACnklEQVQ4jY2SX0hTYRjG39VEQl2RN2UXZQRFd0EIEUH/BhVBZCSEeFMpQSgVjc3/VhSCXUSBWSG5bipDU1IoCVEa6JTUzvGsZrP5Z9NtHre5qZubO0/fNylqDOqFh8P5OO/vfb73PES8UjYQnagh0g2TSi9kkF7Qkl7MZc9slV4kKuogyj5IyYs35xtJZRA16wxiQ3qlFNY+s+NM0wR21loVdm5Wl4o5HE67jycBHL7Bp2rYh8PFbU74l6NYjSlxxRQFraIfmbcsoZQyUUvX+4nSMhMA7JA1N/DmSHQVzkAMdp+C6QUF7kUF4WgM/ROLSCkbdTOHGjpQmADQf8ngtueDYXyXoxhxrcLiiWFsPgabl8NicXDBqymoDEIRnXuYCBC0x56MI7gUQvePFZgmV2B2RDA0E8HIbDQud2AFxgEZbLHP6UJjIkDMPd04DtkfRItlCR3WZXTZOCyEHvua7PIyXn+e44DmJAAhe/u9r4rP70ezuADjSAAvhSDejDKgFESrJQiXN4DyTgcH1FB+UwJAN8RdmF/0OWF1yKg3e/Go34fHAz48HfRh0O6F7PVj7/0xsCWWsIFE+/P/AJx9wF3kbKqWQh+EGUzPuGEac6PX6oHN4YHLI6NdWkDdJy82VlsiDJL3N0STRXS1m2VB1KpLR915RhvqeybRZJqCrs2OPXVW3O6WUWvyoeKjjIykkM07iC63cycadp2i+Lb5wvid9WKJhjXdfO+BrmsOJZ1upFdJHHI+ns7fpVpPtOsI0VEd0ak7azrJdK2f7ygvvcoSudLuwiWmi29nkVohhdnArCTZTqht+1hazXFIWqUUKWhxovDdLLbe/cb+inDo34AESGq5FN7Cmw1iH3tX/x/gF6S4l+K2+WS9oOah+glT18LOvPJgZQAAAABJRU5ErkJggg==);\n vertical-align: top;\n margin-top: 5px;\n}\n\n.rdforms .action.editExpand {\n\tmargin-left: 0.5em;\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACJUlEQVQ4jaWTO2hVQRCGv5k959yb+zg3MUQNEt+QwlejkCIRAhEhBGxSWAkWksLGgKWNjTYqEhDS24qgQoJWNhGxMWBjIxYKQTQPE9HknrM7FucmxiiiON0u/3z8/8wu/GfJ5sPA+VQP9pVPlyu6/cu8f3L30se5vwacGu+o9hwpPYoTBuNEiBP5bLkN3x6de/YngAIMjLXXOvfFU1nTBrMmZJmRZ9bQWKbH73f3r4vP3exMJl7vHrs2s+vA+l0E0LEnnsianAQrbImgYqiSxiWZvvywe3jhXf6it690L3gbad/pXgFHNwDNNRsxAzMBDFFQFdSBi6glZZnqOZzMGtLvYsECe3+K0FzjbdY08szIM/AZ5Dn43AjBKJWlJkJ/z35HvaEEozZ6pcNtAL4u+bGsyUKeFU3eG8EbwcO2LkfvsZhDxxMqNUUdmCFtdU03AM8nF2dXl/2QDzbvAwQPIUAwqDaErAmihWXnAINyTX4AAGbuLL5cWwlDwKdiHoXYabEVn7cyu2LU5bo2fgIAPL21MEuwIVHWAJKStGYB3lsLKgjQVvsNACBK9IIIJRGI4laUYFhoOVBAoJJq+gvgzPWuq6JcFCmEqlI0tiIVbwRUoNIoHESbAS4SFyeF9aQkrH4zPrz3LC8IlXqgmipRDC4CdazAls8EcOJsfUdbXTsqqaa1dm1U2zVNO7WRdro07dK0rapp5HjzeHJ58sGNJdva/8/1HRdPyP0VYmT/AAAAAElFTkSuQmCC);\n}\n\n.rdforms .action.info {\n\tbackground-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9sHEgk6F1W2ZXkAAAMkSURBVDjLhZNfSN11GMY/7/f7O+eox+W/CGbptmTJGptTWgwGmWW6xQKtga2g0U30D5rdSEFFN60RbQV1IURd9GeuiyWxShd6JtO8ydha5i6WJNtkarGcHc8539/v+3u7EF1d9Vy9D8/zPvDC+8C/8GTPGP+H93sH/sNldTjwyhjHD+8GoO3ZwZfqNt56MJ1ONqgii0vL5yenrnw6/tljRwE6Dp2iu3Mdzc3NKwGryw89M9C0pX79xM6mDaRLUhhjsEZIJIRcPmIw8wvXLk+393/Qdfq19wZobSxGut48w4k37mfPc983NTXUTmzdUo33XkFk+6YURoSLsxHJhNV16ZQMnZ1ifubXAx+9tb/v61NDN094/sg5bWqoxXuv1hoCazjYWg7AidG/MUYwRriltFiO94/z6iP5OzbvePCqBejozhzatrVmj/eqcYzEqpJ3scwshHLxipNsPhZVFVXEhZFurLlNPj45WXd+7Mu+AKCqovQpjcG5SKw1asTIw/eWs7Ts1YjIxKUczolaG4u3hlQqQbK0fK/qTyUGwFizreA8Bee14Dy5fKRjF27ojroStt9ZrGHkNQw9zsXqnCd0Hq+pZDiX3RQAeB9LGHpEkDhW4lj4c9GhqgCEYYyqICbGeoMYQxzHZAsmHQAUXPhzwflGI2CtahCI5AVAFFRc6IkVNcaINaoiRix5kkHp9QAgm13+PJd3jYmEVRsrPhbN5b2AAuhfNxxFSYuxqoEVsrmIitTybEl1/bQB6D/W+u7CwnWiSMWFEQaVlx+vQUQQEXmhs1pACV0kiGH8x0n2N1f0imz0wbFPTtP9dBtlqaX2+T/MYFVFuWRzkX4ztiDGCCKi1qx8YjKR0B8mfpN9jX7qrvXB22tdeKJnkC+OtNPzznddl+aK+srKK0kmAgIrWGswYgi9Z3rmdzp36tSj91U+ULVh17Xh4eGVgJGREUYuFHj9xTamJ4dvP3oy9+FiLrF3uWCSCqRTIdXlbrZjd1lvfU3R4craXWEmk6GlpeVmLYeGhvjq2zNrXPVccTQ/evfi5bP3ZK+Oblads6taJpNZ8/0Dy3R3nlDQL+wAAAAASUVORK5CYII=);\n}\n\n.rdformsEditor .rdformsDateValue {\n margin-right: 0.4em;\n}\n\n/* ---------- StoreManager -----------*/\n\n.formulatorTable {\n display: table;\n width: 100%;\n}\n.formulatorTable .row {\n display: table-row;\n}\n\n.formulatorTable .row>* {\n display: table-cell;\n padding-bottom: 0.3em;\n}\n\n.formulatorTable .row>*>* {\n width: 100%;\n}\n\n.formulatorTable .row .select {\n width: 16em;\n}\n\n.formulatorTable .row label {\n width: 10em;\n}\n\n.formulatorTable .row .cardinality label {\n width: 2.5em;\n}\n\n.storeManager .readOnly {\n color: gray !important;\n}\n\n.storeManager .itemList>div {\n height: 100%;\n}\n\n.formulatorTable label .addButton {\n background: lightgreen;\n border-radius: 3px;\n padding-left: 3px;\n padding-right: 3px;\n margin-left: 5px;\n font-weight: bold;\n}\n\n.formulatorTable label .addButton:hover {\n background: green;\n color: white;\n}\n\n.inlineState .dynamic {\n display: none;\n}\n\n.langStringArr {\n display: table;\n}\n\n.langStringArr .langString {\n display: table-row;\n}\n\n.langString>* {\n display: table-cell;\n}\n\n.langString .langStringString {\n width: auto;\n}\n\n.langString .langStringLang {\n width: 5em;\n}\n.langString .langStringString>* {\n width: 100%;\n}\n\n.langString .langStringLang>* {\n width: 4.7em;\n margin-left: 0.3em;\n}\n\n.maximized_textarea {\n width: 100%;\n height: 100%;\n border-width: 0px;\n padding: 0px;\n resize: none;\n}\n\n/* LDBrowser */\n\n.ldbrowser.managedHeight>div {\n height: 100%;\n position: relative;\n}\n\n.ldbrowser.examples .examplesBlock {\n display: block;\n}\n.ldbrowser .examplesBlock {\n display:none;\n margin: 5px;\n}\n\n/* RDFView */\n.rdfView pre {\n padding: 0px;\n margin: 0px;\n width: 100%;\n border-width:0px;\n}\n\n.rdfView.managedHeight pre {\n height: 100%;\n overflow:auto;\n}\n\n.rdforms .cardinality {\n width: 500px;\n margin: 0px auto 1em auto;\n}\n\n.rdformsRow.missingDeps, .rdformsRow.hiddenProperty {\n display: none !important;\n}\n\n.rdformsError,\n.rdformsRow.missingDepsWithValue {\n border: 2px solid red;\n padding: 12px;\n}\n\n.rdformsLinebreaks {\n white-space: pre-line;\n}\n\n.rdformsWarning {\n font-weight: bold;\n color: red;\n padding-bottom: 6px;\n padding-top: 6px;\n}\n\n.rdformsDeprecated {\n border: 2px solid red;\n padding: 12px;\n}\n\n.rdformsDescription {\n font-style: italic;\n margin-bottom: 10px;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsRepeatedValue,\n.rdformsPresenter .rdformsInline>.rdformsOrigin {\n border: 1px solid #E6E6E6;\n padding: 4px 8px;\n margin-top: initial;\n margin-right: 5px;\n border-radius: 4px;\n margin-bottom: 5px;\n display: inline-block;\n}\n\n.rdformsPresenter .rdformsShowLess,\n.rdformsPresenter .rdformsShowMore {\n margin-left: 1em;\n margin-top: 5px;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsShowLess,\n.rdformsPresenter .rdformsInline>.rdformsShowMore {\n margin-left: 0;\n margin-top: initial;\n}\n\n.rdformsPresenter .rdformsTruncated>.rdformsMaybeTruncated {\n display: none;\n}\n\n.rdformsPresenter .rdformsTruncated>.rdformsShowLess {\n display: none;\n}\n.rdformsPresenter .rdformsShowMore {\n display: none;\n}\n.rdformsPresenter .rdformsTruncated>.rdformsShowMore {\n display: initial;\n}\n\n.rdformsPresenter .rdformsInline>.rdformsField {\n margin-left: 0;\n}\n\n.rdformsPresenter .rdformsInline {\n padding-left: 1em;\n}',""]),e.exports=t},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ItemStore",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"bundleLoader",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"engine",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"renderingContext",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"system",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"utils",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return c.default}}),n(341);var o=d(n(37)),r=d(n(424)),i=d(n(427)),a=d(n(60)),s=d(n(98)),l=d(n(85)),c=d(n(190));function d(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(35),n(52),n(42),n(144),n(36),n(9),n(23),n(24),n(13),n(14),n(22);var o=n(96),r=u(n(298)),i=u(n(173)),a=u(n(299)),s=u(n(226)),l=u(n(425)),c=u(n(426)),d=n(85);function u(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,i=void 0,i=function(e,t){if("object"!==f(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==f(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===f(i)?i:String(i)),o)}var r,i}var p=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.automaticSortAllowed=!0,this.ignoreMissingItems=!0,this._bundles=[],this._registry={},this._registryByProperty={},this._ontologyStore=t||new l.default}var t,n,u;return t=e,(n=[{key:"getTemplate",value:function(e){return this.getItem(e)}},{key:"getChildren",value:function(e,t){if(null==e)return[];var n=e.getSource(!0),o=n.content||n.items||[];if(t)return this._createItems(o,e._forceChildrenClones,e.getBundle());var r=this.getItem(n.extends);return r?r.getChildren().concat(e.getChildren(!0)):e.getChildren(!0)}},{key:"getItem",value:function(e){if(null!=e)return this._registry[e]}},{key:"getItems",value:function(){var e=this;return Object.keys(this._registry).map((function(t){return e._registry[t]}))}},{key:"renameItem",value:function(e,t){if(this._registry[t])throw new Error("Cannot rename to ".concat(t," since an item with that id already exists."));if(""===t||null===t)throw new Error("Cannot give an item an empty string or null as id.");var n=this._registry[e];n&&(delete this._registry[e],this._registry[t]=n,n.setId(t));for(var o=function n(o){var r=o.content;if(r)for(var i=0;i<r.length;i++){var a=r[i];a.id!==e&&a["@id"]!==e||(a.id=t,delete a["@id"]),a.content&&n(a)}},r=this.getItems(),a=0;a<r.length;a++){var s=r[a];s instanceof i.default&&o(s._source)}}},{key:"getItemIds",value:function(){return Object.keys(this._registry)}},{key:"getItemByProperty",value:function(e){return this._registryByProperty[e]}},{key:"detectTemplate",value:function(e,t,n){return(0,d.constructTemplate)(e,t,this,n)}},{key:"registerBundle",value:function(e){e.itemStore=this;var t=new c.default(e);this._bundles.push(t),e.source&&e.source.namespaces&&o.namespaces.add(e.source.namespaces);var n=e.source.templates||e.source.auxilliary;return n instanceof Array&&this._createItems(n,!1,t),"object"===f(e.source.cachedChoices)&&this._ontologyStore.importRegistry(e.source.cachedChoices),t}},{key:"getBundles",value:function(){return this._bundles}},{key:"createTemplate",value:function(e){return this.registerBundle({source:e}).getRoot()}},{key:"createTemplateFromChildren",value:function(e){var t=this,n=(e||[]).map((function(e){return"string"==typeof e?t.getItem(e):e}));return new i.default({source:{},children:n,itemStore:this})}},{key:"setPriorities",value:function(e){this.priorities=e}},{key:"createExtendedSource",value:function(e,t){var n=Object.assign(Object.assign({},e),t);return n._extendedSource=t,n.extends=null,delete n.children,n}},{key:"createItem",value:function(e,t,n,o){var l,c=e.id||e["@id"],d=e.type||e["@type"];if(e.extends){var u=this._registry[e.extends];if(null==u&&!this.ignoreMissingItems)throw new Error("Cannot find item to extend with id: ".concat(e.extends));if(u){var f=this.createExtendedSource(u.getSource(),e);return this.createItem(f,!1,!1,o)}}if(null!=d){switch(d){case"text":l=new a.default({source:e,itemStore:this,bundle:o});break;case"choice":l=new s.default({source:e,itemStore:this,ontologyStore:this._ontologyStore,bundle:o});break;case"group":l=new i.default({source:e,children:null,itemStore:this,bundle:o});break;case"propertygroup":l=new r.default({source:e,children:null,itemStore:this,bundle:o})}return!0!==n&&(null!=e.property&&(this._registryByProperty[e.property]=l,this.priorities&&null!=this.priorities[e.property]&&(l.priority=this.priorities[e.property])),null!=c&&null==this._registry[c]&&(this._registry[c]=l,null!=o&&o.addItem(l))),l}if(null==c)throw new Error("Cannot create subitem, `type` for creating new or `id` for referencing external are required.");if(null==this._registry[c])throw new Error("Cannot find referenced subitem using identifier: ".concat(c));if(!0===t||Object.keys(e).find((function(e){return"id"!==e&&"@id"!==e}))){var b=Object.assign(Object.assign({},this._registry[c]._source),e);return this.createItem(b,!1,!0)}return this._registry[c]}},{key:"removeItem",value:function(e,t){var n=e.getBundle();null!=n&&n.removeItem(e),null!=e.getId()&&delete this._registry[e.getId()];var o=e.getProperty();null!=o&&this._registryByProperty[o]===e&&delete this._registryByProperty[o]}},{key:"_createItems",value:function(e,t,n){var o=this;return e.map((function(r,i){var a="string"==typeof r?e[i]={id:r}:r;return o.createItem(a,t,!1,n)}))}}])&&b(t.prototype,n),u&&b(t,u),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=p},function(e,t,n){n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(144),n(35),n(72),n(23),n(24),n(13),n(14),n(9),n(22);var o,r=(o=n(450))&&o.__esModule?o:{default:o};function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,a=void 0,a=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===i(a)?a:String(a)),o)}var r,a}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._registry={}}var t,n,o;return t=e,(n=[{key:"importRegistry",value:function(e){Object.assign(this._registry,e)}},{key:"getChoices",value:function(e,t){var n=this._findChoices(e);if(null==n);else{if(null==t)return n;t(n)}}},{key:"_findChoices",value:function(e){var t=this._registry[e.getOntologyUrl()];if(null!=t)for(var n=0;n<t.length;n++){var o=t[n];if((0,r.default)(o.constraints,e.getConstraints())&&e.getParentProperty()===o.parentProperty&&e.getHierarchyProperty()===o.hierarchyProperty&&e.isParentPropertyInverted()===(o.isParentPropertyInverted||!1)&&e.isHierarchyPropertyInverted()===(o.isHierarchyPropertyInverted||!1))return o.choices}}},{key:"_constructLoadUrl",value:function(e){var t=[];if(t.push("constr=".concat(encodeURIComponent(JSON.stringify(e.getConstraints())))),null!=e.getParentProperty()){var n=!0===e.isParentPropertyInverted()?"ipp=":"pp=";t.push(n+encodeURIComponent(e.getParentProperty()))}if(null!=e.getHierarchyProperty()){var o=!0===e.isHierarchyPropertyInverted()?"ihp=":"hp=";t.push(o+encodeURIComponent(e.getHierarchyProperty()))}return"".concat(e.getOntologyUrl(),"?").concat(t.join("&"))}}])&&a(t.prototype,n),o&&a(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,a=void 0,a=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===o(a)?a:String(a)),r)}var i,a}n(18),n(11),n(15),n(16),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(101),n(23),n(24),n(13),n(14),n(9),n(22);var i=0,a=function(){function e(t){var n=t.itemStore,o=t.source,r=t.path,a=t.readOnly,s=void 0!==a&&a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._itemStore=n,this._source=o,this._path=r,this._readOnly=s,this._items=[],i+=1,this._id="_bundle_".concat(i),this._root=null,this._modified=!1}var t,n,o;return t=e,(n=[{key:"getInternalId",value:function(){return this._id}},{key:"getSource",value:function(){return this._source}},{key:"setRoot",value:function(e){return this._source.root=e,e}},{key:"getRoot",value:function(){if(this._source.root)return this._itemStore.getItem(this._source.root)}},{key:"getItemStore",value:function(){return this._itemStore}},{key:"getPath",value:function(){return this._path}},{key:"getItems",value:function(){return this._items}},{key:"addItem",value:function(e){this._items.push(e)}},{key:"removeItem",value:function(e){this._items.splice(this._items.indexOf(e),1)}},{key:"isModified",value:function(){return this._modified}},{key:"setModified",value:function(e){this._modified=e}},{key:"isReadOnly",value:function(){return this._readOnly||null==this._path}}])&&r(t.prototype,n),o&&r(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=a},function(e,t,n){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var r=t&&t.prototype instanceof p?t:p,a=Object.create(r.prototype),s=new E(o||[]);return i(a,"_invoke",{value:_(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var b={};function p(){}function m(){}function g(){}var h={};d(h,s,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(S([])));y&&y!==t&&n.call(y,s)&&(h=y);var w=g.prototype=p.prototype=Object.create(h);function x(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){var r;i(this,"_invoke",{value:function(i,a){function s(){return new t((function(r,s){!function r(i,a,s,l){var c=f(e[i],e,a);if("throw"!==c.type){var d=c.arg,u=d.value;return u&&"object"==o(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(u).then((function(e){d.value=e,s(d)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}(i,a,r,s)}))}return r=r?r.then(s,s):s()}})}function _(e,t,n){var o="suspendedStart";return function(r,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw i;return D()}for(n.method=r,n.arg=i;;){var a=n.delegate;if(a){var s=C(a,n);if(s){if(s===b)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var l=f(e,t,n);if("normal"===l.type){if(o=n.done?"completed":"suspendedYield",l.arg===b)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o="completed",n.method="throw",n.arg=l.arg)}}}function C(e,t){var n=t.method,o=e.iterator[n];if(void 0===o)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var r=f(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,b;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,b):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,b)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function S(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,r=function t(){for(;++o<e.length;)if(n.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:D}}function D(){return{value:void 0,done:!0}}return m.prototype=g,i(w,"constructor",{value:g,configurable:!0}),i(g,"constructor",{value:m,configurable:!0}),m.displayName=d(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,d(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},x(k.prototype),d(k.prototype,l,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,o,r,i){void 0===i&&(i=Promise);var a=new k(u(t,n,o,r),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(w),d(w,c,"Generator"),d(w,s,(function(){return this})),d(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var o in t)n.push(o);return n.reverse(),function e(){for(;n.length;){var o=n.pop();if(o in t)return e.value=o,e.done=!1,e}return e.done=!0,e}},e.values=S,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(n,o){return a.type="throw",a.arg=e,t.next=n,o&&(t.method="next",t.arg=void 0),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;O(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),b}},e}function i(e,t,n,o,r,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(o,r)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function s(e){i(a,o,r,s,l,"next",e)}function l(e){i(a,o,r,s,l,"throw",e)}s(void 0)}))}}n(13),n(14),n(18),n(428),n(429),n(430),n(431),n(39),n(30),n(119),n(56),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(9),n(432),n(168),n(169),n(35),n(52),n(11),n(15),n(16);var s=function(e,t,n){var o="Fetching template bundle ".concat(n," failed.");if(e===t-1)throw Error("".concat(o," Cannot recover from this, please fix."));console.log("".concat(o," Will try to fetch from a fallback option."))},l=function(){var e=a(r().mark((function e(t){var n,o,i,a,l;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.length,a=0;case 2:if(!(a<n)){e.next=34;break}return e.prev=3,e.next=6,fetch(t[a]);case 6:o=e.sent,e.next=12;break;case 9:throw e.prev=9,e.t0=e.catch(3),Error("A network error ocurred while trying to fetch bundle ".concat(t[a]));case 12:if(!o||!o.ok){e.next=30;break}if(e.prev=13,!(l=o.headers.has("content-type")&&o.headers.get("content-type"))||!l.includes("application/json")){e.next=22;break}return e.next=18,o.json();case 18:return i=e.sent,e.abrupt("break",34);case 22:throw new Error("Failed fetching template ".concat(t[a],". Expected a JSON file and got ").concat(l));case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(13),s(a,n,t[a]);case 28:e.next=31;break;case 30:s(a,n,t[a]);case 31:a++,e.next=2;break;case 34:return e.abrupt("return",i);case 35:case"end":return e.stop()}}),e,null,[[3,9],[13,25]])})));return function(t){return e.apply(this,arguments)}}(),c=function(e){return e.map((function(e){return e instanceof Array?l(e):Promise.resolve(e)}))},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.map((function(t){return e.registerBundle({source:t})}))},u=function(){var e=a(r().mark((function e(t){var n,o,i,a,s,l=arguments;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=l.length>1&&void 0!==l[1]?l[1]:[],o=l.length>2&&void 0!==l[2]?l[2]:function(){},0===n.length&&o&&o([]),i=c(n),e.next=6,Promise.all(i);case 6:return a=e.sent,s=d(t,a),o(s),e.abrupt("return",s);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.default=u},function(e,t,n){n(136)("asyncIterator")},function(e,t,n){var o=n(55),r=n(136),i=n(84);r("toStringTag"),i(o("Symbol"),"Symbol")},function(e,t,n){var o=n(21);n(84)(o.JSON,"JSON",!0)},function(e,t,n){n(84)(Math,"Math",!0)},function(e,t,n){n(433),n(441),n(442),n(443),n(444),n(445)},function(e,t,n){"use strict";var o,r,i,a=n(17),s=n(64),l=n(175),c=n(21),d=n(29),u=n(48),f=n(212),b=n(84),p=n(213),m=n(65),g=n(27),h=n(32),v=n(171),y=n(434),w=n(300).set,x=n(436),k=n(439),_=n(228),C=n(302),T=n(66),O=n(139),E=n(140),S=n(141),D=E.CONSTRUCTOR,j=E.REJECTION_EVENT,N=E.SUBCLASSING,A=T.getterFor("Promise"),I=T.set,M=O&&O.prototype,L=O,P=M,R=c.TypeError,z=c.document,F=c.process,B=S.f,V=B,Y=!!(z&&z.createEvent&&c.dispatchEvent),$=function(e){var t;return!(!h(e)||!g(t=e.then))&&t},U=function(e,t){var n,o,r,i=t.value,a=1==t.state,s=a?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(a||(2===t.rejection&&Q(t),t.rejection=1),!0===s?n=i:(u&&u.enter(),n=s(i),u&&(u.exit(),r=!0)),n===e.promise?c(R("Promise-chain cycle")):(o=$(n))?d(o,n,l,c):l(n)):c(i)}catch(e){u&&!r&&u.exit(),c(e)}},H=function(e,t){e.notified||(e.notified=!0,x((function(){for(var n,o=e.reactions;n=o.get();)U(n,e);e.notified=!1,t&&!e.rejection&&W(e)})))},G=function(e,t,n){var o,r;Y?((o=z.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),c.dispatchEvent(o)):o={promise:t,reason:n},!j&&(r=c["on"+e])?r(o):"unhandledrejection"===e&&k("Unhandled promise rejection",n)},W=function(e){d(w,c,(function(){var t,n=e.facade,o=e.value;if(q(e)&&(t=_((function(){l?F.emit("unhandledRejection",o,n):G("unhandledrejection",n,o)})),e.rejection=l||q(e)?2:1,t.error))throw t.value}))},q=function(e){return 1!==e.rejection&&!e.parent},Q=function(e){d(w,c,(function(){var t=e.facade;l?F.emit("rejectionHandled",t):G("rejectionhandled",t,e.value)}))},X=function(e,t,n){return function(o){e(t,o,n)}},Z=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,H(e,!0))},K=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw R("Promise can't be resolved itself");var o=$(t);o?x((function(){var n={done:!1};try{d(o,t,X(K,n,e),X(Z,n,e))}catch(t){Z(n,t,e)}})):(e.value=t,e.state=1,H(e,!1))}catch(t){Z({done:!1},t,e)}}};if(D&&(P=(L=function(e){v(this,P),m(e),d(o,this);var t=A(this);try{e(X(K,t),X(Z,t))}catch(e){Z(t,e)}}).prototype,(o=function(e){I(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:void 0})}).prototype=u(P,"then",(function(e,t){var n=A(this),o=B(y(this,L));return n.parent=!0,o.ok=!g(e)||e,o.fail=g(t)&&t,o.domain=l?F.domain:void 0,0==n.state?n.reactions.add(o):x((function(){U(o,n)})),o.promise})),r=function(){var e=new o,t=A(e);this.promise=e,this.resolve=X(K,t),this.reject=X(Z,t)},S.f=B=function(e){return e===L||void 0===e?new r(e):V(e)},!s&&g(O)&&M!==Object.prototype)){i=M.then,N||u(M,"then",(function(e,t){var n=this;return new L((function(e,t){d(i,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete M.constructor}catch(e){}f&&f(M,P)}a({global:!0,constructor:!0,wrap:!0,forced:D},{Promise:L}),b(L,"Promise",!1,!0),p("Promise")},function(e,t,n){var o=n(31),r=n(285),i=n(71),a=n(26)("species");e.exports=function(e,t){var n,s=o(e).constructor;return void 0===s||i(n=o(s)[a])?t:r(n)}},function(e,t){var n=TypeError;e.exports=function(e,t){if(e<t)throw n("Not enough arguments");return e}},function(e,t,n){var o,r,i,a,s,l=n(21),c=n(107),d=n(90).f,u=n(300).set,f=n(302),b=n(301),p=n(437),m=n(438),g=n(175),h=l.MutationObserver||l.WebKitMutationObserver,v=l.document,y=l.process,w=l.Promise,x=d(l,"queueMicrotask"),k=x&&x.value;if(!k){var _=new f,C=function(){var e,t;for(g&&(e=y.domain)&&e.exit();t=_.get();)try{t()}catch(e){throw _.head&&o(),e}e&&e.enter()};b||g||m||!h||!v?!p&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,s=c(a.then,a),o=function(){s(C)}):g?o=function(){y.nextTick(C)}:(u=c(u,l),o=function(){u(C)}):(r=!0,i=v.createTextNode(""),new h(C).observe(i,{characterData:!0}),o=function(){i.data=r=!r}),k=function(e){_.head||o(),_.add(e)}}e.exports=k},function(e,t,n){var o=n(93);e.exports=/ipad|iphone|ipod/i.test(o)&&"undefined"!=typeof Pebble},function(e,t,n){var o=n(93);e.exports=/web0s(?!.*chrome)/i.test(o)},function(e,t){e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},function(e,t,n){var o=n(303),r=n(175);e.exports=!o&&!r&&"object"==typeof window&&"object"==typeof document},function(e,t,n){"use strict";var o=n(17),r=n(29),i=n(65),a=n(141),s=n(228),l=n(138);o({target:"Promise",stat:!0,forced:n(304)},{all:function(e){var t=this,n=a.f(t),o=n.resolve,c=n.reject,d=s((function(){var n=i(t.resolve),a=[],s=0,d=1;l(e,(function(e){var i=s++,l=!1;d++,r(n,t,e).then((function(e){l||(l=!0,a[i]=e,--d||o(a))}),c)})),--d||o(a)}));return d.error&&c(d.value),n.promise}})},function(e,t,n){"use strict";var o=n(17),r=n(64),i=n(140).CONSTRUCTOR,a=n(139),s=n(55),l=n(27),c=n(48),d=a&&a.prototype;if(o({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!r&&l(a)){var u=s("Promise").prototype.catch;d.catch!==u&&c(d,"catch",u,{unsafe:!0})}},function(e,t,n){"use strict";var o=n(17),r=n(29),i=n(65),a=n(141),s=n(228),l=n(138);o({target:"Promise",stat:!0,forced:n(304)},{race:function(e){var t=this,n=a.f(t),o=n.reject,c=s((function(){var a=i(t.resolve);l(e,(function(e){r(a,t,e).then(n.resolve,o)}))}));return c.error&&o(c.value),n.promise}})},function(e,t,n){"use strict";var o=n(17),r=n(29),i=n(141);o({target:"Promise",stat:!0,forced:n(140).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return r(t.reject,void 0,e),t.promise}})},function(e,t,n){"use strict";var o=n(17),r=n(55),i=n(64),a=n(139),s=n(140).CONSTRUCTOR,l=n(446),c=r("Promise"),d=i&&!s;o({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return l(d&&this===c?a:this,e)}})},function(e,t,n){var o=n(31),r=n(32),i=n(141);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},,,function(e,t,n){"use strict";n.r(t);var o=n(116);var r=function(e,t){for(var n=-1,o=null==e?0:e.length;++n<o&&!1!==t(e[n],n,e););return e},i=n(50),a=function(){try{var e=Object(i.a)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var s=function(e,t,n){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},l=n(111),c=Object.prototype.hasOwnProperty;var d=function(e,t,n){var o=e[t];c.call(e,t)&&Object(l.a)(o,n)&&(void 0!==n||t in e)||s(e,t,n)};var u=function(e,t,n,o){var r=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var l=t[i],c=o?o(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),r?s(n,l,c):d(n,l,c)}return n},f=n(113);var b=function(e,t){return e&&u(t,Object(f.a)(t),e)},p=n(187),m=n(69),g=n(110);var h=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},v=Object.prototype.hasOwnProperty;var y=function(e){if(!Object(m.a)(e))return h(e);var t=Object(g.a)(e),n=[];for(var o in e)("constructor"!=o||!t&&v.call(e,o))&&n.push(o);return n},w=n(183);var x=function(e){return Object(w.a)(e)?Object(p.a)(e,!0):y(e)};var k=function(e,t){return e&&u(t,x(t),e)},_=n(307);var C=function(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t},T=n(114);var O=function(e,t){return u(e,Object(T.a)(e),t)},E=n(182),S=n(180),D=Object(S.a)(Object.getPrototypeOf,Object),j=n(181),N=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Object(E.a)(t,Object(T.a)(e)),e=D(e);return t}:j.a;var A=function(e,t){return u(e,N(e),t)},I=n(143),M=n(185);var L=function(e){return Object(M.a)(e,x,N)},P=n(78),R=Object.prototype.hasOwnProperty;var z=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&R.call(e,"index")&&(n.index=e.index,n.input=e.input),n},F=n(115);var B=function(e){var t=new e.constructor(e.byteLength);return new F.a(t).set(new F.a(e)),t};var V=function(e,t){var n=t?B(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},Y=/\w*$/;var $=function(e){var t=new e.constructor(e.source,Y.exec(e));return t.lastIndex=e.lastIndex,t},U=n(47),H=U.a?U.a.prototype:void 0,G=H?H.valueOf:void 0;var W=function(e){return G?Object(G.call(e)):{}};var q=function(e,t){var n=t?B(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var Q=function(e,t,n){var o=e.constructor;switch(t){case"[object ArrayBuffer]":return B(e);case"[object Boolean]":case"[object Date]":return new o(+e);case"[object DataView]":return V(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return q(e,n);case"[object Map]":return new o;case"[object Number]":case"[object String]":return new o(e);case"[object RegExp]":return $(e);case"[object Set]":return new o;case"[object Symbol]":return W(e)}},X=Object.create,Z=function(){function e(){}return function(t){if(!Object(m.a)(t))return{};if(X)return X(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var K=function(e){return"function"!=typeof e.constructor||Object(g.a)(e)?{}:Z(D(e))},J=n(61),ee=n(99),te=n(45);var ne=function(e){return Object(te.a)(e)&&"[object Map]"==Object(P.a)(e)},oe=n(112),re=n(79),ie=re.a&&re.a.isMap,ae=ie?Object(oe.a)(ie):ne;var se=function(e){return Object(te.a)(e)&&"[object Set]"==Object(P.a)(e)},le=re.a&&re.a.isSet,ce=le?Object(oe.a)(le):se,de={};de["[object Arguments]"]=de["[object Array]"]=de["[object ArrayBuffer]"]=de["[object DataView]"]=de["[object Boolean]"]=de["[object Date]"]=de["[object Float32Array]"]=de["[object Float64Array]"]=de["[object Int8Array]"]=de["[object Int16Array]"]=de["[object Int32Array]"]=de["[object Map]"]=de["[object Number]"]=de["[object Object]"]=de["[object RegExp]"]=de["[object Set]"]=de["[object String]"]=de["[object Symbol]"]=de["[object Uint8Array]"]=de["[object Uint8ClampedArray]"]=de["[object Uint16Array]"]=de["[object Uint32Array]"]=!0,de["[object Error]"]=de["[object Function]"]=de["[object WeakMap]"]=!1;var ue=function e(t,n,i,a,s,l){var c,u=1&n,p=2&n,g=4&n;if(i&&(c=s?i(t,a,s,l):i(t)),void 0!==c)return c;if(!Object(m.a)(t))return t;var h=Object(J.a)(t);if(h){if(c=z(t),!u)return C(t,c)}else{var v=Object(P.a)(t),y="[object Function]"==v||"[object GeneratorFunction]"==v;if(Object(ee.a)(t))return Object(_.a)(t,u);if("[object Object]"==v||"[object Arguments]"==v||y&&!s){if(c=p||y?{}:K(t),!u)return p?A(t,k(c,t)):O(t,b(c,t))}else{if(!de[v])return s?t:{};c=Q(t,v,u)}}l||(l=new o.a);var w=l.get(t);if(w)return w;l.set(t,c),ce(t)?t.forEach((function(o){c.add(e(o,n,i,o,t,l))})):ae(t)&&t.forEach((function(o,r){c.set(r,e(o,n,i,r,t,l))}));var T=g?p?L:I.a:p?x:f.a,E=h?void 0:T(t);return r(E||t,(function(o,r){E&&(o=t[r=o]),d(c,r,e(o,n,i,r,t,l))})),c};t.default=function(e){return ue(e,5)}},function(e,t,n){"use strict";n.r(t);var o=n(116),r=n(186);var i=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};var a=function(e){return this.__data__.has(e)};function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r.a;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=i,s.prototype.has=a;var l=s;var c=function(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1};var d=function(e,t){return e.has(t)};var u=function(e,t,n,o,r,i){var a=1&n,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var f=i.get(e),b=i.get(t);if(f&&b)return f==t&&b==e;var p=-1,m=!0,g=2&n?new l:void 0;for(i.set(e,t),i.set(t,e);++p<s;){var h=e[p],v=t[p];if(o)var y=a?o(v,h,p,t,e,i):o(h,v,p,e,t,i);if(void 0!==y){if(y)continue;m=!1;break}if(g){if(!c(t,(function(e,t){if(!d(g,t)&&(h===e||r(h,e,n,o,i)))return g.push(t)}))){m=!1;break}}else if(h!==v&&!r(h,v,n,o,i)){m=!1;break}}return i.delete(e),i.delete(t),m},f=n(47),b=n(115),p=n(111);var m=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n};var g=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},h=f.a?f.a.prototype:void 0,v=h?h.valueOf:void 0;var y=function(e,t,n,o,r,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new b.a(e),new b.a(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Object(p.a)(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=m;case"[object Set]":var l=1&o;if(s||(s=g),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;o|=2,a.set(e,t);var d=u(s(e),s(t),o,r,i,a);return a.delete(e),d;case"[object Symbol]":if(v)return v.call(e)==v.call(t)}return!1},w=n(143),x=Object.prototype.hasOwnProperty;var k=function(e,t,n,o,r,i){var a=1&n,s=Object(w.a)(e),l=s.length;if(l!=Object(w.a)(t).length&&!a)return!1;for(var c=l;c--;){var d=s[c];if(!(a?d in t:x.call(t,d)))return!1}var u=i.get(e),f=i.get(t);if(u&&f)return u==t&&f==e;var b=!0;i.set(e,t),i.set(t,e);for(var p=a;++c<l;){var m=e[d=s[c]],g=t[d];if(o)var h=a?o(g,m,d,t,e,i):o(m,g,d,e,t,i);if(!(void 0===h?m===g||r(m,g,n,o,i):h)){b=!1;break}p||(p="constructor"==d)}if(b&&!p){var v=e.constructor,y=t.constructor;v==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y||(b=!1)}return i.delete(e),i.delete(t),b},_=n(78),C=n(61),T=n(99),O=n(188),E="[object Object]",S=Object.prototype.hasOwnProperty;var D=function(e,t,n,r,i,a){var s=Object(C.a)(e),l=Object(C.a)(t),c=s?"[object Array]":Object(_.a)(e),d=l?"[object Array]":Object(_.a)(t),f=(c="[object Arguments]"==c?E:c)==E,b=(d="[object Arguments]"==d?E:d)==E,p=c==d;if(p&&Object(T.a)(e)){if(!Object(T.a)(t))return!1;s=!0,f=!1}if(p&&!f)return a||(a=new o.a),s||Object(O.a)(e)?u(e,t,n,r,i,a):y(e,t,c,n,r,i,a);if(!(1&n)){var m=f&&S.call(e,"__wrapped__"),g=b&&S.call(t,"__wrapped__");if(m||g){var h=m?e.value():e,v=g?t.value():t;return a||(a=new o.a),i(h,v,n,r,a)}}return!!p&&(a||(a=new o.a),k(e,t,n,r,i,a))},j=n(45);var N=function e(t,n,o,r,i){return t===n||(null==t||null==n||!Object(j.a)(t)&&!Object(j.a)(n)?t!=t&&n!=n:D(t,n,o,r,e,i))};t.default=function(e,t){return N(e,t)}},,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){
35
35
  /**!
36
36
  * @fileOverview Kickass library to create and place poppers near their reference elements.
37
37
  * @version 1.16.1