PageSourceSearch

https://landore.com/wp-content/plugins/panorama-block/build/view.js

js landore.com collected 2026-10-06 06:19:24 UTC 1,695 bytes, 1 lines download raw bytes

1(()=>{"use strict";var t={338:(t,e,n)=>{var r=n(795);e.H=r.createRoot,r.hydrateRoot},795:t=>{t.exports=window.ReactDOM}},e={};const n=window.React;var r=function n(r){var o=e[r];if(void 0!==o)return o.exports;var a=e[r]={exports:{}};return t[r](a,a.exports,n),a.exports}(338);const o=({attributes:t,id:e})=>{const{alignment:r,width:o,height:a}=t,i=`#${e}`,d=`${i} .bpgbPanorama`;return(0,n.createElement)("style",{dangerouslySetInnerHTML:{__html:`\n\n\t\t\t\t${i}{\n\t\t\t\t\ttext-align: ${r};\n\t\t\t\t}\n\n\t\t\t\t${d}{\n\t\t\t\t\twidth: ${o};\n\t\t\t\t\theight: ${a};\n\t\t\t\t}\n\t\t\t`}})},a=({attributes:t,id:e})=>{const r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useEffect)((()=>{const e=r.current;if(e){e.innerHTML="",a.current?.dispose&&a.current.dispose();const n=((t,e)=>{const{panoType:n,panoImage:r,panoVideo:o,autoRotate:a,rotateSpeed:i,hideControl:d,autoPlay:s,videoMute:u,videoLoop:c}=t;if("video"===n){const t=o.url||"",n=new window.PANOLENS.VideoPanorama(t,{autoplay:s,loop:c,muted:u});new window.PANOLENS.Viewer({container:e,controlBar:d}).add(n)}else{const t=r.url||[],n=new window.PANOLENS.ImagePanorama(t);new window.PANOLENS.Viewer({container:e,autoRotate:a,autoRotateSpeed:i,controlBar:d}).add(n)}})(t,e);n?.viewer&&(a.current=n.viewer)}}),[t]),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(o,{attributes:t,id:e}),(0,n.createElement)("div",{className:"bpgbPanorama",ref:r}))};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-bpgb-panorama").forEach((t=>{const e=JSON.parse(t.dataset.attributes),o=t.id;(0,r.H)(t).render((0,n.createElement)(a,{attributes:e,id:o})),t?.removeAttribute("data-attributes")}))}))})();

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.