(self.webpackChunk=self.webpackChunk||[]).push([[459],{685:(e,a,n)=>{"use strict";n(4812);function t(){$(".lc-filemanager-delete").off("click"),$(".lc-filemanager-delete").on("click",(function(e){var a=$(this);$("#"+a.data("id")).val(""),$("#"+a.data("id")+"_preview").prop("src","")})),$(".lc-filemanager-open").off("click"),$(".lc-filemanager-open").on("click",(function(e){var a=$(this);$("#lc-filemanager-frame").off("load"),$("#lc-filemanager-frame").on("load",(function(){$("#lc-filemanager-frame").contents().on("click",".select",(function(){var e=$(this).attr("data-path");$("#"+a.data("id")).val(e),$("#"+a.data("id")+"_preview").prop("src",e),$("#lc-filemanager-modal").modal("hide")}))})),$("#lc-filemanager-frame").prop("src",a.data("target")),$("#lc-filemanager-modal").modal("show")}))}$(document).ready((function(){t()})),$(".field-collection").bind("collection-add-item",(function(){t()}))},7065:(e,a,n)=>{"use strict";var t=n(3099),i=n(111),c=[].slice,r={},o=function(e,a,n){if(!(a in r)){for(var t=[],i=0;i<a;i++)t[i]="a["+i+"]";r[a]=Function("C,a","return new C("+t.join(",")+")")}return r[a](e,n)};e.exports=Function.bind||function(e){var a=t(this),n=c.call(arguments,1),r=function(){var t=n.concat(c.call(arguments));return this instanceof r?o(a,t.length,t):a.apply(e,t)};return i(a.prototype)&&(r.prototype=a.prototype),r}},4812:(e,a,n)=>{n(694)({target:"Function",proto:!0},{bind:n(7065)})}},e=>{"use strict";e.O(0,[381],(()=>{return a=685,e(e.s=a);var a}));e.O()}]);