1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8248],{58248:function(e,t,n){n.r(t),n.d(t,{default:function(){return E}});for(var r,o=n(85893),i=n(90642),s=n(67294),d=new Uint8Array(16),u=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,l=[],a=0;a<256;++a)l.push((a+256).toString(16).substr(1));var c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!("string"==typeof n&&u.test(n)))throw TypeError("Stringified UUID is invalid");return n},f=function(e,t,n){var o=(e=e||{}).random||(e.rng||function(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(d)})();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=o[i];return t}return c(o)},p=n(14118);let v="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2",m="check-script",y="load-script",h="confirm-script-loaded",g="process-embed",b="confirm-embed-success";function E(e){let{attributes:t}=e,[n,r]=s.useState(m),d=s.useRef(f()),[u,l]=s.useState(Date.now()),a=s.useMemo(()=>"".concat(d.current,"-").concat(u),[u]),{url:c}=t;return(0,s.useEffect)(()=>{var e,t;if(n===m){let n=window;(null===(t=null===(e=null==n?void 0:n.FB)||void 0===e?void 0:e.XFBML)||void 0===t?void 0:t.parse)?r(g):r(y)}},[n,c]),(0,s.useEffect)(()=>{let e=document.getElementById(v),t=document.createElement("script");n!==y||e||(t.setAttribute("src",v),t.setAttribute("id",v),document.head.appendChild(t),r(h))},[n]),(0,s.useEffect)(()=>{let e;if(n===h){let t=window;e=setInterval(()=>{var e,n;(null===(n=null===(e=null==t?void 0:t.FB)||void 0===e?void 0:e.XFBML)||void 0===n?void 0:n.parse)&&r(g)},1)}return()=>clearInterval(e)},[n]),(0,s.useEffect)(()=>{var e,t;if(n===g){let n=window,o=null===(t=null===(e=null==n?void 0:n.FB)||void 0===e?void 0:e.XFBML)||void 0===t?void 0:t.parse;o&&(o(),r(b))}},[n,c]),(0,s.useEffect)(()=>{let e;return n===b&&(e=setInterval(()=>{if("undefined"==typeof document)return;let e=document.getElementById(d.current);if(!e)return;let t=e.getElementsByClassName("fb-post")[0];t&&0!==t.children.length&&r("embed-success")},1)),()=>{var t;if(clearInterval(e),n===b){let e=document.getElementById(v);null===(t=null==e?void 0:e.parentNode)||void 0===t||t.removeChild(e)}}},[n]),(0,s.useEffect)(()=>{"retrying"===n&&(l(Date.now()),r(g))},[n]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i.Z,{sx:{"> div":{display:"flex",justifyContent:"center"}},children:(0,o.jsx)("div",{className:"fb-post","data-href":c},a)}),(0,o.jsx)(i.Z,{sx:{maxWidth:600,mx:"auto"},children:(0,o.jsx)(p.Z,{caption:null==t?void 0:t.caption})})]})}}}]); 2//# sourceMappingURL=8248.7b15fbe635ae26c4.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.