PageSourceSearch

https://audioboom.com/assets/packs/js/1370-e78ab0d3134a2a1c784d.chunk.js

js audioboom.com collected 2026-09-24 07:29:59 UTC 5,675 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:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="815f5ac5-fb2f-473a-997b-942799960e81",e._sentryDebugIdIdentifier="sentry-dbid-815f5ac5-fb2f-473a-997b-942799960e81")}catch(e){}}();"use strict";(self.webpackChunkaudioboom_web=self.webpackChunkaudioboom_web||[]).push([[1370],{97680:function(e,t,n){n.d(t,{G8:function(){return a},G9:function(){return u},Jv:function(){return s},Kb:function(){return c},fc:function(){return i},qZ:function(){return r}});var o=n(20311),l=n.n(o);function a(e){"number"==typeof e.selectionStart&&e.setSelectionRange(e.value.length,e.value.length),e.focus()}function r(e){let t=document.getElementById(e);return t||((t=document.createElement("div")).setAttribute("id",e),l()(document.body,"missing body"),document.body.appendChild(t)),t}function s(e,t=document.body){let n=t.querySelector("#page");n&&n.setAttribute("aria-hidden",e?"true":"false"),t.classList.toggle("modal-open",e)}function i(e){var t;let n,o=((n=Array.from(((t=document.createElement("template")).innerHTML=e,t.content).children)).forEach(t=>{l()(t instanceof HTMLElement,`When is an element not an html element? ${e}`)}),n)[0];return l()(o,`couldn't find element in ${e}`),o}function c(e){let t=document.createElement("span");return t.innerText=e,t.innerHTML}function u(e){let t=document.createElement("div");return t.innerHTML=e,t.textContent}},41370:function(e,t,n){n.r(t);var o=n(54669),l=n(62039),a=n(97680),r=n(21120);function s(e){return(0,r.fa)(e,o.fk)}let i="NoMatchForId",c="AppleHasWrongURL",u="FoundDuplicateMatches",d="FoundUnambiguou
1sMatch",p="FoundAlternateURL",f="NetworkError";async function h(e){let t=e.apple_podcasts_url,n={result:"Unknown"};if(t){let o=t.match(/\/id([0-9]+)(\?|$)/);if(!o)return console.warn("Couldn't find iTunes ID in ",t),{result:i};{let t=o[1],[a,r]=await s((0,l.$)(t));if(r)return{result:f};if(!a)return{result:i};if(null===a||!a.feedUrl)return console.warn("No feed url - distribution is probably disabled in Podcasts Connect"),n;if(a.feedUrl!==e.rss_url)return{result:c,info:a.feedUrl};console.info(`Found iTunes match for ${t} with correct feed`)}}let[o,a]=await s((0,l.s)(e.title));if(a)return{result:f};let r=o.filter(t=>t.feedUrl===e.rss_url);if(1===r.length){let{collectionViewUrl:e}=r[0];return t&&e.split("?")[0]===t.split("?")[0]?(console.info("apple podcasts URL is already up to date"),{result:"CurrentURLIsGood",info:e}):{result:d,info:e}}if(r.length>1)return console.warn("Multiple results with a matching URL"),{result:u,info:r.slice(0,3).map(e=>e.collectionViewUrl)};let h=o.filter(t=>t.collectionName===e.title);return h.length?(console.warn("Found match for podcast title, but it's hosted at ",h[0].feedUrl),{result:p,info:h[0].feedUrl}):n}class m extends HTMLElement{#e;#t=null;constructor(){super(),this.#e=JSON.parse(this.getAttribute("channel"))}connectedCallback(){this.closest("[data-turbo-preview]")||this.#n()}disconnectedCallback(){this.#t&&(this.#t.remove(),this.#t=null)}#o(e){this.#t||(this.#t=document.createElement("div"),this.#t.className="alert alert-warning mbn-on-last-child",this.appendChild(this.#t)),this.#t.insertAdjacentHTML("beforeend",e)}async #n(){let e=await h(this.#e);switch(e.result){case i:this.#o("<p>Couldn't find your podcast in the Apple Podcasts catalog - please double-check the link you've given us, and its status in the <a href='https://podcastsconnect.apple.com' class='alert-link'>Apple Podcasts portal</a>.</p>");break;case u:let t=e.info;this.#o(`<p>You have duplicate podcasts on Apple Podcasts. You should remove one of them from the <a href='https://podcastsconnect.apple.com' class='alert-link'>Apple Podcasts portal</a>.</p>
2          <ul>${t.map(e=>{let t;return`<li>${(t=document.createElement("a")).className="alert-link",t.href=e,t.textContent=e,t.outerHTML}</li>`}).join("\n")}</ul>`);break;case c:{let t=e.info;this.#o(`<p>Your feed URL doesn't match in Apple Podcasts (${(0,a.Kb)(t)}) - please double-check its status in the <a href='https://podcastsconnect.apple.com' class='alert-link'>Apple Podcasts portal</a>.</p>`)}break;case p:{let t=e.info;this.#o(`<p>We found a podcast called "${this.#e.title}" on Apple, but it's currently linked to (${(0,a.Kb)(t)}) - please double-check its status in the <a href='https://podcastsconnect.apple.com' class='alert-link'>Apple Podcasts portal</a>.</p>`)}break;case d:{let t=e.info,n=document.querySelector("input[name='podcast_settings[apple_podcasts_url]']");n&&(n.value=t),(0,o.E8)(this.#e.update_url,{podcast_settings:{apple_podcasts_url:t}}).then(()=>{let e=this.closest("turbo-frame");e.src=window.location.href,e.reload()})}}}}customElements.get("ab-apple-podcasts-health-checker")?console.debug("Skip redefinition of ab-apple-podcasts-health-checker"):customElements.define("ab-apple-podcasts-health-checker",m)},62039:function(e,t,n){n.d(t,{$:function(){return d},s:function(){return u}});var o=n(54669);function l(e){return e&&"number"==typeof e.collectionId&&"string"==typeof e.collectionName}function a(e){let t=e?.results;if(Array.isArray(t)&&t.every(l))return t}function r(e){let t=e?.results;if(Array.isArray(t)){if(0===t.length)return null;let e=t[0];if(l(e))return e}}let s="test"===boo.ENVIRONMENT?"/itunes-search":"https://itunes.apple.com/search",i="test"===boo.ENVIRONMENT?"/itunes-lookup":"https://itunes.apple.com/lookup",c=()=>({t:Math.floor(Date.now()/6e4)});function u(e,t){let n={term:e,media:"podcast",entity:"podcast",limit:200,...c(),...t};return(0,o.Zp)(s,n,a)}function d(e){let t={id:e,...c()};return(0,o.Zp)(i,t,r)}}}]);

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.