PageSourceSearch

https://www.huffpost.com/static-assets/cambria/app/Looper.1b27999a198575ba09f2.js

js huffpost.com collected 2026-09-24 07:34:05 UTC 2,701 bytes, 2 lines download raw bytes

1(self.webpackChunkcambria=self.webpackChunkcambria||[]).push([[2952],{40362(e,t,r){"use strict";var o=r(56441);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,a,s){if(s!==o){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:n};return r.PropTypes=r,r}},56441(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},62688(e,t,r){e.exports=r(40362)()},69950(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>_});var o=r(9960),n=r.n(o),a=r(6606),s=r.n(a),p=r(49784),c=r.n(p),i=r(68263),u=r.n(i),l=r(11917),y=r.n(l),f=r(24454),d=r.n(f),h=r(23467),m=r.n(h),v=r(63696),b=r(62688),P=r.n(b);function k(e,t,r){return t=y()(t),u()(e,T()?Reflect.construct(t,r||[],y()(e).constructor):t.apply(e,r))}function T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(T=function(){return!!e})()}var R=function(e){function t(e){var r;return s()(this,t),(r=k(this,t,[e])).looperRef=v.createRef(),r.tryToPlay=r.tryToPlay.bind(r),r}return d()(t,e),c()(t,[{key:"componentDidMount",value:function(){this.props.autoPlay&&this.tryToPlay()}},{key:"tryToPlay",value:(r=n()(m().mark(function e(){var t;return m().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=1,this.looperRef.current.play();case 1:e.next=3;break;case 2:e.prev=2,t=e.catch(0),console.error(t);case 3:case"end":return e.stop()}},e,this,[[0,2]])})),function(){return r.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.urls,r=e.id,o=e.autoPlay,n=e.options.isAmp,a={ref:this.looperRef,poster:t.poster,playsInline:!0,muted:!0,autoPlay:o,loop:!0,src:t.desktop,onPause:this.tryToPlay};return r&&(a.id=r,a.className="in-page-anchor"),n?v.createElement("div",{className:"cli-embed__embed-wrapper"},v.createElement("amp-video",{poster:t.poster,muted:"",autoplay:"",noaudio:"",loop:"",layout:"fill",src:t.desktop})):v.createElement("div",{className:"cli-embed__embed-wrapper"},v.createElement("video",a))}}]);var r}(v.Component);R.propTypes={urls:P().shape({desktop:P().string,poster:P().string}).isRequired,options:P().shape({isAmp:P().bool}).isRequired,autoPlay:P().bool},R.defaultProps={autoPlay:!0};const _=R}}]);
2//# sourceMappingURL=Looper.1b27999a198575ba09f2.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.