PageSourceSearch

https://opencollective.com/_next/static/chunks/6821-1c277108020fcd0e.js

js opencollective.com collected 2026-09-24 08:35:43 UTC 14,021 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];if(null!=a)for(var n in a)a.hasOwnProperty(n)&&(e[n]=a[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:opencollective-frontend":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="53a2400a-7240-44ba-b979-40a23433ba77",e._sentryDebugIdIdentifier="sentry-dbid-53a2400a-7240-44ba-b979-40a23433ba77")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1583,6821],{6632:(e,t,a)=>{a.d(t,{A:()=>n});let n=(0,a(49950).A)("arrow-up-1-0",[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M17 10V4h-2",key:"zcsr5x"}],["path",{d:"M15 10h4",key:"id2lce"}],["rect",{x:"15",y:"14",width:"4",height:"6",ry:"2",key:"33xykx"}]])},18256:(e,t,a)=>{let n,o;a.d(t,{Ay:()=>d});var r=a(37876),i=a(14232);let l={default:120,mqdefault:320,hqdefault:480,sddefault:640,maxresdefault:1280};var s=((n=s||{})[n.UNSTARTED=-1]="UNSTARTED",n[n.ENDED=0]="ENDED",n[n.PLAYING=1]="PLAYING",n[n.PAUSED=2]="PAUSED",n[n.BUFFERING=3]="BUFFERING",n[n.CUED=5]="CUED",n),c=((o=c||{})[o.INVALID_PARAM=2]="INVALID_PARAM",o[o.HTML5_ERROR=5]="HTML5_ERROR",o[o.VIDEO_NOT_FOUND=100]="VIDEO_NOT_FOUND",o[o.NOT_EMBEDDABLE=101]="NOT_EMBEDDABLE",o[o.NOT_EMBEDDABLE_DISGUISED=150]="NOT_EMBEDDABLE_DISGUISED",o);let d=i.forwardRef(function(e,t){var a,n;let[o,s]=i.useState(!1),[c,d]=i.useState(e.alwaysLoadIframe||e.autoplay||!1),u=encodeURIComponent(e.id),p="string"==typeof e.playlistCoverId?encodeURIComponent(e.playlistCoverId):null,f=e.title,y=e.poster||"hqdefault",h=e.announce||"Watch",b=!e.alwaysLoadIframe&&!e.autoplay||e.autoplay&&e.muted,m=i.useMemo(()=>{let t=new URLSearchParams({...e.muted?{mute:"1"}:{},...b?{autoplay:"1"}:{},...e.enableJsApi?{enablejsapi:"1"}:{},...e.enableJsApi&&"u">typeof window?{origin:window.location.origin}:{},...e.playlist?{list:u}:{}});return e.params&&("string"==typeof e.params?new URLSearchParams(e.params.startsWith("&")?e.params.slice(1):e.params).forEach((e,a)=>{t.append(a,e)}):Object.entries(e.params).forEach(([e,a])=>{t.append(e,String(a))})),t},[e.muted,b,e.enableJsApi,e.playlist,u,e.params]),g=i.useMemo(()=>e.cookie?"https://www.youtube.com":"https://www.youtube-nocookie.com",[e.cookie]),v=i.useMemo(()=>e.playlist?`${g}/embed/videoseries?${m.toString()}`:`${g}/embed/${u}?${m.toString()}`,[e.playlist,g,u,m]),w=!e.thumbnail&&!e.playlist&&"maxresdefault"===y,E=e.webp?"webp":"jpg",k=e.webp?"vi_webp":"vi",_=w?((e,t,a,n="maxresdefault")=>{let[o,r]=(0,i.useState)("");return(0,i.useEffect)(()=>{let o=`https://img.youtube.com/${t}/${e}/${n}.${a}`,i=`https://img.youtube.com/${t}/${e}/hqdefault.${a}`,s=l[n],c=new Image;c.onload=()=>{c.width<s?r(i):r(o)},c.onerror=()=>r(i),c.src=o},[e,t,a,n]),o})(e.id,k,E,y):null,D=i.useMemo(()=>e.thumbnail||_||`https://i.ytimg.com/${k}/${e.playlist?p:u}/${y}.${E}`,[e.thumbnail,_,k,e.playlist,p,u,y,E]),C=e.activatedClass||"lyt-activated",I=e.adNetwork||!1,R=e.aspectHeight||9,j=e.aspectWidth||16,S=e.iframeClass||"",T=e.playerClass||"lty-playbtn",A=e.wrapperClass||"yt-lite",x=i.useCallback(e.onIframeAdded||function(){},[e.onIframeAdded]),N=e.rel?"prefetch":"preload",$=e.containerElement||"article",P=!1!==e.noscriptFallback,L=()=>{c||d(!0)};return i.useEffect(()=>{c&&(x(),e.focusOnLoad&&"object"==typeof t&&t?.current&&t.current.focus())},[c,x,e.focusOnLoad,t]),i.useEffect(()=>{if(!c||!e.enableJsApi||!(e.onReady||e.onStateChange||e.onError||e.onPlay||e.onPause||e.onEnd||e.onBuffering||e.onPlaybackRateChange||e.onPlaybackQualityChange))return;let a=!1,n=!1,o=n=>{let o;if("https://www.youtube.com"===n.origin||"https://www.youtube-nocookie.com"===n.origin){try{o="string"==typeof n.data?JSON.parse(n.data):n.data}catch{return}switch(o.event){case"onReady":a||(a=!0,e.onReady&&e.onReady({videoId:e.id,title:f}));break;case"infoDelivery":if(o.info?.playerState!==void 0){let a=o.info.playerState;switch(e.onStateChange&&e.onStateChange({state:a,currentTime:o.info.currentTime,duration:o.info.duration}),a){case 1:e.onPlay?.();break;case 2:e.onPause?.();break;case 0:e.onEnd?.(),e.stopOnEnd&&"object"==typeof t&&t?.current?.contentWindow&&t.current.contentWindow.postMessage('{"event":"command","func":"stopVideo","args":""}',"*");break;case 3:e.onBuffering?.()}}o.info?.playbackRate!==void 0&&e.onPlaybackRateChange?.(o.info.playbackRate),o.info?.playbackQuality!==void 0&&e.onPlaybackQualityChange?.(o.info.playbackQuality);break;case"onStateChange":if(o.info?.playerState!==void 0){let a=o.info.playerState;switch(e.onStateChange&&e.onStateChange({state:a,currentTime:o.info.currentTime,duration:o.info.duration}),a){case 1:e.onPlay?.();break;case 2:e.onPause?.();break;case 0:e.onEnd?.(),e.stopOnEnd&&"object"==typeof t&&t?.current?.contentWindow&&t.current.contentWindow.postMessage('{"event":"command","func":"stopVideo","args":""}',"*");break;case 3:e.onBuffering?.()}}break;case"onError":{let t,a=o.info;if("number"==typeof a||"string"==typeof a){let e=Number(a);Number.isNaN(e)||(t=e)}else null!==a&&"object"==typeof a&&"errorCode"in a&&"number"==typeof a.errorCode&&(t=a.errorCode);void 0!==t&&e.onError&&e.onError(t);break}case"onPlaybackRateChange":o.info?.playbackRate!==void 0&&e.onPlaybackRateChange?.(o.info.playbackRate);break;case"onPlaybackQualityChange":o.info?.playbackQuality!==void 0&&e.onPlaybackQualityChange?.(o.info.playbackQuality)}}};window.addEventListener("message",o);let r=[],i=()=>{"object"==typeof t&&t?.current?.contentWindow&&t.current.contentWindow.postMessage('{"event":"listening","id":"'+u+'"}',"*")},l=()=>
1{n||(n=!0,i(),[100,300,600,1200,2400].forEach(e=>{r.push(setTimeout(i,e))}))};return"object"==typeof t&&t?.current?(t.current.addEventListener("load",l),t.current.contentDocument?.readyState==="complete"&&l()):[200,500,1e3,2e3,3e3].forEach(e=>{r.push(setTimeout(i,e))}),()=>{window.removeEventListener("message",o),r.forEach(clearTimeout),"object"==typeof t&&t?.current&&t.current.removeEventListener("load",l)}},[c,e.enableJsApi,e.onReady,e.onStateChange,e.onError,e.onPlay,e.onPause,e.onEnd,e.onBuffering,e.onPlaybackRateChange,e.onPlaybackQualityChange,e.stopOnEnd,e.id,u,f,t]),(0,r.jsxs)(r.Fragment,{children:[!e.lazyLoad&&(0,r.jsx)("link",{rel:N,href:D,as:"image"}),(0,r.jsx)(r.Fragment,{children:o&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("link",{rel:"preconnect",href:g}),(0,r.jsx)("link",{rel:"preconnect",href:"https://www.google.com"}),I&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("link",{rel:"preconnect",href:"https://static.doubleclick.net"}),(0,r.jsx)("link",{rel:"preconnect",href:"https://googleads.g.doubleclick.net"})]})]})}),e.seo&&!e.playlist&&(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(a=e.id,n=e.seo,JSON.stringify({"@context":"https://schema.org","@type":"VideoObject",name:n?.name||f,thumbnailUrl:[n?.thumbnailUrl||D],embedUrl:n?.embedUrl||`${g}/embed/${a}`,contentUrl:n?.contentUrl||`https://www.youtube.com/watch?v=${a}`,...n?.description&&{description:n.description},...n?.uploadDate&&{uploadDate:n.uploadDate},...n?.duration&&{duration:n.duration}}))}}),P&&!e.playlist&&(0,r.jsx)("noscript",{children:(0,r.jsxs)("a",{href:`https://www.youtube.com/watch?v=${e.id}`,"aria-label":`Watch ${f} on YouTube`,children:['Watch "',f,'" on YouTube']})}),(0,r.jsxs)($,{onPointerOver:()=>{o||s(!0)},onClick:L,className:`${A} ${c?C:""}`,"data-title":f,role:c||e.lazyLoad?void 0:"img","aria-label":c?void 0:`${f} - YouTube video preview`,style:{...!e.lazyLoad&&{backgroundImage:`url(${D})`},"--aspect-ratio":`${R/j*100}%`,...e.style||{}},children:[e.lazyLoad&&!c&&(0,r.jsx)("img",{src:D,alt:`${f} - YouTube thumbnail`,className:"lty-thumbnail",loading:"lazy"}),e.playlist&&!c&&(0,r.jsx)("div",{className:"lty-playlist-icon","aria-hidden":"true"}),!(e.hideButtonOnActivate&&c)&&(0,r.jsx)("button",{type:"button",className:T,"aria-label":`${h} ${f}`,"aria-hidden":c||void 0,tabIndex:c?-1:0,onClick:L,children:(0,r.jsx)("span",{className:"lty-visually-hidden",children:h})}),c&&(0,r.jsx)("iframe",{ref:t,className:S,title:f,width:"560",height:"315",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:v,referrerPolicy:e.referrerPolicy||"strict-origin-when-cross-origin"})]})]})})},52198:(e,t,a)=>{a.d(t,{A:()=>l});var n=a(36224),o=a(88245),r=a(3813),i=a(3478);let l=(0,r.A)(function(e,t){return(0,i.A)(e)?(0,n.A)(e,(0,o.A)(t,1,i.A,!0)):[]})},74145:(e,t,a)=>{a.d(t,{B8:()=>j,UC:()=>T,bL:()=>R,l9:()=>S});var n=a(14232),o=a(78782),r=a(35602),i=a(76478),l=a(73364),s=a(72288),c=a(82088),d=a(3267),u=a(69084),p=a(37876),f=Object.defineProperty,y=(e,t)=>f(e,"name",{value:t,configurable:!0}),h="Tabs",[b,m]=(0,r.A)(h,[i.RG]),g=(0,i.RG)(),[v,w]=b(h),E=n.forwardRef(y(function(e,t){let{__scopeTabs:a,value:n,onValueChange:o,defaultValue:r,orientation:i="horizontal",dir:l,activationMode:f="automatic",...y}=e,b=(0,c.jH)(l),[m,g]=(0,d.i)({prop:n,onChange:o,defaultProp:r??"",caller:h});return(0,p.jsx)(v,{scope:a,baseId:(0,u.B)(),value:m,onValueChange:g,orientation:i,dir:b,activationMode:f,children:(0,p.jsx)(s.sG.div,{dir:b,"data-orientation":i,...y,ref:t})})},"Tabs")),k=n.forwardRef(y(function(e,t){let{__scopeTabs:a,loop:n=!0,...o}=e,r=w("TabsList",a),l=g(a);return(0,p.jsx)(i.bL,{asChild:!0,...l,orientation:r.orientation,dir:r.dir,loop:n,children:(0,p.jsx)(s.sG.div,{role:"tablist","aria-orientation":r.orientation,...o,ref:t})})},"TabsList")),_=n.forwardRef(y(function(e,t){let{__scopeTabs:a,value:n,disabled:r=!1,...l}=e,c=w("TabsTrigger",a),d=g(a),u=C(c.baseId,n),f=I(c.baseId,n),y=n===c.value;return(0,p.jsx)(i.q7,{asChild:!0,...d,focusable:!r,active:y,children:(0,p.jsx)(s.sG.button,{type:"button",role:"tab","aria-selected":y,"aria-controls":f,"data-state":y?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:u,...l,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{r||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(n)}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>
1{!r&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&c.onValueChange(n)}),onFocus:(0,o.mK)(e.onFocus,()=>{let e="manual"!==c.activationMode;y||r||!e||c.onValueChange(n)})})})},"TabsTrigger")),D=n.forwardRef(y(function(e,t){let{__scopeTabs:a,value:o,forceMount:r,children:i,...c}=e,d=w("TabsContent",a),u=C(d.baseId,o),f=I(d.baseId,o),y=o===d.value,h=n.useRef(y);return n.useEffect(()=>{let e=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,p.jsx)(l.C,{present:r||y,children:({present:a})=>(0,p.jsx)(s.sG.div,{"data-state":y?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":u,hidden:!a,id:f,tabIndex:0,...c,ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0},children:a&&i})})},"TabsContent"));function C(e,t){return`${e}-trigger-${t}`}function I(e,t){return`${e}-content-${t}`}y(C,"makeTriggerId"),y(I,"makeContentId");var R=E,j=k,S=_,T=D},77820:(e,t,a)=>{a.d(t,{A:()=>o});var n=a(54442);let o=function(e){return e&&e.length?(0,n.A)(e):[]}},88885:(e,t,a)=>{a.d(t,{tH:()=>y});var n=a(92797),o=a(56011),r=a(18334),i=a(68285),l=a(81632),s=a(82155);function c(e={}){let t=s.jf.document,a=t?.head||t?.body;if(!a){l.T&&o.Yz.error("[showReportDialog] Global document not defined");return}let d=(0,n.o5)(),u=(0,n.KU)(),p=u?.getDsn();if(!p){l.T&&o.Yz.error("[showReportDialog] DSN not configured");return}let f={...e,user:{...d.getUser(),...e.user},eventId:e.eventId||(0,r.Q)()},y=s.jf.document.createElement("script");y.async=!0,y.crossOrigin="anonymous",y.src=(0,i.kJ)(p,f);let{onLoad:h,onClose:b}=f;if(h&&(y.onload=h),b){let e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{b()}finally{s.jf.removeEventListener("message",e)}};s.jf.addEventListener("message",e)}a.appendChild(y)}var d=a(14232);let u="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var p=a(50045);let f={componentStack:null,error:null,eventId:null};class y extends d.Component{constructor(e){super(e),this.state=f,this._openFallbackReportDialog=!0;const t=(0,n.KU)();t&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=t.on("afterSendEvent",t=>{!t.type&&this._lastEventId&&t.event_id===this._lastEventId&&c({...e.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(e,t){let{componentStack:a}=t,{beforeCapture:o,onError:i,showDialog:l,dialogOptions:s}=this.props;(0,n.v4)(n=>{o&&o(n,e,a);let u=function(e,{componentStack:t},a){let n;if(null!==(n=d.version.match(/^([^.]+)/))&&parseInt(n[0])>=17&&(0,p.bJ)(e)&&t){let a,n=Error(e.message);n.name=`React ErrorBoundary ${e.name}`,n.stack=t,a=new WeakSet,function e(t,n){if(!a.has(t)){if(t.cause)return a.add(t),e(t.cause,n);t.cause=n}}(e,n)}return(0,r.Cp)(e,a)}(e,t,{mechanism:{handled:null!=this.props.handled?this.props.handled:!!this.props.fallback,type:"auto.function.react.error_boundary"}});i&&i(e,a,u),l&&(this._lastEventId=u,this._openFallbackReportDialog&&c({...s,eventId:u})),this.setState({error:e,componentStack:a,eventId:u})})}componentDidMount(){let{onMount:e}=this.props;e&&e()}componentWillUnmount(){let{error:e,componentStack:t,eventId:a}=this.state,{onUnmount:n}=this.props;n&&(this.state===f?n(null,null,null):n(e,t,a)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){let{onReset:e}=this.props,{error:t,componentStack:a,eventId:n}=this.state;e&&e(t,a,n),this.setState(f)}render(){let{fallback:e,children:t}=this.props,a=this.state;if(null===a.componentStack)return"function"==typeof t?t():t;let n="function"==typeof e?d.createElement(e,{error:a.error,componentStack:a.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:a.eventId}):e;return d.isValidElement(n)?n:(e&&u&&o.Yz.warn("fallback did not produce a valid ReactElement"),null)}}}}]);
2//# sourceMappingURL=6821-1c277108020fcd0e.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.