@entryscape/rdforms 10.10.1 → 10.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,34 +1,51 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.rdforms=t():e.rdforms=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=742)}([,,,,,,,,,function(e,t,n){var r=n(201),i=n(48),o=n(362);r||i(Object.prototype,"toString",o,{unsafe:!0})},,function(e,t,n){"use strict";var r=n(57),i=n(214),o=n(137),a=n(66),s=n(49).f,u=n(215),l=n(216),c=n(64),f=n(33),d=a.set,h=a.getterFor("Array Iterator");e.exports=u(Array,"Array",(function(e,t){d(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,l(void 0,!0)):l("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(e){}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){n(375),n(376),n(377),n(378),n(380)},function(e,t,n){"use strict";var r=n(17),i=n(33),o=n(21),a=n(19),s=n(28),u=n(27),l=n(83),c=n(43),f=n(134),d=n(261),h=o.Symbol,p=h&&h.prototype;if(i&&u(h)&&(!("description"in p)||void 0!==h().description)){var y={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),t=l(p,this)?new h(e):void 0===e?h():h(e);return""===e&&(y[t]=!0),t};d(g,h),g.prototype=p,p.constructor=g;var v="Symbol(test)"==String(h("test")),m=a(p.valueOf),b=a(p.toString),w=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),x=a("".slice);f(p,"description",{configurable:!0,get:function(){var e=m(this);if(s(y,e))return"";var t=b(e),n=v?x(t,7,-1):_(t,w,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:g})}},function(e,t,n){"use strict";var r=n(271).charAt,i=n(43),o=n(66),a=n(215),s=n(216),u=o.set,l=o.getterFor("String Iterator");a(String,"String",(function(e){u(this,{type:"String Iterator",string:i(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?s(void 0,!0):(e=r(n,i),t.index+=e.length,s(e,!1))}))},function(e,t,n){var r=n(21),i=n(258),o=n(259),a=n(11),s=n(94),u=n(26),l=u("iterator"),c=u("toStringTag"),f=a.values,d=function(e,t){if(e){if(e[l]!==f)try{s(e,l,f)}catch(t){e[l]=f}if(e[c]||s(e,c,t),i[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var h in i)d(r[h]&&r[h].prototype,h);d(o,"DOMTokenList")},function(e,t,n){var r=n(21),i=n(90).f,o=n(94),a=n(48),s=n(204),u=n(261),l=n(132);e.exports=function(e,t){var n,c,f,d,h,p=e.target,y=e.global,g=e.stat;if(n=y?r:g?r[p]||s(p,{}):(r[p]||{}).prototype)for(c in t){if(d=t[c],f=e.dontCallGetSet?(h=i(n,c))&&h.value:n[c],!l(y?c:p+(g?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),a(n,c,d,e)}}},function(e,t,n){n(136)("iterator")},function(e,t,n){var r=n(124),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);e.exports=r?a:function(e){return function(){return o.apply(e,arguments)}}},,function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,n(202))},function(e,t,n){"use strict";var r=n(17),i=n(64),o=n(33),a=n(21),s=n(280),u=n(19),l=n(132),c=n(28),f=n(211),d=n(83),h=n(126),p=n(254),y=n(12),g=n(108).f,v=n(90).f,m=n(49).f,b=n(385),w=n(235).trim,_=a.Number,x=s.Number,O=_.prototype,S=a.TypeError,T=u("".slice),k=u("".charCodeAt),E=function(e){var t=p(e,"number");return"bigint"==typeof t?t:j(t)},j=function(e){var t,n,r,i,o,a,s,u,l=p(e,"number");if(h(l))throw S("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=w(l),43===(t=k(l,0))||45===t){if(88===(n=k(l,2))||120===n)return NaN}else if(48===t){switch(k(l,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+l}for(a=(o=T(l,2)).length,s=0;s<a;s++)if((u=k(o,s))<48||u>i)return NaN;return parseInt(o,r)}return+l},C=l("Number",!_(" 0o1")||!_("0b1")||_("+0x1")),P=function(e){return d(O,e)&&y((function(){b(e)}))},A=function(e){var t=arguments.length<1?0:_(E(e));return P(this)?f(Object(t),this,A):t};A.prototype=O,C&&!i&&(O.constructor=A),r({global:!0,constructor:!0,wrap:!0,forced:C},{Number:A});var N=function(e,t){for(var n,r=o?g(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;r.length>i;i++)c(t,n=r[i])&&!c(e,n)&&m(e,n,v(t,n))};i&&x&&N(s.Number,x),(C||i)&&N(s.Number,_)},function(e,t,n){var r=n(136),i=n(281);r("toPrimitive"),i()},function(e,t,n){var r=n(28),i=n(48),o=n(384),a=n(26)("toPrimitive"),s=Date.prototype;r(s,a)||i(s,a,o)},,function(e,t,n){var r=n(21),i=n(103),o=n(28),a=n(155),s=n(104),u=n(250),l=r.Symbol,c=i("wks"),f=u?l.for||l:l&&l.withoutSetter||a;e.exports=function(e){return o(c,e)||(c[e]=s&&o(l,e)?l[e]:f("Symbol."+e)),c[e]}},function(e,t,n){var r=n(251),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},function(e,t,n){var r=n(19),i=n(54),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},function(e,t,n){var r=n(124),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},function(e,t,n){var r=n(21),i=n(258),o=n(259),a=n(363),s=n(94),u=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var l in i)i[l]&&u(r[l]&&r[l].prototype);u(o)},function(e,t,n){var r=n(32),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not an object")}},function(e,t,n){var r=n(27),i=n(251),o=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},function(e,t,n){var r=n(12);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){"use strict";var r=n(178),i="object"==typeof self&&self&&self.Object===Object&&self,o=r.a||i||Function("return this")();t.a=o},function(e,t,n){"use strict";var r=n(17),i=n(12),o=n(131),a=n(32),s=n(54),u=n(77),l=n(275),c=n(118),f=n(207),d=n(135),h=n(26),p=n(125),y=h("isConcatSpreadable"),g=p>=51||!i((function(){var e=[];return e[y]=!1,e.concat()[0]!==e})),v=function(e){if(!a(e))return!1;var t=e[y];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,arity:1,forced:!g||!d("concat")},{concat:function(e){var t,n,r,i,o,a=s(this),d=f(a,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(v(o=-1===t?a:arguments[t]))for(i=u(o),l(h+i),n=0;n<i;n++,h++)n in o&&c(d,h,o[n]);else l(h+1),c(d,h++,o);return d.length=h,d}})},function(e,t,n){"use strict";var r=n(17),i=n(106).find,o=n(214),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("find")},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(101),n(189),n(9),n(13),n(14),n(18),n(11),n(15),n(16);var r=a(n(383)),i=a(n(98)),o=a(n(409));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="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 u,l,c,f,d,h="body",p=[{value:"",label:{en:""}},{value:"bg",label:{en:"Bulgarian",bg:"български"}},{value:"es",label:{en:"Spanish",es:"Español"}},{value:"cs",label:{en:"Czech",cs:"čeština"}},{value:"da",label:{en:"Danish",da:"Dansk"}},{value:"no",label:{en:"Norwegian",no:"Norsk",nb:"Norsk",nn:"Norsk nynorsk"}},{value:"nb",label:{en:"Norwegian (bokmål)",nb:"Norsk bokmål",no:"Norsk bokmål",nn:"Norsk bokmål"}},{value:"nn",label:{en:"Norwegian (nynorsk)",nb:"Norsk nynorsk",no:"Norsk nynorsk",nn:"Norsk nynorsk"}},{value:"de",label:{en:"German",de:"Deutsch"}},{value:"et",label:{en:"Estonian",et:"Eesti keel"}},{value:"el",label:{en:"Greek",el:"ελληνικά"}},{value:"en",label:{en:"English"}},{value:"fr",label:{en:"French",fr:"Français"}},{value:"ga",label:{en:"Irish",ga:"Gaeilge"}},{value:"hr",label:{en:"Croatian",hr:"Hrvatski"}},{value:"it",label:{en:"Italian",it:"Italiano"}},{value:"lv",label:{en:"Latvian",lv:"Latviešu valoda"}},{value:"lt",label:{en:"Lithuanian",lt:"Lietuvių kalba"}},{value:"hu",label:{en:"Hungarian",hu:"Magyar"}},{value:"mt",label:{en:"Maltese",mt:"Malti"}},{value:"nl",label:{en:"Dutch",nl:"Nederlands"}},{value:"pl",label:{en:"Polish",pl:"Polski"}},{value:"pt",label:{en:"Portuguese",pt:"Português"}},{value:"ro",label:{en:"Romanian",ro:"Română"}},{value:"sk",label:{en:"Slovak",sk:"Slovenčina"}},{value:"sl",label:{en:"Slovenian",sl:"Slovenščina"}},{value:"fi",label:{en:"Finnish",fi:"Suomi"}},{value:"sv",label:{en:"Swedish",sv:"Svenska"}}],y={domQuery:function(){},domCreate:function(){},domCreateAfter:function(){},domClassToggle:function(){},domSetAttr:function(){},domText:function(){},createDomNode:function(e){return e instanceof Node?e:"string"==typeof e?document.getElementById(e):document.createElement("div")},destroyDomNode:function(){},presenterRegistry:new r.default,editorRegistry:new r.default,chooserRegistry:new r.default,renderPresenter:function(e,t,n){var r=y.presenterRegistry.getComponent(t.getItem());r&&(y.prePresenterRenderer(e,t,n),r(e,t,n),y.postPresenterRenderer(e,t,n))},renderEditor:function(e,t,n){var r=y.editorRegistry.getComponent(t.getItem());r&&(y.preEditorRenderer(e,t,n),r(e,t,n),y.postEditorRenderer(e,t,n))},renderValidationMessage:function(e,t,n){},renderSelect:function(){},getChoice:function(e,t){var n=y.chooserRegistry.getComponent(e);if(null==n)throw new Error("Error, no chooser available to retrieve a choice for item: ".concat(e.getId()));return n.getChoice(e,t)},hasOpenChoiceSelector:function(e){return null!=y.chooserRegistry.getComponent(e.getItem())},openChoiceSelector:function(e,t,n){var r=y.chooserRegistry.getComponent(e.getItem());if(null!=r&&r&&r.getChoice)r.show(e,t,n);else{var i=e.getItem();alert("Error, no chooser available to open a choice selector for: ".concat(i))}},getExtLinkClass:function(){return""},setMessages:function(e){u=e},getMessages:function(){return u||o.default},getLanguageList:function(){return l||p},getPrimaryLanguageList:function(){if(!f){for(var e,t=y.getLanguageList(),n=c||[],r=[],i=0;i<t.length;i++){var o=t[i].value,a=n.indexOf(o);""===o&&(e=t[i]),-1!==a&&(r[a]=t[i])}f=[];for(var u=0;u<r.length;u++)"object"===s(r[u])&&f.push(r[u]);f.length>0&&e&&f.splice(0,0,e)}return f},getNonPrimaryLanguageList:function(){if(!d){var e=y.getPrimaryLanguageList().length>0,t=y.getLanguageList(),n=c||[];d=[];for(var r=0;r<t.length;r++){var i=t[r].value;-1===n.indexOf(i)&&(e&&""===i||d.push(t[r]))}}return d},setPrimaryLanguageCodes:function(e){d=null,f=null,c=e},setLanguageList:function(e){l=e},filterTranslations:function(e,t,n){for(var r={},i=0;i<e.length;i++){var o=e[i].getLanguage();""===o||null==o?r.noLanguage=!0:o===t?r.best=!0:-1!==o.indexOf(t)||-1!==t.indexOf(o)?r.close=!0:0===o.indexOf(n)&&(r.defaultLanguage=!0)}return r.best?e.filter((function(e){return e.getLanguage()===t})):r.close?e.filter((function(e){var n=e.getLanguage();return n&&(-1!==n.indexOf(t)||-1!==t.indexOf(n))})):r.defaultLanguage?e.filter((function(e){var t=e.getLanguage();return t&&0===t.indexOf(n)})):e},setPopoverContainer:function(e){h=e},getPopoverContainer:function(){return h},preEditorViewRenderer:function(e,t){},prePresenterViewRenderer:function(e,t){},preEditorRenderer:function(){},postEditorRenderer:function(){},prePresenterRenderer:function(){},postPresenterRenderer:function(){},renderEditorLabel:function(){},renderEditorLabelScopeEnd:function(){},renderPresenterLabel:function(){},attachItemInfo:function(){},addCreateChildButton:function(){},addGroupButtons:function(){},addExpandButton:function(){},addRemoveButton:function(){},addPresenterTable:function(){},fillPresenterTable:function(){},addEditorTable:function(){},fillEditorTable:function(){},addTruncateControl:function(){}};i.default.getChoice=y.getChoice;var g=function(e,t,n){new(0,n.view.constructor)({parentView:n.view,messages:n.view.messages,binding:t,topLevel:!1,compact:n.view.compact,showLanguage:n.view.showLanguage,showDescription:n.view.showDescription,defaultLanguage:n.view.defaultLanguage,filterTranslations:n.view.filterTranslations,truncate:n.view.truncate,truncateLimit:n.view.truncateLimit,includeLevel:n.view.includeLevel},e)};y.presenterRegistry.itemtype("group").register(g),y.presenterRegistry.itemtype("propertygroup").register(g);var v=function(e,t,n){var r=new(0,n.view.constructor)({parentView:n.view,messages:n.view.messages,languages:n.view.languages,binding:t,topLevel:!1,compact:n.view.compact,showDescription:n.view.showDescription,truncate:n.view.truncate,truncateLimit:n.view.truncateLimit,includeLevel:n.view.includeLevel},e);n.view._subEditors.push(r)};y.editorRegistry.itemtype("group").register(v),y.editorRegistry.itemtype("propertygroup").register(v);var m=y;t.default=m},function(e,t,n){"use strict";var r=n(17),i=n(210);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(e,t,n){var r=n(17),i=n(12),o=n(54),a=n(167),s=n(284);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},function(e,t,n){var r=n(17),i=n(12),o=n(57),a=n(90).f,s=n(33);r({target:"Object",stat:!0,forced:!s||i((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},,function(e,t,n){var r=n(17),i=n(54),o=n(133);r({target:"Object",stat:!0,forced:n(12)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},function(e,t,n){var r=n(159),i=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},function(e,t,n){var r=n(17),i=n(55),o=n(166),a=n(389),s=n(285),u=n(31),l=n(32),c=n(95),f=n(12),d=i("Reflect","construct"),h=Object.prototype,p=[].push,y=f((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),g=!f((function(){d((function(){}))})),v=y||g;r({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(e,t){s(e),u(t);var n=arguments.length<3?e:s(arguments[2]);if(g&&!y)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return o(p,r,t),new(o(a,e,r))}var i=n.prototype,f=c(l(i)?i:h),v=o(e,f,t);return l(v)?v:f}})},function(e,t,n){"use strict";t.a=function(e){return null!=e&&"object"==typeof e}},,function(e,t,n){"use strict";var r=n(34).a.Symbol;t.a=r},function(e,t,n){var r=n(27),i=n(49),o=n(256),a=n(204);e.exports=function(e,t,n,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:t;if(r(n)&&o(n,l,s),s.global)u?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},function(e,t,n){var r=n(33),i=n(252),o=n(253),a=n(31),s=n(157),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor;t.f=r?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&"writable"in n&&!n.writable){var r=c(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var r,i=n(179),o=n(34).a["__core-js_shared__"],a=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";var s=function(e){return!!a&&a in e},u=n(69),l=n(80),c=/^\[object .+?Constructor\]$/,f=Function.prototype,d=Object.prototype,h=f.toString,p=d.hasOwnProperty,y=RegExp("^"+h.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var g=function(e){return!(!Object(u.a)(e)||s(e))&&(Object(i.a)(e)?y:c).test(Object(l.a)(e))};var v=function(e,t){return null==e?void 0:e[t]};t.a=function(e,t){var n=v(e,t);return g(n)?n:void 0}},,function(e,t,n){"use strict";var r=n(17),i=n(106).map;r({target:"Array",proto:!0,forced:!n(135)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r;
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.rdforms=e():t.rdforms=e()}(self,()=>(()=>{var t={12893:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SaxesParser=e.EVENTS=void 0;const n=r(83347),i=r(95285),o=r(87046);var a=n.isS,s=n.isChar,u=n.isNameStartChar,l=n.isNameChar,c=n.S_LIST,f=n.NAME_RE,d=i.isChar,h=o.isNCNameStartChar,p=o.isNCNameChar,g=o.NC_NAME_RE;const y="http://www.w3.org/XML/1998/namespace",m="http://www.w3.org/2000/xmlns/",v={__proto__:null,xml:y,xmlns:m},b={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},w=t=>34===t||39===t,_=[34,39],x=[..._,91,62],S=[..._,60,93],E=[61,63,...c],T=[...c,62,38,60];function k(t,e,r){switch(e){case"xml":r!==y&&t.fail(`xml prefix must be bound to ${y}.`);break;case"xmlns":r!==m&&t.fail(`xmlns prefix must be bound to ${m}.`)}switch(r){case m:t.fail(""===e?`the default namespace may not be set to ${r}.`:`may not assign a prefix (even "xmlns") to the URI ${m}.`);break;case y:switch(e){case"xml":break;case"":t.fail(`the default namespace may not be set to ${r}.`);break;default:t.fail("may not assign the xml namespace to another prefix.")}}}const O=t=>g.test(t),A=t=>f.test(t);e.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];const C={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};e.SaxesParser=class{get closed(){return this._closed}constructor(t){this.opt=null!=t?t:{},this.fragmentOpt=!!this.opt.fragment;const e=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,e){this.nameStartCheck=h,this.nameCheck=p,this.isName=O,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},v);const t=this.opt.additionalNamespaces;null!=t&&(!function(t,e){for(const r of Object.keys(e))k(t,r,e[r])}(this,t),Object.assign(this.ns,t))}else this.nameStartCheck=u,this.nameCheck=l,this.isName=A,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}_init(){var t;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:e}=this;this.state=e?13:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=e,this.xmlDeclPossible=!e,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:r}=this.opt;if(void 0===r){if(!0===this.opt.forceXMLVersion)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");r="1.0"}this.setXMLVersion(r),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(b),null===(t=this.readyHandler)||void 0===t||t.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(t,e){this[C[t]]=e}off(t){this[C[t]]=void 0}makeError(t){var e;let r=null!==(e=this.fileName)&&void 0!==e?e:"";return this.trackPosition&&(r.length>0&&(r+=":"),r+=`${this.line}:${this.column}`),r.length>0&&(r+=": "),new Error(r+t)}fail(t){const e=this.makeError(t),r=this.errorHandler;if(void 0===r)throw e;return r(e),this}write(t){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let e=!1;null===t?(e=!0,t=""):"object"==typeof t&&(t=t.toString()),void 0!==this.carriedFromPrevious&&(t=`${this.carriedFromPrevious}${t}`,this.carriedFromPrevious=void 0);let r=t.length;const n=t.charCodeAt(r-1);!e&&(13===n||n>=55296&&n<=56319)&&(this.carriedFromPrevious=t[r-1],r--,t=t.slice(0,r));const{stateTable:i}=this;for(this.chunk=t,this.i=0;this.i<r;)i[this.state].call(this);return this.chunkPosition+=r,e?this.end():this}close(){return this.write(null)}getCode10(){const{chunk:t,i:e}=this;if(this.prevI=e,this.i=e+1,e>=t.length)return-1;const r=t.charCodeAt(e);if(this.column++,r<55296){if(r>=32||9===r)return r;switch(r){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:return 10===t.charCodeAt(e+1)&&(this.i=e+2),this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;const n=65536+1024*(r-55296)+(t.charCodeAt(e+1)-56320);return this.i=e+2,n>1114111&&this.fail("disallowed character."),n}getCode11(){const{chunk:t,i:e}=this;if(this.prevI=e,this.i=e+1,e>=t.length)return-1;const r=t.charCodeAt(e);if(this.column++,r<55296){if(r>31&&r<127||r>159&&8232!==r||9===r)return r;switch(r){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:{const r=t.charCodeAt(e+1);10!==r&&133!==r||(this.i=e+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;const n=65536+1024*(r-55296)+(t.charCodeAt(e+1)-56320);return this.i=e+2,n>1114111&&this.fail("disallowed character."),n}getCodeNorm(){const t=this.getCode();return-2===t?10:t}unget(){this.i=this.prevI,this.column--}captureTo(t){let{i:e}=this;const{chunk:r}=this;for(;;){const n=this.getCode(),i=-2===n,o=i?10:n;if(-1===o||t.includes(o))return this.text+=r.slice(e,this.prevI),o;i&&(this.text+=r.slice(e,this.prevI)+"\n",e=this.i)}}captureToChar(t){let{i:e}=this;const{chunk:r}=this;for(;;){let n=this.getCode();switch(n){case-2:this.text+=r.slice(e,this.prevI)+"\n",e=this.i,n=10;break;case-1:return this.text+=r.slice(e),!1}if(n===t)return this.text+=r.slice(e,this.prevI),!0}}captureNameChars(){const{chunk:t,i:e}=this;for(;;){const r=this.getCode();if(-1===r)return this.name+=t.slice(e),-1;if(!l(r))return this.name+=t.slice(e,this.prevI),-2===r?10:r}}skipSpaces(){for(;;){const t=this.getCodeNorm();if(-1===t||!a(t))return t}}setXMLVersion(t){this.currentXMLVersion=t,"1.0"===t?(this.isChar=s,this.getCode=this.getCode10):(this.isChar=d,this.getCode=this.getCode11)}sBegin(){65279===this.chunk.charCodeAt(0)&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const t=this.i,e=this.skipSpaces();switch(this.prevI!==t&&(this.xmlDeclPossible=!1),e){case 60:if(this.state=15,0!==this.text.length)throw new Error("no-empty text at start");break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}sDoctype(){var t;const e=this.captureTo(x);switch(e){case 62:null===(t=this.doctypeHandler)||void 0===t||t.call(this,this.text),this.text="",this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(e),91===e?this.state=4:w(e)&&(this.state=3,this.q=e)}}sDoctypeQuote(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.q=null,this.state=2)}sDTD(){const t=this.captureTo(S);-1!==t&&(this.text+=String.fromCodePoint(t),93===t?this.state=2:60===t?this.state=6:w(t)&&(this.state=5,this.q=t))}sDTDQuoted(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.state=4,this.q=null)}sDTDOpenWaka(){const t=this.getCodeNorm();switch(this.text+=String.fromCodePoint(t),t){case 33:this.state=7,this.openWakaBang="";break;case 63:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const t=String.fromCodePoint(this.getCodeNorm()),e=this.openWakaBang+=t;this.text+=t,"-"!==e&&(this.state="--"===e?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),this.state=45===t?10:8}sDTDCommentEnded(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),62===t?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(63)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),62===t&&(this.state=4)}sText(){0!==this.tags.length?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:t}=this;const{chunk:e}=this;t:for(;;)switch(this.getCode()){case-2:this.entity+=e.slice(t,this.prevI)+"\n",t=this.i;break;case 59:{const{entityReturnState:r}=this,n=this.entity+e.slice(t,this.prevI);let i;this.state=r,""===n?(this.fail("empty entity name."),i="&;"):(i=this.parseEntity(n),this.entity=""),13===r&&void 0===this.textHandler||(this.text+=i);break t}case-1:this.entity+=e.slice(t);break t}}sOpenWaka(){const t=this.getCode();if(u(t))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(t){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case 63:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=13,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){var t;const e=this.getCodeNorm();45===e?(this.state=19,null===(t=this.commentHandler)||void 0===t||t.call(this,this.text),this.text=""):(this.text+="-"+String.fromCodePoint(e),this.state=17)}sCommentEnded(){const t=this.getCodeNorm();62!==t?(this.fail("malformed comment."),this.text+="--"+String.fromCodePoint(t),this.state=17):this.state=13}sCData(){this.captureToChar(93)&&(this.state=21)}sCDataEnding(){const t=this.getCodeNorm();93===t?this.state=22:(this.text+="]"+String.fromCodePoint(t),this.state=20)}sCDataEnding2(){var t;const e=this.getCodeNorm();switch(e){case 62:null===(t=this.cdataHandler)||void 0===t||t.call(this,this.text),this.text="",this.state=13;break;case 93:this.text+="]";break;default:this.text+="]]"+String.fromCodePoint(e),this.state=20}}sPIFirstChar(){const t=this.getCodeNorm();this.nameStartCheck(t)?(this.piTarget+=String.fromCodePoint(t),this.state=24):63===t||a(t)?(this.fail("processing instruction without a target."),this.state=63===t?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(t),this.state=24)}sPIRest(){const{chunk:t,i:e}=this;for(;;){const r=this.getCodeNorm();if(-1===r)return void(this.piTarget+=t.slice(e));if(!this.nameCheck(r)){this.piTarget+=t.slice(e,this.prevI);const n=63===r;n||a(r)?"xml"===this.piTarget?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?33:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(r));break}}}sPIBody(){if(0===this.text.length){const t=this.getCodeNorm();63===t?this.state=26:a(t)||(this.text=String.fromCodePoint(t))}else this.captureToChar(63)&&(this.state=26)}sPIEnding(){var t;const e=this.getCodeNorm();if(62===e){const{piTarget:e}=this;"xml"===e.toLowerCase()&&this.fail("the XML declaration must appear at the start of the document."),null===(t=this.piHandler)||void 0===t||t.call(this,{target:e,body:this.text}),this.piTarget=this.text="",this.state=13}else 63===e?this.text+="?":(this.text+="?"+String.fromCodePoint(e),this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const t=this.skipSpaces();63!==t?-1!==t&&(this.state=28,this.name=String.fromCodePoint(t)):this.state=33}sXMLDeclName(){const t=this.captureTo(E);if(63===t)return this.state=33,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(a(t)||61===t){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail("expected one of "+this.xmlDeclExpects.join(", "))}this.state=61===t?30:29}}sXMLDeclEq(){const t=this.getCodeNorm();if(63===t)return this.state=33,void this.fail("XML declaration is incomplete.");a(t)||(61!==t&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const t=this.getCodeNorm();if(63===t)return this.state=33,void this.fail("XML declaration is incomplete.");a(t)||(w(t)?this.q=t:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const t=this.captureTo([this.q,63]);if(63===t)return this.state=33,this.text="",void this.fail("XML declaration is incomplete.");if(-1===t)return;const e=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const t=e;this.xmlDecl.version=t,/^1\.[0-9]+$/.test(t)?this.opt.forceXMLVersion||this.setXMLVersion(t):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(e)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=e;break;case"standalone":"yes"!==e&&"no"!==e&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=e}this.name="",this.state=32}sXMLDeclSeparator(){const t=this.getCodeNorm();63!==t?(a(t)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=33}sXMLDeclEnding(){var t;62===this.getCodeNorm()?("xml"!==this.piTarget?this.fail("processing instructions are not allowed before root."):"version"!==this.name&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),null===(t=this.xmldeclHandler)||void 0===t||t.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=13):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){var t;const e=this.captureNameChars();if(-1===e)return;const r=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=r.ns=Object.create(null)),null===(t=this.openTagStartHandler)||void 0===t||t.call(this,r),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),e){case 62:this.openTag();break;case 47:this.state=35;break;default:a(e)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){62===this.getCode()?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const t=this.skipSpaces();-1!==t&&(u(t)?(this.unget(),this.state=37):62===t?this.openTag():47===t?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const t=this.captureNameChars();61===t?this.state=39:a(t)?this.state=38:62===t?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):-1!==t&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const t=this.skipSpaces();switch(t){case-1:return;case 61:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",62===t?this.openTag():u(t)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const t=this.getCodeNorm();w(t)?(this.q=t,this.state=40):a(t)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){const{q:t,chunk:e}=this;let{i:r}=this;for(;;)switch(this.getCode()){case t:return this.pushAttrib(this.name,this.text+e.slice(r,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=e.slice(r,this.prevI),this.state=14,void(this.entityReturnState=40);case 10:case-2:case 9:this.text+=e.slice(r,this.prevI)+" ",r=this.i;break;case 60:return this.text+=e.slice(r,this.prevI),void this.fail("disallowed character.");case-1:return void(this.text+=e.slice(r))}}sAttribValueClosed(){const t=this.getCodeNorm();a(t)?this.state=36:62===t?this.openTag():47===t?this.state=35:u(t)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const t=this.captureTo(T);switch(t){case 38:this.state=14,this.entityReturnState=42;break;case 60:this.fail("disallowed character.");break;case-1:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",62===t?this.openTag():this.state=36}}sCloseTag(){const t=this.captureNameChars();62===t?this.closeTag():a(t)?this.state=44:-1!==t&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case 62:this.closeTag();break;case-1:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:t,forbiddenState:e}=this;const{chunk:r,textHandler:n}=this;t:for(;;)switch(this.getCode()){case 60:if(this.state=15,void 0!==n){const{text:e}=this,i=r.slice(t,this.prevI);0!==e.length?(n(e+i),this.text=""):0!==i.length&&n(i)}e=0;break t;case 38:this.state=14,this.entityReturnState=13,void 0!==n&&(this.text+=r.slice(t,this.prevI)),e=0;break t;case 93:switch(e){case 0:e=1;break;case 1:e=2;break;case 2:break;default:throw new Error("impossible state")}break;case 62:2===e&&this.fail('the string "]]>" is disallowed in char data.'),e=0;break;case-2:void 0!==n&&(this.text+=r.slice(t,this.prevI)+"\n"),t=this.i,e=0;break;case-1:void 0!==n&&(this.text+=r.slice(t));break t;default:e=0}this.forbiddenState=e}handleTextOutsideRoot(){let{i:t}=this;const{chunk:e,textHandler:r}=this;let n=!1;t:for(;;){const i=this.getCode();switch(i){case 60:if(this.state=15,void 0!==r){const{text:n}=this,i=e.slice(t,this.prevI);0!==n.length?(r(n+i),this.text=""):0!==i.length&&r(i)}break t;case 38:this.state=14,this.entityReturnState=13,void 0!==r&&(this.text+=e.slice(t,this.prevI)),n=!0;break t;case-2:void 0!==r&&(this.text+=e.slice(t,this.prevI)+"\n"),t=this.i;break;case-1:void 0!==r&&(this.text+=e.slice(t));break t;default:a(i)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(t,e){var r;const{prefix:n,local:i}=this.qname(t),o={name:t,prefix:n,local:i,value:e};if(this.attribList.push(o),null===(r=this.attributeHandler)||void 0===r||r.call(this,o),"xmlns"===n){const t=e.trim();"1.0"===this.currentXMLVersion&&""===t&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[i]=t,k(this,i,t)}else if("xmlns"===t){const t=e.trim();this.topNS[""]=t,k(this,"",t)}}pushAttribPlain(t,e){var r;const n={name:t,value:e};this.attribList.push(n),null===(r=this.attributeHandler)||void 0===r||r.call(this,n)}end(){var t,e;this.sawRoot||this.fail("document must contain a root element.");const{tags:r}=this;for(;r.length>0;){const t=r.pop();this.fail("unclosed tag: "+t.name)}0!==this.state&&13!==this.state&&this.fail("unexpected end.");const{text:n}=this;return 0!==n.length&&(null===(t=this.textHandler)||void 0===t||t.call(this,n),this.text=""),this._closed=!0,null===(e=this.endHandler)||void 0===e||e.call(this),this._init(),this}resolve(t){var e,r;let n=this.topNS[t];if(void 0!==n)return n;const{tags:i}=this;for(let e=i.length-1;e>=0;e--)if(n=i[e].ns[t],void 0!==n)return n;return n=this.ns[t],void 0!==n?n:null===(r=(e=this.opt).resolvePrefix)||void 0===r?void 0:r.call(e,t)}qname(t){const e=t.indexOf(":");if(-1===e)return{prefix:"",local:t};const r=t.slice(e+1),n=t.slice(0,e);return(""===n||""===r||r.includes(":"))&&this.fail(`malformed name: ${t}.`),{prefix:n,local:r}}processAttribsNS(){var t;const{attribList:e}=this,r=this.tag;{const{prefix:e,local:n}=this.qname(r.name);r.prefix=e,r.local=n;const i=r.uri=null!==(t=this.resolve(e))&&void 0!==t?t:"";""!==e&&("xmlns"===e&&this.fail('tags may not have "xmlns" as prefix.'),""===i&&(this.fail(`unbound namespace prefix: ${JSON.stringify(e)}.`),r.uri=e))}if(0===e.length)return;const{attributes:n}=r,i=new Set;for(const t of e){const{name:e,prefix:r,local:o}=t;let a,s;""===r?(a="xmlns"===e?m:"",s=e):(a=this.resolve(r),void 0===a&&(this.fail(`unbound namespace prefix: ${JSON.stringify(r)}.`),a=r),s=`{${a}}${o}`),i.has(s)&&this.fail(`duplicate attribute: ${s}.`),i.add(s),t.uri=a,n[e]=t}this.attribList=[]}processAttribsPlain(){const{attribList:t}=this,e=this.tag.attributes;for(const{name:r,value:n}of t)void 0!==e[r]&&this.fail(`duplicate attribute: ${r}.`),e[r]=n;this.attribList=[]}openTag(){var t;this.processAttribs();const{tags:e}=this,r=this.tag;r.isSelfClosing=!1,null===(t=this.openTagHandler)||void 0===t||t.call(this,r),e.push(r),this.state=13,this.name=""}openSelfClosingTag(){var t,e,r;this.processAttribs();const{tags:n}=this,i=this.tag;i.isSelfClosing=!0,null===(t=this.openTagHandler)||void 0===t||t.call(this,i),null===(e=this.closeTagHandler)||void 0===e||e.call(this,i);null===(this.tag=null!==(r=n[n.length-1])&&void 0!==r?r:null)&&(this.closedRoot=!0),this.state=13,this.name=""}closeTag(){const{tags:t,name:e}=this;if(this.state=13,this.name="",""===e)return this.fail("weird empty close tag."),void(this.text+="</>");const r=this.closeTagHandler;let n=t.length;for(;n-- >0;){const n=this.tag=t.pop();if(this.topNS=n.ns,null==r||r(n),n.name===e)break;this.fail("unexpected close tag.")}0===n?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${e}.`),this.text+=`</${e}>`)}parseEntity(t){if("#"!==t[0]){const e=this.ENTITIES[t];return void 0!==e?e:(this.fail(this.isName(t)?"undefined entity.":"disallowed character in entity name."),`&${t};`)}let e=NaN;return"x"===t[1]&&/^#x[0-9a-f]+$/i.test(t)?e=parseInt(t.slice(2),16):/^#[0-9]+$/.test(t)&&(e=parseInt(t.slice(1),10)),this.isChar(e)?String.fromCodePoint(e):(this.fail("malformed character entity."),`&${t};`)}}},28599:t=>{"use strict";const{AbortController:e,AbortSignal:r}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;t.exports=e,t.exports.AbortSignal=r,t.exports.default=e},79742:(t,e)=>{"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,o=u(t),a=o[0],s=o[1],l=new i(function(t,e,r){return 3*(e+r)/4-r}(0,a,s)),c=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],l[c++]=e>>16&255,l[c++]=e>>8&255,l[c++]=255&e;2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,l[c++]=255&e);1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e);return l},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(l(t,a,a+16383>s?s:a+16383));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function l(t,e,n){for(var i,o,a=[],s=e;s<n;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:(t,e,r)=>{"use strict";
2
2
  /*!
3
- * jQuery JavaScript Library v3.6.4
4
- * https://jquery.com/
3
+ * The buffer module from node.js, for the browser.
4
+ *
5
+ * @author Feross Aboukhadijeh <https://feross.org>
6
+ * @license MIT
7
+ */const n=r(79742),i=r(80645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=s,e.SlowBuffer=function(t){+t!=t&&(t=0);return s.alloc(+t)},e.INSPECT_MAX_BYTES=50;function a(t){if(t>2147483647)throw new RangeError('The value "'+t+'" is invalid for option "size"');const e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return c(t)}return u(t,e,r)}function u(t,e,r){if("string"==typeof t)return function(t,e){"string"==typeof e&&""!==e||(e="utf8");if(!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);const r=0|p(t,e);let n=a(r);const i=n.write(t,e);i!==r&&(n=n.slice(0,i));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(q(t,Uint8Array)){const e=new Uint8Array(t);return d(e.buffer,e.byteOffset,e.byteLength)}return f(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(q(t,ArrayBuffer)||t&&q(t.buffer,ArrayBuffer))return d(t,e,r);if("undefined"!=typeof SharedArrayBuffer&&(q(t,SharedArrayBuffer)||t&&q(t.buffer,SharedArrayBuffer)))return d(t,e,r);if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return s.from(n,e,r);const i=function(t){if(s.isBuffer(t)){const e=0|h(t.length),r=a(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!=typeof t.length||z(t.length)?a(0):f(t);if("Buffer"===t.type&&Array.isArray(t.data))return f(t.data)}(t);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function c(t){return l(t),a(t<0?0:0|h(t))}function f(t){const e=t.length<0?0:0|h(t.length),r=a(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function d(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function h(t){if(t>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|t}function p(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||q(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return G(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Y(t).length;default:if(i)return n?-1:G(t).length;e=(""+e).toLowerCase(),i=!0}}function g(t,e,r){let n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return A(this,e,r);case"utf8":case"utf-8":return T(this,e,r);case"ascii":return k(this,e,r);case"latin1":case"binary":return O(this,e,r);case"base64":return E(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){const n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),z(r=+r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):v(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(t,e,r,n,i){let o,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function l(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){let n=-1;for(o=r;o<s;o++)if(l(t,o)===l(e,-1===n?0:o-n)){if(-1===n&&(n=o),o-n+1===u)return n*a}else-1!==n&&(o-=o-n),n=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){let r=!0;for(let n=0;n<u;n++)if(l(t,o+n)!==l(e,n)){r=!1;break}if(r)return o}return-1}function b(t,e,r,n){r=Number(r)||0;const i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;const o=e.length;let a;for(n>o/2&&(n=o/2),a=0;a<n;++a){const n=parseInt(e.substr(2*a,2),16);if(z(n))return a;t[r+a]=n}return a}function w(t,e,r,n){return $(G(e,t.length-r),t,r,n)}function _(t,e,r,n){return $(function(t){const e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function x(t,e,r,n){return $(Y(e),t,r,n)}function S(t,e,r,n){return $(function(t,e){let r,n,i;const o=[];for(let a=0;a<t.length&&!((e-=2)<0);++a)r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function E(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function T(t,e,r){r=Math.min(t.length,r);const n=[];let i=e;for(;i<r;){const e=t[i];let o=null,a=e>239?4:e>223?3:e>191?2:1;if(i+a<=r){let r,n,s,u;switch(a){case 1:e<128&&(o=e);break;case 2:r=t[i+1],128==(192&r)&&(u=(31&e)<<6|63&r,u>127&&(o=u));break;case 3:r=t[i+1],n=t[i+2],128==(192&r)&&128==(192&n)&&(u=(15&e)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:r=t[i+1],n=t[i+2],s=t[i+3],128==(192&r)&&128==(192&n)&&128==(192&s)&&(u=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&s,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=a}return function(t){const e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}e.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{const t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return u(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return function(t,e,r){return l(t),t<=0?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)}(t,e,r)},s.allocUnsafe=function(t){return c(t)},s.allocUnsafeSlow=function(t){return c(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(q(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),q(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);let r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;const n=s.allocUnsafe(e);let i=0;for(r=0;r<t.length;++r){let e=t[r];if(q(e,Uint8Array))i+e.length>n.length?(s.isBuffer(e)||(e=s.from(e)),e.copy(n,i)):Uint8Array.prototype.set.call(n,e,i);else{if(!s.isBuffer(e))throw new TypeError('"list" argument must be an Array of Buffers');e.copy(n,i)}i+=e.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){const t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)y(this,e,e+1);return this},s.prototype.swap32=function(){const t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},s.prototype.swap64=function(){const t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},s.prototype.toString=function(){const t=this.length;return 0===t?"":0===arguments.length?T(this,0,t):g.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){let t="";const r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,i){if(q(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;let o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0);const u=Math.min(o,a),l=this.slice(n,i),c=t.slice(e,r);for(let t=0;t<u;++t)if(l[t]!==c[t]){o=l[t],a=c[t];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},s.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let o=!1;for(;;)switch(n){case"hex":return b(this,t,e,r);case"utf8":case"utf-8":return w(this,t,e,r);case"ascii":case"latin1":case"binary":return _(this,t,e,r);case"base64":return x(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function O(t,e,r){let n="";r=Math.min(t.length,r);for(let i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function A(t,e,r){const n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=e;n<r;++n)i+=X[t[n]];return i}function C(t,e,r){const n=t.slice(e,r);let i="";for(let t=0;t<n.length-1;t+=2)i+=String.fromCharCode(n[t]+256*n[t+1]);return i}function P(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function j(t,e,r,n,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function R(t,e,r,n,i){V(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o,o>>=8,t[r++]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a,a>>=8,t[r++]=a,r}function N(t,e,r,n,i){V(e,n,i,t,r,7);let o=Number(e&BigInt(4294967295));t[r+7]=o,o>>=8,t[r+6]=o,o>>=8,t[r+5]=o,o>>=8,t[r+4]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[r+3]=a,a>>=8,t[r+2]=a,a>>=8,t[r+1]=a,a>>=8,t[r]=a,r+8}function I(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function D(t,e,r,n,o){return e=+e,r>>>=0,o||I(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function L(t,e,r,n,o){return e=+e,r>>>=0,o||I(t,0,r,8),i.write(t,e,r,n,52,8),r+8}s.prototype.slice=function(t,e){const r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);const n=this.subarray(t,e);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||P(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||P(t,e,this.length);let n=this[t+--e],i=1;for(;e>0&&(i*=256);)n+=this[t+--e]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t>>>=0,e||P(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||P(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||P(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||P(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||P(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readBigUInt64LE=Q((function(t){U(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||W(t,this.length-8);const n=e+256*this[++t]+65536*this[++t]+this[++t]*2**24,i=this[++t]+256*this[++t]+65536*this[++t]+r*2**24;return BigInt(n)+(BigInt(i)<<BigInt(32))})),s.prototype.readBigUInt64BE=Q((function(t){U(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||W(t,this.length-8);const n=e*2**24+65536*this[++t]+256*this[++t]+this[++t],i=this[++t]*2**24+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(i)})),s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||P(t,e,this.length);let n=this[t],i=1,o=0;for(;++o<e&&(i*=256);)n+=this[t+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||P(t,e,this.length);let n=e,i=1,o=this[t+--n];for(;n>0&&(i*=256);)o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return t>>>=0,e||P(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||P(t,2,this.length);const r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||P(t,2,this.length);const r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||P(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||P(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readBigInt64LE=Q((function(t){U(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||W(t,this.length-8);const n=this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24);return(BigInt(n)<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+this[++t]*2**24)})),s.prototype.readBigInt64BE=Q((function(t){U(t>>>=0,"offset");const e=this[t],r=this[t+7];void 0!==e&&void 0!==r||W(t,this.length-8);const n=(e<<24)+65536*this[++t]+256*this[++t]+this[++t];return(BigInt(n)<<BigInt(32))+BigInt(this[++t]*2**24+65536*this[++t]+256*this[++t]+r)})),s.prototype.readFloatLE=function(t,e){return t>>>=0,e||P(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||P(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||P(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||P(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){j(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){j(this,t,e,r,Math.pow(2,8*r)-1,0)}let i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigUInt64LE=Q((function(t,e=0){return R(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),s.prototype.writeBigUInt64BE=Q((function(t,e=0){return N(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))})),s.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);j(this,t,e,r,n-1,-n)}let i=0,o=1,a=0;for(this[e]=255&t;++i<r&&(o*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){const n=Math.pow(2,8*r-1);j(this,t,e,r,n-1,-n)}let i=r-1,o=1,a=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/o>>0)-a&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||j(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeBigInt64LE=Q((function(t,e=0){return R(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),s.prototype.writeBigInt64BE=Q((function(t,e=0){return N(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),s.prototype.writeFloatLE=function(t,e,r){return D(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return D(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return L(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return L(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);const i=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),i},s.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){const e=t.charCodeAt(0);("utf8"===n&&e<128||"latin1"===n)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;let i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{const o=s.isBuffer(t)?t:s.from(t,n),a=o.length;if(0===a)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=o[i%a]}return this};const M={};function F(t,e,r){M[t]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}}}function B(t){let e="",r=t.length;const n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function V(t,e,r,n,i,o){if(t>r||t<e){const n="bigint"==typeof e?"n":"";let i;throw i=o>3?0===e||e===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(o+1)}${n}`:`>= -(2${n} ** ${8*(o+1)-1}${n}) and < 2 ** ${8*(o+1)-1}${n}`:`>= ${e}${n} and <= ${r}${n}`,new M.ERR_OUT_OF_RANGE("value",i,t)}!function(t,e,r){U(e,"offset"),void 0!==t[e]&&void 0!==t[e+r]||W(e,t.length-(r+1))}(n,i,o)}function U(t,e){if("number"!=typeof t)throw new M.ERR_INVALID_ARG_TYPE(e,"number",t)}function W(t,e,r){if(Math.floor(t)!==t)throw U(t,r),new M.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new M.ERR_BUFFER_OUT_OF_BOUNDS;throw new M.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}F("ERR_BUFFER_OUT_OF_BOUNDS",(function(t){return t?t+" is outside of buffer bounds":"Attempt to access memory outside buffer bounds"}),RangeError),F("ERR_INVALID_ARG_TYPE",(function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`}),TypeError),F("ERR_OUT_OF_RANGE",(function(t,e,r){let n=`The value of "${t}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>2**32?i=B(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=B(i)),i+="n"),n+=` It must be ${e}. Received ${i}`,n}),RangeError);const H=/[^+/0-9A-Za-z-_]/g;function G(t,e){let r;e=e||1/0;const n=t.length;let i=null;const o=[];for(let a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function Y(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function $(t,e,r,n){let i;for(i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function q(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function z(t){return t!=t}const X=function(){const t=new Array(256);for(let e=0;e<16;++e){const r=16*e;for(let n=0;n<16;++n)t[r+n]="0123456789abcdef"[e]+"0123456789abcdef"[n]}return t}();function Q(t){return"undefined"==typeof BigInt?Z:t}function Z(){throw new Error("BigInt not supported")}},40487:t=>{var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],r=0;r<t.length;r++)e.push(255&t.charCodeAt(r));return e},bytesToString:function(t){for(var e=[],r=0;r<t.length;r++)e.push(String.fromCharCode(t[r]));return e.join("")}}};t.exports=e},19662:(t,e,r)=>{var n=r(60614),i=r(66330),o=TypeError;t.exports=function(t){if(n(t))return t;throw o(i(t)+" is not a function")}},28873:(t,e,r)=>{var n=r(4411),i=r(66330),o=TypeError;t.exports=function(t){if(n(t))return t;throw o(i(t)+" is not a constructor")}},96077:(t,e,r)=>{var n=r(60614),i=String,o=TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw o("Can't set "+i(t)+" as a prototype")}},51223:(t,e,r)=>{var n=r(5112),i=r(70030),o=r(3070).f,a=n("unscopables"),s=Array.prototype;null==s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},31530:(t,e,r)=>{"use strict";var n=r(28710).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},91675:(t,e,r)=>{var n=r(47976),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw i("Incorrect invocation")}},19670:(t,e,r)=>{var n=r(70111),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw o(i(t)+" is not an object")}},18533:(t,e,r)=>{"use strict";var n=r(42092).forEach,i=r(9341)("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},48457:(t,e,r)=>{"use strict";var n=r(49974),i=r(46916),o=r(47908),a=r(53411),s=r(97659),u=r(4411),l=r(26244),c=r(86135),f=r(18554),d=r(71246),h=Array;t.exports=function(t){var e=o(t),r=u(this),p=arguments.length,g=p>1?arguments[1]:void 0,y=void 0!==g;y&&(g=n(g,p>2?arguments[2]:void 0));var m,v,b,w,_,x,S=d(e),E=0;if(!S||this===h&&s(S))for(m=l(e),v=r?new this(m):h(m);m>E;E++)x=y?g(e[E],E):e[E],c(v,E,x);else for(_=(w=f(e,S)).next,v=r?new this:[];!(b=i(_,w)).done;E++)x=y?a(w,g,[b.value,E],!0):b.value,c(v,E,x);return v.length=E,v}},41318:(t,e,r)=>{var n=r(45656),i=r(51400),o=r(26244),a=function(t){return function(e,r,a){var s,u=n(e),l=o(u),c=i(a,l);if(t&&r!=r){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},42092:(t,e,r)=>{var n=r(49974),i=r(1702),o=r(68361),a=r(47908),s=r(26244),u=r(65417),l=i([].push),c=function(t){var e=1==t,r=2==t,i=3==t,c=4==t,f=6==t,d=7==t,h=5==t||f;return function(p,g,y,m){for(var v,b,w=a(p),_=o(w),x=n(g,y),S=s(_),E=0,T=m||u,k=e?T(p,S):r||d?T(p,0):void 0;S>E;E++)if((h||E in _)&&(b=x(v=_[E],E,w),t))if(e)k[E]=b;else if(b)switch(t){case 3:return!0;case 5:return v;case 6:return E;case 2:l(k,v)}else switch(t){case 4:return!1;case 7:l(k,v)}return f?-1:i||c?c:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},81194:(t,e,r)=>{var n=r(47293),i=r(5112),o=r(7392),a=i("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9341:(t,e,r)=>{"use strict";var n=r(47293);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},83658:(t,e,r)=>{"use strict";var n=r(19781),i=r(43157),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},41589:(t,e,r)=>{var n=r(51400),i=r(26244),o=r(86135),a=Array,s=Math.max;t.exports=function(t,e,r){for(var u=i(t),l=n(e,u),c=n(void 0===r?u:r,u),f=a(s(c-l,0)),d=0;l<c;l++,d++)o(f,d,t[l]);return f.length=d,f}},50206:(t,e,r)=>{var n=r(1702);t.exports=n([].slice)},94362:(t,e,r)=>{var n=r(41589),i=Math.floor,o=function(t,e){var r=t.length,u=i(r/2);return r<8?a(t,e):s(t,o(n(t,0,u),e),o(n(t,u),e),e)},a=function(t,e){for(var r,n,i=t.length,o=1;o<i;){for(n=o,r=t[o];n&&e(t[n-1],r)>0;)t[n]=t[--n];n!==o++&&(t[n]=r)}return t},s=function(t,e,r,n){for(var i=e.length,o=r.length,a=0,s=0;a<i||s<o;)t[a+s]=a<i&&s<o?n(e[a],r[s])<=0?e[a++]:r[s++]:a<i?e[a++]:r[s++];return t};t.exports=o},77475:(t,e,r)=>{var n=r(43157),i=r(4411),o=r(70111),a=r(5112)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(i(e)&&(e===s||n(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},65417:(t,e,r)=>{var n=r(77475);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},53411:(t,e,r)=>{var n=r(19670),i=r(99212);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){i(t,"throw",e)}}},17072:(t,e,r)=>{var n=r(5112)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},84326:(t,e,r)=>{var n=r(1702),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},70648:(t,e,r)=>{var n=r(51694),i=r(60614),o=r(84326),a=r(5112)("toStringTag"),s=Object,u="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?o(e):"Object"==(n=o(e))&&i(e.callee)?"Arguments":n}},99920:(t,e,r)=>{var n=r(92597),i=r(53887),o=r(31236),a=r(3070);t.exports=function(t,e,r){for(var s=i(e),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];n(t,f)||r&&n(r,f)||u(t,f,l(e,f))}}},84964:(t,e,r)=>{var n=r(5112)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},49920:(t,e,r)=>{var n=r(47293);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},76178:t=>{t.exports=function(t,e){return{value:t,done:e}}},68880:(t,e,r)=>{var n=r(19781),i=r(3070),o=r(79114);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},79114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},86135:(t,e,r)=>{"use strict";var n=r(34948),i=r(3070),o=r(79114);t.exports=function(t,e,r){var a=n(e);a in t?i.f(t,a,o(0,r)):t[a]=r}},38709:(t,e,r)=>{"use strict";var n=r(19670),i=r(92140),o=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw o("Incorrect hint");return i(this,t)}},47045:(t,e,r)=>{var n=r(56339),i=r(3070);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},98052:(t,e,r)=>{var n=r(60614),i=r(3070),o=r(56339),a=r(13072);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:e;if(n(r)&&o(r,l,s),s.global)u?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},13072:(t,e,r)=>{var n=r(17854),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},85117:(t,e,r)=>{"use strict";var n=r(66330),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw i("Cannot delete property "+n(e)+" of "+n(t))}},19781:(t,e,r)=>{var n=r(47293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:t=>{var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},80317:(t,e,r)=>{var n=r(17854),i=r(70111),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},7207:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},48324:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:(t,e,r)=>{var n=r(80317)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},68886:(t,e,r)=>{var n=r(88113).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},7871:(t,e,r)=>{var n=r(83823),i=r(35268);t.exports=!n&&!i&&"object"==typeof window&&"object"==typeof document},83823:t=>{t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},30256:(t,e,r)=>{var n=r(88113);t.exports=/MSIE|Trident/.test(n)},71528:(t,e,r)=>{var n=r(88113);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},6833:(t,e,r)=>{var n=r(88113);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},35268:(t,e,r)=>{var n=r(84326);t.exports="undefined"!=typeof process&&"process"==n(process)},71036:(t,e,r)=>{var n=r(88113);t.exports=/web0s(?!.*chrome)/i.test(n)},88113:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:(t,e,r)=>{var n,i,o=r(17854),a=r(88113),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),t.exports=i},98008:(t,e,r)=>{var n=r(88113).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},80748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:(t,e,r)=>{var n=r(17854),i=r(31236).f,o=r(68880),a=r(98052),s=r(13072),u=r(99920),l=r(54705);t.exports=function(t,e){var r,c,f,d,h,p=t.target,g=t.global,y=t.stat;if(r=g?n:y?n[p]||s(p,{}):(n[p]||{}).prototype)for(c in e){if(d=e[c],f=t.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!l(g?c:p+(y?".":"#")+c,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),a(r,c,d,t)}}},47293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},27007:(t,e,r)=>{"use strict";r(74916);var n=r(21470),i=r(98052),o=r(22261),a=r(47293),s=r(5112),u=r(68880),l=s("species"),c=RegExp.prototype;t.exports=function(t,e,r,f){var d=s(t),h=!a((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),p=h&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!h||!p||r){var g=n(/./[d]),y=e(d,""[t],(function(t,e,r,i,a){var s=n(t),u=e.exec;return u===o||u===c.exec?h&&!a?{done:!0,value:g(e,r,i)}:{done:!0,value:s(r,e,i)}:{done:!1}}));i(String.prototype,t,y[0]),i(c,d,y[1])}f&&u(c[d],"sham",!0)}},22104:(t,e,r)=>{var n=r(34374),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},49974:(t,e,r)=>{var n=r(21470),i=r(19662),o=r(34374),a=n(n.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},34374:(t,e,r)=>{var n=r(47293);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},27065:(t,e,r)=>{"use strict";var n=r(1702),i=r(19662),o=r(70111),a=r(92597),s=r(50206),u=r(34374),l=Function,c=n([].concat),f=n([].join),d={},h=function(t,e,r){if(!a(d,e)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";d[e]=l("C,a","return new C("+f(n,",")+")")}return d[e](t,r)};t.exports=u?l.bind:function(t){var e=i(this),r=e.prototype,n=s(arguments,1),a=function(){var r=c(n,s(arguments));return this instanceof a?h(e,r.length,r):e.apply(t,r)};return o(r)&&(a.prototype=r),a}},46916:(t,e,r)=>{var n=r(34374),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},76530:(t,e,r)=>{var n=r(19781),i=r(92597),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},75668:(t,e,r)=>{var n=r(1702),i=r(19662);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},21470:(t,e,r)=>{var n=r(84326),i=r(1702);t.exports=function(t){if("Function"===n(t))return i(t)}},1702:(t,e,r)=>{var n=r(34374),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);t.exports=n?a:function(t){return function(){return o.apply(t,arguments)}}},35005:(t,e,r)=>{var n=r(17854),i=r(60614),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},71246:(t,e,r)=>{var n=r(70648),i=r(58173),o=r(68554),a=r(97497),s=r(5112)("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||a[n(t)]}},18554:(t,e,r)=>{var n=r(46916),i=r(19662),o=r(19670),a=r(66330),s=r(71246),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(i(r))return o(n(r,t));throw u(a(t)+" is not iterable")}},88044:(t,e,r)=>{var n=r(1702),i=r(43157),o=r(60614),a=r(84326),s=r(41340),u=n([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,r=[],n=0;n<e;n++){var l=t[n];"string"==typeof l?u(r,l):"number"!=typeof l&&"Number"!=a(l)&&"String"!=a(l)||u(r,s(l))}var c=r.length,f=!0;return function(t,e){if(f)return f=!1,e;if(i(this))return e;for(var n=0;n<c;n++)if(r[n]===t)return e}}}},58173:(t,e,r)=>{var n=r(19662),i=r(68554);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},10647:(t,e,r)=>{var n=r(1702),i=r(47908),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,d){var h=r+t.length,p=n.length,g=c;return void 0!==f&&(f=i(f),g=l),s(d,g,(function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,h);case"<":l=f[u(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var d=o(c/10);return 0===d?i:d<=p?void 0===n[d-1]?a(s,1):n[d-1]+a(s,1):i}l=n[c-1]}return void 0===l?"":l}))}},17854:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},92597:(t,e,r)=>{var n=r(1702),i=r(47908),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},3501:t=>{t.exports={}},842:t=>{t.exports=function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(t){}}},60490:(t,e,r)=>{var n=r(35005);t.exports=n("document","documentElement")},64664:(t,e,r)=>{var n=r(19781),i=r(47293),o=r(80317);t.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},68361:(t,e,r)=>{var n=r(1702),i=r(47293),o=r(84326),a=Object,s=n("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},79587:(t,e,r)=>{var n=r(60614),i=r(70111),o=r(27674);t.exports=function(t,e,r){var a,s;return o&&n(a=e.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(t,s),t}},42788:(t,e,r)=>{var n=r(1702),i=r(60614),o=r(5465),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},29909:(t,e,r)=>{var n,i,o,a=r(94811),s=r(17854),u=r(70111),l=r(68880),c=r(92597),f=r(5465),d=r(6200),h=r(3501),p=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw p("Object already initialized");return e.facade=t,y.set(t,e),e},i=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var m=d("state");h[m]=!0,n=function(t,e){if(c(t,m))throw p("Object already initialized");return e.facade=t,l(t,m,e),e},i=function(t){return c(t,m)?t[m]:{}},o=function(t){return c(t,m)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw p("Incompatible receiver, "+t+" required");return r}}}},97659:(t,e,r)=>{var n=r(5112),i=r(97497),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},43157:(t,e,r)=>{var n=r(84326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},60614:(t,e,r)=>{var n=r(4154),i=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===i}:function(t){return"function"==typeof t}},4411:(t,e,r)=>{var n=r(1702),i=r(47293),o=r(60614),a=r(70648),s=r(35005),u=r(42788),l=function(){},c=[],f=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,h=n(d.exec),p=!d.exec(l),g=function(t){if(!o(t))return!1;try{return f(l,c,t),!0}catch(t){return!1}},y=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(d,u(t))}catch(t){return!0}};y.sham=!0,t.exports=!f||i((function(){var t;return g(g.call)||!g(Object)||!g((function(){t=!0}))||t}))?y:g},45032:(t,e,r)=>{var n=r(92597);t.exports=function(t){return void 0!==t&&(n(t,"value")||n(t,"writable"))}},54705:(t,e,r)=>{var n=r(47293),i=r(60614),o=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r==c||r!=l&&(i(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},68554:t=>{t.exports=function(t){return null==t}},70111:(t,e,r)=>{var n=r(60614),i=r(4154),o=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===o}:function(t){return"object"==typeof t?null!==t:n(t)}},31913:t=>{t.exports=!1},47850:(t,e,r)=>{var n=r(70111),i=r(84326),o=r(5112)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},52190:(t,e,r)=>{var n=r(35005),i=r(60614),o=r(47976),a=r(43307),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,s(t))}},20408:(t,e,r)=>{var n=r(49974),i=r(46916),o=r(19670),a=r(66330),s=r(97659),u=r(26244),l=r(47976),c=r(18554),f=r(71246),d=r(99212),h=TypeError,p=function(t,e){this.stopped=t,this.result=e},g=p.prototype;t.exports=function(t,e,r){var y,m,v,b,w,_,x,S=r&&r.that,E=!(!r||!r.AS_ENTRIES),T=!(!r||!r.IS_RECORD),k=!(!r||!r.IS_ITERATOR),O=!(!r||!r.INTERRUPTED),A=n(e,S),C=function(t){return y&&d(y,"normal",t),new p(!0,t)},P=function(t){return E?(o(t),O?A(t[0],t[1],C):A(t[0],t[1])):O?A(t,C):A(t)};if(T)y=t.iterator;else if(k)y=t;else{if(!(m=f(t)))throw h(a(t)+" is not iterable");if(s(m)){for(v=0,b=u(t);b>v;v++)if((w=P(t[v]))&&l(g,w))return w;return new p(!1)}y=c(t,m)}for(_=T?t.next:y.next;!(x=i(_,y)).done;){try{w=P(x.value)}catch(t){d(y,"throw",t)}if("object"==typeof w&&w&&l(g,w))return w}return new p(!1)}},99212:(t,e,r)=>{var n=r(46916),i=r(19670),o=r(58173);t.exports=function(t,e,r){var a,s;i(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw r;if(s)throw a;return i(a),r}},63061:(t,e,r)=>{"use strict";var n=r(13383).IteratorPrototype,i=r(70030),o=r(79114),a=r(58003),s=r(97497),u=function(){return this};t.exports=function(t,e,r,l){var c=e+" Iterator";return t.prototype=i(n,{next:o(+!l,r)}),a(t,c,!1,!0),s[c]=u,t}},51656:(t,e,r)=>{"use strict";var n=r(82109),i=r(46916),o=r(31913),a=r(76530),s=r(60614),u=r(63061),l=r(79518),c=r(27674),f=r(58003),d=r(68880),h=r(98052),p=r(5112),g=r(97497),y=r(13383),m=a.PROPER,v=a.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,_=p("iterator"),x=function(){return this};t.exports=function(t,e,r,a,p,y,S){u(r,e,a);var E,T,k,O=function(t){if(t===p&&R)return R;if(!w&&t in P)return P[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",C=!1,P=t.prototype,j=P[_]||P["@@iterator"]||p&&P[p],R=!w&&j||O(p),N="Array"==e&&P.entries||j;if(N&&(E=l(N.call(new t)))!==Object.prototype&&E.next&&(o||l(E)===b||(c?c(E,b):s(E[_])||h(E,_,x)),f(E,A,!0,!0),o&&(g[A]=x)),m&&"values"==p&&j&&"values"!==j.name&&(!o&&v?d(P,"name","values"):(C=!0,R=function(){return i(j,this)})),p)if(T={values:O("values"),keys:y?R:O("keys"),entries:O("entries")},S)for(k in T)(w||C||!(k in P))&&h(P,k,T[k]);else n({target:e,proto:!0,forced:w||C},T);return o&&!S||P[_]===R||h(P,_,R,{name:p}),g[e]=R,T}},13383:(t,e,r)=>{"use strict";var n,i,o,a=r(47293),s=r(60614),u=r(70111),l=r(70030),c=r(79518),f=r(98052),d=r(5112),h=r(31913),p=d("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):g=!0),!u(n)||a((function(){var t={};return n[p].call(t)!==t}))?n={}:h&&(n=l(n)),s(n[p])||f(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},97497:t=>{t.exports={}},26244:(t,e,r)=>{var n=r(17466);t.exports=function(t){return n(t.length)}},56339:(t,e,r)=>{var n=r(1702),i=r(47293),o=r(60614),a=r(92597),s=r(19781),u=r(76530).CONFIGURABLE,l=r(42788),c=r(29909),f=c.enforce,d=c.get,h=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),m=n([].join),v=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===g(h(e),0,7)&&(e="["+y(h(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?p(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&a(r,"arity")&&t.length!==r.arity&&p(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=f(t);return a(n,"source")||(n.source=m(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&d(this).source||l(this)}),"toString")},74758:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},95948:(t,e,r)=>{var n,i,o,a,s,u=r(17854),l=r(49974),c=r(31236).f,f=r(20261).set,d=r(18572),h=r(6833),p=r(71528),g=r(71036),y=r(35268),m=u.MutationObserver||u.WebKitMutationObserver,v=u.document,b=u.process,w=u.Promise,_=c(u,"queueMicrotask"),x=_&&_.value;if(!x){var S=new d,E=function(){var t,e;for(y&&(t=b.domain)&&t.exit();e=S.get();)try{e()}catch(t){throw S.head&&n(),t}t&&t.enter()};h||y||g||!m||!v?!p&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,s=l(a.then,a),n=function(){s(E)}):y?n=function(){b.nextTick(E)}:(f=l(f,u),n=function(){f(E)}):(i=!0,o=v.createTextNode(""),new m(E).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),x=function(t){S.head||n(),S.add(t)}}t.exports=x},78523:(t,e,r)=>{"use strict";var n=r(19662),i=TypeError,o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw i("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},3929:(t,e,r)=>{var n=r(47850),i=TypeError;t.exports=function(t){if(n(t))throw i("The method doesn't accept regular expressions");return t}},21574:(t,e,r)=>{"use strict";var n=r(19781),i=r(1702),o=r(46916),a=r(47293),s=r(81956),u=r(25181),l=r(55296),c=r(47908),f=r(68361),d=Object.assign,h=Object.defineProperty,p=i([].concat);t.exports=!d||a((function(){if(n&&1!==d({b:1},d(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol();return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=d({},t)[r]||"abcdefghijklmnopqrst"!=s(d({},e)).join("")}))?function(t,e){for(var r=c(t),i=arguments.length,a=1,d=u.f,h=l.f;i>a;)for(var g,y=f(arguments[a++]),m=d?p(s(y),d(y)):s(y),v=m.length,b=0;v>b;)g=m[b++],n&&!o(h,y,g)||(r[g]=y[g]);return r}:d},70030:(t,e,r)=>{var n,i=r(19670),o=r(36048),a=r(80748),s=r(3501),u=r(60490),l=r(80317),c=r(6200),f=c("IE_PROTO"),d=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;g="undefined"!=typeof document?document.domain&&n?p(n):((e=l("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):p(n);for(var r=a.length;r--;)delete g.prototype[a[r]];return g()};s[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d.prototype=i(t),r=new d,d.prototype=null,r[f]=t):r=g(),void 0===e?r:o.f(r,e)}},36048:(t,e,r)=>{var n=r(19781),i=r(3353),o=r(3070),a=r(19670),s=r(45656),u=r(81956);e.f=n&&!i?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),i=u(e),l=i.length,c=0;l>c;)o.f(t,r=i[c++],n[r]);return t}},3070:(t,e,r)=>{var n=r(19781),i=r(64664),o=r(3353),a=r(19670),s=r(34948),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor;e.f=n?o?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=c(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return l(t,e,r)}:l:function(t,e,r){if(a(t),e=s(e),a(r),i)try{return l(t,e,r)}catch(t){}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},31236:(t,e,r)=>{var n=r(19781),i=r(46916),o=r(55296),a=r(79114),s=r(45656),u=r(34948),l=r(92597),c=r(64664),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=u(e),c)try{return f(t,e)}catch(t){}if(l(t,e))return a(!i(o.f,t,e),t[e])}},1156:(t,e,r)=>{var n=r(84326),i=r(45656),o=r(8006).f,a=r(41589),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"==n(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},8006:(t,e,r)=>{var n=r(16324),i=r(80748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},25181:(t,e)=>{e.f=Object.getOwnPropertySymbols},79518:(t,e,r)=>{var n=r(92597),i=r(60614),o=r(47908),a=r(6200),s=r(49920),u=a("IE_PROTO"),l=Object,c=l.prototype;t.exports=s?l.getPrototypeOf:function(t){var e=o(t);if(n(e,u))return e[u];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof l?c:null}},47976:(t,e,r)=>{var n=r(1702);t.exports=n({}.isPrototypeOf)},16324:(t,e,r)=>{var n=r(1702),i=r(92597),o=r(45656),a=r(41318).indexOf,s=r(3501),u=n([].push);t.exports=function(t,e){var r,n=o(t),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;e.length>l;)i(n,r=e[l++])&&(~a(c,r)||u(c,r));return c}},81956:(t,e,r)=>{var n=r(16324),i=r(80748);t.exports=Object.keys||function(t){return n(t,i)}},55296:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},27674:(t,e,r)=>{var n=r(75668),i=r(19670),o=r(96077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),o(n),e?t(r,n):r.__proto__=n,r}}():void 0)},90288:(t,e,r)=>{"use strict";var n=r(51694),i=r(70648);t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},92140:(t,e,r)=>{var n=r(46916),i=r(60614),o=r(70111),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&i(r=t.toString)&&!o(s=n(r,t)))return s;if(i(r=t.valueOf)&&!o(s=n(r,t)))return s;if("string"!==e&&i(r=t.toString)&&!o(s=n(r,t)))return s;throw a("Can't convert object to primitive value")}},53887:(t,e,r)=>{var n=r(35005),i=r(1702),o=r(8006),a=r(25181),s=r(19670),u=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(s(t)),r=a.f;return r?u(e,r(t)):e}},40857:(t,e,r)=>{var n=r(17854);t.exports=n},12534:t=>{t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},63702:(t,e,r)=>{var n=r(17854),i=r(2492),o=r(60614),a=r(54705),s=r(42788),u=r(5112),l=r(7871),c=r(83823),f=r(31913),d=r(7392),h=i&&i.prototype,p=u("species"),g=!1,y=o(n.PromiseRejectionEvent),m=a("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===d)return!0;if(f&&(!h.catch||!h.finally))return!0;if(!d||d<51||!/native code/.test(t)){var r=new i((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[p]=n,!(g=r.then((function(){}))instanceof n))return!0}return!e&&(l||c)&&!y}));t.exports={CONSTRUCTOR:m,REJECTION_EVENT:y,SUBCLASSING:g}},2492:(t,e,r)=>{var n=r(17854);t.exports=n.Promise},69478:(t,e,r)=>{var n=r(19670),i=r(70111),o=r(78523);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},80612:(t,e,r)=>{var n=r(2492),i=r(17072),o=r(63702).CONSTRUCTOR;t.exports=o||!i((function(t){n.all(t).then(void 0,(function(){}))}))},2626:(t,e,r)=>{var n=r(3070).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},18572:t=>{var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},97651:(t,e,r)=>{var n=r(46916),i=r(19670),o=r(60614),a=r(84326),s=r(22261),u=TypeError;t.exports=function(t,e){var r=t.exec;if(o(r)){var l=n(r,t,e);return null!==l&&i(l),l}if("RegExp"===a(t))return n(s,t,e);throw u("RegExp#exec called on incompatible receiver")}},22261:(t,e,r)=>{"use strict";var n,i,o=r(46916),a=r(1702),s=r(41340),u=r(67066),l=r(52999),c=r(72309),f=r(70030),d=r(29909).get,h=r(9441),p=r(38173),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,m=y,v=a("".charAt),b=a("".indexOf),w=a("".replace),_=a("".slice),x=(i=/b*/g,o(y,n=/a/,"a"),o(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),S=l.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(x||E||S||h||p)&&(m=function(t){var e,r,n,i,a,l,c,h=this,p=d(h),T=s(t),k=p.raw;if(k)return k.lastIndex=h.lastIndex,e=o(m,k,T),h.lastIndex=k.lastIndex,e;var O=p.groups,A=S&&h.sticky,C=o(u,h),P=h.source,j=0,R=T;if(A&&(C=w(C,"y",""),-1===b(C,"g")&&(C+="g"),R=_(T,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==v(T,h.lastIndex-1))&&(P="(?: "+P+")",R=" "+R,j++),r=new RegExp("^(?:"+P+")",C)),E&&(r=new RegExp("^"+P+"$(?!\\s)",C)),x&&(n=h.lastIndex),i=o(y,A?r:h,R),A?i?(i.input=_(i.input,j),i[0]=_(i[0],j),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:x&&i&&(h.lastIndex=h.global?i.index+i[0].length:n),E&&i&&i.length>1&&o(g,i[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&O)for(i.groups=l=f(null),a=0;a<O.length;a++)l[(c=O[a])[0]]=i[c[1]];return i}),t.exports=m},67066:(t,e,r)=>{"use strict";var n=r(19670);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},34706:(t,e,r)=>{var n=r(46916),i=r(92597),o=r(47976),a=r(67066),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:n(a,t)}},52999:(t,e,r)=>{var n=r(47293),i=r(17854).RegExp,o=n((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=o||n((function(){return!i("a","y").sticky})),s=o||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},9441:(t,e,r)=>{var n=r(47293),i=r(17854).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},38173:(t,e,r)=>{var n=r(47293),i=r(17854).RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},84488:(t,e,r)=>{var n=r(68554),i=TypeError;t.exports=function(t){if(n(t))throw i("Can't call method on "+t);return t}},96340:(t,e,r)=>{"use strict";var n=r(35005),i=r(47045),o=r(5112),a=r(19781),s=o("species");t.exports=function(t){var e=n(t);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},58003:(t,e,r)=>{var n=r(3070).f,i=r(92597),o=r(5112)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!i(t,o)&&n(t,o,{configurable:!0,value:e})}},6200:(t,e,r)=>{var n=r(72309),i=r(69711),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:(t,e,r)=>{var n=r(17854),i=r(13072),o=n["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},72309:(t,e,r)=>{var n=r(31913),i=r(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.1",mode:n?"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"})},36707:(t,e,r)=>{var n=r(19670),i=r(28873),o=r(68554),a=r(5112)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||o(r=n(s)[a])?e:i(r)}},28710:(t,e,r)=>{var n=r(1702),i=r(19303),o=r(41340),a=r(84488),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(t){return function(e,r){var n,c,f=o(a(e)),d=i(r),h=f.length;return d<0||d>=h?t?"":void 0:(n=u(f,d))<55296||n>56319||d+1===h||(c=u(f,d+1))<56320||c>57343?t?s(f,d):n:t?l(f,d,d+2):c-56320+(n-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},76091:(t,e,r)=>{var n=r(76530).PROPER,i=r(47293),o=r(81361);t.exports=function(t){return i((function(){return!!o[t]()||"​…᠎"!=="​…᠎"[t]()||n&&o[t].name!==t}))}},53111:(t,e,r)=>{var n=r(1702),i=r(84488),o=r(41340),a=r(81361),s=n("".replace),u=RegExp("^["+a+"]+"),l=RegExp("(^|[^"+a+"])["+a+"]+$"),c=function(t){return function(e){var r=o(i(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,l,"$1")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},36293:(t,e,r)=>{var n=r(7392),i=r(47293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},56532:(t,e,r)=>{var n=r(46916),i=r(35005),o=r(5112),a=r(98052);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return n(r,this)}),{arity:1})}},2015:(t,e,r)=>{var n=r(36293);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},20261:(t,e,r)=>{var n,i,o,a,s=r(17854),u=r(22104),l=r(49974),c=r(60614),f=r(92597),d=r(47293),h=r(60490),p=r(50206),g=r(80317),y=r(48053),m=r(6833),v=r(35268),b=s.setImmediate,w=s.clearImmediate,_=s.process,x=s.Dispatch,S=s.Function,E=s.MessageChannel,T=s.String,k=0,O={};d((function(){n=s.location}));var A=function(t){if(f(O,t)){var e=O[t];delete O[t],e()}},C=function(t){return function(){A(t)}},P=function(t){A(t.data)},j=function(t){s.postMessage(T(t),n.protocol+"//"+n.host)};b&&w||(b=function(t){y(arguments.length,1);var e=c(t)?t:S(t),r=p(arguments,1);return O[++k]=function(){u(e,void 0,r)},i(k),k},w=function(t){delete O[t]},v?i=function(t){_.nextTick(C(t))}:x&&x.now?i=function(t){x.now(C(t))}:E&&!m?(a=(o=new E).port2,o.port1.onmessage=P,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(j)?(i=j,s.addEventListener("message",P,!1)):i="onreadystatechange"in g("script")?function(t){h.appendChild(g("script")).onreadystatechange=function(){h.removeChild(this),A(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:b,clear:w}},50863:(t,e,r)=>{var n=r(1702);t.exports=n(1..valueOf)},51400:(t,e,r)=>{var n=r(19303),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},45656:(t,e,r)=>{var n=r(68361),i=r(84488);t.exports=function(t){return n(i(t))}},19303:(t,e,r)=>{var n=r(74758);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},17466:(t,e,r)=>{var n=r(19303),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},47908:(t,e,r)=>{var n=r(84488),i=Object;t.exports=function(t){return i(n(t))}},57593:(t,e,r)=>{var n=r(46916),i=r(70111),o=r(52190),a=r(58173),s=r(92140),u=r(5112),l=TypeError,c=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,u=a(t,c);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!i(r)||o(r))return r;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},34948:(t,e,r)=>{var n=r(57593),i=r(52190);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},51694:(t,e,r)=>{var n={};n[r(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},41340:(t,e,r)=>{var n=r(70648),i=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},66330:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},69711:(t,e,r)=>{var n=r(1702),i=0,o=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},43307:(t,e,r)=>{var n=r(36293);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(t,e,r)=>{var n=r(19781),i=r(47293);t.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},48053:t=>{var e=TypeError;t.exports=function(t,r){if(t<r)throw e("Not enough arguments");return t}},94811:(t,e,r)=>{var n=r(17854),i=r(60614),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},26800:(t,e,r)=>{var n=r(40857),i=r(92597),o=r(6061),a=r(3070).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},6061:(t,e,r)=>{var n=r(5112);e.f=n},5112:(t,e,r)=>{var n=r(17854),i=r(72309),o=r(92597),a=r(69711),s=r(36293),u=r(43307),l=n.Symbol,c=i("wks"),f=u?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){return o(c,t)||(c[t]=s&&o(l,t)?l[t]:f("Symbol."+t)),c[t]}},81361:t=>{t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},92222:(t,e,r)=>{"use strict";var n=r(82109),i=r(47293),o=r(43157),a=r(70111),s=r(47908),u=r(26244),l=r(7207),c=r(86135),f=r(65417),d=r(81194),h=r(5112),p=r(7392),g=h("isConcatSpreadable"),y=p>=51||!i((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),m=function(t){if(!a(t))return!1;var e=t[g];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,arity:1,forced:!y||!d("concat")},{concat:function(t){var e,r,n,i,o,a=s(this),d=f(a,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(m(o=-1===e?a:arguments[e]))for(i=u(o),l(h+i),r=0;r<i;r++,h++)r in o&&c(d,h,o[r]);else l(h+1),c(d,h++,o);return d.length=h,d}})},57327:(t,e,r)=>{"use strict";var n=r(82109),i=r(42092).filter;n({target:"Array",proto:!0,forced:!r(81194)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},69826:(t,e,r)=>{"use strict";var n=r(82109),i=r(42092).find,o=r(51223),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},91038:(t,e,r)=>{var n=r(82109),i=r(48457);n({target:"Array",stat:!0,forced:!r(17072)((function(t){Array.from(t)}))},{from:i})},26699:(t,e,r)=>{"use strict";var n=r(82109),i=r(41318).includes,o=r(47293),a=r(51223);n({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},66992:(t,e,r)=>{"use strict";var n=r(45656),i=r(51223),o=r(97497),a=r(29909),s=r(3070).f,u=r(51656),l=r(76178),c=r(31913),f=r(19781),d=a.set,h=a.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,e){d(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,l(void 0,!0)):l("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},69600:(t,e,r)=>{"use strict";var n=r(82109),i=r(1702),o=r(68361),a=r(45656),s=r(9341),u=i([].join);n({target:"Array",proto:!0,forced:o!=Object||!s("join",",")},{join:function(t){return u(a(this),void 0===t?",":t)}})},21249:(t,e,r)=>{"use strict";var n=r(82109),i=r(42092).map;n({target:"Array",proto:!0,forced:!r(81194)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},47042:(t,e,r)=>{"use strict";var n=r(82109),i=r(43157),o=r(4411),a=r(70111),s=r(51400),u=r(26244),l=r(45656),c=r(86135),f=r(5112),d=r(81194),h=r(50206),p=d("slice"),g=f("species"),y=Array,m=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var r,n,f,d=l(this),p=u(d),v=s(t,p),b=s(void 0===e?p:e,p);if(i(d)&&(r=d.constructor,(o(r)&&(r===y||i(r.prototype))||a(r)&&null===(r=r[g]))&&(r=void 0),r===y||void 0===r))return h(d,v,b);for(n=new(void 0===r?y:r)(m(b-v,0)),f=0;v<b;v++,f++)v in d&&c(n,f,d[v]);return n.length=f,n}})},2707:(t,e,r)=>{"use strict";var n=r(82109),i=r(1702),o=r(19662),a=r(47908),s=r(26244),u=r(85117),l=r(41340),c=r(47293),f=r(94362),d=r(9341),h=r(68886),p=r(30256),g=r(7392),y=r(98008),m=[],v=i(m.sort),b=i(m.push),w=c((function(){m.sort(void 0)})),_=c((function(){m.sort(null)})),x=d("sort"),S=!c((function(){if(g)return g<70;if(!(h&&h>3)){if(p)return!0;if(y)return y<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)m.push({k:e+n,v:r})}for(m.sort((function(t,e){return e.v-t.v})),n=0;n<m.length;n++)e=m[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!_||!x||!S},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(S)return void 0===t?v(e):v(e,t);var r,n,i=[],c=s(e);for(n=0;n<c;n++)n in e&&b(i,e[n]);for(f(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:l(e)>l(r)?1:-1}}(t)),r=s(i),n=0;n<r;)e[n]=i[n++];for(;n<c;)u(e,n++);return e}})},40561:(t,e,r)=>{"use strict";var n=r(82109),i=r(47908),o=r(51400),a=r(19303),s=r(26244),u=r(83658),l=r(7207),c=r(65417),f=r(86135),d=r(85117),h=r(81194)("splice"),p=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!h},{splice:function(t,e){var r,n,h,y,m,v,b=i(this),w=s(b),_=o(t,w),x=arguments.length;for(0===x?r=n=0:1===x?(r=0,n=w-_):(r=x-2,n=g(p(a(e),0),w-_)),l(w+r-n),h=c(b,n),y=0;y<n;y++)(m=_+y)in b&&f(h,y,b[m]);if(h.length=n,r<n){for(y=_;y<w-n;y++)v=y+r,(m=y+n)in b?b[v]=b[m]:d(b,v);for(y=w;y>w-n+r;y--)d(b,y-1)}else if(r>n)for(y=w-n;y>_;y--)v=y+r-1,(m=y+n-1)in b?b[v]=b[m]:d(b,v);for(y=0;y<r;y++)b[y+_]=arguments[y+2];return u(b,w-n+r),h}})},96078:(t,e,r)=>{var n=r(92597),i=r(98052),o=r(38709),a=r(5112)("toPrimitive"),s=Date.prototype;n(s,a)||i(s,a,o)},68309:(t,e,r)=>{var n=r(19781),i=r(76530).EXISTS,o=r(1702),a=r(47045),s=Function.prototype,u=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(l.exec);n&&!i&&a(s,"name",{configurable:!0,get:function(){try{return c(l,u(this))[1]}catch(t){return""}}})},38862:(t,e,r)=>{var n=r(82109),i=r(35005),o=r(22104),a=r(46916),s=r(1702),u=r(47293),l=r(60614),c=r(52190),f=r(50206),d=r(88044),h=r(36293),p=String,g=i("JSON","stringify"),y=s(/./.exec),m=s("".charAt),v=s("".charCodeAt),b=s("".replace),w=s(1..toString),_=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,E=!h||u((function(){var t=i("Symbol")();return"[null]"!=g([t])||"{}"!=g({a:t})||"{}"!=g(Object(t))})),T=u((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),k=function(t,e){var r=f(arguments),n=d(e);if(l(n)||void 0!==t&&!c(t))return r[1]=function(t,e){if(l(n)&&(e=a(n,this,p(t),e)),!c(e))return e},o(g,null,r)},O=function(t,e,r){var n=m(r,e-1),i=m(r,e+1);return y(x,t)&&!y(S,i)||y(S,t)&&!y(x,n)?"\\u"+w(v(t,0),16):t};g&&n({target:"JSON",stat:!0,arity:3,forced:E||T},{stringify:function(t,e,r){var n=f(arguments),i=o(E?k:g,null,n);return T&&"string"==typeof i?b(i,_,O):i}})},73706:(t,e,r)=>{var n=r(17854);r(58003)(n.JSON,"JSON",!0)},10408:(t,e,r)=>{r(58003)(Math,"Math",!0)},9653:(t,e,r)=>{"use strict";var n=r(82109),i=r(31913),o=r(19781),a=r(17854),s=r(40857),u=r(1702),l=r(54705),c=r(92597),f=r(79587),d=r(47976),h=r(52190),p=r(57593),g=r(47293),y=r(8006).f,m=r(31236).f,v=r(3070).f,b=r(50863),w=r(53111).trim,_=a.Number,x=s.Number,S=_.prototype,E=a.TypeError,T=u("".slice),k=u("".charCodeAt),O=function(t){var e=p(t,"number");return"bigint"==typeof e?e:A(e)},A=function(t){var e,r,n,i,o,a,s,u,l=p(t,"number");if(h(l))throw E("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=w(l),43===(e=k(l,0))||45===e){if(88===(r=k(l,2))||120===r)return NaN}else if(48===e){switch(k(l,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+l}for(a=(o=T(l,2)).length,s=0;s<a;s++)if((u=k(o,s))<48||u>i)return NaN;return parseInt(o,n)}return+l},C=l("Number",!_(" 0o1")||!_("0b1")||_("+0x1")),P=function(t){return d(S,t)&&g((function(){b(t)}))},j=function(t){var e=arguments.length<1?0:_(O(t));return P(this)?f(Object(e),this,j):e};j.prototype=S,C&&!i&&(S.constructor=j),n({global:!0,constructor:!0,wrap:!0,forced:C},{Number:j});var R=function(t,e){for(var r,n=o?y(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)c(e,r=n[i])&&!c(t,r)&&v(t,r,m(e,r))};i&&x&&R(s.Number,x),(C||i)&&R(s.Number,_)},19601:(t,e,r)=>{var n=r(82109),i=r(21574);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},38880:(t,e,r)=>{var n=r(82109),i=r(47293),o=r(45656),a=r(31236).f,s=r(19781);n({target:"Object",stat:!0,forced:!s||i((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},29660:(t,e,r)=>{var n=r(82109),i=r(36293),o=r(47293),a=r(25181),s=r(47908);n({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},30489:(t,e,r)=>{var n=r(82109),i=r(47293),o=r(47908),a=r(79518),s=r(49920);n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},47941:(t,e,r)=>{var n=r(82109),i=r(47908),o=r(81956);n({target:"Object",stat:!0,forced:r(47293)((function(){o(1)}))},{keys:function(t){return o(i(t))}})},41539:(t,e,r)=>{var n=r(51694),i=r(98052),o=r(90288);n||i(Object.prototype,"toString",o,{unsafe:!0})},70821:(t,e,r)=>{"use strict";var n=r(82109),i=r(46916),o=r(19662),a=r(78523),s=r(12534),u=r(20408);n({target:"Promise",stat:!0,forced:r(80612)},{all:function(t){var e=this,r=a.f(e),n=r.resolve,l=r.reject,c=s((function(){var r=o(e.resolve),a=[],s=0,c=1;u(t,(function(t){var o=s++,u=!1;c++,i(r,e,t).then((function(t){u||(u=!0,a[o]=t,--c||n(a))}),l)})),--c||n(a)}));return c.error&&l(c.value),r.promise}})},94164:(t,e,r)=>{"use strict";var n=r(82109),i=r(31913),o=r(63702).CONSTRUCTOR,a=r(2492),s=r(35005),u=r(60614),l=r(98052),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},43401:(t,e,r)=>{"use strict";var n,i,o,a=r(82109),s=r(31913),u=r(35268),l=r(17854),c=r(46916),f=r(98052),d=r(27674),h=r(58003),p=r(96340),g=r(19662),y=r(60614),m=r(70111),v=r(91675),b=r(36707),w=r(20261).set,_=r(95948),x=r(842),S=r(12534),E=r(18572),T=r(29909),k=r(2492),O=r(63702),A=r(78523),C=O.CONSTRUCTOR,P=O.REJECTION_EVENT,j=O.SUBCLASSING,R=T.getterFor("Promise"),N=T.set,I=k&&k.prototype,D=k,L=I,M=l.TypeError,F=l.document,B=l.process,V=A.f,U=V,W=!!(F&&F.createEvent&&l.dispatchEvent),H=function(t){var e;return!(!m(t)||!y(e=t.then))&&e},G=function(t,e){var r,n,i,o=e.value,a=1==e.state,s=a?t.ok:t.fail,u=t.resolve,l=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&X(e),e.rejection=1),!0===s?r=o:(f&&f.enter(),r=s(o),f&&(f.exit(),i=!0)),r===t.promise?l(M("Promise-chain cycle")):(n=H(r))?c(n,r,u,l):u(r)):l(o)}catch(t){f&&!i&&f.exit(),l(t)}},Y=function(t,e){t.notified||(t.notified=!0,_((function(){for(var r,n=t.reactions;r=n.get();)G(r,t);t.notified=!1,e&&!t.rejection&&q(t)})))},$=function(t,e,r){var n,i;W?((n=F.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),l.dispatchEvent(n)):n={promise:e,reason:r},!P&&(i=l["on"+t])?i(n):"unhandledrejection"===t&&x("Unhandled promise rejection",r)},q=function(t){c(w,l,(function(){var e,r=t.facade,n=t.value;if(z(t)&&(e=S((function(){u?B.emit("unhandledRejection",n,r):$("unhandledrejection",r,n)})),t.rejection=u||z(t)?2:1,e.error))throw e.value}))},z=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(w,l,(function(){var e=t.facade;u?B.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},Q=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Y(t,!0))},J=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw M("Promise can't be resolved itself");var n=H(e);n?_((function(){var r={done:!1};try{c(n,e,Q(J,r,t),Q(Z,r,t))}catch(e){Z(r,e,t)}})):(t.value=e,t.state=1,Y(t,!1))}catch(e){Z({done:!1},e,t)}}};if(C&&(L=(D=function(t){v(this,L),g(t),c(n,this);var e=R(this);try{t(Q(J,e),Q(Z,e))}catch(t){Z(e,t)}}).prototype,(n=function(t){N(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=f(L,"then",(function(t,e){var r=R(this),n=V(b(this,D));return r.parent=!0,n.ok=!y(t)||t,n.fail=y(e)&&e,n.domain=u?B.domain:void 0,0==r.state?r.reactions.add(n):_((function(){G(n,r)})),n.promise})),i=function(){var t=new n,e=R(t);this.promise=t,this.resolve=Q(J,e),this.reject=Q(Z,e)},A.f=V=function(t){return t===D||void 0===t?new i(t):U(t)},!s&&y(k)&&I!==Object.prototype)){o=I.then,j||f(I,"then",(function(t,e){var r=this;return new D((function(t,e){c(o,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete I.constructor}catch(t){}d&&d(I,L)}a({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:D}),h(D,"Promise",!1,!0),p("Promise")},88674:(t,e,r)=>{r(43401),r(70821),r(94164),r(6027),r(60683),r(96294)},6027:(t,e,r)=>{"use strict";var n=r(82109),i=r(46916),o=r(19662),a=r(78523),s=r(12534),u=r(20408);n({target:"Promise",stat:!0,forced:r(80612)},{race:function(t){var e=this,r=a.f(e),n=r.reject,l=s((function(){var a=o(e.resolve);u(t,(function(t){i(a,e,t).then(r.resolve,n)}))}));return l.error&&n(l.value),r.promise}})},60683:(t,e,r)=>{"use strict";var n=r(82109),i=r(46916),o=r(78523);n({target:"Promise",stat:!0,forced:r(63702).CONSTRUCTOR},{reject:function(t){var e=o.f(this);return i(e.reject,void 0,t),e.promise}})},96294:(t,e,r)=>{"use strict";var n=r(82109),i=r(35005),o=r(31913),a=r(2492),s=r(63702).CONSTRUCTOR,u=r(69478),l=i("Promise"),c=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(t){return u(c&&this===l?a:this,t)}})},12419:(t,e,r)=>{var n=r(82109),i=r(35005),o=r(22104),a=r(27065),s=r(28873),u=r(19670),l=r(70111),c=r(70030),f=r(47293),d=i("Reflect","construct"),h=Object.prototype,p=[].push,g=f((function(){function t(){}return!(d((function(){}),[],t)instanceof t)})),y=!f((function(){d((function(){}))})),m=g||y;n({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(t,e){s(t),u(e);var r=arguments.length<3?t:s(arguments[2]);if(y&&!g)return d(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return o(p,n,e),new(o(a,t,n))}var i=r.prototype,f=c(l(i)?i:h),m=o(t,f,e);return l(m)?m:f}})},74819:(t,e,r)=>{var n=r(82109),i=r(46916),o=r(70111),a=r(19670),s=r(45032),u=r(31236),l=r(79518);n({target:"Reflect",stat:!0},{get:function t(e,r){var n,c,f=arguments.length<3?e:arguments[2];return a(e)===f?e[r]:(n=u.f(e,r))?s(n)?n.value:void 0===n.get?void 0:i(n.get,f):o(c=l(e))?t(c,r,f):void 0}})},24603:(t,e,r)=>{var n=r(19781),i=r(17854),o=r(1702),a=r(54705),s=r(79587),u=r(68880),l=r(8006).f,c=r(47976),f=r(47850),d=r(41340),h=r(34706),p=r(52999),g=r(2626),y=r(98052),m=r(47293),v=r(92597),b=r(29909).enforce,w=r(96340),_=r(5112),x=r(9441),S=r(38173),E=_("match"),T=i.RegExp,k=T.prototype,O=i.SyntaxError,A=o(k.exec),C=o("".charAt),P=o("".replace),j=o("".indexOf),R=o("".slice),N=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,D=/a/g,L=new T(I)!==I,M=p.MISSED_STICKY,F=p.UNSUPPORTED_Y,B=n&&(!L||M||x||S||m((function(){return D[E]=!1,T(I)!=I||T(D)==D||"/a/i"!=T(I,"i")})));if(a("RegExp",B)){for(var V=function(t,e){var r,n,i,o,a,l,p=c(k,this),g=f(t),y=void 0===e,m=[],w=t;if(!p&&g&&y&&t.constructor===V)return t;if((g||c(k,t))&&(t=t.source,y&&(e=h(w))),t=void 0===t?"":d(t),e=void 0===e?"":d(e),w=t,x&&"dotAll"in I&&(n=!!e&&j(e,"s")>-1)&&(e=P(e,/s/g,"")),r=e,M&&"sticky"in I&&(i=!!e&&j(e,"y")>-1)&&F&&(e=P(e,/y/g,"")),S&&(t=(o=function(t){for(var e,r=t.length,n=0,i="",o=[],a={},s=!1,u=!1,l=0,c="";n<=r;n++){if("\\"===(e=C(t,n)))e+=C(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:A(N,R(t,n+1))&&(n+=2,u=!0),i+=e,l++;continue;case">"===e&&u:if(""===c||v(a,c))throw new O("Invalid capture group name");a[c]=!0,o[o.length]=[c,l],u=!1,c="";continue}u?c+=e:i+=e}return[i,o]}(t))[0],m=o[1]),a=s(T(t,e),p?this:k,V),(n||i||m.length)&&(l=b(a),n&&(l.dotAll=!0,l.raw=V(function(t){for(var e,r=t.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(e=C(t,n))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+C(t,++n);return i}(t),r)),i&&(l.sticky=!0),m.length&&(l.groups=m)),t!==w)try{u(a,"source",""===w?"(?:)":w)}catch(t){}return a},U=l(T),W=0;U.length>W;)g(V,T,U[W++]);k.constructor=V,V.prototype=k,y(i,"RegExp",V,{constructor:!0})}w("RegExp")},74916:(t,e,r)=>{"use strict";var n=r(82109),i=r(22261);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},39714:(t,e,r)=>{"use strict";var n=r(76530).PROPER,i=r(98052),o=r(19670),a=r(41340),s=r(47293),u=r(34706),l=RegExp.prototype.toString,c=s((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),f=n&&"toString"!=l.name;(c||f)&&i(RegExp.prototype,"toString",(function(){var t=o(this);return"/"+a(t.source)+"/"+a(u(t))}),{unsafe:!0})},32023:(t,e,r)=>{"use strict";var n=r(82109),i=r(1702),o=r(3929),a=r(84488),s=r(41340),u=r(84964),l=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~l(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},78783:(t,e,r)=>{"use strict";var n=r(28710).charAt,i=r(41340),o=r(29909),a=r(51656),s=r(76178),u=o.set,l=o.getterFor("String Iterator");a(String,"String",(function(t){u(this,{type:"String Iterator",string:i(t),index:0})}),(function(){var t,e=l(this),r=e.string,i=e.index;return i>=r.length?s(void 0,!0):(t=n(r,i),e.index+=t.length,s(t,!1))}))},4723:(t,e,r)=>{"use strict";var n=r(46916),i=r(27007),o=r(19670),a=r(68554),s=r(17466),u=r(41340),l=r(84488),c=r(58173),f=r(31530),d=r(97651);i("match",(function(t,e,r){return[function(e){var r=l(this),i=a(e)?void 0:c(e,t);return i?n(i,e,r):new RegExp(e)[t](u(r))},function(t){var n=o(this),i=u(t),a=r(e,n,i);if(a.done)return a.value;if(!n.global)return d(n,i);var l=n.unicode;n.lastIndex=0;for(var c,h=[],p=0;null!==(c=d(n,i));){var g=u(c[0]);h[p]=g,""===g&&(n.lastIndex=f(i,s(n.lastIndex),l)),p++}return 0===p?null:h}]}))},15306:(t,e,r)=>{"use strict";var n=r(22104),i=r(46916),o=r(1702),a=r(27007),s=r(47293),u=r(19670),l=r(60614),c=r(68554),f=r(19303),d=r(17466),h=r(41340),p=r(84488),g=r(31530),y=r(58173),m=r(10647),v=r(97651),b=r(5112)("replace"),w=Math.max,_=Math.min,x=o([].concat),S=o([].push),E=o("".indexOf),T=o("".slice),k="$0"==="a".replace(/./,"$0"),O=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(t,e,r){var o=O?"$":"$0";return[function(t,r){var n=p(this),o=c(t)?void 0:y(t,b);return o?i(o,t,n,r):i(e,h(n),t,r)},function(t,i){var a=u(this),s=h(t);if("string"==typeof i&&-1===E(i,o)&&-1===E(i,"$<")){var c=r(e,a,s,i);if(c.done)return c.value}var p=l(i);p||(i=h(i));var y=a.global;if(y){var b=a.unicode;a.lastIndex=0}for(var k=[];;){var O=v(a,s);if(null===O)break;if(S(k,O),!y)break;""===h(O[0])&&(a.lastIndex=g(s,d(a.lastIndex),b))}for(var A,C="",P=0,j=0;j<k.length;j++){for(var R=h((O=k[j])[0]),N=w(_(f(O.index),s.length),0),I=[],D=1;D<O.length;D++)S(I,void 0===(A=O[D])?A:String(A));var L=O.groups;if(p){var M=x([R],I,N,s);void 0!==L&&S(M,L);var F=h(n(i,void 0,M))}else F=m(R,s,N,I,L,i);N>=P&&(C+=T(s,P,N)+F,P=N+R.length)}return C+T(s,P)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!k||O)},73210:(t,e,r)=>{"use strict";var n=r(82109),i=r(53111).trim;n({target:"String",proto:!0,forced:r(76091)("trim")},{trim:function(){return i(this)}})},72443:(t,e,r)=>{r(26800)("asyncIterator")},4032:(t,e,r)=>{"use strict";var n=r(82109),i=r(17854),o=r(46916),a=r(1702),s=r(31913),u=r(19781),l=r(36293),c=r(47293),f=r(92597),d=r(47976),h=r(19670),p=r(45656),g=r(34948),y=r(41340),m=r(79114),v=r(70030),b=r(81956),w=r(8006),_=r(1156),x=r(25181),S=r(31236),E=r(3070),T=r(36048),k=r(55296),O=r(98052),A=r(47045),C=r(72309),P=r(6200),j=r(3501),R=r(69711),N=r(5112),I=r(6061),D=r(26800),L=r(56532),M=r(58003),F=r(29909),B=r(42092).forEach,V=P("hidden"),U=F.set,W=F.getterFor("Symbol"),H=Object.prototype,G=i.Symbol,Y=G&&G.prototype,$=i.TypeError,q=i.QObject,z=S.f,X=E.f,Q=_.f,Z=k.f,J=a([].push),K=C("symbols"),tt=C("op-symbols"),et=C("wks"),rt=!q||!q.prototype||!q.prototype.findChild,nt=u&&c((function(){return 7!=v(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=z(H,e);n&&delete H[e],X(t,e,r),n&&t!==H&&X(H,e,n)}:X,it=function(t,e){var r=K[t]=v(Y);return U(r,{type:"Symbol",tag:t,description:e}),u||(r.description=e),r},ot=function(t,e,r){t===H&&ot(tt,e,r),h(t);var n=g(e);return h(r),f(K,n)?(r.enumerable?(f(t,V)&&t[V][n]&&(t[V][n]=!1),r=v(r,{enumerable:m(0,!1)})):(f(t,V)||X(t,V,m(1,{})),t[V][n]=!0),nt(t,n,r)):X(t,n,r)},at=function(t,e){h(t);var r=p(e),n=b(r).concat(ct(r));return B(n,(function(e){u&&!o(st,r,e)||ot(t,e,r[e])})),t},st=function(t){var e=g(t),r=o(Z,this,e);return!(this===H&&f(K,e)&&!f(tt,e))&&(!(r||!f(this,e)||!f(K,e)||f(this,V)&&this[V][e])||r)},ut=function(t,e){var r=p(t),n=g(e);if(r!==H||!f(K,n)||f(tt,n)){var i=z(r,n);return!i||!f(K,n)||f(r,V)&&r[V][n]||(i.enumerable=!0),i}},lt=function(t){var e=Q(p(t)),r=[];return B(e,(function(t){f(K,t)||f(j,t)||J(r,t)})),r},ct=function(t){var e=t===H,r=Q(e?tt:p(t)),n=[];return B(r,(function(t){!f(K,t)||e&&!f(H,t)||J(n,K[t])})),n};l||(O(Y=(G=function(){if(d(Y,this))throw $("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=R(t),r=function(t){this===H&&o(r,tt,t),f(this,V)&&f(this[V],e)&&(this[V][e]=!1),nt(this,e,m(1,t))};return u&&rt&&nt(H,e,{configurable:!0,set:r}),it(e,t)}).prototype,"toString",(function(){return W(this).tag})),O(G,"withoutSetter",(function(t){return it(R(t),t)})),k.f=st,E.f=ot,T.f=at,S.f=ut,w.f=_.f=lt,x.f=ct,I.f=function(t){return it(N(t),t)},u&&(A(Y,"description",{configurable:!0,get:function(){return W(this).description}}),s||O(H,"propertyIsEnumerable",st,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:G}),B(b(et),(function(t){D(t)})),n({target:"Symbol",stat:!0,forced:!l},{useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(t,e){return void 0===e?v(t):at(v(t),e)},defineProperty:ot,defineProperties:at,getOwnPropertyDescriptor:ut}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:lt}),L(),M(G,"Symbol"),j[V]=!0},41817:(t,e,r)=>{"use strict";var n=r(82109),i=r(19781),o=r(17854),a=r(1702),s=r(92597),u=r(60614),l=r(47976),c=r(41340),f=r(47045),d=r(99920),h=o.Symbol,p=h&&h.prototype;if(i&&u(h)&&(!("description"in p)||void 0!==h().description)){var g={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),e=l(p,this)?new h(t):void 0===t?h():h(t);return""===t&&(g[e]=!0),e};d(y,h),y.prototype=p,p.constructor=y;var m="Symbol(test)"==String(h("test")),v=a(p.valueOf),b=a(p.toString),w=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),x=a("".slice);f(p,"description",{configurable:!0,get:function(){var t=v(this);if(s(g,t))return"";var e=b(t),r=m?x(e,7,-1):_(e,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},40763:(t,e,r)=>{var n=r(82109),i=r(35005),o=r(92597),a=r(41340),s=r(72309),u=r(2015),l=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(o(l,e))return l[e];var r=i("Symbol")(e);return l[e]=r,c[r]=e,r}})},32165:(t,e,r)=>{r(26800)("iterator")},82526:(t,e,r)=>{r(4032),r(40763),r(26620),r(38862),r(29660)},26620:(t,e,r)=>{var n=r(82109),i=r(92597),o=r(52190),a=r(66330),s=r(72309),u=r(2015),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!o(t))throw TypeError(a(t)+" is not a symbol");if(i(l,t))return l[t]}})},96649:(t,e,r)=>{var n=r(26800),i=r(56532);n("toPrimitive"),i()},39341:(t,e,r)=>{var n=r(35005),i=r(26800),o=r(58003);i("toStringTag"),o(n("Symbol"),"Symbol")},54747:(t,e,r)=>{var n=r(17854),i=r(48324),o=r(98509),a=r(18533),s=r(68880),u=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var l in i)i[l]&&u(n[l]&&n[l].prototype);u(o)},33948:(t,e,r)=>{var n=r(17854),i=r(48324),o=r(98509),a=r(66992),s=r(68880),u=r(5112),l=u("iterator"),c=u("toStringTag"),f=a.values,d=function(t,e){if(t){if(t[l]!==f)try{s(t,l,f)}catch(e){t[l]=f}if(t[c]||s(t,c,e),i[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var h in i)d(n[h]&&n[h].prototype,h);d(o,"DOMTokenList")},71012:t=>{var e,r;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&r.rotl(t,8)|4278255360&r.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=r.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],r=0,n=0;r<t.length;r++,n+=8)e[n>>>5]|=t[r]<<24-n%32;return e},wordsToBytes:function(t){for(var e=[],r=0;r<32*t.length;r+=8)e.push(t[r>>>5]>>>24-r%32&255);return e},bytesToHex:function(t){for(var e=[],r=0;r<t.length;r++)e.push((t[r]>>>4).toString(16)),e.push((15&t[r]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],r=0;r<t.length;r+=2)e.push(parseInt(t.substr(r,2),16));return e},bytesToBase64:function(t){for(var r=[],n=0;n<t.length;n+=3)for(var i=t[n]<<16|t[n+1]<<8|t[n+2],o=0;o<4;o++)8*n+6*o<=8*t.length?r.push(e.charAt(i>>>6*(3-o)&63)):r.push("=");return r.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var r=[],n=0,i=0;n<t.length;i=++n%4)0!=i&&r.push((e.indexOf(t.charAt(n-1))&Math.pow(2,-2*i+8)-1)<<2*i|e.indexOf(t.charAt(n))>>>6-2*i);return r}},t.exports=r},40719:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});var n=r(8081),i=r.n(n),o=r(23645),a=r.n(o),s=r(59460),u=a()(i());u.i(s.Z),u.push([t.id,".rdformsLabelRow {\n vertical-align: top;\n}\n\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n padding-top: 6px;\n}\n\n.rdformsLabelRow.rdformsLabel {\n display: inline-block;\n}\n\n.compact .rdformsLabelRow.rdformsLabel {\n display: block;\n}\n\n.rdformsPresenter .rdformsRow.rdformsTopLevel {\n margin-bottom: 0.5em;\n}\n\n.rdformsEditor .cardgroupEditor>.rdformsFields>.rdformsGroup,\n.cardgroup>.rdformsFields>.rdformsGroup,\n.rdformsCard>.rdformsFields>.rdformsGroup {\n padding: 2px 5px 5px 10px;\n margin-right: -5px;\n margin-bottom: 14px;\n background-color: #f7f7f9;\n border: 1px solid #e1e1e8;\n border-radius: 4px;\n}\n\n.rdforms .form-group.rdforms-upgrade {\n display: inline-block;\n width: 300px;\n margin: 0;\n}\n\n.rdforms .durationLabel:first-child {\n padding-left: 0;\n}\n\n.rdforms .durationLabel {\n padding-right: 7px;\n padding-left: 13px;\n}\n\n.rdforms .durationValue {\n width: 4em;\n}",""]);const l=u},59460:(t,e,r)=>{"use strict";r.d(e,{Z:()=>x});var n=r(8081),i=r.n(n),o=r(23645),a=r.n(o),s=r(61667),u=r.n(s),l=new URL(r(65230),r.b),c=new URL(r(43348),r.b),f=new URL(r(59636),r.b),d=new URL(r(82777),r.b),h=new URL(r(98388),r.b),p=new URL(r(22134),r.b),g=a()(i()),y=u()(l),m=u()(c),v=u()(f),b=u()(d),w=u()(h),_=u()(p);g.push([t.id,`/* === 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(${y});\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(${m});\n}\n\n.rdforms .action.editDelete {\n\tbackground-image: url(${v});\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(${b});\n vertical-align: top;\n margin-top: 5px;\n}\n\n.rdforms .action.editExpand {\n\tmargin-left: 0.5em;\n\tbackground-image: url(${w});\n}\n\n.rdforms .action.info {\n\tbackground-image: url(${_});\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}`,""]);const x=g},23645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,i,o){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(n)for(var s=0;s<this.length;s++){var u=this[s][0];null!=u&&(a[u]=!0)}for(var l=0;l<t.length;l++){var c=[].concat(t[l]);n&&a[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),r&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=r):c[2]=r),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),e.push(c))}},e}},61667:t=>{"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},8081:t=>{"use strict";t.exports=function(t){return t[1]}},17187:t=>{"use strict";var e,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};e=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var i=Number.isNaN||function(t){return t!=t};function o(){o.init.call(this)}t.exports=o,t.exports.once=function(t,e){return new Promise((function(r,n){function i(r){t.removeListener(e,o),n(r)}function o(){"function"==typeof t.removeListener&&t.removeListener("error",i),r([].slice.call(arguments))}g(t,e,o,{once:!0}),"error"!==e&&function(t,e,r){"function"==typeof t.on&&g(t,"error",e,r)}(t,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function u(t){return void 0===t._maxListeners?o.defaultMaxListeners:t._maxListeners}function l(t,e,r,n){var i,o,a,l;if(s(r),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),a=o[e]),void 0===a)a=o[e]=r,++t._eventsCount;else if("function"==typeof a?a=o[e]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=u(t))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=a.length,l=c,console&&console.warn&&console.warn(l)}return t}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=c.bind(n);return i.listener=r,n.wrapFn=i,i}function d(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(i):p(i,i.length)}function h(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function p(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}function g(t,e,r,n){if("function"==typeof t.on)n.once?t.once(e,r):t.on(e,r);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function i(o){n.once&&t.removeEventListener(e,i),r(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");a=t}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var i="error"===t,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[t];if(void 0===u)return!1;if("function"==typeof u)n(u,this,e);else{var l=u.length,c=p(u,l);for(r=0;r<l;++r)n(c[r],this,e)}return!0},o.prototype.addListener=function(t,e){return l(this,t,e,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(t,e){return l(this,t,e,!0)},o.prototype.once=function(t,e){return s(e),this.on(t,f(this,t,e)),this},o.prototype.prependOnceListener=function(t,e){return s(e),this.prependListener(t,f(this,t,e)),this},o.prototype.removeListener=function(t,e){var r,n,i,o,a;if(s(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===e||r[o].listener===e){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,i),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,a||e)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(t){var e,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},o.prototype.listeners=function(t){return d(this,t,!0)},o.prototype.rawListeners=function(t){return d(this,t,!1)},o.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):h.call(t,e)},o.prototype.listenerCount=h,o.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},80645:(t,e)=>{
8
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
9
+ e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,l=u>>1,c=-7,f=r?i-1:0,d=r?-1:1,h=t[e+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+t[e+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+t[e+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),o-=l}return(h?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,f=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:o-1,p=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(e*u-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[r+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;t[r+h]=255&a,h+=p,a/=256,l-=8);t[r+h-p]|=128*g}},48738:t=>{function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}
10
+ /*!
11
+ * Determine if an object is a Buffer
5
12
  *
6
- * Includes Sizzle.js
7
- * https://sizzlejs.com/
13
+ * @author Feross Aboukhadijeh <https://feross.org>
14
+ * @license MIT
15
+ */
16
+ t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},19755:function(t,e){var r;
17
+ /*!
18
+ * jQuery JavaScript Library v3.7.1
19
+ * https://jquery.com/
8
20
  *
9
21
  * Copyright OpenJS Foundation and other contributors
10
22
  * Released under the MIT license
11
23
  * https://jquery.org/license
12
24
  *
13
- * Date: 2023-03-08T15:28Z
14
- */!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(n,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,u=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},l=o.push,c=o.indexOf,f={},d=f.toString,h=f.hasOwnProperty,p=h.toString,y=p.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},m=function(e){return null!=e&&e===e.window},b=n.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function _(e,t,n){var r,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(r in w)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[d.call(e)]||"object":typeof e}var O=function(e,t){return new O.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!m(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}O.fn=O.prototype={jquery:"3.6.4",constructor:O,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=O.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return O.each(this,e)},map:function(e){return this.pushStack(O.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(O.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(O.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},O.extend=O.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(O.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||O.isPlainObject(n)?n:{},i=!1,a[t]=O.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},O.extend({expando:"jQuery"+("3.6.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(n=h.call(t,"constructor")&&t.constructor)&&p.call(n)===y)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){_(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(S(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?O.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:c.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(S(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return u(a)},guid:1,support:g}),"function"==typeof Symbol&&(O.fn[Symbol.iterator]=o[Symbol.iterator]),O.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){f["[object "+t+"]"]=t.toLowerCase()}));var T=
15
- /*!
16
- * Sizzle CSS Selector Engine v2.3.10
17
- * https://sizzlejs.com/
25
+ * Date: 2023-08-28T13:37Z
26
+ */!function(e,r){"use strict";"object"==typeof t.exports?t.exports=e.document?r(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return r(t)}:r(e)}("undefined"!=typeof window?window:this,(function(n,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,u=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},l=o.push,c=o.indexOf,f={},d=f.toString,h=f.hasOwnProperty,p=h.toString,g=p.call(Object),y={},m=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},v=function(t){return null!=t&&t===t.window},b=n.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function _(t,e,r){var n,i,o=(r=r||b).createElement("script");if(o.text=t,e)for(n in w)(i=e[n]||e.getAttribute&&e.getAttribute(n))&&o.setAttribute(n,i);r.head.appendChild(o).parentNode.removeChild(o)}function x(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?f[d.call(t)]||"object":typeof t}var S=/HTML$/i,E=function(t,e){return new E.fn.init(t,e)};function T(t){var e=!!t&&"length"in t&&t.length,r=x(t);return!m(t)&&!v(t)&&("array"===r||0===e||"number"==typeof e&&e>0&&e-1 in t)}function k(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}E.fn=E.prototype={jquery:"3.7.1",constructor:E,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=E.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return E.each(this,t)},map:function(t){return this.pushStack(E.map(this,(function(e,r){return t.call(e,r,e)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(E.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,r=+t+(t<0?e:0);return this.pushStack(r>=0&&r<e?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},E.extend=E.fn.extend=function(){var t,e,r,n,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(t=arguments[s]))for(e in t)n=t[e],"__proto__"!==e&&a!==n&&(l&&n&&(E.isPlainObject(n)||(i=Array.isArray(n)))?(r=a[e],o=i&&!Array.isArray(r)?[]:i||E.isPlainObject(r)?r:{},i=!1,a[e]=E.extend(l,o,n)):void 0!==n&&(a[e]=n));return a},E.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,r;return!(!t||"[object Object]"!==d.call(t))&&(!(e=a(t))||"function"==typeof(r=h.call(e,"constructor")&&e.constructor)&&p.call(r)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,r){_(t,{nonce:e&&e.nonce},r)},each:function(t,e){var r,n=0;if(T(t))for(r=t.length;n<r&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},text:function(t){var e,r="",n=0,i=t.nodeType;if(!i)for(;e=t[n++];)r+=E.text(e);return 1===i||11===i?t.textContent:9===i?t.documentElement.textContent:3===i||4===i?t.nodeValue:r},makeArray:function(t,e){var r=e||[];return null!=t&&(T(Object(t))?E.merge(r,"string"==typeof t?[t]:t):l.call(r,t)),r},inArray:function(t,e,r){return null==e?-1:c.call(e,t,r)},isXMLDoc:function(t){var e=t&&t.namespaceURI,r=t&&(t.ownerDocument||t).documentElement;return!S.test(e||r&&r.nodeName||"HTML")},merge:function(t,e){for(var r=+e.length,n=0,i=t.length;n<r;n++)t[i++]=e[n];return t.length=i,t},grep:function(t,e,r){for(var n=[],i=0,o=t.length,a=!r;i<o;i++)!e(t[i],i)!==a&&n.push(t[i]);return n},map:function(t,e,r){var n,i,o=0,a=[];if(T(t))for(n=t.length;o<n;o++)null!=(i=e(t[o],o,r))&&a.push(i);else for(o in t)null!=(i=e(t[o],o,r))&&a.push(i);return u(a)},guid:1,support:y}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=o[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){f["[object "+e+"]"]=e.toLowerCase()}));var O=o.pop,A=o.sort,C=o.splice,P="[\\x20\\t\\r\\n\\f]",j=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g");E.contains=function(t,e){var r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(t.contains?t.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))};var R=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function N(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}E.escapeSelector=function(t){return(t+"").replace(R,N)};var I=b,D=l;!function(){var t,e,r,i,a,u,l,f,d,p,g=D,m=E.expando,v=0,b=0,w=tt(),_=tt(),x=tt(),S=tt(),T=function(t,e){return t===e&&(a=!0),0},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="(?:\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",L="\\["+P+"*("+N+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+P+"*\\]",M=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+L+")*)|.*)\\)|)",F=new RegExp(P+"+","g"),B=new RegExp("^"+P+"*,"+P+"*"),V=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),U=new RegExp(P+"|>"),W=new RegExp(M),H=new RegExp("^"+N+"$"),G={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+L),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,z=/[+~]/,X=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),Q=function(t,e){var r="0x"+t.slice(1)-65536;return e||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},Z=function(){ut()},J=dt((function(t){return!0===t.disabled&&k(t,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(o=s.call(I.childNodes),I.childNodes),o[I.childNodes.length].nodeType}catch(t){g={apply:function(t,e){D.apply(t,s.call(e))},call:function(t){D.apply(t,s.call(arguments,1))}}}function K(t,e,r,n){var i,o,a,s,l,c,h,p=e&&e.ownerDocument,v=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==v&&9!==v&&11!==v)return r;if(!n&&(ut(e),e=e||u,f)){if(11!==v&&(l=q.exec(t)))if(i=l[1]){if(9===v){if(!(a=e.getElementById(i)))return r;if(a.id===i)return g.call(r,a),r}else if(p&&(a=p.getElementById(i))&&K.contains(e,a)&&a.id===i)return g.call(r,a),r}else{if(l[2])return g.apply(r,e.getElementsByTagName(t)),r;if((i=l[3])&&e.getElementsByClassName)return g.apply(r,e.getElementsByClassName(i)),r}if(!(S[t+" "]||d&&d.test(t))){if(h=t,p=e,1===v&&(U.test(t)||V.test(t))){for((p=z.test(t)&&st(e.parentNode)||e)==e&&y.scope||((s=e.getAttribute("id"))?s=E.escapeSelector(s):e.setAttribute("id",s=m)),o=(c=ct(t)).length;o--;)c[o]=(s?"#"+s:":scope")+" "+ft(c[o]);h=c.join(",")}try{return g.apply(r,p.querySelectorAll(h)),r}catch(e){S(t,!0)}finally{s===m&&e.removeAttribute("id")}}}return vt(t.replace(j,"$1"),e,r,n)}function tt(){var t=[];return function r(n,i){return t.push(n+" ")>e.cacheLength&&delete r[t.shift()],r[n+" "]=i}}function et(t){return t[m]=!0,t}function rt(t){var e=u.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function nt(t){return function(e){return k(e,"input")&&e.type===t}}function it(t){return function(e){return(k(e,"input")||k(e,"button"))&&e.type===t}}function ot(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&J(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function at(t){return et((function(e){return e=+e,et((function(r,n){for(var i,o=t([],r.length,e),a=o.length;a--;)r[i=o[a]]&&(r[i]=!(n[i]=r[i]))}))}))}function st(t){return t&&void 0!==t.getElementsByTagName&&t}function ut(t){var r,n=t?t.ownerDocument||t:I;return n!=u&&9===n.nodeType&&n.documentElement?(l=(u=n).documentElement,f=!E.isXMLDoc(u),p=l.matches||l.webkitMatchesSelector||l.msMatchesSelector,l.msMatchesSelector&&I!=u&&(r=u.defaultView)&&r.top!==r&&r.addEventListener("unload",Z),y.getById=rt((function(t){return l.appendChild(t).id=E.expando,!u.getElementsByName||!u.getElementsByName(E.expando).length})),y.disconnectedMatch=rt((function(t){return p.call(t,"*")})),y.scope=rt((function(){return u.querySelectorAll(":scope")})),y.cssHas=rt((function(){try{return u.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}})),y.getById?(e.filter.ID=function(t){var e=t.replace(X,Q);return function(t){return t.getAttribute("id")===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&f){var r=e.getElementById(t);return r?[r]:[]}}):(e.filter.ID=function(t){var e=t.replace(X,Q);return function(t){var r=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return r&&r.value===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&f){var r,n,i,o=e.getElementById(t);if(o){if((r=o.getAttributeNode("id"))&&r.value===t)return[o];for(i=e.getElementsByName(t),n=0;o=i[n++];)if((r=o.getAttributeNode("id"))&&r.value===t)return[o]}return[]}}),e.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},e.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&f)return e.getElementsByClassName(t)},d=[],rt((function(t){var e;l.appendChild(t).innerHTML="<a id='"+m+"' href='' disabled='disabled'></a><select id='"+m+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||d.push("\\["+P+"*(?:value|"+R+")"),t.querySelectorAll("[id~="+m+"-]").length||d.push("~="),t.querySelectorAll("a#"+m+"+*").length||d.push(".#.+[+~]"),t.querySelectorAll(":checked").length||d.push(":checked"),(e=u.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),l.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(e=u.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||d.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")")})),y.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),T=function(t,e){if(t===e)return a=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!y.sortDetached&&e.compareDocumentPosition(t)===r?t===u||t.ownerDocument==I&&K.contains(I,t)?-1:e===u||e.ownerDocument==I&&K.contains(I,e)?1:i?c.call(i,t)-c.call(i,e):0:4&r?-1:1)},u):u}for(t in K.matches=function(t,e){return K(t,null,null,e)},K.matchesSelector=function(t,e){if(ut(t),f&&!S[e+" "]&&(!d||!d.test(e)))try{var r=p.call(t,e);if(r||y.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){S(e,!0)}return K(e,u,null,[t]).length>0},K.contains=function(t,e){return(t.ownerDocument||t)!=u&&ut(t),E.contains(t,e)},K.attr=function(t,r){(t.ownerDocument||t)!=u&&ut(t);var n=e.attrHandle[r.toLowerCase()],i=n&&h.call(e.attrHandle,r.toLowerCase())?n(t,r,!f):void 0;return void 0!==i?i:t.getAttribute(r)},K.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},E.uniqueSort=function(t){var e,r=[],n=0,o=0;if(a=!y.sortStable,i=!y.sortStable&&s.call(t,0),A.call(t,T),a){for(;e=t[o++];)e===t[o]&&(n=r.push(o));for(;n--;)C.call(t,r[n],1)}return i=null,t},E.fn.uniqueSort=function(){return this.pushStack(E.uniqueSort(s.apply(this)))},(e=E.expr={cacheLength:50,createPseudo:et,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(X,Q),t[3]=(t[3]||t[4]||t[5]||"").replace(X,Q),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||K.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&K.error(t[0]),t},PSEUDO:function(t){var e,r=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":r&&W.test(r)&&(e=ct(r,!0))&&(e=r.indexOf(")",r.length-e)-r.length)&&(t[0]=t[0].slice(0,e),t[2]=r.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(X,Q).toLowerCase();return"*"===t?function(){return!0}:function(t){return k(t,e)}},CLASS:function(t){var e=w[t+" "];return e||(e=new RegExp("(^|"+P+")"+t+"("+P+"|$)"))&&w(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,r){return function(n){var i=K.attr(n,t);return null==i?"!="===e:!e||(i+="","="===e?i===r:"!="===e?i!==r:"^="===e?r&&0===i.indexOf(r):"*="===e?r&&i.indexOf(r)>-1:"$="===e?r&&i.slice(-r.length)===r:"~="===e?(" "+i.replace(F," ")+" ").indexOf(r)>-1:"|="===e&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(t,e,r,n,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===n&&0===i?function(t){return!!t.parentNode}:function(e,r,u){var l,c,f,d,h,p=o!==a?"nextSibling":"previousSibling",g=e.parentNode,y=s&&e.nodeName.toLowerCase(),b=!u&&!s,w=!1;if(g){if(o){for(;p;){for(f=e;f=f[p];)if(s?k(f,y):1===f.nodeType)return!1;h=p="only"===t&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&b){for(w=(d=(l=(c=g[m]||(g[m]={}))[t]||[])[0]===v&&l[1])&&l[2],f=d&&g.childNodes[d];f=++d&&f&&f[p]||(w=d=0)||h.pop();)if(1===f.nodeType&&++w&&f===e){c[t]=[v,d,w];break}}else if(b&&(w=d=(l=(c=e[m]||(e[m]={}))[t]||[])[0]===v&&l[1]),!1===w)for(;(f=++d&&f&&f[p]||(w=d=0)||h.pop())&&(!(s?k(f,y):1===f.nodeType)||!++w||(b&&((c=f[m]||(f[m]={}))[t]=[v,w]),f!==e)););return(w-=i)===n||w%n==0&&w/n>=0}}},PSEUDO:function(t,r){var n,i=e.pseudos[t]||e.setFilters[t.toLowerCase()]||K.error("unsupported pseudo: "+t);return i[m]?i(r):i.length>1?(n=[t,t,"",r],e.setFilters.hasOwnProperty(t.toLowerCase())?et((function(t,e){for(var n,o=i(t,r),a=o.length;a--;)t[n=c.call(t,o[a])]=!(e[n]=o[a])})):function(t){return i(t,0,n)}):i}},pseudos:{not:et((function(t){var e=[],r=[],n=mt(t.replace(j,"$1"));return n[m]?et((function(t,e,r,i){for(var o,a=n(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))})):function(t,i,o){return e[0]=t,n(e,null,o,r),e[0]=null,!r.pop()}})),has:et((function(t){return function(e){return K(t,e).length>0}})),contains:et((function(t){return t=t.replace(X,Q),function(e){return(e.textContent||E.text(e)).indexOf(t)>-1}})),lang:et((function(t){return H.test(t||"")||K.error("unsupported lang: "+t),t=t.replace(X,Q).toLowerCase(),function(e){var r;do{if(r=f?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(r=r.toLowerCase())===t||0===r.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===l},focus:function(t){return t===function(){try{return u.activeElement}catch(t){}}()&&u.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:ot(!1),disabled:ot(!0),checked:function(t){return k(t,"input")&&!!t.checked||k(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!e.pseudos.empty(t)},header:function(t){return $.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){return k(t,"input")&&"button"===t.type||k(t,"button")},text:function(t){var e;return k(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:at((function(){return[0]})),last:at((function(t,e){return[e-1]})),eq:at((function(t,e,r){return[r<0?r+e:r]})),even:at((function(t,e){for(var r=0;r<e;r+=2)t.push(r);return t})),odd:at((function(t,e){for(var r=1;r<e;r+=2)t.push(r);return t})),lt:at((function(t,e,r){var n;for(n=r<0?r+e:r>e?e:r;--n>=0;)t.push(n);return t})),gt:at((function(t,e,r){for(var n=r<0?r+e:r;++n<e;)t.push(n);return t}))}}).pseudos.nth=e.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})e.pseudos[t]=nt(t);for(t in{submit:!0,reset:!0})e.pseudos[t]=it(t);function lt(){}function ct(t,r){var n,i,o,a,s,u,l,c=_[t+" "];if(c)return r?0:c.slice(0);for(s=t,u=[],l=e.preFilter;s;){for(a in n&&!(i=B.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=V.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(j," ")}),s=s.slice(n.length)),e.filter)!(i=G[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return r?s.length:s?K.error(t):_(t,u).slice(0)}function ft(t){for(var e=0,r=t.length,n="";e<r;e++)n+=t[e].value;return n}function dt(t,e,r){var n=e.dir,i=e.next,o=i||n,a=r&&"parentNode"===o,s=b++;return e.first?function(e,r,i){for(;e=e[n];)if(1===e.nodeType||a)return t(e,r,i);return!1}:function(e,r,u){var l,c,f=[v,s];if(u){for(;e=e[n];)if((1===e.nodeType||a)&&t(e,r,u))return!0}else for(;e=e[n];)if(1===e.nodeType||a)if(c=e[m]||(e[m]={}),i&&k(e,i))e=e[n]||e;else{if((l=c[o])&&l[0]===v&&l[1]===s)return f[2]=l[2];if(c[o]=f,f[2]=t(e,r,u))return!0}return!1}}function ht(t){return t.length>1?function(e,r,n){for(var i=t.length;i--;)if(!t[i](e,r,n))return!1;return!0}:t[0]}function pt(t,e,r,n,i){for(var o,a=[],s=0,u=t.length,l=null!=e;s<u;s++)(o=t[s])&&(r&&!r(o,n,i)||(a.push(o),l&&e.push(s)));return a}function gt(t,e,r,n,i,o){return n&&!n[m]&&(n=gt(n)),i&&!i[m]&&(i=gt(i,o)),et((function(o,a,s,u){var l,f,d,h,p=[],y=[],m=a.length,v=o||function(t,e,r){for(var n=0,i=e.length;n<i;n++)K(t,e[n],r);return r}(e||"*",s.nodeType?[s]:s,[]),b=!t||!o&&e?v:pt(v,p,t,s,u);if(r?r(b,h=i||(o?t:m||n)?[]:a,s,u):h=b,n)for(l=pt(h,y),n(l,[],s,u),f=l.length;f--;)(d=l[f])&&(h[y[f]]=!(b[y[f]]=d));if(o){if(i||t){if(i){for(l=[],f=h.length;f--;)(d=h[f])&&l.push(b[f]=d);i(null,h=[],l,u)}for(f=h.length;f--;)(d=h[f])&&(l=i?c.call(o,d):p[f])>-1&&(o[l]=!(a[l]=d))}}else h=pt(h===a?h.splice(m,h.length):h),i?i(null,a,h,u):g.apply(a,h)}))}function yt(t){for(var n,i,o,a=t.length,s=e.relative[t[0].type],u=s||e.relative[" "],l=s?1:0,f=dt((function(t){return t===n}),u,!0),d=dt((function(t){return c.call(n,t)>-1}),u,!0),h=[function(t,e,i){var o=!s&&(i||e!=r)||((n=e).nodeType?f(t,e,i):d(t,e,i));return n=null,o}];l<a;l++)if(i=e.relative[t[l].type])h=[dt(ht(h),i)];else{if((i=e.filter[t[l].type].apply(null,t[l].matches))[m]){for(o=++l;o<a&&!e.relative[t[o].type];o++);return gt(l>1&&ht(h),l>1&&ft(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(j,"$1"),i,l<o&&yt(t.slice(l,o)),o<a&&yt(t=t.slice(o)),o<a&&ft(t))}h.push(i)}return ht(h)}function mt(t,n){var i,o=[],a=[],s=x[t+" "];if(!s){for(n||(n=ct(t)),i=n.length;i--;)(s=yt(n[i]))[m]?o.push(s):a.push(s);(s=x(t,function(t,n){var i=n.length>0,o=t.length>0,a=function(a,s,l,c,d){var h,p,y,m=0,b="0",w=a&&[],_=[],x=r,S=a||o&&e.find.TAG("*",d),T=v+=null==x?1:Math.random()||.1,k=S.length;for(d&&(r=s==u||s||d);b!==k&&null!=(h=S[b]);b++){if(o&&h){for(p=0,s||h.ownerDocument==u||(ut(h),l=!f);y=t[p++];)if(y(h,s||u,l)){g.call(c,h);break}d&&(v=T)}i&&((h=!y&&h)&&m--,a&&w.push(h))}if(m+=b,i&&b!==m){for(p=0;y=n[p++];)y(w,_,s,l);if(a){if(m>0)for(;b--;)w[b]||_[b]||(_[b]=O.call(c));_=pt(_)}g.apply(c,_),d&&!a&&_.length>0&&m+n.length>1&&E.uniqueSort(c)}return d&&(v=T,r=x),w};return i?et(a):a}(a,o))).selector=t}return s}function vt(t,r,n,i){var o,a,s,u,l,c="function"==typeof t&&t,d=!i&&ct(t=c.selector||t);if(n=n||[],1===d.length){if((a=d[0]=d[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===r.nodeType&&f&&e.relative[a[1].type]){if(!(r=(e.find.ID(s.matches[0].replace(X,Q),r)||[])[0]))return n;c&&(r=r.parentNode),t=t.slice(a.shift().value.length)}for(o=G.needsContext.test(t)?0:a.length;o--&&(s=a[o],!e.relative[u=s.type]);)if((l=e.find[u])&&(i=l(s.matches[0].replace(X,Q),z.test(a[0].type)&&st(r.parentNode)||r))){if(a.splice(o,1),!(t=i.length&&ft(a)))return g.apply(n,i),n;break}}return(c||mt(t,d))(i,r,!f,n,!r||z.test(t)&&st(r.parentNode)||r),n}lt.prototype=e.filters=e.pseudos,e.setFilters=new lt,y.sortStable=m.split("").sort(T).join("")===m,ut(),y.sortDetached=rt((function(t){return 1&t.compareDocumentPosition(u.createElement("fieldset"))})),E.find=K,E.expr[":"]=E.expr.pseudos,E.unique=E.uniqueSort,K.compile=mt,K.select=vt,K.setDocument=ut,K.tokenize=ct,K.escape=E.escapeSelector,K.getText=E.text,K.isXML=E.isXMLDoc,K.selectors=E.expr,K.support=E.support,K.uniqueSort=E.uniqueSort}();var L=function(t,e,r){for(var n=[],i=void 0!==r;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&E(t).is(r))break;n.push(t)}return n},M=function(t,e){for(var r=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&r.push(t);return r},F=E.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function V(t,e,r){return m(e)?E.grep(t,(function(t,n){return!!e.call(t,n,t)!==r})):e.nodeType?E.grep(t,(function(t){return t===e!==r})):"string"!=typeof e?E.grep(t,(function(t){return c.call(e,t)>-1!==r})):E.filter(e,t,r)}E.filter=function(t,e,r){var n=e[0];return r&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?E.find.matchesSelector(n,t)?[n]:[]:E.find.matches(t,E.grep(e,(function(t){return 1===t.nodeType})))},E.fn.extend({find:function(t){var e,r,n=this.length,i=this;if("string"!=typeof t)return this.pushStack(E(t).filter((function(){for(e=0;e<n;e++)if(E.contains(i[e],this))return!0})));for(r=this.pushStack([]),e=0;e<n;e++)E.find(t,i[e],r);return n>1?E.uniqueSort(r):r},filter:function(t){return this.pushStack(V(this,t||[],!1))},not:function(t){return this.pushStack(V(this,t||[],!0))},is:function(t){return!!V(this,"string"==typeof t&&F.test(t)?E(t):t||[],!1).length}});var U,W=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(E.fn.init=function(t,e,r){var n,i;if(!t)return this;if(r=r||U,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:W.exec(t))||!n[1]&&e)return!e||e.jquery?(e||r).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof E?e[0]:e,E.merge(this,E.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:b,!0)),B.test(n[1])&&E.isPlainObject(e))for(n in e)m(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(i=b.getElementById(n[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):m(t)?void 0!==r.ready?r.ready(t):t(E):E.makeArray(t,this)}).prototype=E.fn,U=E(b);var H=/^(?:parents|prev(?:Until|All))/,G={children:!0,contents:!0,next:!0,prev:!0};function Y(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}E.fn.extend({has:function(t){var e=E(t,this),r=e.length;return this.filter((function(){for(var t=0;t<r;t++)if(E.contains(this,e[t]))return!0}))},closest:function(t,e){var r,n=0,i=this.length,o=[],a="string"!=typeof t&&E(t);if(!F.test(t))for(;n<i;n++)for(r=this[n];r&&r!==e;r=r.parentNode)if(r.nodeType<11&&(a?a.index(r)>-1:1===r.nodeType&&E.find.matchesSelector(r,t))){o.push(r);break}return this.pushStack(o.length>1?E.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?c.call(E(t),this[0]):c.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(E.uniqueSort(E.merge(this.get(),E(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),E.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return L(t,"parentNode")},parentsUntil:function(t,e,r){return L(t,"parentNode",r)},next:function(t){return Y(t,"nextSibling")},prev:function(t){return Y(t,"previousSibling")},nextAll:function(t){return L(t,"nextSibling")},prevAll:function(t){return L(t,"previousSibling")},nextUntil:function(t,e,r){return L(t,"nextSibling",r)},prevUntil:function(t,e,r){return L(t,"previousSibling",r)},siblings:function(t){return M((t.parentNode||{}).firstChild,t)},children:function(t){return M(t.firstChild)},contents:function(t){return null!=t.contentDocument&&a(t.contentDocument)?t.contentDocument:(k(t,"template")&&(t=t.content||t),E.merge([],t.childNodes))}},(function(t,e){E.fn[t]=function(r,n){var i=E.map(this,e,r);return"Until"!==t.slice(-5)&&(n=r),n&&"string"==typeof n&&(i=E.filter(n,i)),this.length>1&&(G[t]||E.uniqueSort(i),H.test(t)&&i.reverse()),this.pushStack(i)}}));var $=/[^\x20\t\r\n\f]+/g;function q(t){return t}function z(t){throw t}function X(t,e,r,n){var i;try{t&&m(i=t.promise)?i.call(t).done(e).fail(r):t&&m(i=t.then)?i.call(t,e,r):e.apply(void 0,[t].slice(n))}catch(t){r.apply(void 0,[t])}}E.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return E.each(t.match($)||[],(function(t,r){e[r]=!0})),e}(t):E.extend({},t);var e,r,n,i,o=[],a=[],s=-1,u=function(){for(i=i||t.once,n=e=!0;a.length;s=-1)for(r=a.shift();++s<o.length;)!1===o[s].apply(r[0],r[1])&&t.stopOnFalse&&(s=o.length,r=!1);t.memory||(r=!1),e=!1,i&&(o=r?[]:"")},l={add:function(){return o&&(r&&!e&&(s=o.length-1,a.push(r)),function e(r){E.each(r,(function(r,n){m(n)?t.unique&&l.has(n)||o.push(n):n&&n.length&&"string"!==x(n)&&e(n)}))}(arguments),r&&!e&&u()),this},remove:function(){return E.each(arguments,(function(t,e){for(var r;(r=E.inArray(e,o,r))>-1;)o.splice(r,1),r<=s&&s--})),this},has:function(t){return t?E.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=r="",this},disabled:function(){return!o},lock:function(){return i=a=[],r||e||(o=r=""),this},locked:function(){return!!i},fireWith:function(t,r){return i||(r=[t,(r=r||[]).slice?r.slice():r],a.push(r),e||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!n}};return l},E.extend({Deferred:function(t){var e=[["notify","progress",E.Callbacks("memory"),E.Callbacks("memory"),2],["resolve","done",E.Callbacks("once memory"),E.Callbacks("once memory"),0,"resolved"],["reject","fail",E.Callbacks("once memory"),E.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return E.Deferred((function(r){E.each(e,(function(e,n){var i=m(t[n[4]])&&t[n[4]];o[n[1]]((function(){var t=i&&i.apply(this,arguments);t&&m(t.promise)?t.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[n[0]+"With"](this,i?[t]:arguments)}))})),t=null})).promise()},then:function(t,r,i){var o=0;function a(t,e,r,i){return function(){var s=this,u=arguments,l=function(){var n,l;if(!(t<o)){if((n=r.apply(s,u))===e.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"==typeof n||"function"==typeof n)&&n.then,m(l)?i?l.call(n,a(o,e,q,i),a(o,e,z,i)):(o++,l.call(n,a(o,e,q,i),a(o,e,z,i),a(o,e,q,e.notifyWith))):(r!==q&&(s=void 0,u=[n]),(i||e.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(n){E.Deferred.exceptionHook&&E.Deferred.exceptionHook(n,c.error),t+1>=o&&(r!==z&&(s=void 0,u=[n]),e.rejectWith(s,u))}};t?c():(E.Deferred.getErrorHook?c.error=E.Deferred.getErrorHook():E.Deferred.getStackHook&&(c.error=E.Deferred.getStackHook()),n.setTimeout(c))}}return E.Deferred((function(n){e[0][3].add(a(0,n,m(i)?i:q,n.notifyWith)),e[1][3].add(a(0,n,m(t)?t:q)),e[2][3].add(a(0,n,m(r)?r:z))})).promise()},promise:function(t){return null!=t?E.extend(t,i):i}},o={};return E.each(e,(function(t,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add((function(){r=s}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith})),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,r=e,n=Array(r),i=s.call(arguments),o=E.Deferred(),a=function(t){return function(r){n[t]=this,i[t]=arguments.length>1?s.call(arguments):r,--e||o.resolveWith(n,i)}};if(e<=1&&(X(t,o.done(a(r)).resolve,o.reject,!e),"pending"===o.state()||m(i[r]&&i[r].then)))return o.then();for(;r--;)X(i[r],a(r),o.reject);return o.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;E.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&Q.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},E.readyException=function(t){n.setTimeout((function(){throw t}))};var Z=E.Deferred();function J(){b.removeEventListener("DOMContentLoaded",J),n.removeEventListener("load",J),E.ready()}E.fn.ready=function(t){return Z.then(t).catch((function(t){E.readyException(t)})),this},E.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--E.readyWait:E.isReady)||(E.isReady=!0,!0!==t&&--E.readyWait>0||Z.resolveWith(b,[E]))}}),E.ready.then=Z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(E.ready):(b.addEventListener("DOMContentLoaded",J),n.addEventListener("load",J));var K=function(t,e,r,n,i,o,a){var s=0,u=t.length,l=null==r;if("object"===x(r))for(s in i=!0,r)K(t,e,s,r[s],!0,o,a);else if(void 0!==n&&(i=!0,m(n)||(a=!0),l&&(a?(e.call(t,n),e=null):(l=e,e=function(t,e,r){return l.call(E(t),r)})),e))for(;s<u;s++)e(t[s],r,a?n:n.call(t[s],s,e(t[s],r)));return i?t:l?e.call(t):u?e(t[0],r):o},tt=/^-ms-/,et=/-([a-z])/g;function rt(t,e){return e.toUpperCase()}function nt(t){return t.replace(tt,"ms-").replace(et,rt)}var it=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function ot(){this.expando=E.expando+ot.uid++}ot.uid=1,ot.prototype={cache:function(t){var e=t[this.expando];return e||(e={},it(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,r){var n,i=this.cache(t);if("string"==typeof e)i[nt(e)]=r;else for(n in e)i[nt(n)]=e[n];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][nt(e)]},access:function(t,e,r){return void 0===e||e&&"string"==typeof e&&void 0===r?this.get(t,e):(this.set(t,e,r),void 0!==r?r:e)},remove:function(t,e){var r,n=t[this.expando];if(void 0!==n){if(void 0!==e){r=(e=Array.isArray(e)?e.map(nt):(e=nt(e))in n?[e]:e.match($)||[]).length;for(;r--;)delete n[e[r]]}(void 0===e||E.isEmptyObject(n))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!E.isEmptyObject(e)}};var at=new ot,st=new ot,ut=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,lt=/[A-Z]/g;function ct(t,e,r){var n;if(void 0===r&&1===t.nodeType)if(n="data-"+e.replace(lt,"-$&").toLowerCase(),"string"==typeof(r=t.getAttribute(n))){try{r=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:ut.test(t)?JSON.parse(t):t)}(r)}catch(t){}st.set(t,e,r)}else r=void 0;return r}E.extend({hasData:function(t){return st.hasData(t)||at.hasData(t)},data:function(t,e,r){return st.access(t,e,r)},removeData:function(t,e){st.remove(t,e)},_data:function(t,e,r){return at.access(t,e,r)},_removeData:function(t,e){at.remove(t,e)}}),E.fn.extend({data:function(t,e){var r,n,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=st.get(o),1===o.nodeType&&!at.get(o,"hasDataAttrs"))){for(r=a.length;r--;)a[r]&&0===(n=a[r].name).indexOf("data-")&&(n=nt(n.slice(5)),ct(o,n,i[n]));at.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each((function(){st.set(this,t)})):K(this,(function(e){var r;if(o&&void 0===e)return void 0!==(r=st.get(o,t))||void 0!==(r=ct(o,t))?r:void 0;this.each((function(){st.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){st.remove(this,t)}))}}),E.extend({queue:function(t,e,r){var n;if(t)return e=(e||"fx")+"queue",n=at.get(t,e),r&&(!n||Array.isArray(r)?n=at.access(t,e,E.makeArray(r)):n.push(r)),n||[]},dequeue:function(t,e){e=e||"fx";var r=E.queue(t,e),n=r.length,i=r.shift(),o=E._queueHooks(t,e);"inprogress"===i&&(i=r.shift(),n--),i&&("fx"===e&&r.unshift("inprogress"),delete o.stop,i.call(t,(function(){E.dequeue(t,e)}),o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var r=e+"queueHooks";return at.get(t,r)||at.access(t,r,{empty:E.Callbacks("once memory").add((function(){at.remove(t,[e+"queue",r])}))})}}),E.fn.extend({queue:function(t,e){var r=2;return"string"!=typeof t&&(e=t,t="fx",r--),arguments.length<r?E.queue(this[0],t):void 0===e?this:this.each((function(){var r=E.queue(this,t,e);E._queueHooks(this,t),"fx"===t&&"inprogress"!==r[0]&&E.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){E.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var r,n=1,i=E.Deferred(),o=this,a=this.length,s=function(){--n||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(r=at.get(o[a],t+"queueHooks"))&&r.empty&&(n++,r.empty.add(s));return s(),i.promise(e)}});var ft=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,dt=new RegExp("^(?:([+-])=|)("+ft+")([a-z%]*)$","i"),ht=["Top","Right","Bottom","Left"],pt=b.documentElement,gt=function(t){return E.contains(t.ownerDocument,t)},yt={composed:!0};pt.getRootNode&&(gt=function(t){return E.contains(t.ownerDocument,t)||t.getRootNode(yt)===t.ownerDocument});var mt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&gt(t)&&"none"===E.css(t,"display")};function vt(t,e,r,n){var i,o,a=20,s=n?function(){return n.cur()}:function(){return E.css(t,e,"")},u=s(),l=r&&r[3]||(E.cssNumber[e]?"":"px"),c=t.nodeType&&(E.cssNumber[e]||"px"!==l&&+u)&&dt.exec(E.css(t,e));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)E.style(t,e,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,E.style(t,e,c+l),r=r||[]}return r&&(c=+c||+u||0,i=r[1]?c+(r[1]+1)*r[2]:+r[2],n&&(n.unit=l,n.start=c,n.end=i)),i}var bt={};function wt(t){var e,r=t.ownerDocument,n=t.nodeName,i=bt[n];return i||(e=r.body.appendChild(r.createElement(n)),i=E.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),bt[n]=i,i)}function _t(t,e){for(var r,n,i=[],o=0,a=t.length;o<a;o++)(n=t[o]).style&&(r=n.style.display,e?("none"===r&&(i[o]=at.get(n,"display")||null,i[o]||(n.style.display="")),""===n.style.display&&mt(n)&&(i[o]=wt(n))):"none"!==r&&(i[o]="none",at.set(n,"display",r)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}E.fn.extend({show:function(){return _t(this,!0)},hide:function(){return _t(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){mt(this)?E(this).show():E(this).hide()}))}});var xt,St,Et=/^(?:checkbox|radio)$/i,Tt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,kt=/^$|^module$|\/(?:java|ecma)script/i;xt=b.createDocumentFragment().appendChild(b.createElement("div")),(St=b.createElement("input")).setAttribute("type","radio"),St.setAttribute("checked","checked"),St.setAttribute("name","t"),xt.appendChild(St),y.checkClone=xt.cloneNode(!0).cloneNode(!0).lastChild.checked,xt.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!xt.cloneNode(!0).lastChild.defaultValue,xt.innerHTML="<option></option>",y.option=!!xt.lastChild;var Ot={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 At(t,e){var r;return r=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&k(t,e)?E.merge([t],r):r}function Ct(t,e){for(var r=0,n=t.length;r<n;r++)at.set(t[r],"globalEval",!e||at.get(e[r],"globalEval"))}Ot.tbody=Ot.tfoot=Ot.colgroup=Ot.caption=Ot.thead,Ot.th=Ot.td,y.option||(Ot.optgroup=Ot.option=[1,"<select multiple='multiple'>","</select>"]);var Pt=/<|&#?\w+;/;function jt(t,e,r,n,i){for(var o,a,s,u,l,c,f=e.createDocumentFragment(),d=[],h=0,p=t.length;h<p;h++)if((o=t[h])||0===o)if("object"===x(o))E.merge(d,o.nodeType?[o]:o);else if(Pt.test(o)){for(a=a||f.appendChild(e.createElement("div")),s=(Tt.exec(o)||["",""])[1].toLowerCase(),u=Ot[s]||Ot._default,a.innerHTML=u[1]+E.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;E.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(e.createTextNode(o));for(f.textContent="",h=0;o=d[h++];)if(n&&E.inArray(o,n)>-1)i&&i.push(o);else if(l=gt(o),a=At(f.appendChild(o),"script"),l&&Ct(a),r)for(c=0;o=a[c++];)kt.test(o.type||"")&&r.push(o);return f}var Rt=/^([^.]*)(?:\.(.+)|)/;function Nt(){return!0}function It(){return!1}function Dt(t,e,r,n,i,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof r&&(n=n||r,r=void 0),e)Dt(t,s,r,n,e[s],o);return t}if(null==n&&null==i?(i=r,n=r=void 0):null==i&&("string"==typeof r?(i=n,n=void 0):(i=n,n=r,r=void 0)),!1===i)i=It;else if(!i)return t;return 1===o&&(a=i,(i=function(t){return E().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=E.guid++)),t.each((function(){E.event.add(this,e,i,n,r)}))}function Lt(t,e,r){r?(at.set(t,e,!1),E.event.add(t,e,{namespace:!1,handler:function(t){var r,n=at.get(this,e);if(1&t.isTrigger&&this[e]){if(n)(E.event.special[e]||{}).delegateType&&t.stopPropagation();else if(n=s.call(arguments),at.set(this,e,n),this[e](),r=at.get(this,e),at.set(this,e,!1),n!==r)return t.stopImmediatePropagation(),t.preventDefault(),r}else n&&(at.set(this,e,E.event.trigger(n[0],n.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=Nt)}})):void 0===at.get(t,e)&&E.event.add(t,e,Nt)}E.event={global:{},add:function(t,e,r,n,i){var o,a,s,u,l,c,f,d,h,p,g,y=at.get(t);if(it(t))for(r.handler&&(r=(o=r).handler,i=o.selector),i&&E.find.matchesSelector(pt,i),r.guid||(r.guid=E.guid++),(u=y.events)||(u=y.events=Object.create(null)),(a=y.handle)||(a=y.handle=function(e){return void 0!==E&&E.event.triggered!==e.type?E.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match($)||[""]).length;l--;)h=g=(s=Rt.exec(e[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(f=E.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=E.event.special[h]||{},c=E.extend({type:h,origType:g,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&E.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=u[h])||((d=u[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,n,p,a)||t.addEventListener&&t.addEventListener(h,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=r.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),E.event.global[h]=!0)},remove:function(t,e,r,n,i){var o,a,s,u,l,c,f,d,h,p,g,y=at.hasData(t)&&at.get(t);if(y&&(u=y.events)){for(l=(e=(e||"").match($)||[""]).length;l--;)if(h=g=(s=Rt.exec(e[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=E.event.special[h]||{},d=u[h=(n?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&g!==c.origType||r&&r.guid!==c.guid||s&&!s.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(t,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(t,p,y.handle)||E.removeEvent(t,h,y.handle),delete u[h])}else for(h in u)E.event.remove(t,h+e[l],r,n,!0);E.isEmptyObject(u)&&at.remove(t,"handle events")}},dispatch:function(t){var e,r,n,i,o,a,s=new Array(arguments.length),u=E.event.fix(t),l=(at.get(this,"events")||Object.create(null))[u.type]||[],c=E.event.special[u.type]||{};for(s[0]=u,e=1;e<arguments.length;e++)s[e]=arguments[e];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=E.event.handlers.call(this,u,l),e=0;(i=a[e++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,r=0;(o=i.handlers[r++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(n=((E.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=n)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(t,e){var r,n,i,o,a,s=[],u=e.delegateCount,l=t.target;if(u&&l.nodeType&&!("click"===t.type&&t.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(o=[],a={},r=0;r<u;r++)void 0===a[i=(n=e[r]).selector+" "]&&(a[i]=n.needsContext?E(i,this).index(l)>-1:E.find(i,this,null,[l]).length),a[i]&&o.push(n);o.length&&s.push({elem:l,handlers:o})}return l=this,u<e.length&&s.push({elem:l,handlers:e.slice(u)}),s},addProp:function(t,e){Object.defineProperty(E.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[E.expando]?t:new E.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return Et.test(e.type)&&e.click&&k(e,"input")&&Lt(e,"click",!0),!1},trigger:function(t){var e=this||t;return Et.test(e.type)&&e.click&&k(e,"input")&&Lt(e,"click"),!0},_default:function(t){var e=t.target;return Et.test(e.type)&&e.click&&k(e,"input")&&at.get(e,"click")||k(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},E.removeEvent=function(t,e,r){t.removeEventListener&&t.removeEventListener(e,r)},E.Event=function(t,e){if(!(this instanceof E.Event))return new E.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Nt:It,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&E.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[E.expando]=!0},E.Event.prototype={constructor:E.Event,isDefaultPrevented:It,isPropagationStopped:It,isImmediatePropagationStopped:It,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Nt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Nt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Nt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},E.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},E.event.addProp),E.each({focus:"focusin",blur:"focusout"},(function(t,e){function r(t){if(b.documentMode){var r=at.get(this,"handle"),n=E.event.fix(t);n.type="focusin"===t.type?"focus":"blur",n.isSimulated=!0,r(t),n.target===n.currentTarget&&r(n)}else E.event.simulate(e,t.target,E.event.fix(t))}E.event.special[t]={setup:function(){var n;if(Lt(this,t,!0),!b.documentMode)return!1;(n=at.get(this,e))||this.addEventListener(e,r),at.set(this,e,(n||0)+1)},trigger:function(){return Lt(this,t),!0},teardown:function(){var t;if(!b.documentMode)return!1;(t=at.get(this,e)-1)?at.set(this,e,t):(this.removeEventListener(e,r),at.remove(this,e))},_default:function(e){return at.get(e.target,t)},delegateType:e},E.event.special[e]={setup:function(){var n=this.ownerDocument||this.document||this,i=b.documentMode?this:n,o=at.get(i,e);o||(b.documentMode?this.addEventListener(e,r):n.addEventListener(t,r,!0)),at.set(i,e,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,i=b.documentMode?this:n,o=at.get(i,e)-1;o?at.set(i,e,o):(b.documentMode?this.removeEventListener(e,r):n.removeEventListener(t,r,!0),at.remove(i,e))}}})),E.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){E.event.special[t]={delegateType:e,bindType:e,handle:function(t){var r,n=this,i=t.relatedTarget,o=t.handleObj;return i&&(i===n||E.contains(n,i))||(t.type=o.origType,r=o.handler.apply(this,arguments),t.type=e),r}}})),E.fn.extend({on:function(t,e,r,n){return Dt(this,t,e,r,n)},one:function(t,e,r,n){return Dt(this,t,e,r,n,1)},off:function(t,e,r){var n,i;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,E(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(r=e,e=void 0),!1===r&&(r=It),this.each((function(){E.event.remove(this,t,r,e)}))}});var Mt=/<script|<style|<link/i,Ft=/checked\s*(?:[^=]|=\s*.checked.)/i,Bt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Vt(t,e){return k(t,"table")&&k(11!==e.nodeType?e:e.firstChild,"tr")&&E(t).children("tbody")[0]||t}function Ut(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Wt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ht(t,e){var r,n,i,o,a,s;if(1===e.nodeType){if(at.hasData(t)&&(s=at.get(t).events))for(i in at.remove(e,"handle events"),s)for(r=0,n=s[i].length;r<n;r++)E.event.add(e,i,s[i][r]);st.hasData(t)&&(o=st.access(t),a=E.extend({},o),st.set(e,a))}}function Gt(t,e){var r=e.nodeName.toLowerCase();"input"===r&&Et.test(t.type)?e.checked=t.checked:"input"!==r&&"textarea"!==r||(e.defaultValue=t.defaultValue)}function Yt(t,e,r,n){e=u(e);var i,o,a,s,l,c,f=0,d=t.length,h=d-1,p=e[0],g=m(p);if(g||d>1&&"string"==typeof p&&!y.checkClone&&Ft.test(p))return t.each((function(i){var o=t.eq(i);g&&(e[0]=p.call(this,i,o.html())),Yt(o,e,r,n)}));if(d&&(o=(i=jt(e,t[0].ownerDocument,!1,t,n)).firstChild,1===i.childNodes.length&&(i=o),o||n)){for(s=(a=E.map(At(i,"script"),Ut)).length;f<d;f++)l=i,f!==h&&(l=E.clone(l,!0,!0),s&&E.merge(a,At(l,"script"))),r.call(t[f],l,f);if(s)for(c=a[a.length-1].ownerDocument,E.map(a,Wt),f=0;f<s;f++)l=a[f],kt.test(l.type||"")&&!at.access(l,"globalEval")&&E.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?E._evalUrl&&!l.noModule&&E._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):_(l.textContent.replace(Bt,""),l,c))}return t}function $t(t,e,r){for(var n,i=e?E.filter(e,t):t,o=0;null!=(n=i[o]);o++)r||1!==n.nodeType||E.cleanData(At(n)),n.parentNode&&(r&&gt(n)&&Ct(At(n,"script")),n.parentNode.removeChild(n));return t}E.extend({htmlPrefilter:function(t){return t},clone:function(t,e,r){var n,i,o,a,s=t.cloneNode(!0),u=gt(t);if(!(y.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||E.isXMLDoc(t)))for(a=At(s),n=0,i=(o=At(t)).length;n<i;n++)Gt(o[n],a[n]);if(e)if(r)for(o=o||At(t),a=a||At(s),n=0,i=o.length;n<i;n++)Ht(o[n],a[n]);else Ht(t,s);return(a=At(s,"script")).length>0&&Ct(a,!u&&At(t,"script")),s},cleanData:function(t){for(var e,r,n,i=E.event.special,o=0;void 0!==(r=t[o]);o++)if(it(r)){if(e=r[at.expando]){if(e.events)for(n in e.events)i[n]?E.event.remove(r,n):E.removeEvent(r,n,e.handle);r[at.expando]=void 0}r[st.expando]&&(r[st.expando]=void 0)}}}),E.fn.extend({detach:function(t){return $t(this,t,!0)},remove:function(t){return $t(this,t)},text:function(t){return K(this,(function(t){return void 0===t?E.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Yt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Vt(this,t).appendChild(t)}))},prepend:function(){return Yt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Vt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Yt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Yt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(E.cleanData(At(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return E.clone(this,t,e)}))},html:function(t){return K(this,(function(t){var e=this[0]||{},r=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Mt.test(t)&&!Ot[(Tt.exec(t)||["",""])[1].toLowerCase()]){t=E.htmlPrefilter(t);try{for(;r<n;r++)1===(e=this[r]||{}).nodeType&&(E.cleanData(At(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Yt(this,arguments,(function(e){var r=this.parentNode;E.inArray(this,t)<0&&(E.cleanData(At(this)),r&&r.replaceChild(e,this))}),t)}}),E.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){E.fn[t]=function(t){for(var r,n=[],i=E(t),o=i.length-1,a=0;a<=o;a++)r=a===o?this:this.clone(!0),E(i[a])[e](r),l.apply(n,r.get());return this.pushStack(n)}}));var qt=new RegExp("^("+ft+")(?!px)[a-z%]+$","i"),zt=/^--/,Xt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},Qt=function(t,e,r){var n,i,o={};for(i in e)o[i]=t.style[i],t.style[i]=e[i];for(i in n=r.call(t),e)t.style[i]=o[i];return n},Zt=new RegExp(ht.join("|"),"i");function Jt(t,e,r){var n,i,o,a,s=zt.test(e),u=t.style;return(r=r||Xt(t))&&(a=r.getPropertyValue(e)||r[e],s&&a&&(a=a.replace(j,"$1")||void 0),""!==a||gt(t)||(a=E.style(t,e)),!y.pixelBoxStyles()&&qt.test(a)&&Zt.test(e)&&(n=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=r.width,u.width=n,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Kt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",pt.appendChild(l).appendChild(c);var t=n.getComputedStyle(c);r="1%"!==t.top,u=12===e(t.marginLeft),c.style.right="60%",a=36===e(t.right),i=36===e(t.width),c.style.position="absolute",o=12===e(c.offsetWidth/3),pt.removeChild(l),c=null}}function e(t){return Math.round(parseFloat(t))}var r,i,o,a,s,u,l=b.createElement("div"),c=b.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===c.style.backgroundClip,E.extend(y,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,r,i;return null==s&&(t=b.createElement("table"),e=b.createElement("tr"),r=b.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="box-sizing:content-box;border:1px solid",e.style.height="1px",r.style.height="9px",r.style.display="block",pt.appendChild(t).appendChild(e).appendChild(r),i=n.getComputedStyle(e),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===e.offsetHeight,pt.removeChild(t)),s}}))}();var te=["Webkit","Moz","ms"],ee=b.createElement("div").style,re={};function ne(t){var e=E.cssProps[t]||re[t];return e||(t in ee?t:re[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),r=te.length;r--;)if((t=te[r]+e)in ee)return t}(t)||t)}var ie=/^(none|table(?!-c[ea]).+)/,oe={position:"absolute",visibility:"hidden",display:"block"},ae={letterSpacing:"0",fontWeight:"400"};function se(t,e,r){var n=dt.exec(e);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):e}function ue(t,e,r,n,i,o){var a="width"===e?1:0,s=0,u=0,l=0;if(r===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===r&&(l+=E.css(t,r+ht[a],!0,i)),n?("content"===r&&(u-=E.css(t,"padding"+ht[a],!0,i)),"margin"!==r&&(u-=E.css(t,"border"+ht[a]+"Width",!0,i))):(u+=E.css(t,"padding"+ht[a],!0,i),"padding"!==r?u+=E.css(t,"border"+ht[a]+"Width",!0,i):s+=E.css(t,"border"+ht[a]+"Width",!0,i));return!n&&o>=0&&(u+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-u-s-.5))||0),u+l}function le(t,e,r){var n=Xt(t),i=(!y.boxSizingReliable()||r)&&"border-box"===E.css(t,"boxSizing",!1,n),o=i,a=Jt(t,e,n),s="offset"+e[0].toUpperCase()+e.slice(1);if(qt.test(a)){if(!r)return a;a="auto"}return(!y.boxSizingReliable()&&i||!y.reliableTrDimensions()&&k(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===E.css(t,"display",!1,n))&&t.getClientRects().length&&(i="border-box"===E.css(t,"boxSizing",!1,n),(o=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+ue(t,e,r||(i?"border":"content"),o,n,a)+"px"}function ce(t,e,r,n,i){return new ce.prototype.init(t,e,r,n,i)}E.extend({cssHooks:{opacity:{get:function(t,e){if(e){var r=Jt(t,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!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,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,r,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,s=nt(e),u=zt.test(e),l=t.style;if(u||(e=ne(s)),a=E.cssHooks[e]||E.cssHooks[s],void 0===r)return a&&"get"in a&&void 0!==(i=a.get(t,!1,n))?i:l[e];"string"===(o=typeof r)&&(i=dt.exec(r))&&i[1]&&(r=vt(t,e,i),o="number"),null!=r&&r==r&&("number"!==o||u||(r+=i&&i[3]||(E.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==r||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(r=a.set(t,r,n))||(u?l.setProperty(e,r):l[e]=r))}},css:function(t,e,r,n){var i,o,a,s=nt(e);return zt.test(e)||(e=ne(s)),(a=E.cssHooks[e]||E.cssHooks[s])&&"get"in a&&(i=a.get(t,!0,r)),void 0===i&&(i=Jt(t,e,n)),"normal"===i&&e in ae&&(i=ae[e]),""===r||r?(o=parseFloat(i),!0===r||isFinite(o)?o||0:i):i}}),E.each(["height","width"],(function(t,e){E.cssHooks[e]={get:function(t,r,n){if(r)return!ie.test(E.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?le(t,e,n):Qt(t,oe,(function(){return le(t,e,n)}))},set:function(t,r,n){var i,o=Xt(t),a=!y.scrollboxSize()&&"absolute"===o.position,s=(a||n)&&"border-box"===E.css(t,"boxSizing",!1,o),u=n?ue(t,e,n,s,o):0;return s&&a&&(u-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ue(t,e,"border",!1,o)-.5)),u&&(i=dt.exec(r))&&"px"!==(i[3]||"px")&&(t.style[e]=r,r=E.css(t,e)),se(0,r,u)}}})),E.cssHooks.marginLeft=Kt(y.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Jt(t,"marginLeft"))||t.getBoundingClientRect().left-Qt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),E.each({margin:"",padding:"",border:"Width"},(function(t,e){E.cssHooks[t+e]={expand:function(r){for(var n=0,i={},o="string"==typeof r?r.split(" "):[r];n<4;n++)i[t+ht[n]+e]=o[n]||o[n-2]||o[0];return i}},"margin"!==t&&(E.cssHooks[t+e].set=se)})),E.fn.extend({css:function(t,e){return K(this,(function(t,e,r){var n,i,o={},a=0;if(Array.isArray(e)){for(n=Xt(t),i=e.length;a<i;a++)o[e[a]]=E.css(t,e[a],!1,n);return o}return void 0!==r?E.style(t,e,r):E.css(t,e)}),t,e,arguments.length>1)}}),E.Tween=ce,ce.prototype={constructor:ce,init:function(t,e,r,n,i,o){this.elem=t,this.prop=r,this.easing=i||E.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(E.cssNumber[r]?"":"px")},cur:function(){var t=ce.propHooks[this.prop];return t&&t.get?t.get(this):ce.propHooks._default.get(this)},run:function(t){var e,r=ce.propHooks[this.prop];return this.options.duration?this.pos=e=E.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):ce.propHooks._default.set(this),this}},ce.prototype.init.prototype=ce.prototype,ce.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=E.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){E.fx.step[t.prop]?E.fx.step[t.prop](t):1!==t.elem.nodeType||!E.cssHooks[t.prop]&&null==t.elem.style[ne(t.prop)]?t.elem[t.prop]=t.now:E.style(t.elem,t.prop,t.now+t.unit)}}},ce.propHooks.scrollTop=ce.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},E.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},E.fx=ce.prototype.init,E.fx.step={};var fe,de,he=/^(?:toggle|show|hide)$/,pe=/queueHooks$/;function ge(){de&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ge):n.setTimeout(ge,E.fx.interval),E.fx.tick())}function ye(){return n.setTimeout((function(){fe=void 0})),fe=Date.now()}function me(t,e){var r,n=0,i={height:t};for(e=e?1:0;n<4;n+=2-e)i["margin"+(r=ht[n])]=i["padding"+r]=t;return e&&(i.opacity=i.width=t),i}function ve(t,e,r){for(var n,i=(be.tweeners[e]||[]).concat(be.tweeners["*"]),o=0,a=i.length;o<a;o++)if(n=i[o].call(r,e,t))return n}function be(t,e,r){var n,i,o=0,a=be.prefilters.length,s=E.Deferred().always((function(){delete u.elem})),u=function(){if(i)return!1;for(var e=fe||ye(),r=Math.max(0,l.startTime+l.duration-e),n=1-(r/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(n);return s.notifyWith(t,[l,n,r]),n<1&&a?r:(a||s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l]),!1)},l=s.promise({elem:t,props:E.extend({},e),opts:E.extend(!0,{specialEasing:{},easing:E.easing._default},r),originalProperties:e,originalOptions:r,startTime:fe||ye(),duration:r.duration,tweens:[],createTween:function(e,r){var n=E.Tween(t,l.opts,e,r,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var r=0,n=e?l.tweens.length:0;if(i)return this;for(i=!0;r<n;r++)l.tweens[r].run(1);return e?(s.notifyWith(t,[l,1,0]),s.resolveWith(t,[l,e])):s.rejectWith(t,[l,e]),this}}),c=l.props;for(!function(t,e){var r,n,i,o,a;for(r in t)if(i=e[n=nt(r)],o=t[r],Array.isArray(o)&&(i=o[1],o=t[r]=o[0]),r!==n&&(t[n]=o,delete t[r]),(a=E.cssHooks[n])&&"expand"in a)for(r in o=a.expand(o),delete t[n],o)r in t||(t[r]=o[r],e[r]=i);else e[n]=i}(c,l.opts.specialEasing);o<a;o++)if(n=be.prefilters[o].call(l,t,c,l.opts))return m(n.stop)&&(E._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return E.map(c,ve,l),m(l.opts.start)&&l.opts.start.call(t,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),E.fx.timer(E.extend(u,{elem:t,anim:l,queue:l.opts.queue})),l}E.Animation=E.extend(be,{tweeners:{"*":[function(t,e){var r=this.createTween(t,e);return vt(r.elem,t,dt.exec(e),r),r}]},tweener:function(t,e){m(t)?(e=t,t=["*"]):t=t.match($);for(var r,n=0,i=t.length;n<i;n++)r=t[n],be.tweeners[r]=be.tweeners[r]||[],be.tweeners[r].unshift(e)},prefilters:[function(t,e,r){var n,i,o,a,s,u,l,c,f="width"in e||"height"in e,d=this,h={},p=t.style,g=t.nodeType&&mt(t),y=at.get(t,"fxshow");for(n in r.queue||(null==(a=E._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,E.queue(t,"fx").length||a.empty.fire()}))}))),e)if(i=e[n],he.test(i)){if(delete e[n],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[n])continue;g=!0}h[n]=y&&y[n]||E.style(t,n)}if((u=!E.isEmptyObject(e))||!E.isEmptyObject(h))for(n in f&&1===t.nodeType&&(r.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=y&&y.display)&&(l=at.get(t,"display")),"none"===(c=E.css(t,"display"))&&(l?c=l:(_t([t],!0),l=t.style.display||l,c=E.css(t,"display"),_t([t]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===E.css(t,"float")&&(u||(d.done((function(){p.display=l})),null==l&&(c=p.display,l="none"===c?"":c)),p.display="inline-block")),r.overflow&&(p.overflow="hidden",d.always((function(){p.overflow=r.overflow[0],p.overflowX=r.overflow[1],p.overflowY=r.overflow[2]}))),u=!1,h)u||(y?"hidden"in y&&(g=y.hidden):y=at.access(t,"fxshow",{display:l}),o&&(y.hidden=!g),g&&_t([t],!0),d.done((function(){for(n in g||_t([t]),at.remove(t,"fxshow"),h)E.style(t,n,h[n])}))),u=ve(g?y[n]:0,n,d),n in y||(y[n]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(t,e){e?be.prefilters.unshift(t):be.prefilters.push(t)}}),E.speed=function(t,e,r){var n=t&&"object"==typeof t?E.extend({},t):{complete:r||!r&&e||m(t)&&t,duration:t,easing:r&&e||e&&!m(e)&&e};return E.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in E.fx.speeds?n.duration=E.fx.speeds[n.duration]:n.duration=E.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){m(n.old)&&n.old.call(this),n.queue&&E.dequeue(this,n.queue)},n},E.fn.extend({fadeTo:function(t,e,r,n){return this.filter(mt).css("opacity",0).show().end().animate({opacity:e},t,r,n)},animate:function(t,e,r,n){var i=E.isEmptyObject(t),o=E.speed(e,r,n),a=function(){var e=be(this,E.extend({},t),o);(i||at.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,r){var n=function(t){var e=t.stop;delete t.stop,e(r)};return"string"!=typeof t&&(r=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,i=null!=t&&t+"queueHooks",o=E.timers,a=at.get(this);if(i)a[i]&&a[i].stop&&n(a[i]);else for(i in a)a[i]&&a[i].stop&&pe.test(i)&&n(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(r),e=!1,o.splice(i,1));!e&&r||E.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,r=at.get(this),n=r[t+"queue"],i=r[t+"queueHooks"],o=E.timers,a=n?n.length:0;for(r.finish=!0,E.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete r.finish}))}}),E.each(["toggle","show","hide"],(function(t,e){var r=E.fn[e];E.fn[e]=function(t,n,i){return null==t||"boolean"==typeof t?r.apply(this,arguments):this.animate(me(e,!0),t,n,i)}})),E.each({slideDown:me("show"),slideUp:me("hide"),slideToggle:me("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){E.fn[t]=function(t,r,n){return this.animate(e,t,r,n)}})),E.timers=[],E.fx.tick=function(){var t,e=0,r=E.timers;for(fe=Date.now();e<r.length;e++)(t=r[e])()||r[e]!==t||r.splice(e--,1);r.length||E.fx.stop(),fe=void 0},E.fx.timer=function(t){E.timers.push(t),E.fx.start()},E.fx.interval=13,E.fx.start=function(){de||(de=!0,ge())},E.fx.stop=function(){de=null},E.fx.speeds={slow:600,fast:200,_default:400},E.fn.delay=function(t,e){return t=E.fx&&E.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}}))},function(){var t=b.createElement("input"),e=b.createElement("select").appendChild(b.createElement("option"));t.type="checkbox",y.checkOn=""!==t.value,y.optSelected=e.selected,(t=b.createElement("input")).value="t",t.type="radio",y.radioValue="t"===t.value}();var we,_e=E.expr.attrHandle;E.fn.extend({attr:function(t,e){return K(this,E.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){E.removeAttr(this,t)}))}}),E.extend({attr:function(t,e,r){var n,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?E.prop(t,e,r):(1===o&&E.isXMLDoc(t)||(i=E.attrHooks[e.toLowerCase()]||(E.expr.match.bool.test(e)?we:void 0)),void 0!==r?null===r?void E.removeAttr(t,e):i&&"set"in i&&void 0!==(n=i.set(t,r,e))?n:(t.setAttribute(e,r+""),r):i&&"get"in i&&null!==(n=i.get(t,e))?n:null==(n=E.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!y.radioValue&&"radio"===e&&k(t,"input")){var r=t.value;return t.setAttribute("type",e),r&&(t.value=r),e}}}},removeAttr:function(t,e){var r,n=0,i=e&&e.match($);if(i&&1===t.nodeType)for(;r=i[n++];)t.removeAttribute(r)}}),we={set:function(t,e,r){return!1===e?E.removeAttr(t,r):t.setAttribute(r,r),r}},E.each(E.expr.match.bool.source.match(/\w+/g),(function(t,e){var r=_e[e]||E.find.attr;_e[e]=function(t,e,n){var i,o,a=e.toLowerCase();return n||(o=_e[a],_e[a]=i,i=null!=r(t,e,n)?a:null,_e[a]=o),i}}));var xe=/^(?:input|select|textarea|button)$/i,Se=/^(?:a|area)$/i;function Ee(t){return(t.match($)||[]).join(" ")}function Te(t){return t.getAttribute&&t.getAttribute("class")||""}function ke(t){return Array.isArray(t)?t:"string"==typeof t&&t.match($)||[]}E.fn.extend({prop:function(t,e){return K(this,E.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[E.propFix[t]||t]}))}}),E.extend({prop:function(t,e,r){var n,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&E.isXMLDoc(t)||(e=E.propFix[e]||e,i=E.propHooks[e]),void 0!==r?i&&"set"in i&&void 0!==(n=i.set(t,r,e))?n:t[e]=r:i&&"get"in i&&null!==(n=i.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=E.find.attr(t,"tabindex");return e?parseInt(e,10):xe.test(t.nodeName)||Se.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(E.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),E.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){E.propFix[this.toLowerCase()]=this})),E.fn.extend({addClass:function(t){var e,r,n,i,o,a;return m(t)?this.each((function(e){E(this).addClass(t.call(this,e,Te(this)))})):(e=ke(t)).length?this.each((function(){if(n=Te(this),r=1===this.nodeType&&" "+Ee(n)+" "){for(o=0;o<e.length;o++)i=e[o],r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=Ee(r),n!==a&&this.setAttribute("class",a)}})):this},removeClass:function(t){var e,r,n,i,o,a;return m(t)?this.each((function(e){E(this).removeClass(t.call(this,e,Te(this)))})):arguments.length?(e=ke(t)).length?this.each((function(){if(n=Te(this),r=1===this.nodeType&&" "+Ee(n)+" "){for(o=0;o<e.length;o++)for(i=e[o];r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a=Ee(r),n!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(t,e){var r,n,i,o,a=typeof t,s="string"===a||Array.isArray(t);return m(t)?this.each((function(r){E(this).toggleClass(t.call(this,r,Te(this),e),e)})):"boolean"==typeof e&&s?e?this.addClass(t):this.removeClass(t):(r=ke(t),this.each((function(){if(s)for(o=E(this),i=0;i<r.length;i++)n=r[i],o.hasClass(n)?o.removeClass(n):o.addClass(n);else void 0!==t&&"boolean"!==a||((n=Te(this))&&at.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===t?"":at.get(this,"__className__")||""))})))},hasClass:function(t){var e,r,n=0;for(e=" "+t+" ";r=this[n++];)if(1===r.nodeType&&(" "+Ee(Te(r))+" ").indexOf(e)>-1)return!0;return!1}});var Oe=/\r/g;E.fn.extend({val:function(t){var e,r,n,i=this[0];return arguments.length?(n=m(t),this.each((function(r){var i;1===this.nodeType&&(null==(i=n?t.call(this,r,E(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=E.map(i,(function(t){return null==t?"":t+""}))),(e=E.valHooks[this.type]||E.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))}))):i?(e=E.valHooks[i.type]||E.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(r=e.get(i,"value"))?r:"string"==typeof(r=i.value)?r.replace(Oe,""):null==r?"":r:void 0}}),E.extend({valHooks:{option:{get:function(t){var e=E.find.attr(t,"value");return null!=e?e:Ee(E.text(t))}},select:{get:function(t){var e,r,n,i=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],u=a?o+1:i.length;for(n=o<0?u:a?o:0;n<u;n++)if(((r=i[n]).selected||n===o)&&!r.disabled&&(!r.parentNode.disabled||!k(r.parentNode,"optgroup"))){if(e=E(r).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var r,n,i=t.options,o=E.makeArray(e),a=i.length;a--;)((n=i[a]).selected=E.inArray(E.valHooks.option.get(n),o)>-1)&&(r=!0);return r||(t.selectedIndex=-1),o}}}}),E.each(["radio","checkbox"],(function(){E.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=E.inArray(E(t).val(),e)>-1}},y.checkOn||(E.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}));var Ae=n.location,Ce={guid:Date.now()},Pe=/\?/;E.parseXML=function(t){var e,r;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){}return r=e&&e.getElementsByTagName("parsererror")[0],e&&!r||E.error("Invalid XML: "+(r?E.map(r.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var je=/^(?:focusinfocus|focusoutblur)$/,Re=function(t){t.stopPropagation()};E.extend(E.event,{trigger:function(t,e,r,i){var o,a,s,u,l,c,f,d,p=[r||b],g=h.call(t,"type")?t.type:t,y=h.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=r=r||b,3!==r.nodeType&&8!==r.nodeType&&!je.test(g+E.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),l=g.indexOf(":")<0&&"on"+g,(t=t[E.expando]?t:new E.Event(g,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:E.makeArray(e,[t]),f=E.event.special[g]||{},i||!f.trigger||!1!==f.trigger.apply(r,e))){if(!i&&!f.noBubble&&!v(r)){for(u=f.delegateType||g,je.test(u+g)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||b)&&p.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=p[o++])&&!t.isPropagationStopped();)d=a,t.type=o>1?u:f.bindType||g,(c=(at.get(a,"events")||Object.create(null))[t.type]&&at.get(a,"handle"))&&c.apply(a,e),(c=l&&a[l])&&c.apply&&it(a)&&(t.result=c.apply(a,e),!1===t.result&&t.preventDefault());return t.type=g,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(p.pop(),e)||!it(r)||l&&m(r[g])&&!v(r)&&((s=r[l])&&(r[l]=null),E.event.triggered=g,t.isPropagationStopped()&&d.addEventListener(g,Re),r[g](),t.isPropagationStopped()&&d.removeEventListener(g,Re),E.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(t,e,r){var n=E.extend(new E.Event,r,{type:t,isSimulated:!0});E.event.trigger(n,null,e)}}),E.fn.extend({trigger:function(t,e){return this.each((function(){E.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var r=this[0];if(r)return E.event.trigger(t,e,r,!0)}});var Ne=/\[\]$/,Ie=/\r?\n/g,De=/^(?:submit|button|image|reset|file)$/i,Le=/^(?:input|select|textarea|keygen)/i;function Me(t,e,r,n){var i;if(Array.isArray(e))E.each(e,(function(e,i){r||Ne.test(t)?n(t,i):Me(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,r,n)}));else if(r||"object"!==x(e))n(t,e);else for(i in e)Me(t+"["+i+"]",e[i],r,n)}E.param=function(t,e){var r,n=[],i=function(t,e){var r=m(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==r?"":r)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!E.isPlainObject(t))E.each(t,(function(){i(this.name,this.value)}));else for(r in t)Me(r,t[r],e,i);return n.join("&")},E.fn.extend({serialize:function(){return E.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=E.prop(this,"elements");return t?E.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!E(this).is(":disabled")&&Le.test(this.nodeName)&&!De.test(t)&&(this.checked||!Et.test(t))})).map((function(t,e){var r=E(this).val();return null==r?null:Array.isArray(r)?E.map(r,(function(t){return{name:e.name,value:t.replace(Ie,"\r\n")}})):{name:e.name,value:r.replace(Ie,"\r\n")}})).get()}});var Fe=/%20/g,Be=/#.*$/,Ve=/([?&])_=[^&]*/,Ue=/^(.*?):[ \t]*([^\r\n]*)$/gm,We=/^(?:GET|HEAD)$/,He=/^\/\//,Ge={},Ye={},$e="*/".concat("*"),qe=b.createElement("a");function ze(t){return function(e,r){"string"!=typeof e&&(r=e,e="*");var n,i=0,o=e.toLowerCase().match($)||[];if(m(r))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(r)):(t[n]=t[n]||[]).push(r)}}function Xe(t,e,r,n){var i={},o=t===Ye;function a(s){var u;return i[s]=!0,E.each(t[s]||[],(function(t,s){var l=s(e,r,n);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(e.dataTypes.unshift(l),a(l),!1)})),u}return a(e.dataTypes[0])||!i["*"]&&a("*")}function Qe(t,e){var r,n,i=E.ajaxSettings.flatOptions||{};for(r in e)void 0!==e[r]&&((i[r]?t:n||(n={}))[r]=e[r]);return n&&E.extend(!0,t,n),t}qe.href=Ae.href,E.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ae.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ae.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$e,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":E.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Qe(Qe(t,E.ajaxSettings),e):Qe(E.ajaxSettings,t)},ajaxPrefilter:ze(Ge),ajaxTransport:ze(Ye),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,i,o,a,s,u,l,c,f,d,h=E.ajaxSetup({},e),p=h.context||h,g=h.context&&(p.nodeType||p.jquery)?E(p):E.event,y=E.Deferred(),m=E.Callbacks("once memory"),v=h.statusCode||{},w={},_={},x="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(l){if(!a)for(a={};e=Ue.exec(o);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(t,e){return null==l&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==l&&(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)S.always(t[S.status]);else for(e in t)v[e]=[v[e],t[e]];return this},abort:function(t){var e=t||x;return r&&r.abort(e),T(0,e),this}};if(y.promise(S),h.url=((t||h.url||Ae.href)+"").replace(He,Ae.protocol+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match($)||[""],null==h.crossDomain){u=b.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=qe.protocol+"//"+qe.host!=u.protocol+"//"+u.host}catch(t){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=E.param(h.data,h.traditional)),Xe(Ge,h,e,S),l)return S;for(f in(c=E.event&&h.global)&&0==E.active++&&E.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!We.test(h.type),i=h.url.replace(Be,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Fe,"+")):(d=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Pe.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Ve,"$1"),d=(Pe.test(i)?"&":"?")+"_="+Ce.guid+++d),h.url=i+d),h.ifModified&&(E.lastModified[i]&&S.setRequestHeader("If-Modified-Since",E.lastModified[i]),E.etag[i]&&S.setRequestHeader("If-None-Match",E.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||e.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$e+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(p,S,h)||l))return S.abort();if(x="abort",m.add(h.complete),S.done(h.success),S.fail(h.error),r=Xe(Ye,h,e,S)){if(S.readyState=1,c&&g.trigger("ajaxSend",[S,h]),l)return S;h.async&&h.timeout>0&&(s=n.setTimeout((function(){S.abort("timeout")}),h.timeout));try{l=!1,r.send(w,T)}catch(t){if(l)throw t;T(-1,t)}}else T(-1,"No Transport");function T(t,e,a,u){var f,d,b,w,_,x=e;l||(l=!0,s&&n.clearTimeout(s),r=void 0,o=u||"",S.readyState=t>0?4:0,f=t>=200&&t<300||304===t,a&&(w=function(t,e,r){for(var n,i,o,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(i in s)if(s[i]&&s[i].test(n)){u.unshift(i);break}if(u[0]in r)o=u[0];else{for(i in r){if(!u[0]||t.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),r[o]}(h,S,a)),!f&&E.inArray("script",h.dataTypes)>-1&&E.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),w=function(t,e,r,n){var i,o,a,s,u,l={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)l[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(r[t.responseFields[o]]=e),!u&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}(h,w,S,f),f?(h.ifModified&&((_=S.getResponseHeader("Last-Modified"))&&(E.lastModified[i]=_),(_=S.getResponseHeader("etag"))&&(E.etag[i]=_)),204===t||"HEAD"===h.type?x="nocontent":304===t?x="notmodified":(x=w.state,d=w.data,f=!(b=w.error))):(b=x,!t&&x||(x="error",t<0&&(t=0))),S.status=t,S.statusText=(e||x)+"",f?y.resolveWith(p,[d,x,S]):y.rejectWith(p,[S,x,b]),S.statusCode(v),v=void 0,c&&g.trigger(f?"ajaxSuccess":"ajaxError",[S,h,f?d:b]),m.fireWith(p,[S,x]),c&&(g.trigger("ajaxComplete",[S,h]),--E.active||E.event.trigger("ajaxStop")))}return S},getJSON:function(t,e,r){return E.get(t,e,r,"json")},getScript:function(t,e){return E.get(t,void 0,e,"script")}}),E.each(["get","post"],(function(t,e){E[e]=function(t,r,n,i){return m(r)&&(i=i||n,n=r,r=void 0),E.ajax(E.extend({url:t,type:e,dataType:i,data:r,success:n},E.isPlainObject(t)&&t))}})),E.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),E._evalUrl=function(t,e,r){return E.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){E.globalEval(t,e,r)}})},E.fn.extend({wrapAll:function(t){var e;return this[0]&&(m(t)&&(t=t.call(this[0])),e=E(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return m(t)?this.each((function(e){E(this).wrapInner(t.call(this,e))})):this.each((function(){var e=E(this),r=e.contents();r.length?r.wrapAll(t):e.append(t)}))},wrap:function(t){var e=m(t);return this.each((function(r){E(this).wrapAll(e?t.call(this,r):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){E(this).replaceWith(this.childNodes)})),this}}),E.expr.pseudos.hidden=function(t){return!E.expr.pseudos.visible(t)},E.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},E.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ze={0:200,1223:204},Je=E.ajaxSettings.xhr();y.cors=!!Je&&"withCredentials"in Je,y.ajax=Je=!!Je,E.ajaxTransport((function(t){var e,r;if(y.cors||Je&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);e=function(t){return function(){e&&(e=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Ze[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),r=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){e&&r()}))},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),E.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),E.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return E.globalEval(t),t}}}),E.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),E.ajaxTransport("script",(function(t){var e,r;if(t.crossDomain||t.scriptAttrs)return{send:function(n,i){e=E("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",r=function(t){e.remove(),r=null,t&&i("error"===t.type?404:200,t.type)}),b.head.appendChild(e[0])},abort:function(){r&&r()}}}));var Ke,tr=[],er=/(=)\?(?=&|$)|\?\?/;E.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=tr.pop()||E.expando+"_"+Ce.guid++;return this[t]=!0,t}}),E.ajaxPrefilter("json jsonp",(function(t,e,r){var i,o,a,s=!1!==t.jsonp&&(er.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&er.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(er,"$1"+i):!1!==t.jsonp&&(t.url+=(Pe.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||E.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always((function(){void 0===o?E(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,tr.push(i)),a&&m(o)&&o(a[0]),a=o=void 0})),"script"})),y.createHTMLDocument=((Ke=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ke.childNodes.length),E.parseHTML=function(t,e,r){return"string"!=typeof t?[]:("boolean"==typeof e&&(r=e,e=!1),e||(y.createHTMLDocument?((n=(e=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,e.head.appendChild(n)):e=b),o=!r&&[],(i=B.exec(t))?[e.createElement(i[1])]:(i=jt([t],e,o),o&&o.length&&E(o).remove(),E.merge([],i.childNodes)));var n,i,o},E.fn.load=function(t,e,r){var n,i,o,a=this,s=t.indexOf(" ");return s>-1&&(n=Ee(t.slice(s)),t=t.slice(0,s)),m(e)?(r=e,e=void 0):e&&"object"==typeof e&&(i="POST"),a.length>0&&E.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done((function(t){o=arguments,a.html(n?E("<div>").append(E.parseHTML(t)).find(n):t)})).always(r&&function(t,e){a.each((function(){r.apply(this,o||[t.responseText,e,t])}))}),this},E.expr.pseudos.animated=function(t){return E.grep(E.timers,(function(e){return t===e.elem})).length},E.offset={setOffset:function(t,e,r){var n,i,o,a,s,u,l=E.css(t,"position"),c=E(t),f={};"static"===l&&(t.style.position="relative"),s=c.offset(),o=E.css(t,"top"),u=E.css(t,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(a=(n=c.position()).top,i=n.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(e)&&(e=e.call(t,r,E.extend({},s))),null!=e.top&&(f.top=e.top-s.top+a),null!=e.left&&(f.left=e.left-s.left+i),"using"in e?e.using.call(t,f):c.css(f)}},E.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){E.offset.setOffset(this,t,e)}));var e,r,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),r=n.ownerDocument.defaultView,{top:e.top+r.pageYOffset,left:e.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,r,n=this[0],i={top:0,left:0};if("fixed"===E.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),r=n.ownerDocument,t=n.offsetParent||r.documentElement;t&&(t===r.body||t===r.documentElement)&&"static"===E.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((i=E(t).offset()).top+=E.css(t,"borderTopWidth",!0),i.left+=E.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-E.css(n,"marginTop",!0),left:e.left-i.left-E.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===E.css(t,"position");)t=t.offsetParent;return t||pt}))}}),E.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var r="pageYOffset"===e;E.fn[t]=function(n){return K(this,(function(t,n,i){var o;if(v(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[n];o?o.scrollTo(r?o.pageXOffset:i,r?i:o.pageYOffset):t[n]=i}),t,n,arguments.length)}})),E.each(["top","left"],(function(t,e){E.cssHooks[e]=Kt(y.pixelPosition,(function(t,r){if(r)return r=Jt(t,e),qt.test(r)?E(t).position()[e]+"px":r}))})),E.each({Height:"height",Width:"width"},(function(t,e){E.each({padding:"inner"+t,content:e,"":"outer"+t},(function(r,n){E.fn[n]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(!0===i||!0===o?"margin":"border");return K(this,(function(e,r,i){var o;return v(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?E.css(e,r,s):E.style(e,r,i,s)}),e,a?i:void 0,a)}}))})),E.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){E.fn[e]=function(t){return this.on(e,t)}})),E.fn.extend({bind:function(t,e,r){return this.on(t,null,e,r)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,r,n){return this.on(e,t,r,n)},undelegate:function(t,e,r){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",r)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||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(t,e){E.fn[e]=function(t,r){return arguments.length>0?this.on(e,null,t,r):this.trigger(e)}}));var rr=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;E.proxy=function(t,e){var r,n,i;if("string"==typeof e&&(r=t[e],e=t,t=r),m(t))return n=s.call(arguments,2),(i=function(){return t.apply(e||this,n.concat(s.call(arguments)))}).guid=t.guid=t.guid||E.guid++,i},E.holdReady=function(t){t?E.readyWait++:E.ready(!0)},E.isArray=Array.isArray,E.parseJSON=JSON.parse,E.nodeName=k,E.isFunction=m,E.isWindow=v,E.camelCase=nt,E.type=x,E.now=Date.now,E.isNumeric=function(t){var e=E.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},E.trim=function(t){return null==t?"":(t+"").replace(rr,"$1")},void 0===(r=function(){return E}.apply(e,[]))||(t.exports=r);var nr=n.jQuery,ir=n.$;return E.noConflict=function(t){return n.$===E&&(n.$=ir),t&&n.jQuery===E&&(n.jQuery=nr),E},void 0===i&&(n.jQuery=n.$=E),E}))},2568:(t,e,r)=>{var n,i,o,a,s;n=r(71012),i=r(40487).utf8,o=r(48738),a=r(40487).bin,(s=function(t,e){t.constructor==String?t=e&&"binary"===e.encoding?a.stringToBytes(t):i.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var r=n.bytesToWords(t),u=8*t.length,l=1732584193,c=-271733879,f=-1732584194,d=271733878,h=0;h<r.length;h++)r[h]=16711935&(r[h]<<8|r[h]>>>24)|4278255360&(r[h]<<24|r[h]>>>8);r[u>>>5]|=128<<u%32,r[14+(u+64>>>9<<4)]=u;var p=s._ff,g=s._gg,y=s._hh,m=s._ii;for(h=0;h<r.length;h+=16){var v=l,b=c,w=f,_=d;l=p(l,c,f,d,r[h+0],7,-680876936),d=p(d,l,c,f,r[h+1],12,-389564586),f=p(f,d,l,c,r[h+2],17,606105819),c=p(c,f,d,l,r[h+3],22,-1044525330),l=p(l,c,f,d,r[h+4],7,-176418897),d=p(d,l,c,f,r[h+5],12,1200080426),f=p(f,d,l,c,r[h+6],17,-1473231341),c=p(c,f,d,l,r[h+7],22,-45705983),l=p(l,c,f,d,r[h+8],7,1770035416),d=p(d,l,c,f,r[h+9],12,-1958414417),f=p(f,d,l,c,r[h+10],17,-42063),c=p(c,f,d,l,r[h+11],22,-1990404162),l=p(l,c,f,d,r[h+12],7,1804603682),d=p(d,l,c,f,r[h+13],12,-40341101),f=p(f,d,l,c,r[h+14],17,-1502002290),l=g(l,c=p(c,f,d,l,r[h+15],22,1236535329),f,d,r[h+1],5,-165796510),d=g(d,l,c,f,r[h+6],9,-1069501632),f=g(f,d,l,c,r[h+11],14,643717713),c=g(c,f,d,l,r[h+0],20,-373897302),l=g(l,c,f,d,r[h+5],5,-701558691),d=g(d,l,c,f,r[h+10],9,38016083),f=g(f,d,l,c,r[h+15],14,-660478335),c=g(c,f,d,l,r[h+4],20,-405537848),l=g(l,c,f,d,r[h+9],5,568446438),d=g(d,l,c,f,r[h+14],9,-1019803690),f=g(f,d,l,c,r[h+3],14,-187363961),c=g(c,f,d,l,r[h+8],20,1163531501),l=g(l,c,f,d,r[h+13],5,-1444681467),d=g(d,l,c,f,r[h+2],9,-51403784),f=g(f,d,l,c,r[h+7],14,1735328473),l=y(l,c=g(c,f,d,l,r[h+12],20,-1926607734),f,d,r[h+5],4,-378558),d=y(d,l,c,f,r[h+8],11,-2022574463),f=y(f,d,l,c,r[h+11],16,1839030562),c=y(c,f,d,l,r[h+14],23,-35309556),l=y(l,c,f,d,r[h+1],4,-1530992060),d=y(d,l,c,f,r[h+4],11,1272893353),f=y(f,d,l,c,r[h+7],16,-155497632),c=y(c,f,d,l,r[h+10],23,-1094730640),l=y(l,c,f,d,r[h+13],4,681279174),d=y(d,l,c,f,r[h+0],11,-358537222),f=y(f,d,l,c,r[h+3],16,-722521979),c=y(c,f,d,l,r[h+6],23,76029189),l=y(l,c,f,d,r[h+9],4,-640364487),d=y(d,l,c,f,r[h+12],11,-421815835),f=y(f,d,l,c,r[h+15],16,530742520),l=m(l,c=y(c,f,d,l,r[h+2],23,-995338651),f,d,r[h+0],6,-198630844),d=m(d,l,c,f,r[h+7],10,1126891415),f=m(f,d,l,c,r[h+14],15,-1416354905),c=m(c,f,d,l,r[h+5],21,-57434055),l=m(l,c,f,d,r[h+12],6,1700485571),d=m(d,l,c,f,r[h+3],10,-1894986606),f=m(f,d,l,c,r[h+10],15,-1051523),c=m(c,f,d,l,r[h+1],21,-2054922799),l=m(l,c,f,d,r[h+8],6,1873313359),d=m(d,l,c,f,r[h+15],10,-30611744),f=m(f,d,l,c,r[h+6],15,-1560198380),c=m(c,f,d,l,r[h+13],21,1309151649),l=m(l,c,f,d,r[h+4],6,-145523070),d=m(d,l,c,f,r[h+11],10,-1120210379),f=m(f,d,l,c,r[h+2],15,718787259),c=m(c,f,d,l,r[h+9],21,-343485551),l=l+v>>>0,c=c+b>>>0,f=f+w>>>0,d=d+_>>>0}return n.endian([l,c,f,d])})._ff=function(t,e,r,n,i,o,a){var s=t+(e&r|~e&n)+(i>>>0)+a;return(s<<o|s>>>32-o)+e},s._gg=function(t,e,r,n,i,o,a){var s=t+(e&n|r&~n)+(i>>>0)+a;return(s<<o|s>>>32-o)+e},s._hh=function(t,e,r,n,i,o,a){var s=t+(e^r^n)+(i>>>0)+a;return(s<<o|s>>>32-o)+e},s._ii=function(t,e,r,n,i,o,a){var s=t+(r^(e|~n))+(i>>>0)+a;return(s<<o|s>>>32-o)+e},s._blocksize=16,s._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error("Illegal argument "+t);var r=n.wordsToBytes(s(t,e));return e&&e.asBytes?r:e&&e.asString?a.bytesToString(r):n.bytesToHex(r)}},30381:function(t,e,r){(t=r.nmd(t)).exports=function(){"use strict";var e,r;function n(){return e.apply(null,arguments)}function i(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function s(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(a(t,e))return!1;return!0}function u(t){return void 0===t}function l(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function c(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function f(t,e){var r,n=[],i=t.length;for(r=0;r<i;++r)n.push(e(t[r],r));return n}function d(t,e){for(var r in e)a(e,r)&&(t[r]=e[r]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,r,n){return Ee(t,e,r,n,!0).utc()}function p(t){return null==t._pf&&(t._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}),t._pf}function g(t){if(null==t._isValid){var e=p(t),n=r.call(e.parsedDateParts,(function(t){return null!=t})),i=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return i;t._isValid=i}return t._isValid}function y(t){var e=h(NaN);return null!=t?d(p(e),t):p(e).userInvalidated=!0,e}r=Array.prototype.some?Array.prototype.some:function(t){var e,r=Object(this),n=r.length>>>0;for(e=0;e<n;e++)if(e in r&&t.call(this,r[e],e,r))return!0;return!1};var m=n.momentProperties=[],v=!1;function b(t,e){var r,n,i,o=m.length;if(u(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),u(e._i)||(t._i=e._i),u(e._f)||(t._f=e._f),u(e._l)||(t._l=e._l),u(e._strict)||(t._strict=e._strict),u(e._tzm)||(t._tzm=e._tzm),u(e._isUTC)||(t._isUTC=e._isUTC),u(e._offset)||(t._offset=e._offset),u(e._pf)||(t._pf=p(e)),u(e._locale)||(t._locale=e._locale),o>0)for(r=0;r<o;r++)u(i=e[n=m[r]])||(t[n]=i);return t}function w(t){b(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,n.updateOffset(this),v=!1)}function _(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function x(t){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function S(t,e){var r=!0;return d((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,t),r){var i,o,s,u=[],l=arguments.length;for(o=0;o<l;o++){if(i="","object"==typeof arguments[o]){for(s in i+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[o];u.push(i)}x(t+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),r=!1}return e.apply(this,arguments)}),e)}var E,T={};function k(t,e){null!=n.deprecationHandler&&n.deprecationHandler(t,e),T[t]||(x(e),T[t]=!0)}function O(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function A(t,e){var r,n=d({},t);for(r in e)a(e,r)&&(o(t[r])&&o(e[r])?(n[r]={},d(n[r],t[r]),d(n[r],e[r])):null!=e[r]?n[r]=e[r]:delete n[r]);for(r in t)a(t,r)&&!a(e,r)&&o(t[r])&&(n[r]=d({},n[r]));return n}function C(t){null!=t&&this.set(t)}function P(t,e,r){var n=""+Math.abs(t),i=e-n.length;return(t>=0?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,E=Object.keys?Object.keys:function(t){var e,r=[];for(e in t)a(t,e)&&r.push(e);return r};var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},I={};function D(t,e,r,n){var i=n;"string"==typeof n&&(i=function(){return this[n]()}),t&&(I[t]=i),e&&(I[e[0]]=function(){return P(i.apply(this,arguments),e[1],e[2])}),r&&(I[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function L(t,e){return t.isValid()?(e=M(e,t.localeData()),N[e]=N[e]||function(t){var e,r,n,i=t.match(j);for(e=0,r=i.length;e<r;e++)I[i[e]]?i[e]=I[i[e]]:i[e]=(n=i[e]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(e){var n,o="";for(n=0;n<r;n++)o+=O(i[n])?i[n].call(e,t):i[n];return o}}(e),N[e](t)):t.localeData().invalidDate()}function M(t,e){var r=5;function n(t){return e.longDateFormat(t)||t}for(R.lastIndex=0;r>=0&&R.test(t);)t=t.replace(R,n),R.lastIndex=0,r-=1;return t}var F={};function B(t,e){var r=t.toLowerCase();F[r]=F[r+"s"]=F[e]=t}function V(t){return"string"==typeof t?F[t]||F[t.toLowerCase()]:void 0}function U(t){var e,r,n={};for(r in t)a(t,r)&&(e=V(r))&&(n[e]=t[r]);return n}var W={};function H(t,e){W[t]=e}function G(t){return t%4==0&&t%100!=0||t%400==0}function Y(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function $(t){var e=+t,r=0;return 0!==e&&isFinite(e)&&(r=Y(e)),r}function q(t,e){return function(r){return null!=r?(X(this,t,r),n.updateOffset(this,e),this):z(this,t)}}function z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function X(t,e,r){t.isValid()&&!isNaN(r)&&("FullYear"===e&&G(t.year())&&1===t.month()&&29===t.date()?(r=$(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),_t(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}var Q,Z=/\d/,J=/\d\d/,K=/\d{3}/,tt=/\d{4}/,et=/[+-]?\d{6}/,rt=/\d\d?/,nt=/\d\d\d\d?/,it=/\d\d\d\d\d\d?/,ot=/\d{1,3}/,at=/\d{1,4}/,st=/[+-]?\d{1,6}/,ut=/\d+/,lt=/[+-]?\d+/,ct=/Z|[+-]\d\d:?\d\d/gi,ft=/Z|[+-]\d\d(?::?\d\d)?/gi,dt=/[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 ht(t,e,r){Q[t]=O(e)?e:function(t,n){return t&&r?r:e}}function pt(t,e){return a(Q,t)?Q[t](e._strict,e._locale):new RegExp(function(t){return gt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,r,n,i){return e||r||n||i})))}(t))}function gt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var yt,mt={};function vt(t,e){var r,n,i=e;for("string"==typeof t&&(t=[t]),l(e)&&(i=function(t,r){r[e]=$(t)}),n=t.length,r=0;r<n;r++)mt[t[r]]=i}function bt(t,e){vt(t,(function(t,r,n,i){n._w=n._w||{},e(t,n._w,n,i)}))}function wt(t,e,r){null!=e&&a(mt,t)&&mt[t](e,r._a,r,t)}function _t(t,e){if(isNaN(t)||isNaN(e))return NaN;var r,n=(e%(r=12)+r)%r;return t+=(e-n)/12,1===n?G(t)?29:28:31-n%7%2}yt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},D("M",["MM",2],"Mo",(function(){return this.month()+1})),D("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),D("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),B("month","M"),H("month",8),ht("M",rt),ht("MM",rt,J),ht("MMM",(function(t,e){return e.monthsShortRegex(t)})),ht("MMMM",(function(t,e){return e.monthsRegex(t)})),vt(["M","MM"],(function(t,e){e[1]=$(t)-1})),vt(["MMM","MMMM"],(function(t,e,r,n){var i=r._locale.monthsParse(t,n,r._strict);null!=i?e[1]=i:p(r).invalidMonth=t}));var xt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),St="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Et=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Tt=dt,kt=dt;function Ot(t,e,r){var n,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=h([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return r?"MMM"===e?-1!==(i=yt.call(this._shortMonthsParse,a))?i:null:-1!==(i=yt.call(this._longMonthsParse,a))?i:null:"MMM"===e?-1!==(i=yt.call(this._shortMonthsParse,a))||-1!==(i=yt.call(this._longMonthsParse,a))?i:null:-1!==(i=yt.call(this._longMonthsParse,a))||-1!==(i=yt.call(this._shortMonthsParse,a))?i:null}function At(t,e){var r;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=$(e);else if(!l(e=t.localeData().monthsParse(e)))return t;return r=Math.min(t.date(),_t(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function Ct(t){return null!=t?(At(this,t),n.updateOffset(this,!0),this):z(this,"Month")}function Pt(){function t(t,e){return e.length-t.length}var e,r,n=[],i=[],o=[];for(e=0;e<12;e++)r=h([2e3,e]),n.push(this.monthsShort(r,"")),i.push(this.months(r,"")),o.push(this.months(r,"")),o.push(this.monthsShort(r,""));for(n.sort(t),i.sort(t),o.sort(t),e=0;e<12;e++)n[e]=gt(n[e]),i[e]=gt(i[e]);for(e=0;e<24;e++)o[e]=gt(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function jt(t){return G(t)?366:365}D("Y",0,0,(function(){var t=this.year();return t<=9999?P(t,4):"+"+t})),D(0,["YY",2],0,(function(){return this.year()%100})),D(0,["YYYY",4],0,"year"),D(0,["YYYYY",5],0,"year"),D(0,["YYYYYY",6,!0],0,"year"),B("year","y"),H("year",1),ht("Y",lt),ht("YY",rt,J),ht("YYYY",at,tt),ht("YYYYY",st,et),ht("YYYYYY",st,et),vt(["YYYYY","YYYYYY"],0),vt("YYYY",(function(t,e){e[0]=2===t.length?n.parseTwoDigitYear(t):$(t)})),vt("YY",(function(t,e){e[0]=n.parseTwoDigitYear(t)})),vt("Y",(function(t,e){e[0]=parseInt(t,10)})),n.parseTwoDigitYear=function(t){return $(t)+($(t)>68?1900:2e3)};var Rt=q("FullYear",!0);function Nt(t,e,r,n,i,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,r,n,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,r,n,i,o,a),s}function It(t){var e,r;return t<100&&t>=0?((r=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Dt(t,e,r){var n=7+e-r;return-(7+It(t,0,n).getUTCDay()-e)%7+n-1}function Lt(t,e,r,n,i){var o,a,s=1+7*(e-1)+(7+r-n)%7+Dt(t,n,i);return s<=0?a=jt(o=t-1)+s:s>jt(t)?(o=t+1,a=s-jt(t)):(o=t,a=s),{year:o,dayOfYear:a}}function Mt(t,e,r){var n,i,o=Dt(t.year(),e,r),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?n=a+Ft(i=t.year()-1,e,r):a>Ft(t.year(),e,r)?(n=a-Ft(t.year(),e,r),i=t.year()+1):(i=t.year(),n=a),{week:n,year:i}}function Ft(t,e,r){var n=Dt(t,e,r),i=Dt(t+1,e,r);return(jt(t)-n+i)/7}function Bt(t,e){return t.slice(e,7).concat(t.slice(0,e))}D("w",["ww",2],"wo","week"),D("W",["WW",2],"Wo","isoWeek"),B("week","w"),B("isoWeek","W"),H("week",5),H("isoWeek",5),ht("w",rt),ht("ww",rt,J),ht("W",rt),ht("WW",rt,J),bt(["w","ww","W","WW"],(function(t,e,r,n){e[n.substr(0,1)]=$(t)})),D("d",0,"do","day"),D("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),D("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),D("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),D("e",0,0,"weekday"),D("E",0,0,"isoWeekday"),B("day","d"),B("weekday","e"),B("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),ht("d",rt),ht("e",rt),ht("E",rt),ht("dd",(function(t,e){return e.weekdaysMinRegex(t)})),ht("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),ht("dddd",(function(t,e){return e.weekdaysRegex(t)})),bt(["dd","ddd","dddd"],(function(t,e,r,n){var i=r._locale.weekdaysParse(t,n,r._strict);null!=i?e.d=i:p(r).invalidWeekday=t})),bt(["d","e","E"],(function(t,e,r,n){e[n]=$(t)}));var Vt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ut="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Wt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ht=dt,Gt=dt,Yt=dt;function $t(t,e,r){var n,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=h([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return r?"dddd"===e?-1!==(i=yt.call(this._weekdaysParse,a))?i:null:"ddd"===e?-1!==(i=yt.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=yt.call(this._minWeekdaysParse,a))?i:null:"dddd"===e?-1!==(i=yt.call(this._weekdaysParse,a))||-1!==(i=yt.call(this._shortWeekdaysParse,a))||-1!==(i=yt.call(this._minWeekdaysParse,a))?i:null:"ddd"===e?-1!==(i=yt.call(this._shortWeekdaysParse,a))||-1!==(i=yt.call(this._weekdaysParse,a))||-1!==(i=yt.call(this._minWeekdaysParse,a))?i:null:-1!==(i=yt.call(this._minWeekdaysParse,a))||-1!==(i=yt.call(this._weekdaysParse,a))||-1!==(i=yt.call(this._shortWeekdaysParse,a))?i:null}function qt(){function t(t,e){return e.length-t.length}var e,r,n,i,o,a=[],s=[],u=[],l=[];for(e=0;e<7;e++)r=h([2e3,1]).day(e),n=gt(this.weekdaysMin(r,"")),i=gt(this.weekdaysShort(r,"")),o=gt(this.weekdays(r,"")),a.push(n),s.push(i),u.push(o),l.push(n),l.push(i),l.push(o);a.sort(t),s.sort(t),u.sort(t),l.sort(t),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function zt(){return this.hours()%12||12}function Xt(t,e){D(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Qt(t,e){return e._meridiemParse}D("H",["HH",2],0,"hour"),D("h",["hh",2],0,zt),D("k",["kk",2],0,(function(){return this.hours()||24})),D("hmm",0,0,(function(){return""+zt.apply(this)+P(this.minutes(),2)})),D("hmmss",0,0,(function(){return""+zt.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),D("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),D("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),Xt("a",!0),Xt("A",!1),B("hour","h"),H("hour",13),ht("a",Qt),ht("A",Qt),ht("H",rt),ht("h",rt),ht("k",rt),ht("HH",rt,J),ht("hh",rt,J),ht("kk",rt,J),ht("hmm",nt),ht("hmmss",it),ht("Hmm",nt),ht("Hmmss",it),vt(["H","HH"],3),vt(["k","kk"],(function(t,e,r){var n=$(t);e[3]=24===n?0:n})),vt(["a","A"],(function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t})),vt(["h","hh"],(function(t,e,r){e[3]=$(t),p(r).bigHour=!0})),vt("hmm",(function(t,e,r){var n=t.length-2;e[3]=$(t.substr(0,n)),e[4]=$(t.substr(n)),p(r).bigHour=!0})),vt("hmmss",(function(t,e,r){var n=t.length-4,i=t.length-2;e[3]=$(t.substr(0,n)),e[4]=$(t.substr(n,2)),e[5]=$(t.substr(i)),p(r).bigHour=!0})),vt("Hmm",(function(t,e,r){var n=t.length-2;e[3]=$(t.substr(0,n)),e[4]=$(t.substr(n))})),vt("Hmmss",(function(t,e,r){var n=t.length-4,i=t.length-2;e[3]=$(t.substr(0,n)),e[4]=$(t.substr(n,2)),e[5]=$(t.substr(i))}));var Zt,Jt=q("Hours",!0),Kt={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:xt,monthsShort:St,week:{dow:0,doy:6},weekdays:Vt,weekdaysMin:Wt,weekdaysShort:Ut,meridiemParse:/[ap]\.?m?\.?/i},te={},ee={};function re(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function ne(t){return t?t.toLowerCase().replace("_","-"):t}function ie(e){var r=null;if(void 0===te[e]&&t&&t.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(e))try{r=Zt._abbr,Object(function(){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}()),oe(r)}catch(t){te[e]=null}return te[e]}function oe(t,e){var r;return t&&((r=u(e)?se(t):ae(t,e))?Zt=r:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Zt._abbr}function ae(t,e){if(null!==e){var r,n=Kt;if(e.abbr=t,null!=te[t])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=te[t]._config;else if(null!=e.parentLocale)if(null!=te[e.parentLocale])n=te[e.parentLocale]._config;else{if(null==(r=ie(e.parentLocale)))return ee[e.parentLocale]||(ee[e.parentLocale]=[]),ee[e.parentLocale].push({name:t,config:e}),null;n=r._config}return te[t]=new C(A(n,e)),ee[t]&&ee[t].forEach((function(t){ae(t.name,t.config)})),oe(t),te[t]}return delete te[t],null}function se(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Zt;if(!i(t)){if(e=ie(t))return e;t=[t]}return function(t){for(var e,r,n,i,o=0;o<t.length;){for(e=(i=ne(t[o]).split("-")).length,r=(r=ne(t[o+1]))?r.split("-"):null;e>0;){if(n=ie(i.slice(0,e).join("-")))return n;if(r&&r.length>=e&&re(i,r)>=e-1)break;e--}o++}return Zt}(t)}function ue(t){var e,r=t._a;return r&&-2===p(t).overflow&&(e=r[1]<0||r[1]>11?1:r[2]<1||r[2]>_t(r[0],r[1])?2:r[3]<0||r[3]>24||24===r[3]&&(0!==r[4]||0!==r[5]||0!==r[6])?3:r[4]<0||r[4]>59?4:r[5]<0||r[5]>59?5:r[6]<0||r[6]>999?6:-1,p(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),p(t)._overflowWeeks&&-1===e&&(e=7),p(t)._overflowWeekday&&-1===e&&(e=8),p(t).overflow=e),t}var le=/^\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)?)?$/,ce=/^\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)?)?$/,fe=/Z|[+-]\d\d(?::?\d\d)?/,de=[["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]],he=[["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/]],pe=/^\/?Date\((-?\d+)/i,ge=/^(?:(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}))$/,ye={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function me(t){var e,r,n,i,o,a,s=t._i,u=le.exec(s)||ce.exec(s),l=de.length,c=he.length;if(u){for(p(t).iso=!0,e=0,r=l;e<r;e++)if(de[e][1].exec(u[1])){i=de[e][0],n=!1!==de[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,r=c;e<r;e++)if(he[e][1].exec(u[3])){o=(u[2]||" ")+he[e][0];break}if(null==o)return void(t._isValid=!1)}if(!n&&null!=o)return void(t._isValid=!1);if(u[4]){if(!fe.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),xe(t)}else t._isValid=!1}function ve(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function be(t){var e,r,n,i,o,a,s,u,l=ge.exec(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(t._i));if(l){if(r=l[4],n=l[3],i=l[2],o=l[5],a=l[6],s=l[7],u=[ve(r),St.indexOf(n),parseInt(i,10),parseInt(o,10),parseInt(a,10)],s&&u.push(parseInt(s,10)),e=u,!function(t,e,r){return!t||Ut.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(p(r).weekdayMismatch=!0,r._isValid=!1,!1)}(l[1],e,t))return;t._a=e,t._tzm=function(t,e,r){if(t)return ye[t];if(e)return 0;var n=parseInt(r,10),i=n%100;return(n-i)/100*60+i}(l[8],l[9],l[10]),t._d=It.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),p(t).rfc2822=!0}else t._isValid=!1}function we(t,e,r){return null!=t?t:null!=e?e:r}function _e(t){var e,r,i,o,a,s=[];if(!t._d){for(i=function(t){var e=new Date(n.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,r,n,i,o,a,s,u,l;null!=(e=t._w).GG||null!=e.W||null!=e.E?(o=1,a=4,r=we(e.GG,t._a[0],Mt(Te(),1,4).year),n=we(e.W,1),((i=we(e.E,1))<1||i>7)&&(u=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,l=Mt(Te(),o,a),r=we(e.gg,t._a[0],l.year),n=we(e.w,l.week),null!=e.d?((i=e.d)<0||i>6)&&(u=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o),n<1||n>Ft(r,o,a)?p(t)._overflowWeeks=!0:null!=u?p(t)._overflowWeekday=!0:(s=Lt(r,n,i,o,a),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(a=we(t._a[0],i[0]),(t._dayOfYear>jt(a)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),r=It(a,0,t._dayOfYear),t._a[1]=r.getUTCMonth(),t._a[2]=r.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?It:Nt).apply(null,s),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(p(t).weekdayMismatch=!0)}}function xe(t){if(t._f!==n.ISO_8601)if(t._f!==n.RFC_2822){t._a=[],p(t).empty=!0;var e,r,i,o,a,s,u,l=""+t._i,c=l.length,f=0;for(u=(i=M(t._f,t._locale).match(j)||[]).length,e=0;e<u;e++)o=i[e],(r=(l.match(pt(o,t))||[])[0])&&((a=l.substr(0,l.indexOf(r))).length>0&&p(t).unusedInput.push(a),l=l.slice(l.indexOf(r)+r.length),f+=r.length),I[o]?(r?p(t).empty=!1:p(t).unusedTokens.push(o),wt(o,r,t)):t._strict&&!r&&p(t).unusedTokens.push(o);p(t).charsLeftOver=c-f,l.length>0&&p(t).unusedInput.push(l),t._a[3]<=12&&!0===p(t).bigHour&&t._a[3]>0&&(p(t).bigHour=void 0),p(t).parsedDateParts=t._a.slice(0),p(t).meridiem=t._meridiem,t._a[3]=function(t,e,r){var n;return null==r?e:null!=t.meridiemHour?t.meridiemHour(e,r):null!=t.isPM?((n=t.isPM(r))&&e<12&&(e+=12),n||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(s=p(t).era)&&(t._a[0]=t._locale.erasConvertYear(s,t._a[0])),_e(t),ue(t)}else be(t);else me(t)}function Se(t){var e=t._i,r=t._f;return t._locale=t._locale||se(t._l),null===e||void 0===r&&""===e?y({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),_(e)?new w(ue(e)):(c(e)?t._d=e:i(r)?function(t){var e,r,n,i,o,a,s=!1,u=t._f.length;if(0===u)return p(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<u;i++)o=0,a=!1,e=b({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],xe(e),g(e)&&(a=!0),o+=p(e).charsLeftOver,o+=10*p(e).unusedTokens.length,p(e).score=o,s?o<n&&(n=o,r=e):(null==n||o<n||a)&&(n=o,r=e,a&&(s=!0));d(t,r||e)}(t):r?xe(t):function(t){var e=t._i;u(e)?t._d=new Date(n.now()):c(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=pe.exec(t._i);null===e?(me(t),!1===t._isValid&&(delete t._isValid,be(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:n.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):i(e)?(t._a=f(e.slice(0),(function(t){return parseInt(t,10)})),_e(t)):o(e)?function(t){if(!t._d){var e=U(t._i),r=void 0===e.day?e.date:e.day;t._a=f([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),_e(t)}}(t):l(e)?t._d=new Date(e):n.createFromInputFallback(t)}(t),g(t)||(t._d=null),t))}function Ee(t,e,r,n,a){var u,l={};return!0!==e&&!1!==e||(n=e,e=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(o(t)&&s(t)||i(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=r,l._i=t,l._f=e,l._strict=n,(u=new w(ue(Se(l))))._nextDay&&(u.add(1,"d"),u._nextDay=void 0),u}function Te(t,e,r,n){return Ee(t,e,r,n,!1)}n.createFromInputFallback=S("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),n.ISO_8601=function(){},n.RFC_2822=function(){};var ke=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Te.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()})),Oe=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Te.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:y()}));function Ae(t,e){var r,n;if(1===e.length&&i(e[0])&&(e=e[0]),!e.length)return Te();for(r=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](r)||(r=e[n]);return r}var Ce=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pe(t){var e=U(t),r=e.year||0,n=e.quarter||0,i=e.month||0,o=e.week||e.isoWeek||0,s=e.day||0,u=e.hour||0,l=e.minute||0,c=e.second||0,f=e.millisecond||0;this._isValid=function(t){var e,r,n=!1,i=Ce.length;for(e in t)if(a(t,e)&&(-1===yt.call(Ce,e)||null!=t[e]&&isNaN(t[e])))return!1;for(r=0;r<i;++r)if(t[Ce[r]]){if(n)return!1;parseFloat(t[Ce[r]])!==$(t[Ce[r]])&&(n=!0)}return!0}(e),this._milliseconds=+f+1e3*c+6e4*l+1e3*u*60*60,this._days=+s+7*o,this._months=+i+3*n+12*r,this._data={},this._locale=se(),this._bubble()}function je(t){return t instanceof Pe}function Re(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ne(t,e){D(t,0,0,(function(){var t=this.utcOffset(),r="+";return t<0&&(t=-t,r="-"),r+P(~~(t/60),2)+e+P(~~t%60,2)}))}Ne("Z",":"),Ne("ZZ",""),ht("Z",ft),ht("ZZ",ft),vt(["Z","ZZ"],(function(t,e,r){r._useUTC=!0,r._tzm=De(ft,t)}));var Ie=/([\+\-]|\d\d)/gi;function De(t,e){var r,n,i=(e||"").match(t);return null===i?null:0===(n=60*(r=((i[i.length-1]||[])+"").match(Ie)||["-",0,0])[1]+$(r[2]))?0:"+"===r[0]?n:-n}function Le(t,e){var r,i;return e._isUTC?(r=e.clone(),i=(_(t)||c(t)?t.valueOf():Te(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):Te(t).local()}function Me(t){return-Math.round(t._d.getTimezoneOffset())}function Fe(){return!!this.isValid()&&this._isUTC&&0===this._offset}n.updateOffset=function(){};var Be=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ve=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ue(t,e){var r,n,i,o,s,u,c=t,f=null;return je(t)?c={ms:t._milliseconds,d:t._days,M:t._months}:l(t)||!isNaN(+t)?(c={},e?c[e]=+t:c.milliseconds=+t):(f=Be.exec(t))?(r="-"===f[1]?-1:1,c={y:0,d:$(f[2])*r,h:$(f[3])*r,m:$(f[4])*r,s:$(f[5])*r,ms:$(Re(1e3*f[6]))*r}):(f=Ve.exec(t))?(r="-"===f[1]?-1:1,c={y:We(f[2],r),M:We(f[3],r),w:We(f[4],r),d:We(f[5],r),h:We(f[6],r),m:We(f[7],r),s:We(f[8],r)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=Te(c.from),s=Te(c.to),i=o.isValid()&&s.isValid()?(s=Le(s,o),o.isBefore(s)?u=He(o,s):((u=He(s,o)).milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0},(c={}).ms=i.milliseconds,c.M=i.months),n=new Pe(c),je(t)&&a(t,"_locale")&&(n._locale=t._locale),je(t)&&a(t,"_isValid")&&(n._isValid=t._isValid),n}function We(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function He(t,e){var r={};return r.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function Ge(t,e){return function(r,n){var i;return null===n||isNaN(+n)||(k(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),Ye(this,Ue(r,n),t),this}}function Ye(t,e,r,i){var o=e._milliseconds,a=Re(e._days),s=Re(e._months);t.isValid()&&(i=null==i||i,s&&At(t,z(t,"Month")+s*r),a&&X(t,"Date",z(t,"Date")+a*r),o&&t._d.setTime(t._d.valueOf()+o*r),i&&n.updateOffset(t,a||s))}Ue.fn=Pe.prototype,Ue.invalid=function(){return Ue(NaN)};var $e=Ge(1,"add"),qe=Ge(-1,"subtract");function ze(t){return"string"==typeof t||t instanceof String}function Xe(t){return _(t)||c(t)||ze(t)||l(t)||function(t){var e=i(t),r=!1;return e&&(r=0===t.filter((function(e){return!l(e)&&ze(t)})).length),e&&r}(t)||function(t){var e,r,n=o(t)&&!s(t),i=!1,u=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=u.length;for(e=0;e<l;e+=1)r=u[e],i=i||a(t,r);return n&&i}(t)||null==t}function Qe(t){var e,r=o(t)&&!s(t),n=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<i.length;e+=1)n=n||a(t,i[e]);return r&&n}function Ze(t,e){if(t.date()<e.date())return-Ze(e,t);var r=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(r,"months");return-(r+(e-n<0?(e-n)/(n-t.clone().add(r-1,"months")):(e-n)/(t.clone().add(r+1,"months")-n)))||0}function Je(t){var e;return void 0===t?this._locale._abbr:(null!=(e=se(t))&&(this._locale=e),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ke=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function tr(){return this._locale}function er(t,e){return(t%e+e)%e}function rr(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-126227808e5:new Date(t,e,r).valueOf()}function nr(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-126227808e5:Date.UTC(t,e,r)}function ir(t,e){return e.erasAbbrRegex(t)}function or(){var t,e,r=[],n=[],i=[],o=[],a=this.eras();for(t=0,e=a.length;t<e;++t)n.push(gt(a[t].name)),r.push(gt(a[t].abbr)),i.push(gt(a[t].narrow)),o.push(gt(a[t].name)),o.push(gt(a[t].abbr)),o.push(gt(a[t].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ar(t,e){D(0,[t,t.length],0,e)}function sr(t,e,r,n,i){var o;return null==t?Mt(this,n,i).year:(e>(o=Ft(t,n,i))&&(e=o),ur.call(this,t,e,r,n,i))}function ur(t,e,r,n,i){var o=Lt(t,e,r,n,i),a=It(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}D("N",0,0,"eraAbbr"),D("NN",0,0,"eraAbbr"),D("NNN",0,0,"eraAbbr"),D("NNNN",0,0,"eraName"),D("NNNNN",0,0,"eraNarrow"),D("y",["y",1],"yo","eraYear"),D("y",["yy",2],0,"eraYear"),D("y",["yyy",3],0,"eraYear"),D("y",["yyyy",4],0,"eraYear"),ht("N",ir),ht("NN",ir),ht("NNN",ir),ht("NNNN",(function(t,e){return e.erasNameRegex(t)})),ht("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),vt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,r,n){var i=r._locale.erasParse(t,n,r._strict);i?p(r).era=i:p(r).invalidEra=t})),ht("y",ut),ht("yy",ut),ht("yyy",ut),ht("yyyy",ut),ht("yo",(function(t,e){return e._eraYearOrdinalRegex||ut})),vt(["y","yy","yyy","yyyy"],0),vt(["yo"],(function(t,e,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[0]=r._locale.eraYearOrdinalParse(t,i):e[0]=parseInt(t,10)})),D(0,["gg",2],0,(function(){return this.weekYear()%100})),D(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ar("gggg","weekYear"),ar("ggggg","weekYear"),ar("GGGG","isoWeekYear"),ar("GGGGG","isoWeekYear"),B("weekYear","gg"),B("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),ht("G",lt),ht("g",lt),ht("GG",rt,J),ht("gg",rt,J),ht("GGGG",at,tt),ht("gggg",at,tt),ht("GGGGG",st,et),ht("ggggg",st,et),bt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,r,n){e[n.substr(0,2)]=$(t)})),bt(["gg","GG"],(function(t,e,r,i){e[i]=n.parseTwoDigitYear(t)})),D("Q",0,"Qo","quarter"),B("quarter","Q"),H("quarter",7),ht("Q",Z),vt("Q",(function(t,e){e[1]=3*($(t)-1)})),D("D",["DD",2],"Do","date"),B("date","D"),H("date",9),ht("D",rt),ht("DD",rt,J),ht("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),vt(["D","DD"],2),vt("Do",(function(t,e){e[2]=$(t.match(rt)[0])}));var lr=q("Date",!0);D("DDD",["DDDD",3],"DDDo","dayOfYear"),B("dayOfYear","DDD"),H("dayOfYear",4),ht("DDD",ot),ht("DDDD",K),vt(["DDD","DDDD"],(function(t,e,r){r._dayOfYear=$(t)})),D("m",["mm",2],0,"minute"),B("minute","m"),H("minute",14),ht("m",rt),ht("mm",rt,J),vt(["m","mm"],4);var cr=q("Minutes",!1);D("s",["ss",2],0,"second"),B("second","s"),H("second",15),ht("s",rt),ht("ss",rt,J),vt(["s","ss"],5);var fr,dr,hr=q("Seconds",!1);for(D("S",0,0,(function(){return~~(this.millisecond()/100)})),D(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),D(0,["SSS",3],0,"millisecond"),D(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),D(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),D(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),D(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),D(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),D(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),B("millisecond","ms"),H("millisecond",16),ht("S",ot,Z),ht("SS",ot,J),ht("SSS",ot,K),fr="SSSS";fr.length<=9;fr+="S")ht(fr,ut);function pr(t,e){e[6]=$(1e3*("0."+t))}for(fr="S";fr.length<=9;fr+="S")vt(fr,pr);dr=q("Milliseconds",!1),D("z",0,0,"zoneAbbr"),D("zz",0,0,"zoneName");var gr=w.prototype;function yr(t){return t}gr.add=$e,gr.calendar=function(t,e){1===arguments.length&&(arguments[0]?Xe(arguments[0])?(t=arguments[0],e=void 0):Qe(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||Te(),i=Le(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=e&&(O(e[o])?e[o].call(this,r):e[o]);return this.format(a||this.localeData().calendar(o,this,Te(r)))},gr.clone=function(){return new w(this)},gr.diff=function(t,e,r){var n,i,o;if(!this.isValid())return NaN;if(!(n=Le(t,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),e=V(e)){case"year":o=Ze(this,n)/12;break;case"month":o=Ze(this,n);break;case"quarter":o=Ze(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-i)/864e5;break;case"week":o=(this-n-i)/6048e5;break;default:o=this-n}return r?o:Y(o)},gr.endOf=function(t){var e,r;if(void 0===(t=V(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?nr:rr,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-er(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-er(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-er(e,1e3)-1}return this._d.setTime(e),n.updateOffset(this,!0),this},gr.format=function(t){t||(t=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var e=L(this,t);return this.localeData().postformat(e)},gr.from=function(t,e){return this.isValid()&&(_(t)&&t.isValid()||Te(t).isValid())?Ue({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gr.fromNow=function(t){return this.from(Te(),t)},gr.to=function(t,e){return this.isValid()&&(_(t)&&t.isValid()||Te(t).isValid())?Ue({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},gr.toNow=function(t){return this.to(Te(),t)},gr.get=function(t){return O(this[t=V(t)])?this[t]():this},gr.invalidAt=function(){return p(this).overflow},gr.isAfter=function(t,e){var r=_(t)?t:Te(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=V(e)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf())},gr.isBefore=function(t,e){var r=_(t)?t:Te(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=V(e)||"millisecond")?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf())},gr.isBetween=function(t,e,r,n){var i=_(t)?t:Te(t),o=_(e)?e:Te(e);return!!(this.isValid()&&i.isValid()&&o.isValid())&&(("("===(n=n||"()")[0]?this.isAfter(i,r):!this.isBefore(i,r))&&(")"===n[1]?this.isBefore(o,r):!this.isAfter(o,r)))},gr.isSame=function(t,e){var r,n=_(t)?t:Te(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=V(e)||"millisecond")?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(e).valueOf()<=r&&r<=this.clone().endOf(e).valueOf()))},gr.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},gr.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},gr.isValid=function(){return g(this)},gr.lang=Ke,gr.locale=Je,gr.localeData=tr,gr.max=Oe,gr.min=ke,gr.parsingFlags=function(){return d({},p(this))},gr.set=function(t,e){if("object"==typeof t){var r,n=function(t){var e,r=[];for(e in t)a(t,e)&&r.push({unit:e,priority:W[e]});return r.sort((function(t,e){return t.priority-e.priority})),r}(t=U(t)),i=n.length;for(r=0;r<i;r++)this[n[r].unit](t[n[r].unit])}else if(O(this[t=V(t)]))return this[t](e);return this},gr.startOf=function(t){var e,r;if(void 0===(t=V(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?nr:rr,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=er(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=er(e,6e4);break;case"second":e=this._d.valueOf(),e-=er(e,1e3)}return this._d.setTime(e),n.updateOffset(this,!0),this},gr.subtract=qe,gr.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},gr.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},gr.toDate=function(){return new Date(this.valueOf())},gr.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?L(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",L(r,"Z")):L(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gr.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,r,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=i+'[")]',this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+r)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(gr[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),gr.toJSON=function(){return this.isValid()?this.toISOString():null},gr.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},gr.unix=function(){return Math.floor(this.valueOf()/1e3)},gr.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},gr.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},gr.eraName=function(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].name;if(n[t].until<=r&&r<=n[t].since)return n[t].name}return""},gr.eraNarrow=function(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].narrow;if(n[t].until<=r&&r<=n[t].since)return n[t].narrow}return""},gr.eraAbbr=function(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].abbr;if(n[t].until<=r&&r<=n[t].since)return n[t].abbr}return""},gr.eraYear=function(){var t,e,r,i,o=this.localeData().eras();for(t=0,e=o.length;t<e;++t)if(r=o[t].since<=o[t].until?1:-1,i=this.clone().startOf("day").valueOf(),o[t].since<=i&&i<=o[t].until||o[t].until<=i&&i<=o[t].since)return(this.year()-n(o[t].since).year())*r+o[t].offset;return this.year()},gr.year=Rt,gr.isLeapYear=function(){return G(this.year())},gr.weekYear=function(t){return sr.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},gr.isoWeekYear=function(t){return sr.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},gr.quarter=gr.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},gr.month=Ct,gr.daysInMonth=function(){return _t(this.year(),this.month())},gr.week=gr.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},gr.isoWeek=gr.isoWeeks=function(t){var e=Mt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},gr.weeksInYear=function(){var t=this.localeData()._week;return Ft(this.year(),t.dow,t.doy)},gr.weeksInWeekYear=function(){var t=this.localeData()._week;return Ft(this.weekYear(),t.dow,t.doy)},gr.isoWeeksInYear=function(){return Ft(this.year(),1,4)},gr.isoWeeksInISOWeekYear=function(){return Ft(this.isoWeekYear(),1,4)},gr.date=lr,gr.day=gr.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},gr.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},gr.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},gr.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},gr.hour=gr.hours=Jt,gr.minute=gr.minutes=cr,gr.second=gr.seconds=hr,gr.millisecond=gr.milliseconds=dr,gr.utcOffset=function(t,e,r){var i,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=De(ft,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&e&&(i=Me(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==t&&(!e||this._changeInProgress?Ye(this,Ue(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Me(this)},gr.utc=function(t){return this.utcOffset(0,t)},gr.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Me(this),"m")),this},gr.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=De(ct,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},gr.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Te(t).utcOffset():0,(this.utcOffset()-t)%60==0)},gr.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},gr.isLocal=function(){return!!this.isValid()&&!this._isUTC},gr.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},gr.isUtc=Fe,gr.isUTC=Fe,gr.zoneAbbr=function(){return this._isUTC?"UTC":""},gr.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gr.dates=S("dates accessor is deprecated. Use date instead.",lr),gr.months=S("months accessor is deprecated. Use month instead",Ct),gr.years=S("years accessor is deprecated. Use year instead",Rt),gr.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),gr.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t,e={};return b(e,this),(e=Se(e))._a?(t=e._isUTC?h(e._a):Te(e._a),this._isDSTShifted=this.isValid()&&function(t,e,r){var n,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(n=0;n<i;n++)(r&&t[n]!==e[n]||!r&&$(t[n])!==$(e[n]))&&a++;return a+o}(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var mr=C.prototype;function vr(t,e,r,n){var i=se(),o=h().set(n,e);return i[r](o,t)}function br(t,e,r){if(l(t)&&(e=t,t=void 0),t=t||"",null!=e)return vr(t,e,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=vr(t,n,r,"month");return i}function wr(t,e,r,n){"boolean"==typeof t?(l(e)&&(r=e,e=void 0),e=e||""):(r=e=t,t=!1,l(e)&&(r=e,e=void 0),e=e||"");var i,o=se(),a=t?o._week.dow:0,s=[];if(null!=r)return vr(e,(r+a)%7,n,"day");for(i=0;i<7;i++)s[i]=vr(e,(i+a)%7,n,"day");return s}mr.calendar=function(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return O(n)?n.call(e,r):n},mr.longDateFormat=function(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(j).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},mr.invalidDate=function(){return this._invalidDate},mr.ordinal=function(t){return this._ordinal.replace("%d",t)},mr.preparse=yr,mr.postformat=yr,mr.relativeTime=function(t,e,r,n){var i=this._relativeTime[r];return O(i)?i(t,e,r,n):i.replace(/%d/i,t)},mr.pastFuture=function(t,e){var r=this._relativeTime[t>0?"future":"past"];return O(r)?r(e):r.replace(/%s/i,e)},mr.set=function(t){var e,r;for(r in t)a(t,r)&&(O(e=t[r])?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},mr.eras=function(t,e){var r,i,o,a=this._eras||se("en")._eras;for(r=0,i=a.length;r<i;++r){switch(typeof a[r].since){case"string":o=n(a[r].since).startOf("day"),a[r].since=o.valueOf()}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":o=n(a[r].until).startOf("day").valueOf(),a[r].until=o.valueOf()}}return a},mr.erasParse=function(t,e,r){var n,i,o,a,s,u=this.eras();for(t=t.toUpperCase(),n=0,i=u.length;n<i;++n)if(o=u[n].name.toUpperCase(),a=u[n].abbr.toUpperCase(),s=u[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(a===t)return u[n];break;case"NNNN":if(o===t)return u[n];break;case"NNNNN":if(s===t)return u[n]}else if([o,a,s].indexOf(t)>=0)return u[n]},mr.erasConvertYear=function(t,e){var r=t.since<=t.until?1:-1;return void 0===e?n(t.since).year():n(t.since).year()+(e-t.offset)*r},mr.erasAbbrRegex=function(t){return a(this,"_erasAbbrRegex")||or.call(this),t?this._erasAbbrRegex:this._erasRegex},mr.erasNameRegex=function(t){return a(this,"_erasNameRegex")||or.call(this),t?this._erasNameRegex:this._erasRegex},mr.erasNarrowRegex=function(t){return a(this,"_erasNarrowRegex")||or.call(this),t?this._erasNarrowRegex:this._erasRegex},mr.months=function(t,e){return t?i(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Et).test(e)?"format":"standalone"][t.month()]:i(this._months)?this._months:this._months.standalone},mr.monthsShort=function(t,e){return t?i(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Et.test(e)?"format":"standalone"][t.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},mr.monthsParse=function(t,e,r){var n,i,o;if(this._monthsParseExact)return Ot.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=h([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),r&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(r&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}},mr.monthsRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||Pt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=kt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},mr.monthsShortRegex=function(t){return this._monthsParseExact?(a(this,"_monthsRegex")||Pt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Tt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},mr.week=function(t){return Mt(t,this._week.dow,this._week.doy).week},mr.firstDayOfYear=function(){return this._week.doy},mr.firstDayOfWeek=function(){return this._week.dow},mr.weekdays=function(t,e){var r=i(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Bt(r,this._week.dow):t?r[t.day()]:r},mr.weekdaysMin=function(t){return!0===t?Bt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},mr.weekdaysShort=function(t){return!0===t?Bt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},mr.weekdaysParse=function(t,e,r){var n,i,o;if(this._weekdaysParseExact)return $t.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=h([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),r&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(r&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(r&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}},mr.weekdaysRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ht),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},mr.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Gt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},mr.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},mr.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},mr.meridiem=function(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"},oe("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(t){var e=t%10;return t+(1===$(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),n.lang=S("moment.lang is deprecated. Use moment.locale instead.",oe),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",se);var _r=Math.abs;function xr(t,e,r,n){var i=Ue(e,r);return t._milliseconds+=n*i._milliseconds,t._days+=n*i._days,t._months+=n*i._months,t._bubble()}function Sr(t){return t<0?Math.floor(t):Math.ceil(t)}function Er(t){return 4800*t/146097}function Tr(t){return 146097*t/4800}function kr(t){return function(){return this.as(t)}}var Or=kr("ms"),Ar=kr("s"),Cr=kr("m"),Pr=kr("h"),jr=kr("d"),Rr=kr("w"),Nr=kr("M"),Ir=kr("Q"),Dr=kr("y");function Lr(t){return function(){return this.isValid()?this._data[t]:NaN}}var Mr=Lr("milliseconds"),Fr=Lr("seconds"),Br=Lr("minutes"),Vr=Lr("hours"),Ur=Lr("days"),Wr=Lr("months"),Hr=Lr("years"),Gr=Math.round,Yr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $r(t,e,r,n,i){return i.relativeTime(e||1,!!r,t,n)}var qr=Math.abs;function zr(t){return(t>0)-(t<0)||+t}function Xr(){if(!this.isValid())return this.localeData().invalidDate();var t,e,r,n,i,o,a,s,u=qr(this._milliseconds)/1e3,l=qr(this._days),c=qr(this._months),f=this.asSeconds();return f?(t=Y(u/60),e=Y(t/60),u%=60,t%=60,r=Y(c/12),c%=12,n=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=zr(this._months)!==zr(f)?"-":"",a=zr(this._days)!==zr(f)?"-":"",s=zr(this._milliseconds)!==zr(f)?"-":"",i+"P"+(r?o+r+"Y":"")+(c?o+c+"M":"")+(l?a+l+"D":"")+(e||t||u?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(u?s+n+"S":"")):"P0D"}var Qr=Pe.prototype;return Qr.isValid=function(){return this._isValid},Qr.abs=function(){var t=this._data;return this._milliseconds=_r(this._milliseconds),this._days=_r(this._days),this._months=_r(this._months),t.milliseconds=_r(t.milliseconds),t.seconds=_r(t.seconds),t.minutes=_r(t.minutes),t.hours=_r(t.hours),t.months=_r(t.months),t.years=_r(t.years),this},Qr.add=function(t,e){return xr(this,t,e,1)},Qr.subtract=function(t,e){return xr(this,t,e,-1)},Qr.as=function(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if("month"===(t=V(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,r=this._months+Er(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(Tr(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Qr.asMilliseconds=Or,Qr.asSeconds=Ar,Qr.asMinutes=Cr,Qr.asHours=Pr,Qr.asDays=jr,Qr.asWeeks=Rr,Qr.asMonths=Nr,Qr.asQuarters=Ir,Qr.asYears=Dr,Qr.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*$(this._months/12):NaN},Qr._bubble=function(){var t,e,r,n,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Sr(Tr(s)+a),a=0,s=0),u.milliseconds=o%1e3,t=Y(o/1e3),u.seconds=t%60,e=Y(t/60),u.minutes=e%60,r=Y(e/60),u.hours=r%24,a+=Y(r/24),i=Y(Er(a)),s+=i,a-=Sr(Tr(i)),n=Y(s/12),s%=12,u.days=a,u.months=s,u.years=n,this},Qr.clone=function(){return Ue(this)},Qr.get=function(t){return t=V(t),this.isValid()?this[t+"s"]():NaN},Qr.milliseconds=Mr,Qr.seconds=Fr,Qr.minutes=Br,Qr.hours=Vr,Qr.days=Ur,Qr.weeks=function(){return Y(this.days()/7)},Qr.months=Wr,Qr.years=Hr,Qr.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,o=Yr;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(i=t),"object"==typeof e&&(o=Object.assign({},Yr,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),r=this.localeData(),n=function(t,e,r,n){var i=Ue(t).abs(),o=Gr(i.as("s")),a=Gr(i.as("m")),s=Gr(i.as("h")),u=Gr(i.as("d")),l=Gr(i.as("M")),c=Gr(i.as("w")),f=Gr(i.as("y")),d=o<=r.ss&&["s",o]||o<r.s&&["ss",o]||a<=1&&["m"]||a<r.m&&["mm",a]||s<=1&&["h"]||s<r.h&&["hh",s]||u<=1&&["d"]||u<r.d&&["dd",u];return null!=r.w&&(d=d||c<=1&&["w"]||c<r.w&&["ww",c]),(d=d||l<=1&&["M"]||l<r.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=e,d[3]=+t>0,d[4]=n,$r.apply(null,d)}(this,!i,o,r),i&&(n=r.pastFuture(+this,n)),r.postformat(n)},Qr.toISOString=Xr,Qr.toString=Xr,Qr.toJSON=Xr,Qr.locale=Je,Qr.localeData=tr,Qr.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xr),Qr.lang=Ke,D("X",0,0,"unix"),D("x",0,0,"valueOf"),ht("x",lt),ht("X",/[+-]?\d+(\.\d{1,3})?/),vt("X",(function(t,e,r){r._d=new Date(1e3*parseFloat(t))})),vt("x",(function(t,e,r){r._d=new Date($(t))})),
27
+ //! moment.js
28
+ n.version="2.29.4",e=Te,n.fn=gr,n.min=function(){var t=[].slice.call(arguments,0);return Ae("isBefore",t)},n.max=function(){var t=[].slice.call(arguments,0);return Ae("isAfter",t)},n.now=function(){return Date.now?Date.now():+new Date},n.utc=h,n.unix=function(t){return Te(1e3*t)},n.months=function(t,e){return br(t,e,"months")},n.isDate=c,n.locale=oe,n.invalid=y,n.duration=Ue,n.isMoment=_,n.weekdays=function(t,e,r){return wr(t,e,r,"weekdays")},n.parseZone=function(){return Te.apply(null,arguments).parseZone()},n.localeData=se,n.isDuration=je,n.monthsShort=function(t,e){return br(t,e,"monthsShort")},n.weekdaysMin=function(t,e,r){return wr(t,e,r,"weekdaysMin")},n.defineLocale=ae,n.updateLocale=function(t,e){if(null!=e){var r,n,i=Kt;null!=te[t]&&null!=te[t].parentLocale?te[t].set(A(te[t]._config,e)):(null!=(n=ie(t))&&(i=n._config),e=A(i,e),null==n&&(e.abbr=t),(r=new C(e)).parentLocale=te[t],te[t]=r),oe(t)}else null!=te[t]&&(null!=te[t].parentLocale?(te[t]=te[t].parentLocale,t===oe()&&oe(t)):null!=te[t]&&delete te[t]);return te[t]},n.locales=function(){return E(te)},n.weekdaysShort=function(t,e,r){return wr(t,e,r,"weekdaysShort")},n.normalizeUnits=V,n.relativeTimeRounding=function(t){return void 0===t?Gr:"function"==typeof t&&(Gr=t,!0)},n.relativeTimeThreshold=function(t,e){return void 0!==Yr[t]&&(void 0===e?Yr[t]:(Yr[t]=e,"s"===t&&(Yr.ss=e-1),!0))},n.calendarFormat=function(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"},n.prototype=gr,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n}()},34155:t=>{var e,r,n=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){r=o}}();var s,u=[],l=!1,c=-1;function f(){l&&s&&(l=!1,s.length?u=s.concat(u):c=-1,u.length&&d())}function d(){if(!l){var t=a(f);l=!0;for(var e=u.length;e;){for(s=u,u=[];++c<e;)s&&s[c].run();c=-1,e=u.length}s=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function p(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];u.push(new h(t,e)),1!==u.length||l||a(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},41640:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),i(r(7970),e),i(r(37498),e),i(r(16381),e),i(r(72808),e),i(r(92016),e),i(r(63387),e),i(r(71573),e)},7970:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BlankNode=void 0;e.BlankNode=class{constructor(t){this.termType="BlankNode",this.value=t}equals(t){return!!t&&"BlankNode"===t.termType&&t.value===this.value}}},37498:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataFactory=void 0;const n=r(7970),i=r(16381),o=r(72808),a=r(92016),s=r(63387),u=r(71573);let l=0;e.DataFactory=class{constructor(t){this.blankNodeCounter=0,t=t||{},this.blankNodePrefix=t.blankNodePrefix||`df_${l++}_`}namedNode(t){return new a.NamedNode(t)}blankNode(t){return new n.BlankNode(t||`${this.blankNodePrefix}${this.blankNodeCounter++}`)}literal(t,e){return new o.Literal(t,e)}variable(t){return new u.Variable(t)}defaultGraph(){return i.DefaultGraph.INSTANCE}quad(t,e,r,n){return new s.Quad(t,e,r,n||this.defaultGraph())}fromTerm(t){switch(t.termType){case"NamedNode":return this.namedNode(t.value);case"BlankNode":return this.blankNode(t.value);case"Literal":return t.language?this.literal(t.value,t.language):t.datatype.equals(o.Literal.XSD_STRING)?this.literal(t.value):this.literal(t.value,this.fromTerm(t.datatype));case"Variable":return this.variable(t.value);case"DefaultGraph":return this.defaultGraph();case"Quad":return this.quad(this.fromTerm(t.subject),this.fromTerm(t.predicate),this.fromTerm(t.object),this.fromTerm(t.graph))}}fromQuad(t){return this.fromTerm(t)}resetBlankNodeCounter(){this.blankNodeCounter=0}}},16381:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultGraph=void 0;class r{constructor(){this.termType="DefaultGraph",this.value=""}equals(t){return!!t&&"DefaultGraph"===t.termType}}e.DefaultGraph=r,r.INSTANCE=new r},72808:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Literal=void 0;const n=r(92016);class i{constructor(t,e){this.termType="Literal",this.value=t,"string"==typeof e?(this.language=e,this.datatype=i.RDF_LANGUAGE_STRING):e?(this.language="",this.datatype=e):(this.language="",this.datatype=i.XSD_STRING)}equals(t){return!!t&&"Literal"===t.termType&&t.value===this.value&&t.language===this.language&&this.datatype.equals(t.datatype)}}e.Literal=i,i.RDF_LANGUAGE_STRING=new n.NamedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),i.XSD_STRING=new n.NamedNode("http://www.w3.org/2001/XMLSchema#string")},92016:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NamedNode=void 0;e.NamedNode=class{constructor(t){this.termType="NamedNode",this.value=t}equals(t){return!!t&&"NamedNode"===t.termType&&t.value===this.value}}},63387:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Quad=void 0;e.Quad=class{constructor(t,e,r,n){this.termType="Quad",this.value="",this.subject=t,this.predicate=e,this.object=r,this.graph=n}equals(t){return!!t&&("Quad"===t.termType||!t.termType)&&this.subject.equals(t.subject)&&this.predicate.equals(t.predicate)&&this.object.equals(t.object)&&this.graph.equals(t.graph)}}},71573:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Variable=void 0;e.Variable=class{constructor(t){this.termType="Variable",this.value=t}equals(t){return!!t&&"Variable"===t.termType&&t.value===this.value}}},25787:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),i(r(99568),e)},9966:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ParseError=void 0;class r extends Error{constructor(t,e){const r=t.saxParser;super(t.trackPosition?`Line ${r.line} column ${r.column+1}: ${e}`:e)}}e.ParseError=r},99568:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ParseType=e.RdfXmlParser=void 0;const n=r(68912),i=r(12893),o=r(24126),a=r(9966),s=r(41640),u=r(21017);class l extends o.Transform{constructor(t){super({readableObjectMode:!0}),this.activeTagStack=[],this.nodeIds={},t&&(Object.assign(this,t),this.options=t),this.dataFactory||(this.dataFactory=new s.DataFactory),this.baseIRI||(this.baseIRI=""),this.defaultGraph||(this.defaultGraph=this.dataFactory.defaultGraph()),!1!==this.validateUri&&(this.validateUri=!0),this.iriValidationStrategy||(this.iriValidationStrategy=this.validateUri?u.IriValidationStrategy.Pragmatic:u.IriValidationStrategy.None),this.saxParser=new i.SaxesParser({xmlns:!0,position:this.trackPosition}),this.attachSaxListeners()}import(t){const e=new o.PassThrough({readableObjectMode:!0});t.on("error",t=>r.emit("error",t)),t.on("data",t=>e.push(t)),t.on("end",()=>e.push(null));const r=e.pipe(new l(this.options));return r}_transform(t,e,r){try{this.saxParser.write(t)}catch(t){return r(t)}r()}newParseError(t){return new a.ParseError(this,t)}valueToUri(t,e){return this.uriToNamedNode((0,n.resolve)(t,e.baseIRI))}uriToNamedNode(t){const e=(0,u.validateIri)(t,this.iriValidationStrategy);if(e instanceof Error)throw this.newParseError(e.message);return this.dataFactory.namedNode(t)}validateNcname(t){if(!l.NCNAME_MATCHER.test(t))throw this.newParseError("Not a valid NCName: "+t)}attachSaxListeners(){this.saxParser.on("error",t=>this.emit("error",t)),this.saxParser.on("opentag",this.onTag.bind(this)),this.saxParser.on("text",this.onText.bind(this)),this.saxParser.on("cdata",this.onText.bind(this)),this.saxParser.on("closetag",this.onCloseTag.bind(this)),this.saxParser.on("doctype",this.onDoctype.bind(this))}onTag(t){const e=this.activeTagStack.length?this.activeTagStack[this.activeTagStack.length-1]:null;let r=c.RESOURCE;if(e&&(e.hadChildren=!0,r=e.childrenParseType),e&&e.childrenStringTags){const r=t.name;let n="";for(const e in t.attributes)n+=` ${e}="${t.attributes[e].value}"`;const i=`<${`${r}${n}`}>`;e.childrenStringTags.push(i);const o={childrenStringTags:e.childrenStringTags};return o.childrenStringEmitClosingTag=`</${r}>`,void this.activeTagStack.push(o)}const n={};e?(n.language=e.language,n.baseIRI=e.baseIRI):n.baseIRI=this.baseIRI,this.activeTagStack.push(n),r===c.RESOURCE?this.onTagResource(t,n,e,!e):this.onTagProperty(t,n,e)}onTagResource(t,e,r,i){e.childrenParseType=c.PROPERTY;let o=!0;if(t.uri===l.RDF){if(!i&&l.FORBIDDEN_NODE_ELEMENTS.indexOf(t.local)>=0)throw this.newParseError("Illegal node element name: "+t.local);switch(t.local){case"RDF":e.childrenParseType=c.RESOURCE;case"Description":o=!1}}const a=[],s=[];let u=null,f=!1,d=!1,h=null;for(const i in t.attributes){const o=t.attributes[i];if(r&&o.uri===l.RDF)switch(o.local){case"about":if(u)throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, while ${o.value} and ${u} where found.`);u=o.value;continue;case"ID":if(u)throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, while ${o.value} and ${u} where found.`);this.validateNcname(o.value),u="#"+o.value,f=!0;continue;case"nodeID":if(u)throw this.newParseError(`Only one of rdf:about, rdf:nodeID and rdf:ID can be present, while ${o.value} and ${u} where found.`);this.validateNcname(o.value),u=o.value,d=!0;continue;case"bagID":throw this.newParseError("rdf:bagID is not supported.");case"type":h=o.value;continue;case"aboutEach":throw this.newParseError("rdf:aboutEach is not supported.");case"aboutEachPrefix":throw this.newParseError("rdf:aboutEachPrefix is not supported.");case"li":throw this.newParseError("rdf:li on node elements are not supported.")}else if(o.uri===l.XML){if("lang"===o.local){e.language=""===o.value?null:o.value.toLowerCase();continue}if("base"===o.local){e.baseIRI=(0,n.resolve)(o.value,e.baseIRI);continue}}"xml"===o.prefix||"xmlns"===o.prefix||""===o.prefix&&"xmlns"===o.local||!o.uri||(a.push(this.uriToNamedNode(o.uri+o.local)),s.push(o.value))}if(null!==u&&(e.subject=d?this.dataFactory.blankNode(u):this.valueToUri(u,e),f&&this.claimNodeId(e.subject)),e.subject||(e.subject=this.dataFactory.blankNode()),o){const n=this.uriToNamedNode(t.uri+t.local);this.emitTriple(e.subject,this.dataFactory.namedNode(l.RDF+"type"),n,r?r.reifiedStatementId:null)}if(r){if(r.predicate)if(r.childrenCollectionSubject){const t=this.dataFactory.blankNode();this.emitTriple(r.childrenCollectionSubject,r.childrenCollectionPredicate,t,r.reifiedStatementId),this.emitTriple(t,this.dataFactory.namedNode(l.RDF+"first"),e.subject,e.reifiedStatementId),r.childrenCollectionSubject=t,r.childrenCollectionPredicate=this.dataFactory.namedNode(l.RDF+"rest")}else{this.emitTriple(r.subject,r.predicate,e.subject,r.reifiedStatementId);for(let t=0;t<r.predicateSubPredicates.length;t++)this.emitTriple(e.subject,r.predicateSubPredicates[t],r.predicateSubObjects[t],null);r.predicateSubPredicates=[],r.predicateSubObjects=[],r.predicateEmitted=!0}for(let t=0;t<a.length;t++){const n=this.dataFactory.literal(s[t],e.datatype||e.language);this.emitTriple(e.subject,a[t],n,r.reifiedStatementId)}h&&this.emitTriple(e.subject,this.dataFactory.namedNode(l.RDF+"type"),this.uriToNamedNode(h),null)}}onTagProperty(t,e,r){if(e.childrenParseType=c.RESOURCE,e.subject=r.subject,t.uri===l.RDF&&"li"===t.local?(r.listItemCounter||(r.listItemCounter=1),e.predicate=this.uriToNamedNode(t.uri+"_"+r.listItemCounter++)):e.predicate=this.uriToNamedNode(t.uri+t.local),t.uri===l.RDF&&l.FORBIDDEN_PROPERTY_ELEMENTS.indexOf(t.local)>=0)throw this.newParseError("Illegal property element name: "+t.local);e.predicateSubPredicates=[],e.predicateSubObjects=[];let n=!1,i=!1,o=null,a=!0;const s=[],u=[];for(const r in t.attributes){const f=t.attributes[r];if(f.uri===l.RDF)switch(f.local){case"resource":if(o)throw this.newParseError(`Found both rdf:resource (${f.value}) and rdf:nodeID (${o}).`);if(n)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:resource (${f.value})`);e.hadChildren=!0,o=f.value,a=!1;continue;case"datatype":if(i)throw this.newParseError(`Found both non-rdf:* property attributes and rdf:datatype (${f.value}).`);if(n)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:datatype (${f.value})`);e.datatype=this.valueToUri(f.value,e);continue;case"nodeID":if(i)throw this.newParseError(`Found both non-rdf:* property attributes and rdf:nodeID (${f.value}).`);if(e.hadChildren)throw this.newParseError(`Found both rdf:resource and rdf:nodeID (${f.value}).`);if(n)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:nodeID (${f.value})`);this.validateNcname(f.value),e.hadChildren=!0,o=f.value,a=!0;continue;case"bagID":throw this.newParseError("rdf:bagID is not supported.");case"parseType":if(i)throw this.newParseError("rdf:parseType is not allowed when non-rdf:* property attributes are present");if(e.datatype)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:datatype (${e.datatype.value})`);if(o)throw this.newParseError(`rdf:parseType is not allowed on property elements with rdf:nodeID or rdf:resource (${o})`);if("Resource"===f.value){n=!0,e.childrenParseType=c.PROPERTY;const t=this.dataFactory.blankNode();this.emitTriple(e.subject,e.predicate,t,e.reifiedStatementId),e.subject=t,e.predicate=null}else"Collection"===f.value?(n=!0,e.hadChildren=!0,e.childrenCollectionSubject=e.subject,e.childrenCollectionPredicate=e.predicate,a=!1):"Literal"===f.value&&(n=!0,e.childrenTagsToString=!0,e.childrenStringTags=[]);continue;case"ID":this.validateNcname(f.value),e.reifiedStatementId=this.valueToUri("#"+f.value,e),this.claimNodeId(e.reifiedStatementId);continue}else if(f.uri===l.XML&&"lang"===f.local){e.language=""===f.value?null:f.value.toLowerCase();continue}if("xml"!==f.prefix&&"xmlns"!==f.prefix&&(""!==f.prefix||"xmlns"!==f.local)&&f.uri){if(n||e.datatype)throw this.newParseError("Found illegal rdf:* properties on property element with attribute: "+f.value);e.hadChildren=!0,i=!0,s.push(this.uriToNamedNode(f.uri+f.local)),u.push(this.dataFactory.literal(f.value,e.datatype||e.language))}}if(null!==o){const t=e.subject;e.subject=a?this.dataFactory.blankNode(o):this.valueToUri(o,e),this.emitTriple(t,e.predicate,e.subject,e.reifiedStatementId);for(let t=0;t<s.length;t++)this.emitTriple(e.subject,s[t],u[t],null);e.predicateEmitted=!0}else a&&(e.predicateSubPredicates=s,e.predicateSubObjects=u,e.predicateEmitted=!1)}emitTriple(t,e,r,n){this.push(this.dataFactory.quad(t,e,r,this.defaultGraph)),n&&(this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"type"),this.dataFactory.namedNode(l.RDF+"Statement"),this.defaultGraph)),this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"subject"),t,this.defaultGraph)),this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"predicate"),e,this.defaultGraph)),this.push(this.dataFactory.quad(n,this.dataFactory.namedNode(l.RDF+"object"),r,this.defaultGraph)))}claimNodeId(t){if(!this.allowDuplicateRdfIds){if(this.nodeIds[t.value])throw this.newParseError(`Found multiple occurrences of rdf:ID='${t.value}'.`);this.nodeIds[t.value]=!0}}onText(t){const e=this.activeTagStack.length?this.activeTagStack[this.activeTagStack.length-1]:null;e&&(e.childrenStringTags?e.childrenStringTags.push(t):e.predicate&&(e.text=t))}onCloseTag(){const t=this.activeTagStack.pop();if(t.childrenStringEmitClosingTag&&t.childrenStringTags.push(t.childrenStringEmitClosingTag),t.childrenTagsToString&&(t.datatype=this.dataFactory.namedNode(l.RDF+"XMLLiteral"),t.text=t.childrenStringTags.join(""),t.hadChildren=!1),t.childrenCollectionSubject)this.emitTriple(t.childrenCollectionSubject,t.childrenCollectionPredicate,this.dataFactory.namedNode(l.RDF+"nil"),t.reifiedStatementId);else if(t.predicate)if(t.hadChildren||t.childrenParseType===c.PROPERTY){if(!t.predicateEmitted){const e=this.dataFactory.blankNode();this.emitTriple(t.subject,t.predicate,e,t.reifiedStatementId);for(let r=0;r<t.predicateSubPredicates.length;r++)this.emitTriple(e,t.predicateSubPredicates[r],t.predicateSubObjects[r],null)}}else this.emitTriple(t.subject,t.predicate,this.dataFactory.literal(t.text||"",t.datatype||t.language),t.reifiedStatementId)}onDoctype(t){t.replace(/<!ENTITY\s+([^\s]+)\s+["']([^"']+)["']\s*>/g,(t,e,r)=>(this.saxParser.ENTITIES[e]=r,""))}}var c;e.RdfXmlParser=l,l.MIME_TYPE="application/rdf+xml",l.RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#",l.XML="http://www.w3.org/XML/1998/namespace",l.FORBIDDEN_NODE_ELEMENTS=["RDF","ID","about","bagID","parseType","resource","nodeID","li","aboutEach","aboutEachPrefix"],l.FORBIDDEN_PROPERTY_ELEMENTS=["Description","RDF","ID","about","bagID","parseType","resource","nodeID","aboutEach","aboutEachPrefix"],l.NCNAME_MATCHER=/^([A-Za-z\xC0-\xD6\xD8-\xF6\u{F8}-\u{2FF}\u{370}-\u{37D}\u{37F}-\u{1FFF}\u{200C}-\u{200D}\u{2070}-\u{218F}\u{2C00}-\u{2FEF}\u{3001}-\u{D7FF}\u{F900}-\u{FDCF}\u{FDF0}-\u{FFFD}\u{10000}-\u{EFFFF}_])([A-Za-z\xC0-\xD6\xD8-\xF6\u{F8}-\u{2FF}\u{370}-\u{37D}\u{37F}-\u{1FFF}\u{200C}-\u{200D}\u{2070}-\u{218F}\u{2C00}-\u{2FEF}\u{3001}-\u{D7FF}\u{F900}-\u{FDCF}\u{FDF0}-\u{FFFD}\u{10000}-\u{EFFFF}_\-.0-9#xB7\u{0300}-\u{036F}\u{203F}-\u{2040}])*$/u,function(t){t[t.RESOURCE=0]="RESOURCE",t[t.PROPERTY=1]="PROPERTY"}(c||(e.ParseType=c={}))},1163:(t,e,r)=>{"use strict";const{SymbolDispose:n}=r(37808),{AbortError:i,codes:o}=r(33555),{isNodeStream:a,isWebStream:s,kControllerErrorFunction:u}=r(74451),l=r(41927),{ERR_INVALID_ARG_TYPE:c}=o;let f;t.exports.addAbortSignal=function(e,r){if(((t,e)=>{if("object"!=typeof t||!("aborted"in t))throw new c(e,"AbortSignal",t)})(e,"signal"),!a(r)&&!s(r))throw new c("stream",["ReadableStream","WritableStream","Stream"],r);return t.exports.addAbortSignalNoValidate(e,r)},t.exports.addAbortSignalNoValidate=function(t,e){if("object"!=typeof t||!("aborted"in t))return e;const o=a(e)?()=>{e.destroy(new i(void 0,{cause:t.reason}))}:()=>{e[u](new i(void 0,{cause:t.reason}))};if(t.aborted)o();else{f=f||r(61357).addAbortListener;const i=f(t,o);l(e,i[n])}return e}},82481:(t,e,r)=>{"use strict";const{StringPrototypeSlice:n,SymbolIterator:i,TypedArrayPrototypeSet:o,Uint8Array:a}=r(37808),{Buffer:s}=r(48764),{inspect:u}=r(61357);t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(t){const e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}unshift(t){const e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}shift(){if(0===this.length)return;const t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}clear(){this.head=this.tail=null,this.length=0}join(t){if(0===this.length)return"";let e=this.head,r=""+e.data;for(;null!==(e=e.next);)r+=t+e.data;return r}concat(t){if(0===this.length)return s.alloc(0);const e=s.allocUnsafe(t>>>0);let r=this.head,n=0;for(;r;)o(e,r.data,n),n+=r.data.length,r=r.next;return e}consume(t,e){const r=this.head.data;if(t<r.length){const e=r.slice(0,t);return this.head.data=r.slice(t),e}return t===r.length?this.shift():e?this._getString(t):this._getBuffer(t)}first(){return this.head.data}*[i](){for(let t=this.head;t;t=t.next)yield t.data}_getString(t){let e="",r=this.head,i=0;do{const o=r.data;if(!(t>o.length)){t===o.length?(e+=o,++i,r.next?this.head=r.next:this.head=this.tail=null):(e+=n(o,0,t),this.head=r,r.data=n(o,t));break}e+=o,t-=o.length,++i}while(null!==(r=r.next));return this.length-=i,e}_getBuffer(t){const e=s.allocUnsafe(t),r=t;let n=this.head,i=0;do{const s=n.data;if(!(t>s.length)){t===s.length?(o(e,s,r-t),++i,n.next?this.head=n.next:this.head=this.tail=null):(o(e,new a(s.buffer,s.byteOffset,t),r-t),this.head=n,n.data=s.slice(t));break}o(e,s,r-t),t-=s.length,++i}while(null!==(n=n.next));return this.length-=i,e}[Symbol.for("nodejs.util.inspect.custom")](t,e){return u(this,{...e,depth:0,customInspect:!1})}}},72982:(t,e,r)=>{"use strict";const{pipeline:n}=r(33298),i=r(72664),{destroyer:o}=r(55306),{isNodeStream:a,isReadable:s,isWritable:u,isWebStream:l,isTransformStream:c,isWritableStream:f,isReadableStream:d}=r(74451),{AbortError:h,codes:{ERR_INVALID_ARG_VALUE:p,ERR_MISSING_ARGS:g}}=r(33555),y=r(41927);t.exports=function(...t){if(0===t.length)throw new g("streams");if(1===t.length)return i.from(t[0]);const e=[...t];if("function"==typeof t[0]&&(t[0]=i.from(t[0])),"function"==typeof t[t.length-1]){const e=t.length-1;t[e]=i.from(t[e])}for(let r=0;r<t.length;++r)if(a(t[r])||l(t[r])){if(r<t.length-1&&!(s(t[r])||d(t[r])||c(t[r])))throw new p(`streams[${r}]`,e[r],"must be readable");if(r>0&&!(u(t[r])||f(t[r])||c(t[r])))throw new p(`streams[${r}]`,e[r],"must be writable")}let r,m,v,b,w;const _=t[0],x=n(t,(function(t){const e=b;b=null,e?e(t):t?w.destroy(t):E||S||w.destroy()})),S=!!(u(_)||f(_)||c(_)),E=!!(s(x)||d(x)||c(x));if(w=new i({writableObjectMode:!(null==_||!_.writableObjectMode),readableObjectMode:!(null==x||!x.readableObjectMode),writable:S,readable:E}),S){if(a(_))w._write=function(t,e,n){_.write(t,e)?n():r=n},w._final=function(t){_.end(),m=t},_.on("drain",(function(){if(r){const t=r;r=null,t()}}));else if(l(_)){const t=(c(_)?_.writable:_).getWriter();w._write=async function(e,r,n){try{await t.ready,t.write(e).catch(()=>{}),n()}catch(t){n(t)}},w._final=async function(e){try{await t.ready,t.close().catch(()=>{}),m=e}catch(t){e(t)}}}const t=c(x)?x.readable:x;y(t,()=>{if(m){const t=m;m=null,t()}})}if(E)if(a(x))x.on("readable",(function(){if(v){const t=v;v=null,t()}})),x.on("end",(function(){w.push(null)})),w._read=function(){for(;;){const t=x.read();if(null===t)return void(v=w._read);if(!w.push(t))return}};else if(l(x)){const t=(c(x)?x.readable:x).getReader();w._read=async function(){for(;;)try{const{value:e,done:r}=await t.read();if(!w.push(e))return;if(r)return void w.push(null)}catch{return}}}return w._destroy=function(t,e){t||null===b||(t=new h),v=null,r=null,m=null,null===b?e(t):(b=e,a(x)&&o(x,t))},w}},55306:(t,e,r)=>{"use strict";const n=r(34155),{aggregateTwoErrors:i,codes:{ERR_MULTIPLE_CALLBACK:o},AbortError:a}=r(33555),{Symbol:s}=r(37808),{kIsDestroyed:u,isDestroyed:l,isFinished:c,isServerRequest:f}=r(74451),d=s("kDestroy"),h=s("kConstruct");function p(t,e,r){t&&(t.stack,e&&!e.errored&&(e.errored=t),r&&!r.errored&&(r.errored=t))}function g(t,e,r){let i=!1;function o(e){if(i)return;i=!0;const o=t._readableState,a=t._writableState;p(e,a,o),a&&(a.closed=!0),o&&(o.closed=!0),"function"==typeof r&&r(e),e?n.nextTick(y,t,e):n.nextTick(m,t)}try{t._destroy(e||null,o)}catch(e){o(e)}}function y(t,e){v(t,e),m(t)}function m(t){const e=t._readableState,r=t._writableState;r&&(r.closeEmitted=!0),e&&(e.closeEmitted=!0),(null!=r&&r.emitClose||null!=e&&e.emitClose)&&t.emit("close")}function v(t,e){const r=t._readableState,n=t._writableState;null!=n&&n.errorEmitted||null!=r&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),t.emit("error",e))}function b(t,e,r){const i=t._readableState,o=t._writableState;if(null!=o&&o.destroyed||null!=i&&i.destroyed)return this;null!=i&&i.autoDestroy||null!=o&&o.autoDestroy?t.destroy(e):e&&(e.stack,o&&!o.errored&&(o.errored=e),i&&!i.errored&&(i.errored=e),r?n.nextTick(v,t,e):v(t,e))}function w(t){let e=!1;function r(r){if(e)return void b(t,null!=r?r:new o);e=!0;const i=t._readableState,a=t._writableState,s=a||i;i&&(i.constructed=!0),a&&(a.constructed=!0),s.destroyed?t.emit(d,r):r?b(t,r,!0):n.nextTick(_,t)}try{t._construct(t=>{n.nextTick(r,t)})}catch(t){n.nextTick(r,t)}}function _(t){t.emit(h)}function x(t){return(null==t?void 0:t.setHeader)&&"function"==typeof t.abort}function S(t){t.emit("close")}function E(t,e){t.emit("error",e),n.nextTick(S,t)}t.exports={construct:function(t,e){if("function"!=typeof t._construct)return;const r=t._readableState,i=t._writableState;r&&(r.constructed=!1),i&&(i.constructed=!1),t.once(h,e),t.listenerCount(h)>1||n.nextTick(w,t)},destroyer:function(t,e){t&&!l(t)&&(e||c(t)||(e=new a),f(t)?(t.socket=null,t.destroy(e)):x(t)?t.abort():x(t.req)?t.req.abort():"function"==typeof t.destroy?t.destroy(e):"function"==typeof t.close?t.close():e?n.nextTick(E,t,e):n.nextTick(S,t),t.destroyed||(t[u]=!0))},destroy:function(t,e){const r=this._readableState,n=this._writableState,o=n||r;return null!=n&&n.destroyed||null!=r&&r.destroyed?("function"==typeof e&&e(),this):(p(t,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),o.constructed?g(this,t,e):this.once(d,(function(r){g(this,i(r,t),e)})),this)},undestroy:function(){const t=this._readableState,e=this._writableState;t&&(t.constructed=!0,t.closed=!1,t.closeEmitted=!1,t.destroyed=!1,t.errored=null,t.errorEmitted=!1,t.reading=!1,t.ended=!1===t.readable,t.endEmitted=!1===t.readable),e&&(e.constructed=!0,e.destroyed=!1,e.closed=!1,e.closeEmitted=!1,e.errored=null,e.errorEmitted=!1,e.finalCalled=!1,e.prefinished=!1,e.ended=!1===e.writable,e.ending=!1===e.writable,e.finished=!1===e.writable)},errorOrDestroy:b}},72664:(t,e,r)=>{"use strict";const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:i,ObjectKeys:o,ObjectSetPrototypeOf:a}=r(37808);t.exports=l;const s=r(37470),u=r(18672);a(l.prototype,s.prototype),a(l,s);{const t=o(u.prototype);for(let e=0;e<t.length;e++){const r=t[e];l.prototype[r]||(l.prototype[r]=u.prototype[r])}}function l(t){if(!(this instanceof l))return new l(t);s.call(this,t),u.call(this,t),t?(this.allowHalfOpen=!1!==t.allowHalfOpen,!1===t.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===t.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}let c,f;function d(){return void 0===c&&(c={}),c}n(l.prototype,{writable:{__proto__:null,...i(u.prototype,"writable")},writableHighWaterMark:{__proto__:null,...i(u.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...i(u.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...i(u.prototype,"writableBuffer")},writableLength:{__proto__:null,...i(u.prototype,"writableLength")},writableFinished:{__proto__:null,...i(u.prototype,"writableFinished")},writableCorked:{__proto__:null,...i(u.prototype,"writableCorked")},writableEnded:{__proto__:null,...i(u.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...i(u.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set(t){this._readableState&&this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}}),l.fromWeb=function(t,e){return d().newStreamDuplexFromReadableWritablePair(t,e)},l.toWeb=function(t){return d().newReadableWritablePairFromDuplex(t)},l.from=function(t){return f||(f=r(76048)),f(t,"body")}},76048:(t,e,r)=>{const n=r(34155),i=r(48764),{isReadable:o,isWritable:a,isIterable:s,isNodeStream:u,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:f,isReadableStream:d,isWritableStream:h}=r(74451),p=r(41927),{AbortError:g,codes:{ERR_INVALID_ARG_TYPE:y,ERR_INVALID_RETURN_VALUE:m}}=r(33555),{destroyer:v}=r(55306),b=r(72664),w=r(37470),_=r(18672),{createDeferredPromise:x}=r(61357),S=r(57722),E=globalThis.Blob||i.Blob,T=void 0!==E?function(t){return t instanceof E}:function(t){return!1},k=globalThis.AbortController||r(28599).AbortController,{FunctionPrototypeCall:O}=r(37808);class A extends b{constructor(t){super(t),!1===(null==t?void 0:t.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==t?void 0:t.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function C(t){const e=t.readable&&"function"!=typeof t.readable.read?w.wrap(t.readable):t.readable,r=t.writable;let n,i,s,u,l,c=!!o(e),f=!!a(r);function d(t){const e=u;u=null,e?e(t):t&&l.destroy(t)}return l=new A({readableObjectMode:!(null==e||!e.readableObjectMode),writableObjectMode:!(null==r||!r.writableObjectMode),readable:c,writable:f}),f&&(p(r,t=>{f=!1,t&&v(e,t),d(t)}),l._write=function(t,e,i){r.write(t,e)?i():n=i},l._final=function(t){r.end(),i=t},r.on("drain",(function(){if(n){const t=n;n=null,t()}})),r.on("finish",(function(){if(i){const t=i;i=null,t()}}))),c&&(p(e,t=>{c=!1,t&&v(e,t),d(t)}),e.on("readable",(function(){if(s){const t=s;s=null,t()}})),e.on("end",(function(){l.push(null)})),l._read=function(){for(;;){const t=e.read();if(null===t)return void(s=l._read);if(!l.push(t))return}}),l._destroy=function(t,o){t||null===u||(t=new g),s=null,n=null,i=null,null===u?o(t):(u=o,v(r,t),v(e,t))},l}t.exports=function t(e,r){if(f(e))return e;if(l(e))return C({readable:e});if(c(e))return C({writable:e});if(u(e))return C({writable:!1,readable:!1});if(d(e))return C({readable:w.fromWeb(e)});if(h(e))return C({writable:_.fromWeb(e)});if("function"==typeof e){const{value:t,write:i,final:o,destroy:a}=function(t){let{promise:e,resolve:r}=x();const i=new k,o=i.signal;return{value:t(async function*(){for(;;){const t=e;e=null;const{chunk:i,done:a,cb:s}=await t;if(n.nextTick(s),a)return;if(o.aborted)throw new g(void 0,{cause:o.reason});({promise:e,resolve:r}=x()),yield i}}(),{signal:o}),write(t,e,n){const i=r;r=null,i({chunk:t,done:!1,cb:n})},final(t){const e=r;r=null,e({done:!0,cb:t})},destroy(t,e){i.abort(),e(t)}}}(e);if(s(t))return S(A,t,{objectMode:!0,write:i,final:o,destroy:a});const u=null==t?void 0:t.then;if("function"==typeof u){let e;const r=O(u,t,t=>{if(null!=t)throw new m("nully","body",t)},t=>{v(e,t)});return e=new A({objectMode:!0,readable:!1,write:i,final(t){o(async()=>{try{await r,n.nextTick(t,null)}catch(e){n.nextTick(t,e)}})},destroy:a})}throw new m("Iterable, AsyncIterable or AsyncFunction",r,t)}if(T(e))return t(e.arrayBuffer());if(s(e))return S(A,e,{objectMode:!0,writable:!1});if(d(null==e?void 0:e.readable)&&h(null==e?void 0:e.writable))return A.fromWeb(e);if("object"==typeof(null==e?void 0:e.writable)||"object"==typeof(null==e?void 0:e.readable)){return C({readable:null!=e&&e.readable?l(null==e?void 0:e.readable)?null==e?void 0:e.readable:t(e.readable):void 0,writable:null!=e&&e.writable?c(null==e?void 0:e.writable)?null==e?void 0:e.writable:t(e.writable):void 0})}const i=null==e?void 0:e.then;if("function"==typeof i){let t;return O(i,e,e=>{null!=e&&t.push(e),t.push(null)},e=>{v(t,e)}),t=new A({objectMode:!0,writable:!1,read(){}})}throw new y(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],e)}},41927:(t,e,r)=>{const n=r(34155),{AbortError:i,codes:o}=r(33555),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_PREMATURE_CLOSE:s}=o,{kEmptyObject:u,once:l}=r(61357),{validateAbortSignal:c,validateFunction:f,validateObject:d,validateBoolean:h}=r(79395),{Promise:p,PromisePrototypeThen:g,SymbolDispose:y}=r(37808),{isClosed:m,isReadable:v,isReadableNodeStream:b,isReadableStream:w,isReadableFinished:_,isReadableErrored:x,isWritable:S,isWritableNodeStream:E,isWritableStream:T,isWritableFinished:k,isWritableErrored:O,isNodeStream:A,willEmitClose:C,kIsClosedPromise:P}=r(74451);let j;function R(t){return t.setHeader&&"function"==typeof t.abort}const N=()=>{};function I(t,e,o){var h,p;if(2===arguments.length?(o=e,e=u):null==e?e=u:d(e,"options"),f(o,"callback"),c(e.signal,"options.signal"),o=l(o),w(t)||T(t))return D(t,e,o);if(!A(t))throw new a("stream",["ReadableStream","WritableStream","Stream"],t);const g=null!==(h=e.readable)&&void 0!==h?h:b(t),P=null!==(p=e.writable)&&void 0!==p?p:E(t),I=t._writableState,L=t._readableState,M=()=>{t.writable||V()};let F=C(t)&&b(t)===g&&E(t)===P,B=k(t,!1);const V=()=>{B=!0,t.destroyed&&(F=!1),(!F||t.readable&&!g)&&(g&&!U||o.call(t))};let U=_(t,!1);const W=()=>{U=!0,t.destroyed&&(F=!1),(!F||t.writable&&!P)&&(P&&!B||o.call(t))},H=e=>{o.call(t,e)};let G=m(t);const Y=()=>{G=!0;const e=O(t)||x(t);return e&&"boolean"!=typeof e?o.call(t,e):g&&!U&&b(t,!0)&&!_(t,!1)?o.call(t,new s):!P||B||k(t,!1)?void o.call(t):o.call(t,new s)},$=()=>{G=!0;const e=O(t)||x(t);if(e&&"boolean"!=typeof e)return o.call(t,e);o.call(t)},q=()=>{t.req.on("finish",V)};R(t)?(t.on("complete",V),F||t.on("abort",Y),t.req?q():t.on("request",q)):P&&!I&&(t.on("end",M),t.on("close",M)),F||"boolean"!=typeof t.aborted||t.on("aborted",Y),t.on("end",W),t.on("finish",V),!1!==e.error&&t.on("error",H),t.on("close",Y),G?n.nextTick(Y):null!=I&&I.errorEmitted||null!=L&&L.errorEmitted?F||n.nextTick($):(g||F&&!v(t)||!B&&!1!==S(t))&&(P||F&&!S(t)||!U&&!1!==v(t))?L&&t.req&&t.aborted&&n.nextTick($):n.nextTick($);const z=()=>{o=N,t.removeListener("aborted",Y),t.removeListener("complete",V),t.removeListener("abort",Y),t.removeListener("request",q),t.req&&t.req.removeListener("finish",V),t.removeListener("end",M),t.removeListener("close",M),t.removeListener("finish",V),t.removeListener("end",W),t.removeListener("error",H),t.removeListener("close",Y)};if(e.signal&&!G){const a=()=>{const r=o;z(),r.call(t,new i(void 0,{cause:e.signal.reason}))};if(e.signal.aborted)n.nextTick(a);else{j=j||r(61357).addAbortListener;const n=j(e.signal,a),i=o;o=l((...e)=>{n[y](),i.apply(t,e)})}}return z}function D(t,e,o){let a=!1,s=N;if(e.signal)if(s=()=>{a=!0,o.call(t,new i(void 0,{cause:e.signal.reason}))},e.signal.aborted)n.nextTick(s);else{j=j||r(61357).addAbortListener;const n=j(e.signal,s),i=o;o=l((...e)=>{n[y](),i.apply(t,e)})}const u=(...e)=>{a||n.nextTick(()=>o.apply(t,e))};return g(t[P].promise,u,u),N}t.exports=I,t.exports.finished=function(t,e){var r;let n=!1;return null===e&&(e=u),null!==(r=e)&&void 0!==r&&r.cleanup&&(h(e.cleanup,"cleanup"),n=e.cleanup),new p((r,i)=>{const o=I(t,e,t=>{n&&o(),t?i(t):r()})})}},57722:(t,e,r)=>{"use strict";const n=r(34155),{PromisePrototypeThen:i,SymbolAsyncIterator:o,SymbolIterator:a}=r(37808),{Buffer:s}=r(48764),{ERR_INVALID_ARG_TYPE:u,ERR_STREAM_NULL_VALUES:l}=r(33555).codes;t.exports=function(t,e,r){let c,f;if("string"==typeof e||e instanceof s)return new t({objectMode:!0,...r,read(){this.push(e),this.push(null)}});if(e&&e[o])f=!0,c=e[o]();else{if(!e||!e[a])throw new u("iterable",["Iterable"],e);f=!1,c=e[a]()}const d=new t({objectMode:!0,highWaterMark:1,...r});let h=!1;return d._read=function(){h||(h=!0,async function(){for(;;){try{const{value:t,done:e}=f?await c.next():c.next();if(e)d.push(null);else{const e=t&&"function"==typeof t.then?await t:t;if(null===e)throw h=!1,new l;if(d.push(e))continue;h=!1}}catch(t){d.destroy(t)}break}}())},d._destroy=function(t,e){i(async function(t){const e=null!=t,r="function"==typeof c.throw;if(e&&r){const{value:e,done:r}=await c.throw(t);if(await e,r)return}if("function"==typeof c.return){const{value:t}=await c.return();await t}}(t),()=>n.nextTick(e,t),r=>n.nextTick(e,r||t))},d}},16618:(t,e,r)=>{"use strict";const{ArrayIsArray:n,ObjectSetPrototypeOf:i}=r(37808),{EventEmitter:o}=r(17187);function a(t){o.call(this,t)}function s(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?n(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}i(a.prototype,o.prototype),i(a,o),a.prototype.pipe=function(t,e){const r=this;function n(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),t.on("drain",i),t._isStdio||e&&!1===e.end||(r.on("end",u),r.on("close",l));let a=!1;function u(){a||(a=!0,t.end())}function l(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function c(t){f(),0===o.listenerCount(this,"error")&&this.emit("error",t)}function f(){r.removeListener("data",n),t.removeListener("drain",i),r.removeListener("end",u),r.removeListener("close",l),r.removeListener("error",c),t.removeListener("error",c),r.removeListener("end",f),r.removeListener("close",f),t.removeListener("close",f)}return s(r,"error",c),s(t,"error",c),r.on("end",f),r.on("close",f),t.on("close",f),t.emit("pipe",r),t},t.exports={Stream:a,prependListener:s}},83093:(t,e,r)=>{"use strict";const n=globalThis.AbortController||r(28599).AbortController,{codes:{ERR_INVALID_ARG_VALUE:i,ERR_INVALID_ARG_TYPE:o,ERR_MISSING_ARGS:a,ERR_OUT_OF_RANGE:s},AbortError:u}=r(33555),{validateAbortSignal:l,validateInteger:c,validateObject:f}=r(79395),d=r(37808).Symbol("kWeak"),h=r(37808).Symbol("kResistStopPropagation"),{finished:p}=r(41927),g=r(72982),{addAbortSignalNoValidate:y}=r(1163),{isWritable:m,isNodeStream:v}=r(74451),{deprecate:b}=r(61357),{ArrayPrototypePush:w,Boolean:_,MathFloor:x,Number:S,NumberIsNaN:E,Promise:T,PromiseReject:k,PromiseResolve:O,PromisePrototypeThen:A,Symbol:C}=r(37808),P=C("kEmpty"),j=C("kEof");function R(t,e){if("function"!=typeof t)throw new o("fn",["Function","AsyncFunction"],t);null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal");let n=1;null!=(null==e?void 0:e.concurrency)&&(n=x(e.concurrency));let i=n-1;return null!=(null==e?void 0:e.highWaterMark)&&(i=x(e.highWaterMark)),c(n,"options.concurrency",1),c(i,"options.highWaterMark",0),i+=n,async function*(){const o=r(61357).AbortSignalAny([null==e?void 0:e.signal].filter(_)),a=this,s=[],l={signal:o};let c,f,d=!1,h=0;function p(){d=!0,g()}function g(){h-=1,y()}function y(){f&&!d&&h<n&&s.length<i&&(f(),f=null)}!async function(){try{for await(let e of a){if(d)return;if(o.aborted)throw new u;try{if(e=t(e,l),e===P)continue;e=O(e)}catch(t){e=k(t)}h+=1,A(e,g,p),s.push(e),c&&(c(),c=null),!d&&(s.length>=i||h>=n)&&await new T(t=>{f=t})}s.push(j)}catch(t){const e=k(t);A(e,g,p),s.push(e)}finally{d=!0,c&&(c(),c=null)}}();try{for(;;){for(;s.length>0;){const t=await s[0];if(t===j)return;if(o.aborted)throw new u;t!==P&&(yield t),s.shift(),y()}await new T(t=>{c=t})}}finally{d=!0,f&&(f(),f=null)}}.call(this)}async function N(t,e){for await(const r of I.call(this,t,e))return!0;return!1}function I(t,e){if("function"!=typeof t)throw new o("fn",["Function","AsyncFunction"],t);return R.call(this,(async function(e,r){return await t(e,r)?e:P}),e)}class D extends a{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function L(t){if(t=S(t),E(t))return 0;if(t<0)throw new s("number",">= 0",t);return t}t.exports.streamReturningOperators={asIndexedPairs:b((function(t){return null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),async function*(){let e=0;for await(const n of this){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new u({cause:t.signal.reason});yield[e++,n]}}.call(this)}),"readable.asIndexedPairs will be removed in a future version."),drop:function(t,e){return null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal"),t=L(t),async function*(){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new u;for await(const r of this){var n;if(null!=e&&null!==(n=e.signal)&&void 0!==n&&n.aborted)throw new u;t--<=0&&(yield r)}}.call(this)},filter:I,flatMap:function(t,e){const r=R.call(this,t,e);return async function*(){for await(const t of r)yield*t}.call(this)},map:R,take:function(t,e){return null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal"),t=L(t),async function*(){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new u;for await(const r of this){var n;if(null!=e&&null!==(n=e.signal)&&void 0!==n&&n.aborted)throw new u;if(t-- >0&&(yield r),t<=0)return}}.call(this)},compose:function(t,e){if(null!=e&&f(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal"),v(t)&&!m(t))throw new i("stream",t,"must be writable");const r=g(this,t);return null!=e&&e.signal&&y(e.signal,r),r}},t.exports.promiseReturningOperators={every:async function(t,e){if("function"!=typeof t)throw new o("fn",["Function","AsyncFunction"],t);return!await N.call(this,async(...e)=>!await t(...e),e)},forEach:async function(t,e){if("function"!=typeof t)throw new o("fn",["Function","AsyncFunction"],t);for await(const r of R.call(this,(async function(e,r){return await t(e,r),P}),e));},reduce:async function(t,e,r){var i;if("function"!=typeof t)throw new o("reducer",["Function","AsyncFunction"],t);null!=r&&f(r,"options"),null!=(null==r?void 0:r.signal)&&l(r.signal,"options.signal");let a=arguments.length>1;if(null!=r&&null!==(i=r.signal)&&void 0!==i&&i.aborted){const t=new u(void 0,{cause:r.signal.reason});throw this.once("error",()=>{}),await p(this.destroy(t)),t}const s=new n,c=s.signal;if(null!=r&&r.signal){const t={once:!0,[d]:this,[h]:!0};r.signal.addEventListener("abort",()=>s.abort(),t)}let g=!1;try{for await(const n of this){var y;if(g=!0,null!=r&&null!==(y=r.signal)&&void 0!==y&&y.aborted)throw new u;a?e=await t(e,n,{signal:c}):(e=n,a=!0)}if(!g&&!a)throw new D}finally{s.abort()}return e},toArray:async function(t){null!=t&&f(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal");const e=[];for await(const n of this){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new u(void 0,{cause:t.signal.reason});w(e,n)}return e},some:N,find:async function(t,e){for await(const r of I.call(this,t,e))return r}}},66541:(t,e,r)=>{"use strict";const{ObjectSetPrototypeOf:n}=r(37808);t.exports=o;const i=r(2595);function o(t){if(!(this instanceof o))return new o(t);i.call(this,t)}n(o.prototype,i.prototype),n(o,i),o.prototype._transform=function(t,e,r){r(null,t)}},33298:(t,e,r)=>{const n=r(34155),{ArrayIsArray:i,Promise:o,SymbolAsyncIterator:a,SymbolDispose:s}=r(37808),u=r(41927),{once:l}=r(61357),c=r(55306),f=r(72664),{aggregateTwoErrors:d,codes:{ERR_INVALID_ARG_TYPE:h,ERR_INVALID_RETURN_VALUE:p,ERR_MISSING_ARGS:g,ERR_STREAM_DESTROYED:y,ERR_STREAM_PREMATURE_CLOSE:m},AbortError:v}=r(33555),{validateFunction:b,validateAbortSignal:w}=r(79395),{isIterable:_,isReadable:x,isReadableNodeStream:S,isNodeStream:E,isTransformStream:T,isWebStream:k,isReadableStream:O,isReadableFinished:A}=r(74451),C=globalThis.AbortController||r(28599).AbortController;let P,j,R;function N(t,e,r){let n=!1;t.on("close",()=>{n=!0});return{destroy:e=>{n||(n=!0,c.destroyer(t,e||new y("pipe")))},cleanup:u(t,{readable:e,writable:r},t=>{n=!t})}}function I(t){if(_(t))return t;if(S(t))return async function*(t){j||(j=r(37470));yield*j.prototype[a].call(t)}(t);throw new h("val",["Readable","Iterable","AsyncIterable"],t)}async function D(t,e,r,{end:n}){let i,a=null;const s=t=>{if(t&&(i=t),a){const t=a;a=null,t()}},l=()=>new o((t,e)=>{i?e(i):a=()=>{i?e(i):t()}});e.on("drain",s);const c=u(e,{readable:!1},s);try{e.writableNeedDrain&&await l();for await(const r of t)e.write(r)||await l();n&&(e.end(),await l()),r()}catch(t){r(i!==t?d(i,t):t)}finally{c(),e.off("drain",s)}}async function L(t,e,r,{end:n}){T(e)&&(e=e.writable);const i=e.getWriter();try{for await(const e of t)await i.ready,i.write(e).catch(()=>{});await i.ready,n&&await i.close(),r()}catch(t){try{await i.abort(t),r(t)}catch(t){r(t)}}}function M(t,e,o){if(1===t.length&&i(t[0])&&(t=t[0]),t.length<2)throw new g("streams");const a=new C,u=a.signal,l=null==o?void 0:o.signal,c=[];function d(){V(new v)}let y,m,b;w(l,"options.signal"),R=R||r(61357).addAbortListener,l&&(y=R(l,d));const A=[];let j,M=0;function B(t){V(t,0==--M)}function V(t,r){var i;if(!t||m&&"ERR_STREAM_PREMATURE_CLOSE"!==m.code||(m=t),m||r){for(;A.length;)A.shift()(m);null===(i=y)||void 0===i||i[s](),a.abort(),r&&(m||c.forEach(t=>t()),n.nextTick(e,m,b))}}for(let e=0;e<t.length;e++){const i=t[e],a=e<t.length-1,s=e>0,l=a||!1!==(null==o?void 0:o.end),d=e===t.length-1;if(E(i)){if(l){const{destroy:t,cleanup:e}=N(i,a,s);A.push(t),x(i)&&d&&c.push(e)}function U(t){t&&"AbortError"!==t.name&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code&&B(t)}i.on("error",U),x(i)&&d&&c.push(()=>{i.removeListener("error",U)})}if(0===e)if("function"==typeof i){if(j=i({signal:u}),!_(j))throw new p("Iterable, AsyncIterable or Stream","source",j)}else j=_(i)||S(i)||T(i)?i:f.from(i);else if("function"==typeof i){var W;if(T(j))j=I(null===(W=j)||void 0===W?void 0:W.readable);else j=I(j);if(j=i(j,{signal:u}),a){if(!_(j,!0))throw new p("AsyncIterable",`transform[${e-1}]`,j)}else{var H;P||(P=r(66541));const t=new P({objectMode:!0}),e=null===(H=j)||void 0===H?void 0:H.then;if("function"==typeof e)M++,e.call(j,e=>{b=e,null!=e&&t.write(e),l&&t.end(),n.nextTick(B)},e=>{t.destroy(e),n.nextTick(B,e)});else if(_(j,!0))M++,D(j,t,B,{end:l});else{if(!O(j)&&!T(j))throw new p("AsyncIterable or Promise","destination",j);{const e=j.readable||j;M++,D(e,t,B,{end:l})}}j=t;const{destroy:i,cleanup:o}=N(j,!1,!0);A.push(i),d&&c.push(o)}}else if(E(i)){if(S(j)){M+=2;const t=F(j,i,B,{end:l});x(i)&&d&&c.push(t)}else if(T(j)||O(j)){const t=j.readable||j;M++,D(t,i,B,{end:l})}else{if(!_(j))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],j);M++,D(j,i,B,{end:l})}j=i}else if(k(i)){if(S(j))M++,L(I(j),i,B,{end:l});else if(O(j)||_(j))M++,L(j,i,B,{end:l});else{if(!T(j))throw new h("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],j);M++,L(j.readable,i,B,{end:l})}j=i}else j=f.from(i)}return(null!=u&&u.aborted||null!=l&&l.aborted)&&n.nextTick(d),j}function F(t,e,r,{end:i}){let o=!1;if(e.on("close",()=>{o||r(new m)}),t.pipe(e,{end:!1}),i){function a(){o=!0,e.end()}A(t)?n.nextTick(a):t.once("end",a)}else r();return u(t,{readable:!0,writable:!1},e=>{const n=t._readableState;e&&"ERR_STREAM_PREMATURE_CLOSE"===e.code&&n&&n.ended&&!n.errored&&!n.errorEmitted?t.once("end",r).once("error",r):r(e)}),u(e,{readable:!1,writable:!0},r)}t.exports={pipelineImpl:M,pipeline:function(...t){return M(t,l(function(t){return b(t[t.length-1],"streams[stream.length - 1]"),t.pop()}(t)))}}},37470:(t,e,r)=>{const n=r(34155),{ArrayPrototypeIndexOf:i,NumberIsInteger:o,NumberIsNaN:a,NumberParseInt:s,ObjectDefineProperties:u,ObjectKeys:l,ObjectSetPrototypeOf:c,Promise:f,SafeSet:d,SymbolAsyncDispose:h,SymbolAsyncIterator:p,Symbol:g}=r(37808);t.exports=W,W.ReadableState=U;const{EventEmitter:y}=r(17187),{Stream:m,prependListener:v}=r(16618),{Buffer:b}=r(48764),{addAbortSignal:w}=r(1163),_=r(41927);let x=r(61357).debuglog("stream",t=>{x=t});const S=r(82481),E=r(55306),{getHighWaterMark:T,getDefaultHighWaterMark:k}=r(42109),{aggregateTwoErrors:O,codes:{ERR_INVALID_ARG_TYPE:A,ERR_METHOD_NOT_IMPLEMENTED:C,ERR_OUT_OF_RANGE:P,ERR_STREAM_PUSH_AFTER_EOF:j,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:R},AbortError:N}=r(33555),{validateObject:I}=r(79395),D=g("kPaused"),{StringDecoder:L}=r(32553),M=r(57722);c(W.prototype,m.prototype),c(W,m);const F=()=>{},{errorOrDestroy:B}=E;function V(t){return{enumerable:!1,get(){return 0!=(this.state&t)},set(e){e?this.state|=t:this.state&=~t}}}function U(t,e,n){"boolean"!=typeof n&&(n=e instanceof r(72664)),this.state=6192,t&&t.objectMode&&(this.state|=1),n&&t&&t.readableObjectMode&&(this.state|=1),this.highWaterMark=t?T(this,t,"readableHighWaterMark",n):k(!1),this.buffer=new S,this.length=0,this.pipes=[],this.flowing=null,this[D]=null,t&&!1===t.emitClose&&(this.state&=-2049),t&&!1===t.autoDestroy&&(this.state&=-4097),this.errored=null,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,t&&t.encoding&&(this.decoder=new L(t.encoding),this.encoding=t.encoding)}function W(t){if(!(this instanceof W))return new W(t);const e=this instanceof r(72664);this._readableState=new U(t,this,e),t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.construct&&(this._construct=t.construct),t.signal&&!e&&w(t.signal,this)),m.call(this,t),E.construct(this,()=>{this._readableState.needReadable&&z(this,this._readableState)})}function H(t,e,r,n){x("readableAddChunk",e);const i=t._readableState;let o;if(0==(1&i.state)&&("string"==typeof e?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?e=b.from(e,r).toString(i.encoding):(e=b.from(e,r),r=""))):e instanceof b?r="":m._isUint8Array(e)?(e=m._uint8ArrayToBuffer(e),r=""):null!=e&&(o=new A("chunk",["string","Buffer","Uint8Array"],e))),o)B(t,o);else if(null===e)i.state&=-9,function(t,e){if(x("onEofChunk"),e.ended)return;if(e.decoder){const t=e.decoder.end();t&&t.length&&(e.buffer.push(t),e.length+=e.objectMode?1:t.length)}e.ended=!0,e.sync?$(t):(e.needReadable=!1,e.emittedReadable=!0,q(t))}(t,i);else if(0!=(1&i.state)||e&&e.length>0)if(n)if(0!=(4&i.state))B(t,new R);else{if(i.destroyed||i.errored)return!1;G(t,i,e,!0)}else if(i.ended)B(t,new j);else{if(i.destroyed||i.errored)return!1;i.state&=-9,i.decoder&&!r?(e=i.decoder.write(e),i.objectMode||0!==e.length?G(t,i,e,!1):z(t,i)):G(t,i,e,!1)}else n||(i.state&=-9,z(t,i));return!i.ended&&(i.length<i.highWaterMark||0===i.length)}function G(t,e,r,n){e.flowing&&0===e.length&&!e.sync&&t.listenerCount("data")>0?(0!=(65536&e.state)?e.awaitDrainWriters.clear():e.awaitDrainWriters=null,e.dataEmitted=!0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),0!=(64&e.state)&&$(t)),z(t,e)}u(U.prototype,{objectMode:V(1),ended:V(2),endEmitted:V(4),reading:V(8),constructed:V(16),sync:V(32),needReadable:V(64),emittedReadable:V(128),readableListening:V(256),resumeScheduled:V(512),errorEmitted:V(1024),emitClose:V(2048),autoDestroy:V(4096),destroyed:V(8192),closed:V(16384),closeEmitted:V(32768),multiAwaitDrain:V(65536),readingMore:V(1<<17),dataEmitted:V(1<<18)}),W.prototype.destroy=E.destroy,W.prototype._undestroy=E.undestroy,W.prototype._destroy=function(t,e){e(t)},W.prototype[y.captureRejectionSymbol]=function(t){this.destroy(t)},W.prototype[h]=function(){let t;return this.destroyed||(t=this.readableEnded?null:new N,this.destroy(t)),new f((e,r)=>_(this,n=>n&&n!==t?r(n):e(null)))},W.prototype.push=function(t,e){return H(this,t,e,!1)},W.prototype.unshift=function(t,e){return H(this,t,e,!0)},W.prototype.isPaused=function(){const t=this._readableState;return!0===t[D]||!1===t.flowing},W.prototype.setEncoding=function(t){const e=new L(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;const r=this._readableState.buffer;let n="";for(const t of r)n+=e.write(t);return r.clear(),""!==n&&r.push(n),this._readableState.length=n.length,this};function Y(t,e){return t<=0||0===e.length&&e.ended?0:0!=(1&e.state)?1:a(t)?e.flowing&&e.length?e.buffer.first().length:e.length:t<=e.length?t:e.ended?e.length:0}function $(t){const e=t._readableState;x("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(x("emitReadable",e.flowing),e.emittedReadable=!0,n.nextTick(q,t))}function q(t){const e=t._readableState;x("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||e.errored||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,K(t)}function z(t,e){!e.readingMore&&e.constructed&&(e.readingMore=!0,n.nextTick(X,t,e))}function X(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){const r=e.length;if(x("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function Q(t){const e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!1===e[D]?e.flowing=!0:t.listenerCount("data")>0?t.resume():e.readableListening||(e.flowing=null)}function Z(t){x("readable nexttick read 0"),t.read(0)}function J(t,e){x("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),K(t),e.flowing&&!e.reading&&t.read(0)}function K(t){const e=t._readableState;for(x("flow",e.flowing);e.flowing&&null!==t.read(););}function tt(t,e){"function"!=typeof t.read&&(t=W.wrap(t,{objectMode:!0}));const r=async function*(t,e){let r,n=F;function i(e){this===t?(n(),n=F):n=e}t.on("readable",i);const o=_(t,{writable:!1},t=>{r=t?O(r,t):null,n(),n=F});try{for(;;){const e=t.destroyed?null:t.read();if(null!==e)yield e;else{if(r)throw r;if(null===r)return;await new f(i)}}}catch(t){throw r=O(r,t),r}finally{!r&&!1===(null==e?void 0:e.destroyOnReturn)||void 0!==r&&!t._readableState.autoDestroy?(t.off("readable",i),o()):E.destroyer(t,null)}}(t,e);return r.stream=t,r}function et(t,e){if(0===e.length)return null;let r;return e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r}function rt(t){const e=t._readableState;x("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,n.nextTick(nt,e,t))}function nt(t,e){if(x("endReadableNT",t.endEmitted,t.length),!t.errored&&!t.closeEmitted&&!t.endEmitted&&0===t.length)if(t.endEmitted=!0,e.emit("end"),e.writable&&!1===e.allowHalfOpen)n.nextTick(it,e);else if(t.autoDestroy){const t=e._writableState;(!t||t.autoDestroy&&(t.finished||!1===t.writable))&&e.destroy()}}function it(t){t.writable&&!t.writableEnded&&!t.destroyed&&t.end()}let ot;function at(){return void 0===ot&&(ot={}),ot}W.prototype.read=function(t){x("read",t),void 0===t?t=NaN:o(t)||(t=s(t,10));const e=this._readableState,r=t;if(t>e.highWaterMark&&(e.highWaterMark=function(t){if(t>1073741824)throw new P("size","<= 1GiB",t);return t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,++t}(t)),0!==t&&(e.state&=-129),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return x("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?rt(this):$(this),null;if(0===(t=Y(t,e))&&e.ended)return 0===e.length&&rt(this),null;let n,i=0!=(64&e.state);if(x("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&(i=!0,x("length less than watermark",i)),e.ended||e.reading||e.destroyed||e.errored||!e.constructed)i=!1,x("reading, ended or constructing",i);else if(i){x("do read"),e.state|=40,0===e.length&&(e.state|=64);try{this._read(e.highWaterMark)}catch(t){B(this,t)}e.state&=-33,e.reading||(t=Y(r,e))}return n=t>0?et(t,e):null,null===n?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.multiAwaitDrain?e.awaitDrainWriters.clear():e.awaitDrainWriters=null),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&rt(this)),null===n||e.errorEmitted||e.closeEmitted||(e.dataEmitted=!0,this.emit("data",n)),n},W.prototype._read=function(t){throw new C("_read()")},W.prototype.pipe=function(t,e){const r=this,i=this._readableState;1===i.pipes.length&&(i.multiAwaitDrain||(i.multiAwaitDrain=!0,i.awaitDrainWriters=new d(i.awaitDrainWriters?[i.awaitDrainWriters]:[]))),i.pipes.push(t),x("pipe count=%d opts=%j",i.pipes.length,e);const o=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?s:y;function a(e,n){x("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,function(){x("cleanup"),t.removeListener("close",p),t.removeListener("finish",g),u&&t.removeListener("drain",u);t.removeListener("error",h),t.removeListener("unpipe",a),r.removeListener("end",s),r.removeListener("end",y),r.removeListener("data",f),l=!0,u&&i.awaitDrainWriters&&(!t._writableState||t._writableState.needDrain)&&u()}())}function s(){x("onend"),t.end()}let u;i.endEmitted?n.nextTick(o):r.once("end",o),t.on("unpipe",a);let l=!1;function c(){l||(1===i.pipes.length&&i.pipes[0]===t?(x("false write response, pause",0),i.awaitDrainWriters=t,i.multiAwaitDrain=!1):i.pipes.length>1&&i.pipes.includes(t)&&(x("false write response, pause",i.awaitDrainWriters.size),i.awaitDrainWriters.add(t)),r.pause()),u||(u=function(t,e){return function(){const r=t._readableState;r.awaitDrainWriters===e?(x("pipeOnDrain",1),r.awaitDrainWriters=null):r.multiAwaitDrain&&(x("pipeOnDrain",r.awaitDrainWriters.size),r.awaitDrainWriters.delete(e)),r.awaitDrainWriters&&0!==r.awaitDrainWriters.size||!t.listenerCount("data")||t.resume()}}(r,t),t.on("drain",u))}function f(e){x("ondata");const r=t.write(e);x("dest.write",r),!1===r&&c()}function h(e){if(x("onerror",e),y(),t.removeListener("error",h),0===t.listenerCount("error")){const r=t._writableState||t._readableState;r&&!r.errorEmitted?B(t,e):t.emit("error",e)}}function p(){t.removeListener("finish",g),y()}function g(){x("onfinish"),t.removeListener("close",p),y()}function y(){x("unpipe"),r.unpipe(t)}return r.on("data",f),v(t,"error",h),t.once("close",p),t.once("finish",g),t.emit("pipe",r),!0===t.writableNeedDrain?c():i.flowing||(x("pipe resume"),r.resume()),t},W.prototype.unpipe=function(t){const e=this._readableState;if(0===e.pipes.length)return this;if(!t){const t=e.pipes;e.pipes=[],this.pause();for(let e=0;e<t.length;e++)t[e].emit("unpipe",this,{hasUnpiped:!1});return this}const r=i(e.pipes,t);return-1===r||(e.pipes.splice(r,1),0===e.pipes.length&&this.pause(),t.emit("unpipe",this,{hasUnpiped:!1})),this},W.prototype.on=function(t,e){const r=m.prototype.on.call(this,t,e),i=this._readableState;return"data"===t?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,x("on readable",i.length,i.reading),i.length?$(this):i.reading||n.nextTick(Z,this))),r},W.prototype.addListener=W.prototype.on,W.prototype.removeListener=function(t,e){const r=m.prototype.removeListener.call(this,t,e);return"readable"===t&&n.nextTick(Q,this),r},W.prototype.off=W.prototype.removeListener,W.prototype.removeAllListeners=function(t){const e=m.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||n.nextTick(Q,this),e},W.prototype.resume=function(){const t=this._readableState;return t.flowing||(x("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(J,t,e))}(this,t)),t[D]=!1,this},W.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[D]=!0,this},W.prototype.wrap=function(t){let e=!1;t.on("data",r=>{!this.push(r)&&t.pause&&(e=!0,t.pause())}),t.on("end",()=>{this.push(null)}),t.on("error",t=>{B(this,t)}),t.on("close",()=>{this.destroy()}),t.on("destroy",()=>{this.destroy()}),this._read=()=>{e&&t.resume&&(e=!1,t.resume())};const r=l(t);for(let e=1;e<r.length;e++){const n=r[e];void 0===this[n]&&"function"==typeof t[n]&&(this[n]=t[n].bind(t))}return this},W.prototype[p]=function(){return tt(this)},W.prototype.iterator=function(t){return void 0!==t&&I(t,"options"),tt(this,t)},u(W.prototype,{readable:{__proto__:null,get(){const t=this._readableState;return!(!t||!1===t.readable||t.destroyed||t.errorEmitted||t.endEmitted)},set(t){this._readableState&&(this._readableState.readable=!!t)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._readableState.readable||!this._readableState.destroyed&&!this._readableState.errored||this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.objectMode}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return!!this._readableState&&this._readableState.closed}},destroyed:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.destroyed},set(t){this._readableState&&(this._readableState.destroyed=t)}},readableEnded:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.endEmitted}}}),u(U.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[D]},set(t){this[D]=!!t}}}),W._fromList=et,W.from=function(t,e){return M(W,t,e)},W.fromWeb=function(t,e){return at().newStreamReadableFromReadableStream(t,e)},W.toWeb=function(t,e){return at().newReadableStreamFromStreamReadable(t,e)},W.wrap=function(t,e){var r,n;return new W({objectMode:null===(r=null!==(n=t.readableObjectMode)&&void 0!==n?n:t.objectMode)||void 0===r||r,...e,destroy(e,r){E.destroyer(t,e),r(e)}}).wrap(t)}},42109:(t,e,r)=>{"use strict";const{MathFloor:n,NumberIsInteger:i}=r(37808),{validateInteger:o}=r(79395),{ERR_INVALID_ARG_VALUE:a}=r(33555).codes;let s=16384,u=16;function l(t){return t?u:s}t.exports={getHighWaterMark:function(t,e,r,o){const s=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,o,r);if(null!=s){if(!i(s)||s<0){throw new a(o?"options."+r:"options.highWaterMark",s)}return n(s)}return l(t.objectMode)},getDefaultHighWaterMark:l,setDefaultHighWaterMark:function(t,e){o(e,"value",0),t?u=e:s=e}}},2595:(t,e,r)=>{"use strict";const{ObjectSetPrototypeOf:n,Symbol:i}=r(37808);t.exports=l;const{ERR_METHOD_NOT_IMPLEMENTED:o}=r(33555).codes,a=r(72664),{getHighWaterMark:s}=r(42109);n(l.prototype,a.prototype),n(l,a);const u=i("kCallback");function l(t){if(!(this instanceof l))return new l(t);const e=t?s(this,t,"readableHighWaterMark",!0):null;0===e&&(t={...t,highWaterMark:null,readableHighWaterMark:e,writableHighWaterMark:t.writableHighWaterMark||0}),a.call(this,t),this._readableState.sync=!1,this[u]=null,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",f)}function c(t){"function"!=typeof this._flush||this.destroyed?(this.push(null),t&&t()):this._flush((e,r)=>{e?t?t(e):this.destroy(e):(null!=r&&this.push(r),this.push(null),t&&t())})}function f(){this._final!==c&&c.call(this)}l.prototype._final=c,l.prototype._transform=function(t,e,r){throw new o("_transform()")},l.prototype._write=function(t,e,r){const n=this._readableState,i=this._writableState,o=n.length;this._transform(t,e,(t,e)=>{t?r(t):(null!=e&&this.push(e),i.ended||o===n.length||n.length<n.highWaterMark?r():this[u]=r)})},l.prototype._read=function(){if(this[u]){const t=this[u];this[u]=null,t()}}},74451:(t,e,r)=>{"use strict";const{SymbolAsyncIterator:n,SymbolIterator:i,SymbolFor:o}=r(37808),a=o("nodejs.stream.destroyed"),s=o("nodejs.stream.errored"),u=o("nodejs.stream.readable"),l=o("nodejs.stream.writable"),c=o("nodejs.stream.disturbed"),f=o("nodejs.webstream.isClosedPromise"),d=o("nodejs.webstream.controllerErrorFunction");function h(t,e=!1){var r;return!(!t||"function"!=typeof t.pipe||"function"!=typeof t.on||e&&("function"!=typeof t.pause||"function"!=typeof t.resume)||t._writableState&&!1===(null===(r=t._readableState)||void 0===r?void 0:r.readable)||t._writableState&&!t._readableState)}function p(t){var e;return!(!t||"function"!=typeof t.write||"function"!=typeof t.on||t._readableState&&!1===(null===(e=t._writableState)||void 0===e?void 0:e.writable))}function g(t){return t&&(t._readableState||t._writableState||"function"==typeof t.write&&"function"==typeof t.on||"function"==typeof t.pipe&&"function"==typeof t.on)}function y(t){return!(!t||g(t)||"function"!=typeof t.pipeThrough||"function"!=typeof t.getReader||"function"!=typeof t.cancel)}function m(t){return!(!t||g(t)||"function"!=typeof t.getWriter||"function"!=typeof t.abort)}function v(t){return!(!t||g(t)||"object"!=typeof t.readable||"object"!=typeof t.writable)}function b(t){if(!g(t))return null;const e=t._writableState,r=t._readableState,n=e||r;return!!(t.destroyed||t[a]||null!=n&&n.destroyed)}function w(t){if(!p(t))return null;if(!0===t.writableEnded)return!0;const e=t._writableState;return(null==e||!e.errored)&&("boolean"!=typeof(null==e?void 0:e.ended)?null:e.ended)}function _(t,e){if(!h(t))return null;const r=t._readableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.endEmitted)?null:!!(r.endEmitted||!1===e&&!0===r.ended&&0===r.length))}function x(t){return t&&null!=t[u]?t[u]:"boolean"!=typeof(null==t?void 0:t.readable)?null:!b(t)&&(h(t)&&t.readable&&!_(t))}function S(t){return t&&null!=t[l]?t[l]:"boolean"!=typeof(null==t?void 0:t.writable)?null:!b(t)&&(p(t)&&t.writable&&!w(t))}function E(t){return"boolean"==typeof t._closed&&"boolean"==typeof t._defaultKeepAlive&&"boolean"==typeof t._removedConnection&&"boolean"==typeof t._removedContLen}function T(t){return"boolean"==typeof t._sent100&&E(t)}t.exports={isDestroyed:b,kIsDestroyed:a,isDisturbed:function(t){var e;return!(!t||!(null!==(e=t[c])&&void 0!==e?e:t.readableDidRead||t.readableAborted))},kIsDisturbed:c,isErrored:function(t){var e,r,n,i,o,a,u,l,c,f;return!(!t||!(null!==(e=null!==(r=null!==(n=null!==(i=null!==(o=null!==(a=t[s])&&void 0!==a?a:t.readableErrored)&&void 0!==o?o:t.writableErrored)&&void 0!==i?i:null===(u=t._readableState)||void 0===u?void 0:u.errorEmitted)&&void 0!==n?n:null===(l=t._writableState)||void 0===l?void 0:l.errorEmitted)&&void 0!==r?r:null===(c=t._readableState)||void 0===c?void 0:c.errored)&&void 0!==e?e:null===(f=t._writableState)||void 0===f?void 0:f.errored))},kIsErrored:s,isReadable:x,kIsReadable:u,kIsClosedPromise:f,kControllerErrorFunction:d,kIsWritable:l,isClosed:function(t){if(!g(t))return null;if("boolean"==typeof t.closed)return t.closed;const e=t._writableState,r=t._readableState;return"boolean"==typeof(null==e?void 0:e.closed)||"boolean"==typeof(null==r?void 0:r.closed)?(null==e?void 0:e.closed)||(null==r?void 0:r.closed):"boolean"==typeof t._closed&&E(t)?t._closed:null},isDuplexNodeStream:function(t){return!(!t||"function"!=typeof t.pipe||!t._readableState||"function"!=typeof t.on||"function"!=typeof t.write)},isFinished:function(t,e){return g(t)?!!b(t)||(!1===(null==e?void 0:e.readable)||!x(t))&&(!1===(null==e?void 0:e.writable)||!S(t)):null},isIterable:function(t,e){return null!=t&&(!0===e?"function"==typeof t[n]:!1===e?"function"==typeof t[i]:"function"==typeof t[n]||"function"==typeof t[i])},isReadableNodeStream:h,isReadableStream:y,isReadableEnded:function(t){if(!h(t))return null;if(!0===t.readableEnded)return!0;const e=t._readableState;return!(!e||e.errored)&&("boolean"!=typeof(null==e?void 0:e.ended)?null:e.ended)},isReadableFinished:_,isReadableErrored:function(t){var e,r;return g(t)?t.readableErrored?t.readableErrored:null!==(e=null===(r=t._readableState)||void 0===r?void 0:r.errored)&&void 0!==e?e:null:null},isNodeStream:g,isWebStream:function(t){return y(t)||m(t)||v(t)},isWritable:S,isWritableNodeStream:p,isWritableStream:m,isWritableEnded:w,isWritableFinished:function(t,e){if(!p(t))return null;if(!0===t.writableFinished)return!0;const r=t._writableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.finished)?null:!!(r.finished||!1===e&&!0===r.ended&&0===r.length))},isWritableErrored:function(t){var e,r;return g(t)?t.writableErrored?t.writableErrored:null!==(e=null===(r=t._writableState)||void 0===r?void 0:r.errored)&&void 0!==e?e:null:null},isServerRequest:function(t){var e;return"boolean"==typeof t._consuming&&"boolean"==typeof t._dumped&&void 0===(null===(e=t.req)||void 0===e?void 0:e.upgradeOrConnect)},isServerResponse:T,willEmitClose:function(t){if(!g(t))return null;const e=t._writableState,r=t._readableState,n=e||r;return!n&&T(t)||!!(n&&n.autoDestroy&&n.emitClose&&!1===n.closed)},isTransformStream:v}},18672:(t,e,r)=>{const n=r(34155),{ArrayPrototypeSlice:i,Error:o,FunctionPrototypeSymbolHasInstance:a,ObjectDefineProperty:s,ObjectDefineProperties:u,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:c,Symbol:f,SymbolHasInstance:d}=r(37808);t.exports=I,I.WritableState=R;const{EventEmitter:h}=r(17187),p=r(16618).Stream,{Buffer:g}=r(48764),y=r(55306),{addAbortSignal:m}=r(1163),{getHighWaterMark:v,getDefaultHighWaterMark:b}=r(42109),{ERR_INVALID_ARG_TYPE:w,ERR_METHOD_NOT_IMPLEMENTED:_,ERR_MULTIPLE_CALLBACK:x,ERR_STREAM_CANNOT_PIPE:S,ERR_STREAM_DESTROYED:E,ERR_STREAM_ALREADY_FINISHED:T,ERR_STREAM_NULL_VALUES:k,ERR_STREAM_WRITE_AFTER_END:O,ERR_UNKNOWN_ENCODING:A}=r(33555).codes,{errorOrDestroy:C}=y;function P(){}l(I.prototype,p.prototype),l(I,p);const j=f("kOnFinished");function R(t,e,n){"boolean"!=typeof n&&(n=e instanceof r(72664)),this.objectMode=!(!t||!t.objectMode),n&&(this.objectMode=this.objectMode||!(!t||!t.writableObjectMode)),this.highWaterMark=t?v(this,t,"writableHighWaterMark",n):b(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const i=!(!t||!1!==t.decodeStrings);this.decodeStrings=!i,this.defaultEncoding=t&&t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=F.bind(void 0,e),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,N(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!t||!1!==t.emitClose,this.autoDestroy=!t||!1!==t.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[j]=[]}function N(t){t.buffered=[],t.bufferedIndex=0,t.allBuffers=!0,t.allNoop=!0}function I(t){const e=this instanceof r(72664);if(!e&&!a(I,this))return new I(t);this._writableState=new R(t,this,e),t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final),"function"==typeof t.construct&&(this._construct=t.construct),t.signal&&m(t.signal,this)),p.call(this,t),y.construct(this,()=>{const t=this._writableState;t.writing||W(this,t),Y(this,t)})}function D(t,e,r,i){const o=t._writableState;if("function"==typeof r)i=r,r=o.defaultEncoding;else{if(r){if("buffer"!==r&&!g.isEncoding(r))throw new A(r)}else r=o.defaultEncoding;"function"!=typeof i&&(i=P)}if(null===e)throw new k;if(!o.objectMode)if("string"==typeof e)!1!==o.decodeStrings&&(e=g.from(e,r),r="buffer");else if(e instanceof g)r="buffer";else{if(!p._isUint8Array(e))throw new w("chunk",["string","Buffer","Uint8Array"],e);e=p._uint8ArrayToBuffer(e),r="buffer"}let a;return o.ending?a=new O:o.destroyed&&(a=new E("write")),a?(n.nextTick(i,a),C(t,a,!0),a):(o.pendingcb++,function(t,e,r,n,i){const o=e.objectMode?1:r.length;e.length+=o;const a=e.length<e.highWaterMark;a||(e.needDrain=!0);e.writing||e.corked||e.errored||!e.constructed?(e.buffered.push({chunk:r,encoding:n,callback:i}),e.allBuffers&&"buffer"!==n&&(e.allBuffers=!1),e.allNoop&&i!==P&&(e.allNoop=!1)):(e.writelen=o,e.writecb=i,e.writing=!0,e.sync=!0,t._write(r,n,e.onwrite),e.sync=!1);return a&&!e.errored&&!e.destroyed}(t,o,e,r,i))}function L(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new E("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function M(t,e,r,n){--e.pendingcb,n(r),U(e),C(t,r)}function F(t,e){const r=t._writableState,i=r.sync,o=r.writecb;"function"==typeof o?(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,e?(e.stack,r.errored||(r.errored=e),t._readableState&&!t._readableState.errored&&(t._readableState.errored=e),i?n.nextTick(M,t,r,e,o):M(t,r,e,o)):(r.buffered.length>r.bufferedIndex&&W(t,r),i?null!==r.afterWriteTickInfo&&r.afterWriteTickInfo.cb===o?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:o,stream:t,state:r},n.nextTick(B,r.afterWriteTickInfo)):V(t,r,1,o))):C(t,new x)}function B({stream:t,state:e,count:r,cb:n}){return e.afterWriteTickInfo=null,V(t,e,r,n)}function V(t,e,r,n){for(!e.ending&&!t.destroyed&&0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"));r-- >0;)e.pendingcb--,n();e.destroyed&&U(e),Y(t,e)}function U(t){if(t.writing)return;for(let r=t.bufferedIndex;r<t.buffered.length;++r){var e;const{chunk:n,callback:i}=t.buffered[r],o=t.objectMode?1:n.length;t.length-=o,i(null!==(e=t.errored)&&void 0!==e?e:new E("write"))}const r=t[j].splice(0);for(let e=0;e<r.length;e++){var n;r[e](null!==(n=t.errored)&&void 0!==n?n:new E("end"))}N(t)}function W(t,e){if(e.corked||e.bufferProcessing||e.destroyed||!e.constructed)return;const{buffered:r,bufferedIndex:n,objectMode:o}=e,a=r.length-n;if(!a)return;let s=n;if(e.bufferProcessing=!0,a>1&&t._writev){e.pendingcb-=a-1;const n=e.allNoop?P:t=>{for(let e=s;e<r.length;++e)r[e].callback(t)},o=e.allNoop&&0===s?r:i(r,s);o.allBuffers=e.allBuffers,L(t,e,!0,e.length,o,"",n),N(e)}else{do{const{chunk:n,encoding:i,callback:a}=r[s];r[s++]=null;L(t,e,!1,o?1:n.length,n,i,a)}while(s<r.length&&!e.writing);s===r.length?N(e):s>256?(r.splice(0,s),e.bufferedIndex=0):e.bufferedIndex=s}e.bufferProcessing=!1}function H(t){return t.ending&&!t.destroyed&&t.constructed&&0===t.length&&!t.errored&&0===t.buffered.length&&!t.finished&&!t.writing&&!t.errorEmitted&&!t.closeEmitted}function G(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.finalCalled=!0,function(t,e){let r=!1;function i(i){if(r)C(t,null!=i?i:x());else if(r=!0,e.pendingcb--,i){const r=e[j].splice(0);for(let t=0;t<r.length;t++)r[t](i);C(t,i,e.sync)}else H(e)&&(e.prefinished=!0,t.emit("prefinish"),e.pendingcb++,n.nextTick($,t,e))}e.sync=!0,e.pendingcb++;try{t._final(i)}catch(t){i(t)}e.sync=!1}(t,e)))}function Y(t,e,r){H(e)&&(G(t,e),0===e.pendingcb&&(r?(e.pendingcb++,n.nextTick((t,e)=>{H(e)?$(t,e):e.pendingcb--},t,e)):H(e)&&(e.pendingcb++,$(t,e))))}function $(t,e){e.pendingcb--,e.finished=!0;const r=e[j].splice(0);for(let t=0;t<r.length;t++)r[t]();if(t.emit("finish"),e.autoDestroy){const e=t._readableState;(!e||e.autoDestroy&&(e.endEmitted||!1===e.readable))&&t.destroy()}}R.prototype.getBuffer=function(){return i(this.buffered,this.bufferedIndex)},s(R.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),s(I,d,{__proto__:null,value:function(t){return!!a(this,t)||this===I&&(t&&t._writableState instanceof R)}}),I.prototype.pipe=function(){C(this,new S)},I.prototype.write=function(t,e,r){return!0===D(this,t,e,r)},I.prototype.cork=function(){this._writableState.corked++},I.prototype.uncork=function(){const t=this._writableState;t.corked&&(t.corked--,t.writing||W(this,t))},I.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=c(t)),!g.isEncoding(t))throw new A(t);return this._writableState.defaultEncoding=t,this},I.prototype._write=function(t,e,r){if(!this._writev)throw new _("_write()");this._writev([{chunk:t,encoding:e}],r)},I.prototype._writev=null,I.prototype.end=function(t,e,r){const i=this._writableState;let a;if("function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t){const r=D(this,t,e);r instanceof o&&(a=r)}return i.corked&&(i.corked=1,this.uncork()),a||(i.errored||i.ending?i.finished?a=new T("end"):i.destroyed&&(a=new E("end")):(i.ending=!0,Y(this,i,!0),i.ended=!0)),"function"==typeof r&&(a||i.finished?n.nextTick(r,a):i[j].push(r)),this},u(I.prototype,{closed:{__proto__:null,get(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get(){return!!this._writableState&&this._writableState.destroyed},set(t){this._writableState&&(this._writableState.destroyed=t)}},writable:{__proto__:null,get(){const t=this._writableState;return!(!t||!1===t.writable||t.destroyed||t.errored||t.ending||t.ended)},set(t){this._writableState&&(this._writableState.writable=!!t)}},writableFinished:{__proto__:null,get(){return!!this._writableState&&this._writableState.finished}},writableObjectMode:{__proto__:null,get(){return!!this._writableState&&this._writableState.objectMode}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return!!this._writableState&&this._writableState.ending}},writableNeedDrain:{__proto__:null,get(){const t=this._writableState;return!!t&&(!t.destroyed&&!t.ending&&t.needDrain)}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._writableState.writable||!this._writableState.destroyed&&!this._writableState.errored||this._writableState.finished)}}});const q=y.destroy;let z;function X(){return void 0===z&&(z={}),z}I.prototype.destroy=function(t,e){const r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[j].length)&&n.nextTick(U,r),q.call(this,t,e),this},I.prototype._undestroy=y.undestroy,I.prototype._destroy=function(t,e){e(t)},I.prototype[h.captureRejectionSymbol]=function(t){this.destroy(t)},I.fromWeb=function(t,e){return X().newStreamWritableFromWritableStream(t,e)},I.toWeb=function(t){return X().newWritableStreamFromStreamWritable(t)}},79395:(t,e,r)=>{"use strict";const{ArrayIsArray:n,ArrayPrototypeIncludes:i,ArrayPrototypeJoin:o,ArrayPrototypeMap:a,NumberIsInteger:s,NumberIsNaN:u,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:c,NumberParseInt:f,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:h,String:p,StringPrototypeToUpperCase:g,StringPrototypeTrim:y}=r(37808),{hideStackFrames:m,codes:{ERR_SOCKET_BAD_PORT:v,ERR_INVALID_ARG_TYPE:b,ERR_INVALID_ARG_VALUE:w,ERR_OUT_OF_RANGE:_,ERR_UNKNOWN_SIGNAL:x}}=r(33555),{normalizeEncoding:S}=r(61357),{isAsyncFunction:E,isArrayBufferView:T}=r(61357).types,k={};const O=/^[0-7]+$/;const A=m((t,e,r=c,n=l)=>{if("number"!=typeof t)throw new b(e,"number",t);if(!s(t))throw new _(e,"an integer",t);if(t<r||t>n)throw new _(e,`>= ${r} && <= ${n}`,t)}),C=m((t,e,r=-2147483648,n=2147483647)=>{if("number"!=typeof t)throw new b(e,"number",t);if(!s(t))throw new _(e,"an integer",t);if(t<r||t>n)throw new _(e,`>= ${r} && <= ${n}`,t)}),P=m((t,e,r=!1)=>{if("number"!=typeof t)throw new b(e,"number",t);if(!s(t))throw new _(e,"an integer",t);const n=r?1:0;if(t<n||t>4294967295)throw new _(e,`>= ${n} && <= 4294967295`,t)});function j(t,e){if("string"!=typeof t)throw new b(e,"string",t)}const R=m((t,e,r)=>{if(!i(r,t)){const n=o(a(r,t=>"string"==typeof t?`'${t}'`:p(t)),", ");throw new w(e,t,"must be one of: "+n)}});function N(t,e){if("boolean"!=typeof t)throw new b(e,"boolean",t)}function I(t,e,r){return null!=t&&d(t,e)?t[e]:r}const D=m((t,e,r=null)=>{const i=I(r,"allowArray",!1),o=I(r,"allowFunction",!1);if(!I(r,"nullable",!1)&&null===t||!i&&n(t)||"object"!=typeof t&&(!o||"function"!=typeof t))throw new b(e,"Object",t)}),L=m((t,e)=>{if(null!=t&&"object"!=typeof t&&"function"!=typeof t)throw new b(e,"a dictionary",t)}),M=m((t,e,r=0)=>{if(!n(t))throw new b(e,"Array",t);if(t.length<r){throw new w(e,t,"must be longer than "+r)}});const F=m((t,e="buffer")=>{if(!T(t))throw new b(e,["Buffer","TypedArray","DataView"],t)});const B=m((t,e)=>{if(void 0!==t&&(null===t||"object"!=typeof t||!("aborted"in t)))throw new b(e,"AbortSignal",t)}),V=m((t,e)=>{if("function"!=typeof t)throw new b(e,"Function",t)}),U=m((t,e)=>{if("function"!=typeof t||E(t))throw new b(e,"Function",t)}),W=m((t,e)=>{if(void 0!==t)throw new b(e,"undefined",t)});const H=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function G(t,e){if(void 0===t||!h(H,t))throw new w(e,t,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}t.exports={isInt32:function(t){return t===(0|t)},isUint32:function(t){return t===t>>>0},parseFileMode:function(t,e,r){if(void 0===t&&(t=r),"string"==typeof t){if(null===h(O,t))throw new w(e,t,"must be a 32-bit unsigned integer or an octal string");t=f(t,8)}return P(t,e),t},validateArray:M,validateStringArray:function(t,e){M(t,e);for(let r=0;r<t.length;r++)j(t[r],`${e}[${r}]`)},validateBooleanArray:function(t,e){M(t,e);for(let r=0;r<t.length;r++)N(t[r],`${e}[${r}]`)},validateAbortSignalArray:function(t,e){M(t,e);for(let r=0;r<t.length;r++){const n=t[r],i=`${e}[${r}]`;if(null==n)throw new b(i,"AbortSignal",n);B(n,i)}},validateBoolean:N,validateBuffer:F,validateDictionary:L,validateEncoding:function(t,e){const r=S(e),n=t.length;if("hex"===r&&n%2!=0)throw new w("encoding",e,"is invalid for data of length "+n)},validateFunction:V,validateInt32:C,validateInteger:A,validateNumber:function(t,e,r,n){if("number"!=typeof t)throw new b(e,"number",t);if(null!=r&&t<r||null!=n&&t>n||(null!=r||null!=n)&&u(t))throw new _(e,`${null!=r?">= "+r:""}${null!=r&&null!=n?" && ":""}${null!=n?"<= "+n:""}`,t)},validateObject:D,validateOneOf:R,validatePlainFunction:U,validatePort:function(t,e="Port",r=!0){if("number"!=typeof t&&"string"!=typeof t||"string"==typeof t&&0===y(t).length||+t!=+t>>>0||t>65535||0===t&&!r)throw new v(e,t,r);return 0|t},validateSignalName:function(t,e="signal"){if(j(t,e),void 0===k[t]){if(void 0!==k[g(t)])throw new x(t+" (signals must use all capital letters)");throw new x(t)}},validateString:j,validateUint32:P,validateUndefined:W,validateUnion:function(t,e,r){if(!i(r,t))throw new b(e,`('${o(r,"|")}')`,t)},validateAbortSignal:B,validateLinkHeaderValue:function(t){if("string"==typeof t)return G(t,"hints"),t;if(n(t)){const e=t.length;let r="";if(0===e)return r;for(let n=0;n<e;n++){const i=t[n];G(i,"hints"),r+=i,n!==e-1&&(r+=", ")}return r}throw new w("hints",t,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}},24126:(t,e,r)=>{"use strict";const n=r(93441),i=r(10181),o=n.Readable.destroy;t.exports=n.Readable,t.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,t.exports._isUint8Array=n._isUint8Array,t.exports.isDisturbed=n.isDisturbed,t.exports.isErrored=n.isErrored,t.exports.isReadable=n.isReadable,t.exports.Readable=n.Readable,t.exports.Writable=n.Writable,t.exports.Duplex=n.Duplex,t.exports.Transform=n.Transform,t.exports.PassThrough=n.PassThrough,t.exports.addAbortSignal=n.addAbortSignal,t.exports.finished=n.finished,t.exports.destroy=n.destroy,t.exports.destroy=o,t.exports.pipeline=n.pipeline,t.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get:()=>i}),t.exports.Stream=n.Stream,t.exports.default=t.exports},33555:(t,e,r)=>{"use strict";const{format:n,inspect:i,AggregateError:o}=r(61357),a=globalThis.AggregateError||o,s=Symbol("kIsNodeError"),u=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,c={};function f(t,e){if(!t)throw new c.ERR_INTERNAL_ASSERTION(e)}function d(t){let e="",r=t.length;const n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function h(t,e,r){r||(r=Error);class i extends r{constructor(...r){super(function(t,e,r){if("function"==typeof e)return f(e.length<=r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${e.length}).`),e(...r);const i=(e.match(/%[dfijoOs]/g)||[]).length;return f(i===r.length,`Code: ${t}; The provided arguments length (${r.length}) does not match the required ones (${i}).`),0===r.length?e:n(e,...r)}(t,e,r))}toString(){return`${this.name} [${t}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=t,i.prototype[s]=!0,c[t]=i}function p(t){const e="__node_internal_"+t.name;return Object.defineProperty(t,"name",{value:e}),t}class g extends Error{constructor(t="The operation was aborted",e){if(void 0!==e&&"object"!=typeof e)throw new c.ERR_INVALID_ARG_TYPE("options","Object",e);super(t,e),this.code="ABORT_ERR",this.name="AbortError"}}h("ERR_ASSERTION","%s",Error),h("ERR_INVALID_ARG_TYPE",(t,e,r)=>{f("string"==typeof t,"'name' must be a string"),Array.isArray(e)||(e=[e]);let n="The ";t.endsWith(" argument")?n+=t+" ":n+=`"${t}" ${t.includes(".")?"property":"argument"} `,n+="must be ";const o=[],a=[],s=[];for(const t of e)f("string"==typeof t,"All expected entries have to be of type string"),u.includes(t)?o.push(t.toLowerCase()):l.test(t)?a.push(t):(f("object"!==t,'The value "object" should be written as "Object"'),s.push(t));if(a.length>0){const t=o.indexOf("object");-1!==t&&(o.splice(o,t,1),a.push("Object"))}if(o.length>0){switch(o.length){case 1:n+="of type "+o[0];break;case 2:n+=`one of type ${o[0]} or ${o[1]}`;break;default:{const t=o.pop();n+=`one of type ${o.join(", ")}, or ${t}`}}(a.length>0||s.length>0)&&(n+=" or ")}if(a.length>0){switch(a.length){case 1:n+="an instance of "+a[0];break;case 2:n+=`an instance of ${a[0]} or ${a[1]}`;break;default:{const t=a.pop();n+=`an instance of ${a.join(", ")}, or ${t}`}}s.length>0&&(n+=" or ")}switch(s.length){case 0:break;case 1:s[0].toLowerCase()!==s[0]&&(n+="an "),n+=""+s[0];break;case 2:n+=`one of ${s[0]} or ${s[1]}`;break;default:{const t=s.pop();n+=`one of ${s.join(", ")}, or ${t}`}}if(null==r)n+=". Received "+r;else if("function"==typeof r&&r.name)n+=". Received function "+r.name;else if("object"==typeof r){var c;if(null!==(c=r.constructor)&&void 0!==c&&c.name)n+=". Received an instance of "+r.constructor.name;else{n+=". Received "+i(r,{depth:-1})}}else{let t=i(r,{colors:!1});t.length>25&&(t=t.slice(0,25)+"..."),n+=`. Received type ${typeof r} (${t})`}return n},TypeError),h("ERR_INVALID_ARG_VALUE",(t,e,r="is invalid")=>{let n=i(e);n.length>128&&(n=n.slice(0,128)+"...");return`The ${t.includes(".")?"property":"argument"} '${t}' ${r}. Received ${n}`},TypeError),h("ERR_INVALID_RETURN_VALUE",(t,e,r)=>{var n;return`Expected ${t} to be returned from the "${e}" function but got ${null!=r&&null!==(n=r.constructor)&&void 0!==n&&n.name?"instance of "+r.constructor.name:"type "+typeof r}.`},TypeError),h("ERR_MISSING_ARGS",(...t)=>{let e;f(t.length>0,"At least one arg needs to be specified");const r=t.length;switch(t=(Array.isArray(t)?t:[t]).map(t=>`"${t}"`).join(" or "),r){case 1:e+=`The ${t[0]} argument`;break;case 2:e+=`The ${t[0]} and ${t[1]} arguments`;break;default:{const r=t.pop();e+=`The ${t.join(", ")}, and ${r} arguments`}}return e+" must be specified"},TypeError),h("ERR_OUT_OF_RANGE",(t,e,r)=>{let n;return f(e,'Missing "range" argument'),Number.isInteger(r)&&Math.abs(r)>2**32?n=d(String(r)):"bigint"==typeof r?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=d(n)),n+="n"):n=i(r),`The value of "${t}" is out of range. It must be ${e}. Received ${n}`},RangeError),h("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),h("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),h("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),h("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),h("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),h("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),h("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),h("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),h("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),h("ERR_STREAM_WRITE_AFTER_END","write after end",Error),h("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),t.exports={AbortError:g,aggregateTwoErrors:p((function(t,e){if(t&&e&&t!==e){if(Array.isArray(e.errors))return e.errors.push(t),e;const r=new a([e,t],e.message);return r.code=e.code,r}return t||e})),hideStackFrames:p,codes:c}},37808:t=>{"use strict";t.exports={ArrayIsArray:t=>Array.isArray(t),ArrayPrototypeIncludes:(t,e)=>t.includes(e),ArrayPrototypeIndexOf:(t,e)=>t.indexOf(e),ArrayPrototypeJoin:(t,e)=>t.join(e),ArrayPrototypeMap:(t,e)=>t.map(e),ArrayPrototypePop:(t,e)=>t.pop(e),ArrayPrototypePush:(t,e)=>t.push(e),ArrayPrototypeSlice:(t,e,r)=>t.slice(e,r),Error:Error,FunctionPrototypeCall:(t,e,...r)=>t.call(e,...r),FunctionPrototypeSymbolHasInstance:(t,e)=>Function.prototype[Symbol.hasInstance].call(t,e),MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(t,e)=>Object.defineProperties(t,e),ObjectDefineProperty:(t,e,r)=>Object.defineProperty(t,e,r),ObjectGetOwnPropertyDescriptor:(t,e)=>Object.getOwnPropertyDescriptor(t,e),ObjectKeys:t=>Object.keys(t),ObjectSetPrototypeOf:(t,e)=>Object.setPrototypeOf(t,e),Promise:Promise,PromisePrototypeCatch:(t,e)=>t.catch(e),PromisePrototypeThen:(t,e,r)=>t.then(e,r),PromiseReject:t=>Promise.reject(t),PromiseResolve:t=>Promise.resolve(t),ReflectApply:Reflect.apply,RegExpPrototypeTest:(t,e)=>t.test(e),SafeSet:Set,String:String,StringPrototypeSlice:(t,e,r)=>t.slice(e,r),StringPrototypeToLowerCase:t=>t.toLowerCase(),StringPrototypeToUpperCase:t=>t.toUpperCase(),StringPrototypeTrim:t=>t.trim(),Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet:(t,e,r)=>t.set(e,r),Boolean:Boolean,Uint8Array:Uint8Array}},61357:(t,e,r)=>{"use strict";const n=r(48764),{kResistStopPropagation:i,SymbolDispose:o}=r(37808),a=globalThis.AbortSignal||r(28599).AbortSignal,s=globalThis.AbortController||r(28599).AbortController,u=Object.getPrototypeOf((async function(){})).constructor,l=globalThis.Blob||n.Blob,c=void 0!==l?function(t){return t instanceof l}:function(t){return!1},f=(t,e)=>{if(void 0!==t&&(null===t||"object"!=typeof t||!("aborted"in t)))throw new ERR_INVALID_ARG_TYPE(e,"AbortSignal",t)};class d extends Error{constructor(t){if(!Array.isArray(t))throw new TypeError("Expected input to be an Array, got "+typeof t);let e="";for(let r=0;r<t.length;r++)e+=` ${t[r].stack}\n`;super(e),this.name="AggregateError",this.errors=t}}t.exports={AggregateError:d,kEmptyObject:Object.freeze({}),once(t){let e=!1;return function(...r){e||(e=!0,t.apply(this,r))}},createDeferredPromise:function(){let t,e;return{promise:new Promise((r,n)=>{t=r,e=n}),resolve:t,reject:e}},promisify:t=>new Promise((e,r)=>{t((t,...n)=>t?r(t):e(...n))}),debuglog:()=>function(){},format:(t,...e)=>t.replace(/%([sdifj])/g,(function(...[t,r]){const n=e.shift();if("f"===r)return n.toFixed(6);if("j"===r)return JSON.stringify(n);if("s"===r&&"object"==typeof n){return((n.constructor!==Object?n.constructor.name:"")+" {}").trim()}return n.toString()})),inspect(t){switch(typeof t){case"string":if(t.includes("'")){if(!t.includes('"'))return`"${t}"`;if(!t.includes("`")&&!t.includes("${"))return`\`${t}\``}return`'${t}'`;case"number":return isNaN(t)?"NaN":Object.is(t,-0)?String(t):t;case"bigint":return String(t)+"n";case"boolean":case"undefined":return String(t);case"object":return"{}"}},types:{isAsyncFunction:t=>t instanceof u,isArrayBufferView:t=>ArrayBuffer.isView(t)},isBlob:c,deprecate:(t,e)=>t,addAbortListener:r(17187).addAbortListener||function(t,e){if(void 0===t)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",t);let r;return f(t,"signal"),((t,e)=>{if("function"!=typeof t)throw new ERR_INVALID_ARG_TYPE(e,"Function",t)})(e,"listener"),t.aborted?queueMicrotask(()=>e()):(t.addEventListener("abort",e,{__proto__:null,once:!0,[i]:!0}),r=()=>{t.removeEventListener("abort",e)}),{__proto__:null,[o](){var t;null===(t=r)||void 0===t||t()}}},AbortSignalAny:a.any||function(t){if(1===t.length)return t[0];const e=new s,r=()=>e.abort();return t.forEach(t=>{f(t,"signals"),t.addEventListener("abort",r,{once:!0})}),e.signal.addEventListener("abort",()=>{t.forEach(t=>t.removeEventListener("abort",r))},{once:!0}),e.signal}},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},93441:(t,e,r)=>{const{Buffer:n}=r(48764),{ObjectDefineProperty:i,ObjectKeys:o,ReflectApply:a}=r(37808),{promisify:{custom:s}}=r(61357),{streamReturningOperators:u,promiseReturningOperators:l}=r(83093),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=r(33555),f=r(72982),{setDefaultHighWaterMark:d,getDefaultHighWaterMark:h}=r(42109),{pipeline:p}=r(33298),{destroyer:g}=r(55306),y=r(41927),m=r(10181),v=r(74451),b=t.exports=r(16618).Stream;b.isDestroyed=v.isDestroyed,b.isDisturbed=v.isDisturbed,b.isErrored=v.isErrored,b.isReadable=v.isReadable,b.isWritable=v.isWritable,b.Readable=r(37470);for(const t of o(u)){const e=u[t];function w(...t){if(new.target)throw c();return b.Readable.from(a(e,this,t))}i(w,"name",{__proto__:null,value:e.name}),i(w,"length",{__proto__:null,value:e.length}),i(b.Readable.prototype,t,{__proto__:null,value:w,enumerable:!1,configurable:!0,writable:!0})}for(const t of o(l)){const e=l[t];function w(...t){if(new.target)throw c();return a(e,this,t)}i(w,"name",{__proto__:null,value:e.name}),i(w,"length",{__proto__:null,value:e.length}),i(b.Readable.prototype,t,{__proto__:null,value:w,enumerable:!1,configurable:!0,writable:!0})}b.Writable=r(18672),b.Duplex=r(72664),b.Transform=r(2595),b.PassThrough=r(66541),b.pipeline=p;const{addAbortSignal:_}=r(1163);b.addAbortSignal=_,b.finished=y,b.destroy=g,b.compose=f,b.setDefaultHighWaterMark=d,b.getDefaultHighWaterMark=h,i(b,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>m}),i(p,s,{__proto__:null,enumerable:!0,get:()=>m.pipeline}),i(y,s,{__proto__:null,enumerable:!0,get:()=>m.finished}),b.Stream=b,b._isUint8Array=function(t){return t instanceof Uint8Array},b._uint8ArrayToBuffer=function(t){return n.from(t.buffer,t.byteOffset,t.byteLength)}},10181:(t,e,r)=>{"use strict";const{ArrayPrototypePop:n,Promise:i}=r(37808),{isIterable:o,isNodeStream:a,isWebStream:s}=r(74451),{pipelineImpl:u}=r(33298),{finished:l}=r(41927);r(93441),t.exports={finished:l,pipeline:function(...t){return new i((e,r)=>{let i,l;const c=t[t.length-1];if(c&&"object"==typeof c&&!a(c)&&!o(c)&&!s(c)){const e=n(t);i=e.signal,l=e.end}u(t,(t,n)=>{t?r(t):e(n)},{signal:i,end:l})})}}},68912:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),i(r(9336),e)},9336:(t,e)=>{"use strict";function r(t){const e=[];let r=0;for(;r<t.length;)switch(t[r]){case"/":if("."===t[r+1])if("."===t[r+2]){if(!i(t[r+3])){e.push([]),r++;break}e.pop(),t[r+3]||e.push([]),r+=3}else{if(!i(t[r+2])){e.push([]),r++;break}t[r+2]||e.push([]),r+=2}else e.push([]),r++;break;case"#":case"?":e.length||e.push([]),e[e.length-1].push(t.substr(r)),r=t.length;break;default:e.length||e.push([]),e[e.length-1].push(t[r]),r++}return"/"+e.map(t=>t.join("")).join("/")}function n(t,e){let n=e+1;e>=0?"/"===t[e+1]&&"/"===t[e+2]&&(n=e+3):"/"===t[0]&&"/"===t[1]&&(n=2);const i=t.indexOf("/",n);if(i<0)return t;return t.substr(0,i)+r(t.substr(i))}function i(t){return!t||"#"===t||"?"===t||"/"===t}Object.defineProperty(e,"__esModule",{value:!0}),e.removeDotSegmentsOfPath=e.removeDotSegments=e.resolve=void 0,e.resolve=function(t,e){const i=(e=e||"").indexOf("#");if(i>0&&(e=e.substr(0,i)),!t.length){if(e.indexOf(":")<0)throw new Error(`Found invalid baseIRI '${e}' for value '${t}'`);return e}if(t.startsWith("?")){const r=e.indexOf("?");return r>0&&(e=e.substr(0,r)),e+t}if(t.startsWith("#"))return e+t;if(!e.length){const e=t.indexOf(":");if(e<0)throw new Error(`Found invalid relative IRI '${t}' for a missing baseIRI`);return n(t,e)}const o=t.indexOf(":");if(o>=0)return n(t,o);const a=e.indexOf(":");if(a<0)throw new Error(`Found invalid baseIRI '${e}' for value '${t}'`);const s=e.substr(0,a+1);if(0===t.indexOf("//"))return s+n(t,o);let u;if(e.indexOf("//",a)===a+1){if(u=e.indexOf("/",a+3),u<0)return e.length>a+3?e+"/"+n(t,o):s+n(t,o)}else if(u=e.indexOf("/",a+1),u<0)return s+n(t,o);if(0===t.indexOf("/"))return e.substr(0,u)+r(t);let l=e.substr(u);const c=l.lastIndexOf("/");return c>=0&&c<l.length-1&&(l=l.substr(0,c+1),"."===t[0]&&"."!==t[1]&&"/"!==t[1]&&t[2]&&(t=t.substr(1))),t=r(t=l+t),e.substr(0,u)+t},e.removeDotSegments=r,e.removeDotSegmentsOfPath=n},89509:(t,e,r)=>{
29
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
30
+ var n=r(48764),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},32553:(t,e,r)=>{"use strict";var n=r(89509).Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=u,this.end=l,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=c,this.end=f,e=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function l(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function c(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function f(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function d(t){return t.toString(this.encoding)}function h(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},o.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var i=a(e[n]);if(i>=0)return i>0&&(t.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if((i=a(e[n]))>=0)return i>0&&(t.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if((i=a(e[n]))>=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},93379:t=>{"use strict";var e=[];function r(t){for(var r=-1,n=0;n<e.length;n++)if(e[n].identifier===t){r=n;break}return r}function n(t,n){for(var o={},a=[],s=0;s<t.length;s++){var u=t[s],l=n.base?u[0]+n.base:u[0],c=o[l]||0,f="".concat(l," ").concat(c);o[l]=c+1;var d=r(f),h={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==d)e[d].references++,e[d].updater(h);else{var p=i(h,n);n.byIndex=s,e.splice(s,0,{identifier:f,updater:p,references:1})}a.push(f)}return a}function i(t,e){var r=e.domAPI(e);r.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;r.update(t=e)}else r.remove()}}t.exports=function(t,i){var o=n(t=t||[],i=i||{});return function(t){t=t||[];for(var a=0;a<o.length;a++){var s=r(o[a]);e[s].references--}for(var u=n(t,i),l=0;l<o.length;l++){var c=r(o[l]);0===e[c].references&&(e[c].updater(),e.splice(c,1))}o=u}}},90569:t=>{"use strict";var e={};t.exports=function(t,r){var n=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},19216:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},3565:(t,e,r)=>{"use strict";t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},7795:t=>{"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var i=void 0!==r.layer;i&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,i&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var o=r.sourceMap;o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(n,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},44589:t=>{"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},21017:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),i(r(92504),e)},92504:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateIri=e.IriValidationStrategy=void 0;const r=function(){const t="([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",e=`${t}\\.${t}\\.${t}\\.${t}`,r="[a-fA-F0-9]{1,4}",n=`(${r}:${r}|${e})`,i="[a-zA-Z0-9\\-._~ -퟿豈-﷏ﷰ-￯𐀀-🿽𠀀-𯿽𰀀-𿿽񀀀-񏿽񐀀-񟿽񠀀-񯿽񰀀-񿿽򀀀-򏿽򐀀-򟿽򠀀-򯿽򰀀-򿿽󀀀-󏿽󐀀-󟿽󡀀-󯿽]",o=`(${i}|%[a-fA-F0-9]{2}|[!$&'()*+,;=]|[:@])*`,a=`(${o})+`,s=`(${o})*`;return new RegExp(`^[a-zA-Z][a-zA-Z0-9+\\-.]*:${`(\\/\\/${`(${`(${i}|%[a-fA-F0-9]{2}|[!$&'()*+,;=]|:)*`}@)?${`(${`\\[(${`((${r}:){6}${n}|::(${r}:){5}${n}|(${r})?::(${r}:){4}${n}|((${r}:){0,1}${r})?::(${r}:){3}${n}|((${r}:){0,2}${r})?::(${r}:){2}${n}|((${r}:){0,3}${r})?::${r}:${n}|((${r}:){0,4}${r})?::${n}|((${r}:){0,5}${r})?::${r}|((${r}:){0,6}${r})?::)`}|v[a-fA-F0-9]+\\.([!$&'()*+,;=]|[!$&'()*+,;=]|":)+)\\]`}|${e}|${`(${i}|%[a-fA-F0-9]{2}|[!$&'()*+,;=])*`})`}(:[0-9]*)?`}${`(\\/${s})*`}|${`\\/(${a}(\\/${s})*)?`}|${`${a}(\\/${s})*`}|)`}(\\?${`(${o}|[-󰀀-󿿽􀀀-􏿽]|[\\/?])*`})?(#${`(${o}|[\\/?])*`})?$`,"u")}(),n=/^[A-Za-z][\d+-.A-Za-z]*:[^\u0000-\u0020"<>\\^`{|}]*$/u;var i;!function(t){t.Strict="strict",t.Pragmatic="pragmatic",t.None="none"}(i=e.IriValidationStrategy||(e.IriValidationStrategy={})),e.validateIri=function(t,e=i.Strict){switch(e){case i.Strict:return r.test(t)?void 0:new Error(`Invalid IRI according to RFC 3987: '${t}'`);case i.Pragmatic:return n.test(t)?void 0:new Error(`Invalid IRI according to RDF Turtle: '${t}'`);case i.None:return;default:return new Error(`Not supported validation strategy "${e}"`)}}},83347:(t,e)=>{"use strict";
31
+ /**
32
+ * Character classes and associated utilities for the 5th edition of XML 1.0.
18
33
  *
19
- * Copyright JS Foundation and other contributors
20
- * Released under the MIT license
21
- * https://js.foundation/
34
+ * @author Louis-Dominique Dubeau
35
+ * @license MIT
36
+ * @copyright Louis-Dominique Dubeau
37
+ */Object.defineProperty(e,"__esModule",{value:!0}),e.CHAR="\t\n\r -퟿-�𐀀-􏿿",e.S=" \t\r\n",e.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",e.NAME_CHAR="-"+e.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",e.CHAR_RE=new RegExp("^["+e.CHAR+"]$","u"),e.S_RE=new RegExp("^["+e.S+"]+$","u"),e.NAME_START_CHAR_RE=new RegExp("^["+e.NAME_START_CHAR+"]$","u"),e.NAME_CHAR_RE=new RegExp("^["+e.NAME_CHAR+"]$","u"),e.NAME_RE=new RegExp("^["+e.NAME_START_CHAR+"]["+e.NAME_CHAR+"]*$","u"),e.NMTOKEN_RE=new RegExp("^["+e.NAME_CHAR+"]+$","u");function r(t){return t>=65&&t<=90||t>=97&&t<=122||58===t||95===t||8204===t||8205===t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}e.S_LIST=[32,10,13,9],e.isChar=function(t){return t>=32&&t<=55295||10===t||13===t||9===t||t>=57344&&t<=65533||t>=65536&&t<=1114111},e.isS=function(t){return 32===t||10===t||13===t||9===t},e.isNameStartChar=r,e.isNameChar=function(t){return r(t)||t>=48&&t<=57||45===t||46===t||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},95285:(t,e)=>{"use strict";
38
+ /**
39
+ * Character classes and associated utilities for the 2nd edition of XML 1.1.
22
40
  *
23
- * Date: 2023-02-14
24
- */
25
- function(e){var t,n,r,i,o,a,s,u,l,c,f,d,h,p,y,g,v,m,b,w="sizzle"+1*new Date,_=e.document,x=0,O=0,S=ue(),T=ue(),k=ue(),E=ue(),j=function(e,t){return e===t&&(f=!0),0},C={}.hasOwnProperty,P=[],A=P.pop,N=P.push,D=P.push,R=P.slice,M=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="[\\x20\\t\\r\\n\\f]",F="(?:\\\\[\\da-fA-F]{1,6}"+I+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",V="\\["+I+"*("+F+")(?:"+I+"*([*^$|!~]?=)"+I+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+I+"*\\]",B=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+V+")*)|.*)\\)|)",U=new RegExp(I+"+","g"),Y=new RegExp("^"+I+"+|((?:^|[^\\\\])(?:\\\\.)*)"+I+"+$","g"),H=new RegExp("^"+I+"*,"+I+"*"),G=new RegExp("^"+I+"*([>+~]|"+I+")"+I+"*"),W=new RegExp(I+"|>"),z=new RegExp(B),q=new RegExp("^"+F+"$"),X={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+V),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},$=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+I+"?|\\\\([^\\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))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){d()},ae=we((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{D.apply(P=R.call(_.childNodes),_.childNodes),P[_.childNodes.length].nodeType}catch(e){D={apply:P.length?function(e,t){N.apply(e,R.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var o,s,l,c,f,p,v,m=t&&t.ownerDocument,_=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==_&&9!==_&&11!==_)return r;if(!i&&(d(t),t=t||h,y)){if(11!==_&&(f=K.exec(e)))if(o=f[1]){if(9===_){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&b(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return D.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return D.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!E[e+" "]&&(!g||!g.test(e))&&(1!==_||"object"!==t.nodeName.toLowerCase())){if(v=e,m=t,1===_&&(W.test(e)||G.test(e))){for((m=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(re,ie):t.setAttribute("id",c=w)),s=(p=a(e)).length;s--;)p[s]=(c?"#"+c:":scope")+" "+be(p[s]);v=p.join(",")}try{return D.apply(r,m.querySelectorAll(v)),r}catch(t){E(e,!0)}finally{c===w&&t.removeAttribute("id")}}}return u(e.replace(Y,"$1"),t,r,i)}function ue(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function le(e){return e[w]=!0,e}function ce(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(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 ye(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 le((function(t){return t=+t,le((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!$.test(t||n&&n.nodeName||"HTML")},d=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:_;return a!=h&&9===a.nodeType&&a.documentElement?(p=(h=a).documentElement,y=!o(h),_!=h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=ce((function(e){return p.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.cssHas=ce((function(){try{return h.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),n.attributes=ce((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ce((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Z.test(h.getElementsByClassName),n.getById=ce((function(e){return p.appendChild(e).id=w,!h.getElementsByName||!h.getElementsByName(w).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&y){var n=t.getElementById(e);return n?[n]:[]}}):(r.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}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&y){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.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,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&y)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=Z.test(h.querySelectorAll))&&(ce((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("[*^$]="+I+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+I+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+w+"-]").length||g.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+I+"*name"+I+"*="+I+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ce((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+I+"*[*^$|!~]?="),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=Z.test(m=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ce((function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",B)})),n.cssHas||g.push(":has"),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=Z.test(p.compareDocumentPosition),b=t||Z.test(p.contains)?function(e,t){var n=9===e.nodeType&&e.documentElement||e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==h||e.ownerDocument==_&&b(_,e)?-1:t==h||t.ownerDocument==_&&b(_,t)?1:c?M(c,e)-M(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==h?-1:t==h?1:i?-1:o?1:c?M(c,e)-M(c,t):0;if(i===o)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]==_?-1:s[r]==_?1:0},h):h},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&y&&!E[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){E(t,!0)}return se(t,h,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=h&&d(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=h&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&C.call(r.attrHandle,t.toLowerCase())?i(e,t,!y):void 0;return void 0!==o?o:n.attributes||!y?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(j),f){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return c=null,e},i=se.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=se.selectors={cacheLength:50,createPseudo:le,match:X,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 X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&z.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=S[e+" "];return t||(t=new RegExp("(^|"+I+")"+e+"("+I+"|$)"))&&S(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(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(U," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,h,p,y=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,b=!1;if(g){if(o){for(;y;){for(d=t;d=d[y];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=y="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&m){for(b=(h=(l=(c=(f=(d=g)[w]||(d[w]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===x&&l[1])&&l[2],d=h&&g.childNodes[h];d=++h&&d&&d[y]||(b=h=0)||p.pop();)if(1===d.nodeType&&++b&&d===t){c[e]=[x,h,b];break}}else if(m&&(b=h=(l=(c=(f=(d=t)[w]||(d[w]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===x&&l[1]),!1===b)for(;(d=++h&&d&&d[y]||(b=h=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++b||(m&&((c=(f=d[w]||(d[w]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[x,b]),d!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[w]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=M(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,n)}):i}},pseudos:{not:le((function(e){var t=[],n=[],r=s(e.replace(Y,"$1"));return r[w]?le((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:le((function(e){return function(t){return se(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:le((function(e){return q.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=y?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===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ye(!1),disabled:ye(!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!r.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.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 r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=he(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function me(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function we(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=O++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,d=[x,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(c=(f=t[w]||(t[w]={}))[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===x&&l[1]===s)return d[2]=l[2];if(c[o]=d,d[2]=e(t,n,u))return!0}return!1}}function _e(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xe(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Oe(e,t,n,r,i,o){return r&&!r[w]&&(r=Oe(r)),i&&!i[w]&&(i=Oe(i,o)),le((function(o,a,s,u){var l,c,f,d=[],h=[],p=a.length,y=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!o&&t?y:xe(y,d,e,s,u),v=n?i||(o?e:p||r)?[]:a:g;if(n&&n(g,v,s,u),r)for(l=xe(v,h),r(l,[],s,u),c=l.length;c--;)(f=l[c])&&(v[h[c]]=!(g[h[c]]=f));if(o){if(i||e){if(i){for(l=[],c=v.length;c--;)(f=v[c])&&l.push(g[c]=f);i(null,v=[],l,u)}for(c=v.length;c--;)(f=v[c])&&(l=i?M(o,f):d[c])>-1&&(o[l]=!(a[l]=f))}}else v=xe(v===a?v.splice(p,v.length):v),i?i(null,a,v,u):D.apply(a,v)}))}function Se(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=we((function(e){return e===t}),s,!0),f=we((function(e){return M(t,e)>-1}),s,!0),d=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])d=[we(_e(d),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[w]){for(i=++u;i<o&&!r.relative[e[i].type];i++);return Oe(u>1&&_e(d),u>1&&be(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(Y,"$1"),n,u<i&&Se(e.slice(u,i)),i<o&&Se(e=e.slice(i)),i<o&&be(e))}d.push(n)}return _e(d)}return me.prototype=r.filters=r.pseudos,r.setFilters=new me,a=se.tokenize=function(e,t){var n,i,o,a,s,u,l,c=T[e+" "];if(c)return t?0:c.slice(0);for(s=e,u=[],l=r.preFilter;s;){for(a in n&&!(i=H.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=G.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(Y," ")}),s=s.slice(n.length)),r.filter)!(i=X[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):T(e,u).slice(0)},s=se.compile=function(e,t){var n,i=[],o=[],s=k[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Se(t[n]))[w]?i.push(s):o.push(s);(s=k(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,c){var f,p,g,v=0,m="0",b=o&&[],w=[],_=l,O=o||i&&r.find.TAG("*",c),S=x+=null==_?1:Math.random()||.1,T=O.length;for(c&&(l=a==h||a||c);m!==T&&null!=(f=O[m]);m++){if(i&&f){for(p=0,a||f.ownerDocument==h||(d(f),s=!y);g=e[p++];)if(g(f,a||h,s)){u.push(f);break}c&&(x=S)}n&&((f=!g&&f)&&v--,o&&b.push(f))}if(v+=m,n&&m!==v){for(p=0;g=t[p++];)g(b,w,a,s);if(o){if(v>0)for(;m--;)b[m]||w[m]||(w[m]=A.call(u));w=xe(w)}D.apply(u,w),c&&!o&&w.length>0&&v+t.length>1&&se.uniqueSort(u)}return c&&(x=S,l=_),b};return n?le(o):o}(o,i))).selector=e}return s},u=se.select=function(e,t,n,i){var o,u,l,c,f,d="function"==typeof e&&e,h=!i&&a(e=d.selector||e);if(n=n||[],1===h.length){if((u=h[0]=h[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&y&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=X.needsContext.test(e)?0:u.length;o--&&(l=u[o],!r.relative[c=l.type]);)if((f=r.find[c])&&(i=f(l.matches[0].replace(te,ne),ee.test(u[0].type)&&ve(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&be(u)))return D.apply(n,i),n;break}}return(d||s(e,h))(i,t,!y,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=w.split("").sort(j).join("")===w,n.detectDuplicates=!!f,d(),n.sortDetached=ce((function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))})),ce((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||fe("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ce((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||fe("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ce((function(e){return null==e.getAttribute("disabled")}))||fe(L,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(n);O.find=T,O.expr=T.selectors,O.expr[":"]=O.expr.pseudos,O.uniqueSort=O.unique=T.uniqueSort,O.text=T.getText,O.isXMLDoc=T.isXML,O.contains=T.contains,O.escapeSelector=T.escape;var k=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&O(e).is(n))break;r.push(e)}return r},E=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},j=O.expr.match.needsContext;function C(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var P=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function A(e,t,n){return v(t)?O.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?O.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?O.grep(e,(function(e){return c.call(t,e)>-1!==n})):O.filter(t,e,n)}O.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?O.find.matchesSelector(r,e)?[r]:[]:O.find.matches(e,O.grep(t,(function(e){return 1===e.nodeType})))},O.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(O(e).filter((function(){for(t=0;t<r;t++)if(O.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)O.find(e,i[t],n);return r>1?O.uniqueSort(n):n},filter:function(e){return this.pushStack(A(this,e||[],!1))},not:function(e){return this.pushStack(A(this,e||[],!0))},is:function(e){return!!A(this,"string"==typeof e&&j.test(e)?O(e):e||[],!1).length}});var N,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(O.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||N,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:D.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof O?t[0]:t,O.merge(this,O.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),P.test(r[1])&&O.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(O):O.makeArray(e,this)}).prototype=O.fn,N=O(b);var R=/^(?:parents|prev(?:Until|All))/,M={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}O.fn.extend({has:function(e){var t=O(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(O.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&O(e);if(!j.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&O.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?O.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(O(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(O.uniqueSort(O.merge(this.get(),O(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),O.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return L(e,"nextSibling")},prev:function(e){return L(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(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:(C(e,"template")&&(e=e.content||e),O.merge([],e.childNodes))}},(function(e,t){O.fn[e]=function(n,r){var i=O.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=O.filter(r,i)),this.length>1&&(M[e]||O.uniqueSort(i),R.test(e)&&i.reverse()),this.pushStack(i)}}));var I=/[^\x20\t\r\n\f]+/g;function F(e){return e}function V(e){throw e}function B(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}O.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return O.each(e.match(I)||[],(function(e,n){t[n]=!0})),t}(e):O.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){O.each(n,(function(n,r){v(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return O.each(arguments,(function(e,t){for(var n;(n=O.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?O.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},O.extend({Deferred:function(e){var t=[["notify","progress",O.Callbacks("memory"),O.Callbacks("memory"),2],["resolve","done",O.Callbacks("once memory"),O.Callbacks("once memory"),0,"resolved"],["reject","fail",O.Callbacks("once memory"),O.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return O.Deferred((function(n){O.each(t,(function(t,r){var i=v(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,u=arguments,l=function(){var n,l;if(!(e<o)){if((n=r.apply(s,u))===t.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"==typeof n||"function"==typeof n)&&n.then,v(l)?i?l.call(n,a(o,t,F,i),a(o,t,V,i)):(o++,l.call(n,a(o,t,F,i),a(o,t,V,i),a(o,t,F,t.notifyWith))):(r!==F&&(s=void 0,u=[n]),(i||t.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(n){O.Deferred.exceptionHook&&O.Deferred.exceptionHook(n,c.stackTrace),e+1>=o&&(r!==V&&(s=void 0,u=[n]),t.rejectWith(s,u))}};e?c():(O.Deferred.getStackHook&&(c.stackTrace=O.Deferred.getStackHook()),n.setTimeout(c))}}return O.Deferred((function(n){t[0][3].add(a(0,n,v(i)?i:F,n.notifyWith)),t[1][3].add(a(0,n,v(e)?e:F)),t[2][3].add(a(0,n,v(r)?r:V))})).promise()},promise:function(e){return null!=e?O.extend(e,i):i}},o={};return O.each(t,(function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=O.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(B(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||v(i[n]&&i[n].then)))return o.then();for(;n--;)B(i[n],a(n),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;O.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&U.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},O.readyException=function(e){n.setTimeout((function(){throw e}))};var Y=O.Deferred();function H(){b.removeEventListener("DOMContentLoaded",H),n.removeEventListener("load",H),O.ready()}O.fn.ready=function(e){return Y.then(e).catch((function(e){O.readyException(e)})),this},O.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--O.readyWait:O.isReady)||(O.isReady=!0,!0!==e&&--O.readyWait>0||Y.resolveWith(b,[O]))}}),O.ready.then=Y.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(O.ready):(b.addEventListener("DOMContentLoaded",H),n.addEventListener("load",H));var G=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)G(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(O(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},W=/^-ms-/,z=/-([a-z])/g;function q(e,t){return t.toUpperCase()}function X(e){return e.replace(W,"ms-").replace(z,q)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=O.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(I)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||O.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!O.isEmptyObject(t)}};var J=new Q,Z=new Q,K=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:K.test(e)?JSON.parse(e):e)}(n)}catch(e){}Z.set(e,t,n)}else n=void 0;return n}O.extend({hasData:function(e){return Z.hasData(e)||J.hasData(e)},data:function(e,t,n){return Z.access(e,t,n)},removeData:function(e,t){Z.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),O.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=Z.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=X(r.slice(5)),te(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){Z.set(this,e)})):G(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=Z.get(o,e))||void 0!==(n=te(o,e))?n:void 0;this.each((function(){Z.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Z.remove(this,e)}))}}),O.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,O.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=O.queue(e,t),r=n.length,i=n.shift(),o=O._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){O.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:O.Callbacks("once memory").add((function(){J.remove(e,[t+"queue",n])}))})}}),O.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?O.queue(this[0],e):void 0===t?this:this.each((function(){var n=O.queue(this,e,t);O._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&O.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){O.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=O.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=J.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,re=new RegExp("^(?:([+-])=|)("+ne+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],oe=b.documentElement,ae=function(e){return O.contains(e.ownerDocument,e)},se={composed:!0};oe.getRootNode&&(ae=function(e){return O.contains(e.ownerDocument,e)||e.getRootNode(se)===e.ownerDocument});var ue=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ae(e)&&"none"===O.css(e,"display")};function le(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return O.css(e,t,"")},u=s(),l=n&&n[3]||(O.cssNumber[t]?"":"px"),c=e.nodeType&&(O.cssNumber[t]||"px"!==l&&+u)&&re.exec(O.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)O.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,O.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ce={};function fe(e){var t,n=e.ownerDocument,r=e.nodeName,i=ce[r];return i||(t=n.body.appendChild(n.createElement(r)),i=O.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ce[r]=i,i)}function de(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ue(r)&&(i[o]=fe(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}O.fn.extend({show:function(){return de(this,!0)},hide:function(){return de(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ue(this)?O(this).show():O(this).hide()}))}});var he,pe,ye=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(pe=b.createElement("input")).setAttribute("type","radio"),pe.setAttribute("checked","checked"),pe.setAttribute("name","t"),he.appendChild(pe),g.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",g.option=!!he.lastChild;var me={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 be(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&C(e,t)?O.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td,g.option||(me.optgroup=me.option=[1,"<select multiple='multiple'>","</select>"]);var _e=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),d=[],h=0,p=e.length;h<p;h++)if((o=e[h])||0===o)if("object"===x(o))O.merge(d,o.nodeType?[o]:o);else if(_e.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(ge.exec(o)||["",""])[1].toLowerCase(),u=me[s]||me._default,a.innerHTML=u[1]+O.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;O.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(o));for(f.textContent="",h=0;o=d[h++];)if(r&&O.inArray(o,r)>-1)i&&i.push(o);else if(l=ae(o),a=be(f.appendChild(o),"script"),l&&we(a),n)for(c=0;o=a[c++];)ve.test(o.type||"")&&n.push(o);return f}var Oe=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function Te(){return!1}function ke(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ee(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Te;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return O().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=O.guid++)),e.each((function(){O.event.add(this,t,i,r,n)}))}function je(e,t,n){n?(J.set(e,t,!1),O.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=J.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(O.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),J.set(this,t,o),r=n(this,t),this[t](),o!==(i=J.get(this,t))||r?J.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(J.set(this,t,{value:O.event.trigger(O.extend(o[0],O.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===J.get(e,t)&&O.event.add(e,t,Se)}O.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,h,p,y,g=J.get(e);if($(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&O.find.matchesSelector(oe,i),n.guid||(n.guid=O.guid++),(u=g.events)||(u=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==O&&O.event.triggered!==t.type?O.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(I)||[""]).length;l--;)h=y=(s=Oe.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(f=O.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=O.event.special[h]||{},c=O.extend({type:h,origType:y,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&O.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=u[h])||((d=u[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,p,a)||e.addEventListener&&e.addEventListener(h,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),O.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,h,p,y,g=J.hasData(e)&&J.get(e);if(g&&(u=g.events)){for(l=(t=(t||"").match(I)||[""]).length;l--;)if(h=y=(s=Oe.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=O.event.special[h]||{},d=u[h=(r?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&y!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,g.handle)||O.removeEvent(e,h,g.handle),delete u[h])}else for(h in u)O.event.remove(e,h+t[l],n,r,!0);O.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=O.event.fix(e),l=(J.get(this,"events")||Object.create(null))[u.type]||[],c=O.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=O.event.handlers.call(this,u,l),t=0;(i=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((O.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?O(i,this).index(l)>-1:O.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(O.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(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[O.expando]?e:new O.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ye.test(t.type)&&t.click&&C(t,"input")&&je(t,"click",Se),!1},trigger:function(e){var t=this||e;return ye.test(t.type)&&t.click&&C(t,"input")&&je(t,"click"),!0},_default:function(e){var t=e.target;return ye.test(t.type)&&t.click&&C(t,"input")&&J.get(t,"click")||C(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},O.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},O.Event=function(e,t){if(!(this instanceof O.Event))return new O.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Se: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&&O.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[O.expando]=!0},O.Event.prototype={constructor:O.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Se,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Se,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Se,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},O.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},O.event.addProp),O.each({focus:"focusin",blur:"focusout"},(function(e,t){O.event.special[e]={setup:function(){return je(this,e,ke),!1},trigger:function(){return je(this,e),!0},_default:function(t){return J.get(t.target,e)},delegateType:t}})),O.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){O.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||O.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),O.fn.extend({on:function(e,t,n,r){return Ee(this,e,t,n,r)},one:function(e,t,n,r){return Ee(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,O(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each((function(){O.event.remove(this,e,n,t)}))}});var Ce=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Ae=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ne(e,t){return C(e,"table")&&C(11!==t.nodeType?t:t.firstChild,"tr")&&O(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(J.hasData(e)&&(s=J.get(e).events))for(i in J.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)O.event.add(t,i,s[i][n]);Z.hasData(e)&&(o=Z.access(e),a=O.extend({},o),Z.set(t,a))}}function Le(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ye.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ie(e,t,n,r){t=u(t);var i,o,a,s,l,c,f=0,d=e.length,h=d-1,p=t[0],y=v(p);if(y||d>1&&"string"==typeof p&&!g.checkClone&&Pe.test(p))return e.each((function(i){var o=e.eq(i);y&&(t[0]=p.call(this,i,o.html())),Ie(o,t,n,r)}));if(d&&(o=(i=xe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=O.map(be(i,"script"),De)).length;f<d;f++)l=i,f!==h&&(l=O.clone(l,!0,!0),s&&O.merge(a,be(l,"script"))),n.call(e[f],l,f);if(s)for(c=a[a.length-1].ownerDocument,O.map(a,Re),f=0;f<s;f++)l=a[f],ve.test(l.type||"")&&!J.access(l,"globalEval")&&O.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?O._evalUrl&&!l.noModule&&O._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):_(l.textContent.replace(Ae,""),l,c))}return e}function Fe(e,t,n){for(var r,i=t?O.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||O.cleanData(be(r)),r.parentNode&&(n&&ae(r)&&we(be(r,"script")),r.parentNode.removeChild(r));return e}O.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=ae(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||O.isXMLDoc(e)))for(a=be(s),r=0,i=(o=be(e)).length;r<i;r++)Le(o[r],a[r]);if(t)if(n)for(o=o||be(e),a=a||be(s),r=0,i=o.length;r<i;r++)Me(o[r],a[r]);else Me(e,s);return(a=be(s,"script")).length>0&&we(a,!u&&be(e,"script")),s},cleanData:function(e){for(var t,n,r,i=O.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?O.event.remove(n,r):O.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),O.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return G(this,(function(e){return void 0===e?O.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 Ie(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ne(this,e).appendChild(e)}))},prepend:function(){return Ie(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ne(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ie(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ie(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&&(O.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return O.clone(this,e,t)}))},html:function(e){return G(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ce.test(e)&&!me[(ge.exec(e)||["",""])[1].toLowerCase()]){e=O.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(O.cleanData(be(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ie(this,arguments,(function(t){var n=this.parentNode;O.inArray(this,e)<0&&(O.cleanData(be(this)),n&&n.replaceChild(t,this))}),e)}}),O.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){O.fn[e]=function(e){for(var n,r=[],i=O(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),O(i[a])[t](n),l.apply(r,n.get());return this.pushStack(r)}}));var Ve=new RegExp("^("+ne+")(?!px)[a-z%]+$","i"),Be=/^--/,Ue=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ye=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},He=new RegExp(ie.join("|"),"i"),Ge=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g");function We(e,t,n){var r,i,o,a,s=Be.test(t),u=e.style;return(n=n||Ue(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(Ge,"$1")||void 0),""!==a||ae(e)||(a=O.style(e,t)),!g.pixelBoxStyles()&&Ve.test(a)&&He.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function ze(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",oe.appendChild(l).appendChild(c);var e=n.getComputedStyle(c);r="1%"!==e.top,u=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),i=36===t(e.width),c.style.position="absolute",o=12===t(c.offsetWidth/3),oe.removeChild(l),c=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,a,s,u,l=b.createElement("div"),c=b.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.style.backgroundClip,O.extend(g,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,r,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),r=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",r.style.height="9px",r.style.display="block",oe.appendChild(e).appendChild(t).appendChild(r),i=n.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,oe.removeChild(e)),s}}))}();var qe=["Webkit","Moz","ms"],Xe=b.createElement("div").style,$e={};function Qe(e){var t=O.cssProps[e]||$e[e];return t||(e in Xe?e:$e[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=qe.length;n--;)if((e=qe[n]+t)in Xe)return e}(e)||e)}var Je=/^(none|table(?!-c[ea]).+)/,Ze={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var r=re.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function tt(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=O.css(e,n+ie[a],!0,i)),r?("content"===n&&(u-=O.css(e,"padding"+ie[a],!0,i)),"margin"!==n&&(u-=O.css(e,"border"+ie[a]+"Width",!0,i))):(u+=O.css(e,"padding"+ie[a],!0,i),"padding"!==n?u+=O.css(e,"border"+ie[a]+"Width",!0,i):s+=O.css(e,"border"+ie[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function nt(e,t,n){var r=Ue(e),i=(!g.boxSizingReliable()||n)&&"border-box"===O.css(e,"boxSizing",!1,r),o=i,a=We(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ve.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&C(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===O.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===O.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+tt(e,t,n||(i?"border":"content"),o,r,a)+"px"}function rt(e,t,n,r,i){return new rt.prototype.init(e,t,n,r,i)}O.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=Be.test(t),l=e.style;if(u||(t=Qe(s)),a=O.cssHooks[t]||O.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=re.exec(n))&&i[1]&&(n=le(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(O.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Be.test(t)||(t=Qe(s)),(a=O.cssHooks[t]||O.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=We(e,t,r)),"normal"===i&&t in Ke&&(i=Ke[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),O.each(["height","width"],(function(e,t){O.cssHooks[t]={get:function(e,n,r){if(n)return!Je.test(O.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):Ye(e,Ze,(function(){return nt(e,t,r)}))},set:function(e,n,r){var i,o=Ue(e),a=!g.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===O.css(e,"boxSizing",!1,o),u=r?tt(e,t,r,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-tt(e,t,"border",!1,o)-.5)),u&&(i=re.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=O.css(e,t)),et(0,n,u)}}})),O.cssHooks.marginLeft=ze(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-Ye(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),O.each({margin:"",padding:"",border:"Width"},(function(e,t){O.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ie[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(O.cssHooks[e+t].set=et)})),O.fn.extend({css:function(e,t){return G(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Ue(e),i=t.length;a<i;a++)o[t[a]]=O.css(e,t[a],!1,r);return o}return void 0!==n?O.style(e,t,n):O.css(e,t)}),e,t,arguments.length>1)}}),O.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||O.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(O.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=O.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):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.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=O.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){O.fx.step[e.prop]?O.fx.step[e.prop](e):1!==e.elem.nodeType||!O.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:O.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},O.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},O.fx=rt.prototype.init,O.fx.step={};var it,ot,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ut(){ot&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ut):n.setTimeout(ut,O.fx.interval),O.fx.tick())}function lt(){return n.setTimeout((function(){it=void 0})),it=Date.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ie[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ft(e,t,n){for(var r,i=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function dt(e,t,n){var r,i,o=0,a=dt.prefilters.length,s=O.Deferred().always((function(){delete u.elem})),u=function(){if(i)return!1;for(var t=it||lt(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:O.extend({},t),opts:O.extend(!0,{specialEasing:{},easing:O.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=O.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=O.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);o<a;o++)if(r=dt.prefilters[o].call(l,e,c,l.opts))return v(r.stop)&&(O._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return O.map(c,ft,l),v(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),O.fx.timer(O.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}O.Animation=O.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,re.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(I);for(var n,r=0,i=e.length;r<i;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,d=this,h={},p=e.style,y=e.nodeType&&ue(e),g=J.get(e,"fxshow");for(r in n.queue||(null==(a=O._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,O.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[r],at.test(i)){if(delete t[r],o=o||"toggle"===i,i===(y?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;y=!0}h[r]=g&&g[r]||O.style(e,r)}if((u=!O.isEmptyObject(t))||!O.isEmptyObject(h))for(r in f&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=g&&g.display)&&(l=J.get(e,"display")),"none"===(c=O.css(e,"display"))&&(l?c=l:(de([e],!0),l=e.style.display||l,c=O.css(e,"display"),de([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===O.css(e,"float")&&(u||(d.done((function(){p.display=l})),null==l&&(c=p.display,l="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),u=!1,h)u||(g?"hidden"in g&&(y=g.hidden):g=J.access(e,"fxshow",{display:l}),o&&(g.hidden=!y),y&&de([e],!0),d.done((function(){for(r in y||de([e]),J.remove(e,"fxshow"),h)O.style(e,r,h[r])}))),u=ft(y?g[r]:0,r,d),r in g||(g[r]=u.start,y&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),O.speed=function(e,t,n){var r=e&&"object"==typeof e?O.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return O.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in O.fx.speeds?r.duration=O.fx.speeds[r.duration]:r.duration=O.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&O.dequeue(this,r.queue)},r},O.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ue).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=O.isEmptyObject(e),o=O.speed(t,n,r),a=function(){var t=dt(this,O.extend({},e),o);(i||J.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=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,i=null!=e&&e+"queueHooks",o=O.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&st.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||O.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=O.timers,a=r?r.length:0;for(n.finish=!0,O.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),O.each(["toggle","show","hide"],(function(e,t){var n=O.fn[t];O.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,r,i)}})),O.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){O.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),O.timers=[],O.fx.tick=function(){var e,t=0,n=O.timers;for(it=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||O.fx.stop(),it=void 0},O.fx.timer=function(e){O.timers.push(e),O.fx.start()},O.fx.interval=13,O.fx.start=function(){ot||(ot=!0,ut())},O.fx.stop=function(){ot=null},O.fx.speeds={slow:600,fast:200,_default:400},O.fn.delay=function(e,t){return e=O.fx&&O.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var ht,pt=O.expr.attrHandle;O.fn.extend({attr:function(e,t){return G(this,O.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){O.removeAttr(this,e)}))}}),O.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?O.prop(e,t,n):(1===o&&O.isXMLDoc(e)||(i=O.attrHooks[t.toLowerCase()]||(O.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void O.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=O.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&C(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(I);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?O.removeAttr(e,n):e.setAttribute(n,n),n}},O.each(O.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=pt[t]||O.find.attr;pt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=pt[a],pt[a]=i,i=null!=n(e,t,r)?a:null,pt[a]=o),i}}));var yt=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function vt(e){return(e.match(I)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(I)||[]}O.fn.extend({prop:function(e,t){return G(this,O.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[O.propFix[e]||e]}))}}),O.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&O.isXMLDoc(e)||(t=O.propFix[t]||t,i=O.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=O.find.attr(e,"tabindex");return t?parseInt(t,10):yt.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(O.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)}}),O.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){O.propFix[this.toLowerCase()]=this})),O.fn.extend({addClass:function(e){var t,n,r,i,o,a;return v(e)?this.each((function(t){O(this).addClass(e.call(this,t,mt(this)))})):(t=bt(e)).length?this.each((function(){if(r=mt(this),n=1===this.nodeType&&" "+vt(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=vt(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,i,o,a;return v(e)?this.each((function(t){O(this).removeClass(e.call(this,t,mt(this)))})):arguments.length?(t=bt(e)).length?this.each((function(){if(r=mt(this),n=1===this.nodeType&&" "+vt(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=vt(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,s="string"===a||Array.isArray(e);return v(e)?this.each((function(n){O(this).toggleClass(e.call(this,n,mt(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=bt(e),this.each((function(){if(s)for(o=O(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==e&&"boolean"!==a||((r=mt(this))&&J.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":J.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var wt=/\r/g;O.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=v(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,O(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=O.map(i,(function(e){return null==e?"":e+""}))),(t=O.valHooks[this.type]||O.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=O.valHooks[i.type]||O.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(wt,""):null==n?"":n:void 0}}),O.extend({valHooks:{option:{get:function(e){var t=O.find.attr(e,"value");return null!=t?t:vt(O.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!C(n.parentNode,"optgroup"))){if(t=O(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=O.makeArray(t),a=i.length;a--;)((r=i[a]).selected=O.inArray(O.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),O.each(["radio","checkbox"],(function(){O.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=O.inArray(O(e).val(),t)>-1}},g.checkOn||(O.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in n;var _t=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};O.extend(O.event,{trigger:function(e,t,r,i){var o,a,s,u,l,c,f,d,p=[r||b],y=h.call(e,"type")?e.type:e,g=h.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=r=r||b,3!==r.nodeType&&8!==r.nodeType&&!_t.test(y+O.event.triggered)&&(y.indexOf(".")>-1&&(g=y.split("."),y=g.shift(),g.sort()),l=y.indexOf(":")<0&&"on"+y,(e=e[O.expando]?e:new O.Event(y,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:O.makeArray(t,[e]),f=O.event.special[y]||{},i||!f.trigger||!1!==f.trigger.apply(r,t))){if(!i&&!f.noBubble&&!m(r)){for(u=f.delegateType||y,_t.test(u+y)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||b)&&p.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=p[o++])&&!e.isPropagationStopped();)d=a,e.type=o>1?u:f.bindType||y,(c=(J.get(a,"events")||Object.create(null))[e.type]&&J.get(a,"handle"))&&c.apply(a,t),(c=l&&a[l])&&c.apply&&$(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=y,i||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(p.pop(),t)||!$(r)||l&&v(r[y])&&!m(r)&&((s=r[l])&&(r[l]=null),O.event.triggered=y,e.isPropagationStopped()&&d.addEventListener(y,xt),r[y](),e.isPropagationStopped()&&d.removeEventListener(y,xt),O.event.triggered=void 0,s&&(r[l]=s)),e.result}},simulate:function(e,t,n){var r=O.extend(new O.Event,n,{type:e,isSimulated:!0});O.event.trigger(r,null,t)}}),O.fn.extend({trigger:function(e,t){return this.each((function(){O.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return O.event.trigger(e,t,n,!0)}}),g.focusin||O.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){O.event.simulate(t,e.target,O.event.fix(e))};O.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}}));var Ot=n.location,St={guid:Date.now()},Tt=/\?/;O.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||O.error("Invalid XML: "+(r?O.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var kt=/\[\]$/,Et=/\r?\n/g,jt=/^(?:submit|button|image|reset|file)$/i,Ct=/^(?:input|select|textarea|keygen)/i;function Pt(e,t,n,r){var i;if(Array.isArray(t))O.each(t,(function(t,i){n||kt.test(e)?r(e,i):Pt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==x(t))r(e,t);else for(i in t)Pt(e+"["+i+"]",t[i],n,r)}O.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!O.isPlainObject(e))O.each(e,(function(){i(this.name,this.value)}));else for(n in e)Pt(n,e[n],t,i);return r.join("&")},O.fn.extend({serialize:function(){return O.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=O.prop(this,"elements");return e?O.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!O(this).is(":disabled")&&Ct.test(this.nodeName)&&!jt.test(e)&&(this.checked||!ye.test(e))})).map((function(e,t){var n=O(this).val();return null==n?null:Array.isArray(n)?O.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 At=/%20/g,Nt=/#.*$/,Dt=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:GET|HEAD)$/,Lt=/^\/\//,It={},Ft={},Vt="*/".concat("*"),Bt=b.createElement("a");function Ut(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(I)||[];if(v(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Yt(e,t,n,r){var i={},o=e===Ft;function a(s){var u;return i[s]=!0,O.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Ht(e,t){var n,r,i=O.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&O.extend(!0,e,r),e}Bt.href=Ot.href,O.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vt,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":O.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ht(Ht(e,O.ajaxSettings),t):Ht(O.ajaxSettings,e)},ajaxPrefilter:Ut(It),ajaxTransport:Ut(Ft),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,u,l,c,f,d,h=O.ajaxSetup({},t),p=h.context||h,y=h.context&&(p.nodeType||p.jquery)?O(p):O.event,g=O.Deferred(),v=O.Callbacks("once memory"),m=h.statusCode||{},w={},_={},x="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Rt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)S.always(e[S.status]);else for(t in e)m[t]=[m[t],e[t]];return this},abort:function(e){var t=e||x;return r&&r.abort(t),T(0,t),this}};if(g.promise(S),h.url=((e||h.url||Ot.href)+"").replace(Lt,Ot.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(I)||[""],null==h.crossDomain){u=b.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=u.protocol+"//"+u.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=O.param(h.data,h.traditional)),Yt(It,h,t,S),l)return S;for(f in(c=O.event&&h.global)&&0==O.active++&&O.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),i=h.url.replace(Nt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(At,"+")):(d=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Tt.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Dt,"$1"),d=(Tt.test(i)?"&":"?")+"_="+St.guid+++d),h.url=i+d),h.ifModified&&(O.lastModified[i]&&S.setRequestHeader("If-Modified-Since",O.lastModified[i]),O.etag[i]&&S.setRequestHeader("If-None-Match",O.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Vt+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(p,S,h)||l))return S.abort();if(x="abort",v.add(h.complete),S.done(h.success),S.fail(h.error),r=Yt(Ft,h,t,S)){if(S.readyState=1,c&&y.trigger("ajaxSend",[S,h]),l)return S;h.async&&h.timeout>0&&(s=n.setTimeout((function(){S.abort("timeout")}),h.timeout));try{l=!1,r.send(w,T)}catch(e){if(l)throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,t,a,u){var f,d,b,w,_,x=t;l||(l=!0,s&&n.clearTimeout(s),r=void 0,o=u||"",S.readyState=e>0?4:0,f=e>=200&&e<300||304===e,a&&(w=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(h,S,a)),!f&&O.inArray("script",h.dataTypes)>-1&&O.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),w=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.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 "+u+" to "+o}}}return{state:"success",data:t}}(h,w,S,f),f?(h.ifModified&&((_=S.getResponseHeader("Last-Modified"))&&(O.lastModified[i]=_),(_=S.getResponseHeader("etag"))&&(O.etag[i]=_)),204===e||"HEAD"===h.type?x="nocontent":304===e?x="notmodified":(x=w.state,d=w.data,f=!(b=w.error))):(b=x,!e&&x||(x="error",e<0&&(e=0))),S.status=e,S.statusText=(t||x)+"",f?g.resolveWith(p,[d,x,S]):g.rejectWith(p,[S,x,b]),S.statusCode(m),m=void 0,c&&y.trigger(f?"ajaxSuccess":"ajaxError",[S,h,f?d:b]),v.fireWith(p,[S,x]),c&&(y.trigger("ajaxComplete",[S,h]),--O.active||O.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return O.get(e,t,n,"json")},getScript:function(e,t){return O.get(e,void 0,t,"script")}}),O.each(["get","post"],(function(e,t){O[t]=function(e,n,r,i){return v(n)&&(i=i||r,r=n,n=void 0),O.ajax(O.extend({url:e,type:t,dataType:i,data:n,success:r},O.isPlainObject(e)&&e))}})),O.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),O._evalUrl=function(e,t,n){return O.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){O.globalEval(e,t,n)}})},O.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=O(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 v(e)?this.each((function(t){O(this).wrapInner(e.call(this,t))})):this.each((function(){var t=O(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){O(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){O(this).replaceWith(this.childNodes)})),this}}),O.expr.pseudos.hidden=function(e){return!O.expr.pseudos.visible(e)},O.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},O.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Gt={0:200,1223:204},Wt=O.ajaxSettings.xhr();g.cors=!!Wt&&"withCredentials"in Wt,g.ajax=Wt=!!Wt,O.ajaxTransport((function(e){var t,r;if(g.cors||Wt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Gt[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(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),O.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),O.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 O.globalEval(e),e}}}),O.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),O.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=O("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var zt,qt=[],Xt=/(=)\?(?=&|$)|\?\?/;O.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=qt.pop()||O.expando+"_"+St.guid++;return this[e]=!0,e}}),O.ajaxPrefilter("json jsonp",(function(e,t,r){var i,o,a,s=!1!==e.jsonp&&(Xt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Xt,"$1"+i):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||O.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always((function(){void 0===o?O(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,qt.push(i)),a&&v(o)&&o(a[0]),a=o=void 0})),"script"})),g.createHTMLDocument=((zt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===zt.childNodes.length),O.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),o=!n&&[],(i=P.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&O(o).remove(),O.merge([],i.childNodes)));var r,i,o},O.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=vt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&O.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?O("<div>").append(O.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},O.expr.pseudos.animated=function(e){return O.grep(O.timers,(function(t){return e===t.elem})).length},O.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=O.css(e,"position"),c=O(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=O.css(e,"top"),u=O.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,O.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},O.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){O.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.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,r=this[0],i={top:0,left:0};if("fixed"===O.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===O.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=O(e).offset()).top+=O.css(e,"borderTopWidth",!0),i.left+=O.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-O.css(r,"marginTop",!0),left:t.left-i.left-O.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===O.css(e,"position");)e=e.offsetParent;return e||oe}))}}),O.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;O.fn[e]=function(r){return G(this,(function(e,r,i){var o;if(m(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),O.each(["top","left"],(function(e,t){O.cssHooks[t]=ze(g.pixelPosition,(function(e,n){if(n)return n=We(e,t),Ve.test(n)?O(e).position()[t]+"px":n}))})),O.each({Height:"height",Width:"width"},(function(e,t){O.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){O.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return G(this,(function(t,n,i){var o;return m(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?O.css(t,n,s):O.style(t,n,i,s)}),t,a?i:void 0,a)}}))})),O.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){O.fn[t]=function(e){return this.on(t,e)}})),O.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),O.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){O.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var $t=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;O.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||O.guid++,i},O.holdReady=function(e){e?O.readyWait++:O.ready(!0)},O.isArray=Array.isArray,O.parseJSON=JSON.parse,O.nodeName=C,O.isFunction=v,O.isWindow=m,O.camelCase=X,O.type=x,O.now=Date.now,O.isNumeric=function(e){var t=O.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},O.trim=function(e){return null==e?"":(e+"").replace($t,"$1")},void 0===(r=function(){return O}.apply(t,[]))||(e.exports=r);var Qt=n.jQuery,Jt=n.$;return O.noConflict=function(e){return n.$===O&&(n.$=Jt),e&&n.jQuery===O&&(n.jQuery=Qt),O},void 0===i&&(n.jQuery=n.$=O),O}))},function(e,t,n){var r=n(88),i=Object;e.exports=function(e){return i(r(e))}},function(e,t,n){var r=n(21),i=n(27),o=function(e){return i(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},function(e,t,n){"use strict";var r=n(17),i=n(131),o=n(161),a=n(32),s=n(163),u=n(77),l=n(57),c=n(118),f=n(26),d=n(135),h=n(165),p=d("slice"),y=f("species"),g=Array,v=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var n,r,f,d=l(this),p=u(d),m=s(e,p),b=s(void 0===t?p:t,p);if(i(d)&&(n=d.constructor,(o(n)&&(n===g||i(n.prototype))||a(n)&&null===(n=n[y]))&&(n=void 0),n===g||void 0===n))return h(d,m,b);for(r=new(void 0===n?g:n)(v(b-m,0)),f=0;m<b;m++,f++)m in d&&c(r,f,d[m]);return r.length=f,r}})},function(e,t,n){var r=n(160),i=n(88);e.exports=function(e){return r(i(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 r=a(n(449)),i=a(n(91)),o=a(n(98));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t=i.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"}},u=function(e,t,n){var r=e.find(t,n);if(r.length>0){for(var i={},o=0;o<r.length;o++)i[r[o].getLanguage()||""]=r[o].getValue();return i}},l={getLocalizedValue:s,getLocalizedMap:function(e,t,n){var r,i=t,a=n;e.getItem?(r=e.getGraph(),i=e.getValue(),a=e.getItem().getURIValueLabelProperties()):r=e,null!=a&&0!==a.length||(a=o.default.labelProperties);for(var l=0;l<a.length;l++){var c=a[l];if(Array.isArray(c)){for(var f=[],d=0;d<c.length;d++){var h=u(r,i,c[d]);h&&f.push(s(h).value)}if(f.length>0)return{"":f.join(" ")}}else{var p=u(r,i,c);if(p)return p}}},cloneArrayWithLabels:function(e,t){for(var n=[],i=0;i<e.length;i++){var o=e[i],a=s(o.label),u={value:o.value,label:a.value||o.value||""};!0===o.top&&(u.top=!0),null!=o.children&&(u.children=(0,r.default)(o.children)),!1===o.selectable?u.selectable=!1:u.selectable=!0,n.push(u)}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 r="".concat(n).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1").replace("\\$1","(.*)"),i=new RegExp(r).exec(e);if(null!=i)return i[1]}return e},findFirstValue:function(e,t,n,r){var i=e.findFirstValueBinding(e.match(t,n,r),!1);if(i)return i.getChoice?s(i.getChoice().label).value:i.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=l},function(e,t,n){"use strict";var r=Array.isArray;t.a=r},function(e,t,n){"use strict";var r=n(47),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r.a?r.a.toStringTag:void 0;var u=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i},l=Object.prototype.toString;var c=function(e){return l.call(e)},f=r.a?r.a.toStringTag:void 0;t.a=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":f&&f in Object(e)?u(e):c(e)}},,function(e,t){e.exports=!1},function(e,t,n){var r=n(27),i=n(105),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a function")}},function(e,t,n){var r,i,o,a=n(257),s=n(21),u=n(32),l=n(94),c=n(28),f=n(203),d=n(158),h=n(129),p=s.TypeError,y=s.WeakMap;if(a||f.state){var g=f.state||(f.state=new y);g.get=g.get,g.has=g.has,g.set=g.set,r=function(e,t){if(g.has(e))throw p("Object already initialized");return t.facade=e,g.set(e,t),t},i=function(e){return g.get(e)||{}},o=function(e){return g.has(e)}}else{var v=d("state");h[v]=!0,r=function(e,t){if(c(e,v))throw p("Object already initialized");return t.facade=e,l(e,v,t),t},i=function(e){return c(e,v)?e[v]:{}},o=function(e){return c(e,v)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw p("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(19),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},function(e,t,n){var r=n(17),i=n(29),o=n(32),a=n(31),s=n(410),u=n(90),l=n(167);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,c,f=arguments.length<3?t:arguments[2];return a(t)===f?t[n]:(r=u.f(t,n))?s(r)?r.value:void 0===r.get?void 0:i(r.get,f):o(c=l(t))?e(c,n,f):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 r=n(17),i=n(19),o=n(160),a=n(57),s=n(208),u=i([].join);r({target:"Array",proto:!0,forced:o!=Object||!s("join",",")},{join:function(e){return u(a(this),void 0===e?",":e)}})},,,,,function(e,t,n){var r=n(206);e.exports=function(e){return r(e.length)}},function(e,t,n){"use strict";var r=n(50),i=n(34),o=Object(r.a)(i.a,"DataView"),a=n(87),s=Object(r.a)(i.a,"Promise"),u=Object(r.a)(i.a,"Set"),l=Object(r.a)(i.a,"WeakMap"),c=n(62),f=n(80),d=Object(f.a)(o),h=Object(f.a)(a.a),p=Object(f.a)(s),y=Object(f.a)(u),g=Object(f.a)(l),v=c.a;(o&&"[object DataView]"!=v(new o(new ArrayBuffer(1)))||a.a&&"[object Map]"!=v(new a.a)||s&&"[object Promise]"!=v(s.resolve())||u&&"[object Set]"!=v(new u)||l&&"[object WeakMap]"!=v(new l))&&(v=function(e){var t=Object(c.a)(e),n="[object Object]"==t?e.constructor:void 0,r=n?Object(f.a)(n):"";if(r)switch(r){case d:return"[object DataView]";case h:return"[object Map]";case p:return"[object Promise]";case y:return"[object Set]";case g:return"[object WeakMap]"}return t});t.a=v},function(e,t,n){"use strict";(function(e){var r=n(178),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.a.process,s=function(){try{var e=o&&o.require&&o.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 r=Function.prototype.toString;t.a=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},,,function(e,t,n){var r=n(19);e.exports=r({}.isPrototypeOf)},function(e,t,n){var r=n(49).f,i=n(28),o=n(26)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,o)&&r(e,o,{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 r,i,o,a,s,u=_(n(91)),l=_(n(98)),c=_(n(298)),f=_(n(299)),d=_(n(226)),h=_(n(173)),p=_(n(417)),y=_(n(224)),g=_(n(174)),v=_(n(227)),m=_(n(419)),b=_(n(60)),w=_(n(102));function _(e){return e&&e.__esModule?e:{default:e}}function x(e){return(x="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 O=!1,S=function(e,t,n){var o=new y.default({item:n,childrenRootUri:t,graph:e});return r(o),i(o),o};t.match=S;var T=function(e,t,n){var o=new y.default({item:n,childrenRootUri:t,graph:e});return r(o),O=!0,r(o),O=!1,i(o),o};t.fuzzyMatch=T;var k=function(e,t,n,r){var i=e.findProperties(t),o=[],a={};if(null!=r){var s=function(e){null!=e&&(!function e(t){null!=t.getProperty()?a[t.getProperty()]=!0:t instanceof h.default&&t.getChildren().forEach(e)}(e),o.push(e))};r.forEach((function(e){var t=n.getItem(e);null!=t?t instanceof h.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 i.forEach((function(e){if(!a[e]){var t=n.getItemByProperty(e);null!=t&&o.push(t)}}),void 0),n.createTemplateFromChildren(o)};t.constructTemplate=k;var E,j,C,P,A,N,D=function(e){return Array.isArray(e.getDatatype())?e.getDatatype()[0]:e.getDatatype()},R=function(e,t){var n,r,i=t.getChildren()[1],o=e.getGraph();i instanceof h.default?(n=o.create(e.getChildrenRootUri(),"",null,!1),r=s(o,n.getSubject(),i)):n=i instanceof d.default?o.create(e.getChildrenRootUri(),"",{type:"uri",value:""},!1):o.create(e.getChildrenRootUri(),"",{type:"literal",value:""},!1);var a=new p.default({item:t,statement:n,constraints:r});return e.addChildBinding(a),i instanceof h.default&&i.getChildren().forEach((function(e){M(a.getObjectBinding(),e)})),a},M=function(e,t,n){return t instanceof f.default?function(e,t){if(!t.getProperty()){var n=new m.default({item:t,statement:null,matchingCode:w.default.OK});return e.addChildBinding(n),n}var r=e.getGraph(),i=t.getNodetype(),o={value:"",type:"literal"};"URI"===i?o.type="uri":"DATATYPE_LITERAL"===i&&(o.datatype=D(t));var a=t.getValue();if(null!=a&&0===e.getChildBindingsFor(t).length){o.value=a;var s=t.getLanguage();null!=s&&(o.lang=s)}var u=r.create(e.getChildrenRootUri(),t.getProperty(),o,!1),l=new g.default({item:t,statement:u});return e.addChildBinding(l),l}(e,t):t instanceof c.default?R(e,t):t instanceof h.default?function(e,t,n){var r,i;if(void 0!==t.getProperty()){var o=e.getGraph();r=(t.getNodetype(),o.create(e.getChildrenRootUri(),t.getProperty(),null,!1)),i=s(o,r.getValue(),t)}var a=new y.default({item:t,statement:r,constraints:i});e.addChildBinding(a);var u=t._source["@id"];if(u){if(n[u])return a;n[u]=!0}return a}(e,t,n||{}):t instanceof d.default?function(e,t){var n=e.getGraph(),r=t.getNodetype(),i={type:"literal",value:""};"DATATYPE_LITERAL"===r?i.datatype=D(t):"RESOURCE"!==r&&"URI"!==r||(i.type="uri");var o=n.create(e.getChildrenRootUri(),t.getProperty(),i,!1),a=new v.default({item:t,statement:o});e.addChildBinding(a);var s=t.getValue(),u=a.getCardinalityTracker();return null!=s&&1===u.getCounter()&&a.setChoice(A(t,s,n),!0),a}(e,t):void 0};t.create=M,r=function(e){O&&e.getChildBindings().forEach((function(e){"group"===e.getItem().getType()&&r(e)})),e.getItem().getChildren().forEach((function(t){O?void 0!==t.getProperty()&&E(e,t):E(e,t)}))};E=function(e,t){t instanceof d.default?function(e,t){if(null!=t.getProperty()){var n=[];e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach((function(e){if(o(e)){var r=j(t,e),i=C(t,e),s=P(t,e);if(r&&i&&s||O){var u=A(t,e.getValue(),e.getGraph());if(void 0!==u){a(e);var l=r?w.default.OK:w.default.WRONG_NODETYPE;i?s?u.mismatch&&(l=w.default.WRONG_VALUE):l=w.default.WRONG_PATTERN:l=w.default.WRONG_DATATYPE,n.push(new v.default({item:t,statement:e,choice:u,matchingCode:l}))}}}})),n.length>0&&e.addChildBindings(n)}}(e,t):t instanceof c.default?function(e,t){var n,i,s,u,l=t.getPropertyItem(),c=t.getObjectItem(),f=e.getGraph(),y=[];f.find(e.getChildrenRootUri()).forEach((function(e){o(e)&&j(c,e)&&P(c,e)&&void 0!==(s=A(l,e.getPredicate(),e.getGraph()))&&(i=null,c instanceof h.default?void 0!==(n=N(f,e.getValue(),c))&&(a(e),i=new p.default({item:t,statement:e,constraints:n}),r(i.getObjectBinding())):c instanceof d.default?void 0!==(u=A(c,e.getValue(),e.getGraph()))&&(a(e),(i=new p.default({item:t,statement:e})).getObjectBinding().setChoice(u)):(a(e),i=new p.default({item:t,statement:e})),null!==i&&(i.getPredicateBinding().setChoice(s),y.push(i)))})),y.length>0&&e.addChildBindings(y)}(e,t):t instanceof h.default?function(e,t){var n,i,s,u,l=e.getGraph();void 0!==t.getProperty()?(n=l.find(e.getChildrenRootUri(),t.getProperty())).length>0&&(i=[],n.forEach((function(e){if(o(e)){var n=P(t,e),c=j(t,e);if((n&&c||O)&&(void 0!==(s=N(l,e.getValue(),t))||O)){var f=c?w.default.OK:w.default.WRONG_NODETYPE;n?void 0===s&&(f=w.default.MISSING_CONSTRAINTS):f=w.default.WRONG_PATTERN,a(e),u=new y.default({item:t,statement:e,constraints:s,matchingCode:f}),i.push(u),f===w.default.OK&&r(u)}}})),e.addChildBindings(i)):(u=new y.default({item:t}),e.addChildBindings([u]),r(u))}(e,t):t instanceof f.default&&function(e,t){var n=[];null==t.getProperty()?n.push(new m.default({item:t,statement:null,matchingCode:w.default.OK})):e.getGraph().find(e.getChildrenRootUri(),t.getProperty()).forEach((function(e){if(o(e)&&P(t,e)){var r=j(t,e),i=C(t,e);if(r&&(i||t.hasStyle("relaxedDatatypeMatch"))||O){a(e);var s=r?w.default.OK:w.default.WRONG_NODETYPE;i||(s=w.default.WRONG_DATATYPE),n.push(new g.default({item:t,statement:e,matchingCode:s}))}}})),n.length>0&&e.addChildBindings(n)}(e,t)},j=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},C=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)},P=function(e,t){var n=e.getPattern(),r=b.default.extractGist(t.getValue(),e.getValueTemplate());if(void 0!==n)try{return new RegExp("^".concat(n,"$")).test(r)}catch(e){return!0}return!0},N=function(e,t,n){var r,i=n.getConstraints(),o=[],a=function(n,i){if(1!==(r=e.find(t,n,{type:"uri",value:i})).length)return!1;o.push(r[0])};if("object"===x(i)&&null!==i){for(var s=Object.keys(i),u=function(){var e=s[l],t=i[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}},l=0;l<s.length;l++){var c=u();if("object"===x(c))return c.v}return o}return[]},s=function(e,t,n){var r=[],i=n.getConstraints();return"object"===x(i)&&null!==i&&Object.keys(i).forEach((function(n){var o=i[n];Array.isArray(o)?r.push(e.create(t,n,{type:"uri",value:o[0]},!1)):r.push(e.create(t,n,{type:"uri",value:o},!1))})),r},A=function(e,t,n){var r,i;if(e.hasChoices()){for(i=e.getChoices(),r=0;r<i.length;r++)if(i[r].value===t)return i[r];if(!e.hasStyle("strictmatch")||O)return{value:t,label:{"":t},mismatch:!0}}else{var o=b.default.getLocalizedMap(n,t,e.getLabelProperties());null==o&&O&&(o={"":t,mismatch:!0});var a=n.findFirstValue(t,v.default.seeAlso);if(null!=o){var s={label:o,value:t};return a&&(s.seeAlso=a),s}if(null!=l.default.getChoice)return l.default.getChoice(e,t,a,n)}},a=function(e){e._dibbs=!0},o=function(e){return!0!==e._dibbs},i=function(e){var t,n,r,o=e.getItemGroupedChildBindings()||[];for(t=0;t<o.length;t++)for(r=o[t],n=0;n<r.length;n++){var a=r[n];a._statement&&delete a._statement._dibbs,(a instanceof y.default||a instanceof p.default)&&i(a)}};var L=function e(t,n){if(t instanceof g.default)return t;for(var r=t.getItemGroupedChildBindings(),i=u.default.locale(),o=0;o<r.length;o++){var a=r[o],s=t.getItem().getChildren()[o];if(0!==a.length){if(!(s instanceof f.default))return e(a[0]);if("LANGUAGE_LITERAL"===s.getNodetype()){for(var l={firstValue:a[0]},c=0;c<a.length;c++){var d=a[c].getLanguage();null==d?l.emptyLanguageValue=a[c]:d===i?l.perfectLocaleLanguageValue=a[c]:d.substring(0,1)===i.substring(0,1)?l.localeLanguageValue=a[c]:-1!==d.indexOf("en")?l.defaultLanguageValue=a[c]:l.anyLanguageValue=a[c]}return l.perfectLocaleLanguageValue||l.localeLanguageValue||l.defaultLanguageValue||l.anyLanguageValue||l.firstValue}return a[0]}if(n){var h=M(t,s,{});return h instanceof g.default?(h.setLanguage(i),h):e(h,!0)}}};t.findFirstValueBinding=L;var I=function e(t,n){for(var r="/"===n[0]?n.slice(1):n,i=t.getItemGroupedChildBindings(),o=r[0],a=0;a<i.length;a++)for(var s=i[a],u=void 0,l=0;l<s.length;l++){var c=s[l],f=c.getItem();if(f instanceof d.default&&void 0===f.getProperty()&&o===f.getId()&&2===r.length&&r[1]===c.getValue())return c;if(c.isValid()){if("propertygroup"===f.getType())f=(c=c.getObjectBinding()).getItem();else if(void 0===f.getProperty()&&(u=e(c,r)))return u;if("*"===o||o===c.getPredicate())if("group"===f.getType()){if(u=e(c,r.slice(1)))return u}else if(1===r.length||"*"===r[1]||r[1]===c.getValue())return c}}};t.matchPathBelowBinding=I;var F=function(e,t){var n=t[0],r=e;if("/"===n){for(;r.getParent();)r=r.getParent();return r}if(".."===n){for(var i=0;i<t.length;i++){if(".."!==t[i]||!r.getParent())return r;r=r.getParent()}return r}return e};t.findBindingRelativeToParentBinding=F;var V=function(e,t){var n=e.getId(),r={},i={};e.getChoices().forEach((function(e){r[e.value]=0,i[e.value]=e}));t.getChildBindings().forEach((function(e){var t=e.getItem().getDeps();if(t&&(t[0]===n||"/"===t[0]&&t[1]===n)){var i="/"===t[0]?t[2]:t[1],o=r[i];void 0!==o&&(r[i]=o+1)}}));var o,a=0;return Object.keys(r).forEach((function(e){(!o||r[e]>a)&&(o=e,a=r[e])})),i[o]};t.findPopularChoice=V;var B=function(e){var t=function e(t,n,r){var i=n.getCardinality();return r&&"group"===n.getType()||(null!=i?i.min>0?t.mandatory+=1:i.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 U=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=U;var Y={detectLevel:U,levelProfile:B,findFirstValueBinding:L,create:M,constructTemplate:k,findPopularChoice:V,match:S,fuzzyMatch:T,matchPathBelowBinding:I,findBindingRelativeToParentBinding:F,CODES:w.default};t.default=Y},function(e,t,n){"use strict";var r=function(){this.__data__=[],this.size=0},i=n(111);var o=function(e,t){for(var n=e.length;n--;)if(Object(i.a)(e[n][0],t))return n;return-1},a=Array.prototype.splice;var s=function(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)};var u=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]};var l=function(e){return o(this.__data__,e)>-1};var c=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function f(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}f.prototype.clear=r,f.prototype.delete=s,f.prototype.get=u,f.prototype.has=l,f.prototype.set=c;t.a=f},function(e,t,n){"use strict";var r=n(50),i=n(34),o=Object(r.a)(i.a,"Map");t.a=o},function(e,t,n){var r=n(71),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},function(e,t,n){"use strict";var r=n(127).PROPER,i=n(48),o=n(31),a=n(43),s=n(12),u=n(274),l=RegExp.prototype.toString,c=s((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),f=r&&"toString"!=l.name;(c||f)&&i(RegExp.prototype,"toString",(function(){var e=o(this);return"/"+a(e.source)+"/"+a(u(e))}),{unsafe:!0})},function(e,t,n){var r=n(33),i=n(29),o=n(162),a=n(128),s=n(57),u=n(157),l=n(28),c=n(252),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=u(t),c)try{return f(e,t)}catch(e){}if(l(e,t))return a(!i(o.f,e,t),e[t])}},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(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 u(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[],i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function d(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 h(e,t,n,r){return St(e,t,n,r,!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 y(e){if(null==e._isValid){var t=p(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),i=!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&&r);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function g(e){var t=h(NaN);return null!=e?d(p(t),e):p(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var v=r.momentProperties=[],m=!1;function b(e,t){var n,r,i,o=v.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=p(t)),u(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)u(i=t[r=v[n]])||(e[r]=i);return e}function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===m&&(m=!0,r.updateOffset(this),m=!1)}function _(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function x(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function O(e,t){var n=!0;return d((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,o,s,u=[],l=arguments.length;for(o=0;o<l;o++){if(i="","object"==typeof arguments[o]){for(s in i+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[o];u.push(i)}x(e+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var S,T={};function k(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),T[e]||(x(t),T[e]=!0)}function E(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function j(e,t){var n,r=d({},e);for(n in t)a(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)a(e,n)&&!a(t,n)&&o(e[n])&&(r[n]=d({},r[n]));return r}function C(e){null!=e&&this.set(e)}function P(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var A=/(\[[^\[]*\])|(\\)?([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,N=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,D={},R={};function M(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(R[e]=i),t&&(R[t[0]]=function(){return P(i.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function L(e,t){return e.isValid()?(t=I(t,e.localeData()),D[t]=D[t]||function(e){var t,n,r,i=e.match(A);for(t=0,n=i.length;t<n;t++)R[i[t]]?i[t]=R[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=E(i[r])?i[r].call(t,e):i[r];return o}}(t),D[t](e)):e.localeData().invalidDate()}function I(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(N.lastIndex=0;n>=0&&N.test(e);)e=e.replace(N,r),N.lastIndex=0,n-=1;return e}var F={};function V(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function B(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)a(e,n)&&(t=B(n))&&(r[t]=e[n]);return r}var Y={};function H(e,t){Y[e]=t}function G(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function z(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=W(t)),n}function q(e,t){return function(n){return null!=n?($(this,e,n),r.updateOffset(this,t),this):X(this,e)}}function X(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function $(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&G(e.year())&&1===e.month()&&29===e.date()?(n=z(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),_e(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Q,J=/\d/,Z=/\d\d/,K=/\d{3}/,ee=/\d{4}/,te=/[+-]?\d{6}/,ne=/\d\d?/,re=/\d\d\d\d?/,ie=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,ae=/\d{1,4}/,se=/[+-]?\d{1,6}/,ue=/\d+/,le=/[+-]?\d+/,ce=/Z|[+-]\d\d:?\d\d/gi,fe=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[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 he(e,t,n){Q[e]=E(t)?t:function(e,r){return e&&n?n:t}}function pe(e,t){return a(Q,e)?Q[e](t._strict,t._locale):new RegExp(function(e){return ye(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}(e))}function ye(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var ge,ve={};function me(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),l(t)&&(i=function(e,n){n[t]=z(e)}),r=e.length,n=0;n<r;n++)ve[e[n]]=i}function be(e,t){me(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function we(e,t,n){null!=t&&a(ve,e)&&ve[e](t,n._a,n,e)}function _e(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?G(e)?29:28:31-r%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},M("M",["MM",2],"Mo",(function(){return this.month()+1})),M("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),M("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),V("month","M"),H("month",8),he("M",ne),he("MM",ne,Z),he("MMM",(function(e,t){return t.monthsShortRegex(e)})),he("MMMM",(function(e,t){return t.monthsRegex(e)})),me(["M","MM"],(function(e,t){t[1]=z(e)-1})),me(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[1]=i:p(n).invalidMonth=e}));var xe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Oe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Se=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Te=de,ke=de;function Ee(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=ge.call(this._shortMonthsParse,a))?i:null:-1!==(i=ge.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=ge.call(this._shortMonthsParse,a))||-1!==(i=ge.call(this._longMonthsParse,a))?i:null:-1!==(i=ge.call(this._longMonthsParse,a))||-1!==(i=ge.call(this._shortMonthsParse,a))?i:null}function je(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=z(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),_e(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ce(e){return null!=e?(je(this,e),r.updateOffset(this,!0),this):X(this,"Month")}function Pe(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=h([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=ye(r[t]),i[t]=ye(i[t]);for(t=0;t<24;t++)o[t]=ye(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ae(e){return G(e)?366:365}M("Y",0,0,(function(){var e=this.year();return e<=9999?P(e,4):"+"+e})),M(0,["YY",2],0,(function(){return this.year()%100})),M(0,["YYYY",4],0,"year"),M(0,["YYYYY",5],0,"year"),M(0,["YYYYYY",6,!0],0,"year"),V("year","y"),H("year",1),he("Y",le),he("YY",ne,Z),he("YYYY",ae,ee),he("YYYYY",se,te),he("YYYYYY",se,te),me(["YYYYY","YYYYYY"],0),me("YYYY",(function(e,t){t[0]=2===e.length?r.parseTwoDigitYear(e):z(e)})),me("YY",(function(e,t){t[0]=r.parseTwoDigitYear(e)})),me("Y",(function(e,t){t[0]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return z(e)+(z(e)>68?1900:2e3)};var Ne=q("FullYear",!0);function De(e,t,n,r,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function Re(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 Me(e,t,n){var r=7+t-n;return-(7+Re(e,0,r).getUTCDay()-t)%7+r-1}function Le(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+Me(e,r,i);return s<=0?a=Ae(o=e-1)+s:s>Ae(e)?(o=e+1,a=s-Ae(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Ie(e,t,n){var r,i,o=Me(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+Fe(i=e.year()-1,t,n):a>Fe(e.year(),t,n)?(r=a-Fe(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Fe(e,t,n){var r=Me(e,t,n),i=Me(e+1,t,n);return(Ae(e)-r+i)/7}function Ve(e,t){return e.slice(t,7).concat(e.slice(0,t))}M("w",["ww",2],"wo","week"),M("W",["WW",2],"Wo","isoWeek"),V("week","w"),V("isoWeek","W"),H("week",5),H("isoWeek",5),he("w",ne),he("ww",ne,Z),he("W",ne),he("WW",ne,Z),be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=z(e)})),M("d",0,"do","day"),M("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),M("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),M("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),M("e",0,0,"weekday"),M("E",0,0,"isoWeekday"),V("day","d"),V("weekday","e"),V("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),he("d",ne),he("e",ne),he("E",ne),he("dd",(function(e,t){return t.weekdaysMinRegex(e)})),he("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),he("dddd",(function(e,t){return t.weekdaysRegex(e)})),be(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e})),be(["d","e","E"],(function(e,t,n,r){t[r]=z(e)}));var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ue="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ye="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),He=de,Ge=de,We=de;function ze(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=ge.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=ge.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=ge.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=ge.call(this._weekdaysParse,a))||-1!==(i=ge.call(this._shortWeekdaysParse,a))||-1!==(i=ge.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=ge.call(this._shortWeekdaysParse,a))||-1!==(i=ge.call(this._weekdaysParse,a))||-1!==(i=ge.call(this._minWeekdaysParse,a))?i:null:-1!==(i=ge.call(this._minWeekdaysParse,a))||-1!==(i=ge.call(this._weekdaysParse,a))||-1!==(i=ge.call(this._shortWeekdaysParse,a))?i:null}function qe(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=ye(this.weekdaysMin(n,"")),i=ye(this.weekdaysShort(n,"")),o=ye(this.weekdays(n,"")),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);a.sort(e),s.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Xe(){return this.hours()%12||12}function $e(e,t){M(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Qe(e,t){return t._meridiemParse}M("H",["HH",2],0,"hour"),M("h",["hh",2],0,Xe),M("k",["kk",2],0,(function(){return this.hours()||24})),M("hmm",0,0,(function(){return""+Xe.apply(this)+P(this.minutes(),2)})),M("hmmss",0,0,(function(){return""+Xe.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),M("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),M("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),$e("a",!0),$e("A",!1),V("hour","h"),H("hour",13),he("a",Qe),he("A",Qe),he("H",ne),he("h",ne),he("k",ne),he("HH",ne,Z),he("hh",ne,Z),he("kk",ne,Z),he("hmm",re),he("hmmss",ie),he("Hmm",re),he("Hmmss",ie),me(["H","HH"],3),me(["k","kk"],(function(e,t,n){var r=z(e);t[3]=24===r?0:r})),me(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),me(["h","hh"],(function(e,t,n){t[3]=z(e),p(n).bigHour=!0})),me("hmm",(function(e,t,n){var r=e.length-2;t[3]=z(e.substr(0,r)),t[4]=z(e.substr(r)),p(n).bigHour=!0})),me("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=z(e.substr(0,r)),t[4]=z(e.substr(r,2)),t[5]=z(e.substr(i)),p(n).bigHour=!0})),me("Hmm",(function(e,t,n){var r=e.length-2;t[3]=z(e.substr(0,r)),t[4]=z(e.substr(r))})),me("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=z(e.substr(0,r)),t[4]=z(e.substr(r,2)),t[5]=z(e.substr(i))}));var Je,Ze=q("Hours",!0),Ke={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:xe,monthsShort:Oe,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:Ye,weekdaysShort:Ue,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function rt(e){return e?e.toLowerCase().replace("_","-"):e}function it(t){var n=null;if(void 0===et[t]&&void 0!==e&&e&&e.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(t))try{n=Je._abbr,function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),ot(n)}catch(e){et[t]=null}return et[t]}function ot(e,t){var n;return e&&((n=u(t)?st(e):at(e,t))?Je=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Je._abbr}function at(e,t){if(null!==t){var n,r=Ke;if(t.abbr=e,null!=et[e])k("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."),r=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])r=et[t.parentLocale]._config;else{if(null==(n=it(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return et[e]=new C(j(r,t)),tt[e]&&tt[e].forEach((function(e){at(e.name,e.config)})),ot(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 Je;if(!i(e)){if(t=it(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=rt(e[o]).split("-")).length,n=(n=rt(e[o+1]))?n.split("-"):null;t>0;){if(r=it(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&nt(i,n)>=t-1)break;t--}o++}return Je}(e)}function ut(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]>_e(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 lt=/^\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)?)?$/,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)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,dt=[["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]],ht=[["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,yt=/^(?:(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 vt(e){var t,n,r,i,o,a,s=e._i,u=lt.exec(s)||ct.exec(s),l=dt.length,c=ht.length;if(u){for(p(e).iso=!0,t=0,n=l;t<n;t++)if(dt[t][1].exec(u[1])){i=dt[t][0],r=!1!==dt[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=c;t<n;t++)if(ht[t][1].exec(u[3])){o=(u[2]||" ")+ht[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!ft.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),xt(e)}else e._isValid=!1}function mt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function bt(e){var t,n,r,i,o,a,s,u,l=yt.exec(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(e._i));if(l){if(n=l[4],r=l[3],i=l[2],o=l[5],a=l[6],s=l[7],u=[mt(n),Oe.indexOf(r),parseInt(i,10),parseInt(o,10),parseInt(a,10)],s&&u.push(parseInt(s,10)),t=u,!function(e,t,n){return!e||Ue.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return gt[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(l[8],l[9],l[10]),e._d=Re.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 _t(e){var t,n,i,o,a,s=[];if(!e._d){for(i=function(e){var t=new Date(r.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,r,i,o,a,s,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,n=wt(t.GG,e._a[0],Ie(Tt(),1,4).year),r=wt(t.W,1),((i=wt(t.E,1))<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,l=Ie(Tt(),o,a),n=wt(t.gg,e._a[0],l.year),r=wt(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),r<1||r>Fe(n,o,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=Le(n,r,i,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=wt(e._a[0],i[0]),(e._dayOfYear>Ae(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Re(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]=i[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?Re:De).apply(null,s),o=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!==o&&(p(e).weekdayMismatch=!0)}}function xt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],p(e).empty=!0;var t,n,i,o,a,s,u,l=""+e._i,c=l.length,f=0;for(u=(i=I(e._f,e._locale).match(A)||[]).length,t=0;t<u;t++)o=i[t],(n=(l.match(pe(o,e))||[])[0])&&((a=l.substr(0,l.indexOf(n))).length>0&&p(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),f+=n.length),R[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),we(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=c-f,l.length>0&&p(e).unusedInput.push(l),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 r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||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])),_t(e),ut(e)}else bt(e);else vt(e)}function Ot(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)),_(t)?new w(ut(t)):(c(t)?e._d=t:i(n)?function(e){var t,n,r,i,o,a,s=!1,u=e._f.length;if(0===u)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<u;i++)o=0,a=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],xt(t),y(t)&&(a=!0),o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||a)&&(r=o,n=t,a&&(s=!0));d(e,n||t)}(e):n?xt(e):function(e){var t=e._i;u(t)?e._d=new Date(r.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=pt.exec(e._i);null===t?(vt(e),!1===e._isValid&&(delete e._isValid,bt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):i(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),_t(e)):o(t)?function(e){if(!e._d){var t=U(e._i),n=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),_t(e)}}(e):l(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),y(e)||(e._d=null),e))}function St(e,t,n,r,a){var u,l={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(o(e)&&s(e)||i(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=n,l._i=e,l._f=t,l._strict=r,(u=new w(ut(Ot(l))))._nextDay&&(u.add(1,"d"),u._nextDay=void 0),u}function Tt(e,t,n,r){return St(e,t,n,r,!1)}r.createFromInputFallback=O("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":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var kt=O("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=O("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 jt(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Ct=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var t=U(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,u=t.hour||0,l=t.minute||0,c=t.second||0,f=t.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Ct.length;for(t in e)if(a(e,t)&&(-1===ge.call(Ct,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Ct[n]]){if(r)return!1;parseFloat(e[Ct[n]])!==z(e[Ct[n]])&&(r=!0)}return!0}(t),this._milliseconds=+f+1e3*c+6e4*l+1e3*u*60*60,this._days=+s+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=st(),this._bubble()}function At(e){return e instanceof Pt}function Nt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Dt(e,t){M(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+P(~~(e/60),2)+t+P(~~e%60,2)}))}Dt("Z",":"),Dt("ZZ",""),he("Z",fe),he("ZZ",fe),me(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Mt(fe,e)}));var Rt=/([\+\-]|\d\d)/gi;function Mt(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(Rt)||["-",0,0])[1]+z(n[2]))?0:"+"===n[0]?r:-r}function Lt(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(_(e)||c(e)?e.valueOf():Tt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Tt(e).local()}function It(e){return-Math.round(e._d.getTimezoneOffset())}function Ft(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Vt=/^(-|\+)?(?:(\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 Ut(e,t){var n,r,i,o,s,u,c=e,f=null;return At(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(f=Vt.exec(e))?(n="-"===f[1]?-1:1,c={y:0,d:z(f[2])*n,h:z(f[3])*n,m:z(f[4])*n,s:z(f[5])*n,ms:z(Nt(1e3*f[6]))*n}):(f=Bt.exec(e))?(n="-"===f[1]?-1:1,c={y:Yt(f[2],n),M:Yt(f[3],n),w:Yt(f[4],n),d:Yt(f[5],n),h:Yt(f[6],n),m:Yt(f[7],n),s:Yt(f[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=Tt(c.from),s=Tt(c.to),i=o.isValid()&&s.isValid()?(s=Lt(s,o),o.isBefore(s)?u=Ht(o,s):((u=Ht(s,o)).milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0},(c={}).ms=i.milliseconds,c.M=i.months),r=new Pt(c),At(e)&&a(e,"_locale")&&(r._locale=e._locale),At(e)&&a(e,"_isValid")&&(r._isValid=e._isValid),r}function Yt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ht(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 Gt(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Wt(this,Ut(n,r),e),this}}function Wt(e,t,n,i){var o=t._milliseconds,a=Nt(t._days),s=Nt(t._months);e.isValid()&&(i=null==i||i,s&&je(e,X(e,"Month")+s*n),a&&$(e,"Date",X(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,a||s))}Ut.fn=Pt.prototype,Ut.invalid=function(){return Ut(NaN)};var zt=Gt(1,"add"),qt=Gt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function $t(e){return _(e)||c(e)||Xt(e)||l(e)||function(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!l(t)&&Xt(e)})).length),t&&n}(e)||function(e){var t,n,r=o(e)&&!s(e),i=!1,u=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],l=u.length;for(t=0;t<l;t+=1)n=u[t],i=i||a(e,n);return r&&i}(e)||null==e}function Qt(e){var t,n=o(e)&&!s(e),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)r=r||a(e,i[t]);return n&&r}function Jt(e,t){if(e.date()<t.date())return-Jt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Zt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=st(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Kt=O("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 rn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function an(){var e,t,n=[],r=[],i=[],o=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(ye(a[e].name)),n.push(ye(a[e].abbr)),i.push(ye(a[e].narrow)),o.push(ye(a[e].name)),o.push(ye(a[e].abbr)),o.push(ye(a[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function sn(e,t){M(0,[e,e.length],0,t)}function un(e,t,n,r,i){var o;return null==e?Ie(this,r,i).year:(t>(o=Fe(e,r,i))&&(t=o),ln.call(this,e,t,n,r,i))}function ln(e,t,n,r,i){var o=Le(e,t,n,r,i),a=Re(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}M("N",0,0,"eraAbbr"),M("NN",0,0,"eraAbbr"),M("NNN",0,0,"eraAbbr"),M("NNNN",0,0,"eraName"),M("NNNNN",0,0,"eraNarrow"),M("y",["y",1],"yo","eraYear"),M("y",["yy",2],0,"eraYear"),M("y",["yyy",3],0,"eraYear"),M("y",["yyyy",4],0,"eraYear"),he("N",on),he("NN",on),he("NNN",on),he("NNNN",(function(e,t){return t.erasNameRegex(e)})),he("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),me(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?p(n).era=i:p(n).invalidEra=e})),he("y",ue),he("yy",ue),he("yyy",ue),he("yyyy",ue),he("yo",(function(e,t){return t._eraYearOrdinalRegex||ue})),me(["y","yy","yyy","yyyy"],0),me(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,i):t[0]=parseInt(e,10)})),M(0,["gg",2],0,(function(){return this.weekYear()%100})),M(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),V("weekYear","gg"),V("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),he("G",le),he("g",le),he("GG",ne,Z),he("gg",ne,Z),he("GGGG",ae,ee),he("gggg",ae,ee),he("GGGGG",se,te),he("ggggg",se,te),be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=z(e)})),be(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),M("Q",0,"Qo","quarter"),V("quarter","Q"),H("quarter",7),he("Q",J),me("Q",(function(e,t){t[1]=3*(z(e)-1)})),M("D",["DD",2],"Do","date"),V("date","D"),H("date",9),he("D",ne),he("DD",ne,Z),he("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),me(["D","DD"],2),me("Do",(function(e,t){t[2]=z(e.match(ne)[0])}));var cn=q("Date",!0);M("DDD",["DDDD",3],"DDDo","dayOfYear"),V("dayOfYear","DDD"),H("dayOfYear",4),he("DDD",oe),he("DDDD",K),me(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=z(e)})),M("m",["mm",2],0,"minute"),V("minute","m"),H("minute",14),he("m",ne),he("mm",ne,Z),me(["m","mm"],4);var fn=q("Minutes",!1);M("s",["ss",2],0,"second"),V("second","s"),H("second",15),he("s",ne),he("ss",ne,Z),me(["s","ss"],5);var dn,hn,pn=q("Seconds",!1);for(M("S",0,0,(function(){return~~(this.millisecond()/100)})),M(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),M(0,["SSS",3],0,"millisecond"),M(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),M(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),M(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),M(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),M(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),M(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),V("millisecond","ms"),H("millisecond",16),he("S",oe,J),he("SS",oe,Z),he("SSS",oe,K),dn="SSSS";dn.length<=9;dn+="S")he(dn,ue);function yn(e,t){t[6]=z(1e3*("0."+e))}for(dn="S";dn.length<=9;dn+="S")me(dn,yn);hn=q("Milliseconds",!1),M("z",0,0,"zoneAbbr"),M("zz",0,0,"zoneName");var gn=w.prototype;function vn(e){return e}gn.add=zt,gn.calendar=function(e,t){1===arguments.length&&(arguments[0]?$t(arguments[0])?(e=arguments[0],t=void 0):Qt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Tt(),i=Lt(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",a=t&&(E(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Tt(n)))},gn.clone=function(){return new w(this)},gn.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Lt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=B(t)){case"year":o=Jt(this,r)/12;break;case"month":o=Jt(this,r);break;case"quarter":o=Jt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:W(o)},gn.endOf=function(e){var t,n;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn: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),r.updateOffset(this,!0),this},gn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=L(this,e);return this.localeData().postformat(t)},gn.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||Tt(e).isValid())?Ut({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()&&(_(e)&&e.isValid()||Tt(e).isValid())?Ut({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=_(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=_(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,r){var i=_(e)?e:Tt(e),o=_(t)?t:Tt(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n)))},gn.isSame=function(e,t){var n,r=_(e)?e:Tt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.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 y(this)},gn.lang=Kt,gn.locale=Zt,gn.localeData=en,gn.max=Et,gn.min=kt,gn.parsingFlags=function(){return d({},p(this))},gn.set=function(e,t){if("object"==typeof e){var n,r=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=U(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[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?rn: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),r.updateOffset(this,!0),this},gn.subtract=qt,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?L(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",L(n,"Z")):L(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,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',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,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""},gn.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""},gn.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""},gn.eraYear=function(){var e,t,n,i,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-r(o[e].since).year())*n+o[e].offset;return this.year()},gn.year=Ne,gn.isLeapYear=function(){return G(this.year())},gn.weekYear=function(e){return un.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},gn.isoWeekYear=function(e){return un.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=Ce,gn.daysInMonth=function(){return _e(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=Ie(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},gn.weeksInYear=function(){var e=this.localeData()._week;return Fe(this.year(),e.dow,e.doy)},gn.weeksInWeekYear=function(){var e=this.localeData()._week;return Fe(this.weekYear(),e.dow,e.doy)},gn.isoWeeksInYear=function(){return Fe(this.year(),1,4)},gn.isoWeeksInISOWeekYear=function(){return Fe(this.isoWeekYear(),1,4)},gn.date=cn,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=Ze,gn.minute=gn.minutes=fn,gn.second=gn.seconds=pn,gn.millisecond=gn.milliseconds=hn,gn.utcOffset=function(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Mt(fe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=It(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Wt(this,Ut(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:It(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(It(this),"m")),this},gn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Mt(ce,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=Ft,gn.isUTC=Ft,gn.zoneAbbr=function(){return this._isUTC?"UTC":""},gn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gn.dates=O("dates accessor is deprecated. Use date instead.",cn),gn.months=O("months accessor is deprecated. Use month instead",Ce),gn.years=O("years accessor is deprecated. Use year instead",Ne),gn.zone=O("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=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Ot(t))._a?(e=t._isUTC?h(t._a):Tt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&z(e[r])!==z(t[r]))&&a++;return a+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var mn=C.prototype;function bn(e,t,n,r){var i=st(),o=h().set(r,t);return i[n](o,e)}function wn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return bn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=bn(e,r,n,"month");return i}function _n(e,t,n,r){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var i,o=st(),a=e?o._week.dow:0,s=[];if(null!=n)return bn(t,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=bn(t,(i+a)%7,r,"day");return s}mn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return E(r)?r.call(t,n):r},mn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(A).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},mn.invalidDate=function(){return this._invalidDate},mn.ordinal=function(e){return this._ordinal.replace("%d",e)},mn.preparse=vn,mn.postformat=vn,mn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return E(i)?i(e,t,n,r):i.replace(/%d/i,e)},mn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)},mn.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)},mn.eras=function(e,t){var n,i,o,a=this._eras||st("en")._eras;for(n=0,i=a.length;n<i;++n){switch(typeof a[n].since){case"string":o=r(a[n].since).startOf("day"),a[n].since=o.valueOf()}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":o=r(a[n].until).startOf("day").valueOf(),a[n].until=o.valueOf()}}return a},mn.erasParse=function(e,t,n){var r,i,o,a,s,u=this.eras();for(e=e.toUpperCase(),r=0,i=u.length;r<i;++r)if(o=u[r].name.toUpperCase(),a=u[r].abbr.toUpperCase(),s=u[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[r];break;case"NNNN":if(o===e)return u[r];break;case"NNNNN":if(s===e)return u[r]}else if([o,a,s].indexOf(e)>=0)return u[r]},mn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},mn.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},mn.erasNameRegex=function(e){return a(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},mn.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},mn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Se).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},mn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Se.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},mn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return Ee.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},mn.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=ke),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},mn.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Te),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},mn.week=function(e){return Ie(e,this._week.dow,this._week.doy).week},mn.firstDayOfYear=function(){return this._week.doy},mn.firstDayOfWeek=function(){return this._week.dow},mn.weekdays=function(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ve(n,this._week.dow):e?n[e.day()]:n},mn.weekdaysMin=function(e){return!0===e?Ve(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},mn.weekdaysShort=function(e){return!0===e?Ve(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},mn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return ze.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},mn.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=He),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},mn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ge),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},mn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=We),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},mn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},mn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("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===z(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=O("moment.lang is deprecated. Use moment.locale instead.",ot),r.langData=O("moment.langData is deprecated. Use moment.localeData instead.",st);var xn=Math.abs;function On(e,t,n,r){var i=Ut(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Sn(e){return e<0?Math.floor(e):Math.ceil(e)}function Tn(e){return 4800*e/146097}function kn(e){return 146097*e/4800}function En(e){return function(){return this.as(e)}}var jn=En("ms"),Cn=En("s"),Pn=En("m"),An=En("h"),Nn=En("d"),Dn=En("w"),Rn=En("M"),Mn=En("Q"),Ln=En("y");function In(e){return function(){return this.isValid()?this._data[e]:NaN}}var Fn=In("milliseconds"),Vn=In("seconds"),Bn=In("minutes"),Un=In("hours"),Yn=In("days"),Hn=In("months"),Gn=In("years"),Wn=Math.round,zn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function qn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var Xn=Math.abs;function $n(e){return(e>0)-(e<0)||+e}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,s,u=Xn(this._milliseconds)/1e3,l=Xn(this._days),c=Xn(this._months),f=this.asSeconds();return f?(e=W(u/60),t=W(e/60),u%=60,e%=60,n=W(c/12),c%=12,r=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=f<0?"-":"",o=$n(this._months)!==$n(f)?"-":"",a=$n(this._days)!==$n(f)?"-":"",s=$n(this._milliseconds)!==$n(f)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(u?s+r+"S":"")):"P0D"}var Jn=Pt.prototype;return Jn.isValid=function(){return this._isValid},Jn.abs=function(){var e=this._data;return this._milliseconds=xn(this._milliseconds),this._days=xn(this._days),this._months=xn(this._months),e.milliseconds=xn(e.milliseconds),e.seconds=xn(e.seconds),e.minutes=xn(e.minutes),e.hours=xn(e.hours),e.months=xn(e.months),e.years=xn(e.years),this},Jn.add=function(e,t){return On(this,e,t,1)},Jn.subtract=function(e,t){return On(this,e,t,-1)},Jn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=B(e))||"quarter"===e||"year"===e)switch(t=this._days+r/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(kn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Jn.asMilliseconds=jn,Jn.asSeconds=Cn,Jn.asMinutes=Pn,Jn.asHours=An,Jn.asDays=Nn,Jn.asWeeks=Dn,Jn.asMonths=Rn,Jn.asQuarters=Mn,Jn.asYears=Ln,Jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*z(this._months/12):NaN},Jn._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Sn(kn(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=W(o/1e3),u.seconds=e%60,t=W(e/60),u.minutes=t%60,n=W(t/60),u.hours=n%24,a+=W(n/24),i=W(Tn(a)),s+=i,a-=Sn(kn(i)),r=W(s/12),s%=12,u.days=a,u.months=s,u.years=r,this},Jn.clone=function(){return Ut(this)},Jn.get=function(e){return e=B(e),this.isValid()?this[e+"s"]():NaN},Jn.milliseconds=Fn,Jn.seconds=Vn,Jn.minutes=Bn,Jn.hours=Un,Jn.days=Yn,Jn.weeks=function(){return W(this.days()/7)},Jn.months=Hn,Jn.years=Gn,Jn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=zn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},zn,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var i=Ut(e).abs(),o=Wn(i.as("s")),a=Wn(i.as("m")),s=Wn(i.as("h")),u=Wn(i.as("d")),l=Wn(i.as("M")),c=Wn(i.as("w")),f=Wn(i.as("y")),d=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||u<=1&&["d"]||u<n.d&&["dd",u];return null!=n.w&&(d=d||c<=1&&["w"]||c<n.w&&["ww",c]),(d=d||l<=1&&["M"]||l<n.M&&["MM",l]||f<=1&&["y"]||["yy",f])[2]=t,d[3]=+e>0,d[4]=r,qn.apply(null,d)}(this,!i,o,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)},Jn.toISOString=Qn,Jn.toString=Qn,Jn.toJSON=Qn,Jn.locale=Zt,Jn.localeData=en,Jn.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),Jn.lang=Kt,M("X",0,0,"unix"),M("x",0,0,"valueOf"),he("x",le),he("X",/[+-]?\d+(\.\d{1,3})?/),me("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),me("x",(function(e,t,n){n._d=new Date(z(e))})),
26
- //! moment.js
27
- r.version="2.29.4",t=Tt,r.fn=gn,r.min=function(){var e=[].slice.call(arguments,0);return jt("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return jt("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=h,r.unix=function(e){return Tt(1e3*e)},r.months=function(e,t){return wn(e,t,"months")},r.isDate=c,r.locale=ot,r.invalid=g,r.duration=Ut,r.isMoment=_,r.weekdays=function(e,t,n){return _n(e,t,n,"weekdays")},r.parseZone=function(){return Tt.apply(null,arguments).parseZone()},r.localeData=st,r.isDuration=At,r.monthsShort=function(e,t){return wn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return _n(e,t,n,"weekdaysMin")},r.defineLocale=at,r.updateLocale=function(e,t){if(null!=t){var n,r,i=Ke;null!=et[e]&&null!=et[e].parentLocale?et[e].set(j(et[e]._config,t)):(null!=(r=it(e))&&(i=r._config),t=j(i,t),null==r&&(t.abbr=e),(n=new C(t)).parentLocale=et[e],et[e]=n),ot(e)}else null!=et[e]&&(null!=et[e].parentLocale?(et[e]=et[e].parentLocale,e===ot()&&ot(e)):null!=et[e]&&delete et[e]);return et[e]},r.locales=function(){return S(et)},r.weekdaysShort=function(e,t,n){return _n(e,t,n,"weekdaysShort")},r.normalizeUnits=B,r.relativeTimeRounding=function(e){return void 0===e?Wn:"function"==typeof e&&(Wn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==zn[e]&&(void 0===t?zn[e]:(zn[e]=t,"s"===e&&(zn.ss=t-1),!0))},r.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"},r.prototype=gn,r.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"},r}()}).call(this,n(408)(e))},,function(e,t){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(e,t,n){var r=n(33),i=n(49),o=n(128);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r,i=n(31),o=n(266),a=n(209),s=n(129),u=n(267),l=n(156),c=n(158),f=c("IE_PROTO"),d=function(){},h=function(e){return"<script>"+e+"<\/script>"},p=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;y="undefined"!=typeof document?document.domain&&r?p(r):((t=l("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):p(r);for(var n=a.length;n--;)delete y.prototype[a[n]];return y()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=i(e),n=new d,d.prototype=null,n[f]=e):n=y(),void 0===t?n:o.f(n,t)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Graph",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Rdfs",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Statement",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"converters",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"namespaces",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"print",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"utils",{enumerable:!0,get:function(){return s.default}});var r=c(n(109)),i=c(n(388)),o=c(n(221)),a=c(n(293)),s=c(n(294)),u=c(n(406)),l=c(n(407));function c(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=n(166),i=n(29),o=n(19),a=n(233),s=n(12),u=n(31),l=n(27),c=n(71),f=n(130),d=n(206),h=n(43),p=n(88),y=n(270),g=n(117),v=n(394),m=n(234),b=n(26)("replace"),w=Math.max,_=Math.min,x=o([].concat),O=o([].push),S=o("".indexOf),T=o("".slice),k="$0"==="a".replace(/./,"$0"),E=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(e,t,n){var o=E?"$":"$0";return[function(e,n){var r=p(this),o=c(e)?void 0:g(e,b);return o?i(o,e,r,n):i(t,h(r),e,n)},function(e,i){var a=u(this),s=h(e);if("string"==typeof i&&-1===S(i,o)&&-1===S(i,"$<")){var c=n(t,a,s,i);if(c.done)return c.value}var p=l(i);p||(i=h(i));var g=a.global;if(g){var b=a.unicode;a.lastIndex=0}for(var k=[];;){var E=m(a,s);if(null===E)break;if(O(k,E),!g)break;""===h(E[0])&&(a.lastIndex=y(s,d(a.lastIndex),b))}for(var j,C="",P=0,A=0;A<k.length;A++){for(var N=h((E=k[A])[0]),D=w(_(f(E.index),s.length),0),R=[],M=1;M<E.length;M++)O(R,void 0===(j=E[M])?j:String(j));var L=E.groups;if(p){var I=x([N],R,D,s);void 0!==L&&O(I,L);var F=h(r(i,void 0,I))}else F=v(N,s,D,R,L,i);D>=P&&(C+=T(s,P,D)+F,P=D+N.length)}return C+T(s,P)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!k||E)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(56),n(9),n(89);var r,i=(r=n(60))&&r.__esModule?r:{default:r};var o=function(e,t,n,r){if("URI"===e.getNodetype()||"RESOURCE"===e.getNodetype()){var o=i.default.getLocalizedMap(r,t,e.getURIValueLabelProperties());if(!o){var a=t.lastIndexOf("#"),s=t.lastIndexOf("/");o=a>0||s>0?{"":decodeURIComponent(t.substring(1+(a>s?a:s)))}:{"":t}}return{value:t,label:o}}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,r){return o(e,t,0,r)},getFallbackChoice:o,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(),r=n.lastIndexOf("#"),i=-1===r?"".concat(n,"#"):n.substring(0,r+1),o=t.getGraph()._graph;;){var a=i+"0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);if(null==o[a])return a}}};t.default=a},function(e,t,n){"use strict";(function(e){var r=n(34),i=n(306),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.a.Buffer:void 0,u=(s?s.isBuffer:void 0)||i.a;t.a=u}).call(this,n(222)(e))},function(e,t,n){n(411)},function(e,t,n){"use strict";var r=n(17),i=n(54),o=n(163),a=n(130),s=n(77),u=n(382),l=n(275),c=n(207),f=n(118),d=n(276),h=n(135)("splice"),p=Math.max,y=Math.min;r({target:"Array",proto:!0,forced:!h},{splice:function(e,t){var n,r,h,g,v,m,b=i(this),w=s(b),_=o(e,w),x=arguments.length;for(0===x?n=r=0:1===x?(n=0,r=w-_):(n=x-2,r=y(p(a(t),0),w-_)),l(w+n-r),h=c(b,r),g=0;g<r;g++)(v=_+g)in b&&f(h,g,b[v]);if(h.length=r,n<r){for(g=_;g<w-r;g++)m=g+n,(v=g+r)in b?b[m]=b[v]:d(b,m);for(g=w;g>w-r+n;g--)d(b,g-1)}else if(n>r)for(g=w-r;g>_;g--)m=g+n-1,(v=g+r-1)in b?b[m]=b[v]:d(b,m);for(g=0;g<n;g++)b[g+_]=arguments[g+2];return u(b,w-r+n),h}})},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 r=n(64),i=n(203);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.1",mode:r?"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 r=n(125),i=n(12);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(e,t){var n=String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},function(e,t,n){var r=n(107),i=n(19),o=n(160),a=n(54),s=n(77),u=n(207),l=i([].push),c=function(e){var t=1==e,n=2==e,i=3==e,c=4==e,f=6==e,d=7==e,h=5==e||f;return function(p,y,g,v){for(var m,b,w=a(p),_=o(w),x=r(y,g),O=s(_),S=0,T=v||u,k=t?T(p,O):n||d?T(p,0):void 0;O>S;S++)if((h||S in _)&&(b=x(m=_[S],S,w),e))if(t)k[S]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return S;case 2:l(k,m)}else switch(e){case 4:return!1;case 7:l(k,m)}return f?-1:i||c?c:k}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},function(e,t,n){var r=n(260),i=n(65),o=n(124),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(262),i=n(209).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){function r(e){return(r="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 i=globalThis.__rdfjson_namespaces,o=0,a=function(e,t,n){return i[e]||(i[e]=t),{abbrev:e,ns:t,localname:n,full:t+n,pretty:"".concat(e,":").concat(n)}},s=function(e){var t=Object.keys(i).find((function(t){return 0===e.indexOf(i[t])}));if(t)return a(t,i[t],e.substring(i[t].length));var n=e.lastIndexOf("/"),r=e.lastIndexOf("#");return r>n&&(n=r),a("ns".concat(o+=1),e.substring(0,n+1),e.substring(n+1))},u={nsify:s,shortenKnown:function(e){var t=Object.keys(i).find((function(t){return 0===e.indexOf(i[t])}));return t?a(t,i[t],e.substring(i[t].length)).pretty:e},shorten:function(e){return s(e).pretty},expand:function(e){var t=e.split(":");return 2===t.length&&i.hasOwnProperty(t[0])?i[t[0]]+t[1]:e},add:function(e,t){"string"==typeof e?i[e]=t:"object"===r(e)&&Object.keys(e).forEach((function(t){i[t]=e[t]}))},registry:function(){return i}};t.default=u},function(e,t,n){"use strict";var r=Object.prototype;t.a=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},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 r=n(187),i=n(110),o=n(180),a=Object(o.a)(Object.keys,Object),s=Object.prototype.hasOwnProperty;var u=function(e){if(!Object(i.a)(e))return a(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t},l=n(183);t.a=function(e){return Object(l.a)(e)?Object(r.a)(e):u(e)}},function(e,t,n){"use strict";var r=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o},i=n(181),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i.a;t.a=s},function(e,t,n){"use strict";var r=n(34).a.Uint8Array;t.a=r},function(e,t,n){"use strict";var r=n(86);var i=function(){this.__data__=new r.a,this.size=0};var o=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)},u=n(87),l=n(186);var c=function(e,t){var n=this.__data__;if(n instanceof r.a){var i=n.__data__;if(!u.a||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new l.a(i)}return n.set(e,t),this.size=n.size,this};function f(e){var t=this.__data__=new r.a(e);this.size=t.size}f.prototype.clear=i,f.prototype.delete=o,f.prototype.get=a,f.prototype.has=s,f.prototype.set=c;t.a=f},function(e,t,n){var r=n(65),i=n(71);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},function(e,t,n){"use strict";var r=n(157),i=n(49),o=n(128);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},function(e,t,n){var r=n(33),i=n(127).EXISTS,o=n(19),a=n(134),s=Function.prototype,u=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(l.exec);r&&!i&&a(s,"name",{configurable:!0,get:function(){try{return c(l,u(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 r,i=(r=n(91))&&r.__esModule?r:{default:r};t.fromDuration=function(e){var t,n,r=function(e){return e&&e.length>1?parseInt(e[0],10):0},i=r(e.match(/([0-9])*Y/)),o=r(e.match(/([0-9])*D/)),a=r(e.match(/([0-9])*H/));if(-1===e.indexOf("T"))t=r(e.match(/([0-9])*M/));else{var s=e.split("T");t=r(s[0].match(/([0-9])*M/)),n=r(s[1].match(/([0-9])*M/))}return{years:i,months:t,days:o,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 o=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=o;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 u=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=u;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 l=function(e,t){switch(e){case"DateTime":return(0,i.default)(t).format("lll");case"Date":return(0,i.default)(t).format("LL");case"Time":return(0,i.default)(t).format("LT");case"Year":return(0,i.default)(t).format("YYYY");case"YearMonth":return(0,i.default)(t).format("MMMM YYYY");case"MonthDay":return(0,i.default)(t).format("D MMMM");default:return""}};t.getDatePresentationFromDatatype=l;var c=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=c;t.getDatePresentation=function(e){var t=e.getValue();if(null!=t&&""!==t){var n=e.getItem(),r=o(t);if(r){var i,f=u(t),d=a(e.getDatatype()),h=s(n),p=c(n);return i=p[d]?d:p[f]?f:h,l(i,r)}}};t.getNamedGraphId=function(e,t){var n,r=null===(n=e.getStatement()||e.getParent().getStatement())||void 0===n?void 0:n.getNamedGraph();if(r){for(var i=t.view;i.getParentView();)i=i.getParentView();return i.getNamedGraphId(r)}}},,function(e,t,n){"use strict";var r=n(17),i=n(19),o=n(65),a=n(54),s=n(77),u=n(276),l=n(43),c=n(12),f=n(371),d=n(208),h=n(372),p=n(373),y=n(125),g=n(374),v=[],m=i(v.sort),b=i(v.push),w=c((function(){v.sort(void 0)})),_=c((function(){v.sort(null)})),x=d("sort"),O=!c((function(){if(y)return y<70;if(!(h&&h>3)){if(p)return!0;if(g)return g<603;var e,t,n,r,i="";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(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));r({target:"Array",proto:!0,forced:w||!_||!x||!O},{sort:function(e){void 0!==e&&o(e);var t=a(this);if(O)return void 0===e?m(t):m(t,e);var n,r,i=[],c=s(t);for(r=0;r<c;r++)r in t&&b(i,t[r]);for(f(i,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:l(t)>l(n)?1:-1}}(e)),n=s(i),r=0;r<n;)t[r]=i[r++];for(;r<c;)u(t,r++);return t}})},,function(e,t,n){var r=n(12);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,t,n){var r,i,o=n(21),a=n(93),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},function(e,t,n){var r=n(55),i=n(27),o=n(83),a=n(250),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,s(e))}},function(e,t,n){var r=n(33),i=n(28),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!r||r&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},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 r=n(364);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},function(e,t,n){var r=n(67);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(12),i=n(27),o=/#|\.prototype\./,a=function(e,t){var n=u[s(e)];return n==c||n!=l&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},function(e,t,n){var r=n(262),i=n(209);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(256),i=n(49);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},function(e,t,n){var r=n(12),i=n(26),o=n(125),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r=n(280),i=n(28),o=n(279),a=n(49).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t){e.exports={}},function(e,t,n){var r=n(107),i=n(29),o=n(31),a=n(105),s=n(287),u=n(77),l=n(83),c=n(288),f=n(218),d=n(289),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},y=p.prototype;e.exports=function(e,t,n){var g,v,m,b,w,_,x,O=n&&n.that,S=!(!n||!n.AS_ENTRIES),T=!(!n||!n.IS_RECORD),k=!(!n||!n.IS_ITERATOR),E=!(!n||!n.INTERRUPTED),j=r(t,O),C=function(e){return g&&d(g,"normal",e),new p(!0,e)},P=function(e){return S?(o(e),E?j(e[0],e[1],C):j(e[0],e[1])):E?j(e,C):j(e)};if(T)g=e.iterator;else if(k)g=e;else{if(!(v=f(e)))throw h(a(e)+" is not iterable");if(s(v)){for(m=0,b=u(e);b>m;m++)if((w=P(e[m]))&&l(y,w))return w;return new p(!1)}g=c(e,v)}for(_=T?e.next:g.next;!(x=i(_,g)).done;){try{w=P(x.value)}catch(e){d(g,"throw",e)}if("object"==typeof w&&w&&l(y,w))return w}return new p(!1)}},function(e,t,n){var r=n(21);e.exports=r.Promise},function(e,t,n){var r=n(21),i=n(139),o=n(27),a=n(132),s=n(205),u=n(26),l=n(440),c=n(303),f=n(64),d=n(125),h=i&&i.prototype,p=u("species"),y=!1,g=o(r.PromiseRejectionEvent),v=a("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===d)return!0;if(f&&(!h.catch||!h.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new i((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[p]=r,!(y=n.then((function(){}))instanceof r))return!0}return!t&&(l||c)&&!g}));e.exports={CONSTRUCTOR:v,REJECTION_EVENT:g,SUBCLASSING:y}},function(e,t,n){"use strict";var r=n(65),i=TypeError,o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw i("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},,function(e,t,n){"use strict";var r=n(185),i=n(114),o=n(113);t.a=function(e){return Object(r.a)(e,o.a,i.a)}},function(e,t,n){var r=n(17),i=n(367);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},function(e,t,n){var r=n(33),i=n(21),o=n(19),a=n(132),s=n(211),u=n(94),l=n(108).f,c=n(83),f=n(273),d=n(43),h=n(274),p=n(265),y=n(370),g=n(48),v=n(12),m=n(28),b=n(66).enforce,w=n(213),_=n(26),x=n(268),O=n(269),S=_("match"),T=i.RegExp,k=T.prototype,E=i.SyntaxError,j=o(k.exec),C=o("".charAt),P=o("".replace),A=o("".indexOf),N=o("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,R=/a/g,M=/a/g,L=new T(R)!==R,I=p.MISSED_STICKY,F=p.UNSUPPORTED_Y,V=r&&(!L||I||x||O||v((function(){return M[S]=!1,T(R)!=R||T(M)==M||"/a/i"!=T(R,"i")})));if(a("RegExp",V)){for(var B=function(e,t){var n,r,i,o,a,l,p=c(k,this),y=f(e),g=void 0===t,v=[],w=e;if(!p&&y&&g&&e.constructor===B)return e;if((y||c(k,e))&&(e=e.source,g&&(t=h(w))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),w=e,x&&"dotAll"in R&&(r=!!t&&A(t,"s")>-1)&&(t=P(t,/s/g,"")),n=t,I&&"sticky"in R&&(i=!!t&&A(t,"y")>-1)&&F&&(t=P(t,/y/g,"")),O&&(e=(o=function(e){for(var t,n=e.length,r=0,i="",o=[],a={},s=!1,u=!1,l=0,c="";r<=n;r++){if("\\"===(t=C(e,r)))t+=C(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:j(D,N(e,r+1))&&(r+=2,u=!0),i+=t,l++;continue;case">"===t&&u:if(""===c||m(a,c))throw new E("Invalid capture group name");a[c]=!0,o[o.length]=[c,l],u=!1,c="";continue}u?c+=t:i+=t}return[i,o]}(e))[0],v=o[1]),a=s(T(e,t),p?this:k,B),(r||i||v.length)&&(l=b(a),r&&(l.dotAll=!0,l.raw=B(function(e){for(var t,n=e.length,r=0,i="",o=!1;r<=n;r++)"\\"!==(t=C(e,r))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+C(e,++r);return i}(e),n)),i&&(l.sticky=!0),v.length&&(l.groups=v)),e!==w)try{u(a,"source",""===w?"(?:)":w)}catch(e){}return a},U=l(T),Y=0;U.length>Y;)y(B,T,U[Y++]);k.constructor=B,B.prototype=k,g(i,"RegExp",B,{constructor:!0})}w("RegExp")},,function(e,t,n){"use strict";var r=n(29),i=n(233),o=n(31),a=n(71),s=n(206),u=n(43),l=n(88),c=n(117),f=n(270),d=n(234);i("match",(function(e,t,n){return[function(t){var n=l(this),i=a(t)?void 0:c(t,e);return i?r(i,t,n):new RegExp(t)[e](u(n))},function(e){var r=o(this),i=u(e),a=n(t,r,i);if(a.done)return a.value;if(!r.global)return d(r,i);var l=r.unicode;r.lastIndex=0;for(var c,h=[],p=0;null!==(c=d(r,i));){var y=u(c[0]);h[p]=y,""===y&&(r.lastIndex=f(i,s(r.lastIndex),l)),p++}return 0===p?null:h}]}))},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]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(u," */")),o=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(o).concat([i]).join("\n")}var a,s,u;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&i[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},,function(e,t,n){var r=n(17),i=n(414);r({target:"Array",stat:!0,forced:!n(219)((function(e){Array.from(e)}))},{from:i})},,,,,function(e,t,n){var r=n(19),i=0,o=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},function(e,t,n){var r=n(21),i=n(32),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){var r=n(254),i=n(126);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},function(e,t,n){var r=n(103),i=n(155),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t,n){var r=n(201),i=n(27),o=n(67),a=n(26)("toStringTag"),s=Object,u="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;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:u?o(t):"Object"==(r=o(t))&&i(t.callee)?"Arguments":r}},function(e,t,n){var r=n(19),i=n(12),o=n(67),a=Object,s=r("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):a(e)}:a},function(e,t,n){var r=n(19),i=n(12),o=n(27),a=n(159),s=n(55),u=n(205),l=function(){},c=[],f=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,h=r(d.exec),p=!d.exec(l),y=function(e){if(!o(e))return!1;try{return f(l,c,e),!0}catch(e){return!1}},g=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(d,u(e))}catch(e){return!0}};g.sham=!0,e.exports=!f||i((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?g:y},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(130),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(19);e.exports=r([].slice)},function(e,t,n){var r=n(124),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},function(e,t,n){var r=n(28),i=n(27),o=n(54),a=n(158),s=n(284),u=a("IE_PROTO"),l=Object,c=l.prototype;e.exports=s?l.getPrototypeOf:function(e){var t=o(e);if(r(t,u))return t[u];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof l?c:null}},function(e,t,n){"use strict";var r=n(17),i=n(263).includes,o=n(12),a=n(214);r({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(e,t,n){"use strict";var r=n(17),i=n(19),o=n(386),a=n(88),s=n(43),u=n(387),l=i("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~l(s(a(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(17),i=n(19),o=n(129),a=n(32),s=n(28),u=n(49).f,l=n(108),c=n(278),f=n(392),d=n(155),h=n(286),p=!1,y=d("meta"),g=0,v=function(e){u(e,y,{value:{objectID:"O"+g++,weakData:{}}})},m=e.exports={enable:function(){m.enable=function(){},p=!0;var e=l.f,t=i([].splice),n={};n[y]=1,e(n).length&&(l.f=function(n){for(var r=e(n),i=0,o=r.length;i<o;i++)if(r[i]===y){t(r,i,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,y)){if(!f(e))return"F";if(!t)return"E";v(e)}return e[y].objectID},getWeakData:function(e,t){if(!s(e,y)){if(!f(e))return!0;if(!t)return!1;v(e)}return e[y].weakData},onFreeze:function(e){return h&&p&&f(e)&&!s(e,y)&&v(e),e}};o[y]=!0},function(e,t,n){var r=n(83),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw i("Incorrect invocation")}},function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var i=r({HTML:"text/html",isHTML:function(e){return e===i.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),o=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===o.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 r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];if(t.call(void 0,i,r,e))return i}},t.freeze=r,t.MIME_TYPE=i,t.NAMESPACE=o},function(e,t,n){function r(e){return(r="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 i,o=(i=n(225))&&i.__esModule?i:{default:i};function a(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,a}function s(){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=u(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}function u(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function l(e,t){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c(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,r=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===r(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)}var 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&&l(e,t)}(o,e);var t,n,r,i=c(o);function o(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=i.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=o,(n=[{key:"getChildren",value:function(e){var t,n=e&&this.isExtention(),r=n?this._ochildren:this._children;return null==r&&(r=this._itemStore.getChildren(this,n),!0===this.getSource().automatic&&this._itemStore.automaticSortAllowed&&((t=r).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")]=r),r}},{key:"originalChildrenChanged",value:function(){this.isExtention()&&delete this._children}},{key:"setExtends",value:function(e){s(d(o.prototype),"setExtends",this).call(this,e),delete this._children,delete this._ochildren}},{key:"getNodetype",value:function(){return s(d(o.prototype),"getNodetype",this).call(this)||"RESOURCE"}}])&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),o}(o.default);t.default=h},function(e,t,n){function r(e){return(r="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 i=n(96),o=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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,a}function u(){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=l(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}function l(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(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 f(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,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){if(t&&("object"===r(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 h(e){return(h=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&&c(e,t)}(a,e);var t,n,r,o=f(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=o.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,r=this._validObject;this._isValidObjectValue(n)?(this._statement.setValue(n,t),this._validObject=!0,!0===r||!0!==this._validPredicate||this._excludeFromTreeValidityCheck||this._parent.oneChildValidityChanged(!0)):(""!==n&&null!==n||this._statement.setValue("",t),this._validObject=!1,!1!==r&&!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(i.namespaces.expand(e)),this.updateAssertions()}},{key:"setExcludeFromTreeValidityCheck",value:function(e){this._excludeFromTreeValidityCheck=e}},{key:"remove",value:function(){this.setValue(null),this._parent.removeChildBinding(this),u(h(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),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default);t.default=p},function(e,t,n){var r=n(67);e.exports="undefined"!=typeof process&&"process"==r(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 r=n(62),i=n(69);t.a=function(e){if(!Object(i.a)(e))return!1;var t=Object(r.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,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},function(e,t,n){"use strict";var r=n(179),i=n(184);t.a=function(e){return null!=e&&Object(i.a)(e.length)&&!Object(r.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 r=n(182),i=n(61);t.a=function(e,t,n){var o=t(e);return Object(i.a)(e)?o:Object(r.a)(o,n(e))}},function(e,t,n){"use strict";var r=n(50),i=Object(r.a)(Object,"create");var o=function(){this.__data__=i?i(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 u=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return s.call(t,e)?t[e]:void 0},l=Object.prototype.hasOwnProperty;var c=function(e){var t=this.__data__;return i?void 0!==t[e]:l.call(t,e)};var f=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this};function d(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}d.prototype.clear=o,d.prototype.delete=a,d.prototype.get=u,d.prototype.has=c,d.prototype.set=f;var h=d,p=n(86),y=n(87);var g=function(){this.size=0,this.__data__={hash:new h,map:new(y.a||p.a),string:new h}};var v=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var m=function(e,t){var n=e.__data__;return v(t)?n["string"==typeof t?"string":"hash"]:n.map};var b=function(e){var t=m(this,e).delete(e);return this.size-=t?1:0,t};var w=function(e){return m(this,e).get(e)};var _=function(e){return m(this,e).has(e)};var x=function(e,t){var n=m(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function O(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}O.prototype.clear=g,O.prototype.delete=b,O.prototype.get=w,O.prototype.has=_,O.prototype.set=x;t.a=O},function(e,t,n){"use strict";var r=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},i=n(62),o=n(45);var a=function(e){return Object(o.a)(e)&&"[object Arguments]"==Object(i.a)(e)},s=Object.prototype,u=s.hasOwnProperty,l=s.propertyIsEnumerable,c=a(function(){return arguments}())?a:function(e){return Object(o.a)(e)&&u.call(e,"callee")&&!l.call(e,"callee")},f=n(61),d=n(99),h=/^(?:0|[1-9]\d*)$/;var p=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&h.test(e))&&e>-1&&e%1==0&&e<t},y=n(188),g=Object.prototype.hasOwnProperty;t.a=function(e,t){var n=Object(f.a)(e),i=!n&&c(e),o=!n&&!i&&Object(d.a)(e),a=!n&&!i&&!o&&Object(y.a)(e),s=n||i||o||a,u=s?r(e.length,String):[],l=u.length;for(var h in e)!t&&!g.call(e,h)||s&&("length"==h||o&&("offset"==h||"parent"==h)||a&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||p(h,l))||u.push(h);return u}},function(e,t,n){"use strict";var r=n(62),i=n(184),o=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(o.a)(e)&&Object(i.a)(e.length)&&!!a[Object(r.a)(e)]},u=n(112),l=n(79),c=l.a&&l.a.isTypedArray,f=c?Object(u.a)(c):s;t.a=f},function(e,t,n){"use strict";var r=n(17),i=n(106).filter;r({target:"Array",proto:!0,forced:!n(135)("filter")},{filter:function(e){return i(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 r,i=n(96),o=n(85),a=(r=n(102))&&r.__esModule?r:{default:r};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||[]),f(e,n,!0)};t.bindingReport=s;var u=function(e){for(var t=0,n=0;n<e.length;n++)e[n].isValid()&&(t+=1);return t},l=function(e,t){e.length>0&&e[0].getCardinalityTracker().setCode(t)},c=function(e,t){if(t.hasStyle("deprecated"))return!0;var n=t.getDeps();if(n){var r=(0,o.findBindingRelativeToParentBinding)(e,n);if(!(0,o.matchPathBelowBinding)(r,n))return!0}return!1},f=function e(t,n,r){if(t.getMatchingCode()===a.default.OK){var i=t.getItem();if(!0===r||t.isValid()||null==i.getProperty()||i.hasStyle("atLeastOneChild")||i.hasStyle("exactlyOneChild")){var o=i.getChildren();if(i.hasStyle("disjoint")||i.hasStyle("atMostOneChild")||i.hasStyle("atLeastOneChild")||i.hasStyle("exactlyOneChild")){var s,f=t.getChildBindings(),d=u(f);d>1&&(i.hasStyle("disjoint")||i.hasStyle("atMostOneChild"))?s=a.default.AT_MOST_ONE_CHILD:1!==d&&i.hasStyle("exactlyOneChild")?s=a.default.EXACTLY_ONE_CHILD:0===d&&i.hasStyle("atLeastOneChild")&&(s=a.default.AT_LEAST_ONE_CHILD),s&&(l([t],s),o.length>0&&n.errors.push({parentBinding:t,item:o[0],code:s}))}else t.getItemGroupedChildBindings().forEach((function(e,r){var i=o[r];if(!c(t,i)&&null!=i.getProperty()){var s=u(e),f=i.getCardinality();null!=f.min&&f.min>s?(n.errors.push({parentBinding:t,item:i,code:a.default.TOO_FEW_VALUES_MIN}),l(e,a.default.TOO_FEW_VALUES_MIN)):null!=f.pref&&f.pref>s&&n.warnings.push({parentBinding:t,item:i,code:a.default.TOO_FEW_VALUES_PREF}),null!=f.max&&f.max<s&&(n.errors.push({parentBinding:t,item:i,code:a.default.TOO_MANY_VALUES}),l(e,a.default.TOO_MANY_VALUES))}}),void 0);t.getChildBindings().forEach((function(r){var i=r.getItem();r.getMatchingCode()!==a.default.OK&&n.errors.push({parentBinding:r,item:i,code:r.getMatchingCode()}),i.hasStyle("deprecated")&&n.deprecated.push(r),c(t,i)||"group"===i.getType()&&e(r,n)}))}return n}},d=function(e,t){var n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o={},a={},s={errors:0,warnings:0,deprecated:0,resources:[]};Object.keys(t).forEach((function(t){var n=h(e,t);o[t]=n,n.forEach((function(e){a[e]=!0}))})),Object.keys(o).forEach((function(i){n=t[i],o[i].forEach((function(t){(r=v(t,e,n,a)).uri=t,r.type=i,r.template=n.getId(),s.resources.push(r),s.errors+=r.errors.length,s.warnings+=r.warnings.length,s.deprecated+=r.deprecated.length}))}));var u=[];return i.forEach((function(e){0===o[e].length&&u.push(e)})),u.length>0&&(s.mandatoryError=u,s.errors+=u.length),s};t.graphReport=d;var h=function(e,t){return e.find(null,"rdf:type",t).map((function(e){return e.getSubject()}))},p=function(e,t,n){for(var r=e;;){var i=r.getChildrenRootUri?r.getChildrenRootUri():r.getParent().getChildrenRootUri();if(i===t)return!0;if(n[i])return!1;r=r.getParent()}},y=function(e,t){var n=e,r=[];for(null!=t.getProperty()&&n.getItem()!==t&&r.push(i.namespaces.shorten(t.getProperty()));null!=n.getItem().getProperty()&&r.push(i.namespaces.shorten(n.getItem().getProperty())),null!=n.getParent();)n=n.getParent();return r.reverse(),r.join(" > ")},g=function(e){var t=e.errors,n=e.warnings,r=e.deprecated;e.errors=t.map((function(e){return{path:y(e.parentBinding,e.item),code:e.code}})),e.warnings=n.map((function(e){return{path:y(e.parentBinding,e.item),code:e.code}})),e.deprecated=r.map((function(e){return function(e){return"".concat(y(e.getParent(),e.getItem())," > ").concat(e.getValue())}(e)}))},v=function(e,t,n,r){var i=(0,o.fuzzyMatch)(t,e,n),a=s(i);return function(e,t,n){var r=e.errors,i=e.warnings,o=e.deprecated;e.errors=r.filter((function(e){return p(e.parentBinding,t,n)})),e.warnings=i.filter((function(e){return p(e.parentBinding,t,n)})),e.deprecated=o.filter((function(e){return p(e,t,n)}))}(a,e,r||{}),g(a),a},m={graphReport:d,bindingReport:s};t.default=m},,,,,,,,,,,function(e,t,n){var r={};r[n(26)("toStringTag")]="z",e.exports="[object z]"===String(r)},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 r=n(21),i=n(204),o=r["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},function(e,t,n){var r=n(21),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(19),i=n(27),o=n(203),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},function(e,t,n){var r=n(130),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(365);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},function(e,t,n){"use strict";var r=n(12);e.exports=function(e,t){var n=[][e];return!!n&&r((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 r,i,o=n(29),a=n(19),s=n(43),u=n(264),l=n(265),c=n(103),f=n(95),d=n(66).get,h=n(268),p=n(269),y=c("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,m=a("".charAt),b=a("".indexOf),w=a("".replace),_=a("".slice),x=(i=/b*/g,o(g,r=/a/,"a"),o(g,i,"a"),0!==r.lastIndex||0!==i.lastIndex),O=l.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(x||S||O||h||p)&&(v=function(e){var t,n,r,i,a,l,c,h=this,p=d(h),T=s(e),k=p.raw;if(k)return k.lastIndex=h.lastIndex,t=o(v,k,T),h.lastIndex=k.lastIndex,t;var E=p.groups,j=O&&h.sticky,C=o(u,h),P=h.source,A=0,N=T;if(j&&(C=w(C,"y",""),-1===b(C,"g")&&(C+="g"),N=_(T,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==m(T,h.lastIndex-1))&&(P="(?: "+P+")",N=" "+N,A++),n=new RegExp("^(?:"+P+")",C)),S&&(n=new RegExp("^"+P+"$(?!\\s)",C)),x&&(r=h.lastIndex),i=o(g,j?n:h,N),j?i?(i.input=_(i.input,A),i[0]=_(i[0],A),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:x&&i&&(h.lastIndex=h.global?i.index+i[0].length:r),S&&i&&i.length>1&&o(y,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&E)for(i.groups=l=f(null),a=0;a<E.length;a++)l[(c=E[a])[0]]=i[c[1]];return i}),e.exports=v},function(e,t,n){var r=n(27),i=n(32),o=n(212);e.exports=function(e,t,n){var a,s;return o&&r(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(e,s),e}},function(e,t,n){var r=n(368),i=n(31),o=n(369);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e(n,r):n.__proto__=r,n}}():void 0)},function(e,t,n){"use strict";var r=n(55),i=n(134),o=n(26),a=n(33),s=o("species");e.exports=function(e){var t=r(e);a&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(26),i=n(95),o=n(49).f,a=r("unscopables"),s=Array.prototype;null==s[a]&&o(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,n){"use strict";var r=n(17),i=n(29),o=n(64),a=n(127),s=n(27),u=n(381),l=n(167),c=n(212),f=n(84),d=n(94),h=n(48),p=n(26),y=n(137),g=n(283),v=a.PROPER,m=a.CONFIGURABLE,b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,_=p("iterator"),x=function(){return this};e.exports=function(e,t,n,a,p,g,O){u(n,t,a);var S,T,k,E=function(e){if(e===p&&N)return N;if(!w&&e in P)return P[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},j=t+" Iterator",C=!1,P=e.prototype,A=P[_]||P["@@iterator"]||p&&P[p],N=!w&&A||E(p),D="Array"==t&&P.entries||A;if(D&&(S=l(D.call(new e)))!==Object.prototype&&S.next&&(o||l(S)===b||(c?c(S,b):s(S[_])||h(S,_,x)),f(S,j,!0,!0),o&&(y[j]=x)),v&&"values"==p&&A&&"values"!==A.name&&(!o&&m?d(P,"name","values"):(C=!0,N=function(){return i(A,this)})),p)if(T={values:E("values"),keys:g?N:E("keys"),entries:E("entries")},O)for(k in T)(w||C||!(k in P))&&h(P,k,T[k]);else r({target:t,proto:!0,forced:w||C},T);return o&&!O||P[_]===N||h(P,_,N,{name:p}),y[t]=N,T}},function(e,t){e.exports=function(e,t){return{value:e,done:t}}},function(e,t,n){"use strict";var r=n(17),i=n(21),o=n(19),a=n(132),s=n(48),u=n(170),l=n(138),c=n(171),f=n(27),d=n(71),h=n(32),p=n(12),y=n(219),g=n(84),v=n(211);e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),w=m?"set":"add",_=i[e],x=_&&_.prototype,O=_,S={},T=function(e){var t=o(x[e]);s(x,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!h(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!f(_)||!(b||x.forEach&&!p((function(){(new _).entries().next()})))))O=n.getConstructor(t,e,m,w),u.enable();else if(a(e,!0)){var k=new O,E=k[w](b?{}:-0,1)!=k,j=p((function(){k.has(1)})),C=y((function(e){new _(e)})),P=!b&&p((function(){for(var e=new _,t=5;t--;)e[w](t,t);return!e.has(-0)}));C||((O=t((function(e,t){c(e,x);var n=v(new _,e,O);return d(t)||l(t,n[w],{that:n,AS_ENTRIES:m}),n}))).prototype=x,x.constructor=O),(j||P)&&(T("delete"),T("has"),m&&T("get")),(P||E)&&T(w),b&&x.clear&&delete x.clear}return S[e]=O,r({global:!0,constructor:!0,forced:O!=_},S),g(O,e),b||n.setStrong(O,e,m),O}},function(e,t,n){var r=n(159),i=n(117),o=n(71),a=n(137),s=n(26)("iterator");e.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[r(e)]}},function(e,t,n){var r=n(26)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},function(e,t,n){var r=n(48);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],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 r=s(n(292)),i=s(n(109)),o=s(n(293)),a=s(n(294));function s(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="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){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,o=void 0,o=function(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===u(o)?o:String(o)),r)}var i,o}var f=function(e){return 0===e.length?e:[e[0]]},d=function e(t,n,i){return{object:function(r){for(var o=0;o<n.length;o++){var a=void 0;if(i)a=n[o].getSubject();else{var s=n[o].getType();if("uri"===s||"bnode"===s)continue;a=n[o].getValue()}var u=t.find(a,r);u.length>0&&e(t,[u[0]])}return e(t,[])},objects:function(r){var o,a=[];if(!0===i)for(o=0;o<n.length;o++)a=a.concat(t.find(n[o].getSubject(),r));else for(o=0;o<n.length;o++){var s=n[o].getType();"uri"!==s&&"bnode"!==s||(a=a.concat(t.find(n[o].getValue(),r)))}return e(t,a)},constr:function(o,a){var s=a;r.default.isString(s)&&(s={type:"uri",value:s});for(var u=[],l=0;l<n.length;l++){var c=i?n[l].getSubject():n[l].getValue();t.find(c,o,s).length>0&&u.push(n[l])}return e(t,u,i)},each:function(r,o){if(!0===i)for(var a=0;a<n.length;a++){var s="_:"===n[a].getSubject().substring(0,2)?"bnode":"uri";null!=o&&o!==s||r(e(t,n[a],i))}else for(var u=0;u<n.length;u++)r(e(t,n[u],i))},statements:function(){return n},nodes:function(e){var t=[];if(!0===i)for(var r=0;r<n.length;r++){var o="_:"===n[r].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==o||t.push({type:o,value:n[r].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===i)for(var r=0;r<n.length;r++){var o="_:"===n[r].getSubject().substring(0,2)?"bnode":"uri";null!=e&&e!==o||t.push(n[r].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===i)for(var t=0;t<n.length;t++){var r="_:"===n[t].getSubject().substring(0,2)?"bnode":"uri";if(null==e||e===r)return n[t].getSubject()}else for(var o=0;o<n.length;o++)if(null==e||e===n[o].getType())return n[o].getValue()}}},h=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;l(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,r={},i=e.find(),o=0;o<i.length;o++){var a=i[o],s=a.getSubject(),u=a.getPredicate(),l=a.getCleanObject();t&&(l.ng=t),0===s.indexOf("_:")&&(n=r[s]||this._newBNode(),r[s]=n,s=n),0===u.indexOf("_:")&&(n=r[u]||this._newBNode(),r[u]=n,u=n),"bnode"===l.type&&(n=r[l.value]||this._newBNode(),r[l.value]=n,l.value=n),this.add(s,u,l)}}},{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,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4?arguments[4]:void 0;if(e instanceof o.default){var s=e.getPredicate(),u=e.getObject(),l=e.getSubject();this._trackBNodes(l,s,u);var c=this._graphObject(u),f=r.default.add(this._graph,l,s,c,a);return!0!==i&&this.setChanged(),this._get(l,s,f,!0)}return this.create(e,t,n,!0,i,a)}},{key:"addL",value:function(e,t,n,r){var i={type:"literal",value:n};return"string"==typeof r&&(i.lang=r),this.create(e,t,i,!0)}},{key:"addD",value:function(e,t,n,r){var o={type:"literal",value:n};return"string"==typeof r&&(o.datatype=i.default.expand(r)),this.create(e,t,o,!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],l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],c=e,f=t,d=n;if(c=null==c?this._newBNode():i.default.expand(c),f=null==f?this._newBNode():i.default.expand(f),null==d?d={type:"bnode",value:this._newBNode()}:r.default.isString(d)?d={type:"uri",value:i.default.expand(d)}:"object"!==u(d)||Array.isArray(d)?d={type:"uri",value:"".concat(d)}:("uri"===(d={type:d.type,value:d.value,lang:d.lang,datatype:d.datatype,ng:d.ng}).type&&null!=d.value&&(d.value=i.default.expand(d.value)),d.datatype&&(d.datatype=i.default.expand(d.datatype))),!1!==a){var h=r.default.add(this._graph,c,f,d,l);return!0!==s&&this.setChanged(),this._getOrCreate(c,f,h,!0)}return new o.default(this,c,f,d,!1)}},{key:"findAndRemove",value:function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.find(e,t,n),o=0;o<i.length;o++)this.remove(i[o],r)}},{key:"remove",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getSubject(),i=e.getPredicate(),o=e.getObject();this._trackBNodes(n,i,o),null!=r.default.remove(this._graph,n,i,o)&&!0!==t&&this.setChanged()}},{key:"find",value:function(e,t,n){var o=e,a=t,s=n;if("string"==typeof o&&(o=i.default.expand(o)),"string"==typeof a&&(a=i.default.expand(a)),"object"===u(s)&&null!==s&&"uri"===s.type?s.value=i.default.expand(s.value):"string"==typeof s&&(s={type:"uri",value:i.default.expand(s)}),null==s)return null==a?null==o?this._find():this._findS(o):null==o?this._findP(a):this._findSP(o,a);if(null==a)return null==o?this._findO(s):this._findSO(o,s);if(null==o)return this._findPO(a,s);var l=this._get(o,a,r.default.contains(this._graph,o,a,s),!0);return null==l?[]:[l]}},{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 r=this,i={};return Object.keys(t).forEach((function(o){var a=t[o],s=Array.isArray(a)?r.findPath(e,a):r.find(e,a);if(s.length>0)switch("*"===o[0]?i[o.substr(1)]=s.map((function(e){return e.getValue()})):i[o]=s[0].getValue(),n||"none"){case"statement":i["*".concat(o)]=s;break;case"objects":i["*".concat(o)]=s.map((function(e){return e.getCleanObject()}));break;case"values":i["*".concat(o)]=s.map((function(e){return e.getValue()}))}})),i}},{key:"subjects",value:function(e,t){return d(this,this.find(null,e,t),!0)}},{key:"subject",value:function(e,t){return d(this,f(this.find(null,e,t)),!0)}},{key:"objects",value:function(e,t){return d(this,this.find(e,t,null))}},{key:"object",value:function(e,t){return d(this,f(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 r,o=this;if(Array.isArray(e)&&0!==e.length){var a=r=this._newBNode(),s=e.length-1;e.forEach((function(e,r){o[t](a,"rdf:first",e,n),r!==s?a=o.add(a,"rdf:rest").getValue():o.add(a,"rdf:rest","rdf:nil")}))}else r=i.default.expand("rdf:nil");return r}},{key:"removeList",value:function(e){var t=!1,n="object"===u(e)?e.value:e;try{var r=i.default.expand("rdf:nil");for(t=n===r;n!==r&&null!=n;){var o=this.findFirstValue(n,"rdf:rest");this.findAndRemove(n),t=null!=(n=o)}}catch(e){return console.warn("Invalid list for object: ".concat(n)),!1}return t}},{key:"getList",value:function(e){var t="object"===u(e)?e.value:i.default.expand(e),n=[];try{for(var r=i.default.expand("rdf:nil");t!==r&&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,r=!1;return this.find(e,t).forEach((function(e){n.removeList(e.getValue())&&(n.remove(e),r=!0)})),r}},{key:"exportRDFJSON",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._graph,r.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,r,i){"uri"===i.type&&i.value===e&&(i.value=t),n===t&&i._statement&&(i._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,r,i){"bnode"===i.type&&i.value===e&&(i.value=t,i.type="uri"),n===t&&i._statement&&(i._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 r=t[n];Object.keys(r).forEach((function(t){r[t].forEach((function(r){e(n,t,r)}))}))}))}},{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,r){if(null!=n)return this._getOrCreate(e,t,n,r)}},{key:"_getOrCreate",value:function(e,t,n,r){return null==n._statement&&(n._statement=new o.default(this,e,t,n,r)),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(r){return n._get(e,t,r,!0)}))}},{key:"_findS",value:function(e){var t=this,n=this._graph[e],r=Object.keys(n||{}).map((function(n){return t._findSP(e,n)}));return Array.prototype.concat.apply([],r)}},{key:"_find",value:function(){var e=this,t=[];return this.forEach((function(n,r,i){t.push(e._get(n,r,i,!0))})),t}},{key:"_findP",value:function(e){var t=this,n=[];return this.forEach((function(r,i,o){e===i&&n.push(t._get(r,i,o,!0))})),n}},{key:"_findO",value:function(e){var t=this,n=[];return this.forEach((function(i,o,a){r.default.objectEquals(e,a)&&n.push(t._get(i,o,a,!0))})),n}},{key:"_findSO",value:function(e,t){var n=this,i=[];return this.forEach((function(o,a,s){e===o&&r.default.objectEquals(t,s)&&i.push(n._get(o,a,s,!0))})),i}},{key:"_findPO",value:function(e,t){var n=this,i=[];return this.forEach((function(o,a,s){e===a&&r.default.objectEquals(t,s)&&i.push(n._get(o,a,s,!0))})),i}},{key:"_validate",value:function(){var e=this._graph,t={valid:!0,errors:[],nr:0};return Object.keys(e).forEach((function(n){var i=e[n];r.default.isObject(i)?Object.keys(i).forEach((function(e){var o=i[e];Array.isArray(o)?o.forEach((function(i,o){r.default.isObject(i)?null!=i.type?r.default.isString(i.value)?t.nr+=1:(t.errors.push({s:n,p:e,oindex:o+1,message:"Object ".concat(o+1," in object array must have the 'value' attribute pointing to a string.")}),t.valid=!1):(t.errors.push({s:n,p:e,oindex:o+1,message:"Object ".concat(o+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:o+1,message:"Element ".concat(o+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 r=t[n];Object.keys(r).forEach((function(t){0===t.indexOf("_:")&&(e._bnodes[t]=!0),r[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)}}])&&c(t.prototype,n),s&&c(t,s),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=h},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 r(e){return(r="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 i=c(n(37)),o=c(n(236)),a=c(n(102)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}i.default=e,n&&n.set(e,i);return i}(n(85)),u=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 f(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,a}function h(){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=p(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}function p(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}function y(e,t){return(y=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,r=m(e);if(t){var i=m(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){if(t&&("object"===r(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 b=function(e,t,n,r){if(t.hasStyle("presenterOnly"))return!1;if(t.hasStyle("deprecated")&&0===n.length)return!1;var i=t.getProperty();if(n.length>0){if(i)return!e.filterItem(t);if("group"!==t.getType())return!0;var o=t.getChildren();if(0===o.length)return!0;if(t.hasStyle("atLeastOneChild")||t.hasStyle("exactlyOneChild"))return!0;if(n[0].getItemGroupedChildBindings().find((function(t,n){return b(e,o[n],t,r)})))return!0;if(!i)return!1}var a=t.getCardinality();switch(r){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&&y(e,t)}(l,e);var t,n,r,o=g(l);function l(){return f(this,l),o.apply(this,arguments)}return t=l,(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,h(m(l.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,u.bindingReport)(this.binding);Object.keys(this._binding2node).forEach((function(e){i.default.domClassToggle(t._binding2node[e],"errorReport",!1)}));for(var r=function(){var e=n.errors[o];if(e.parentBinding===t.binding)if(e.code===a.default.TOO_FEW_VALUES_MIN){var r=e.item,s=r.getCardinality().min;t.binding.getChildBindingsFor(r).find((function(e){return s-=1,e.isValid()||i.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&&i.default.domClassToggle(t._binding2node[e.getHash()],"errorReport",!0)}))},o=0;o<n.errors.length;o++)r();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=[],h(m(l.prototype),"show",this).call(this,e)}},{key:"showNow",value:function(e,t){return b(this,e,t,this.includeLevel)}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(e,t){var n,r=t,i=e.getCardinality();if(n=i.pref>0?i.pref:i.min>0?i.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 r;if(n>r.length)for(r=r.concat([]);n>r.length;)r.push(s.create(this.binding,e));return r}},{key:"addLabel",value:function(e,t,n){i.default.renderEditorLabel(e,t,n,this.context)}},{key:"createEndOfRowNode",value:function(e,t,n){i.default.renderEditorLabelScopeEnd(e,t,n,this.context)}},{key:"addTable",value:function(e,t){return t.getItem().hasStyle("nonEditable")?this.addComponent(e,t):i.default.addEditorTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){i.default.fillEditorTable(e,t,{view:this})}},{key:"preRenderView",value:function(){i.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")?i.default.renderPresenter(e,t,this.context):i.default.renderEditor(e,t,this.context)}},{key:"createRowNode",value:function(e,t,n){if(null!=t||!n.hasStyle("nonEditable")){var r=h(m(l.prototype),"createRowNode",this).call(this,e,t,n);if("choice"===n.getType()&&void 0===n.getProperty()){var o=s.findPopularChoice(n,t.getParent());o&&t.setChoice(o)}var a=n.getDeps();if(a){var u=function(e){e?(i.default.domClassToggle(r,"missingDepsWithValue",!1),i.default.domClassToggle(r,"missingDeps",!1)):t.isValid()?i.default.domClassToggle(r,"missingDepsWithValue",!0):i.default.domClassToggle(r,"missingDeps",!0),t.getCardinalityTracker().setDepsOk(e)},c=s.findBindingRelativeToParentBinding(t.getParent(),a);s.matchPathBelowBinding(c,a)||u(!1),c.addListener((function e(){t.getParent()?u(s.matchPathBelowBinding(c,a)):c.removeListener(e)}))}return this.filterBinding(t)&&i.default.domClassToggle(r,"hiddenProperty",!0),n.hasStyle("deprecated")&&i.default.domClassToggle(r,"rdformsDeprecated",!0),r}}},{key:"isMultiValued",value:function(e){return i.default.multiValueSupport&&(e.hasStyle("horizontalCheckBoxes")||e.hasStyle("verticalCheckBoxes"))}},{key:"truncateAt",value:function(e,t){return-1}}])&&d(t.prototype,n),r&&d(t,r),Object.defineProperty(t,"prototype",{writable:!1}),l}(o.default);t.default=w},function(e,t,n){function r(e){return(r="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 i=a(n(297)),o=a(n(416));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(e){if(Array.isArray(e))return u(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 u(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 u(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,a}function c(){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=f(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}function f(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=y(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 h(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,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===r(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 y(e){return(y=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&&d(e,t)}(a,e);var t,n,r,i=h(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=i.call(this,e);var n=e.constraints,r=void 0===n?[]:n,o=e.childrenRootUri,s=void 0===o?null:o;return t._constraints=r,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(),r=this._item.getChildren(),i=function(){if(n===r[a]){var i=t._childBindings[a].length>0?t._childBindings[a][0].getCardinalityTracker():new o.default(n);return t._childBindings[a]=t._childBindings[a].concat(e),e.forEach((function(e){e.setParent(t),e.setCardinalityTracker(i),i.increment()}),t),"break"}},a=r.length;a>=0&&"break"!==i();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),c(y(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)&&c(y(a.prototype),"_isValidObjectValue",this).call(this,e)}}])&&l(t.prototype,n),r&&l(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(i.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 r,i=n(96),o=(r=n(60))&&r.__esModule?r:{default:r};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 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,o=void 0,o=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===a(o)?o:String(o)),r)}var i,o}var l=0,c=function(e,t,n){null==n||""===n||Array.isArray(n)&&0===n.length?delete e[t]:e[t]=n},f=function(){function e(t){var n=t.source,r=void 0===n?{}:n,i=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=r,this._bundle=i,l+=1,this._internalId=l,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=o.default.getLocalizedValue}var t,n,r;return t=e,(n=[{key:"getId",value:function(){var e=this.getSource(!0);return e.id||e["@id"]}},{key:"setId",value:function(e){c(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){c(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 r=this.getSource(n);return t?o.default.getLocalizedValue(r[e]):o.default.getLocalizedValue(r[e]).value}},{key:"_setText",value:function(e,t,n){var r=this.getSource(!0);r[e]=this._setLangHash(r[e],t,n),this.refreshExtends()}},{key:"_setTextMap",value:function(e,t){c(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=i.namespaces.expand(t)),t}},{key:"setProperty",value:function(e){c(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 i.namespaces.expand(e)})):t}},{key:"setURIValueLabelProperties",value:function(e){c(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 r=t[e];Array.isArray(r)?n[i.namespaces.expand(e)]=r.map((function(e){return i.namespaces.expand(e)})):n[i.namespaces.expand(e)]=i.namespaces.expand(r)})),n}return t}},{key:"setConstraints",value:function(e){c(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?i.namespaces.expand(e):e})):t}},{key:"setDeps",value:function(e){c(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 i.namespaces.expand(e)})):i.namespaces.expand(t):t}},{key:"setDatatype",value:function(e){c(this.getSource(!0),"datatype",e),this.refreshExtends()}},{key:"getPattern",value:function(e){return this.getSource(e).pattern}},{key:"setPattern",value:function(e){c(this.getSource(!0),"pattern",e),this.refreshExtends()}},{key:"getLanguage",value:function(e){return this.getSource(e).language}},{key:"setLanguage",value:function(e){c(this.getSource(!0),"language",e),this.refreshExtends()}},{key:"getMember",value:function(e){return this.getSource(e).member}},{key:"setMember",value:function(e){c(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){c(this.getSource(!0),"nodetype",e),this.refreshExtends()}},{key:"getValue",value:function(e){return this.getSource(e).value}},{key:"setValue",value:function(e){c(this.getSource(!0),"value",e),this.refreshExtends()}},{key:"getValueTemplate",value:function(e){return this.getSource(e).valueTemplate}},{key:"setValueTemplate",value:function(e){c(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){c(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){c(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){c(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 r=e||{};if("string"==typeof t)"string"==typeof n?r[n]=t:r[""]=t;else if("object"===a(t)&&null!==t)return t;return r}}])&&u(t.prototype,n),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=f},function(e,t,n){function r(e){return(r="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 i,o=n(96),a=(i=n(225))&&i.__esModule?i:{default:i};function s(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,a}function u(){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=l(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}function l(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(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 f(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,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){if(t&&("object"===r(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 h(e){return(h=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=o.namespaces.expand(e.value)}))},y=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)}(a,e);var t,n,r,i=f(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))._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){u(h(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?o.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?o.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?o.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),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(a.default);t.default=y},function(e,t,n){function r(e){return(r="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 i=a(n(174)),o=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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,a}function u(){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=l(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}function l(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(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 f(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,r=h(e);if(t){var i=h(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){if(t&&("object"===r(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 h(e){return(h=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",y="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&&c(e,t)}(a,e);var t,n,r,i=f(a);function a(e){var t,n=e.choice,r=e.item,o=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=i.call(this,{choice:n,item:r,statement:o,matchingCode:s}))._choice=n,t._validPredicate=null!=r.getProperty(),t}return t=a,r=[{key:"seeAlso",get:function(){return y}}],(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(o.default.WRONG_VALUE):e&&e.mismatch||this.getMatchingCode()!==o.default.WRONG_VALUE||this.setMatchingCode(o.default.OK)}},{key:"getChoice",value:function(){return this._choice}},{key:"setValue",value:function(e,t,n){var r=this.getValue();u(h(a.prototype),"setValue",this).call(this,e,t,n);var i=this._statement.getGraph();if(i.findAndRemove(r,p,void 0,n),i.findAndRemove(r,y,void 0,n),null!=e&&null!=t&&(t.seeAlso&&t.inlineSeeAlso&&i.create(e,y,t.seeAlso,!0,n),!0===t.inlineLabel)){var o=t.label||{};Object.keys(o).forEach((function(t){return i.create(e,p,{value:o[t],lang:t,type:"literal"},!0,n)}))}}}])&&s(t.prototype,n),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(i.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 r=n(260),i=n(48),o=n(210),a=n(12),s=n(26),u=n(94),l=s("species"),c=RegExp.prototype;e.exports=function(e,t,n,f){var d=s(e),h=!a((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),p=h&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!h||!p||n){var y=r(/./[d]),g=t(d,""[e],(function(e,t,n,i,a){var s=r(e),u=t.exec;return u===o||u===c.exec?h&&!a?{done:!0,value:y(t,n,i)}:{done:!0,value:s(n,t,i)}:{done:!1}}));i(String.prototype,e,g[0]),i(c,d,g[1])}f&&u(c[d],"sham",!0)}},function(e,t,n){var r=n(29),i=n(31),o=n(27),a=n(67),s=n(210),u=TypeError;e.exports=function(e,t){var n=e.exec;if(o(n)){var l=r(n,e,t);return null!==l&&i(l),l}if("RegExp"===a(e))return r(s,e,t);throw u("RegExp#exec called on incompatible receiver")}},function(e,t,n){var r=n(19),i=n(88),o=n(43),a=n(241),s=r("".replace),u=RegExp("^["+a+"]+"),l=RegExp("(^|[^"+a+"])["+a+"]+$"),c=function(e){return function(t){var n=o(i(t));return 1&e&&(n=s(n,u,"")),2&e&&(n=s(n,l,"$1")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t,n){function r(e){return(r="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 i=s(n(91)),o=s(n(37)),a=s(n(413));function s(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 l(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,a}function c(){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=f(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}function f(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=y(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 h(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,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===r(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 y(e){return(y=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 r=t.getChildren();return 0===r.length||!!n[0].getItemGroupedChildBindings().find((function(t,n){return g(e,r[n],t)}))}return!0},v=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)}(s,e);var t,n,r,a=h(s);function s(){return u(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",c(y(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")?o.default.filterTranslations(t,i.default.locale(),this.defaultLanguage):t}},{key:"addLabel",value:function(e,t,n){n.hasStyle("noLabelInPresent")?o.default.domClassToggle(e,"rdformsInvisibleGroup",!0):o.default.renderPresenterLabel(e,t,n,this.context)}},{key:"addTable",value:function(e,t){return o.default.addPresenterTable(e,t,{view:this})}},{key:"fillTable",value:function(e,t){return o.default.fillPresenterTable(e,t,{view:this})}},{key:"preRenderView",value:function(){o.default.prePresenterViewRenderer(this.domNode,this.binding,{view:this,topLevel:this.topLevel})}},{key:"addComponent",value:function(e,t){o.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}}])&&l(t.prototype,n),r&&l(t,r),Object.defineProperty(t,"prototype",{writable:!1}),s}(a.default);t.default=v},,,,,function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(e,t,n){var r,i,o={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===i&&(i=r.apply(this,arguments)),i}),s=function(e){return document.querySelector(e)},u=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]}}(),l=null,c=0,f=[],d=n(421);function h(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=o[r.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](r.parts[a]);for(;a<r.parts.length;a++)i.parts.push(b(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(b(r.parts[a],t));o[r.id]={id:r.id,refs:1,parts:s}}}}function p(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function y(e,t){var n=u(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 r=f[f.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),f.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 i=u(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,i)}}function g(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=f.indexOf(e);t>=0&&f.splice(t,1)}function v(e){var t=document.createElement("style");return e.attrs.type="text/css",m(t,e.attrs),y(e,t),t}function m(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function b(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var a=c++;n=l||(l=v(t)),r=x.bind(null,n,a,!1),i=x.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",m(t,e.attrs),y(e,t),t}(t),r=S.bind(null,n,t),i=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),r=O.bind(null,n),i=function(){g(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}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 h(n,t),function(e){for(var r=[],i=0;i<n.length;i++){var a=n[i];(s=o[a.id]).refs--,r.push(s)}e&&h(p(e,t),t);for(i=0;i<r.length;i++){var s;if(0===(s=r[i]).refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete o[s.id]}}}};var w,_=(w=[],function(e,t){return w[e]=t,w.filter(Boolean).join("\n")});function x(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function O(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function S(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=d(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},,,,function(e,t,n){var r=n(17),i=n(399).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},function(e,t,n){n(400)},,,function(e,t,n){var r=n(104);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t){var n="object"==typeof document&&document.all,r=void 0===n&&void 0!==n;e.exports={all:n,IS_HTMLDDA:r}},function(e,t,n){var r=n(33),i=n(12),o=n(156);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(33),i=n(12);e.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(e,t,n){var r=n(29),i=n(32),o=n(126),a=n(117),s=n(255),u=n(26),l=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,u=a(e,c);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!i(n)||o(n))return n;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},function(e,t,n){var r=n(29),i=n(27),o=n(32),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e)))return s;if(i(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},function(e,t,n){var r=n(19),i=n(12),o=n(27),a=n(28),s=n(33),u=n(127).CONFIGURABLE,l=n(205),c=n(66),f=c.enforce,d=c.get,h=String,p=Object.defineProperty,y=r("".slice),g=r("".replace),v=r([].join),m=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===y(h(t),0,7)&&(t="["+g(h(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),m&&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 r=f(e);return a(r,"source")||(r.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return o(this)&&d(this).source||l(this)}),"toString")},function(e,t,n){var r=n(21),i=n(27),o=r.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},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 r=n(156)("span").classList,i=r&&r.constructor&&r.constructor.prototype;e.exports=i===Object.prototype?void 0:i},function(e,t,n){var r=n(67),i=n(19);e.exports=function(e){if("Function"===r(e))return i(e)}},function(e,t,n){var r=n(28),i=n(321),o=n(90),a=n(49);e.exports=function(e,t,n){for(var s=i(t),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];r(e,f)||n&&r(n,f)||u(e,f,l(t,f))}}},function(e,t,n){var r=n(19),i=n(28),o=n(57),a=n(263).indexOf,s=n(129),u=r([].push);e.exports=function(e,t){var n,r=o(e),l=0,c=[];for(n in r)!i(s,n)&&i(r,n)&&u(c,n);for(;t.length>l;)i(r,n=t[l++])&&(~a(c,n)||u(c,n));return c}},function(e,t,n){var r=n(57),i=n(163),o=n(77),a=function(e){return function(t,n,a){var s,u=r(t),l=o(u),c=i(a,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){"use strict";var r=n(31);e.exports=function(){var e=r(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 r=n(12),i=n(21).RegExp,o=r((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},function(e,t,n){var r=n(33),i=n(253),o=n(49),a=n(31),s=n(57),u=n(133);t.f=r&&!i?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),i=u(t),l=i.length,c=0;l>c;)o.f(e,n=i[c++],r[n]);return e}},function(e,t,n){var r=n(55);e.exports=r("document","documentElement")},function(e,t,n){var r=n(12),i=n(21).RegExp;e.exports=r((function(){var e=i(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},function(e,t,n){var r=n(12),i=n(21).RegExp;e.exports=r((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},function(e,t,n){"use strict";var r=n(271).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(19),i=n(130),o=n(43),a=n(88),s=r("".charAt),u=r("".charCodeAt),l=r("".slice),c=function(e){return function(t,n){var r,c,f=o(a(t)),d=i(n),h=f.length;return d<0||d>=h?e?"":void 0:(r=u(f,d))<55296||r>56319||d+1===h||(c=u(f,d+1))<56320||c>57343?e?s(f,d):r:e?l(f,d,d+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},function(e,t,n){"use strict";var r=n(17),i=n(235).trim;r({target:"String",proto:!0,forced:n(340)("trim")},{trim:function(){return i(this)}})},function(e,t,n){var r=n(32),i=n(67),o=n(26)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(29),i=n(28),o=n(83),a=n(264),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||i(e,"flags")||!o(s,e)?t:r(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 r=n(105),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw i("Cannot delete property "+r(t)+" of "+r(e))}},function(e,t,n){var r=n(163),i=n(77),o=n(118),a=Array,s=Math.max;e.exports=function(e,t,n){for(var u=i(e),l=r(t,u),c=r(void 0===n?u:n,u),f=a(s(c-l,0)),d=0;l<c;l++,d++)o(f,d,e[l]);return f.length=d,f}},function(e,t,n){var r=n(67),i=n(57),o=n(108).f,a=n(277),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==r(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},function(e,t,n){var r=n(26);t.f=r},function(e,t,n){var r=n(21);e.exports=r},function(e,t,n){var r=n(29),i=n(55),o=n(26),a=n(48);e.exports=function(){var e=i("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=o("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return r(n,this)}),{arity:1})}},function(e,t,n){var r=n(104);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},function(e,t,n){"use strict";var r,i,o,a=n(12),s=n(27),u=n(32),l=n(95),c=n(167),f=n(48),d=n(26),h=n(64),p=d("iterator"),y=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(r=i):y=!0),!u(r)||a((function(){var e={};return r[p].call(e)!==e}))?r={}:h&&(r=l(r)),s(r[p])||f(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:y}},function(e,t,n){var r=n(12);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(161),i=n(105),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a constructor")}},function(e,t,n){var r=n(12);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var r=n(26),i=n(137),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,n){var r=n(29),i=n(65),o=n(31),a=n(105),s=n(218),u=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(i(n))return o(r(n,e));throw u(a(e)+" is not iterable")}},function(e,t,n){var r=n(29),i=n(31),o=n(117);e.exports=function(e,t,n){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return i(a),n}},function(e,t,n){"use strict";var r=n(95),i=n(134),o=n(220),a=n(107),s=n(171),u=n(71),l=n(138),c=n(215),f=n(216),d=n(213),h=n(33),p=n(170).fastKey,y=n(66),g=y.set,v=y.getterFor;e.exports={getConstructor:function(e,t,n,c){var f=e((function(e,i){s(e,d),g(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),h||(e.size=0),u(i)||l(i,e[c],{that:e,AS_ENTRIES:n})})),d=f.prototype,y=v(t),m=function(e,t,n){var r,i,o=y(e),a=b(e,t);return a?a.value=n:(o.last=a={index:i=p(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),h?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},b=function(e,t){var n,r=y(e),i=p(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(d,{clear:function(){for(var e=y(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,h?e.size=0:this.size=0},delete:function(e){var t=y(this),n=b(this,e);if(n){var r=n.next,i=n.previous;delete t.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),t.first==n&&(t.first=r),t.last==n&&(t.last=i),h?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=y(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),o(d,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return m(this,0===e?0:e,t)}}:{add:function(e){return m(this,e=0===e?0:e,e)}}),h&&i(d,"size",{configurable:!0,get:function(){return y(this).size}}),f},setStrong:function(e,t,n){var r=t+" Iterator",i=v(t),o=v(r);c(e,t,(function(e,t){g(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(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)?f("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,f(void 0,!0))}),n?"entries":"values",!n,!0),d(t)}}},function(e,t,n){var r=n(172),i=r.find,o=r.NAMESPACE;function a(e){return""!==e}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function u(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 l(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function c(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,l(n,r=new r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var f={},d=f.ELEMENT_NODE=1,h=f.ATTRIBUTE_NODE=2,p=f.TEXT_NODE=3,y=f.CDATA_SECTION_NODE=4,g=f.ENTITY_REFERENCE_NODE=5,v=f.ENTITY_NODE=6,m=f.PROCESSING_INSTRUCTION_NODE=7,b=f.COMMENT_NODE=8,w=f.DOCUMENT_NODE=9,_=f.DOCUMENT_TYPE_NODE=10,x=f.DOCUMENT_FRAGMENT_NODE=11,O=f.NOTATION_NODE=12,S={},T={},k=(S.INDEX_SIZE_ERR=(T[1]="Index size error",1),S.DOMSTRING_SIZE_ERR=(T[2]="DOMString size error",2),S.HIERARCHY_REQUEST_ERR=(T[3]="Hierarchy request error",3)),E=(S.WRONG_DOCUMENT_ERR=(T[4]="Wrong document",4),S.INVALID_CHARACTER_ERR=(T[5]="Invalid character",5),S.NO_DATA_ALLOWED_ERR=(T[6]="No data allowed",6),S.NO_MODIFICATION_ALLOWED_ERR=(T[7]="No modification allowed",7),S.NOT_FOUND_ERR=(T[8]="Not found",8)),j=(S.NOT_SUPPORTED_ERR=(T[9]="Not supported",9),S.INUSE_ATTRIBUTE_ERR=(T[10]="Attribute in use",10));S.INVALID_STATE_ERR=(T[11]="Invalid state",11),S.SYNTAX_ERR=(T[12]="Syntax error",12),S.INVALID_MODIFICATION_ERR=(T[13]="Invalid modification",13),S.NAMESPACE_ERR=(T[14]="Invalid namespace",14),S.INVALID_ACCESS_ERR=(T[15]="Invalid access",15);function C(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,C);return n.code=e,t&&(this.message=this.message+": "+t),n}function P(){}function A(e,t){this._node=e,this._refresh=t,N(this)}function N(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);ve(e,"length",n.length),l(n,e),e._inc=t}}function D(){}function R(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function M(e,t,n,r){if(r?t[R(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&Y(i,e,r),function(e,t,n){e&&e._inc++,n.namespaceURI===o.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(i,e,n))}}function L(e,t,n){var r=R(t,n);if(!(r>=0))throw new C(E,new Error(e.tagName+"@"+n));for(var i=t.length-1;r<i;)t[r]=t[++r];if(t.length=i,e){var o=e.ownerDocument;o&&(Y(o,e,n),n.ownerElement=null)}}function I(){}function F(){}function V(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 U(){this.ownerDocument=this}function Y(e,t,n,r){e&&e._inc++,n.namespaceURI===o.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function H(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,o=0;i;)r[o++]=i,i=i.nextSibling;r.length=o,delete r[r.length]}}}function G(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,H(e.ownerDocument,e),t}function W(e){return e&&e.nodeType===F.DOCUMENT_TYPE_NODE}function z(e){return e&&e.nodeType===F.ELEMENT_NODE}function q(e){return e&&e.nodeType===F.TEXT_NODE}function X(e,t){var n=e.childNodes||[];if(i(n,z)||W(t))return!1;var r=i(n,W);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function $(e,t){var n=e.childNodes||[];if(i(n,(function(e){return z(e)&&e!==t})))return!1;var r=i(n,W);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function Q(e,t,n){if(!function(e){return e&&(e.nodeType===F.DOCUMENT_NODE||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.ELEMENT_NODE)}(e))throw new C(k,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new C(E,"child not in parent");if(!function(e){return e&&(z(e)||q(e)||W(e)||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.COMMENT_NODE||e.nodeType===F.PROCESSING_INSTRUCTION_NODE)}(t)||W(t)&&e.nodeType!==F.DOCUMENT_NODE)throw new C(k,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function J(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var a=o.filter(z);if(a.length>1||i(o,q))throw new C(k,"More than one element or text in fragment");if(1===a.length&&!X(e,n))throw new C(k,"Element in fragment can not be inserted before doctype")}if(z(t)&&!X(e,n))throw new C(k,"Only one element can be added and only after doctype");if(W(t)){if(i(r,W))throw new C(k,"Only one doctype is allowed");var s=i(r,z);if(n&&r.indexOf(s)<r.indexOf(n))throw new C(k,"Doctype can only be inserted before an element");if(!n&&s)throw new C(k,"Doctype can not be appended since element is present")}}function Z(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var a=o.filter(z);if(a.length>1||i(o,q))throw new C(k,"More than one element or text in fragment");if(1===a.length&&!$(e,n))throw new C(k,"Element in fragment can not be inserted before doctype")}if(z(t)&&!$(e,n))throw new C(k,"Only one element can be added and only after doctype");if(W(t)){if(i(r,(function(e){return W(e)&&e!==n})))throw new C(k,"Only one doctype is allowed");var s=i(r,z);if(n&&r.indexOf(s)<r.indexOf(n))throw new C(k,"Doctype can only be inserted before an element")}}function K(e,t,n,r){Q(e,t,n),e.nodeType===F.DOCUMENT_NODE&&(r||J)(e,t,n);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===x){var o=t.firstChild;if(null==o)return t;var a=t.lastChild}else o=a=t;var s=n?n.previousSibling:e.lastChild;o.previousSibling=s,a.nextSibling=n,s?s.nextSibling=o:e.firstChild=o,null==n?e.lastChild=a:n.previousSibling=a;do{o.parentNode=e}while(o!==a&&(o=o.nextSibling));return H(e.ownerDocument||e,e),t.nodeType==x&&(t.firstChild=t.lastChild=null),t}function ee(){this._nsMap={}}function te(){}function ne(){}function re(){}function ie(){}function oe(){}function ae(){}function se(){}function ue(){}function le(){}function ce(){}function fe(){}function de(){}function he(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,i=r.prefix,o=r.namespaceURI;if(o&&null==i&&null==(i=r.lookupPrefix(o)))var a=[{namespace:o,prefix:null}];return ge(this,n,e,t,a),n.join("")}function pe(e,t,n){var r=e.prefix||"",i=e.namespaceURI;if(!i)return!1;if("xml"===r&&i===o.XML||i===o.XMLNS)return!1;for(var a=n.length;a--;){var s=n[a];if(s.prefix===r)return s.namespace!==i}return!0}function ye(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,V),'"')}function ge(e,t,n,r,i){if(i||(i=[]),r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case d:var a=e.attributes,s=a.length,u=e.firstChild,l=e.tagName,c=l;if(!(n=o.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var f,v=0;v<a.length;v++)if("xmlns"===a.item(v).name){f=a.item(v).value;break}if(!f)for(var O=i.length-1;O>=0;O--){if(""===(S=i[O]).prefix&&S.namespace===e.namespaceURI){f=S.namespace;break}}if(f!==e.namespaceURI)for(O=i.length-1;O>=0;O--){var S;if((S=i[O]).namespace===e.namespaceURI){S.prefix&&(c=S.prefix+":"+l);break}}}t.push("<",c);for(var T=0;T<s;T++){"xmlns"==(k=a.item(T)).prefix?i.push({prefix:k.localName,namespace:k.value}):"xmlns"==k.nodeName&&i.push({prefix:"",namespace:k.value})}for(T=0;T<s;T++){var k,E,j;if(pe(k=a.item(T),0,i))ye(t,(E=k.prefix||"")?"xmlns:"+E:"xmlns",j=k.namespaceURI),i.push({prefix:E,namespace:j});ge(k,t,n,r,i)}if(l===c&&pe(e,0,i))ye(t,(E=e.prefix||"")?"xmlns:"+E:"xmlns",j=e.namespaceURI),i.push({prefix:E,namespace:j});if(u||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(l)){if(t.push(">"),n&&/^script$/i.test(l))for(;u;)u.data?t.push(u.data):ge(u,t,n,r,i.slice()),u=u.nextSibling;else for(;u;)ge(u,t,n,r,i.slice()),u=u.nextSibling;t.push("</",c,">")}else t.push("/>");return;case w:case x:for(u=e.firstChild;u;)ge(u,t,n,r,i.slice()),u=u.nextSibling;return;case h:return ye(t,e.name,e.value);case p:return t.push(e.data.replace(/[<&>]/g,V));case y:return t.push("<![CDATA[",e.data,"]]>");case b:return t.push("\x3c!--",e.data,"--\x3e");case _:var C=e.publicId,P=e.systemId;if(t.push("<!DOCTYPE ",e.name),C)t.push(" PUBLIC ",C),P&&"."!=P&&t.push(" ",P),t.push(">");else if(P&&"."!=P)t.push(" SYSTEM ",P,">");else{var A=e.internalSubset;A&&t.push(" [",A,"]"),t.push(">")}return;case m:return t.push("<?",e.target," ",e.data,"?>");case g:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ve(e,t,n){e[t]=n}C.prototype=Error.prototype,l(S,C),P.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)ge(this[r],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)}},A.prototype.item=function(e){return N(this),this[e]},c(A,P),D.prototype={length:0,item:P.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 C(j);var n=this.getNamedItem(e.nodeName);return M(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new C(j);return t=this.getNamedItemNS(e.namespaceURI,e.localName),M(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return L(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return L(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},I.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new U;if(r.implementation=this,r.childNodes=new P,r.doctype=n||null,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new ae;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}},F.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 K(this,e,t)},replaceChild:function(e,t){K(this,e,t,Z),t&&this.removeChild(t)},removeChild:function(e){return G(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,n,r){var i=new n.constructor;for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var a=n[o];"object"!=typeof a&&a!=i[o]&&(i[o]=a)}n.childNodes&&(i.childNodes=new P);switch(i.ownerDocument=t,i.nodeType){case d:var s=n.attributes,u=i.attributes=new D,l=s.length;u._ownerElement=i;for(var c=0;c<l;c++)i.setAttributeNode(e(t,s.item(c),!0));break;case h:r=!0}if(r)for(var f=n.firstChild;f;)i.appendChild(e(t,f,r)),f=f.nextSibling;return i}(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 r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r;t=t.nodeType==h?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==h?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},l(f,F),l(f,F.prototype),U.prototype={nodeName:"#document",nodeType:w,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==x){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return K(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===d&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),G(this,e)},replaceChild:function(e,t){K(this,e,t,Z),e.ownerDocument=this,t&&this.removeChild(t),z(e)&&(this.documentElement=e)},importNode:function(e,t){return function e(t,n,r){var i;switch(n.nodeType){case d:(i=n.cloneNode(!1)).ownerDocument=t;case x:break;case h:r=!0}i||(i=n.cloneNode(!1));if(i.ownerDocument=t,i.parentNode=null,r)for(var o=n.firstChild;o;)i.appendChild(e(t,o,r)),o=o.nextSibling;return i}(this,e,t)},getElementById:function(e){var t=null;return B(this.documentElement,(function(n){if(n.nodeType==d&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=u(e);return new A(this,(function(n){var r=[];return t.length>0&&B(n.documentElement,(function(i){if(i!==n&&i.nodeType===d){var o=i.getAttribute("class");if(o){var a=e===o;if(!a){var s=u(o);a=t.every((l=s,function(e){return l&&-1!==l.indexOf(e)}))}a&&r.push(i)}}var l})),r}))},createElement:function(e){var t=new ee;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new P,(t.attributes=new D)._ownerElement=t,t},createDocumentFragment:function(){var e=new ce;return e.ownerDocument=this,e.childNodes=new P,e},createTextNode:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new oe;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new fe;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 le;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new ee,r=t.split(":"),i=n.attributes=new D;return n.childNodes=new P,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new te,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},c(U,F),ee.prototype={nodeType:d,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===x?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,H(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 r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new A(this,(function(t){var n=[];return B(t,(function(r){r===t||r.nodeType!=d||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new A(this,(function(n){var r=[];return B(n,(function(i){i===n||i.nodeType!==d||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||r.push(i)})),r}))}},U.prototype.getElementsByTagName=ee.prototype.getElementsByTagName,U.prototype.getElementsByTagNameNS=ee.prototype.getElementsByTagNameNS,c(ee,F),te.prototype.nodeType=h,c(te,F),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[k])},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}},c(ne,F),re.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 r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},c(re,ne),ie.prototype={nodeName:"#comment",nodeType:b},c(ie,ne),oe.prototype={nodeName:"#cdata-section",nodeType:y},c(oe,ne),ae.prototype.nodeType=_,c(ae,F),se.prototype.nodeType=O,c(se,F),ue.prototype.nodeType=v,c(ue,F),le.prototype.nodeType=g,c(le,F),ce.prototype.nodeName="#document-fragment",ce.prototype.nodeType=x,c(ce,F),fe.prototype.nodeType=m,c(fe,F),de.prototype.serializeToString=function(e,t,n){return he.call(e,t,n)},F.prototype.toString=he;try{if(Object.defineProperty){Object.defineProperty(A.prototype,"length",{get:function(){return N(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case d:case x: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 d:case x: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}}}),ve=function(e,t,n){e["$$"+t]=n}}}catch(e){}t.DocumentType=ae,t.DOMException=C,t.DOMImplementation=I,t.Element=ee,t.Node=F,t.NodeList=P,t.XMLSerializer=de},function(e,t,n){function r(e){return(r="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 i=function(e){return void 0!==e&&(null===e||"object"===r(e)||Array.isArray(e)||"function"==typeof e)},o=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(!i(e[0]))throw new Error("Graph is not a object.");if(!o(e[1]))throw new Error("Subject is not a string.");if(!o(e[2]))throw new Error("Predicate is not a string.");if(!i(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.")},u=function(e,t){return e===t||null==e&&e===t||(o(e)?o(t)?e===t:e===t.value:o(t)?e.value===t:e.type===t.type&&e.value===t.value&&e.lang===t.lang&&e.datatype===t.datatype)},l=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},c=function(e){return"".concat(e.value).concat(e.type).concat(e.lang||"").concat(e.datatype||"").concat(e.ng||"")},f={isObject:i,isString:o,isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},statementEquals:function(e,t){return e.s===t.s&&e.p===t.p&&u(e.o,t.o)},add:function(e,t,n,r,i){if(s([e,t,n,r]),void 0===e[t])return e[t]={},e[t][n]=[r],r;if(void 0===e[t][n])return e[t][n]=[r],r;var o,a=e[t][n];if(!i)for(o=a.length-1;o>=0;o--)if(u(r,a[o]))return a[o];return a.push(r),r},remove:function(e,t,n,r){if(s([e,t,n,r]),void 0!==e[t]&&void 0!==e[t][n]){var i,o=e[t][n];for(i=o.length-1;i>=0;i--)if(u(r,o[i])){var l=o[i];return o.splice(i,1),a(e,t,n),l}}},contains:function(e,t,n,r){if(s([e,t,n,r]),void 0!==e[t]&&void 0!==e[t][n]){var i,o=e[t][n];for(i=o.length-1;i>=0;i--)if(u(r,o[i]))return o[i]}},cleanup:a,checkForWrongArgs:s,objectEquals:u,findDirectOrRDFValue:function(e,t,n){var r=e.find(t,n);if(r.length>0)return"bnode"!==r[0].getType()?r[0].getValue():e.findFirstValue(r[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(r){var i=e[r];n[r]={},Object.keys(i).forEach((function(e){var o=i[e];if(1===o.length)n[r][e]=[l(o[0])];else if(t){var a=[],s=new Set;n[r][e]=a,i[e].forEach((function(e){var t=l(e),n=c(t);s.has(n)||(s.add(n),a.push(t))}))}else{var u=[];n[r][e]=u,i[e].forEach((function(e){u.push(l(e))}))}}))})),n}};t.default=f},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 r,i=(r=n(109))&&r.__esModule?r:{default:r};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 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}var s=function(){function e(t,n,r,i,o){!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=r,this._o=i,this._o._statement=this,this._asserted=o}var t,n,r;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=i.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=i.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),r&&a(t,r),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 r=o(n(109)),i=o(n(401));function o(e){return e&&e.__esModule?e:{default:e}}var a={extract:function e(t,n,r,i,o){var a=i||{};return t.find(r,null,null).forEach((function(r){a[r.getPredicate()]?o&&n.add(r):(n.add(r),"bnode"===r.getType()&&e(t,n,r.getValue(),a))})),n},remove:function e(t,n,r){var i=r||{};t.find(n,null,null).forEach((function(n){t.remove(n),i[n.getPredicate()]||"bnode"===n.getType()&&e(t,n.getValue(),i)}))},fingerprint:function(e,t){var n=[],o=new Set((t||[]).map((function(e){return r.default.expand(e)}))),a=[],s={},u=function(e){var t=e.getValue();return e.getLanguage()&&(t+="@".concat(e.getLanguage())),e.getDatatype()&&(t+="^^".concat(e.getDatatype())),t},l=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(),r=e.getPredicate();if(!o.has(r)){var i="bnode"===e.getType(),s=e.isSubjectBlank();if(s||i)return a.push(e),s&&l(e.getSubject(),i?r:r+u(e)),void("bnode"===e.getType()&&l(e.getValue(),s?r:t+r));n.push(t+r+u(e))}})),Object.values(s).forEach((function(e){e.rels.sort(),e.hash=(0,i.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:u(e)),n.push(t.join(""))})),n.sort(),(0,i.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 r=t.indexOf(":");if(r<0)return console.log("Invalid base URL "+t),e;var i,o=t.slice(0,r+1);if(0==e.indexOf("//"))return o+e;if(t.indexOf("//",r)==r+1){if((i=t.indexOf("/",r+3))<0)return t.length-r-3>0?t+"/"+e:o+e}else if((i=t.indexOf("/",r+1))<0)return t.length-r-1>0?t+"/"+e:o+e;if(0==e.indexOf("/"))return t.slice(0,i)+e;var a=t.slice(i),s=a.lastIndexOf("/");if(s<0)return o+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,i)+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 r,i=(r=n(60))&&r.__esModule?r:{default:r};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 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}var s=0,u=function(){function e(t){var n=t.item,r=t.statement,i=t.graph,o=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=r,this._graph=i,this._ancestorValid=!0,this._cardinalityTracker=null,this._hash="b_".concat(s),this._matchingCode=o||"correct",s+=1}var t,n,r;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 i.default.extractGist(this.getValue(),this.getItem().getValueTemplate())}},{key:"setGist",value:function(e,t){var n=e,r=this.getItem().getValueTemplate();r&&n.length>0&&(-1===r.indexOf("$1")&&(r+="$1"),n=r.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=i.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),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=u},function(e,t,n){function r(e){return(r="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 i;function o(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,a}function s(){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=u(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}function u(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function l(e,t){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c(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,r=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===r(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(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 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&&l(e,t)}(u,e);var t,n,r,i=c(u);function u(){return o(this,u),i.apply(this,arguments)}return t=u,(n=[{key:"getChildren",value:function(e){if(null==this._delegatedChildren){var t=function(){return{min:1,max:1,pref:1}},n=s(d(u.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),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(((i=n(173))&&i.__esModule?i:{default:i}).default);t.default=h},function(e,t,n){function r(e){return(r="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 i;function o(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,a}function s(e,t){return(s=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,r=c(e);if(t){var i=c(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){if(t&&("object"===r(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 f=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)}(l,e);var t,n,r,i=u(l);function l(){return o(this,l),i.apply(this,arguments)}return t=l,(n=[{key:"getLabelProperties",value:function(e){return this.getSource(e).labelProperties}}])&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),l}(((i=n(225))&&i.__esModule?i:{default:i}).default);t.default=f},function(e,t,n){var r,i,o,a,s=n(21),u=n(166),l=n(107),c=n(27),f=n(28),d=n(12),h=n(267),p=n(165),y=n(156),g=n(435),v=n(301),m=n(175),b=s.setImmediate,w=s.clearImmediate,_=s.process,x=s.Dispatch,O=s.Function,S=s.MessageChannel,T=s.String,k=0,E={};d((function(){r=s.location}));var j=function(e){if(f(E,e)){var t=E[e];delete E[e],t()}},C=function(e){return function(){j(e)}},P=function(e){j(e.data)},A=function(e){s.postMessage(T(e),r.protocol+"//"+r.host)};b&&w||(b=function(e){g(arguments.length,1);var t=c(e)?e:O(e),n=p(arguments,1);return E[++k]=function(){u(t,void 0,n)},i(k),k},w=function(e){delete E[e]},m?i=function(e){_.nextTick(C(e))}:x&&x.now?i=function(e){x.now(C(e))}:S&&!v?(a=(o=new S).port2,o.port1.onmessage=P,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!d(A)?(i=A,s.addEventListener("message",P,!1)):i="onreadystatechange"in y("script")?function(e){h.appendChild(y("script")).onreadystatechange=function(){h.removeChild(this),j(e)}}:function(e){setTimeout(C(e),0)}),e.exports={set:b,clear:w}},function(e,t,n){var r=n(93);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},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 r=n(139),i=n(219),o=n(140).CONSTRUCTOR;e.exports=o||!i((function(e){r.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 r=n(34),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(222)(e))},,,,,,,,,,,,,,function(e,t,n){var r=n(55),i=n(19),o=n(108),a=n(164),s=n(31),u=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?u(t,n(e)):t}},,,,,,,,,,,,,,,,,,function(e,t,n){n(366)},function(e,t,n){var r=n(127).PROPER,i=n(12),o=n(241);e.exports=function(e){return i((function(){return!!o[e]()||"​…᠎"!=="​…᠎"[e]()||r&&o[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 _})),n.d(t,"Response",(function(){return O})),n.d(t,"DOMException",(function(){return T})),n.d(t,"fetch",(function(){return k}));var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r&&r,i="URLSearchParams"in r,o="Symbol"in r&&"iterator"in Symbol,a="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),s="FormData"in r,u="ArrayBuffer"in r;if(u)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(e){return e&&l.indexOf(Object.prototype.toString.call(e))>-1};function f(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 d(e){return"string"!=typeof e&&(e=String(e)),e}function h(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return o&&(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 y(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 v(e){var t=new FileReader,n=g(t);return t.readAsArrayBuffer(e),n}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function b(){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:i&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():u&&a&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):u&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=m(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):i&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var e=y(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=y(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(v)}),this.text=function(){var e,t,n,r=y(this);if(r)return r;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),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);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(x)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(e,t){e=f(e),t=d(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},p.prototype.delete=function(e){delete this.map[f(e)]},p.prototype.get=function(e){return e=f(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(f(e))},p.prototype.set=function(e,t){this.map[f(e)]=d(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)})),h(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),h(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),h(e)},o&&(p.prototype[Symbol.iterator]=p.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function _(e,t){if(!(this instanceof _))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof _){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,i||null==e._bodyInit||(i=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",r=n.toUpperCase(),w.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function x(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function O(e,t){if(!(this instanceof O))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)}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})},b.call(_.prototype),b.call(O.prototype),O.prototype.clone=function(){return new O(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},O.error=function(){var e=new O(null,{status:0,statusText:""});return e.type="error",e};var S=[301,302,303,307,308];O.redirect=function(e,t){if(-1===S.indexOf(t))throw new RangeError("Invalid status code");return new O(null,{status:t,headers:{location:e}})};var T=r.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 k(e,t){return new Promise((function(n,i){var o=new _(e,t);if(o.signal&&o.signal.aborted)return i(new T("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e,t,r={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(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;setTimeout((function(){n(new O(i,r))}),0)},s.onerror=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},s.ontimeout=function(){setTimeout((function(){i(new TypeError("Network request failed"))}),0)},s.onabort=function(){setTimeout((function(){i(new T("Aborted","AbortError"))}),0)},s.open(o.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(o.url),!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&(a?s.responseType="blob":u&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof p?o.headers.forEach((function(e,t){s.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){s.setRequestHeader(e,d(t.headers[e]))})),o.signal&&(o.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&o.signal.removeEventListener("abort",l)}),s.send(void 0===o._bodyInit?null:o._bodyInit)}))}k.polyfill=!0,r.fetch||(r.fetch=k,r.Headers=p,r.Request=_,r.Response=O)},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(201),i=n(159);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,n){"use strict";var r=n(106).forEach,i=n(208)("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}},function(e,t,n){var r=n(131),i=n(161),o=n(32),a=n(26)("species"),s=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(i(t)&&(t===s||r(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},function(e,t,n){var r=n(17),i=n(21);r({global:!0,forced:i.globalThis!==i},{globalThis:i})},function(e,t,n){"use strict";var r=n(33),i=n(19),o=n(29),a=n(12),s=n(133),u=n(164),l=n(162),c=n(54),f=n(160),d=Object.assign,h=Object.defineProperty,p=i([].concat);e.exports=!d||a((function(){if(r&&1!==d({b:1},d(h({},"a",{enumerable:!0,get:function(){h(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!=d({},e)[n]||"abcdefghijklmnopqrst"!=s(d({},t)).join("")}))?function(e,t){for(var n=c(e),i=arguments.length,a=1,d=u.f,h=l.f;i>a;)for(var y,g=f(arguments[a++]),v=d?p(s(g),d(g)):s(g),m=v.length,b=0;m>b;)y=v[b++],r&&!o(h,g,y)||(n[y]=g[y]);return n}:d},function(e,t,n){var r=n(19),i=n(65);e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},function(e,t,n){var r=n(27),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},function(e,t,n){var r=n(49).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},function(e,t,n){var r=n(277),i=Math.floor,o=function(e,t){var n=e.length,u=i(n/2);return n<8?a(e,t):s(e,o(r(e,0,u),t),o(r(e,u),t),t)},a=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,s=0;a<i||s<o;)e[a+s]=a<i&&s<o?r(t[a],n[s])<=0?t[a++]:n[s++]:a<i?t[a++]:n[s++];return e};e.exports=o},function(e,t,n){var r=n(93).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},function(e,t,n){var r=n(93);e.exports=/MSIE|Trident/.test(r)},function(e,t,n){var r=n(93).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},function(e,t,n){"use strict";var r=n(17),i=n(21),o=n(29),a=n(19),s=n(64),u=n(33),l=n(104),c=n(12),f=n(28),d=n(83),h=n(31),p=n(57),y=n(157),g=n(43),v=n(128),m=n(95),b=n(133),w=n(108),_=n(278),x=n(164),O=n(90),S=n(49),T=n(266),k=n(162),E=n(48),j=n(134),C=n(103),P=n(158),A=n(129),N=n(155),D=n(26),R=n(279),M=n(136),L=n(281),I=n(84),F=n(66),V=n(106).forEach,B=P("hidden"),U=F.set,Y=F.getterFor("Symbol"),H=Object.prototype,G=i.Symbol,W=G&&G.prototype,z=i.TypeError,q=i.QObject,X=O.f,$=S.f,Q=_.f,J=k.f,Z=a([].push),K=C("symbols"),ee=C("op-symbols"),te=C("wks"),ne=!q||!q.prototype||!q.prototype.findChild,re=u&&c((function(){return 7!=m($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=X(H,t);r&&delete H[t],$(e,t,n),r&&e!==H&&$(H,t,r)}:$,ie=function(e,t){var n=K[e]=m(W);return U(n,{type:"Symbol",tag:e,description:t}),u||(n.description=t),n},oe=function(e,t,n){e===H&&oe(ee,t,n),h(e);var r=y(t);return h(n),f(K,r)?(n.enumerable?(f(e,B)&&e[B][r]&&(e[B][r]=!1),n=m(n,{enumerable:v(0,!1)})):(f(e,B)||$(e,B,v(1,{})),e[B][r]=!0),re(e,r,n)):$(e,r,n)},ae=function(e,t){h(e);var n=p(t),r=b(n).concat(ce(n));return V(r,(function(t){u&&!o(se,n,t)||oe(e,t,n[t])})),e},se=function(e){var t=y(e),n=o(J,this,t);return!(this===H&&f(K,t)&&!f(ee,t))&&(!(n||!f(this,t)||!f(K,t)||f(this,B)&&this[B][t])||n)},ue=function(e,t){var n=p(e),r=y(t);if(n!==H||!f(K,r)||f(ee,r)){var i=X(n,r);return!i||!f(K,r)||f(n,B)&&n[B][r]||(i.enumerable=!0),i}},le=function(e){var t=Q(p(e)),n=[];return V(t,(function(e){f(K,e)||f(A,e)||Z(n,e)})),n},ce=function(e){var t=e===H,n=Q(t?ee:p(e)),r=[];return V(n,(function(e){!f(K,e)||t&&!f(H,e)||Z(r,K[e])})),r};l||(E(W=(G=function(){if(d(W,this))throw z("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=N(e),n=function(e){this===H&&o(n,ee,e),f(this,B)&&f(this[B],t)&&(this[B][t]=!1),re(this,t,v(1,e))};return u&&ne&&re(H,t,{configurable:!0,set:n}),ie(t,e)}).prototype,"toString",(function(){return Y(this).tag})),E(G,"withoutSetter",(function(e){return ie(N(e),e)})),k.f=se,S.f=oe,T.f=ae,O.f=ue,w.f=_.f=le,x.f=ce,R.f=function(e){return ie(D(e),e)},u&&(j(W,"description",{configurable:!0,get:function(){return Y(this).description}}),s||E(H,"propertyIsEnumerable",se,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:G}),V(b(te),(function(e){M(e)})),r({target:"Symbol",stat:!0,forced:!l},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(e,t){return void 0===t?m(e):ae(m(e),t)},defineProperty:oe,defineProperties:ae,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:le}),L(),I(G,"Symbol"),A[B]=!0},function(e,t,n){var r=n(17),i=n(55),o=n(28),a=n(43),s=n(103),u=n(282),l=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=a(e);if(o(l,t))return l[t];var n=i("Symbol")(t);return l[t]=n,c[n]=t,n}})},function(e,t,n){var r=n(17),i=n(28),o=n(126),a=n(105),s=n(103),u=n(282),l=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{keyFor:function(e){if(!o(e))throw TypeError(a(e)+" is not a symbol");if(i(l,e))return l[e]}})},function(e,t,n){var r=n(17),i=n(55),o=n(166),a=n(29),s=n(19),u=n(12),l=n(27),c=n(126),f=n(165),d=n(379),h=n(104),p=String,y=i("JSON","stringify"),g=s(/./.exec),v=s("".charAt),m=s("".charCodeAt),b=s("".replace),w=s(1..toString),_=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,O=/^[\uDC00-\uDFFF]$/,S=!h||u((function(){var e=i("Symbol")();return"[null]"!=y([e])||"{}"!=y({a:e})||"{}"!=y(Object(e))})),T=u((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),k=function(e,t){var n=f(arguments),r=d(t);if(l(r)||void 0!==e&&!c(e))return n[1]=function(e,t){if(l(r)&&(t=a(r,this,p(e),t)),!c(t))return t},o(y,null,n)},E=function(e,t,n){var r=v(n,t-1),i=v(n,t+1);return g(x,e)&&!g(O,i)||g(O,e)&&!g(x,r)?"\\u"+w(m(e,0),16):e};y&&r({target:"JSON",stat:!0,arity:3,forced:S||T},{stringify:function(e,t,n){var r=f(arguments),i=o(S?k:y,null,r);return T&&"string"==typeof i?b(i,_,E):i}})},function(e,t,n){var r=n(19),i=n(131),o=n(27),a=n(67),s=n(43),u=r([].push);e.exports=function(e){if(o(e))return e;if(i(e)){for(var t=e.length,n=[],r=0;r<t;r++){var l=e[r];"string"==typeof l?u(n,l):"number"!=typeof l&&"Number"!=a(l)&&"String"!=a(l)||u(n,s(l))}var c=n.length,f=!0;return function(e,t){if(f)return f=!1,t;if(i(this))return t;for(var r=0;r<c;r++)if(n[r]===e)return t}}}},function(e,t,n){var r=n(17),i=n(104),o=n(12),a=n(164),s=n(54);r({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},function(e,t,n){"use strict";var r=n(283).IteratorPrototype,i=n(95),o=n(128),a=n(84),s=n(137),u=function(){return this};e.exports=function(e,t,n,l){var c=t+" Iterator";return e.prototype=i(r,{next:o(+!l,n)}),a(e,c,!1,!0),s[c]=u,e}},function(e,t,n){"use strict";var r=n(33),i=n(131),o=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!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(i(e)&&!a(e,"length").writable)throw o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},function(e,t,n){function r(e){return(r="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 i=n(96);function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,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 r=t[e];Array.isArray(r)?n[i.namespaces.expand(e)]=r.map((function(e){return i.namespaces.expand(e)})):n[i.namespaces.expand(e)]=i.namespaces.expand(r)})),this.filterObj[e]=n;break;case"predicate":case"rdftype":case"datatype":this.filterObj[e]=i.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,r;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 r=e.getDatatype(),i=!0;if(r&&(i=Array.isArray(r)?!r.includes(t.datatype):r!==t.datatype),i)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(),r=!0;return null!=n&&(Object.keys(n).find((function(e){var i=t[e];return""!==i&&"*"!==i&&i!==n[e]&&(r=!1,!0)})),r)}(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 r=this.calculatePriority(e,this.components[n].filter);if(r>=0)return r}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,r,i,o=-1,a=0;a<this.components.length;a++)i=this.components[a],(r=this.calculatePriority(e,i.filter))>o&&(void 0===t||r<t)&&(n=i,o=r);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)}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,n){"use strict";var r=n(31),i=n(255),o=TypeError;e.exports=function(e){if(r(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw o("Incorrect hint");return i(this,e)}},function(e,t,n){var r=n(19);e.exports=r(1..valueOf)},function(e,t,n){var r=n(273),i=TypeError;e.exports=function(e){if(r(e))throw i("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(26)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!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 r=l(n(395)),i=l(n(221)),o=l(n(109)),a=l(n(292)),s=l(n(404)),u=n(405);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="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 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,o=void 0,o=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===c(o)?o:String(o)),r)}var i,o}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(t&&("object"===c(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,r)}function r(){return y(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),v(r,e)})(e)}function y(e,t,n){return(y=g()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&v(i,n.prototype),i}).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 v(e,t){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b,w,_=" ",x=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&&v(e,t)}(s,e);var t,n,r,i,o,a=(t=s,n=g(),function(){var e,r=m(t);if(n){var i=m(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return h(this,e)});function s(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"regular";d(this,s);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(e=a.call.apply(a,[this].concat(r))).type=t,e}return r=s,i&&f(r.prototype,i),o&&f(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}(p(Error));if("undefined"==typeof window||void 0===window.DOMParser&&"undefined"==typeof ActiveXObject){b=function(e){return(new XMLSerializer).serializeToString(e)};var O=r.default.DOMParser;w=function(e){return(new O).parseFromString(e,"text/xml")}}else b=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 S=function(e){if(/["<>^`{|}]/i.test(e))throw new x("character",'URL "'.concat(e,'" is not allowed to contain special characters " < > \\ ^ ` { | or }.'));if(!/^(?:[a-z][a-z0-9+.-]*:)/i.test(e))throw new x("relative","Relative URL not supported: ".concat(e));if(/ /i.test(e)){if(t.convertSpacesInURIs)return e.replace(/ /g,"%20");throw new x("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 r=t||new i.default({}),o=new u.RDFFormula;o.add=function(e,t,n){var i,o,a={};if(e instanceof u.RDFBlankNode?(i=e.toString(),r.registerBNode(i)):(e.uri=S(e.uri),i=e.uri),t instanceof u.RDFBlankNode)o=t.toString(),r.registerBNode(o);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=S(t.uri),o=t.uri}n instanceof u.RDFLiteral?(a.type="literal",a.value=n.value,n.lang&&(a.lang=n.lang),n.datatype&&(a.datatype=n.datatype.uri)):n instanceof u.RDFSymbol?(n.uri=S(n.uri),a.type="uri",a.value=n.uri):n instanceof u.RDFBlankNode&&(a.value=n.toString(),r.registerBNode(a.value),a.type="bnode"),r.create(i,o,a,!0)};var l=new s.default(o);return l.parse(n,"",""),r},k=function(e){return encodeURI(decodeURI(e)).replace(/&/g,"&amp;")},E={xml2string:b,string2xml:w,rdfxml2graph:T,rdfjson2rdfxml:function(e){var t=e instanceof i.default?e._graph:e||{},n=[],r={},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(k(e),'">\n'));var i=t[e];Object.keys(i).forEach((function(e){var t,s,u=(t=e,s=o.default.nsify(t),r[s.abbrev]||(n.push(s.abbrev),r[s.abbrev]=s.ns),s.pretty);i[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(_,"<").concat(u,' xml:lang="').concat(e.lang,'">').concat(t,"</").concat(u,">\n")):null!=e.datatype?a.push("".concat(_,"<").concat(u,' rdf:datatype="').concat(e.datatype,'">').concat(t,"</").concat(u,">\n")):a.push("".concat(_,"<").concat(u,">").concat(t,"</").concat(u,">\n"));break;case"uri":a.push("".concat(_,"<").concat(u,' rdf:resource="').concat(k(e.value),'"/>\n'));break;case"bnode":"_:"===e.value.substr(0,2)?a.push("".concat(_,"<").concat(u,' rdf:nodeID="_').concat(e.value.substring(2),'"/>\n')):a.push("".concat(_,"<").concat(u,' 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#"'],u=0;u<n.length;u++)"rdf"!==n[u]&&s.push("\n\txmlns:".concat(n[u],'="').concat(r[n[u]],'"'));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 i.default(n)}catch(e){t.error="Invalid json.",t.errorCode=3}}else t.error="No RDF detected.",t.errorCode=4;else e instanceof i.default?(t.format="rdf/json",t.graph=e):"object"===c(e)&&null!==e?(t.format="rdf/json",t.graph=new i.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 r=n(19),i=n(65),o=n(32),a=n(28),s=n(165),u=n(124),l=Function,c=r([].concat),f=r([].join),d={},h=function(e,t,n){if(!a(d,t)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";d[t]=l("C,a","return new C("+f(r,",")+")")}return d[t](e,n)};e.exports=u?l.bind:function(e){var t=i(this),n=t.prototype,r=s(arguments,1),a=function(){var n=c(r,s(arguments));return this instanceof a?h(t,n.length,n):t.apply(e,n)};return o(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 r=n(12),i=n(32),o=n(67),a=n(393),s=Object.isExtensible,u=r((function(){s(1)}));e.exports=u||a?function(e){return!!i(e)&&((!a||"ArrayBuffer"!=o(e))&&(!s||s(e)))}:s},function(e,t,n){var r=n(12);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},function(e,t,n){var r=n(19),i=n(54),o=Math.floor,a=r("".charAt),s=r("".replace),u=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,f,d){var h=n+e.length,p=r.length,y=c;return void 0!==f&&(f=i(f),y=l),s(d,y,(function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,h);case"<":l=f[u(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var d=o(c/10);return 0===d?i:d<=p?void 0===r[d-1]?a(s,1):r[d-1]+a(s,1):i}l=r[c-1]}return void 0===l?"":l}))}},function(e,t,n){var r=n(291);t.DOMImplementation=r.DOMImplementation,t.XMLSerializer=r.XMLSerializer,t.DOMParser=n(396).DOMParser},function(e,t,n){var r=n(172),i=n(291),o=n(397),a=n(398),s=i.DOMImplementation,u=r.NAMESPACE,l=a.ParseError,c=a.XMLReader;function f(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function d(e){this.options=e||{locator:{}}}function h(){this.cdata=!1}function p(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function y(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 v(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}d.prototype.parseFromString=function(e,t){var n=this.options,r=new c,i=n.domBuilder||new h,a=n.errorHandler,s=n.locator,l=n.xmlns||{},d=/\/x?html?$/.test(t),p=d?o.HTML_ENTITIES:o.XML_ENTITIES;s&&i.setDocumentLocator(s),r.errorHandler=function(e,t,n){if(!e){if(t instanceof h)return t;e=t}var r={},i=e instanceof Function;function o(t){var o=e[t];!o&&i&&(o=2==e.length?function(n){e(t,n)}:e),r[t]=o&&function(e){o("[xmldom "+t+"]\t"+e+y(n))}||function(){}}return n=n||{},o("warning"),o("error"),o("fatalError"),r}(a,i,s),r.domBuilder=n.domBuilder||i,d&&(l[""]=u.HTML),l.xml=l.xml||u.XML;var g=n.normalizeLineEndings||f;return e&&"string"==typeof e?r.parse(g(e),l,p):r.errorHandler.error("invalid doc source"),i.doc},h.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),a=r.length;v(this,o),this.currentElement=o,this.locator&&p(this.locator,o);for(var s=0;s<a;s++){e=r.getURI(s);var u=r.getValue(s),l=(n=r.getQName(s),i.createAttributeNS(e,n));this.locator&&p(r.getLocator(s),l),l.value=l.nodeValue=u,o.setAttributeNode(l)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName;this.currentElement=r.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),v(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=g.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&p(this.locator,r)}},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 r=this.doc.createComment(e);this.locator&&p(this.locator,r),v(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&p(this.locator,i),v(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning]\t"+e,y(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,y(this.locator))},fatalError:function(e){throw new l(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){h.prototype[e]=function(){return null}})),t.__DOMHandler=h,t.normalizeLineEndings=f,t.DOMParser=d},function(e,t,n){var r=n(172).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({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 r=n(172).NAMESPACE,i=/[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]/,o=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function l(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function c(e,t,n,i,o,a){function s(e,t,r){n.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),r)}for(var u,l=++t,c=0;;){var f=e.charAt(l);switch(f){case"=":if(1===c)u=e.slice(t,l),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(a.warning('attribute value must after "="'),u=e.slice(t,l)),t=l+1,!((l=e.indexOf(f,t))>0))throw new Error("attribute value no end '"+f+"' match");s(u,d=e.slice(t,l),t-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');s(u,d=e.slice(t,l),t),a.warning('attribute "'+u+'" missed start quot('+f+")!!"),t=l+1,c=5}break;case"/":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:c=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==c&&n.setTagName(e.slice(t,l)),l;case">":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:break;case 4:case 1:"/"===(d=e.slice(t,l)).slice(-1)&&(n.closed=!0,d=d.slice(0,-1));case 2:2===c&&(d=u),4==c?(a.warning('attribute "'+d+'" missed quot(")!'),s(u,d,t)):(r.isHTML(i[""])&&d.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+d+'" missed value!! "'+d+'" instead!!'),s(d,d,t));break;case 3:throw new Error("attribute value missed!!")}return l;case"€":f=" ";default:if(f<=" ")switch(c){case 0:n.setTagName(e.slice(t,l)),c=6;break;case 1:u=e.slice(t,l),c=2;break;case 4:var d=e.slice(t,l);a.warning('attribute "'+d+'" missed quot(")!!'),s(u,d,t);case 5:c=6}else switch(c){case 2:n.tagName;r.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,t),t=l,c=1;break;case 5:a.warning('attribute space is required"'+u+'"!!');case 6:c=1,t=l;break;case 3:c=4,t=l;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}l++}}function f(e,t,n){for(var i=e.tagName,o=null,a=e.length;a--;){var s=e[a],u=s.qName,l=s.value;if((h=u.indexOf(":"))>0)var c=s.prefix=u.slice(0,h),f=u.slice(h+1),d="xmlns"===c&&f;else f=u,c=null,d="xmlns"===u&&"";s.localName=f,!1!==d&&(null==o&&(o={},p(n,n={})),n[d]=o[d]=l,s.uri=r.XMLNS,t.startPrefixMapping(d,l))}for(a=e.length;a--;){(c=(s=e[a]).prefix)&&("xml"===c&&(s.uri=r.XML),"xmlns"!==c&&(s.uri=n[c||""]))}var h;(h=i.indexOf(":"))>0?(c=e.prefix=i.slice(0,h),f=e.localName=i.slice(h+1)):(c=null,f=e.localName=i);var y=e.uri=n[c||""];if(t.startElement(y,f,i,e),!e.closed)return e.currentNSMap=n,e.localNSMap=o,!0;if(t.endElement(y,f,i),o)for(c in o)Object.prototype.hasOwnProperty.call(o,c)&&t.endPrefixMapping(c)}function d(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var o=e.indexOf("</"+n+">",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return/^script$/i.test(n)?(i.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,r),i.characters(a,0,a.length),o)}return t+1}function h(e,t,n,r){var i=r[n];return null==i&&((i=e.lastIndexOf("</"+n+">"))<t&&(i=e.lastIndexOf("</"+n)),r[n]=i),i<t}function p(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function y(e,t,n,r){switch(e.charAt(t+2)){case"-":return"-"===e.charAt(t+3)?(i=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,i-t-4),i+3):(r.error("Unclosed comment"),-1):-1;default:if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var o=function(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=t,i.exec(e);for(;n=i.exec(e);)if(r.push(n),n[1])return r}(e,t),a=o.length;if(a>1&&/!doctype/i.test(o[0][0])){var s=o[1][0],u=!1,l=!1;a>3&&(/^public$/i.test(o[2][0])?(u=o[3][0],l=a>4&&o[4][0]):/^system$/i.test(o[2][0])&&(l=o[3][0]));var c=o[a-1];return n.startDTD(s,u,l),n.endDTD(),c.index+c[0].length}}return-1}function g(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return n.processingInstruction(i[1],i[2]),r+2}return-1}return-1}function v(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,u.prototype={parse:function(e,t,n){var i=this.domBuilder;i.startDocument(),p(t,t={}),function(e,t,n,i,o){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"))):(o.error("entity not found:"+e),e)}function u(t){if(t>S){var n=e.substring(S,t).replace(/&#?\w+;/g,a);_&&p(S),i.characters(n,0,t-S),S=t}}function p(t,n){for(;t>=b&&(n=w.exec(e));)m=n.index,b=m+n[0].length,_.lineNumber++;_.columnNumber=t-m+1}var m=0,b=0,w=/.*(?:\r\n?|\n)|.*$/g,_=i.locator,x=[{currentNSMap:t}],O={},S=0;for(;;){try{var T=e.indexOf("<",S);if(T<0){if(!e.substr(S).match(/^\s*$/)){var k=i.doc,E=k.createTextNode(e.substr(S));k.appendChild(E),i.currentElement=E}return}switch(T>S&&u(T),e.charAt(T+1)){case"/":var j=e.indexOf(">",T+3),C=e.substring(T+2,j).replace(/[ \t\n\r]+$/g,""),P=x.pop();j<0?(C=e.substring(T+2).replace(/[\s<].*/,""),o.error("end tag name: "+C+" is not complete:"+P.tagName),j=T+1+C.length):C.match(/\s</)&&(C=C.replace(/[\s<].*/,""),o.error("end tag name: "+C+" maybe not complete"),j=T+1+C.length);var A=P.localNSMap,N=P.tagName==C;if(N||P.tagName&&P.tagName.toLowerCase()==C.toLowerCase()){if(i.endElement(P.uri,P.localName,C),A)for(var D in A)Object.prototype.hasOwnProperty.call(A,D)&&i.endPrefixMapping(D);N||o.fatalError("end tag name: "+C+" is not match the current start tagName:"+P.tagName)}else x.push(P);j++;break;case"?":_&&p(T),j=g(e,T,i);break;case"!":_&&p(T),j=y(e,T,i,o);break;default:_&&p(T);var R=new v,M=x[x.length-1].currentNSMap,L=(j=c(e,T,R,M,a,o),R.length);if(!R.closed&&h(e,j,R.tagName,O)&&(R.closed=!0,n.nbsp||o.warning("unclosed xml attribute")),_&&L){for(var I=l(_,{}),F=0;F<L;F++){var V=R[F];p(V.offset),V.locator=l(_,{})}i.locator=I,f(R,i,M)&&x.push(R),i.locator=_}else f(R,i,M)&&x.push(R);r.isHTML(R.uri)&&!R.closed?j=d(e,j,R.tagName,a,i):j++}}catch(e){if(e instanceof s)throw e;o.error("element parse error: "+e),j=-1}j>S?S=j:u(Math.max(T,S)+1)}}(e,t,n,i,this.errorHandler),i.endDocument()}},v.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=u,t.ParseError=s},function(e,t,n){var r=n(33),i=n(19),o=n(133),a=n(57),s=i(n(162).f),u=i([].push),l=function(e){return function(t){for(var n,i=a(t),l=o(i),c=l.length,f=0,d=[];c>f;)n=l[f++],r&&!s(i,n)||u(d,e?[n,i[n]]:i[n]);return d}};e.exports={entries:l(!0),values:l(!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 r,i,o,a,s;r=n(402),i=n(295).utf8,o=n(403),a=n(295).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):i.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),u=8*e.length,l=1732584193,c=-271733879,f=-1732584194,d=271733878,h=0;h<n.length;h++)n[h]=16711935&(n[h]<<8|n[h]>>>24)|4278255360&(n[h]<<24|n[h]>>>8);n[u>>>5]|=128<<u%32,n[14+(u+64>>>9<<4)]=u;var p=s._ff,y=s._gg,g=s._hh,v=s._ii;for(h=0;h<n.length;h+=16){var m=l,b=c,w=f,_=d;l=p(l,c,f,d,n[h+0],7,-680876936),d=p(d,l,c,f,n[h+1],12,-389564586),f=p(f,d,l,c,n[h+2],17,606105819),c=p(c,f,d,l,n[h+3],22,-1044525330),l=p(l,c,f,d,n[h+4],7,-176418897),d=p(d,l,c,f,n[h+5],12,1200080426),f=p(f,d,l,c,n[h+6],17,-1473231341),c=p(c,f,d,l,n[h+7],22,-45705983),l=p(l,c,f,d,n[h+8],7,1770035416),d=p(d,l,c,f,n[h+9],12,-1958414417),f=p(f,d,l,c,n[h+10],17,-42063),c=p(c,f,d,l,n[h+11],22,-1990404162),l=p(l,c,f,d,n[h+12],7,1804603682),d=p(d,l,c,f,n[h+13],12,-40341101),f=p(f,d,l,c,n[h+14],17,-1502002290),l=y(l,c=p(c,f,d,l,n[h+15],22,1236535329),f,d,n[h+1],5,-165796510),d=y(d,l,c,f,n[h+6],9,-1069501632),f=y(f,d,l,c,n[h+11],14,643717713),c=y(c,f,d,l,n[h+0],20,-373897302),l=y(l,c,f,d,n[h+5],5,-701558691),d=y(d,l,c,f,n[h+10],9,38016083),f=y(f,d,l,c,n[h+15],14,-660478335),c=y(c,f,d,l,n[h+4],20,-405537848),l=y(l,c,f,d,n[h+9],5,568446438),d=y(d,l,c,f,n[h+14],9,-1019803690),f=y(f,d,l,c,n[h+3],14,-187363961),c=y(c,f,d,l,n[h+8],20,1163531501),l=y(l,c,f,d,n[h+13],5,-1444681467),d=y(d,l,c,f,n[h+2],9,-51403784),f=y(f,d,l,c,n[h+7],14,1735328473),l=g(l,c=y(c,f,d,l,n[h+12],20,-1926607734),f,d,n[h+5],4,-378558),d=g(d,l,c,f,n[h+8],11,-2022574463),f=g(f,d,l,c,n[h+11],16,1839030562),c=g(c,f,d,l,n[h+14],23,-35309556),l=g(l,c,f,d,n[h+1],4,-1530992060),d=g(d,l,c,f,n[h+4],11,1272893353),f=g(f,d,l,c,n[h+7],16,-155497632),c=g(c,f,d,l,n[h+10],23,-1094730640),l=g(l,c,f,d,n[h+13],4,681279174),d=g(d,l,c,f,n[h+0],11,-358537222),f=g(f,d,l,c,n[h+3],16,-722521979),c=g(c,f,d,l,n[h+6],23,76029189),l=g(l,c,f,d,n[h+9],4,-640364487),d=g(d,l,c,f,n[h+12],11,-421815835),f=g(f,d,l,c,n[h+15],16,530742520),l=v(l,c=g(c,f,d,l,n[h+2],23,-995338651),f,d,n[h+0],6,-198630844),d=v(d,l,c,f,n[h+7],10,1126891415),f=v(f,d,l,c,n[h+14],15,-1416354905),c=v(c,f,d,l,n[h+5],21,-57434055),l=v(l,c,f,d,n[h+12],6,1700485571),d=v(d,l,c,f,n[h+3],10,-1894986606),f=v(f,d,l,c,n[h+10],15,-1051523),c=v(c,f,d,l,n[h+1],21,-2054922799),l=v(l,c,f,d,n[h+8],6,1873313359),d=v(d,l,c,f,n[h+15],10,-30611744),f=v(f,d,l,c,n[h+6],15,-1560198380),c=v(c,f,d,l,n[h+13],21,1309151649),l=v(l,c,f,d,n[h+4],6,-145523070),d=v(d,l,c,f,n[h+11],10,-1120210379),f=v(f,d,l,c,n[h+2],15,718787259),c=v(c,f,d,l,n[h+9],21,-343485551),l=l+m>>>0,c=c+b>>>0,f=f+w>>>0,d=d+_>>>0}return r.endian([l,c,f,d])})._ff=function(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._gg=function(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._hh=function(e,t,n,r,i,o,a){var s=e+(t^n^r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._ii=function(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+(i>>>0)+a;return(s<<o|s>>>32-o)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={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&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.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,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%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=[],r=0;r<e.length;r+=3)for(var i=e[r]<<16|e[r+1]<<8|e[r+2],o=0;o<4;o++)8*r+6*o<=8*e.length?t.push(n.charAt(i>>>6*(3-o)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,i=0;r<e.length;i=++r%4)0!=i&&t.push((n.indexOf(e.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|n.indexOf(e.charAt(r))>>>6-2*i);return t}},e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
28
- /*!
29
- * Determine if an object is a Buffer
41
+ * @author Louis-Dominique Dubeau
42
+ * @license MIT
43
+ * @copyright Louis-Dominique Dubeau
44
+ */Object.defineProperty(e,"__esModule",{value:!0}),e.CHAR="-퟿-�𐀀-􏿿",e.RESTRICTED_CHAR="-\b\v\f--„†-Ÿ",e.S=" \t\r\n",e.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",e.NAME_CHAR="-"+e.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",e.CHAR_RE=new RegExp("^["+e.CHAR+"]$","u"),e.RESTRICTED_CHAR_RE=new RegExp("^["+e.RESTRICTED_CHAR+"]$","u"),e.S_RE=new RegExp("^["+e.S+"]+$","u"),e.NAME_START_CHAR_RE=new RegExp("^["+e.NAME_START_CHAR+"]$","u"),e.NAME_CHAR_RE=new RegExp("^["+e.NAME_CHAR+"]$","u"),e.NAME_RE=new RegExp("^["+e.NAME_START_CHAR+"]["+e.NAME_CHAR+"]*$","u"),e.NMTOKEN_RE=new RegExp("^["+e.NAME_CHAR+"]+$","u");function r(t){return t>=65&&t<=90||t>=97&&t<=122||58===t||95===t||8204===t||8205===t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}e.S_LIST=[32,10,13,9],e.isChar=function(t){return t>=1&&t<=55295||t>=57344&&t<=65533||t>=65536&&t<=1114111},e.isRestrictedChar=function(t){return t>=1&&t<=8||11===t||12===t||t>=14&&t<=31||t>=127&&t<=132||t>=134&&t<=159},e.isCharAndNotRestricted=function(t){return 9===t||10===t||13===t||t>31&&t<127||133===t||t>159&&t<=55295||t>=57344&&t<=65533||t>=65536&&t<=1114111},e.isS=function(t){return 32===t||10===t||13===t||9===t},e.isNameStartChar=r,e.isNameChar=function(t){return r(t)||t>=48&&t<=57||45===t||46===t||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},87046:(t,e)=>{"use strict";
45
+ /**
46
+ * Character class utilities for XML NS 1.0 edition 3.
30
47
  *
31
- * @author Feross Aboukhadijeh <https://feross.org>
32
- * @license MIT
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 r,i=n(296),o=r=function(e){r.ns={RDF:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",RDFS:"http://www.w3.org/2000/01/rdf-schema#"},r.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,i.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,i.join)("#"+this.parent.rdfid,this.base));this.store.add(e,this.store.sym(r.ns.RDF+"type"),this.store.sym(r.ns.RDF+"Statement"),this.parser.why),this.store.add(e,this.store.sym(r.ns.RDF+"subject"),this.parent.parent.node,this.parser.why),this.store.add(e,this.store.sym(r.ns.RDF+"predicate"),this.parent.node,this.parser.why),this.store.add(e,this.store.sym(r.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==r.ns.RDF+"li"&&(e=r.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 i,o=e.childNodes;if(this.cleanParser(),e.nodeType==r.nodeType.DOCUMENT){for(var a=0;a<o.length;a++)if(o[a].nodeType==r.nodeType.ELEMENT){i=o[a];break}}else{if(e.nodeType!=r.nodeType.ELEMENT)throw new Error("RDFParser: can't find root in "+t+". Halting. ");i=e}this.why=n;var s=this.frameFactory(this);return s.base=t,s.lang="",this.parseDOM(this.buildFrame(s,i)),!0},this.parseDOM=function(e){for(var t=function(e){return e.namespaceURI+e.localName},n=!0;e.parent;){var o,a,s=e.element,u=s.attributes;if(s.nodeType==r.nodeType.TEXT||s.nodeType==r.nodeType.CDATA_SECTION)e.addLiteral(s.nodeValue);else if(t(s)!=r.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&&(o=s.getAttributeNodeNS(r.ns.RDF,"ID"))&&(e.rdfid=o.nodeValue,s.removeAttributeNode(o));var l=s.getAttributeNodeNS(r.ns.RDF,"parseType"),c=s.getAttributeNodeNS(r.ns.RDF,"datatype");if(c&&(e.datatype=c.nodeValue,s.removeAttributeNode(c)),l){var f=l.nodeValue;"Literal"==f?(e.datatype=r.ns.RDF+"XMLLiteral",(e=this.buildFrame(e)).addLiteral(s),n=!1):"Resource"==f?((e=this.buildFrame(e,e.element)).parent.element=null,e.addBNode()):"Collection"==f&&((e=this.buildFrame(e,e.element)).parent.element=null,e.addCollection()),s.removeAttributeNode(l)}if(0!=u.length){var d=s.getAttributeNodeNS(r.ns.RDF,"resource");for(a=s.getAttributeNodeNS(r.ns.RDF,"nodeID"),e=this.buildFrame(e),d?(e.addNode(d.nodeValue),s.removeAttributeNode(d)):a?(e.addBNode(a.nodeValue),s.removeAttributeNode(a)):e.addBNode(),g=u.length-1;g>=0;g--){var h=this.buildFrame(e);h.addArc(t(u[g])),t(u[g])==r.ns.RDF+"type"?this.buildFrame(h).addNode(u[g].nodeValue):this.buildFrame(h).addLiteral(u[g].nodeValue)}}else 0==s.childNodes.length&&this.buildFrame(e).addLiteral("")}else{var p=s.getAttributeNodeNS(r.ns.RDF,"about");if(o=s.getAttributeNodeNS(r.ns.RDF,"ID"),p&&o)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&&o?(e.addNode("#"+o.nodeValue),s.removeAttributeNode(o)):null==p&&null==o?(a=s.getAttributeNodeNS(r.ns.RDF,"nodeID"))?(e.addBNode(a.nodeValue),s.removeAttributeNode(a)):e.addBNode():(e.addNode(p.nodeValue),s.removeAttributeNode(p));var y=s.getAttributeNodeNS(r.ns.RDF,"type");r.ns.RDF+"Description"!=t(s)&&(y={nodeValue:t(s)}),null!=y&&(this.store.add(e.node,this.store.sym(r.ns.RDF+"type"),this.store.sym((0,i.join)(y.nodeValue,e.base)),this.why),y.nodeName&&s.removeAttributeNode(y));for(var g=u.length-1;g>=0;g--)this.store.add(e.node,this.store.sym(t(u[g])),this.store.literal(u[g].nodeValue,e.lang),this.why)}for(s=e.element;e.parent;){for(var v=e;null==s;)s=(e=e.parent).element;var m=s.childNodes,b=null!=m?m[e.lastChild]:null;if(null!=b&&n){if((b.nodeType==r.nodeType.ELEMENT||b.nodeType==r.nodeType.TEXT||b.nodeType==r.nodeType.CDATA_SECTION)&&(b.nodeType!=r.nodeType.TEXT&&b.nodeType!=r.nodeType.CDATA_SECTION||1==s.childNodes.length)){e.lastChild++,e=this.buildFrame(v,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==r.nodeType.TEXT||t.nodeType==r.nodeType.CDATA_SECTION)return n;var i=t.attributes,o=t.getAttributeNode("xml:base");null!=o&&(n.base=o.nodeValue,t.removeAttribute("xml:base"));var a=t.getAttributeNode("xml:lang");null!=a&&(n.lang=a.nodeValue,t.removeAttribute("xml:lang"));for(var s=i.length-1;s>=0;s--)"xml"==i[s].nodeName.substr(0,3)&&t.removeAttributeNode(i[s]);return n}};t.default=o},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 r=n(296);function i(e){throw new TypeError('"'+e+'" is read-only')}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 a=function(e){return"object"===o(e)?e:"string"==typeof e?new d(e):void(void 0!==e&&alert("Can't make term from ".concat(e," of type ").concat(o(e))))},s=function(){return this};s.prototype.termType="empty",s.prototype.toString=function(){return""},s.prototype.toNT=function(){return""};var u=function(){return"<"+this.uri+">"},l=function(e){return this.uri=e,this};t.RDFSymbol=l,l.prototype.termType="symbol",l.prototype.toString=u,l.prototype.toNT=u;var c=0,f=function(){return this.id=c++,this};t.RDFBlankNode=f,f.prototype.termType="bnode",f.prototype.toNT=function(){return"_:n"+this.id},f.prototype.toString=f.prototype.toNT;var d=function(e,t,n){return this.value=e,this.lang=t,this.datatype=n,this};t.RDFLiteral=d,d.prototype.termType="literal",d.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,"\\\\"),i("str"),e.replace(/"/g,'\\"'),i("str"),i("str"),this.datatype&&(this.datatype,i("str")),this.lang&&(this.lang,i("str")),e},d.prototype.toString=function(){return this.value};var h=function(){this.id=c++,this.elements=[],this.closed=!1};h.prototype.termType="collection",h.prototype.toNT=function(){return"_:n"+this.id},h.prototype.toString=h.prototype.toNT,h.prototype.append=function(e){this.elements.push(e)},h.prototype.close=function(){this.closed=!0};var p=function(){return this.subject.toNT()+" "+this.predicate.toNT()+" "+this.object.toNT()+" ."},y=function(e,t,n,r){return this.subject=a(e),this.predicate=a(t),this.object=a(n),void 0!==r&&(this.why=r),this};y.prototype.toNT=p,y.prototype.toString=p;var g=function(){return this.statements=[],this.constraints=[],this.initBindings=[],this.optional=[],this};t.RDFFormula=g;var v=function(){return"{\n"+this.statements.join("\n")+"}"};g.prototype.termType="formula",g.prototype.toNT=v,g.prototype.toString=v,g.prototype.add=function(e,t,n,r){this.statements.push(new y(e,t,n,r))},g.prototype.sym=function(e,t){return null!=t&&(e=this.namespaces[e]+t),new l(e)},g.prototype.literal=function(e,t,n){return new d(e.toString(),t,n)},g.prototype.bnode=function(){return new f},g.prototype.formula=function(){return new g},g.prototype.collection=function(){return new h};var m=function(e){return this.uri=(0,r.join)(e,"varid:"),this};m.prototype.termType="variable",m.prototype.toNT=function(){return"varid:"==this.uri.slice(0,"varid:".length)?"?".concat(this.uri.slice("varid:".length)):"?".concat(this.uri)},m.prototype.toString=m.prototype.toNT,m.prototype.classOrder=7,g.prototype.variable=function(e){return new m(e)},m.prototype.hashString=m.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 r=new f;return r.id=parseInt(e.slice(3)),c--,r}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 r,i=(r=n(109))&&r.__esModule?r:{default:r};var o=function(e,t){for(var n={},r=e.find(t),o=0;o<r.length;o++){var a=r[o];"bnode"!==a.getType()&&(n[i.default.shorten(a.getPredicate())]=a.getValue())}return n};t.pretty=o;var a=function e(t,n,r){for(var i=r||{},o=t?t.find(n):[],a=[],s=0;s<o.length;s++){var u=o[s];if("literal"===u.getType())a.push({stmt:u});else{var l={stmt:u},c=u.getValue();i[c]||(i[c]=!0,l.children=e(t,c,i))}}return a};t.statementTree=a;var s=function(e,t){var n=a(e,t),r=[];return function e(t,n){for(var i=0;i<t.length;i++){var o=t[i];o.indent=n,r.push(o),o.children&&(e(o.children,n+1),delete o.children)}}(n,1),r};t.statementList=s;var u=function(e,t){for(var n=s(e,t),r=0;r<n.length;r++){var o=n[r],a=o.stmt;a.isSubjectBlank()?o.s=a.getSubject():o.s=i.default.shorten(a.getSubject()),o.p=i.default.shorten(a.getPredicate());var u=a.getType();if("uri"===u){o.o=i.default.shorten(a.getValue());var l=a.getLanguage(),c=a.getDatatype();null!=l?o.o+="@@".concat(l):null!=c&&(o.o+="^^".concat(c))}else o.o='"'.concat(a.getValue(),'"')}return n};t.prettyTree=u;var l={pretty:o,statementList:s,statementTree:a,prettyTree:u};t.default=l},function(e,t,n){function r(e){return(r="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 i,o=(i=n(221))&&i.__esModule?i:{default:i};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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,a}function u(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var l={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#"},c={rdftype:"".concat(l.rdf,"type"),rdfssco:"".concat(l.rdfs,"subClassOf"),rdfsdomain:"".concat(l.rdfs,"domain"),rdfsrange:"".concat(l.rdfs,"range"),rdfsspo:"".concat(l.rdfs,"subPropertyOf"),rdfsClass:"".concat(l.rdfs,"Class"),owlClass:"".concat(l.owl,"Class"),owlObjectProperty:"".concat(l.owl,"ObjectProperty"),owlDatatypeProperty:"".concat(l.owl,"DatatypeProperty"),rdfProperty:"".concat(l.rdf,"Property")},f=function(e,t,n){for(var r={},i=!1,o=e.find(t,n),a=0;a<o.length;a++){var s=o[a];"literal"===s.getType()&&(r[s.getLanguage()||""]=s.getValue()||"",i=!0)}if(i)return null==r.en&&null!=r[""]&&(r.en=r[""],delete r[""]),r},d=function(e){for(var t=[],n={},r=0;r<e.length;r++){var i=e[r];n[i]||(t.push(i),n[i]=!0)}return t},h=function(){function e(t,n){a(this,e),this._uri=t,this._parents=[],this._children=[],this._graph=n}return u(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=f(this._graph,this._uri,"".concat(l.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=f(this._graph,this._uri,"".concat(l.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=d(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=d(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,r){for(var i=0;i<n.length;i++){var o=n[i],a=o.getSubject(),s=e[a];if(s||(s=new h(a,o.getGraph()),e[a]=s,t.push(s)),r){var u=o.getValue(),l=e[u];l||(l=new h(u,o.getGraph()),e[u]=l,t.push(l)),s.addParent(l)}}},y=function(){function e(){a(this,e),this._cidx={},this._carr=[],this._pidx={},this._parr=[]}return u(e,[{key:"addGraph",value:function(e){p(this._cidx,this._carr,e.find(null,c.rdftype,c.rdfsClass)),p(this._cidx,this._carr,e.find(null,c.rdftype,c.owlClass)),p(this._cidx,this._carr,e.find(null,c.rdfssco,null),!0),p(this._pidx,this._parr,e.find(null,c.rdftype,c.rdfProperty)),p(this._pidx,this._parr,e.find(null,c.rdfsspo,null),!0),p(this._pidx,this._parr,e.find(null,c.rdftype,c.owlDatatypeProperty)),p(this._pidx,this._parr,e.find(null,c.rdftype,c.owlObjectProperty)),function(e,t,n){for(var r,i,o,a=e.find(null,c.rdfsdomain,null),s=0;s<a.length;s++)r=t[(o=a[s]).getSubject()],i=n[o.getValue()],null!=r&&null!=i&&r.setDomain(i);a=e.find(null,c.rdfsrange,null);for(var u=0;u<a.length;u++)r=t[(o=a[u]).getSubject()],i=o.getValue(),null!=r&&null!=i&&r.setRange(i)}(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 h(e,new o.default),this._cidx[e]=t,this._carr.push(t),n=!0);for(var r=0;r<this._carr.length;r++){var i=this._carr[r];(n&&i!==t||-1===i.getParents().indexOf(t)&&i!==t)&&i.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()),r=0;r<n.length;r++)for(var i=n[r],o=i.getGraph.find(null,c.rdftype,i.getURI()),a=0;a<o.length;a++)t.push(o[a].getSubject());return t}}]),e}();y.prototype.ns=l,y.prototype.terms=c,y.global=new y;var g=y;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 r=n(28);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},function(e,t,n){"use strict";var r,i=n(286),o=n(21),a=n(19),s=n(220),u=n(170),l=n(217),c=n(412),f=n(32),d=n(66).enforce,h=n(12),p=n(257),y=Object,g=Array.isArray,v=y.isExtensible,m=y.isFrozen,b=y.isSealed,w=y.freeze,_=y.seal,x={},O={},S=!o.ActiveXObject&&"ActiveXObject"in o,T=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},k=l("WeakMap",T,c),E=k.prototype,j=a(E.set);if(p)if(S){r=c.getConstructor(T,"WeakMap",!0),u.enable();var C=a(E.delete),P=a(E.has),A=a(E.get);s(E,{delete:function(e){if(f(e)&&!v(e)){var t=d(this);return t.frozen||(t.frozen=new r),C(this,e)||t.frozen.delete(e)}return C(this,e)},has:function(e){if(f(e)&&!v(e)){var t=d(this);return t.frozen||(t.frozen=new r),P(this,e)||t.frozen.has(e)}return P(this,e)},get:function(e){if(f(e)&&!v(e)){var t=d(this);return t.frozen||(t.frozen=new r),P(this,e)?A(this,e):t.frozen.get(e)}return A(this,e)},set:function(e,t){if(f(e)&&!v(e)){var n=d(this);n.frozen||(n.frozen=new r),P(this,e)?j(this,e,t):n.frozen.set(e,t)}else j(this,e,t);return this}})}else i&&h((function(){var e=w([]);return j(new k,e,1),!m(e)}))&&s(E,{set:function(e,t){var n;return g(e)&&(m(e)?n=x:b(e)&&(n=O)),j(this,e,t),n==x&&w(e),n==O&&_(e),this}})},function(e,t,n){"use strict";var r=n(19),i=n(220),o=n(170).getWeakData,a=n(171),s=n(31),u=n(71),l=n(32),c=n(138),f=n(106),d=n(28),h=n(66),p=h.set,y=h.getterFor,g=f.find,v=f.findIndex,m=r([].splice),b=0,w=function(e){return e.frozen||(e.frozen=new _)},_=function(){this.entries=[]},x=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};_.prototype={get:function(e){var t=x(this,e);if(t)return t[1]},has:function(e){return!!x(this,e)},set:function(e,t){var n=x(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&m(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var f=e((function(e,i){a(e,h),p(e,{type:t,id:b++,frozen:void 0}),u(i)||c(i,e[r],{that:e,AS_ENTRIES:n})})),h=f.prototype,g=y(t),v=function(e,t,n){var r=g(e),i=o(s(t),!0);return!0===i?w(r).set(t,n):i[r.id]=n,e};return i(h,{delete:function(e){var t=g(this);if(!l(e))return!1;var n=o(e);return!0===n?w(t).delete(e):n&&d(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!l(e))return!1;var n=o(e);return!0===n?w(t).has(e):n&&d(n,t.id)}}),i(h,n?{get:function(e){var t=g(this);if(l(e)){var n=o(e);return!0===n?w(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),f}}},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 r=n(96),i=l(n(37)),o=l(n(224)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(85)),s=n(190);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="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 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,o=void 0,o=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===c(o)?o:String(o)),r)}var i,o}var d=0,h=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=d,d+=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"===c(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=i.default.createDomNode(n,this),i.default.domClassToggle(this.domNode,"rdforms",!0),i.default.domClassToggle(this.domNode,this.styleCls,!0),this.render()}var t,n,u;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(){i.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(i.default.domText(this.domNode,""),null!=this.binding){var e=i.default.getMessages();if(this.messages=e,null!=this.binding){var t,n,r,a,s,u=this.binding.getItem().getChildren(),l=this.binding.getItemGroupedChildBindings();for(this._binding2node={},!this.compact&&!this.binding.getItem().hasStyle("compact")||this.binding.getItem().hasStyle("nonCompact")?i.default.domClassToggle(this.domNode,"compact",!1):i.default.domClassToggle(this.domNode,"compact",!0),this.preRenderView(),t=0;t<l.length;t++)if(a=l[t],s=u[t],(!this.restrictToItem||this.restrictToItem===s)&&this.showNow(s,a)){if(a=this.prepareBindings(s,a),this.showAsTable(s))this.context={view:this},r=this.createRowNode(r,a[0],s),a.length>0&&(n=this.addTable(r,a[0],s),this.fillTable(n,a));else if(a.length>0)if(this.isMultiValued(s))this.context={view:this},r=this.addRow(r,a[0],!0);else{for(var c=this.truncateAt(s,a),f=0;f<a.length;f++)this.context={view:this},r=this.addRow(r,a[f],0===f||a[f]instanceof o.default,f,c);if(-1!==c){var d=i.default.domQuery(".rdformsFields",r);d&&i.default.addTruncateControl(d,this.context)}}else this.context={view:this},r=this.createRowNode(r,null,s);a.length>0&&a[0].getCardinalityTracker().checkCardinality()}}}}},{key:"addRow",value:function(e,t,n,r,a){var s,u,l=n,c=t.getItem();if(!this.skipBinding(t)){if(null==l&&(l=t instanceof o.default),!0===l){u=this.createRowNode(e,t,c);var f=i.default.domCreate("div",u);i.default.domClassToggle(f,"rdformsFields",!0),-1!==a&&i.default.domClassToggle(f,"rdformsTruncated",!0),c.hasStyle("inline")&&i.default.domClassToggle(f,"rdformsInline",!0),s=i.default.domCreate("div",f),this.createEndOfRowNode(u,t,c)}else{var d=i.default.domQuery(".rdformsFields",e);if(null!=d)s=i.default.domCreate("div",d),i.default.domClassToggle(s,"rdformsRepeatedValue",!0),-1!==a&&r>=a&&i.default.domClassToggle(s,"rdformsMaybeTruncated",!0);else{var h=i.default.domCreate("div",e);i.default.domClassToggle(h,"rdformsFields",!0),c.hasStyle("inline")&&i.default.domClassToggle(h,"rdformsInline",!0),s=i.default.domCreate("div",h),this.createEndOfRowNode(u,t,c)}}if(this.markOrigin){var p=this.getNamedGraphId(t);p?(i.default.domClassToggle(s,"rdformsOrigin",!0),i.default.domClassToggle(s,"rdformsOrigin_".concat(p),!0)):(i.default.domClassToggle(s,"rdformsOrigin",!0),i.default.domClassToggle(s,"rdformsOrigin_default",!0))}return"group"===c.getType()?i.default.domClassToggle(s,"rdformsGroup",!0):i.default.domClassToggle(s,"rdformsField",!0),this._binding2node[t.getHash()]=s,this.addComponent(s,t),c.hasStyle("invisible")&&i.default.domClassToggle(u||e,"rdformsInvisible",!0),u||e}}},{key:"createRowNode",value:function(e,t,n){var r;r=null==e?i.default.domCreate("div",this.domNode,t?this.getRowIndex(t):void 0):i.default.domCreateAfter("div",e,t?this.getRowIndex(t):void 0),n.getClasses().forEach((function(e){i.default.domClassToggle(r,e,!0)})),i.default.domClassToggle(r,"rdformsRow",!0),i.default.domClassToggle(r,"rdformsTopLevel",this.topLevel),i.default.domClassToggle(r,"rdformsInvisibleGroup",n.hasStyle("invisibleGroup")),i.default.domClassToggle(r,"rdformsHeading",n.hasStyle("heading")),i.default.domClassToggle(r,"notCompact","group"===n.getType()||n.hasStyle("nonCompact")),i.default.domClassToggle(r,"rdformsCompactItem",n.hasStyle("compact")),this.addLabel(r,t,n),t&&this.filterBinding(t)&&i.default.domClassToggle(r,"hiddenProperty",!0);var o=void 0!==this._subEditors;return(n.hasStyle("card")||n.hasStyle("cardInEdit")&&o||n.hasStyle("cardInPresent")&&!o)&&i.default.domClassToggle(r,"rdformsCard",!0),r}},{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,i){var o=n.getId();if(o&&Object.keys(i).includes(o))return!0;var a=n.getProperty();if(a){for(var s=!0,u=t;u.parentView;)u.getBinding().getItem().getProperty()&&(s=!1),u=u.parentView;var l=r.namespaces.shortenKnown(a);return s?!0===i[a]||!0===i[l]||!0===i["*".concat(a)]||!0===i["".concat(l)]:!0===i["*".concat(a)]||!0===i["*".concat(l)]}if("group"===n.getType()){var c=n.getChildren()||[],f=!1;return c.forEach((function(t){e(t,i)||(f=!0)})),!f}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}}])&&f(t.prototype,n),u&&f(t,u),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=h},function(e,t,n){"use strict";var r=n(107),i=n(29),o=n(54),a=n(415),s=n(287),u=n(161),l=n(77),c=n(118),f=n(288),d=n(218),h=Array;e.exports=function(e){var t=o(e),n=u(this),p=arguments.length,y=p>1?arguments[1]:void 0,g=void 0!==y;g&&(y=r(y,p>2?arguments[2]:void 0));var v,m,b,w,_,x,O=d(t),S=0;if(!O||this===h&&s(O))for(v=l(t),m=n?new this(v):h(v);v>S;S++)x=g?y(t[S],S):t[S],c(m,S,x);else for(_=(w=f(t,O)).next,m=n?new this:[];!(b=i(_,w)).done;S++)x=g?a(w,y,[b.value,S],!0):b.value,c(m,S,x);return m.length=S,m}},function(e,t,n){var r=n(31),i=n(289);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){i(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 r,i=(r=n(102))&&r.__esModule?r:{default:r};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 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}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,r;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=i.default.UNKNOWN,this._depsOk=e,this.cardinalityChanged())}},{key:"increment",value:function(){this._counter+=1,this._code=i.default.UNKNOWN,this._checkCounter()}},{key:"decrement",value:function(){this._counter-=1,this._code=i.default.UNKNOWN,this._checkCounter()}},{key:"getCounter",value:function(){return this._counter}},{key:"checkCardinality",value:function(){this._checkCounter()}},{key:"touch",value:function(){this._code=i.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),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,n){function r(e){return(r="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 i=c(n(174)),o=c(n(173)),a=c(n(226)),s=c(n(227)),u=c(n(224)),l=c(n(418));function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,a}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function h(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,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===r(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 y(e){return(y=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&&d(e,t)}(p,e);var t,n,r,c=h(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=c.call(this,e);var n=e.statement,r=e.constraints;t._statement=void 0,t._validPredicate=!0,t._constraints=[];var f,d=t._item.getChildren(),h=d[1];f=h instanceof o.default?new u.default({item:h,statement:n,constraints:r}):h instanceof a.default?new s.default({item:h,statement:n}):new i.default({item:h,statement:n});var y=new l.default({item:d[0],objectBinding:f});return t.addChildBinding(y),t.addChildBinding(f),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()}}])&&f(t.prototype,n),r&&f(t,r),Object.defineProperty(t,"prototype",{writable:!1}),p}(u.default);t.default=g},function(e,t,n){function r(e){return(r="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 i;function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,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,r=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===r(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 l(e){return(l=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 c=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)}(u,e);var t,n,r,i=s(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=i.call(this,e))._objectBinding=e.objectBinding,t}return t=u,(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(){}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(((i=n(227))&&i.__esModule?i:{default:i}).default);t.default=c},function(e,t,n){function r(e){return(r="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 i;function o(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,a}function s(){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=u(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(this,arguments)}function u(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}function l(e,t){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function c(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,r=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===r(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(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 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&&l(e,t)}(u,e);var t,n,r,i=c(u);function u(){return o(this,u),i.apply(this,arguments)}return t=u,(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(d(u.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){}},{key:"isValid",value:function(){return!0}}])&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),u}(((i=n(174))&&i.__esModule?i:{default:i}).default);t.default=h},,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,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var i,o=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}},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 i.default}}),Object.defineProperty(t,"bundleLoader",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"engine",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"renderingContext",{enumerable:!0,get:function(){return r.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 l.default}}),n(341);var r=c(n(37)),i=c(n(424)),o=c(n(427)),a=c(n(60)),s=c(n(98)),u=c(n(85)),l=c(n(190));function c(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 r=n(96),i=f(n(298)),o=f(n(173)),a=f(n(299)),s=f(n(226)),u=f(n(425)),l=f(n(426)),c=n(85);function f(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 h(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,o=void 0,o=function(e,t){if("object"!==d(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===d(o)?o:String(o)),r)}var i,o}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 u.default}var t,n,f;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),r=n.content||n.items||[];if(t)return this._createItems(r,e._forceChildrenClones,e.getBundle());var i=this.getItem(n.extends);return i?i.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 r=function n(r){var i=r.content;if(i)for(var o=0;o<i.length;o++){var a=i[o];a.id!==e&&a["@id"]!==e||(a.id=t,delete a["@id"]),a.content&&n(a)}},i=this.getItems(),a=0;a<i.length;a++){var s=i[a];s instanceof o.default&&r(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,c.constructTemplate)(e,t,this,n)}},{key:"registerBundle",value:function(e){e.itemStore=this;var t=new l.default(e);this._bundles.push(t),e.source&&e.source.namespaces&&r.namespaces.add(e.source.namespaces);var n=e.source.templates||e.source.auxilliary;return n instanceof Array&&this._createItems(n,!1,t),"object"===d(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 o.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,r){var u,l=e.id||e["@id"],c=e.type||e["@type"];if(e.extends){var f=this._registry[e.extends];if(null==f&&!this.ignoreMissingItems)throw new Error("Cannot find item to extend with id: ".concat(e.extends));if(f){var d=this.createExtendedSource(f.getSource(),e);return this.createItem(d,!1,!1,r)}}if(null!=c){switch(c){case"text":u=new a.default({source:e,itemStore:this,bundle:r});break;case"choice":u=new s.default({source:e,itemStore:this,ontologyStore:this._ontologyStore,bundle:r});break;case"group":u=new o.default({source:e,children:null,itemStore:this,bundle:r});break;case"propertygroup":u=new i.default({source:e,children:null,itemStore:this,bundle:r})}return!0!==n&&(null!=e.property&&(this._registryByProperty[e.property]=u,this.priorities&&null!=this.priorities[e.property]&&(u.priority=this.priorities[e.property])),null!=l&&null==this._registry[l]&&(this._registry[l]=u,null!=r&&r.addItem(u))),u}if(null==l)throw new Error("Cannot create subitem, `type` for creating new or `id` for referencing external are required.");if(null==this._registry[l])throw new Error("Cannot find referenced subitem using identifier: ".concat(l));if(!0===t||Object.keys(e).find((function(e){return"id"!==e&&"@id"!==e}))){var h=Object.assign(Object.assign({},this._registry[l]._source),e);return this.createItem(h,!1,!0)}return this._registry[l]}},{key:"removeItem",value:function(e,t){var n=e.getBundle();null!=n&&n.removeItem(e),null!=e.getId()&&delete this._registry[e.getId()];var r=e.getProperty();null!=r&&this._registryByProperty[r]===e&&delete this._registryByProperty[r]}},{key:"_createItems",value:function(e,t,n){var r=this;return e.map((function(i,o){var a="string"==typeof i?e[o]={id:i}:i;return r.createItem(a,t,!1,n)}))}}])&&h(t.prototype,n),f&&h(t,f),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 r,i=(r=n(450))&&r.__esModule?r:{default:r};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 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}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,r;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 r=t[n];if((0,i.default)(r.constraints,e.getConstraints())&&e.getParentProperty()===r.parentProperty&&e.getHierarchyProperty()===r.hierarchyProperty&&e.isParentPropertyInverted()===(r.isParentPropertyInverted||!1)&&e.isHierarchyPropertyInverted()===(r.isHierarchyPropertyInverted||!1))return r.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 r=!0===e.isHierarchyPropertyInverted()?"ihp=":"hp=";t.push(r+encodeURIComponent(e.getHierarchyProperty()))}return"".concat(e.getOntologyUrl(),"?").concat(t.join("&"))}}])&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s},function(e,t,n){function r(e){return(r="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 i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=i.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===r(a)?a:String(a)),i)}var o,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 o=0,a=function(){function e(t){var n=t.itemStore,r=t.source,i=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=r,this._path=i,this._readOnly=s,this._items=[],o+=1,this._id="_bundle_".concat(o),this._root=null,this._modified=!1}var t,n,r;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}}])&&i(t.prototype,n),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=a},function(e,t,n){function r(e){return(r="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 i(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */i=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var i=t&&t.prototype instanceof p?t:p,a=Object.create(i.prototype),s=new E(r||[]);return o(a,"_invoke",{value:O(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var h={};function p(){}function y(){}function g(){}var v={};c(v,s,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(j([])));b&&b!==t&&n.call(b,s)&&(v=b);var w=g.prototype=p.prototype=Object.create(v);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){var i;o(this,"_invoke",{value:function(o,a){function s(){return new t((function(i,s){!function i(o,a,s,u){var l=d(e[o],e,a);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==r(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){i("next",e,s,u)}),(function(e){i("throw",e,s,u)})):t.resolve(f).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,u)}))}u(l.arg)}(o,a,i,s)}))}return i=i?i.then(s,s):s()}})}function O(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return C()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=d(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,h;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}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 k(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 j(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 r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:C}}function C(){return{value:void 0,done:!0}}return y.prototype=g,o(w,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:y,configurable:!0}),y.displayName=c(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},_(x.prototype),c(x.prototype,u,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new x(f(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(w),c(w,l,"Generator"),c(w,s,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=j,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(k),!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 r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,h):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),h},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),k(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}function o(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,u,"next",e)}function u(e){o(a,r,i,s,u,"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 r="Fetching template bundle ".concat(n," failed.");if(e===t-1)throw Error("".concat(r," Cannot recover from this, please fix."));console.log("".concat(r," Will try to fetch from a fallback option."))},u=function(){var e=a(i().mark((function e(t){var n,r,o,a,u;return i().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:r=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(!r||!r.ok){e.next=30;break}if(e.prev=13,!(u=r.headers.has("content-type")&&r.headers.get("content-type"))||!u.includes("application/json")){e.next=22;break}return e.next=18,r.json();case 18:return o=e.sent,e.abrupt("break",34);case 22:throw new Error("Failed fetching template ".concat(t[a],". Expected a JSON file and got ").concat(u));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",o);case 35:case"end":return e.stop()}}),e,null,[[3,9],[13,25]])})));return function(t){return e.apply(this,arguments)}}(),l=function(e){return e.map((function(e){return e instanceof Array?u(e):Promise.resolve(e)}))},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.map((function(t){return e.registerBundle({source:t})}))},f=function(){var e=a(i().mark((function e(t){var n,r,o,a,s,u=arguments;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=u.length>1&&void 0!==u[1]?u[1]:[],r=u.length>2&&void 0!==u[2]?u[2]:function(){},0===n.length&&r&&r([]),o=l(n),e.next=6,Promise.all(o);case 6:return a=e.sent,s=c(t,a),r(s),e.abrupt("return",s);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.default=f},function(e,t,n){n(136)("asyncIterator")},function(e,t,n){var r=n(55),i=n(136),o=n(84);i("toStringTag"),o(r("Symbol"),"Symbol")},function(e,t,n){var r=n(21);n(84)(r.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 r,i,o,a=n(17),s=n(64),u=n(175),l=n(21),c=n(29),f=n(48),d=n(212),h=n(84),p=n(213),y=n(65),g=n(27),v=n(32),m=n(171),b=n(434),w=n(300).set,_=n(436),x=n(439),O=n(228),S=n(302),T=n(66),k=n(139),E=n(140),j=n(141),C=E.CONSTRUCTOR,P=E.REJECTION_EVENT,A=E.SUBCLASSING,N=T.getterFor("Promise"),D=T.set,R=k&&k.prototype,M=k,L=R,I=l.TypeError,F=l.document,V=l.process,B=j.f,U=B,Y=!!(F&&F.createEvent&&l.dispatchEvent),H=function(e){var t;return!(!v(e)||!g(t=e.then))&&t},G=function(e,t){var n,r,i,o=t.value,a=1==t.state,s=a?e.ok:e.fail,u=e.resolve,l=e.reject,f=e.domain;try{s?(a||(2===t.rejection&&$(t),t.rejection=1),!0===s?n=o:(f&&f.enter(),n=s(o),f&&(f.exit(),i=!0)),n===e.promise?l(I("Promise-chain cycle")):(r=H(n))?c(r,n,u,l):u(n)):l(o)}catch(e){f&&!i&&f.exit(),l(e)}},W=function(e,t){e.notified||(e.notified=!0,_((function(){for(var n,r=e.reactions;n=r.get();)G(n,e);e.notified=!1,t&&!e.rejection&&q(e)})))},z=function(e,t,n){var r,i;Y?((r=F.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},!P&&(i=l["on"+e])?i(r):"unhandledrejection"===e&&x("Unhandled promise rejection",n)},q=function(e){c(w,l,(function(){var t,n=e.facade,r=e.value;if(X(e)&&(t=O((function(){u?V.emit("unhandledRejection",r,n):z("unhandledrejection",n,r)})),e.rejection=u||X(e)?2:1,t.error))throw t.value}))},X=function(e){return 1!==e.rejection&&!e.parent},$=function(e){c(w,l,(function(){var t=e.facade;u?V.emit("rejectionHandled",t):z("rejectionhandled",t,e.value)}))},Q=function(e,t,n){return function(r){e(t,r,n)}},J=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,W(e,!0))},Z=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw I("Promise can't be resolved itself");var r=H(t);r?_((function(){var n={done:!1};try{c(r,t,Q(Z,n,e),Q(J,n,e))}catch(t){J(n,t,e)}})):(e.value=t,e.state=1,W(e,!1))}catch(t){J({done:!1},t,e)}}};if(C&&(L=(M=function(e){m(this,L),y(e),c(r,this);var t=N(this);try{e(Q(Z,t),Q(J,t))}catch(e){J(t,e)}}).prototype,(r=function(e){D(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=f(L,"then",(function(e,t){var n=N(this),r=B(b(this,M));return n.parent=!0,r.ok=!g(e)||e,r.fail=g(t)&&t,r.domain=u?V.domain:void 0,0==n.state?n.reactions.add(r):_((function(){G(r,n)})),r.promise})),i=function(){var e=new r,t=N(e);this.promise=e,this.resolve=Q(Z,t),this.reject=Q(J,t)},j.f=B=function(e){return e===M||void 0===e?new i(e):U(e)},!s&&g(k)&&R!==Object.prototype)){o=R.then,A||f(R,"then",(function(e,t){var n=this;return new M((function(e,t){c(o,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete R.constructor}catch(e){}d&&d(R,L)}a({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:M}),h(M,"Promise",!1,!0),p("Promise")},function(e,t,n){var r=n(31),i=n(285),o=n(71),a=n(26)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||o(n=r(s)[a])?t:i(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 r,i,o,a,s,u=n(21),l=n(107),c=n(90).f,f=n(300).set,d=n(302),h=n(301),p=n(437),y=n(438),g=n(175),v=u.MutationObserver||u.WebKitMutationObserver,m=u.document,b=u.process,w=u.Promise,_=c(u,"queueMicrotask"),x=_&&_.value;if(!x){var O=new d,S=function(){var e,t;for(g&&(e=b.domain)&&e.exit();t=O.get();)try{t()}catch(e){throw O.head&&r(),e}e&&e.enter()};h||g||y||!v||!m?!p&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,s=l(a.then,a),r=function(){s(S)}):g?r=function(){b.nextTick(S)}:(f=l(f,u),r=function(){f(S)}):(i=!0,o=m.createTextNode(""),new v(S).observe(o,{characterData:!0}),r=function(){o.data=i=!i}),x=function(e){O.head||r(),O.add(e)}}e.exports=x},function(e,t,n){var r=n(93);e.exports=/ipad|iphone|ipod/i.test(r)&&"undefined"!=typeof Pebble},function(e,t,n){var r=n(93);e.exports=/web0s(?!.*chrome)/i.test(r)},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 r=n(303),i=n(175);e.exports=!r&&!i&&"object"==typeof window&&"object"==typeof document},function(e,t,n){"use strict";var r=n(17),i=n(29),o=n(65),a=n(141),s=n(228),u=n(138);r({target:"Promise",stat:!0,forced:n(304)},{all:function(e){var t=this,n=a.f(t),r=n.resolve,l=n.reject,c=s((function(){var n=o(t.resolve),a=[],s=0,c=1;u(e,(function(e){var o=s++,u=!1;c++,i(n,t,e).then((function(e){u||(u=!0,a[o]=e,--c||r(a))}),l)})),--c||r(a)}));return c.error&&l(c.value),n.promise}})},function(e,t,n){"use strict";var r=n(17),i=n(64),o=n(140).CONSTRUCTOR,a=n(139),s=n(55),u=n(27),l=n(48),c=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},function(e,t,n){"use strict";var r=n(17),i=n(29),o=n(65),a=n(141),s=n(228),u=n(138);r({target:"Promise",stat:!0,forced:n(304)},{race:function(e){var t=this,n=a.f(t),r=n.reject,l=s((function(){var a=o(t.resolve);u(e,(function(e){i(a,t,e).then(n.resolve,r)}))}));return l.error&&r(l.value),n.promise}})},function(e,t,n){"use strict";var r=n(17),i=n(29),o=n(141);r({target:"Promise",stat:!0,forced:n(140).CONSTRUCTOR},{reject:function(e){var t=o.f(this);return i(t.reject,void 0,e),t.promise}})},function(e,t,n){"use strict";var r=n(17),i=n(55),o=n(64),a=n(139),s=n(140).CONSTRUCTOR,u=n(446),l=i("Promise"),c=o&&!s;r({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return u(c&&this===l?a:this,e)}})},function(e,t,n){var r=n(31),i=n(32),o=n(141);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},,,function(e,t,n){"use strict";n.r(t);var r=n(116);var i=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e},o=n(50),a=function(){try{var e=Object(o.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},u=n(111),l=Object.prototype.hasOwnProperty;var c=function(e,t,n){var r=e[t];l.call(e,t)&&Object(u.a)(r,n)&&(void 0!==n||t in e)||s(e,t,n)};var f=function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var u=t[o],l=r?r(n[u],e[u],u,n,e):void 0;void 0===l&&(l=e[u]),i?s(n,u,l):c(n,u,l)}return n},d=n(113);var h=function(e,t){return e&&f(t,Object(d.a)(t),e)},p=n(187),y=n(69),g=n(110);var v=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},m=Object.prototype.hasOwnProperty;var b=function(e){if(!Object(y.a)(e))return v(e);var t=Object(g.a)(e),n=[];for(var r in e)("constructor"!=r||!t&&m.call(e,r))&&n.push(r);return n},w=n(183);var _=function(e){return Object(w.a)(e)?Object(p.a)(e,!0):b(e)};var x=function(e,t){return e&&f(t,_(t),e)},O=n(307);var S=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t},T=n(114);var k=function(e,t){return f(e,Object(T.a)(e),t)},E=n(182),j=n(180),C=Object(j.a)(Object.getPrototypeOf,Object),P=n(181),A=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Object(E.a)(t,Object(T.a)(e)),e=C(e);return t}:P.a;var N=function(e,t){return f(e,A(e),t)},D=n(143),R=n(185);var M=function(e){return Object(R.a)(e,_,A)},L=n(78),I=Object.prototype.hasOwnProperty;var F=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&I.call(e,"index")&&(n.index=e.index,n.input=e.input),n},V=n(115);var B=function(e){var t=new e.constructor(e.byteLength);return new V.a(t).set(new V.a(e)),t};var U=function(e,t){var n=t?B(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},Y=/\w*$/;var H=function(e){var t=new e.constructor(e.source,Y.exec(e));return t.lastIndex=e.lastIndex,t},G=n(47),W=G.a?G.a.prototype:void 0,z=W?W.valueOf:void 0;var q=function(e){return z?Object(z.call(e)):{}};var X=function(e,t){var n=t?B(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)};var $=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return B(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return U(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 X(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return H(e);case"[object Set]":return new r;case"[object Symbol]":return q(e)}},Q=Object.create,J=function(){function e(){}return function(t){if(!Object(y.a)(t))return{};if(Q)return Q(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var Z=function(e){return"function"!=typeof e.constructor||Object(g.a)(e)?{}:J(C(e))},K=n(61),ee=n(99),te=n(45);var ne=function(e){return Object(te.a)(e)&&"[object Map]"==Object(L.a)(e)},re=n(112),ie=n(79),oe=ie.a&&ie.a.isMap,ae=oe?Object(re.a)(oe):ne;var se=function(e){return Object(te.a)(e)&&"[object Set]"==Object(L.a)(e)},ue=ie.a&&ie.a.isSet,le=ue?Object(re.a)(ue):se,ce={};ce["[object Arguments]"]=ce["[object Array]"]=ce["[object ArrayBuffer]"]=ce["[object DataView]"]=ce["[object Boolean]"]=ce["[object Date]"]=ce["[object Float32Array]"]=ce["[object Float64Array]"]=ce["[object Int8Array]"]=ce["[object Int16Array]"]=ce["[object Int32Array]"]=ce["[object Map]"]=ce["[object Number]"]=ce["[object Object]"]=ce["[object RegExp]"]=ce["[object Set]"]=ce["[object String]"]=ce["[object Symbol]"]=ce["[object Uint8Array]"]=ce["[object Uint8ClampedArray]"]=ce["[object Uint16Array]"]=ce["[object Uint32Array]"]=!0,ce["[object Error]"]=ce["[object Function]"]=ce["[object WeakMap]"]=!1;var fe=function e(t,n,o,a,s,u){var l,f=1&n,p=2&n,g=4&n;if(o&&(l=s?o(t,a,s,u):o(t)),void 0!==l)return l;if(!Object(y.a)(t))return t;var v=Object(K.a)(t);if(v){if(l=F(t),!f)return S(t,l)}else{var m=Object(L.a)(t),b="[object Function]"==m||"[object GeneratorFunction]"==m;if(Object(ee.a)(t))return Object(O.a)(t,f);if("[object Object]"==m||"[object Arguments]"==m||b&&!s){if(l=p||b?{}:Z(t),!f)return p?N(t,x(l,t)):k(t,h(l,t))}else{if(!ce[m])return s?t:{};l=$(t,m,f)}}u||(u=new r.a);var w=u.get(t);if(w)return w;u.set(t,l),le(t)?t.forEach((function(r){l.add(e(r,n,o,r,t,u))})):ae(t)&&t.forEach((function(r,i){l.set(i,e(r,n,o,i,t,u))}));var T=g?p?M:D.a:p?_:d.a,E=v?void 0:T(t);return i(E||t,(function(r,i){E&&(r=t[i=r]),c(l,i,e(r,n,o,i,t,u))})),l};t.default=function(e){return fe(e,5)}},function(e,t,n){"use strict";n.r(t);var r=n(116),i=n(186);var o=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 i.a;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=o,s.prototype.has=a;var u=s;var l=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var c=function(e,t){return e.has(t)};var f=function(e,t,n,r,i,o){var a=1&n,s=e.length,f=t.length;if(s!=f&&!(a&&f>s))return!1;var d=o.get(e),h=o.get(t);if(d&&h)return d==t&&h==e;var p=-1,y=!0,g=2&n?new u:void 0;for(o.set(e,t),o.set(t,e);++p<s;){var v=e[p],m=t[p];if(r)var b=a?r(m,v,p,t,e,o):r(v,m,p,e,t,o);if(void 0!==b){if(b)continue;y=!1;break}if(g){if(!l(t,(function(e,t){if(!c(g,t)&&(v===e||i(v,e,n,r,o)))return g.push(t)}))){y=!1;break}}else if(v!==m&&!i(v,m,n,r,o)){y=!1;break}}return o.delete(e),o.delete(t),y},d=n(47),h=n(115),p=n(111);var y=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var g=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},v=d.a?d.a.prototype:void 0,m=v?v.valueOf:void 0;var b=function(e,t,n,r,i,o,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||!o(new h.a(e),new h.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=y;case"[object Set]":var u=1&r;if(s||(s=g),e.size!=t.size&&!u)return!1;var l=a.get(e);if(l)return l==t;r|=2,a.set(e,t);var c=f(s(e),s(t),r,i,o,a);return a.delete(e),c;case"[object Symbol]":if(m)return m.call(e)==m.call(t)}return!1},w=n(143),_=Object.prototype.hasOwnProperty;var x=function(e,t,n,r,i,o){var a=1&n,s=Object(w.a)(e),u=s.length;if(u!=Object(w.a)(t).length&&!a)return!1;for(var l=u;l--;){var c=s[l];if(!(a?c in t:_.call(t,c)))return!1}var f=o.get(e),d=o.get(t);if(f&&d)return f==t&&d==e;var h=!0;o.set(e,t),o.set(t,e);for(var p=a;++l<u;){var y=e[c=s[l]],g=t[c];if(r)var v=a?r(g,y,c,t,e,o):r(y,g,c,e,t,o);if(!(void 0===v?y===g||i(y,g,n,r,o):v)){h=!1;break}p||(p="constructor"==c)}if(h&&!p){var m=e.constructor,b=t.constructor;m==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(e),o.delete(t),h},O=n(78),S=n(61),T=n(99),k=n(188),E="[object Object]",j=Object.prototype.hasOwnProperty;var C=function(e,t,n,i,o,a){var s=Object(S.a)(e),u=Object(S.a)(t),l=s?"[object Array]":Object(O.a)(e),c=u?"[object Array]":Object(O.a)(t),d=(l="[object Arguments]"==l?E:l)==E,h=(c="[object Arguments]"==c?E:c)==E,p=l==c;if(p&&Object(T.a)(e)){if(!Object(T.a)(t))return!1;s=!0,d=!1}if(p&&!d)return a||(a=new r.a),s||Object(k.a)(e)?f(e,t,n,i,o,a):b(e,t,l,n,i,o,a);if(!(1&n)){var y=d&&j.call(e,"__wrapped__"),g=h&&j.call(t,"__wrapped__");if(y||g){var v=y?e.value():e,m=g?t.value():t;return a||(a=new r.a),o(v,m,n,i,a)}}return!!p&&(a||(a=new r.a),x(e,t,n,i,o,a))},P=n(45);var A=function e(t,n,r,i,o){return t===n||(null==t||null==n||!Object(P.a)(t)&&!Object(P.a)(n)?t!=t&&n!=n:C(t,n,r,i,e,o))};t.default=function(e,t){return A(e,t)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){n(9),n(30);var r,i=(r=n(37))&&r.__esModule?r:{default:r};n(496),n(497),n(498),n(499);var o=function(e,t){var n=document.createElement(e);return t&&(n.id=t),n};i.default.domQuery=function(e,t){return t.querySelector(e)},i.default.domCreate=function(e,t,n){return t.appendChild(o(e,n))},i.default.domCreateAfter=function(e,t,n){return t.parentNode.insertBefore(o(e,n),t.nextSibling)},i.default.domSetAttr=function(e,t,n){""===n||null===n?e.removeAttribute(t):e.setAttribute(t,n)},i.default.domText=function(e,t){e.innerText=t},i.default.domClassToggle=function(e,t,n){t.split(" ").forEach((function(t){n?e.classList.add(t):e.classList.remove(t)}))},i.default.prePresenterViewRenderer=i.default.preEditorViewRenderer,i.default.addTruncateControl=function(e,t){var n=t.view.messages,r=i.default.domCreate("button",e);i.default.domClassToggle(r,"rdformsShowMore",!0),r.innerText=n.showMore,r.onclick=function(){i.default.domClassToggle(e,"rdformsTruncated",!1)};var o=i.default.domCreate("button",e);i.default.domClassToggle(o,"rdformsShowLess",!0),o.innerText=n.showLess,o.onclick=function(){i.default.domClassToggle(e,"rdformsTruncated",!0)}}},function(e,t,n){n(56);var r=a(n(53)),i=a(n(37)),o=a(n(223));function a(e){return e&&e.__esModule?e:{default:e}}i.default.renderPresenterLabel=function(e,t,n,a,s){var u=a.view instanceof o.default&&n.getEditLabel()||n.getLabel();u=null!=u&&""!==u?u.charAt(0).toUpperCase()+u.slice(1):"";var l=n.hasStyle("heading")?(0,r.default)('<h2 class="rdformsLabel" tabindex="0">').text(u).appendTo(e):(0,r.default)('<div class="rdformsLabel" tabindex="0">').text(u).appendTo(e);t&&l.attr("id",a.view.createLabelIndex(t)),s&&l.addClass("rdformsLabelRow"),a&&(a.labelNode=l[0]);var c=a.view;if(n.hasStyle("showDescriptionInPresent")||c.showDescription){var f=n.hasStyle("compact")||c.compact&&!n.hasStyle("nonCompact")&&(c.topLevel&&"group"!==n.getType()||c.parentView&&c.parentView.topLevel&&c.binding.getItem().hasStyle("heading")),d=n.getDescription();!f&&d&&(0,r.default)('<div class="rdformsDescription" tabindex="0">').text(d).appendTo(e)}i.default.attachItemInfo(n,l[0],a)},i.default.attachItemInfo=function(e,t){if(null!=e&&null!=e.getDescription()){var n=e.getDescription();t.setAttribute("title",n)}}},function(e,t,n){(function(e){n(36),n(9),n(38),n(97),n(35);var t=u(n(510)),r=u(n(91)),i=n(120),o=u(n(37)),a=u(n(60)),s=u(n(98));function u(e){return e&&e.__esModule?e:{default:e}}var l=o.default.presenterRegistry;l.itemtype("text").nodetype("URI").register((function(t,n){var r=a.default.getLocalizedMap(n),i=e('<a class="rdformsUrl">').attr("title",n.getValue()).attr("href",n.getValue()).appendTo(t);n.getItem().hasStyle("showValue")?i.text(n.getValue()):r?i.text(a.default.getLocalizedValue(r).value):i.text(n.getGist()),n.getItem().hasStyle("externalLink")?s.default.attachExternalLinkBehaviour(i[0],n):s.default.attachLinkBehaviour(i[0],n)})),l.itemtype("group").nodetype("URI").style("linkWithLabel").register((function(t,n,i){var u,l=n.getValue(),c=n.getItem().getChildren().find((function(e){return e.hasStyle("label")})),f=c?o.default.filterTranslations(n.getChildBindingsFor(c),r.default.locale(),i.view.defaultLanguage):[],d=n.getItem().getChildren().find((function(e){return e.hasStyle("tooltip")})),h=d?o.default.filterTranslations(n.getChildBindingsFor(d),r.default.locale(),i.view.defaultLanguage):[],p=h.length>0?h[0].getValue():l,y=e('<a class="rdformsUrl">').attr("title",p).attr("href",l).appendTo(t);if(f.length>0)u=f[0].getValue();else{var g=a.default.getLocalizedMap(n);u=n.getItem().hasStyle("showValue")?l:g?a.default.getLocalizedValue(g).value||l:n.getGist()}y.text(u),n.getItem().hasStyle("externalLink")?s.default.attachExternalLinkBehaviour(y[0],n):s.default.attachLinkBehaviour(y[0],n)})),l.itemtype("text").nodetype("URI").style("image").register((function(t,n){e('<img class="rdformsImage">').attr("src",n.getGist()).appendTo(t)})),l.itemtype("text").register((function(n,r,i){var o=r.getLanguage();i.view.showLanguage&&o&&e('<div class="rdformsLanguage">').text(o).appendTo(n);var a=(0,t.default)(r.getItem().hasStyle("showValue")?r.getValue():r.getGist()).replace(/(\r\n|\r|\n)/g,"\n"),u=r.getParent();if(r.getItem().hasStyle("label")&&!0!==i.view.topLevel&&null!=u&&u.getItem().getChildren()[0]===r.getItem()&&null!=u.getStatement()&&"uri"===u.getStatement().getType()){var l=e('<a class="rdformsUrl">').attr("href",u.getStatement().getValue()).html(a).appendTo(n);o&&l.attr("lang",o),s.default.attachLinkBehaviour(l[0],u)}else{var c=e("<div>").html(a).appendTo(n);o&&c.attr("lang",o)}r.getItem().hasStyle("multiline")?e(n).toggleClass("rdformsMultiline",!0):e(n).toggleClass("rdformsSingleline",!0)})),l.itemtype("text").datatype("xsd:duration").register((function(t,n,r){var o=(0,i.fromDuration)(n.getValue()),a=r.view.messages,s=e("<div>").appendTo(t)[0];["years","months","days","hours","minutes"].forEach((function(t){o.hasOwnProperty(t)&&0!==o[t]&&e('<span class="durationLabel">'.concat(a["duration_".concat(t)],':</span><span class="durationValue">').concat(o[t],"</span>")).appendTo(s)}))}));var c=function(t,n){try{var r=(0,i.getDatePresentation)(n);e("<div>").html(r).appendTo(t)}catch(e){console.warn("Could not present date, expected ISO8601 format in the form 2001-01-01 \n (potentially with time given after a 'T' character as well) but found '".concat(n.getValue(),"' instead."))}};l.itemtype("text").datatype("xsd:dateTime").register(c),l.itemtype("text").datatype("xsd:date").register(c),l.itemtype("text").datatype("xsd:time").register(c),l.itemtype("text").datatype("xsd:gYear").register(c),l.itemtype("text").datatype("xsd:gYearMonth").register(c),l.itemtype("text").datatype("xsd:gMonthDay").register(c),l.itemtype("text").datatype("dcterms:W3CDTF").register(c)}).call(this,n(53))},function(e,t,n){(function(e){n(13),n(14);var t=o(n(37)),r=o(n(98)),i=o(n(60));function o(e){return e&&e.__esModule?e:{default:e}}var a=t.default.presenterRegistry,s=function(e){return function(t,n){var r,o=n.getChoice();o&&(o.description&&(r=i.default.getLocalizedValue(o.description).value),e(t,n,o,r))}};a.itemtype("choice").style("image").register(s((function(t,n,r,i){e('<img class="rdformsImage">').attr("src",r.value).attr("title",i||r.value).appendTo(t)}))),a.itemtype("choice").style("stars").register(s((function(t,n,r){isNaN(parseInt(r.value,10))||e('<span class="rdformsStar">').appendTo(t)}))),a.itemtype("choice").register(s((function(t,n,o,a){var s,u=n.getItem(),l=i.default.getLocalizedValue(o.label);u.hasStaticChoices()&&!u.hasStyle("externalLink")||u.hasStyle("noLink")?s=e("<div>").attr("title",a||o.seeAlso||o.value).text(i.default.getLocalizedValue(o.label).value).appendTo(t):(s=e('<a class="rdformsUrl">').attr("href",o.seeAlso||o.value).attr("title",a||o.seeAlso||o.value).text(l.value).appendTo(t),u.hasStyle("externalLink")?r.default.attachExternalLinkBehaviour(s[0],n):r.default.attachLinkBehaviour(s[0],n),null!=o.load&&o.load((function(){var e=i.default.getLocalizedValue(o.label);s.text(e.value),e.lang?s.attr("lang",e.lang):s.attr("lang",void 0)}))),l.lang&&s.attr("lang",l.lang)})))}).call(this,n(53))},function(e,t,n){var r=o(n(37)),i=o(n(53));function o(e){return e&&e.__esModule?e:{default:e}}r.default.addPresenterTable=function(e,t,n){var o=t.getItem(),a=o.getChildren(),s=(0,i.default)("<table>").addClass("rdformsGroup").appendTo(e);(0,i.default)("<thead>").appendTo(s);for(var u=(0,i.default)("<tr>").appendTo(s),l=0;l<a.length;l++){var c=(0,i.default)("<th>").appendTo(u);r.default.attachItemInfo(o,(0,i.default)("<span>").text(a[l].getLabel()).appendTo(c),n)}return s[0]},r.default.fillPresenterTable=function(e,t,n){if(0!==t.length){var o,a,s,u,l=n.view.topLevel;for(n.view.topLevel=!1,o=0;o<t.length;o++)for(s=t[o].getItemGroupedChildBindings(),u=(0,i.default)("<tr>").appendTo(e),a=0;a<s.length;a++)s[a].length>0?r.default.renderPresenter((0,i.default)("<td>").appendTo(u),s[a][0],{view:n.view,noCardinalityButtons:!0}):(0,i.default)("<td>").appendTo(u);n.view.topLevel=l}}},,,function(e,t,n){var r=n(148),i=n(422);(t=r(!1)).i(i),t.push([e.i,".rdformsLabelRow {\n vertical-align: top;\n}\n\n.compact.rdformsPresenter .rdformsTopLevel>.rdformsLabel {\n padding-top: 6px;\n}\n\n.rdformsLabelRow.rdformsLabel {\n display: inline-block;\n}\n\n.compact .rdformsLabelRow.rdformsLabel {\n display: block;\n}\n\n.rdformsPresenter .rdformsRow.rdformsTopLevel {\n margin-bottom: 0.5em;\n}\n\n.rdformsEditor .cardgroupEditor>.rdformsFields>.rdformsGroup,\n.cardgroup>.rdformsFields>.rdformsGroup,\n.rdformsCard>.rdformsFields>.rdformsGroup {\n padding: 2px 5px 5px 10px;\n margin-right: -5px;\n margin-bottom: 14px;\n background-color: #f7f7f9;\n border: 1px solid #e1e1e8;\n border-radius: 4px;\n}\n\n.rdforms .form-group.rdforms-upgrade {\n display: inline-block;\n width: 300px;\n margin: 0;\n}\n\n.rdforms .durationLabel:first-child {\n padding-left: 0;\n}\n\n.rdforms .durationLabel {\n padding-right: 7px;\n padding-left: 13px;\n}\n\n.rdforms .durationValue {\n width: 4em;\n}",""]),e.exports=t},,,,,,,,function(e,t,n){"use strict";n.r(t);var r=function(e){return function(t){return null==e?void 0:e[t]}}({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),i=n(47);var o=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},a=n(61),s=n(62),u=n(45);var l=function(e){return"symbol"==typeof e||Object(u.a)(e)&&"[object Symbol]"==Object(s.a)(e)},c=i.a?i.a.prototype:void 0,f=c?c.toString:void 0;var d=function e(t){if("string"==typeof t)return t;if(Object(a.a)(t))return o(t,e)+"";if(l(t))return f?f.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n};var h=function(e){return null==e?"":d(e)},p=/[&<>"']/g,y=RegExp(p.source);t.default=function(e){return(e=h(e))&&y.test(e)?e.replace(p,r):e}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){n(9),n(30),n(42),Object.defineProperty(t,"__esModule",{value:!0});var r={Presenter:!0};Object.defineProperty(t,"Presenter",{enumerable:!0,get:function(){return o.default}}),n(743);var i,o=(i=n(236))&&i.__esModule?i:{default:i},a=n(423);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}))},function(e,t,n){n(495),n(744)},function(e,t,n){var r=n(502);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(242)(r,i);r.locals&&(e.exports=r.locals)}])}));
48
+ * @author Louis-Dominique Dubeau
49
+ * @license MIT
50
+ * @copyright Louis-Dominique Dubeau
51
+ */function r(t){return t>=65&&t<=90||95===t||t>=97&&t<=122||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}Object.defineProperty(e,"__esModule",{value:!0}),e.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",e.NC_NAME_CHAR="-"+e.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",e.NC_NAME_START_CHAR_RE=new RegExp("^["+e.NC_NAME_START_CHAR+"]$","u"),e.NC_NAME_CHAR_RE=new RegExp("^["+e.NC_NAME_CHAR+"]$","u"),e.NC_NAME_RE=new RegExp("^["+e.NC_NAME_START_CHAR+"]["+e.NC_NAME_CHAR+"]*$","u"),e.isNCNameStartChar=r,e.isNCNameChar=function(t){return r(t)||45===t||46===t||t>=48&&t<=57||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},22134:t=>{"use strict";t.exports="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="},43348:t=>{"use strict";t.exports="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"},59636:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC"},65230:t=>{"use strict";t.exports="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="},98388:t=>{"use strict";t.exports="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"},82777:t=>{"use strict";t.exports="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=="},44517:(t,e,r)=>{"use strict";var n=r(17405),i=r(22773),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},67651:(t,e,r)=>{"use strict";var n=r(74333),i=r(22773),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a constructor")}},59747:(t,e,r)=>{"use strict";var n=r(26633),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},30689:(t,e,r)=>{"use strict";var n=r(96418),i=r(25094),o=r(20341).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},70280:(t,e,r)=>{"use strict";var n=r(76598).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},21141:(t,e,r)=>{"use strict";var n=r(94125),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new i("Incorrect invocation")}},2955:(t,e,r)=>{"use strict";var n=r(87181),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},74585:(t,e,r)=>{"use strict";var n=r(32479);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},86348:(t,e,r)=>{"use strict";var n=r(80364).forEach,i=r(61116)("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},59140:(t,e,r)=>{"use strict";var n=r(86658),i=r(19710),o=r(12154),a=function(t){return function(e,r,a){var s,u=n(e),l=o(u),c=i(a,l);if(t&&r!=r){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},80364:(t,e,r)=>{"use strict";var n=r(69299),i=r(3271),o=r(60586),a=r(69271),s=r(12154),u=r(63918),l=i([].push),c=function(t){var e=1===t,r=2===t,i=3===t,c=4===t,f=6===t,d=7===t,h=5===t||f;return function(p,g,y,m){for(var v,b,w=a(p),_=o(w),x=s(_),S=n(g,y),E=0,T=m||u,k=e?T(p,x):r||d?T(p,0):void 0;x>E;E++)if((h||E in _)&&(b=S(v=_[E],E,w),t))if(e)k[E]=b;else if(b)switch(t){case 3:return!0;case 5:return v;case 6:return E;case 2:l(k,v)}else switch(t){case 4:return!1;case 7:l(k,v)}return f?-1:i||c?c:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},74502:(t,e,r)=>{"use strict";var n=r(32479),i=r(96418),o=r(59459),a=i("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},61116:(t,e,r)=>{"use strict";var n=r(32479);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},98e3:(t,e,r)=>{"use strict";var n=r(24952),i=r(9739),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},50386:(t,e,r)=>{"use strict";var n=r(3271);t.exports=n([].slice)},26402:(t,e,r)=>{"use strict";var n=r(50386),i=Math.floor,o=function(t,e){var r=t.length;if(r<8)for(var a,s,u=1;u<r;){for(s=u,a=t[u];s&&e(t[s-1],a)>0;)t[s]=t[--s];s!==u++&&(t[s]=a)}else for(var l=i(r/2),c=o(n(t,0,l),e),f=o(n(t,l),e),d=c.length,h=f.length,p=0,g=0;p<d||g<h;)t[p+g]=p<d&&g<h?e(c[p],f[g])<=0?c[p++]:f[g++]:p<d?c[p++]:f[g++];return t};t.exports=o},83225:(t,e,r)=>{"use strict";var n=r(9739),i=r(74333),o=r(87181),a=r(96418)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(i(e)&&(e===s||n(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},63918:(t,e,r)=>{"use strict";var n=r(83225);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},48377:(t,e,r)=>{"use strict";var n=r(96418)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(t){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},27579:(t,e,r)=>{"use strict";var n=r(3271),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},24230:(t,e,r)=>{"use strict";var n=r(42066),i=r(17405),o=r(27579),a=r(96418)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?o(e):"Object"===(n=o(e))&&i(e.callee)?"Arguments":n}},36776:(t,e,r)=>{"use strict";var n=r(25094),i=r(49839),o=r(85640),a=r(69299),s=r(21141),u=r(41838),l=r(4302),c=r(18434),f=r(71620),d=r(70928),h=r(24952),p=r(58157).fastKey,g=r(69933),y=g.set,m=g.getterFor;t.exports={getConstructor:function(t,e,r,c){var f=t((function(t,i){s(t,d),y(t,{type:e,index:n(null),first:void 0,last:void 0,size:0}),h||(t.size=0),u(i)||l(i,t[c],{that:t,AS_ENTRIES:r})})),d=f.prototype,g=m(e),v=function(t,e,r){var n,i,o=g(t),a=b(t,e);return a?a.value=r:(o.last=a={index:i=p(e,!0),key:e,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),h?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},b=function(t,e){var r,n=g(t),i=p(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key===e)return r};return o(d,{clear:function(){for(var t=g(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),e=e.next;t.first=t.last=void 0,t.index=n(null),h?t.size=0:this.size=0},delete:function(t){var e=g(this),r=b(this,t);if(r){var n=r.next,i=r.previous;delete e.index[r.index],r.removed=!0,i&&(i.next=n),n&&(n.previous=i),e.first===r&&(e.first=n),e.last===r&&(e.last=i),h?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=g(this),n=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),o(d,r?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return v(this,0===t?0:t,e)}}:{add:function(t){return v(this,t=0===t?0:t,t)}}),h&&i(d,"size",{configurable:!0,get:function(){return g(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",i=m(e),o=m(n);c(t,e,(function(t,e){y(this,{type:n,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?f("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=void 0,f(void 0,!0))}),r?"entries":"values",!r,!0),d(e)}}},57902:(t,e,r)=>{"use strict";var n=r(32162),i=r(32451),o=r(3271),a=r(25135),s=r(67089),u=r(58157),l=r(4302),c=r(21141),f=r(17405),d=r(41838),h=r(87181),p=r(32479),g=r(48377),y=r(38565),m=r(23885);t.exports=function(t,e,r){var v=-1!==t.indexOf("Map"),b=-1!==t.indexOf("Weak"),w=v?"set":"add",_=i[t],x=_&&_.prototype,S=_,E={},T=function(t){var e=o(x[t]);s(x,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!h(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!h(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!h(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(a(t,!f(_)||!(b||x.forEach&&!p((function(){(new _).entries().next()})))))S=r.getConstructor(e,t,v,w),u.enable();else if(a(t,!0)){var k=new S,O=k[w](b?{}:-0,1)!==k,A=p((function(){k.has(1)})),C=g((function(t){new _(t)})),P=!b&&p((function(){for(var t=new _,e=5;e--;)t[w](e,e);return!t.has(-0)}));C||((S=e((function(t,e){c(t,x);var r=m(new _,t,S);return d(e)||l(e,r[w],{that:r,AS_ENTRIES:v}),r}))).prototype=x,x.constructor=S),(A||P)&&(T("delete"),T("has"),v&&T("get")),(P||O)&&T(w),b&&x.clear&&delete x.clear}return E[t]=S,n({global:!0,constructor:!0,forced:S!==_},E),y(S,t),b||r.setStrong(S,t,v),S}},29726:(t,e,r)=>{"use strict";var n=r(74633),i=r(74730),o=r(67537),a=r(20341);t.exports=function(t,e,r){for(var s=i(e),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];n(t,f)||r&&n(r,f)||u(t,f,l(e,f))}}},33752:(t,e,r)=>{"use strict";var n=r(96418)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},39159:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},71620:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},25298:(t,e,r)=>{"use strict";var n=r(24952),i=r(20341),o=r(31433);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},31433:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},25508:(t,e,r)=>{"use strict";var n=r(50514),i=r(20341),o=r(31433);t.exports=function(t,e,r){var a=n(e);a in t?i.f(t,a,o(0,r)):t[a]=r}},8448:(t,e,r)=>{"use strict";var n=r(2955),i=r(90319),o=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new o("Incorrect hint");return i(this,t)}},49839:(t,e,r)=>{"use strict";var n=r(51893),i=r(20341);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},67089:(t,e,r)=>{"use strict";var n=r(17405),i=r(20341),o=r(51893),a=r(48213);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:e;if(n(r)&&o(r,l,s),s.global)u?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},85640:(t,e,r)=>{"use strict";var n=r(67089);t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},48213:(t,e,r)=>{"use strict";var n=r(32451),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},47008:(t,e,r)=>{"use strict";var n=r(22773),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw new i("Cannot delete property "+n(e)+" of "+n(t))}},24952:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},82116:(t,e,r)=>{"use strict";var n=r(32451),i=r(87181),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},93409:t=>{"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},16411:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},75427:(t,e,r)=>{"use strict";var n=r(82116)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},6256:(t,e,r)=>{"use strict";var n=r(70707).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},97384:(t,e,r)=>{"use strict";var n=r(73529),i=r(55089);t.exports=!n&&!i&&"object"==typeof window&&"object"==typeof document},73529:t=>{"use strict";t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},6956:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/MSIE|Trident/.test(n)},60700:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},3865:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},55089:(t,e,r)=>{"use strict";var n=r(32451),i=r(27579);t.exports="process"===i(n.process)},20874:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/web0s(?!.*chrome)/i.test(n)},70707:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},59459:(t,e,r)=>{"use strict";var n,i,o=r(32451),a=r(70707),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),t.exports=i},18216:(t,e,r)=>{"use strict";var n=r(70707).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},51410:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},32162:(t,e,r)=>{"use strict";var n=r(32451),i=r(67537).f,o=r(25298),a=r(67089),s=r(48213),u=r(29726),l=r(25135);t.exports=function(t,e){var r,c,f,d,h,p=t.target,g=t.global,y=t.stat;if(r=g?n:y?n[p]||s(p,{}):(n[p]||{}).prototype)for(c in e){if(d=e[c],f=t.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!l(g?c:p+(y?".":"#")+c,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),a(r,c,d,t)}}},32479:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},44896:(t,e,r)=>{"use strict";r(9081);var n=r(21678),i=r(67089),o=r(40387),a=r(32479),s=r(96418),u=r(25298),l=s("species"),c=RegExp.prototype;t.exports=function(t,e,r,f){var d=s(t),h=!a((function(){var e={};return e[d]=function(){return 7},7!==""[t](e)})),p=h&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!h||!p||r){var g=n(/./[d]),y=e(d,""[t],(function(t,e,r,i,a){var s=n(t),u=e.exec;return u===o||u===c.exec?h&&!a?{done:!0,value:g(e,r,i)}:{done:!0,value:s(r,e,i)}:{done:!1}}));i(String.prototype,t,y[0]),i(c,d,y[1])}f&&u(c[d],"sham",!0)}},3369:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},83483:(t,e,r)=>{"use strict";var n=r(59117),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},69299:(t,e,r)=>{"use strict";var n=r(21678),i=r(44517),o=r(59117),a=n(n.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},59117:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},5428:(t,e,r)=>{"use strict";var n=r(3271),i=r(44517),o=r(87181),a=r(74633),s=r(50386),u=r(59117),l=Function,c=n([].concat),f=n([].join),d={},h=function(t,e,r){if(!a(d,e)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";d[e]=l("C,a","return new C("+f(n,",")+")")}return d[e](t,r)};t.exports=u?l.bind:function(t){var e=i(this),r=e.prototype,n=s(arguments,1),a=function(){var r=c(n,s(arguments));return this instanceof a?h(e,r.length,r):e.apply(t,r)};return o(r)&&(a.prototype=r),a}},5234:(t,e,r)=>{"use strict";var n=r(59117),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},74251:(t,e,r)=>{"use strict";var n=r(24952),i=r(74633),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},48891:(t,e,r)=>{"use strict";var n=r(3271),i=r(44517);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},21678:(t,e,r)=>{"use strict";var n=r(27579),i=r(3271);t.exports=function(t){if("Function"===n(t))return i(t)}},3271:(t,e,r)=>{"use strict";var n=r(59117),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);t.exports=n?a:function(t){return function(){return o.apply(t,arguments)}}},24289:(t,e,r)=>{"use strict";var n=r(32451),i=r(17405),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},44128:(t,e,r)=>{"use strict";var n=r(24230),i=r(37961),o=r(41838),a=r(78230),s=r(96418)("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||a[n(t)]}},599:(t,e,r)=>{"use strict";var n=r(5234),i=r(44517),o=r(2955),a=r(22773),s=r(44128),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(i(r))return o(n(r,t));throw new u(a(t)+" is not iterable")}},44291:(t,e,r)=>{"use strict";var n=r(3271),i=r(9739),o=r(17405),a=r(27579),s=r(73247),u=n([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,r=[],n=0;n<e;n++){var l=t[n];"string"==typeof l?u(r,l):"number"!=typeof l&&"Number"!==a(l)&&"String"!==a(l)||u(r,s(l))}var c=r.length,f=!0;return function(t,e){if(f)return f=!1,e;if(i(this))return e;for(var n=0;n<c;n++)if(r[n]===t)return e}}}},37961:(t,e,r)=>{"use strict";var n=r(44517),i=r(41838);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},93315:(t,e,r)=>{"use strict";var n=r(3271),i=r(69271),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,d){var h=r+t.length,p=n.length,g=c;return void 0!==f&&(f=i(f),g=l),s(d,g,(function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,h);case"<":l=f[u(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var d=o(c/10);return 0===d?i:d<=p?void 0===n[d-1]?a(s,1):n[d-1]+a(s,1):i}l=n[c-1]}return void 0===l?"":l}))}},32451:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},74633:(t,e,r)=>{"use strict";var n=r(3271),i=r(69271),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},99295:t=>{"use strict";t.exports={}},14735:t=>{"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},29227:(t,e,r)=>{"use strict";var n=r(24289);t.exports=n("document","documentElement")},8338:(t,e,r)=>{"use strict";var n=r(24952),i=r(32479),o=r(82116);t.exports=!n&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},60586:(t,e,r)=>{"use strict";var n=r(3271),i=r(32479),o=r(27579),a=Object,s=n("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?s(t,""):a(t)}:a},23885:(t,e,r)=>{"use strict";var n=r(17405),i=r(87181),o=r(70210);t.exports=function(t,e,r){var a,s;return o&&n(a=e.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(t,s),t}},6273:(t,e,r)=>{"use strict";var n=r(3271),i=r(17405),o=r(19321),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},58157:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(99295),a=r(87181),s=r(74633),u=r(20341).f,l=r(6076),c=r(93982),f=r(39483),d=r(66871),h=r(3369),p=!1,g=d("meta"),y=0,m=function(t){u(t,g,{value:{objectID:"O"+y++,weakData:{}}})},v=t.exports={enable:function(){v.enable=function(){},p=!0;var t=l.f,e=i([].splice),r={};r[g]=1,t(r).length&&(l.f=function(r){for(var n=t(r),i=0,o=n.length;i<o;i++)if(n[i]===g){e(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,g)){if(!f(t))return"F";if(!e)return"E";m(t)}return t[g].objectID},getWeakData:function(t,e){if(!s(t,g)){if(!f(t))return!0;if(!e)return!1;m(t)}return t[g].weakData},onFreeze:function(t){return h&&p&&f(t)&&!s(t,g)&&m(t),t}};o[g]=!0},69933:(t,e,r)=>{"use strict";var n,i,o,a=r(75237),s=r(32451),u=r(87181),l=r(25298),c=r(74633),f=r(19321),d=r(69683),h=r(99295),p=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new p("Object already initialized");return e.facade=t,y.set(t,e),e},i=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var m=d("state");h[m]=!0,n=function(t,e){if(c(t,m))throw new p("Object already initialized");return e.facade=t,l(t,m,e),e},i=function(t){return c(t,m)?t[m]:{}},o=function(t){return c(t,m)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw new p("Incompatible receiver, "+t+" required");return r}}}},45812:(t,e,r)=>{"use strict";var n=r(96418),i=r(78230),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},9739:(t,e,r)=>{"use strict";var n=r(27579);t.exports=Array.isArray||function(t){return"Array"===n(t)}},17405:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},74333:(t,e,r)=>{"use strict";var n=r(3271),i=r(32479),o=r(17405),a=r(24230),s=r(24289),u=r(6273),l=function(){},c=[],f=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,h=n(d.exec),p=!d.test(l),g=function(t){if(!o(t))return!1;try{return f(l,c,t),!0}catch(t){return!1}},y=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(d,u(t))}catch(t){return!0}};y.sham=!0,t.exports=!f||i((function(){var t;return g(g.call)||!g(Object)||!g((function(){t=!0}))||t}))?y:g},25135:(t,e,r)=>{"use strict";var n=r(32479),i=r(17405),o=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r===c||r!==l&&(i(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},41838:t=>{"use strict";t.exports=function(t){return null==t}},87181:(t,e,r)=>{"use strict";var n=r(17405);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},26633:(t,e,r)=>{"use strict";var n=r(87181);t.exports=function(t){return n(t)||null===t}},87138:t=>{"use strict";t.exports=!1},53340:(t,e,r)=>{"use strict";var n=r(87181),i=r(27579),o=r(96418)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===i(t))}},76796:(t,e,r)=>{"use strict";var n=r(24289),i=r(17405),o=r(94125),a=r(68429),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,s(t))}},4302:(t,e,r)=>{"use strict";var n=r(69299),i=r(5234),o=r(2955),a=r(22773),s=r(45812),u=r(12154),l=r(94125),c=r(599),f=r(44128),d=r(71635),h=TypeError,p=function(t,e){this.stopped=t,this.result=e},g=p.prototype;t.exports=function(t,e,r){var y,m,v,b,w,_,x,S=r&&r.that,E=!(!r||!r.AS_ENTRIES),T=!(!r||!r.IS_RECORD),k=!(!r||!r.IS_ITERATOR),O=!(!r||!r.INTERRUPTED),A=n(e,S),C=function(t){return y&&d(y,"normal",t),new p(!0,t)},P=function(t){return E?(o(t),O?A(t[0],t[1],C):A(t[0],t[1])):O?A(t,C):A(t)};if(T)y=t.iterator;else if(k)y=t;else{if(!(m=f(t)))throw new h(a(t)+" is not iterable");if(s(m)){for(v=0,b=u(t);b>v;v++)if((w=P(t[v]))&&l(g,w))return w;return new p(!1)}y=c(t,m)}for(_=T?t.next:y.next;!(x=i(_,y)).done;){try{w=P(x.value)}catch(t){d(y,"throw",t)}if("object"==typeof w&&w&&l(g,w))return w}return new p(!1)}},71635:(t,e,r)=>{"use strict";var n=r(5234),i=r(2955),o=r(37961);t.exports=function(t,e,r){var a,s;i(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw r;if(s)throw a;return i(a),r}},13653:(t,e,r)=>{"use strict";var n=r(78607).IteratorPrototype,i=r(25094),o=r(31433),a=r(38565),s=r(78230),u=function(){return this};t.exports=function(t,e,r,l){var c=e+" Iterator";return t.prototype=i(n,{next:o(+!l,r)}),a(t,c,!1,!0),s[c]=u,t}},18434:(t,e,r)=>{"use strict";var n=r(32162),i=r(5234),o=r(87138),a=r(74251),s=r(17405),u=r(13653),l=r(96666),c=r(70210),f=r(38565),d=r(25298),h=r(67089),p=r(96418),g=r(78230),y=r(78607),m=a.PROPER,v=a.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,_=p("iterator"),x=function(){return this};t.exports=function(t,e,r,a,p,y,S){u(r,e,a);var E,T,k,O=function(t){if(t===p&&R)return R;if(!w&&t&&t in P)return P[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",C=!1,P=t.prototype,j=P[_]||P["@@iterator"]||p&&P[p],R=!w&&j||O(p),N="Array"===e&&P.entries||j;if(N&&(E=l(N.call(new t)))!==Object.prototype&&E.next&&(o||l(E)===b||(c?c(E,b):s(E[_])||h(E,_,x)),f(E,A,!0,!0),o&&(g[A]=x)),m&&"values"===p&&j&&"values"!==j.name&&(!o&&v?d(P,"name","values"):(C=!0,R=function(){return i(j,this)})),p)if(T={values:O("values"),keys:y?R:O("keys"),entries:O("entries")},S)for(k in T)(w||C||!(k in P))&&h(P,k,T[k]);else n({target:e,proto:!0,forced:w||C},T);return o&&!S||P[_]===R||h(P,_,R,{name:p}),g[e]=R,T}},78607:(t,e,r)=>{"use strict";var n,i,o,a=r(32479),s=r(17405),u=r(87181),l=r(25094),c=r(96666),f=r(67089),d=r(96418),h=r(87138),p=d("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):g=!0),!u(n)||a((function(){var t={};return n[p].call(t)!==t}))?n={}:h&&(n=l(n)),s(n[p])||f(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},78230:t=>{"use strict";t.exports={}},12154:(t,e,r)=>{"use strict";var n=r(9641);t.exports=function(t){return n(t.length)}},51893:(t,e,r)=>{"use strict";var n=r(3271),i=r(32479),o=r(17405),a=r(74633),s=r(24952),u=r(74251).CONFIGURABLE,l=r(6273),c=r(69933),f=c.enforce,d=c.get,h=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),m=n([].join),v=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===g(h(e),0,7)&&(e="["+y(h(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?p(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&a(r,"arity")&&t.length!==r.arity&&p(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=f(t);return a(n,"source")||(n.source=m(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&d(this).source||l(this)}),"toString")},21797:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},8783:(t,e,r)=>{"use strict";var n,i,o,a,s,u=r(32451),l=r(3318),c=r(69299),f=r(98743).set,d=r(16986),h=r(3865),p=r(60700),g=r(20874),y=r(55089),m=u.MutationObserver||u.WebKitMutationObserver,v=u.document,b=u.process,w=u.Promise,_=l("queueMicrotask");if(!_){var x=new d,S=function(){var t,e;for(y&&(t=b.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};h||y||g||!m||!v?!p&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,s=c(a.then,a),n=function(){s(S)}):y?n=function(){b.nextTick(S)}:(f=c(f,u),n=function(){f(S)}):(i=!0,o=v.createTextNode(""),new m(S).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),_=function(t){x.head||n(),x.add(t)}}t.exports=_},21128:(t,e,r)=>{"use strict";var n=r(44517),i=TypeError,o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw new i("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},31730:(t,e,r)=>{"use strict";var n=r(53340),i=TypeError;t.exports=function(t){if(n(t))throw new i("The method doesn't accept regular expressions");return t}},25094:(t,e,r)=>{"use strict";var n,i=r(2955),o=r(79203),a=r(51410),s=r(99295),u=r(29227),l=r(82116),c=r(69683),f=c("IE_PROTO"),d=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;g="undefined"!=typeof document?document.domain&&n?p(n):((e=l("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):p(n);for(var r=a.length;r--;)delete g.prototype[a[r]];return g()};s[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d.prototype=i(t),r=new d,d.prototype=null,r[f]=t):r=g(),void 0===e?r:o.f(r,e)}},79203:(t,e,r)=>{"use strict";var n=r(24952),i=r(22916),o=r(20341),a=r(2955),s=r(86658),u=r(32005);e.f=n&&!i?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),i=u(e),l=i.length,c=0;l>c;)o.f(t,r=i[c++],n[r]);return t}},20341:(t,e,r)=>{"use strict";var n=r(24952),i=r(8338),o=r(22916),a=r(2955),s=r(50514),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor;e.f=n?o?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=c(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return l(t,e,r)}:l:function(t,e,r){if(a(t),e=s(e),a(r),i)try{return l(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},67537:(t,e,r)=>{"use strict";var n=r(24952),i=r(5234),o=r(67109),a=r(31433),s=r(86658),u=r(50514),l=r(74633),c=r(8338),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=u(e),c)try{return f(t,e)}catch(t){}if(l(t,e))return a(!i(o.f,t,e),t[e])}},93982:(t,e,r)=>{"use strict";var n=r(27579),i=r(86658),o=r(6076).f,a=r(50386),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},6076:(t,e,r)=>{"use strict";var n=r(67530),i=r(51410).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},93188:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},96666:(t,e,r)=>{"use strict";var n=r(74633),i=r(17405),o=r(69271),a=r(69683),s=r(39159),u=a("IE_PROTO"),l=Object,c=l.prototype;t.exports=s?l.getPrototypeOf:function(t){var e=o(t);if(n(e,u))return e[u];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof l?c:null}},39483:(t,e,r)=>{"use strict";var n=r(32479),i=r(87181),o=r(27579),a=r(74585),s=Object.isExtensible,u=n((function(){s(1)}));t.exports=u||a?function(t){return!!i(t)&&((!a||"ArrayBuffer"!==o(t))&&(!s||s(t)))}:s},94125:(t,e,r)=>{"use strict";var n=r(3271);t.exports=n({}.isPrototypeOf)},67530:(t,e,r)=>{"use strict";var n=r(3271),i=r(74633),o=r(86658),a=r(59140).indexOf,s=r(99295),u=n([].push);t.exports=function(t,e){var r,n=o(t),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;e.length>l;)i(n,r=e[l++])&&(~a(c,r)||u(c,r));return c}},32005:(t,e,r)=>{"use strict";var n=r(67530),i=r(51410);t.exports=Object.keys||function(t){return n(t,i)}},67109:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},70210:(t,e,r)=>{"use strict";var n=r(48891),i=r(2955),o=r(59747);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),o(n),e?t(r,n):r.__proto__=n,r}}():void 0)},71447:(t,e,r)=>{"use strict";var n=r(24952),i=r(32479),o=r(3271),a=r(96666),s=r(32005),u=r(86658),l=o(r(67109).f),c=o([].push),f=n&&i((function(){var t=Object.create(null);return t[2]=2,!l(t,2)})),d=function(t){return function(e){for(var r,i=u(e),o=s(i),d=f&&null===a(i),h=o.length,p=0,g=[];h>p;)r=o[p++],n&&!(d?r in i:l(i,r))||c(g,t?[r,i[r]]:i[r]);return g}};t.exports={entries:d(!0),values:d(!1)}},69267:(t,e,r)=>{"use strict";var n=r(42066),i=r(24230);t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},90319:(t,e,r)=>{"use strict";var n=r(5234),i=r(17405),o=r(87181),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&i(r=t.toString)&&!o(s=n(r,t)))return s;if(i(r=t.valueOf)&&!o(s=n(r,t)))return s;if("string"!==e&&i(r=t.toString)&&!o(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},74730:(t,e,r)=>{"use strict";var n=r(24289),i=r(3271),o=r(6076),a=r(93188),s=r(2955),u=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(s(t)),r=a.f;return r?u(e,r(t)):e}},70992:(t,e,r)=>{"use strict";var n=r(32451);t.exports=n},62686:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},39508:(t,e,r)=>{"use strict";var n=r(32451),i=r(9967),o=r(17405),a=r(25135),s=r(6273),u=r(96418),l=r(97384),c=r(73529),f=r(87138),d=r(59459),h=i&&i.prototype,p=u("species"),g=!1,y=o(n.PromiseRejectionEvent),m=a("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===d)return!0;if(f&&(!h.catch||!h.finally))return!0;if(!d||d<51||!/native code/.test(t)){var r=new i((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[p]=n,!(g=r.then((function(){}))instanceof n))return!0}return!e&&(l||c)&&!y}));t.exports={CONSTRUCTOR:m,REJECTION_EVENT:y,SUBCLASSING:g}},9967:(t,e,r)=>{"use strict";var n=r(32451);t.exports=n.Promise},16181:(t,e,r)=>{"use strict";var n=r(2955),i=r(87181),o=r(21128);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},62221:(t,e,r)=>{"use strict";var n=r(9967),i=r(48377),o=r(39508).CONSTRUCTOR;t.exports=o||!i((function(t){n.all(t).then(void 0,(function(){}))}))},16986:t=>{"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},74355:(t,e,r)=>{"use strict";var n=r(5234),i=r(2955),o=r(17405),a=r(27579),s=r(40387),u=TypeError;t.exports=function(t,e){var r=t.exec;if(o(r)){var l=n(r,t,e);return null!==l&&i(l),l}if("RegExp"===a(t))return n(s,t,e);throw new u("RegExp#exec called on incompatible receiver")}},40387:(t,e,r)=>{"use strict";var n,i,o=r(5234),a=r(3271),s=r(73247),u=r(32754),l=r(62616),c=r(4999),f=r(25094),d=r(69933).get,h=r(19980),p=r(49932),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,m=y,v=a("".charAt),b=a("".indexOf),w=a("".replace),_=a("".slice),x=(i=/b*/g,o(y,n=/a/,"a"),o(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),S=l.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(x||E||S||h||p)&&(m=function(t){var e,r,n,i,a,l,c,h=this,p=d(h),T=s(t),k=p.raw;if(k)return k.lastIndex=h.lastIndex,e=o(m,k,T),h.lastIndex=k.lastIndex,e;var O=p.groups,A=S&&h.sticky,C=o(u,h),P=h.source,j=0,R=T;if(A&&(C=w(C,"y",""),-1===b(C,"g")&&(C+="g"),R=_(T,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==v(T,h.lastIndex-1))&&(P="(?: "+P+")",R=" "+R,j++),r=new RegExp("^(?:"+P+")",C)),E&&(r=new RegExp("^"+P+"$(?!\\s)",C)),x&&(n=h.lastIndex),i=o(y,A?r:h,R),A?i?(i.input=_(i.input,j),i[0]=_(i[0],j),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:x&&i&&(h.lastIndex=h.global?i.index+i[0].length:n),E&&i&&i.length>1&&o(g,i[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&O)for(i.groups=l=f(null),a=0;a<O.length;a++)l[(c=O[a])[0]]=i[c[1]];return i}),t.exports=m},32754:(t,e,r)=>{"use strict";var n=r(2955);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},98017:(t,e,r)=>{"use strict";var n=r(5234),i=r(74633),o=r(94125),a=r(32754),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:n(a,t)}},62616:(t,e,r)=>{"use strict";var n=r(32479),i=r(32451).RegExp,o=n((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),a=o||n((function(){return!i("a","y").sticky})),s=o||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},19980:(t,e,r)=>{"use strict";var n=r(32479),i=r(32451).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},49932:(t,e,r)=>{"use strict";var n=r(32479),i=r(32451).RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},24915:(t,e,r)=>{"use strict";var n=r(41838),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},3318:(t,e,r)=>{"use strict";var n=r(32451),i=r(24952),o=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!i)return n[t];var e=o(n,t);return e&&e.value}},70928:(t,e,r)=>{"use strict";var n=r(24289),i=r(49839),o=r(96418),a=r(24952),s=o("species");t.exports=function(t){var e=n(t);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},38565:(t,e,r)=>{"use strict";var n=r(20341).f,i=r(74633),o=r(96418)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!i(t,o)&&n(t,o,{configurable:!0,value:e})}},69683:(t,e,r)=>{"use strict";var n=r(4999),i=r(66871),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},19321:(t,e,r)=>{"use strict";var n=r(32451),i=r(48213),o=n["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},4999:(t,e,r)=>{"use strict";var n=r(87138),i=r(19321);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE",source:"https://github.com/zloirock/core-js"})},58343:(t,e,r)=>{"use strict";var n=r(2955),i=r(67651),o=r(41838),a=r(96418)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||o(r=n(s)[a])?e:i(r)}},76598:(t,e,r)=>{"use strict";var n=r(3271),i=r(65815),o=r(73247),a=r(24915),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(t){return function(e,r){var n,c,f=o(a(e)),d=i(r),h=f.length;return d<0||d>=h?t?"":void 0:(n=u(f,d))<55296||n>56319||d+1===h||(c=u(f,d+1))<56320||c>57343?t?s(f,d):n:t?l(f,d,d+2):c-56320+(n-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},82834:(t,e,r)=>{"use strict";var n=r(3271),i=r(24915),o=r(73247),a=r(28628),s=n("".replace),u=RegExp("^["+a+"]+"),l=RegExp("(^|[^"+a+"])["+a+"]+$"),c=function(t){return function(e){var r=o(i(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,l,"$1")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},41414:(t,e,r)=>{"use strict";var n=r(59459),i=r(32479),o=r(32451).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},77416:(t,e,r)=>{"use strict";var n=r(5234),i=r(24289),o=r(96418),a=r(67089);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return n(r,this)}),{arity:1})}},81836:(t,e,r)=>{"use strict";var n=r(41414);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},98743:(t,e,r)=>{"use strict";var n,i,o,a,s=r(32451),u=r(83483),l=r(69299),c=r(17405),f=r(74633),d=r(32479),h=r(29227),p=r(50386),g=r(82116),y=r(42289),m=r(3865),v=r(55089),b=s.setImmediate,w=s.clearImmediate,_=s.process,x=s.Dispatch,S=s.Function,E=s.MessageChannel,T=s.String,k=0,O={};d((function(){n=s.location}));var A=function(t){if(f(O,t)){var e=O[t];delete O[t],e()}},C=function(t){return function(){A(t)}},P=function(t){A(t.data)},j=function(t){s.postMessage(T(t),n.protocol+"//"+n.host)};b&&w||(b=function(t){y(arguments.length,1);var e=c(t)?t:S(t),r=p(arguments,1);return O[++k]=function(){u(e,void 0,r)},i(k),k},w=function(t){delete O[t]},v?i=function(t){_.nextTick(C(t))}:x&&x.now?i=function(t){x.now(C(t))}:E&&!m?(a=(o=new E).port2,o.port1.onmessage=P,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(j)?(i=j,s.addEventListener("message",P,!1)):i="onreadystatechange"in g("script")?function(t){h.appendChild(g("script")).onreadystatechange=function(){h.removeChild(this),A(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:b,clear:w}},37130:(t,e,r)=>{"use strict";var n=r(3271);t.exports=n(1..valueOf)},19710:(t,e,r)=>{"use strict";var n=r(65815),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},86658:(t,e,r)=>{"use strict";var n=r(60586),i=r(24915);t.exports=function(t){return n(i(t))}},65815:(t,e,r)=>{"use strict";var n=r(21797);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},9641:(t,e,r)=>{"use strict";var n=r(65815),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},69271:(t,e,r)=>{"use strict";var n=r(24915),i=Object;t.exports=function(t){return i(n(t))}},96492:(t,e,r)=>{"use strict";var n=r(5234),i=r(87181),o=r(76796),a=r(37961),s=r(90319),u=r(96418),l=TypeError,c=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,u=a(t,c);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},50514:(t,e,r)=>{"use strict";var n=r(96492),i=r(76796);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},42066:(t,e,r)=>{"use strict";var n={};n[r(96418)("toStringTag")]="z",t.exports="[object z]"===String(n)},73247:(t,e,r)=>{"use strict";var n=r(24230),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},22773:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},66871:(t,e,r)=>{"use strict";var n=r(3271),i=0,o=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},68429:(t,e,r)=>{"use strict";var n=r(41414);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},22916:(t,e,r)=>{"use strict";var n=r(24952),i=r(32479);t.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},42289:t=>{"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},75237:(t,e,r)=>{"use strict";var n=r(32451),i=r(17405),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},82318:(t,e,r)=>{"use strict";var n=r(70992),i=r(74633),o=r(66717),a=r(20341).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},66717:(t,e,r)=>{"use strict";var n=r(96418);e.f=n},96418:(t,e,r)=>{"use strict";var n=r(32451),i=r(4999),o=r(74633),a=r(66871),s=r(41414),u=r(68429),l=n.Symbol,c=i("wks"),f=u?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){return o(c,t)||(c[t]=s&&o(l,t)?l[t]:f("Symbol."+t)),c[t]}},28628:t=>{"use strict";t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},48888:(t,e,r)=>{"use strict";var n=r(32162),i=r(32479),o=r(9739),a=r(87181),s=r(69271),u=r(12154),l=r(93409),c=r(25508),f=r(63918),d=r(74502),h=r(96418),p=r(59459),g=h("isConcatSpreadable"),y=p>=51||!i((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),m=function(t){if(!a(t))return!1;var e=t[g];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,arity:1,forced:!y||!d("concat")},{concat:function(t){var e,r,n,i,o,a=s(this),d=f(a,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(m(o=-1===e?a:arguments[e]))for(i=u(o),l(h+i),r=0;r<i;r++,h++)r in o&&c(d,h,o[r]);else l(h+1),c(d,h++,o);return d.length=h,d}})},2458:(t,e,r)=>{"use strict";var n=r(32162),i=r(80364).filter;n({target:"Array",proto:!0,forced:!r(74502)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},3925:(t,e,r)=>{"use strict";var n=r(32162),i=r(80364).find,o=r(30689),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},17554:(t,e,r)=>{"use strict";var n=r(32162),i=r(59140).includes,o=r(32479),a=r(30689);n({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},54458:(t,e,r)=>{"use strict";var n=r(86658),i=r(30689),o=r(78230),a=r(69933),s=r(20341).f,u=r(18434),l=r(71620),c=r(87138),f=r(24952),d=a.set,h=a.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,e){d(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,l(void 0,!0);switch(t.kind){case"keys":return l(r,!1);case"values":return l(e[r],!1)}return l([r,e[r]],!1)}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},65273:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(60586),a=r(86658),s=r(61116),u=i([].join);n({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(t){return u(a(this),void 0===t?",":t)}})},98702:(t,e,r)=>{"use strict";var n=r(32162),i=r(80364).map;n({target:"Array",proto:!0,forced:!r(74502)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},45872:(t,e,r)=>{"use strict";var n=r(32162),i=r(9739),o=r(74333),a=r(87181),s=r(19710),u=r(12154),l=r(86658),c=r(25508),f=r(96418),d=r(74502),h=r(50386),p=d("slice"),g=f("species"),y=Array,m=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var r,n,f,d=l(this),p=u(d),v=s(t,p),b=s(void 0===e?p:e,p);if(i(d)&&(r=d.constructor,(o(r)&&(r===y||i(r.prototype))||a(r)&&null===(r=r[g]))&&(r=void 0),r===y||void 0===r))return h(d,v,b);for(n=new(void 0===r?y:r)(m(b-v,0)),f=0;v<b;v++,f++)v in d&&c(n,f,d[v]);return n.length=f,n}})},91756:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(44517),a=r(69271),s=r(12154),u=r(47008),l=r(73247),c=r(32479),f=r(26402),d=r(61116),h=r(6256),p=r(6956),g=r(59459),y=r(18216),m=[],v=i(m.sort),b=i(m.push),w=c((function(){m.sort(void 0)})),_=c((function(){m.sort(null)})),x=d("sort"),S=!c((function(){if(g)return g<70;if(!(h&&h>3)){if(p)return!0;if(y)return y<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)m.push({k:e+n,v:r})}for(m.sort((function(t,e){return e.v-t.v})),n=0;n<m.length;n++)e=m[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!_||!x||!S},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(S)return void 0===t?v(e):v(e,t);var r,n,i=[],c=s(e);for(n=0;n<c;n++)n in e&&b(i,e[n]);for(f(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:l(e)>l(r)?1:-1}}(t)),r=s(i),n=0;n<r;)e[n]=i[n++];for(;n<c;)u(e,n++);return e}})},15796:(t,e,r)=>{"use strict";var n=r(32162),i=r(69271),o=r(19710),a=r(65815),s=r(12154),u=r(98e3),l=r(93409),c=r(63918),f=r(25508),d=r(47008),h=r(74502)("splice"),p=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!h},{splice:function(t,e){var r,n,h,y,m,v,b=i(this),w=s(b),_=o(t,w),x=arguments.length;for(0===x?r=n=0:1===x?(r=0,n=w-_):(r=x-2,n=g(p(a(e),0),w-_)),l(w+r-n),h=c(b,n),y=0;y<n;y++)(m=_+y)in b&&f(h,y,b[m]);if(h.length=n,r<n){for(y=_;y<w-n;y++)v=y+r,(m=y+n)in b?b[v]=b[m]:d(b,v);for(y=w;y>w-n+r;y--)d(b,y-1)}else if(r>n)for(y=w-n;y>_;y--)v=y+r-1,(m=y+n-1)in b?b[v]=b[m]:d(b,v);for(y=0;y<r;y++)b[y+_]=arguments[y+2];return u(b,w-n+r),h}})},4099:(t,e,r)=>{"use strict";var n=r(74633),i=r(67089),o=r(8448),a=r(96418)("toPrimitive"),s=Date.prototype;n(s,a)||i(s,a,o)},40454:(t,e,r)=>{"use strict";var n=r(24952),i=r(74251).EXISTS,o=r(3271),a=r(49839),s=Function.prototype,u=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(l.exec);n&&!i&&a(s,"name",{configurable:!0,get:function(){try{return c(l,u(this))[1]}catch(t){return""}}})},63322:(t,e,r)=>{"use strict";var n=r(32162),i=r(32451);n({global:!0,forced:i.globalThis!==i},{globalThis:i})},17767:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(83483),a=r(5234),s=r(3271),u=r(32479),l=r(17405),c=r(76796),f=r(50386),d=r(44291),h=r(41414),p=String,g=i("JSON","stringify"),y=s(/./.exec),m=s("".charAt),v=s("".charCodeAt),b=s("".replace),w=s(1..toString),_=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,E=!h||u((function(){var t=i("Symbol")("stringify detection");return"[null]"!==g([t])||"{}"!==g({a:t})||"{}"!==g(Object(t))})),T=u((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),k=function(t,e){var r=f(arguments),n=d(e);if(l(n)||void 0!==t&&!c(t))return r[1]=function(t,e){if(l(n)&&(e=a(n,this,p(t),e)),!c(e))return e},o(g,null,r)},O=function(t,e,r){var n=m(r,e-1),i=m(r,e+1);return y(x,t)&&!y(S,i)||y(S,t)&&!y(x,n)?"\\u"+w(v(t,0),16):t};g&&n({target:"JSON",stat:!0,arity:3,forced:E||T},{stringify:function(t,e,r){var n=f(arguments),i=o(E?k:g,null,n);return T&&"string"==typeof i?b(i,_,O):i}})},17299:(t,e,r)=>{"use strict";var n=r(32451);r(38565)(n.JSON,"JSON",!0)},69590:(t,e,r)=>{"use strict";r(57902)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(36776))},7517:(t,e,r)=>{"use strict";r(69590)},12766:(t,e,r)=>{"use strict";r(38565)(Math,"Math",!0)},75397:(t,e,r)=>{"use strict";var n=r(32162),i=r(87138),o=r(24952),a=r(32451),s=r(70992),u=r(3271),l=r(25135),c=r(74633),f=r(23885),d=r(94125),h=r(76796),p=r(96492),g=r(32479),y=r(6076).f,m=r(67537).f,v=r(20341).f,b=r(37130),w=r(82834).trim,_=a.Number,x=s.Number,S=_.prototype,E=a.TypeError,T=u("".slice),k=u("".charCodeAt),O=function(t){var e=p(t,"number");return"bigint"==typeof e?e:A(e)},A=function(t){var e,r,n,i,o,a,s,u,l=p(t,"number");if(h(l))throw new E("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=w(l),43===(e=k(l,0))||45===e){if(88===(r=k(l,2))||120===r)return NaN}else if(48===e){switch(k(l,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+l}for(a=(o=T(l,2)).length,s=0;s<a;s++)if((u=k(o,s))<48||u>i)return NaN;return parseInt(o,n)}return+l},C=l("Number",!_(" 0o1")||!_("0b1")||_("+0x1")),P=function(t){return d(S,t)&&g((function(){b(t)}))},j=function(t){var e=arguments.length<1?0:_(O(t));return P(this)?f(Object(e),this,j):e};j.prototype=S,C&&!i&&(S.constructor=j),n({global:!0,constructor:!0,wrap:!0,forced:C},{Number:j});var R=function(t,e){for(var r,n=o?y(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)c(e,r=n[i])&&!c(t,r)&&v(t,r,m(e,r))};i&&x&&R(s.Number,x),(C||i)&&R(s.Number,_)},93900:(t,e,r)=>{"use strict";var n=r(32162),i=r(41414),o=r(32479),a=r(93188),s=r(69271);n({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},20539:(t,e,r)=>{"use strict";var n=r(32162),i=r(32479),o=r(69271),a=r(96666),s=r(39159);n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},10373:(t,e,r)=>{"use strict";var n=r(32162),i=r(69271),o=r(32005);n({target:"Object",stat:!0,forced:r(32479)((function(){o(1)}))},{keys:function(t){return o(i(t))}})},45195:(t,e,r)=>{"use strict";var n=r(42066),i=r(67089),o=r(69267);n||i(Object.prototype,"toString",o,{unsafe:!0})},13090:(t,e,r)=>{"use strict";var n=r(32162),i=r(71447).values;n({target:"Object",stat:!0},{values:function(t){return i(t)}})},65716:(t,e,r)=>{"use strict";var n=r(32162),i=r(5234),o=r(44517),a=r(21128),s=r(62686),u=r(4302);n({target:"Promise",stat:!0,forced:r(62221)},{all:function(t){var e=this,r=a.f(e),n=r.resolve,l=r.reject,c=s((function(){var r=o(e.resolve),a=[],s=0,c=1;u(t,(function(t){var o=s++,u=!1;c++,i(r,e,t).then((function(t){u||(u=!0,a[o]=t,--c||n(a))}),l)})),--c||n(a)}));return c.error&&l(c.value),r.promise}})},79901:(t,e,r)=>{"use strict";var n=r(32162),i=r(87138),o=r(39508).CONSTRUCTOR,a=r(9967),s=r(24289),u=r(17405),l=r(67089),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},54083:(t,e,r)=>{"use strict";var n,i,o,a=r(32162),s=r(87138),u=r(55089),l=r(32451),c=r(5234),f=r(67089),d=r(70210),h=r(38565),p=r(70928),g=r(44517),y=r(17405),m=r(87181),v=r(21141),b=r(58343),w=r(98743).set,_=r(8783),x=r(14735),S=r(62686),E=r(16986),T=r(69933),k=r(9967),O=r(39508),A=r(21128),C=O.CONSTRUCTOR,P=O.REJECTION_EVENT,j=O.SUBCLASSING,R=T.getterFor("Promise"),N=T.set,I=k&&k.prototype,D=k,L=I,M=l.TypeError,F=l.document,B=l.process,V=A.f,U=V,W=!!(F&&F.createEvent&&l.dispatchEvent),H=function(t){var e;return!(!m(t)||!y(e=t.then))&&e},G=function(t,e){var r,n,i,o=e.value,a=1===e.state,s=a?t.ok:t.fail,u=t.resolve,l=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&X(e),e.rejection=1),!0===s?r=o:(f&&f.enter(),r=s(o),f&&(f.exit(),i=!0)),r===t.promise?l(new M("Promise-chain cycle")):(n=H(r))?c(n,r,u,l):u(r)):l(o)}catch(t){f&&!i&&f.exit(),l(t)}},Y=function(t,e){t.notified||(t.notified=!0,_((function(){for(var r,n=t.reactions;r=n.get();)G(r,t);t.notified=!1,e&&!t.rejection&&q(t)})))},$=function(t,e,r){var n,i;W?((n=F.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),l.dispatchEvent(n)):n={promise:e,reason:r},!P&&(i=l["on"+t])?i(n):"unhandledrejection"===t&&x("Unhandled promise rejection",r)},q=function(t){c(w,l,(function(){var e,r=t.facade,n=t.value;if(z(t)&&(e=S((function(){u?B.emit("unhandledRejection",n,r):$("unhandledrejection",r,n)})),t.rejection=u||z(t)?2:1,e.error))throw e.value}))},z=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(w,l,(function(){var e=t.facade;u?B.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},Q=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,Y(t,!0))},J=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new M("Promise can't be resolved itself");var n=H(e);n?_((function(){var r={done:!1};try{c(n,e,Q(J,r,t),Q(Z,r,t))}catch(e){Z(r,e,t)}})):(t.value=e,t.state=1,Y(t,!1))}catch(e){Z({done:!1},e,t)}}};if(C&&(L=(D=function(t){v(this,L),g(t),c(n,this);var e=R(this);try{t(Q(J,e),Q(Z,e))}catch(t){Z(e,t)}}).prototype,(n=function(t){N(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=f(L,"then",(function(t,e){var r=R(this),n=V(b(this,D));return r.parent=!0,n.ok=!y(t)||t,n.fail=y(e)&&e,n.domain=u?B.domain:void 0,0===r.state?r.reactions.add(n):_((function(){G(n,r)})),n.promise})),i=function(){var t=new n,e=R(t);this.promise=t,this.resolve=Q(J,e),this.reject=Q(Z,e)},A.f=V=function(t){return t===D||void 0===t?new i(t):U(t)},!s&&y(k)&&I!==Object.prototype)){o=I.then,j||f(I,"then",(function(t,e){var r=this;return new D((function(t,e){c(o,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete I.constructor}catch(t){}d&&d(I,L)}a({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:D}),h(D,"Promise",!1,!0),p("Promise")},30695:(t,e,r)=>{"use strict";r(54083),r(65716),r(79901),r(72075),r(49489),r(25548)},72075:(t,e,r)=>{"use strict";var n=r(32162),i=r(5234),o=r(44517),a=r(21128),s=r(62686),u=r(4302);n({target:"Promise",stat:!0,forced:r(62221)},{race:function(t){var e=this,r=a.f(e),n=r.reject,l=s((function(){var a=o(e.resolve);u(t,(function(t){i(a,e,t).then(r.resolve,n)}))}));return l.error&&n(l.value),r.promise}})},49489:(t,e,r)=>{"use strict";var n=r(32162),i=r(21128);n({target:"Promise",stat:!0,forced:r(39508).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return(0,e.reject)(t),e.promise}})},25548:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(87138),a=r(9967),s=r(39508).CONSTRUCTOR,u=r(16181),l=i("Promise"),c=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(t){return u(c&&this===l?a:this,t)}})},80528:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(83483),a=r(5428),s=r(67651),u=r(2955),l=r(87181),c=r(25094),f=r(32479),d=i("Reflect","construct"),h=Object.prototype,p=[].push,g=f((function(){function t(){}return!(d((function(){}),[],t)instanceof t)})),y=!f((function(){d((function(){}))})),m=g||y;n({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(t,e){s(t),u(e);var r=arguments.length<3?t:s(arguments[2]);if(y&&!g)return d(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return o(p,n,e),new(o(a,t,n))}var i=r.prototype,f=c(l(i)?i:h),m=o(t,f,e);return l(m)?m:f}})},9081:(t,e,r)=>{"use strict";var n=r(32162),i=r(40387);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},7741:(t,e,r)=>{"use strict";var n=r(74251).PROPER,i=r(67089),o=r(2955),a=r(73247),s=r(32479),u=r(98017),l=RegExp.prototype,c=l.toString,f=s((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),d=n&&"toString"!==c.name;(f||d)&&i(l,"toString",(function(){var t=o(this);return"/"+a(t.source)+"/"+a(u(t))}),{unsafe:!0})},9807:(t,e,r)=>{"use strict";r(57902)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(36776))},42781:(t,e,r)=>{"use strict";r(9807)},39385:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(31730),a=r(24915),s=r(73247),u=r(33752),l=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~l(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},94825:(t,e,r)=>{"use strict";var n=r(76598).charAt,i=r(73247),o=r(69933),a=r(18434),s=r(71620),u=o.set,l=o.getterFor("String Iterator");a(String,"String",(function(t){u(this,{type:"String Iterator",string:i(t),index:0})}),(function(){var t,e=l(this),r=e.string,i=e.index;return i>=r.length?s(void 0,!0):(t=n(r,i),e.index+=t.length,s(t,!1))}))},24601:(t,e,r)=>{"use strict";var n=r(83483),i=r(5234),o=r(3271),a=r(44896),s=r(32479),u=r(2955),l=r(17405),c=r(41838),f=r(65815),d=r(9641),h=r(73247),p=r(24915),g=r(70280),y=r(37961),m=r(93315),v=r(74355),b=r(96418)("replace"),w=Math.max,_=Math.min,x=o([].concat),S=o([].push),E=o("".indexOf),T=o("".slice),k="$0"==="a".replace(/./,"$0"),O=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(t,e,r){var o=O?"$":"$0";return[function(t,r){var n=p(this),o=c(t)?void 0:y(t,b);return o?i(o,t,n,r):i(e,h(n),t,r)},function(t,i){var a=u(this),s=h(t);if("string"==typeof i&&-1===E(i,o)&&-1===E(i,"$<")){var c=r(e,a,s,i);if(c.done)return c.value}var p=l(i);p||(i=h(i));var y,b=a.global;b&&(y=a.unicode,a.lastIndex=0);for(var k,O=[];null!==(k=v(a,s))&&(S(O,k),b);){""===h(k[0])&&(a.lastIndex=g(s,d(a.lastIndex),y))}for(var A,C="",P=0,j=0;j<O.length;j++){for(var R,N=h((k=O[j])[0]),I=w(_(f(k.index),s.length),0),D=[],L=1;L<k.length;L++)S(D,void 0===(A=k[L])?A:String(A));var M=k.groups;if(p){var F=x([N],D,I,s);void 0!==M&&S(F,M),R=h(n(i,void 0,F))}else R=m(N,s,I,D,M,i);I>=P&&(C+=T(s,P,I)+R,P=I+N.length)}return C+T(s,P)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!k||O)},73220:(t,e,r)=>{"use strict";var n,i=r(32162),o=r(21678),a=r(67537).f,s=r(9641),u=r(73247),l=r(31730),c=r(24915),f=r(33752),d=r(87138),h=o("".slice),p=Math.min,g=f("startsWith");i({target:"String",proto:!0,forced:!!(d||g||(n=a(String.prototype,"startsWith"),!n||n.writable))&&!g},{startsWith:function(t){var e=u(c(this));l(t);var r=s(p(arguments.length>1?arguments[1]:void 0,e.length)),n=u(t);return h(e,r,r+n.length)===n}})},85110:(t,e,r)=>{"use strict";r(82318)("asyncIterator")},10359:(t,e,r)=>{"use strict";var n=r(32162),i=r(32451),o=r(5234),a=r(3271),s=r(87138),u=r(24952),l=r(41414),c=r(32479),f=r(74633),d=r(94125),h=r(2955),p=r(86658),g=r(50514),y=r(73247),m=r(31433),v=r(25094),b=r(32005),w=r(6076),_=r(93982),x=r(93188),S=r(67537),E=r(20341),T=r(79203),k=r(67109),O=r(67089),A=r(49839),C=r(4999),P=r(69683),j=r(99295),R=r(66871),N=r(96418),I=r(66717),D=r(82318),L=r(77416),M=r(38565),F=r(69933),B=r(80364).forEach,V=P("hidden"),U=F.set,W=F.getterFor("Symbol"),H=Object.prototype,G=i.Symbol,Y=G&&G.prototype,$=i.RangeError,q=i.TypeError,z=i.QObject,X=S.f,Q=E.f,Z=_.f,J=k.f,K=a([].push),tt=C("symbols"),et=C("op-symbols"),rt=C("wks"),nt=!z||!z.prototype||!z.prototype.findChild,it=function(t,e,r){var n=X(H,e);n&&delete H[e],Q(t,e,r),n&&t!==H&&Q(H,e,n)},ot=u&&c((function(){return 7!==v(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?it:Q,at=function(t,e){var r=tt[t]=v(Y);return U(r,{type:"Symbol",tag:t,description:e}),u||(r.description=e),r},st=function(t,e,r){t===H&&st(et,e,r),h(t);var n=g(e);return h(r),f(tt,n)?(r.enumerable?(f(t,V)&&t[V][n]&&(t[V][n]=!1),r=v(r,{enumerable:m(0,!1)})):(f(t,V)||Q(t,V,m(1,v(null))),t[V][n]=!0),ot(t,n,r)):Q(t,n,r)},ut=function(t,e){h(t);var r=p(e),n=b(r).concat(dt(r));return B(n,(function(e){u&&!o(lt,r,e)||st(t,e,r[e])})),t},lt=function(t){var e=g(t),r=o(J,this,e);return!(this===H&&f(tt,e)&&!f(et,e))&&(!(r||!f(this,e)||!f(tt,e)||f(this,V)&&this[V][e])||r)},ct=function(t,e){var r=p(t),n=g(e);if(r!==H||!f(tt,n)||f(et,n)){var i=X(r,n);return!i||!f(tt,n)||f(r,V)&&r[V][n]||(i.enumerable=!0),i}},ft=function(t){var e=Z(p(t)),r=[];return B(e,(function(t){f(tt,t)||f(j,t)||K(r,t)})),r},dt=function(t){var e=t===H,r=Z(e?et:p(t)),n=[];return B(r,(function(t){!f(tt,t)||e&&!f(H,t)||K(n,tt[t])})),n};l||(O(Y=(G=function(){if(d(Y,this))throw new q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=R(t),r=function(t){var n=void 0===this?i:this;n===H&&o(r,et,t),f(n,V)&&f(n[V],e)&&(n[V][e]=!1);var a=m(1,t);try{ot(n,e,a)}catch(t){if(!(t instanceof $))throw t;it(n,e,a)}};return u&&nt&&ot(H,e,{configurable:!0,set:r}),at(e,t)}).prototype,"toString",(function(){return W(this).tag})),O(G,"withoutSetter",(function(t){return at(R(t),t)})),k.f=lt,E.f=st,T.f=ut,S.f=ct,w.f=_.f=ft,x.f=dt,I.f=function(t){return at(N(t),t)},u&&(A(Y,"description",{configurable:!0,get:function(){return W(this).description}}),s||O(H,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:G}),B(b(rt),(function(t){D(t)})),n({target:"Symbol",stat:!0,forced:!l},{useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(t,e){return void 0===e?v(t):ut(v(t),e)},defineProperty:st,defineProperties:ut,getOwnPropertyDescriptor:ct}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ft}),L(),M(G,"Symbol"),j[V]=!0},14223:(t,e,r)=>{"use strict";var n=r(32162),i=r(24952),o=r(32451),a=r(3271),s=r(74633),u=r(17405),l=r(94125),c=r(73247),f=r(49839),d=r(29726),h=o.Symbol,p=h&&h.prototype;if(i&&u(h)&&(!("description"in p)||void 0!==h().description)){var g={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),e=l(p,this)?new h(t):void 0===t?h():h(t);return""===t&&(g[e]=!0),e};d(y,h),y.prototype=p,p.constructor=y;var m="Symbol(description detection)"===String(h("description detection")),v=a(p.valueOf),b=a(p.toString),w=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),x=a("".slice);f(p,"description",{configurable:!0,get:function(){var t=v(this);if(s(g,t))return"";var e=b(t),r=m?x(e,7,-1):_(e,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},51071:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(74633),a=r(73247),s=r(4999),u=r(81836),l=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(o(l,e))return l[e];var r=i("Symbol")(e);return l[e]=r,c[r]=e,r}})},58965:(t,e,r)=>{"use strict";r(82318)("iterator")},49361:(t,e,r)=>{"use strict";r(10359),r(51071),r(57627),r(17767),r(93900)},57627:(t,e,r)=>{"use strict";var n=r(32162),i=r(74633),o=r(76796),a=r(22773),s=r(4999),u=r(81836),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!o(t))throw new TypeError(a(t)+" is not a symbol");if(i(l,t))return l[t]}})},64120:(t,e,r)=>{"use strict";var n=r(82318),i=r(77416);n("toPrimitive"),i()},67483:(t,e,r)=>{"use strict";var n=r(24289),i=r(82318),o=r(38565);i("toStringTag"),o(n("Symbol"),"Symbol")},74289:(t,e,r)=>{"use strict";r(63322)},83500:(t,e,r)=>{"use strict";var n=r(32451),i=r(16411),o=r(75427),a=r(86348),s=r(25298),u=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var l in i)i[l]&&u(n[l]&&n[l].prototype);u(o)},56270:(t,e,r)=>{"use strict";var n=r(32451),i=r(16411),o=r(75427),a=r(54458),s=r(25298),u=r(38565),l=r(96418)("iterator"),c=a.values,f=function(t,e){if(t){if(t[l]!==c)try{s(t,l,c)}catch(e){t[l]=c}if(u(t,e,!0),i[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var d in i)f(n[d]&&n[d].prototype,d);f(o,"DOMTokenList")}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.m=t,r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),r.b=document.baseURI||self.location.href,r.nc=void 0;var n={};return(()=>{"use strict";r.r(n),r.d(n,{ItemStore:()=>Hu,Presenter:()=>Ja,bundleLoader:()=>Ju,engine:()=>ka,renderingContext:()=>ti,system:()=>Un,utils:()=>Bn,validate:()=>Ma});r(41539),r(54747),r(40561),r(57327),r(82526),r(41817),r(32165),r(66992),r(78783),r(33948),r(69826),r(47941),r(21249),r(26699),r(32023),r(96649),r(96078),r(9653),r(74289),r(48888),r(3925),r(45195),r(10373),r(83500),r(49361),r(14223),r(58965),r(54458),r(94825),r(56270);function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}"__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 e=globalThis.__rdfjson_namespaces,i=0,o=function(t,r,n){return e[t]||(e[t]=r),{abbrev:t,ns:r,localname:n,full:r+n,pretty:"".concat(t,":").concat(n)}},a=function(t){var r=Object.keys(e).find((function(r){return 0===t.indexOf(e[r])}));if(r)return o(r,e[r],t.substring(e[r].length));var n=t.lastIndexOf("/"),a=t.lastIndexOf("#");return a>n&&(n=a),o("ns".concat(i+=1),t.substring(0,n+1),t.substring(n+1))};const u=function(t){var r=Object.keys(e).find((function(r){return 0===t.indexOf(e[r])}));return r?o(r,e[r],t.substring(e[r].length)).pretty:t},l=function(t){return a(t).pretty},c=function(t){var r=t.split(":");return 2===r.length&&e.hasOwnProperty(r[0])?e[r[0]]+r[1]:t},f=function(r,n){"string"==typeof r?e[r]=n:"object"===t(r)&&Object.keys(r).forEach((function(t){e[t]=r[t]}))};r(85110),r(67483),r(17299),r(12766),r(20539),r(40454),r(45872),r(30695),r(98702),r(2458),r(13090),r(64120),r(4099),r(75397),r(7741),r(15796),r(42781);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var h=function(t){return void 0!==t&&(null===t||"object"===d(t)||Array.isArray(t)||"function"==typeof t)},p=function(t){return"string"==typeof t||t instanceof String},g=function(t,e,r){0===t[e][r].length&&(delete t[e][r],0===Object.keys(t[e]).length&&delete t[e])},y=function(t){if(!h(t[0]))throw new Error("Graph is not a object.");if(!p(t[1]))throw new Error("Subject is not a string.");if(!p(t[2]))throw new Error("Predicate is not a string.");if(!h(t[3]))throw new Error("Object is not a object.");if(void 0===t[3].type)throw new Error("Object has no type attribute, must be one of 'uri', 'literal', or 'bnode'");if(void 0===t[3].value)throw new Error("Object has no value attribute corresponding to the lexical value of the object.")},m=function(t,e){return t===e||null==t&&t===e||(p(t)?p(e)?t===e:t===e.value:p(e)?t.value===e:t.type===e.type&&t.value===e.value&&t.lang===e.lang&&t.datatype===e.datatype)},v=function(t){var e={type:t.type,value:t.value};return null!=t.ng&&(e.ng=t.ng),null!=t.lang&&(e.lang=t.lang),null!=t.datatype&&(e.datatype=t.datatype),e},b=function(t){return"".concat(t.value).concat(t.type).concat(t.lang||"").concat(t.datatype||"").concat(t.ng||"")};const w={isObject:h,isString:p,isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},statementEquals:function(t,e){return t.s===e.s&&t.p===e.p&&m(t.o,e.o)},add:function(t,e,r,n,i){if(y([t,e,r,n]),void 0===t[e])return t[e]={},t[e][r]=[n],n;if(void 0===t[e][r])return t[e][r]=[n],n;var o,a=t[e][r];if(!i)for(o=a.length-1;o>=0;o--)if(m(n,a[o]))return a[o];return a.push(n),n},remove:function(t,e,r,n){if(y([t,e,r,n]),void 0!==t[e]&&void 0!==t[e][r]){var i,o=t[e][r];for(i=o.length-1;i>=0;i--)if(m(n,o[i])){var a=o[i];return o.splice(i,1),g(t,e,r),a}}},contains:function(t,e,r,n){if(y([t,e,r,n]),void 0!==t[e]&&void 0!==t[e][r]){var i,o=t[e][r];for(i=o.length-1;i>=0;i--)if(m(n,o[i]))return o[i]}},cleanup:g,checkForWrongArgs:y,objectEquals:m,findDirectOrRDFValue:function(t,e,r){var n=t.find(e,r);if(n.length>0)return"bnode"!==n[0].getType()?n[0].getValue():t.findFirstValue(n[0].getValue(),"http://www.w3.org/1999/02/22-rdf-syntax-ns#value")},clone:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r={};return Object.keys(t).forEach((function(n){var i=t[n];r[n]={},Object.keys(i).forEach((function(t){var o=i[t];if(1===o.length)r[n][t]=[v(o[0])];else if(e){var a=[],s=new Set;r[n][t]=a,i[t].forEach((function(t){var e=v(t),r=b(e);s.has(r)||(s.add(r),a.push(e))}))}else{var u=[];r[n][t]=u,i[t].forEach((function(t){u.push(v(t))}))}}))})),r}};function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,S(n.key),n)}}function S(t){var e=function(t,e){if("object"!=_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_(e)?e:String(e)}var E=function(){function t(e,r,n,i,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._graph=e,this._s=r,this._p=n,this._o=i,this._o._statement=this,this._asserted=o}var e,r,n;return e=t,(r=[{key:"getGraph",value:function(){return this._graph}},{key:"setAsserted",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t!==this._asserted&&(t?this._graph.add(this,void 0,void 0,this._silentValue,e):this._graph.remove(this,this._silentValue),this._asserted=t)}},{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(t){this._silentValue=!1;var e=c(t);this._asserted?(this._graph.remove(this),this._s=e,this._graph.add(this),delete this._sIsBlank):this._s=e}},{key:"getPredicate",value:function(){return this._p}},{key:"setPredicate",value:function(t){this._silentValue=!1;var e=c(t);this._asserted?(this._graph.remove(this),this._p=e,this._graph.add(this)):this._p=e}},{key:"getNamedGraph",value:function(){return this._o.ng}},{key:"setNamedGraph",value:function(t){this._o.ng=t}},{key:"getObject",value:function(){return this._o}},{key:"getCleanObject",value:function(){var t=this._o,e={value:t.value,type:t.type};return this._o.ng&&(e.ng=t.ng),t.lang&&(e.lang=t.lang),this._o.datatype&&(e.datatype=t.datatype),e}},{key:"getType",value:function(){return this._o.type}},{key:"setType",value:function(t){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(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._silentValue=!0===e,t!==this._o.value&&(this._o.value=t,this.isAsserted()&&!0!==e&&this._graph.setChanged())}},{key:"getLanguage",value:function(){return this._o.lang}},{key:"setLanguage",value:function(t,e){if(this._silentValue=!0===e,"literal"!==this._o.type)throw new Error("Cannot set the language for a resource, has to be a literal");this._o.lang!==t&&(this._o.lang=t,this.isAsserted()&&!0!==e&&this._graph.setChanged())}},{key:"getDatatype",value:function(){return this._o.datatype}},{key:"setDatatype",value:function(t,e){if(this._silentValue=!0===e,"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!==t&&(this._o.datatype=t,this.isAsserted()&&!0!==e&&this._graph.setChanged())}}])&&x(e.prototype,r),n&&x(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),T=(r(91756),r(65273),r(2568));const k=function(t,e){var r=[],n=new Set((e||[]).map((function(t){return c(t)}))),i=[],o={},a=function(t){var e=t.getValue();t.getLanguage()&&(e+="@".concat(t.getLanguage()));var r=t.getDatatype();return r&&"http://www.w3.org/2001/XMLSchema#string"!==r&&"http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"!==r&&(e+="^^".concat(r)),e},s=function(t,e){var r=o[t]||{rels:[]};o[t]=r,r.rels.push(e)};return t.find().forEach((function(t){var e=t.getSubject(),o=t.getPredicate();if(!n.has(o)){var u="bnode"===t.getType(),l=t.isSubjectBlank();if(l||u)return i.push(t),l&&s(t.getSubject(),u?o:o+a(t)),void("bnode"===t.getType()&&s(t.getValue(),l?o:e+o));r.push(e+o+a(t))}})),Object.values(o).forEach((function(t){t.rels.sort(),t.hash=T(t.rels.join(""))})),i.forEach((function(t){var e=[];e.push(t.isSubjectBlank()?o[t.getSubject()].hash:t.getSubject()),e.push(t.getPredicate()),e.push("bnode"===t.getType()?o[t.getValue()].hash:a(t)),r.push(e.join(""))})),r.sort(),T(r.join(""))};class O{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}O.prototype.termType="BlankNode";const A=O;class C{equals(t){return!!t&&t.termType===this.termType}}C.prototype.termType="DefaultGraph",C.prototype.value="";const P=C;const j=function(t,e){if(!e)return null;if("BlankNode"===e.termType)return t.blankNode(e.value);if("DefaultGraph"===e.termType)return t.defaultGraph();if("Literal"===e.termType)return t.literal(e.value,e.language||t.namedNode(e.datatype.value));if("NamedNode"===e.termType)return t.namedNode(e.value);if("Quad"===e.termType){const r=t.fromTerm(e.subject),n=t.fromTerm(e.predicate),i=t.fromTerm(e.object),o=t.fromTerm(e.graph);return t.quad(r,n,i,o)}if("Variable"===e.termType)return t.variable(e.value);throw new Error("unknown termType "+e.termType)};class R{constructor(t,e,r){this.value=t,this.language=e,this.datatype=r}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value&&t.language===this.language&&t.datatype.equals(this.datatype)}}R.prototype.termType="Literal";const N=R;class I{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}I.prototype.termType="NamedNode";const D=I;class L{constructor(t,e,r,n){this.subject=t,this.predicate=e,this.object=r,this.graph=n}equals(t){return!!t&&("Quad"===t.termType||!t.termType)&&t.subject.equals(this.subject)&&t.predicate.equals(this.predicate)&&t.object.equals(this.object)&&t.graph.equals(this.graph)}}L.prototype.termType="Quad",L.prototype.value="";const M=L;class F{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}F.prototype.termType="Variable";const B=F,V=new D("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),U=new D("http://www.w3.org/2001/XMLSchema#string");class W{constructor(){this.init()}init(){this._data={blankNodeCounter:0,defaultGraph:new P}}namedNode(t){return new D(t)}blankNode(t){return t=t||"b"+ ++this._data.blankNodeCounter,new A(t)}literal(t,e){return"string"==typeof e?new N(t,e,V):new N(t,"",e||U)}variable(t){return new B(t)}defaultGraph(){return this._data.defaultGraph}quad(t,e,r,n=this.defaultGraph()){return new M(t,e,r,n)}fromTerm(t){return j(this,t)}fromQuad(t){return j(this,t)}}W.exports=["blankNode","defaultGraph","fromQuad","fromTerm","literal","namedNode","quad","variable"];const H=new W;var G=function(t){return 0===t.indexOf("_:")?t.substring(2):t},Y=function(t){return t.find().map((function(t){var e=t.getSubject(),r=t.getPredicate(),n=function(t){if(t.value)switch(t.type){case"literal":if(t.lang)return H.literal(t.value,t.lang);if(t.datatype){var e=H.namedNode(t.datatype);return H.literal(t.value,e)}return H.literal(t.value);case"uri":return H.namedNode(t.value);case"blank":return H.blankNode(G(t.value))}}(t.getObject()),i=t.getNamedGraph()?H.namedNode(t.getNamedGraph()):void 0;return H.quad(t.isSubjectBlank()?H.blankNode(G(e)):H.namedNode(e),H.namedNode(r),n,i)}))},$=function(t){return 0===t.indexOf("_:")?t:"_:".concat(t)},q=function(t,e){var r=e||new Graph,n=function(t){var e=function(t){switch(t.termType){case"NamedNode":return{value:t.value,type:"uri"};case"BlankNode":return{value:$(t.value),type:"bnode"};case"Literal":return t.language?{value:t.value,type:"literal",lang:t.language}:t.datatype?{value:t.value,type:"literal",datatype:t.datatype.value}:{value:t.value,type:"literal"}}}(t.object||t._object);return"DefaultGraph"!==t.graph.termType&&(e.ng=t.graph.value),e};t.forEach((function(t){r.add("BlankNode"===t.subject.termType?$(t.subject.value):t.subject.value,"BlankNode"===t.predicate.termType?$(t.predicate.value):t.predicate.value,n(t))}))};function z(t){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function X(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Z(n.key),n)}}function Z(t){var e=function(t,e){if("object"!=z(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=z(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==z(e)?e:String(e)}var J=function(t){return 0===t.length?t:[t[0]]},K=function t(e,r,n){return{object:function(i){for(var o=0;o<r.length;o++){var a=void 0;if(n)a=r[o].getSubject();else{var s=r[o].getType();if("uri"===s||"bnode"===s)continue;a=r[o].getValue()}var u=e.find(a,i);u.length>0&&t(e,[u[0]])}return t(e,[])},objects:function(i){var o,a=[];if(!0===n)for(o=0;o<r.length;o++)a=a.concat(e.find(r[o].getSubject(),i));else for(o=0;o<r.length;o++){var s=r[o].getType();"uri"!==s&&"bnode"!==s||(a=a.concat(e.find(r[o].getValue(),i)))}return t(e,a)},constr:function(i,o){var a=o;w.isString(a)&&(a={type:"uri",value:a});for(var s=[],u=0;u<r.length;u++){var l=n?r[u].getSubject():r[u].getValue();e.find(l,i,a).length>0&&s.push(r[u])}return t(e,s,n)},each:function(i,o){if(!0===n)for(var a=0;a<r.length;a++){var s="_:"===r[a].getSubject().substring(0,2)?"bnode":"uri";null!=o&&o!==s||i(t(e,r[a],n))}else for(var u=0;u<r.length;u++)i(t(e,r[u],n))},statements:function(){return r},nodes:function(t){var e=[];if(!0===n)for(var i=0;i<r.length;i++){var o="_:"===r[i].getSubject().substring(0,2)?"bnode":"uri";null!=t&&t!==o||e.push({type:o,value:r[i].getSubject()})}else for(var a=0;a<r.length;a++)null!=t&&t!==r[a].getType()||e.push(r[a].getObject());return e},values:function(t){var e=[];if(!0===n)for(var i=0;i<r.length;i++){var o="_:"===r[i].getSubject().substring(0,2)?"bnode":"uri";null!=t&&t!==o||e.push(r[i].getSubject())}else for(var a=0;a<r.length;a++)null!=t&&t!==r[a].getType()||e.push(r[a].getValue());return e},firstValue:function(t){if(!0===n)for(var e=0;e<r.length;e++){var i="_:"===r[e].getSubject().substring(0,2)?"bnode":"uri";if(null==t||t===i)return r[e].getSubject()}else for(var o=0;o<r.length;o++)if(null==t||t===r[o].getType())return r[o].getValue()}}},tt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;X(this,t),this._graph=e||{},this._bnodes={},this._bnodesIndexed=!1,!1!==r&&this.validate(),this._changed=!1}var e,r,n;return e=t,(r=[{key:"addQuads",value:function(t){return q(t,this),this}},{key:"toQuads",value:function(){return Y(this)}},{key:"isEmpty",value:function(){var t=this;return!Object.keys(this._graph).find((function(e){var r=t._graph[e];return Object.keys(r).find((function(t){return r[t].find((function(t){return null==t._statement||t._statement.isAsserted()}))}))}))}},{key:"onChange",value:function(){}},{key:"setChanged",value:function(t){this._changed=!(!0!==t&&null!=t),this._changed&&this.onChange()}},{key:"isChanged",value:function(){return this._changed}},{key:"addAll",value:function(t,e){for(var r,n={},i=t.find(),o=0;o<i.length;o++){var a=i[o],s=a.getSubject(),u=a.getPredicate(),l=a.getCleanObject();e&&(l.ng=e),0===s.indexOf("_:")&&(r=n[s]||this._newBNode(),n[s]=r,s=r),0===u.indexOf("_:")&&(r=n[u]||this._newBNode(),n[u]=r,u=r),"bnode"===l.type&&(r=n[l.value]||this._newBNode(),n[l.value]=r,l.value=r),this.add(s,u,l)}}},{key:"add",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;if(t instanceof E){var o=t.getPredicate(),a=t.getObject(),s=t.getSubject();this._trackBNodes(s,o,a);var u=this._graphObject(a),l=w.add(this._graph,s,o,u,i);return!0!==n&&this.setChanged(),this._get(s,o,l,!0)}return this.create(t,e,r,!0,n,i)}},{key:"addL",value:function(t,e,r,n){var i={type:"literal",value:r};return"string"==typeof n&&(i.lang=n),this.create(t,e,i,!0)}},{key:"addD",value:function(t,e,r,n){var i={type:"literal",value:r};return"string"==typeof n&&(i.datatype=c(n)),this.create(t,e,i,!0)}},{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=t,s=e,u=r;if(a=null==a?this._newBNode():c(a),s=null==s?this._newBNode():c(s),null==u?u={type:"bnode",value:this._newBNode()}:w.isString(u)?u={type:"uri",value:c(u)}:"object"!==z(u)||Array.isArray(u)?u={type:"uri",value:"".concat(u)}:("uri"===(u={type:u.type,value:u.value,lang:u.lang,datatype:u.datatype,ng:u.ng}).type&&null!=u.value&&(u.value=c(u.value)),u.datatype&&(u.datatype=c(u.datatype))),!1!==n){var l=w.add(this._graph,a,s,u,o);return!0!==i&&this.setChanged(),this._getOrCreate(a,s,l,!0)}return new E(this,a,s,u,!1)}},{key:"findAndRemove",value:function(t,e,r){for(var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.find(t,e,r),o=0;o<i.length;o++)this.remove(i[o],n)}},{key:"remove",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.getSubject(),n=t.getPredicate(),i=t.getObject();this._trackBNodes(r,n,i),null!=w.remove(this._graph,r,n,i)&&!0!==e&&this.setChanged()}},{key:"find",value:function(t,e,r){var n=t,i=e,o=r;if("string"==typeof n&&(n=c(n)),"string"==typeof i&&(i=c(i)),"object"===z(o)&&null!==o&&"uri"===o.type?o.value=c(o.value):"string"==typeof o&&(o={type:"uri",value:c(o)}),null==o)return null==i?null==n?this._find():this._findS(n):null==n?this._findP(i):this._findSP(n,i);if(null==i)return null==n?this._findO(o):this._findSO(n,o);if(null==n)return this._findPO(i,o);var a=this._get(n,i,w.contains(this._graph,n,i,o),!0);return null==a?[]:[a]}},{key:"findFirstValue",value:function(t,e){var r=this.find(t,e);if(r.length>0)return r[0].getValue()}},{key:"projection",value:function(t,e,r){var n=this,i={};return Object.keys(e).forEach((function(o){var a=e[o],s=Array.isArray(a)?n.findPath(t,a):n.find(t,a);if(s.length>0)switch("*"===o[0]?i[o.substr(1)]=s.map((function(t){return t.getValue()})):i[o]=s[0].getValue(),r||"none"){case"statement":i["*".concat(o)]=s;break;case"objects":i["*".concat(o)]=s.map((function(t){return t.getCleanObject()}));break;case"values":i["*".concat(o)]=s.map((function(t){return t.getValue()}))}})),i}},{key:"subjects",value:function(t,e){return K(this,this.find(null,t,e),!0)}},{key:"subject",value:function(t,e){return K(this,J(this.find(null,t,e)),!0)}},{key:"objects",value:function(t,e){return K(this,this.find(t,e,null))}},{key:"object",value:function(t,e){return K(this,J(this.find(t,e,null)))}},{key:"findPath",value:function(t,e){return e.slice(1).reduce((function(t,e){return t.objects(e)}),this.objects(t,e[0])).statements()}},{key:"addList",value:function(t){return this._addList(t,"add")}},{key:"addListL",value:function(t,e){return this._addList(t,"addL",e)}},{key:"addListD",value:function(t,e){return this._addList(t,"addD",e)}},{key:"_addList",value:function(t,e,r){var n,i=this;if(Array.isArray(t)&&0!==t.length){var o=n=this._newBNode(),a=t.length-1;t.forEach((function(t,n){i[e](o,"rdf:first",t,r),n!==a?o=i.add(o,"rdf:rest").getValue():i.add(o,"rdf:rest","rdf:nil")}))}else n=c("rdf:nil");return n}},{key:"removeList",value:function(t){var e=!1,r="object"===z(t)?t.value:t;try{var n=c("rdf:nil");for(e=r===n;r!==n&&null!=r;){var i=this.findFirstValue(r,"rdf:rest");this.findAndRemove(r),e=null!=(r=i)}}catch(t){return console.warn("Invalid list for object: ".concat(r)),!1}return e}},{key:"getList",value:function(t){var e="object"===z(t)?t.value:c(t),r=[];try{for(var n=c("rdf:nil");e!==n&&null!=e;)r.push(this.find(e,"rdf:first")[0].getObject()),e=this.findFirstValue(e,"rdf:rest")}catch(t){console.warn("Invalid list for object: ".concat(e))}return r}},{key:"findFirstListAsValues",value:function(t,e){return this.getList(this.findFirstValue(t,e)).map((function(t){return t.value}))}},{key:"findAndRemoveLists",value:function(t,e){var r=this,n=!1;return this.find(t,e).forEach((function(t){r.removeList(t.getValue())&&(r.remove(t),n=!0)})),n}},{key:"exportRDFJSON",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._graph,w.clone(this._graph,t)}},{key:"replaceSubject",value:function(t,e){return this.replaceURI(t,e)}},{key:"replaceURI",value:function(t,e){var r=this._graph;if(r.hasOwnProperty(t)){if(r.hasOwnProperty(e))throw new Error("Cannot replace subject with target URI since it already exists.");r[e]=r[t],delete r[t]}return this.forEach((function(r,n,i){"uri"===i.type&&i.value===t&&(i.value=e),r===e&&i._statement&&(i._statement._s=e)})),this}},{key:"replaceBlankWithURI",value:function(t,e,r){var n=this._graph;if(n.hasOwnProperty(t)){if(n.hasOwnProperty(e)){if(!r)throw new Error("Cannot replace subject with target URI since it already exists.");var i=n[e],o=n[t];Object.keys(o).forEach((function(t){if(i.hasOwnProperty(t)){var e=i[t],r=o[t].filter((function(t){return!e.find((function(e){return w.objectEquals(e,t)}))}));i[t]=e.concat(r)}else i[t]=o[t]})),delete n[t]}else n[e]=n[t],delete n[t];this.forEach((function(r,n,i){"bnode"===i.type&&i.value===t&&(i.value=e,i.type="uri"),r===e&&i._statement&&(i._statement._s=e)}))}return delete this._bnodes[t],this}},{key:"clone",value:function(){return new t(this.exportRDFJSON(!1))}},{key:"findProperties",value:function(t){return Object.keys(this._graph[t]||{})}},{key:"validate",value:function(){if(this.report=this._validate(),!this.report.valid)throw this.report;return this.report}},{key:"registerBNode",value:function(t){this._bnodes[t]=!0}},{key:"forEach",value:function(t){var e=this._graph;Object.keys(e).forEach((function(r){var n=e[r];Object.keys(n).forEach((function(e){n[e].forEach((function(n){t(r,e,n)}))}))}))}},{key:"map",value:function(t){var e=[];return this.forEach((function(r){e.push(t(r))})),e}},{key:"equals",value:function(t,e){return k(this,e)===k(t,e)}},{key:"size",value:function(){var t=0;return Object.values(this._graph).forEach((function(e){Object.values(e).forEach((function(e){t+=e.length}))})),t}},{key:"_get",value:function(t,e,r,n){if(null!=r)return this._getOrCreate(t,e,r,n)}},{key:"_getOrCreate",value:function(t,e,r,n){return null==r._statement&&(r._statement=new E(this,t,e,r,n)),r._statement}},{key:"_graphObject",value:function(t){return null==t._statement||t._statement._graph===this?t:{type:t.type,value:t.value,lang:t.lang,datatype:t.datatype}}},{key:"_findSP",value:function(t,e){var r=this;return null==this._graph[t]||null==this._graph[t][e]?[]:this._graph[t][e].map((function(n){return r._get(t,e,n,!0)}))}},{key:"_findS",value:function(t){var e=this,r=this._graph[t],n=Object.keys(r||{}).map((function(r){return e._findSP(t,r)}));return Array.prototype.concat.apply([],n)}},{key:"_find",value:function(){var t=this,e=[];return this.forEach((function(r,n,i){e.push(t._get(r,n,i,!0))})),e}},{key:"_findP",value:function(t){var e=this,r=[];return this.forEach((function(n,i,o){t===i&&r.push(e._get(n,i,o,!0))})),r}},{key:"_findO",value:function(t){var e=this,r=[];return this.forEach((function(n,i,o){w.objectEquals(t,o)&&r.push(e._get(n,i,o,!0))})),r}},{key:"_findSO",value:function(t,e){var r=this,n=[];return this.forEach((function(i,o,a){t===i&&w.objectEquals(e,a)&&n.push(r._get(i,o,a,!0))})),n}},{key:"_findPO",value:function(t,e){var r=this,n=[];return this.forEach((function(i,o,a){t===o&&w.objectEquals(e,a)&&n.push(r._get(i,o,a,!0))})),n}},{key:"_validate",value:function(){var t=this._graph,e={valid:!0,errors:[],nr:0};return Object.keys(t).forEach((function(r){var n=t[r];w.isObject(n)?Object.keys(n).forEach((function(t){var i=n[t];Array.isArray(i)?i.forEach((function(n,i){w.isObject(n)?null!=n.type?w.isString(n.value)?e.nr+=1:(e.errors.push({s:r,p:t,oindex:i+1,message:"Object ".concat(i+1," in object array must have the 'value' attribute pointing to a string.")}),e.valid=!1):(e.errors.push({s:r,p:t,oindex:i+1,message:"Object ".concat(i+1," in object array lacks the attribute type, must be either 'literal', 'resource' or 'bnode'.")}),e.valid=!1):(e.errors.push({s:r,p:t,oindex:i+1,message:"Element ".concat(i+1," in object array is not an object.")}),e.valid=!1)})):(e.errors.push({s:r,p:t,message:"Predicate must point to an array of objects."}),e.valid=!1)})):(e.errors.push({s:r,message:"Subject must point to an object."}),e.valid=!1)})),e}},{key:"_newBNode",value:function(){var t,e,r;for(this._indexBNodes(),t=1;t<20;t++)for(e=1;e<=t;e++)if(r="_:".concat(Math.floor(Math.random()*(Math.pow(10,t)+1))),!0!==this._bnodes[r])return this._bnodes[r]=!0,r;throw new Error("Failed creating a new blank node, increadible unprobable...")}},{key:"_indexBNodes",value:function(){var t=this;if(!this._bnodesIndexed){var e=this._graph;Object.keys(e).forEach((function(r){0===r.indexOf("_:")&&(t._bnodes[r]=!0);var n=e[r];Object.keys(n).forEach((function(e){0===e.indexOf("_:")&&(t._bnodes[e]=!0),n[e].forEach((function(e){"bnode"===e.type&&(t._bnodes[e.value]=!0)}))}))})),this._bnodesIndexed=!0}}},{key:"_trackBNodes",value:function(t,e,r){0===t.indexOf("_:")&&(this._bnodes[t]=!0),0===e.indexOf("_:")&&(this._bnodes[e]=!0),"bnode"===r.type&&(this._bnodes[r.value]=!0)}}])&&Q(e.prototype,r),n&&Q(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();r(9081),r(24601);r(73220),r(17554),r(39385),r(80528),r(7517),r(25787);function et(t){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,nt(n.key),n)}}function nt(t){var e=function(t,e){if("object"!=et(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=et(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==et(e)?e:String(e)}function it(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,r){return ct(e),function(t,e){if(e&&("object"===et(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ut()?Reflect.construct(e,r||[],ct(t).constructor):e.apply(t,r))}function at(t){var e="function"==typeof Map?new Map:void 0;return function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return st(t,arguments,ct(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),lt(r,t)}(t)}function st(t,e,r){if(ut())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var i=new(t.bind.apply(t,n));return r&&lt(i,r.prototype),i}function ut(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}function lt(t,e){return(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ct(t){return(Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Error;function ft(t){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,gt(n.key),n)}}function pt(t,e,r){return e&&ht(t.prototype,e),r&&ht(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function gt(t){var e=function(t,e){if("object"!=ft(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ft(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ft(e)?e:String(e)}var yt={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#"},mt={rdftype:"".concat(yt.rdf,"type"),rdfssco:"".concat(yt.rdfs,"subClassOf"),rdfsdomain:"".concat(yt.rdfs,"domain"),rdfsrange:"".concat(yt.rdfs,"range"),rdfsspo:"".concat(yt.rdfs,"subPropertyOf"),rdfsClass:"".concat(yt.rdfs,"Class"),owlClass:"".concat(yt.owl,"Class"),owlObjectProperty:"".concat(yt.owl,"ObjectProperty"),owlDatatypeProperty:"".concat(yt.owl,"DatatypeProperty"),rdfProperty:"".concat(yt.rdf,"Property")},vt=function(t,e,r){for(var n={},i=!1,o=t.find(e,r),a=0;a<o.length;a++){var s=o[a];"literal"===s.getType()&&(n[s.getLanguage()||""]=s.getValue()||"",i=!0)}if(i)return null==n.en&&null!=n[""]&&(n.en=n[""],delete n[""]),n},bt=function(t){for(var e=[],r={},n=0;n<t.length;n++){var i=t[n];r[i]||(e.push(i),r[i]=!0)}return e},wt=function(){function t(e,r){dt(this,t),this._uri=e,this._parents=[],this._children=[],this._graph=r}return pt(t,[{key:"getURI",value:function(){return this._uri}},{key:"getLabel",value:function(){var t=this.getLabels();if(null!=t.en)return t.en;var e=Object.objects(t);return e.length>0?e[0]:""}},{key:"getLabels",value:function(){return null==this._labels&&(this._labels=vt(this._graph,this._uri,"".concat(yt.rdfs,"label")),null==this._labels&&(this._labels={en:this._uri.substr(this._uri.lastIndexOf("/")+1)})),this._labels}},{key:"getComment",value:function(){var t=this.getComments();return null!=t?null!=t.en?t.en:Object.objects(t)[0]:""}},{key:"getComments",value:function(){return null==this._comments&&(this._comments=vt(this._graph,this._uri,"".concat(yt.rdfs,"comment"))),this._comments}},{key:"addParent",value:function(t){this._parents.push(t),t._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 t=0;t<this._parents.length;t++)this._allParents=this._allParents.concat(this._parents[t].getParents()),this._allParents.push(this._parents[t])}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 t=0;t<this._children.length;t++)this._allChildren=this._allChildren.concat(this._children[t].getChildren()),this._allChildren.push(this._children[t])}return delete this._childLock,this._allChildren}},{key:"setRange",value:function(t){null==this._range&&(this._range=[]),this._range.push(t)}},{key:"setDomain",value:function(t){null==this._domain&&(this._domain=[]),this._domain.push(t),t.setDomainOf(this)}},{key:"getRange",value:function(){if(null==this._allRange){this._allRange=this._range||[];for(var t=0;t<this._parents.length;t++)this._allRange=this._allRange.concat(this._parents[t].getRange());this._allRange=bt(this._allRange)}return this._allRange}},{key:"getDomain",value:function(){if(null==this._allDomain){this._allDomain=this._domain||[];for(var t=0;t<this._parents.length;t++)this._allDomain=this._allDomain.concat(this._parents[t].getDomain());this._allDomain=bt(this._allDomain)}return this._allDomain}},{key:"setDomainOf",value:function(t){null==this._domainOf&&(this._domainOf=[]),this._domainOf.push(t)}},{key:"getDomainOf",value:function(){return this._domainOf}},{key:"getAllDomainOf",value:function(){if(this._domainOfLock)return[];if(this._domainOfLock=!0,null==this._allDomainOf){var t=this._domainOf||[];this._allDomainOf=this._domainOf||[];for(var e=0;e<t.length;e++)this._allDomainOf=this._allDomainOf.concat(t[e].getChildren());for(var r=0;r<this._parents.length;r++)this._allDomainOf=this._allDomainOf.concat(this._parents[r].getAllDomainOf())}return delete this._domainOfLock,this._allDomainOf}}]),t}(),_t=function(t,e,r,n){for(var i=0;i<r.length;i++){var o=r[i],a=o.getSubject(),s=t[a];if(s||(s=new wt(a,o.getGraph()),t[a]=s,e.push(s)),n){var u=o.getValue(),l=t[u];l||(l=new wt(u,o.getGraph()),t[u]=l,e.push(l)),s.addParent(l)}}},xt=function(){function t(){dt(this,t),this._cidx={},this._carr=[],this._pidx={},this._parr=[]}return pt(t,[{key:"addGraph",value:function(t){_t(this._cidx,this._carr,t.find(null,mt.rdftype,mt.rdfsClass)),_t(this._cidx,this._carr,t.find(null,mt.rdftype,mt.owlClass)),_t(this._cidx,this._carr,t.find(null,mt.rdfssco,null),!0),_t(this._pidx,this._parr,t.find(null,mt.rdftype,mt.rdfProperty)),_t(this._pidx,this._parr,t.find(null,mt.rdfsspo,null),!0),_t(this._pidx,this._parr,t.find(null,mt.rdftype,mt.owlDatatypeProperty)),_t(this._pidx,this._parr,t.find(null,mt.rdftype,mt.owlObjectProperty)),function(t,e,r){for(var n,i,o,a=t.find(null,mt.rdfsdomain,null),s=0;s<a.length;s++)n=e[(o=a[s]).getSubject()],i=r[o.getValue()],null!=n&&null!=i&&n.setDomain(i);a=t.find(null,mt.rdfsrange,null);for(var u=0;u<a.length;u++)n=e[(o=a[u]).getSubject()],i=o.getValue(),null!=n&&null!=i&&n.setRange(i)}(t,this._pidx,this._cidx)}},{key:"addThing",value:function(){var t="http://www.w3.org/2002/07/owl#Thing",e=this._cidx[t],r=!1;e||(e=new wt(t,new tt),this._cidx[t]=e,this._carr.push(e),r=!0);for(var n=0;n<this._carr.length;n++){var i=this._carr[n];(r&&i!==e||-1===i.getParents().indexOf(e)&&i!==e)&&i.addParent(e)}}},{key:"getClasses",value:function(){return this._carr}},{key:"getProperties",value:function(){return this._parr}},{key:"isClass",value:function(t){return null!=this._cidx[t]}},{key:"isProperty",value:function(t){return null!=this._pidx[t]}},{key:"getClass",value:function(t){return this._cidx[t]}},{key:"getProperty",value:function(t){return this._pidx[t]}}],[{key:"getInstances",value:function(t){for(var e=[],r=[t].concat(t.getChildren()),n=0;n<r.length;n++)for(var i=r[n],o=i.getGraph.find(null,mt.rdftype,i.getURI()),a=0;a<o.length;a++)e.push(o[a].getSubject());return e}}]),t}();xt.prototype.ns=yt,xt.prototype.terms=mt,xt.global=new xt;function St(t){return(St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Et(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Tt(n.key),n)}}function Tt(t){var e=function(t,e){if("object"!=St(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=St(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==St(e)?e:String(e)}var kt=function(t){this.filterObj={},this.registry=t};kt.prototype.register=function(t){this.registry.register(this.filterObj,t)},["itemtype","choices","nodetype","datatype","rdftype","constraint","predicate","style","item","check"].forEach((function(t){kt.prototype[t]=function(e){var r={};switch(t){case"constraint":Object.keys(e).forEach((function(t){var n=e[t];Array.isArray(n)?r[c(t)]=n.map((function(t){return c(t)})):r[c(t)]=c(n)})),this.filterObj[t]=r;break;case"predicate":case"rdftype":case"datatype":this.filterObj[t]=c(e);break;default:this.filterObj[t]=e||!0}return this}}));var Ot=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),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 e,r,n;return e=t,(r=[{key:"calculatePriority",value:function(t,e){var r=0;if(e.itemtype&&(r+=this.priorities.ITEMTYPE,t.getType()!==e.itemtype))return-1;if(e.choices)switch(r+=this.priorities.CHOICES,e.choices){case"static":if(!t.hasStaticChoices())return-1;break;case"dynamic":if(!t.hasChoices()||t.hasStaticChoices())return-1;break;case"none":if(t.hasChoices())return-1;break;case"any":default:if(!t.hasChoices())return-1}if(e.nodetype&&(r+=this.priorities.NODETYPE,t.getNodetype()!==e.nodetype))return-1;if(e.datatype){r+=this.priorities.DATATYPE;var n=t.getDatatype(),i=!0;if(n&&(i=Array.isArray(n)?!n.includes(e.datatype):n!==e.datatype),i)return-1}return e.rdftype&&(r+=this.priorities.RDFTYPE,!function(t,e){var r=t.getConstraints();return null!=r&&r[rdfType]===e}(t,e.rdftype))||e.constraint&&(r+=this.priorities.CONSTRAINT,!function(t,e){if(null==e)return!0;var r=t.getConstraints(),n=!0;return null!=r&&(Object.keys(r).find((function(t){var i=e[t];return""!==i&&"*"!==i&&i!==r[t]&&(n=!1,!0)})),n)}(t,e.constraint))||e.predicate&&(r+=this.priorities.PREDICATE,t.getProperty()!==e.predicate)||e.style&&(r+=this.priorities.STYLE,!t.hasStyle(e.style))?-1:!e.item||(r+=this.priorities.ITEM,t===e.item||e.item.getId&&t.getId()===e.item.getId())?e.check&&!e.check(t)?-1:r:-1}},{key:"getPriority",value:function(t,e){for(var r=0;r<this.components.length;r++)if(this.components[r].component===e){var n=this.calculatePriority(t,this.components[r].filter);if(n>=0)return n}return 0}},{key:"getComponentBefore",value:function(t,e){var r=this.getPriority(t,e);return this.getComponent(t,r)}},{key:"getComponent",value:function(t,e){for(var r,n,i,o=-1,a=0;a<this.components.length;a++)i=this.components[a],(n=this.calculatePriority(t,i.filter))>o&&(void 0===e||n<e)&&(r=i,o=n);if(r)return r.component}},{key:"register",value:function(t,e){this.components.push({component:e,filter:t})}},{key:"itemtype",value:function(t){return new kt(this).itemtype(t)}},{key:"choices",value:function(t){return new kt(this).choices(t)}},{key:"nodetype",value:function(t){return new kt(this).nodetype(t)}},{key:"datatype",value:function(t){return new kt(this).datatype(t)}},{key:"rdftype",value:function(t){return new kt(this).rdftype(t)}},{key:"constraint",value:function(t){return new kt(this).constraint(t)}},{key:"predicate",value:function(t){return new kt(this).predicate(t)}},{key:"style",value:function(t){return new kt(this).style(t)}},{key:"item",value:function(t){return new kt(this).item(t)}},{key:"check",value:function(t){return new kt(this).check(t)}}])&&Et(e.prototype,r),n&&Et(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();r(47042),r(39714);const At=function(){this.__data__=[],this.size=0};const Ct=function(t,e){return t===e||t!=t&&e!=e};const Pt=function(t,e){for(var r=t.length;r--;)if(Ct(t[r][0],e))return r;return-1};var jt=Array.prototype.splice;const Rt=function(t){var e=this.__data__,r=Pt(e,t);return!(r<0)&&(r==e.length-1?e.pop():jt.call(e,r,1),--this.size,!0)};const Nt=function(t){var e=this.__data__,r=Pt(e,t);return r<0?void 0:e[r][1]};const It=function(t){return Pt(this.__data__,t)>-1};const Dt=function(t,e){var r=this.__data__,n=Pt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function Lt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Lt.prototype.clear=At,Lt.prototype.delete=Rt,Lt.prototype.get=Nt,Lt.prototype.has=It,Lt.prototype.set=Dt;const Mt=Lt;const Ft=function(){this.__data__=new Mt,this.size=0};const Bt=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};const Vt=function(t){return this.__data__.get(t)};const Ut=function(t){return this.__data__.has(t)};const Wt="object"==typeof global&&global&&global.Object===Object&&global;var Ht="object"==typeof self&&self&&self.Object===Object&&self;const Gt=Wt||Ht||Function("return this")();const Yt=Gt.Symbol;var $t=Object.prototype,qt=$t.hasOwnProperty,zt=$t.toString,Xt=Yt?Yt.toStringTag:void 0;const Qt=function(t){var e=qt.call(t,Xt),r=t[Xt];try{t[Xt]=void 0;var n=!0}catch(t){}var i=zt.call(t);return n&&(e?t[Xt]=r:delete t[Xt]),i};var Zt=Object.prototype.toString;const Jt=function(t){return Zt.call(t)};var Kt=Yt?Yt.toStringTag:void 0;const te=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Kt&&Kt in Object(t)?Qt(t):Jt(t)};const ee=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const re=function(t){if(!ee(t))return!1;var e=te(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const ne=Gt["__core-js_shared__"];var ie,oe=(ie=/[^.]+$/.exec(ne&&ne.keys&&ne.keys.IE_PROTO||""))?"Symbol(src)_1."+ie:"";const ae=function(t){return!!oe&&oe in t};var se=Function.prototype.toString;const ue=function(t){if(null!=t){try{return se.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var le=/^\[object .+?Constructor\]$/,ce=Function.prototype,fe=Object.prototype,de=ce.toString,he=fe.hasOwnProperty,pe=RegExp("^"+de.call(he).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const ge=function(t){return!(!ee(t)||ae(t))&&(re(t)?pe:le).test(ue(t))};const ye=function(t,e){return null==t?void 0:t[e]};const me=function(t,e){var r=ye(t,e);return ge(r)?r:void 0};const ve=me(Gt,"Map");const be=me(Object,"create");const we=function(){this.__data__=be?be(null):{},this.size=0};const _e=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var xe=Object.prototype.hasOwnProperty;const Se=function(t){var e=this.__data__;if(be){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return xe.call(e,t)?e[t]:void 0};var Ee=Object.prototype.hasOwnProperty;const Te=function(t){var e=this.__data__;return be?void 0!==e[t]:Ee.call(e,t)};const ke=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=be&&void 0===e?"__lodash_hash_undefined__":e,this};function Oe(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Oe.prototype.clear=we,Oe.prototype.delete=_e,Oe.prototype.get=Se,Oe.prototype.has=Te,Oe.prototype.set=ke;const Ae=Oe;const Ce=function(){this.size=0,this.__data__={hash:new Ae,map:new(ve||Mt),string:new Ae}};const Pe=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const je=function(t,e){var r=t.__data__;return Pe(e)?r["string"==typeof e?"string":"hash"]:r.map};const Re=function(t){var e=je(this,t).delete(t);return this.size-=e?1:0,e};const Ne=function(t){return je(this,t).get(t)};const Ie=function(t){return je(this,t).has(t)};const De=function(t,e){var r=je(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function Le(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Le.prototype.clear=Ce,Le.prototype.delete=Re,Le.prototype.get=Ne,Le.prototype.has=Ie,Le.prototype.set=De;const Me=Le;const Fe=function(t,e){var r=this.__data__;if(r instanceof Mt){var n=r.__data__;if(!ve||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Me(n)}return r.set(t,e),this.size=r.size,this};function Be(t){var e=this.__data__=new Mt(t);this.size=e.size}Be.prototype.clear=Ft,Be.prototype.delete=Bt,Be.prototype.get=Vt,Be.prototype.has=Ut,Be.prototype.set=Fe;const Ve=Be;const Ue=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t};const We=function(){try{var t=me(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const He=function(t,e,r){"__proto__"==e&&We?We(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r};var Ge=Object.prototype.hasOwnProperty;const Ye=function(t,e,r){var n=t[e];Ge.call(t,e)&&Ct(n,r)&&(void 0!==r||e in t)||He(t,e,r)};const $e=function(t,e,r,n){var i=!r;r||(r={});for(var o=-1,a=e.length;++o<a;){var s=e[o],u=n?n(r[s],t[s],s,r,t):void 0;void 0===u&&(u=t[s]),i?He(r,s,u):Ye(r,s,u)}return r};const qe=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n};const ze=function(t){return null!=t&&"object"==typeof t};const Xe=function(t){return ze(t)&&"[object Arguments]"==te(t)};var Qe=Object.prototype,Ze=Qe.hasOwnProperty,Je=Qe.propertyIsEnumerable;const Ke=Xe(function(){return arguments}())?Xe:function(t){return ze(t)&&Ze.call(t,"callee")&&!Je.call(t,"callee")};const tr=Array.isArray;const er=function(){return!1};var rr="object"==typeof exports&&exports&&!exports.nodeType&&exports,nr=rr&&"object"==typeof module&&module&&!module.nodeType&&module,ir=nr&&nr.exports===rr?Gt.Buffer:void 0;const or=(ir?ir.isBuffer:void 0)||er;var ar=/^(?:0|[1-9]\d*)$/;const sr=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&ar.test(t))&&t>-1&&t%1==0&&t<e};const ur=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var lr={};lr["[object Float32Array]"]=lr["[object Float64Array]"]=lr["[object Int8Array]"]=lr["[object Int16Array]"]=lr["[object Int32Array]"]=lr["[object Uint8Array]"]=lr["[object Uint8ClampedArray]"]=lr["[object Uint16Array]"]=lr["[object Uint32Array]"]=!0,lr["[object Arguments]"]=lr["[object Array]"]=lr["[object ArrayBuffer]"]=lr["[object Boolean]"]=lr["[object DataView]"]=lr["[object Date]"]=lr["[object Error]"]=lr["[object Function]"]=lr["[object Map]"]=lr["[object Number]"]=lr["[object Object]"]=lr["[object RegExp]"]=lr["[object Set]"]=lr["[object String]"]=lr["[object WeakMap]"]=!1;const cr=function(t){return ze(t)&&ur(t.length)&&!!lr[te(t)]};const fr=function(t){return function(e){return t(e)}};var dr="object"==typeof exports&&exports&&!exports.nodeType&&exports,hr=dr&&"object"==typeof module&&module&&!module.nodeType&&module,pr=hr&&hr.exports===dr&&Wt.process;const gr=function(){try{var t=hr&&hr.require&&hr.require("util").types;return t||pr&&pr.binding&&pr.binding("util")}catch(t){}}();var yr=gr&&gr.isTypedArray;const mr=yr?fr(yr):cr;var vr=Object.prototype.hasOwnProperty;const br=function(t,e){var r=tr(t),n=!r&&Ke(t),i=!r&&!n&&or(t),o=!r&&!n&&!i&&mr(t),a=r||n||i||o,s=a?qe(t.length,String):[],u=s.length;for(var l in t)!e&&!vr.call(t,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||sr(l,u))||s.push(l);return s};var wr=Object.prototype;const _r=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||wr)};const xr=function(t,e){return function(r){return t(e(r))}};const Sr=xr(Object.keys,Object);var Er=Object.prototype.hasOwnProperty;const Tr=function(t){if(!_r(t))return Sr(t);var e=[];for(var r in Object(t))Er.call(t,r)&&"constructor"!=r&&e.push(r);return e};const kr=function(t){return null!=t&&ur(t.length)&&!re(t)};const Or=function(t){return kr(t)?br(t):Tr(t)};const Ar=function(t,e){return t&&$e(e,Or(e),t)};const Cr=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var Pr=Object.prototype.hasOwnProperty;const jr=function(t){if(!ee(t))return Cr(t);var e=_r(t),r=[];for(var n in t)("constructor"!=n||!e&&Pr.call(t,n))&&r.push(n);return r};const Rr=function(t){return kr(t)?br(t,!0):jr(t)};const Nr=function(t,e){return t&&$e(e,Rr(e),t)};var Ir="object"==typeof exports&&exports&&!exports.nodeType&&exports,Dr=Ir&&"object"==typeof module&&module&&!module.nodeType&&module,Lr=Dr&&Dr.exports===Ir?Gt.Buffer:void 0,Mr=Lr?Lr.allocUnsafe:void 0;const Fr=function(t,e){if(e)return t.slice();var r=t.length,n=Mr?Mr(r):new t.constructor(r);return t.copy(n),n};const Br=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e};const Vr=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o};const Ur=function(){return[]};var Wr=Object.prototype.propertyIsEnumerable,Hr=Object.getOwnPropertySymbols;const Gr=Hr?function(t){return null==t?[]:(t=Object(t),Vr(Hr(t),(function(e){return Wr.call(t,e)})))}:Ur;const Yr=function(t,e){return $e(t,Gr(t),e)};const $r=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t};const qr=xr(Object.getPrototypeOf,Object);const zr=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)$r(e,Gr(t)),t=qr(t);return e}:Ur;const Xr=function(t,e){return $e(t,zr(t),e)};const Qr=function(t,e,r){var n=e(t);return tr(t)?n:$r(n,r(t))};const Zr=function(t){return Qr(t,Or,Gr)};const Jr=function(t){return Qr(t,Rr,zr)};const Kr=me(Gt,"DataView");const tn=me(Gt,"Promise");const en=me(Gt,"Set");const rn=me(Gt,"WeakMap");var nn=ue(Kr),on=ue(ve),an=ue(tn),sn=ue(en),un=ue(rn),ln=te;(Kr&&"[object DataView]"!=ln(new Kr(new ArrayBuffer(1)))||ve&&"[object Map]"!=ln(new ve)||tn&&"[object Promise]"!=ln(tn.resolve())||en&&"[object Set]"!=ln(new en)||rn&&"[object WeakMap]"!=ln(new rn))&&(ln=function(t){var e=te(t),r="[object Object]"==e?t.constructor:void 0,n=r?ue(r):"";if(n)switch(n){case nn:return"[object DataView]";case on:return"[object Map]";case an:return"[object Promise]";case sn:return"[object Set]";case un:return"[object WeakMap]"}return e});const cn=ln;var fn=Object.prototype.hasOwnProperty;const dn=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&fn.call(t,"index")&&(r.index=t.index,r.input=t.input),r};const hn=Gt.Uint8Array;const pn=function(t){var e=new t.constructor(t.byteLength);return new hn(e).set(new hn(t)),e};const gn=function(t,e){var r=e?pn(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)};var yn=/\w*$/;const mn=function(t){var e=new t.constructor(t.source,yn.exec(t));return e.lastIndex=t.lastIndex,e};var vn=Yt?Yt.prototype:void 0,bn=vn?vn.valueOf:void 0;const wn=function(t){return bn?Object(bn.call(t)):{}};const _n=function(t,e){var r=e?pn(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)};const xn=function(t,e,r){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return pn(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return gn(t,r);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 _n(t,r);case"[object Map]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return mn(t);case"[object Set]":return new n;case"[object Symbol]":return wn(t)}};var Sn=Object.create;const En=function(){function t(){}return function(e){if(!ee(e))return{};if(Sn)return Sn(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();const Tn=function(t){return"function"!=typeof t.constructor||_r(t)?{}:En(qr(t))};const kn=function(t){return ze(t)&&"[object Map]"==cn(t)};var On=gr&&gr.isMap;const An=On?fr(On):kn;const Cn=function(t){return ze(t)&&"[object Set]"==cn(t)};var Pn=gr&&gr.isSet;const jn=Pn?fr(Pn):Cn;var Rn={};Rn["[object Arguments]"]=Rn["[object Array]"]=Rn["[object ArrayBuffer]"]=Rn["[object DataView]"]=Rn["[object Boolean]"]=Rn["[object Date]"]=Rn["[object Float32Array]"]=Rn["[object Float64Array]"]=Rn["[object Int8Array]"]=Rn["[object Int16Array]"]=Rn["[object Int32Array]"]=Rn["[object Map]"]=Rn["[object Number]"]=Rn["[object Object]"]=Rn["[object RegExp]"]=Rn["[object Set]"]=Rn["[object String]"]=Rn["[object Symbol]"]=Rn["[object Uint8Array]"]=Rn["[object Uint8ClampedArray]"]=Rn["[object Uint16Array]"]=Rn["[object Uint32Array]"]=!0,Rn["[object Error]"]=Rn["[object Function]"]=Rn["[object WeakMap]"]=!1;const Nn=function t(e,r,n,i,o,a){var s,u=1&r,l=2&r,c=4&r;if(n&&(s=o?n(e,i,o,a):n(e)),void 0!==s)return s;if(!ee(e))return e;var f=tr(e);if(f){if(s=dn(e),!u)return Br(e,s)}else{var d=cn(e),h="[object Function]"==d||"[object GeneratorFunction]"==d;if(or(e))return Fr(e,u);if("[object Object]"==d||"[object Arguments]"==d||h&&!o){if(s=l||h?{}:Tn(e),!u)return l?Xr(e,Nr(s,e)):Yr(e,Ar(s,e))}else{if(!Rn[d])return o?e:{};s=xn(e,d,u)}}a||(a=new Ve);var p=a.get(e);if(p)return p;a.set(e,s),jn(e)?e.forEach((function(i){s.add(t(i,r,n,i,e,a))})):An(e)&&e.forEach((function(i,o){s.set(o,t(i,r,n,o,e,a))}));var g=f?void 0:(c?l?Jr:Zr:l?Rr:Or)(e);return Ue(g||e,(function(i,o){g&&(i=e[o=i]),Ye(s,o,t(i,r,n,o,e,a))})),s};const In=function(t){return Nn(t,5)};r(69600),r(2707),r(74916),r(15306),r(24603),r(4723);var Dn=r(30381),Ln=r.n(Dn),Mn=function(t){var e=Ln().locale();if(null==t)return{precision:"none"};if("string"==typeof t)return{value:t,precision:"nolang",lang:""};if(t.hasOwnProperty(e))return{value:t[e],precision:"exact",lang:e};if(e.indexOf("_")>-1&&t.hasOwnProperty(e.substr(0,2)))return{value:t[e.substr(0,2)],precision:"coarsen",lang:e.substr(0,2)};if(t.hasOwnProperty("en"))return{value:t.en,precision:"default",lang:"en"};if(t.hasOwnProperty(""))return{value:t[""],precision:"nolang",lang:""};var r=Object.keys(t);return r.length>0?{value:t[r[0]],precision:"any",lang:r[0]}:{precision:"none"}},Fn=function(t,e,r){var n=t.find(e,r);if(n.length>0){for(var i={},o=0;o<n.length;o++)i[n[o].getLanguage()||""]=n[o].getValue();return i}};const Bn={getLocalizedValue:Mn,getLocalizedMap:function(t,e,r){var n,i=e,o=r;t.getItem?(n=t.getGraph(),i=t.getValue(),o=t.getItem().getURIValueLabelProperties()):n=t,null!=o&&0!==o.length||(o=Un.labelProperties);for(var a=0;a<o.length;a++){var s=o[a];if(Array.isArray(s)){for(var u=[],l=0;l<s.length;l++){var c=Fn(n,i,s[l]);c&&u.push(Mn(c).value)}if(u.length>0)return{"":u.join(" ")}}else{var f=Fn(n,i,s);if(f)return f}}},cloneArrayWithLabels:function(t,e){for(var r=[],n=0;n<t.length;n++){var i=t[n],o=Mn(i.label),a={value:i.value,label:o.value||i.value||""};!0===i.top&&(a.top=!0),null!=i.children&&(a.children=In(i.children)),!1===i.selectable?a.selectable=!1:a.selectable=!0,r.push(a)}return!0!==e&&r.sort((function(t,e){return t.label>e.label?1:-1})),r},extractGist:function(t,e){var r=e;if(r){-1===r.indexOf("$1")&&(r+="$1");var n="".concat(r).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1").replace("\\$1","(.*)"),i=new RegExp(n).exec(t);if(null!=i)return i[1]}return t},findFirstValue:function(t,e,r,n){var i=t.findFirstValueBinding(t.match(e,r,n),!1);if(i)return i.getChoice?Mn(i.getChoice().label).value:i.getGist()},generateUUID:function(){var t=(new Date).getTime();return"undefined"!=typeof performance&&"function"==typeof performance.now&&(t+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var r=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?r:3&r|8).toString(16)}))}};var Vn=function(t,e,r,n){if("URI"===t.getNodetype()||"RESOURCE"===t.getNodetype()){var i=Bn.getLocalizedMap(n,e,t.getURIValueLabelProperties());if(!i){var o=e.lastIndexOf("#"),a=e.lastIndexOf("/");i=o>0||a>0?{"":decodeURIComponent(e.substring(1+(o>a?o:a)))}:{"":e}}return{value:e,label:i}}return{value:e,label:e}};const Un={hasDnDSupport:function(t){return!1},addDnD:function(t,e,r){return{}},attachExternalLinkBehaviour:function(){return!1},attachLinkBehaviour:function(t,e){return!1},openChoiceSelector:function(t,e){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.'),e({value:"http://example.com/choice1",label:{en:"First choice",sv:"Första valet"}})},getChoice:function(t,e,r,n){return Vn(t,e,0,n)},getFallbackChoice:Vn,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(t,e){for(var r=e.getChildrenRootUri(),n=r.lastIndexOf("#"),i=-1===n?"".concat(r,"#"):r.substring(0,n+1),o=e.getGraph()._graph;;){var a=i+"0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);if(null==o[a])return a}}},Wn=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 Hn(t){return(Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Gn,Yn,$n,qn,zn,Xn="body",Qn=[{value:"",label:{en:""}},{value:"bg",label:{en:"Bulgarian",bg:"български"}},{value:"es",label:{en:"Spanish",es:"Español"}},{value:"cs",label:{en:"Czech",cs:"čeština"}},{value:"da",label:{en:"Danish",da:"Dansk"}},{value:"no",label:{en:"Norwegian",no:"Norsk",nb:"Norsk",nn:"Norsk nynorsk"}},{value:"nb",label:{en:"Norwegian (bokmål)",nb:"Norsk bokmål",no:"Norsk bokmål",nn:"Norsk bokmål"}},{value:"nn",label:{en:"Norwegian (nynorsk)",nb:"Norsk nynorsk",no:"Norsk nynorsk",nn:"Norsk nynorsk"}},{value:"de",label:{en:"German",de:"Deutsch"}},{value:"et",label:{en:"Estonian",et:"Eesti keel"}},{value:"el",label:{en:"Greek",el:"ελληνικά"}},{value:"en",label:{en:"English"}},{value:"fr",label:{en:"French",fr:"Français"}},{value:"ga",label:{en:"Irish",ga:"Gaeilge"}},{value:"hr",label:{en:"Croatian",hr:"Hrvatski"}},{value:"it",label:{en:"Italian",it:"Italiano"}},{value:"lv",label:{en:"Latvian",lv:"Latviešu valoda"}},{value:"lt",label:{en:"Lithuanian",lt:"Lietuvių kalba"}},{value:"hu",label:{en:"Hungarian",hu:"Magyar"}},{value:"mt",label:{en:"Maltese",mt:"Malti"}},{value:"nl",label:{en:"Dutch",nl:"Nederlands"}},{value:"pl",label:{en:"Polish",pl:"Polski"}},{value:"pt",label:{en:"Portuguese",pt:"Português"}},{value:"ro",label:{en:"Romanian",ro:"Română"}},{value:"sk",label:{en:"Slovak",sk:"Slovenčina"}},{value:"sl",label:{en:"Slovenian",sl:"Slovenščina"}},{value:"fi",label:{en:"Finnish",fi:"Suomi"}},{value:"sv",label:{en:"Swedish",sv:"Svenska"}}],Zn={domQuery:function(){},domCreate:function(){},domCreateAfter:function(){},domClassToggle:function(){},domSetAttr:function(){},domText:function(){},createDomNode:function(t){return t instanceof Node?t:"string"==typeof t?document.getElementById(t):document.createElement("div")},destroyDomNode:function(){},presenterRegistry:new Ot,editorRegistry:new Ot,chooserRegistry:new Ot,renderPresenter:function(t,e,r){var n=Zn.presenterRegistry.getComponent(e.getItem());n&&(Zn.prePresenterRenderer(t,e,r),n(t,e,r),Zn.postPresenterRenderer(t,e,r))},renderEditor:function(t,e,r){var n=Zn.editorRegistry.getComponent(e.getItem());n&&(Zn.preEditorRenderer(t,e,r),n(t,e,r),Zn.postEditorRenderer(t,e,r))},renderValidationMessage:function(t,e,r){},renderSelect:function(){},getChoice:function(t,e){var r=Zn.chooserRegistry.getComponent(t);if(null==r)throw new Error("Error, no chooser available to retrieve a choice for item: ".concat(t.getId()));return r.getChoice(t,e)},hasOpenChoiceSelector:function(t){return null!=Zn.chooserRegistry.getComponent(t.getItem())},openChoiceSelector:function(t,e,r){var n=Zn.chooserRegistry.getComponent(t.getItem());if(null!=n&&n&&n.getChoice)n.show(t,e,r);else{var i=t.getItem();alert("Error, no chooser available to open a choice selector for: ".concat(i))}},getExtLinkClass:function(){return""},setMessages:function(t){Gn=t},getMessages:function(){return Gn||Wn},getLanguageList:function(){return Yn||Qn},getPrimaryLanguageList:function(){if(!qn){for(var t,e=Zn.getLanguageList(),r=$n||[],n=[],i=0;i<e.length;i++){var o=e[i].value,a=r.indexOf(o);""===o&&(t=e[i]),-1!==a&&(n[a]=e[i])}qn=[];for(var s=0;s<n.length;s++)"object"===Hn(n[s])&&qn.push(n[s]);qn.length>0&&t&&qn.splice(0,0,t)}return qn},getNonPrimaryLanguageList:function(){if(!zn){var t=Zn.getPrimaryLanguageList().length>0,e=Zn.getLanguageList(),r=$n||[];zn=[];for(var n=0;n<e.length;n++){var i=e[n].value;-1===r.indexOf(i)&&(t&&""===i||zn.push(e[n]))}}return zn},setPrimaryLanguageCodes:function(t){zn=null,qn=null,$n=t},setLanguageList:function(t){Yn=t},filterTranslations:function(t,e,r){for(var n={},i=0;i<t.length;i++){var o=t[i].getLanguage();""===o||null==o?n.noLanguage=!0:o===e?n.best=!0:-1!==o.indexOf(e)||-1!==e.indexOf(o)?n.close=!0:0===o.indexOf(r)&&(n.defaultLanguage=!0)}return n.best?t.filter((function(t){return t.getLanguage()===e})):n.close?t.filter((function(t){var r=t.getLanguage();return r&&(-1!==r.indexOf(e)||-1!==e.indexOf(r))})):n.defaultLanguage?t.filter((function(t){var e=t.getLanguage();return e&&0===e.indexOf(r)})):t},setPopoverContainer:function(t){Xn=t},getPopoverContainer:function(){return Xn},preEditorViewRenderer:function(t,e){},prePresenterViewRenderer:function(t,e){},preEditorRenderer:function(){},postEditorRenderer:function(){},prePresenterRenderer:function(){},postPresenterRenderer:function(){},renderEditorLabel:function(){},renderEditorLabelScopeEnd:function(){},renderPresenterLabel:function(){},attachItemInfo:function(){},addCreateChildButton:function(){},addGroupButtons:function(){},addExpandButton:function(){},addRemoveButton:function(){},addPresenterTable:function(){},fillPresenterTable:function(){},addEditorTable:function(){},fillEditorTable:function(){},addTruncateControl:function(){}};Un.getChoice=Zn.getChoice;var Jn=function(t,e,r){new(0,r.view.constructor)({parentView:r.view,messages:r.view.messages,binding:e,topLevel:!1,compact:r.view.compact,showLanguage:r.view.showLanguage,showDescription:r.view.showDescription,defaultLanguage:r.view.defaultLanguage,filterTranslations:r.view.filterTranslations,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,includeLevel:r.view.includeLevel},t)};Zn.presenterRegistry.itemtype("group").register(Jn),Zn.presenterRegistry.itemtype("propertygroup").register(Jn);var Kn=function(t,e,r){var n=new(0,r.view.constructor)({parentView:r.view,messages:r.view.messages,languages:r.view.languages,binding:e,topLevel:!1,compact:r.view.compact,showDescription:r.view.showDescription,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,includeLevel:r.view.includeLevel},t);r.view._subEditors.push(n)};Zn.editorRegistry.itemtype("group").register(Kn),Zn.editorRegistry.itemtype("propertygroup").register(Kn);const ti=Zn;var ei=r(19755),ri=r.n(ei);r(92222),r(30489),r(74819),r(38880),r(12419),r(91038),r(68309);function ni(t){return(ni="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ii(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,oi(n.key),n)}}function oi(t){var e=function(t,e){if("object"!=ni(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ni(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ni(e)?e:String(e)}var ai=0,si=function(){function t(e){var r=e.item,n=e.statement,i=e.graph,o=e.matchingCode;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._item=r,this._statement=n,this._graph=i,this._ancestorValid=!0,this._cardinalityTracker=null,this._hash="b_".concat(ai),this._matchingCode=o||"correct",ai+=1}var e,r,n;return e=t,(r=[{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 t=this.getParent();t&&t._readOnly?this._readyOnly=!0:this._readOnly=!(!this._statement||!this._statement.getNamedGraph())}return this._readOnly}},{key:"remove",value:function(){}},{key:"setSubject",value:function(t){}},{key:"getValue",value:function(){}},{key:"setValue",value:function(t,e){}},{key:"getGist",value:function(){return Bn.extractGist(this.getValue(),this.getItem().getValueTemplate())}},{key:"setGist",value:function(t,e){var r=t,n=this.getItem().getValueTemplate();n&&r.length>0&&(-1===n.indexOf("$1")&&(n+="$1"),r=n.replace("$1",r)),this.setValue(r,e)}},{key:"getCardinalityTracker",value:function(){return this._cardinalityTracker}},{key:"setCardinalityTracker",value:function(t){this._cardinalityTracker=t}},{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(t){this._parent=t}},{key:"isValid",value:function(){}},{key:"getMatchingCode",value:function(){return this._matchingCode}},{key:"setMatchingCode",value:function(t){this._matchingCode=t}},{key:"setAncestorValid",value:function(t){this._ancestorValid=t,this.updateAssertions()}},{key:"updateAssertions",value:function(){}},{key:"getHash",value:function(){return this._hash}},{key:"addListener",value:function(t){this._listeners||(this._listeners=[]),this._listeners.push(t)}},{key:"removeListener",value:function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}}},{key:"bindingChange",value:function(t){if(this._listeners)for(var e=0;e<this._listeners.length;e++)this._listeners[e](t);this._parent&&this._parent.bindingChange(t),this._cardinalityTracker&&this._cardinalityTracker.touch()}},{key:"_isValidObjectValue",value:function(t){var e=t;if("string"!=typeof e&&null!==e)throw new Error("In a binding every object value need to be a string!");var r=this._item.getPattern();return r?null!=(e=Bn.extractGist(e,this.getItem().getValueTemplate()))&&""!==e&&new RegExp("^".concat(r,"$")).test(e):null!=e&&""!==e}},{key:"_isValidPredicateValue",value:function(t){if("string"!=typeof t&&null!==t)throw new Error("In a binding every predicate need to be a string!");return null!=t&&""!==t}}])&&ii(e.prototype,r),n&&ii(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();const ui={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 li(t){return(li="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ci(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,fi(n.key),n)}}function fi(t){var e=function(t,e){if("object"!=li(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=li(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==li(e)?e:String(e)}var di=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._listener=[],this._limits=e.getCardinality()||{},this._counter=0,this._depsOk=!0,this._listeners=[],this._code=0}var e,r,n;return e=t,(r=[{key:"addListener",value:function(t){return this._listeners.push(t),t}},{key:"removeListener",value:function(t){this._listeners.splice(this._listeners.indexOf(t),1)}},{key:"cardinalityChanged",value:function(){this._listeners.forEach((function(t){return t()}))}},{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(t){this._code!==t&&(this._code=t,this.cardinalityChanged())}},{key:"setDepsOk",value:function(t){this._depsOk!==t&&(this._code=ui.UNKNOWN,this._depsOk=t,this.cardinalityChanged())}},{key:"increment",value:function(){this._counter+=1,this._code=ui.UNKNOWN,this._checkCounter()}},{key:"decrement",value:function(){this._counter-=1,this._code=ui.UNKNOWN,this._checkCounter()}},{key:"getCounter",value:function(){return this._counter}},{key:"checkCardinality",value:function(){this._checkCounter()}},{key:"touch",value:function(){this._code=ui.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()}}])&&ci(e.prototype,r),n&&ci(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function hi(t){return(hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pi(t){return function(t){if(Array.isArray(t))return gi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return gi(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gi(t,e)}(t)||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 gi(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function yi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,mi(n.key),n)}}function mi(t){var e=function(t,e){if("object"!=hi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=hi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==hi(e)?e:String(e)}function vi(t,e,r){return e=_i(e),function(t,e){if(e&&("object"===hi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],_i(t).constructor):e.apply(t,r))}function bi(){return(bi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=wi(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function wi(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_i(t)););return t}function _i(t){return(_i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xi(t,e){return(xi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Si=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=vi(this,e,[t]);var n=t.constraints,i=void 0===n?[]:n,o=t.childrenRootUri,a=void 0===o?null:o;return r._constraints=i,r._childBindings=r._item.getChildren().map((function(){return[]})),r._rootUri=a,r._validPredicate=!0,r._validObject=!0,r._statement&&(r._validPredicate=r._isValidPredicateValue(r._statement.getPredicate()),r._validObject=r._isValidObjectValue(r._statement.getValue(),r._statement.getType())),r._cachedChildBindings=null,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&xi(t,e)}(e,t),r=e,(n=[{key:"getValue",value:function(){return this._statement&&this._statement.isObjectBlank()?"":this._statement&&this._statement.getValue()}},{key:"oneChildValidityChanged",value:function(t){return t!==this._oneValidChild&&!(!t&&(delete this._oneValidChild,this.isValid()))&&(this._oneValidChild=t,this._notifyValidityChange(t&&this._validPredicate&&this._validObject),this._validPredicate&&this._validObject)}},{key:"setSubject",value:function(t){this._statement?this._statement.setSubject(t):this.getChildBindings().forEach((function(e){return e.setSubject(t)}))}},{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(t){this.addChildBindings([t])}},{key:"addChildBindings",value:function(t){var e=this;if(this._cachedChildBindings=null,Array.isArray(t)&&0!==t.length)for(var r=t[0].getItem(),n=this._item.getChildren(),i=function(){if(r===n[o]){var i=e._childBindings[o].length>0?e._childBindings[o][0].getCardinalityTracker():new di(r);return e._childBindings[o]=e._childBindings[o].concat(t),t.forEach((function(t){t.setParent(e),t.setCardinalityTracker(i),i.increment()}),e),1}},o=n.length;o>=0&&!i();o--);}},{key:"removeChildBinding",value:function(t){this._cachedChildBindings=null;for(var e=this._item.getChildren(),r=e.length;r>=0;r--)if(t.getItem()===e[r]){this._childBindings[r].splice(this._childBindings[r].indexOf(t),1),delete t._parent,t.getCardinalityTracker().decrement();break}this.oneChildValidityChanged(),this.bindingChange(t)}},{key:"getChildBindingsFor",value:function(t){for(var e=this._item.getChildren(),r=e.length;r>=0;r--)if(t===e[r])return this._childBindings[r]}},{key:"getItemGroupedChildBindings",value:function(){return this._childBindings}},{key:"getChildBindings",value:function(){var t;return null==this._cachedChildBindings&&(this._childBindings&&this._childBindings.length>0?this._cachedChildBindings=(t=[]).concat.apply(t,pi(this._childBindings)):this._cachedChildBindings=[]),this._cachedChildBindings}},{key:"setPredicate",value:function(t){var e=this._validPredicate;this._isValidPredicateValue(t)?(this._statement.setPredicate(t),this._validPredicate=!0,!0!==e&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!0)):(this._validPredicate=!1,!1!==e&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!1)),this.updateAssertions()}},{key:"setValue",value:function(t){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 e=this._validObject;this._isValidObjectValue(t,"uri")?(this._validObject=!0,this._statement._o.type="uri",this._statement.setValue(t),this._constraints.forEach((function(e){return e.setSubject(t)})),this.getChildBindings().forEach((function(e){return e.setSubject(t)})),!e&&this._validPredicate&&this._notifyValidityChange(!0)):(this._validObject=!1,e&&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),bi(_i(e.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(t){var e=this;this._ancestorValid=t,this.updateAssertions(),this._childBindings.forEach((function(r){return r.forEach((function(r){return r.setAncestorValid(t&&e._isValid())}),e)}),this)}},{key:"updateAssertions",value:function(){null==this._oneValidChild&&this.isValid();var t=this._ancestorValid&&this._isValid();null!=this._statement&&this._statement.setAsserted(t),this._constraints.forEach((function(e){return e.setAsserted(t)})),this.getChildBindings().forEach((function(t){return t.updateAssertions()}))}},{key:"_forceOneValidChildCheck",value:function(){return this._childBindings.some((function(t){return t.some((function(t){return t.isValid()}))}))}},{key:"_notifyValidityChange",value:function(t){this._parent&&this._parent.oneChildValidityChanged(t)||(this.updateAssertions(),this._childBindings.forEach((function(e){return e.forEach((function(e){return e.setAncestorValid(t)}))})))}},{key:"_isValidObjectValue",value:function(t,r){return("URI"!==this.getItem().getNodetype()||"uri"===r)&&bi(_i(e.prototype),"_isValidObjectValue",this).call(this,t)}}])&&yi(r.prototype,n),i&&yi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(si);function Ei(t){return(Ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ti(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ki(n.key),n)}}function ki(t){var e=function(t,e){if("object"!=Ei(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ei(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ei(e)?e:String(e)}var Oi=0,Ai=function(t,e,r){null==r||""===r||Array.isArray(r)&&0===r.length?delete t[e]:t[e]=r},Ci=function(){function t(e){var r=e.source,n=void 0===r?{}:r,i=e.bundle,o=e.itemStore;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._itemStore=o,this._source=n,this._bundle=i,Oi+=1,this._internalId=Oi,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=Bn.getLocalizedValue}var e,r,n;return e=t,(r=[{key:"getId",value:function(){var t=this.getSource(!0);return t.id||t["@id"]}},{key:"setId",value:function(t){Ai(this.getSource(!0),"id",t),delete s["@id"]}},{key:"getType",value:function(t){var e=this.getSource(t);return e.type||e["@type"]}},{key:"setType",value:function(t){Ai(this.getSource(!0),"type",t),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(t){var e=this.getSource(!0),r=this._itemStore.getItem(t);this._source=null==r?e:this._itemStore.createExtendedSource(r.getSource(),e),""===t||null==t?delete e.extends:e.extends=t}},{key:"isExtention",value:function(){return null!=this.getExtends()}},{key:"_getText",value:function(t,e,r){var n=this.getSource(r);return e?Bn.getLocalizedValue(n[t]):Bn.getLocalizedValue(n[t]).value}},{key:"_setText",value:function(t,e,r){var n=this.getSource(!0);n[t]=this._setLangHash(n[t],e,r),this.refreshExtends()}},{key:"_setTextMap",value:function(t,e){Ai(this.getSource(!0),t,e),this.refreshExtends()}},{key:"getLabel",value:function(t,e){return this._getText("label",t,e)}},{key:"setLabel",value:function(t,e){this._setText("label",t,e)}},{key:"getLabelMap",value:function(t){return this.getSource(t).label}},{key:"setLabelMap",value:function(t){this._setTextMap("label",t)}},{key:"getEditLabel",value:function(t,e){return this._getText("editlabel",t,e)}},{key:"setEditLabel",value:function(t,e){this._setText("editlabel",t,e)}},{key:"getEditLabelMap",value:function(t){return this.getSource(t).editlabel}},{key:"setEditLabelMap",value:function(t){this._setTextMap("editlabel",t)}},{key:"getDescription",value:function(t,e){return this._getText("description",t,e)}},{key:"setDescription",value:function(t,e){this._setText("description",t,e)}},{key:"getDescriptionMap",value:function(t){return this.getSource(t).description}},{key:"setDescriptionMap",value:function(t){this._setTextMap("description",t)}},{key:"getEditDescription",value:function(t,e){return this._getText("editdescription",t,e)}},{key:"setEditDescription",value:function(t,e){this._setText("editdescription",t,e)}},{key:"getEditDescriptionMap",value:function(t){return this.getSource(t).editdescription}},{key:"setEditDescriptionMap",value:function(t){this._setTextMap("editdescription",t)}},{key:"getHelp",value:function(t,e){return this._getText("help",t,e)}},{key:"setHelp",value:function(t,e){this._setText("help",t,e)}},{key:"getHelpMap",value:function(t){return this.getSource(t).help}},{key:"setHelpMap",value:function(t){this._setTextMap("help",t)}},{key:"getPlaceholder",value:function(t,e){return this._getText("placeholder",t,e)}},{key:"setPlaceholder",value:function(t,e){this._setText("placeholder",t,e)}},{key:"getPlaceholderMap",value:function(t){return this.getSource(t).placeholder}},{key:"setPlaceholderMap",value:function(t){this._setTextMap("placeholder",t)}},{key:"getPurpose",value:function(t,e){return this._getText("purpose",t,e)}},{key:"setPurpose",value:function(t,e){this._setText("purpose",t,e)}},{key:"getPurposeMap",value:function(t){return this.getSource(t).purpose}},{key:"setPurposeMap",value:function(t){this._setTextMap("purpose",t)}},{key:"getSpecification",value:function(t,e){return this._getText("specification",t,e)}},{key:"setSpecification",value:function(t,e){this._setText("specification",t,e)}},{key:"getSpecificationMap",value:function(t){return this.getSource(t).specification}},{key:"setSpecificationMap",value:function(t){this._setTextMap("specification",t)}},{key:"getText",value:function(t,e,r){var n=this.getSource(r).text||{};return e?Bn.getLocalizedValue(n[t]):Bn.getLocalizedValue(n[t]).value}},{key:"setText",value:function(t,e,r){var n=this.getSource(!0),i=n.text=n.text||{};i[t]=this._setLangHash(i[t],e,r),this.refreshExtends()}},{key:"setTextMap",value:function(t,e){var r=this.getSource(!0),n=r.text=r.text||{};Ai(n,t,e),this.refreshExtends()}},{key:"getProperty",value:function(t){var e=null,r=this.getSource(t);return r&&null!=(e=r.property)&&""!==e&&(e=c(e)),e}},{key:"setProperty",value:function(t){Ai(this.getSource(!0),"property",t),this.refreshExtends()}},{key:"getURIValueLabelProperties",value:function(t){var e=this.getSource(t).uriValueLabelProperties;return null!=e?e.map((function(t){return c(t)})):e}},{key:"setURIValueLabelProperties",value:function(t){Ai(this.getSource(!0),"uriValueLabelProperties",t),this.refreshExtends()}},{key:"getConstraints",value:function(t){var e=this.getSource(t).constraints;if(null!=e){var r={};return Object.keys(e).forEach((function(t){var n=e[t];Array.isArray(n)?r[c(t)]=n.map((function(t){return c(t)})):r[c(t)]=c(n)})),r}return e}},{key:"setConstraints",value:function(t){Ai(this.getSource(!0),"constraints",t),this.refreshExtends()}},{key:"getDeps",value:function(t){var e=this.getSource(t).deps;return null!=e?e.map((function(t){return"*"!==t&&".."!==t?c(t):t})):e}},{key:"setDeps",value:function(t){Ai(this.getSource(!0),"deps",t),this.refreshExtends()}},{key:"getDatatype",value:function(t){var e=this.getSource(t).datatype;return null!=e&&""!==e?Array.isArray(e)?e.map((function(t){return c(t)})):c(e):e}},{key:"setDatatype",value:function(t){Ai(this.getSource(!0),"datatype",t),this.refreshExtends()}},{key:"getPattern",value:function(t){return this.getSource(t).pattern}},{key:"setPattern",value:function(t){Ai(this.getSource(!0),"pattern",t),this.refreshExtends()}},{key:"getLanguage",value:function(t){return this.getSource(t).language}},{key:"setLanguage",value:function(t){Ai(this.getSource(!0),"language",t),this.refreshExtends()}},{key:"getMember",value:function(t){return this.getSource(t).member}},{key:"setMember",value:function(t){Ai(this.getSource(!0),"member",t),this.refreshExtends()}},{key:"getNodetype",value:function(t){var e=this.getSource(t);return e.nodetype||e.nodeType}},{key:"setNodetype",value:function(t){Ai(this.getSource(!0),"nodetype",t),this.refreshExtends()}},{key:"getValue",value:function(t){return this.getSource(t).value}},{key:"setValue",value:function(t){Ai(this.getSource(!0),"value",t),this.refreshExtends()}},{key:"getValueTemplate",value:function(t){return this.getSource(t).valueTemplate}},{key:"setValueTemplate",value:function(t){Ai(this.getSource(!0),"valueTemplate",t),this.refreshExtends()}},{key:"getCardinality",value:function(t){if(!this.getProperty()&&"text"===this.getType())return{min:1,max:1};var e=this.getSource(t);return e&&"cardinality"in e?e.cardinality:this.getProperty()?{}:{max:1}}},{key:"setCardinality",value:function(t){Ai(this.getSource(!0),"cardinality",t),this.refreshExtends()}},{key:"isEnabled",value:function(t){var e=this.getSource(t);return null==e.enabled||e.enabled}},{key:"setEnabled",value:function(t){var e=this.getSource(!0);t?delete e.enabled:e.enabled=t,this.refreshExtends()}},{key:"getClasses",value:function(t){var e=this.getSource(t);return e&&"cls"in e?e.cls:[]}},{key:"setClasses",value:function(t){Ai(this.getSource(!0),"cls",t),this.refreshExtends()}},{key:"hasClass",value:function(t,e){var r=this.getSource(e);return!!this.hasStyle(t,e)||null!=r.cls&&r.cls.some((function(e){return e.toLowerCase()===t.toLowerCase()}))}},{key:"getAvailableStyles",value:function(){return this._styles}},{key:"getStyles",value:function(t){return this.getSource(t).styles||[]}},{key:"setStyles",value:function(t){Ai(this.getSource(!0),"styles",t),this.refreshExtends()}},{key:"hasStyle",value:function(t,e){var r=this.getSource(e);return!(!r||!("styles"in r))&&r.styles.some((function(e){return e.toLowerCase()===t.toLowerCase()}))}},{key:"getSource",value:function(t){if(!0===t)return this._source._extendedSource||this._source;if(!1===t){var e=this._itemStore.getItem(this.getExtends());return null==e?this._source:e.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 t=[];return this.getId()&&t.push("ID: '".concat(this.getId(),"'")),t.push("TYPE: '".concat(this.getType(),"'")),this.getProperty()&&t.push("PROPERTY: '".concat(this.getProperty(),"'")),this.getExtends()&&t.push("EXTENDS: '".concat(this.getExtends(),"'")),"'".concat(this.getLabel(),"' (").concat(t.join(", "),")")}},{key:"_setLangHash",value:function(t,e,r){var n=t||{};if("string"==typeof e)"string"==typeof r?n[r]=e:n[""]=e;else if("object"===Ei(e)&&null!==e)return e;return n}}])&&Ti(e.prototype,r),n&&Ti(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Pi(t){return(Pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ji(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ri(n.key),n)}}function Ri(t){var e=function(t,e){if("object"!=Pi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Pi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Pi(e)?e:String(e)}function Ni(t,e,r){return e=Li(e),function(t,e){if(e&&("object"===Pi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Li(t).constructor):e.apply(t,r))}function Ii(){return(Ii="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Di(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function Di(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Li(t)););return t}function Li(t){return(Li=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Mi(t,e){return(Mi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Fi=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Ni(this,e,[t]))._children=t.children,null!=r._source.content&&(r._source.items=r._source.content,delete r._source.content),r._forceChildrenClones=!1,r._parent=null,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Mi(t,e)}(e,t),r=e,(n=[{key:"getChildren",value:function(t){var e,r=t&&this.isExtention(),n=r?this._ochildren:this._children;return null==n&&(n=this._itemStore.getChildren(this,r),!0===this.getSource().automatic&&this._itemStore.automaticSortAllowed&&((e=n).forEach((function(t){t.__label=(t.getLabel()||"").toLowerCase()})),e.sort((function(t,e){return null!=t._source.priority?null!=e._source.priority?t._source.priority>e._source.priority?-1:t._source.priority<e._source.priority?1:0:t._source.priority>0?-1:1:null!=e._source.priority?e._source.priority>0?1:-1:t.__label>e.__label?1:t.__label<e.__label?-1:0}))),this["_".concat(r?"o":"","children")]=n),n}},{key:"originalChildrenChanged",value:function(){this.isExtention()&&delete this._children}},{key:"setExtends",value:function(t){Ii(Li(e.prototype),"setExtends",this).call(this,t),delete this._children,delete this._ochildren}},{key:"getNodetype",value:function(){return Ii(Li(e.prototype),"getNodetype",this).call(this)||"RESOURCE"}}])&&ji(r.prototype,n),i&&ji(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Ci);function Bi(t){return(Bi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ui(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Wi(n.key),n)}}function Wi(t){var e=function(t,e){if("object"!=Bi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Bi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Bi(e)?e:String(e)}function Hi(t,e,r){return e=$i(e),function(t,e){if(e&&("object"===Bi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],$i(t).constructor):e.apply(t,r))}function Gi(){return(Gi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Yi(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function Yi(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=$i(t)););return t}function $i(t){return($i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function qi(t,e){return(qi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var zi=function(t){function e(){return Vi(this,e),Hi(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&qi(t,e)}(e,t),r=e,(n=[{key:"getChildren",value:function(t){if(null==this._delegatedChildren){var r=function(){return{min:1,max:1,pref:1}},n=Gi($i(e.prototype),"getChildren",this).call(this,t)||[];this._delegatedChildren=n.map((function(t){var e=Object.create(t);return e.getCardinality=r,e}))}return this._delegatedChildren}},{key:"getPropertyItem",value:function(){return this.getChildren()[0]}},{key:"getObjectItem",value:function(){return this.getChildren()[1]}}])&&Ui(r.prototype,n),i&&Ui(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Fi);function Xi(t){return(Xi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Qi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ji(n.key),n)}}function Ji(t){var e=function(t,e){if("object"!=Xi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Xi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Xi(e)?e:String(e)}function Ki(t,e,r){return e=to(e),function(t,e){if(e&&("object"===Xi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],to(t).constructor):e.apply(t,r))}function to(t){return(to=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eo(t,e){return(eo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var ro=function(t){function e(){return Qi(this,e),Ki(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&eo(t,e)}(e,t),r=e,(n=[{key:"getLabelProperties",value:function(t){return this.getSource(t).labelProperties}}])&&Zi(r.prototype,n),i&&Zi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Ci);function no(t){return(no="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function io(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,oo(n.key),n)}}function oo(t){var e=function(t,e){if("object"!=no(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=no(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==no(e)?e:String(e)}function ao(t,e,r){return e=lo(e),function(t,e){if(e&&("object"===no(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],lo(t).constructor):e.apply(t,r))}function so(){return(so="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=uo(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function uo(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=lo(t)););return t}function lo(t){return(lo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function co(t,e){return(co=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var fo=function(t){null!=t&&t.forEach((function(t){t.value=c(t.value)}))},ho=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=ao(this,e,[t]))._ontologyStore=t.ontologyStore,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&co(t,e)}(e,t),r=e,(n=[{key:"getChoices",value:function(t){return this.getStaticChoices(t)||this.getDynamicChoices(t)||[]}},{key:"hasChoices",value:function(t){var e=this.getSource(t);return null!=e.ontologyUrl||null!=e.choices}},{key:"hasStaticChoices",value:function(t){return null!=this.getSource(t).choices}},{key:"getStaticChoices",value:function(t){var e=this.getSource(t);if(e.choices){var r=-1===this.getNodetype().indexOf("LITERAL");t&&this.isExtention()?this._origStaticIsSorted||(r&&fo(e.choices),this._origStaticIsSorted=!0):this._staticIsSorted||(r&&fo(e.choices),this._staticIsSorted=!0)}return e.choices}},{key:"setStaticChoices",value:function(t){var e=this.getSource(!0);e.choices!==t&&(null!=t&&(this._origStaticIsSorted=!0),e.choices=t,this.refreshExtends())}},{key:"setExtends",value:function(t){so(lo(e.prototype),"setExtends",this).call(this,t),delete this._staticIsSorted,delete this._origStaticIsSorted}},{key:"getDynamicChoices",value:function(t){var e=this;if(null==this._dynamicChoices){if(null==t)return this._dynamicChoices=this._ontologyStore.getChoices(this),this._dynamicChoices;this._ontologyStore.getChoices(this,(function(r){e._dynamicChoices=r,null==e._dynamicChoices&&(console.log("Failed lookup of choices for ".concat(e.getLabel())),console.log("OntologyUrl is: ".concat(e._source.ontologyUrl))),t(e._dynamicChoices)}))}else{if(null==t)return this._dynamicChoices;t(this._dynamicChoices)}}},{key:"getOntologyUrl",value:function(t){var e=this.getSource(t).ontologyUrl;return null!=e&&""!==e?c(e):e}},{key:"setOntologyUrl",value:function(t){var e=this.getSource(!0);null==t||""===t?delete e.ontologyUrl:e.ontologyUrl=t,this.refreshExtends()}},{key:"getLabelProperties",value:function(t){return this.getSource(t).labelProperties||["http://www.w3.org/2000/01/rdf-schema#label"]}},{key:"getParentProperty",value:function(t){var e=this.getSource(t).parentProperty;return null!=e&&""!==e?c(e):e}},{key:"setParentProperty",value:function(t){var e=this.getSource(!0);null==t||""===t?delete e.parentProperty:e.parentProperty=t,this.refreshExtends()}},{key:"getHierarchyProperty",value:function(t){var e=this.getSource(t).hierarchyProperty;return null!=e&&""!==e?c(e):e}},{key:"setHierarchyProperty",value:function(t){var e=this.getSource(!0);null==t||""===t?delete e.hierarchyProperty:e.hierarchyProperty=t,this.refreshExtends()}},{key:"isParentPropertyInverted",value:function(t){return!0===this.getSource(t).isParentPropertyInverted}},{key:"setParentPropertyInverted",value:function(t){var e=this.getSource(!0);!0===t?e.isParentPropertyInverted=!0:delete e.isParentPropertyInverted,this.refreshExtends()}},{key:"isHierarchyPropertyInverted",value:function(t){return!0===this.getSource(t).isHierarchyPropertyInverted}},{key:"setHierarchyPropertyInverted",value:function(t){var e=this.getSource(!0);t?e.isHierarchyPropertyInverted=!0:delete e.isHierarchyPropertyInverted,this.refreshExtends()}}])&&io(r.prototype,n),i&&io(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Ci);r(73210);function po(t){return(po="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function go(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,yo(n.key),n)}}function yo(t){var e=function(t,e){if("object"!=po(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=po(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==po(e)?e:String(e)}function mo(t,e,r){return e=wo(e),function(t,e){if(e&&("object"===po(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],wo(t).constructor):e.apply(t,r))}function vo(){return(vo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=bo(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function bo(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=wo(t)););return t}function wo(t){return(wo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _o(t,e){return(_o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var xo=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=mo(this,e,[t]))._validObject=!0,r._validPredicate=!0,r._excludeFromTreeValidityCheck=!1,r._statement&&(r._validPredicate=r._isValidPredicateValue(r._statement.getPredicate(),!0),r._validObject=r._isValidObjectValue(r._statement.getValue())),r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_o(t,e)}(e,t),r=e,(n=[{key:"getValue",value:function(){return this._statement.getValue()}},{key:"setValue",value:function(t,e){var r="string"==typeof t?t.trim():t,n=this._validObject;this._isValidObjectValue(r)?(this._statement.setValue(r,e),this._validObject=!0,!0===n||!0!==this._validPredicate||this._excludeFromTreeValidityCheck||this._parent.oneChildValidityChanged(!0)):(""!==r&&null!==r||this._statement.setValue("",e),this._validObject=!1,!1!==n&&!0===this._validPredicate&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"setSubject",value:function(t){this._statement.setSubject(t)}},{key:"getPredicate",value:function(){return this._statement.getPredicate()}},{key:"setPredicate",value:function(t){var e=this._validPredicate;this._isValidPredicateValue(t)?(this._statement.setPredicate(t),this._validPredicate=!0,!0!==e&&!0===this._validObject&&this._parent.oneChildValidityChanged(!0)):(this._validPredicate=!1,!1!==e&&!0===this._validObject&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"getLanguage",value:function(){return this._statement.getLanguage()}},{key:"setLanguage",value:function(t,e){this._statement.setLanguage(t,e),e||this.bindingChange(this)}},{key:"getDatatype",value:function(){return this._statement.getDatatype()}},{key:"setDatatype",value:function(t){this._statement.setDatatype(c(t)),this.updateAssertions()}},{key:"setExcludeFromTreeValidityCheck",value:function(t){this._excludeFromTreeValidityCheck=t}},{key:"remove",value:function(){this.setValue(null),this._parent.removeChildBinding(this),vo(wo(e.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){var t=this._ancestorValid&&this._validObject&&this._validPredicate;this._statement.setAsserted(t,!0),this.bindingChange(this)}},{key:"isValid",value:function(){return this._validObject&&this._validPredicate&&!this._excludeFromTreeValidityCheck}}])&&go(r.prototype,n),i&&go(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(si);function So(t){return(So="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Eo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,To(n.key),n)}}function To(t){var e=function(t,e){if("object"!=So(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=So(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==So(e)?e:String(e)}function ko(t,e,r){return e=Co(e),function(t,e){if(e&&("object"===So(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Co(t).constructor):e.apply(t,r))}function Oo(){return(Oo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Ao(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function Ao(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Co(t)););return t}function Co(t){return(Co=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Po(t,e){return(Po=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var jo="http://www.w3.org/2000/01/rdf-schema#label",Ro="http://www.w3.org/2000/01/rdf-schema#seeAlso",No=function(t){function e(t){var r,n=t.choice,i=t.item,o=t.statement,a=t.matchingCode;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=ko(this,e,[{choice:n,item:i,statement:o,matchingCode:a}]))._choice=n,r._validPredicate=null!=i.getProperty(),r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Po(t,e)}(e,t),r=e,i=[{key:"seeAlso",get:function(){return Ro}}],(n=[{key:"setChoice",value:function(t,e){this._choice=t,null==t?this.setValue(null,null,e):this.getValue()!==t.value&&this.setValue(t.value,t,e),t&&t.mismatch?this.setMatchingCode(ui.WRONG_VALUE):t&&t.mismatch||this.getMatchingCode()!==ui.WRONG_VALUE||this.setMatchingCode(ui.OK)}},{key:"getChoice",value:function(){return this._choice}},{key:"setValue",value:function(t,r,n){var i=this.getValue();Oo(Co(e.prototype),"setValue",this).call(this,t,r,n);var o=this._statement.getGraph();if(o.findAndRemove(i,jo,void 0,n),o.findAndRemove(i,Ro,void 0,n),null!=t&&null!=r&&(r.seeAlso&&r.inlineSeeAlso&&o.create(t,Ro,r.seeAlso,!0,n),!0===r.inlineLabel)){var a=r.label||{};Object.keys(a).forEach((function(e){return o.create(t,jo,{value:a[e],lang:e,type:"literal"},!0,n)}))}}}])&&Eo(r.prototype,n),i&&Eo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(xo);function Io(t){return(Io="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Do(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Lo(n.key),n)}}function Lo(t){var e=function(t,e){if("object"!=Io(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Io(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Io(e)?e:String(e)}function Mo(t,e,r){return e=Fo(e),function(t,e){if(e&&("object"===Io(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Fo(t).constructor):e.apply(t,r))}function Fo(t){return(Fo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Bo(t,e){return(Bo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Vo=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Mo(this,e,[t]))._objectBinding=t.objectBinding,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Bo(t,e)}(e,t),r=e,(n=[{key:"remove",value:function(){}},{key:"setValue",value:function(t){this._objectBinding.setPredicate(t)}},{key:"getValue",value:function(){return this._objectBinding.getPredicate()}},{key:"isValid",value:function(){return!1}},{key:"updateAssertions",value:function(){}}])&&Do(r.prototype,n),i&&Do(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(No);function Uo(t){return(Uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Wo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ho(n.key),n)}}function Ho(t){var e=function(t,e){if("object"!=Uo(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Uo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Uo(e)?e:String(e)}function Go(t,e,r){return e=Yo(e),function(t,e){if(e&&("object"===Uo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Yo(t).constructor):e.apply(t,r))}function Yo(t){return(Yo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function $o(t,e){return($o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var qo=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=Go(this,e,[t]);var n=t.statement,i=t.constraints;r._statement=void 0,r._validPredicate=!0,r._constraints=[];var o,a=r._item.getChildren(),s=a[1];o=s instanceof Fi?new Si({item:s,statement:n,constraints:i}):s instanceof ho?new No({item:s,statement:n}):new xo({item:s,statement:n});var u=new Vo({item:a[0],objectBinding:o});return r.addChildBinding(u),r.addChildBinding(o),r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&$o(t,e)}(e,t),r=e,(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()}}])&&Wo(r.prototype,n),i&&Wo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Si);function zo(t){return(zo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Xo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Zo(n.key),n)}}function Zo(t){var e=function(t,e){if("object"!=zo(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=zo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==zo(e)?e:String(e)}function Jo(t,e,r){return e=ea(e),function(t,e){if(e&&("object"===zo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],ea(t).constructor):e.apply(t,r))}function Ko(){return(Ko="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=ta(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function ta(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ea(t)););return t}function ea(t){return(ea=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ra(t,e){return(ra=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var na,ia,oa,aa,sa,ua=function(t){function e(){return Xo(this,e),Jo(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ra(t,e)}(e,t),r=e,(n=[{key:"getValue",value:function(){return this._parent.getValue()}},{key:"setValue",value:function(t){return this._parent.setValue(t)}},{key:"getGist",value:function(){return this._parent.getGist()}},{key:"setGist",value:function(t,e){return this._parent.setGist(t,e)}},{key:"setSubject",value:function(t){}},{key:"getPredicate",value:function(){return this._parent.getPredicate()}},{key:"remove",value:function(){this._parent.removeChildBinding(this),Ko(ea(e.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){}},{key:"isValid",value:function(){return!0}}])&&Qo(r.prototype,n),i&&Qo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(xo);function la(t){return(la="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var ca,fa,da,ha,pa,ga,ya=!1,ma=function(t,e,r){var n=new Si({item:r,childrenRootUri:e,graph:t});return na(n),ia(n),n},va=function(t,e,r){var n=new Si({item:r,childrenRootUri:e,graph:t});return na(n),ya=!0,na(n),ya=!1,ia(n),n},ba=function(t,e,r,n){var i=t.findProperties(e),o=[],a={};if(null!=n){var s=function(t){null!=t&&(!function t(e){null!=e.getProperty()?a[e.getProperty()]=!0:e instanceof Fi&&e.getChildren().forEach(t)}(t),o.push(t))};n.forEach((function(t){var e=r.getItem(t);null!=e?e instanceof Fi&&null==e.getProperty()?e.getChildren().forEach(s):s(e):(e=r.getItemByProperty(t))?s(e):console.warn("Warning, when autodetecting a template: Required item '".concat(t,"' is neither an id for a loaded item or a property for a loaded item, ignoring."))}))}return i.forEach((function(t){if(!a[t]){var e=r.getItemByProperty(t);null!=e&&o.push(e)}}),void 0),r.createTemplateFromChildren(o)},wa=function(t){return Array.isArray(t.getDatatype())?t.getDatatype()[0]:t.getDatatype()},_a=function(t,e){var r,n,i=e.getChildren()[1],o=t.getGraph();i instanceof Fi?(r=o.create(t.getChildrenRootUri(),"",null,!1),n=sa(o,r.getSubject(),i)):r=i instanceof ho?o.create(t.getChildrenRootUri(),"",{type:"uri",value:""},!1):o.create(t.getChildrenRootUri(),"",{type:"literal",value:""},!1);var a=new qo({item:e,statement:r,constraints:n});return t.addChildBinding(a),i instanceof Fi&&i.getChildren().forEach((function(t){xa(a.getObjectBinding(),t)})),a},xa=function(t,e,r){return e instanceof ro?function(t,e){if(!e.getProperty()){var r=new ua({item:e,statement:null,matchingCode:ui.OK});return t.addChildBinding(r),r}var n=t.getGraph(),i=e.getNodetype(),o={value:"",type:"literal"};"URI"===i?o.type="uri":"DATATYPE_LITERAL"===i&&(o.datatype=wa(e));var a=e.getValue();if(null!=a&&0===t.getChildBindingsFor(e).length){o.value=a;var s=e.getLanguage();null!=s&&(o.lang=s)}var u=n.create(t.getChildrenRootUri(),e.getProperty(),o,!1),l=new xo({item:e,statement:u});return t.addChildBinding(l),l}(t,e):e instanceof zi?_a(t,e):e instanceof Fi?function(t,e,r){var n,i;if(void 0!==e.getProperty()){var o=t.getGraph();n=(e.getNodetype(),o.create(t.getChildrenRootUri(),e.getProperty(),null,!1)),i=sa(o,n.getValue(),e)}var a=new Si({item:e,statement:n,constraints:i});t.addChildBinding(a);var s=e._source["@id"];if(s){if(r[s])return a;r[s]=!0}return a}(t,e,r||{}):e instanceof ho?function(t,e){var r=t.getGraph(),n=e.getNodetype(),i={type:"literal",value:""};"DATATYPE_LITERAL"===n?i.datatype=wa(e):"RESOURCE"!==n&&"URI"!==n||(i.type="uri");var o=r.create(t.getChildrenRootUri(),e.getProperty(),i,!1),a=new No({item:e,statement:o});t.addChildBinding(a);var s=e.getValue(),u=a.getCardinalityTracker();return null!=s&&1===u.getCounter()&&a.setChoice(pa(e,s,r),!0),a}(t,e):void 0};na=function(t){ya&&t.getChildBindings().forEach((function(t){"group"===t.getItem().getType()&&na(t)})),t.getItem().getChildren().forEach((function(e){ya?void 0!==e.getProperty()&&ca(t,e):ca(t,e)}))};ca=function(t,e){e instanceof ho?function(t,e){if(null!=e.getProperty()){var r=[];t.getGraph().find(t.getChildrenRootUri(),e.getProperty()).forEach((function(t){if(oa(t)){var n=fa(e,t),i=da(e,t),o=ha(e,t);if(n&&i&&o||ya){var a=pa(e,t.getValue(),t.getGraph());if(void 0!==a){aa(t);var s=n?ui.OK:ui.WRONG_NODETYPE;i?o?a.mismatch&&(s=ui.WRONG_VALUE):s=ui.WRONG_PATTERN:s=ui.WRONG_DATATYPE,r.push(new No({item:e,statement:t,choice:a,matchingCode:s}))}}}})),r.length>0&&t.addChildBindings(r)}}(t,e):e instanceof zi?function(t,e){var r,n,i,o,a=e.getPropertyItem(),s=e.getObjectItem(),u=t.getGraph(),l=[];u.find(t.getChildrenRootUri()).forEach((function(t){oa(t)&&fa(s,t)&&ha(s,t)&&void 0!==(i=pa(a,t.getPredicate(),t.getGraph()))&&(n=null,s instanceof Fi?void 0!==(r=ga(u,t.getValue(),s))&&(aa(t),n=new qo({item:e,statement:t,constraints:r}),na(n.getObjectBinding())):s instanceof ho?void 0!==(o=pa(s,t.getValue(),t.getGraph()))&&(aa(t),(n=new qo({item:e,statement:t})).getObjectBinding().setChoice(o)):(aa(t),n=new qo({item:e,statement:t})),null!==n&&(n.getPredicateBinding().setChoice(i),l.push(n)))})),l.length>0&&t.addChildBindings(l)}(t,e):e instanceof Fi?function(t,e){var r,n,i,o,a=t.getGraph();void 0!==e.getProperty()?(r=a.find(t.getChildrenRootUri(),e.getProperty())).length>0&&(n=[],r.forEach((function(t){if(oa(t)){var r=ha(e,t),s=fa(e,t);if((r&&s||ya)&&(void 0!==(i=ga(a,t.getValue(),e))||ya)){var u=s?ui.OK:ui.WRONG_NODETYPE;r?void 0===i&&(u=ui.MISSING_CONSTRAINTS):u=ui.WRONG_PATTERN,aa(t),o=new Si({item:e,statement:t,constraints:i,matchingCode:u}),n.push(o),u===ui.OK&&na(o)}}})),t.addChildBindings(n)):(o=new Si({item:e}),t.addChildBindings([o]),na(o))}(t,e):e instanceof ro&&function(t,e){var r=[];null==e.getProperty()?r.push(new ua({item:e,statement:null,matchingCode:ui.OK})):t.getGraph().find(t.getChildrenRootUri(),e.getProperty()).forEach((function(t){if(oa(t)&&ha(e,t)){var n=fa(e,t),i=da(e,t);if(n&&(i||e.hasStyle("relaxedDatatypeMatch"))||ya){aa(t);var o=n?ui.OK:ui.WRONG_NODETYPE;i||(o=ui.WRONG_DATATYPE),r.push(new xo({item:e,statement:t,matchingCode:o}))}}})),r.length>0&&t.addChildBindings(r)}(t,e)},fa=function(t,e){var r=e.getType();switch(t.getNodetype()){case"LITERAL":case"ONLY_LITERAL":case"PLAIN_LITERAL":case"LANGUAGE_LITERAL":case"DATATYPE_LITERAL":return"literal"===r;case"RESOURCE":return"uri"===r||"bnode"===r;case"URI":return"uri"===r;case"BLANK":return"bnode"===r}return!1},da=function(t,e){var r="DATATYPE_LITERAL"===t.getNodetype()&&t.getDatatype()||null;return null==r||(Array.isArray(r)?-1!==r.indexOf(e.getDatatype()):e.getDatatype()===r)},ha=function(t,e){var r=t.getPattern(),n=Bn.extractGist(e.getValue(),t.getValueTemplate());if(void 0!==r)try{return new RegExp("^".concat(r,"$")).test(n)}catch(t){return!0}return!0},ga=function(t,e,r){var n,i=r.getConstraints(),o=[],a=function(r,i){if(1!==(n=t.find(e,r,{type:"uri",value:i})).length)return!1;o.push(n[0])};if("object"===la(i)&&null!==i){for(var s,u=Object.keys(i),l=function(){var t=u[c],e=i[t];if(e instanceof Array){var r=!0;if(e.forEach((function(e){!1!==a(t,e)&&(r=!1)})),r)return{v:void 0}}else if(!1===a(t,e))return{v:void 0}},c=0;c<u.length;c++)if(s=l())return s.v;return o}return[]},sa=function(t,e,r){var n=[],i=r.getConstraints();return"object"===la(i)&&null!==i&&Object.keys(i).forEach((function(r){var o=i[r];Array.isArray(o)?n.push(t.create(e,r,{type:"uri",value:o[0]},!1)):n.push(t.create(e,r,{type:"uri",value:o},!1))})),n},pa=function(t,e,r){var n,i;if(t.hasChoices()){for(i=t.getChoices(),n=0;n<i.length;n++)if(i[n].value===e)return i[n];if(!t.hasStyle("strictmatch")||ya)return{value:e,label:{"":e},mismatch:!0}}else{var o=Bn.getLocalizedMap(r,e,t.getLabelProperties());null==o&&ya&&(o={"":e,mismatch:!0});var a=r.findFirstValue(e,No.seeAlso);if(null!=o){var s={label:o,value:e};return a&&(s.seeAlso=a),s}if(null!=Un.getChoice)return Un.getChoice(t,e,a,r)}},aa=function(t){t._dibbs=!0},oa=function(t){return!0!==t._dibbs},ia=function(t){var e,r,n,i=t.getItemGroupedChildBindings()||[];for(e=0;e<i.length;e++)for(n=i[e],r=0;r<n.length;r++){var o=n[r];o._statement&&delete o._statement._dibbs,(o instanceof Si||o instanceof qo)&&ia(o)}};var Sa=function t(e,r){for(var n="/"===r[0]?r.slice(1):r,i=e.getItemGroupedChildBindings(),o=n[0],a=0;a<i.length;a++)for(var s=i[a],u=void 0,l=0;l<s.length;l++){var c=s[l],f=c.getItem();if(f instanceof ho&&void 0===f.getProperty()&&o===f.getId()&&2===n.length&&n[1]===c.getValue())return c;if(c.isValid()){if("propertygroup"===f.getType())f=(c=c.getObjectBinding()).getItem();else if(void 0===f.getProperty()&&(u=t(c,n)))return u;if("*"===o||o===c.getPredicate())if("group"===f.getType()){if(u=t(c,n.slice(1)))return u}else if(1===n.length||"*"===n[1]||n[1]===c.getValue())return c}}},Ea=function(t,e){var r=e[0],n=t;if("/"===r){for(;n.getParent();)n=n.getParent();return n}if(".."===r){for(var i=0;i<e.length;i++){if(".."!==e[i]||!n.getParent())return n;n=n.getParent()}return n}return t},Ta=function(t,e){var r=t.getId(),n={},i={};t.getChoices().forEach((function(t){n[t.value]=0,i[t.value]=t}));e.getChildBindings().forEach((function(t){var e=t.getItem().getDeps();if(e&&(e[0]===r||"/"===e[0]&&e[1]===r)){var i="/"===e[0]?e[2]:e[1],o=n[i];void 0!==o&&(n[i]=o+1)}}));var o,a=0;return Object.keys(n).forEach((function(t){(!o||n[t]>a)&&(o=t,a=n[t])})),i[o]};const ka={detectLevel:function(t){if(t.mandatory>0){if(0===t.recommended&&0===t.optional)return"mandatory";if(0===t.optional)return"mixed_mandatory_recommended";if(0===t.recommended)return"mixed_mandatory_optional"}else{if(t.recommended>0)return 0===t.optional?"recommended":"mixed_recommended_optional";if(0===t.recommended&&t.recommended>0&&0===t.optional)return"optional"}return"mixed_all"},levelProfile:function(t){var e=function t(e,r,n){var i=r.getCardinality();return n&&"group"===r.getType()||(null!=i?i.min>0?e.mandatory+=1:i.pref>0?e.recommended+=1:e.optional+=1:e.optional+=1),"group"===r.getType()&&r.getChildren().forEach((function(r){return t(e,r)})),e}({mandatory:0,recommended:0,optional:0},t,!0);return e.itemCount=e.mandatory+e.recommended+e.optional,e},findFirstValueBinding:function t(e,r){if(e instanceof xo)return e;for(var n=e.getItemGroupedChildBindings(),i=Ln().locale(),o=0;o<n.length;o++){var a=n[o],s=e.getItem().getChildren()[o];if(0!==a.length){if(!(s instanceof ro))return t(a[0]);if("LANGUAGE_LITERAL"===s.getNodetype()){for(var u={firstValue:a[0]},l=0;l<a.length;l++){var c=a[l].getLanguage();null==c?u.emptyLanguageValue=a[l]:c===i?u.perfectLocaleLanguageValue=a[l]:c.substring(0,1)===i.substring(0,1)?u.localeLanguageValue=a[l]:-1!==c.indexOf("en")?u.defaultLanguageValue=a[l]:u.anyLanguageValue=a[l]}return u.perfectLocaleLanguageValue||u.localeLanguageValue||u.defaultLanguageValue||u.anyLanguageValue||u.firstValue}return a[0]}if(r){var f=xa(e,s,{});return f instanceof xo?(f.setLanguage(i),f):t(f,!0)}}},create:xa,constructTemplate:ba,findPopularChoice:Ta,match:ma,fuzzyMatch:va,matchPathBelowBinding:Sa,findBindingRelativeToParentBinding:Ea,CODES:ui};var Oa=function(t,e){var r=e;return null==r?r={errors:[],warnings:[],deprecated:[]}:(r.errors=r.errors||[],r.warnings=r.warnings||[],r.deprecated=r.deprecated||[]),ja(t,r,!0)},Aa=function(t){for(var e=0,r=0;r<t.length;r++)t[r].isValid()&&(e+=1);return e},Ca=function(t,e){t.length>0&&t[0].getCardinalityTracker().setCode(e)},Pa=function(t,e){if(e.hasStyle("deprecated"))return!0;var r=e.getDeps();if(r){var n=Ea(t,r);if(!Sa(n,r))return!0}return!1},ja=function t(e,r,n){if(e.getMatchingCode()===ui.OK){var i=e.getItem();if(!0===n||e.isValid()||null==i.getProperty()||i.hasStyle("atLeastOneChild")||i.hasStyle("exactlyOneChild")){var o=i.getChildren();if(i.hasStyle("disjoint")||i.hasStyle("atMostOneChild")||i.hasStyle("atLeastOneChild")||i.hasStyle("exactlyOneChild")){var a,s=e.getChildBindings(),u=Aa(s);u>1&&(i.hasStyle("disjoint")||i.hasStyle("atMostOneChild"))?a=ui.AT_MOST_ONE_CHILD:1!==u&&i.hasStyle("exactlyOneChild")?a=ui.EXACTLY_ONE_CHILD:0===u&&i.hasStyle("atLeastOneChild")&&(a=ui.AT_LEAST_ONE_CHILD),a&&(Ca([e],a),o.length>0&&r.errors.push({parentBinding:e,item:o[0],code:a}))}else e.getItemGroupedChildBindings().forEach((function(t,n){var i=o[n];if(!Pa(e,i)&&null!=i.getProperty()){var a=Aa(t),s=i.getCardinality();null!=s.min&&s.min>a?(r.errors.push({parentBinding:e,item:i,code:ui.TOO_FEW_VALUES_MIN}),Ca(t,ui.TOO_FEW_VALUES_MIN)):null!=s.pref&&s.pref>a&&r.warnings.push({parentBinding:e,item:i,code:ui.TOO_FEW_VALUES_PREF}),null!=s.max&&s.max<a&&(r.errors.push({parentBinding:e,item:i,code:ui.TOO_MANY_VALUES}),Ca(t,ui.TOO_MANY_VALUES))}}),void 0);e.getChildBindings().forEach((function(n){var i=n.getItem();n.getMatchingCode()!==ui.OK&&r.errors.push({parentBinding:n,item:i,code:n.getMatchingCode()}),i.hasStyle("deprecated")&&r.deprecated.push(n),Pa(e,i)||"group"===i.getType()&&t(n,r)}))}return r}},Ra=function(t,e){return t.find(null,"rdf:type",e).map((function(t){return t.getSubject()}))},Na=function(t,e,r){for(var n=t;;){var i=n.getChildrenRootUri?n.getChildrenRootUri():n.getParent().getChildrenRootUri();if(i===e)return!0;if(r[i])return!1;n=n.getParent()}},Ia=function(t,e){var r=t,n=[];for(null!=e.getProperty()&&r.getItem()!==e&&n.push(l(e.getProperty()));null!=r.getItem().getProperty()&&n.push(l(r.getItem().getProperty())),null!=r.getParent();)r=r.getParent();return n.reverse(),n.join(" > ")},Da=function(t){var e=t.errors,r=t.warnings,n=t.deprecated;t.errors=e.map((function(t){return{path:Ia(t.parentBinding,t.item),code:t.code}})),t.warnings=r.map((function(t){return{path:Ia(t.parentBinding,t.item),code:t.code}})),t.deprecated=n.map((function(t){return function(t){return"".concat(Ia(t.getParent(),t.getItem())," > ").concat(t.getValue())}(t)}))},La=function(t,e,r,n){var i=va(e,t,r),o=Oa(i);return function(t,e,r){var n=t.errors,i=t.warnings,o=t.deprecated;t.errors=n.filter((function(t){return Na(t.parentBinding,e,r)})),t.warnings=i.filter((function(t){return Na(t.parentBinding,e,r)})),t.deprecated=o.filter((function(t){return Na(t,e,r)}))}(o,t,n||{}),Da(o),o};const Ma={graphReport:function(t,e){var r,n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o={},a={},s={errors:0,warnings:0,deprecated:0,resources:[]};Object.keys(e).forEach((function(e){var r=Ra(t,e);o[e]=r,r.forEach((function(t){a[t]=!0}))})),Object.keys(o).forEach((function(i){r=e[i],o[i].forEach((function(e){(n=La(e,t,r,a)).uri=e,n.type=i,n.template=r.getId(),s.resources.push(n),s.errors+=n.errors.length,s.warnings+=n.warnings.length,s.deprecated+=n.deprecated.length}))}));var u=[];return i.forEach((function(t){0===o[t].length&&u.push(t)})),u.length>0&&(s.mandatoryError=u,s.errors+=u.length),s},bindingReport:Oa};function Fa(t){return(Fa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ba(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Va(n.key),n)}}function Va(t){var e=function(t,e){if("object"!=Fa(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Fa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Fa(e)?e:String(e)}var Ua=0;function Wa(t){return(Wa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ha(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ga(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ya(n.key),n)}}function Ya(t){var e=function(t,e){if("object"!=Wa(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Wa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Wa(e)?e:String(e)}function $a(t,e,r){return e=Xa(e),function(t,e){if(e&&("object"===Wa(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Xa(t).constructor):e.apply(t,r))}function qa(){return(qa="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=za(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function za(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Xa(t)););return t}function Xa(t){return(Xa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Qa(t,e){return(Qa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Za=function(t,e,r){if(0===r.length||e.hasStyle("invisible"))return!1;if(e.getProperty())return!t.filterItem(e);if("group"===e.getType()){var n=e.getChildren();return 0===n.length||!!r[0].getItemGroupedChildBindings().find((function(e,r){return Za(t,n[r],e)}))}return!0},Ja=function(t){function e(){return Ha(this,e),$a(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Qa(t,e)}(e,t),r=e,(n=[{key:"_handleParams",value:function(t){this.showLanguage=!1!==t.showLanguage,this.filterTranslations=!1!==t.filterTranslations,this.defaultLanguage=t.defaultLanguage,this.styleCls=t.styleCls||"rdformsPresenter",qa(Xa(e.prototype),"_handleParams",this).call(this,t)}},{key:"showNow",value:function(t,e){return Za(this,t,e)}},{key:"skipBinding",value:function(t){var e=t.getItem(),r="group"===e.getType();return!(!e.getProperty()&&r&&0===e.getChildren().length)&&r&&0===t.getChildBindings().length}},{key:"prepareBindings",value:function(t,e){return t.hasStyle("filterTranslations")||this.filterTranslations&&"LANGUAGE_LITERAL"===t.getNodetype()&&!t.hasStyle("viewAllTranslations")?ti.filterTranslations(e,Ln().locale(),this.defaultLanguage):e}},{key:"addLabel",value:function(t,e,r){r.hasStyle("noLabelInPresent")?ti.domClassToggle(t,"rdformsInvisibleGroup",!0):ti.renderPresenterLabel(t,e,r,this.context)}},{key:"addTable",value:function(t,e){return ti.addPresenterTable(t,e,{view:this})}},{key:"fillTable",value:function(t,e){return ti.fillPresenterTable(t,e,{view:this})}},{key:"preRenderView",value:function(){ti.prePresenterViewRenderer(this.domNode,this.binding,{view:this,topLevel:this.topLevel})}},{key:"addComponent",value:function(t,e){ti.renderPresenter(t,e,this.context)}},{key:"truncateAt",value:function(t,e){return"group"!==t.getType()&&e&&e.length>this.truncateLimit&&(this.truncate||t.hasStyle("truncate"))&&!t.hasStyle("noTruncate")?this.truncateLimit:-1}}])&&Ga(r.prototype,n),i&&Ga(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._viewId=Ua,Ua+=1,this.parentView=e.parentView,this.srcNodeRef=r,this.binding=e.binding||null,this.template=e.template||null,this.graph=e.graph||null,this.resource=e.resource||"",this.topLevel=!1!==e.topLevel,this.compact=!1!==e.compact,this.showDescription=!0===e.showDescription,this.styleCls=e.styleCls||"",this.truncateLimit=void 0!==e.truncateLimit?e.truncateLimit:10,this.truncate=void 0!==e.truncate&&e.truncate,Array.isArray(e.filterPredicates)?this.filterPredicates=e.filterPredicates.reduce((function(t,e){return t[e]=!0,t}),{}):"object"===Fa(e.filterPredicates)?this.filterPredicates=e.filterPredicates:"string"==typeof e.filterPredicates?this.filterPredicates=e.filterPredicates.split(",").reduce((function(t,e){return t[e]=!0,t}),{}):this.filterPredicates=null,this.restrictToItem=e.restrictToItem,this.fuzzy=!0===e.fuzzy,this.markOrigin=!1!==e.markOrigin,this._handleParams(e),this._labelIndex={},this.domNode=ti.createDomNode(r,this),ti.domClassToggle(this.domNode,"rdforms",!0),ti.domClassToggle(this.domNode,this.styleCls,!0),this.render()}var e,r,n;return e=t,(r=[{key:"getParentView",value:function(){return this.parentView}},{key:"getNamedGraphId",value:function(t){if(this.markOrigin){this.namedGraphs||(this.namedGraphs={},this.namedGraphCounter=65);var e=this.namedGraphs[t];return void 0===e&&(e=String.fromCharCode(this.namedGraphCounter),this.namedGraphs[t]=e,this.namedGraphCounter+=1),e}}},{key:"getNamedGraphFromId",value:function(t){var e=this;return this.namedGraphs?Object.keys(this.namedGraphs).find((function(r){return e.namedGraphs[r]===t})):void 0}},{key:"destroy",value:function(){ti.destroyDomNode(this.domNode,this)}},{key:"getBinding",value:function(){return this.binding}},{key:"_handleParams",value:function(t){if(t.binding)this.binding=t.binding;else{if(this.template=t.template||this.template,this.graph=t.graph||this.graph,this.resource=t.resource||this.resource,null==this.graph||null==this.resource||null==this.template)return;this.fuzzy?(this.binding=va(this.graph,this.resource,this.template),Oa(this.binding)):this.binding=ma(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(t){return"group"===t.getType()&&(t.hasStyle("table")||t.hasClass("rdformsTable"))}},{key:"show",value:function(t){this._handleParams(t),this.render()}},{key:"render",value:function(){if(ti.domText(this.domNode,""),null!=this.binding){var t=ti.getMessages();if(this.messages=t,null!=this.binding){var e,r,n,i,o,a=this.binding.getItem().getChildren(),s=this.binding.getItemGroupedChildBindings();for(this._binding2node={},!this.compact&&!this.binding.getItem().hasStyle("compact")||this.binding.getItem().hasStyle("nonCompact")?ti.domClassToggle(this.domNode,"compact",!1):ti.domClassToggle(this.domNode,"compact",!0),this.preRenderView(),e=0;e<s.length;e++)if(i=s[e],o=a[e],(!this.restrictToItem||this.restrictToItem===o)&&this.showNow(o,i)){if(i=this.prepareBindings(o,i),this.showAsTable(o))this.context={view:this},n=this.createRowNode(n,i[0],o),i.length>0&&(r=this.addTable(n,i[0],o),this.fillTable(r,i));else if(i.length>0)if(this.isMultiValued(o))this.context={view:this},n=this.addRow(n,i[0],!0);else{for(var u=this.truncateAt(o,i),l=0;l<i.length;l++)this.context={view:this},n=this.addRow(n,i[l],0===l||i[l]instanceof Si,l,u);if(-1!==u){var c=ti.domQuery(".rdformsFields",n);c&&ti.addTruncateControl(c,this.context)}}else this.context={view:this},n=this.createRowNode(n,null,o);i.length>0&&i[0].getCardinalityTracker().checkCardinality()}}}}},{key:"addRow",value:function(t,e,r,n,i){var o,a,s=r,u=e.getItem();if(!this.skipBinding(e)){if(null==s&&(s=e instanceof Si),!0===s){a=this.createRowNode(t,e,u);var l=ti.domCreate("div",a);ti.domClassToggle(l,"rdformsFields",!0),-1!==i&&ti.domClassToggle(l,"rdformsTruncated",!0),u.hasStyle("inline")&&ti.domClassToggle(l,"rdformsInline",!0),o=ti.domCreate("div",l),this.createEndOfRowNode(a,e,u)}else{var c=ti.domQuery(".rdformsFields",t);if(null!=c)o=ti.domCreate("div",c),ti.domClassToggle(o,"rdformsRepeatedValue",!0),-1!==i&&n>=i&&ti.domClassToggle(o,"rdformsMaybeTruncated",!0);else{var f=ti.domCreate("div",t);ti.domClassToggle(f,"rdformsFields",!0),u.hasStyle("inline")&&ti.domClassToggle(f,"rdformsInline",!0),o=ti.domCreate("div",f),this.createEndOfRowNode(a,e,u)}}if(this.markOrigin){var d=this.getNamedGraphId(e);d?(ti.domClassToggle(o,"rdformsOrigin",!0),ti.domClassToggle(o,"rdformsOrigin_".concat(d),!0)):(ti.domClassToggle(o,"rdformsOrigin",!0),ti.domClassToggle(o,"rdformsOrigin_default",!0))}return"group"===u.getType()?ti.domClassToggle(o,"rdformsGroup",!0):ti.domClassToggle(o,"rdformsField",!0),this._binding2node[e.getHash()]=o,this.addComponent(o,e),u.hasStyle("invisible")&&ti.domClassToggle(a||t,"rdformsInvisible",!0),a||t}}},{key:"createRowNode",value:function(t,e,r){var n;n=null==t?ti.domCreate("div",this.domNode,e?this.getRowIndex(e):void 0):ti.domCreateAfter("div",t,e?this.getRowIndex(e):void 0),r.getClasses().forEach((function(t){ti.domClassToggle(n,t,!0)})),ti.domClassToggle(n,"rdformsRow",!0),ti.domClassToggle(n,"rdformsTopLevel",this.topLevel),ti.domClassToggle(n,"rdformsInvisibleGroup",r.hasStyle("invisibleGroup")),ti.domClassToggle(n,"rdformsHeading",r.hasStyle("heading")),ti.domClassToggle(n,"notCompact","group"===r.getType()||r.hasStyle("nonCompact")),ti.domClassToggle(n,"rdformsCompactItem",r.hasStyle("compact")),this.addLabel(n,e,r),e&&this.filterBinding(e)&&ti.domClassToggle(n,"hiddenProperty",!0);var i=void 0!==this._subEditors;return(r.hasStyle("card")||r.hasStyle("cardInEdit")&&i||r.hasStyle("cardInPresent")&&!i)&&ti.domClassToggle(n,"rdformsCard",!0),n}},{key:"createEndOfRowNode",value:function(t,e,r){}},{key:"_getFilterPredicates",value:function(){return this.parentView?this.parentView._getFilterPredicates():this.filterPredicates}},{key:"filterBinding",value:function(t){return this.filterItem(t.getItem())}},{key:"filterItem",value:function(t){var e=this,r=this._getFilterPredicates();return!!r&&function t(r,n){var i=r.getId();if(i&&Object.keys(n).includes(i))return!0;var o=r.getProperty();if(o){for(var a=!0,s=e;s.parentView;)s.getBinding().getItem().getProperty()&&(a=!1),s=s.parentView;var l=u(o);return a?!0===n[o]||!0===n[l]||!0===n["*".concat(o)]||!0===n["".concat(l)]:!0===n["*".concat(o)]||!0===n["*".concat(l)]}if("group"===r.getType()){var c=r.getChildren()||[],f=!1;return c.forEach((function(e){t(e,n)||(f=!0)})),!f}return!1}(t,r)}},{key:"filterProperty",value:function(t){return!0===(this._getFilterPredicates()||{})[t]}},{key:"getLabelIndex",value:function(t){var e,r=this;return t.getParent().getChildBindingsFor(t.getItem()).reverse().find((function(t){return void 0!==(e=r._labelIndex[t.getHash()])})),void 0!==e?e:this.parentView?this.parentView.getLabelIndex(t.getParent()):""}},{key:"createLabelIndex",value:function(t){var e="".concat(t.getHash(),"_").concat(this._viewId,"_label");return this._labelIndex[t.getHash()]=e,e}},{key:"getRowIndex",value:function(t){return"".concat(t.getHash(),"_").concat(this._viewId,"_row")}},{key:"isMultiValued",value:function(t){return!1}},{key:"truncateAt",value:function(t,e){return-1}}])&&Ba(e.prototype,r),n&&Ba(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}());function Ka(t){return(Ka="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function es(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,rs(n.key),n)}}function rs(t){var e=function(t,e){if("object"!=Ka(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ka(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ka(e)?e:String(e)}function ns(t,e,r){return e=as(e),function(t,e){if(e&&("object"===Ka(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],as(t).constructor):e.apply(t,r))}function is(){return(is="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=os(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function os(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=as(t)););return t}function as(t){return(as=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ss(t,e){return(ss=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var us=function(t,e,r,n){if(e.hasStyle("presenterOnly"))return!1;if(e.hasStyle("deprecated")&&0===r.length)return!1;var i=e.getProperty();if(r.length>0){if(i)return!t.filterItem(e);if("group"!==e.getType())return!0;var o=e.getChildren();if(0===o.length)return!0;if(e.hasStyle("atLeastOneChild")||e.hasStyle("exactlyOneChild"))return!0;if(r[0].getItemGroupedChildBindings().find((function(e,r){return us(t,o[r],e,n)})))return!0;if(!i)return!1}var a=e.getCardinality();switch(n){case"mandatory":return a&&a.min>=1;case"recommended":return a&&(a.min>=1||a.pref>=1);default:return!0}},ls=function(t){function e(){return ts(this,e),ns(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ss(t,e)}(e,t),r=e,(n=[{key:"_handleParams",value:function(t){this._subEditors=this._subEditors||[],this.includeLevel=t.includeLevel||"recommended",this.hideAddress=!1!==t.hideAddress,t.styleCls=t.styleCls||"rdformsEditor",t.filterTranslations=void 0!==t.filterTranslations&&t.filterTranslations,is(as(e.prototype),"_handleParams",this).call(this,t)}},{key:"getSubEditorForBinding",value:function(t){return this._subEditors.find((function(e){return e.getBinding()===t}))}},{key:"report",value:function(t){var e=this,r=t||Oa(this.binding);Object.keys(this._binding2node).forEach((function(t){ti.domClassToggle(e._binding2node[t],"errorReport",!1)}));for(var n=function(){var t=r.errors[i];if(t.parentBinding===e.binding)if(t.code===ui.TOO_FEW_VALUES_MIN){var n=t.item,o=n.getCardinality().min;e.binding.getChildBindingsFor(n).find((function(t){return o-=1,t.isValid()||ti.domClassToggle(e._binding2node[t.getHash()],"errorReport",!0),0===o}))}else t.code===ui.AT_MOST_ONE_CHILD&&e.binding.getChildBindings().forEach((function(t){t.getMatchingCode()!==ui.OK&&ti.domClassToggle(e._binding2node[t.getHash()],"errorReport",!0)}))},i=0;i<r.errors.length;i++)n();for(var o=0;o<this._subEditors.length;o++)this._subEditors[o].report(r)}},{key:"getIncludeLevel",value:function(){return this.includeLevel}},{key:"setIncludeLevel",value:function(t){this.includeLevel!==t&&(this.includeLevel=t,null!=this.graph&&null!=this.resource&&null!=this.template&&(this.binding=ma(this.graph,this.resource,this.template),this._subEditors=[],this.render()))}},{key:"show",value:function(t){this._subEditors=[],is(as(e.prototype),"show",this).call(this,t)}},{key:"showNow",value:function(t,e){return us(this,t,e,this.includeLevel)}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(t,e){var r,n=e,i=t.getCardinality();if(r=i.pref>0?i.pref:i.min>0?i.min:"propertygroup"===t.getType()?1:"group"===t.getType()?(t.getProperty(),1):1,t.hasStyle("nonEditable")&&!t.hasStyle("autoInitDate")&&!t.hasStyle("autoUpdateDate")&&!t.hasStyle("autoUUID")&&!t.hasStyle("autoValue")&&!t.getValue())return n;if(r>n.length)for(n=n.concat([]);r>n.length;)n.push(xa(this.binding,t));return n}},{key:"addLabel",value:function(t,e,r){ti.renderEditorLabel(t,e,r,this.context)}},{key:"createEndOfRowNode",value:function(t,e,r){ti.renderEditorLabelScopeEnd(t,e,r,this.context)}},{key:"addTable",value:function(t,e){return e.getItem().hasStyle("nonEditable")?this.addComponent(t,e):ti.addEditorTable(t,e,{view:this})}},{key:"fillTable",value:function(t,e){ti.fillEditorTable(t,e,{view:this})}},{key:"preRenderView",value:function(){ti.preEditorViewRenderer(this.domNode,this.binding,{view:this,inEditor:!0,topLevel:this.topLevel,hideAddress:this.hideAddress})}},{key:"addComponent",value:function(t,e){this.context.inEditor=!0,e.getItem().hasStyle("nonEditable")?ti.renderPresenter(t,e,this.context):ti.renderEditor(t,e,this.context)}},{key:"createRowNode",value:function(t,r,n){if(null!=r||!n.hasStyle("nonEditable")){var i=is(as(e.prototype),"createRowNode",this).call(this,t,r,n);if("choice"===n.getType()&&void 0===n.getProperty()){var o=Ta(n,r.getParent());o&&r.setChoice(o)}var a=n.getDeps();if(a){var s=function(t){t?(ti.domClassToggle(i,"missingDepsWithValue",!1),ti.domClassToggle(i,"missingDeps",!1)):r.isValid()?ti.domClassToggle(i,"missingDepsWithValue",!0):ti.domClassToggle(i,"missingDeps",!0),r.getCardinalityTracker().setDepsOk(t)},u=Ea(r.getParent(),a);Sa(u,a)||s(!1),u.addListener((function t(){r.getParent()?s(Sa(u,a)):u.removeListener(t)}))}return this.filterBinding(r)&&ti.domClassToggle(i,"hiddenProperty",!0),n.hasStyle("deprecated")&&ti.domClassToggle(i,"rdformsDeprecated",!0),i}}},{key:"isMultiValued",value:function(t){return ti.multiValueSupport&&(t.hasStyle("horizontalCheckBoxes")||t.hasStyle("verticalCheckBoxes"))}},{key:"truncateAt",value:function(t,e){return-1}}])&&es(r.prototype,n),i&&es(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Ja);ti.renderPresenterLabel=function(t,e,r,n,i){var o=n.view instanceof ls&&r.getEditLabel()||r.getLabel();o=null!=o&&""!==o?o.charAt(0).toUpperCase()+o.slice(1):"";var a=r.hasStyle("heading")?ri()('<h2 class="rdformsLabel" tabindex="0">').text(o).appendTo(t):ri()('<div class="rdformsLabel" tabindex="0">').text(o).appendTo(t);e&&a.attr("id",n.view.createLabelIndex(e)),i&&a.addClass("rdformsLabelRow"),n&&(n.labelNode=a[0]);var s=n.view;if(r.hasStyle("showDescriptionInPresent")||s.showDescription){var u=r.hasStyle("compact")||s.compact&&!r.hasStyle("nonCompact")&&(s.topLevel&&"group"!==r.getType()||s.parentView&&s.parentView.topLevel&&s.binding.getItem().hasStyle("heading")),l=r.getDescription();!u&&l&&ri()('<div class="rdformsDescription" tabindex="0">').text(l).appendTo(t)}ti.attachItemInfo(r,a[0],n)},ti.attachItemInfo=function(t,e){if(null!=t&&null!=t.getDescription()){var r=t.getDescription();e.setAttribute("title",r)}};const cs=function(t){return function(e){return null==t?void 0:t[e]}}({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});const fs=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i};const ds=function(t){return"symbol"==typeof t||ze(t)&&"[object Symbol]"==te(t)};var hs=Yt?Yt.prototype:void 0,ps=hs?hs.toString:void 0;const gs=function t(e){if("string"==typeof e)return e;if(tr(e))return fs(e,t)+"";if(ds(e))return ps?ps.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r};const ys=function(t){return null==t?"":gs(t)};var ms=/[&<>"']/g,vs=RegExp(ms.source);const bs=function(t){return(t=ys(t))&&vs.test(t)?t.replace(ms,cs):t};var ws=function(t){switch(t){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}},_s=function(t){var e=t.getValue();if(null!=e&&""!==e){var r=t.getItem(),n=function(t){try{if(t.includes(":")&&!t.includes("T")){var e=(new Date).toISOString().substr(0,11),r=new Date("".concat(e).concat(t));return r.setMinutes(r.getMinutes()+r.getTimezoneOffset()),r}return new Date(t)}catch(t){return null}}(e);if(n){var i=function(t){return t.indexOf("T")>0?"DateTime":t.indexOf(":")>0?"Time":/^\d\d\d\d-\d\d$/.test(t)?"YearMonth":/^\d\d-\d\d$/.test(t)?"MonthDay":t.length>4?"Date":"Year"}(e),o=ws(t.getDatatype()),a=function(t){var e=t.getDatatype();return Array.isArray(e)?ws(e[0]):ws(e)}(r),s=function(t){var e={},r=t.getDatatype();return(Array.isArray(r)?r:[r]).forEach((function(t){var r=ws(t);r&&(e[r]=!0)})),e}(r);return function(t,e){switch(t){case"DateTime":return Ln()(e).format("lll");case"Date":return Ln()(e).format("LL");case"Time":return Ln()(e).format("LT");case"Year":return Ln()(e).format("YYYY");case"YearMonth":return Ln()(e).format("MMMM YYYY");case"MonthDay":return Ln()(e).format("D MMMM");default:return""}}(s[o]?o:s[i]?i:a,n)}}},xs=r(19755),Ss=ti.presenterRegistry;Ss.itemtype("text").nodetype("URI").register((function(t,e){var r=Bn.getLocalizedMap(e),n=xs('<a class="rdformsUrl">').attr("title",e.getValue()).attr("href",e.getValue()).appendTo(t);e.getItem().hasStyle("showValue")?n.text(e.getValue()):r?n.text(Bn.getLocalizedValue(r).value):n.text(e.getGist()),e.getItem().hasStyle("externalLink")?Un.attachExternalLinkBehaviour(n[0],e):Un.attachLinkBehaviour(n[0],e)})),Ss.itemtype("group").nodetype("URI").style("linkWithLabel").register((function(t,e,r){var n,i=e.getValue(),o=e.getItem().getChildren().find((function(t){return t.hasStyle("label")})),a=o?ti.filterTranslations(e.getChildBindingsFor(o),Ln().locale(),r.view.defaultLanguage):[],s=e.getItem().getChildren().find((function(t){return t.hasStyle("tooltip")})),u=s?ti.filterTranslations(e.getChildBindingsFor(s),Ln().locale(),r.view.defaultLanguage):[],l=u.length>0?u[0].getValue():i,c=xs('<a class="rdformsUrl">').attr("title",l).attr("href",i).appendTo(t);if(a.length>0)n=a[0].getValue();else{var f=Bn.getLocalizedMap(e);n=e.getItem().hasStyle("showValue")?i:f?Bn.getLocalizedValue(f).value||i:e.getGist()}c.text(n),e.getItem().hasStyle("externalLink")?Un.attachExternalLinkBehaviour(c[0],e):Un.attachLinkBehaviour(c[0],e)})),Ss.itemtype("text").nodetype("URI").style("image").register((function(t,e){xs('<img class="rdformsImage">').attr("src",e.getGist()).appendTo(t)})),Ss.itemtype("text").register((function(t,e,r){var n=e.getLanguage();r.view.showLanguage&&n&&xs('<div class="rdformsLanguage">').text(n).appendTo(t);var i=bs(e.getItem().hasStyle("showValue")?e.getValue():e.getGist()).replace(/(\r\n|\r|\n)/g,"\n"),o=e.getParent();if(e.getItem().hasStyle("label")&&!0!==r.view.topLevel&&null!=o&&o.getItem().getChildren()[0]===e.getItem()&&null!=o.getStatement()&&"uri"===o.getStatement().getType()){var a=xs('<a class="rdformsUrl">').attr("href",o.getStatement().getValue()).html(i).appendTo(t);n&&a.attr("lang",n),Un.attachLinkBehaviour(a[0],o)}else{var s=xs("<div>").html(i).appendTo(t);n&&s.attr("lang",n)}e.getItem().hasStyle("multiline")?xs(t).toggleClass("rdformsMultiline",!0):xs(t).toggleClass("rdformsSingleline",!0)})),Ss.itemtype("text").datatype("xsd:duration").register((function(t,e,r){var n=function(t){var e,r=function(t){return t&&t.length>1?parseInt(t[0],10):0},n=r(t.match(/([0-9])*Y/)),i=r(t.match(/([0-9])*D/)),o=r(t.match(/([0-9])*H/)),a=0;if(-1===t.indexOf("T"))e=r(t.match(/([0-9])*M/));else{var s=t.split("T");e=r(s[0].match(/([0-9])*M/)),a=r(s[1].match(/([0-9])*M/))}return{years:n,months:e,days:i,hours:o,minutes:a}}(e.getValue()),i=r.view.messages,o=xs("<div>").appendTo(t)[0];["years","months","days","hours","minutes"].forEach((function(t){n.hasOwnProperty(t)&&0!==n[t]&&xs('<span class="durationLabel">'.concat(i["duration_".concat(t)],':</span><span class="durationValue">').concat(n[t],"</span>")).appendTo(o)}))}));var Es=function(t,e){try{var r=_s(e);xs("<div>").html(r).appendTo(t)}catch(t){console.warn("Could not present date, expected ISO8601 format in the form 2001-01-01 \n (potentially with time given after a 'T' character as well) but found '".concat(e.getValue(),"' instead."))}};Ss.itemtype("text").datatype("xsd:dateTime").register(Es),Ss.itemtype("text").datatype("xsd:date").register(Es),Ss.itemtype("text").datatype("xsd:time").register(Es),Ss.itemtype("text").datatype("xsd:gYear").register(Es),Ss.itemtype("text").datatype("xsd:gYearMonth").register(Es),Ss.itemtype("text").datatype("xsd:gMonthDay").register(Es),Ss.itemtype("text").datatype("dcterms:W3CDTF").register(Es);var Ts=r(19755),ks=ti.presenterRegistry,Os=function(t){return function(e,r){var n,i=r.getChoice();i&&(i.description&&(n=Bn.getLocalizedValue(i.description).value),t(e,r,i,n))}};ks.itemtype("choice").style("image").register(Os((function(t,e,r,n){Ts('<img class="rdformsImage">').attr("src",r.value).attr("title",n||r.value).appendTo(t)}))),ks.itemtype("choice").style("stars").register(Os((function(t,e,r){isNaN(parseInt(r.value,10))||Ts('<span class="rdformsStar">').appendTo(t)}))),ks.itemtype("choice").register(Os((function(t,e,r,n){var i,o=e.getItem(),a=Bn.getLocalizedValue(r.label);o.hasStaticChoices()&&!o.hasStyle("externalLink")||o.hasStyle("noLink")?i=Ts("<div>").attr("title",n||r.seeAlso||r.value).text(Bn.getLocalizedValue(r.label).value).appendTo(t):(i=Ts('<a class="rdformsUrl">').attr("href",r.seeAlso||r.value).attr("title",n||r.seeAlso||r.value).text(a.value).appendTo(t),o.hasStyle("externalLink")?Un.attachExternalLinkBehaviour(i[0],e):Un.attachLinkBehaviour(i[0],e)),null!=r.load&&r.load((function(){var t=Bn.getLocalizedValue(r.label);i.text(t.value),t.lang?i.attr("lang",t.lang):i.attr("lang",void 0)})),a.lang&&i.attr("lang",a.lang)}))),ti.addPresenterTable=function(t,e,r){var n=e.getItem(),i=n.getChildren(),o=ri()("<table>").addClass("rdformsGroup").appendTo(t);ri()("<thead>").appendTo(o);for(var a=ri()("<tr>").appendTo(o),s=0;s<i.length;s++){var u=ri()("<th>").appendTo(a);ti.attachItemInfo(n,ri()("<span>").text(i[s].getLabel()).appendTo(u),r)}return o[0]},ti.fillPresenterTable=function(t,e,r){if(0!==e.length){var n,i,o,a,s=r.view.topLevel;for(r.view.topLevel=!1,n=0;n<e.length;n++)for(o=e[n].getItemGroupedChildBindings(),a=ri()("<tr>").appendTo(t),i=0;i<o.length;i++)o[i].length>0?ti.renderPresenter(ri()("<td>").appendTo(a),o[i][0],{view:r.view,noCardinalityButtons:!0}):ri()("<td>").appendTo(a);r.view.topLevel=s}};var As=function(t,e){var r=document.createElement(t);return e&&(r.id=e),r};ti.domQuery=function(t,e){return e.querySelector(t)},ti.domCreate=function(t,e,r){return e.appendChild(As(t,r))},ti.domCreateAfter=function(t,e,r){return e.parentNode.insertBefore(As(t,r),e.nextSibling)},ti.domSetAttr=function(t,e,r){""===r||null===r?t.removeAttribute(e):t.setAttribute(e,r)},ti.domText=function(t,e){t.innerText=e},ti.domClassToggle=function(t,e,r){e.split(" ").forEach((function(e){r?t.classList.add(e):t.classList.remove(e)}))},ti.prePresenterViewRenderer=ti.preEditorViewRenderer,ti.addTruncateControl=function(t,e){var r=e.view.messages,n=ti.domCreate("button",t);ti.domClassToggle(n,"rdformsShowMore",!0),n.innerText=r.showMore,n.onclick=function(){ti.domClassToggle(t,"rdformsTruncated",!1)};var i=ti.domCreate("button",t);ti.domClassToggle(i,"rdformsShowLess",!0),i.innerText=r.showLess,i.onclick=function(){ti.domClassToggle(t,"rdformsTruncated",!0)}};var Cs=r(93379),Ps=r.n(Cs),js=r(7795),Rs=r.n(js),Ns=r(90569),Is=r.n(Ns),Ds=r(3565),Ls=r.n(Ds),Ms=r(19216),Fs=r.n(Ms),Bs=r(44589),Vs=r.n(Bs),Us=r(40719),Ws={};Ws.styleTagTransform=Vs(),Ws.setAttributes=Ls(),Ws.insert=Is().bind(null,"head"),Ws.domAPI=Rs(),Ws.insertStyleElement=Fs();Ps()(Us.Z,Ws);Us.Z&&Us.Z.locals&&Us.Z.locals;var Hs="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==Hs&&Hs,Gs="URLSearchParams"in Hs,Ys="Symbol"in Hs&&"iterator"in Symbol,$s="FileReader"in Hs&&"Blob"in Hs&&function(){try{return new Blob,!0}catch(t){return!1}}(),qs="FormData"in Hs,zs="ArrayBuffer"in Hs;if(zs)var Xs=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Qs=ArrayBuffer.isView||function(t){return t&&Xs.indexOf(Object.prototype.toString.call(t))>-1};function Zs(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function Js(t){return"string"!=typeof t&&(t=String(t)),t}function Ks(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ys&&(e[Symbol.iterator]=function(){return e}),e}function tu(t){this.map={},t instanceof tu?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function eu(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function ru(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function nu(t){var e=new FileReader,r=ru(e);return e.readAsArrayBuffer(t),r}function iu(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function ou(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:$s&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:qs&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:Gs&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():zs&&$s&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=iu(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):zs&&(ArrayBuffer.prototype.isPrototypeOf(t)||Qs(t))?this._bodyArrayBuffer=iu(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Gs&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},$s&&(this.blob=function(){var t=eu(this);if(t)return t;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 t=eu(this);return t||(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(nu)}),this.text=function(){var t,e,r,n=eu(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=ru(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},qs&&(this.formData=function(){return this.text().then(uu)}),this.json=function(){return this.text().then(JSON.parse)},this}tu.prototype.append=function(t,e){t=Zs(t),e=Js(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},tu.prototype.delete=function(t){delete this.map[Zs(t)]},tu.prototype.get=function(t){return t=Zs(t),this.has(t)?this.map[t]:null},tu.prototype.has=function(t){return this.map.hasOwnProperty(Zs(t))},tu.prototype.set=function(t,e){this.map[Zs(t)]=Js(e)},tu.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},tu.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),Ks(t)},tu.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),Ks(t)},tu.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),Ks(t)},Ys&&(tu.prototype[Symbol.iterator]=tu.prototype.entries);var au=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function su(t,e){if(!(this instanceof su))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,i=(e=e||{}).body;if(t instanceof su){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new tu(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new tu(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),au.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function uu(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}})),e}function lu(t,e){if(!(this instanceof lu))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new tu(e.headers),this.url=e.url||"",this._initBody(t)}su.prototype.clone=function(){return new su(this,{body:this._bodyInit})},ou.call(su.prototype),ou.call(lu.prototype),lu.prototype.clone=function(){return new lu(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new tu(this.headers),url:this.url})},lu.error=function(){var t=new lu(null,{status:0,statusText:""});return t.type="error",t};var cu=[301,302,303,307,308];lu.redirect=function(t,e){if(-1===cu.indexOf(e))throw new RangeError("Invalid status code");return new lu(null,{status:e,headers:{location:t}})};var fu=Hs.DOMException;try{new fu}catch(t){(fu=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),fu.prototype.constructor=fu}function du(t,e){return new Promise((function(r,n){var i=new su(t,e);if(i.signal&&i.signal.aborted)return n(new fu("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}o.onload=function(){var t,e,n={status:o.status,statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",e=new tu,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();e.append(n,i)}})),e)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout((function(){r(new lu(i,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){n(new fu("Aborted","AbortError"))}),0)},o.open(i.method,function(t){try{return""===t&&Hs.location.href?Hs.location.href:t}catch(e){return t}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&($s?o.responseType="blob":zs&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!e||"object"!=typeof e.headers||e.headers instanceof tu?i.headers.forEach((function(t,e){o.setRequestHeader(e,t)})):Object.getOwnPropertyNames(e.headers).forEach((function(t){o.setRequestHeader(t,Js(e.headers[t]))})),i.signal&&(i.signal.addEventListener("abort",a),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",a)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}du.polyfill=!0,Hs.fetch||(Hs.fetch=du,Hs.Headers=tu,Hs.Request=su,Hs.Response=lu);r(19601);const hu=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const pu=function(t){return this.__data__.has(t)};function gu(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new Me;++e<r;)this.add(t[e])}gu.prototype.add=gu.prototype.push=hu,gu.prototype.has=pu;const yu=gu;const mu=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1};const vu=function(t,e){return t.has(e)};const bu=function(t,e,r,n,i,o){var a=1&r,s=t.length,u=e.length;if(s!=u&&!(a&&u>s))return!1;var l=o.get(t),c=o.get(e);if(l&&c)return l==e&&c==t;var f=-1,d=!0,h=2&r?new yu:void 0;for(o.set(t,e),o.set(e,t);++f<s;){var p=t[f],g=e[f];if(n)var y=a?n(g,p,f,e,t,o):n(p,g,f,t,e,o);if(void 0!==y){if(y)continue;d=!1;break}if(h){if(!mu(e,(function(t,e){if(!vu(h,e)&&(p===t||i(p,t,r,n,o)))return h.push(e)}))){d=!1;break}}else if(p!==g&&!i(p,g,r,n,o)){d=!1;break}}return o.delete(t),o.delete(e),d};const wu=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r};const _u=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r};var xu=Yt?Yt.prototype:void 0,Su=xu?xu.valueOf:void 0;const Eu=function(t,e,r,n,i,o,a){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new hn(t),new hn(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ct(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=wu;case"[object Set]":var u=1&n;if(s||(s=_u),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var c=bu(s(t),s(e),n,i,o,a);return a.delete(t),c;case"[object Symbol]":if(Su)return Su.call(t)==Su.call(e)}return!1};var Tu=Object.prototype.hasOwnProperty;const ku=function(t,e,r,n,i,o){var a=1&r,s=Zr(t),u=s.length;if(u!=Zr(e).length&&!a)return!1;for(var l=u;l--;){var c=s[l];if(!(a?c in e:Tu.call(e,c)))return!1}var f=o.get(t),d=o.get(e);if(f&&d)return f==e&&d==t;var h=!0;o.set(t,e),o.set(e,t);for(var p=a;++l<u;){var g=t[c=s[l]],y=e[c];if(n)var m=a?n(y,g,c,e,t,o):n(g,y,c,t,e,o);if(!(void 0===m?g===y||i(g,y,r,n,o):m)){h=!1;break}p||(p="constructor"==c)}if(h&&!p){var v=t.constructor,b=e.constructor;v==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(t),o.delete(e),h};var Ou=Object.prototype.hasOwnProperty;const Au=function(t,e,r,n,i,o){var a=tr(t),s=tr(e),u=a?"[object Array]":cn(t),l=s?"[object Array]":cn(e),c="[object Object]"==(u="[object Arguments]"==u?"[object Object]":u),f="[object Object]"==(l="[object Arguments]"==l?"[object Object]":l),d=u==l;if(d&&or(t)){if(!or(e))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new Ve),a||mr(t)?bu(t,e,r,n,i,o):Eu(t,e,u,r,n,i,o);if(!(1&r)){var h=c&&Ou.call(t,"__wrapped__"),p=f&&Ou.call(e,"__wrapped__");if(h||p){var g=h?t.value():t,y=p?e.value():e;return o||(o=new Ve),i(g,y,r,n,o)}}return!!d&&(o||(o=new Ve),ku(t,e,r,n,i,o))};const Cu=function t(e,r,n,i,o){return e===r||(null==e||null==r||!ze(e)&&!ze(r)?e!=e&&r!=r:Au(e,r,n,i,t,o))};const Pu=function(t,e){return Cu(t,e)};function ju(t){return(ju="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ru(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Nu(n.key),n)}}function Nu(t){var e=function(t,e){if("object"!=ju(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ju(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ju(e)?e:String(e)}var Iu=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._registry={}}var e,r,n;return e=t,(r=[{key:"importRegistry",value:function(t){Object.assign(this._registry,t)}},{key:"getChoices",value:function(t,e){var r=this._findChoices(t);if(null==r);else{if(null==e)return r;e(r)}}},{key:"_findChoices",value:function(t){var e=this._registry[t.getOntologyUrl()];if(null!=e)for(var r=0;r<e.length;r++){var n=e[r];if(Pu(n.constraints,t.getConstraints())&&t.getParentProperty()===n.parentProperty&&t.getHierarchyProperty()===n.hierarchyProperty&&t.isParentPropertyInverted()===(n.isParentPropertyInverted||!1)&&t.isHierarchyPropertyInverted()===(n.isHierarchyPropertyInverted||!1))return n.choices}}},{key:"_constructLoadUrl",value:function(t){var e=[];if(e.push("constr=".concat(encodeURIComponent(JSON.stringify(t.getConstraints())))),null!=t.getParentProperty()){var r=!0===t.isParentPropertyInverted()?"ipp=":"pp=";e.push(r+encodeURIComponent(t.getParentProperty()))}if(null!=t.getHierarchyProperty()){var n=!0===t.isHierarchyPropertyInverted()?"ihp=":"hp=";e.push(n+encodeURIComponent(t.getHierarchyProperty()))}return"".concat(t.getOntologyUrl(),"?").concat(e.join("&"))}}])&&Ru(e.prototype,r),n&&Ru(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Du(t){return(Du="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Lu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Mu(n.key),n)}}function Mu(t){var e=function(t,e){if("object"!=Du(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Du(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Du(e)?e:String(e)}var Fu=0,Bu=function(){function t(e){var r=e.itemStore,n=e.source,i=e.path,o=e.readOnly,a=void 0!==o&&o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._itemStore=r,this._source=n,this._path=i,this._readOnly=a,this._items=[],Fu+=1,this._id="_bundle_".concat(Fu),this._root=null,this._modified=!1}var e,r,n;return e=t,(r=[{key:"getInternalId",value:function(){return this._id}},{key:"getSource",value:function(){return this._source}},{key:"setRoot",value:function(t){return this._source.root=t,t}},{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(t){this._items.push(t)}},{key:"removeItem",value:function(t){this._items.splice(this._items.indexOf(t),1)}},{key:"isModified",value:function(){return this._modified}},{key:"setModified",value:function(t){this._modified=t}},{key:"isReadOnly",value:function(){return this._readOnly||null==this._path}}])&&Lu(e.prototype,r),n&&Lu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Vu(t){return(Vu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Uu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Wu(n.key),n)}}function Wu(t){var e=function(t,e){if("object"!=Vu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Vu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Vu(e)?e:String(e)}var Hu=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.automaticSortAllowed=!0,this.handleErrorAs="throw",this._bundles=[],this._registry={},this._registryByProperty={},this._ontologyStore=e||new Iu}var e,r,n;return e=t,(r=[{key:"getTemplate",value:function(t){return this.getItem(t)}},{key:"getChildren",value:function(t,e){if(null==t)return[];var r=t.getSource(!0),n=r.content||r.items||[];if(e)return this._createItems(n,t._forceChildrenClones,t.getBundle());var i=this.getItem(r.extends);return i?i.getChildren().concat(t.getChildren(!0)):t.getChildren(!0)}},{key:"getItem",value:function(t){if(null!=t)return this._registry[t]}},{key:"getItems",value:function(){var t=this;return Object.keys(this._registry).map((function(e){return t._registry[e]}))}},{key:"renameItem",value:function(t,e){if(this._registry[e])this._handleError("Cannot rename to ".concat(e," since an item with that id already exists."));else if(""!==e&&null!==e){var r=this._registry[t];r&&(delete this._registry[t],this._registry[e]=r,r.setId(e));for(var n=function r(n){var i=n.content;if(i)for(var o=0;o<i.length;o++){var a=i[o];a.id!==t&&a["@id"]!==t||(a.id=e,delete a["@id"]),a.content&&r(a)}},i=this.getItems(),o=0;o<i.length;o++){var a=i[o];a instanceof Fi&&n(a._source)}}else this._handleError("Cannot give an item an empty string or null as id.")}},{key:"getItemIds",value:function(){return Object.keys(this._registry)}},{key:"getItemByProperty",value:function(t){return this._registryByProperty[t]}},{key:"detectTemplate",value:function(t,e,r){return ba(t,e,this,r)}},{key:"registerBundle",value:function(t){t.itemStore=this;var e=new Bu(t);this._bundles.push(e),t.source&&t.source.namespaces&&f(t.source.namespaces);var r=t.source.templates||t.source.auxilliary;return r instanceof Array&&this._createItems(r,!1,e),"object"===Vu(t.source.cachedChoices)&&this._ontologyStore.importRegistry(t.source.cachedChoices),e}},{key:"getBundles",value:function(){return this._bundles}},{key:"createTemplate",value:function(t){return this.registerBundle({source:t}).getRoot()}},{key:"createTemplateFromChildren",value:function(t){var e=this,r=(t||[]).map((function(t){return"string"==typeof t?e.getItem(t):t}));return new Fi({source:{},children:r,itemStore:this})}},{key:"setPriorities",value:function(t){this.priorities=t}},{key:"createExtendedSource",value:function(t,e){var r=Object.assign(Object.assign({},t),e);return r._extendedSource=e,r.extends=null,delete r.children,r}},{key:"createItem",value:function(t,e,r,n){var i,o=t.id||t["@id"],a=t.type||t["@type"];if(t.extends){var s=this._registry[t.extends];if(null==s&&this._handleError("Cannot find item to extend with id: ".concat(t.extends)),s){var u=this.createExtendedSource(s.getSource(),t);return this.createItem(u,!1,!1,n)}}if(null!=a){switch(a){case"text":i=new ro({source:t,itemStore:this,bundle:n});break;case"choice":i=new ho({source:t,itemStore:this,ontologyStore:this._ontologyStore,bundle:n});break;case"group":i=new Fi({source:t,children:null,itemStore:this,bundle:n});break;case"propertygroup":i=new zi({source:t,children:null,itemStore:this,bundle:n})}return!0!==r&&(null!=t.property&&(this._registryByProperty[t.property]=i,this.priorities&&null!=this.priorities[t.property]&&(i.priority=this.priorities[t.property])),null!=o&&null==this._registry[o]&&(this._registry[o]=i,null!=n&&n.addItem(i))),i}if(null!=o){if(null!=this._registry[o]){if(!0===e||Object.keys(t).find((function(t){return"id"!==t&&"@id"!==t}))){var l=Object.assign(Object.assign({},this._registry[o]._source),t);return this.createItem(l,!1,!0)}return this._registry[o]}this._handleError("Cannot find referenced subitem using identifier: ".concat(o))}else this._handleError("Cannot create subitem, `type` for creating new or `id` for referencing external are required.")}},{key:"removeItem",value:function(t,e){var r=t.getBundle();null!=r&&r.removeItem(t),null!=t.getId()&&delete this._registry[t.getId()];var n=t.getProperty();null!=n&&this._registryByProperty[n]===t&&delete this._registryByProperty[n]}},{key:"_createItems",value:function(t,e,r){var n=this;return t.map((function(i,o){var a="string"==typeof i?t[o]={id:i}:i;return n.createItem(a,e,!1,r)})).filter((function(t){return t}))}},{key:"_handleError",value:function(t){if("throw"===this.handleErrorAs)throw new Error(t);console[this.handleErrorAs](t)}}])&&Uu(e.prototype,r),n&&Uu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();r(88674),r(72443),r(39341),r(73706),r(10408);function Gu(t){return(Gu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Yu(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Yu=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,a=Object.create(o.prototype),s=new C(n||[]);return i(a,"_invoke",{value:T(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=c;var d="suspendedStart",h="executing",p="completed",g={};function y(){}function m(){}function v(){}var b={};l(b,a,(function(){return this}));var w=Object.getPrototypeOf,_=w&&w(w(P([])));_&&_!==r&&n.call(_,a)&&(b=_);var x=v.prototype=y.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,o,a,s){var u=f(t[i],t,o);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==Gu(c)&&n.call(c,"__await")?e.resolve(c.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(c).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var o;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return o=o?o.then(i,i):i()}})}function T(e,r,n){var i=d;return function(o,a){if(i===h)throw new Error("Generator is already running");if(i===p){if("throw"===o)throw a;return{value:t,done:!0}}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var u=k(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var l=f(e,r,n);if("normal"===l.type){if(i=n.done?p:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}function k(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=f(i,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(Gu(e)+" is not iterable")}return m.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:m,configurable:!0}),m.displayName=l(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,l(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},S(E.prototype),l(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new E(c(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(x),l(x,u,"Generator"),l(x,a,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;A(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function $u(t,e,r,n,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function qu(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){$u(o,n,i,a,s,"next",t)}function s(t){$u(o,n,i,a,s,"throw",t)}a(void 0)}))}}var zu=function(t,e,r){var n="Fetching template bundle ".concat(r," failed.");if(t===e-1)throw Error("".concat(n," Cannot recover from this, please fix."));console.log("".concat(n," Will try to fetch from a fallback option."))},Xu=function(){var t=qu(Yu().mark((function t(e){var r,n,i,o,a;return Yu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.length,o=0;case 2:if(!(o<r)){t.next=34;break}return t.prev=3,t.next=6,fetch(e[o]);case 6:n=t.sent,t.next=12;break;case 9:throw t.prev=9,t.t0=t.catch(3),Error("A network error ocurred while trying to fetch bundle ".concat(e[o]));case 12:if(!n||!n.ok){t.next=30;break}if(t.prev=13,!(a=n.headers.has("content-type")&&n.headers.get("content-type"))||!a.includes("application/json")){t.next=22;break}return t.next=18,n.json();case 18:return i=t.sent,t.abrupt("break",34);case 22:throw new Error("Failed fetching template ".concat(e[o],". Expected a JSON file and got ").concat(a));case 23:t.next=28;break;case 25:t.prev=25,t.t1=t.catch(13),zu(o,r,e[o]);case 28:t.next=31;break;case 30:zu(o,r,e[o]);case 31:o++,t.next=2;break;case 34:return t.abrupt("return",i);case 35:case"end":return t.stop()}}),t,null,[[3,9],[13,25]])})));return function(e){return t.apply(this,arguments)}}(),Qu=function(t){return t.map((function(t){return t instanceof Array?Xu(t):Promise.resolve(t)}))},Zu=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.map((function(e){return t.registerBundle({source:e})}))};const Ju=function(){var t=qu(Yu().mark((function t(e){var r,n,i,o,a,s=arguments;return Yu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:[],n=s.length>2&&void 0!==s[2]?s[2]:function(){},0===r.length&&n&&n([]),i=Qu(r),t.next=6,Promise.all(i);case 6:return o=t.sent,a=Zu(e,o),n(a),t.abrupt("return",a);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()})(),n})());