(function(window){"use strict";!function(o){var e={};function n(t){if(e[t])return e[t].exports;var r=e[t]={i:t,l:!1,exports:{}};return o[t].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=o,n.c=e,n.d=function(o,e,t){n.o(o,e)||Object.defineProperty(o,e,{enumerable:!0,get:t})},n.r=function(o){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},n.t=function(o,e){if(1&e&&(o=n(o)),8&e)return o;if(4&e&&"object"===typeof o&&o&&o.__esModule)return o;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:o}),2&e&&"string"!=typeof o)for(var r in o)n.d(t,r,function(e){return o[e]}.bind(null,r));return t},n.n=function(o){var e=o&&o.__esModule?function(){return o.default}:function(){return o};return n.d(e,"a",e),e},n.o=function(o,e){return Object.prototype.hasOwnProperty.call(o,e)},n.p="",n(n.s=0)}([function(o,e){!function(o){(window.eapps=window.eapps||{}).observer=function(o,n,t){o.$watch("widget.data.files",(function(o,t){void 0!==o&&o!==t&&o.forEach((function(r,i){o[i]&&t[i]&&o[i].linkType!==t[i].linkType&&("upload"===o[i].linkType?(e("upload",!0,n),e("link",!1,n)):"link"===o[i].linkType&&(e("upload",!1,n),e("link",!0,n)))}))}),!0),o.$watch("widget.data.showIcon",(function(t,r){o.widget.data.showIcon?e("iconColor",!0,n):e("iconColor",!1,n)})),o.$watch("widget.data.showDownloadLink",(function(t,r){o.widget.data.showDownloadLink?(e("downloadColor",!0,n),e("downloadFontSize",!0,n)):(e("downloadColor",!1,n),e("downloadFontSize",!1,n))}))};var e=function o(e,n,t){t.forEach((function(r,i){if(r.id===e)return t[i].visible=n,!1;r&&r.properties&&o(e,n,r.properties),r.complex&&r.complex.properties&&o(e,n,r.complex.properties),r.subgroup&&r.subgroup.properties&&o(e,n,r.subgroup.properties)}))}}()}]);})(window)