PageSourceSearch

https://www.hasbropulse.com/mobify/bundle/2649/youtube-player.js

js hasbropulse.com collected 2026-09-24 09:04:44 UTC 4,131 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5612],{17857:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});var o=n(58168),a=n(80045),r=n(96540),l=n(59146),i=n(86868),c=n(80328);const u=["data_amplience_page_name","data_amplience_component_name","data_amplience_component_schema","data_amplience_delivery_key","data_creative_index"],s=e=>{var t,n;let{data_amplience_page_name:s,data_amplience_component_name:d,data_amplience_component_schema:p,data_amplience_delivery_key:v,data_creative_index:_}=e,m=(0,a.A)(e,u);const f=(0,c.Ay)(d??"",d??"",s??"",p,v,_),y="object"==typeof(b=f)&&null!==b&&"ref"in b?f.ref:void 0;var b;const h=Boolean((null===(t=m.source)||void 0===t?void 0:t.videoId)||(null===(n=m.source)||void 0===n?void 0:n.playlistId));return m.enabled&&h?r.createElement(l.a,{ref:y},r.createElement(i.A,(0,o.A)({},m,{analytics:{page_name:s,component_name:d,component_schema:p,delivery_key:v,creative_index:_}}))):null}},86868:(e,t,n)=>{n.d(t,{A:()=>d});var o=n(54705),a=n(96540),r=n(77182),l=n(59146),i=n(85353),c=n(16146);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const d=({enabled:e,title:t,source:n,startSeconds:o,captionsDefaultOn:u,variant:d=null,isPlaying:p,onPlay:v,analytics:_})=>{const m=(0,r.o)("YouTubePlayer",{variant:d})||{},[f,y]=(0,a.useState)(null),[b,h]=(0,a.useState)(null);(0,a.useEffect)((()=>{if(f)return(e=>{const t=(()=>{if(e.shadowRoot)return e.shadowRoot;try{return e.attachShadow({mode:"open"})}catch{return null}})();if(!t)return()=>{};let n=!1;const o=()=>{const e=t.querySelector("iframe");if(!e)return;const o=e.getAttribute("allow")||"";if(!o.includes("clipboard-write")&&(e.setAttribute("allow",o?`${o}; clipboard-write`:"clipboard-write"),!n&&e.src)){n=!0;const t=e.src;e.src=t}};o();const a=new MutationObserver(o);return a.observe(t,{childList:!0,subtree:!0}),()=>a.disconnect()})(f)}),[f]),(0,a.useEffect)((()=>{if(f)return(e=>{var t;const n=e;let o=!1,a=!1;const r=e=>{3===e.data&&n.dispatchEvent(new Event("waiting"))},l=()=>{var e;o||a||null===(e=n.api)||void 0===e||!e.addEventListener||(n.api.addEventListener("onStateChange",r),a=!0)};return l(),a||null===(t=n.loadComplete)||void 0===t||t.then(l).catch((()=>{})),()=>{var e,t;o=!0,a&&(null===(e=n.api)||void 0===e||null===(t=e.removeEventListener)||void 0===t||t.call(e,"onStateChange",r))}})(f)}),[f]),(0,a.useEffect)((()=>{if(h(null),f)return((e,t)=>{let n=null;const o=()=>{const o=(e=>{var t,n,o;return(null==e||null===(t=e.api)||void 0===t||null===(n=t.getVideoData)||void 0===n||null===(o=n.call(t))||void 0===o?void 0:o.title)||null})(e);o&&o!==n&&(n=o,t(o))};o();const a=["loadedmetadata","durationchange","playing"];return a.forEach((t=>e.addEventListener(t,o))),()=>{a.forEach((t=>e.removeEventListener(t,o)))}})(f,h)}),[f]);const w=(null==n?void 0:n.videoId)||null,E=(null==n?void 0:n.playlistId)||null,O=w?`https://www.youtube-nocookie.com/watch?v=${encodeURIComponent(w)}`:E?"https://www.youtube-nocookie.com/embed/videoseries":null;return e&&O?a.createElement(l.a,null,null!=t&&t.text?a.createElement(i.D,{as:null!=t&&t.promote?"h1":"h2",fontSize:{base:"36px",lg:"4rem"},textAlign:"center",color:null==t?void 0:t.color},null==t?void 0:t.text):null,a.createElement(c.Ay,{src:O,isActive:!1!==p,onPlay:v,analytics:_,aspectRatio:null,wrapperStyles:m.container,videoId:w,videoName:b??(null==t?void 0:t.text)??null,videoSourceName:"YouTube",captionsDefaultOn:u,onMediaElement:y,playbackTolerance:1,config:{youtube:s(s({},E?{list:E}:{}),{},{referrerpolicy:"strict-origin-when-cross-origin",fs:1,rel:0,cc_load_policy:u?1:0,start:o||0})}})):null}}}]);

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.