nutanix-1.1.0.umd.min.299.js 102 KB

1234
  1. (("undefined"!==typeof self?self:this)["webpackChunknutanix_1_1_0"]=("undefined"!==typeof self?self:this)["webpackChunknutanix_1_1_0"]||[]).push([[299],{190:function(e,t,r){"use strict";r.r(t);var o=r(429),i=r.n(o),n=r(1214),a=r.n(n),s=a()(i());s.push([e.id,".addon.with-tooltip[data-v-44dd5817]{padding-right:42px}",""]),t["default"]=s},406:function(e,t,r){var o=r(6534);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=r(4825).A;i("4f495250",o,!0,{sourceMap:!1,shadowMode:!1})},1048:function(e,t,r){"use strict";var o=r(4364),i=r(7991),n=r(9318),a="function"===typeof Symbol&&"function"===typeof Symbol["for"]?Symbol["for"]("nodejs.util.inspect.custom"):null;t.hp=c,t.IS=50;var s=2147483647;function l(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(r){return!1}}function u(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,r){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return d(e,t,r)}function d(e,t,r){if("string"===typeof e)return m(e,t);if(ArrayBuffer.isView(e))return g(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Z(e,ArrayBuffer)||e&&Z(e.buffer,ArrayBuffer))return v(e,t,r);if("undefined"!==typeof SharedArrayBuffer&&(Z(e,SharedArrayBuffer)||e&&Z(e.buffer,SharedArrayBuffer)))return v(e,t,r);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(null!=o&&o!==e)return c.from(o,t,r);var i=b(e);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function p(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function h(e,t,r){return p(e),e<=0?u(e):void 0!==t?"string"===typeof r?u(e).fill(t,r):u(e).fill(t):u(e)}function f(e){return p(e),u(e<0?0:0|E(e))}function m(e,t){if("string"===typeof t&&""!==t||(t="utf8"),!c.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|w(e,t),o=u(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function y(e){for(var t=e.length<0?0:0|E(e.length),r=u(t),o=0;o<t;o+=1)r[o]=255&e[o];return r}function g(e){if(Z(e,Uint8Array)){var t=new Uint8Array(e);return v(t.buffer,t.byteOffset,t.byteLength)}return y(e)}function v(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return o=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(o,c.prototype),o}function b(e){if(c.isBuffer(e)){var t=0|E(e.length),r=u(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!==typeof e.length||Q(e.length)?u(0):y(e):"Buffer"===e.type&&Array.isArray(e.data)?y(e.data):void 0}function E(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function k(e){return+e!=e&&(e=0),c.alloc(+e)}function w(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Z(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return W(e).length;default:if(i)return o?-1:Y(e).length;t=(""+t).toLowerCase(),i=!0}}function S(e,t,r){var o=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return F(this,t,r);case"utf8":case"utf-8":return L(this,t,r);case"ascii":return I(this,t,r);case"latin1":case"binary":return D(this,t,r);case"base64":return T(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function N(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}function _(e,t,r,o,i){if(0===e.length)return-1;if("string"===typeof r?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Q(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=c.from(t,o)),c.isBuffer(t))return 0===t.length?-1:B(e,t,r,o,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):B(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function B(e,t,r,o,i){var n,a=1,s=e.length,l=t.length;if(void 0!==o&&(o=String(o).toLowerCase(),"ucs2"===o||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(n=r;n<s;n++)if(u(e,n)===u(t,-1===c?0:n-c)){if(-1===c&&(c=n),n-c+1===l)return c*a}else-1!==c&&(n-=n-c),c=-1}else for(r+l>s&&(r=s-l),n=r;n>=0;n--){for(var d=!0,p=0;p<l;p++)if(u(e,n+p)!==u(t,p)){d=!1;break}if(d)return n}return-1}function A(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var n=t.length;o>n/2&&(o=n/2);for(var a=0;a<o;++a){var s=parseInt(t.substr(2*a,2),16);if(Q(s))return a;e[r+a]=s}return a}function C(e,t,r,o){return X(Y(t,e.length-r),e,r,o)}function U(e,t,r,o){return X(H(t),e,r,o)}function x(e,t,r,o){return X(W(t),e,r,o)}function O(e,t,r,o){return X(q(t,e.length-r),e,r,o)}function T(e,t,r){return 0===t&&r===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,r))}function L(e,t,r){r=Math.min(e.length,r);var o=[],i=t;while(i<r){var n,a,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:n=e[i+1],128===(192&n)&&(l=(31&u)<<6|63&n,l>127&&(c=l));break;case 3:n=e[i+1],a=e[i+2],128===(192&n)&&128===(192&a)&&(l=(15&u)<<12|(63&n)<<6|63&a,l>2047&&(l<55296||l>57343)&&(c=l));break;case 4:n=e[i+1],a=e[i+2],s=e[i+3],128===(192&n)&&128===(192&a)&&128===(192&s)&&(l=(15&u)<<18|(63&n)<<12|(63&a)<<6|63&s,l>65535&&l<1114112&&(c=l))}null===c?(c=65533,d=1):c>65535&&(c-=65536,o.push(c>>>10&1023|55296),c=56320|1023&c),o.push(c),i+=d}return M(o)}c.TYPED_ARRAY_SUPPORT=l(),c.TYPED_ARRAY_SUPPORT||"undefined"===typeof o||"function"!==typeof o.error||o.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(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(e,t,r){return d(e,t,r)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(e,t,r){return h(e,t,r)},c.allocUnsafe=function(e){return f(e)},c.allocUnsafeSlow=function(e){return f(e)},c.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==c.prototype},c.compare=function(e,t){if(Z(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),Z(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,o=t.length,i=0,n=Math.min(r,o);i<n;++i)if(e[i]!==t[i]){r=e[i],o=t[i];break}return r<o?-1:o<r?1:0},c.isEncoding=function(e){switch(String(e).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}},c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var o=c.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var n=e[r];if(Z(n,Uint8Array))i+n.length>o.length?c.from(n).copy(o,i):Uint8Array.prototype.set.call(o,n,i);else{if(!c.isBuffer(n))throw new TypeError('"list" argument must be an Array of Buffers');n.copy(o,i)}i+=n.length}return o},c.byteLength=w,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)N(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)N(this,t,t+3),N(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)N(this,t,t+7),N(this,t+1,t+6),N(this,t+2,t+5),N(this,t+3,t+4);return this},c.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?L(this,0,e):S.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},a&&(c.prototype[a]=c.prototype.inspect),c.prototype.compare=function(e,t,r,o,i){if(Z(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===o&&(o=0),void 0===i&&(i=this.length),t<0||r>e.length||o<0||i>this.length)throw new RangeError("out of range index");if(o>=i&&t>=r)return 0;if(o>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,o>>>=0,i>>>=0,this===e)return 0;for(var n=i-o,a=r-t,s=Math.min(n,a),l=this.slice(o,i),u=e.slice(t,r),d=0;d<s;++d)if(l[d]!==u[d]){n=l[d],a=u[d];break}return n<a?-1:a<n?1:0},c.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},c.prototype.indexOf=function(e,t,r){return _(this,e,t,r,!0)},c.prototype.lastIndexOf=function(e,t,r){return _(this,e,t,r,!1)},c.prototype.write=function(e,t,r,o){if(void 0===t)o="utf8",r=this.length,t=0;else if(void 0===r&&"string"===typeof t)o=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===o&&(o="utf8")):(o=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var n=!1;;)switch(o){case"hex":return A(this,e,t,r);case"utf8":case"utf-8":return C(this,e,t,r);case"ascii":case"latin1":case"binary":return U(this,e,t,r);case"base64":return x(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,r);default:if(n)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),n=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var R=4096;function M(e){var t=e.length;if(t<=R)return String.fromCharCode.apply(String,e);var r="",o=0;while(o<t)r+=String.fromCharCode.apply(String,e.slice(o,o+=R));return r}function I(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(127&e[i]);return o}function D(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function F(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",n=t;n<r;++n)i+=ee[e[n]];return i}function V(e,t,r){for(var o=e.slice(t,r),i="",n=0;n<o.length-1;n+=2)i+=String.fromCharCode(o[n]+256*o[n+1]);return i}function P(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function $(e,t,r,o,i,n){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<n)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}function K(e,t,r,o,i,n){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function G(e,t,r,o,i){return t=+t,r>>>=0,i||K(e,t,r,4,34028234663852886e22,-34028234663852886e22),n.write(e,t,r,o,23,4),r+4}function j(e,t,r,o,i){return t=+t,r>>>=0,i||K(e,t,r,8,17976931348623157e292,-17976931348623157e292),n.write(e,t,r,o,52,8),r+8}c.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<e&&(t=e);var o=this.subarray(e,t);return Object.setPrototypeOf(o,c.prototype),o},c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);var o=this[e],i=1,n=0;while(++n<t&&(i*=256))o+=this[e+n]*i;return o},c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);var o=this[e+--t],i=1;while(t>0&&(i*=256))o+=this[e+--t]*i;return o},c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);var o=this[e],i=1,n=0;while(++n<t&&(i*=256))o+=this[e+n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},c.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||P(e,t,this.length);var o=t,i=1,n=this[e+--o];while(o>0&&(i*=256))n+=this[e+--o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},c.prototype.readInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||P(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){e>>>=0,t||P(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return e>>>=0,t||P(e,4,this.length),n.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||P(e,4,this.length),n.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||P(e,8,this.length),n.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||P(e,8,this.length),n.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,r,o){if(e=+e,t>>>=0,r>>>=0,!o){var i=Math.pow(2,8*r)-1;$(this,e,t,r,i,0)}var n=1,a=0;this[t]=255&e;while(++a<r&&(n*=256))this[t+a]=e/n&255;return t+r},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,r,o){if(e=+e,t>>>=0,r>>>=0,!o){var i=Math.pow(2,8*r)-1;$(this,e,t,r,i,0)}var n=r-1,a=1;this[t+n]=255&e;while(--n>=0&&(a*=256))this[t+n]=e/a&255;return t+r},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeIntLE=function(e,t,r,o){if(e=+e,t>>>=0,!o){var i=Math.pow(2,8*r-1);$(this,e,t,r,i-1,-i)}var n=0,a=1,s=0;this[t]=255&e;while(++n<r&&(a*=256))e<0&&0===s&&0!==this[t+n-1]&&(s=1),this[t+n]=(e/a|0)-s&255;return t+r},c.prototype.writeIntBE=function(e,t,r,o){if(e=+e,t>>>=0,!o){var i=Math.pow(2,8*r-1);$(this,e,t,r,i-1,-i)}var n=r-1,a=1,s=0;this[t+n]=255&e;while(--n>=0&&(a*=256))e<0&&0===s&&0!==this[t+n+1]&&(s=1),this[t+n]=(e/a|0)-s&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||$(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeFloatLE=function(e,t,r){return G(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return G(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return j(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return j(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,o){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o<r&&(o=r),o===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t<o-r&&(o=e.length-t+r);var i=o-r;return this===e&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,o):Uint8Array.prototype.set.call(e,this.subarray(r,o),t),i},c.prototype.fill=function(e,t,r,o){if("string"===typeof e){if("string"===typeof t?(o=t,t=0,r=this.length):"string"===typeof r&&(o=r,r=this.length),void 0!==o&&"string"!==typeof o)throw new TypeError("encoding must be a string");if("string"===typeof o&&!c.isEncoding(o))throw new TypeError("Unknown encoding: "+o);if(1===e.length){var i=e.charCodeAt(0);("utf8"===o&&i<128||"latin1"===o)&&(e=i)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var n;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"===typeof e)for(n=t;n<r;++n)this[n]=e;else{var a=c.isBuffer(e)?e:c.from(e,o),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(n=0;n<r-t;++n)this[n+t]=a[n%s]}return this};var z=/[^+/0-9A-Za-z-_]/g;function J(e){if(e=e.split("=")[0],e=e.trim().replace(z,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function Y(e,t){var r;t=t||1/0;for(var o=e.length,i=null,n=[],a=0;a<o;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&n.push(239,191,189);continue}if(a+1===o){(t-=3)>-1&&n.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&n.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&n.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;n.push(r)}else if(r<2048){if((t-=2)<0)break;n.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;n.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;n.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return n}function H(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function q(e,t){for(var r,o,i,n=[],a=0;a<e.length;++a){if((t-=2)<0)break;r=e.charCodeAt(a),o=r>>8,i=r%256,n.push(i),n.push(o)}return n}function W(e){return i.toByteArray(J(e))}function X(e,t,r,o){for(var i=0;i<o;++i){if(i+r>=t.length||i>=e.length)break;t[i+r]=e[i]}return i}function Z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Q(e){return e!==e}var ee=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=16*r,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()},1212:function(e,t,r){"use strict";r.r(t);var o=r(429),i=r.n(o),n=r(1214),a=r.n(n),s=a()(i());s.push([e.id,".overlay[data-v-1d9696d1]{align-items:center;background-color:var(--overlay-bg);display:flex;justify-content:center;position:absolute;bottom:0;top:0;left:0;right:0;text-align:center;z-index:12}.overlay-main-mode[data-v-1d9696d1]{top:var(--header-height);z-index:51}.overlay-content-mode[data-v-1d9696d1]{left:calc(var(--nav-width));top:var(--header-height)}",""]),t["default"]=s},1481:function(e,t,r){"use strict";r.r(t);var o=r(429),i=r.n(o),n=r(1214),a=r.n(n),s=a()(i());s.push([e.id,".key-value{width:100%}.key-value .file-selector.role-link{text-transform:none;padding:0}.key-value .kv-container{display:grid;align-items:center;-moz-column-gap:20px;column-gap:20px}.key-value .kv-container label{margin-bottom:0}.key-value .kv-container .kv-item{width:100%;margin:10px 0 10px 0}.key-value .kv-container .kv-item.extra,.key-value .kv-container .kv-item.key{align-self:flex-start}.key-value .kv-container .kv-item.value .value-container.upload-button{position:relative;display:flex;justify-content:right;align-items:center}.key-value .kv-container .kv-item.value .value-container .file-selector{position:absolute;margin-right:5px}.key-value .kv-container .kv-item.value textarea{padding:10px 10px 10px 10px}.key-value .kv-container .kv-item .text-monospace:not(.conceal){font-family:monospace,monospace}.key-value .row,.key-value .rowgroup{display:grid;grid-column-start:1;grid-column-end:span end;grid-template-columns:subgrid}.key-value .row:before{display:none}.key-value .remove{text-align:center}.key-value .remove BUTTON{padding:0}.key-value .title{margin-bottom:10px}.key-value .title .read-from-file{float:right}.key-value input{height:40px;line-height:1}.key-value .footer .protip{float:right;padding:5px 0}.key-value .download{text-align:right}.key-value .copy-value{padding:0 0 0 10px}",""]),t["default"]=s},1507:function(e){"use strict";e.exports=JSON.parse('{"hasStylesheet":"false"}')},1862:function(e){"use strict";e.exports=JSON.parse('{"hasStylesheet":"false"}')},2676:function(e,t,r){"use strict";r.r(t);var o=r(429),i=r.n(o),n=r(1214),a=r.n(n),s=a()(i());s.push([e.id,".unlabeled-select[data-v-36e59bb3]{position:relative}.unlabeled-select[data-v-36e59bb3] .v-select.select-input-view .vs__actions{visibility:hidden}.unlabeled-select .vs--multiple[data-v-36e59bb3] .vs__selected-options .vs__selected{width:auto}.unlabeled-select[data-v-36e59bb3] .labeled-tooltip.error .status-icon{top:7px;right:2px}.unlabeled-select[data-v-36e59bb3] .vs__selected-options{display:flex;margin:3px}.unlabeled-select[data-v-36e59bb3] .vs__selected-options .vs__selected{width:auto}.unlabeled-select[data-v-36e59bb3] .v-select.vs--open .vs__dropdown-toggle{color:var(--outline)!important}.unlabeled-select.focused.success[data-v-36e59bb3],.unlabeled-select.success[data-v-36e59bb3]{border:solid 1px var(--success)}.unlabeled-select.focused.success .selected[data-v-36e59bb3],.unlabeled-select.focused.success .vs__actions[data-v-36e59bb3]:after,.unlabeled-select.focused.success input[data-v-36e59bb3],.unlabeled-select.success .selected[data-v-36e59bb3],.unlabeled-select.success .vs__actions[data-v-36e59bb3]:after,.unlabeled-select.success input[data-v-36e59bb3]{color:var(--success)}.unlabeled-select.focused.warning[data-v-36e59bb3],.unlabeled-select.warning[data-v-36e59bb3]{border:solid 1px var(--warning)}.unlabeled-select.focused.warning .selected[data-v-36e59bb3],.unlabeled-select.focused.warning .vs__actions[data-v-36e59bb3]:after,.unlabeled-select.focused.warning input[data-v-36e59bb3],.unlabeled-select.warning .selected[data-v-36e59bb3],.unlabeled-select.warning .vs__actions[data-v-36e59bb3]:after,.unlabeled-select.warning input[data-v-36e59bb3]{color:var(--warning)}.unlabeled-select.error[data-v-36e59bb3],.unlabeled-select.focused.error[data-v-36e59bb3]{border:solid 1px var(--error)}.unlabeled-select.error .vs__actions[data-v-36e59bb3]:after,.unlabeled-select.error>label[data-v-36e59bb3],.unlabeled-select.focused.error .vs__actions[data-v-36e59bb3]:after,.unlabeled-select.focused.error>label[data-v-36e59bb3]{color:var(--error)}.unlabeled-select.compact-input[data-v-36e59bb3]{min-height:40px;line-height:18px}",""]),t["default"]=s},2741:function(e,t,r){"use strict";r.d(t,{A:function(){return _}});var o=r(9274);const i={key:0,class:"radio-group label"},n={key:2,class:"icon icon-info icon-lg"},a={key:3,class:"icon icon-info icon-lg"},s=["aria-label"];function l(e,t,r,l,u,c){const d=(0,o.resolveComponent)("t"),p=(0,o.resolveComponent)("RadioButton"),h=(0,o.resolveDirective)("clean-tooltip");return(0,o.openBlock)(),(0,o.createElementBlock)("div",null,[e.label||e.labelKey||e.tooltip||e.tooltipKey||e.$slots.label?((0,o.openBlock)(),(0,o.createElementBlock)("div",i,[(0,o.renderSlot)(e.$slots,"label",{},(()=>[(0,o.createElementVNode)("h3",null,[e.labelKey?((0,o.openBlock)(),(0,o.createBlock)(d,{key:0,k:e.labelKey},null,8,["k"])):e.label?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createTextVNode)((0,o.toDisplayString)(e.label),1)],64)):(0,o.createCommentVNode)("",!0),e.tooltipKey?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("i",n,null,512)),[[h,e.t(e.tooltipKey)]]):e.tooltip?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("i",a,null,512)),[[h,e.tooltip]]):(0,o.createCommentVNode)("",!0)])]))])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",{ref:"radioGroup",role:"radiogroup","aria-label":e.radioGroupLabel,class:(0,o.normalizeClass)(["radio-group",{row:e.row}]),tabindex:"0",onKeydown:[t[1]||(t[1]=(0,o.withKeys)((0,o.withModifiers)((t=>e.clickNext(1)),["prevent","stop"]),["down"])),t[2]||(t[2]=(0,o.withKeys)((0,o.withModifiers)((t=>e.clickNext(-1)),["prevent","stop"]),["up"])),t[3]||(t[3]=(0,o.withKeys)((0,o.withModifiers)((()=>{}),["stop","prevent"]),["space","enter"]))]},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.normalizedOptions,((r,i)=>((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:i},[(0,o.renderSlot)(e.$slots,i,{vBind:e.$attrs,option:r,isDisabled:e.isDisabled},(()=>[(0,o.createVNode)(p,{name:e.name,value:e.value,label:r.label,description:r.description,val:r.value,disabled:e.isDisabled,"data-testid":`radio-button-${i}`,mode:e.mode,"prevent-focus-on-radio-groups":!0,"onUpdate:value":t[0]||(t[0]=t=>e.$emit("update:value",t))},null,8,["name","value","label","description","val","disabled","data-testid","mode"])]))])))),128))],42,s)])}var u=r(4220);const c=["id","disabled","name","value","data-testid","checked"],d=["tabindex","aria-label","aria-checked"],p={class:"labeling"},h=["for"],f={key:1},m={key:0,class:"radio-button-outer-container-description"},y={key:1,class:"radio-button-outer-container-description"};function g(e,t,r,i,n,a){const s=(0,o.resolveComponent)("t"),l=(0,o.resolveDirective)("clean-html");return(0,o.openBlock)(),(0,o.createElementBlock)("label",{class:(0,o.normalizeClass)({disabled:e.isDisabled,"radio-container":!0,"radio-button-checked":e.isChecked}),onKeydown:[t[1]||(t[1]=(0,o.withKeys)((t=>e.clicked(t)),["enter"])),t[2]||(t[2]=(0,o.withKeys)((t=>e.clicked(t)),["space"]))],onClick:t[3]||(t[3]=(0,o.withModifiers)((t=>e.clicked(t)),["stop"]))},[(0,o.createElementVNode)("input",{id:e.randomString,disabled:e.isDisabled,name:e.name,value:""+e.val,"data-testid":e.label,checked:e.isChecked,type:"radio",tabindex:-1,onClick:t[0]||(t[0]=(0,o.withModifiers)((()=>{}),["stop","prevent"]))},null,8,c),(0,o.createElementVNode)("span",{ref:"custom",class:(0,o.normalizeClass)([e.isDisabled?"text-muted":"","radio-custom"]),tabindex:e.isDisabled||e.preventFocusOnRadioGroups?-1:0,"aria-label":e.label,"aria-checked":e.isChecked,role:"radio"},null,10,d),(0,o.createElementVNode)("div",p,[(0,o.createElementVNode)("label",{class:(0,o.normalizeClass)([e.muteLabel?"text-muted":"","radio-label","m-0"]),for:e.name},[e.hasLabelSlot?(0,o.renderSlot)(e.$slots,"label",{key:0}):e.label?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("span",f,null,512)),[[l,e.label]]):(0,o.createCommentVNode)("",!0)],10,h),e.descriptionKey||e.description?((0,o.openBlock)(),(0,o.createElementBlock)("div",m,[e.descriptionKey?((0,o.openBlock)(),(0,o.createBlock)(s,{key:0,k:e.descriptionKey},null,8,["k"])):e.description?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createTextVNode)((0,o.toDisplayString)(e.description),1)],64)):(0,o.createCommentVNode)("",!0)])):e.hasDescriptionSlot?((0,o.openBlock)(),(0,o.createElementBlock)("div",y,[(0,o.renderSlot)(e.$slots,"description")])):(0,o.createCommentVNode)("",!0)])],34)}var v=r(2043),b=(0,o.defineComponent)({props:{name:{type:String,default:""},val:{required:!0,validator:()=>!0},value:{required:!0,validator:()=>!0},label:{type:String,default:""},disabled:{type:Boolean,default:!1},mode:{type:String,default:"edit"},descriptionKey:{type:String,default:null},description:{type:String,default:null},preventFocusOnRadioGroups:{type:Boolean,default:!1}},emits:["update:value"],data(){return{isChecked:this.value===this.val,randomString:`${(0,v.vx)()}-radio`}},computed:{isDisabled(){return this.mode===u.nW||this.disabled},muteLabel(){return this.disabled&&!(this.mode===u.nW&&this.isChecked)},hasDescriptionSlot(){return!!this.$slots.description},hasLabelSlot(){return!!this.$slots.label}},watch:{value(e){this.isChecked=this.val===e,this.isChecked&&!this.preventFocusOnRadioGroups&&this.$refs.custom.focus()}},methods:{clicked(e){const t=e.target;this.isDisabled||t instanceof HTMLElement&&"A"===t.tagName||this.$emit("update:value",this.val)}}}),E=(r(3717),r(7433));const k=(0,E.A)(b,[["render",g]]);var w=k,S=(0,o.defineComponent)({components:{RadioButton:w},props:{name:{type:String,required:!0},options:{type:Array,required:!0},labels:{type:Array,default:null},value:{type:[Boolean,String,Object],default:null},disabled:{type:Boolean,default:!1},mode:{type:String,default:"edit"},label:{type:String,default:null},labelKey:{type:String,default:null},tooltip:{type:[String,Object],default:null},tooltipKey:{type:String,default:null},row:{type:Boolean,default:!1}},emits:["update:value"],data(){return{currFocusedElem:void 0}},computed:{normalizedOptions(){const e=[];for(let t=0;t<this.options.length;t++){const r=this.options[t];"object"===typeof r&&r?e.push(r):this.labels?e.push({label:this.labels[t],value:r}):e.push({label:r,value:r})}return e},isView(){return this.mode===u.nW},isDisabled(){return this.disabled||this.isView},radioGroupLabel(){return this.labelKey?this.t(this.labelKey):this.label?this.label:""}},beforeUnmount(){var e;const t=null===(e=this.$refs)||void 0===e?void 0:e.radioGroup;t.removeEventListener("focusin",this.focusChanged)},mounted(){var e;const t=null===(e=this.$refs)||void 0===e?void 0:e.radioGroup;t.addEventListener("focusin",this.focusChanged)},methods:{focusChanged(e){this.currFocusedElem=e.target},clickNext(e){var t;if(this.currFocusedElem!==(null===(t=this.$refs)||void 0===t?void 0:t.radioGroup))return;const r=this.normalizedOptions,o=r.find((e=>e.value===this.value));let i=(o?r.indexOf(o):-1)+e;i>=r.length?i=r.length-1:i<0&&(i=0),this.$emit("update:value",r[i].value)}}});r(4792);const N=(0,E.A)(S,[["render",l]]);var _=N},2784:function(e,t,r){var o=r(1580),i=r(4495),n=r(6131),a="Expected a function",s=Math.max,l=Math.min;function u(e,t,r){var u,c,d,p,h,f,m=0,y=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var r=u,o=c;return u=c=void 0,m=t,p=e.apply(o,r),p}function E(e){return m=e,h=setTimeout(S,t),y?b(e):p}function k(e){var r=e-f,o=e-m,i=t-r;return g?l(i,d-o):i}function w(e){var r=e-f,o=e-m;return void 0===f||r>=t||r<0||g&&o>=d}function S(){var e=i();if(w(e))return N(e);h=setTimeout(S,k(e))}function N(e){return h=void 0,v&&u?b(e):(u=c=void 0,p)}function _(){void 0!==h&&clearTimeout(h),m=0,u=f=c=h=void 0}function B(){return void 0===h?p:N(i())}function A(){var e=i(),r=w(e);if(u=arguments,c=this,f=e,r){if(void 0===h)return E(f);if(g)return clearTimeout(h),h=setTimeout(S,t),b(f)}return void 0===h&&(h=setTimeout(S,t)),p}return t=n(t)||0,o(r)&&(y=!!r.leading,g="maxWait"in r,d=g?s(n(r.maxWait)||0,t):d,v="trailing"in r?!!r.trailing:v),A.cancel=_,A.flush=B,A}e.exports=u},2788:function(e,t,r){var o=r(2676);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=r(4825).A;i("27d15249",o,!0,{sourceMap:!1,shadowMode:!1})},2914:function(e,t,r){"use strict";r.d(t,{A:function(){return y}});var o=r(9274);const i=["tabindex"],n={key:0},a={key:0,class:"keymap overlay"},s=["aria-describedby"],l={key:1};function u(e,t,r,u,c,d){const p=(0,o.resolveComponent)("Codemirror"),h=(0,o.resolveDirective)("clean-tooltip");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{ref:"codeMirrorContainer",tabindex:d.codeMirrorContainerTabIndex,class:(0,o.normalizeClass)(["code-mirror code-mirror-container",{["as-text-area"]:r.asTextArea}]),onFocusin:t[1]||(t[1]=(...e)=>d.focusChanged&&d.focusChanged(...e)),onBlur:t[2]||(t[2]=e=>d.focusChanged(e,!0))},[c.loaded?((0,o.openBlock)(),(0,o.createElementBlock)("div",n,[r.showKeyMapBox&&!c.removeKeyMapBox&&d.keyMapTooltip&&d.isNonDefaultKeyMap?((0,o.openBlock)(),(0,o.createElementBlock)("div",a,[(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("div",{class:"keymap-indicator","data-testid":"code-mirror-keymap",onClick:t[0]||(t[0]=(...e)=>d.closeKeyMapInfo&&d.closeKeyMapInfo(...e))},t[3]||(t[3]=[(0,o.createElementVNode)("i",{class:"icon icon-keyboard keymap-icon"},null,-1),(0,o.createElementVNode)("div",{class:"close-indicator"},[(0,o.createElementVNode)("i",{class:"icon icon-close icon-sm"})],-1)]))),[[h,d.keyMapTooltip]])])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)(p,{id:"code-mirror-el",ref:"codeMirrorRef",value:r.value,options:d.combinedOptions,disabled:d.isDisabled,"original-style":!0,onReady:d.onReady,onInput:d.onInput,onChanges:d.onChanges,onFocus:d.onFocus,onBlur:d.onBlur},null,8,["value","options","disabled","onReady","onInput","onChanges","onFocus","onBlur"]),(0,o.withDirectives)((0,o.createElementVNode)("span",{class:"escape-text",role:"alert","aria-describedby":e.t("wm.containerShell.escapeText")},(0,o.toDisplayString)(e.t("codeMirror.escapeText")),9,s),[[o.vShow,c.isCodeMirrorFocused]])])):((0,o.openBlock)(),(0,o.createElementBlock)("div",l," Loading... "))],42,i)}var c=r(8632),d=r(4220),p=r(4364),h={name:"CodeMirror",emits:["onReady","onInput","onChanges","onFocus","validationChanged"],props:{mode:{type:String,default:d.G5},value:{type:String,required:!0},options:{type:Object,default:()=>{}},asTextArea:{type:Boolean,default:!1},showKeyMapBox:{type:Boolean,default:!1}},data(){return{codeMirrorRef:null,loaded:!1,removeKeyMapBox:!1,hasLintErrors:!1,currFocusedElem:void 0,isCodeMirrorFocused:!1,codeMirrorContainerRef:void 0}},computed:{isDisabled(){return this.mode===d.nW},combinedOptions(){const e=this.$store.getters["prefs/theme"],t=this.$store.getters["prefs/get"](c.aP),r={tabSize:2,indentWithTabs:!1,mode:"yaml",keyMap:t,theme:`base16-${e}`,lineNumbers:!0,line:!0,styleActiveLine:!1,lineWrapping:!0,foldGutter:!0,styleSelectedText:!0,showCursorWhenSelecting:!0,autocorrect:!1};return this.asTextArea&&(r.lineNumbers=!1,r.foldGutter=!1,r.tabSize=0,r.extraKeys={Tab:!1}),Object.assign(r,this.options),this.options?.lint&&(r.lint={onUpdateLinting:this.handleLintErrors}),r.readOnly=!!this.isDisabled&&"nocursor",r},keyMapTooltip(){if(this.combinedOptions?.keyMap){const e=this.t(`prefs.keymap.${this.combinedOptions.keyMap}`);return this.t("codeMirror.keymap.indicatorToolip",{name:e})}return null},isNonDefaultKeyMap(){return"sublime"!==this.combinedOptions?.keyMap},isCodeMirrorContainerFocused(){return this.currFocusedElem===this.codeMirrorContainerRef},codeMirrorContainerTabIndex(){return this.isCodeMirrorFocused?0:-1}},created(){window.__codeMirrorLoader?window.__codeMirrorLoader().then((()=>{this.loaded=!0})):p.error("Code mirror loader not available")},async mounted(){const e=this.$refs.codeMirrorContainer;e.addEventListener("keydown",this.handleKeyPress),this.codeMirrorContainerRef=this.$refs.codeMirrorContainer},beforeUnmount(){const e=this.$refs.codeMirrorContainer;e.removeEventListener("keydown",this.handleKeyPress)},watch:{hasLintErrors(e){this.$emit("validationChanged",!e)},isCodeMirrorContainerFocused:{handler(e){const t=this.codeMirrorRef?.getInputField();t&&(t.tabIndex=e?-1:0)},immediate:!0}},methods:{focusChanged(e,t=!1){this.currFocusedElem=t?void 0:e.target},handleKeyPress(e){this.isCodeMirrorFocused&&"Escape"===e.code&&(e.preventDefault(),e.stopPropagation());const t=e.shiftKey&&"Escape"===e.code;this.isCodeMirrorFocused&&t&&this.$refs?.codeMirrorContainer?.focus(),!this.isCodeMirrorContainerFocused||"Enter"!==e.code&&"Space"!==e.code||this.codeMirrorRef.focus()},handleLintErrors(e=[]){const t=e.filter((e=>!e.severity||"error"===e.severity)).length>0;this.hasLintErrors=t},focus(){this.$refs.codeMirrorRef&&this.$refs.codeMirrorRef.cminstance.focus()},refresh(){this.$refs.codeMirrorRef&&this.$refs.codeMirrorRef.refresh()},onReady(e){this.$emit("validationChanged",!0),this.$nextTick((()=>{e.refresh(),this.codeMirrorRef=e})),this.$emit("onReady",e)},onInput(e){this.$emit("onInput",e)},onChanges(e,t){this.$emit("onChanges",e,t)},onFocus(){this.isCodeMirrorFocused=!0,this.$emit("onFocus",!0)},onBlur(){this.isCodeMirrorFocused=!1,this.$emit("onFocus",!1)},updateValue(e){this.$refs.codeMirrorRef&&this.$refs.codeMirrorRef.cminstance.doc.setValue(e)},closeKeyMapInfo(){this.removeKeyMapBox=!0}}},f=(r(406),r(7433));const m=(0,f.A)(h,[["render",u]]);var y=m},2945:function(e){var t=/\s/;function r(e){var r=e.length;while(r--&&t.test(e.charAt(r)));return r}e.exports=r},3717:function(e,t,r){var o=r(6341);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=r(4825).A;i("c48adce4",o,!0,{sourceMap:!1,shadowMode:!1})},4302:function(e,t,r){"use strict";r.d(t,{QP:function(){return a},Ul:function(){return d}});var o=r(6978);r(2043);const i={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regexp","[object Object]":"object","[object FileList]":"filelist"},{toString:n}=Object.prototype;function a(e){if(null===e)return"null";if(void 0===e)return"undefined";let t=i[n.call(e)]||"object";return"object"===t&&(e instanceof Error?t="error":e instanceof Date&&(t="date")),t}function s(e,t){const r=e-t;return(r>0)-(r<0)}const l={undefined:0,null:1,boolean:2,number:3,string:4,array:5,object:6,instance:7,function:8,class:9,date:10};function u(e,t){const r=a(e),o=a(t),i=s(l[r],l[o]);if(i)return i;switch(r){case"boolean":case"number":return s(e,t);case"string":return s(e.localeCompare(t),0);case"array":{const r=e.length,o=t.length,i=Math.min(r,o);for(let n=0;n<i;n++){const r=u(e[n],t[n]);if(0!==r)return r}return s(r,o)}case"date":return s(e.getTime(),t.getTime())}return 0}function c(e){const t=e.split(/:/);return 2===t.length&&"desc"===t[1]?{field:t[0],reverse:!0}:{field:e,reverse:!1}}function d(e,t,r){return Array.isArray(t)||(t=[t]),(e||[]).slice().sort(((e,i)=>{for(let n=0;n<t.length;n++){const a=c(t[n]),s=(0,o.Jt)(e,a.field),l=(0,o.Jt)(i,a.field);let d=u(s,l);if(d)return r&&(d*=-1),a.reverse&&(d*=-1),d}return 0}))}},4495:function(e,t,r){var o=r(8942),i=function(){return o.Date.now()};e.exports=i},4517:function(e,t,r){"use strict";r.r(t);var o=r(429),i=r.n(o),n=r(1214),a=r.n(n),s=a()(i());s.push([e.id,".advanced[data-v-2f23a389]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;line-height:40px;font-size:15px;font-weight:500}.advanced .disabled[data-v-2f23a389]{cursor:not-allowed}.content[data-v-2f23a389]{background:var(--nav-active);padding:10px;margin-top:6px;border-radius:4px}",""]),t["default"]=s},4792:function(e,t,r){var o=r(8520);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=r(4825).A;i("210ee588",o,!0,{sourceMap:!1,shadowMode:!1})},5317:function(e,t,r){var o=r(4517);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=r(4825).A;i("61ea31ba",o,!0,{sourceMap:!1,shadowMode:!1})},5664:function(e,t,r){"use strict";r.d(t,{Mc:function(){return h},bB:function(){return s},eo:function(){return f},k$:function(){return i},m4:function(){return o},yx:function(){return a}});const o={PREFERENCE:"userpreference",SCHEMA_DEFINITION:"schemaDefinition"},i={APP:"app",AUTH_CONFIG:"authconfig",ETCD_BACKUP:"etcdbackup",CLUSTER:"cluster",CLUSTER_TOKEN:"clusterregistrationtoken",CLUSTER_ROLE_TEMPLATE_BINDING:"clusterroletemplatebinding",CLOUD_CREDENTIAL:"cloudcredential",FLEET_WORKSPACES:"fleetworkspace",GLOBAL_ROLE:"globalRole",GLOBAL_ROLE_BINDING:"globalRoleBinding",NODE_POOL:"nodePool",NODE:"node",PRINCIPAL:"principal",PROJECT:"project",PROJECT_ROLE_TEMPLATE_BINDING:"projectroletemplatebinding",SETTING:"setting",SPOOFED:{GROUP_PRINCIPAL:"group.principal"},ROLE_TEMPLATE:"roleTemplate",TOKEN:"token",USER:"user",KONTAINER_DRIVER:"kontainerDriver",NODE_DRIVER:"nodeDriver"},n="pod",a="schema",s="secret",l={DEPLOYMENT:"apps.deployment",CRON_JOB:"batch.cronjob",DAEMON_SET:"apps.daemonset",JOB:"batch.job",STATEFUL_SET:"apps.statefulset",REPLICA_SET:"apps.replicaset",REPLICATION_CONTROLLER:"replicationcontroller"},{DAEMON_SET:u,CRON_JOB:c,JOB:d,...p}=(l.DEPLOYMENT,l.CRON_JOB,l.DAEMON_SET,l.JOB,l.STATEFUL_SET,l.REPLICA_SET,l.REPLICATION_CONTROLLER,l.DAEMON_SET,l.REPLICA_SET,l.STATEFUL_SET,l.DEPLOYMENT,l),h={AUTH_CONFIG:"management.cattle.io.authconfig",CATALOG_TEMPLATE:"management.cattle.io.catalogtemplate",CLUSTER:"management.cattle.io.cluster",CLUSTER_ROLE_TEMPLATE_BINDING:"management.cattle.io.clusterroletemplatebinding",FEATURE:"management.cattle.io.feature",KONTAINER_DRIVER:"management.cattle.io.kontainerdriver",MULTI_CLUSTER_APP:"management.cattle.io.multiclusterapp",NODE:"management.cattle.io.node",NODE_DRIVER:"management.cattle.io.nodedriver",NODE_POOL:"management.cattle.io.nodepool",NODE_TEMPLATE:"management.cattle.io.nodetemplate",PROJECT:"management.cattle.io.project",PROJECT_ROLE_TEMPLATE_BINDING:"management.cattle.io.projectroletemplatebinding",ROLE_TEMPLATE:"management.cattle.io.roletemplate",SETTING:"management.cattle.io.setting",USER:"management.cattle.io.user",TOKEN:"management.cattle.io.token",GLOBAL_ROLE:"management.cattle.io.globalrole",GLOBAL_ROLE_BINDING:"management.cattle.io.globalrolebinding",PSA:"management.cattle.io.podsecurityadmissionconfigurationtemplate",MANAGED_CHART:"management.cattle.io.managedchart",USER_NOTIFICATION:"management.cattle.io.rancherusernotification",GLOBAL_DNS_PROVIDER:"management.cattle.io.globaldnsprovider",RKE_TEMPLATE:"management.cattle.io.clustertemplate",RKE_TEMPLATE_REVISION:"management.cattle.io.clustertemplaterevision",CLUSTER_PROXY_CONFIG:"management.cattle.io.clusterproxyconfig"},f="fleet-default"},6131:function(e,t,r){var o=r(6403),i=r(1580),n=r(1187),a=NaN,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;function d(e){if("number"==typeof e)return e;if(n(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var r=l.test(e);return r||u.test(e)?c(e.slice(2),r?2:8):s.test(e)?a:+e}e.exports=d},6341:function(e,t,r){"use strict";r.r(t);var o=r(429),i=r.n(o),n=r(1214),a=r.n(n),s=a()(i());s.push([e.id,".radio-view{display:flex;flex-direction:column}.radio-view LABEL{color:var(--input-label)}.radio-group .text-label{display:block;padding-bottom:5px}.radio-container{position:relative;display:inline-flex;align-items:flex-start;margin:0;left:-4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--border-radius);padding-bottom:5px;padding-left:4px}.radio-container,.radio-container .radio-button-outer-container-description,.radio-container .radio-label{cursor:pointer}.radio-container.disabled,.radio-container.disabled .radio-button-outer-container-description,.radio-container.disabled .radio-label{cursor:not-allowed}.radio-container .radio-custom{height:14px;width:14px;min-height:14px;min-width:14px;background-color:var(--input-bg);border-radius:50%;border:1.5px solid var(--border);margin-top:5px}.radio-container input{display:none}.radio-container .radio-custom[aria-checked=true]{background-color:var(--primary);transform:rotate(0deg) scale(1);opacity:1;border:1.5px solid var(--primary)}.radio-container .radio-custom[aria-checked=true].text-muted{opacity:.25}.radio-container input:disabled~.radio-custom:not([aria-checked=true]){background-color:var(--disabled-bg);opacity:.25}.radio-container .radio-button-outer-container-description{color:var(--input-label);font-size:11px;margin-top:5px}.radio-container .labeling{display:inline-flex;flex-direction:column;margin:3px 10px 0 5px}",""]),t["default"]=s},6403:function(e,t,r){var o=r(2945),i=/^\s+/;function n(e){return e?e.slice(0,o(e)+1).replace(i,""):e}e.exports=n},6414:function(e,t,r){"use strict";r.d(t,{A:function(){return E}});var o=r(4220),i=r(9274),n=r(8632),a=r(9726),s=r(8851),l=r(4302),u=r(4364);let c=1;const d="_beforeSaveHooks",p="_afterSaveHooks";var h={methods:{registerBeforeHook(e,t,r=99,o){this._registerHook(d,e,t,r,o)},unregisterBeforeSaveHook(e){this[d]=this[d].filter((t=>t.name!==e))},registerAfterHook(e,t,r=99,o){this._registerHook(p,e,t,r,o)},async applyHooks(e,...t){if(!e)throw new Error("Must specify key");const r=(0,l.Ul)(this[e]||[],["priority","name"]),o={};for(const i of r)u.debug("Applying hook",i.name),o[i.name]=await i.fn.apply(i.fnContext||this,t);return o},_registerHook(e,t,r,o,i){if(!e)throw new Error("Must specify key");r||(r=`hook_${c}`,c++),o||(o=99);let n=this[e];n||(n=[],this[e]=n);let a=(0,s.jq)(n,"name",r);a?(a.priority=o,a.fn=t,a.fnContext=i):(a={name:r,priority:o,fn:t,fnContext:i},n.push(a))}}},f=r(5664),m=r(6978),y=r(4364);f.yx;async function g(e,t,r,o,i,n){const a=await i.dispatch(`${n}/cleanForDiff`,e,{root:!0}),s=await i.dispatch(`${n}/cleanForDiff`,t.toJSON(),{root:!0}),l=await i.dispatch(`${n}/cleanForDiff`,r.toJSON(),{root:!0}),u=(0,m.no)(a,l),c=(0,m.no)(a,s),d=(0,m.MA)(u,c);if(y.log("Background Change",u),y.log("User Change",c),y.log("Conflicts",d),t.metadata.resourceVersion=r.metadata.resourceVersion,(0,m.TJ)(t,u),d.length){const e=[o["i18n/t"]("validation.conflict",{fields:d.join(", "),fieldCount:d.length})];return e}return!1}var v=r(4364),b={name:"CreateEditView",mixins:[h],emits:["done"],data(){return{errors:[]}},computed:{isCreate(){return this.mode===o.YQ},isEdit(){return this.mode===o.G5},isView(){return this.mode===o.nW},schema(){const e=this.storeOverride||this.$store.getters["currentStore"](this.value.type);return this.$store.getters[`${e}/schemaFor`](this.value.type)},isNamespaced(){return this.schema?.attributes?.namespaced||!1},labels:{get(){return this.value?.labels},set(e){this.value.setLabels(e)}},annotations:{get(){return this.value?.annotations},set(e){this.value.setAnnotations(e)}},doneRoute(){if(this.value?.doneRoute)return this.value.doneRoute;let e=this.$route.name;return e?.endsWith("-id")?e=e.replace(/(-namespace)?-id$/,""):e?.endsWith("-create")&&(e=e.replace(/-create$/,"")),e},doneParams(){if(this.value?.doneParams)return this.value.doneParams;const e={...this.$route.params};return delete e.namespace,delete e.id,e}},methods:{done(){if(!this.doneEvent)return this.doneLocationOverride?this.$router.replace(this.doneLocationOverride):void(this.doneRoute&&this.$router.replace({name:this.doneRoute,params:this.doneParams||{resource:this.value.type}}));this.$emit("done")},async conflict(){return await g(this.initialValue.toJSON(),this.value,this.liveValue,this.$store.getters,this.$store,this.storeOverride||this.$store.getters["currentStore"](this.value.type))},async save(e,t,r=0){this.errors&&(0,s.IU)(this.errors);try{if(await this.applyHooks(d,this.value),this.value?.metadata?.labels&&0===Object.keys(this.value.metadata.labels||{}).length&&delete this.value.metadata.labels,this.value?.metadata?.annotations&&0===Object.keys(this.value.metadata.annotations||{}).length&&delete this.value.metadata.annotations,this.isCreate){const e=this.value?.metadata?.namespace;e&&e!==f.eo&&this.value.$dispatch("prefs/set",{key:n.Ri,value:e},{root:!0})}await this.actuallySave(t),this.$store.getters["type-map/isSpoofed"](this.value.type)&&await this.$store.dispatch("cluster/findAll",{type:this.value.type,opt:{force:!0}},{root:!0}),await this.applyHooks(p,this.value),e&&e(!0),this.done()}catch(o){const i=409===o.status||409===o._status;if(i&&0===r&&this.isEdit){const o=await this.conflict();if(!1===o)return this.save(e,t,r+1);this.errors=o}else this.errors=(0,a.rz)(o);v.error("CreateEditView mixin failed to save: ",o),e&&e(!1)}},async actuallySave(e){if(this.isCreate){e=e||this.schema.linkFor("collection");const t=await this.value.save({url:e});t&&Object.assign(this.value,t)}else await this.value.save()},setErrors(e){this.errors=e}}},E=(0,i.defineComponent)({...b,props:{mode:{type:String,default:o.G5},realMode:{type:String,default:o.G5},as:{type:String,default:o.zD},value:{type:Object,required:!0},initialValue:{type:Object,default:null},liveValue:{type:Object,default:null},doneEvent:{type:Boolean,default:!1}}})},6471:function(e){"use strict";e.exports=JSON.parse('{"hasStylesheet":"true"}')},6534:function(e,t,r){"use strict";r.r(t);var o=r(429),i=r.n(o),n=r(1214),a=r.n(n),s=a()(i());s.push([e.id,'.code-mirror.code-mirror-container:focus-visible{outline:2px solid var(--primary-keyboard-focus)}.code-mirror.as-text-area .codemirror-container{min-height:40px;position:relative;display:block;box-sizing:border-box;width:100%;padding:10px;background-color:var(--input-bg);border-radius:var(--border-radius);border:solid var(--border-width) var(--input-border);color:var(--input-text)}.code-mirror.as-text-area .codemirror-container:hover{border-color:var(--input-hover-border)}.code-mirror.as-text-area .codemirror-container.focus,.code-mirror.as-text-area .codemirror-container:focus{outline:none;border-color:var(--outline)}.code-mirror.as-text-area .codemirror-container .CodeMirror-wrap pre{word-break:break-word}.code-mirror.as-text-area .codemirror-container .CodeMirror-code .CodeMirror-line .cm-markdown-single-trailing-space-even:before,.code-mirror.as-text-area .codemirror-container .CodeMirror-code .CodeMirror-line .cm-markdown-single-trailing-space-odd:before,.code-mirror.as-text-area .codemirror-container .CodeMirror-code .CodeMirror-line:not(:last-child)>span:after{color:var(--muted);position:absolute;line-height:20px;pointer-events:none}.code-mirror.as-text-area .codemirror-container .CodeMirror-code .CodeMirror-line:not(:last-child)>span:after{content:"↵";margin-left:2px}.code-mirror.as-text-area .codemirror-container .CodeMirror-code .CodeMirror-line .cm-markdown-single-trailing-space-even:before,.code-mirror.as-text-area .codemirror-container .CodeMirror-code .CodeMirror-line .cm-markdown-single-trailing-space-odd:before{font-weight:700;content:"·"}.code-mirror.as-text-area .codemirror-container .CodeMirror-lines{color:var(--input-text);padding:0}.code-mirror.as-text-area .codemirror-container .CodeMirror-lines .CodeMirror-line>span>span.cm-overlay{font-family:monospace}.code-mirror.as-text-area .codemirror-container .CodeMirror-lines .CodeMirror-line>span{font-family:Lato,arial,helvetica,sans-serif}.code-mirror.as-text-area .codemirror-container .CodeMirror-sizer{min-height:20px}.code-mirror.as-text-area .codemirror-container .CodeMirror-selected{background-color:var(--primary)!important}.code-mirror.as-text-area .codemirror-container .CodeMirror-selectedtext{color:var(--primary-text)}.code-mirror.as-text-area .codemirror-container .CodeMirror-line::selection,.code-mirror.as-text-area .codemirror-container .CodeMirror-line>span::selection,.code-mirror.as-text-area .codemirror-container .CodeMirror-line>span>span::selection{color:var(--primary-text);background-color:var(--primary)}.code-mirror.as-text-area .codemirror-container .CodeMirror-line::-moz-selection,.code-mirror.as-text-area .codemirror-container .CodeMirror-line>span::-moz-selection,.code-mirror.as-text-area .codemirror-container .CodeMirror-line>span>span::-moz-selection{color:var(--primary-text);background-color:var(--primary)}.code-mirror.as-text-area .codemirror-container .CodeMirror-gutters .CodeMirror-foldgutter:empty{display:none}.code-mirror{position:relative;margin-bottom:20px}.code-mirror .escape-text{font-size:12px;position:absolute;bottom:-20px;left:0}.code-mirror .codemirror-container{z-index:0;font-size:inherit!important}.code-mirror .codemirror-container .CodeMirror{height:auto;background:none}.code-mirror .codemirror-container .CodeMirror-gutters{background:inherit}.code-mirror .keymap.overlay{position:absolute;display:flex;top:7px;right:7px;z-index:1;cursor:pointer}.code-mirror .keymap.overlay .keymap-indicator{width:48px;height:32px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;color:var(--darker);background-color:var(--overlay-bg);font-size:12px}.code-mirror .keymap.overlay .keymap-indicator .close-indicator{width:0}.code-mirror .keymap.overlay .keymap-indicator .close-indicator .icon-close{color:var(--primary);opacity:0}.code-mirror .keymap.overlay .keymap-indicator .keymap-icon{font-size:24px;opacity:.8;transition:margin-right .1s ease-in-out}.code-mirror .keymap.overlay .keymap-indicator:hover{border:1px solid var(--primary);border-radius:var(--border-radius)}.code-mirror .keymap.overlay .keymap-indicator:hover .close-indicator{margin-left:-6px;width:auto}.code-mirror .keymap.overlay .keymap-indicator:hover .close-indicator .icon-close{opacity:1;transition:opacity .1s ease-in-out .1s}.code-mirror .keymap.overlay .keymap-indicator:hover .keymap-icon{opacity:.6;margin-right:10px}',""]),t["default"]=s},6625:function(e,t,r){"use strict";r.d(t,{A:function(){return p}});var o=r(9274);const i=["disabled"],n={key:0,class:"icon icon-chevron-down","data-testid":"collapse-icon-down"},a={key:1,class:"icon icon-chevron-right","data-testid":"collapse-icon-right"},s={key:0,class:"content","data-testid":"collapse-content"};function l(e,t,r,l,u,c){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(["collapse",{disabled:r.isDisabled}])},[(0,o.renderSlot)(e.$slots,"title",{},(()=>[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(["advanced text-link",{disabled:r.isDisabled}]),disabled:r.isDisabled,"data-testid":"collapse-div",onClick:t[0]||(t[0]=(...e)=>c.showAdvanced&&c.showAdvanced(...e))},[r.open?((0,o.openBlock)(),(0,o.createElementBlock)("i",n)):((0,o.openBlock)(),(0,o.createElementBlock)("i",a)),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(r.title),1)],10,i)]),!0),r.open?((0,o.openBlock)(),(0,o.createElementBlock)("div",s,[(0,o.renderSlot)(e.$slots,"default",{},void 0,!0)])):(0,o.createCommentVNode)("",!0)],2)}var u={name:"Collapse",emits:["update:open"],props:{open:{type:Boolean,default:!0},title:{type:String,default:""},isDisabled:{type:Boolean,default:!1}},methods:{showAdvanced(){this.$emit("update:open",!this.open)}}},c=(r(5317),r(7433));const d=(0,c.A)(u,[["render",l],["__scopeId","data-v-2f23a389"]]);var p=d},6844:function(e,t,r){var o=r(1212);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=r(4825).A;i("d02bc2bc",o,!0,{sourceMap:!1,shadowMode:!1})},7188:function(e,t,r){"use strict";r.d(t,{A:function(){return m}});var o=r(9274);function i(e,t,r,i,n,a){const s=(0,o.resolveComponent)("LabeledInput");return(0,o.openBlock)(),(0,o.createBlock)(s,(0,o.mergeProps)({ref:"value",value:a.displayValue},e.$attrs,{type:"number",min:r.min,mode:r.mode,label:r.label,delay:r.delay,"label-key":r.labelKey,tooltip:r.tooltip,"tooltip-key":r.tooltipKey,required:r.required,placeholder:r.placeholder,"hide-arrows":r.hideArrows,"onUpdate:value":a.update,onBlur:t[0]||(t[0]=e=>a.update(e.target.value))}),{suffix:(0,o.withCtx)((()=>[a.displayUnit?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:(0,o.normalizeClass)(["addon",{"with-tooltip":r.tooltip||r.tooltipKey}])},(0,o.toDisplayString)(a.displayUnit),3)):(0,o.createCommentVNode)("",!0)])),_:1},16,["value","min","mode","label","delay","label-key","tooltip","tooltip-key","required","placeholder","hide-arrows","onUpdate:value"])}const n=["","K","M","G","T","P","E","Z","Y"],a=["","m","u","n","p","f","a","z","y"];function s(e,{increment:t=1e3,addSuffix:r=!0,addSuffixSpace:o=!0,suffix:i="",firstSuffix:u=null,startingExponent:c=0,minExponent:d=0,maxExponent:p=99,maxPrecision:h=2,canRoundToZero:f=!0}={}){let m=e,y=c;const g=p>=0;if(g)while(m>=t&&y+1<n.length&&y<p||y<d)m/=t,y++;else while(m<t&&y+1<a.length&&y<-1*p||y<-1*d)m*=t,y++;let v="";if(v=m<10&&h>=1?""+Math.round(m*10**h)/10**h:`${Math.round(m)}`,"0"===v&&!f&&0!==e){const o=l(e,t);return s(e,{increment:t,addSuffix:r,suffix:i,firstSuffix:u,startingExponent:c,minExponent:o,maxExponent:o,maxPrecision:h,canRoundToZero:!0})}return r&&(o&&(v+=" "),v+=0===y&&null!==u?`${u}`:`${g?n[y]:a[y]}${i}`||""),v}function l(e,t=1e3){let r=0;while(e>=t)e/=t,r++;return r}function u(e,t){t=t||{};let r=t.increment;const o=!1!==t.allowFractional;if(!e||"string"!==typeof e||!e.length)return NaN;e=e.replace(/,/g,"");let[,i,s,l]=e.match(/^([0-9.-]+)\s*([^0-9.-]?)([^0-9.-]?)/);const u=parseFloat(i);if(!s)return u;181===s.charCodeAt(0)&&(s="u");const c=a.includes(s),d=n.includes(s.toUpperCase());if(r||(r=(d||c)&&"i"===l?1024:1e3),c&&o){const e=a.indexOf(s);return u/r**e}if(d){const e=n.indexOf(s.toUpperCase());return u*r**e}return u}var c=r(7677),d=r(4220),p={components:{LabeledInput:c.o},emits:["update:value","update:validation","change","blur"],props:{outputAs:{type:String,default:"number"},outputModifier:{type:Boolean,default:!1},inputExponent:{type:Number,default:0},baseUnit:{type:String,default:"B"},hideArrows:{type:Boolean,default:!1},increment:{type:Number,default:1e3},suffix:{type:String,default:null},mode:{type:String,default:d.G5},value:{type:[Number,String],default:null},label:{type:String,default:null},labelKey:{type:String,default:null},tooltip:{type:[String,Object],default:null},tooltipKey:{type:String,default:null},required:{type:Boolean,default:!1},min:{type:[Number,String],default:0},placeholder:{type:[String,Number],default:""},delay:{type:Number,default:0},positive:{type:Boolean,default:!1}},computed:{unit(){let e;return e=this.inputExponent>=0?n[this.inputExponent]:a[-1*this.inputExponent],1024===this.increment&&e&&(e+="i"),e},parsedValue(){return"string"===typeof this.value?u(this.value):this.value},displayValue(){let e="";return(this.parsedValue||0===this.parsedValue)&&(e=s(this.parsedValue,{increment:this.increment,addSuffix:!1,maxExponent:this.inputExponent,minExponent:this.inputExponent})),e},displayUnit(){return this.suffix?this.suffix:this.unit+this.baseUnit}},methods:{focus(){const e=this.$refs.value;e&&e.focus()},update(e){let t=""===e?null:e;this.positive&&e<0&&(t=0),this.outputModifier?t=null===t?null:`${parseInt(e)}${this.unit}`:"string"===this.outputAs?t=null===t?"":`${e}`:t&&(t=this.unit?u(`${t}${this.unit}`):parseInt(t)),this.$emit("update:value",t)}}},h=(r(7502),r(7433));const f=(0,h.A)(p,[["render",i],["__scopeId","data-v-44dd5817"]]);var m=f},7259:function(e){"use strict";e.exports=JSON.parse('{"hasStylesheet":"true"}')},7502:function(e,t,r){var o=r(190);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=r(4825).A;i("762c80df",o,!0,{sourceMap:!1,shadowMode:!1})},7991:function(e,t){"use strict";t.byteLength=u,t.toByteArray=d,t.fromByteArray=f;for(var r=[],o=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=n.length;a<s;++a)r[a]=n[a],o[n.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function u(e){var t=l(e),r=t[0],o=t[1];return 3*(r+o)/4-o}function c(e,t,r){return 3*(t+r)/4-r}function d(e){var t,r,n=l(e),a=n[0],s=n[1],u=new i(c(e,a,s)),d=0,p=s>0?a-4:a;for(r=0;r<p;r+=4)t=o[e.charCodeAt(r)]<<18|o[e.charCodeAt(r+1)]<<12|o[e.charCodeAt(r+2)]<<6|o[e.charCodeAt(r+3)],u[d++]=t>>16&255,u[d++]=t>>8&255,u[d++]=255&t;return 2===s&&(t=o[e.charCodeAt(r)]<<2|o[e.charCodeAt(r+1)]>>4,u[d++]=255&t),1===s&&(t=o[e.charCodeAt(r)]<<10|o[e.charCodeAt(r+1)]<<4|o[e.charCodeAt(r+2)]>>2,u[d++]=t>>8&255,u[d++]=255&t),u}function p(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function h(e,t,r){for(var o,i=[],n=t;n<r;n+=3)o=(e[n]<<16&16711680)+(e[n+1]<<8&65280)+(255&e[n+2]),i.push(p(o));return i.join("")}function f(e){for(var t,o=e.length,i=o%3,n=[],a=16383,s=0,l=o-i;s<l;s+=a)n.push(h(e,s,s+a>l?l:s+a));return 1===i?(t=e[o-1],n.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[o-2]<<8)+e[o-1],n.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),n.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},8154:function(e,t,r){"use strict";r.d(t,{A:function(){return Ue}});var o=r(9274);const i={class:"key-value"},n={key:0,class:"clearfix"},a={key:0,class:"icon icon-info"},s=["aria-rowcount","aria-colcount"],l={key:0,class:"rowgroup"},u={class:"row"},c={class:"text-label",role:"columnheader"},d={key:0,class:"icon icon-info",tabindex:"0"},p={class:"text-label",role:"columnheader"},h={key:1,class:"rowgroup"},f={class:"row"},m=["aria-rowindex"],y=["onUpdate:modelValue","disabled","placeholder","data-testid","aria-label","onPaste"],g=["data-testid","aria-rowindex"],v={key:0},b={key:1},E=["onUpdate:modelValue","disabled","type","placeholder","data-testid","aria-label"],k=["aria-rowindex","aria-colindex"],w=["aria-rowindex","aria-colindex","data-testid"],S=["disabled","aria-label","onClick"],N={key:1,class:"footer mt-20"},_=["disabled","aria-label"];function B(e,t,r,B,A,C){const U=(0,o.resolveComponent)("Select"),x=(0,o.resolveComponent)("CodeMirror"),O=(0,o.resolveComponent)("TextAreaAutoGrow"),T=(0,o.resolveComponent)("FileSelector"),L=(0,o.resolveDirective)("clean-tooltip"),R=(0,o.resolveDirective)("stripped-aria-label");return(0,o.openBlock)(),(0,o.createElementBlock)("div",i,[r.title||e.$slots.title?((0,o.openBlock)(),(0,o.createElementBlock)("div",n,[(0,o.renderSlot)(e.$slots,"title",{},(()=>[(0,o.createElementVNode)("h3",null,[(0,o.createTextVNode)((0,o.toDisplayString)(r.title)+" ",1),r.titleProtip?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("i",a,null,512)),[[L,r.titleProtip]]):(0,o.createCommentVNode)("",!0)])]))])):(0,o.createCommentVNode)("",!0),(0,o.createElementVNode)("div",{class:"kv-container",role:"grid","aria-rowcount":A.rows.length,"aria-colcount":r.extraColumns.length+2,style:(0,o.normalizeStyle)(C.containerStyle)},[A.rows.length||C.isView?((0,o.openBlock)(),(0,o.createElementBlock)("div",l,[(0,o.createElementVNode)("div",u,[(0,o.createElementVNode)("label",c,[(0,o.createTextVNode)((0,o.toDisplayString)(C._keyLabel)+" ",1),C._protip&&!C.isView&&r.addAllowed?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("i",d,null,512)),[[L,{content:C._protip,triggers:["hover","touch","focus"]}],[R,C._protip]]):(0,o.createCommentVNode)("",!0)]),(0,o.createElementVNode)("label",p,(0,o.toDisplayString)(C._valueLabel),1),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(r.extraColumns,((t,r)=>((0,o.openBlock)(),(0,o.createElementBlock)("label",{key:r,role:"columnheader"},[(0,o.renderSlot)(e.$slots,"label:"+t,{},(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(t),1)]))])))),128)),C.canRemove?(0,o.renderSlot)(e.$slots,"remove",{key:0},(()=>[t[3]||(t[3]=(0,o.createElementVNode)("span",null,null,-1))])):(0,o.createCommentVNode)("",!0)])])):(0,o.createCommentVNode)("",!0),!A.rows.length&&C.isView?((0,o.openBlock)(),(0,o.createElementBlock)("div",h,t[4]||(t[4]=[(0,o.createElementVNode)("div",{class:"row"},[(0,o.createElementVNode)("div",{class:"kv-item key text-muted",role:"gridcell"}," — "),(0,o.createElementVNode)("div",{class:"kv-item key text-muted",role:"gridcell"}," — ")],-1)]))):((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,{key:2},(0,o.renderList)(A.rows,((i,n)=>((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:n,class:(0,o.normalizeClass)(["rowgroup",{hide:C.isProtected(i.key)&&!r.toggleFilter}])},[(0,o.createElementVNode)("div",f,[(0,o.createElementVNode)("div",{class:"kv-item key",role:"gridcell","aria-rowindex":n+1,"aria-colindex":1},[(0,o.renderSlot)(e.$slots,"key",{row:i,mode:r.mode,keyName:r.keyName,valueName:r.valueName,queueUpdate:e.queueUpdate,disabled:r.disabled},(()=>[r.keyOptions?((0,o.openBlock)(),(0,o.createBlock)(U,{key:0,ref_for:!0,ref:"key",value:i[r.keyName],"onUpdate:value":[e=>i[r.keyName]=e,e.queueUpdate],searchable:!0,disabled:r.disabled||C.isProtected(i.key),clearable:!1,taggable:r.keyTaggable,options:C.calculateOptions(i[r.keyName]),"data-testid":`select-kv-item-key-${n}`,"aria-label":e.t("generic.ariaLabel.key",{index:n})},null,8,["value","onUpdate:value","disabled","taggable","options","data-testid","aria-label"])):(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("input",{key:1,ref_for:!0,ref:"key","onUpdate:modelValue":e=>i[r.keyName]=e,disabled:C.isView||r.disabled||!r.keyEditable||C.isProtected(i.key),placeholder:C._keyPlaceholder,"data-testid":`input-kv-item-key-${n}`,"aria-label":e.t("generic.ariaLabel.key",{index:n}),onInput:t[0]||(t[0]=(...t)=>e.queueUpdate&&e.queueUpdate(...t)),onPaste:e=>C.onPaste(n,e)},null,40,y)),[[o.vModelText,i[r.keyName]]])]))],8,m),(0,o.createElementVNode)("div",{"data-testid":`kv-item-value-${n}`,class:"kv-item value",role:"gridcell","aria-rowindex":n+1,"aria-colindex":2},[(0,o.renderSlot)(e.$slots,"value",{row:i,mode:r.mode,keyName:r.keyName,valueName:r.valueName,queueUpdate:e.queueUpdate},(()=>[i.supported?i.binary?((0,o.openBlock)(),(0,o.createElementBlock)("div",b,(0,o.toDisplayString)(C.binaryTextSize(i.value)),1)):((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:2,class:(0,o.normalizeClass)(["value-container",{"upload-button":r.parseValueFromFile}])},[r.valueMarkdownMultiline?((0,o.openBlock)(),(0,o.createBlock)(x,{key:0,ref_for:!0,ref:"cm","data-testid":"code-mirror-multiline-field",class:(0,o.normalizeClass)({["focus"]:A.codeMirrorFocus[n]}),value:i[r.valueName],"as-text-area":!0,mode:r.mode,options:{screenReaderLabel:e.t("generic.ariaLabel.value",{index:n})},onOnInput:e=>C.onInputMarkdownMultiline(n,e),onOnFocus:e=>C.onFocusMarkdownMultiline(n,e)},null,8,["class","value","mode","options","onOnInput","onOnFocus"])):r.valueMultiline&&void 0!==i[r.valueName]?((0,o.openBlock)(),(0,o.createBlock)(O,{key:1,value:i[r.valueName],"onUpdate:value":[e=>i[r.valueName]=e,e.queueUpdate],"data-testid":"value-multiline",class:(0,o.normalizeClass)({conceal:r.valueConcealed}),disabled:r.disabled||C.isProtected(i.key),mode:r.mode,placeholder:C._valuePlaceholder,"min-height":40,spellcheck:!1,"aria-label":e.t("generic.ariaLabel.value",{index:n})},null,8,["value","onUpdate:value","class","disabled","mode","placeholder","aria-label"])):(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("input",{key:2,"onUpdate:modelValue":e=>i[r.valueName]=e,disabled:C.isView||r.disabled||C.isProtected(i.key),type:r.valueConcealed?"password":"text",placeholder:C._valuePlaceholder,autocorrect:"off",autocapitalize:"off",spellcheck:"false","data-testid":`input-kv-item-value-${n}`,"aria-label":e.t("generic.ariaLabel.value",{index:n}),onInput:t[1]||(t[1]=(...t)=>e.queueUpdate&&e.queueUpdate(...t))},null,40,E)),[[o.vModelDynamic,i[r.valueName]]]),r.parseValueFromFile&&r.readAllowed&&!C.isView&&C.isValueFieldEmpty(i[r.valueName])?((0,o.openBlock)(),(0,o.createBlock)(T,{key:3,class:"btn btn-sm role-secondary file-selector",label:e.t("generic.upload"),"include-file-name":!0,"aria-label":e.t("generic.ariaLabel.value",{index:n}),onSelected:e=>C.onValueFileSelected(n,e)},null,8,["label","aria-label","onSelected"])):(0,o.createCommentVNode)("",!0)],2)):((0,o.openBlock)(),(0,o.createElementBlock)("div",v,(0,o.toDisplayString)(e.t("detailText.unsupported",null,!0)),1))]))],8,g),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(r.extraColumns,((t,r)=>((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:`${n}-${r}`,class:"kv-item extra",role:"gridcell","aria-rowindex":n+1,"aria-colindex":r+3},[(0,o.renderSlot)(e.$slots,"col:"+t,{row:i,queueUpdate:e.queueUpdate,i:n})],8,k)))),128)),C.canRemove?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:n,class:"kv-item remove",role:"gridcell","aria-rowindex":n+1,"aria-colindex":r.extraColumns.length+3,"data-testid":`remove-column-${n}`},[(0,o.renderSlot)(e.$slots,"removeButton",{remove:C.remove,row:i,i:n},(()=>[(0,o.createElementVNode)("button",{type:"button",role:"button",disabled:C.isView||C.isProtected(i.key)||r.disabled,"aria-label":r.removeLabel||e.t("generic.remove"),class:"btn role-link",onClick:e=>C.remove(n)},(0,o.toDisplayString)(r.removeLabel||e.t("generic.remove")),9,S)]))],8,w)):(0,o.createCommentVNode)("",!0)])],2)))),128))],12,s),!r.addAllowed&&!r.readAllowed||C.isView?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("div",N,[(0,o.renderSlot)(e.$slots,"add",{add:C.add},(()=>[r.addAllowed?((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,type:"button",role:"button",class:"btn role-tertiary add","data-testid":"add_row_item_button",disabled:r.loading||r.disabled||r.keyOptions&&0===C.filteredKeyOptions.length,"aria-label":C._addLabel,onClick:t[2]||(t[2]=e=>C.add())},[(0,o.createElementVNode)("i",{class:(0,o.normalizeClass)(["mr-5 icon",r.loading?["icon-lg","icon-spinner","icon-spin"]:[r.addIcon]])},null,2),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(C._addLabel),1)],8,_)):(0,o.createCommentVNode)("",!0),r.readAllowed?((0,o.openBlock)(),(0,o.createBlock)(T,{key:1,disabled:C.isView,class:"role-tertiary",label:e.t("generic.readFromFile"),"include-file-name":!0,onSelected:C.onFileSelected},null,8,["disabled","label","onSelected"])):(0,o.createCommentVNode)("",!0)]))]))])}var A=r(2784),C=r.n(A),U=r(4302),x=r(8851),O=r(1048);function T(e){return"string"===typeof e?0===e.length:0===e.byteLength}function L(e){return"string"===typeof e&&(e=new O.hp(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}const R=64,M=16;function I(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(R)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function D(e,t,r,o,i,n){return t=(t+e&4294967295)+(o+n&4294967295)&4294967295,(t<<i|t>>>32-i)+r&4294967295}function F(e,t,r,o,i,n,a){return D(t&r|~t&o,e,t,i,n,a)}function V(e,t,r,o,i,n,a){return D(t&o|r&~o,e,t,i,n,a)}function P(e,t,r,o,i,n,a){return D(t^r^o,e,t,i,n,a)}function $(e,t,r,o,i,n,a){return D(r^(t|~o),e,t,i,n,a)}I.BLOCK_SIZE=R,I.prototype.update=function(e){if(T(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");const t=L(e);let r=0,o=t.byteLength;this.bytesHashed+=o;while(o>0)this.buffer.setUint8(this.bufferLength++,t[r++]),o--,this.bufferLength===R&&(this.hashBuffer(),this.bufferLength=0);return this},I.prototype.digest=function(e){if(!this.finished){const e=this,t=e.buffer,r=e.bufferLength,o=e.bytesHashed,i=8*o;if(t.setUint8(this.bufferLength++,128),r%R>=R-8){for(let e=this.bufferLength;e<R;e++)t.setUint8(e,0);this.hashBuffer(),this.bufferLength=0}for(let n=this.bufferLength;n<R-8;n++)t.setUint8(n,0);t.setUint32(R-8,i>>>0,!0),t.setUint32(R-4,Math.floor(i/4294967296),!0),this.hashBuffer(),this.finished=!0}const t=new DataView(new ArrayBuffer(M));for(let o=0;o<4;o++)t.setUint32(4*o,this.state[o],!0);const r=new O.hp(t.buffer,t.byteOffset,t.byteLength);return e?r.toString(e):r},I.prototype.hashBuffer=function(){const e=this,t=e.buffer,r=e.state;let o=r[0],i=r[1],n=r[2],a=r[3];o=F(o,i,n,a,t.getUint32(0,!0),7,3614090360),a=F(a,o,i,n,t.getUint32(4,!0),12,3905402710),n=F(n,a,o,i,t.getUint32(8,!0),17,606105819),i=F(i,n,a,o,t.getUint32(12,!0),22,3250441966),o=F(o,i,n,a,t.getUint32(16,!0),7,4118548399),a=F(a,o,i,n,t.getUint32(20,!0),12,1200080426),n=F(n,a,o,i,t.getUint32(24,!0),17,2821735955),i=F(i,n,a,o,t.getUint32(28,!0),22,4249261313),o=F(o,i,n,a,t.getUint32(32,!0),7,1770035416),a=F(a,o,i,n,t.getUint32(36,!0),12,2336552879),n=F(n,a,o,i,t.getUint32(40,!0),17,4294925233),i=F(i,n,a,o,t.getUint32(44,!0),22,2304563134),o=F(o,i,n,a,t.getUint32(48,!0),7,1804603682),a=F(a,o,i,n,t.getUint32(52,!0),12,4254626195),n=F(n,a,o,i,t.getUint32(56,!0),17,2792965006),i=F(i,n,a,o,t.getUint32(60,!0),22,1236535329),o=V(o,i,n,a,t.getUint32(4,!0),5,4129170786),a=V(a,o,i,n,t.getUint32(24,!0),9,3225465664),n=V(n,a,o,i,t.getUint32(44,!0),14,643717713),i=V(i,n,a,o,t.getUint32(0,!0),20,3921069994),o=V(o,i,n,a,t.getUint32(20,!0),5,3593408605),a=V(a,o,i,n,t.getUint32(40,!0),9,38016083),n=V(n,a,o,i,t.getUint32(60,!0),14,3634488961),i=V(i,n,a,o,t.getUint32(16,!0),20,3889429448),o=V(o,i,n,a,t.getUint32(36,!0),5,568446438),a=V(a,o,i,n,t.getUint32(56,!0),9,3275163606),n=V(n,a,o,i,t.getUint32(12,!0),14,4107603335),i=V(i,n,a,o,t.getUint32(32,!0),20,1163531501),o=V(o,i,n,a,t.getUint32(52,!0),5,2850285829),a=V(a,o,i,n,t.getUint32(8,!0),9,4243563512),n=V(n,a,o,i,t.getUint32(28,!0),14,1735328473),i=V(i,n,a,o,t.getUint32(48,!0),20,2368359562),o=P(o,i,n,a,t.getUint32(20,!0),4,4294588738),a=P(a,o,i,n,t.getUint32(32,!0),11,2272392833),n=P(n,a,o,i,t.getUint32(44,!0),16,1839030562),i=P(i,n,a,o,t.getUint32(56,!0),23,4259657740),o=P(o,i,n,a,t.getUint32(4,!0),4,2763975236),a=P(a,o,i,n,t.getUint32(16,!0),11,1272893353),n=P(n,a,o,i,t.getUint32(28,!0),16,4139469664),i=P(i,n,a,o,t.getUint32(40,!0),23,3200236656),o=P(o,i,n,a,t.getUint32(52,!0),4,681279174),a=P(a,o,i,n,t.getUint32(0,!0),11,3936430074),n=P(n,a,o,i,t.getUint32(12,!0),16,3572445317),i=P(i,n,a,o,t.getUint32(24,!0),23,76029189),o=P(o,i,n,a,t.getUint32(36,!0),4,3654602809),a=P(a,o,i,n,t.getUint32(48,!0),11,3873151461),n=P(n,a,o,i,t.getUint32(60,!0),16,530742520),i=P(i,n,a,o,t.getUint32(8,!0),23,3299628645),o=$(o,i,n,a,t.getUint32(0,!0),6,4096336452),a=$(a,o,i,n,t.getUint32(28,!0),10,1126891415),n=$(n,a,o,i,t.getUint32(56,!0),15,2878612391),i=$(i,n,a,o,t.getUint32(20,!0),21,4237533241),o=$(o,i,n,a,t.getUint32(48,!0),6,1700485571),a=$(a,o,i,n,t.getUint32(12,!0),10,2399980690),n=$(n,a,o,i,t.getUint32(40,!0),15,4293915773),i=$(i,n,a,o,t.getUint32(4,!0),21,2240044497),o=$(o,i,n,a,t.getUint32(32,!0),6,1873313359),a=$(a,o,i,n,t.getUint32(60,!0),10,4264355552),n=$(n,a,o,i,t.getUint32(24,!0),15,2734768916),i=$(i,n,a,o,t.getUint32(52,!0),21,1309151649),o=$(o,i,n,a,t.getUint32(16,!0),6,4149444226),a=$(a,o,i,n,t.getUint32(44,!0),10,3174756917),n=$(n,a,o,i,t.getUint32(8,!0),15,718787259),i=$(i,n,a,o,t.getUint32(36,!0),21,3951481745),r[0]=o+r[0]&4294967295,r[1]=i+r[1]&4294967295,r[2]=n+r[2]&4294967295,r[3]=a+r[3]&4294967295};const K=64,G=32,j=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),z=2**53-1;function J(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}J.BLOCK_SIZE=K,J.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(T(e))return this;e=L(e);let t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>z)throw new Error("Cannot hash more than 2^53 - 1 bits");while(r>0)this.buffer[this.bufferLength++]=e[t++],r--,this.bufferLength===K&&(this.hashBuffer(),this.bufferLength=0);return this},J.prototype.digest=function(e){if(!this.finished){const e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(t.setUint8(this.bufferLength++,128),r%K>=K-8){for(let e=this.bufferLength;e<K;e++)t.setUint8(e,0);this.hashBuffer(),this.bufferLength=0}for(let o=this.bufferLength;o<K-8;o++)t.setUint8(o,0);t.setUint32(K-8,Math.floor(e/4294967296),!0),t.setUint32(K-4,e),this.hashBuffer(),this.finished=!0}const t=new O.hp(G);for(let r=0;r<8;r++)t[4*r]=this.state[r]>>>24&255,t[4*r+1]=this.state[r]>>>16&255,t[4*r+2]=this.state[r]>>>8&255,t[4*r+3]=this.state[r]>>>0&255;return e?t.toString(e):t},J.prototype.hashBuffer=function(){const e=this,t=e.buffer,r=e.state;let o=r[0],i=r[1],n=r[2],a=r[3],s=r[4],l=r[5],u=r[6],c=r[7];for(let d=0;d<K;d++){if(d<16)this.temp[d]=(255&t[4*d])<<24|(255&t[4*d+1])<<16|(255&t[4*d+2])<<8|255&t[4*d+3];else{let e=this.temp[d-2];const t=(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10;e=this.temp[d-15];const r=(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3;this.temp[d]=(t+this.temp[d-7]|0)+(r+this.temp[d-16]|0)}const e=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&l^~s&u)|0)+(c+(j[d]+this.temp[d]|0)|0)|0,r=((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+(o&i^o&n^i&n)|0;c=u,u=l,l=s,s=a+e|0,a=n,n=i,i=o,o=e+r|0}r[0]+=o,r[1]+=i,r[2]+=n,r[3]+=a,r[4]+=s,r[5]+=l,r[6]+=u,r[7]+=c};const Y=64,H=20;function q(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}q.BLOCK_SIZE=Y,q.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(T(e))return this;e=L(e);const t=e.length;this.totalLength+=8*t;for(let r=0;r<t;r++)this.write(e[r]);return this},q.prototype.write=function(e){this.block[this.offset]|=(255&e)<<this.shift,this.shift?this.shift-=8:(this.offset++,this.shift=24),16===this.offset&&this.processBlock()},q.prototype.digest=function(e){this.write(128),(this.offset>14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(let o=24;o>=0;o-=8)this.write(this.totalLength>>o);const t=new O.hp(H),r=new DataView(t.buffer);return r.setUint32(0,this.h0,!1),r.setUint32(4,this.h1,!1),r.setUint32(8,this.h2,!1),r.setUint32(12,this.h3,!1),r.setUint32(16,this.h4,!1),e?t.toString(e):t},q.prototype.processBlock=function(){for(let s=16;s<80;s++){const e=this.block[s-3]^this.block[s-8]^this.block[s-14]^this.block[s-16];this.block[s]=e<<1|e>>>31}let e,t,r=this.h0,o=this.h1,i=this.h2,n=this.h3,a=this.h4;for(let s=0;s<80;s++){s<20?(e=n^o&(i^n),t=1518500249):s<40?(e=o^i^n,t=1859775393):s<60?(e=o&i|n&(o|i),t=2400959708):(e=o^i^n,t=3395469782);const l=(r<<5|r>>>27)+e+a+t+(0|this.block[s]);a=n,n=i,i=o<<30|o>>>2,o=r,r=l}this.h0=this.h0+r|0,this.h1=this.h1+o|0,this.h2=this.h2+i|0,this.h3=this.h3+n|0,this.h4=this.h4+a|0,this.offset=0;for(let s=0;s<16;s++)this.block[s]=0};const W="normal",X="url";function Z(e,t=W){let r;if(null===e||"undefined"===typeof e)return e;if(r="function"===typeof O.hp.from&&O.hp.from!==Uint8Array.from?O.hp.from(e):new O.hp(e),t===X){const e={"+":"-","/":"_"};return r.toString("base64").replace(/[+/]|=+$/g,(t=>e[t]||""))}return r.toString("base64")}function Q(e){return null===e||"undefined"===typeof e?e:"function"===typeof O.hp.from&&O.hp.from!==Uint8Array.from?O.hp.from(e,"base64"):new O.hp(e,"base64")}function ee(e){return e?Q(e.replace(/[-_]/g,(e=>"-"===e?"+":"/"))).toString():e}function te(e){const t=`${e}`.length;let r=3*t/4;return e.length>0&&"="===e[e.length-1]&&(r--,e.length>1&&"="===e[e.length-2]&&r--),r}r(7008);async function re(e,t,o="text/plain;charset=utf-8"){const i=new Blob([t],{type:o}),n=(await r.e(60).then(r.t.bind(r,5060,23))).default;return n(i,e)}var oe=r(9378),ie=r(6978);const ne=["tabindex"],ae=["onMousedown"];function se(e,t,r,i,n,a){const s=(0,o.resolveComponent)("v-select"),l=(0,o.resolveComponent)("LabeledTooltip");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{ref:"select",class:(0,o.normalizeClass)(["unlabeled-select",{disabled:r.disabled||e.isView,focused:e.focused,[r.mode]:!0,[r.status]:r.status,taggable:e.$attrs.taggable,taggable:e.$attrs.multiple,"compact-input":r.compact,[e.$attrs.class]:e.$attrs.class}]),tabindex:r.disabled||e.isView?-1:0,onClick:t[2]||(t[2]=(...e)=>a.focusSearch&&a.focusSearch(...e)),onKeydown:[t[3]||(t[3]=(0,o.withKeys)(((...e)=>a.focusSearch&&a.focusSearch(...e)),["enter"])),t[4]||(t[4]=(0,o.withKeys)((0,o.withModifiers)(((...e)=>a.focusSearch&&a.focusSearch(...e)),["prevent"]),["down"])),t[5]||(t[5]=(0,o.withKeys)((0,o.withModifiers)(((...e)=>a.focusSearch&&a.focusSearch(...e)),["prevent"]),["space"]))]},[(0,o.createVNode)(s,(0,o.mergeProps)({ref:"select-input"},a.deClassedAttrs,{class:["inline",{"select-input-view":"view"===r.mode}],autoscroll:!0,"append-to-body":r.appendToBody,"calculate-position":a.positionDropdown,disabled:e.isView||r.disabled,"get-option-key":e=>a.getOptionKey(e),"get-option-label":e=>a.getOptionLabel(e),label:r.optionLabel,options:e.options,"close-on-select":r.closeOnSelect,"map-keydown":e.mappedKeys,placeholder:r.placeholder,reduce:e=>r.reduce(e),searchable:e.isSearchable,selectable:a.selectable,modelValue:null!=r.value?r.value:"",dropdownShouldOpen:a.handleDropdownOpen,tabindex:-1,role:"listbox","onUpdate:modelValue":t[0]||(t[0]=t=>e.$emit("update:value",t)),"onSearch:blur":e.onBlur,"onSearch:focus":e.onFocus,onOpen:e.resizeHandler,"onOption:created":t[1]||(t[1]=t=>e.$emit("createdListItem",t))}),(0,o.createSlots)({option:(0,o.withCtx)((e=>[(0,o.createElementVNode)("div",{onMousedown:t=>a.onClickOption(e,t)},(0,o.toDisplayString)(a.getOptionLabel(e.label)),41,ae)])),_:2},[(0,o.renderList)(e.$slots,((t,r)=>({name:r,fn:(0,o.withCtx)((t=>[(0,o.renderSlot)(e.$slots,r,(0,o.normalizeProps)((0,o.guardReactiveProps)(t)),void 0,!0)]))})))]),1040,["class","append-to-body","calculate-position","disabled","get-option-key","get-option-label","label","options","close-on-select","map-keydown","placeholder","reduce","searchable","selectable","modelValue","dropdownShouldOpen","onSearch:blur","onSearch:focus","onOpen"]),r.tooltip&&!e.focused?((0,o.openBlock)(),(0,o.createBlock)(l,{key:0,hover:r.hoverTooltip,value:r.tooltip,status:r.status},null,8,["hover","value","status"])):(0,o.createCommentVNode)("",!0),a.validationMessage?((0,o.openBlock)(),(0,o.createBlock)(l,{key:1,hover:r.hoverTooltip,value:a.validationMessage},null,8,["hover","value"])):(0,o.createCommentVNode)("",!0)],42,ne)}var le=r(3503),ue=r(9626),ce=r(9924),de=r(162),pe={emits:["update:value","createdListItem"],components:{LabeledTooltip:ce.Z},mixins:[le.A,ue.A],props:{appendToBody:{default:!0,type:Boolean},disabled:{default:!1,type:Boolean},getKeyForOption:{default:null,type:Function},mode:{default:"edit",type:String},optionKey:{default:null,type:String},optionLabel:{default:"label",type:String},placement:{default:null,type:String},placeholder:{type:String,default:""},popperOverride:{type:Function,default:null},reduce:{default:e=>e&&"object"===typeof e&&void 0!==e.value?e.value:e,type:Function},tooltip:{type:String,default:null},hoverTooltip:{type:Boolean,default:!0},status:{type:String,default:null},value:{default:null,type:[String,Object,Number,Array,Boolean]},closeOnSelect:{type:Boolean,default:!0},compact:{type:Boolean,default:null}},methods:{getOptionLabel(e){return this.$attrs["get-option-label"]?this.$attrs["get-option-label"](e):(0,ie.Jt)(e,this.optionLabel)?this.localizedLabel?this.$store.getters["i18n/t"]((0,ie.Jt)(e,this.optionLabel)):(0,ie.Jt)(e,this.optionLabel):e},positionDropdown(e,t,{width:r}){if(this.popperOverride)return this.popperOverride(e,t,{width:r});(0,de.s)(e,t,r,this.placement)},focusSearch(){this.overridesMixinPreventDoubleTriggerKeysOpen?this.$nextTick((()=>{const e=this.$refs["select"];e&&e.focus(),this.overridesMixinPreventDoubleTriggerKeysOpen=!1})):(this.$refs["select-input"].open=!0,this.$nextTick((()=>{const e=this.$refs["select-input"]?.searchEl;e&&e.focus()})))},get:ie.Jt,onClickOption(e,t){de.t.call(this,e,t)},selectable(e){return!e||!e.disabled&&"group"!==e.kind&&"divider"!==e.kind&&!e.loading},getOptionKey(e){if(e&&this.optionKey)return(0,ie.Jt)(e,this.optionKey);if(e?.optionKey)return(0,ie.Jt)(e,e.optionKey);const t=this.getOptionLabel(e);return"string"===typeof t||"number"===typeof t?t:Math.random(1e5)},report(e){alert(e)},handleDropdownOpen(e){return!e.noDrop&&!e.disabled&&e.open}},computed:{requiredField(){return this.required||this.rules.some((e=>"required"===e?.name))},validationMessage(){const e=this.rules.find((e=>"required"===e?.name)),t=[],r=this?.value;if(e&&this.blurred&&!this.focused){const t=e(r);if(t)return t}for(const o of this.rules){const e=o(r);e&&"required"!==o.name&&t.push(e)}return t.length>0&&(this.blurred||this.focused)?t.join(", "):void 0},canPaginate(){return!1},deClassedAttrs(){const{class:e,...t}=this.$attrs;return t}}},he=(r(2788),r(7433));const fe=(0,he.A)(pe,[["render",se],["__scopeId","data-v-36e59bb3"]]);var me=fe;const ye=["disabled","aria-label"],ge=["multiple","webkitdirectory","accept"];function ve(e,t,r,i,n,a){return a.isView?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createElementBlock)("button",{key:0,disabled:r.disabled,"aria-label":r.label,type:"button",role:"button",class:"file-selector btn","data-testid":"file-selector__uploader-button",onClick:t[1]||(t[1]=(...e)=>a.selectFile&&a.selectFile(...e))},[(0,o.createElementVNode)("span",null,(0,o.toDisplayString)(r.label),1),(0,o.createElementVNode)("input",{ref:"uploader",type:"file",class:"hide",multiple:r.multiple,webkitdirectory:r.directory,accept:r.accept,onChange:t[0]||(t[0]=(...e)=>a.fileChange&&a.fileChange(...e))},null,40,ge)],8,ye))}var be=r(4220);var Ee={emits:["error","selected"],props:{label:{type:String,required:!0},mode:{type:String,default:be.G5},disabled:{type:Boolean,default:!1},includeFileName:{type:Boolean,default:!1},showGrowlError:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},byteLimit:{type:Number,default:0},readAsDataUrl:{type:Boolean,default:!1},directory:{type:Boolean,default:!1},rawData:{type:Boolean,default:!1},accept:{type:String,default:"*"}},computed:{isView(){return this.mode===be.nW}},methods:{selectFile(){this.$refs.uploader.value=null,this.$refs.uploader.click()},async fileChange(e){const t=e.target,r=Array.from(t.files||[]);if(this.byteLimit)for(const i of r)if(i.size>this.byteLimit)return void this.$emit("error",`${i.name} exceeds the file size limit of ${this.byteLimit} bytes`);if(this.rawData){const e=this.multiple||1!==r.length?r:r[0];this.$emit("selected",e)}else try{const e=r.map(this.getFileContents),t=await Promise.all(e),o=this.multiple||1!==t.length?t:t[0];this.$emit("selected",o)}catch(o){this.$emit("error",o),this.showGrowlError&&this.$store.dispatch("growl/fromError",{title:"Error reading file",error:o},{root:!0})}},getFileContents(e){return new Promise(((t,r)=>{const o=new FileReader;o.onload=r=>{const o=r.target.result,i=e.name,n=this.includeFileName?{value:o,name:i}:o;t(n)},o.onerror=e=>{r(e)},this.readAsDataUrl?o.readAsDataURL(e):o.readAsText(e)}))}}};const ke=(0,he.A)(Ee,[["render",ve]]);var we=ke,Se=r(2043),Ne=r(2914),_e=r(6343),Be=r.n(_e),Ae={name:"KeyValue",emits:["focusKey","update:value"],components:{CodeMirror:Ne.A,Select:me,TextAreaAutoGrow:oe.A,FileSelector:we},props:{value:{type:[Array,Object],default:null},defaultValue:{type:[Array,Object],default:null},binaryValueKeys:{type:[Array,Object],default:null},mode:{type:String,default:be.G5},asMap:{type:Boolean,default:!0},initialEmptyRow:{type:Boolean,default:!1},title:{type:String,default:""},titleProtip:{type:String,default:""},protip:{type:[String,Boolean],default:""},keyName:{type:String,default:"key"},keyLabel:{type:String,default:""},keyEditable:{type:Boolean,default:!0},keyOptions:{type:Array,default:null},keyTaggable:{type:Boolean,default:!0},keyOptionUnique:{type:Boolean,default:!1},keyPlaceholder:{type:String,default:""},protectedKeys:{type:Array,default:()=>[]},toggleFilter:{type:Boolean,default:!1},separatorLabel:{type:String,default:""},valueName:{type:String,default:"value"},valueLabel:{type:String,default:""},valuePlaceholder:{type:String,default:""},valueCanBeEmpty:{type:Boolean,default:!1},displayValuesAsBinary:{type:Boolean,default:!1},valueMarkdownMultiline:{type:Boolean,default:!1},valueMultiline:{type:Boolean,default:!0},valueTrim:{type:Boolean,default:!0},handleBase64:{type:Boolean,default:!1},valueConcealed:{type:Boolean,default:!1},supported:{type:Function,default:e=>!0},preserveKeys:{type:Array,default:null},extraColumns:{type:Array,default:()=>[]},defaultAddData:{type:Object,default:()=>{}},addLabel:{type:String,default:""},addIcon:{type:String,default:""},addAllowed:{type:Boolean,default:!0},readIcon:{type:String,default:"icon-upload"},readAllowed:{type:Boolean,default:!0},readAccept:{type:String,default:"*"},readMultiple:{type:Boolean,default:!1},removeLabel:{type:String,default:""},removeIcon:{type:String,default:"icon-minus"},removeAllowed:{type:Boolean,default:!0},fileModifier:{type:Function,default:(e,t)=>({name:e,value:t})},parserSeparators:{type:Array,default:()=>[":","="]},loading:{default:!1,type:Boolean},parseLinesFromFile:{default:!1,type:Boolean},parseValueFromFile:{default:!1,type:Boolean},disabled:{default:!1,type:Boolean}},data(){const e=this.getRows(this.value);return{rows:e,codeMirrorFocus:{},lastUpdated:null}},computed:{_protip(){return this.protip||this.t("keyValue.protip",null,!0)},_keyLabel(){return this.keyLabel||this.t("generic.key")},_keyPlaceholder(){return this.keyPlaceholder||this.t("keyValue.keyPlaceholder")},_valueLabel(){return this.valueLabel||this.t("generic.value")},_valuePlaceholder(){return this.valuePlaceholder||this.t("keyValue.valuePlaceholder")},_addLabel(){return this.addLabel||this.t("generic.add")},isView(){return this.mode===be.nW},containerStyle(){const e=this.canRemove?" 50px":"",t=2+this.extraColumns.length;return`grid-template-columns: repeat(${t}, 1fr)${e};`},usedKeyOptions(){return this.rows.map((e=>e[this.keyName]))},filteredKeyOptions(){return this.keyOptionUnique?this.keyOptions.filter((e=>!this.usedKeyOptions.includes(e.value))):this.keyOptions},canRemove(){return!this.isView&&this.removeAllowed}},created(){this.queueUpdate=C()(this.update,500)},watch:{value:{deep:!0,handler(e,t){this.valuePropChanged(e,t)}}},methods:{valuePropChanged(e){Be()(e,this.lastUpdated)||(this.rows=this.getRows(e))},isProtected(e){return this.protectedKeys&&this.protectedKeys.includes(e)},getRows(e){const t=[];if(this.asMap){const r=e||{};Object.keys(r).forEach((e=>{let o=r[e];const i=ee(r[e]),n=(0,Se.XC)(i);this.handleBase64&&n&&(o=ee(o)),t.push({key:e,value:o,binary:this.displayValuesAsBinary||this.handleBase64&&!n,canEncode:this.handleBase64&&n,supported:!0})}))}else{const r=e||[];for(const e of r){let r=e[this.valueName]||"";const o=ee(e[this.valueName]),i=(0,Se.XC)(o);this.handleBase64&&i&&(r=ee(r));const n={[this.keyName]:e[this.keyName]||"",[this.valueName]:r,binary:this.displayValuesAsBinary||this.handleBase64&&!i,canEncode:this.handleBase64&&i,supported:this.supported(e)};this.preserveKeys?.map((t=>{"undefined"!==typeof e[t]&&(n[t]=e[t])})),t.push(n)}}return t&&!t.length&&this.initialEmptyRow&&t.push({[this.keyName]:"",[this.valueName]:"",binary:!1,canEncode:this.handleBase64,supported:!0}),t},add(e="",t=""){const r={...this.defaultAddData,[this.keyName]:e,[this.valueName]:t};r.binary=!1,r.canEncode=this.handleBase64,r.supported=!0,this.rows.push(r),this.queueUpdate(),this.$nextTick((()=>{if(this.$refs.key){const e=this.$refs.key,t=e[e.length-1];t.focus()}else this.$emit("focusKey")}))},remove(e){(0,x.Wq)(this.rows,e),this.queueUpdate()},removeEmptyRows(){const e=this.rows.filter((e=>e.value.length||e.key.length));this["rows"]=e},onFileSelected(e){const{name:t,value:r}=this.fileModifier(e.name,e.value);if(this.parseLinesFromFile){const e=r.split("\n");e.forEach((e=>{if(e.length){const[t,r]=e.split("=");this.add(t,r)}})),e.length>0&&this.removeEmptyRows()}else this.add(t,r,this.displayValuesAsBinary)},download(e,t){const r=this.rows[e],o=r[this.keyName],i=r[this.valueName];re(o,i,"application/octet-stream")},update(){let e;if(this.asMap){e={};const t=this.keyName,r=this.valueName;for(const o of this.rows){let i=o[r]||"";const n=(o[t]||"").trim();i&&"object"===(0,U.QP)(i)?e[n]=JSON.parse(JSON.stringify(i)):(i=i||"",this.valueTrim&&(0,Se.XC)(i)&&(i=i.trim()),o.canEncode&&(i=Z(i)),n&&(i||this.valueCanBeEmpty)&&(e[n]=i))}}else{const t=this.preserveKeys||[];(0,x.Gj)(t,this.keyName),(0,x.Gj)(t,this.valueName),e=this.rows.map((e=>{let r=e[this.valueName];e.canEncode&&(r=Z(r));const o={[this.keyName]:e[this.keyName],[this.valueName]:r};for(const i of t)"undefined"!==typeof e[i]&&(o[i]=e[i]);return o}))}this.lastUpdated=e,this.$emit("update:value",e)},onPaste(e,t){const r=t.clipboardData.getData("text/plain"),o=r.split("\n"),i=o.map((e=>{const t=this.parserSeparators.find((t=>e.includes(t)));return t?e.split(t):""})).filter((e=>e&&e.length>0));if(0===i.length||1===i.length&&i[0].length<2)return;t.preventDefault();const n=i.map((e=>({[this.keyName]:(e[0]||"").trim(),[this.valueName]:(e[1]||"").trim(),supported:!0,canEncode:this.handleBase64,binary:this.displayValuesAsBinary})));this.rows.splice(e,1,...n),this.queueUpdate()},calculateOptions(e){const t=this.keyOptions.find((t=>t.value===e));return t?[t,...this.filteredKeyOptions]:this.filteredKeyOptions},binaryTextSize(e){const t=this.handleBase64?ee(e):e,r=e.length?te(t):0;return this.t("detailText.binary",{n:r},!0)},get:ie.Jt,onInputMarkdownMultiline(e,t){this.rows=this.rows.map(((r,o)=>o===e?{...r,value:t}:r)),this.queueUpdate()},onFocusMarkdownMultiline(e,t){this.codeMirrorFocus[e]=t},onValueFileSelected(e,t){const{name:r,value:o}=t;this.rows[e][this.keyName]||(this.rows[e][this.keyName]=r),this.rows[e][this.valueName]=o},isValueFieldEmpty(e){return!e||0===e.trim().length}}};r(9273);const Ce=(0,he.A)(Ae,[["render",B]]);var Ue=Ce},8401:function(e){"use strict";e.exports=JSON.parse('{"hasStylesheet":"false"}')},8520:function(e,t,r){"use strict";r.r(t);var o=r(429),i=r.n(o),n=r(1214),a=r.n(n),s=a()(i());s.push([e.id,".radio-group:focus,.radio-group:focus-visible{border:none;outline:none}.radio-group:focus-visible .radio-button-checked{outline:2px solid var(--primary-keyboard-focus)}.radio-group h3{position:relative}.radio-group.row{display:flex}.radio-group.row .radio-container{margin-right:10px}.radio-group .label{font-size:14px!important}",""]),t["default"]=s},8632:function(e,t,r){"use strict";r.d(t,{aP:function(){return u},Ri:function(){return l}});const o={VERSION_RANCHER:"server-version",VERSION_CLI:"cli-version",VERSION_MACHINE:"machine-version",VERSION_HELM:"helm-version",CLI_URL:{DARWIN:"cli-url-darwin",WINDOWS:"cli-url-windows",LINUX:"cli-url-linux"},API_HOST:"api-host",CA_CERTS:"cacerts",HIDE_LOCAL_CLUSTER:"hide-local-cluster",AUTH_TOKEN_MAX_TTL_MINUTES:"auth-token-max-ttl-minutes",KUBECONFIG_GENERATE_TOKEN:"kubeconfig-generate-token",KUBECONFIG_DEFAULT_TOKEN_TTL_MINUTES:"kubeconfig-default-token-ttl-minutes",ENGINE_URL:"engine-install-url",ENGINE_ISO_URL:"engine-iso-url",FIRST_LOGIN:"first-login",INGRESS_IP_DOMAIN:"ingress-ip-domain",SERVER_URL:"server-url",RKE_METADATA_CONFIG:"rke-metadata-config",EULA_AGREED:"eula-agreed",AUTH_USER_INFO_MAX_AGE_SECONDS:"auth-user-info-max-age-seconds",AUTH_USER_SESSION_TTL_MINUTES:"auth-user-session-ttl-minutes",AUTH_USER_INFO_RESYNC_CRON:"auth-user-info-resync-cron",AUTH_LOCAL_VALIDATE_DESC:"auth-password-requirements-description",PASSWORD_MIN_LENGTH:"password-min-length",CLUSTER_TEMPLATE_ENFORCEMENT:"cluster-template-enforcement",UI_INDEX:"ui-index",UI_DASHBOARD_INDEX:"ui-dashboard-index",UI_DASHBOARD_HARVESTER_LEGACY_PLUGIN:"ui-dashboard-harvester-legacy-plugin",UI_OFFLINE_PREFERRED:"ui-offline-preferred",SYSTEM_DEFAULT_REGISTRY:"system-default-registry",UI_ISSUES:"ui-issues",PL:"ui-pl",PL_RANCHER_VALUE:"rancher",SUPPORTED:"has-support",BANNERS:"ui-banners",ISSUES:"ui-issues",BRAND:"ui-brand",LOGO_LIGHT:"ui-logo-light",LOGO_DARK:"ui-logo-dark",BANNER_LIGHT:"ui-banner-light",BANNER_DARK:"ui-banner-dark",LOGIN_BACKGROUND_LIGHT:"ui-login-background-light",LOGIN_BACKGROUND_DARK:"ui-login-background-dark",PRIMARY_COLOR:"ui-primary-color",LINK_COLOR:"ui-link-color",COMMUNITY_LINKS:"ui-community-links",FAVICON:"ui-favicon",UI_PERFORMANCE:"ui-performance",UI_CUSTOM_LINKS:"ui-custom-links",UI_SUPPORTED_K8S_VERSIONS:"ui-k8s-supported-versions-range",THEME:"ui-theme",SYSTEM_NAMESPACES:"system-namespaces",CLUSTER_AGENT_DEFAULT_AFFINITY:"cluster-agent-default-affinity",FLEET_AGENT_DEFAULT_AFFINITY:"fleet-agent-default-affinity",ADD_EXTENSION_REPOS_BANNER_DISPLAY:"display-add-extension-repos-banner",AGENT_TLS_MODE:"agent-tls-mode",USER_RETENTION_CRON:"user-retention-cron",USER_RETENTION_DRY_RUN:"user-retention-dry-run",USER_LAST_LOGIN_DEFAULT:"user-last-login-default",DISABLE_INACTIVE_USER_AFTER:"disable-inactive-user-after",DELETE_INACTIVE_USER_AFTER:"delete-inactive-user-after",K3S_UPGRADER_UNINSTALL_CONCURRENCY:"k3s-based-upgrader-uninstall-concurrency",IMPORTED_CLUSTER_VERSION_MANAGEMENT:"imported-cluster-version-management",CLUSTER_AGENT_DEFAULT_PRIORITY_CLASS:"cluster-agent-default-priority-class",CLUSTER_AGENT_DEFAULT_POD_DISTRIBUTION_BUDGET:"cluster-agent-default-pod-disruption-budget"};o.CA_CERTS,o.ENGINE_URL,o.ENGINE_ISO_URL,o.PASSWORD_MIN_LENGTH,o.INGRESS_IP_DOMAIN,o.AUTH_USER_INFO_MAX_AGE_SECONDS,o.AUTH_USER_SESSION_TTL_MINUTES,o.AUTH_TOKEN_MAX_TTL_MINUTES,o.KUBECONFIG_GENERATE_TOKEN,o.KUBECONFIG_DEFAULT_TOKEN_TTL_MINUTES,o.AUTH_USER_INFO_RESYNC_CRON,o.SERVER_URL,o.RKE_METADATA_CONFIG,o.SYSTEM_DEFAULT_REGISTRY,o.UI_INDEX,o.UI_DASHBOARD_INDEX,o.UI_OFFLINE_PREFERRED,o.BRAND,o.CLUSTER_TEMPLATE_ENFORCEMENT,o.HIDE_LOCAL_CLUSTER,o.AGENT_TLS_MODE,o.K3S_UPGRADER_UNINSTALL_CONCURRENCY,o.IMPORTED_CLUSTER_VERSION_MANAGEMENT,o.CLUSTER_AGENT_DEFAULT_PRIORITY_CLASS,o.CLUSTER_AGENT_DEFAULT_POD_DISTRIBUTION_BUDGET;r(5664),r(6978),r(4364);const i={};const n=function(e,t,r={}){const o=!0===r.parseJSON,n=!0===r.asCookie,a=!1!==r.asUserPreference,s=r.options,l=r.inheritFrom;return i[e]={def:t,options:s,parseJSON:o,asCookie:n,asUserPreference:a,inheritFrom:l,mangleRead:r.mangleRead,mangleWrite:r.mangleWrite},e},a=!0,s=!0,l=(n("cluster",""),n("last-namespace","")),u=(n("ns-by-cluster",{},{parseJSON:a}),n("workspace",""),n("open-groups",["cluster","policy","rbac","serviceDiscovery","storage","workload"],{parseJSON:a}),n("fav-type",[],{parseJSON:a}),n("pinned-clusters",[],{parseJSON:a}),n("group-by","namespace"),n("diff","unified",{options:["unified","split"]}),n("theme","auto",{options:["light","auto","dark"],asCookie:s,parseJSON:a,mangleRead:e=>e.replace(/^ui-/,""),mangleWrite:e=>`ui-${e}`}),n("pcs","",{asCookie:s,asUserPreference:!1}),n("locale","en-us",{asCookie:s}),n("keymap","sublime",{options:["sublime","emacs","vim"]})),c=(n("per-page",100,{options:[10,25,50,100],parseJSON:a}),n("logs-wrap",!0,{parseJSON:a}),n("logs-time",!0,{parseJSON:a}),n("logs-range","30 minutes",{parseJSON:a}),n("hide-repos",[],{parseJSON:a}),n("hide-desc",[],{parseJSON:a}),n("hide-sensitive",!0,{options:[!0,!1],parseJSON:a}),n("show-pre-release",!1,{options:[!1,!0],parseJSON:a}),n("chart-mode","featured",{parseJSON:a}),n("date-format","ddd, MMM D YYYY",{options:["ddd, MMM D YYYY","ddd, D MMM YYYY","D/M/YYYY","M/D/YYYY","YYYY-MM-DD"]}),n("time-format","h:mm:ss a",{options:["h:mm:ss a","HH:mm:ss"]}),n("time-zone","local"),n("dev",!1,{parseJSON:a})),d=(n("view-in-api",!1,{parseJSON:a,inheritFrom:c}),n("all-namespaces",!1,{parseJSON:a,inheritFrom:c}),n("theme-shortcut",!1,{parseJSON:a,inheritFrom:c}),n("last-visited","home",{parseJSON:a}),n("seen-whatsnew","",{parseJSON:a}),n("read-whatsnew","",{parseJSON:a}),n("after-login-route","home",{parseJSON:a}),n("home-page-cards",{},{parseJSON:a}),n("plugin-developer",!1,{parseJSON:a,inheritFrom:c}),"rke1"),p="rke2";n("provisioner",p,{options:[d,p]}),n("scale-pool-prompt",null,{parseJSON:a})},9273:function(e,t,r){var o=r(1481);o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.id,o,""]]),o.locals&&(e.exports=o.locals);var i=r(4825).A;i("796def8a",o,!0,{sourceMap:!1,shadowMode:!1})},9318:function(e,t){
  2. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  3. t.read=function(e,t,r,o,i){var n,a,s=8*i-o-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?i-1:0,p=r?-1:1,h=e[t+d];for(d+=p,n=h&(1<<-c)-1,h>>=-c,c+=s;c>0;n=256*n+e[t+d],d+=p,c-=8);for(a=n&(1<<-c)-1,n>>=-c,c+=o;c>0;a=256*a+e[t+d],d+=p,c-=8);if(0===n)n=1-u;else{if(n===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,o),n-=u}return(h?-1:1)*a*Math.pow(2,n-o)},t.write=function(e,t,r,o,i,n){var a,s,l,u=8*n-i-1,c=(1<<u)-1,d=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=o?0:n-1,f=o?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+d>=1?p/l:p*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&s,h+=f,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+h]=255&a,h+=f,a/=256,u-=8);e[r+h-f]|=128*m}},9822:function(e,t,r){"use strict";r.d(t,{A:function(){return c}});var o=r(9274);const i={key:0,class:"loading-indicator"},n={key:1};function a(e,t,r,a,s,l){const u=(0,o.resolveComponent)("t");return r.loading?((0,o.openBlock)(),(0,o.createElementBlock)("div",i,[s.showMessage?((0,o.openBlock)(),(0,o.createElementBlock)("div",{key:0,class:(0,o.normalizeClass)(["overlay",{"overlay-content-mode":"content"===r.mode,"overlay-main-mode":"main"===r.mode}])},[(0,o.createVNode)(u,{k:"generic.loading",raw:!0})],2)):(0,o.createCommentVNode)("",!0)])):((0,o.openBlock)(),(0,o.createElementBlock)("div",n,[(0,o.renderSlot)(e.$slots,"default",{},void 0,!0)]))}var s={props:{loading:{type:Boolean,default:!0},mode:{type:String,default:"content"},noDelay:{type:Boolean,default:!1}},data(){return{timer:null,showMessage:this.noDelay}},mounted(){this.timer=setTimeout((()=>{this.showMessage=!0}),250)},beforeUnmount(){clearTimeout(this.timer)}},l=(r(6844),r(7433));const u=(0,l.A)(s,[["render",a],["__scopeId","data-v-1d9696d1"]]);var c=u},9980:function(e,t,r){"use strict";r.d(t,{l:function(){return o.A}});var o=r(5820)}}]);
  4. //# sourceMappingURL=nutanix-1.1.0.umd.min.299.js.map