(window.webpackJsonp=window.webpackJsonp||[]).push([[300],{2073:function(e,t,n){"use strict";n.r(t);n(40),n(4),n(31),n(49),n(34),n(26),n(10),n(50),n(54),n(39),n(12),n(8),n(14),n(13),n(15);var r=n(1),o=n(5),l=n(20),c=n(56),f=n(776),v=n(80);function m(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,n)}return t}function d(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(t){Object(r.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){c=!0,o=e},f:function(){try{l||null==n.return||n.return()}finally{if(c)throw o}}}}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var j=Object(o.c)({props:{value:Object},setup:function(e,t){var n=Object(o.i)([]),r=Object(o.i)(!0);Object(o.f)((function(){Object(l.getSocket)("/registries/overlays").emit("generic::getAll",(function(e,t){if(e)return Object(v.a)(e);n.value=[];var o,l=y(t);try{for(l.s();!(o=l.n()).done;){var c,f=y(o.value.items);try{for(f.s();!(c=f.n()).done;){var m=c.value;console.log({item:m}),n.value.push(m)}}catch(e){f.e(e)}finally{f.f()}}}catch(e){l.e(e)}finally{l.f()}r.value=!1}))}));var m=Object(o.i)(0),O=Object(o.i)(Object(f.a)(e.value.opts,"reference"));return Object(o.p)(O,(function(n){console.log({props:e,options:O}),Object(c.isEqual)(e.value,d(d({},e.value),{},{opts:n}))||t.emit("input",n)}),{deep:!0,immediate:!0}),{model:m,options:O,items:n,loading:r}}}),_=n(46),h=n(44),x=n.n(h),w=n(378),P=n(762),component=Object(_.a)(j,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-expansion-panels",{model:{value:e.model,callback:function(t){e.model=t},expression:"model"}},[e._t("default"),e._v(" "),n("v-expansion-panel",{attrs:{readonly:void 0===e.$slots.default}},[n("v-expansion-panel-header",[e._v("Settings")]),e._v(" "),n("v-expansion-panel-content",[n("v-autocomplete",{attrs:{loading:e.loading,items:e.items,"item-value":"id",label:"Overlay to link"},scopedSlots:e._u([{key:"selection",fn:function(data){return[data.item.name?n("strong",{staticClass:"text-button"},[e._v(e._s(data.item.name)+" | ")]):e._e(),e._v(" "),n("span",{staticClass:"text-overline"},[e._v(e._s(data.item.opts.typeId)+" | ")]),e._v(" "),n("span",{staticClass:"text-caption"},[e._v(e._s(data.item.id))])]}},{key:"item",fn:function(data){return[data.item.name?n("strong",{staticClass:"text-button"},[e._v(e._s(data.item.name)+" | ")]):e._e(),e._v(" "),n("span",{staticClass:"text-overline"},[e._v(e._s(data.item.opts.typeId)+" | ")]),e._v(" "),n("span",{staticClass:"text-caption"},[e._v(e._s(data.item.id))])]}}]),model:{value:e.options.overlayId,callback:function(t){e.$set(e.options,"overlayId",t)},expression:"options.overlayId"}})],1)],1)],2)}),[],!1,null,null,null);t.default=component.exports;x()(component,{VAutocomplete:w.a,VExpansionPanel:P.a,VExpansionPanelContent:P.b,VExpansionPanelHeader:P.c,VExpansionPanels:P.d})}}]);