1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6664943e-6274-56b1-b1f4-7adffb419949")}catch(e){}}(); 3import{U as m,V as v}from"./chunk-7XEC5R2G.js";import{Jb as n,La as p,Lc as c,Pb as h,Zd as f,eb as d,fb as l}from"./chunk-7RQO36LL.js";f();f();v();var _=(()=>{class a{constructor(o,i,t){this.element=o,this.renderer=i,this.notifier=t,this.droppable=!0,this.onDragOver=e=>{e.preventDefault(),this.dropWithOpacity?this.renderer.addClass(this.element.nativeElement,"mark-drop-area-opacity"):this.dropWithOpacity||this.renderer.addClass(this.element.nativeElement,"mark-drop-area")},this.onDragEnd=e=>{e.preventDefault(),this.dropWithOpacity?this.renderer.removeClass(this.element.nativeElement,"mark-drop-area-opacity"):this.dropWithOpacity||this.renderer.removeClass(this.element.nativeElement,"mark-drop-area")},this.onDrop=e=>{this.onDragEnd(e),this.droppable&&e.dataTransfer?this.loadFile(e,e.dataTransfer.files):this.droppable||this.notifier.error("Please upload your assets under 'Media Library'")},this.loadFile=(e,r)=>{let s=[];Array.from(r).forEach((u,D)=>{Number.isInteger(D)&&s.push(u)}),this.onElementDrop.emit(s)},this.onElementDrop=new l}static{this.\u0275fac=function(i){return new(i||a)(n(d),n(h),n(m))}}static{this.\u0275dir=p({type:a,selectors:[["","droppableArea",""]],hostBindings:function(i,t){i&1&&c("dragover",function(r){return t.onDragOver(r)})("dragleave",function(r){return t.onDragEnd(r)})("drop",function(r){return t.onDrop(r)})},inputs:{droppable:"droppable",dropWithOpacity:"dropWithOpacity",dropAreaVisible:"dropAreaVisible"},outputs:{onElementDrop:"onElementDrop"},standalone:!0})}}return a})();export{_ as a}; 4/**i18n:a22416d48d5d315853b2ff30dd429c3cf66bb88014970864ad6c2ff7ea890e29*/ 5 6//# debugId=6664943e-6274-56b1-b1f4-7adffb419949
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.