(("undefined"!==typeofself?self:this)["webpackChunkharvester_1_10_0_rc2"]=("undefined"!==typeofself?self:this)["webpackChunkharvester_1_10_0_rc2"]||[]).push([[374],{24959:function(e,t,a){"use strict";a.d(t,{H:function(){returnd},X:function(){returni}});varl=a(9274),o=a(53197),s=a(71274);constr=()=>{};functionn(e,t,a){returnl=>{consto=t.find(e=>e.path===l);if(!o)return[];constn=o.translationKey?e(o.translationKey):"Value",i={...(0,s.A)(e,{key:n}),...a};returno.rules.map(e=>{constt=i[e];returnt||r})}}functioni(e,t,a={}){const{errors:s,validate:r}=(0,o.mN)(),i=(0,l.ref)(!1);(0,l.provide)("vee-show-all-errors",i);constd=n(e,t,a),c=(0,l.computed)(()=>0===Object.keys(s.value).length),u=async(...e)=>{constt=awaitr(...e);returni.value=!0,t};return{getRules:d,isFormValid:c,validateForm:u,veeErrors:s,showAllErrors:i}}functiond(e,t,a={}){return{getRules:n(e,t,a)}}},53338:function(e,t,a){"use strict";a.r(t);varl=a(81073),o=a(42629);describe("component: Loki",()=>{it("should display URL placeholder",()=>{conste=(0,l.Ky)(o["default"],{props:{mode:"edit",namespace:"whatever"}}),t="https://127.0.0.1:8000",a=e.find('[data-testid="loki-url"]').attributes("placeholder");expect(a).toBe(t)})})},72688:function(e,t,a){"use strict";varl=a(81073),o=a(99726),s=a(4364);constr=e=>e.$options&&"function"===typeofe.$options.fetch&&!e.$options.fetch.length,n=(e,t,a)=>{e.$options[t]?Array.isArray(e.$options[t])||"function"!==typeofe.$options[t]||(e.$options[t]=[e.$options[t]]):e.$options[t]=[],Array.isArray(e.$options[t])&&!e.$options[t].includes(a)&&e.$options[t].push(a)};vari={beforeCreate(){r(this)&&(this._fetchDelay="number"===typeofthis.$options.fetchDelay?this.$options.fetchDelay:200,this.$fetch=c.bind(this),n(this,"beforeMount",d))},data(){return{state:{pending:!1,error:null,timestamp:Date.now()}}},computed:{$fetchState(){returnthis.state}}};functiond(){if(!this._hydrated)returnthis.$fetch()}functionc(e=!0){returne?(this._fetchPromise||(this._fetchPromise=u.call(this).then(()=>{deletethis._fetchPromise})),this._fetchPromise):u.call(this)}asyncfunctionu(){this.state.pending=!0,this.state.error=null,this._hydrated=!1;lete=null;constt=Date.now();try{awaitthis.$options.fetch.call(this)}catch(l){s.error("Error in fetch():",l),e=(0,o.cQ)(l)}consta=this._fetchDelay-(Date.now()-t);a>0&&awaitnewPromise(e=>setTimeout(e,a)),this.state.error=e,this.state.pending=!1,this.state.timestamp=Date.now()}varp=a(884);constm=["us-east-1","eu-west-1"],v=e=>(0,l.Ky)(p["default"],{props:{mode:"edit",namespace:"whatever",value:e},global:{mixins:[i],mocks:{$store:{dispatch:e=>{if("aws/defaultRegions"!==e)thrownewError(`unexpected dispatch: ${e}`);returnPromise.resolve([...m])}}}}});describe("component: S3",()=>{it("should display a region select showing the configured s3_region",()=>{conste={s3_region:"us-east-1"},t=v(e),a=t.find('[data-testid="s3-region"]');expect(a.exists()).toBe(!0),expect(a.attributes("value")).toBe(e.s3_region)}),it("should write the region select back to s3_region",async()=>{conste={},t=v(e),a=t.findComponent('[data-testid="s3-region"]');awaita.vm.$emit("update:value","eu-west-1"),expect(e).toStrictEqual({s3_region:"eu-west-1"})}),it("should populate the region select with the known AWS regions",async()=>{conste=v({});awaite.vm.$nextTick();constt=e.findComponent('[data-testid="s3-region"]');expect(t.props("options")).toStrictEqual(m)}),it("should keep an existing region that is not a known AWS region as an option",async()=>{conste=v({s3_region:"minio-local"});awaite.vm.$nextTick();constt=e.findComponent('[data-testid="s3-region"]');expect(t.props("options")).toStrictEqual(["minio-local",...m])})})},93498:function(e,t,a){"use strict";a.r(t);varl=a(81073),o=a(65359),s=a(14220),r=a(64814);constn={query:{}},i=()=>{conste=(0,o.y$)({getters:{"i18n/t":()=>jest.fn()}});return{global:{plugins:[e],mocks:{$route:n,$fetchState:{}}}}},d={known_hosts:"S05PV05fSE9TVFM=","ssh-privatekey":"dGVzdDE=","ssh-publickey":"dGVzdDE="};describe.each([s.YQ,s.G5,s.nW])("component: Ssh.vue",e=>{it(`mode: ${e}, should show input fields`,()=>{constt=(0,l.Or)(r["default"],{...i(),props:{value:{name:"foo",decodedData:d,supportsSshKnownHosts:!0},mode:e}}),a=t.find('[data-testid="ssh-public-key"]').element,o=t.find('[data-testid="ssh-private-key"]').element,s=t.find('[data-testid="ssh-known-hosts"]').element;expect(a.value).toBe("dGVzdDE="),expect(o.value).toBe("dGVzdDE="),expect(s.value).toBe("S05PV05fSE9TVFM=")}),it.each([["show",!0],["hide",!1]])(`mode: ${e}, should %p known_hosts`,(e,t)=>{consta=(0,l.Or)(r["default"],{...i(),props:{value:{name:"foo",decodedData:d,supportsSshKnownHosts:t},mode:s.G5}}),o=a.find('[data-testid="ssh-known-hosts"]');expect(o.exists()).toBe(t)})})},85992:function(e,t,a){"use strict";a.d(t,{A:function(){returnS}});varl=a(9274);consto={class:"row"},s={key:0,class:"col span-12"},r={class:"helper-text mb-10"},n={class:"row mb-20"},i={class:"col span-6"},d={class:"col span-6"},c={clLine truncated
(("undefined"!==typeofself?self:this)["webpackChunkharvester_1_10_0_rc2"]=("undefined"!==typeofself?self:this)["webpackChunkharvester_1_10_0_rc2"]||[]).push([[374],{24959:function(e,t,a){"use strict";a.d(t,{H:function(){returnd},X:function(){returni}});varl=a(9274),o=a(53197),s=a(71274);constr=()=>{};functionn(e,t,a){returnl=>{consto=t.find(e=>e.path===l);if(!o)return[];constn=o.translationKey?e(o.translationKey):"Value",i={...(0,s.A)(e,{key:n}),...a};returno.rules.map(e=>{constt=i[e];returnt||r})}}functioni(e,t,a={}){const{errors:s,validate:r}=(0,o.mN)(),i=(0,l.ref)(!1);(0,l.provide)("vee-show-all-errors",i);constd=n(e,t,a),c=(0,l.computed)(()=>0===Object.keys(s.value).length),u=async(...e)=>{constt=awaitr(...e);returni.value=!0,t};return{getRules:d,isFormValid:c,validateForm:u,veeErrors:s,showAllErrors:i}}functiond(e,t,a={}){return{getRules:n(e,t,a)}}},53338:function(e,t,a){"use strict";a.r(t);varl=a(81073),o=a(42629);describe("component: Loki",()=>{it("should display URL placeholder",()=>{conste=(0,l.Ky)(o["default"],{props:{mode:"edit",namespace:"whatever"}}),t="https://127.0.0.1:8000",a=e.find('[data-testid="loki-url"]').attributes("placeholder");expect(a).toBe(t)})})},72688:function(e,t,a){"use strict";varl=a(81073),o=a(99726),s=a(4364);constr=e=>e.$options&&"function"===typeofe.$options.fetch&&!e.$options.fetch.length,n=(e,t,a)=>{e.$options[t]?Array.isArray(e.$options[t])||"function"!==typeofe.$options[t]||(e.$options[t]=[e.$options[t]]):e.$options[t]=[],Array.isArray(e.$options[t])&&!e.$options[t].includes(a)&&e.$options[t].push(a)};vari={beforeCreate(){r(this)&&(this._fetchDelay="number"===typeofthis.$options.fetchDelay?this.$options.fetchDelay:200,this.$fetch=c.bind(this),n(this,"beforeMount",d))},data(){return{state:{pending:!1,error:null,timestamp:Date.now()}}},computed:{$fetchState(){returnthis.state}}};functiond(){if(!this._hydrated)returnthis.$fetch()}functionc(e=!0){returne?(this._fetchPromise||(this._fetchPromise=u.call(this).then(()=>{deletethis._fetchPromise})),this._fetchPromise):u.call(this)}asyncfunctionu(){this.state.pending=!0,this.state.error=null,this._hydrated=!1;lete=null;constt=Date.now();try{awaitthis.$options.fetch.call(this)}catch(l){s.error("Error in fetch():",l),e=(0,o.cQ)(l)}consta=this._fetchDelay-(Date.now()-t);a>0&&awaitnewPromise(e=>setTimeout(e,a)),this.state.error=e,this.state.pending=!1,this.state.timestamp=Date.now()}varp=a(884);constm=["us-east-1","eu-west-1"],v=e=>(0,l.Ky)(p["default"],{props:{mode:"edit",namespace:"whatever",value:e},global:{mixins:[i],mocks:{$store:{dispatch:e=>{if("aws/defaultRegions"!==e)thrownewError(`unexpected dispatch: ${e}`);returnPromise.resolve([...m])}}}}});describe("component: S3",()=>{it("should display a region select showing the configured s3_region",()=>{conste={s3_region:"us-east-1"},t=v(e),a=t.find('[data-testid="s3-region"]');expect(a.exists()).toBe(!0),expect(a.attributes("value")).toBe(e.s3_region)}),it("should write the region select back to s3_region",async()=>{conste={},t=v(e),a=t.findComponent('[data-testid="s3-region"]');awaita.vm.$emit("update:value","eu-west-1"),expect(e).toStrictEqual({s3_region:"eu-west-1"})}),it("should populate the region select with the known AWS regions",async()=>{conste=v({});awaite.vm.$nextTick();constt=e.findComponent('[data-testid="s3-region"]');expect(t.props("options")).toStrictEqual(m)}),it("should keep an existing region that is not a known AWS region as an option",async()=>{conste=v({s3_region:"minio-local"});awaite.vm.$nextTick();constt=e.findComponent('[data-testid="s3-region"]');expect(t.props("options")).toStrictEqual(["minio-local",...m])})})},93498:function(e,t,a){"use strict";a.r(t);varl=a(81073),o=a(65359),s=a(14220),r=a(64814);constn={query:{}},i=()=>{conste=(0,o.y$)({getters:{"i18n/t":()=>jest.fn()}});return{global:{plugins:[e],mocks:{$route:n,$fetchState:{}}}}},d={known_hosts:"S05PV05fSE9TVFM=","ssh-privatekey":"dGVzdDE=","ssh-publickey":"dGVzdDE="};describe.each([s.YQ,s.G5,s.nW])("component: Ssh.vue",e=>{it(`mode: ${e}, should show input fields`,()=>{constt=(0,l.Or)(r["default"],{...i(),props:{value:{name:"foo",decodedData:d,supportsSshKnownHosts:!0},mode:e}}),a=t.find('[data-testid="ssh-public-key"]').element,o=t.find('[data-testid="ssh-private-key"]').element,s=t.find('[data-testid="ssh-known-hosts"]').element;expect(a.value).toBe("dGVzdDE="),expect(o.value).toBe("dGVzdDE="),expect(s.value).toBe("S05PV05fSE9TVFM=")}),it.each([["show",!0],["hide",!1]])(`mode: ${e}, should %p known_hosts`,(e,t)=>{consta=(0,l.Or)(r["default"],{...i(),props:{value:{name:"foo",decodedData:d,supportsSshKnownHosts:t},mode:s.G5}}),o=a.find('[data-testid="ssh-known-hosts"]');expect(o.exists()).toBe(t)})})},85992:function(e,t,a){"use strict";a.d(t,{A:function(){returnS}});varl=a(9274);consto={class:"row"},s={key:0,class:"col span-12"},r={class:"helper-text mb-10"},n={class:"row mb-20"},i={class:"col span-6"},d={class:"col span-6"},c={clLine truncated
function$(e,t){(null==t||t>e.length)&&(t=e.length);for(varn=0,r=Array(t);n<t;n++)r[n]=e[n];returnr}functionV(e){if(Array.isArray(e))return$(e)}functionF(e,t,n){return(t=z(t))ine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionj(e){if("undefined"!=typeofSymbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])returnArray.from(e)}functionU(){thrownewTypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}functionG(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}returnn}functionH(e){for(vart=1;t<arguments.length;t++){varn=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach(function(t){F(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}returne}functionq(e){returnV(e)||j(e)||K(e)||U()}functionQ(e,t){if("object"!=typeofe||!e)returne;varn=e[Symbol.toPrimitive];if(void0!==n){varr=n.call(e,t);if("object"!=typeofr)returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}functionz(e){vart=Q(e,"string");return"symbol"==typeoft?t:t+""}functionK(e,t){if(e){if("string"==typeofe)return$(e,t);varn={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$(e,t):void0}}varW={activateTrap:function(e,t){if(e.length>0){varn=e[e.length-1];n!==t&&n._setPausedState(!0)}varr=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},deactivateTrap:function(e,t){varn=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)}},X=function(e){returne.tagName&&"input"===e.tagName.toLowerCase()&&"function"===typeofe.select},Y=function(e){return"Escape"===(null===e||void0===e?void0:e.key)||"Esc"===(null===e||void0===e?void0:e.key)||27===(null===e||void0===e?void0:e.keyCode)},Z=function(e){return"Tab"===(null===e||void0===e?void0:e.key)||9===(null===e||void0===e?void0:e.keyCode)},J=function(e){returnZ(e)&&!e.shiftKey},ee=function(e){returnZ(e)&&e.shiftKey},te=function(e){returnsetTimeout(e,0)},ne=function(e){for(vart=arguments.length,n=newArray(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"===typeofe?e.apply(void0,n):e},re=function(e){returne.target.shadowRoot&&"function"===typeofe.composedPath?e.composedPath()[0]:e.target},ie=[],oe=function(e,t){varn,r=(null===t||void0===t?void0:t.document)||document,i=(null===t||void0===t?void0:t.trapStack)||ie,o=H({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:J,isKeyBackward:ee},t),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void0,recentNavEvent:void0},s=function(e,t,n){returne&&void0!==e[t]?e[t]:o[n||t]},l=function(e,t){varn="function"===typeof(null===t||void0===t?void0:t.composedPath)?t.composedPath():void0;returna.containerGroups.findIndex(function(t){varr=t.container,i=t.tabbableNodes;returnr.contains(e)||(null===n||void0===n?void0:n.includes(r))||i.find(function(t){returnt===e})})},c=function(e){vart=arguments.length>1&&void0!==arguments[1]?arguments[1]:{},n=t.hasFallback,i=void0!==n&&n,a=t.params,s=void0===a?[]:a,l=o[e];if("function"===typeofl&&(l=l.apply(void0,q(s))),!0===l&&(l=void0),!l){if(void0===l||!1===l)returnl;thrownewError("`".concat(e,"` was specified but was not a node, or did not return a node"))}varc=l;if("string"===typeofl){try{c=r.querySelector(l)}catch(u){thrownewError("`".concat(e,'` appears to be an invalid selector; error="').concat(u.message,'"'))}if(!c&&!i)thrownewError("`".concat(e,"` as selector refers to no known node"))}returnc},u=function(){vare=c("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void0===e||e&&!B(e,o.tabbableOptions))if(l(r.activeElement)>=0)e=r.activeElement;else{vart=a.tabbableGroups[0],n=t&&t.firstTabbableNode;e=n||c("fallbackFocus")}elsenull===e&&(e=c("fallbackFocus"));if(!e)thrownewError("Your focus-trap needs to have at least one focusable element");returne},d=function(){if(a.containerGroups=a.containers.map(function(e){vart=I(e,o.tabbableOptions),n=M(e,o.tabbableOptions),r=t.length>0?t[0]:void0,i=t.length>0?t[t.length-1]:void0,a=n.find(function(e){returnD(e)}),s=n.slice().reverse().find(function(e){returnD(e)}),l=!!t.find(function(e){returnm(e)>0});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:r,lastTabbableNode:i,firstDomTabbLine truncated
function$(e,t){(null==t||t>e.length)&&(t=e.length);for(varn=0,r=Array(t);n<t;n++)r[n]=e[n];returnr}functionV(e){if(Array.isArray(e))return$(e)}functionF(e,t,n){return(t=z(t))ine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functionj(e){if("undefined"!=typeofSymbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])returnArray.from(e)}functionU(){thrownewTypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}functionG(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}returnn}functionH(e){for(vart=1;t<arguments.length;t++){varn=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach(function(t){F(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}returne}functionq(e){returnV(e)||j(e)||K(e)||U()}functionQ(e,t){if("object"!=typeofe||!e)returne;varn=e[Symbol.toPrimitive];if(void0!==n){varr=n.call(e,t);if("object"!=typeofr)returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}functionz(e){vart=Q(e,"string");return"symbol"==typeoft?t:t+""}functionK(e,t){if(e){if("string"==typeofe)return$(e,t);varn={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$(e,t):void0}}varW={activateTrap:function(e,t){if(e.length>0){varn=e[e.length-1];n!==t&&n._setPausedState(!0)}varr=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},deactivateTrap:function(e,t){varn=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)}},X=function(e){returne.tagName&&"input"===e.tagName.toLowerCase()&&"function"===typeofe.select},Y=function(e){return"Escape"===(null===e||void0===e?void0:e.key)||"Esc"===(null===e||void0===e?void0:e.key)||27===(null===e||void0===e?void0:e.keyCode)},Z=function(e){return"Tab"===(null===e||void0===e?void0:e.key)||9===(null===e||void0===e?void0:e.keyCode)},J=function(e){returnZ(e)&&!e.shiftKey},ee=function(e){returnZ(e)&&e.shiftKey},te=function(e){returnsetTimeout(e,0)},ne=function(e){for(vart=arguments.length,n=newArray(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"===typeofe?e.apply(void0,n):e},re=function(e){returne.target.shadowRoot&&"function"===typeofe.composedPath?e.composedPath()[0]:e.target},ie=[],ae=function(e,t){varn,r=(null===t||void0===t?void0:t.document)||document,i=(null===t||void0===t?void0:t.trapStack)||ie,a=H({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:J,isKeyBackward:ee},t),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void0,recentNavEvent:void0},s=function(e,t,n){returne&&void0!==e[t]?e[t]:a[n||t]},l=function(e,t){varn="function"===typeof(null===t||void0===t?void0:t.composedPath)?t.composedPath():void0;returno.containerGroups.findIndex(function(t){varr=t.container,i=t.tabbableNodes;returnr.contains(e)||(null===n||void0===n?void0:n.includes(r))||i.find(function(t){returnt===e})})},c=function(e){vart=arguments.length>1&&void0!==arguments[1]?arguments[1]:{},n=t.hasFallback,i=void0!==n&&n,o=t.params,s=void0===o?[]:o,l=a[e];if("function"===typeofl&&(l=l.apply(void0,q(s))),!0===l&&(l=void0),!l){if(void0===l||!1===l)returnl;thrownewError("`".concat(e,"` was specified but was not a node, or did not return a node"))}varc=l;if("string"===typeofl){try{c=r.querySelector(l)}catch(u){thrownewError("`".concat(e,'` appears to be an invalid selector; error="').concat(u.message,'"'))}if(!c&&!i)thrownewError("`".concat(e,"` as selector refers to no known node"))}returnc},u=function(){vare=c("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void0===e||e&&!B(e,a.tabbableOptions))if(l(r.activeElement)>=0)e=r.activeElement;else{vart=o.tabbableGroups[0],n=t&&t.firstTabbableNode;e=n||c("fallbackFocus")}elsenull===e&&(e=c("fallbackFocus"));if(!e)thrownewError("Your focus-trap needs to have at least one focusable element");returne},d=function(){if(o.containerGroups=o.containers.map(function(e){vart=I(e,a.tabbableOptions),n=M(e,a.tabbableOptions),r=t.length>0?t[0]:void0,i=t.length>0?t[t.length-1]:void0,o=n.find(function(e){returnD(e)}),s=n.slice().reverse().find(function(e){returnD(e)}),l=!!t.find(function(e){returnm(e)>0});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:r,lastTabbableNode:i,firstDomTabbLine truncated
/**
*Ahandyclasstocalculatecolorvalues.
*
@@ -26,32 +26,32 @@ function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
*/
varc,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d="=";functionh(e){vart,n,r="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),r+=u.charAt(n>>6)+u.charAt(63&n);if(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),r+=u.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),r+=u.charAt(n>>2)+u.charAt((3&n)<<4)),d)while((3&r.length)>0)r+=d;returnr}functionp(e){vart,n,r,i="",o=0;for(t=0;t<e.length;++t){if(e.charAt(t)==d)break;r=u.indexOf(e.charAt(t)),r<0||(0==o?(i+=C(r>>2),n=3&r,o=1):1==o?(i+=C(n<<2|r>>4),n=15&r,o=2):2==o?(i+=C(n),i+=C(r>>2),n=3&r,o=3):(i+=C(n<<2|r>>4),i+=C(15&r),o=0))}return1==o&&(i+=C(n<<2)),i}functionf(e){vart,n=p(e),r=newArray;for(t=0;2*t<n.length;++t)r[t]=parseInt(n.substring(2*t,2*t+2),16);returnr}varm=0xdeadbeefcafe,g=15715070==(16777215&m);functionv(e,t,n){null!=e&&("number"==typeofe?this.fromNumber(e,t,n):null==t&&"string"!=typeofe?this.fromString(e,256):this.fromString(e,t))}functionb(){returnnewv(null)}functiony(e,t,n,r,i,o){while(--o>=0){vara=t*this[e++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}returni}functionw(e,t,n,r,i,o){vara=32767&t,s=t>>15;while(--o>=0){varl=32767&this[e],c=this[e++]>>15,u=s*l+c*a;l=a*l+((32767&u)<<15)+n[r]+(1073741823&i),i=(l>>>30)+(u>>>15)+s*c+(i>>>30),n[r++]=1073741823&l}returni}functionO(e,t,n,r,i,o){vara=16383&t,s=t>>14;while(--o>=0){varl=16383&this[e],c=this[e++]>>14,u=s*l+c*a;l=a*l+((16383&u)<<14)+n[r]+i,i=(l>>28)+(u>>14)+s*c,n[r++]=268435455&l}returni}g&&"Microsoft Internet Explorer"==i.appName?(v.prototype.am=w,c=30):g&&"Netscape"!=i.appName?(v.prototype.am=y,c=26):(v.prototype.am=O,c=28),v.prototype.DB=c,v.prototype.DM=(1<<c)-1,v.prototype.DV=1<<c;varS=52;v.prototype.FV=Math.pow(2,S),v.prototype.F1=S-c,v.prototype.F2=2*c-S;varE,x,_="0123456789abcdefghijklmnopqrstuvwxyz",k=newArray;for(E="0".charCodeAt(0),x=0;x<=9;++x)k[E++]=x;for(E="a".charCodeAt(0),x=10;x<36;++x)k[E++]=x;for(E="A".charCodeAt(0),x=10;x<36;++x)k[E++]=x;functionC(e){return_.charAt(e)}functionA(e,t){varn=k[e.charCodeAt(t)];returnnull==n?-1:n}functionT(e){for(vart=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}functionR(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0}functionN(e){vart=b();returnt.fromInt(e),t}functionP(e,t){varn;if(16==t)n=4;elseif(8==t)n=3;elseif(256==t)n=8;elseif(2==t)n=1;elseif(32==t)n=5;else{if(4!=t)returnvoidthis.fromRadix(e,t);n=2}this.t=0,this.s=0;varr=e.length,i=!1,o=0;while(--r>=0){vara=8==n?255&e[r]:A(e,r);a<0?"-"==e.charAt(r)&&(i=!0):(i=!1,0==o?this[this.t++]=a:o+n>this.DB?(this[this.t-1]|=(a&(1<<this.DB-o)-1)<<o,this[this.t++]=a>>this.DB-o):this[this.t-1]|=a<<o,o+=n,o>=this.DB&&(o-=this.DB))}8==n&&0!=(128&e[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),i&&v.ZERO.subTo(this,this)}functionI(){vare=this.s&this.DM;while(this.t>0&&this[this.t-1]==e)--this.t}functionM(e){if(this.s<0)return"-"+this.negate().toString(e);vart;if(16==e)t=4;elseif(8==e)t=3;elseif(2==e)t=1;elseif(32==e)t=5;else{if(4!=e)returnthis.toRadix(e);t=2}varn,r=(1<<t)-1,i=!1,o="",a=this.t,s=this.DB-a*this.DB%t;if(a-->0){s<this.DB&&(n=this[a]>>s)>0&&(i=!0,o=C(n));while(a>=0)s<t?(n=(this[a]&(1<<s)-1)<<t-s,n|=this[--a]>>(s+=this.DB-t)):(n=this[a]>>(s-=t)&r,s<=0&&(s+=this.DB,--a)),n>0&&(i=!0),i&&(o+=C(n))}returni?o:"0"}functionD(){vare=b();returnv.ZERO.subTo(this,e),e}functionL(){returnthis.s<0?this.negate():this}functionB(e){vart=this.s-e.s;if(0!=t)returnt;varn=this.t;if(t=n-e.t,0!=t)returnthis.s<0?-t:t;while(--n>=0)if(0!=(t=this[n]-e[n]))returnt;return0}function$(e){vart,n=1;return0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}functionV(){returnthis.t<=0?0:this.DB*(this.t-1)+$(this[this.t-1]^this.s&this.DM)}functionF(e,t){varn;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}functionj(e,t){for(varn=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s}functionU(e,t){varn,r=e%this.DB,i=this.DB-r,o=(1<<i)-1,a=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+a+1]=this[n]>>i|s,s=(this[n]&o)<<r;for(n=a-1;n>=0;--n)t[n]=0;t[a]=s,t.t=this.t+a+1,t.s=this.s,t.clamp()}functionG(e,t){t.s=this.s;varn=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{varr=e%this.DB,i=this.DB-r,o=(1<<r)-1;t[0]=this[n]>>r;for(vara=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&o)<<i,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&o)<<i),t.t=this.t-n,t.clamp()}}functionH(e,t){varn=0,r=0,i=Math.min(e.t,this.t);while(n<i)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){r-=e.s;while(n<this.t)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{r+=this.s;while(n<e.t)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}functionq(e,t){varn=this.abs(),r=e.abs(),i=n.t;t.t=i+r.t;while(--i>=0)t[i]=0;for(i=0;i<r.t;++i)t[i+n.t]=n.am(0,Line truncated
varc,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d="=";functionh(e){vart,n,r="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),r+=u.charAt(n>>6)+u.charAt(63&n);if(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),r+=u.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),r+=u.charAt(n>>2)+u.charAt((3&n)<<4)),d)while((3&r.length)>0)r+=d;returnr}functionp(e){vart,n,r,i="",a=0;for(t=0;t<e.length;++t){if(e.charAt(t)==d)break;r=u.indexOf(e.charAt(t)),r<0||(0==a?(i+=C(r>>2),n=3&r,a=1):1==a?(i+=C(n<<2|r>>4),n=15&r,a=2):2==a?(i+=C(n),i+=C(r>>2),n=3&r,a=3):(i+=C(n<<2|r>>4),i+=C(15&r),a=0))}return1==a&&(i+=C(n<<2)),i}functionf(e){vart,n=p(e),r=newArray;for(t=0;2*t<n.length;++t)r[t]=parseInt(n.substring(2*t,2*t+2),16);returnr}varm=0xdeadbeefcafe,g=15715070==(16777215&m);functionv(e,t,n){null!=e&&("number"==typeofe?this.fromNumber(e,t,n):null==t&&"string"!=typeofe?this.fromString(e,256):this.fromString(e,t))}functionb(){returnnewv(null)}functiony(e,t,n,r,i,a){while(--a>=0){varo=t*this[e++]+n[r]+i;i=Math.floor(o/67108864),n[r++]=67108863&o}returni}functionw(e,t,n,r,i,a){varo=32767&t,s=t>>15;while(--a>=0){varl=32767&this[e],c=this[e++]>>15,u=s*l+c*o;l=o*l+((32767&u)<<15)+n[r]+(1073741823&i),i=(l>>>30)+(u>>>15)+s*c+(i>>>30),n[r++]=1073741823&l}returni}functionO(e,t,n,r,i,a){varo=16383&t,s=t>>14;while(--a>=0){varl=16383&this[e],c=this[e++]>>14,u=s*l+c*o;l=o*l+((16383&u)<<14)+n[r]+i,i=(l>>28)+(u>>14)+s*c,n[r++]=268435455&l}returni}g&&"Microsoft Internet Explorer"==i.appName?(v.prototype.am=w,c=30):g&&"Netscape"!=i.appName?(v.prototype.am=y,c=26):(v.prototype.am=O,c=28),v.prototype.DB=c,v.prototype.DM=(1<<c)-1,v.prototype.DV=1<<c;varS=52;v.prototype.FV=Math.pow(2,S),v.prototype.F1=S-c,v.prototype.F2=2*c-S;varE,x,_="0123456789abcdefghijklmnopqrstuvwxyz",k=newArray;for(E="0".charCodeAt(0),x=0;x<=9;++x)k[E++]=x;for(E="a".charCodeAt(0),x=10;x<36;++x)k[E++]=x;for(E="A".charCodeAt(0),x=10;x<36;++x)k[E++]=x;functionC(e){return_.charAt(e)}functionA(e,t){varn=k[e.charCodeAt(t)];returnnull==n?-1:n}functionT(e){for(vart=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}functionR(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0}functionN(e){vart=b();returnt.fromInt(e),t}functionP(e,t){varn;if(16==t)n=4;elseif(8==t)n=3;elseif(256==t)n=8;elseif(2==t)n=1;elseif(32==t)n=5;else{if(4!=t)returnvoidthis.fromRadix(e,t);n=2}this.t=0,this.s=0;varr=e.length,i=!1,a=0;while(--r>=0){varo=8==n?255&e[r]:A(e,r);o<0?"-"==e.charAt(r)&&(i=!0):(i=!1,0==a?this[this.t++]=o:a+n>this.DB?(this[this.t-1]|=(o&(1<<this.DB-a)-1)<<a,this[this.t++]=o>>this.DB-a):this[this.t-1]|=o<<a,a+=n,a>=this.DB&&(a-=this.DB))}8==n&&0!=(128&e[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),i&&v.ZERO.subTo(this,this)}functionI(){vare=this.s&this.DM;while(this.t>0&&this[this.t-1]==e)--this.t}functionM(e){if(this.s<0)return"-"+this.negate().toString(e);vart;if(16==e)t=4;elseif(8==e)t=3;elseif(2==e)t=1;elseif(32==e)t=5;else{if(4!=e)returnthis.toRadix(e);t=2}varn,r=(1<<t)-1,i=!1,a="",o=this.t,s=this.DB-o*this.DB%t;if(o-->0){s<this.DB&&(n=this[o]>>s)>0&&(i=!0,a=C(n));while(o>=0)s<t?(n=(this[o]&(1<<s)-1)<<t-s,n|=this[--o]>>(s+=this.DB-t)):(n=this[o]>>(s-=t)&r,s<=0&&(s+=this.DB,--o)),n>0&&(i=!0),i&&(a+=C(n))}returni?a:"0"}functionD(){vare=b();returnv.ZERO.subTo(this,e),e}functionL(){returnthis.s<0?this.negate():this}functionB(e){vart=this.s-e.s;if(0!=t)returnt;varn=this.t;if(t=n-e.t,0!=t)returnthis.s<0?-t:t;while(--n>=0)if(0!=(t=this[n]-e[n]))returnt;return0}function$(e){vart,n=1;return0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}functionV(){returnthis.t<=0?0:this.DB*(this.t-1)+$(this[this.t-1]^this.s&this.DM)}functionF(e,t){varn;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}functionj(e,t){for(varn=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s}functionU(e,t){varn,r=e%this.DB,i=this.DB-r,a=(1<<i)-1,o=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+o+1]=this[n]>>i|s,s=(this[n]&a)<<r;for(n=o-1;n>=0;--n)t[n]=0;t[o]=s,t.t=this.t+o+1,t.s=this.s,t.clamp()}functionG(e,t){t.s=this.s;varn=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{varr=e%this.DB,i=this.DB-r,a=(1<<r)-1;t[0]=this[n]>>r;for(varo=n+1;o<this.t;++o)t[o-n-1]|=(this[o]&a)<<i,t[o-n]=this[o]>>r;r>0&&(t[this.t-n-1]|=(this.s&a)<<i),t.t=this.t-n,t.clamp()}}functionH(e,t){varn=0,r=0,i=Math.min(e.t,this.t);while(n<i)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){r-=e.s;while(n<this.t)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{r+=this.s;while(n<e.t)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}functionq(e,t){varn=this.abs(),r=e.abs(),i=n.t;t.t=i+r.t;while(--i>=0)t[i]=0;for(i=0;i<r.t;++i)t[i+n.t]=n.am(0,Line truncated
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
/*! (c) Stefan Thomas | https://github.com/bitcoinjs/bitcoinjs-lib
*/
zt.prototype.getByteLength=function(){returnMath.floor((this.toBigInteger().bitLength()+7)/8)},nn.prototype.getEncoded=function(e){vart=function(e,t){varn=e.toByteArrayUnsigned();if(t<n.length)n=n.slice(n.length-t);elsewhile(t>n.length)n.unshift(0);returnn},n=this.getX().toBigInteger(),r=this.getY().toBigInteger(),i=t(n,32);returne?r.isEven()?i.unshift(2):i.unshift(3):(i.unshift(4),i=i.concat(t(r,32))),i},nn.decodeFrom=function(e,t){t[0];varn=t.length-1,r=t.slice(1,1+n/2),i=t.slice(1+n/2,1+n);r.unshift(0),i.unshift(0);varo=newv(r),a=newv(i);returnnewnn(e,e.fromBigInteger(o),e.fromBigInteger(a))},nn.decodeFromHex=function(e,t){t.substr(0,2);varn=t.length-2,r=t.substr(2,n/2),i=t.substr(2+n/2,n/2),o=newv(r,16),a=newv(i,16);returnnewnn(e,e.fromBigInteger(o),e.fromBigInteger(a))},nn.prototype.add2D=function(e){if(this.isInfinity())returne;if(e.isInfinity())returnthis;if(this.x.equals(e.x))returnthis.y.equals(e.y)?this.twice():this.curve.getInfinity();vart=e.x.subtract(this.x),n=e.y.subtract(this.y),r=n.divide(t),i=r.square().subtract(this.x).subtract(e.x),o=r.multiply(this.x.subtract(i)).subtract(this.y);returnnewnn(this.curve,i,o)},nn.prototype.twice2D=function(){if(this.isInfinity())returnthis;if(0==this.y.toBigInteger().signum())returnthis.curve.getInfinity();vare=this.curve.fromBigInteger(v.valueOf(2)),t=this.curve.fromBigInteger(v.valueOf(3)),n=this.x.square().multiply(t).add(this.curve.a).divide(this.y.multiply(e)),r=n.square().subtract(this.x.multiply(e)),i=n.multiply(this.x.subtract(r)).subtract(this.y);returnnewnn(this.curve,r,i)},nn.prototype.multiply2D=function(e){if(this.isInfinity())returnthis;if(0==e.signum())returnthis.curve.getInfinity();vart,n=e,r=n.multiply(newv("3")),i=this.negate(),o=this;for(t=r.bitLength()-2;t>0;--t){o=o.twice();vara=r.testBit(t),s=n.testBit(t);a!=s&&(o=o.add2D(a?this:i))}returno},nn.prototype.isOnCurve=function(){vare=this.getX().toBigInteger(),t=this.getY().toBigInteger(),n=this.curve.getA().toBigInteger(),r=this.curve.getB().toBigInteger(),i=this.curve.getQ(),o=t.multiply(t).mod(i),a=e.multiply(e).multiply(e).add(n.multiply(e)).add(r).mod(i);returno.equals(a)},nn.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},nn.prototype.validate=function(){vare=this.curve.getQ();if(this.isInfinity())thrownewError("Point is at infinity.");vart=this.getX().toBigInteger(),n=this.getY().toBigInteger();if(t.compareTo(v.ONE)<0||t.compareTo(e.subtract(v.ONE))>0)thrownewError("x coordinate out of bounds");if(n.compareTo(v.ONE)<0||n.compareTo(e.subtract(v.ONE))>0)thrownewError("y coordinate out of bounds");if(!this.isOnCurve())thrownewError("Point is not on the curve.");if(this.multiply(e).isInfinity())thrownewError("Point is not a scalar multiple of G.");return!0};
zt.prototype.getByteLength=function(){returnMath.floor((this.toBigInteger().bitLength()+7)/8)},nn.prototype.getEncoded=function(e){vart=function(e,t){varn=e.toByteArrayUnsigned();if(t<n.length)n=n.slice(n.length-t);elsewhile(t>n.length)n.unshift(0);returnn},n=this.getX().toBigInteger(),r=this.getY().toBigInteger(),i=t(n,32);returne?r.isEven()?i.unshift(2):i.unshift(3):(i.unshift(4),i=i.concat(t(r,32))),i},nn.decodeFrom=function(e,t){t[0];varn=t.length-1,r=t.slice(1,1+n/2),i=t.slice(1+n/2,1+n);r.unshift(0),i.unshift(0);vara=newv(r),o=newv(i);returnnewnn(e,e.fromBigInteger(a),e.fromBigInteger(o))},nn.decodeFromHex=function(e,t){t.substr(0,2);varn=t.length-2,r=t.substr(2,n/2),i=t.substr(2+n/2,n/2),a=newv(r,16),o=newv(i,16);returnnewnn(e,e.fromBigInteger(a),e.fromBigInteger(o))},nn.prototype.add2D=function(e){if(this.isInfinity())returne;if(e.isInfinity())returnthis;if(this.x.equals(e.x))returnthis.y.equals(e.y)?this.twice():this.curve.getInfinity();vart=e.x.subtract(this.x),n=e.y.subtract(this.y),r=n.divide(t),i=r.square().subtract(this.x).subtract(e.x),a=r.multiply(this.x.subtract(i)).subtract(this.y);returnnewnn(this.curve,i,a)},nn.prototype.twice2D=function(){if(this.isInfinity())returnthis;if(0==this.y.toBigInteger().signum())returnthis.curve.getInfinity();vare=this.curve.fromBigInteger(v.valueOf(2)),t=this.curve.fromBigInteger(v.valueOf(3)),n=this.x.square().multiply(t).add(this.curve.a).divide(this.y.multiply(e)),r=n.square().subtract(this.x.multiply(e)),i=n.multiply(this.x.subtract(r)).subtract(this.y);returnnewnn(this.curve,r,i)},nn.prototype.multiply2D=function(e){if(this.isInfinity())returnthis;if(0==e.signum())returnthis.curve.getInfinity();vart,n=e,r=n.multiply(newv("3")),i=this.negate(),a=this;for(t=r.bitLength()-2;t>0;--t){a=a.twice();varo=r.testBit(t),s=n.testBit(t);o!=s&&(a=a.add2D(o?this:i))}returna},nn.prototype.isOnCurve=function(){vare=this.getX().toBigInteger(),t=this.getY().toBigInteger(),n=this.curve.getA().toBigInteger(),r=this.curve.getB().toBigInteger(),i=this.curve.getQ(),a=t.multiply(t).mod(i),o=e.multiply(e).multiply(e).add(n.multiply(e)).add(r).mod(i);returna.equals(o)},nn.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},nn.prototype.validate=function(){vare=this.curve.getQ();if(this.isInfinity())thrownewError("Point is at infinity.");vart=this.getX().toBigInteger(),n=this.getY().toBigInteger();if(t.compareTo(v.ONE)<0||t.compareTo(e.subtract(v.ONE))>0)thrownewError("x coordinate out of bounds");if(n.compareTo(v.ONE)<0||n.compareTo(e.subtract(v.ONE))>0)thrownewError("y coordinate out of bounds");if(!this.isOnCurve())thrownewError("Point is not on the curve.");if(this.multiply(e).isInfinity())thrownewError("Point is not a scalar multiple of G.");return!0};
varOn=function(){vare="(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)",t='(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))',n='(?:"'+t+'*")',r=newRegExp("(?:false|true|null|[\\{\\}\\[\\]]|"+e+"|"+n+")","g"),i=newRegExp("\\\\(?:([^u])|u(.{4}))","g"),o={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};functiona(e,t,n){returnt?o[t]:String.fromCharCode(parseInt(n,16))}vars=newString(""),l="\\",c=Object.hasOwnProperty;returnfunction(e,t){varn,o,u=e.match(r),d=u[0],h=!1;"{"===d?n={}:"["===d?n=[]:(n=[],h=!0);for(varp=[n],f=1-h,m=u.length;f<m;++f){varg;switch(d=u[f],d.charCodeAt(0)){default:g=p[0],g[o||g.length]=+d,o=void0;break;case34:if(d=d.substring(1,d.length-1),-1!==d.indexOf(l)&&(d=d.replace(i,a)),g=p[0],!o){if(!(ginstanceofArray)){o=d||s;break}o=g.length}g[o]=d,o=void0;break;case91:g=p[0],p.unshift(g[o||g.length]=[]),o=void0;break;case93:p.shift();break;case102:g=p[0],g[o||g.length]=!1,o=void0;break;case110:g=p[0],g[o||g.length]=null,o=void0;break;case116:g=p[0],g[o||g.length]=!0,o=void0;break;case123:g=p[0],p.unshift(g[o||g.length]={}),o=void0;break;case125:p.shift();break}}if(h){if(1!==p.length)thrownewError;n=n[0]}elseif(p.length)thrownewError;if(t){varv=function(e,n){varr=e[n];if(r&&"object"===typeofr){vari=null;for(varoinr)if(c.call(r,o)&&r!==e){vara=v(r,o);void0!==a?r[o]=a:(i||(i=[]),i.push(o))}if(i)for(vars=i.length;--s>=0;)deleter[i[s]]}returnt.call(e,n,r)};n=v({"":n},"")}returnn}}();"undefined"!=typeofSn&&Sn||(Sn={}),"undefined"!=typeofSn.asn1&&Sn.asn1||(Sn.asn1={}),Sn.asn1.ASN1Util=newfunction(){this.integerToByteHex=function(e){vart=e.toString(16);returnt.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){returnCr(e)},this.getPEMStringFromHex=function(e,t){returnXn(e,t)},this.newObject=function(e){vart=Sn,n=t.asn1,r=n.ASN1Object,i=n.DERBoolean,o=n.DERInteger,a=n.DERBitString,s=n.DEROctetString,l=n.DERNull,c=n.DERObjectIdentifier,u=n.DEREnumerated,d=n.DERUTF8String,h=n.DERNumericString,p=n.DERPrintableString,f=n.DERTeletexString,m=n.DERIA5String,g=n.DERUTCTime,v=n.DERGeneralizedTime,b=n.DERVisibleString,y=n.DERBMPString,w=n.DERSequence,O=n.DERSet,S=n.DERTaggedObject,E=n.ASN1Util.newObject;if(einstanceofn.ASN1Object)returne;varx=Object.keys(e);if(1!=x.length)thrownewError("key of param shall be only one.");var_=x[0];if(-1==":asn1:bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:visstr:bmpstr:seq:set:tag:".indexOf(":"+_+":"))thrownewError("undefined key: "+_);if("bool"==_)returnnewi(e[_]);if("int"==_)returnnewo(e[_]);if("bitstr"==_)returnnewa(e[_]);if("octstr"==_)returnnews(e[_]);if("null"==_)returnnewl(e[_]);if("oid"==_)returnnewc(e[_]);if("enum"==_)returnnewu(e[_]);if("utf8str"==_)returnnewd(e[_]);if("numstr"==_)returnnewh(e[_]);if("prnstr"==_)returnnewp(e[_]);if("telstr"==_)returnnewf(e[_]);if("ia5str"==_)returnnewm(e[_]);if("utctime"==_)returnnewg(e[_]);if("gentime"==_)returnnewv(e[_]);if("visstr"==_)returnnewb(e[_]);if("bmpstr"==_)returnnewy(e[_]);if("asn1"==_)returnnewr(e[_]);if("seq"==_){for(vark=e[_],C=[],A=0;A<k.length;A++){varT=E(k[A]);C.push(T)}returnneww({array:C})}if("set"==_){for(k=e[_],C=[],A=0;A<k.length;A++){T=E(k[A]);C.push(T)}returnnewO({array:C})}if("tag"==_){varR=e[_];if("[object Array]"===Object.prototype.toString.call(R)&&3==R.length){varN=E(R[2]);returnnewS({tag:R[0],explicit:R[1],obj:N})}returnnewS(R)}},this.jsonToASN1HEX=function(e){vart=this.newObject(e);returnt.tohex()}},Sn.asn1.ASN1Util.oidHexToInt=function(e){for(vart="",n=parseInt(e.substr(0,2),16),r=Math.floor(n/40),i=n%40,o=(t=r+"."+i,""),a=2;a<e.length;a+=2){vars=parseInt(e.substr(a,2),16),l=("00000000"+s.toString(2)).slice(-8);if(o+=l.substr(1,7),"0"==l.substr(0,1)){varc=newv(o,2);t=t+"."+c.toString(10),o=""}}returnt},Sn.asn1.ASN1Util.oidIntToHex=function(e){vart=function(e){vart=e.toString(16);return1==t.length&&(t="0"+t),t},n=function(e){varn="",r=newv(e,10),i=r.toString(2),o=7-i.length%7;7==o&&(o=0);for(vara="",s=0;s<o;s++)a+="0";i=a+i;for(s=0;s<i.length-1;s+=7){varl=i.substr(s,7);s!=i.length-7&&(l="1"+l),n+=t(parseInt(l,2))}returnn};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;varr="",i=e.split("."),o=40*parseInt(i[0])+parseInt(i[1]);r+=t(o),i.splice(0,2);for(vara=0;a<i.length;a++)r+=n(i[a]);returnr},Sn.asn1.ASN1Object=function(e){vart="";this.params=null,this.getLengthHexFromValue=function(){if("undefined"==typeofthis.hV||null==this.hV)thrownewError("this.hV is null or undefined");if(this.hV.length%2==1)thrownewError("value hex must be even length: n="+t.length+",v="+this.hV);vare=this.hV.length/2,n=e.toString(16);if(n.length%2==1&&(n="0"+n),e<128)returnn;varr=n.length/2;if(r>15)thrownewError("ASN.1 length too long to represent by 8x: n = "+e.toString(16));vari=128+r;returni.toString(16)+n},this.tohex=function(){return(null==this.hTLV||this.isModifLine truncated
varOn=function(){vare="(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)",t='(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))',n='(?:"'+t+'*")',r=newRegExp("(?:false|true|null|[\\{\\}\\[\\]]|"+e+"|"+n+")","g"),i=newRegExp("\\\\(?:([^u])|u(.{4}))","g"),a={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};functiono(e,t,n){returnt?a[t]:String.fromCharCode(parseInt(n,16))}vars=newString(""),l="\\",c=Object.hasOwnProperty;returnfunction(e,t){varn,a,u=e.match(r),d=u[0],h=!1;"{"===d?n={}:"["===d?n=[]:(n=[],h=!0);for(varp=[n],f=1-h,m=u.length;f<m;++f){varg;switch(d=u[f],d.charCodeAt(0)){default:g=p[0],g[a||g.length]=+d,a=void0;break;case34:if(d=d.substring(1,d.length-1),-1!==d.indexOf(l)&&(d=d.replace(i,o)),g=p[0],!a){if(!(ginstanceofArray)){a=d||s;break}a=g.length}g[a]=d,a=void0;break;case91:g=p[0],p.unshift(g[a||g.length]=[]),a=void0;break;case93:p.shift();break;case102:g=p[0],g[a||g.length]=!1,a=void0;break;case110:g=p[0],g[a||g.length]=null,a=void0;break;case116:g=p[0],g[a||g.length]=!0,a=void0;break;case123:g=p[0],p.unshift(g[a||g.length]={}),a=void0;break;case125:p.shift();break}}if(h){if(1!==p.length)thrownewError;n=n[0]}elseif(p.length)thrownewError;if(t){varv=function(e,n){varr=e[n];if(r&&"object"===typeofr){vari=null;for(varainr)if(c.call(r,a)&&r!==e){varo=v(r,a);void0!==o?r[a]=o:(i||(i=[]),i.push(a))}if(i)for(vars=i.length;--s>=0;)deleter[i[s]]}returnt.call(e,n,r)};n=v({"":n},"")}returnn}}();"undefined"!=typeofSn&&Sn||(Sn={}),"undefined"!=typeofSn.asn1&&Sn.asn1||(Sn.asn1={}),Sn.asn1.ASN1Util=newfunction(){this.integerToByteHex=function(e){vart=e.toString(16);returnt.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){returnCr(e)},this.getPEMStringFromHex=function(e,t){returnXn(e,t)},this.newObject=function(e){vart=Sn,n=t.asn1,r=n.ASN1Object,i=n.DERBoolean,a=n.DERInteger,o=n.DERBitString,s=n.DEROctetString,l=n.DERNull,c=n.DERObjectIdentifier,u=n.DEREnumerated,d=n.DERUTF8String,h=n.DERNumericString,p=n.DERPrintableString,f=n.DERTeletexString,m=n.DERIA5String,g=n.DERUTCTime,v=n.DERGeneralizedTime,b=n.DERVisibleString,y=n.DERBMPString,w=n.DERSequence,O=n.DERSet,S=n.DERTaggedObject,E=n.ASN1Util.newObject;if(einstanceofn.ASN1Object)returne;varx=Object.keys(e);if(1!=x.length)thrownewError("key of param shall be only one.");var_=x[0];if(-1==":asn1:bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:visstr:bmpstr:seq:set:tag:".indexOf(":"+_+":"))thrownewError("undefined key: "+_);if("bool"==_)returnnewi(e[_]);if("int"==_)returnnewa(e[_]);if("bitstr"==_)returnnewo(e[_]);if("octstr"==_)returnnews(e[_]);if("null"==_)returnnewl(e[_]);if("oid"==_)returnnewc(e[_]);if("enum"==_)returnnewu(e[_]);if("utf8str"==_)returnnewd(e[_]);if("numstr"==_)returnnewh(e[_]);if("prnstr"==_)returnnewp(e[_]);if("telstr"==_)returnnewf(e[_]);if("ia5str"==_)returnnewm(e[_]);if("utctime"==_)returnnewg(e[_]);if("gentime"==_)returnnewv(e[_]);if("visstr"==_)returnnewb(e[_]);if("bmpstr"==_)returnnewy(e[_]);if("asn1"==_)returnnewr(e[_]);if("seq"==_){for(vark=e[_],C=[],A=0;A<k.length;A++){varT=E(k[A]);C.push(T)}returnneww({array:C})}if("set"==_){for(k=e[_],C=[],A=0;A<k.length;A++){T=E(k[A]);C.push(T)}returnnewO({array:C})}if("tag"==_){varR=e[_];if("[object Array]"===Object.prototype.toString.call(R)&&3==R.length){varN=E(R[2]);returnnewS({tag:R[0],explicit:R[1],obj:N})}returnnewS(R)}},this.jsonToASN1HEX=function(e){vart=this.newObject(e);returnt.tohex()}},Sn.asn1.ASN1Util.oidHexToInt=function(e){for(vart="",n=parseInt(e.substr(0,2),16),r=Math.floor(n/40),i=n%40,a=(t=r+"."+i,""),o=2;o<e.length;o+=2){vars=parseInt(e.substr(o,2),16),l=("00000000"+s.toString(2)).slice(-8);if(a+=l.substr(1,7),"0"==l.substr(0,1)){varc=newv(a,2);t=t+"."+c.toString(10),a=""}}returnt},Sn.asn1.ASN1Util.oidIntToHex=function(e){vart=function(e){vart=e.toString(16);return1==t.length&&(t="0"+t),t},n=function(e){varn="",r=newv(e,10),i=r.toString(2),a=7-i.length%7;7==a&&(a=0);for(varo="",s=0;s<a;s++)o+="0";i=o+i;for(s=0;s<i.length-1;s+=7){varl=i.substr(s,7);s!=i.length-7&&(l="1"+l),n+=t(parseInt(l,2))}returnn};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;varr="",i=e.split("."),a=40*parseInt(i[0])+parseInt(i[1]);r+=t(a),i.splice(0,2);for(varo=0;o<i.length;o++)r+=n(i[o]);returnr},Sn.asn1.ASN1Object=function(e){vart="";this.params=null,this.getLengthHexFromValue=function(){if("undefined"==typeofthis.hV||null==this.hV)thrownewError("this.hV is null or undefined");if(this.hV.length%2==1)thrownewError("value hex must be even length: n="+t.length+",v="+this.hV);vare=this.hV.length/2,n=e.toString(16);if(n.length%2==1&&(n="0"+n),e<128)returnn;varr=n.length/2;if(r>15)thrownewError("ASN.1 length too long to represent by 8x: n = "+e.toString(16));vari=128+r;returni.toString(16)+n},this.tohex=function(){return(null==this.hTLV||this.isModifLine truncated
/**
*@license
*Lodash<https://lodash.com/>
@@ -59,54 +59,54 @@ var On=function(){var e="(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
varr=n(1048),i=r.Buffer;functiono(e,t){for(varnine)t[n]=e[n]}functiona(e,t,n){returni(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"===typeofe)thrownewTypeError("Argument must not be a number");returni(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeofe)thrownewTypeError("Argument must be a number");varr=i(e);returnvoid0!==t?"string"===typeofn?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returni(e)},a.allocUnsafeSlow=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returnr.SlowBuffer(e)}},46132:function(e,t,n){"use strict";varr=n(14607),i=n(52672),o=r("RegExp.prototype.exec"),a=n(3468);e.exports=function(e){if(!i(e))thrownewa("`regex` must be a RegExp");returnfunction(t){returnnull!==o(e,t)}}},51565:function(e,t,n){"use strict";constr=Symbol("SemVer ANY");classi{staticgetANY(){returnr}constructor(e,t){if(t=o(t),einstanceofi){if(e.loose===!!t.loose)returne;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){constt=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],n=e.match(t);if(!n)thrownewTypeError(`Invalid comparator: ${e}`);this.operator=void0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=newu(n[2],this.options.loose):this.semver=r}toString(){returnthis.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"===typeofe)try{e=newu(e,this.options)}catch(t){return!1}returnl(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(einstanceofi))thrownewTypeError("a Comparator is required");return""===this.operator?""===this.value||newd(e.value,t).test(this.value):""===e.operator?""===e.value||newd(this.value,t).test(e.semver):(t=o(t),(!t.includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))))))))}}e.exports=i;consto=n(13990),{safeRe:a,t:s}=n(72841),l=n(54004),c=n(41361),u=n(24517),d=n(37476)},37476:function(e,t,n){"use strict";constr=/\s+/g;classi{constructor(e,t){if(t=s(t),einstanceofi)returne.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:newi(e.raw,t);if(einstanceofl)returnthis.raw=e.value,this.set=[[e]],this.formatted=void0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(r," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)thrownewTypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){conste=this.set[0];if(this.set=this.set.filter(e=>!w(e[0])),0===this.set.length)this.set=[e];elseif(this.set.length>1)for(consttofthis.set)if(1===t.length&&O(t[0])){this.set=[t];break}}this.formatted=void0}getrange(){if(void0===this.formatted){this.formatted="";for(lete=0;e<this.set.length;e++){e>0&&(this.formatted+="||");constt=this.set[e];for(lete=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}returnthis.formatted}format(){returnthis.range}toString(){returnthis.range}parseRange(e){e=e.replace(y,"");constt=(this.options.includePrerelease&&v)|(this.options.loose&&b),n=t+":"+e,r=a.get(n);if(r)returnr;consti=this.options.loose,o=i?d[p.HYPHENRANGELOOSE]:d[p.HYPHENRANGE];e=e.replace(o,M(this.options.includePrerelease)),c("hyphen replace",e),e=e.replace(d[p.COMPARATORTRIM],f),c("comparator trim",e),e=e.replace(d[p.TILDETRIM],m),c("tilde trim",e),e=e.replace(d[p.CARETTRIM],g),c("caret trim",e);lets=e.split(" ").map(e=>E(e,this.options)).join(" ").split(/\s+/).map(e=>I(e,this.options));i&&(s=s.filter(e=>(c("loose invalid filter",e,this.options),!!e.match(d[p.COMPARATORLOOSE])))),c("range list",s);constu=newMap,h=s.map(e=>newl(e,this.options));for(constaofh){if(w(a))return[a];u.set(a.value,a)}u.size>1&&u.has("")&&u.delete("");constO=[...u.values()];returna.set(n,O),O}intersects(e,t){if(!(einstanceofi))thrownewTypeError("a Range is required");returnthis.set.some(n=>S(n,t)&&e.set.some(e=>S(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"===typeofe)try{e=newu(e,this.options)}catch(t){return!1}for(letn=0;n<this.set.length;nLine truncated
varr=n(1048),i=r.Buffer;functiona(e,t){for(varnine)t[n]=e[n]}functiono(e,t,n){returni(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(a(r,t),t.Buffer=o),o.prototype=Object.create(i.prototype),a(i,o),o.from=function(e,t,n){if("number"===typeofe)thrownewTypeError("Argument must not be a number");returni(e,t,n)},o.alloc=function(e,t,n){if("number"!==typeofe)thrownewTypeError("Argument must be a number");varr=i(e);returnvoid0!==t?"string"===typeofn?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returni(e)},o.allocUnsafeSlow=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returnr.SlowBuffer(e)}},46132:function(e,t,n){"use strict";varr=n(14607),i=n(52672),a=r("RegExp.prototype.exec"),o=n(3468);e.exports=function(e){if(!i(e))thrownewo("`regex` must be a RegExp");returnfunction(t){returnnull!==a(e,t)}}},51565:function(e,t,n){"use strict";constr=Symbol("SemVer ANY");classi{staticgetANY(){returnr}constructor(e,t){if(t=a(t),einstanceofi){if(e.loose===!!t.loose)returne;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){constt=this.options.loose?o[s.COMPARATORLOOSE]:o[s.COMPARATOR],n=e.match(t);if(!n)thrownewTypeError(`Invalid comparator: ${e}`);this.operator=void0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=newu(n[2],this.options.loose):this.semver=r}toString(){returnthis.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"===typeofe)try{e=newu(e,this.options)}catch(t){return!1}returnl(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(einstanceofi))thrownewTypeError("a Comparator is required");return""===this.operator?""===this.value||newd(e.value,t).test(this.value):""===e.operator?""===e.value||newd(this.value,t).test(e.semver):(t=a(t),(!t.includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))))))))}}e.exports=i;consta=n(13990),{safeRe:o,t:s}=n(72841),l=n(54004),c=n(41361),u=n(24517),d=n(37476)},37476:function(e,t,n){"use strict";constr=/\s+/g;classi{constructor(e,t){if(t=s(t),einstanceofi)returne.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:newi(e.raw,t);if(einstanceofl)returnthis.raw=e.value,this.set=[[e]],this.formatted=void0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(r," "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)thrownewTypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){conste=this.set[0];if(this.set=this.set.filter(e=>!w(e[0])),0===this.set.length)this.set=[e];elseif(this.set.length>1)for(consttofthis.set)if(1===t.length&&O(t[0])){this.set=[t];break}}this.formatted=void0}getrange(){if(void0===this.formatted){this.formatted="";for(lete=0;e<this.set.length;e++){e>0&&(this.formatted+="||");constt=this.set[e];for(lete=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}returnthis.formatted}format(){returnthis.range}toString(){returnthis.range}parseRange(e){e=e.replace(y,"");constt=(this.options.includePrerelease&&v)|(this.options.loose&&b),n=t+":"+e,r=o.get(n);if(r)returnr;consti=this.options.loose,a=i?d[p.HYPHENRANGELOOSE]:d[p.HYPHENRANGE];e=e.replace(a,M(this.options.includePrerelease)),c("hyphen replace",e),e=e.replace(d[p.COMPARATORTRIM],f),c("comparator trim",e),e=e.replace(d[p.TILDETRIM],m),c("tilde trim",e),e=e.replace(d[p.CARETTRIM],g),c("caret trim",e);lets=e.split(" ").map(e=>E(e,this.options)).join(" ").split(/\s+/).map(e=>I(e,this.options));i&&(s=s.filter(e=>(c("loose invalid filter",e,this.options),!!e.match(d[p.COMPARATORLOOSE])))),c("range list",s);constu=newMap,h=s.map(e=>newl(e,this.options));for(constoofh){if(w(o))return[o];u.set(o.value,o)}u.size>1&&u.has("")&&u.delete("");constO=[...u.values()];returno.set(n,O),O}intersects(e,t){if(!(einstanceofi))thrownewTypeError("a Range is required");returnthis.set.some(n=>S(n,t)&&e.set.some(e=>S(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"===typeofe)try{e=newu(e,this.options)}catch(t){return!1}for(letn=0;n<this.set.length;nLine truncated
/*! @license DOMPurify 3.4.16 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.16/LICENSE */functioni(e,t){this.v=e,this.k=t}functiono(e,t){(null==t||t>e.length)&&(t=e.length);for(varn=0,r=Array(t);n<t;n++)r[n]=e[n];returnr}functiona(e){if(Array.isArray(e))returne}functions(e,t){varn=null==e?null:"undefined"!=typeofSymbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){varr,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}elsefor(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throwi}}returns}}functionl(){thrownewTypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}
/*! @license DOMPurify 3.4.16 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.16/LICENSE */functioni(e,t){this.v=e,this.k=t}functiona(e,t){(null==t||t>e.length)&&(t=e.length);for(varn=0,r=Array(t);n<t;n++)r[n]=e[n];returnr}functiono(e){if(Array.isArray(e))returne}functions(e,t){varn=null==e?null:"undefined"!=typeofSymbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){varr,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}elsefor(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throwi}}returns}}functionl(){thrownewTypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.