ݕ=j+j͇=j[Accept-Encoding,User-Agent&9|{ٝ),&q KEY: https://1075fm.com.br/site/wp-content/plugins/html5-audio-player/build/blocks/audioplayer/view.js?ver=d6f8384b3c602c554908 HTTP/1.1 200 OK Date: Thu, 25 Jun 2026 19:55:57 GMT Server: Apache Last-Modified: Fri, 12 Jun 2026 12:39:02 GMT Accept-Ranges: bytes Content-Length: 18820 Vary: Accept-Encoding,User-Agent Connection: close Content-Type: application/javascript (()=>{"use strict";var e={};(()=>{var t;globalThis.importScripts&&(t=globalThis.location+"");var n=globalThis.document;if(!t&&n&&(n.currentScript&&"SCRIPT"===n.currentScript.tagName.toUpperCase()&&(t=n.currentScript.src),!t)){var a=n.getElementsByTagName("script");if(a.length)for(var s=a.length-1;s>-1&&(!t||!/^http(s?):/.test(t));)t=a[s--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e.p=t+"../../"})();const t=window.React,n=window.wp.element,a=e.p+"images/sticky-default.dc1095b9.jpg";function s(e="",t="",n=""){return`
\n
\n \n
\n
\n
\n \n
00:00
\n
00:00
\n
\n
\n
\n \n
\n
\n ${t&&`

${t}

`}\n ${n&&`

${n}

`}\n
\n
\n \n
\n \n
\n
\n
\n
\n
`}const r=({onClick:e})=>(0,t.createElement)("button",{className:"close-sticky-player sticky-close",onClick:e,"aria-label":"Close sticky player"},(0,t.createElement)("svg",{width:"30",height:"30",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("path",{d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z",fill:"currentColor"}))),l=function(e,t=500){if(!e)return;let n=1;const a=performance.now();e.querySelector("audio")&&e.querySelector("audio").pause(),requestAnimationFrame(function s(r){const l=r-a;n=Math.max(1-l/t,0),e.style.opacity=n,n>0?requestAnimationFrame(s):e.style.display="none"})},o=class{constructor(e,t){this.player=e,this.config=t,this.key=null,this.configure(),this.repeatEl=e.elements?.controls?.querySelector('[data-plyr="repeat"]'),this.config.repeat=!1,this.repeatEl?.addEventListener("click",()=>{this.repeatEl.classList.toggle("control-active"),this.config.repeat=!this.config.repeat}),this.player.on("ended",()=>{this.config.repeat&&this.player.play()})}configure(){this.player.on("loadedmetadata",()=>{if(this.key=function(e){if(e){"object"==typeof e&&e.sources&&e.sources.length>0&&(e=e.sources[0].src);try{let t=e;t.startsWith("http")||(t=window.location.origin+(t.startsWith("/")?"":"/")+t);const n=new URL(t).pathname.split("/").filter(e=>e.length>0).pop();if(!n)throw new Error("No valid name found in the URL path");let a=0;for(let e=0;e{this.player.play()}),this.config.saveState&&this.player.on("timeupdate",()=>{this.saveState()})}saveState(){const e={currentTime:this.player.currentTime};localStorage.setItem(this.key,JSON.stringify(e))}init(e){this.player=e}destroy(){this.player=null}},i=function(e){const{attributes:n,containerRef:a,className:i}=e,{source:c,title:u,poster:p,artist:d,bgColor:y,primaryColor:m,controlColor:v,repeat:f,autoplay:_,muted:h,seekTime:b,disablePause:g,startTime:w,saveState:k,preload:$}=n,x=(0,t.useRef)();return(0,t.useEffect)(()=>{if(!a.current)return;const e=new Plyr(a.current.querySelector("audio"),{controls:s(p,u,d),loop:{active:f},autoplay:_,muted:h,seekTime:b,storage:{enabled:!1}});if(new o(e,{disablePause:g,startTime:w,saveState:k,muted:h}),_)try{const t=e.play();t&&t.catch&&t.catch(e=>console.log("Autoplay blocked by browser in editor preview:",e))}catch(e){console.log("Autoplay failed:",e)}return x.current=e,((e,t,n="#fff",a="#222")=>{const s=e.querySelector("audio"),r=e.querySelector("#wave-canvas");if(!s||!r)return void console.error("Audio or canvas element not found in the container.");const l=window.AudioContext||window.webkitAudioContext;if(!l)return void console.error("Web Audio API is not supported in this browser.");const o=new l,i=o.createMediaElementSource(s),c=o.createAnalyser();i.connect(c),c.connect(o.destination);const u=r.getContext("2d"),p=window.innerWidth,d=window.innerHeight;r.width=p,r.height=d;let y=e?.offsetWidth>800?1024:512;c.fftSize=y;const m=c.frequencyBinCount,v=new Uint8Array(m),f=p/m*1;window.ctx=u;const _=()=>{requestAnimationFrame(_),c.getByteFrequencyData(v),u.fillStyle=a,u.fillRect(0,0,p,d);let e=0;for(let a=0;a{o.resume()}),t.on("pause",()=>{o.suspend()})})(a.current,x.current,v,y),()=>{e.destroy()}},[c,u,p,d,m,y]),(0,t.createElement)("div",{className:`skin_wave ${i}`,id:"",ref:a},(0,t.createElement)(r,{onClick:()=>l(a.current)}),(0,t.createElement)("audio",{preload:$,src:c}))},c=({attributes:e,containerRef:n,playerRef:a,className:s})=>{const{source:i,controls:c,preload:u,repeat:p,autoplay:d,muted:y,seekTime:m,startTime:v,disablePause:f,saveState:_,i18n:h,speed:b,uniqueId:g}=e;return(0,t.useEffect)(()=>{if(!n.current)return;const e={controls:Object.keys(c).filter(e=>c[e]),loop:{active:p},autoplay:d,seekTime:m,muted:y,tooltips:{controls:!0,seek:!0},speed:{selected:1,options:b}};h&&(e.i18n=h);const t=new Plyr(n.current.querySelector("audio"),e);if(t.muted=y,a.current=t,new o(t,{disablePause:f,startTime:v,saveState:_,muted:y}),d)try{const e=t.play();e&&e.catch&&e.catch(e=>console.log("Autoplay blocked by browser in editor preview:",e))}catch(e){console.log("Autoplay failed:",e)}return()=>{t.destroy()}},[e]),(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{ref:n,className:`skin_default ${s}`},(0,t.createElement)(r,{onClick:()=>l(n.current)}),(0,t.createElement)("audio",{id:g,className:g,preload:u,src:i,controls:!0},"Your browser does not support the ",(0,t.createElement)("code",null,"audio")," element.")))};function u(e=null,t=null,n=null,s={download:!1}){return`
\n
\n ${"null"!==e?``:""}\n
\n \n \n \n
\n
\n
\n
\n

${t}

\n
\n
\n
00:00
\n
\n \n % buffered\n 00:00\n
\n
00:00
\n
\n
\n
\n
\n ${!0===s?.download?`\n \n Download\n `:""}\n ${!0===s?.repeat?'':""}\n ${!0===s?.playlist?'':""}\n
\n
\n \n
\n \n
\n
\n
\n
`}function p(e){if(!e||"string"!=typeof e)return e;let t=e.trim();const n=window.h5apPlayer&&window.h5apPlayer.ajaxUrl?window.h5apPlayer.ajaxUrl:window.h5apAll&&window.h5apAll.ajaxUrl?window.h5apAll.ajaxUrl:"";if(n){if(t.includes("googleapis.com/drive"))return n+"?action=h5ap_gdrive_proxy&url="+encodeURIComponent(t);if(t.includes("soundcloud.com")&&!t.includes("api.soundcloud.com")&&!t.includes("h5ap_soundcloud_stream"))return n+"?action=h5ap_soundcloud_stream&sc_url="+encodeURIComponent(t)}return t}const d=function(e){const{attributes:n,containerRef:a,className:s}=e,{source:i,title:c,poster:d,download:y,repeat:m,autoplay:v,muted:f,seekTime:_,disablePause:h,startTime:b,saveState:g,preload:w,options:k={}}=n,{volume:$}=k,x=p(i);return(0,t.useEffect)(()=>{if(!a.current)return;const e=isNaN(parseFloat($))?.5:parseFloat($),t=new Plyr(a.current.querySelector("audio"),{controls:u(d,c,x,{download:y,repeat:!0}),loop:{active:m},autoplay:v,muted:f,seekTime:_,volume:e});if(new o(t,{disablePause:h,startTime:b,saveState:g,muted:f}),v)try{const e=t.play();e&&e.catch&&e.catch(e=>console.log("Autoplay blocked by browser in editor preview:",e))}catch(e){console.log("Autoplay failed:",e)}return t.on("ready",()=>{const e=isNaN(parseFloat($))?.5:parseFloat($);t.volume=e}),()=>{t.destroy()}},[n]),(0,t.createElement)("div",{className:`skin_fusion ${s}`,ref:a},(0,t.createElement)(r,{onClick:()=>l(a.current)}),(0,t.createElement)("audio",{preload:w,src:x}))};function y(e){return`
\n \n
\n

${e}

\n\n
\n \n
\n
\n\n
\n \n \n\n
\n
\n \n \n \n
\n\n
\n
\n 00:00\n
00:20
\n 00:00\n
\n
\n
\n\n
\n
`}const m=function(e){const{attributes:n,containerRef:a,className:s}=e,{source:i,title:c,repeat:u,autoplay:p,muted:d,seekTime:m,startTime:v,disablePause:f,saveState:_,preload:h}=n;return(0,t.useEffect)(()=>{if(!a.current)return;const e=new Plyr(a.current.querySelector("audio"),{controls:y(c),loop:{active:u},autoplay:p,muted:d,seekTime:m,storage:{enabled:!1}});if(new o(e,{disablePause:f,startTime:v,saveState:_,muted:d}),p)try{const t=e.play();t&&t.catch&&t.catch(e=>console.log("Autoplay blocked by browser in editor preview:",e))}catch(e){console.log("Autoplay failed:",e)}return()=>{e.destroy()}},[n]),(0,t.createElement)("div",{className:`skin_stamp ${s}`,ref:a},(0,t.createElement)(r,{onClick:()=>l(a.current)}),(0,t.createElement)("audio",{preload:h,src:i}))},v=({attributes:e,id:n})=>{const{primaryColor:a,hoverColor:s,bgColor:r,controlColor:l,radius:o,width:i,align:c,alignment:u,textColor:p}=e,[d,y]=(0,t.useState)();return(0,t.useEffect)(()=>{const e=`\n #${n}{\n display: flex;\n justify-content: ${u};\n }\n #${n} .plyr__progress input{\n color: ${l};\n }\n #${n} .plyr__controls__item.plyr__volume input{\n color: ${l};\n }\n #${n} .plyr{\n --plyr-color-main: ${a};\n --plyr-color-bg: black;\n --theme-skin-wave-color: ${l};\n --plyr-color-text: ${p};\n --plyr-color-control: ${l};\n --plyr-color-background: black;\n }\n #${n} .h5ap_standard_player,#${n} .h5ap-sticky,#${n} .h5ap_skin\n {\n width: ${i};\n }\n \n #${n} .skin_fusion,#${n} .h5ap-sticky,#${n} .skin_wave,#${n} .skin_stamp\n {\n min-width: 500px;\n max-width: 100% !important;\n }\n @media only screen and (max-width: 767px) {\n #${n} .skin_fusion, #${n} .h5ap-sticky,#${n} .skin_wave,#${n} .skin_stamp\n {\n min-width: auto;\n max-width: 100% !important;\n }\n #${n} .h5ap-sticky,\n #${n} .skin_fusion .plyr,\n #${n} .skin_wave .plyr,\n #${n} .skin_stamp .plyr\n {\n min-width: auto;\n max-width: 100%;\n }\n }\n #${n} .plyr__controls {\n --plyr-audio-control-color: ${l};\n background: ${r||"#eaeaea"};\n border-radius:${o}\n }\n #${n} .radius{\n border-radius: ${o}\n }\n #${n} .skin_default .plyr__control,#${n}{\n --theme-skin-wave-color: ${a};\n }\n #${n} .skin_simple_sticky{\n background: ${r};\n }\n `.replace(/\s+/g," ").trim();y(e)},[i,r,o,n,s,a,c,l,u,p]),(0,t.createElement)("style",null,d)},f=({attributes:e,id:n})=>{const a=(0,t.useRef)(null),s={Default:c,Fusion:d,Stamp:m,Wave:i},r={...e,source:p(e.source)},{isSticky:l,skin:o,width:u,multiple_audio:y}=r,f=s[o]||null;(0,t.useEffect)(()=>{if(!y){const e=document.querySelectorAll("audio");e.forEach(t=>{t.addEventListener("play",()=>{e.forEach(e=>{e!==t&&e.pause()})})})}},[]);const _=(0,t.useRef)(null);return f?(0,t.createElement)(t.Fragment,null,(0,t.createElement)(v,{attributes:r,id:n}),(0,t.createElement)(f,{attributes:r,containerRef:a,playerRef:_,className:`h5ap_skin ${l&&["Default","Fusion","Stamp","Wave"].includes(o)?"h5ap-sticky"+("100%"===u?" full-width":""):""} `})):(0,t.createElement)("h2",null,"Audio Player")};document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".wp-block-h5ap-audioplayer").forEach(e=>{const a=JSON.parse(e.dataset.attributes),s=e.dataset.id;(0,n.createRoot)(e).render((0,t.createElement)(f,{attributes:a,id:s})),e.removeAttribute("data-attributes"),e.removeAttribute("data-id")})})})();