{"version":3,"file":"ViewContainerMixin.cjs","sources":["../../../src/core/mixins/ViewContainerMixin.ts"],"sourcesContent":["import { extensions, type ObservablePoint, ViewContainer } from 'pixi.js';\nimport { type ComputedLayout } from '../types';\nimport { baseComputeLayoutData } from './utils/baseComputeLayoutData';\n\nconst mixin: Partial<ViewContainer> = {\n    /**\n     * Computes the layout data for the container\n     * @param computedLayout - The computed layout from Yoga\n     * @returns The layout data for the container\n     */\n    computeLayoutData(computedLayout: ComputedLayout) {\n        return baseComputeLayoutData(this, computedLayout, 'fill', this._anchor);\n    },\n} as ViewContainer & { _anchor?: ObservablePoint };\n\nextensions.mixin(ViewContainer, mixin);\n"],"names":["baseComputeLayoutData","extensions","ViewContainer"],"mappings":";;;AAIA,MAAM,QAAgC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMlC,kBAAkB,gBAAgC;AAC9C,WAAOA,sBAAAA,sBAAsB,MAAM,gBAAgB,QAAQ,KAAK,OAAO;AAAA,EAAA;AAE/E;AAEAC,QAAAA,WAAW,MAAMC,uBAAe,KAAK;"}