import{__decorate as e}from"tslib";import{serializable as r}from"../support/Serializable.js";import{isMediaLayer as t}from"../utilities/_layers.js";import{LayerExtension as i,LayerExtensionSchema as a}from"./_LayerExtension.js";let s=class extends i{get layer(){return super.layer}_getSerializableProperties(){const e=super._getSerializableProperties();return{...e,layer:{...this._toPropertyDef(e.layer),default:{layerType:"MediaLayer"}}}}_isSupportedLayer(e){return t(e)}_createSchema(){return new a(this)}};s=e([r],s);export{s as MediaLayerExtension};