{"version":3,"file":"libs_init.fc1ad374.js","mappings":"ggCAAA,QAAqC,IAA1BA,OAAOC,eAAgC,CAIhD,MAAMC,UAA2BD,eAC/BE,WAAAA,CAAYC,GACVC,OAAM,CAACC,EAASC,KACdC,uBAAsB,KAChBC,MAAMC,QAAQJ,IAAYA,EAAQK,OAAS,GAC7CP,EAASE,EAASC,EACpB,GACA,GAEN,EAGFP,OAAOC,eAAiBC,CAC1B,C","sources":["webpack://@finviz/website/./js/app/shared/ResizeObserverWithRequestAnimationFrame.ts"],"sourcesContent":["if (typeof window.ResizeObserver !== 'undefined') {\r\n  // There were failing cypress tests on (uncaught exception) Error: ResizeObserver loop completed with undelivered notifications.\r\n  // The solution is inspired by https://github.com/cypress-io/cypress/issues/22113#issuecomment-1548030835\r\n  // we're already using the approach on other places but the issue may occure in 3rd party libs and this should fix it\r\n  class CalmResizeObserver extends ResizeObserver {\r\n    constructor(callback: ResizeObserverCallback) {\r\n      super((entries, observer) => {\r\n        requestAnimationFrame(() => {\r\n          if (Array.isArray(entries) && entries.length > 0) {\r\n            callback(entries, observer)\r\n          }\r\n        })\r\n      })\r\n    }\r\n  }\r\n\r\n  window.ResizeObserver = CalmResizeObserver\r\n}\r\n"],"names":["window","ResizeObserver","CalmResizeObserver","constructor","callback","super","entries","observer","requestAnimationFrame","Array","isArray","length"],"sourceRoot":""}