1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,64419,e=>{"use strict";var t=e.i(43476),i=e.i(71645);let r=`#version 300 es 2precision mediump float; 3 4layout(location = 0) in vec4 a_position; 5 6uniform vec2 u_resolution; 7uniform float u_pixelRatio; 8uniform float u_imageAspectRatio; 9uniform float u_originX; 10uniform float u_originY; 11uniform float u_worldWidth; 12uniform float u_worldHeight; 13uniform float u_fit; 14uniform float u_scale; 15uniform float u_rotation; 16uniform float u_offsetX; 17uniform float u_offsetY; 18 19out vec2 v_objectUV; 20out vec2 v_objectBoxSize; 21out vec2 v_responsiveUV; 22out vec2 v_responsiveBoxGivenSize; 23out vec2 v_patternUV; 24out vec2 v_patternBoxSize; 25out vec2 v_imageUV; 26 27vec3 getBoxSize(float boxRatio, vec2 givenBoxSize) { 28 vec2 box = vec2(0.); 29 // fit = none 30 box.x = boxRatio * min(givenBoxSize.x / boxRatio, givenBoxSize.y); 31 float noFitBoxWidth = box.x; 32 if (u_fit == 1.) { // fit = contain 33 box.x = boxRatio * min(u_resolution.x / boxRatio, u_resolution.y); 34 } else if (u_fit == 2.) { // fit = cover 35 box.x = boxRatio * max(u_resolution.x / boxRatio, u_resolution.y); 36 } 37 box.y = box.x / boxRatio; 38 return vec3(box, noFitBoxWidth); 39} 40 41void main() { 42 gl_Position = a_position; 43 44 vec2 uv = gl_Position.xy * .5; 45 vec2 boxOrigin = vec2(.5 - u_originX, u_originY - .5); 46 vec2 givenBoxSize = vec2(u_worldWidth, u_worldHeight); 47 givenBoxSize = max(givenBoxSize, vec2(1.)) * u_pixelRatio; 48 float r = u_rotation * 3.14159265358979323846 / 180.; 49 mat2 graphicRotation = mat2(cos(r), sin(r), -sin(r), cos(r)); 50 vec2 graphicOffset = vec2(-u_offsetX, u_offsetY); 51 52 53 // =================================================== 54 55 float fixedRatio = 1.; 56 vec2 fixedRatioBoxGivenSize = vec2( 57 (u_worldWidth == 0.) ? u_resolution.x : givenBoxSize.x, 58 (u_worldHeight == 0.) ? u_resolution.y : givenBoxSize.y 59 ); 60 61 v_objectBoxSize = getBoxSize(fixedRatio, fixedRatioBoxGivenSize).xy; 62 vec2 objectWorldScale = u_resolution.xy / v_objectBoxSize; 63 64 v_objectUV = uv; 65 v_objectUV *= objectWorldScale; 66 v_objectUV += boxOrigin * (objectWorldScale - 1.); 67 v_objectUV += graphicOffset; 68 v_objectUV /= u_scale; 69 v_objectUV = graphicRotation * v_objectUV; 70 71 // =================================================== 72 73 v_responsiveBoxGivenSize = vec2( 74 (u_worldWidth == 0.) ? u_resolution.x : givenBoxSize.x, 75 (u_worldHeight == 0.) ? u_resolution.y : givenBoxSize.y 76 ); 77 float responsiveRatio = v_responsiveBoxGivenSize.x / v_responsiveBoxGivenSize.y; 78 vec2 responsiveBoxSize = getBoxSize(responsiveRatio, v_responsiveBoxGivenSize).xy; 79 vec2 responsiveBoxScale = u_resolution.xy / responsiveBoxSize; 80 81 #ifdef ADD_HELPERS 82 v_responsiveHelperBox = uv; 83 v_responsiveHelperBox *= responsiveBoxScale; 84 v_responsiveHelperBox += boxOrigin * (responsiveBoxScale - 1.); 85 #endif 86 87 v_responsiveUV = uv; 88 v_responsiveUV *= responsiveBoxScale; 89 v_responsiveUV += boxOrigin * (responsiveBoxScale - 1.); 90 v_responsiveUV += graphicOffset; 91 v_responsiveUV /= u_scale; 92 v_responsiveUV.x *= responsiveRatio; 93 v_responsiveUV = graphicRotation * v_responsiveUV; 94 v_responsiveUV.x /= responsiveRatio; 95 96 // =================================================== 97 98 float patternBoxRatio = givenBoxSize.x / givenBoxSize.y; 99 vec2 patternBoxGivenSize = vec2( 100 (u_worldWidth == 0.) ? u_resolution.x : givenBoxSize.x, 101 (u_worldHeight == 0.) ? u_resolution.y : givenBoxSize.y 102 ); 103 patternBoxRatio = patternBoxGivenSize.x / patternBoxGivenSize.y; 104 105 vec3 boxSizeData = getBoxSize(patternBoxRatio, patternBoxGivenSize); 106 v_patternBoxSize = boxSizeData.xy; 107 float patternBoxNoFitBoxWidth = boxSizeData.z; 108 vec2 patternBoxScale = u_resolution.xy / v_patternBoxSize; 109 110 v_patternUV = uv; 111 v_patternUV += graphicOffset / patternBoxScale; 112 v_patternUV += boxOrigin; 113 v_patternUV -= boxOrigin / patternBoxScale; 114 v_patternUV *= u_resolution.xy; 115 v_patternUV /= u_pixelRatio; 116 if (u_fit > 0.) { 117 v_patternUV *= (patternBoxNoFitBoxWidth / v_patternBoxSize.x); 118 } 119 v_patternUV /= u_scale; 120 v_patternUV = graphicRotation * v_patternUV; 121 v_patternUV += boxOrigin / patternBoxScale; 122 v_patternUV -= boxOrigin; 123 // x100 is a default multiplier between vertex and fragmant shaders 124 // we use it to avoid UV presision issues 125 v_patternUV *= .01; 126 127 // =================================================== 128 129 vec2 imageBoxSize; 130 if (u_fit == 1.) { // contain 131 imageBoxSize.x = min(u_resolution.x / u_imageAspectRatio, u_resolution.y) * u_imageAspectRatio; 132 } else if (u_fit == 2.) { // cover 133 imageBoxSize.x = max(u_resolution.x / u_imageAspectRatio, u_resolution.y) * u_imageAspectRatio; 134 } else { 135 imageBoxSize.x = min(10.0, 10.0 / u_imageAspectRatio * u_imageAspectRatio); 136 } 137 imageBoxSize.y = imageBoxSize.x / u_imageAspectRatio; 138 vec2 imageBoxScale = u_resolution.xy / imageBoxSize; 139 140 v_imageUV = uv; 141 v_imageUV *= imageBoxScale; 142 v_imageUV += boxOrigin * (imageBoxScale - 1.); 143 v_imageUV += graphicOffset; 144 v_imageUV /= u_scale; 145 v_imageUV.x *= u_imageAspectRatio; 146 v_imageUV = graphicRotation * v_imageUV; 147 v_imageUV.x /= u_imageAspectRatio; 148 149 v_imageUV += .5; 150 v_imageUV.y = 1. - v_imageUV.y; 151}`,a=8294400;class s{parentElement;canvasElement;gl;program=null;uniformLocations={};fragmentShader;rafId=null;lastRenderTime=0;currentFrame=0;speed=0;currentSpeed=0;providedUniforms;mipmaps=[];hasBeenDisposed=!1;resolutionChanged=!0;textures=new Map;minPixelRatio;maxPixelCount;isSafari=(function(){let e=navigator.userAgent.toLowerCase();return e.includes("safari")&&!e.includes("chrome")&&!e.includes("android")})();uniformCache={};textureUnitMap=new Map;ownerDocument;
151constructor(e,t,i,r,s=0,n=0,l=2,c=a,d=[]){if(e?.nodeType===1)this.parentElement=e;else throw Error("Paper Shaders: parent element must be an HTMLElement");if(this.ownerDocument=e.ownerDocument,!this.ownerDocument.querySelector("style[data-paper-shader]")){const e=this.ownerDocument.createElement("style");e.innerHTML=o,e.setAttribute("data-paper-shader",""),this.ownerDocument.head.prepend(e)}const h=this.ownerDocument.createElement("canvas");this.canvasElement=h,this.parentElement.prepend(h),this.fragmentShader=t,this.providedUniforms=i,this.mipmaps=d,this.currentFrame=n,this.minPixelRatio=l,this.maxPixelCount=c;const u=h.getContext("webgl2",r);if(!u)throw Error("Paper Shaders: WebGL is not supported in this browser");this.gl=u,this.initProgram(),this.setupPositionAttribute(),this.setupUniforms(),this.setUniformValues(this.providedUniforms),this.setupResizeObserver(),visualViewport?.addEventListener("resize",this.handleVisualViewportChange),this.setupIntersectionObserver(),this.setSpeed(s),this.parentElement.setAttribute("data-paper-shader",""),this.parentElement.paperShaderMount=this,this.ownerDocument.addEventListener("visibilitychange",this.handleDocumentVisibilityChange)}initProgram=()=>{let e=function(e,t,i){let r=e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT),a=r?r.precision:null;a&&a<23&&(t=t.replace(/precision\s+(lowp|mediump)\s+float;/g,"precision highp float;"),i=i.replace(/precision\s+(lowp|mediump)\s+float/g,"precision highp float").replace(/\b(uniform|varying|attribute)\s+(lowp|mediump)\s+(\w+)/g,"$1 highp $3"));let s=n(e,e.VERTEX_SHADER,t),o=n(e,e.FRAGMENT_SHADER,i);if(!s||!o)return null;let l=e.createProgram();return l?(e.attachShader(l,s),e.attachShader(l,o),e.linkProgram(l),e.getProgramParameter(l,e.LINK_STATUS))?(e.detachShader(l,s),e.detachShader(l,o),e.deleteShader(s),e.deleteShader(o),l):(console.error("Unable to initialize the shader program: "+e.getProgramInfoLog(l)),e.deleteProgram(l),e.deleteShader(s),e.deleteShader(o),null):null}(this.gl,r,this.fragmentShader);e&&(this.program=e)};setupPositionAttribute=()=>{let e=this.gl.getAttribLocation(this.program,"a_position"),t=this.gl.createBuffer();this.gl.bindBuffer(this.gl.ARRAY_BUFFER,t),this.gl.bufferData(this.gl.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),this.gl.STATIC_DRAW),this.gl.enableVertexAttribArray(e),this.gl.vertexAttribPointer(e,2,this.gl.FLOAT,!1,0,0)};setupUniforms=()=>{let e={u_time:this.gl.getUniformLocation(this.program,"u_time"),u_pixelRatio:this.gl.getUniformLocation(this.program,"u_pixelRatio"),u_resolution:this.gl.getUniformLocation(this.program,"u_resolution")};Object.entries(this.providedUniforms).forEach(([t,i])=>{if(e[t]=this.gl.getUniformLocation(this.program,t),i instanceof HTMLImageElement){let i=`${t}AspectRatio`;e[i]=this.gl.getUniformLocation(this.program,i)}}),this.uniformLocations=e};renderScale=1;parentWidth=0;parentHeight=0;parentDevicePixelWidth=0;parentDevicePixelHeight=0;devicePixelsSupported=!1;intersectionObserver=null;isInViewport=!0;resizeObserver=null;setupResizeObserver=()=>{this.resizeObserver=new ResizeObserver(([e])=>{if(e?.borderBoxSize[0]){let t=e.devicePixelContentBoxSize?.[0];void 0!==t&&(this.devicePixelsSupported=!0,this.parentDevicePixelWidth=t.inlineSize,this.parentDevicePixelHeight=t.blockSize),this.parentWidth=e.borderBoxSize[0].inlineSize,this.parentHeight=e.borderBoxSize[0].blockSize}this.handleResize()}),this.resizeObserver.observe(this.parentElement)};setupIntersectionObserver=()=>{let e=this.ownerDocument.defaultView;e?.IntersectionObserver&&(this.intersectionObserver=new e.IntersectionObserver(([e])=>{this.isInViewport=e?.isIntersecting??!0,this.updateCurrentSpeed()}),this.intersectionObserver.observe(this.parentElement))};handleVisualViewportChange=()=>{this.resizeObserver?.disconnect(),this.setupResizeObserver()};handleResize=()=>{let e=0,t=0,i=Math.max(1,window.devicePixelRatio),r=visualViewport?.scale??1;if(this.devicePixelsSupported){let a=Math.max(1,this.minPixelRatio/i);e=this.parentDevicePixelWidth*a*r,t=this.parentDevicePixelHeight*a*r}else{var a;let s,n,o=Math.max(i,this.minPixelRatio)*r;this.isSafari&&(o*=Math.max(1,(a=this.ownerDocument,(n=Math.round(100*(s=outerWidth/((visualVie
151wport?.scale??1)*(visualViewport?.width??window.innerWidth)+(window.innerWidth-a.documentElement.clientWidth)))))%5==0?n/100:33===n?1/3:67===n?2/3:133===n?4/3:s))),e=Math.round(this.parentWidth)*o,t=Math.round(this.parentHeight)*o}let s=Math.min(1,Math.sqrt(this.maxPixelCount)/Math.sqrt(e*t)),n=Math.round(e*s),o=Math.round(t*s),l=n/Math.round(this.parentWidth);(this.canvasElement.width!==n||this.canvasElement.height!==o||this.renderScale!==l)&&(this.renderScale=l,this.canvasElement.width=n,this.canvasElement.height=o,this.resolutionChanged=!0,this.gl.viewport(0,0,this.gl.canvas.width,this.gl.canvas.height),this.render(performance.now()))};render=e=>{if(this.hasBeenDisposed)return;if(null===this.program)return void console.warn("Tried to render before program or gl was initialized");let t=e-this.lastRenderTime;this.lastRenderTime=e,0!==this.currentSpeed&&(this.currentFrame+=t*this.currentSpeed),this.gl.clear(this.gl.COLOR_BUFFER_BIT),this.gl.useProgram(this.program),this.gl.uniform1f(this.uniformLocations.u_time,.001*this.currentFrame),this.resolutionChanged&&(this.gl.uniform2f(this.uniformLocations.u_resolution,this.gl.canvas.width,this.gl.canvas.height),this.gl.uniform1f(this.uniformLocations.u_pixelRatio,this.renderScale),this.resolutionChanged=!1),this.gl.drawArrays(this.gl.TRIANGLES,0,6),0!==this.currentSpeed?this.requestRender():this.rafId=null};requestRender=()=>{null!==this.rafId&&cancelAnimationFrame(this.rafId),this.rafId=requestAnimationFrame(this.render)};setTextureUniform=(e,t)=>{if(!t.complete||0===t.naturalWidth)throw Error(`Paper Shaders: image for uniform ${e} must be fully loaded`);let i=this.textures.get(e);i&&this.gl.deleteTexture(i),this.textureUnitMap.has(e)||this.textureUnitMap.set(e,this.textureUnitMap.size);let r=this.textureUnitMap.get(e);this.gl.activeTexture(this.gl.TEXTURE0+r);let a=this.gl.createTexture();this.gl.bindTexture(this.gl.TEXTURE_2D,a),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_S,this.gl.CLAMP_TO_EDGE),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,this.gl.CLAMP_TO_EDGE),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MIN_FILTER,this.gl.LINEAR),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MAG_FILTER,this.gl.LINEAR),this.gl.texImage2D(this.gl.TEXTURE_2D,0,this.gl.RGBA,this.gl.RGBA,this.gl.UNSIGNED_BYTE,t),this.mipmaps.includes(e)&&(this.gl.generateMipmap(this.gl.TEXTURE_2D),this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_MIN_FILTER,this.gl.LINEAR_MIPMAP_LINEAR));let s=this.gl.getError();if(s!==this.gl.NO_ERROR||null===a)return void console.error("Paper Shaders: WebGL error when uploading texture:",s);this.textures.set(e,a);let n=this.uniformLocations[e];if(n){this.gl.uniform1i(n,r);let i=`${e}AspectRatio`,a=this.uniformLocations[i];if(a){let e=t.naturalWidth/t.naturalHeight;this.gl.uniform1f(a,e)}}};areUniformValuesEqual=(e,t)=>e===t||!!(Array.isArray(e)&&Array.isArray(t))&&e.length===t.length&&e.every((e,i)=>this.areUniformValuesEqual(e,t[i]));setUniformValues=e=>{this.gl.useProgram(this.program),Object.entries(e).forEach(([e,t])=>{let i=t;if(t instanceof HTMLImageElement&&(i=`${t.src.slice(0,200)}|${t.naturalWidth}x${t.naturalHeight}`),this.areUniformValuesEqual(this.uniformCache[e],i))return;this.uniformCache[e]=i;let r=this.uniformLocations[e];if(!r)return void console.warn(`Uniform location for ${e} not found`);if(t instanceof HTMLImageElement)this.setTextureUniform(e,t);else if(Array.isArray(t)){let i=null,a=null;if(void 0!==t[0]&&Array.isArray(t[0])){let r=t[0].length;if(!t.every(e=>e.length===r))return void console.warn(`All child arrays must be the same length for ${e}`);i=t.flat(),a=r}else a=(i=t).length;switch(a){case 2:this.gl.uniform2fv(r,i);break;case 3:this.gl.uniform3fv(r,i);break;case 4:this.gl.uniform4fv(r,i);break;case 9:this.gl.uniformMatrix3fv(r,!1,i);break;case 16:this.gl.uniformMatrix4fv(r,!1,i);break;default:console.warn(`Unsupported uniform array length: ${a}`)}}else"number"==typeof t?this.gl.uniform1f(r,t):"boolean"==typeof t?this.gl.uniform1i(r,+!!t):console.warn(`Unsupported uniform type for ${e}: ${typeof t}`)})};getCurrentFrame=()=>this.currentFrame;setFrame=e=>{this.currentFrame=e,this.lastRenderTime=performance.now(),this.render(performance.now())};setSpeed=(e=1)=>{this.speed=e,this.updateCurrentSpeed()};updateCurrentSpeed=()=>{this.setCurrentSpeed(this.ownerDocument.hidden||!this.isInViewport?0:this.speed)};setCurrentSpeed=e=>{this.currentSpeed=e,null===this.rafId&&0!==e&&(this.lastRenderTime=performance.now(),this.rafId=requestAnimationFrame(this.render)),null!==this.rafId&&0===e&&(cancelAnimationFrame(this.rafId),this.rafId=null)};setMaxPixelCount=(e=a)=>{this.maxPixelCount=e,this.handleResize()};setMinPixelRatio=(e=2)=>{this.minPixelRatio=e,this.handleResize()};setUniforms=e=>{this.setUniformValues(e),this.providedUniforms={...this.providedUniforms,...e},this.render(performance.now())};handleDocumentVisibilityChange=()=>{this.updateCurrentSpeed()};dispose=()=>{this.hasBeenDisposed=!0,null!==this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=null),this.gl&&this.program&&(this.textures.forEac
151h(e=>{this.gl.deleteTexture(e)}),this.textures.clear(),this.gl.deleteProgram(this.program),this.program=null,this.gl.bindBuffer(this.gl.ARRAY_BUFFER,null),this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,null),this.gl.bindRenderbuffer(this.gl.RENDERBUFFER,null),this.gl.bindFramebuffer(this.gl.FRAMEBUFFER,null),this.gl.getError()),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null),visualViewport?.removeEventListener("resize",this.handleVisualViewportChange),this.ownerDocument.removeEventListener("visibilitychange",this.handleDocumentVisibilityChange),this.uniformLocations={},this.canvasElement.remove(),delete this.parentElement.paperShaderMount}}function n(e,t,i){let r=e.createShader(t);return r?(e.shaderSource(r,i),e.compileShader(r),e.getShaderParameter(r,e.COMPILE_STATUS))?r:(console.error("An error occurred compiling the shaders: "+e.getShaderInfoLog(r)),e.deleteShader(r),null):null}let o=`@layer paper-shaders { 152 :where([data-paper-shader]) { 153 isolation: isolate; 154 position: relative; 155 156 & canvas { 157 contain: strict; 158 display: block; 159 position: absolute; 160 inset: 0; 161 z-index: -1; 162 width: 100%; 163 height: 100%; 164 border-radius: inherit; 165 corner-shape: inherit; 166 } 167 } 168}`;function l(e){if(e.naturalWidth<1024&&e.naturalHeight<1024){if(e.naturalWidth<1||e.naturalHeight<1)return;let t=e.naturalWidth/e.naturalHeight;e.width=Math.round(t>1?1024*t:1024),e.height=Math.round(t>1?1024:1024/t)}}async function c(e){let t={},i=[];return Object.entries(e).forEach(([e,r])=>{if("string"==typeof r){let a=r||"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";if(!(e=>{try{if(e.startsWith("/"))return!0;return new URL(e),!0}catch{return!1}})(a))return void console.warn(`Uniform "${e}" has invalid URL "${a}". Skipping image loading.`);let s=new Promise((i,r)=>{let s=new Image;(e=>{try{if(e.startsWith("/"))return!1;return new URL(e,window.location.origin).origin!==window.location.origin}catch{return!1}})(a)&&(s.crossOrigin="anonymous"),s.onload=()=>{l(s),t[e]=s,i()},s.onerror=()=>{console.error(`Could not set uniforms. Failed to load image at ${a}`),r()},s.src=a});i.push(s)}else if(r instanceof HTMLImageElement){let a=r.decode().then(()=>{l(r),t[e]=r});i.push(a)}else t[e]=r}),await Promise.all(i),t}let d=(0,i.forwardRef)(function({fragmentShader:e,uniforms:r,webGlContextAttributes:a,speed:n=0,frame:o=0,width:l,height:d,minPixelRatio:h,maxPixelCount:u,mipmaps:p,style:m,...f},x){var g;let v,y,[b,k]=(0,i.useState)(!1),_=(0,i.useRef)(null),w=(0,i.useRef)(null),S=(0,i.useRef)(a);(0,i.useEffect)(()=>((async()=>{let t=await c(r);_.current&&!w.current&&(w.current=new s(_.current,e,t,S.current,n,o,h,u,p),k(!0))})(),()=>{w.current?.dispose(),w.current=null}),[e]),(0,i.useEffect)(()=>{let e=!1;return(async()=>{let t=await c(r);e||w.current?.setUniforms(t)})(),()=>{e=!0}},[r,b]),(0,i.useEffect)(()=>{w.current?.setSpeed(n)},[n,b]),(0,i.useEffect)(()=>{w.current?.setMaxPixelCount(u)},[u,b]),(0,i.useEffect)(()=>{w.current?.setMinPixelRatio(h)},[h,b]),(0,i.useEffect)(()=>{w.current?.setFrame(o)},[o,b]);let R=(g=[_,x],v=i.useRef(void 0),y=i.useCallback(e=>{let t=g.map(t=>{if(null!=t){if("function"==typeof t){let i=t(e);return"function"==typeof i?i:()=>{t(null)}}return t.current=e,()=>{t.current=null}}});return()=>{t.forEach(e=>e?.())}},g),i.useMemo(()=>g.every(e=>null==e)?null:e=>{v.current&&(v.current(),v.current=void 0),null!=e&&(v.current=y(e))},g));return(0,t.jsx)("div",{ref:R,style:void 0!==l||void 0!==d?{width:"string"==typeof l&&!1===isNaN(+l)?+l:l,height:"string"==typeof d&&!1===isNaN(+d)?+d:d,...m}:m,...f})});d.displayName="ShaderMount";let h={fit:"contain",scale:1,rotation:0,offsetX:0,offsetY:0,originX:.5,originY:.5,worldWidth:0,worldHeight:0},u={none:0,contain:1,cover:2};function p(e){if(Array.isArray(e))return 4===e.length?e:3===e.length?[...e,1]:f;if("string"!=typeof e)return f;let t,i,r,a=1;if(e.startsWith("#")){var s;(3===(s=(s=e).replace(/^#/,"")).length||4===s.length)&&(s=s.split("").map(e=>e+e).join("")),6===s.length&&(s+="ff"),[t,i,r,a]=/^[0-9a-f]{8}$/i.test(s)?[parseInt(s.slice(0,2),16)/255,parseInt(s.slice(2,4),16)/255,parseInt(s.slice(4,6),16)/255,parseInt(s.slice(6,8),16)/255]:(console.warn("Invalid hex color"),f)}else if(e.startsWith("rgb")){let s,n=(s=e.match(/^rgba?\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([0-9.]+))?\s*\)$/i))?[parseInt(s[1]??"0")/255,parseInt(s[2]??"0")/255,parseInt(s[3]??"0")/255,void 0===s[4]?1:parseFloat(s[4])]:null;if(null===n)return f;[t,i,r,a]=n}else{let s;if(!e.startsWith("hsl"))return console.error("Unsupported color format",e),f;let n=(s=e.match(/^hsla?\s*\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(?:,\s*([0-9.]+))?\s*\)$/i))?[parseInt(s[1]??"0"),parseInt(s[2]??"0"),parseInt(s[3]??"0"),void 0===s[4]?1:parseFloat(s[4])]:null;if(null===n)return f;[t,i,r,a]=function(e){let t,i,r,[a,s,n,o]=e,l=a/360,c=s/100,d=n/100;if(0===s)t=i=r=d;else{let e=(e,t,i)=>(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e,a=d<.5?d*(1+c):d+c-d*c,s=2*d-a;t=e(s,a,l+1/3),i=e(s,a,l),r=e(s,a,l-1/3)}return[t,i,r,o]}(n)}return[m(t,0,1),m(i,0,1),m(r,0,1),m(a,0,1)]}let m=(e,t,i)=>Math.min(Math.max(e,t),i),f=[.5,.5,.5,1],x=` 169#define TWO_PI 6.28318530718 170#define PI 3.14159265358979323846 171`,g=` 172vec2 rotate(vec2 uv, float th) { 173 return mat2(cos(th), sin(th), -sin(th), cos(th)) * uv; 174} 175`,v=` 176 float hash21(vec2 p) {
177 p = fract(p * vec2(0.3183099, 0.3678794)) + 0.1; 178 p += dot(p, p + 19.19); 179 return fract(p.x * p.y); 180 } 181`,y=`#version 300 es 182precision mediump float; 183 184uniform float u_time; 185 186uniform vec4 u_colors[10]; 187uniform float u_colorsCount; 188 189uniform float u_distortion; 190uniform float u_swirl; 191uniform float u_grainMixer; 192uniform float u_grainOverlay; 193 194in vec2 v_objectUV; 195out vec4 fragColor; 196 197${x} 198${g} 199${v} 200 201float valueNoise(vec2 st) { 202 vec2 i = floor(st); 203 vec2 f = fract(st); 204 float a = hash21(i); 205 float b = hash21(i + vec2(1.0, 0.0)); 206 float c = hash21(i + vec2(0.0, 1.0)); 207 float d = hash21(i + vec2(1.0, 1.0)); 208 vec2 u = f * f * (3.0 - 2.0 * f); 209 float x1 = mix(a, b, u.x); 210 float x2 = mix(c, d, u.x); 211 return mix(x1, x2, u.y); 212} 213 214float noise(vec2 n, vec2 seedOffset) { 215 return valueNoise(n + seedOffset); 216} 217 218vec2 getPosition(int i, float t) { 219 float a = float(i) * .37; 220 float b = .6 + fract(float(i) / 3.) * .9; 221 float c = .8 + fract(float(i + 1) / 4.); 222 223 float x = sin(t * b + a); 224 float y = cos(t * c + a * 1.5); 225 226 return .5 + .5 * vec2(x, y); 227} 228 229void main() { 230 vec2 uv = v_objectUV; 231 uv += .5; 232 vec2 grainUV = uv * 1000.; 233 234 float mixerGrain = 0.; 235 if (u_grainMixer > 0.) { 236 mixerGrain = .4 * u_grainMixer * (noise(grainUV, vec2(0.)) - .5); 237 } 238 239 const float firstFrameOffset = 41.5; 240 float t = .5 * (u_time + firstFrameOffset); 241 242 float radius = smoothstep(0., 1., length(uv - .5)); 243 float center = 1. - radius; 244 for (float i = 1.; i <= 2.; i++) { 245 uv.x += u_distortion * center / i * sin(t + i * .4 * smoothstep(.0, 1., uv.y)) * cos(.2 * t + i * 2.4 * smoothstep(.0, 1., uv.y)); 246 uv.y += u_distortion * center / i * cos(t + i * 2. * smoothstep(.0, 1., uv.x)); 247 } 248 249 vec2 uvRotated = uv; 250 uvRotated -= vec2(.5); 251 float angle = 3. * u_swirl * radius; 252 uvRotated = rotate(uvRotated, -angle); 253 uvRotated += vec2(.5); 254 255 vec3 color = vec3(0.); 256 float opacity = 0.; 257 float totalWeight = 0.; 258 259 for (int i = 0; i < 10; i++) { 260 if (i >= int(u_colorsCount)) break; 261 262 vec2 pos = getPosition(i, t) + mixerGrain; 263 vec3 colorFraction = u_colors[i].rgb * u_colors[i].a; 264 float opacityFraction = u_colors[i].a; 265 266 float dist = length(uvRotated - pos); 267 268 dist = pow(dist, 3.5); 269 float weight = 1. / (dist + 1e-3); 270 color += colorFraction * weight; 271 opacity += opacityFraction * weight; 272 totalWeight += weight; 273 } 274 275 color /= max(1e-4, totalWeight); 276 opacity /= max(1e-4, totalWeight); 277 278 if (u_grainOverlay > 0.) { 279 float grainOverlay = valueNoise(rotate(grainUV, 1.) + vec2(3.)); 280 grainOverlay = mix(grainOverlay, valueNoise(rotate(grainUV, 2.) + vec2(-1.)), .5); 281 grainOverlay = pow(grainOverlay, 1.3); 282 283 float grainOverlayV = grainOverlay * 2. - 1.; 284 vec3 grainOverlayColor = vec3(step(0., grainOverlayV)); 285 float grainOverlayStrength = u_grainOverlay * abs(grainOverlayV); 286 grainOverlayStrength = pow(grainOverlayStrength, .8); 287 color = mix(color, grainOverlayColor, .35 * grainOverlayStrength); 288 289 opacity += .5 * grainOverlayStrength; 290 } 291 opacity = clamp(opacity, 0., 1.); 292 293 fragColor = vec4(color, opacity); 294} 295`,b={name:"Default",params:{...h,speed:1,frame:0,colors:["#e0eaff","#241d9a","#f75092","#9f50d3"],distortion:.8,swirl:.1,grainMixer:0,grainOverlay:0}},k=(0,i.memo)(function({speed:e=b.params.speed,frame:i=b.params.frame,colors:r=b.params.colors,distortion:a=b.params.distortion,swirl:s=b.params.swirl,grainMixer:n=b.params.grainMixer,grainOverlay:o=b.params.grainOverlay,fit:l=b.params.fit,rotation:c=b.params.rotation,scale:h=b.params.scale,originX:m=b.params.originX,originY:f=b.params.originY,offsetX:x=b.params.offsetX,offsetY:g=b.params.offsetY,worldWidth:v=b.params.worldWidth,worldHeight:k=b.params.worldHeight,..._}){let w={u_colors:r.map(p),u_colorsCount:r.length,u_distortion:a,u_swirl:s,u_grainMixer:n,u_grainOverlay:o,u_fit:u[l],u_rotation:c,u_scale:h,u_offsetX:x,u_offsetY:g,u_originX:m,u_originY:f,u_worldWidth:v,u_worldHeight:k};return(0,t.jsx)(d,{..._,speed:e,frame:i,fragmentShader:y,uniforms:w})},function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let i in e){if("colors"===i){let i=Array.isArray(e.colors),r=Array.isArray(t.colors);if(!i||!r){if(!1===Object.is(e.colors,t.colors))return!1;continue}if(e.colors?.length!==t.colors?.length||!e.colors?.every((e,i)=>e===t.colors?.[i]))return!1;continue}if(!1===Object.is(e[i],t[i]))return!1}return!0}),_=["#d4b8e8","#c5cdf5","#e8d0f5","#dde4fa","#d0a8e0","#c8d8f8"],w={distortion:1.4,swirl:1.2,grainMixer:.35,grainOverlay:0,offsetX:.08,maxPixelCount:15e5};e.s(["AnimatedGradient",0,function({colors:e=_,fill:r=!1}={}){let a=(0,i.useRef)(null),[s,n]=(0,i.useState)({width:1920,height:1080}),[o,l]=(0,i.useState)(!1),[c,d]=(0,i.useState)(!0),[h,u]=(0,i.useState)(!1);return((0,i.useEffect)(()=>
295{l(!0);let e=()=>n({width:window.innerWidth,height:window.innerHeight});return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,i.useEffect)(()=>{let e=a.current;if(!e)return;let t=new IntersectionObserver(([e])=>d(e.isIntersecting));t.observe(e);let i=window.matchMedia("(prefers-reduced-motion: reduce)");u(i.matches);let r=e=>u(e.matches);return i.addEventListener("change",r),()=>{t.disconnect(),i.removeEventListener("change",r)}},[o]),o)?(0,t.jsx)("div",{ref:a,className:"fade-in",style:{position:"absolute",inset:0,zIndex:0},children:(0,t.jsx)(k,{width:r?"100%":s.width,height:r?"100%":s.height,colors:[...e],...w,speed:c&&!h?.42:0})}):null},"BLUE_PERIWINKLE_COLORS",0,["#c5cdf5","#c8d8f8","#dde4fa","#b6cff2","#d3ddf8","#c0d2f4"],"CORAL_PEACH_COLORS",0,["#f2c0b4","#f6d3b3","#e8c4c4","#f9e0c7","#e5a99c","#f3d0c8"],"GREEN_TEAL_BLUE_COLORS",0,["#c2e8d6","#c0e1e6","#bccdf0","#cdbeed","#b3d9e4","#cfe4dd"],"GREYSCALE_COLORS",0,["#FFFFFF","#FAFAFB","#F4F4F6","#EAEAEE","#E2E2E6","#D8D8DE"],"GREY_BLUE_COLORS",0,["#FFFFFF","#FAFAFB","#F4F5F7","#EFEFF1","#E9ECF2","#E5E5E8"],"ORANGE_LILAC_COLORS",0,["#f6d3b3","#e8d0f5","#d4b8e8","#f9e0c7","#cdb8f0","#f3d9e2"],"PURPLE_LAVENDER_BLUE_COLORS",0,["#cdb8f0","#c5cdf5","#b6cff2","#dde4fa","#a9c7f0","#c8d8f8"],"StaticGradient",0,function({colors:e=_,shape:i}={}){return(0,t.jsx)("div",{style:{position:"absolute",inset:0,zIndex:0},children:(0,t.jsx)(k,{width:"100%",height:"100%",colors:[...e],...w,...i,speed:0})})}],64419)},68877,e=>{"use strict";let t=(0,e.i(56420).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,t],68877)},90410,e=>{"use strict";var t=e.i(43476),i=e.i(71645),r=e.i(22016),a=e.i(64419),s=e.i(85728),n=e.i(36021),o=e.i(62770),l=e.i(67881);e.s(["default",0,function(){let{t:e,lang:c}=(0,s.useLanguage)(),{choices:d,save:h}=(0,n.useConsent)(),u=(0,i.useRef)(null),[p,m]=(0,i.useState)(!1),f=d?.external===!0;return(0,i.useEffect)(()=>{let e=u.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e.isIntersecting&&(m(!0),t.disconnect())},{rootMargin:"0px 0px 800px 0px"});return t.observe(e),()=>t.disconnect()},[]),(0,i.useEffect)(()=>{if(!p||!f||document.getElementById("cal-embed-script"))return;let e=document.createElement("script");e.id="cal-embed-script",e.type="text/javascript",e.innerHTML=` 296 (function (C, A, L) { 297 let p = function (a, ar) { a.q.push(ar); }; 298 let d = C.document; 299 C.Cal = C.Cal || function () { 300 let cal = C.Cal; let ar = arguments; 301 if (!cal.loaded) { 302 cal.ns = {}; cal.q = cal.q || []; 303 d.head.appendChild(d.createElement("script")).src = A; 304 cal.loaded = true; 305 } 306 if (ar[0] === L) { 307 const api = function () { p(api, arguments); }; 308 const namespace = ar[1]; 309 api.q = api.q || []; 310 if (typeof namespace === "string") { 311 cal.ns[namespace] = cal.ns[namespace] || api; 312 p(cal.ns[namespace], ar); 313 p(cal, ["initNamespace", namespace]); 314 } else p(cal, ar); 315 return; 316 } 317 p(cal, ar); 318 }; 319 })(window, "https://app.cal.com/embed/embed.js", "init"); 320 321 Cal("init", "intro", { origin: "https://app.cal.com" }); 322 323 Cal.ns.intro("inline", { 324 elementOrSelector: "#my-cal-inline-intro", 325 config: { layout: "month_view", theme: "light" }, 326 calLink: "hannes-wagner-fairoo/intro", 327 }); 328 329 Cal.ns.intro("ui", { 330 theme: "light", 331 hideEventTypeDetails: false, 332 layout: "month_view", 333 }); 334 `,document.body.appendChild(e)},[p,f]),(0,t.jsxs)("section",{id:"booking",ref:u,className:"max-md:px-5! max-md:py-20!",style:{position:"relative",overflow:"hidden",background:"transparent",padding:"var(--space-section) 0",scrollMarginTop:"80px"},children:[(0,t.jsx)(a.StaticGradient,{}),(0,t.jsxs)("div",{className:"max-md:px-0!",style:{position:"relative",zIndex:1,maxWidth:"var(--content-max)",margin:"0 auto",padding:"0 40px"},children:[(0,t.jsxs)("div",{className:"max-md:mb-10!",style:{maxWidth:"800px",marginBottom:"56px"},children:[(0,t.jsx)("p",{className:"eyebrow",style:{margin:"0 0 var(--space-eyebrow)"},children:e.booking.eyebrow}),(0,t.jsx)("h2",{className:"t-h2",style:{color:"var(--color-ink)",margin:"0 0 20px"},children:e.booking.heading}),(0,t.jsx)("p",{className:"t-body",style:{color:"var(--color-ink-secondary)",margin:0},children:e.booking.body})]}),f?(0,t.jsx)("div",{id:"my-cal-inline-intro",className:"relative max-md:h-auto! max-md:min-h-[600px]! max-md:overflow-visible! max-md:max-w-full! [&:has(cal-inline[loading=done])>div]:hidden!",style:{width:"100%",height:"700px",overflow:"scroll"},children:(0,t.jsx)("div",{"aria-hidden":"true",style:{position:"absolute",inset:0,zIndex:1,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(255, 255, 255, 0.5)",border:"1px solid rgba(255, 255, 255, 0.7)",borderRadius:"var(--radius-md)"},children:(0,t.jsx)("div",{className:"animate-spin",style:{width:"36px",height:"36px",borderRadius:"50%",border:"3px solid rgba(20, 20, 25, 0.15)",borderTopColor:"#141419"}})})}):(0,t.jsxs)("div",{className:"max-md:p-6!",style:{width:"100%",minHeight:"420px",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",gap:"12px",padding:"48px 40px",background:"rgba(255, 255, 255, 0.6)",border:"1px solid rgba(255, 255, 255, 0.8)",borderRadius:"var(--radius-md)"},children:[(0,t.jsx)("p",{className:"t-h4",style:{color:"var(--color-ink)",margin:0},children:e.booking.consent.heading}),(0,t.jsxs)("p",{className:"t-small",style:{color:"var(--color-ink-secondary)",lineHeight:1.6,maxWidth:"52ch",margin:0},children:[e.booking.consent.body," ",(0,t.jsx)(r.default,{href:(0,o.localizeHref)("/datenschutz",c),style:{color:"var(--color-ink)",textDecoration:"underline",textUnderlineOffset:"3px"},children:e.booking.consent.privacyLabel}),"."]}),(0,t.jsx)(l.Button,{size:"sm",onClick:()=>h({statistics:d?.statistics??!1,external:!0}),style:{marginTop:"8px"},children:e.booking.consent.button})]})]})]})}])},86955,e=>{"use strict";var t=e.i(43476);let i={background:"var(--color-surface-muted)",borderRadius:"12px"};e.s(["default",0,function({quote:e,photoStyle:r,quoteStyle:a}){let s=e.text.split("\n\n");return(0,t.jsxs)("div",{className:"max-md:grid-cols-1!",style:{display:"grid",gridTemplateColumns:"0.8fr 2fr",gap:"16px"},children:[(0,t.jsx)("div",{className:"max-md:p-6!",style:{...i,padding:"48px",display:"flex",alignItems:"center",justifyContent:"center",...r},children:(0,t.jsx)("img",{src:e.image,alt:e.author,style:{display:"block",width:"100%",height:"100%",objectFit:"contain"}})}),(0,t.jsxs)("div",{className:"max-md:p-6!",style:{...i,padding:"32px 48px",display:"flex",flexDirection:"column",justifyContent:"center",...a},children:[(0,t.jsx)("div",{children:s.map((e,i)=>(0,t.jsxs)("p",{className:"t-h3",style:{color:"var(--color-ink)",fontWeight:400,margin:0===i?"0 0 1.25rem":0},children:[0===i?"â":"",e,i===s.length-1?"â":""]},i))}),(0,t.jsxs)("p",{className:"eyebrow",style:{margin:"40px 0 0"},children:[e.author,", ",e.role]})]})]})}])},89664,e=>{"use strict";let t=(0,e.i(56420).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],89664)},42521,e=>{"use strict";var t=e.i(43476),i=e.i(71645),r=e.i(85728);let a=[{numericTarget:22e6,format:(e,t)=>
334"de"===t?`${e.toLocaleString("de-DE")} â¬`:`â¬${e.toLocaleString("en-US")}`},{numericTarget:26,format:e=>`${e}`},{numericTarget:2e5,format:(e,t)=>`${e.toLocaleString("de"===t?"de-DE":"en-US")} m\xb2`},{numericTarget:2e4,format:(e,t)=>e.toLocaleString("de"===t?"de-DE":"en-US")}];function s({def:e,label:r,lang:a,visible:n,delay:o}){let l=function(e,t){let[r,a]=(0,i.useState)(e);return(0,i.useEffect)(()=>{if(!t)return;let i=null,r=t=>{i||(i=t);let s=Math.min((t-i)/1400,1);a(Math.floor((1-Math.pow(1-s,4))*e)),s<1?requestAnimationFrame(r):a(e)};requestAnimationFrame(r)},[t,e,1400]),r}(e.numericTarget,n);return(0,t.jsxs)("div",{className:"max-md:text-left!",style:{textAlign:"center",opacity:+!!n,transform:n?"translateY(0)":"translateY(12px)",transition:`opacity 0.5s cubic-bezier(0.22,1,0.36,1) ${o}ms, 335 transform 0.5s cubic-bezier(0.22,1,0.36,1) ${o}ms`},children:[(0,t.jsx)("div",{className:"t-h3 max-md:[color:var(--color-ink)]!",style:{color:"var(--color-ink-muted)",marginBottom:"6px"},children:e.format(l,a)}),(0,t.jsx)("div",{className:"t-caption",style:{fontWeight:500,color:"var(--color-ink-secondary)"},children:r})]})}e.s(["default",0,function(){let{t:e,lang:n}=(0,r.useLanguage)(),o=(0,i.useRef)(null),[l,c]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=o.current;if(!e)return;let t=new IntersectionObserver(([e])=>{e.isIntersecting&&(c(!0),t.disconnect())},{threshold:.3});return t.observe(e),()=>t.disconnect()},[]),(0,t.jsxs)("section",{ref:o,style:{background:"#FFFFFF",padding:"48px 0 56px"},children:[(0,t.jsx)("style",{children:` 336 @keyframes logo-marquee { 337 from { transform: translateX(0); } 338 to { transform: translateX(-50%); } 339 } 340 `}),(0,t.jsxs)("div",{className:"max-md:px-5!",style:{maxWidth:"var(--content-max)",margin:"0 auto",padding:"0 40px"},children:[(0,t.jsx)("p",{className:"eyebrow max-md:mb-10! max-md:text-left!",style:{textAlign:"center",marginBottom:"52px"},children:e.trustedBy.label}),(0,t.jsx)("div",{className:"max-md:grid-cols-2! max-md:gap-x-4! max-md:gap-y-8! max-md:mt-10!",style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:"0 32px",marginTop:"48px"},children:a.map((i,r)=>(0,t.jsx)(s,{def:i,label:e.trustedBy.stats[r].label,lang:n,visible:l,delay:80*r},r))})]})]})}])},18241,e=>{"use strict";var t=e.i(43476),i=e.i(68877),r=e.i(67881),a=e.i(64419),s=e.i(62770);e.s(["default",0,function({eyebrow:e,headline:n,lead:o,ctaPrimary:l,ctaSecondary:c,ctaSecondaryHref:d="#features",image:h,gradientColors:u=a.GREY_BLUE_COLORS}){return(0,t.jsxs)("section",{className:"max-md:h-svh! max-md:flex! max-md:flex-col!",style:{position:"relative",overflow:"hidden",background:"transparent",minHeight:"100vh"},children:[(0,t.jsx)("div",{className:"max-md:h-full!",style:{position:"absolute",top:0,left:0,right:0,height:"100vh",overflow:"hidden",zIndex:0},children:(0,t.jsx)(a.AnimatedGradient,{colors:u,fill:!0})}),(0,t.jsxs)("div",{className:"max-md:items-start! max-md:text-left! max-md:px-5! max-md:pt-24! max-md:pb-6! max-md:h-full!",style:{position:"relative",zIndex:1,maxWidth:"var(--content-max)",width:"100%",margin:"0 auto",padding:"160px 40px 0",display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center"},children:[e&&(0,t.jsx)("p",{className:"eyebrow",style:{margin:"0 0 1.5rem",letterSpacing:"0.04em"},children:e}),(0,t.jsx)("h1",{className:"t-h1",style:{color:"var(--color-ink)",margin:0,maxWidth:"1060px"},children:n}),(0,t.jsx)("div",{className:"max-md:min-h-16",style:{flex:1}}),(0,t.jsx)("p",{className:"t-lead md:text-[1.1875rem]!",style:{color:"var(--color-ink-secondary)",fontWeight:400,letterSpacing:"0.01em",margin:"2rem 0 0",maxWidth:"960px",fontSize:"clamp(1.125rem, 1.063rem + 0.264vw, 1.3125rem)"},children:o}),(0,t.jsxs)("div",{className:"max-md:w-full!",style:{display:"flex",gap:"12px",flexWrap:"wrap",justifyContent:"center",marginTop:"3rem"},children:[(0,t.jsx)(r.Button,{size:"lg",asChild:!0,className:"max-md:w-full",children:(0,t.jsxs)("a",{href:s.BOOKING_URL,target:"_blank",rel:"noopener noreferrer",children:[l," ",(0,t.jsx)(i.ArrowRight,{})]})}),(0,t.jsx)(r.Button,{size:"lg",variant:"outline",asChild:!0,className:"max-md:w-full",children:(0,t.jsx)("a",{href:d,children:c})})]})]}),(0,t.jsx)("div",{className:"max-md:hidden!",style:{position:"relative",zIndex:1,maxWidth:"var(--content-max)",width:"100%",margin:"120px auto 0",padding:"0 40px"},children:(0,t.jsx)("div",{style:{borderRadius:"16px",border:"1px solid rgba(20,20,26,0.08)",boxShadow:"0 0 40px rgba(20,20,26,0.06), 0 0 12px rgba(20,20,26,0.035)",background:"var(--color-surface)",padding:"8px"},children:(0,t.jsx)("img",{src:h,alt:n,fetchPriority:"high",decoding:"async",style:{display:"block",width:"100%",height:"auto",borderRadius:"8px",border:"1px solid rgba(20,20,26,0.08)",boxShadow:"0 0 16px rgba(20,20,26,0.07)"}})})})]})}])},46868,e=>{"use strict";var t=e.i(43476),i=e.i(71645),r=e.i(56420);let a=(0,r.default)("file-pen-line",[["path",{d:"M14.364 13.634a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506l4.013-4.009a1 1 0 0 0-3.004-3.004z",key:"ukzhwg"}],["path",{d:"M14.487 7.858A1 1 0 0 1 14 7V2",key:"1klhew"}],["path",{d:"M20 19.645V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l2.516 2.516",key:"rxaxab"}],["path",{d:"M8 18h1",key:"13wk12"}]]),s=(0,r.default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),n=(0,r.default)("bell-ring",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6",key:"5bb3ad"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8",key:"tap9e0"}]]),o=(0,r.default)("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",ke
340y:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]),l=(0,r.default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),c=(0,r.default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]),d=(0,r.default)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]),h=(0,r.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]),u=(0,r.default)("fingerprint-pattern",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]]),p=(0,r.default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]),m=(0,r.default)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]),f=(0,r.default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
340],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]),x=(0,r.default)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]),g=(0,r.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),v=(0,r.default)("hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]),y=(0,r.default)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]),b=(0,r.default)("table",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]]),k=(0,r.default)("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]),_=(0,r.default)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]),w=(0,r.default)("kanban",[["path",{d:"M5 3v14",key:"9nsxs2"}],["path",{d:"M12 3v8",key:"1h2ygw"}],["path",{d:"M19 3v18",key:"1sk56x"}]]),S=(0,r.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),R=(0,r.default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),E=(0,r.default)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]),M=(0,r.default)("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]),j=(0,r.default)("tags",[["path",{d:"M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z",key:"16rjxf"}],["path",{d:"M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193",key:"178nd4"}],["circle",{cx:"10.5",cy:"6.5",r:".5",fill:"currentColor",key:"12ikhr"}]]),A=(0,r.default)("coins",[["path",{d:"M13.744 17.736a6 6 0 1 1-7.48-7.48",key:"bq4yh3"}],["path",{d:"M15 6h1v4",key:"11y1tn"}],["path",{d:"m6.134 14.768.866-.5 2 3.464",key:"17snzx"}],["circle",{cx:"16",cy:"8",r:"6",key:"14bfc9"}]]),z=(0,r.default)("images",[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",key:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]]),U=(0,r.default)("mail-check",[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]]),B=(0,r.default)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]),O=(0,r.default)("sliders-horizontal",[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}
340],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]]),C=(0,r.default)("scroll-text",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]]),L=(0,r.default)("badge-check",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),I=(0,r.default)("combine",[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]]),N=(0,r.default)("clipboard-check",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]),T=(0,r.default)("signature",[["path",{d:"m21 17-2.156-1.868A.5.5 0 0 0 18 15.5v.5a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1c0-2.545-3.991-3.97-8.5-4a1 1 0 0 0 0 5c4.153 0 4.745-11.295 5.708-13.5a2.5 2.5 0 1 1 3.31 3.284",key:"y32ogt"}],["path",{d:"M3 21h18",key:"itz85i"}]]),V=(0,r.default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),F=[[U,B,O,g,C,L],[l,c,d],[h,u,p],[m,f,x],[h,d,g,v,y,b],[n,k,_,o,d,S],[I,w,k,S,R,E],[M,j,A,z,s,_],[N,n,k,s,T,p],[V,a,A,(0,r.default)("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]),T,s],[s,k,o,V,d,y]];e.s(["default",0,function({heading:e,subheading:r,items:a,moduleIndex:s,iconSetIndex:n}){let o=(0,i.useRef)(null),[l,c]=(0,i.useState)(!1),d=F[n??s]??F[0];return(0,i.useEffect)(()=>{let e=new IntersectionObserver(([e])=>{e.isIntersecting&&c(!0)},{threshold:.1});return o.current&&e.observe(o.current),()=>e.disconnect()},[]),(0,t.jsx)("section",{id:"features",ref:o,className:"max-md:px-5!",style:{background:"var(--color-surface)",padding:"var(--space-section) 0"},children:(0,t.jsxs)("div",{className:"max-md:px-0!",style:{maxWidth:"var(--content-max)",margin:"0 auto",padding:"0 40px"},children:[(0,t.jsxs)("div",{style:{marginBottom:"64px",opacity:+!!l,transform:l?"translateY(0)":"translateY(16px)",transition:"opacity 0.5s cubic-bezier(0.22,1,0.36,1), transform 0.5s cubic-bezier(0.22,1,0.36,1)"},children:[(0,t.jsx)("h2",{className:"t-h2",style:{color:"var(--color-ink)",margin:0,maxWidth:"28ch"},children:e}),(0,t.jsx)("p",{className:"t-lead",style:{color:"var(--color-ink-secondary)",margin:"12px 0 0",maxWidth:"48ch"},children:r})]}),(0,t.jsx)("div",{className:"max-md:grid-cols-1!",style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",columnGap:"40px",rowGap:"56px"},children:a.map((e,i)=>{let r=d[i];return(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"16px",opacity:+!!l,transform:l?"translateY(0)":"translateY(20px)",transition:`opacity 0.5s cubic-bezier(0.22,1,0.36,1) ${80*i}ms, transform 0.5s cubic-bezier(0.22,1,0.36,1) ${80*i}ms`},children:[r&&(0,t.jsx)(r,{size:28,color:"var(--color-ink)",strokeWidth:1.5}),(0,t.jsx)("h3",{className:"t-h4",style:{color:"var(--color-ink)",margin:0},children:e.title}),(0,t.jsx)("p",{className:"t-body",style:{color:"var(--color-ink-tertiary)",margin:0,maxWidth:"36ch"},children:e.body})]},e.title)})})]})})}],46868)},81845,e=>{"use strict";var t=e.i(43476),i=e.i(71645),r=e.i(89664),a=e.i(67881),s=e.i(64419),n=e.i(85728),o=e.i(62770);let l=[{distortion:1.4,swirl:1.2,rotation:0,offsetX:.08,offsetY:0,scale:1},{distortion:.8,swirl:2.4,rotation:140,offsetX:-.2,offsetY:.15,scale:1.25},{distortion:2,swirl:.5,rotation:255,offsetX:.22,offsetY:-.18,scale:.85}];function c({item:e,index:d,gradientColors:h,replaceImagesWithGradient:u}){let p=(0,i.useRef)(null),[m,f]=(0,i.useState)(!1),{lang:x}=(0,n.useLanguage)(),g=d%2==1;(0,i.useEffect)(()=>{let e=new IntersectionObserver(([e])=>{e.isIntersecting&&f(!0)},{threshold:.15});return p.current&&e.observe(p.current),()=>e.disconnect()},[]);let v="cubic-bezier(0.22,1,0.36,1)",y=(0,t.jsxs)("div",{className:"max-md:order-1",style:{opacity:+!!m,transform:m?"translateX(0)":`translateX(${g?"24px":"-24px"})`,transition:`opacity 0.6s ${v}, transform 0.6s ${v}`},children:[(0,t.jsx)("h2",{className:"t-h3",style:{color:"var(--color-ink)",margin:"0 0 1rem"},children:e.title}),(0,t.jsx)("p",{className:"t-lead",style:{color:"var(--color-ink-tertiary)",margin:"0 0 1.75rem"},children:e.body}),(0,t.jsx)("ul",{style:{listStyle:"none",padding:0,margin:"0 0 2.25rem",display:"flex",flexDirection:"column",gap:"12px"},children:e.bullets.map(e=>(0,t.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[(0,t.jsx)(r.Check,{size:18,color:"var(--color-ink)",strokeWidth:1.75,style:{flexShrink:0}}),(0,t.jsx)("span",{className:"t-body",style:{color:"var(--color-ink)"},children:e})]},e))}),(0,t.jsx)(a.Button,{size:"default",variant:d%2==1?"outline":"default",asChild:!0,children:(0,t.jsx)("a",{href:(0,o.isBookingHref)(e.ctaHref)?o.BOOKING_URL:(0,o.localizeHref)(e.ctaHref,x),...(0,o.isBookingHref)(e.ctaHref)&&{target:"_blank",rel:"noopener noreferrer"},children:e.ctaLabel})})]}),b=(0,t.jsx)("div",{className:"max-md:order-2",style:{opacity:+!!m,transform:m?"translateY(0)":"translateY(28px)",transition:`opacity 0.7s ${v} 80ms, transform 0.7s ${v} 80ms`},children:(0,t.jsx)("div",{style:{position:"relative",borderRadius:"8px",border:"1px solid var(--color-border)",overflow:"hidden",aspectRatio:"4 / 3"},children:!e.image||e.image.includes("placeholder")||u?(0,t.jsx)(s.StaticGradient,{colors:h,shape:l[d%l.length]}):(0,t.jsx)("img",{src:e.image,alt:e.title,loading:"lazy",decoding:"async",style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover"}})})});return(0,t.jsx)("div",{ref:p,className:"max-md:grid-cols-1! max-md:gap-8!",style:{display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",gap:"72px",alignItems:"center"},children:g?(0,t.jsxs)(t.Fragment,{children:[b,y]}):(0,t.jsxs)(t.Fragment,{children:[y,b]})})}e.s(["default",0,function({items:e,gradientColors:i,replaceImagesWithGradient:r}){return(0,t.jsx)("section",{className:"max-md:px-5!",style:{background:"var(--color-surface)",padding:"var(--space-section) 40px"}
340,children:(0,t.jsx)("div",{className:"max-md:px-0!",style:{maxWidth:"var(--content-max)",margin:"0 auto",padding:"0 40px"},children:(0,t.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"calc(var(--space-section) + 64px)"},children:e.map((e,a)=>(0,t.jsx)(c,{item:e,index:a,gradientColors:i,replaceImagesWithGradient:r},e.title))})})})}])},72623,28180,e=>{"use strict";var t=e.i(43476),i=e.i(71645),r=e.i(86955);let a={background:"var(--color-surface-muted)",borderRadius:"12px"};e.s(["default",0,function({quote:e,items:s}){let n=(0,i.useRef)(null),[o,l]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=new IntersectionObserver(([e])=>{e.isIntersecting&&l(!0)},{threshold:.1});return n.current&&e.observe(n.current),()=>e.disconnect()},[]);let c="cubic-bezier(0.22,1,0.36,1)",d=e=>({opacity:+!!o,transform:o?"translateY(0)":"translateY(20px)",transition:`opacity 0.5s ${c} ${80*e}ms, transform 0.5s ${c} ${80*e}ms`}),h=2*!!e;return(0,t.jsx)("section",{id:"vorteile",ref:n,className:"max-md:px-5!",style:{background:"var(--color-surface)",padding:"var(--space-section) 40px"},children:(0,t.jsxs)("div",{className:"max-md:px-0!",style:{maxWidth:"var(--content-max)",margin:"0 auto",padding:"0 40px",display:"flex",flexDirection:"column",gap:"16px"},children:[e&&(0,t.jsx)(r.default,{quote:e,photoStyle:d(0),quoteStyle:d(1)}),(0,t.jsx)("div",{className:"max-md:grid-cols-1!",style:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"16px"},children:s.map((e,i)=>(0,t.jsxs)("div",{className:"max-md:p-6!",style:{...a,padding:"48px",...d(h+i)},children:[(0,t.jsx)("p",{className:"eyebrow",style:{marginBottom:"20px"},children:e.title}),(0,t.jsx)("p",{className:"t-lead",style:{color:"var(--color-ink)",margin:0},children:e.body})]},e.title))})]})})}],72623);var s=e.i(22016),n=e.i(68877),o=e.i(85728),l=e.i(62770);function c({item:e,visible:r,delay:a}){let[s,n]=(0,i.useState)(!1),o="cubic-bezier(0.22,1,0.36,1)";return(0,t.jsxs)("div",{style:{borderTop:"1px solid var(--color-border)",opacity:+!!r,transform:r?"translateY(0)":"translateY(12px)",transition:`opacity 0.5s ${o} ${a}ms, transform 0.5s ${o} ${a}ms`},children:[(0,t.jsxs)("button",{onClick:()=>n(!s),style:{width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center",gap:"24px",padding:"20px 0",background:"none",border:"none",cursor:"pointer",textAlign:"left"},"aria-expanded":s,children:[(0,t.jsx)("span",{className:"t-h4",style:{color:"var(--color-ink)"},children:e.q}),(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{flexShrink:0,color:"var(--color-ink-secondary)",transition:`transform 0.3s ${o}`,transform:s?"rotate(180deg)":"rotate(0deg)"},children:(0,t.jsx)("path",{d:"M4.5 6.75L9 11.25L13.5 6.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,t.jsx)("div",{style:{overflow:"hidden",maxHeight:s?"600px":"0",transition:`max-height 0.4s ${o}`},children:(0,t.jsx)("p",{className:"t-body",style:{color:"var(--color-ink-tertiary)",margin:"0 0 24px"},children:e.a})})]})}e.s(["default",0,function({eyebrow:e,heading:r,items:a}){let{t:d,lang:h}=(0,o.useLanguage)(),u=(0,i.useRef)(null),[p,m]=(0,i.useState)(!1),f="cubic-bezier(0.22,1,0.36,1)";return(0,i.useEffect)(()=>{let e=new IntersectionObserver(([e])=>{e.isIntersecting&&m(!0)},{threshold:.1});return u.current&&e.observe(u.current),()=>e.disconnect()},[]),(0,t.jsx)("section",{ref:u,className:"max-md:px-5!",style:{background:"var(--color-surface)",padding:"var(--space-section) 40px"},children:(0,t.jsxs)("div",{className:"max-md:px-0!",style:{maxWidth:"var(--content-max)",margin:"0 auto",padding:"0 40px"},children:[(0,t.jsxs)("div",{style:{marginBottom:"40px"},children:[(0,t.jsx)("p",{className:"eyebrow",style:{margin:"0 0 var(--space-eyebrow)",opacity:+!!p,transition:`opacity 0.5s ${f}`},children:e}),(0,t.jsx)("h2",{className:"t-h2",style:{color:"var(--color-ink)",margin:0,maxWidth:"24ch",opacity:+!!p,transform:p?"translateY(0)":"translateY(16px)",transition:`opacity 0.5s ${f} 60ms, transform 0.5s ${f} 60ms`},children:r})]}),(0,t.jsx)("div",{style:{borderBottom:"1px solid var(--color-border)"},children:a.map((e,i)=>(0,t.jsx)(c,{item:e,visible:p,delay:80+40*i},e.q))}),(0,t.jsxs)(s.default,{href:(0,l.localizeHref)("/faq",h),className:"t-body-sm text-[var(--color-ink)] hover:text-[var(--color-accent)] transition-colors",style:{display:"inline-flex",alignItems:"center",gap:"6px",marginTop:"28px",fontWeight:500,textDecoration:"none",opacity:+!!p,transition:`opacity 0.5s ${f} ${120+40*a.length}ms, color var(--dur-fast)`},children:[(0,t.jsx)(n.ArrowRight,{size:15}),d.faqPage.allLink]})]})})}],28180)}]);
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.