@ampproject/amp-facebook
Advanced tools
Comparing version 1.2106240350.0 to 1.2106260436.0
@@ -1,3 +0,3 @@ | ||
var Dr=Object.create,ee=Object.defineProperty,Mr=Object.getOwnPropertyDescriptor,Tr=Object.getOwnPropertyNames,wr=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty,Me=function(e){return ee(e,"__esModule",{value:!0})},Lr=function(e,r){for(var t in Me(e),r)ee(e,t,{get:r[t],enumerable:!0})},jr=function(e,r,t){if(r&&"object"==typeof r||"function"==typeof r)for(var n,o=Tr(r),a=0,i=o.length;a<i;a++)n=o[a],!Cr.call(e,n)&&"default"!==n&&ee(e,n,{get:function(e){return r[e]}.bind(null,n),enumerable:!(t=Mr(r,n))||t.enumerable});return e},re=function(e){return jr(Me(ee(null!=e?Dr(wr(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};Lr(exports,{Facebook:function(){return Rr}});var d=re(require("preact/hooks")),W=re(require("preact")),Te=re(require("preact"));function A(e,r,t){return W.createElement.apply(void 0,arguments)}function we(e){return W.createContext(e,void 0)}function J(e){return d.useState(e)}function j(e){return d.useRef(e)}function te(e,r){d.useEffect(e,r)}function U(e,r){d.useLayoutEffect(e,r)}function Ce(e){return d.useContext(e)}function pe(e,r){return d.useMemo(e,r)}function ne(e,r){return d.useCallback(e,r)}function K(e,r,t){return d.useImperativeHandle(e,r,t)}var oe=re(require("preact/compat"));function M(e){return oe.forwardRef(e)}var Ur=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function Le(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function w(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Le(Object(t),!0).forEach((function(r){kr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Le(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function kr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Br(e,r){if(null==e)return{};var t,n,o=Hr(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Hr(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var Vr=[null,"paint","layout","content","size","size paint","size layout","strict"],Gr={position:"relative",width:"100%",height:"100%"};function Wr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.contentAs,c=void 0===i?"div":i,l=e.contentClassName,u=e.contentProps,s=e.contentRef,f=e.contentStyle,p=e.layout,y=void 0!==p&&p,d=e.paint,b=void 0!==d&&d,O=e.size,v=void 0!==O&&O,m=e.style,g=e.wrapperClassName,h=e.wrapperStyle,j=(v?4:0)+(y?2:0)+(b?1:0);return A(n,w(w({},Br(e,Ur)),{},{ref:r,className:"".concat(a||""," ").concat(g||"").trim()||null,style:w(w(w({},m),h),{},{contain:Vr[j]})}),A(c,w(w({},u),{},{ref:s,className:l,style:w(w({},v&&Gr),{},{overflow:b?"hidden":"visible"},f)}),o))}var me=M(Wr),$r=["as","children","className","style","wrapperClassName","wrapperStyle"];function je(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ie(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?je(Object(t),!0).forEach((function(r){zr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):je(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function zr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Xr(e,r){if(null==e)return{};var t,n,o=qr(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function qr(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}function Jr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.style,c=e.wrapperClassName,l=e.wrapperStyle;return A(n,ie(ie({},Xr(e,$r)),{},{ref:r,className:"".concat(a||""," ").concat(c||"").trim()||null,style:ie(ie({},i),l)}),o)}var Y,Yr=M(Jr);function ve(e){var r=j(null);return r.current=e,r}function ae(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var R={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Kr=[R.AUTO,R.LAZY,R.EAGER,R.UNLOAD],Ue=(ae(Y={},R.AUTO,0),ae(Y,R.LAZY,1),ae(Y,R.EAGER,2),ae(Y,R.UNLOAD,3),Y);function ke(e,r){var t=Ue[e]||0,n=Ue[r]||0,o=Math.max(t,n);return Kr[o]}var Be,Z={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function Zr(){return Be||(Be=we({renderable:!0,playable:!0,loading:R.AUTO}))}function de(){return Ce(Zr())}function He(e){return ke(e,de().loading)}var Qr=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Ve(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ue(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Ve(Object(t),!0).forEach((function(r){et(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ve(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function et(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function rt(e,r){if(null==e)return{};var t,n,o=tt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function tt(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var nt=function(){return!1},ot="about:blank",it=function(e){return e&&e!=ot&&!e.includes("#")};function at(e,r){var t=e.allow,n=e.allowFullScreen,o=e.allowTransparency,a=e.iframeStyle,i=e.name,c=e.title,l=e.matchesMessagingOrigin,u=void 0===l?nt:l,s=e.messageHandler,f=e.ready,p=void 0===f||f,y=e.loading,d=e.onReadyState,b=e.sandbox,O=e.src,v=rt(e,Qr),m=de().playable,g=He(y),h=g!==R.UNLOAD,w=j(!1),P=ve(d),S=ne((function(e){if(e!==w.current){w.current=e;var r=P.current;null==r||r(e?Z.COMPLETE:Z.LOADING)}}),[P]),E=j(null);return K(r,(function(){return{get readyState(){return w.current?Z.COMPLETE:Z.LOADING},get node(){return E.current}}}),[]),U((function(){h||S(!1)}),[h,S]),te((function(){var e=E.current;if(!m&&e){var r=e.src;if(it(r))e.src=e.src;else e.parentNode.insertBefore(e,e.nextSibling)}}),[m]),U((function(){var e=E.current;if(e&&h){var r=function(e){var r=E.current;!r||e.source!=r.contentWindow||!u(e.origin)||s(e)},t=e.ownerDocument.defaultView;return t.addEventListener("message",r),function(){return t.removeEventListener("message",r)}}}),[u,s,h,p]),A(me,ue(ue({},v),{},{layout:!0,size:!0,paint:!0}),h&&p&&A("iframe",{allow:t,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:g,name:i,onLoad:function(){return S(!0)},part:"iframe",ref:E,sandbox:b,scrolling:"no",src:O,style:ue(ue({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:c}))}var ge=M(at);ge.displayName="IframeEmbed";var Ge=Object.prototype,Bn=Ge.hasOwnProperty,Hn=Ge.toString;function k(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function T(e){return e||{}}function ut(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function We(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function st(e,r,t){return r&&We(e.prototype,r),t&&We(e,t),e}var $e=function(){function e(r){ut(this,e),this.capacity_=r,this.size_=0,this.access_=0,this.cache_=k()}return st(e,[{key:"has",value:function(e){return!!this.cache_[e]}},{key:"get",value:function(e){var r=this.cache_[e];if(r)return r.access=++this.access_,r.payload}},{key:"put",value:function(e,r){this.has(e)||this.size_++,this.cache_[e]={payload:r,access:this.access_},this.evict_()}},{key:"evict_",value:function(){if(!(this.size_<=this.capacity_)){var e,r=this.cache_,t=this.access_+1;for(var n in r){var o=r[n].access;o<t&&(t=o,e=n)}void 0!==e&&(delete r[e],this.size_--)}}}]),e}();function ze(e){return e.replace("-","_")}function ye(e,r,t){return"number"!=typeof t&&(t=0),!(t+r.length>e.length)&&-1!==e.indexOf(r,t)}var lt=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Ye(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(e)}catch(e){return r}}function se(e){var r,t=k();if(!e)return t;for(;r=lt.exec(e);){var n=Ye(r[1],r[1]),o=r[2]?Ye(r[2].replace(/\+/g," "),r[2]):"";t[n]=o}return t}var B=Array.isArray,O=self.AMP_CONFIG||{},pt=("string"==typeof O.thirdPartyFrameRegex?new RegExp(O.thirdPartyFrameRegex):O.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,Ke=("string"==typeof O.cdnProxyRegex?new RegExp(O.cdnProxyRegex):O.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Ze(e){if(!self.document||!self.document.head||self.location&&Ke.test(self.location.origin))return null;var r=self.document.head.querySelector('meta[name="'.concat(e,'"]'));return r&&r.getAttribute("content")||null}var H={thirdParty:O.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:O.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:pt,cdn:O.cdnUrl||Ze("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:Ke,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:O.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:O.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:O.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:O.geoApiUrl||Ze("amp-geo-api")},he={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var xe=self.__AMP_LOG,ur=null;function $(){if(xe.dev)return xe.dev;if(!ur)throw new Error("failed to call initLogConstructor");return xe.dev=new ur(self,(function(e){return e>=3?he.FINE:e>=2?he.INFO:he.OFF}))}function ce(e,r,t,n,o,a,i,c,l,u,s){return e}var Ee,cr,oi=T({c:!0,v:!0,a:!0,ad:!0});function be(e,r){return Ee||(Ee=self.document.createElement("a"),cr=self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new $e(100))),gt(Ee,e,r?null:cr)}function gt(e,r,t){if(t&&t.has(r))return t.get(r);e.href=r,e.protocol||(e.href=e.href);var n,o={href:e.href,protocol:e.protocol,host:e.host,hostname:e.hostname,port:"0"==e.port?"":e.port,pathname:e.pathname,search:e.search,hash:e.hash,origin:null};"/"!==o.pathname[0]&&(o.pathname="/"+o.pathname),("http:"==o.protocol&&80==o.port||"https:"==o.protocol&&443==o.port)&&(o.port="",o.host=o.hostname),n=e.origin&&"null"!=e.origin?e.origin:"data:"!=o.protocol&&o.host?o.protocol+"//"+o.host:o.href,o.origin=n;var a=o;return t&&t.put(r,a),a}function Se(e){return JSON.parse(e)}function Q(e,r){try{return Se(e)}catch(e){return null==r||r(e),null}}function Ae(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=At(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{!i&&null!=t.return&&t.return()}finally{if(c)throw a}}}}function At(e,r){if(e){if("string"==typeof e)return fr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return fr(e,r)}}function fr(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function pr(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function mr(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?pr(Object(t),!0).forEach((function(r){Ot(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Ot(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var _t="EXPERIMENTS",Pt="amp-experiment-toggles",le="__AMP__EXPERIMENT_TOGGLES";function vr(e,r){return!!dr(e)[r]}function dr(e){var r,t,n,o,a;if(e[le])return e[le];e[le]=k();var i=e[le],c=mr(mr({},null!==(r=e.AMP_CONFIG)&&void 0!==r?r:{}),null!==(t=e.AMP_EXP)&&void 0!==t?t:Se((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(var l in c){var u=c[l];"number"==typeof u&&u>=0&&u<=1&&(i[l]=Math.random()<u)}var s=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(B(s)&&s.length){var f=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(f){var p,y=Ae(f.getAttribute("content").split(","));try{for(y.s();!(p=y.n()).done;){var d=p.value;s.includes(d)&&(i[d]=!0)}}catch(e){y.e(e)}finally{y.f()}}}Object.assign(i,Ft(e));var b=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(B(b)&&b.length){var O,v=se(e.location.originalHash||e.location.hash),m=Ae(b);try{for(m.s();!(O=m.n()).done;){var g=O.value,h=v["e-".concat(g)];"1"==h&&(i[g]=!0),"0"==h&&(i[g]=!1)}}catch(e){m.e(e)}finally{m.f()}}return i}function Ft(e){var r,t="";try{"localStorage"in e&&(t=e.localStorage.getItem(Pt))}catch(e){$().warn(_t,"Failed to retrieve experiments from localStorage.")}var n,o=(null===(r=t)||void 0===r?void 0:r.split(/\s*,\s*/g))||[],a=k(),i=Ae(o);try{for(i.s();!(n=i.n()).done;){var c=n.value;!c||("-"==c[0]?a[c.substr(1)]=!1:a[c]=!0)}}catch(e){i.e(e)}finally{i.f()}return a}var Oe=function(){return["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"]},_e=function(){return["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"]};function gr(e,r){return vr(r,"3p-vendor-split")?"".concat(H.thirdParty,"/").concat("2106240350000","/vendor/").concat(e,".js"):"".concat(H.thirdParty,"/").concat("2106240350000","/f.js")}function yr(e,r){var t=r||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||Rt(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+".".concat(H.thirdPartyFrameHost,"/").concat("2106240350000","/")+"".concat(t,".html")}function Rt(e){return"d-"+hr(e)}function hr(e){var r;if(e.crypto&&e.crypto.getRandomValues){var t=new Uint32Array(2);e.crypto.getRandomValues(t),r=String(t[0])+t[1]}else r=String(e.Math.random()).substr(2)+"0";return r}function xr(e){for(var r=0,t=e;t&&t!=t.parent;t=t.parent)r++;return String(r)+"-"+hr(e)}function Er(){var e=0;return function(){return String(++e)}}var It=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function br(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function Nt(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?br(Object(t),!0).forEach((function(r){Dt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):br(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Dt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Mt(e,r){return Lt(e)||Ct(e,r)||wt(e,r)||Tt()}function Tt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wt(e,r){if(e){if("string"==typeof e)return Sr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Sr(e,r)}}function Sr(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Ct(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function Lt(e){if(Array.isArray(e))return e}function jt(e,r){if(null==e)return{};var t,n,o=Ut(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Ut(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var Pe={},Ar={EMBED_SIZE:"embed-size"},Fe="sync-xhr 'none'",kt=Oe().join(" ")+" "+_e().join(" ");function Bt(e,r){var t=e.allow,n=void 0===t?Fe:t,o=e.bootstrap,a=e.contextOptions,i=e.excludeSandbox,c=e.name,l=e.messageHandler,u=e.options,s=e.sandbox,f=void 0===s?kt:s,p=e.src,y=e.type,d=e.title,b=void 0===d?y:d,O=jt(e,It);if(!ye(n,Fe))throw new Error("'allow' prop must contain \"".concat(Fe,'". Found "').concat(n,'".'));var v=j(null),m=j(null),g=pe((function(){return Pe[y]||(Pe[y]=Er()),Pe[y]()}),[y]),h=Mt(J({name:c,src:p}),2),w=h[0],P=w.name,S=w.src,E=h[1];return U((function(){var e,r,t=null===(e=v.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView,n=null!=p?p:t?yr(t):"about:blank";if(c)E({name:c,src:n});else if(t){var i=Object.assign(T({location:{href:t.location.href},sentinel:xr(t)}),a),l=Object.assign(T({title:b,type:y,_context:i}),u);E({name:JSON.stringify(T({host:be(n).hostname,bootstrap:null!=o?o:gr(y,t),type:y,count:g,attributes:l})),src:n})}}),[o,a,g,c,u,p,b,y]),te((function(){var e,r=null===(e=m.current)||void 0===e?void 0:e.node;r&&r.parentNode.insertBefore(r,r.nextSibling)}),[P]),K(r,(function(){return{get readyState(){var e;return null===(e=m.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=m.current)||void 0===e?void 0:e.node}}}),[]),A(ge,Nt({allow:n,contentRef:v,messageHandler:l,name:P,ref:m,ready:!!P,sandbox:i?void 0:f,src:S,title:b},O))}var Re=M(Bt);Re.displayName="ProxyIframeEmbed";var Ht="amp-";function Or(e){if(!Vt(e))return null;var r=e.indexOf("{");return ce(-1!=r),Q(e.substr(r),(function(r){return $().error("MESSAGING","Failed to parse message: "+e,r)}))}function Vt(e){return"string"==typeof e&&0==e.indexOf(Ht)&&-1!=e.indexOf("{")}var Gt=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function _r(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function fe(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?_r(Object(t),!0).forEach((function(r){Wt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_r(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Wt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Pr(e,r){return qt(e)||Xt(e,r)||zt(e,r)||$t()}function $t(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zt(e,r){if(e){if("string"==typeof e)return Fr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Fr(e,r)}}function Fr(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Xt(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function qt(e){if(Array.isArray(e))return e}function Jt(e,r){if(null==e)return{};var t,n,o=Yt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Yt(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var Kt="facebook",Zt="100%",Qt=function(){return!0},en="Facebook comments";function rn(e,r){var t=e.action,n=e.colorscheme,o=e.embedAs,a=e.hideCover,i=e.hideCta,c=e.href,l=e.includeCommentParent,u=e.kdSite,s=e.layout,f=e.locale,p=e.numPosts,y=e.onReady,d=e.orderBy,b=e.refLabel,O=e.requestResize,v=e.share,m=e.showFacepile,g=e.showText,h=e.size,w=e.smallHeader,j=e.style,P=e.tabs,S=e.title,E=void 0===S?en:S,_=Jt(e,Gt),x=Pr(J(null),2),R=x[0],M=x[1],D=ne((function(e){var r,t=null!==(r=Q(e.data))&&void 0!==r?r:Or(e.data);if("ready"==t.action&&(null==y||y()),t.type==Ar.EMBED_SIZE){var n=t.height;O?(O(n),M(Zt)):M(n)}}),[O,y]),N=Pr(J(f),2),F=N[0],I=N[1];return U((function(){var e,t;if(f)I(f);else{var n=null==r||null===(e=r.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;!n||I(ze(n.navigator.language))}}),[f,r]),A(Re,fe(fe({options:{action:t,colorscheme:n,embedAs:o,hideCover:a,hideCta:i,href:c,includeCommentParent:l,kd_site:u,layout:s,locale:F,numPosts:p,orderBy:d,ref:b,share:v,showFacepile:m,showText:g,size:h,smallHeader:w,tabs:P},ref:r,title:E},_),{},{excludeSandbox:!0,matchesMessagingOrigin:Qt,messageHandler:D,type:Kt,style:R?fe(fe({},j),{},{height:R}):j}))}var Rr=M(rn);Rr.displayName="Facebook"; | ||
var Dr=Object.create,ee=Object.defineProperty,Mr=Object.getOwnPropertyDescriptor,Tr=Object.getOwnPropertyNames,wr=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty,Me=function(e){return ee(e,"__esModule",{value:!0})},Lr=function(e,r){for(var t in Me(e),r)ee(e,t,{get:r[t],enumerable:!0})},jr=function(e,r,t){if(r&&"object"==typeof r||"function"==typeof r)for(var n,o=Tr(r),a=0,i=o.length;a<i;a++)n=o[a],!Cr.call(e,n)&&"default"!==n&&ee(e,n,{get:function(e){return r[e]}.bind(null,n),enumerable:!(t=Mr(r,n))||t.enumerable});return e},re=function(e){return jr(Me(ee(null!=e?Dr(wr(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};Lr(exports,{Facebook:function(){return Rr}});var d=re(require("preact/hooks")),W=re(require("preact")),Te=re(require("preact"));function A(e,r,t){return W.createElement.apply(void 0,arguments)}function we(e){return W.createContext(e,void 0)}function J(e){return d.useState(e)}function j(e){return d.useRef(e)}function te(e,r){d.useEffect(e,r)}function U(e,r){d.useLayoutEffect(e,r)}function Ce(e){return d.useContext(e)}function pe(e,r){return d.useMemo(e,r)}function ne(e,r){return d.useCallback(e,r)}function Y(e,r,t){return d.useImperativeHandle(e,r,t)}var oe=re(require("preact/compat"));function M(e){return oe.forwardRef(e)}var Ur=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function Le(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function w(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Le(Object(t),!0).forEach((function(r){kr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Le(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function kr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Br(e,r){if(null==e)return{};var t,n,o=Hr(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Hr(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var Vr=[null,"paint","layout","content","size","size paint","size layout","strict"],Gr={position:"relative",width:"100%",height:"100%"};function Wr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.contentAs,c=void 0===i?"div":i,l=e.contentClassName,u=e.contentProps,s=e.contentRef,f=e.contentStyle,p=e.layout,y=void 0!==p&&p,d=e.paint,b=void 0!==d&&d,O=e.size,v=void 0!==O&&O,m=e.style,g=e.wrapperClassName,h=e.wrapperStyle,j=(v?4:0)+(y?2:0)+(b?1:0);return A(n,w(w({},Br(e,Ur)),{},{ref:r,className:"".concat(a||""," ").concat(g||"").trim()||null,style:w(w(w({},m),h),{},{contain:Vr[j]})}),A(c,w(w({},u),{},{ref:s,className:l,style:w(w({},v&&Gr),{},{overflow:b?"hidden":"visible"},f)}),o))}var me=M(Wr),$r=["as","children","className","style","wrapperClassName","wrapperStyle"];function je(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ie(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?je(Object(t),!0).forEach((function(r){zr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):je(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function zr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Xr(e,r){if(null==e)return{};var t,n,o=qr(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function qr(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}function Jr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.style,c=e.wrapperClassName,l=e.wrapperStyle;return A(n,ie(ie({},Xr(e,$r)),{},{ref:r,className:"".concat(a||""," ").concat(c||"").trim()||null,style:ie(ie({},i),l)}),o)}var K,Kr=M(Jr);function ve(e){var r=j(null);return r.current=e,r}function ae(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var R={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Yr=[R.AUTO,R.LAZY,R.EAGER,R.UNLOAD],Ue=(ae(K={},R.AUTO,0),ae(K,R.LAZY,1),ae(K,R.EAGER,2),ae(K,R.UNLOAD,3),K);function ke(e,r){var t=Ue[e]||0,n=Ue[r]||0,o=Math.max(t,n);return Yr[o]}var Be,Z={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function Zr(){return Be||(Be=we({renderable:!0,playable:!0,loading:R.AUTO}))}function de(){return Ce(Zr())}function He(e){return ke(e,de().loading)}var Qr=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Ve(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ue(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Ve(Object(t),!0).forEach((function(r){et(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ve(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function et(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function rt(e,r){if(null==e)return{};var t,n,o=tt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function tt(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var nt=function(){return!1},ot="about:blank",it=function(e){return e&&e!=ot&&!e.includes("#")};function at(e,r){var t=e.allow,n=e.allowFullScreen,o=e.allowTransparency,a=e.iframeStyle,i=e.name,c=e.title,l=e.matchesMessagingOrigin,u=void 0===l?nt:l,s=e.messageHandler,f=e.ready,p=void 0===f||f,y=e.loading,d=e.onReadyState,b=e.sandbox,O=e.src,v=rt(e,Qr),m=de().playable,g=He(y),h=g!==R.UNLOAD,w=j(!1),P=ve(d),S=ne((function(e){if(e!==w.current){w.current=e;var r=P.current;null==r||r(e?Z.COMPLETE:Z.LOADING)}}),[P]),E=j(null);return Y(r,(function(){return{get readyState(){return w.current?Z.COMPLETE:Z.LOADING},get node(){return E.current}}}),[]),U((function(){h||S(!1)}),[h,S]),te((function(){var e=E.current;if(!m&&e){var r=e.src;if(it(r))e.src=e.src;else e.parentNode.insertBefore(e,e.nextSibling)}}),[m]),U((function(){var e=E.current;if(e&&h){var r=function(e){var r=E.current;!r||e.source!=r.contentWindow||!u(e.origin)||s(e)},t=e.ownerDocument.defaultView;return t.addEventListener("message",r),function(){return t.removeEventListener("message",r)}}}),[u,s,h,p]),A(me,ue(ue({},v),{},{layout:!0,size:!0,paint:!0}),h&&p&&A("iframe",{allow:t,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:g,name:i,onLoad:function(){return S(!0)},part:"iframe",ref:E,sandbox:b,scrolling:"no",src:O,style:ue(ue({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:c}))}var ge=M(at);ge.displayName="IframeEmbed";var Ge=Object.prototype,Bn=Ge.hasOwnProperty,Hn=Ge.toString;function k(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function T(e){return e||{}}function ut(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function We(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function st(e,r,t){return r&&We(e.prototype,r),t&&We(e,t),e}var $e=function(){function e(r){ut(this,e),this.capacity_=r,this.size_=0,this.access_=0,this.cache_=k()}return st(e,[{key:"has",value:function(e){return!!this.cache_[e]}},{key:"get",value:function(e){var r=this.cache_[e];if(r)return r.access=++this.access_,r.payload}},{key:"put",value:function(e,r){this.has(e)||this.size_++,this.cache_[e]={payload:r,access:this.access_},this.evict_()}},{key:"evict_",value:function(){if(!(this.size_<=this.capacity_)){var e,r=this.cache_,t=this.access_+1;for(var n in r){var o=r[n].access;o<t&&(t=o,e=n)}void 0!==e&&(delete r[e],this.size_--)}}}]),e}();function ze(e){return e.replace("-","_")}function ye(e,r,t){return"number"!=typeof t&&(t=0),!(t+r.length>e.length)&&-1!==e.indexOf(r,t)}var lt=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Ke(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(e)}catch(e){return r}}function se(e){var r,t=k();if(!e)return t;for(;r=lt.exec(e);){var n=Ke(r[1],r[1]),o=r[2]?Ke(r[2].replace(/\+/g," "),r[2]):"";t[n]=o}return t}var B=Array.isArray,O=self.AMP_CONFIG||{},pt=("string"==typeof O.thirdPartyFrameRegex?new RegExp(O.thirdPartyFrameRegex):O.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,Ye=("string"==typeof O.cdnProxyRegex?new RegExp(O.cdnProxyRegex):O.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Ze(e){if(!self.document||!self.document.head||self.location&&Ye.test(self.location.origin))return null;var r=self.document.head.querySelector('meta[name="'.concat(e,'"]'));return r&&r.getAttribute("content")||null}var H={thirdParty:O.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:O.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:pt,cdn:O.cdnUrl||Ze("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:Ye,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:O.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:O.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:O.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:O.geoApiUrl||Ze("amp-geo-api")},he={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var xe=self.__AMP_LOG,ur=null;function $(){if(xe.dev)return xe.dev;if(!ur)throw new Error("failed to call initLogConstructor");return xe.dev=new ur(self,(function(e){return e>=3?he.FINE:e>=2?he.INFO:he.OFF}))}function ce(e,r,t,n,o,a,i,c,l,u,s){return e}var Ee,cr,oi=T({c:!0,v:!0,a:!0,ad:!0});function be(e,r){return Ee||(Ee=self.document.createElement("a"),cr=self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new $e(100))),gt(Ee,e,r?null:cr)}function gt(e,r,t){if(t&&t.has(r))return t.get(r);e.href=r,e.protocol||(e.href=e.href);var n,o={href:e.href,protocol:e.protocol,host:e.host,hostname:e.hostname,port:"0"==e.port?"":e.port,pathname:e.pathname,search:e.search,hash:e.hash,origin:null};"/"!==o.pathname[0]&&(o.pathname="/"+o.pathname),("http:"==o.protocol&&80==o.port||"https:"==o.protocol&&443==o.port)&&(o.port="",o.host=o.hostname),n=e.origin&&"null"!=e.origin?e.origin:"data:"!=o.protocol&&o.host?o.protocol+"//"+o.host:o.href,o.origin=n;var a=o;return t&&t.put(r,a),a}function Se(e){return JSON.parse(e)}function Q(e,r){try{return Se(e)}catch(e){return null==r||r(e),null}}function Ae(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=At(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{!i&&null!=t.return&&t.return()}finally{if(c)throw a}}}}function At(e,r){if(e){if("string"==typeof e)return fr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return fr(e,r)}}function fr(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function pr(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function mr(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?pr(Object(t),!0).forEach((function(r){Ot(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Ot(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var _t="EXPERIMENTS",Pt="amp-experiment-toggles",le="__AMP__EXPERIMENT_TOGGLES";function vr(e,r){return!!dr(e)[r]}function dr(e){var r,t,n,o,a;if(e[le])return e[le];e[le]=k();var i=e[le],c=mr(mr({},null!==(r=e.AMP_CONFIG)&&void 0!==r?r:{}),null!==(t=e.AMP_EXP)&&void 0!==t?t:Se((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(var l in c){var u=c[l];"number"==typeof u&&u>=0&&u<=1&&(i[l]=Math.random()<u)}var s=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(B(s)&&s.length){var f=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(f){var p,y=Ae(f.getAttribute("content").split(","));try{for(y.s();!(p=y.n()).done;){var d=p.value;s.includes(d)&&(i[d]=!0)}}catch(e){y.e(e)}finally{y.f()}}}Object.assign(i,Ft(e));var b=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(B(b)&&b.length){var O,v=se(e.location.originalHash||e.location.hash),m=Ae(b);try{for(m.s();!(O=m.n()).done;){var g=O.value,h=v["e-".concat(g)];"1"==h&&(i[g]=!0),"0"==h&&(i[g]=!1)}}catch(e){m.e(e)}finally{m.f()}}return i}function Ft(e){var r,t="";try{"localStorage"in e&&(t=e.localStorage.getItem(Pt))}catch(e){$().warn(_t,"Failed to retrieve experiments from localStorage.")}var n,o=(null===(r=t)||void 0===r?void 0:r.split(/\s*,\s*/g))||[],a=k(),i=Ae(o);try{for(i.s();!(n=i.n()).done;){var c=n.value;!c||("-"==c[0]?a[c.substr(1)]=!1:a[c]=!0)}}catch(e){i.e(e)}finally{i.f()}return a}var Oe=function(){return["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"]},_e=function(){return["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"]};function gr(e,r){return vr(r,"3p-vendor-split")?"".concat(H.thirdParty,"/").concat("2106260436000","/vendor/").concat(e,".js"):"".concat(H.thirdParty,"/").concat("2106260436000","/f.js")}function yr(e,r){var t=r||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||Rt(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+".".concat(H.thirdPartyFrameHost,"/").concat("2106260436000","/")+"".concat(t,".html")}function Rt(e){return"d-"+hr(e)}function hr(e){var r;if(e.crypto&&e.crypto.getRandomValues){var t=new Uint32Array(2);e.crypto.getRandomValues(t),r=String(t[0])+t[1]}else r=String(e.Math.random()).substr(2)+"0";return r}function xr(e){for(var r=0,t=e;t&&t!=t.parent;t=t.parent)r++;return String(r)+"-"+hr(e)}function Er(){var e=0;return function(){return String(++e)}}var It=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function br(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function Nt(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?br(Object(t),!0).forEach((function(r){Dt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):br(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Dt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Mt(e,r){return Lt(e)||Ct(e,r)||wt(e,r)||Tt()}function Tt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wt(e,r){if(e){if("string"==typeof e)return Sr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Sr(e,r)}}function Sr(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Ct(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function Lt(e){if(Array.isArray(e))return e}function jt(e,r){if(null==e)return{};var t,n,o=Ut(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Ut(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var Pe={},Ar={EMBED_SIZE:"embed-size"},Fe="sync-xhr 'none'",kt=Oe().join(" ")+" "+_e().join(" ");function Bt(e,r){var t=e.allow,n=void 0===t?Fe:t,o=e.bootstrap,a=e.contextOptions,i=e.excludeSandbox,c=e.name,l=e.messageHandler,u=e.options,s=e.sandbox,f=void 0===s?kt:s,p=e.src,y=e.type,d=e.title,b=void 0===d?y:d,O=jt(e,It);if(!ye(n,Fe))throw new Error("'allow' prop must contain \"".concat(Fe,'". Found "').concat(n,'".'));var v=j(null),m=j(null),g=pe((function(){return Pe[y]||(Pe[y]=Er()),Pe[y]()}),[y]),h=Mt(J({name:c,src:p}),2),w=h[0],P=w.name,S=w.src,E=h[1];return U((function(){var e,r,t=null===(e=v.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView,n=null!=p?p:t?yr(t):"about:blank";if(c)E({name:c,src:n});else if(t){var i=Object.assign(T({location:{href:t.location.href},sentinel:xr(t)}),a),l=Object.assign(T({title:b,type:y,_context:i}),u);E({name:JSON.stringify(T({host:be(n).hostname,bootstrap:null!=o?o:gr(y,t),type:y,count:g,attributes:l})),src:n})}}),[o,a,g,c,u,p,b,y]),te((function(){var e,r=null===(e=m.current)||void 0===e?void 0:e.node;r&&r.parentNode.insertBefore(r,r.nextSibling)}),[P]),Y(r,(function(){return{get readyState(){var e;return null===(e=m.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=m.current)||void 0===e?void 0:e.node}}}),[]),A(ge,Nt({allow:n,contentRef:v,messageHandler:l,name:P,ref:m,ready:!!P,sandbox:i?void 0:f,src:S,title:b},O))}var Re=M(Bt);Re.displayName="ProxyIframeEmbed";var Ht="amp-";function Or(e){if(!Vt(e))return null;var r=e.indexOf("{");return ce(-1!=r),Q(e.substr(r),(function(r){return $().error("MESSAGING","Failed to parse message: "+e,r)}))}function Vt(e){return"string"==typeof e&&0==e.indexOf(Ht)&&-1!=e.indexOf("{")}var Gt=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function _r(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function fe(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?_r(Object(t),!0).forEach((function(r){Wt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_r(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Wt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Pr(e,r){return qt(e)||Xt(e,r)||zt(e,r)||$t()}function $t(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zt(e,r){if(e){if("string"==typeof e)return Fr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Fr(e,r)}}function Fr(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Xt(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function qt(e){if(Array.isArray(e))return e}function Jt(e,r){if(null==e)return{};var t,n,o=Kt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Kt(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var Yt="facebook",Zt="100%",Qt=function(){return!0},en="Facebook comments";function rn(e,r){var t=e.action,n=e.colorscheme,o=e.embedAs,a=e.hideCover,i=e.hideCta,c=e.href,l=e.includeCommentParent,u=e.kdSite,s=e.layout,f=e.locale,p=e.numPosts,y=e.onReady,d=e.orderBy,b=e.refLabel,O=e.requestResize,v=e.share,m=e.showFacepile,g=e.showText,h=e.size,w=e.smallHeader,j=e.style,P=e.tabs,S=e.title,E=void 0===S?en:S,_=Jt(e,Gt),x=Pr(J(null),2),R=x[0],M=x[1],D=ne((function(e){var r,t=null!==(r=Q(e.data))&&void 0!==r?r:Or(e.data);if("ready"==t.action&&(null==y||y()),t.type==Ar.EMBED_SIZE){var n=t.height;O?(O(n),M(Zt)):M(n)}}),[O,y]),N=Pr(J(f),2),F=N[0],I=N[1];return U((function(){var e,t;if(f)I(f);else{var n=null==r||null===(e=r.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;!n||I(ze(n.navigator.language))}}),[f,r]),A(Re,fe(fe({options:{action:t,colorscheme:n,embedAs:o,hideCover:a,hideCta:i,href:c,includeCommentParent:l,kd_site:u,layout:s,locale:F,numPosts:p,orderBy:d,ref:b,share:v,showFacepile:m,showText:g,size:h,smallHeader:w,tabs:P},ref:r,title:E},_),{},{excludeSandbox:!0,matchesMessagingOrigin:Qt,messageHandler:D,type:Yt,style:R?fe(fe({},j),{},{height:R}):j}))}var Rr=M(rn);Rr.displayName="Facebook"; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ | ||
//# sourceMappingURL=component-preact.js.map |
@@ -505,3 +505,3 @@ var __create = Object.create; | ||
function internalRuntimeVersion() { | ||
return "2106240350000"; | ||
return "2106260436000"; | ||
} | ||
@@ -508,0 +508,0 @@ |
@@ -445,3 +445,3 @@ // src/preact/index.js | ||
function internalRuntimeVersion() { | ||
return "2106240350000"; | ||
return "2106260436000"; | ||
} | ||
@@ -448,0 +448,0 @@ |
@@ -1,3 +0,3 @@ | ||
import{useCallback as gt,useContext as mt,useEffect as ft,useImperativeHandle as ht,useLayoutEffect as pt,useMemo as dt,useRef as lt,useState as ut}from"preact/hooks";import{Fragment as Tr,cloneElement as Ir,createContext as at,createElement as ct,createRef as Dr}from"preact";import{hydrate as Fr,render as Mr}from"preact";function E(e,t,r){return ct.apply(void 0,arguments)}function ye(e){return at(e,void 0)}function V(e){return ut(e)}function F(e){return lt(e)}function X(e,t){ft(e,t)}function T(e,t){pt(e,t)}function ve(e){return mt(e)}function te(e,t){return dt(e,t)}function z(e,t){return gt(e,t)}function H(e,t,r){return ht(e,t,r)}import{Children as jr,createPortal as Lr,forwardRef as xt}from"preact/compat";function A(e){return xt(e)}var Et=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function _e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(r),!0).forEach((function(t){yt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_e(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vt(e,t){if(null==e)return{};var r,n,o=_t(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function _t(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var bt=[null,"paint","layout","content","size","size paint","size layout","strict"],Ot={position:"relative",width:"100%",height:"100%"};function St(e,t){let{as:r="div",children:n,className:o,contentAs:a="div",contentClassName:l,contentProps:i,contentRef:c,contentStyle:u,layout:s=!1,paint:f=!1,size:p=!1,style:y,wrapperClassName:d,wrapperStyle:b}=e,O=(p?4:0)+(s?2:0)+(f?1:0);return E(r,N(N({},vt(e,Et)),{},{ref:t,className:`${o||""} ${d||""}`.trim()||null,style:N(N(N({},y),b),{},{contain:bt[O]})}),E(a,N(N({},i),{},{ref:c,className:l,style:N(N({},p&&Ot),{},{overflow:f?"hidden":"visible"},u)}),n))}var re=A(St),At=["as","children","className","style","wrapperClassName","wrapperStyle"];function be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?be(Object(r),!0).forEach((function(t){Pt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):be(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rt(e,t){if(null==e)return{};var r,n,o=Nt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Nt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}function It(e,t){let{as:r="div",children:n,className:o,style:a,wrapperClassName:l,wrapperStyle:i}=e;return E(r,q(q({},Rt(e,At)),{},{ref:t,className:`${o||""} ${l||""}`.trim()||null,style:q(q({},a),i)}),n)}var Mt=A(It);function ne(e){let t=F(null);return t.current=e,t}var _={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Ft=[_.AUTO,_.LAZY,_.EAGER,_.UNLOAD],Oe={[_.AUTO]:0,[_.LAZY]:1,[_.EAGER]:2,[_.UNLOAD]:3};function Se(e,t){let r=Oe[e]||0,n=Oe[t]||0,o=Math.max(r,n);return Ft[o]}var Ae,k={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function Tt(){return Ae||(Ae=ye({renderable:!0,playable:!0,loading:_.AUTO}))}function oe(){return ve(Tt())}function Pe(e){let{loading:t}=oe();return Se(e,t)}var Dt=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(r),!0).forEach((function(t){Ct(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wt(e,t){if(null==e)return{};var r,n,o=Lt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Lt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var jt=()=>!1,$t="about:blank",Ut=e=>e&&e!=$t&&!e.includes("#");function Bt(e,t){let{allow:r,allowFullScreen:n,allowTransparency:o,iframeStyle:a,name:l,title:i,matchesMessagingOrigin:c=jt,messageHandler:u,ready:s=!0,loading:f,onReadyState:p,sandbox:y,src:d}=e,b=wt(e,Dt),{playable:O}=oe(),m=Pe(f),g=m!==_.UNLOAD,v=F(!1),h=ne(p),P=z((e=>{if(e!==v.current){v.current=e;let t=h.current;null==t||t(e?k.COMPLETE:k.LOADING)}}),[h]),j=F(null);return H(t,(()=>({get readyState(){return v.current?k.COMPLETE:k.LOADING},get node(){return j.current}})),[]),T((()=>{g||P(!1)}),[g,P]),X((()=>{let e=j.current;if(!O&&e){let{src:t}=e;Ut(t)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[O]),T((()=>{let e=j.current;if(!e||!g)return;let t=e=>{let t=j.current;!t||e.source!=t.contentWindow||!c(e.origin)||u(e)},{defaultView:r}=e.ownerDocument;return r.addEventListener("message",t),()=>r.removeEventListener("message",t)}),[c,u,g,s]),E(re,J(J({},b),{},{layout:!0,size:!0,paint:!0}),g&&s&&E("iframe",{allow:r,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:m,name:l,onLoad:()=>P(!0),part:"iframe",ref:j,sandbox:y,scrolling:"no",src:d,style:J(J({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:i}))}var ie=A(Bt);ie.displayName="IframeEmbed";var{hasOwnProperty:yn,toString:vn}=Object.prototype;function j(e){let t=Object.create(null);return e&&Object.assign(t,e),t}function P(e){return e||{}}function Ne(e){return e.replace("-","_")}function se(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}var Gt=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Te(e,t=""){let r=t;try{return decodeURIComponent(e)}catch(e){return r}}function Y(e){let t,r=j();if(!e)return r;for(;t=Gt.exec(e);){let e=Te(t[1],t[1]),n=t[2]?Te(t[2].replace(/\+/g," "),t[2]):"";r[e]=n}return r}var{isArray:D}=Array,y=self.AMP_CONFIG||{},kt=("string"==typeof y.thirdPartyFrameRegex?new RegExp(y.thirdPartyFrameRegex):y.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,De=("string"==typeof y.cdnProxyRegex?new RegExp(y.cdnProxyRegex):y.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Ce(e){if(!self.document||!self.document.head||self.location&&De.test(self.location.origin))return null;let t=self.document.head.querySelector(`meta[name="${e}"]`);return t&&t.getAttribute("content")||null}var C={thirdParty:y.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:y.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:kt,cdn:y.cdnUrl||Ce("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:De,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:y.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:y.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:y.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:y.geoApiUrl||Ce("amp-geo-api")},ce={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var ae=self.__AMP_LOG,He=null;function K(){if(ae.dev)return ae.dev;if(!He)throw new Error("failed to call initLogConstructor");return ae.dev=new He(self,(e=>e>=3?ce.FINE:e>=2?ce.INFO:ce.OFF))}function Z(e,t,r,n,o,a,l,i,c,u,s){return e}var ue,qt,$o=P({c:!0,v:!0,a:!0,ad:!0});function le(e,t){return ue||(ue=self.document.createElement("a"),qt=null),Jt(ue,e,null)}function Jt(e,t,r){return e.href="",new URL(t,e.href)}function fe(e){return JSON.parse(e)}function W(e,t){try{return fe(e)}catch(e){return null==t||t(e),null}}function Xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(r),!0).forEach((function(t){rr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var nr="amp-experiment-toggles",Q="__AMP__EXPERIMENT_TOGGLES";function qe(e,t){return!!Je(e)[t]}function Je(e){var t,r,n,o,a;if(e[Q])return e[Q];e[Q]=j();let l=e[Q],i=ze(ze({},null!==(t=e.AMP_CONFIG)&&void 0!==t?t:{}),null!==(r=e.AMP_EXP)&&void 0!==r?r:fe((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(let e in i){let t=i[e];"number"==typeof t&&t>=0&&t<=1&&(l[e]=Math.random()<t)}let c=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(D(c)&&c.length){let t=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(t){let e=t.getAttribute("content").split(",");for(let t of e)c.includes(t)&&(l[t]=!0)}}Object.assign(l,or(e));let u=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(D(u)&&u.length){let t=Y(e.location.originalHash||e.location.hash);for(let e of u){let r=t[`e-${e}`];"1"==r&&(l[e]=!0),"0"==r&&(l[e]=!1)}}return l}function or(e){var t;let r="";try{"localStorage"in e&&(r=e.localStorage.getItem(nr))}catch(e){}let n=(null===(t=r)||void 0===t?void 0:t.split(/\s*,\s*/g))||[],o=j();for(let e of n)!e||("-"==e[0]?o[e.substr(1)]=!1:o[e]=!0);return o}var pe=()=>["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"],me=()=>["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"];function Ye(e,t){return qe(t,"3p-vendor-split")?`${C.thirdParty}/2106240350000/vendor/${e}.mjs`:`${C.thirdParty}/2106240350000/f.js`}function Ke(e,t){let r=t||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||ir(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${C.thirdPartyFrameHost}/2106240350000/${r}.html`}function ir(e){return"d-"+Ze(e)}function Ze(e){let t;if(e.crypto&&e.crypto.getRandomValues){let r=new Uint32Array(2);e.crypto.getRandomValues(r),t=String(r[0])+r[1]}else t=String(e.Math.random()).substr(2)+"0";return t}function Qe(e){let t=0;for(let r=e;r&&r!=r.parent;r=r.parent)t++;return String(t)+"-"+Ze(e)}function et(){let e=0;return()=>String(++e)}var sr=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function tt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function cr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(r),!0).forEach((function(t){ar(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ur(e,t){if(null==e)return{};var r,n,o=lr(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function lr(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var de={},rt={EMBED_SIZE:"embed-size"},ge="sync-xhr 'none'",fr=pe().join(" ")+" "+me().join(" ");function pr(e,t){let{allow:r=ge,bootstrap:n,contextOptions:o,excludeSandbox:a,name:l,messageHandler:i,options:c,sandbox:u=fr,src:s,type:f,title:p=f}=e,y=ur(e,sr);if(!se(r,ge))throw new Error(`'allow' prop must contain "${ge}". Found "${r}".`);let d=F(null),b=F(null),O=te((()=>(de[f]||(de[f]=et()),de[f]())),[f]),{0:{name:m,src:g},1:v}=V({name:l,src:s});return T((()=>{var e,t;let r=null===(e=d.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView,a=null!=s?s:r?Ke(r):"about:blank";if(l)return void v({name:l,src:a});if(!r)return;let i=Object.assign(P({location:{href:r.location.href},sentinel:Qe(r)}),o),u=Object.assign(P({title:p,type:f,_context:i}),c);v({name:JSON.stringify(P({host:le(a).hostname,bootstrap:null!=n?n:Ye(f,r),type:f,count:O,attributes:u})),src:a})}),[n,o,O,l,c,s,p,f]),X((()=>{var e;let t=null===(e=b.current)||void 0===e?void 0:e.node;t&&t.parentNode.insertBefore(t,t.nextSibling)}),[m]),H(t,(()=>({get readyState(){var e;return null===(e=b.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=b.current)||void 0===e?void 0:e.node}})),[]),E(ie,cr({allow:r,contentRef:d,messageHandler:i,name:m,ref:b,ready:!!m,sandbox:a?void 0:u,src:g,title:p},y))}var he=A(pr);he.displayName="ProxyIframeEmbed";var mr="amp-";function nt(e){if(!dr(e))return null;let t=e.indexOf("{");return Z(-1!=t),W(e.substr(t),(t=>K().error("MESSAGING","Failed to parse message: "+e,t)))}function dr(e){return"string"==typeof e&&0==e.indexOf(mr)&&-1!=e.indexOf("{")}var gr=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(r),!0).forEach((function(t){hr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xr(e,t){if(null==e)return{};var r,n,o=Er(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Er(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var yr="facebook",vr="100%",_r=()=>!0,br="Facebook comments";function Or(e,t){let{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kdSite:u,layout:s,locale:f,numPosts:p,onReady:y,orderBy:d,refLabel:b,requestResize:O,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,style:j,tabs:w,title:S=br}=e,A=xr(e,gr),{0:x,1:_}=V(null),N=z((e=>{var t;let r=null!==(t=W(e.data))&&void 0!==t?t:nt(e.data);if("ready"==r.action&&(null==y||y()),r.type==rt.EMBED_SIZE){let e=r.height;O?(O(e),_(vr)):_(e)}}),[O,y]),{0:D,1:R}=V(f);return T((()=>{var e,r;if(f)return void R(f);let n=null==t||null===(e=t.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView;!n||R(Ne(n.navigator.language))}),[f,t]),E(he,ee(ee({options:{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kd_site:u,layout:s,locale:D,numPosts:p,orderBy:d,ref:b,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,tabs:w},ref:t,title:S},A),{},{excludeSandbox:!0,matchesMessagingOrigin:_r,messageHandler:N,type:yr,style:x?ee(ee({},j),{},{height:x}):j}))}var Sr=A(Or);Sr.displayName="Facebook";export{Sr as Facebook}; | ||
import{useCallback as gt,useContext as mt,useEffect as ft,useImperativeHandle as ht,useLayoutEffect as pt,useMemo as dt,useRef as lt,useState as ut}from"preact/hooks";import{Fragment as Tr,cloneElement as Ir,createContext as at,createElement as ct,createRef as Dr}from"preact";import{hydrate as Fr,render as Mr}from"preact";function E(e,t,r){return ct.apply(void 0,arguments)}function ye(e){return at(e,void 0)}function V(e){return ut(e)}function F(e){return lt(e)}function X(e,t){ft(e,t)}function T(e,t){pt(e,t)}function ve(e){return mt(e)}function te(e,t){return dt(e,t)}function z(e,t){return gt(e,t)}function H(e,t,r){return ht(e,t,r)}import{Children as jr,createPortal as Lr,forwardRef as xt}from"preact/compat";function A(e){return xt(e)}var Et=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function _e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(r),!0).forEach((function(t){yt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_e(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vt(e,t){if(null==e)return{};var r,n,o=_t(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function _t(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var bt=[null,"paint","layout","content","size","size paint","size layout","strict"],Ot={position:"relative",width:"100%",height:"100%"};function St(e,t){let{as:r="div",children:n,className:o,contentAs:a="div",contentClassName:l,contentProps:i,contentRef:c,contentStyle:u,layout:s=!1,paint:f=!1,size:p=!1,style:y,wrapperClassName:d,wrapperStyle:b}=e,O=(p?4:0)+(s?2:0)+(f?1:0);return E(r,N(N({},vt(e,Et)),{},{ref:t,className:`${o||""} ${d||""}`.trim()||null,style:N(N(N({},y),b),{},{contain:bt[O]})}),E(a,N(N({},i),{},{ref:c,className:l,style:N(N({},p&&Ot),{},{overflow:f?"hidden":"visible"},u)}),n))}var re=A(St),At=["as","children","className","style","wrapperClassName","wrapperStyle"];function be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?be(Object(r),!0).forEach((function(t){Pt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):be(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rt(e,t){if(null==e)return{};var r,n,o=Nt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Nt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}function It(e,t){let{as:r="div",children:n,className:o,style:a,wrapperClassName:l,wrapperStyle:i}=e;return E(r,q(q({},Rt(e,At)),{},{ref:t,className:`${o||""} ${l||""}`.trim()||null,style:q(q({},a),i)}),n)}var Mt=A(It);function ne(e){let t=F(null);return t.current=e,t}var _={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Ft=[_.AUTO,_.LAZY,_.EAGER,_.UNLOAD],Oe={[_.AUTO]:0,[_.LAZY]:1,[_.EAGER]:2,[_.UNLOAD]:3};function Se(e,t){let r=Oe[e]||0,n=Oe[t]||0,o=Math.max(r,n);return Ft[o]}var Ae,k={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function Tt(){return Ae||(Ae=ye({renderable:!0,playable:!0,loading:_.AUTO}))}function oe(){return ve(Tt())}function Pe(e){let{loading:t}=oe();return Se(e,t)}var Dt=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(r),!0).forEach((function(t){Ct(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wt(e,t){if(null==e)return{};var r,n,o=Lt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Lt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var jt=()=>!1,$t="about:blank",Ut=e=>e&&e!=$t&&!e.includes("#");function Bt(e,t){let{allow:r,allowFullScreen:n,allowTransparency:o,iframeStyle:a,name:l,title:i,matchesMessagingOrigin:c=jt,messageHandler:u,ready:s=!0,loading:f,onReadyState:p,sandbox:y,src:d}=e,b=wt(e,Dt),{playable:O}=oe(),m=Pe(f),g=m!==_.UNLOAD,v=F(!1),h=ne(p),P=z((e=>{if(e!==v.current){v.current=e;let t=h.current;null==t||t(e?k.COMPLETE:k.LOADING)}}),[h]),j=F(null);return H(t,(()=>({get readyState(){return v.current?k.COMPLETE:k.LOADING},get node(){return j.current}})),[]),T((()=>{g||P(!1)}),[g,P]),X((()=>{let e=j.current;if(!O&&e){let{src:t}=e;Ut(t)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[O]),T((()=>{let e=j.current;if(!e||!g)return;let t=e=>{let t=j.current;!t||e.source!=t.contentWindow||!c(e.origin)||u(e)},{defaultView:r}=e.ownerDocument;return r.addEventListener("message",t),()=>r.removeEventListener("message",t)}),[c,u,g,s]),E(re,J(J({},b),{},{layout:!0,size:!0,paint:!0}),g&&s&&E("iframe",{allow:r,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:m,name:l,onLoad:()=>P(!0),part:"iframe",ref:j,sandbox:y,scrolling:"no",src:d,style:J(J({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:i}))}var ie=A(Bt);ie.displayName="IframeEmbed";var{hasOwnProperty:yn,toString:vn}=Object.prototype;function j(e){let t=Object.create(null);return e&&Object.assign(t,e),t}function P(e){return e||{}}function Ne(e){return e.replace("-","_")}function se(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}var Gt=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Te(e,t=""){let r=t;try{return decodeURIComponent(e)}catch(e){return r}}function K(e){let t,r=j();if(!e)return r;for(;t=Gt.exec(e);){let e=Te(t[1],t[1]),n=t[2]?Te(t[2].replace(/\+/g," "),t[2]):"";r[e]=n}return r}var{isArray:D}=Array,y=self.AMP_CONFIG||{},kt=("string"==typeof y.thirdPartyFrameRegex?new RegExp(y.thirdPartyFrameRegex):y.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,De=("string"==typeof y.cdnProxyRegex?new RegExp(y.cdnProxyRegex):y.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Ce(e){if(!self.document||!self.document.head||self.location&&De.test(self.location.origin))return null;let t=self.document.head.querySelector(`meta[name="${e}"]`);return t&&t.getAttribute("content")||null}var C={thirdParty:y.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:y.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:kt,cdn:y.cdnUrl||Ce("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:De,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:y.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:y.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:y.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:y.geoApiUrl||Ce("amp-geo-api")},ce={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var ae=self.__AMP_LOG,He=null;function Y(){if(ae.dev)return ae.dev;if(!He)throw new Error("failed to call initLogConstructor");return ae.dev=new He(self,(e=>e>=3?ce.FINE:e>=2?ce.INFO:ce.OFF))}function Z(e,t,r,n,o,a,l,i,c,u,s){return e}var ue,qt,$o=P({c:!0,v:!0,a:!0,ad:!0});function le(e,t){return ue||(ue=self.document.createElement("a"),qt=null),Jt(ue,e,null)}function Jt(e,t,r){return e.href="",new URL(t,e.href)}function fe(e){return JSON.parse(e)}function W(e,t){try{return fe(e)}catch(e){return null==t||t(e),null}}function Xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(r),!0).forEach((function(t){rr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var nr="amp-experiment-toggles",Q="__AMP__EXPERIMENT_TOGGLES";function qe(e,t){return!!Je(e)[t]}function Je(e){var t,r,n,o,a;if(e[Q])return e[Q];e[Q]=j();let l=e[Q],i=ze(ze({},null!==(t=e.AMP_CONFIG)&&void 0!==t?t:{}),null!==(r=e.AMP_EXP)&&void 0!==r?r:fe((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(let e in i){let t=i[e];"number"==typeof t&&t>=0&&t<=1&&(l[e]=Math.random()<t)}let c=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(D(c)&&c.length){let t=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(t){let e=t.getAttribute("content").split(",");for(let t of e)c.includes(t)&&(l[t]=!0)}}Object.assign(l,or(e));let u=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(D(u)&&u.length){let t=K(e.location.originalHash||e.location.hash);for(let e of u){let r=t[`e-${e}`];"1"==r&&(l[e]=!0),"0"==r&&(l[e]=!1)}}return l}function or(e){var t;let r="";try{"localStorage"in e&&(r=e.localStorage.getItem(nr))}catch(e){}let n=(null===(t=r)||void 0===t?void 0:t.split(/\s*,\s*/g))||[],o=j();for(let e of n)!e||("-"==e[0]?o[e.substr(1)]=!1:o[e]=!0);return o}var pe=()=>["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"],me=()=>["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"];function Ke(e,t){return qe(t,"3p-vendor-split")?`${C.thirdParty}/2106260436000/vendor/${e}.mjs`:`${C.thirdParty}/2106260436000/f.js`}function Ye(e,t){let r=t||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||ir(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${C.thirdPartyFrameHost}/2106260436000/${r}.html`}function ir(e){return"d-"+Ze(e)}function Ze(e){let t;if(e.crypto&&e.crypto.getRandomValues){let r=new Uint32Array(2);e.crypto.getRandomValues(r),t=String(r[0])+r[1]}else t=String(e.Math.random()).substr(2)+"0";return t}function Qe(e){let t=0;for(let r=e;r&&r!=r.parent;r=r.parent)t++;return String(t)+"-"+Ze(e)}function et(){let e=0;return()=>String(++e)}var sr=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function tt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function cr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(r),!0).forEach((function(t){ar(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ur(e,t){if(null==e)return{};var r,n,o=lr(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function lr(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var de={},rt={EMBED_SIZE:"embed-size"},ge="sync-xhr 'none'",fr=pe().join(" ")+" "+me().join(" ");function pr(e,t){let{allow:r=ge,bootstrap:n,contextOptions:o,excludeSandbox:a,name:l,messageHandler:i,options:c,sandbox:u=fr,src:s,type:f,title:p=f}=e,y=ur(e,sr);if(!se(r,ge))throw new Error(`'allow' prop must contain "${ge}". Found "${r}".`);let d=F(null),b=F(null),O=te((()=>(de[f]||(de[f]=et()),de[f]())),[f]),{0:{name:m,src:g},1:v}=V({name:l,src:s});return T((()=>{var e,t;let r=null===(e=d.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView,a=null!=s?s:r?Ye(r):"about:blank";if(l)return void v({name:l,src:a});if(!r)return;let i=Object.assign(P({location:{href:r.location.href},sentinel:Qe(r)}),o),u=Object.assign(P({title:p,type:f,_context:i}),c);v({name:JSON.stringify(P({host:le(a).hostname,bootstrap:null!=n?n:Ke(f,r),type:f,count:O,attributes:u})),src:a})}),[n,o,O,l,c,s,p,f]),X((()=>{var e;let t=null===(e=b.current)||void 0===e?void 0:e.node;t&&t.parentNode.insertBefore(t,t.nextSibling)}),[m]),H(t,(()=>({get readyState(){var e;return null===(e=b.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=b.current)||void 0===e?void 0:e.node}})),[]),E(ie,cr({allow:r,contentRef:d,messageHandler:i,name:m,ref:b,ready:!!m,sandbox:a?void 0:u,src:g,title:p},y))}var he=A(pr);he.displayName="ProxyIframeEmbed";var mr="amp-";function nt(e){if(!dr(e))return null;let t=e.indexOf("{");return Z(-1!=t),W(e.substr(t),(t=>Y().error("MESSAGING","Failed to parse message: "+e,t)))}function dr(e){return"string"==typeof e&&0==e.indexOf(mr)&&-1!=e.indexOf("{")}var gr=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(r),!0).forEach((function(t){hr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xr(e,t){if(null==e)return{};var r,n,o=Er(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Er(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var yr="facebook",vr="100%",_r=()=>!0,br="Facebook comments";function Or(e,t){let{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kdSite:u,layout:s,locale:f,numPosts:p,onReady:y,orderBy:d,refLabel:b,requestResize:O,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,style:j,tabs:w,title:S=br}=e,A=xr(e,gr),{0:x,1:_}=V(null),N=z((e=>{var t;let r=null!==(t=W(e.data))&&void 0!==t?t:nt(e.data);if("ready"==r.action&&(null==y||y()),r.type==rt.EMBED_SIZE){let e=r.height;O?(O(e),_(vr)):_(e)}}),[O,y]),{0:D,1:R}=V(f);return T((()=>{var e,r;if(f)return void R(f);let n=null==t||null===(e=t.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView;!n||R(Ne(n.navigator.language))}),[f,t]),E(he,ee(ee({options:{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kd_site:u,layout:s,locale:D,numPosts:p,orderBy:d,ref:b,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,tabs:w},ref:t,title:S},A),{},{excludeSandbox:!0,matchesMessagingOrigin:_r,messageHandler:N,type:yr,style:x?ee(ee({},j),{},{height:x}):j}))}var Sr=A(Or);Sr.displayName="Facebook";export{Sr as Facebook}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ | ||
//# sourceMappingURL=component-preact.module.js.map |
@@ -1,3 +0,3 @@ | ||
var Dr=Object.create,ee=Object.defineProperty,Mr=Object.getOwnPropertyDescriptor,Tr=Object.getOwnPropertyNames,wr=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty,Me=function(e){return ee(e,"__esModule",{value:!0})},Lr=function(e,r){for(var t in Me(e),r)ee(e,t,{get:r[t],enumerable:!0})},jr=function(e,r,t){if(r&&"object"==typeof r||"function"==typeof r)for(var n,o=Tr(r),a=0,i=o.length;a<i;a++)n=o[a],!Cr.call(e,n)&&"default"!==n&&ee(e,n,{get:function(e){return r[e]}.bind(null,n),enumerable:!(t=Mr(r,n))||t.enumerable});return e},re=function(e){return jr(Me(ee(null!=e?Dr(wr(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};Lr(exports,{Facebook:function(){return Rr}});var d=re(require("react")),W=re(require("react")),Te=re(require("react-dom"));function A(e,r,t){return W.createElement.apply(void 0,arguments)}function we(e){return W.createContext(e,void 0)}function J(e){return d.useState(e)}function j(e){return d.useRef(e)}function te(e,r){d.useEffect(e,r)}function U(e,r){d.useLayoutEffect(e,r)}function Ce(e){return d.useContext(e)}function pe(e,r){return d.useMemo(e,r)}function ne(e,r){return d.useCallback(e,r)}function K(e,r,t){return d.useImperativeHandle(e,r,t)}var oe=re(require("react"));function M(e){return oe.forwardRef(e)}var Ur=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function Le(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function w(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Le(Object(t),!0).forEach((function(r){kr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Le(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function kr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Br(e,r){if(null==e)return{};var t,n,o=Hr(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Hr(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var Vr=[null,"paint","layout","content","size","size paint","size layout","strict"],Gr={position:"relative",width:"100%",height:"100%"};function Wr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.contentAs,c=void 0===i?"div":i,l=e.contentClassName,u=e.contentProps,s=e.contentRef,f=e.contentStyle,p=e.layout,y=void 0!==p&&p,d=e.paint,b=void 0!==d&&d,O=e.size,v=void 0!==O&&O,m=e.style,g=e.wrapperClassName,h=e.wrapperStyle,j=(v?4:0)+(y?2:0)+(b?1:0);return A(n,w(w({},Br(e,Ur)),{},{ref:r,className:"".concat(a||""," ").concat(g||"").trim()||null,style:w(w(w({},m),h),{},{contain:Vr[j]})}),A(c,w(w({},u),{},{ref:s,className:l,style:w(w({},v&&Gr),{},{overflow:b?"hidden":"visible"},f)}),o))}var me=M(Wr),$r=["as","children","className","style","wrapperClassName","wrapperStyle"];function je(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ie(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?je(Object(t),!0).forEach((function(r){zr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):je(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function zr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Xr(e,r){if(null==e)return{};var t,n,o=qr(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function qr(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}function Jr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.style,c=e.wrapperClassName,l=e.wrapperStyle;return A(n,ie(ie({},Xr(e,$r)),{},{ref:r,className:"".concat(a||""," ").concat(c||"").trim()||null,style:ie(ie({},i),l)}),o)}var Y,Yr=M(Jr);function ve(e){var r=j(null);return r.current=e,r}function ae(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var R={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Kr=[R.AUTO,R.LAZY,R.EAGER,R.UNLOAD],Ue=(ae(Y={},R.AUTO,0),ae(Y,R.LAZY,1),ae(Y,R.EAGER,2),ae(Y,R.UNLOAD,3),Y);function ke(e,r){var t=Ue[e]||0,n=Ue[r]||0,o=Math.max(t,n);return Kr[o]}var Be,Z={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function Zr(){return Be||(Be=we({renderable:!0,playable:!0,loading:R.AUTO}))}function de(){return Ce(Zr())}function He(e){return ke(e,de().loading)}var Qr=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Ve(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ue(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Ve(Object(t),!0).forEach((function(r){et(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ve(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function et(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function rt(e,r){if(null==e)return{};var t,n,o=tt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function tt(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var nt=function(){return!1},ot="about:blank",it=function(e){return e&&e!=ot&&!e.includes("#")};function at(e,r){var t=e.allow,n=e.allowFullScreen,o=e.allowTransparency,a=e.iframeStyle,i=e.name,c=e.title,l=e.matchesMessagingOrigin,u=void 0===l?nt:l,s=e.messageHandler,f=e.ready,p=void 0===f||f,y=e.loading,d=e.onReadyState,b=e.sandbox,O=e.src,v=rt(e,Qr),m=de().playable,g=He(y),h=g!==R.UNLOAD,w=j(!1),P=ve(d),S=ne((function(e){if(e!==w.current){w.current=e;var r=P.current;null==r||r(e?Z.COMPLETE:Z.LOADING)}}),[P]),E=j(null);return K(r,(function(){return{get readyState(){return w.current?Z.COMPLETE:Z.LOADING},get node(){return E.current}}}),[]),U((function(){h||S(!1)}),[h,S]),te((function(){var e=E.current;if(!m&&e){var r=e.src;if(it(r))e.src=e.src;else e.parentNode.insertBefore(e,e.nextSibling)}}),[m]),U((function(){var e=E.current;if(e&&h){var r=function(e){var r=E.current;!r||e.source!=r.contentWindow||!u(e.origin)||s(e)},t=e.ownerDocument.defaultView;return t.addEventListener("message",r),function(){return t.removeEventListener("message",r)}}}),[u,s,h,p]),A(me,ue(ue({},v),{},{layout:!0,size:!0,paint:!0}),h&&p&&A("iframe",{allow:t,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:g,name:i,onLoad:function(){return S(!0)},part:"iframe",ref:E,sandbox:b,scrolling:"no",src:O,style:ue(ue({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:c}))}var ge=M(at);ge.displayName="IframeEmbed";var Ge=Object.prototype,Bn=Ge.hasOwnProperty,Hn=Ge.toString;function k(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function T(e){return e||{}}function ut(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function We(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function st(e,r,t){return r&&We(e.prototype,r),t&&We(e,t),e}var $e=function(){function e(r){ut(this,e),this.capacity_=r,this.size_=0,this.access_=0,this.cache_=k()}return st(e,[{key:"has",value:function(e){return!!this.cache_[e]}},{key:"get",value:function(e){var r=this.cache_[e];if(r)return r.access=++this.access_,r.payload}},{key:"put",value:function(e,r){this.has(e)||this.size_++,this.cache_[e]={payload:r,access:this.access_},this.evict_()}},{key:"evict_",value:function(){if(!(this.size_<=this.capacity_)){var e,r=this.cache_,t=this.access_+1;for(var n in r){var o=r[n].access;o<t&&(t=o,e=n)}void 0!==e&&(delete r[e],this.size_--)}}}]),e}();function ze(e){return e.replace("-","_")}function ye(e,r,t){return"number"!=typeof t&&(t=0),!(t+r.length>e.length)&&-1!==e.indexOf(r,t)}var lt=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Ye(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(e)}catch(e){return r}}function se(e){var r,t=k();if(!e)return t;for(;r=lt.exec(e);){var n=Ye(r[1],r[1]),o=r[2]?Ye(r[2].replace(/\+/g," "),r[2]):"";t[n]=o}return t}var B=Array.isArray,O=self.AMP_CONFIG||{},pt=("string"==typeof O.thirdPartyFrameRegex?new RegExp(O.thirdPartyFrameRegex):O.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,Ke=("string"==typeof O.cdnProxyRegex?new RegExp(O.cdnProxyRegex):O.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Ze(e){if(!self.document||!self.document.head||self.location&&Ke.test(self.location.origin))return null;var r=self.document.head.querySelector('meta[name="'.concat(e,'"]'));return r&&r.getAttribute("content")||null}var H={thirdParty:O.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:O.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:pt,cdn:O.cdnUrl||Ze("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:Ke,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:O.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:O.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:O.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:O.geoApiUrl||Ze("amp-geo-api")},he={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var xe=self.__AMP_LOG,ur=null;function $(){if(xe.dev)return xe.dev;if(!ur)throw new Error("failed to call initLogConstructor");return xe.dev=new ur(self,(function(e){return e>=3?he.FINE:e>=2?he.INFO:he.OFF}))}function ce(e,r,t,n,o,a,i,c,l,u,s){return e}var Ee,cr,oi=T({c:!0,v:!0,a:!0,ad:!0});function be(e,r){return Ee||(Ee=self.document.createElement("a"),cr=self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new $e(100))),gt(Ee,e,r?null:cr)}function gt(e,r,t){if(t&&t.has(r))return t.get(r);e.href=r,e.protocol||(e.href=e.href);var n,o={href:e.href,protocol:e.protocol,host:e.host,hostname:e.hostname,port:"0"==e.port?"":e.port,pathname:e.pathname,search:e.search,hash:e.hash,origin:null};"/"!==o.pathname[0]&&(o.pathname="/"+o.pathname),("http:"==o.protocol&&80==o.port||"https:"==o.protocol&&443==o.port)&&(o.port="",o.host=o.hostname),n=e.origin&&"null"!=e.origin?e.origin:"data:"!=o.protocol&&o.host?o.protocol+"//"+o.host:o.href,o.origin=n;var a=o;return t&&t.put(r,a),a}function Se(e){return JSON.parse(e)}function Q(e,r){try{return Se(e)}catch(e){return null==r||r(e),null}}function Ae(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=At(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{!i&&null!=t.return&&t.return()}finally{if(c)throw a}}}}function At(e,r){if(e){if("string"==typeof e)return fr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return fr(e,r)}}function fr(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function pr(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function mr(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?pr(Object(t),!0).forEach((function(r){Ot(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Ot(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var _t="EXPERIMENTS",Pt="amp-experiment-toggles",le="__AMP__EXPERIMENT_TOGGLES";function vr(e,r){return!!dr(e)[r]}function dr(e){var r,t,n,o,a;if(e[le])return e[le];e[le]=k();var i=e[le],c=mr(mr({},null!==(r=e.AMP_CONFIG)&&void 0!==r?r:{}),null!==(t=e.AMP_EXP)&&void 0!==t?t:Se((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(var l in c){var u=c[l];"number"==typeof u&&u>=0&&u<=1&&(i[l]=Math.random()<u)}var s=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(B(s)&&s.length){var f=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(f){var p,y=Ae(f.getAttribute("content").split(","));try{for(y.s();!(p=y.n()).done;){var d=p.value;s.includes(d)&&(i[d]=!0)}}catch(e){y.e(e)}finally{y.f()}}}Object.assign(i,Ft(e));var b=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(B(b)&&b.length){var O,v=se(e.location.originalHash||e.location.hash),m=Ae(b);try{for(m.s();!(O=m.n()).done;){var g=O.value,h=v["e-".concat(g)];"1"==h&&(i[g]=!0),"0"==h&&(i[g]=!1)}}catch(e){m.e(e)}finally{m.f()}}return i}function Ft(e){var r,t="";try{"localStorage"in e&&(t=e.localStorage.getItem(Pt))}catch(e){$().warn(_t,"Failed to retrieve experiments from localStorage.")}var n,o=(null===(r=t)||void 0===r?void 0:r.split(/\s*,\s*/g))||[],a=k(),i=Ae(o);try{for(i.s();!(n=i.n()).done;){var c=n.value;!c||("-"==c[0]?a[c.substr(1)]=!1:a[c]=!0)}}catch(e){i.e(e)}finally{i.f()}return a}var Oe=function(){return["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"]},_e=function(){return["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"]};function gr(e,r){return vr(r,"3p-vendor-split")?"".concat(H.thirdParty,"/").concat("2106240350000","/vendor/").concat(e,".js"):"".concat(H.thirdParty,"/").concat("2106240350000","/f.js")}function yr(e,r){var t=r||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||Rt(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+".".concat(H.thirdPartyFrameHost,"/").concat("2106240350000","/")+"".concat(t,".html")}function Rt(e){return"d-"+hr(e)}function hr(e){var r;if(e.crypto&&e.crypto.getRandomValues){var t=new Uint32Array(2);e.crypto.getRandomValues(t),r=String(t[0])+t[1]}else r=String(e.Math.random()).substr(2)+"0";return r}function xr(e){for(var r=0,t=e;t&&t!=t.parent;t=t.parent)r++;return String(r)+"-"+hr(e)}function Er(){var e=0;return function(){return String(++e)}}var It=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function br(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function Nt(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?br(Object(t),!0).forEach((function(r){Dt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):br(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Dt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Mt(e,r){return Lt(e)||Ct(e,r)||wt(e,r)||Tt()}function Tt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wt(e,r){if(e){if("string"==typeof e)return Sr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Sr(e,r)}}function Sr(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Ct(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function Lt(e){if(Array.isArray(e))return e}function jt(e,r){if(null==e)return{};var t,n,o=Ut(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Ut(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var Pe={},Ar={EMBED_SIZE:"embed-size"},Fe="sync-xhr 'none'",kt=Oe().join(" ")+" "+_e().join(" ");function Bt(e,r){var t=e.allow,n=void 0===t?Fe:t,o=e.bootstrap,a=e.contextOptions,i=e.excludeSandbox,c=e.name,l=e.messageHandler,u=e.options,s=e.sandbox,f=void 0===s?kt:s,p=e.src,y=e.type,d=e.title,b=void 0===d?y:d,O=jt(e,It);if(!ye(n,Fe))throw new Error("'allow' prop must contain \"".concat(Fe,'". Found "').concat(n,'".'));var v=j(null),m=j(null),g=pe((function(){return Pe[y]||(Pe[y]=Er()),Pe[y]()}),[y]),h=Mt(J({name:c,src:p}),2),w=h[0],P=w.name,S=w.src,E=h[1];return U((function(){var e,r,t=null===(e=v.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView,n=null!=p?p:t?yr(t):"about:blank";if(c)E({name:c,src:n});else if(t){var i=Object.assign(T({location:{href:t.location.href},sentinel:xr(t)}),a),l=Object.assign(T({title:b,type:y,_context:i}),u);E({name:JSON.stringify(T({host:be(n).hostname,bootstrap:null!=o?o:gr(y,t),type:y,count:g,attributes:l})),src:n})}}),[o,a,g,c,u,p,b,y]),te((function(){var e,r=null===(e=m.current)||void 0===e?void 0:e.node;r&&r.parentNode.insertBefore(r,r.nextSibling)}),[P]),K(r,(function(){return{get readyState(){var e;return null===(e=m.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=m.current)||void 0===e?void 0:e.node}}}),[]),A(ge,Nt({allow:n,contentRef:v,messageHandler:l,name:P,ref:m,ready:!!P,sandbox:i?void 0:f,src:S,title:b},O))}var Re=M(Bt);Re.displayName="ProxyIframeEmbed";var Ht="amp-";function Or(e){if(!Vt(e))return null;var r=e.indexOf("{");return ce(-1!=r),Q(e.substr(r),(function(r){return $().error("MESSAGING","Failed to parse message: "+e,r)}))}function Vt(e){return"string"==typeof e&&0==e.indexOf(Ht)&&-1!=e.indexOf("{")}var Gt=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function _r(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function fe(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?_r(Object(t),!0).forEach((function(r){Wt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_r(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Wt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Pr(e,r){return qt(e)||Xt(e,r)||zt(e,r)||$t()}function $t(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zt(e,r){if(e){if("string"==typeof e)return Fr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Fr(e,r)}}function Fr(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Xt(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function qt(e){if(Array.isArray(e))return e}function Jt(e,r){if(null==e)return{};var t,n,o=Yt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Yt(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var Kt="facebook",Zt="100%",Qt=function(){return!0},en="Facebook comments";function rn(e,r){var t=e.action,n=e.colorscheme,o=e.embedAs,a=e.hideCover,i=e.hideCta,c=e.href,l=e.includeCommentParent,u=e.kdSite,s=e.layout,f=e.locale,p=e.numPosts,y=e.onReady,d=e.orderBy,b=e.refLabel,O=e.requestResize,v=e.share,m=e.showFacepile,g=e.showText,h=e.size,w=e.smallHeader,j=e.style,P=e.tabs,S=e.title,E=void 0===S?en:S,_=Jt(e,Gt),x=Pr(J(null),2),R=x[0],M=x[1],D=ne((function(e){var r,t=null!==(r=Q(e.data))&&void 0!==r?r:Or(e.data);if("ready"==t.action&&(null==y||y()),t.type==Ar.EMBED_SIZE){var n=t.height;O?(O(n),M(Zt)):M(n)}}),[O,y]),N=Pr(J(f),2),F=N[0],I=N[1];return U((function(){var e,t;if(f)I(f);else{var n=null==r||null===(e=r.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;!n||I(ze(n.navigator.language))}}),[f,r]),A(Re,fe(fe({options:{action:t,colorscheme:n,embedAs:o,hideCover:a,hideCta:i,href:c,includeCommentParent:l,kd_site:u,layout:s,locale:F,numPosts:p,orderBy:d,ref:b,share:v,showFacepile:m,showText:g,size:h,smallHeader:w,tabs:P},ref:r,title:E},_),{},{excludeSandbox:!0,matchesMessagingOrigin:Qt,messageHandler:D,type:Kt,style:R?fe(fe({},j),{},{height:R}):j}))}var Rr=M(rn);Rr.displayName="Facebook"; | ||
var Dr=Object.create,ee=Object.defineProperty,Mr=Object.getOwnPropertyDescriptor,Tr=Object.getOwnPropertyNames,wr=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty,Me=function(e){return ee(e,"__esModule",{value:!0})},Lr=function(e,r){for(var t in Me(e),r)ee(e,t,{get:r[t],enumerable:!0})},jr=function(e,r,t){if(r&&"object"==typeof r||"function"==typeof r)for(var n,o=Tr(r),a=0,i=o.length;a<i;a++)n=o[a],!Cr.call(e,n)&&"default"!==n&&ee(e,n,{get:function(e){return r[e]}.bind(null,n),enumerable:!(t=Mr(r,n))||t.enumerable});return e},re=function(e){return jr(Me(ee(null!=e?Dr(wr(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0})),e)};Lr(exports,{Facebook:function(){return Rr}});var d=re(require("react")),W=re(require("react")),Te=re(require("react-dom"));function A(e,r,t){return W.createElement.apply(void 0,arguments)}function we(e){return W.createContext(e,void 0)}function J(e){return d.useState(e)}function j(e){return d.useRef(e)}function te(e,r){d.useEffect(e,r)}function U(e,r){d.useLayoutEffect(e,r)}function Ce(e){return d.useContext(e)}function pe(e,r){return d.useMemo(e,r)}function ne(e,r){return d.useCallback(e,r)}function Y(e,r,t){return d.useImperativeHandle(e,r,t)}var oe=re(require("react"));function M(e){return oe.forwardRef(e)}var Ur=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function Le(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function w(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Le(Object(t),!0).forEach((function(r){kr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Le(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function kr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Br(e,r){if(null==e)return{};var t,n,o=Hr(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Hr(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var Vr=[null,"paint","layout","content","size","size paint","size layout","strict"],Gr={position:"relative",width:"100%",height:"100%"};function Wr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.contentAs,c=void 0===i?"div":i,l=e.contentClassName,u=e.contentProps,s=e.contentRef,f=e.contentStyle,p=e.layout,y=void 0!==p&&p,d=e.paint,b=void 0!==d&&d,O=e.size,v=void 0!==O&&O,m=e.style,g=e.wrapperClassName,h=e.wrapperStyle,j=(v?4:0)+(y?2:0)+(b?1:0);return A(n,w(w({},Br(e,Ur)),{},{ref:r,className:"".concat(a||""," ").concat(g||"").trim()||null,style:w(w(w({},m),h),{},{contain:Vr[j]})}),A(c,w(w({},u),{},{ref:s,className:l,style:w(w({},v&&Gr),{},{overflow:b?"hidden":"visible"},f)}),o))}var me=M(Wr),$r=["as","children","className","style","wrapperClassName","wrapperStyle"];function je(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ie(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?je(Object(t),!0).forEach((function(r){zr(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):je(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function zr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Xr(e,r){if(null==e)return{};var t,n,o=qr(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function qr(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}function Jr(e,r){var t=e.as,n=void 0===t?"div":t,o=e.children,a=e.className,i=e.style,c=e.wrapperClassName,l=e.wrapperStyle;return A(n,ie(ie({},Xr(e,$r)),{},{ref:r,className:"".concat(a||""," ").concat(c||"").trim()||null,style:ie(ie({},i),l)}),o)}var K,Kr=M(Jr);function ve(e){var r=j(null);return r.current=e,r}function ae(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var R={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Yr=[R.AUTO,R.LAZY,R.EAGER,R.UNLOAD],Ue=(ae(K={},R.AUTO,0),ae(K,R.LAZY,1),ae(K,R.EAGER,2),ae(K,R.UNLOAD,3),K);function ke(e,r){var t=Ue[e]||0,n=Ue[r]||0,o=Math.max(t,n);return Yr[o]}var Be,Z={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function Zr(){return Be||(Be=we({renderable:!0,playable:!0,loading:R.AUTO}))}function de(){return Ce(Zr())}function He(e){return ke(e,de().loading)}var Qr=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Ve(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function ue(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?Ve(Object(t),!0).forEach((function(r){et(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ve(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function et(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function rt(e,r){if(null==e)return{};var t,n,o=tt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function tt(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var nt=function(){return!1},ot="about:blank",it=function(e){return e&&e!=ot&&!e.includes("#")};function at(e,r){var t=e.allow,n=e.allowFullScreen,o=e.allowTransparency,a=e.iframeStyle,i=e.name,c=e.title,l=e.matchesMessagingOrigin,u=void 0===l?nt:l,s=e.messageHandler,f=e.ready,p=void 0===f||f,y=e.loading,d=e.onReadyState,b=e.sandbox,O=e.src,v=rt(e,Qr),m=de().playable,g=He(y),h=g!==R.UNLOAD,w=j(!1),P=ve(d),S=ne((function(e){if(e!==w.current){w.current=e;var r=P.current;null==r||r(e?Z.COMPLETE:Z.LOADING)}}),[P]),E=j(null);return Y(r,(function(){return{get readyState(){return w.current?Z.COMPLETE:Z.LOADING},get node(){return E.current}}}),[]),U((function(){h||S(!1)}),[h,S]),te((function(){var e=E.current;if(!m&&e){var r=e.src;if(it(r))e.src=e.src;else e.parentNode.insertBefore(e,e.nextSibling)}}),[m]),U((function(){var e=E.current;if(e&&h){var r=function(e){var r=E.current;!r||e.source!=r.contentWindow||!u(e.origin)||s(e)},t=e.ownerDocument.defaultView;return t.addEventListener("message",r),function(){return t.removeEventListener("message",r)}}}),[u,s,h,p]),A(me,ue(ue({},v),{},{layout:!0,size:!0,paint:!0}),h&&p&&A("iframe",{allow:t,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:g,name:i,onLoad:function(){return S(!0)},part:"iframe",ref:E,sandbox:b,scrolling:"no",src:O,style:ue(ue({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:c}))}var ge=M(at);ge.displayName="IframeEmbed";var Ge=Object.prototype,Bn=Ge.hasOwnProperty,Hn=Ge.toString;function k(e){var r=Object.create(null);return e&&Object.assign(r,e),r}function T(e){return e||{}}function ut(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function We(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function st(e,r,t){return r&&We(e.prototype,r),t&&We(e,t),e}var $e=function(){function e(r){ut(this,e),this.capacity_=r,this.size_=0,this.access_=0,this.cache_=k()}return st(e,[{key:"has",value:function(e){return!!this.cache_[e]}},{key:"get",value:function(e){var r=this.cache_[e];if(r)return r.access=++this.access_,r.payload}},{key:"put",value:function(e,r){this.has(e)||this.size_++,this.cache_[e]={payload:r,access:this.access_},this.evict_()}},{key:"evict_",value:function(){if(!(this.size_<=this.capacity_)){var e,r=this.cache_,t=this.access_+1;for(var n in r){var o=r[n].access;o<t&&(t=o,e=n)}void 0!==e&&(delete r[e],this.size_--)}}}]),e}();function ze(e){return e.replace("-","_")}function ye(e,r,t){return"number"!=typeof t&&(t=0),!(t+r.length>e.length)&&-1!==e.indexOf(r,t)}var lt=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Ke(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(e)}catch(e){return r}}function se(e){var r,t=k();if(!e)return t;for(;r=lt.exec(e);){var n=Ke(r[1],r[1]),o=r[2]?Ke(r[2].replace(/\+/g," "),r[2]):"";t[n]=o}return t}var B=Array.isArray,O=self.AMP_CONFIG||{},pt=("string"==typeof O.thirdPartyFrameRegex?new RegExp(O.thirdPartyFrameRegex):O.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,Ye=("string"==typeof O.cdnProxyRegex?new RegExp(O.cdnProxyRegex):O.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Ze(e){if(!self.document||!self.document.head||self.location&&Ye.test(self.location.origin))return null;var r=self.document.head.querySelector('meta[name="'.concat(e,'"]'));return r&&r.getAttribute("content")||null}var H={thirdParty:O.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:O.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:pt,cdn:O.cdnUrl||Ze("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:Ye,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:O.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:O.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:O.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:O.geoApiUrl||Ze("amp-geo-api")},he={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var xe=self.__AMP_LOG,ur=null;function $(){if(xe.dev)return xe.dev;if(!ur)throw new Error("failed to call initLogConstructor");return xe.dev=new ur(self,(function(e){return e>=3?he.FINE:e>=2?he.INFO:he.OFF}))}function ce(e,r,t,n,o,a,i,c,l,u,s){return e}var Ee,cr,oi=T({c:!0,v:!0,a:!0,ad:!0});function be(e,r){return Ee||(Ee=self.document.createElement("a"),cr=self.__AMP_URL_CACHE||(self.__AMP_URL_CACHE=new $e(100))),gt(Ee,e,r?null:cr)}function gt(e,r,t){if(t&&t.has(r))return t.get(r);e.href=r,e.protocol||(e.href=e.href);var n,o={href:e.href,protocol:e.protocol,host:e.host,hostname:e.hostname,port:"0"==e.port?"":e.port,pathname:e.pathname,search:e.search,hash:e.hash,origin:null};"/"!==o.pathname[0]&&(o.pathname="/"+o.pathname),("http:"==o.protocol&&80==o.port||"https:"==o.protocol&&443==o.port)&&(o.port="",o.host=o.hostname),n=e.origin&&"null"!=e.origin?e.origin:"data:"!=o.protocol&&o.host?o.protocol+"//"+o.host:o.href,o.origin=n;var a=o;return t&&t.put(r,a),a}function Se(e){return JSON.parse(e)}function Q(e,r){try{return Se(e)}catch(e){return null==r||r(e),null}}function Ae(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=At(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{!i&&null!=t.return&&t.return()}finally{if(c)throw a}}}}function At(e,r){if(e){if("string"==typeof e)return fr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return fr(e,r)}}function fr(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function pr(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function mr(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?pr(Object(t),!0).forEach((function(r){Ot(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pr(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Ot(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var _t="EXPERIMENTS",Pt="amp-experiment-toggles",le="__AMP__EXPERIMENT_TOGGLES";function vr(e,r){return!!dr(e)[r]}function dr(e){var r,t,n,o,a;if(e[le])return e[le];e[le]=k();var i=e[le],c=mr(mr({},null!==(r=e.AMP_CONFIG)&&void 0!==r?r:{}),null!==(t=e.AMP_EXP)&&void 0!==t?t:Se((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(var l in c){var u=c[l];"number"==typeof u&&u>=0&&u<=1&&(i[l]=Math.random()<u)}var s=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(B(s)&&s.length){var f=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(f){var p,y=Ae(f.getAttribute("content").split(","));try{for(y.s();!(p=y.n()).done;){var d=p.value;s.includes(d)&&(i[d]=!0)}}catch(e){y.e(e)}finally{y.f()}}}Object.assign(i,Ft(e));var b=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(B(b)&&b.length){var O,v=se(e.location.originalHash||e.location.hash),m=Ae(b);try{for(m.s();!(O=m.n()).done;){var g=O.value,h=v["e-".concat(g)];"1"==h&&(i[g]=!0),"0"==h&&(i[g]=!1)}}catch(e){m.e(e)}finally{m.f()}}return i}function Ft(e){var r,t="";try{"localStorage"in e&&(t=e.localStorage.getItem(Pt))}catch(e){$().warn(_t,"Failed to retrieve experiments from localStorage.")}var n,o=(null===(r=t)||void 0===r?void 0:r.split(/\s*,\s*/g))||[],a=k(),i=Ae(o);try{for(i.s();!(n=i.n()).done;){var c=n.value;!c||("-"==c[0]?a[c.substr(1)]=!1:a[c]=!0)}}catch(e){i.e(e)}finally{i.f()}return a}var Oe=function(){return["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"]},_e=function(){return["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"]};function gr(e,r){return vr(r,"3p-vendor-split")?"".concat(H.thirdParty,"/").concat("2106260436000","/vendor/").concat(e,".js"):"".concat(H.thirdParty,"/").concat("2106260436000","/f.js")}function yr(e,r){var t=r||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||Rt(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+".".concat(H.thirdPartyFrameHost,"/").concat("2106260436000","/")+"".concat(t,".html")}function Rt(e){return"d-"+hr(e)}function hr(e){var r;if(e.crypto&&e.crypto.getRandomValues){var t=new Uint32Array(2);e.crypto.getRandomValues(t),r=String(t[0])+t[1]}else r=String(e.Math.random()).substr(2)+"0";return r}function xr(e){for(var r=0,t=e;t&&t!=t.parent;t=t.parent)r++;return String(r)+"-"+hr(e)}function Er(){var e=0;return function(){return String(++e)}}var It=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function br(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function Nt(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?br(Object(t),!0).forEach((function(r){Dt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):br(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Dt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Mt(e,r){return Lt(e)||Ct(e,r)||wt(e,r)||Tt()}function Tt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wt(e,r){if(e){if("string"==typeof e)return Sr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Sr(e,r)}}function Sr(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Ct(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function Lt(e){if(Array.isArray(e))return e}function jt(e,r){if(null==e)return{};var t,n,o=Ut(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Ut(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var Pe={},Ar={EMBED_SIZE:"embed-size"},Fe="sync-xhr 'none'",kt=Oe().join(" ")+" "+_e().join(" ");function Bt(e,r){var t=e.allow,n=void 0===t?Fe:t,o=e.bootstrap,a=e.contextOptions,i=e.excludeSandbox,c=e.name,l=e.messageHandler,u=e.options,s=e.sandbox,f=void 0===s?kt:s,p=e.src,y=e.type,d=e.title,b=void 0===d?y:d,O=jt(e,It);if(!ye(n,Fe))throw new Error("'allow' prop must contain \"".concat(Fe,'". Found "').concat(n,'".'));var v=j(null),m=j(null),g=pe((function(){return Pe[y]||(Pe[y]=Er()),Pe[y]()}),[y]),h=Mt(J({name:c,src:p}),2),w=h[0],P=w.name,S=w.src,E=h[1];return U((function(){var e,r,t=null===(e=v.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView,n=null!=p?p:t?yr(t):"about:blank";if(c)E({name:c,src:n});else if(t){var i=Object.assign(T({location:{href:t.location.href},sentinel:xr(t)}),a),l=Object.assign(T({title:b,type:y,_context:i}),u);E({name:JSON.stringify(T({host:be(n).hostname,bootstrap:null!=o?o:gr(y,t),type:y,count:g,attributes:l})),src:n})}}),[o,a,g,c,u,p,b,y]),te((function(){var e,r=null===(e=m.current)||void 0===e?void 0:e.node;r&&r.parentNode.insertBefore(r,r.nextSibling)}),[P]),Y(r,(function(){return{get readyState(){var e;return null===(e=m.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=m.current)||void 0===e?void 0:e.node}}}),[]),A(ge,Nt({allow:n,contentRef:v,messageHandler:l,name:P,ref:m,ready:!!P,sandbox:i?void 0:f,src:S,title:b},O))}var Re=M(Bt);Re.displayName="ProxyIframeEmbed";var Ht="amp-";function Or(e){if(!Vt(e))return null;var r=e.indexOf("{");return ce(-1!=r),Q(e.substr(r),(function(r){return $().error("MESSAGING","Failed to parse message: "+e,r)}))}function Vt(e){return"string"==typeof e&&0==e.indexOf(Ht)&&-1!=e.indexOf("{")}var Gt=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function _r(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function fe(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?_r(Object(t),!0).forEach((function(r){Wt(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_r(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function Wt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Pr(e,r){return qt(e)||Xt(e,r)||zt(e,r)||$t()}function $t(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zt(e,r){if(e){if("string"==typeof e)return Fr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Fr(e,r)}}function Fr(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function Xt(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(a.push(n.value),!r||a.length!==r);i=!0);}catch(e){c=!0,o=e}finally{try{!i&&null!=t.return&&t.return()}finally{if(c)throw o}}return a}}function qt(e){if(Array.isArray(e))return e}function Jt(e,r){if(null==e)return{};var t,n,o=Kt(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,t)||(o[t]=e[t]))}return o}function Kt(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],!(r.indexOf(t)>=0)&&(o[t]=e[t]);return o}var Yt="facebook",Zt="100%",Qt=function(){return!0},en="Facebook comments";function rn(e,r){var t=e.action,n=e.colorscheme,o=e.embedAs,a=e.hideCover,i=e.hideCta,c=e.href,l=e.includeCommentParent,u=e.kdSite,s=e.layout,f=e.locale,p=e.numPosts,y=e.onReady,d=e.orderBy,b=e.refLabel,O=e.requestResize,v=e.share,m=e.showFacepile,g=e.showText,h=e.size,w=e.smallHeader,j=e.style,P=e.tabs,S=e.title,E=void 0===S?en:S,_=Jt(e,Gt),x=Pr(J(null),2),R=x[0],M=x[1],D=ne((function(e){var r,t=null!==(r=Q(e.data))&&void 0!==r?r:Or(e.data);if("ready"==t.action&&(null==y||y()),t.type==Ar.EMBED_SIZE){var n=t.height;O?(O(n),M(Zt)):M(n)}}),[O,y]),N=Pr(J(f),2),F=N[0],I=N[1];return U((function(){var e,t;if(f)I(f);else{var n=null==r||null===(e=r.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;!n||I(ze(n.navigator.language))}}),[f,r]),A(Re,fe(fe({options:{action:t,colorscheme:n,embedAs:o,hideCover:a,hideCta:i,href:c,includeCommentParent:l,kd_site:u,layout:s,locale:F,numPosts:p,orderBy:d,ref:b,share:v,showFacepile:m,showText:g,size:h,smallHeader:w,tabs:P},ref:r,title:E},_),{},{excludeSandbox:!0,matchesMessagingOrigin:Qt,messageHandler:D,type:Yt,style:R?fe(fe({},j),{},{height:R}):j}))}var Rr=M(rn);Rr.displayName="Facebook"; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ | ||
//# sourceMappingURL=component-react.js.map |
@@ -505,3 +505,3 @@ var __create = Object.create; | ||
function internalRuntimeVersion() { | ||
return "2106240350000"; | ||
return "2106260436000"; | ||
} | ||
@@ -508,0 +508,0 @@ |
@@ -445,3 +445,3 @@ // src/preact/index.js | ||
function internalRuntimeVersion() { | ||
return "2106240350000"; | ||
return "2106260436000"; | ||
} | ||
@@ -448,0 +448,0 @@ |
@@ -1,3 +0,3 @@ | ||
import{useCallback as gt,useContext as mt,useEffect as ft,useImperativeHandle as ht,useLayoutEffect as pt,useMemo as dt,useRef as lt,useState as ut}from"react";import{Fragment as Tr,cloneElement as Ir,createContext as at,createElement as ct,createRef as Dr}from"react";import{hydrate as Fr,render as Mr}from"react-dom";function E(e,t,r){return ct.apply(void 0,arguments)}function ye(e){return at(e,void 0)}function V(e){return ut(e)}function F(e){return lt(e)}function X(e,t){ft(e,t)}function T(e,t){pt(e,t)}function ve(e){return mt(e)}function te(e,t){return dt(e,t)}function z(e,t){return gt(e,t)}function H(e,t,r){return ht(e,t,r)}import{Children as jr,createPortal as Lr,forwardRef as xt}from"react";function A(e){return xt(e)}var Et=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function _e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(r),!0).forEach((function(t){yt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_e(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vt(e,t){if(null==e)return{};var r,n,o=_t(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function _t(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var bt=[null,"paint","layout","content","size","size paint","size layout","strict"],Ot={position:"relative",width:"100%",height:"100%"};function St(e,t){let{as:r="div",children:n,className:o,contentAs:a="div",contentClassName:l,contentProps:i,contentRef:c,contentStyle:u,layout:s=!1,paint:f=!1,size:p=!1,style:y,wrapperClassName:d,wrapperStyle:b}=e,O=(p?4:0)+(s?2:0)+(f?1:0);return E(r,N(N({},vt(e,Et)),{},{ref:t,className:`${o||""} ${d||""}`.trim()||null,style:N(N(N({},y),b),{},{contain:bt[O]})}),E(a,N(N({},i),{},{ref:c,className:l,style:N(N({},p&&Ot),{},{overflow:f?"hidden":"visible"},u)}),n))}var re=A(St),At=["as","children","className","style","wrapperClassName","wrapperStyle"];function be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?be(Object(r),!0).forEach((function(t){Pt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):be(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rt(e,t){if(null==e)return{};var r,n,o=Nt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Nt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}function It(e,t){let{as:r="div",children:n,className:o,style:a,wrapperClassName:l,wrapperStyle:i}=e;return E(r,q(q({},Rt(e,At)),{},{ref:t,className:`${o||""} ${l||""}`.trim()||null,style:q(q({},a),i)}),n)}var Mt=A(It);function ne(e){let t=F(null);return t.current=e,t}var _={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Ft=[_.AUTO,_.LAZY,_.EAGER,_.UNLOAD],Oe={[_.AUTO]:0,[_.LAZY]:1,[_.EAGER]:2,[_.UNLOAD]:3};function Se(e,t){let r=Oe[e]||0,n=Oe[t]||0,o=Math.max(r,n);return Ft[o]}var Ae,k={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function Tt(){return Ae||(Ae=ye({renderable:!0,playable:!0,loading:_.AUTO}))}function oe(){return ve(Tt())}function Pe(e){let{loading:t}=oe();return Se(e,t)}var Dt=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(r),!0).forEach((function(t){Ct(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wt(e,t){if(null==e)return{};var r,n,o=Lt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Lt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var jt=()=>!1,$t="about:blank",Ut=e=>e&&e!=$t&&!e.includes("#");function Bt(e,t){let{allow:r,allowFullScreen:n,allowTransparency:o,iframeStyle:a,name:l,title:i,matchesMessagingOrigin:c=jt,messageHandler:u,ready:s=!0,loading:f,onReadyState:p,sandbox:y,src:d}=e,b=wt(e,Dt),{playable:O}=oe(),m=Pe(f),g=m!==_.UNLOAD,v=F(!1),h=ne(p),P=z((e=>{if(e!==v.current){v.current=e;let t=h.current;null==t||t(e?k.COMPLETE:k.LOADING)}}),[h]),j=F(null);return H(t,(()=>({get readyState(){return v.current?k.COMPLETE:k.LOADING},get node(){return j.current}})),[]),T((()=>{g||P(!1)}),[g,P]),X((()=>{let e=j.current;if(!O&&e){let{src:t}=e;Ut(t)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[O]),T((()=>{let e=j.current;if(!e||!g)return;let t=e=>{let t=j.current;!t||e.source!=t.contentWindow||!c(e.origin)||u(e)},{defaultView:r}=e.ownerDocument;return r.addEventListener("message",t),()=>r.removeEventListener("message",t)}),[c,u,g,s]),E(re,J(J({},b),{},{layout:!0,size:!0,paint:!0}),g&&s&&E("iframe",{allow:r,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:m,name:l,onLoad:()=>P(!0),part:"iframe",ref:j,sandbox:y,scrolling:"no",src:d,style:J(J({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:i}))}var ie=A(Bt);ie.displayName="IframeEmbed";var{hasOwnProperty:yn,toString:vn}=Object.prototype;function j(e){let t=Object.create(null);return e&&Object.assign(t,e),t}function P(e){return e||{}}function Ne(e){return e.replace("-","_")}function se(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}var Gt=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Te(e,t=""){let r=t;try{return decodeURIComponent(e)}catch(e){return r}}function Y(e){let t,r=j();if(!e)return r;for(;t=Gt.exec(e);){let e=Te(t[1],t[1]),n=t[2]?Te(t[2].replace(/\+/g," "),t[2]):"";r[e]=n}return r}var{isArray:D}=Array,y=self.AMP_CONFIG||{},kt=("string"==typeof y.thirdPartyFrameRegex?new RegExp(y.thirdPartyFrameRegex):y.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,De=("string"==typeof y.cdnProxyRegex?new RegExp(y.cdnProxyRegex):y.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Ce(e){if(!self.document||!self.document.head||self.location&&De.test(self.location.origin))return null;let t=self.document.head.querySelector(`meta[name="${e}"]`);return t&&t.getAttribute("content")||null}var C={thirdParty:y.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:y.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:kt,cdn:y.cdnUrl||Ce("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:De,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:y.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:y.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:y.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:y.geoApiUrl||Ce("amp-geo-api")},ce={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var ae=self.__AMP_LOG,He=null;function K(){if(ae.dev)return ae.dev;if(!He)throw new Error("failed to call initLogConstructor");return ae.dev=new He(self,(e=>e>=3?ce.FINE:e>=2?ce.INFO:ce.OFF))}function Z(e,t,r,n,o,a,l,i,c,u,s){return e}var ue,qt,$o=P({c:!0,v:!0,a:!0,ad:!0});function le(e,t){return ue||(ue=self.document.createElement("a"),qt=null),Jt(ue,e,null)}function Jt(e,t,r){return e.href="",new URL(t,e.href)}function fe(e){return JSON.parse(e)}function W(e,t){try{return fe(e)}catch(e){return null==t||t(e),null}}function Xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(r),!0).forEach((function(t){rr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var nr="amp-experiment-toggles",Q="__AMP__EXPERIMENT_TOGGLES";function qe(e,t){return!!Je(e)[t]}function Je(e){var t,r,n,o,a;if(e[Q])return e[Q];e[Q]=j();let l=e[Q],i=ze(ze({},null!==(t=e.AMP_CONFIG)&&void 0!==t?t:{}),null!==(r=e.AMP_EXP)&&void 0!==r?r:fe((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(let e in i){let t=i[e];"number"==typeof t&&t>=0&&t<=1&&(l[e]=Math.random()<t)}let c=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(D(c)&&c.length){let t=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(t){let e=t.getAttribute("content").split(",");for(let t of e)c.includes(t)&&(l[t]=!0)}}Object.assign(l,or(e));let u=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(D(u)&&u.length){let t=Y(e.location.originalHash||e.location.hash);for(let e of u){let r=t[`e-${e}`];"1"==r&&(l[e]=!0),"0"==r&&(l[e]=!1)}}return l}function or(e){var t;let r="";try{"localStorage"in e&&(r=e.localStorage.getItem(nr))}catch(e){}let n=(null===(t=r)||void 0===t?void 0:t.split(/\s*,\s*/g))||[],o=j();for(let e of n)!e||("-"==e[0]?o[e.substr(1)]=!1:o[e]=!0);return o}var pe=()=>["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"],me=()=>["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"];function Ye(e,t){return qe(t,"3p-vendor-split")?`${C.thirdParty}/2106240350000/vendor/${e}.mjs`:`${C.thirdParty}/2106240350000/f.js`}function Ke(e,t){let r=t||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||ir(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${C.thirdPartyFrameHost}/2106240350000/${r}.html`}function ir(e){return"d-"+Ze(e)}function Ze(e){let t;if(e.crypto&&e.crypto.getRandomValues){let r=new Uint32Array(2);e.crypto.getRandomValues(r),t=String(r[0])+r[1]}else t=String(e.Math.random()).substr(2)+"0";return t}function Qe(e){let t=0;for(let r=e;r&&r!=r.parent;r=r.parent)t++;return String(t)+"-"+Ze(e)}function et(){let e=0;return()=>String(++e)}var sr=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function tt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function cr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(r),!0).forEach((function(t){ar(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ur(e,t){if(null==e)return{};var r,n,o=lr(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function lr(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var de={},rt={EMBED_SIZE:"embed-size"},ge="sync-xhr 'none'",fr=pe().join(" ")+" "+me().join(" ");function pr(e,t){let{allow:r=ge,bootstrap:n,contextOptions:o,excludeSandbox:a,name:l,messageHandler:i,options:c,sandbox:u=fr,src:s,type:f,title:p=f}=e,y=ur(e,sr);if(!se(r,ge))throw new Error(`'allow' prop must contain "${ge}". Found "${r}".`);let d=F(null),b=F(null),O=te((()=>(de[f]||(de[f]=et()),de[f]())),[f]),{0:{name:m,src:g},1:v}=V({name:l,src:s});return T((()=>{var e,t;let r=null===(e=d.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView,a=null!=s?s:r?Ke(r):"about:blank";if(l)return void v({name:l,src:a});if(!r)return;let i=Object.assign(P({location:{href:r.location.href},sentinel:Qe(r)}),o),u=Object.assign(P({title:p,type:f,_context:i}),c);v({name:JSON.stringify(P({host:le(a).hostname,bootstrap:null!=n?n:Ye(f,r),type:f,count:O,attributes:u})),src:a})}),[n,o,O,l,c,s,p,f]),X((()=>{var e;let t=null===(e=b.current)||void 0===e?void 0:e.node;t&&t.parentNode.insertBefore(t,t.nextSibling)}),[m]),H(t,(()=>({get readyState(){var e;return null===(e=b.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=b.current)||void 0===e?void 0:e.node}})),[]),E(ie,cr({allow:r,contentRef:d,messageHandler:i,name:m,ref:b,ready:!!m,sandbox:a?void 0:u,src:g,title:p},y))}var he=A(pr);he.displayName="ProxyIframeEmbed";var mr="amp-";function nt(e){if(!dr(e))return null;let t=e.indexOf("{");return Z(-1!=t),W(e.substr(t),(t=>K().error("MESSAGING","Failed to parse message: "+e,t)))}function dr(e){return"string"==typeof e&&0==e.indexOf(mr)&&-1!=e.indexOf("{")}var gr=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(r),!0).forEach((function(t){hr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xr(e,t){if(null==e)return{};var r,n,o=Er(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Er(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var yr="facebook",vr="100%",_r=()=>!0,br="Facebook comments";function Or(e,t){let{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kdSite:u,layout:s,locale:f,numPosts:p,onReady:y,orderBy:d,refLabel:b,requestResize:O,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,style:j,tabs:w,title:S=br}=e,A=xr(e,gr),{0:x,1:_}=V(null),N=z((e=>{var t;let r=null!==(t=W(e.data))&&void 0!==t?t:nt(e.data);if("ready"==r.action&&(null==y||y()),r.type==rt.EMBED_SIZE){let e=r.height;O?(O(e),_(vr)):_(e)}}),[O,y]),{0:D,1:R}=V(f);return T((()=>{var e,r;if(f)return void R(f);let n=null==t||null===(e=t.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView;!n||R(Ne(n.navigator.language))}),[f,t]),E(he,ee(ee({options:{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kd_site:u,layout:s,locale:D,numPosts:p,orderBy:d,ref:b,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,tabs:w},ref:t,title:S},A),{},{excludeSandbox:!0,matchesMessagingOrigin:_r,messageHandler:N,type:yr,style:x?ee(ee({},j),{},{height:x}):j}))}var Sr=A(Or);Sr.displayName="Facebook";export{Sr as Facebook}; | ||
import{useCallback as gt,useContext as mt,useEffect as ft,useImperativeHandle as ht,useLayoutEffect as pt,useMemo as dt,useRef as lt,useState as ut}from"react";import{Fragment as Tr,cloneElement as Ir,createContext as at,createElement as ct,createRef as Dr}from"react";import{hydrate as Fr,render as Mr}from"react-dom";function E(e,t,r){return ct.apply(void 0,arguments)}function ye(e){return at(e,void 0)}function V(e){return ut(e)}function F(e){return lt(e)}function X(e,t){ft(e,t)}function T(e,t){pt(e,t)}function ve(e){return mt(e)}function te(e,t){return dt(e,t)}function z(e,t){return gt(e,t)}function H(e,t,r){return ht(e,t,r)}import{Children as jr,createPortal as Lr,forwardRef as xt}from"react";function A(e){return xt(e)}var Et=["as","children","className","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"];function _e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(r),!0).forEach((function(t){yt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_e(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vt(e,t){if(null==e)return{};var r,n,o=_t(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function _t(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var bt=[null,"paint","layout","content","size","size paint","size layout","strict"],Ot={position:"relative",width:"100%",height:"100%"};function St(e,t){let{as:r="div",children:n,className:o,contentAs:a="div",contentClassName:l,contentProps:i,contentRef:c,contentStyle:u,layout:s=!1,paint:f=!1,size:p=!1,style:y,wrapperClassName:d,wrapperStyle:b}=e,O=(p?4:0)+(s?2:0)+(f?1:0);return E(r,N(N({},vt(e,Et)),{},{ref:t,className:`${o||""} ${d||""}`.trim()||null,style:N(N(N({},y),b),{},{contain:bt[O]})}),E(a,N(N({},i),{},{ref:c,className:l,style:N(N({},p&&Ot),{},{overflow:f?"hidden":"visible"},u)}),n))}var re=A(St),At=["as","children","className","style","wrapperClassName","wrapperStyle"];function be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?be(Object(r),!0).forEach((function(t){Pt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):be(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rt(e,t){if(null==e)return{};var r,n,o=Nt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Nt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}function It(e,t){let{as:r="div",children:n,className:o,style:a,wrapperClassName:l,wrapperStyle:i}=e;return E(r,q(q({},Rt(e,At)),{},{ref:t,className:`${o||""} ${l||""}`.trim()||null,style:q(q({},a),i)}),n)}var Mt=A(It);function ne(e){let t=F(null);return t.current=e,t}var _={AUTO:"auto",LAZY:"lazy",EAGER:"eager",UNLOAD:"unload"},Ft=[_.AUTO,_.LAZY,_.EAGER,_.UNLOAD],Oe={[_.AUTO]:0,[_.LAZY]:1,[_.EAGER]:2,[_.UNLOAD]:3};function Se(e,t){let r=Oe[e]||0,n=Oe[t]||0,o=Math.max(r,n);return Ft[o]}var Ae,k={UPGRADING:"upgrading",BUILDING:"building",MOUNTING:"mounting",LOADING:"loading",COMPLETE:"complete",ERROR:"error"};function Tt(){return Ae||(Ae=ye({renderable:!0,playable:!0,loading:_.AUTO}))}function oe(){return ve(Tt())}function Pe(e){let{loading:t}=oe();return Se(e,t)}var Dt=["allow","allowFullScreen","allowTransparency","iframeStyle","name","title","matchesMessagingOrigin","messageHandler","ready","loading","onReadyState","sandbox","src"];function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function J(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(r),!0).forEach((function(t){Ct(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wt(e,t){if(null==e)return{};var r,n,o=Lt(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Lt(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var jt=()=>!1,$t="about:blank",Ut=e=>e&&e!=$t&&!e.includes("#");function Bt(e,t){let{allow:r,allowFullScreen:n,allowTransparency:o,iframeStyle:a,name:l,title:i,matchesMessagingOrigin:c=jt,messageHandler:u,ready:s=!0,loading:f,onReadyState:p,sandbox:y,src:d}=e,b=wt(e,Dt),{playable:O}=oe(),m=Pe(f),g=m!==_.UNLOAD,v=F(!1),h=ne(p),P=z((e=>{if(e!==v.current){v.current=e;let t=h.current;null==t||t(e?k.COMPLETE:k.LOADING)}}),[h]),j=F(null);return H(t,(()=>({get readyState(){return v.current?k.COMPLETE:k.LOADING},get node(){return j.current}})),[]),T((()=>{g||P(!1)}),[g,P]),X((()=>{let e=j.current;if(!O&&e){let{src:t}=e;Ut(t)?e.src=e.src:e.parentNode.insertBefore(e,e.nextSibling)}}),[O]),T((()=>{let e=j.current;if(!e||!g)return;let t=e=>{let t=j.current;!t||e.source!=t.contentWindow||!c(e.origin)||u(e)},{defaultView:r}=e.ownerDocument;return r.addEventListener("message",t),()=>r.removeEventListener("message",t)}),[c,u,g,s]),E(re,J(J({},b),{},{layout:!0,size:!0,paint:!0}),g&&s&&E("iframe",{allow:r,allowFullScreen:n,allowTransparency:o,frameborder:"0",loading:m,name:l,onLoad:()=>P(!0),part:"iframe",ref:j,sandbox:y,scrolling:"no",src:d,style:J(J({},a),{},{width:"100%",height:"100%",contentVisibility:"auto"}),title:i}))}var ie=A(Bt);ie.displayName="IframeEmbed";var{hasOwnProperty:yn,toString:vn}=Object.prototype;function j(e){let t=Object.create(null);return e&&Object.assign(t,e),t}function P(e){return e||{}}function Ne(e){return e.replace("-","_")}function se(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}var Gt=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Te(e,t=""){let r=t;try{return decodeURIComponent(e)}catch(e){return r}}function K(e){let t,r=j();if(!e)return r;for(;t=Gt.exec(e);){let e=Te(t[1],t[1]),n=t[2]?Te(t[2].replace(/\+/g," "),t[2]):"";r[e]=n}return r}var{isArray:D}=Array,y=self.AMP_CONFIG||{},kt=("string"==typeof y.thirdPartyFrameRegex?new RegExp(y.thirdPartyFrameRegex):y.thirdPartyFrameRegex)||/^d-\d+\.ampproject\.net$/,De=("string"==typeof y.cdnProxyRegex?new RegExp(y.cdnProxyRegex):y.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/;function Ce(e){if(!self.document||!self.document.head||self.location&&De.test(self.location.origin))return null;let t=self.document.head.querySelector(`meta[name="${e}"]`);return t&&t.getAttribute("content")||null}var C={thirdParty:y.thirdPartyUrl||"https://3p.ampproject.net",thirdPartyFrameHost:y.thirdPartyFrameHost||"ampproject.net",thirdPartyFrameRegex:kt,cdn:y.cdnUrl||Ce("runtime-host")||"https://cdn.ampproject.org",cdnProxyRegex:De,localhostRegex:/^https?:\/\/localhost(:\d+)?$/,errorReporting:y.errorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r",betaErrorReporting:y.betaErrorReportingUrl||"https://us-central1-amp-error-reporting.cloudfunctions.net/r-beta",localDev:y.localDev||!1,trustedViewerHosts:[/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,/(^|\.)gmail\.(com|dev)$/],geoApi:y.geoApiUrl||Ce("amp-geo-api")},ce={OFF:0,ERROR:1,WARN:2,INFO:3,FINE:4};self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var ae=self.__AMP_LOG,He=null;function Y(){if(ae.dev)return ae.dev;if(!He)throw new Error("failed to call initLogConstructor");return ae.dev=new He(self,(e=>e>=3?ce.FINE:e>=2?ce.INFO:ce.OFF))}function Z(e,t,r,n,o,a,l,i,c,u,s){return e}var ue,qt,$o=P({c:!0,v:!0,a:!0,ad:!0});function le(e,t){return ue||(ue=self.document.createElement("a"),qt=null),Jt(ue,e,null)}function Jt(e,t,r){return e.href="",new URL(t,e.href)}function fe(e){return JSON.parse(e)}function W(e,t){try{return fe(e)}catch(e){return null==t||t(e),null}}function Xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(r),!0).forEach((function(t){rr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var nr="amp-experiment-toggles",Q="__AMP__EXPERIMENT_TOGGLES";function qe(e,t){return!!Je(e)[t]}function Je(e){var t,r,n,o,a;if(e[Q])return e[Q];e[Q]=j();let l=e[Q],i=ze(ze({},null!==(t=e.AMP_CONFIG)&&void 0!==t?t:{}),null!==(r=e.AMP_EXP)&&void 0!==r?r:fe((null===(n=e.__AMP_EXP)||void 0===n?void 0:n.textContent)||"{}"));for(let e in i){let t=i[e];"number"==typeof t&&t>=0&&t<=1&&(l[e]=Math.random()<t)}let c=null===(o=e.AMP_CONFIG)||void 0===o?void 0:o["allow-doc-opt-in"];if(D(c)&&c.length){let t=e.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(t){let e=t.getAttribute("content").split(",");for(let t of e)c.includes(t)&&(l[t]=!0)}}Object.assign(l,or(e));let u=null===(a=e.AMP_CONFIG)||void 0===a?void 0:a["allow-url-opt-in"];if(D(u)&&u.length){let t=K(e.location.originalHash||e.location.hash);for(let e of u){let r=t[`e-${e}`];"1"==r&&(l[e]=!0),"0"==r&&(l[e]=!1)}}return l}function or(e){var t;let r="";try{"localStorage"in e&&(r=e.localStorage.getItem(nr))}catch(e){}let n=(null===(t=r)||void 0===t?void 0:t.split(/\s*,\s*/g))||[],o=j();for(let e of n)!e||("-"==e[0]?o[e.substr(1)]=!1:o[e]=!0);return o}var pe=()=>["allow-top-navigation-by-user-activation","allow-popups-to-escape-sandbox"],me=()=>["allow-forms","allow-modals","allow-pointer-lock","allow-popups","allow-same-origin","allow-scripts"];function Ke(e,t){return qe(t,"3p-vendor-split")?`${C.thirdParty}/2106260436000/vendor/${e}.mjs`:`${C.thirdParty}/2106260436000/f.js`}function Ye(e,t){let r=t||"frame";return e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN=e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN||ir(e),"https://"+e.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN+`.${C.thirdPartyFrameHost}/2106260436000/${r}.html`}function ir(e){return"d-"+Ze(e)}function Ze(e){let t;if(e.crypto&&e.crypto.getRandomValues){let r=new Uint32Array(2);e.crypto.getRandomValues(r),t=String(r[0])+r[1]}else t=String(e.Math.random()).substr(2)+"0";return t}function Qe(e){let t=0;for(let r=e;r&&r!=r.parent;r=r.parent)t++;return String(t)+"-"+Ze(e)}function et(){let e=0;return()=>String(++e)}var sr=["allow","bootstrap","contextOptions","excludeSandbox","name","messageHandler","options","sandbox","src","type","title"];function tt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function cr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tt(Object(r),!0).forEach((function(t){ar(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ur(e,t){if(null==e)return{};var r,n,o=lr(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function lr(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var de={},rt={EMBED_SIZE:"embed-size"},ge="sync-xhr 'none'",fr=pe().join(" ")+" "+me().join(" ");function pr(e,t){let{allow:r=ge,bootstrap:n,contextOptions:o,excludeSandbox:a,name:l,messageHandler:i,options:c,sandbox:u=fr,src:s,type:f,title:p=f}=e,y=ur(e,sr);if(!se(r,ge))throw new Error(`'allow' prop must contain "${ge}". Found "${r}".`);let d=F(null),b=F(null),O=te((()=>(de[f]||(de[f]=et()),de[f]())),[f]),{0:{name:m,src:g},1:v}=V({name:l,src:s});return T((()=>{var e,t;let r=null===(e=d.current)||void 0===e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView,a=null!=s?s:r?Ye(r):"about:blank";if(l)return void v({name:l,src:a});if(!r)return;let i=Object.assign(P({location:{href:r.location.href},sentinel:Qe(r)}),o),u=Object.assign(P({title:p,type:f,_context:i}),c);v({name:JSON.stringify(P({host:le(a).hostname,bootstrap:null!=n?n:Ke(f,r),type:f,count:O,attributes:u})),src:a})}),[n,o,O,l,c,s,p,f]),X((()=>{var e;let t=null===(e=b.current)||void 0===e?void 0:e.node;t&&t.parentNode.insertBefore(t,t.nextSibling)}),[m]),H(t,(()=>({get readyState(){var e;return null===(e=b.current)||void 0===e?void 0:e.readyState},get node(){var e;return null===(e=b.current)||void 0===e?void 0:e.node}})),[]),E(ie,cr({allow:r,contentRef:d,messageHandler:i,name:m,ref:b,ready:!!m,sandbox:a?void 0:u,src:g,title:p},y))}var he=A(pr);he.displayName="ProxyIframeEmbed";var mr="amp-";function nt(e){if(!dr(e))return null;let t=e.indexOf("{");return Z(-1!=t),W(e.substr(t),(t=>Y().error("MESSAGING","Failed to parse message: "+e,t)))}function dr(e){return"string"==typeof e&&0==e.indexOf(mr)&&-1!=e.indexOf("{")}var gr=["action","colorscheme","embedAs","hideCover","hideCta","href","includeCommentParent","kdSite","layout","locale","numPosts","onReady","orderBy","refLabel","requestResize","share","showFacepile","showText","size","smallHeader","style","tabs","title"];function ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(r),!0).forEach((function(t){hr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xr(e,t){if(null==e)return{};var r,n,o=Er(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(o[r]=e[r]))}return o}function Er(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}var yr="facebook",vr="100%",_r=()=>!0,br="Facebook comments";function Or(e,t){let{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kdSite:u,layout:s,locale:f,numPosts:p,onReady:y,orderBy:d,refLabel:b,requestResize:O,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,style:j,tabs:w,title:S=br}=e,A=xr(e,gr),{0:x,1:_}=V(null),N=z((e=>{var t;let r=null!==(t=W(e.data))&&void 0!==t?t:nt(e.data);if("ready"==r.action&&(null==y||y()),r.type==rt.EMBED_SIZE){let e=r.height;O?(O(e),_(vr)):_(e)}}),[O,y]),{0:D,1:R}=V(f);return T((()=>{var e,r;if(f)return void R(f);let n=null==t||null===(e=t.current)||void 0===e||null===(r=e.ownerDocument)||void 0===r?void 0:r.defaultView;!n||R(Ne(n.navigator.language))}),[f,t]),E(he,ee(ee({options:{action:r,colorscheme:n,embedAs:o,hideCover:a,hideCta:l,href:i,includeCommentParent:c,kd_site:u,layout:s,locale:D,numPosts:p,orderBy:d,ref:b,share:m,showFacepile:g,showText:v,size:h,smallHeader:P,tabs:w},ref:t,title:S},A),{},{excludeSandbox:!0,matchesMessagingOrigin:_r,messageHandler:N,type:yr,style:x?ee(ee({},j),{},{height:x}):j}))}var Sr=A(Or);Sr.displayName="Facebook";export{Sr as Facebook}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ | ||
//# sourceMappingURL=component-react.module.js.map |
{ | ||
"name": "@ampproject/amp-facebook", | ||
"version": "1.2106240350.0", | ||
"version": "1.2106260436.0", | ||
"description": "AMP HTML amp-facebook Component", | ||
@@ -5,0 +5,0 @@ "author": "The AMP HTML Authors", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package