This repository was archived by the owner on Aug 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
1 lines (1 loc) · 16.3 KB
/
index.js
File metadata and controls
1 lines (1 loc) · 16.3 KB
1
!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=8)}([function(t,e,r){"use strict";var n=r(2),o="object"==typeof self&&self&&self.Object===Object&&self,a=n.a||o||Function("return this")();e.a=a},function(t,e,r){"use strict";(function(t){var n=r(2),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=a&&a.exports===o&&n.a.process,c=function(){try{var t=a&&a.require&&a.require("util").types;return t||i&&i.binding&&i.binding("util")}catch(t){}}();e.a=c}).call(this,r(4)(t))},function(t,e,r){"use strict";(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.a=r}).call(this,r(7))},function(t,e,r){"use strict";(function(t){var n=r(0),o=r(5),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=a&&"object"==typeof t&&t&&!t.nodeType&&t,c=i&&i.exports===a?n.a.Buffer:void 0,u=(c?c.isBuffer:void 0)||o.a;e.a=u}).call(this,r(4)(t))},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,r){"use strict";e.a=function(){return!1}},function(t,e,r){"use strict";(function(t){var n=r(0),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=a&&a.exports===o?n.a.Buffer:void 0,c=i?i.allocUnsafe:void 0;e.a=function(t,e){if(e)return t.slice();var r=t.length,n=c?c(r):new t.constructor(r);return t.copy(n),n}}).call(this,r(4)(t))},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.data&&"object"==typeof t.data?r("k-json-editor",{attrs:{label:t.label,options:t.options},on:{input:t.input},model:{value:t.data,callback:function(e){t.data=e},expression:"data"}}):r("k-text-field",{attrs:{icon:"wand",label:t.label,placeholder:t.variable},on:{input:t.input},model:{value:t.data,callback:function(e){t.data=e},expression:"data"}})};n._withStripped=!0;var o=function(){this.__data__=[],this.size=0};var a=function(t,e){return t===e||t!=t&&e!=e};var i=function(t,e){for(var r=t.length;r--;)if(a(t[r][0],e))return r;return-1},c=Array.prototype.splice;var u=function(t){var e=this.__data__,r=i(e,t);return!(r<0||(r==e.length-1?e.pop():c.call(e,r,1),--this.size,0))};var s=function(t){var e=this.__data__,r=i(e,t);return r<0?void 0:e[r][1]};var f=function(t){return i(this.__data__,t)>-1};var l=function(t,e){var r=this.__data__,n=i(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function p(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}p.prototype.clear=o,p.prototype.delete=u,p.prototype.get=s,p.prototype.has=f,p.prototype.set=l;var b=p;var v=function(){this.__data__=new b,this.size=0};var y=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};var d=function(t){return this.__data__.get(t)};var j=function(t){return this.__data__.has(t)},h=r(0),_=h.a.Symbol,g=Object.prototype,O=g.hasOwnProperty,w=g.toString,m=_?_.toStringTag:void 0;var A=function(t){var e=O.call(t,m),r=t[m];try{t[m]=void 0;var n=!0}catch(t){}var o=w.call(t);return n&&(e?t[m]=r:delete t[m]),o},x=Object.prototype.toString;var S=function(t){return x.call(t)},P="[object Null]",z="[object Undefined]",E=_?_.toStringTag:void 0;var F=function(t){return null==t?void 0===t?z:P:E&&E in Object(t)?A(t):S(t)};var M=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},k="[object AsyncFunction]",U="[object Function]",I="[object GeneratorFunction]",T="[object Proxy]";var $,C=function(t){if(!M(t))return!1;var e=F(t);return e==U||e==I||e==k||e==T},B=h.a["__core-js_shared__"],R=($=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+$:"";var D=function(t){return!!R&&R in t},V=Function.prototype.toString;var N=function(t){if(null!=t){try{return V.call(t)}catch(t){}try{return t+""}catch(t){}}return""},W=/^\[object .+?Constructor\]$/,L=Function.prototype,q=Object.prototype,G=L.toString,X=q.hasOwnProperty,K=RegExp("^"+G.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var H=function(t){return!(!M(t)||D(t))&&(C(t)?K:W).test(N(t))};var J=function(t,e){return null==t?void 0:t[e]};var Q=function(t,e){var r=J(t,e);return H(r)?r:void 0},Y=Q(h.a,"Map"),Z=Q(Object,"create");var tt=function(){this.__data__=Z?Z(null):{},this.size=0};var et=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},rt="__lodash_hash_undefined__",nt=Object.prototype.hasOwnProperty;var ot=function(t){var e=this.__data__;if(Z){var r=e[t];return r===rt?void 0:r}return nt.call(e,t)?e[t]:void 0},at=Object.prototype.hasOwnProperty;var it=function(t){var e=this.__data__;return Z?void 0!==e[t]:at.call(e,t)},ct="__lodash_hash_undefined__";var ut=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Z&&void 0===e?ct:e,this};function st(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}st.prototype.clear=tt,st.prototype.delete=et,st.prototype.get=ot,st.prototype.has=it,st.prototype.set=ut;var ft=st;var lt=function(){this.size=0,this.__data__={hash:new ft,map:new(Y||b),string:new ft}};var pt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var bt=function(t,e){var r=t.__data__;return pt(e)?r["string"==typeof e?"string":"hash"]:r.map};var vt=function(t){var e=bt(this,t).delete(t);return this.size-=e?1:0,e};var yt=function(t){return bt(this,t).get(t)};var dt=function(t){return bt(this,t).has(t)};var jt=function(t,e){var r=bt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function ht(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=lt,ht.prototype.delete=vt,ht.prototype.get=yt,ht.prototype.has=dt,ht.prototype.set=jt;var _t=ht,gt=200;var Ot=function(t,e){var r=this.__data__;if(r instanceof b){var n=r.__data__;if(!Y||n.length<gt-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new _t(n)}return r.set(t,e),this.size=r.size,this};function wt(t){var e=this.__data__=new b(t);this.size=e.size}wt.prototype.clear=v,wt.prototype.delete=y,wt.prototype.get=d,wt.prototype.has=j,wt.prototype.set=Ot;var mt=wt;var At=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t},xt=function(){try{var t=Q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();var St=function(t,e,r){"__proto__"==e&&xt?xt(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r},Pt=Object.prototype.hasOwnProperty;var zt=function(t,e,r){var n=t[e];Pt.call(t,e)&&a(n,r)&&(void 0!==r||e in t)||St(t,e,r)};var Et=function(t,e,r,n){var o=!r;r||(r={});for(var a=-1,i=e.length;++a<i;){var c=e[a],u=n?n(r[c],t[c],c,r,t):void 0;void 0===u&&(u=t[c]),o?St(r,c,u):zt(r,c,u)}return r};var Ft=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n};var Mt=function(t){return null!=t&&"object"==typeof t},kt="[object Arguments]";var Ut=function(t){return Mt(t)&&F(t)==kt},It=Object.prototype,Tt=It.hasOwnProperty,$t=It.propertyIsEnumerable,Ct=Ut(function(){return arguments}())?Ut:function(t){return Mt(t)&&Tt.call(t,"callee")&&!$t.call(t,"callee")},Bt=Array.isArray,Rt=r(3),Dt=9007199254740991,Vt=/^(?:0|[1-9]\d*)$/;var Nt=function(t,e){var r=typeof t;return!!(e=null==e?Dt:e)&&("number"==r||"symbol"!=r&&Vt.test(t))&&t>-1&&t%1==0&&t<e},Wt=9007199254740991;var Lt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Wt},qt={};qt["[object Float32Array]"]=qt["[object Float64Array]"]=qt["[object Int8Array]"]=qt["[object Int16Array]"]=qt["[object Int32Array]"]=qt["[object Uint8Array]"]=qt["[object Uint8ClampedArray]"]=qt["[object Uint16Array]"]=qt["[object Uint32Array]"]=!0,qt["[object Arguments]"]=qt["[object Array]"]=qt["[object ArrayBuffer]"]=qt["[object Boolean]"]=qt["[object DataView]"]=qt["[object Date]"]=qt["[object Error]"]=qt["[object Function]"]=qt["[object Map]"]=qt["[object Number]"]=qt["[object Object]"]=qt["[object RegExp]"]=qt["[object Set]"]=qt["[object String]"]=qt["[object WeakMap]"]=!1;var Gt=function(t){return Mt(t)&&Lt(t.length)&&!!qt[F(t)]};var Xt=function(t){return function(e){return t(e)}},Kt=r(1),Ht=Kt.a&&Kt.a.isTypedArray,Jt=Ht?Xt(Ht):Gt,Qt=Object.prototype.hasOwnProperty;var Yt=function(t,e){var r=Bt(t),n=!r&&Ct(t),o=!r&&!n&&Object(Rt.a)(t),a=!r&&!n&&!o&&Jt(t),i=r||n||o||a,c=i?Ft(t.length,String):[],u=c.length;for(var s in t)!e&&!Qt.call(t,s)||i&&("length"==s||o&&("offset"==s||"parent"==s)||a&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||Nt(s,u))||c.push(s);return c},Zt=Object.prototype;var te=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Zt)};var ee=function(t,e){return function(r){return t(e(r))}},re=ee(Object.keys,Object),ne=Object.prototype.hasOwnProperty;var oe=function(t){if(!te(t))return re(t);var e=[];for(var r in Object(t))ne.call(t,r)&&"constructor"!=r&&e.push(r);return e};var ae=function(t){return null!=t&&Lt(t.length)&&!C(t)};var ie=function(t){return ae(t)?Yt(t):oe(t)};var ce=function(t,e){return t&&Et(e,ie(e),t)};var ue=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e},se=Object.prototype.hasOwnProperty;var fe=function(t){if(!M(t))return ue(t);var e=te(t),r=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&r.push(n);return r};var le=function(t){return ae(t)?Yt(t,!0):fe(t)};var pe=function(t,e){return t&&Et(e,le(e),t)},be=r(6);var ve=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e};var ye=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,a=[];++r<n;){var i=t[r];e(i,r,t)&&(a[o++]=i)}return a};var de=function(){return[]},je=Object.prototype.propertyIsEnumerable,he=Object.getOwnPropertySymbols,_e=he?function(t){return null==t?[]:(t=Object(t),ye(he(t),function(e){return je.call(t,e)}))}:de;var ge=function(t,e){return Et(t,_e(t),e)};var Oe=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t},we=ee(Object.getPrototypeOf,Object),me=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Oe(e,_e(t)),t=we(t);return e}:de;var Ae=function(t,e){return Et(t,me(t),e)};var xe=function(t,e,r){var n=e(t);return Bt(t)?n:Oe(n,r(t))};var Se=function(t){return xe(t,ie,_e)};var Pe=function(t){return xe(t,le,me)},ze=Q(h.a,"DataView"),Ee=Q(h.a,"Promise"),Fe=Q(h.a,"Set"),Me=Q(h.a,"WeakMap"),ke=N(ze),Ue=N(Y),Ie=N(Ee),Te=N(Fe),$e=N(Me),Ce=F;(ze&&"[object DataView]"!=Ce(new ze(new ArrayBuffer(1)))||Y&&"[object Map]"!=Ce(new Y)||Ee&&"[object Promise]"!=Ce(Ee.resolve())||Fe&&"[object Set]"!=Ce(new Fe)||Me&&"[object WeakMap]"!=Ce(new Me))&&(Ce=function(t){var e=F(t),r="[object Object]"==e?t.constructor:void 0,n=r?N(r):"";if(n)switch(n){case ke:return"[object DataView]";case Ue:return"[object Map]";case Ie:return"[object Promise]";case Te:return"[object Set]";case $e:return"[object WeakMap]"}return e});var Be=Ce,Re=Object.prototype.hasOwnProperty;var De=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&Re.call(t,"index")&&(r.index=t.index,r.input=t.input),r},Ve=h.a.Uint8Array;var Ne=function(t){var e=new t.constructor(t.byteLength);return new Ve(e).set(new Ve(t)),e};var We=function(t,e){var r=e?Ne(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)},Le=/\w*$/;var qe=function(t){var e=new t.constructor(t.source,Le.exec(t));return e.lastIndex=t.lastIndex,e},Ge=_?_.prototype:void 0,Xe=Ge?Ge.valueOf:void 0;var Ke=function(t){return Xe?Object(Xe.call(t)):{}};var He=function(t,e){var r=e?Ne(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)},Je="[object Boolean]",Qe="[object Date]",Ye="[object Map]",Ze="[object Number]",tr="[object RegExp]",er="[object Set]",rr="[object String]",nr="[object Symbol]",or="[object ArrayBuffer]",ar="[object DataView]",ir="[object Float32Array]",cr="[object Float64Array]",ur="[object Int8Array]",sr="[object Int16Array]",fr="[object Int32Array]",lr="[object Uint8Array]",pr="[object Uint8ClampedArray]",br="[object Uint16Array]",vr="[object Uint32Array]";var yr=function(t,e,r){var n=t.constructor;switch(e){case or:return Ne(t);case Je:case Qe:return new n(+t);case ar:return We(t,r);case ir:case cr:case ur:case sr:case fr:case lr:case pr:case br:case vr:return He(t,r);case Ye:return new n;case Ze:case rr:return new n(t);case tr:return qe(t);case er:return new n;case nr:return Ke(t)}},dr=Object.create,jr=function(){function t(){}return function(e){if(!M(e))return{};if(dr)return dr(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();var hr=function(t){return"function"!=typeof t.constructor||te(t)?{}:jr(we(t))},_r="[object Map]";var gr=function(t){return Mt(t)&&Be(t)==_r},Or=Kt.a&&Kt.a.isMap,wr=Or?Xt(Or):gr,mr="[object Set]";var Ar=function(t){return Mt(t)&&Be(t)==mr},xr=Kt.a&&Kt.a.isSet,Sr=xr?Xt(xr):Ar,Pr=1,zr=2,Er=4,Fr="[object Arguments]",Mr="[object Function]",kr="[object GeneratorFunction]",Ur="[object Object]",Ir={};Ir[Fr]=Ir["[object Array]"]=Ir["[object ArrayBuffer]"]=Ir["[object DataView]"]=Ir["[object Boolean]"]=Ir["[object Date]"]=Ir["[object Float32Array]"]=Ir["[object Float64Array]"]=Ir["[object Int8Array]"]=Ir["[object Int16Array]"]=Ir["[object Int32Array]"]=Ir["[object Map]"]=Ir["[object Number]"]=Ir[Ur]=Ir["[object RegExp]"]=Ir["[object Set]"]=Ir["[object String]"]=Ir["[object Symbol]"]=Ir["[object Uint8Array]"]=Ir["[object Uint8ClampedArray]"]=Ir["[object Uint16Array]"]=Ir["[object Uint32Array]"]=!0,Ir["[object Error]"]=Ir[Mr]=Ir["[object WeakMap]"]=!1;var Tr=function t(e,r,n,o,a,i){var c,u=r&Pr,s=r&zr,f=r&Er;if(n&&(c=a?n(e,o,a,i):n(e)),void 0!==c)return c;if(!M(e))return e;var l=Bt(e);if(l){if(c=De(e),!u)return ve(e,c)}else{var p=Be(e),b=p==Mr||p==kr;if(Object(Rt.a)(e))return Object(be.a)(e,u);if(p==Ur||p==Fr||b&&!a){if(c=s||b?{}:hr(e),!u)return s?Ae(e,pe(c,e)):ge(e,ce(c,e))}else{if(!Ir[p])return a?e:{};c=yr(e,p,u)}}i||(i=new mt);var v=i.get(e);if(v)return v;if(i.set(e,c),Sr(e))return e.forEach(function(o){c.add(t(o,r,n,o,e,i))}),c;if(wr(e))return e.forEach(function(o,a){c.set(a,t(o,r,n,a,e,i))}),c;var y=f?s?Pe:Se:s?keysIn:ie,d=l?void 0:y(e);return At(d||e,function(o,a){d&&(o=e[a=o]),zt(c,a,t(o,r,n,a,e,i))}),c},$r=1,Cr=4;var Br=function(t){return Tr(t,$r|Cr)};var Rr=function(t,e,r,n,o,a,i,c){var u,s="function"==typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=r,s._compiled=!0),n&&(s.functional=!0),a&&(s._scopeId="data-v-"+a),i?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},s._ssrRegister=u):o&&(u=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(t,e){return u.call(e),f(t,e)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:s}}({props:{value:Object,endpoints:Object,label:String,variable:String,editor:Object},data(){return{data:null,options:{isKeysEditable:this.editor.keys,isValuesEditable:this.editor.values,isMutatable:this.editor.mutate,isSortable:this.editor.sort}}},methods:{input(){this.$emit("input",this.data)}},watch:{value:{immediate:!0,handler:function(t){Array.isArray(t)&&!t.length&&(t={}),this.data=Br(t)}}}},n,[],!1,null,null,null);Rr.options.__file="src/Field.vue";var Dr=Rr.exports;panel.plugin("oblik/variables-field",{fields:{variables:Dr}})}]);