PageSourceSearch

https://www.visit-x.net/js/build/vite/assets/LogoLoader-CDfoJT6g.js

js visit-x.net collected 2026-10-02 04:04:10 UTC 4,251 bytes, 2 lines download raw bytes

1import{c as e,h as t,n,u as r}from"./GlobalEventHandler-w0VIL1rJ.js";import{t as i}from"./Flux-BCQCef60.js";var a=t(n(),1),o=t(r(),1),s=t(e(),1),LogoLoader=class extends o.Component{constructor(e){super(e),this.stop=e.pulse,this.update=this.update.bind(this),this.onReloadClick=this.onReloadClick.bind(this)}componentDidMount(){window.requestAnimationFrame(this.update)}componentWillUnmount(){this.stop=!0}update(){let e=1400;this.startTime||=new Date().getTime()-e-500;let t=(new Date().getTime()-this.startTime)%3300-e-500,n=t>0?t:t<-1400?1400:-t,r=this.myPolyRef;r&&(r.style.strokeDashoffset=n),this.stop||window.requestAnimationFrame(this.update)}onReloadClick(e){e.preventDefault(),window.location.reload()}render(){let e=`logo-loader__container`+(this.props.pulse?``:` fade-in`);this.props.className&&(e+=` `+this.props.className),this.props.isRelative&&(e+=` logo-loader__container--relative`);let t=``;this.props.overlayClassName&&(t+=` `+this.props.overlayClassName);let n={fill:`url(#Verlauf_1)`},r={fill:`url(#Verlauf_2)`},getPolyRef=e=>{this.myPolyRef=e},a;a=this.props.pulse||i.Browser.isSexole()?(0,s.jsx)(`div`,{className:`logo-loader__image -pulse`+(i.Browser.isSexole()?` logo-loader__image--sexole`:``)}):(0,s.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 341.07 246.61`,className:`logo-loader__svg`,children:[(0,s.jsxs)(`defs`,{children:[(0,s.jsxs)(`linearGradient`,{id:`Verlauf_1`,x1:`230.4`,y1:`161.51`,x2:`293.05`,y2:`210.73`,gradientUnits:`userSpaceOnUse`,children:[(0,s.jsx)(`stop`,{offset:`0`,stopColor:`#9e3026`}),(0,s.jsx)(`stop`,{offset:`0.02`,stopColor:`#a93329`}),(0,s.jsx)(`stop`,{offset:`0.09`,stopColor:`#c43b2f`}),(0,s.jsx)(`stop`,{offset:`0.17`,stopColor:`#da4234`}),(0,s.jsx)(`stop`,{offset:`0.27`,stopColor:`#eb4737`}),(0,s.jsx)(`stop`,{offset:`0.38`,stopColor:`#f64a3a`}),(0,s.jsx)(`stop`,{offset:`0.55`,stopColor:`#fd4c3c`}),(0,s.jsx)(`stop`,{offset:`1`,stopColor:`#ff4d3c`})]}),(0,s.jsxs)(`linearGradient`,{id:`Verlauf_2`,x1:`203.76`,y1:`47.71`,x2:`150.49`,y2:`8`,gradientUnits:`userSpaceOnUse`,children:[(0,s.jsx)(`stop`,{offset:`0`,stopColor:`#9e3026`}),(0,s.jsx)(`stop`,{offset:`0.1`,stopColor:`#bc392d`}),(0,s.jsx)(`stop`,{offset:`0.21`,stopColor:`#d44032`}),(0,s.jsx)(`stop`,{offset:`0.33`,stopColor:`#e74637`}),(0,s.jsx)(`stop`,{offset:`0.47`,stopColor:`#f54a3a`}),(0,s.jsx)(`stop`,{offset:`0.65`,stopColor:`#fd4c3b`}),(0,s.jsx)(`stop`,{offset:`1`,stopColor:`#ff4d3c`})]}),(0,s.jsx)(`mask`,{id:`mask_1`,children:(0,s.jsx)(`polyline`,{fill:`none`,ref:getPolyRef,className:`cls-4`,points:`115.09 39.98 170.09 117.98 243.09 13.98 315.09 13.98 170.09 222.98 26.09 13.98 170.09 12.98 307.09 210.98 235.09 211.98 207.09 171.98`})})]}),(0,s.jsx)(`path`,{className:`cls-1`,style:n,mask:`url(#mask_1)`,d:`M222.74,170.34,243,199.66h40L242.8,141.49l16.34-23.34L334,226.35H229l-22.48-32.52Z`}),(0,s.jsx)(`polygon`,{className:`cls-2`,style:r,mask:`url(#mask_1)`,points:`177.52 0.01 206.83 42.47 190.74 66.15 163.51 26.77 177.52 0.01`}),(0,s.jsx)(`polygon`,{className:`cls-3`,mask:`url(#mask_1)`,points:`341.07 0 235.98 0 170.5 94.8 141.95 53.51 109.48 53.51 170.5 141.75 249.99 26.76 290.04 26.76 170.5 199.65 50.99 26.81 163.5 26.76 164.29 27.89 178.41 1.3 177.51 0 0 0.03 170.5 246.61 341.07 0`})]});let o;return o=this.props.showReload?(0,s.jsxs)(`div`,{className:e,children:[(0,s.jsx)(`button`,{className:`btn h-text-align-center`,onClick:this.onReloadClick,children:(0,s.jsx)(`i`,{className:`icon -icon-reload`})}),this.props.children&&(0,s.jsx)(`div`,{className:`logo-loader__content`,children:this.props.children})]}):(0,s.jsxs)(`div`,{className:e,children:[this.props.children&&(0,s.jsx)(`div`,{className:`logo-loader__content`,children:this.props.children}),a]}),this.props.showOverlay?(0,s.jsx)(`div`,{className:`logo-loader__overlay`+(this.props.children?` -dark`:``)+t,children:o}):o}};LogoLoader.propTypes={children:a.default.node,className:a.default.string,overlayClassName:a.default.string,pulse:a.default.bool,showOverlay:a.default.bool,showReload:a.default.bool,isRelative:a.default.bool},LogoLoader.defaultProps={children:null,className:``,overlayClassName:``,pulse:!1,showOverlay:!1,showReload:!1,isRelative:!1};export{LogoLoader as t};
2//# sourceMappingURL=LogoLoader-CDfoJT6g.js.map

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.