# speechkit/4.0.2/build/522.js

BeyondWords – AI audio for publishers, version 4.0.2. 5 lines.

- Page: https://pluginprobe.com/plugins/speechkit/4.0.2/code/build/522.js
- Raw: https://pluginprobe.com/plugins/speechkit/4.0.2/raw/build/522.js
- Modified: 2023-08-03T19:23:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/speechkit/4.0.2/code/build/522.js#L10-L20`.

```javascript
"use strict";(self.webpackChunkbeyondwords_wordpress_plugin=self.webpackChunkbeyondwords_wordpress_plugin||[]).push([[522],{3038:(t,e,s)=>{s.d(e,{P:()=>r});var a=s(614);function o(t){let e,s,o,i;return{c(){e=(0,a.W)("div"),s=(0,a.W)("img"),s.src!==(o=t[1])&&(0,a.ak)(s,"src",o),(0,a.ak)(s,"alt","publisher pic"),(0,a.ak)(s,"style",t[2]),(0,a.ak)(s,"class","svelte-3otaxj"),(0,a.ak)(e,"class",i=(0,a.al)(t[4])+" svelte-3otaxj"),(0,a.ak)(e,"style",t[0])},m(t,o){(0,a.a0)(t,e,o),(0,a.X)(e,s)},p(t,l){2&l&&s.src!==(o=t[1])&&(0,a.ak)(s,"src",o),4&l&&(0,a.ak)(s,"style",t[2]),16&l&&i!==(i=(0,a.al)(t[4])+" svelte-3otaxj")&&(0,a.ak)(e,"class",i),1&l&&(0,a.ak)(e,"style",t[0])},d(t){t&&(0,a.a2)(e)}}}function i(t){let e,s=t[3]&&o(t);return{c(){s&&s.c(),e=(0,a.a4)()},m(t,o){s&&s.m(t,o),(0,a.a0)(t,e,o)},p(t,[a]){t[3]?s?s.p(t,a):(s=o(t),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null)},i:a.ax,o:a.ax,d(t){s&&s.d(t),t&&(0,a.a2)(e)}}}function l(t,e,s){let o,i,{style:l=null}=e,{url:r=""}=e,{imgStyle:p=null}=e;return t.$$set=t=>{s(5,e=(0,a.aG)((0,a.aG)({},e),(0,a.aU)(t))),"style"in t&&s(0,l=t.style),"url"in t&&s(1,r=t.url),"imgStyle"in t&&s(2,p=t.imgStyle)},t.$$.update=()=>{2&t.$$.dirty&&s(3,o=Boolean(r)),s(4,i=("sk-poster "+(e.class||"")).trim())},e=(0,a.aU)(e),[l,r,p,o,i]}class r extends a.S{constructor(t){super(),document.getElementById("svelte-3otaxj-style")||function(){var t=(0,a.W)("style");t.id="svelte-3otaxj-style",t.textContent=":root{--sk-poster-width:60px}.sk-poster.svelte-3otaxj.svelte-3otaxj{display:flex;flex-grow:0;flex-shrink:0;width:var(--sk-poster-width);height:var(--sk-poster-width)}.sk-poster.svelte-3otaxj img.svelte-3otaxj{width:100%;height:100%;border:0;object-fit:contain}",(0,a.X)(document.head,t)}(),(0,a.s)(this,t,l,i,a.t,{style:0,url:1,imgStyle:2})}}},8522:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(614),o=(s(1978),s(3038));function i(t){let e,s,i,p,d,n,c,k,h,y,m,x,u;s=new o.P({props:{url:t[2],style:l,imgStyle:r}});const g=[t[4],{isSlim:!0}];let v={};for(let t=0;t<g.length;t+=1)v=(0,a.aG)(v,g[t]);return x=new a.aX({props:v}),{c(){e=(0,a.W)("div"),(0,a.Y)(s.$$.fragment),i=(0,a.$)(),p=(0,a.W)("div"),d=(0,a.W)("div"),n=(0,a.W)("div"),c=(0,a.am)(t[1]),k=(0,a.$)(),h=(0,a.W)("div"),y=(0,a.am)(t[3]),m=(0,a.$)(),(0,a.Y)(x.$$.fragment),(0,a.ak)(n,"class","sk-podcast-info__title svelte-17dbcyd"),(0,a.ak)(h,"class","sk-podcast-info__track-title svelte-17dbcyd"),(0,a.ak)(d,"class","sk-podcast-info svelte-17dbcyd"),(0,a.ak)(p,"class","sk-player-wrap svelte-17dbcyd"),(0,a.ak)(e,"class","sk-app-container sk-app-podcast svelte-17dbcyd"),(0,a.ak)(e,"style",t[0]),(0,a.an)(e,"withposter",t[5])},m(t,o){(0,a.a0)(t,e,o),(0,a.Z)(s,e,null),(0,a.X)(e,i),(0,a.X)(e,p),(0,a.X)(p,d),(0,a.X)(d,n),(0,a.X)(n,c),(0,a.X)(d,k),(0,a.X)(d,h),(0,a.X)(h,y),(0,a.X)(p,m),(0,a.Z)(x,p,null),u=!0},p(t,[o]){const i={};4&o&&(i.url=t[2]),s.$set(i),(!u||2&o)&&(0,a.as)(c,t[1]),(!u||8&o)&&(0,a.as)(y,t[3]);const l=16&o?(0,a.aH)(g,[(0,a.aI)(t[4]),g[1]]):{};x.$set(l),(!u||1&o)&&(0,a.ak)(e,"style",t[0]),32&o&&(0,a.an)(e,"withposter",t[5])},i(t){u||((0,a.w)(s.$$.fragment,t),(0,a.w)(x.$$.fragment,t),u=!0)},o(t){(0,a.x)(s.$$.fragment,t),(0,a.x)(x.$$.fragment,t),u=!1},d(t){t&&(0,a.a2)(e),(0,a._)(s),(0,a._)(x)}}}const l=a.ah`
    margin-right: 8px;
  `,r=a.ah`
    object-fit: cover;
  `;function p(t,e,s){let o,i,{rootStyle:l}=e,{publisher:r}=e,{publisherLogo:p}=e,{trackTitle:d}=e;return t.$$set=t=>{s(6,e=(0,a.aG)((0,a.aG)({},e),(0,a.aU)(t))),"rootStyle"in t&&s(0,l=t.rootStyle),"publisher"in t&&s(1,r=t.publisher),"publisherLogo"in t&&s(2,p=t.publisherLogo),"trackTitle"in t&&s(3,d=t.trackTitle)},t.$$.update=()=>{s(4,o=(0,a.o)(["class"],e)),4&t.$$.dirty&&s(5,i=!!p)},e=(0,a.aU)(e),[l,r,p,d,o,i]}class d extends a.S{constructor(t){super(),document.getElementById("svelte-17dbcyd-style")||function(){var t=(0,a.W)("style");t.id="svelte-17dbcyd-style",t.textContent=":root{--sk-box-podcast-height:120px!important;--sk-box-podcast-padding:8px!important;--sk-poster-width:104px!important}.sk-app-container.sk-app-podcast.svelte-17dbcyd.svelte-17dbcyd{flex-direction:row;height:var(--sk-box-podcast-height);padding:var(--sk-box-podcast-padding);box-sizing:border-box}.sk-player-wrap.svelte-17dbcyd.svelte-17dbcyd{display:flex;flex-direction:column;flex-grow:1}.sk-app-podcast.withposter .sk-player-wrap{width:calc(100% - var(--sk-poster-width) - var(--sk-box-podcast-padding))}.sk-podcast-info.svelte-17dbcyd.svelte-17dbcyd{display:flex;width:100%;flex-direction:column;font-size:12px;line-height:2.167;color:var(--sk-text-color)}.sk-podcast-info.svelte-17dbcyd .sk-podcast-info__title.svelte-17dbcyd{font-weight:bold}.sk-podcast-info__title.svelte-17dbcyd.svelte-17dbcyd,.sk-podcast-info__track-title.svelte-17dbcyd.svelte-17dbcyd{height:2.167em;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sk-app-podcast .sk-play-button{width:32px!important;min-width:32px!important;min-height:32px!important;margin:0!important;margin-right:8px!important}.sk-app-podcast .sk-app-container{height:52px!important}.sk-app-podcast .sk-app-progress-bar{width:calc(100% - 40px)!important;margin-right:0!important}@media only screen and (max-width: 769px){:root{--sk-poster-width:52px!important}.sk-app-podcast.withposter .sk-app-container{margin-left:-60px;width:calc(100% + 60px)}.sk-app-podcast .sk-play-button{width:52px!important;min-width:52px!important;min-height:52px!important;margin-right:8px!important}}",(0,a.X)(document.head,t)}(),(0,a.s)(this,t,p,i,a.t,{rootStyle:0,publisher:1,publisherLogo:2,trackTitle:3})}}const n=d}}]);
```
