element-web-synapse01pim.gr.jp

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

error-view.js.map (21444B)


      1 {"version":3,"file":"bundles/78cd486dc4f7ffb56898/error-view.js","mappings":"qqDAEA,SAAAA,EAAAC,EAAAC,GACA,OAAsB,EAAAC,EAAAC,KAAI,OAC1BC,MAAA,6BACAC,MAAA,MACAC,OAAA,MACAC,KAAA,eACAC,QAAA,YACAP,IAAAA,KACAD,EACAS,UAA2B,EAAAP,EAAAC,KAAI,QAC/BO,EAAA,0HAGA,CAEAX,EAAAY,YAAA,cACA,MAAAC,GAAe,EAAAC,EAAAC,YAAUf,GChBzB,SAAAgB,EAAAf,EAAAC,GACA,OAAsB,EAAAC,EAAAc,MAAK,OAC3BZ,MAAA,6BACAC,MAAA,MACAC,OAAA,MACAC,KAAA,eACAC,QAAA,YACAP,IAAAA,KACAD,EACAS,SAAA,EAA4B,EAAAP,EAAAc,MAAK,KACjCC,SAAA,wBACAR,SAAA,EAA8B,EAAAP,EAAAC,KAAI,QAClCO,EAAA,ynCACuB,EAAAR,EAAAC,KAAI,QAC3BO,EAAA,4jBACuB,EAAAR,EAAAC,KAAI,QAC3BO,EAAA,swCAEqB,EAAAR,EAAAC,KAAI,QACzBM,UAA6B,EAAAP,EAAAC,KAAI,YACjCe,GAAA,kBACAT,UAA+B,EAAAP,EAAAC,KAAI,QACnCO,EAAA,qCAKA,CAEAK,EAAAJ,YAAA,YACA,MAAAQ,GAAe,EAAAN,EAAAC,YAAUC,kECJlB,MAAMK,EAA8BA,EAAGC,QAAOC,WAAUC,SAAQd,cAE/De,EAAAA,cAAA,OAAKC,UAAU,gCACXD,EAAAA,cAAA,OACIC,UAAU,oBACVnB,OAAO,MACPoB,IAAI,gDACJC,IAAI,YAERH,EAAAA,cAAA,OAAKC,UAAU,0BACXD,EAAAA,cAACI,EAAAA,EAAO,CAACC,KAAK,KAAKC,OAAO,YACrBT,GAEJC,aAAQ,EAARA,EAAUS,IAAKC,GACZR,EAAAA,cA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EAAY,uBACrB8C,KAAM9C,EAAY,8BAClB+C,OAAQ/C,EAAY,+BAKhC/B,EAAAA,cAACe,EAAAA,IAAI,CAACC,IAAI,sBAAsBf,UAAU,mDACtCD,EAAAA,cAACyB,EAAAA,EAAM,CAACG,KAAMmD,EAAAA,EAAYpD,KAAK,YAAYtB,KAAK,OAC3CyB,EAAAA,EAAAA,IAAG,oCAEPK,GACGnC,EAAAA,cAACyB,EAAAA,EAAM,CAACE,KAAK,UAAUtB,KAAK,KAAK2E,QAAS7C,IACrCL,EAAAA,EAAAA,IAAG,uYCrM5B,SAAAD,EAAArD,EAAAC,GACA,OAAsB,EAAAwG,EAAAtG,KAAI,OAC1BC,MAAA,6BACAC,MAAA,MACAC,OAAA,MACAC,KAAA,eACAC,QAAA,YACAP,IAAAA,KACAD,EACAS,UAA2B,EAAAgG,EAAAtG,KAAI,QAC/BuG,SAAA,UACAhG,EAAA,knBACAiG,SAAA,aAGA,CAEAtD,EAAA1C,YAAA,UACA,MAAAiG,GAAe,EAAAC,EAAA/F,YAAUuC","sources":["webpack://element-web/javascript/node_modules/.pnpm/source-map-loader@5.0.0_webpack@5.107.2/node_modules/source-map-loader/dist/node_modules/.pnpm/@vector-im+compound-design-tokens@10.2.1_@types+react@19.2.14_react@19.2.7/node_modules/@vector-im/compound-design-tokens/assets/web/icons/windows.js","webpack://element-web/javascript/node_modules/.pnpm/source-map-loader@5.0.0_webpack@5.107.2/node_modules/source-map-loader/dist/node_modules/.pnpm/@vector-im+compound-design-tokens@10.2.1_@types+react@19.2.14_react@19.2.7/node_modules/@vector-im/compound-design-tokens/assets/web/icons/linux.js","webpack://element-web/./src/async-components/structures/ErrorView.tsx","webpack://element-web/javascript/node_modules/.pnpm/source-map-loader@5.0.0_webpack@5.107.2/node_modules/source-map-loader/dist/node_modules/.pnpm/@vector-im+compound-design-tokens@10.2.1_@types+react@19.2.14_react@19.2.7/node_modules/@vector-im/compound-design-tokens/assets/web/icons/mac.js"],"sourcesContent":["import { forwardRef } from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction WindowsIcon(props, ref) {\n  return /*#__PURE__*/_jsx(\"svg\", {\n    xmlns: \"http://www.w3.org/2000/svg\",\n    width: \"1em\",\n    height: \"1em\",\n    fill: \"currentColor\",\n    viewBox: \"0 0 24 24\",\n    ref: ref,\n    ...props,\n    children: /*#__PURE__*/_jsx(\"path\", {\n      d: \"M12.589 2.4H21.6v9.011h-9.011zM2.4 12.588h9.011v9.011H2.4zM2.4 2.4h9.011v9.011H2.4zm10.189 10.188H21.6v9.011h-9.011z\"\n    })\n  });\n}\n;\nWindowsIcon.displayName = \"WindowsIcon\";\nexport default forwardRef(WindowsIcon);","import { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nfunction LinuxIcon(props, ref) {\n  return /*#__PURE__*/_jsxs(\"svg\", {\n    xmlns: \"http://www.w3.org/2000/svg\",\n    width: \"1em\",\n    height: \"1em\",\n    fill: \"currentColor\",\n    viewBox: \"0 0 24 24\",\n    ref: ref,\n    ...props,\n    children: [/*#__PURE__*/_jsxs(\"g\", {\n      clipPath: \"url(#cpd_LinuxIcon_a)\",\n      children: [/*#__PURE__*/_jsx(\"path\", {\n        d: \"M13.206 20.644a2.7 2.7 0 0 1-1.097.248 2.8 2.8 0 0 1-1.567-.495c-.153.38-.392.723-.7 1a2.8 2.8 0 0 1-1.078.604h6.141a2.8 2.8 0 0 1-.99-.51 2.8 2.8 0 0 1-.709-.847M6.71 16.673a.2.2 0 0 0 .067-.03q.056-.49.13-.94c-.01-.169.017-.338.08-.495.348-1.904.834-3.24 1.504-4.052a.13.13 0 0 1 .18-.018.123.123 0 0 1 .018.174 4 4 0 0 0-.203.272q-.764 1.113-1.199 3.389h.03a.6.6 0 0 1 .166 0c.198.042.508.203.985.67.061-2.72 1.661-4.913 3.642-4.913 1.748 0 3.208 1.715 3.556 3.997a1.7 1.7 0 0 1 .762-.742.8.8 0 0 1 .254-.047 7.5 7.5 0 0 0-.948-2.342 4 4 0 0 0-.2-.272.12.12 0 0 1-.03-.09.12.12 0 0 1 .048-.083.13.13 0 0 1 .092-.028.13.13 0 0 1 .085.045c.508.624.93 1.557 1.245 2.822.678.247.696 1.361.71 2.267 0 .43 0 .877.105.99.104.114.325.09.635-.04.036-.393.053-.742.063-1.036v-1.082c0-2.475-3.266-6.755-3.266-6.755l-.378-3.218c0-2.953-2.733-2.926-2.733-2.926s-2.743-.027-2.743 2.914l-.365 3.23s-3.267 4.277-3.267 6.755v.31s-.012.299 0 .767v.227c.414.154.839.315.976.28m5.388-10.41c.761.068 1.975.247 2.031.613.04.282-.429.822-.523.926-.195.215-.876.92-1.49.92-.615 0-1.296-.705-1.49-.92-.093-.104-.563-.644-.525-.926.046-.374 1.273-.545 1.996-.614\"\n      }), /*#__PURE__*/_jsx(\"path\", {\n        d: \"M12.111 8.475c.333 0 .843-.33 1.298-.837.348-.384.475-.666.465-.73-.064-.127-.894-.317-1.778-.401-.856.084-1.687.274-1.75.406.091.275.252.523.467.722.457.51.965.84 1.298.84m.684 10.664c-.292-2.607-.023-3.146.206-3.324a.42.42 0 0 1 .4-.057c.23.11.431.271.587.47.287.304.488.495.674.391.131-.077.32-.495.507-.879.097-.205.196-.425.305-.636-.254-2.33-1.65-4.126-3.355-4.126-1.872 0-3.393 2.166-3.393 4.827v.096c.31.317.68.743 1.133 1.3q.266.328.487.685a2.7 2.7 0 0 1 .29 2.258c.426.312.943.485 1.476.495.341-.002.679-.073.99-.21a2.6 2.6 0 0 1-.16-.46 7 7 0 0 1-.147-.83\"\n      }), /*#__PURE__*/_jsx(\"path\", {\n        d: \"M9.651 17.35c-.355-.44-.657-.789-.916-1.071l-.13-.139-.132-.138c-.587-.594-.897-.758-1.06-.785a.2.2 0 0 0-.068 0 .15.15 0 0 0-.114.082v.017a.9.9 0 0 0-.058.406v.327c.034.25-.019.505-.15.723a.4.4 0 0 1-.087.071l-.053.032a.6.6 0 0 1-.107.043H6.75c-.211.037-.554-.084-.988-.248l-.127-.05c-.544-.21-1.179-.452-1.644-.452a.63.63 0 0 0-.553.232c-.34.495.421 1.273 1.036 1.901.378.389.675.693.708.921.059.42-.393.582-.792.725a1.5 1.5 0 0 0-.564.278c-.06.069-.058.116-.045.15.055.191.507.61 2.897 1.285q.398.112.806.178c.49.073.992.01 1.448-.182a2.64 2.64 0 0 0 1.13-.902q.165-.245.271-.522l.05-.121c0-.042.024-.09.037-.131a2.48 2.48 0 0 0-.293-1.98 7 7 0 0 0-.475-.65m9.618-.17c-.212.02-.418.084-.604.186l-.277.117c-.305.113-.61.168-.807-.095a.6.6 0 0 1-.094-.227 3.6 3.6 0 0 1-.056-.592v-.322c0-.72-.026-1.586-.373-1.925a.5.5 0 0 0-.255-.14h-.038a.5.5 0 0 0-.254.035c-.3.12-.56.496-.79.936l-.109.215-.117.248-.104.225c-.223.495-.398.874-.601.99-.376.216-.704-.13-.991-.438a1.5 1.5 0 0 0-.48-.4.2.2 0 0 0-.076-.016q-.048 0-.084.03c-.158.124-.384.69-.112 3.104q.044.4.137.792.052.207.137.404.027.056.056.111c.02.037.033.074.054.111.208.377.51.696.879.928a2.66 2.66 0 0 0 2.504.171c.398-.18.743-.454 1.003-.8a7 7 0 0 0 .45-.675c1.218-2.116 1.241-2.722 1.147-2.896a.15.15 0 0 0-.144-.077\"\n      })]\n    }), /*#__PURE__*/_jsx(\"defs\", {\n      children: /*#__PURE__*/_jsx(\"clipPath\", {\n        id: \"cpd_LinuxIcon_a\",\n        children: /*#__PURE__*/_jsx(\"path\", {\n          d: \"M3.167 2.19H20.5V22H3.165z\"\n        })\n      })\n    })]\n  });\n}\n;\nLinuxIcon.displayName = \"LinuxIcon\";\nexport default forwardRef(LinuxIcon);","/*\nCopyright 2020-2024 New Vector Ltd.\n\nSPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial\nPlease see LICENSE files in the repository root for full details.\n*/\n\nimport React, { type JSX, type ReactNode } from \"react\";\nimport { Text, Heading, Button, Separator } from \"@vector-im/compound-web\";\nimport PopOutIcon from \"@vector-im/compound-design-tokens/assets/web/icons/pop-out\";\nimport { Flex } from \"@element-hq/web-shared-components\";\nimport { LinuxIcon, MacIcon, WindowsIcon } from \"@vector-im/compound-design-tokens/assets/web/icons\";\n\nimport SdkConfig from \"../../SdkConfig\";\nimport { _t } from \"../../languageHandler\";\n\n// directly import the style here as this layer does not support rethemedex at this time so no matrix-react-sdk\n// PostCSS variables will be accessible.\nimport \"../../../res/css/structures/ErrorView.pcss\";\n\ninterface IProps {\n    // both of these should already be internationalised\n    title: string;\n    messages?: string[];\n    footer?: ReactNode;\n    children?: ReactNode;\n}\n\nexport const ErrorView: React.FC<IProps> = ({ title, messages, footer, children }) => {\n    return (\n        <div className=\"mx_ErrorView cpd-theme-light\">\n            <img\n                className=\"mx_ErrorView_logo\"\n                height=\"160\"\n                src=\"themes/element/img/logos/element-app-logo.png\"\n                alt=\"Element\"\n            />\n            <div className=\"mx_ErrorView_container\">\n                <Heading size=\"md\" weight=\"semibold\">\n                    {title}\n                </Heading>\n                {messages?.map((message) => (\n                    <Text key={message} size=\"lg\">\n                        {message}\n                    </Text>\n                ))}\n                {children}\n            </div>\n            {footer}\n        </div>\n    );\n};\n\nconst MobileAppLinks: React.FC<{\n    appleAppStoreUrl?: string;\n    googlePlayUrl?: string;\n    fdroidUrl?: string;\n}> = ({ appleAppStoreUrl, googlePlayUrl, fdroidUrl }) => (\n    <Flex gap=\"var(--cpd-space-6x)\" className=\"mx_ErrorView_flexContainer\">\n        {appleAppStoreUrl && (\n            <a href={appleAppStoreUrl} target=\"_blank\" rel=\"noreferrer noopener\">\n                <img height=\"64\" src=\"themes/element/img/download/apple.svg\" alt=\"Apple App Store\" />\n            </a>\n        )}\n        {googlePlayUrl && (\n            <a href={googlePlayUrl} target=\"_blank\" rel=\"noreferrer noopener\" key=\"android\">\n                <img height=\"64\" src=\"themes/element/img/download/google.svg\" alt=\"Google Play Store\" />\n            </a>\n        )}\n        {fdroidUrl && (\n            <a href={fdroidUrl} target=\"_blank\" rel=\"noreferrer noopener\" key=\"fdroid\">\n                <img height=\"64\" src=\"themes/element/img/download/fdroid.svg\" alt=\"F-Droid\" />\n            </a>\n        )}\n    </Flex>\n);\n\nconst DesktopAppLinks: React.FC<{\n    macOsUrl?: string;\n    win64Url?: string;\n    win64ArmUrl?: string;\n    linuxUrl?: string;\n}> = ({ macOsUrl, win64Url, win64ArmUrl, linuxUrl }) => {\n    return (\n        <Flex gap=\"var(--cpd-space-4x)\" className=\"mx_ErrorView_flexContainer\">\n            {macOsUrl && (\n                <Button as=\"a\" href={macOsUrl} kind=\"secondary\" Icon={MacIcon}>\n                    {_t(\"incompatible_browser|macos\")}\n                </Button>\n            )}\n            {win64Url && (\n                <Button as=\"a\" href={win64Url} kind=\"secondary\" Icon={WindowsIcon}>\n                    {_t(\"incompatible_browser|windows_64bit\")}\n                </Button>\n            )}\n            {win64ArmUrl && (\n                <Button as=\"a\" href={win64ArmUrl} kind=\"secondary\" Icon={WindowsIcon}>\n                    {_t(\"incompatible_browser|windows_arm_64bit\")}\n                </Button>\n            )}\n            {linuxUrl && (\n                <Button as=\"a\" href={linuxUrl} kind=\"secondary\" Icon={LinuxIcon}>\n                    {_t(\"incompatible_browser|linux\")}\n                </Button>\n            )}\n        </Flex>\n    );\n};\n\nconst linkFactory =\n    (link: string) =>\n    (text: string): JSX.Element => (\n        <a href={link} target=\"_blank\" rel=\"noreferrer noopener\">\n            {text}\n        </a>\n    );\n\nexport const UnsupportedBrowserView: React.FC<{\n    onAccept?(this: void): void;\n}> = ({ onAccept }) => {\n    const config = SdkConfig.get();\n    const brand = config.brand ?? \"Element\";\n\n    const hasDesktopBuilds =\n        config.desktop_builds?.available &&\n        (config.desktop_builds?.url_macos ||\n            config.desktop_builds?.url_win64 ||\n            config.desktop_builds?.url_win64arm ||\n            config.desktop_builds?.url_linux);\n    const hasMobileBuilds = Boolean(\n        config.mobile_builds?.ios || config.mobile_builds?.android || config.mobile_builds?.fdroid,\n    );\n\n    return (\n        <ErrorView\n            title={_t(\"incompatible_browser|title\", { brand })}\n            messages={[\n                _t(\"incompatible_browser|description\", {\n                    brand,\n                    detail: onAccept\n                        ? _t(\"incompatible_browser|detail_can_continue\")\n                        : _t(\"incompatible_browser|detail_no_continue\"),\n                }),\n            ]}\n            footer={\n                <>\n                    {/* We render the apps in the footer as they are wider than the 520px container */}\n                    {(hasDesktopBuilds || hasMobileBuilds) && <Separator />}\n\n                    {hasDesktopBuilds && (\n                        <>\n                            <Heading as=\"h2\" size=\"sm\" weight=\"semibold\">\n                                {_t(\"incompatible_browser|use_desktop_heading\", { brand })}\n                            </Heading>\n                            <DesktopAppLinks\n                                macOsUrl={config.desktop_builds?.url_macos}\n                                win64Url={config.desktop_builds?.url_win64}\n                                win64ArmUrl={config.desktop_builds?.url_win64arm}\n                                linuxUrl={config.desktop_builds?.url_linux}\n                            />\n                        </>\n                    )}\n\n                    {hasMobileBuilds && (\n                        <>\n                            <Heading as=\"h2\" size=\"sm\" weight=\"semibold\">\n                                {hasDesktopBuilds\n                                    ? _t(\"incompatible_browser|use_mobile_heading_after_desktop\")\n                                    : _t(\"incompatible_browser|use_mobile_heading\", { brand })}\n                            </Heading>\n                            <MobileAppLinks\n                                appleAppStoreUrl={config.mobile_builds?.ios ?? undefined}\n                                googlePlayUrl={config.mobile_builds?.android ?? undefined}\n                                fdroidUrl={config.mobile_builds?.fdroid ?? undefined}\n                            />\n                        </>\n                    )}\n                </>\n            }\n        >\n            <Text size=\"lg\">\n                {_t(\n                    \"incompatible_browser|supported_browsers\",\n                    {},\n                    {\n                        Chrome: linkFactory(\"https://google.com/chrome\"),\n                        Firefox: linkFactory(\"https://firefox.com\"),\n                        Edge: linkFactory(\"https://microsoft.com/edge\"),\n                        Safari: linkFactory(\"https://apple.com/safari\"),\n                    },\n                )}\n            </Text>\n\n            <Flex gap=\"var(--cpd-space-4x)\" className=\"mx_ErrorView_flexContainer mx_ErrorView_buttons\">\n                <Button Icon={PopOutIcon} kind=\"secondary\" size=\"md\">\n                    {_t(\"incompatible_browser|learn_more\")}\n                </Button>\n                {onAccept && (\n                    <Button kind=\"primary\" size=\"md\" onClick={onAccept}>\n                        {_t(\"incompatible_browser|continue\")}\n                    </Button>\n                )}\n            </Flex>\n        </ErrorView>\n    );\n};\n","import { forwardRef } from \"react\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction MacIcon(props, ref) {\n  return /*#__PURE__*/_jsx(\"svg\", {\n    xmlns: \"http://www.w3.org/2000/svg\",\n    width: \"1em\",\n    height: \"1em\",\n    fill: \"currentColor\",\n    viewBox: \"0 0 24 24\",\n    ref: ref,\n    ...props,\n    children: /*#__PURE__*/_jsx(\"path\", {\n      fillRule: \"evenodd\",\n      d: \"M16.099 2.4a4.1 4.1 0 0 1-1.057 3.073c-.747.863-1.878 1.36-3.07 1.348-.075-1.081.315-2.146 1.085-2.96.78-.825 1.866-1.346 3.042-1.461m3.767 6.54c-1.37.783-2.214 2.163-2.234 3.657.002 1.69 1.092 3.215 2.768 3.873a9.4 9.4 0 0 1-1.44 2.723c-.848 1.178-1.737 2.329-3.149 2.35-.671.015-1.124-.165-1.596-.351-.493-.195-1.006-.398-1.809-.398-.852 0-1.388.21-1.905.412-.447.174-.88.343-1.49.367-1.343.046-2.37-1.258-3.25-2.425-1.756-2.383-3.124-6.716-1.29-9.664.86-1.437 2.471-2.349 4.241-2.402.763-.015 1.494.258 2.135.497.49.183.929.347 1.287.347.315 0 .74-.157 1.237-.34.78-.288 1.737-.64 2.71-.545 1.514.044 2.917.748 3.785 1.9\",\n      clipRule: \"evenodd\"\n    })\n  });\n}\n;\nMacIcon.displayName = \"MacIcon\";\nexport default forwardRef(MacIcon);"],"names":["WindowsIcon","props","ref","jsx_runtime","jsx","xmlns","width","height","fill","viewBox","children","d","displayName","windows","react","forwardRef","LinuxIcon","jsxs","clipPath","id","linux","ErrorView","title","messages","footer","React","className","src","alt","Heading","size","weight","map","message","Text","key","MobileAppLinks","appleAppStoreUrl","googlePlayUrl","fdroidUrl","Flex","gap","href","target","rel","DesktopAppLinks","macOsUrl","win64Url","win64ArmUrl","linuxUrl","Button","as","kind","Icon","MacIcon","_t","linkFactory","link","text","UnsupportedBrowserView","onAccept","_config$brand","_config$desktop_build","_config$desktop_build2","_config$desktop_build3","_config$desktop_build4","_config$desktop_build5","_config$mobile_builds","_config$mobile_builds2","_config$mobile_builds3","_config$desktop_build6","_config$desktop_build7","_config$desktop_build8","_config$desktop_build9","_config$mobile_builds4","_config$mobile_builds5","_config$mobile_builds6","_config$mobile_builds7","_config$mobile_builds8","_config$mobile_builds9","config","SdkConfig","get","brand","hasDesktopBuilds","desktop_builds","available","url_macos","url_win64","url_win64arm","url_linux","hasMobileBuilds","Boolean","mobile_builds","ios","android","fdroid","detail","Separator","undefined","Chrome","Firefox","Edge","Safari","PopOutIcon","onClick","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__","fillRule","clipRule","__WEBPACK_DEFAULT_EXPORT__","react__WEBPACK_IMPORTED_MODULE_0__"],"sourceRoot":""}