@appscode/ui-builder
Version:
## Motivation
12 lines • 73.4 kB
JavaScript
import e from"vue";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var r=function(e){return e&&e.Math==Math&&e},i=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")(),o=function(e){try{return!!e()}catch(e){return!0}},a=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,c={f:s&&!u.call({1:2},1)?function(e){var t=s(this,e);return!!t&&t.enumerable}:u},l=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},f={}.toString,d=function(e){return f.call(e).slice(8,-1)},p="".split,h=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==d(e)?p.call(e,""):Object(e)}:Object,v=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},m=function(e){return h(v(e))},g=function(e){return"object"==typeof e?null!==e:"function"==typeof e},y=function(e,t){if(!g(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!g(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!g(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!g(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,_=function(e,t){return b.call(e,t)},O=i.document,w=g(O)&&g(O.createElement),E=function(e){return w?O.createElement(e):{}},A=!a&&!o((function(){return 7!=Object.defineProperty(E("div"),"a",{get:function(){return 7}}).a})),S=Object.getOwnPropertyDescriptor,x={f:a?S:function(e,t){if(e=m(e),t=y(t,!0),A)try{return S(e,t)}catch(e){}if(_(e,t))return l(!c.f.call(e,t),e[t])}},R=function(e){if(!g(e))throw TypeError(String(e)+" is not an object");return e},j=Object.defineProperty,T={f:a?j:function(e,t,n){if(R(e),t=y(t,!0),R(n),A)try{return j(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},$=a?function(e,t,n){return T.f(e,t,l(1,n))}:function(e,t,n){return e[t]=n,e},P=function(e,t){try{$(i,e,t)}catch(n){i[e]=t}return t},I=i["__core-js_shared__"]||P("__core-js_shared__",{}),C=Function.toString;"function"!=typeof I.inspectSource&&(I.inspectSource=function(e){return C.call(e)});var N,M,k,D=I.inspectSource,L=i.WeakMap,V="function"==typeof L&&/native code/.test(D(L)),F=n((function(e){(e.exports=function(e,t){return I[e]||(I[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),q=0,z=Math.random(),U=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++q+z).toString(36)},G=F("keys"),B=function(e){return G[e]||(G[e]=U(e))},W={},H=i.WeakMap;if(V){var Y=new H,K=Y.get,J=Y.has,X=Y.set;N=function(e,t){return X.call(Y,e,t),t},M=function(e){return K.call(Y,e)||{}},k=function(e){return J.call(Y,e)}}else{var Q=B("state");W[Q]=!0,N=function(e,t){return $(e,Q,t),t},M=function(e){return _(e,Q)?e[Q]:{}},k=function(e){return _(e,Q)}}var Z={set:N,get:M,has:k,enforce:function(e){return k(e)?M(e):N(e,{})},getterFor:function(e){return function(t){var n;if(!g(t)||(n=M(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},ee=n((function(e){var t=Z.get,n=Z.enforce,r=String(String).split("String");(e.exports=function(e,t,o,a){var u=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof o&&("string"!=typeof t||_(o,"name")||$(o,"name",t),n(o).source=r.join("string"==typeof t?t:"")),e!==i?(u?!c&&e[t]&&(s=!0):delete e[t],s?e[t]=o:$(e,t,o)):s?e[t]=o:P(t,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||D(this)}))})),te=i,ne=function(e){return"function"==typeof e?e:void 0},re=function(e,t){return arguments.length<2?ne(te[e])||ne(i[e]):te[e]&&te[e][t]||i[e]&&i[e][t]},ie=Math.ceil,oe=Math.floor,ae=function(e){return isNaN(e=+e)?0:(e>0?oe:ie)(e)},ue=Math.min,se=function(e){return e>0?ue(ae(e),9007199254740991):0},ce=Math.max,le=Math.min,fe=function(e,t){var n=ae(e);return n<0?ce(n+t,0):le(n,t)},de=function(e){return function(t,n,r){var i,o=m(t),a=se(o.length),u=fe(r,a);if(e&&n!=n){for(;a>u;)if((i=o[u++])!=i)return!0}else for(;a>u;u++)if((e||u in o)&&o[u]===n)return e||u||0;return!e&&-1}},pe={includes:de(!0),indexOf:de(!1)},he=pe.indexOf,ve=function(e,t){var n,r=m(e),i=0,o=[];for(n in r)!_(W,n)&&_(r,n)&&o.push(n);for(;t.length>i;)_(r,n=t[i++])&&(~he(o,n)||o.push(n));return o},me=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ge=me.concat("length","prototype"),ye={f:Object.getOwnPropertyNames||function(e){return ve(e,ge)}},be={f:Object.getOwnPropertySymbols},_e=re("Reflect","ownKeys")||function(e){var t=ye.f(R(e)),n=be.f;return n?t.concat(n(e)):t},Oe=function(e,t){for(var n=_e(t),r=T.f,i=x.f,o=0;o<n.length;o++){var a=n[o];_(e,a)||r(e,a,i(t,a))}},we=/#|\.prototype\./,Ee=function(e,t){var n=Se[Ae(e)];return n==Re||n!=xe&&("function"==typeof t?o(t):!!t)},Ae=Ee.normalize=function(e){return String(e).replace(we,".").toLowerCase()},Se=Ee.data={},xe=Ee.NATIVE="N",Re=Ee.POLYFILL="P",je=Ee,Te=x.f,$e=function(e,t){var n,r,o,a,u,s=e.target,c=e.global,l=e.stat;if(n=c?i:l?i[s]||P(s,{}):(i[s]||{}).prototype)for(r in t){if(a=t[r],o=e.noTargetGet?(u=Te(n,r))&&u.value:n[r],!je(c?r:s+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;Oe(a,o)}(e.sham||o&&o.sham)&&$(a,"sham",!0),ee(n,r,a,e)}},Pe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Ie=function(e,t,n){if(Pe(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},Ce=function(e){return Object(v(e))},Ne=Array.isArray||function(e){return"Array"==d(e)},Me=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),ke=Me&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,De=F("wks"),Le=i.Symbol,Ve=ke?Le:Le&&Le.withoutSetter||U,Fe=function(e){return _(De,e)||(Me&&_(Le,e)?De[e]=Le[e]:De[e]=Ve("Symbol."+e)),De[e]},qe=Fe("species"),ze=function(e,t){var n;return Ne(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Ne(n.prototype)?g(n)&&null===(n=n[qe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},Ue=[].push,Ge=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,o=6==e,a=5==e||o;return function(u,s,c,l){for(var f,d,p=Ce(u),v=h(p),m=Ie(s,c,3),g=se(v.length),y=0,b=l||ze,_=t?b(u,g):n?b(u,0):void 0;g>y;y++)if((a||y in v)&&(d=m(f=v[y],y,p),e))if(t)_[y]=d;else if(d)switch(e){case 3:return!0;case 5:return f;case 6:return y;case 2:Ue.call(_,f)}else if(i)return!1;return o?-1:r||i?i:_}},Be={forEach:Ge(0),map:Ge(1),filter:Ge(2),some:Ge(3),every:Ge(4),find:Ge(5),findIndex:Ge(6)},We=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))},He=Object.defineProperty,Ye={},Ke=function(e){throw e},Je=function(e,t){if(_(Ye,e))return Ye[e];t||(t={});var n=[][e],r=!!_(t,"ACCESSORS")&&t.ACCESSORS,i=_(t,0)?t[0]:Ke,u=_(t,1)?t[1]:void 0;return Ye[e]=!!n&&!o((function(){if(r&&!a)return!0;var e={length:-1};r?He(e,1,{enumerable:!0,get:Ke}):e[1]=1,n.call(e,i,u)}))},Xe=Be.forEach,Qe=We("forEach"),Ze=Je("forEach"),et=Qe&&Ze?[].forEach:function(e){return Xe(this,e,arguments.length>1?arguments[1]:void 0)};$e({target:"Array",proto:!0,forced:[].forEach!=et},{forEach:et});var tt=Object.keys||function(e){return ve(e,me)};$e({target:"Object",stat:!0,forced:o((function(){tt(1)}))},{keys:function(e){return tt(Ce(e))}});var nt={};nt[Fe("toStringTag")]="z";var rt="[object z]"===String(nt),it=Fe("toStringTag"),ot="Arguments"==d(function(){return arguments}()),at=rt?d:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),it))?n:ot?d(t):"Object"==(r=d(t))&&"function"==typeof t.callee?"Arguments":r},ut=rt?{}.toString:function(){return"[object "+at(this)+"]"};rt||ee(Object.prototype,"toString",ut,{unsafe:!0});var st={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var ct in st){var lt=i[ct],ft=lt&<.prototype;if(ft&&ft.forEach!==et)try{$(ft,"forEach",et)}catch(e){ft.forEach=et}}function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ht(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(n),!0).forEach((function(t){dt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}
/*!
* vuex v3.5.1
* (c) 2020 Evan You
* @license MIT
*/var vt=("undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function mt(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function gt(e){return null!==e&&"object"==typeof e}var yt=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},bt={namespaced:{configurable:!0}};bt.namespaced.get=function(){return!!this._rawModule.namespaced},yt.prototype.addChild=function(e,t){this._children[e]=t},yt.prototype.removeChild=function(e){delete this._children[e]},yt.prototype.getChild=function(e){return this._children[e]},yt.prototype.hasChild=function(e){return e in this._children},yt.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},yt.prototype.forEachChild=function(e){mt(this._children,e)},yt.prototype.forEachGetter=function(e){this._rawModule.getters&&mt(this._rawModule.getters,e)},yt.prototype.forEachAction=function(e){this._rawModule.actions&&mt(this._rawModule.actions,e)},yt.prototype.forEachMutation=function(e){this._rawModule.mutations&&mt(this._rawModule.mutations,e)},Object.defineProperties(yt.prototype,bt);var _t,Ot=function(e){this.register([],e,!1)};Ot.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},Ot.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},Ot.prototype.update=function(e){!function e(t,n,r){if(n.update(r),r.modules)for(var i in r.modules){if(!n.getChild(i))return;e(t.concat(i),n.getChild(i),r.modules[i])}}([],this.root,e)},Ot.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new yt(t,n);0===e.length?this.root=i:this.get(e.slice(0,-1)).addChild(e[e.length-1],i);t.modules&&mt(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},Ot.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},Ot.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return t.hasChild(n)};var wt=function(e){var t=this;void 0===e&&(e={}),!_t&&"undefined"!=typeof window&&window.Vue&&function(e){if(_t&&e===_t)return;!function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:n});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,t.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(_t=e)}(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Ot(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new _t,this._makeLocalGettersCache=Object.create(null);var i=this,o=this.dispatch,a=this.commit;this.dispatch=function(e,t){return o.call(i,e,t)},this.commit=function(e,t,n){return a.call(i,e,t,n)},this.strict=r;var u=this._modules.root.state;Rt(this,u,[],this._modules.root),xt(this,u),n.forEach((function(e){return e(t)})),(void 0!==e.devtools?e.devtools:_t.config.devtools)&&function(e){vt&&(e._devtoolHook=vt,vt.emit("vuex:init",e),vt.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){vt.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){vt.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},Et={state:{configurable:!0}};function At(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function St(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;Rt(e,n,[],e._modules.root,!0),xt(e,n,t)}function xt(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};mt(i,(function(t,n){o[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=_t.config.silent;_t.config.silent=!0,e._vm=new _t({data:{$$state:t},computed:o}),_t.config.silent=a,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),_t.nextTick((function(){return r.$destroy()})))}function Rt(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!i){var u=jt(t,n.slice(0,-1)),s=n[n.length-1];e._withCommit((function(){_t.set(u,s,r.state)}))}var c=r.context=function(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=Tt(n,r,i),a=o.payload,u=o.options,s=o.type;return u&&u.root||(s=t+s),e.dispatch(s,a)},commit:r?e.commit:function(n,r,i){var o=Tt(n,r,i),a=o.payload,u=o.options,s=o.type;u&&u.root||(s=t+s),e.commit(s,a,u)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return jt(e.state,n)}}}),i}(e,a,n);r.forEachMutation((function(t,n){!function(e,t,n,r){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,r.state,t)}))}(e,a+n,t,c)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,i=t.handler||t;!function(e,t,n,r){(e._actions[t]||(e._actions[t]=[])).push((function(t){var i,o=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return(i=o)&&"function"==typeof i.then||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))}(e,r,i,c)})),r.forEachGetter((function(t,n){!function(e,t,n,r){if(e._wrappedGetters[t])return;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}(e,a+n,t,c)})),r.forEachChild((function(r,o){Rt(e,t,n.concat(o),r,i)}))}function jt(e,t){return t.reduce((function(e,t){return e[t]}),e)}function Tt(e,t,n){return gt(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}Et.state.get=function(){return this._vm._data.$$state},Et.state.set=function(e){},wt.prototype.commit=function(e,t,n){var r=this,i=Tt(e,t,n),o=i.type,a=i.payload,u={type:o,payload:a},s=this._mutations[o];s&&(this._withCommit((function(){s.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(u,r.state)})))},wt.prototype.dispatch=function(e,t){var n=this,r=Tt(e,t),i=r.type,o=r.payload,a={type:i,payload:o},u=this._actions[i];if(u){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(e){}var s=u.length>1?Promise.all(u.map((function(e){return e(o)}))):u[0](o);return new Promise((function(e,t){s.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(e){}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(e){}t(e)}))}))}},wt.prototype.subscribe=function(e,t){return At(e,this._subscribers,t)},wt.prototype.subscribeAction=function(e,t){return At("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},wt.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},wt.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},wt.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),Rt(this,this.state,e,this._modules.get(e),n.preserveState),xt(this,this.state)},wt.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=jt(t.state,e.slice(0,-1));_t.delete(n,e[e.length-1])})),St(this)},wt.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},wt.prototype.hotUpdate=function(e){this._modules.update(e),St(this,!0)},wt.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(wt.prototype,Et);var $t,Pt=($t=function(e,t){var n,r={};return(n=t,function(e){return Array.isArray(e)||gt(e)}(n)?Array.isArray(n)?n.map((function(e){return{key:e,val:e}})):Object.keys(n).map((function(e){return{key:e,val:n[e]}})):[]).forEach((function(t){var n=t.key,i=t.val;i=e+i,r[n]=function(){if(!e||function(e,t,n){return e._modulesNamespaceMap[n]}(this.$store,0,e))return this.$store.getters[i]},r[n].vuex=!0})),r},function(e,t){return"string"!=typeof e?(t=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),$t(e,t)});function It(e,t,n,r,i,o,a,u,s,c){"boolean"!=typeof a&&(s=u,u=a,a=!1);const l="function"==typeof n?n.options:n;let f;if(e&&e.render&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),r&&(l._scopeId=r),o?(f=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,s(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=f):t&&(f=a?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,u(e))}),f)if(l.functional){const e=l.render;l.render=function(t,n){return f.call(n),e(t,n)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,f):[f]}return n}var Ct,Nt,Mt=It({render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return"multi-step-form"===e.ui.type?n("ub-multi-step-form",{attrs:{ui:e.ui,schema:e.schema,"show-options-step":e.showOptionsStep,"on-options-valid":e.onOptionsValid,"on-options-invalid":e.onOptionsInvalid,"on-options-cancel":e.onOptionsCancel,"on-valid":e.onValid,"on-invalid":e.onInvalid,"on-cancel":e.onCancel,"on-deploy":e.onDeploy,"chart-url":e.chartUrl}}):n("ub-standalone-single-step-form",{attrs:{ui:e.ui,schema:e.schema,"show-options-step":e.showOptionsStep,"on-options-valid":e.onOptionsValid,"on-options-invalid":e.onOptionsInvalid,"on-options-cancel":e.onOptionsCancel,"on-valid":e.onValid,"on-invalid":e.onInvalid,"on-cancel":e.onCancel,"on-deploy":e.onDeploy,"chart-url":e.chartUrl}})},staticRenderFns:[]},void 0,{name:"ui-builder",components:{UbMultiStepForm:function(){return import("./MultiStepForm-7ca2f41c.js").then((function(e){return e.default}))},UbStandaloneSingleStepForm:function(){return import("./StandaloneSingleStepForm-652e53ea.js").then((function(e){return e.default}))}},props:{showOptionsStep:{type:Boolean,default:!1},onOptionsValid:{type:Function,default:function(){return function(){}}},onOptionsInvalid:{type:Function,default:function(){return function(){}}},onOptionsCancel:{type:Function,default:function(){return function(){}}},onValid:{type:Function,default:function(){return function(){}}},onInvalid:{type:Function,default:function(){return function(){}}},onCancel:{type:Function,default:function(){return function(){}}},onDeploy:{type:Function,default:function(){return function(){}}},chartUrl:{type:String,default:""}},computed:ht({},Pt({ui:"wizard/ui",schema:"wizard/schema",language:"wizard/language"})),created:function(){this.addLanguagesToGlobalI18n()},destroyed:function(){this.removeLanguagesFromGloabalI18n()},watch:{language:{deep:!0,handler:function(){this.addLanguagesToGlobalI18n()}}},methods:{addLanguagesToGlobalI18n:function(){var e=this;Object.keys(this.language).forEach((function(t){var n=e.$i18n.getLocaleMessage(t),r=e.language[t];e.$i18n.setLocaleMessage(t,ht(ht({},n),{},{$wizard:ht({},r)}))}))},removeLanguagesFromGloabalI18n:function(){var e=this;Object.keys(this.language).forEach((function(t){var n=e.$i18n.getLocaleMessage(t);e.$delete(n,"$wizard")}))}}},void 0,!1,void 0,!1,void 0,void 0,void 0),kt=re("navigator","userAgent")||"",Dt=i.process,Lt=Dt&&Dt.versions,Vt=Lt&&Lt.v8;Vt?Nt=(Ct=Vt.split("."))[0]+Ct[1]:kt&&(!(Ct=kt.match(/Edge\/(\d+)/))||Ct[1]>=74)&&(Ct=kt.match(/Chrome\/(\d+)/))&&(Nt=Ct[1]);var Ft=Nt&&+Nt,qt=Fe("species"),zt=function(e){return Ft>=51||!o((function(){var t=[];return(t.constructor={})[qt]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Ut=Be.filter,Gt=zt("filter"),Bt=Je("filter");$e({target:"Array",proto:!0,forced:!Gt||!Bt},{filter:function(e){return Ut(this,e,arguments.length>1?arguments[1]:void 0)}});var Wt,Ht=a?Object.defineProperties:function(e,t){R(e);for(var n,r=tt(t),i=r.length,o=0;i>o;)T.f(e,n=r[o++],t[n]);return e},Yt=re("document","documentElement"),Kt=B("IE_PROTO"),Jt=function(){},Xt=function(e){return"<script>"+e+"<\/script>"},Qt=function(){try{Wt=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Qt=Wt?function(e){e.write(Xt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Wt):((t=E("iframe")).style.display="none",Yt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Xt("document.F=Object")),e.close(),e.F);for(var n=me.length;n--;)delete Qt.prototype[me[n]];return Qt()};W[Kt]=!0;var Zt=Object.create||function(e,t){var n;return null!==e?(Jt.prototype=R(e),n=new Jt,Jt.prototype=null,n[Kt]=e):n=Qt(),void 0===t?n:Ht(n,t)},en=Fe("unscopables"),tn=Array.prototype;null==tn[en]&&T.f(tn,en,{configurable:!0,value:Zt(null)});var nn=function(e){tn[en][e]=!0},rn=Be.find,on=!0,an=Je("find");"find"in[]&&Array(1).find((function(){on=!1})),$e({target:"Array",proto:!0,forced:on||!an},{find:function(e){return rn(this,e,arguments.length>1?arguments[1]:void 0)}}),nn("find");var un=[].join,sn=h!=Object,cn=We("join",",");$e({target:"Array",proto:!0,forced:sn||!cn},{join:function(e){return un.call(m(this),void 0===e?",":e)}});var ln=function(){var e=R(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function fn(e,t){return RegExp(e,t)}var dn,pn,hn={UNSUPPORTED_Y:o((function(){var e=fn("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:o((function(){var e=fn("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},vn=RegExp.prototype.exec,mn=String.prototype.replace,gn=vn,yn=(dn=/a/,pn=/b*/g,vn.call(dn,"a"),vn.call(pn,"a"),0!==dn.lastIndex||0!==pn.lastIndex),bn=hn.UNSUPPORTED_Y||hn.BROKEN_CARET,_n=void 0!==/()??/.exec("")[1];(yn||_n||bn)&&(gn=function(e){var t,n,r,i,o=this,a=bn&&o.sticky,u=ln.call(o),s=o.source,c=0,l=e;return a&&(-1===(u=u.replace("y","")).indexOf("g")&&(u+="g"),l=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(s="(?: "+s+")",l=" "+l,c++),n=new RegExp("^(?:"+s+")",u)),_n&&(n=new RegExp("^"+s+"$(?!\\s)",u)),yn&&(t=o.lastIndex),r=vn.call(a?n:o,l),a?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:yn&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),_n&&r&&r.length>1&&mn.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var On=gn;$e({target:"RegExp",proto:!0,forced:/./.exec!==On},{exec:On});var wn=Fe("species"),En=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),An="$0"==="a".replace(/./,"$0"),Sn=Fe("replace"),xn=!!/./[Sn]&&""===/./[Sn]("a","$0"),Rn=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),jn=function(e,t,n,r){var i=Fe(e),a=!o((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),u=a&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[wn]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!a||!u||"replace"===e&&(!En||!An||xn)||"split"===e&&!Rn){var s=/./[i],c=n(i,""[e],(function(e,t,n,r,i){return t.exec===On?a&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:An,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:xn}),l=c[0],f=c[1];ee(String.prototype,e,l),ee(RegExp.prototype,i,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)})}r&&$(RegExp.prototype[i],"sham",!0)},Tn=Fe("match"),$n=function(e){var t;return g(e)&&(void 0!==(t=e[Tn])?!!t:"RegExp"==d(e))},Pn=Fe("species"),In=function(e){return function(t,n){var r,i,o=String(v(t)),a=ae(n),u=o.length;return a<0||a>=u?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===u||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},Cn={codeAt:In(!1),charAt:In(!0)},Nn=Cn.charAt,Mn=function(e,t,n){return t+(n?Nn(e,t).length:1)},kn=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==d(e))throw TypeError("RegExp#exec called on incompatible receiver");return On.call(e,t)},Dn=[].push,Ln=Math.min,Vn=!o((function(){return!RegExp(4294967295,"y")}));jn("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(v(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!$n(e))return t.call(r,e,i);for(var o,a,u,s=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,f=new RegExp(e.source,c+"g");(o=On.call(f,r))&&!((a=f.lastIndex)>l&&(s.push(r.slice(l,o.index)),o.length>1&&o.index<r.length&&Dn.apply(s,o.slice(1)),u=o[0].length,l=a,s.length>=i));)f.lastIndex===o.index&&f.lastIndex++;return l===r.length?!u&&f.test("")||s.push(""):s.push(r.slice(l)),s.length>i?s.slice(0,i):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=v(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var a=R(e),u=String(this),s=function(e,t){var n,r=R(e).constructor;return void 0===r||null==(n=R(r)[Pn])?t:Pe(n)}(a,RegExp),c=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Vn?"y":"g"),f=new s(Vn?a:"^(?:"+a.source+")",l),d=void 0===i?4294967295:i>>>0;if(0===d)return[];if(0===u.length)return null===kn(f,u)?[u]:[];for(var p=0,h=0,v=[];h<u.length;){f.lastIndex=Vn?h:0;var m,g=kn(f,Vn?u:u.slice(h));if(null===g||(m=Ln(se(f.lastIndex+(Vn?0:h)),u.length))===p)h=Mn(u,h,c);else{if(v.push(u.slice(p,h)),v.length===d)return v;for(var y=1;y<=g.length-1;y++)if(v.push(g[y]),v.length===d)return v;h=p=m}}return v.push(u.slice(p)),v}]}),!Vn);var Fn,qn=function(e){if($n(e))throw TypeError("The method doesn't accept regular expressions");return e},zn=Fe("match"),Un=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[zn]=!1,"/./"[e](t)}catch(e){}}return!1},Gn=x.f,Bn="".startsWith,Wn=Math.min,Hn=Un("startsWith");function Yn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Kn(e,t){if(e){if("string"==typeof e)return Yn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yn(e,t):void 0}}function Jn(e){return function(e){if(Array.isArray(e))return Yn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Kn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}$e({target:"String",proto:!0,forced:!!(Hn||(Fn=Gn(String.prototype,"startsWith"),!Fn||Fn.writable))&&!Hn},{startsWith:function(e){var t=String(v(this));qn(e);var n=se(Wn(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return Bn?Bn.call(t,r,n):t.slice(n,n+r.length)===r}});var Xn=function(e,t,n){var r=y(t);r in e?T.f(e,r,l(0,n)):e[r]=n},Qn=zt("slice"),Zn=Je("slice",{ACCESSORS:!0,0:0,1:2}),er=Fe("species"),tr=[].slice,nr=Math.max;$e({target:"Array",proto:!0,forced:!Qn||!Zn},{slice:function(e,t){var n,r,i,o=m(this),a=se(o.length),u=fe(e,a),s=fe(void 0===t?a:t,a);if(Ne(o)&&("function"!=typeof(n=o.constructor)||n!==Array&&!Ne(n.prototype)?g(n)&&null===(n=n[er])&&(n=void 0):n=void 0,n===Array||void 0===n))return tr.call(o,u,s);for(r=new(void 0===n?Array:n)(nr(s-u,0)),i=0;u<s;u++,i++)u in o&&Xn(r,i,o[u]);return r.length=i,r}});var rr=Math.max,ir=Math.min,or=Math.floor,ar=/\$([$&'`]|\d\d?|<[^>]*>)/g,ur=/\$([$&'`]|\d\d?)/g;jn("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,a=i?"$":"$0";return[function(n,r){var i=v(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var s=n(t,e,this,r);if(s.done)return s.value}var c=R(e),l=String(this),f="function"==typeof r;f||(r=String(r));var d=c.global;if(d){var p=c.unicode;c.lastIndex=0}for(var h=[];;){var v=kn(c,l);if(null===v)break;if(h.push(v),!d)break;""===String(v[0])&&(c.lastIndex=Mn(l,se(c.lastIndex),p))}for(var m,g="",y=0,b=0;b<h.length;b++){v=h[b];for(var _=String(v[0]),O=rr(ir(ae(v.index),l.length),0),w=[],E=1;E<v.length;E++)w.push(void 0===(m=v[E])?m:String(m));var A=v.groups;if(f){var S=[_].concat(w,O,l);void 0!==A&&S.push(A);var x=String(r.apply(void 0,S))}else x=u(_,l,O,w,A,r);O>=y&&(g+=l.slice(y,O)+x,y=O+_.length)}return g+l.slice(y)}];function u(e,n,r,i,o,a){var u=r+e.length,s=i.length,c=ur;return void 0!==o&&(o=Ce(o),c=ar),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=o[a.slice(1,-1)];break;default:var l=+a;if(0===l)return t;if(l>s){var f=or(l/10);return 0===f?t:f<=s?void 0===i[f-1]?a.charAt(1):i[f-1]+a.charAt(1):t}c=i[l-1]}return void 0===c?"":c}))}}));var sr,cr="\t\n\v\f\r \u2028\u2029\ufeff",lr="["+cr+"]",fr=RegExp("^"+lr+lr+"*"),dr=RegExp(lr+lr+"*$"),pr=function(e){return function(t){var n=String(v(t));return 1&e&&(n=n.replace(fr,"")),2&e&&(n=n.replace(dr,"")),n}},hr={start:pr(1),end:pr(2),trim:pr(3)},vr=hr.trim;function mr(e){return(mr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gr(e,t){var n=br(e,t);return n&&n.$ref?Object.assign({},n,gr(e,n.$ref)):n}function yr(t,n,r,i){!function t(n,r,o){var a=r.split("/"),u=a[0],s=a.slice(1).join("/");if(""===s)e.set(n,u,o);else{if(void 0===n[u]){if(!i)return;e.set(n,u,{})}t(n[u],s,o)}}(t,n.trim().replace(/^#?\/|\/$/g,""),r)}function br(e,t){return function e(t,n){if(t&&"object"===mr(t)){if(""===n)return t;var r=n.split("/"),i=r[0],o=r.slice(1).join("/");if(""===o)return t[i];if(void 0===t[i])return;return e(t[i],o)}}(e,t.trim().replace(/^#?\/|\/$/g,""))}$e({target:"String",proto:!0,forced:(sr="trim",o((function(){return!!cr[sr]()||"
"!="
"[sr]()||cr[sr].name!==sr})))},{trim:function(){return vr(this)}});
/*!
* https://github.com/Starcounter-Jack/JSON-Patch
* (c) 2017 Joachim Wester
* MIT license
*/
var _r,Or=(_r=function(e,t){return(_r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}_r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),wr=Object.prototype.hasOwnProperty;function Er(e,t){return wr.call(e,t)}function Ar(e){if(Array.isArray(e)){for(var t=new Array(e.length),n=0;n<t.length;n++)t[n]=""+n;return t}if(Object.keys)return Object.keys(e);t=[];for(var r in e)Er(e,r)&&t.push(r);return t}function Sr(e){switch(typeof e){case"object":return JSON.parse(JSON.stringify(e));case"undefined":return null;default:return e}}function xr(e){for(var t,n=0,r=e.length;n<r;){if(!((t=e.charCodeAt(n))>=48&&t<=57))return!1;n++}return!0}function Rr(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function jr(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function Tr(e,t){var n=[e];for(var r in t){var i="object"==typeof t[r]?JSON.stringify(t[r],null,2):t[r];void 0!==i&&n.push(r+": "+i)}return n.join("\n")}var $r=function(e){function t(t,n,r,i,o){var a=this.constructor,u=e.call(this,Tr(t,{name:n,index:r,operation:i,tree:o}))||this;return u.name=n,u.index=r,u.operation=i,u.tree=o,Object.setPrototypeOf(u,a.prototype),u.message=Tr(t,{name:n,index:r,operation:i,tree:o}),u}return Or(t,e),t}(Error),Pr=$r,Ir=Sr,Cr={add:function(e,t,n){return e[t]=this.value,{newDocument:n}},remove:function(e,t,n){var r=e[t];return delete e[t],{newDocument:n,removed:r}},replace:function(e,t,n){var r=e[t];return e[t]=this.value,{newDocument:n,removed:r}},move:function(e,t,n){var r=Mr(n,this.path);r&&(r=Sr(r));var i=kr(n,{op:"remove",path:this.from}).removed;return kr(n,{op:"add",path:this.path,value:i}),{newDocument:n,removed:r}},copy:function(e,t,n){var r=Mr(n,this.from);return kr(n,{op:"add",path:this.path,value:Sr(r)}),{newDocument:n}},test:function(e,t,n){return{newDocument:n,test:Fr(e[t],this.value)}},_get:function(e,t,n){return this.value=e[t],{newDocument:n}}},Nr={add:function(e,t,n){return xr(t)?e.splice(t,0,this.value):e[t]=this.value,{newDocument:n,index:t}},remove:function(e,t,n){return{newDocument:n,removed:e.splice(t,1)[0]}},replace:function(e,t,n){var r=e[t];return e[t]=this.value,{newDocument:n,removed:r}},move:Cr.move,copy:Cr.copy,test:Cr.test,_get:Cr._get};function Mr(e,t){if(""==t)return e;var n={op:"_get",path:t};return kr(e,n),n.value}function kr(e,t,n,r,i,o){if(void 0===n&&(n=!1),void 0===r&&(r=!0),void 0===i&&(i=!0),void 0===o&&(o=0),n&&("function"==typeof n?n(t,0,e,t.path):Lr(t,0)),""===t.path){var a={newDocument:e};if("add"===t.op)return a.newDocument=t.value,a;if("replace"===t.op)return a.newDocument=t.value,a.removed=e,a;if("move"===t.op||"copy"===t.op)return a.newDocument=Mr(e,t.from),"move"===t.op&&(a.removed=e),a;if("test"===t.op){if(a.test=Fr(e,t.value),!1===a.test)throw new Pr("Test operation failed","TEST_OPERATION_FAILED",o,t,e);return a.newDocument=e,a}if("remove"===t.op)return a.removed=e,a.newDocument=null,a;if("_get"===t.op)return t.value=e,a;if(n)throw new Pr("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",o,t,e);return a}r||(e=Sr(e));var u=(t.path||"").split("/"),s=e,c=1,l=u.length,f=void 0,d=void 0,p=void 0;for(p="function"==typeof n?n:Lr;;){if(d=u[c],i&&"__proto__"==d)throw new TypeError("JSON-Patch: modifying `__proto__` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(n&&void 0===f&&(void 0===s[d]?f=u.slice(0,c).join("/"):c==l-1&&(f=t.path),void 0!==f&&p(t,0,e,f)),c++,Array.isArray(s)){if("-"===d)d=s.length;else{if(n&&!xr(d))throw new Pr("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",o,t,e);xr(d)&&(d=~~d)}if(c>=l){if(n&&"add"===t.op&&d>s.length)throw new Pr("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",o,t,e);if(!1===(a=Nr[t.op].call(t,s,d,e)).test)throw new Pr("Test operation failed","TEST_OPERATION_FAILED",o,t,e);return a}}else if(d&&-1!=d.indexOf("~")&&(d=jr(d)),c>=l){if(!1===(a=Cr[t.op].call(t,s,d,e)).test)throw new Pr("Test operation failed","TEST_OPERATION_FAILED",o,t,e);return a}s=s[d]}}function Dr(e,t,n,r,i){if(void 0===r&&(r=!0),void 0===i&&(i=!0),n&&!Array.isArray(t))throw new Pr("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");r||(e=Sr(e));for(var o=new Array(t.length),a=0,u=t.length;a<u;a++)o[a]=kr(e,t[a],n,!0,i,a),e=o[a].newDocument;return o.newDocument=e,o}function Lr(e,t,n,r){if("object"!=typeof e||null===e||Array.isArray(e))throw new Pr("Operation is not an object","OPERATION_NOT_AN_OBJECT",t,e,n);if(!Cr[e.op])throw new Pr("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",t,e,n);if("string"!=typeof e.path)throw new Pr("Operation `path` property is not a string","OPERATION_PATH_INVALID",t,e,n);if(0!==e.path.indexOf("/")&&e.path.length>0)throw new Pr('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,n);if(("move"===e.op||"copy"===e.op)&&"string"!=typeof e.from)throw new Pr("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,n);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&void 0===e.value)throw new Pr("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,n);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&function e(t){if(void 0===t)return!0;if(t)if(Array.isArray(t)){for(var n=0,r=t.length;n<r;n++)if(e(t[n]))return!0}else if("object"==typeof t){var i=Ar(t),o=i.length;for(n=0;n<o;n++)if(e(t[i[n]]))return!0}return!1}(e.value))throw new Pr("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,e,n);if(n)if("add"==e.op){var i=e.path.split("/").length,o=r.split("/").length;if(i!==o+1&&i!==o)throw new Pr("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,e,n)}else if("replace"===e.op||"remove"===e.op||"_get"===e.op){if(e.path!==r)throw new Pr("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,e,n)}else if("move"===e.op||"copy"===e.op){var a=Vr([{op:"_get",path:e.from,value:void 0}],n);if(a&&"OPERATION_PATH_UNRESOLVABLE"===a.name)throw new Pr("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,n)}}function Vr(e,t,n){try{if(!Array.isArray(e))throw new Pr("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)Dr(Sr(t),Sr(e),n||!0);else{n=n||Lr;for(var r=0;r<e.length;r++)n(e[r],r,t,void 0)}}catch(e){if(e instanceof Pr)return e;throw e}}function Fr(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){var n,r,i,o=Array.isArray(e),a=Array.isArray(t);if(o&&a){if((r=e.length)!=t.length)return!1;for(n=r;0!=n--;)if(!Fr(e[n],t[n]))return!1;return!0}if(o!=a)return!1;var u=Object.keys(e);if((r=u.length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!t.hasOwnProperty(u[n]))return!1;for(n=r;0!=n--;)if(!Fr(e[i=u[n]],t[i]))return!1;return!0}return e!=e&&t!=t}var qr=Object.freeze({__proto__:null,JsonPatchError:Pr,deepClone:Ir,getValueByPointer:Mr,applyOperation:kr,applyPatch:Dr,applyReducer:function(e,t,n){var r=kr(e,t);if(!1===r.test)throw new Pr("Test operation failed","TEST_OPERATION_FAILED",n,t,e);return r.newDocument},validator:Lr,validate:Vr,_areEquals:Fr}),zr={namespaced:!0,state:function(){return{ui:{},schema:{},model:{},keepEmptyModel:{},configureOptions:[],showSteps:[],functions:{},language:{},initialModel:{},modelPathWatchers:{},currentStep:0,infoCenter:{isHide:!0,title:"Information Center",description:""},previewYamls:[]}},getters:{ui:function(e){return e.ui},schema:function(e){return e.schema},model:function(e){return e.model},keepEmptyModel:function(e){return e.keepEmptyModel},configureOptions:function(e){return e.configureOptions},showSteps:function(e){return e.showSteps||[]},functions:function(e){return e.functions},language:function(e){return e.language},initialModel:function(e){return e.initialModel},modelPathWatchers:function(e){return e.modelPathWatchers},store$get:function(e,t,n){return function(e){return br(n,e)}},infoCenter:function(e){return e.infoCenter||{}},currentStep:function(e){return e.currentStep},previewYamls:function(e){return e.previewYamls||[]}},mutations:{ui$set:function(e,t){e.ui=Ir(t)},schema$set:function(e,t){e.schema=Ir(t)},model$init:function(e,t){e.initialModel=Ir(t),e.model=Ir(t)},model$set:function(e,t){e.model=Ir(t)},model$update:function(e,t){var n=t.path,r=t.value,i=t.force;yr(e.model,n,r,i),Object.keys(e.modelPathWatchers).forEach((function(t){n.startsWith(t)&&(e.modelPathWatchers[t]||[]).forEach((function(e){return e(t)}))}))},keepEmptyModel$update:function(e,t){var n=t.path,r=t.value,i=t.force;yr(e.keepEmptyModel,n,r,i)},model$delete:function(t,n){(function t(n,r){var i=r.split("/"),o=i[0],a=i.slice(1).join("/");if(""===a)e.delete(n,o);else{if(null==n[o])return;t(n[o],a)}})(t.model,n.trim().replace(/^#?\/|\/$/g,"")),Object.keys(t.modelPathWatchers).forEach((function(e){e.startsWith(n)&&(t.modelPathWatchers[e]||[]).forEach((function(t){return t(e)}))}))},modelPathWatchers$add:function(e,t){var n=t.path,r=t.func;!function t(n){if(n){e.modelPathWatchers[n]?e.modelPathWatchers[n].push(r):e.modelPathWatchers[n]=[r];var i=n.split("/");i.pop(),t(i.join("/"))}}(n)},configureOptions$set:function(e,t){e.configureOptions=Jn(t)},showSteps$set:function(e,t){e.showSteps=t||[]},showSteps$update:function(e,t){var n=t.stepId,r=t.show,i=function(e,t){return e?e.find((function(e){return e.id===t})):void 0}(e.showSteps,n);if(!i)throw Error('Step item with id "'.concat(n,'" not found'));i.show=r},configureOptions$push:function(e,t){e.configureOptions.push(t)},configureOptions$delete:function(e,t){e.configureOptions=e.configureOptions.filter((function(e){return e!==t}))},functions$set:function(e,t){e.functions=t},functions$update:function(e,t){var n=t.path,r=t.value;yr(e.functions,n,r||{},!0)},language$set:function(e,t){e.language=Ir(t)},language$update:function(e,t){var n=t.path,r=t.value;yr(e.language.en||{},n,r.en||{},!0),yr(e.language.bn||{},n,r.bn||{},!0)},infoCenter$set:function(e,t){e.infoCenter=ht({},t)},currentStep$set:function(e,t){e.currentStep=t},previewYamls$set:function(e,t){e.previewYamls=Jn(t)}},actions:{}},Ur=function(){return(Ur=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function Gr(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function u(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function Br(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}function Wr(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,u=o.length;a<u;a++,i++)r[i]=o[a];return r}function Hr(e){return e!=e}function Yr(e){return null==e}var Kr=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function Jr(e,t){return!(!Hr(e)||!Hr(t))||e===t}function Xr(e,t){if(e instanceof RegExp&&t instanceof RegExp)return Xr(e.source,t.source)&&Xr(e.flags,t.flags);if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Xr(e[n],t[n]))return!1;return!0}return Kr(e)&&Kr(t)?Object.keys(e).every((function(n){return Xr(e[n],t[n])}))&&Object.keys(t).every((function(n){return Xr(e[n],t[n])})):Jr(e,t)}function Qr(e){return""!==e&&!Yr(e)}function Zr(e){return"function"==typeof e}function ei(e){return Zr(e)&&!!e.__locatorRef}function ti(e,t){var n=Array.isArray(e)?e:ri(e);if(Zr(n.findIndex))return n.findIndex(t);for(var r=0;r<n.length;r++)if(t(n[r],r))return r;return-1}function ni(e,t){return-1!==e.indexOf(t)}function ri(e){return Zr(Array.from)?Array.from(e):function(e){for(var t=[],n=e.length,r=0;r<n;r++)t.push(e[r]);return t}(e)}function ii(e){return Zr(Object.values)?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function oi(e,t,n){return void 0===t&&(t=0),void 0===n&&(n={cancelled:!1}),0===t?e:function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var a=function(){r=void 0,n.cancelled||e.apply(void 0,i)};clearTimeout(r),r=setTimeout(a,t)};var r}function ai(e,t){return e.replace(/{([^}]+)}/g,(function(e,n){return n in t?t[n]:"{"+n+"}"}))}var ui={};var si=function(){function e(){}return e.extend=function(e,t){var n=function(e){var t;return(null===(t=e.params)||void 0===t?void 0:t.length)&&(e.params=e.params.map((function(e){return"string"==typeof e?{name:e}:e}))),e}(t);ui[e]?ui[e]=function e(t,n){return Object.keys(n).forEach((function(r){if(Kr(n[r]))return t[r]||(t[r]={}),void e(t[r],n[r]);t[r]=n[r]})),t}(ui[e],t):ui[e]=Ur({lazy:!1,computesRequired:!1},n)},e.isLazy=function(e){var t;return!!(null===(t=ui[e])||void 0===t?void 0:t.lazy)},e.isRequireRule=function(e){var t;return!!(null===(t=ui[e])||void 0===t?void 0:t.computesRequired)},e.getRuleDefinition=function(e){return ui[e]},e}();function ci(e,t){!function(e,t){if(Zr(t))return;if(Zr(t.validate))return;if(si.getRuleDefinition(e))return;throw new Error("Extension Error: The validator '"+e+"' must be a function or have a 'validate' method.")}(e,t),"object"!=typeof t?si.extend(e,{validate:t}):si.extend(e,t)}var li=Ur({},{defaultMessage:"{_field_} is not valid.",skipOptional:!0,classes:{touched:"touched",untouched:"untouched",valid:"valid",invalid:"invalid",pristine:"pristine",dirty:"dirty"},bails:!0,mode:"aggressive",useConstraintAttrs:!0}),fi=function(){return li},di=function(e){var t;t=e,li=Ur(Ur({},li),t)};function pi(e){var t,n={};return Object.defineProperty(n,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?Kr(e)&&e._$$isNormalized?e:Kr(e)?Object.keys(e).reduce((function(t,n){var r=[];return r=!0===e[n]?[]:Array.isArray(e[n])||Kr(e[n])?e[n]:[e[n]],!1!==e[n]&&(t[n]=hi(n,r)),t}),n):"string"!=typeof e?(t="rules must be either a string or an object.",console.warn("[vee-validate] "+t),n):e.split("|").reduce((function(e,t){var n=vi(t);return n.name?(e[n.name]=hi(n.name,n.params),e):e}),n):n}function hi(e,t){var n=si.getRuleDefinition(e);if(!n)return t;var r,i,o={};if(!n.params&&!Array.isArray(t))throw new Error("You provided an object params to a rule that has no defined schema.");if(Array.isArray(t)&&!n.params)return t;!n.params||n.params.length<t.length&&Array.isArray(t)?r=t.map((function(e,t){var r,o=null===(r=n.params)||void 0===r?void 0:r[t];return i=o||i,o||(o=i),o})):r=n.params;for(var a=0;a<r.length;a++){var u=r[a],s=u.default;Array.isArray(t)?a in t&&(s=t[a]):u.name in t?s=t[u.nam