1!function(e){var o={};function n(t){if(o[t])return o[t].exports;var r=o[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=o,n.d=function(e,o,t){n.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,o){if(1&o&&(e=n(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)n.d(t,r,function(o){return e[o]}.bind(null,r));return t},n.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(o,"a",o),o},n.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},n.p="",n(n.s=273)}({273:function(e,o){!function(){"use strict";let e,o;function n(e){return new Promise((o,n)=>{const t=document.createElement("script");t.onload=()=>o(),t.onerror=e=>n(e),t.src=e,document.body.appendChild(t)})}function t(){if(e)return e;const o=window.wpcom_coblocks_js;return e=n(o.coblocks_lightbox_js),e}function r(){if(o)return o;window.wpcomJQueryUsageLoggerDisabled=!0;const e=window.wpcom_coblocks_js,t=window.jQuery?Promise.resolve():n(e.jquery_core_js).then(()=>n(e.jquery_migrate_js)),r=t.then(()=>window.imagesLoaded?Promise.resolve():n(e.imagesloaded_js)),c=t.then(()=>window.Masonry?Promise.resolve():n(e.masonry_js)),u=Promise.all([t,r,c]).then(()=>n(e.coblocks_masonry_js));return o=u,o}function c(){document.querySelector(".wp-block-coblocks-gallery-masonry")&&r(),document.querySelector(".has-lightbox")&&t(),document.body.classList.contains("block-editor-page")&&(r(),t())}"loading"!==document.readyState?c():document.addEventListener("DOMContentLoaded",c)}()}});; 2'use strict'; 3/* 4 Handles additional functionalities of the theme. 5*/ 6 7(function () { 8 var siteHeader = document.getElementById('masthead'); 9 10 if (!siteHeader) { 11 return; 12 } 13 14 var fullScreenHeader = document.getElementById('primary-header'); 15 var appetiteTheme = { 16 // Run on ready. 17 onReady: function onReady() { 18 this.setContentTopPaddings(); 19 this.setPageHeader(); 20 this.skipLinkFocusFix(); 21 }, 22 // Helper function that sets top paddings for the page header container if needed. 23 setPageHeaderTopPaddings: function setPageHeaderTopPaddings() { 24 if ( 25 'undefined' != typeof window.matchMedia || 26 'undefined' != typeof window.msMatchMedia 27 ) { 28 var tabletView = window.matchMedia('(min-width: 768px)'); 29 30 if (tabletView.matches) { 31 fullScreenHeader.style.paddingTop = siteHeader.offsetHeight + 'px'; 32 } 33 } else { 34 if (document.body.offsetWidth >= 768) { 35 fullScreenHeader.style.paddingTop = siteHeader.offsetHeight + 'px'; 36 } 37 } 38 }, 39 // Set a proper distance between a fixed header section and a content area. 40 setContentTopPaddings: function setContentTopPaddings() { 41 if (null === fullScreenHeader) { 42 return; 43 } // On load, set top paddings and make the page header section visible. 44 45 var setPropperPaddings = function setPropperPaddings() { 46 appetiteTheme.setPageHeaderTopPaddings(); 47 fullScreenHeader.classList.add('visible'); 48 }; 49 50 window.requestAnimationFrame(setPropperPaddings); 51 var siteLogo = siteHeader.querySelector('.custom-logo'); 52 53 if (null === siteLogo) { 54 return; 55 } 56 57 if (siteLogo.complete || siteLogo.naturalHeight > 0) { 58 window.requestAnimationFrame(setPropperPaddings); 59 } 60 }, 61 // Set up page header section. 62 setPageHeader: function setPageHeader() { 63 if (null === fullScreenHeader) { 64 return; 65 } // On resize, run the paddings function. 66 67 var primaryHeaderResizeEvent = function primaryHeaderResizeEvent() { 68 window.requestAnimationFrame(appetiteTheme.setPageHeaderTopPaddings); 69 }; 70 71 window.addEventListener('resize', primaryHeaderResizeEvent, false); // On scroll, change top paddings depending on an initial height of the hadader. 72 73 var primaryHeaderScrollEvent = function primaryHeaderScrollEvent() { 74 var scrollTop = window.scrollY || document.documentElement.scrollTop; 75 76 if (0 === scrollTop) { 77 setTimeout(function () { 78 window.requestAnimationFrame( 79 appetiteTheme.setPageHeaderTopPaddings 80 ); 81 }, 100); 82 } 83 }; 84 85 window.addEventListener('scroll', primaryHeaderScrollEvent, false); 86 }, 87 // Helps with accessibility for keyboard only users. 88 skipLinkFocusFix: function skipLinkFocusFix() { 89 var isIe = /(trident|msie)/i.test(navigator.userAgent); 90 91 if (isIe && document.getElementById && window.addEventListener) { 92 window.addEventListener( 93 'hashchange', 94 function () { 95 var id = location.hash.substring(1), 96 element; 97 98 if (!/^[A-z0-9_-]+$/.test(id)) { 99 return; 100 } 101 102 element = document.getElementById(id); 103 104 if (element) { 105 if ( 106 !/^(?:a|select|input|button|textarea)$/i.test(element.tagName) 107 ) { 108 element.tabIndex = -1; 109 } 110 111 element.focus(); 112 } 113 }, 114 false 115 ); 116 } 117 }, 118 }; // Things that need to happen when the document is ready. 119 120 document.addEventListener( 121 'DOMContentLoaded', 122 function () { 123 appetiteTheme.onReady(); 124 }, 125 false 126 ); 127})(); 128 129(function () { 130 'use strict'; 131 132 if ('loading' === document.readyState) { 133 // The DOM has not yet been loaded. 134 document.addEventListener('DOMContentLoaded', initFeaturedImages); 135 } else { 136 // The DOM has already been loaded. 137 initFeaturedImages(); 138 } // Initiate the header search when the DOM loads. 139 140 function initFeaturedImages() { 141 // If the browser does support object-fit, we don't need to continue 142 if ('objectFit' in document.documentElement.style !== false) { 143 return; 144 } 145 146 Array.prototype.forEach.call( 147 document.querySelectorAll('img.th-featured-image'), 148 function (image) { 149 var parentContainer = image.parentNode; 150 var fakeImg = document.createElement('span'); 151 fakeImg.setAttribute('role', 'img'); 152 fakeImg.setAttribute('aria-label', image.alt); 153 fakeImg.className = 154 'featured-image th-featured-image th-background-cover th-cover th-w-full th-h-full'; 155 fakeImg.style.backgroundImage = 'url("'.concat(image.src, '")'); 156 parentContainer.removeChild(image); 157 parentContainer.appendChild(fakeImg); 158 } 159 ); 160 } 161})(); 162 163(function () { 164 if ('loading' === document.readyState) { 165 // The DOM has not yet been loaded. 166 document.addEventListener('DOMContentLoaded', initHeader); 167 } else { 168 // The DOM has already been loaded. 169 initHeader(); 170 } // Initiate the menus when the DOM loads. 171 172 function initHeader() { 173 var siteHeader = document.getElementById('masthead'); 174 175 if (!siteHeader) { 176 return; 177 } 178 179 if (!document.documentElement.classList) { 180 siteHeader.classList.add('abs-header'); 181 return; 182 } 183 184 setUpStickyHeader(siteHeader); 185 } // Set up the sticky header. 186 187 function setUpStickyHeader(headerContainer) { 188 var scrollTop = 0; 189 190 var setStickyHeaderClass = function setStickyHeaderClass() { 191 scrollTop = window.scrollY || document.documentElement.scrollTop; 192 193 if (scrollTop > 0) { 194 headerContainer.classList.add('scroll-header'); 195 } else { 196 headerContainer.classList.remove('scroll-header'); 197 } 198 }; 199 200 setStickyHeaderClass(); 201 202 var stickyHeaderEvent = function stickyHeaderEvent() { 203 window.requestAnimationFrame(setStickyHeaderClass); 204 }; 205 206 window.addEventListener('scroll', stickyHeaderEvent, false); 207 } 208})(); 209 210(function () { 211 if ('loading' === document.readyState) { 212 // The DOM has not yet been loaded. 213 document.addEventListener('DOMContentLoaded', initNavigation); 214 } else { 215 // The DOM has already been loaded. 216 initNavigation(); 217 } // Initiate the menus when the DOM loads. 218 219 function initNavigation() { 220 if (!document.documentElement.classList) { 221 return; 222 } 223 224 var menuContainer = document.getElementById('site-navigation'); 225 226 if (!menuContainer) { 227 return; 228 } 229 230 setToggleSubmenuOnFocus(menuContainer); 231 setToggleSubmenuOnTouch(menuContainer); 232 createMobileMenu(menuContainer); 233 } 234 /** 235 * Created a mobile menu based on the primary menu. 236 * 237 * @param {Object} container 238 */ 239 240 function createMobileMenu(container) { 241 var primaryMenu = container.querySelector('.menu'); 242 243 if (null === primaryMenu) { 244 return; 245 } 246 247 var mobileMenuContainer = document.getElementById('mobile-navigation'); 248 var mobileContent = document.createDocumentFragment(); 249 primaryMenu = primaryMenu.cloneNode(true); 250 primaryMenu.removeAttribute('id'); 251 mobileContent.appendChild(primaryMenu); // Remove ID attributes from the list items to avoid repetition. 252 253 var mobileMenuItems = mobileContent.querySelectorAll('li'); 254 var mobileMenuItemsCount = mobileMenuItems.length; 255 256 if (mobileMenuItemsCount) { 257 for (var itemIndex = 0; itemIndex < mobileMenuItemsCount; itemIndex++) { 258 mobileMenuItems[itemIndex].removeAttribute('id'); 259 } 260 } 261 262 mobileMenuContainer.insertBefore( 263 mobileContent, 264 mobileMenuContainer.firstChild 265 ); 266 } 267 /** 268 * Toggle `focus` class to allow sub-menu access on focus and blur. 269 * 270 * @param {Object} container 271 */ 272 273 function setToggleSubmenuOnFocus(container) { 274 // Get the first ul element insite the menu container. 275 var primaryMenu = container.getElementsByTagName('ul')[0]; // Get all the link elements within the menu. 276 277 var menuLinks = primaryMenu.getElementsByTagName('a'); 278 var i, focusFn;
278 // Sets or removes .focus class on an element. 279 280 focusFn = function focusFn() { 281 var self = this; // Move up through the ancestors of the current link until we hit .nav-menu. 282 283 while ( 284 !self.classList.contains('main-navigation') && 285 'nav' !== self.tagName.toLowerCase() 286 ) { 287 // On li elements toggle the class .focus. 288 if ('li' === self.tagName.toLowerCase()) { 289 if (self.classList.contains('focus')) { 290 self.classList.remove('focus'); 291 } else { 292 self.classList.add('focus'); 293 } 294 } 295 296 self = self.parentElement; 297 } 298 }; // Each time a menu link is focused or blurred, toggle focus. 299 300 for (i = 0; i < menuLinks.length; i++) { 301 menuLinks[i].addEventListener('focus', focusFn, false); 302 menuLinks[i].addEventListener('blur', focusFn, false); 303 } 304 } 305 /** 306 * Toggle `focus` class to allow sub-menu access on touch screens. 307 * 308 * @param {Object} container 309 */ 310 311 function setToggleSubmenuOnTouch(container) { 312 var touchStartFn, 313 touchOutsideFn, 314 removeFocusFn, 315 i, 316 parentLink = container.querySelectorAll( 317 '.menu-item-has-children > a, .page_item_has_children > a' 318 ); 319 320 removeFocusFn = function removeFocusFn() { 321 var focusedElements = container.querySelectorAll('li.focus'); 322 var i; 323 324 for (i = 0; i < focusedElements.length; ++i) { 325 focusedElements[i].classList.remove('focus'); 326 } 327 }; 328 329 touchStartFn = function touchStartFn(e) { 330 var menuItem = this.parentNode, 331 i; 332 333 if (!menuItem.classList.contains('focus')) { 334 e.preventDefault(); 335 336 for (i = 0; i < menuItem.parentNode.children.length; ++i) { 337 if (menuItem === menuItem.parentNode.children[i]) { 338 continue; 339 } 340 341 menuItem.parentNode.children[i].classList.remove('focus'); 342 } 343 344 if (!container.classList.contains('is-touched')) { 345 container.classList.add('is-touched'); 346 } 347 348 menuItem.classList.add('focus'); 349 } else { 350 menuItem.classList.remove('focus'); 351 } 352 }; 353 354 touchOutsideFn = function touchOutsideFn(e) { 355 var isTochedMenu = container.classList.contains('is-touched'); 356 357 if (!isTochedMenu) { 358 return; 359 } 360 361 var elementParent = e.target.parentNode; 362 363 if ( 364 elementParent && 365 !elementParent.classList.contains('menu-item') && 366 isTochedMenu 367 ) { 368 removeFocusFn(); 369 } 370 }; 371 372 document.addEventListener('touchstart', touchOutsideFn, false); 373 374 for (i = 0; i < parentLink.length; ++i) { 375 parentLink[i].addEventListener('touchstart', touchStartFn, false); 376 } 377 } 378})(); 379 380(function () { 381 if ('loading' === document.readyState) { 382 // The DOM has not yet been loaded. 383 document.addEventListener('DOMContentLoaded', initToggleSidebar); 384 } else { 385 // The DOM has already been loaded. 386 initToggleSidebar(); 387 } // Set up toggle sidebar section. 388 389 function initToggleSidebar() { 390 if (!document.documentElement.classList) { 391 return; 392 } 393 394 var pageContainer = document.getElementById('page'); 395 396 if (!pageContainer) { 397 return; 398 } 399 400 var toggleSection = document.getElementById('toggle-sidebar'); 401 var toggleButton = document.getElementById('sidebar-button'); 402 var closeButton = document.getElementById('close-toggle-sidebar'); 403 var htmlRTL = 404 'rtl' === document.documentElement.getAttribute('dir') ? true : false; 405 toggleSection.style.display = 'block'; 406 var toggleSectionWidth = toggleSection.offsetWidth; 407 toggleSection.style.removeProperty('display'); 408 409 var bodyAction = function bodyAction(event) { 410 if ( 411 !toggleSection.contains(event.target) && 412 !toggleButton.contains(event.target) && 413 event.target.nodeName !== 'BUTTON' 414 ) { 415 document.body.classList.toggle('active-toggle-sidebar'); 416 closeToggleSection(); 417 } 418 }; 419 420 var closeToggleSection = function closeToggleSection() { 421 // Move a content area to a regular position. 422 if (htmlRTL) { 423 pageContainer.style.removeProperty('left'); 424 } else { 425 pageContainer.style.removeProperty('right'); 426 } // Update aria attributes. 427 428 toggleSection.setAttribute('aria-hidden', true); 429 toggleButton.setAttribute('aria-expanded', false); // Detect all clicks on the document 430 431 document.body.removeEventListener('click', bodyAction, false); 432 document.body.classList.add('hidden-toggle-sidebar'); 433 }; 434 435 var showToggleSection = function showToggleSection() { 436 if (-1 !== document.body.className.indexOf('hidden-toggle-sidebar')) { 437 document.body.classList.remove('hidden-toggle-sidebar'); 438 } // Move a content area to the side. 439 440 if (htmlRTL) { 441 pageContainer.style.left = toggleSectionWidth + 'px'; 442 } else { 443 pageContainer.style.right = toggleSectionWidth + 'px'; 444 } // Update aria attributes. 445 446 toggleSection.setAttribute('aria-hidden', false); 447 toggleButton.setAttribute('aria-expanded', true); 448 closeButton.focus(); // Detect all clicks on the document 449 450 document.body.addEventListener('click', bodyAction, false); 451 }; 452 453 var buttonAction = function buttonAction(event) { 454 document.body.classList.toggle('active-toggle-sidebar'); 455 456 if (-1 !== document.body.className.indexOf('active-toggle-sidebar')) { 457 showToggleSection(); 458 } else { 459 closeToggleSection(); 460 } 461 }; 462 463 toggleButton.addEventListener('click', buttonAction, false); 464 closeButton.addEventListener('click', buttonAction, false); 465 } 466})(); 467; 468!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exp
468orts.VideoPressIframeApi=t():e.VideoPressIframeApi=t()}(this,()=>(()=>{"use strict";var e={d:(t,n)=>{for(var s in n)e.o(n,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:n[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};function n(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.d(t,{default:()=>s});const s=(e,t=null)=>{const s="channel_init",a=new class{constructor(e,t=null){n(this,"initListener",()=>{let e=0;const t=Math.random().toString(36),n=()=>{window.removeEventListener("message",s),clearInterval(a)},s=e=>{e.source===this.iframe.contentWindow&&e.data&&e.data.uid===t&&"iframe_ack_response"===e.data.event&&(n(),this.onIframeLoaded())};window.addEventListener("message",s);const a=setInterval(()=>{e>40?n():this.iframe.contentWindow&&(this.iframe.contentWindow.postMessage({event:"iframe_ack",uid:t},"*"),e++)},300);this.iframe.addEventListener("load",()=>{n(),this.onIframeLoaded()})}),n(this,"onIframeLoaded",()=>{this.channel||(this.channel=new MessageChannel,this.channel.port1.onmessage=e=>this.onMessageReceived(e),this.iframe.contentWindow.postMessage({event:s},"*",[this.channel.port2]))}),n(this,"onChannelInitialized",()=>{this.onReadyCallback&&this.onReadyCallback()}),n(this,"postMessage",(e,t=null,n=null)=>{if(null===this.channel)return;const s={event:e};null!==t&&Array.isArray(t)&&(s.args=t),null!==n&&(s.xchgId=n),this.channel.port1.postMessage(s)}),n(this,"generateXchgId",()=>++this.currentXchgId),n(this,"generateListenerId",()=>++this.currentEventListenerId),n(this,"callMethod",(e,t=null)=>{const n=this.generateXchgId();return new Promise((s,a)=>{this.pendingResolvers[n]={resolve:s,reject:a},this.postMessage(e,t,n)})}),n(this,"listen",(e,t)=>{if(!this.eventListenersByEvent[e])return!1;const n=this.generateListenerId();return this.eventListenersById[n]={event:e,callback:t},this.eventListenersByEvent[e].push(n),n}),n(this,"stopListening",e=>{if(e=Number(e),this.eventListenersById[e]){const t=this.eventListenersById[e],n=this.eventListenersByEvent[t.event].findIndex(t=>e===t);void 0!==n&&this.eventListenersByEvent[t.event].splice(n,1),delete this.eventListenersById[e]}}),n(this,"onMessageReceived",e=>{const t=e.data.event??!1;if(!t)return;if(s===t)return void this.onChannelInitialized();const n=e.data.xchgId??0;n?this.onMessageReceivedWithXchgId(n,t,e):"event"===t&&this.onEventReceived(e)}),n(this,"onEventReceived",e=>{const t=e.data.type??"";if(!t||!this.eventListenersByEvent[t])return;const n=e.data.args??[];this.eventListenersByEvent[t].forEach(e=>{const t=this.eventListenersById[e]??null;t&&t.callback(...n)})}),n(this,"onMessageReceivedWithXchgId",(e,t,n)=>{if(!this.pendingResolvers[e])return;const s=this.pendingResolvers[e];delete this.pendingResolvers[e],"error"===t?s.reject(n.data.code,n.data.message):"result"===t&&s.resolve(n.data.message.result)}),this.currentXchgId=0,this.currentEventListenerId=0,this.pendingResolvers={},this.eventListenersById={},this.eventListenersByEvent={"info.infoUpdated":[],"info.dimensionsChanged":[],"status.fullscreenChanged":[],"status.playerStatusChanged":[],"status.playbackTimeUpdated":[],"status.timeUpdate":[],"status.chaptersChapterChange":[],"status.chaptersTrackChange":[],"status.borderColorsChanged":[],"status.error":[],"status.segmentsWatched":[],"status.playbackRateUpdate":[]},this.onReadyCallback=t,this.channel=null,this.iframe=e,this.initListener()}}(e,t);return{controls:{play:()=>new Promise((e,t)=>a.callMethod("controls.play",[]).then(e).catch(t)),pause:()=>new Promise((e,t)=>a.callMethod("controls.pause",[]).then(e).catch(t)),seek:e=>new Promise((t,n)=>{if(e=Number(e),!isNaN(e))return a.callMethod("controls.seek",[e]).then(t).catch(n);n("Invalid argument provided for timeMs")}),volume:e=>new Promise((t,n)=>{if(e=Number(e),!isNaN(e))return a.callMethod("controls.volume",[e]).then(t).cat
468ch(n);n("Invalid argument provided for volume")}),mute:e=>new Promise((t,n)=>(e=(!("toLowerCase"in Object(e))||"false"!==e.toLowerCase()&&"0"!==e)&&Boolean(e),a.callMethod("controls.mute",[e]).then(t).catch(n))),fullscreen:e=>new Promise((t,n)=>(e=(!("toLowerCase"in Object(e))||"false"!==e.toLowerCase()&&"0"!==e)&&Boolean(e),a.callMethod("controls.fullscreen",[e]).then(t).catch(n))),setChapters:e=>new Promise((t,n)=>{if(Array.isArray(e))return a.callMethod("controls.setChapters",[e]).then(t).catch(n);n("Invalid argument provided for chapters")})},customize:{get:e=>new Promise((t,n)=>(e=String(e),a.callMethod("customize.get",[e]).then(t).catch(n))),set:e=>new Promise((t,n)=>{if("object"==typeof e)return a.callMethod("customize.set",[e]).then(t).catch(n);n("Invalid argument provided for options")})},info:{onInfoUpdated:e=>a.listen("info.infoUpdated",e),offInfoUpdated:e=>a.stopListening(e),duration:(e=JSON.parse(!1))=>new Promise((t,n)=>(e=(!("toLowerCase"in Object(e))||"false"!==e.toLowerCase()&&"0"!==e)&&Boolean(e),a.callMethod("info.duration",[e]).then(t).catch(n))),dimensions:()=>new Promise((e,t)=>a.callMethod("info.dimensions",[]).then(e).catch(t)),onDimensionsChanged:e=>a.listen("info.dimensionsChanged",e),offDimensionsChanged:e=>a.stopListening(e),guid:()=>new Promise((e,t)=>a.callMethod("info.guid",[]).then(e).catch(t)),title:()=>new Promise((e,t)=>a.callMethod("info.title",[]).then(e).catch(t)),poster:()=>new Promise((e,t)=>a.callMethod("info.poster",[]).then(e).catch(t)),privacy:()=>new Promise((e,t)=>a.callMethod("info.privacy",[]).then(e).catch(t)),getThumbnailSample:e=>new Promise((t,n)=>{if(e=Number(e),!isNaN(e))return a.callMethod("info.getThumbnailSample",[e]).then(t).catch(n);n("Invalid argument provided for count")}),enableWatchedSegments:()=>new Promise((e,t)=>a.callMethod("info.enableWatchedSegments",[]).then(e).catch(t)),disableWatchedSegments:()=>new Promise((e,t)=>a.callMethod("info.disableWatchedSegments",[]).then(e).catch(t)),toggleWatchedSegments:()=>new Promise((e,t)=>a.callMethod("info.toggleWatchedSegments",[]).then(e).catch(t)),watched:()=>new Promise((e,t)=>a.callMethod("info.watched",[]).then(e).catch(t)),resetWatched:()=>new Promise((e,t)=>a.callMethod("info.resetWatched",[]).then(e).catch(t))},status:{fullscreen:()=>new Promise((e,t)=>a.callMethod("status.fullscreen",[]).then(e).catch(t)),onFullscreenChanged:e=>a.listen("status.fullscreenChanged",e),offFullscreenChanged:e=>a.stopListening(e),player:()=>new Promise((e,t)=>a.callMethod("status.player",[]).then(e).catch(t)),onPlayerStatusChanged:e=>a.listen("status.playerStatusChanged",e),offPlayerStatusChanged:e=>a.stopListening(e),audio:()=>new Promise((e,t)=>a.callMethod("status.audio",[]).then(e).catch(t)),playbackTime:()=>new Promise((e,t)=>a.callMethod("status.playbackTime",[]).then(e).catch(t)),onPlaybackTimeUpdated:e=>a.listen("status.playbackTimeUpdated",e),offPlaybackTimeUpdated:e=>a.stopListening(e),onTimeUpdate:e=>a.listen("status.timeUpdate",e),offTimeUpdate:e=>a.stopListening(e),onChaptersChapterChange:e=>a.listen("status.chaptersChapterChange",e),offChaptersChapterChange:e=>a.stopListening(e),onChaptersTrackChange:e=>a.listen("status.chaptersTrackChange",e),offChaptersTrackChange:e=>a.stopListening(e),onBorderColorsChanged:e=>a.listen("status.borderColorsChanged",e),offBorderColorsChanged:e=>a.stopListening(e),borderColors:()=>new Promise((e,t)=>a.callMethod("status.borderColors",[]).then(e).catch(t)),onError:e=>a.listen("status.error",e),offError:e=>a.stopListening(e),onSegmentsWatched:e=>a.listen("status.segmentsWatched",e),offSegmentsWatched:e=>a.stopListening(e),onPlaybackRateUpdate:e=>a.listen("status.playbackRateUpdate",e),offPlaybackRateUpdate:e=>a.stopListening(e)}}};return t.default})());; 469/** 470 * core-js 3.39.0 471 * © 2014-2024 Denis Pushkarev (zloirock.ru) 472 * license: https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE 473 * source: https://github.com/zloirock/core-js 474 */ 475!function(r){"use strict";var t,e,n;t=[function(r,t,e){e(1),e(71),e(72),e(85),e(109),r.exports=e(111)},function(t,e,n){var o=n(2),a=n(3),c=n(67),i=n(68),u=n(69),s=n(29),f=n(70),p=a.Promise,l=!1;o({target:"Promise",stat:!0,forced:!p||!p.try||f(function(){p.try(function(r){l=8===r},8)}).error||!l},{try:function(t){var e=arguments.length>
4751?i(arguments,1):[],n=u.f(this),o=f(function(){return c(s(t),r,e)});return(o.error?n.reject:n.resolve)(o.value),n.promise}})},function(t,e,n){var o=n(3),a=n(4).f,c=n(42),i=n(46),u=n(36),s=n(54),f=n(66);t.exports=function(t,e){var n,p,l,y,v,h=t.target,b=t.global,g=t.stat;if(n=b?o:g?o[h]||u(h,{}):o[h]&&o[h].prototype)for(p in e){if(y=e[p],l=t.dontCallGetSet?(v=a(n,p))&&v.value:n[p],!f(b?p:h+(g?".":"#")+p,t.forced)&&l!==r){if(typeof y==typeof l)continue;s(y,l)}(t.sham||l&&l.sham)&&c(y,"sham",!0),i(n,p,y,t)}}},function(r,t,e){var n=function(r){return r&&r.Math===Math&&r};r.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},function(r,t,e){var n=e(5),o=e(7),a=e(9),c=e(10),i=e(11),u=e(17),s=e(37),f=e(40),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(r,t){if(r=i(r),t=u(t),f)try{return p(r,t)}catch(r){}if(s(r,t))return c(!o(a.f,r,t),r[t])}},function(r,t,e){var n=e(6);r.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(r,t,e){r.exports=function(r){try{return!!r()}catch(r){return!0}}},function(r,t,e){var n=e(8),o=Function.prototype.call;r.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},function(r,t,e){var n=e(6);r.exports=!n(function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})},function(r,t,e){var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!n.call({1:2},1);t.f=a?function(r){var t=o(this,r);return!!t&&t.enumerable}:n},function(r,t,e){r.exports=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}}},function(r,t,e){var n=e(12),o=e(15);r.exports=function(r){return n(o(r))}},function(r,t,e){var n=e(13),o=e(6),a=e(14),c=Object,i=n("".split);r.exports=o(function(){return!c("z").propertyIsEnumerable(0)})?function(r){return"String"===a(r)?i(r,""):c(r)}:c},function(r,t,e){var n=e(8),o=Function.prototype,a=o.call,c=n&&o.bind.bind(a,a);r.exports=n?c:function(r){return function(){return a.apply(r,arguments)}}},function(r,t,e){var n=e(13),o=n({}.toString),a=n("".slice);r.exports=function(r){return a(o(r),8,-1)}},function(r,t,e){var n=e(16),o=TypeError;r.exports=function(r){if(n(r))throw new o("Can't call method on "+r);return r}},function(t,e,n){t.exports=function(t){return null===t||t===r}},function(r,t,e){var n=e(18),o=e(21);
475r.exports=function(r){var t=n(r,"string");return o(t)?t:t+""}},function(t,e,n){var o=n(7),a=n(19),c=n(21),i=n(28),u=n(31),s=n(32),f=TypeError,p=s("toPrimitive");t.exports=function(t,e){if(!a(t)||c(t))return t;var n,s=i(t,p);if(s){if(e===r&&(e="default"),n=o(s,t,e),!a(n)||c(n))return n;throw new f("Can't convert object to primitive value")}return e===r&&(e="number"),u(t,e)}},function(r,t,e){var n=e(20);r.exports=function(r){return"object"==typeof r?null!==r:n(r)}},function(t,e,n){var o="object"==typeof document&&document.all;t.exports=void 0===o&&o!==r?function(r){return"function"==typeof r||r===o}:function(r){return"function"==typeof r}},function(r,t,e){var n=e(22),o=e(20),a=e(23),c=e(24),i=Object;r.exports=c?function(r){return"symbol"==typeof r}:function(r){var t=n("Symbol");return o(t)&&a(t.prototype,i(r))}},function(t,e,n){var o=n(3),a=n(20);t.exports=function(t,e){return arguments.length<2?(n=o[t],a(n)?n:r):o[t]&&o[t][e];var n}},function(r,t,e){var n=e(13);r.exports=n({}.isPrototypeOf)},function(r,t,e){var n=e(25);r.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(r,t,e){var n=e(26),o=e(6),a=e(3).String;r.exports=!!Object.getOwnPropertySymbols&&!o(function(){var r=Symbol("symbol detection");return!a(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&n&&n<41})},function(r,t,e){var n,o,a=e(3),c=e(27),i=a.process,u=a.Deno,s=i&&i.versions||u&&u.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>
vendor: 6,353 bytes, line 475
4750&&n[0]<4?1:+(n[0]+n[1])),!o&&c&&(!(n=c.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/))&&(o=+n[1]),r.exports=o},function(r,t,e){var n=e(3).navigator,o=n&&n.userAgent;r.exports=o?String(o):""},function(t,e,n){var o=n(29),a=n(16);t.exports=function(t,e){var n=t[e];return a(n)?r:o(n)}},function(r,t,e){var n=e(20),o=e(30),a=TypeError;r.exports=function(r){if(n(r))return r;throw new a(o(r)+" is not a function")}},function(r,t,e){var n=String;r.exports=function(r){try{return n(r)}catch(r){return"Object"}}},function(r,t,e){var n=e(7),o=e(20),a=e(19),c=TypeError;r.exports=function(r,t){var e,i;if("string"===t&&o(e=r.toString)&&!a(i=n(e,r)))return i;if(o(e=r.valueOf)&&!a(i=n(e,r)))return i;if("string"!==t&&o(e=r.toString)&&!a(i=n(e,r)))return i;throw new c("Can't convert object to primitive value")}},function(r,t,e){var n=e(3),o=e(33),a=e(37),c=e(39),i=e(25),u=e(24),s=n.Symbol,f=o("wks"),p=u?s.for||s:s&&s.withoutSetter||c;r.exports=function(r){return a(f,r)||(f[r]=i&&a(s,r)?s[r]:p("Symbol."+r)),f[r]}},function(r,t,e){var n=e(34);r.exports=function(r,t){return n[r]||(n[r]=t||{})}},function(r,t,e){var n=e(35),o=e(3),a=e(36),c="__core-js_shared__",i=r.exports=o[c]||a(c,{});(i.versions||(i.versions=[])).push({version:"3.39.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(r,t,e){r.exports=!1},function(r,t,e){var n=e(3),o=Object.defineProperty;r.exports=function(r,t){try{o(n,r,{value:t,configurable:!0,writable:!0})}catch(e){n[r]=t}return t}},function(r,t,e){var n=e(13),o=e(38),a=n({}.hasOwnProperty);r.exports=Object.hasOwn||function(r,t){return a(o(r),t)}},function(r,t,e){var n=e(15),o=Object;r.exports=function(r){return o(n(r))}},function(t,e,n){var o=n(13),a=0,c=Math.random(),i=o(1..toString);t.exports=function(t){return"Symbol("+(t===r?"":t)+")_"+i(++a+c,36)}},function(r,t,e){var n=e(5),o=e(6),a=e(41);r.exports=!n&&!o(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})},function(r,t,e){var n=e(3),o=e(19),a=n.document,c=o(a)&&o(a.createElement);r.exports=function(r){return c?a.createElement(r):{}}},function(r,t,e){var n=e(5),o=e(43),a=e(10);r.exports=n?function(r,t,e){return o.f(r,t,a(1,e))}:function(r,t,e){return r[t]=e,r}},function(r,t,e){var n=e(5),o=e(40),a=e(44),c=e(45),i=e(17),u=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",y="writable";t.f=n?a?function(r,t,e){if(c(r),t=i(t),c(e),"function"==typeof r&&"prototype"===t&&"value"in e&&y in e&&!e[y]){var n=f(r,t);n&&n[y]&&(r[t]=e.value,e={configurable:l in e?e[l]:n[l],enumerable:p in e?e[p]:n[p],writable:!1})}return s(r,t,e)}:s:function(r,t,e){if(c(r),t=i(t),c(e),o)try{return s(r,t,e)}catch(r){}if("get"in e||"set"in e)throw new u("Accessors not supported");return"value"in e&&(r[t]=e.value),r}},function(r,t,e){var n=e(5),o=e(6);r.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},function(r,t,e){var n=e(19),o=String,a=TypeError;r.exports=function(r){if(n(r))return r;throw new a(o(r)+" is not an object")}},function(t,e,n){var o=n(20),a=n(43),c=n(47),i=n(36);t.exports=function(t,e,n,u){u||(u={});var s=u.enumerable,f=u.name!==r?u.name:e;if(o(n)&&c(n,f,u),u.global)s?t[e]=n:i(e,n);else{try{u.unsafe?t[e]&&(s=!0):delete t[e]}catch(r){}s?t[e]=n:a.f(t,e,{value:n,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},function(t,e,n){var o=n(13),a=n(6),c=n(20),i=n(37),u=n(5),s=n(48).CONFIGURABLE,f=n(49),p=n(50),l=p.enforce,y=p.get,v=String,h=Object.defineProperty,b=o("".slice),g=o("".replace),m=o([].join),E=u&&!a(function(){return 8!==h(function(){},"length",{value:8}).length}),d=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===b(v(e),0,7)&&(e="["+g(v(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!i(t,"name")||s&&t.name!==e)&&(u?h(t,"name",{value:e,configurable:!0}):t.name=e),E&&n&&i(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?u&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=r)}catch(r){}var o=l(t);return i(o,"source")||(o.source=m(d,"string"==typeof e?e:"")),t};Function.prototype.toString=w(function(){return c(this)&&y(this).source||f(this)},"toString")},function(r,t,e){var n=e(5),o=e(37),a=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,i=o(a,"name"),u=i&&"something"===function(){}.name,s=i&&(!n||n&&c(a,"name").configurable);r.exports={EXISTS:i,PROPER:u,CONFIGURABLE:s}},function(r,t,e){var n=e(13),o=e(20),a=e(34),c=n(Function.toString);o(a.inspectSource)||(a.inspectSource=function(r){return c(r)}),r.exports=a.inspectSource},function(r,t,e){var n,o,a,c=e(51),i=e(3),u=e(19),s=e(42),f=e(37),p=e(34),l=e(52),y=e(53),v="Object already initialized",h=i.TypeError,b=i.WeakMap;if(c||p.state){var g=p.state||(p.state=new b);g.get=g.get,g.has=g.has,g.set=g.set,n=function(r,t){if(g.has(r))throw new h(v);return t.facade=r,g.set(r,t),t},o=function(r){return g.get(r)||{}},a=function(r){return g.has(r)}}else{var m=l("state");y[m]=!0,n=function(r,t){if(f(r,m))throw new h(v);return t.facade=r,s(r,m,t),t},o=function(r){return f(r,m)?r[m]:{}},a=function(r){return f(r,m)}}r.exports={set:n,get:o,has:a,enforce:function(r){return a(r)?o(r):n(r,{})},getterFor:function(r){return function(t){var e;if(!u(t)||(e=o(t)).type!==r)throw new h("Incompatible receiver, "+r+" required");return e}}}},function(r,t,e){var n=e(3),o=e(20),a=n.WeakMap;r.exports=o(a)&&/native code/.test(String(a))},function(r,t,e){var n=e(33),o=e(39),a=n("keys");r.exports=function(r){return a[r]||(a[r]=o(r))}},function(r,t,e){r.exports={}},function(r,t,e){var n=e(37),o=e(55),a=e(4),c=e(43);r.exports=function(r,t,e){for(var i=o(t),u=c.f,s=a.f,f=0;f<i.length;f++){var p=i[f];n(r,p)||e&&n(e,p)||u(r,p,s(t,p))}}},function(r,t,e){var n=e(22),o=e(13),a=e(56),c=e(65),i=e(45),u=o([].concat);r.exports=n("Reflect","ownKeys")||function(r){var t=a.f(i(r)),e=c.f;return e?u(t,e(r)):t}},function(r,t,e){var n=e(57),o=e(64).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(r){return n(r,o)}},function(r,t,e){var n=e(13),o=e(37),a=e(11),c=e(58).indexOf,i=e(53),u=n([].push);
475r.exports=function(r,t){var e,n=a(r),s=0,f=[];for(e in n)!o(i,e)&&o(n,e)&&u(f,e);for(;t.length>s;)o(n,e=t[s++])&&(~c(f,e)||u(f,e));return f}},function(r,t,e){var n=e(11),o=e(59),a=e(62),c=function(r){return function(t,e,c){var i=n(t),u=a(i);if(0===u)return!r&&-1;var s,f=o(c,u);if(r&&e!=e){for(;u>f;)if((s=i[f++])!=s)return!0}else for(;u>f;f++)if((r||f in i)&&i[f]===e)return r||f||0;return!r&&-1}};r.exports={includes:c(!0),indexOf:c(!1)}},function(r,t,e){var n=e(60),o=Math.max,a=Math.min;r.exports=function(r,t){var e=n(r);return e<0?o(e+t,0):a(e,t)}},function(r,t,e){var n=e(61);r.exports=function(r){var t=+r;return t!=t||0===t?0:n(t)}},function(r,t,e){var n=Math.ceil,o=Math.floor;r.exports=Math.trunc||function(r){var t=+r;return(t>0?o:n)(t)}},function(r,t,e){var n=e(63);r.exports=function(r){return n(r.length)}},function(r,t,e){var n=e(60),o=Math.min;r.exports=function(r){var t=n(r);return t>0?o(t,9007199254740991):0}},function(r,t,e){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(r,t,e){t.f=Object.getOwnPropertySymbols},function(r,t,e){var n=e(6),o=e(20),a=/#|\.prototype\./,c=function(r,t){var e=u[i(r)];return e===f||e!==s&&(o(t)?n(t):!!t)},i=c.normalize=function(r){return String(r).replace(a,".").toLowerCase()},u=c.data={},s=c.NATIVE="N",f=c.POLYFILL="P";r.exports=c},function(r,t,e){var n=e(8),o=Function.prototype,a=o.apply,c=o.call;r.exports="object"==typeof Reflect&&Reflect.apply||(n?c.bind(a):function(){return c.apply(a,arguments)})},function(r,t,e){var n=e(13);r.exports=n([].slice)},function(t,e,n){var o=n(29),a=TypeError,c=function(t){var e,n;this.promise=new t(function(t,o){if(e!==r||n!==r)throw new a("Bad Promise constructor");e=t,n=o}),this.resolve=o(e),this.reject=o(n)};t.exports.f=function(r){return new c(r)}},function(r,t,e){r.exports=function(r){try{return{error:!1,value:r()}}catch(r){return{error:!0,value:r}}}},function(r,t,e){var n=e(2),o=e(69);n({target:"Promise",stat:!0},{withResolvers:function(){var r=o.f(this);return{promise:r.promise,resolve:r.resolve,reject:r.reject}}})},function(t,e,n){var o=n(2),a=n(3),c=n(22),i=n(10),u=n(43).f,s=n(37),f=n(73),p=n(74),l=n(79),y=n(83),v=n(84),h=n(5),b=n(35),g="DOMException",m=c("Error"),E=c(g),d=function(){f(this,w);var t=arguments.length,e=l(t<1?r:arguments[0]),n=l(t<2?r:arguments[1],"Error"),o=new E(e,n),a=new m(e);return a.name=g,u(o,"stack",i(1,v(a.stack,1))),p(o,this,d),o},w=d.prototype=E.prototype,x="stack"in new m(g),O="stack"in new E(1,2),R=E&&h&&Object.getOwnPropertyDescriptor(a,g),S=!(!R||R.writable&&R.configurable),A=x&&!S&&!O;o({global:!0,constructor:!0,forced:b||A},{DOMException:A?d:E});var D=c(g),T=D.prototype;if(T.constructor!==D)for(var _ in b||u(T,"constructor",i(1,D)),y)if(s(y,_)){var I=y[_],j=I.s;s(D,j)||u(D,j,i(6,I.c))}},function(r,t,e){var n=e(23),o=TypeError;r.exports=function(r,t){if(n(t,r))return r;throw new o("Incorrect invocation")}},function(r,t,e){var n=e(20),o=e(19),a=e(75);r.exports=function(r,t,e){var c,i;return a&&n(c=t.constructor)&&c!==e&&o(i=c.prototype)&&i!==e.prototype&&a(r,i),r}},function(t,e,n){var o=n(76),a=n(19),c=n(15),i=n(77);
vendor: 2,427 bytes, line 475
475t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r,t=!1,e={};try{(r=o(Object.prototype,"__proto__","set"))(e,[]),t=e instanceof Array}catch(r){}return function(e,n){return c(e),i(n),a(e)?(t?r(e,n):e.__proto__=n,e):e}}():r)},function(r,t,e){var n=e(13),o=e(29);r.exports=function(r,t,e){try{return n(o(Object.getOwnPropertyDescriptor(r,t)[e]))}catch(r){}}},function(r,t,e){var n=e(78),o=String,a=TypeError;r.exports=function(r){if(n(r))return r;throw new a("Can't set "+o(r)+" as a prototype")}},function(r,t,e){var n=e(19);r.exports=function(r){return n(r)||null===r}},function(t,e,n){var o=n(80);t.exports=function(t,e){return t===r?arguments.length<2?"":e:o(t)}},function(r,t,e){var n=e(81),o=String;r.exports=function(r){if("Symbol"===n(r))throw new TypeError("Cannot convert a Symbol value to a string");return o(r)}},function(t,e,n){var o=n(82),a=n(20),c=n(14),i=n(32)("toStringTag"),u=Object,s="Arguments"===c(function(){return arguments}());t.exports=o?c:function(t){var e,n,o;return t===r?"Undefined":null===t?"Null":"string"==typeof(n=function(r,t){try{return r[t]}catch(r){}}(e=u(t),i))?n:s?c(e):"Object"===(o=c(e))&&a(e.callee)?"Arguments":o}},function(r,t,e){var n={};n[e(32)("toStringTag")]="z",r.exports="[object z]"===String(n)},function(r,t,e){r.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1}
vendor: 8,053 bytes, line 475
475,InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},function(r,t,e){var n=e(13),o=Error,a=n("".replace),c=String(new o("zxcasd").stack),i=/\n\s*at [^:]*:[^\n]*/,u=i.test(c);r.exports=function(r,t){if(u&&"string"==typeof r&&!o.prepareStackTrace)for(;t--;)r=a(r,i,"");return r}},function(t,e,n){var o,a=n(35),c=n(2),i=n(3),u=n(22),s=n(13),f=n(6),p=n(39),l=n(20),y=n(86),v=n(16),h=n(19),b=n(21),g=n(87),m=n(45),E=n(81),d=n(37),w=n(95),x=n(42),O=n(62),R=n(96),S=n(97),A=n(99),D=n(100),T=n(101),_=n(103),I=n(108),j=n(107),M=i.Object,k=i.Array,P=i.Date,C=i.Error,N=i.TypeError,L=i.PerformanceMark,U=u("DOMException"),B=A.Map,F=A.has,W=A.get,z=A.set,V=D.Set,H=D.add,G=D.has,Y=u("Object","keys"),Q=s([].push),q=s((!0).valueOf),X=s(1..valueOf),K=s("".valueOf),Z=s(P.prototype.getTime),$=p("structuredClone"),J="DataCloneError",rr="Transferring",tr=function(r){return!f(function(){var t=new i.Set([7]),e=r(t),n=r(M(7));return e===t||!e.has(7)||!h(n)||7!==+n})&&r},er=function(r,t){return!f(function(){var e=new t,n=r({a:e,b:e});return!(n&&n.a===n.b&&n.a instanceof t&&n.a.stack===e.stack)})},nr=i.structuredClone,or=a||!er(nr,C)||!er(nr,U)||(o=nr,!!f(function(){var r=o(new i.AggregateError([1],$,{cause:3}));return"AggregateError"!==r.name||1!==r.errors[0]||r.message!==$||3!==r.cause})),ar=!nr&&tr(function(r){return new L($,{detail:r}).detail}),cr=tr(nr)||ar,ir=function(r){throw new U("Uncloneable type: "+r,J)},ur=function(r,t){throw new U((t||"Cloning")+" of "+r+" cannot be properly polyfilled in this engine",J)},sr=function(r,t){return cr||ur(t),cr(r)},fr=function(t,e,n){if(F(e,t))return W(e,t);var o,a,c,u,s,f;if("SharedArrayBuffer"===(n||E(t)))o=cr?cr(t):t;else{var p=i.DataView;p||l(t.slice)||ur("ArrayBuffer");try{if(l(t.slice)&&!t.resizable)o=t.slice(0);else{a=t.byteLength,c="maxByteLength"in t?{maxByteLength:t.maxByteLength}:r,o=new ArrayBuffer(a,c),u=new p(t),s=new p(o);for(f=0;f<a;f++)s.setUint8(f,u.getUint8(f))}}catch(r){throw new U("ArrayBuffer is detached",J)}}return z(e,t,o),o},pr=function(t,e){if(b(t)&&ir("Symbol"),!h(t))return t;if(e){if(F(e,t))return W(e,t)}else e=new B;var n,o,a,c,s,f,p,y,v=E(t);switch(v){case"Array":a=k(O(t));break;case"Object":a={};break;case"Map":a=new B;break;case"Set":a=new V;break;case"RegExp":a=new RegExp(t.source,S(t));break;case"Error":switch(o=t.name){case"AggregateError":a=new(u(o))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":a=new(u(o));break;case"CompileError":case"LinkError":case"RuntimeError":a=new(u("WebAssembly",o));break;default:a=new C}break;case"DOMException":a=new U(t.message,t.name);break;case"ArrayBuffer":case"SharedArrayBuffer":a=fr(t,e,v);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":f="DataView"===v?t.byteLength:t.length,a=function(r,t,e,n,o){var a=i[t];return h(a)||ur(t),new a(fr(r.buffer,o),e,n)}(t,v,t.byteOffset,f,e);break;case"DOMQuad":try{a=new DOMQuad(pr(t.p1,e),pr(t.p2,e),pr(t.p3,e),pr(t.p4,e))}catch(r){a=sr(t,v)}break;case"File":if(cr)try{a=cr(t),E(a)!==v&&(a=r)}catch(r){}if(!a)try{a=new File([t],t.name,t)}catch(r){}a||ur(v);break;case"FileList":if(c=function(){var r;try{r=new i.DataTransfer}catch(t){try{r=new i.ClipboardEvent("").clipboardData}catch(r){}}return r&&r.items&&r.files?r:null}()){for(s=0,f=O(t);s<f;s++)c.items.add(pr(t[s],e));a=c.files}else a=sr(t,v);break;case"ImageData":try{a=new ImageData(pr(t.data,e),t.width,t.height,{colorSpace:t.colorSpace})}catch(r){a=sr(t,v)}break;default:if(cr)a=cr(t);else switch(v){case"BigInt":a=M(t.valueOf());break;case"Boolean":a=M(q(t));break;case"Number":a=M(X(t));break;case"String":a=M(K(t));break;case"Date":a=new P(Z(t));break;case"Blob":try{a=t.slice(0,t.size,t.type)}catch(r){ur(v)}break;case"DOMPoint":case"DOMPointReadOnly":n=i[v];try{a=n.fromPoint?n.fromPoint(t):new n(t.x,t.y,t.z,t.w)}catch(r){ur(v)}break;case"DOMRect":case"DOMRectReadOnly":n=i[v];try{a=n.fromRect?n.fromRect(t):new n(t.x,t.y,t.width,t.height)}catch(r){ur(v)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=i[v];try{a=n.fromMatrix?n.fromMatrix(t):new n(t)}catch(r){ur(v)}break;case"AudioData":case"VideoFrame":l(t.clone)||ur(v);try{a=t.clone()}catch(r){ir(v)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":ur(v);default:ir(v)}}switch(z(e,t,a),v){case"Array":case"Object":for(p=Y(t),s=0,f=O(p);s<f;s++)y=p[s],w(a,y,pr(t[y],e));break;case"Map":t.forEach(function(r,t){z(a,pr(t,e),pr(r,e))});break;case"Set":t.forEach(function(r){H(a,pr(r,e))});break;case"Error":x(a,"message",pr(t.message,e)),d(t,"cause")&&x(a,"cause",pr(t.cause,e)),"AggregateError"===o?a.errors=pr(t.errors,e):"SuppressedError"===o&&(a.error=pr(t.error,e),a.suppressed=pr(t.suppressed,e));case"DOMException":I&&x(a,"stack",pr(t.stack,e))}return a};c({global:!0,enumerable:!0,sham:!j,forced:or},{structuredClone:function(t){var e,n,o=R(arguments.length,1)>1&&!v(arguments[1])?m(arguments[1]):r,a=o?o.transfer:r;a!==r&&(n=function(t,e){if(!h(t))throw new N("Transfer option cannot be converted to a sequence");var n=[];g(t,function(r){Q(n,m(r))});for(var o,a,c,u,s,f=0,p=O(n),v=new V;f<p;){if(o=n[f++],"ArrayBuffer"===(a=E(o))?G(v,o):F(e,o))throw new U("Duplicate transferable",J);if("ArrayBuffer"!==a){if(j)u=nr(o,{transfer:[o]});else switch(a){case"ImageBitmap":c=i.OffscreenCanvas,y(c)||ur(a,rr);try{(s=new c(o.width,o.height)).getContext("bitmaprenderer").transferFromImageBitmap(o),u=s.transferToImageBitmap()}catch(r){}break;case"AudioData":case"VideoFrame":l(o.clone)&&l(o.close)||ur(a,rr);try{u=o.clone(),o.close()}catch(r){}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":ur(a,rr)}if(u===r)throw new U("This object cannot be transferred: "+a,J);z(e,o,u)}else H(v,o)}return v}(a,e=new B));var c=pr(t,e);return n&&function(r){T(r,function(r){j?cr(r,{transfer:[r]}):l(r.transfer)?r.transfer():_?_(r):ur("ArrayBuffer",rr)})}(n),c}})},function(r,t,e){var n=e(13),o=e(6),a=e(20),c=e(81),i=e(22),u=e(49),s=function(){},f=i("Reflect","construct"),p=/^\s*(?:class|function)\b/,l=n(p.exec),y=!p.test(s),v=function(r){if(!a(r))return!1;try{return f(s,[],r),!0}catch(r){return!1}},h=function(r){if(!a(r))return!1;switch(c(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!l(p,u(r))}catch(r){return!0}};h.sham=!0,r.exports=!f||o(function(){var r;return v(v.call)||!v(Object)||!v(function(){r=!0})||r})?h:v},function(r,t,e){var n=e(88),o=e(7),a=e(45),c=e(30),i=e(90),u=e(62),s=e(23),f=e(92),p=e(93),l=e(94),y=TypeError,v=function(r,t){this.stopped=r,this.result=t},h=v.prototype;r.exports=function(r,t,e){var b,g,m,E,d,w,x,O=e&&e.that,R=!(!e||!e.AS_ENTRIES),S=!(!e||!e.IS_RECORD),A=!(!e||!e.IS_ITERATOR),D=!(!e||!e.INTERRUPTED),T=n(t,O),_=function(r){return b&&l(b,"normal",r),new v(!0,r)},I=function(r){return R?(a(r),D?T(r[0],r[1],_):T(r[0],r[1])):D?T(r,_):T(r)};if(S)b=r.iterator;else if(A)b=r;else{if(!(g=p(r)))throw new y(c(r)+" is not iterable");if(i(g)){for(m=0,E=u(r);E>m;m++)if((d=I(r[m]))&&s(h,d))return d;return new v(!1)}b=f(r,g)}for(w=S?r.next:b.next;!(x=o(w,b)).done;){try{d=I(x.value)}catch(r){l(b,"throw",r)}if("object"==typeof d&&d&&s(h,d))return d}return new v(!1)}},function(t,e,n){var o=n(89),a=n(29),c=n(8),i=o(o.bind);t.exports=function(t,e){return a(t),e===r?t:c?i(t,e):function(){return t.apply(e,arguments)}}},function(r,t,e){var n=e(14),o=e(13);r.exports=function(r){if("Function"===n(r))return o(r)}},function(t,e,n){var o=n(32),a=n(91),c=o("iterator"),i=Array.prototype;
475t.exports=function(t){return t!==r&&(a.Array===t||i[c]===t)}},function(r,t,e){r.exports={}},function(r,t,e){var n=e(7),o=e(29),a=e(45),c=e(30),i=e(93),u=TypeError;r.exports=function(r,t){var e=arguments.length<2?i(r):t;if(o(e))return a(n(e,r));throw new u(c(r)+" is not iterable")}},function(r,t,e){var n=e(81),o=e(28),a=e(16),c=e(91),i=e(32)("iterator");r.exports=function(r){if(!a(r))return o(r,i)||o(r,"@@iterator")||c[n(r)]}},function(r,t,e){var n=e(7),o=e(45),a=e(28);r.exports=function(r,t,e){var c,i;o(r);try{if(!(c=a(r,"return"))){if("throw"===t)throw e;return e}c=n(c,r)}catch(r){i=!0,c=r}if("throw"===t)throw e;if(i)throw c;return o(c),e}},function(r,t,e){var n=e(5),o=e(43),a=e(10);r.exports=function(r,t,e){n?o.f(r,t,a(0,e)):r[t]=e}},function(r,t,e){var n=TypeError;r.exports=function(r,t){if(r<t)throw new n("Not enough arguments");return r}},function(t,e,n){var o=n(7),a=n(37),c=n(23),i=n(98),u=RegExp.prototype;t.exports=function(t){var e=t.flags;return e!==r||"flags"in u||a(t,"flags")||!c(u,t)?e:o(i,t)}},function(r,t,e){var n=e(45);r.exports=function(){var r=n(this),t="";return r.hasIndices&&(t+="d"),r.global&&(t+="g"),r.ignoreCase&&(t+="i"),r.multiline&&(t+="m"),r.dotAll&&(t+="s"),r.unicode&&(t+="u"),r.unicodeSets&&(t+="v"),r.sticky&&(t+="y"),t}},function(r,t,e){var n=e(13),o=Map.prototype;r.exports={Map:Map,set:n(o.set),get:n(o.get),has:n(o.has),remove:n(o.delete),proto:o}},function(r,t,e){var n=e(13),o=Set.prototype;r.exports={Set:Set,add:n(o.add),has:n(o.has),remove:n(o.delete),proto:o}},function(r,t,e){var n=e(13),o=e(102),a=e(100),c=a.Set,i=a.proto,u=n(i.forEach),s=n(i.keys),f=s(new c).next;r.exports=function(r,t,e){return e?o({iterator:s(r),next:f},t):u(r,t)}},function(t,e,n){var o=n(7);t.exports=function(t,e,n){for(var a,c,i=n?t:t.iterator,u=t.next;!(a=o(u,i)).done;)if((c=e(a.value))!==r)return c}},function(r,t,e){var n,o,a,c,i=e(3),u=e(104),s=e(107),f=i.structuredClone,p=i.ArrayBuffer,l=i.MessageChannel,y=!1;if(s)y=function(r){f(r,{transfer:[r]})};else if(p)try{l||(n=u("worker_threads"))&&(l=n.MessageChannel),l&&(o=new l,a=new p(2),c=function(r){o.port1.postMessage(null,[r])},2===a.byteLength&&(c(a),0===a.byteLength&&(y=c)))}catch(r){}r.exports=y},function(r,t,e){var n=e(3),o=e(105);r.exports=function(r){if(o){try{return n.process.getBuiltinModule(r)}catch(r){}try{return Function('return require("'+r+'")')()}catch(r){}}}},function(r,t,e){var n=e(106);r.exports="NODE"===n},function(r,t,e){var n=e(3),o=e(27),a=e(14),c=function(r){return o.slice(0,r.length)===r};r.exports=c("Bun/")?"BUN":c("Cloudflare-Workers")?"CLOUDFLARE":c("Deno/")?"DENO":c("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===a(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},function(r,t,e){var n=e(3),o=e(6),a=e(26),c=e(106),i=n.structuredClone;r.exports=!!i&&!o(function(){if("DENO"===c&&a>92||"NODE"===c&&a>94||"BROWSER"===c&&a>97)return!1;var r=new ArrayBuffer(8),t=i(r,{transfer:[r]});return 0!==r.byteLength||8!==t.byteLength})},function(r,t,e){var n=e(6),o=e(10);r.exports=!n(function(){var r=new Error("a");return!("stack"in r)||(Object.defineProperty(r,"stack",o(1,7)),7!==r.stack)})},function(t,e,n){var o=n(2),a=n(22),c=n(6),i=n(96),u=n(80),s=n(110),f=a("URL"),p=s&&c(function(){f.canParse()}),l=c(function(){return 1!==f.canParse.length});o({target:"URL",stat:!0,forced:!p||l},{canParse:function(t){var e=i(arguments.length,1),n=u(t),o=e<2||arguments[1]===r?r:u(arguments[1]);try{return!!new f(n,o)}catch(r){return!1}}})},function(t,e,n){var o=n(6),a=n(32),c=n(5),i=n(35),u=a("iterator");t.exports=!o(function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),o="";return t.pathname="c%20d",e.forEach(function(r,t){e.delete("b"),o+=t+r}),n.delete("a",2),n.delete("b",r),i&&(!t.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",r)||n.has("b"))||!e.size&&(i||!c)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[u]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://ÑеÑÑ").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==o||"x"!==new URL("https://x",r).host})},function(t,e,n){var o=n(2),a=n(22),c=n(96),i=n(80),u=n(110),s=a("URL");o({target:"URL",stat:!0,forced:!u},{parse:function(t){var e=c(arguments.length,1),n=i(t),o=e<2||arguments[1]===r?r:i(arguments[1]);try{return new s(n,o)}catch(r){return null}}})}],e={},(n=function(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}).m=t,n.c=e,n.d=function(r,t,e){n.o(r,t)||Object.defineProperty(r,t,{enumerable:!0,get:e})},n.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}
475),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,t){if(1&t&&(r=n(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var o in r)n.d(e,o,function(t){return r[t]}.bind(null,o));return e},n.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(t,"a",t),t},n.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},n.p="",n(n.s=0)}();; 476(()=>{"use strict";var t={51951(){},95209(t,e,n){n(51951);function s(t,e){const n=new XMLHttpRequest;n.onreadystatechange=()=>{if(4===n.readyState){if(n.status>=200&&n.status<300){const e=JSON.parse(n.responseText);return t.onSuccess(e)}return e?s(t,e-1):t.onError()}},n.open("GET",t.url),n.send()}function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}Array.prototype.forEach.call(document.querySelectorAll(".wp-block-newspack-blocks-homepage-articles.has-more-button"),function(t){const e=t.querySelector("[data-next]");if(!e)return;const n=t.querySelector("[data-posts]"),r=e.getAttribute("data-infinite-scroll");window.newspackBlocksIsFetching=window.newspackBlocksIsFetching||!1,window.newspackBlocksFetchQueue=window.newspackBlocksFetchQueue||[];let c=!1,i=!1;const a=()=>{i||(i=!0,u())},u=()=>{if(c)return!1;t.classList.remove("is-error"),t.classList.add("is-loading");const n=e.getAttribute("data-next")+"&exclude_ids="+function(){const t=document.querySelectorAll("[class^='wp-block-newspack-blocks'] [data-post-id]"),e=Array.from(t).map(t=>t.getAttribute("data-post-id"));return e.push(document.querySelector("div[data-current-post-id]").getAttribute("data-current-post-id")),[...new Set(e)]}().join(",");if(window.newspackBlocksIsFetching)return window.newspackBlocksFetchQueue.push(u),!1;window.newspackBlocksIsFetching=!0,s({url:n,onSuccess:l,onError:d},3)};function l(s){if(!function(t){let e=!1;t&&o(t,"items")&&Array.isArray(t.items)&&o(t,"next")&&"string"==typeof t.next&&(e=!0,!t.items.length||o(t.items[0],"html")&&"string"==typeof t.items[0].html||(e=!1));return e}(s))return d();if(s.items.length){const t=s.items.map(t=>t.html).join("");n.insertAdjacentHTML("beforeend",t)}s.next&&e.setAttribute("data-next",s.next),s.items.length&&s.next||(c=!0,t.classList.remove("has-more-button")),p()}function d(){t.classList.add("is-error"),p()}function p(){window.newspackBlocksIsFetching=!1,t.classList.remove("is-loading"),window.newspackBlocksFetchQueue.length&&window.newspackBlocksFetchQueue.shift()(),i=!1}if(e.addEventListener("click",a),r){new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&a()})},{root:null,rootMargin:"0px",threshold:1}).observe(e)}})}};const e={};(function n(s){const o=e[s];if(void 0!==o)return o.exports;const r=e[s]={exports:{}};return t[s](r,r.exports,n),r.exports})(95209)})();;
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.