(function(){const t="FBFL_GET_FB_PARAMS",e="FBFL_GET_FB_PARAMS_RESULT";function n(t){const e=window.require(t);return e&&e.default||e}function a(t,e){return new Promise((function(a){try{return void a(n(t))}catch(o){}if("function"!==typeof window.requireLazy)return void a(null);let r=!1;const i=setTimeout((function(){r||(r=!0,a(null))}),e||8e3);try{window.requireLazy([t],(function(t){r||(r=!0,clearTimeout(i),a(t&&t.default||t))}))}catch(o){clearTimeout(i),r||(r=!0,a(null))}}))}async function r(t){try{const e=await a(`${t}_facebookRelayOperation`),n=e&&e.params&&e.params.id||e&&e.id;return n?String(n):""}catch(e){return""}}function i(t){window.dispatchEvent(new CustomEvent(e,{detail:t}))}window.__fbflMainWorldReady||(window.__fbflMainWorldReady=!0,window.addEventListener(t,(async function(t){const e=t.detail&&t.detail.requestId||"",a=t.detail&&t.detail.queryNames||[];try{const t=n("getAsyncParams")("POST");let c="";try{c=String(n("BDHeaderConfig").ASBD_ID||"")}catch(o){c=""}const d={},u=await Promise.all(a.map(r));a.forEach((function(t,e){d[t]=u[e]})),i({requestId:e,data:{params:t,asbd:c,docIds:d}})}catch(o){i({requestId:e,error:o&&o.message||"Failed to read Facebook request params"})}})))})();