{"version":3,"sources":["../../../src/client/dev/dev-build-watcher.ts"],"names":["initializeBuildWatcher","toggleCallback","position","shadowHost","document","createElement","verticalProperty","horizontalProperty","split","id","style","width","height","zIndex","body","appendChild","shadowRoot","prefix","attachShadow","mode","container","createContainer","css","createCss","isVisible","isBuilding","timeoutId","addMessageListener","obj","handleMessage","show","clearTimeout","updateContainer","hide","setTimeout","action","HMR_ACTIONS_SENT_TO_BROWSER","BUILDING","BUILT","SYNC","classList","add","remove","innerHTML","textContent"],"mappings":"AAAA,0DAA0D;;;;+BAa1D;;;eAAwBA;;;kCAZoB;2BAET;AAUpB,SAASA,uBACtBC,cAAmD,EACnDC,QAAyB;IAAzBA,IAAAA,qBAAAA,WAAW;IAEX,MAAMC,aAAaC,SAASC,aAAa,CAAC;IAC1C,MAAM,CAACC,kBAAkBC,mBAAmB,GAAGL,SAASM,KAAK,CAAC;IAI9DL,WAAWM,EAAE,GAAG;IAChB,gEAAgE;IAChEN,WAAWO,KAAK,CAACR,QAAQ,GAAG;IAC5B,4DAA4D;IAC5DC,WAAWO,KAAK,CAACJ,iBAAiB,GAAG;IACrC,4DAA4D;IAC5DH,WAAWO,KAAK,CAACH,mBAAmB,GAAG;IACvCJ,WAAWO,KAAK,CAACC,KAAK,GAAG;IACzBR,WAAWO,KAAK,CAACE,MAAM,GAAG;IAC1BT,WAAWO,KAAK,CAACG,MAAM,GAAG;IAC1BT,SAASU,IAAI,CAACC,WAAW,CAACZ;IAE1B,IAAIa;IACJ,IAAIC,SAAS;IAEb,IAAId,WAAWe,YAAY,EAAE;QAC3BF,aAAab,WAAWe,YAAY,CAAC;YAAEC,MAAM;QAAO;IACtD,OAAO;QACL,iEAAiE;QACjE,2DAA2D;QAC3D,uBAAuB;QACvBH,aAAab;QACbc,SAAS;IACX;IAEA,YAAY;IACZ,MAAMG,YAAYC,gBAAgBJ;IAClCD,WAAWD,WAAW,CAACK;IAEvB,MAAM;IACN,MAAME,MAAMC,UAAUN,QAAQ;QAAEV;QAAo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