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B,KACpBhC,GACFA,CAAAA,EAAY2C,cAAc,CAAGR,CAAAA,EAExB,KACDnC,GACFA,CAAAA,EAAY2C,cAAc,CAAGR,CAAAA,CAEjC,IAGFD,EAAoB,KACdlC,GAAeA,EAAY2C,cAAc,GAC3C3C,EAAY2C,cAAc,GAC1B3C,EAAY2C,cAAc,CAAG,MAExB,KACD3C,GAAeA,EAAY2C,cAAc,GAC3C3C,EAAY2C,cAAc,GAC1B3C,EAAY2C,cAAc,CAAG,KAEjC,IAGK,IACT","sources":["webpack://_N_E/./node_modules/next/dist/api/image.js","webpack://_N_E/./node_modules/next-image-export-optimizer/dist/ExportedImage.js","webpack://_N_E/../../src/client/image-component.tsx","webpack://_N_E/../../../src/shared/lib/amp-context.shared-runtime.ts","webpack://_N_E/../../../src/shared/lib/amp-mode.ts","webpack://_N_E/../../../src/shared/lib/get-img-props.ts","webpack://_N_E/../../../src/shared/lib/head.tsx","webpack://_N_E/../../../src/shared/lib/image-blur-svg.ts","webpack://_N_E/../../../src/shared/lib/image-config-context.shared-runtime.ts","webpack://_N_E/../../../src/shared/lib/image-config.ts","webpack://_N_E/../../../src/shared/lib/image-external.tsx","webpack://_N_E/../../../src/shared/lib/image-loader.ts","webpack://_N_E/../../../src/shared/lib/side-effect.tsx"],"sourcesContent":["export { default } from \"../shared/lib/image-external\";\nexport * from \"../shared/lib/image-external\";\n\n//# sourceMappingURL=image.js.map","\"use client\";\nimport Image from \"next/image\";\nimport React, { forwardRef, useMemo, useState } from \"react\";\nconst splitFilePath = ({ filePath }) => {\n const filenameWithExtension = filePath.split(\"\\\\\").pop()?.split(\"/\").pop() || \"\";\n const filePathWithoutFilename = filePath.split(filenameWithExtension).shift();\n const fileExtension = filePath.split(\".\").pop();\n const filenameWithoutExtension = filenameWithExtension.substring(0, filenameWithExtension.lastIndexOf(\".\")) || filenameWithExtension;\n return {\n path: filePathWithoutFilename,\n filename: filenameWithoutExtension,\n extension: fileExtension || \"\",\n };\n};\nconst generateImageURL = (src, width, basePath, isRemoteImage = false) => {\n const { filename, path, extension } = splitFilePath({ filePath: src });\n const useWebp = process.env.nextImageExportOptimizer_storePicturesInWEBP != undefined\n ? process.env.nextImageExportOptimizer_storePicturesInWEBP == \"true\"\n : true;\n if (![\"JPG\", \"JPEG\", \"WEBP\", \"PNG\", \"AVIF\", \"GIF\"].includes(extension.toUpperCase())) {\n // The images has an unsupported extension\n // We will return the src\n return src;\n }\n // If the images are stored as WEBP by the package, then we should change\n // the extension to WEBP to load them correctly\n let processedExtension = extension;\n if (useWebp &&\n [\"JPG\", \"JPEG\", \"PNG\", \"GIF\"].includes(extension.toUpperCase())) {\n processedExtension = \"WEBP\";\n }\n let correctedPath = path;\n const lastChar = correctedPath?.substr(-1); // Selects the last character\n if (lastChar != \"/\") {\n // If the last character is not a slash\n correctedPath = correctedPath + \"/\"; // Append a slash to it.\n }\n const isStaticImage = src.includes(\"_next/static/media\");\n if (basePath) {\n if (basePath.endsWith(\"/\") &&\n correctedPath &&\n correctedPath.startsWith(\"/\")) {\n correctedPath = basePath + correctedPath.slice(1);\n }\n else if (!basePath.endsWith(\"/\") &&\n correctedPath &&\n !correctedPath.startsWith(\"/\")) {\n correctedPath = basePath + \"/\" + correctedPath;\n }\n else {\n correctedPath = basePath + correctedPath;\n }\n }\n const exportFolderName = process.env.nextImageExportOptimizer_exportFolderName ||\n \"nextImageExportOptimizer\";\n const basePathPrefixForStaticImages = basePath ? basePath + \"/\" : \"\";\n let generatedImageURL = `${isStaticImage ? basePathPrefixForStaticImages : correctedPath}${exportFolderName}/${filename}-opt-${width}.${processedExtension.toUpperCase()}`;\n // if the generatedImageURL is not starting with a slash, then we add one as long as it is not a remote image\n if (!isRemoteImage && generatedImageURL.charAt(0) !== \"/\") {\n generatedImageURL = \"/\" + generatedImageURL;\n }\n return generatedImageURL;\n};\nfunction urlToFilename(url) {\n // Remove the protocol from the URL\n let filename = url.replace(/^(https?|ftp):\\/\\//, \"\");\n // Replace special characters with underscores\n filename = filename.replace(/[/\\\\:*?\"<>|#%]/g, \"_\");\n // Remove control characters\n // eslint-disable-next-line no-control-regex\n filename = filename.replace(/[\\x00-\\x1F\\x7F]/g, \"\");\n // Trim any leading or trailing spaces\n filename = filename.trim();\n return filename;\n}\nconst imageURLForRemoteImage = ({ src, width, basePath, }) => {\n const encodedSrc = urlToFilename(src);\n return generateImageURL(encodedSrc, width, basePath, true);\n};\nconst optimizedLoader = ({ src, width, basePath, }) => {\n const isStaticImage = typeof src === \"object\";\n const _src = isStaticImage ? src.src : src;\n const originalImageWidth = (isStaticImage && src.width) || undefined;\n // if it is a static image, we can use the width of the original image to generate a reduced srcset that returns\n // the same image url for widths that are larger than the original image\n if (isStaticImage && originalImageWidth && width > originalImageWidth) {\n const deviceSizes = process.env.__NEXT_IMAGE_OPTS?.deviceSizes || [\n 640, 750, 828, 1080, 1200, 1920, 2048, 3840,\n ];\n const imageSizes = process.env.__NEXT_IMAGE_OPTS?.imageSizes || [\n 16, 32, 48, 64, 96, 128, 256, 384,\n ];\n const allSizes = [...deviceSizes, ...imageSizes];\n // only use the width if it is smaller or equal to the next size in the allSizes array\n let nextLargestSize = null;\n for (let i = 0; i < allSizes.length; i++) {\n if (Number(allSizes[i]) >= originalImageWidth &&\n (nextLargestSize === null || Number(allSizes[i]) < nextLargestSize)) {\n nextLargestSize = Number(allSizes[i]);\n }\n }\n if (nextLargestSize !== null) {\n return generateImageURL(_src, nextLargestSize, basePath);\n }\n }\n // Check if the image is a remote image (starts with http or https)\n if (_src.startsWith(\"http\")) {\n return imageURLForRemoteImage({ src: _src, width, basePath });\n }\n return generateImageURL(_src, width, basePath);\n};\nconst fallbackLoader = ({ src }) => {\n let _src = typeof src === \"object\" ? src.src : src;\n const isRemoteImage = _src.startsWith(\"http\");\n // if the _src does not start with a slash, then we add one as long as it is not a remote image\n if (!isRemoteImage && _src.charAt(0) !== \"/\") {\n _src = \"/\" + _src;\n }\n return _src;\n};\nconst ExportedImage = forwardRef(({ src, priority = false, loading, className, width, height, onLoad, unoptimized, placeholder = \"blur\", basePath = \"\", alt = \"\", blurDataURL, style, onError, ...rest }, ref) => {\n const [imageError, setImageError] = useState(false);\n const automaticallyCalculatedBlurDataURL = useMemo(() => {\n if (blurDataURL) {\n // use the user provided blurDataURL if present\n return blurDataURL;\n }\n // check if the src is specified as a local file -> then it is an object\n const isStaticImage = typeof src === \"object\";\n let _src = isStaticImage ? src.src : src;\n if (unoptimized === true) {\n // return the src image when unoptimized\n return _src;\n }\n // Check if the image is a remote image (starts with http or https)\n if (_src.startsWith(\"http\")) {\n return imageURLForRemoteImage({ src: _src, width: 10, basePath });\n }\n // otherwise use the generated image of 10px width as a blurDataURL\n return generateImageURL(_src, 10, basePath);\n }, [blurDataURL, src, unoptimized, basePath]);\n // check if the src is a SVG image -> then we should not use the blurDataURL and use unoptimized\n const isSVG = typeof src === \"object\" ? src.src.endsWith(\".svg\") : src.endsWith(\".svg\");\n const [blurComplete, setBlurComplete] = useState(false);\n // Currently, we have to handle the blurDataURL ourselves as the new Image component\n // is expecting a base64 encoded string, but the generated blurDataURL is a normal URL\n const blurStyle = placeholder === \"blur\" &&\n !isSVG &&\n automaticallyCalculatedBlurDataURL &&\n automaticallyCalculatedBlurDataURL.startsWith(\"/\") &&\n !blurComplete\n ? {\n backgroundSize: style?.objectFit || \"cover\",\n backgroundPosition: style?.objectPosition || \"50% 50%\",\n backgroundRepeat: \"no-repeat\",\n backgroundImage: `url(\"${automaticallyCalculatedBlurDataURL}\")`,\n }\n : undefined;\n const isStaticImage = typeof src === \"object\";\n let _src = isStaticImage ? src.src : src;\n if (basePath && !isStaticImage && _src.startsWith(\"/\")) {\n _src = basePath + _src;\n }\n if (basePath && !isStaticImage && !_src.startsWith(\"/\")) {\n _src = basePath + \"/\" + _src;\n }\n return (React.createElement(Image, { ref: ref, alt: alt, ...rest, ...(width && { width }), ...(height && { height }), ...(loading && { loading }), ...(className && { className }), ...(onLoad && { onLoad }), ...(placeholder && {\n placeholder: blurStyle || blurComplete ? \"empty\" : placeholder,\n }), ...(unoptimized && { unoptimized }), ...(priority && { priority }), ...(isSVG && { unoptimized: true }), style: { ...style, ...blurStyle }, loader: imageError || unoptimized === true\n ? fallbackLoader\n : (e) => optimizedLoader({ src, width: e.width, basePath }), blurDataURL: automaticallyCalculatedBlurDataURL, onError: (error) => {\n setImageError(true);\n setBlurComplete(true);\n // execute the onError function if provided\n onError && onError(error);\n }, onLoad: (e) => {\n // for some configurations, the onError handler is not called on an error occurrence\n // so we need to check if the image is loaded correctly\n const target = e.target;\n if (target.naturalWidth === 0) {\n // Broken image, fall back to unoptimized (meaning the original image src)\n setImageError(true);\n }\n setBlurComplete(true);\n // execute the onLoad callback if present\n onLoad && onLoad(e);\n }, src: isStaticImage ? src : _src }));\n});\nExportedImage.displayName = \"ExportedImage\";\nexport default ExportedImage;\n"],"names":["splitFilePath","filePath","param","filenameWithExtension","split","pop","filePathWithoutFilename","shift","fileExtension","path","filename","substring","lastIndexOf","extension","generateImageURL","src","width","basePath","isRemoteImage","includes","toUpperCase","processedExtension","correctedPath","substr","isStaticImage","endsWith","startsWith","slice","generatedImageURL","exportFolderName","process","concat","charAt","imageURLForRemoteImage","replace","trim","optimizedLoader","_src","originalImageWidth","undefined","allSizes","nextLargestSize","i","length","Number","fallbackLoader","ExportedImage","forwardRef","ref","priority","loading","className","height","onLoad","unoptimized","placeholder","alt","blurDataURL","style","onError","rest","imageError","setImageError","useState","automaticallyCalculatedBlurDataURL","useMemo","isSVG","blurComplete","setBlurComplete","blurStyle","backgroundSize","objectFit","backgroundPosition","objectPosition","backgroundRepeat","backgroundImage","React","Image","loader","e","error","target","naturalWidth","displayName","dist_ExportedImage","_","require","_imageloader","_interop_require_default","configEnv","window","handleLoading","img","onLoadingCompleteRef","sizesInput","decode","Promise","resolve","parentElement","isConnected","onLoadRef","current","Object","defineProperty","event","writable","value","stopped","nativeEvent","currentTarget","isDefaultPrevented","isPropagationStopped","prevented","persist","preventDefault","stopPropagation","Boolean","use","_react","fetchPriority","fetchpriority","__NEXT_IMAGE_IMPORTED","globalThis","decoding","srcSet","sizes","_jsxruntime","jsx","getDynamicProps","data-nimg","useCallback","forwardedRef","setShowAltText","ImagePreload","imgAttributes","opts","as","imageSrcSet","imageSizes","crossOrigin","referrerPolicy","isAppRouter","_reactdom","default","preload","_head","link","rel","href","useContext","RouterContext","pagesRouter","_routercontextsharedruntime","config","_imageconfigcontextsharedruntime","ImageConfigContext","c","_c_qualities","configContext","_imageconfig","imageConfigDefault","deviceSizes","a","b","sort","qualities","useRef","useEffect","onLoadingComplete","showAltText","meta","imgMeta","getImgProps","defaultLoader","_getimgprops","props","imgConf","ImageElement","fill","AmpStateContext","createContext","isInAmpMode","ampFirst","hybrid","hasQuery","isStaticRequire","getInt","x","isFinite","NaN","test","parseInt","_state","blurWidth","blurHeight","quality","overrideSrc","layout","lazyBoundary","lazyRoot","isDefaultLoader","customImageLoader","obj","layoutStyle","layoutToStyle","intrinsic","maxWidth","responsive","layoutSizes","layoutToSizes","staticSrc","widthInt","heightInt","staticImageData","JSON","stringify","ratio","Math","round","isLazy","dangerouslyAllowSVG","qualityInt","imgStyle","assign","position","left","top","right","bottom","color","getImageBlurSvg","placeholderStyle","generateImgAttrs","widths","kind","getWidths","viewportWidthRe","percentSizes","match","exec","push","smallestRatio","min","filter","s","Set","map","find","p","w","last","join","exports","defaultHead","inAmpMode","head","name","content","onlyReactElement","list","child","type","Fragment","Children","fragmentList","fragmentChild","METATYPES","headChildrenElements","tags","metaTypes","metaCategories","h","hasKey","key","indexOf","keys","isUnique","add","metatype","len","hasOwnProperty","categories","has","category","env","NODE_ENV","some","newProps","url","cloneElement","ampState","headManager","HeadManagerContext","Effect","reduceComponentsToState","reduceComponents","children","svgWidth","svgHeight","viewBox","VALID_LOADERS","loaderFile","domains","disableStaticImages","minimumCacheTTL","formats","contentSecurityPolicy","contentDispositionType","localPatterns","remotePatterns","_default","getImageProps","imgProps","entries","q","reduce","prev","cur","abs","encodeURIComponent","__next_img_default","SideEffect","isServer","useClientOnlyLayoutEffect","useLayoutEffect","useClientOnlyEffect","emitChange","mountedInstances","headElements","toArray","Array","from","updateHead","delete","_pendingUpdate"],"sourceRoot":""}