"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2134],{42134:(e,r,i)=>{i.d(r,{computeObjectLayerResourceSize:()=>u}),i(3172);var t=i(20102),o=i(13867),n=i(65617),s=i(60437),c=i(45119);let l=new o.z(50);async function u(e,r=null){if(!e.isPrimitive){const r=e.resource.href;if(!r)throw new t.Z("symbol:invalid-resource","The symbol does not have a valid resource");const o=l.get(r);if(void 0!==o)return o;const{fetch:c}=await Promise.all([i.e(6481),i.e(5590),i.e(7681),i.e(8598),i.e(706)]).then(i.bind(i,40706)),u=await c(r,{disableTextures:!0}),a=(0,s.dp)(u.referenceBoundingBox,(0,n.c)());return l.put(r,a),a}if(!e.resource?.primitive)throw new t.Z("symbol:invalid-resource","The symbol does not have a valid resource");const o=(0,s.Ue)((0,c.Uz)(e.resource.primitive));if(null!=r)for(let e=0;e<o.length;e++)o[e]*=r;return(0,s.dp)(o,(0,n.c)())}}}]);